Arthur Lu
e356684cd9
improve method comments relating to pve builtin return objects,
...
add paths to create and delete network interfaces,
check for interface existence in modify interface,
add vlan specification to user config and use in network interface creation,
fix disk path security by checking disk existence or nonexistence,
TODO: check create and mount disk against allowed bus types
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-08 23:33:32 +00:00
Arthur Lu
fd7dec6af3
update localdb.json.template,
...
fix tempalte resource checking for post /instance
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-19 20:50:07 +00:00
Arthur Lu
8c71ceafcf
fix network resource usage calculation
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 16:50:24 +00:00
Arthur Lu
34de9788ba
fix db template
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 16:46:15 +00:00
Arthur Lu
90d399d8b6
implement network interface endpoint
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 16:34:39 +00:00
Arthur Lu
e89eeeb5cb
separate user data endpoints
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-12 20:51:07 +00:00
Arthur Lu
2399858d29
add vmid range check to instance creation,
...
add configurable templates to instance creation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-20 21:27:32 +00:00
Arthur Lu
9943a35d7e
simplify db
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-20 20:43:05 +00:00