implement pcie device add and delete endpoints,

change getDeviceInfo to return primary device with sun devices listed,
fix bug in approveResources when checking list type resources
This commit is contained in:
Arthur Lu
2023-06-22 00:23:34 +00:00
parent 49192daac6
commit 19f38fa25d
5 changed files with 179 additions and 32 deletions

View File

@@ -7,6 +7,10 @@
"id": "token",
"uuid": "token-secret-value"
},
"pveroot": {
"username": "root@pam",
"password": "rootpassword"
},
"listenPort": 80,
"hostname": "client.mydomain",
"domain": "mydomain"
@@ -93,7 +97,8 @@
"swap": 0,
"local": 0,
"cephpl": 0,
"network": 0
"network": 0,
"pci": ["[GeForce GTX 1070]", "[GeForce GTX 1080 Ti]"]
}
},
"nodes": [