update localdb template

This commit is contained in:
Arthur Lu 2023-11-15 20:04:53 +00:00
parent c2ab19b6d6
commit e2cf883e64

View File

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