Commit Graph

8 Commits

Author SHA1 Message Date
alu 825f7ccea1 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
alu e18c10ac35 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
alu f27ea02f10 fix network resource usage calculation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 16:50:24 +00:00
alu ce901e71d3 fix db template
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 16:46:15 +00:00
alu f236ae544b implement network interface endpoint
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 16:34:39 +00:00
alu f21d3cffea separate user data endpoints
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-12 20:51:07 +00:00
alu 9ccb9edf44 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
alu c3160f760f simplify db
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-20 20:43:05 +00:00