update localdb template

This commit is contained in:
Arthur Lu 2023-11-15 20:04:53 +00:00
parent f40d1aee79
commit 4a7b8c4753

View File

@ -128,26 +128,50 @@
}, },
"defaultuser": { "defaultuser": {
"resources": { "resources": {
"cpu": [], "cpu": {
"global": [],
"nodes": {}
},
"cores": { "cores": {
"max": 0 "global": {
"max": 0
},
"nodes": {}
}, },
"memory": { "memory": {
"max": 0 "global": {
"max": 0
},
"nodes": {}
}, },
"swap": { "swap": {
"max": 0 "global": {
"max": 0
},
"nodes": {}
}, },
"local": { "local": {
"max": 0 "global": {
"max": 0
},
"nodes": {}
}, },
"cephpl": { "cephpl": {
"max": 0 "global": {
"max": 0
},
"nodes": {}
}, },
"network": { "network": {
"max": 0 "global": {
"max": 0
},
"nodes": {}
}, },
"pci": [] "pci": {
"global": [],
"nodes": {}
}
}, },
"nodes": [], "nodes": [],
"cluster": { "cluster": {
@ -182,48 +206,76 @@
"users": { "users": {
"exampleuser@examplepool": { "exampleuser@examplepool": {
"resources": { "resources": {
"cpu": [ "cpu": {
{ "global": [
"match": "kvm64", {
"name": "kvm64", "match": "kvm64",
"max": 1 "name": "kvm64",
}, "max": 1
{ },
"match": "host", {
"name": "host", "match": "host",
"max": 1 "name": "host",
} "max": 1
], }
],
"nodes": {}
},
"cores": { "cores": {
"max": 128 "global": {
"max": 128
},
"nodes": {}
}, },
"memory": { "memory": {
"max": 131072 "global": {
"max": 131072
},
"nodes": {}
}, },
"swap": { "swap": {
"max": 131072 "global": {
"max": 131072
},
"nodes": {}
}, },
"local": { "local": {
"max": 1099511627776 "global": {
"max": 1099511627776
},
"nodes": {}
}, },
"cephpl": { "cephpl": {
"max": 1099511627776 "global": {
"max": 1099511627776
},
"nodes": {}
}, },
"network": { "network": {
"max": 100000 "global": {
}, "max": 100000
"pci": [
{
"match": "Device Name Matcher 1",
"name": "Device Display Name",
"max": 1
}, },
{ "nodes": {}
"match": "Device Name Matcher 2", },
"name": "Device Display Name", "pci": {
"max": 1 "global": [],
"nodes": {
"examplenode1": [
{
"match": "[exampledevice1]",
"name": "exampledevice1",
"max": 1
}
],
"examplenode2": [
{
"match": "[exampledevice2]",
"name": "exampledevice2",
"max": 1
}
]
} }
] }
}, },
"nodes": [ "nodes": [
"examplenode1", "examplenode1",