mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Change ports to adapters in VirtualBox API entry points.
This commit is contained in:
1 parent
22369ade49
commit
8a00d30e23
2 files changed
+7
-7
No files matched your search
@@ -227,7 +227,7 @@ class VirtualBoxHandler:
|
||||
response.set_status(204)
|
||||
|
||||
@Route.post(
|
||||
r"/virtualbox/{uuid}/ports/{adapter_id:\d+}/nio",
|
||||
r"/virtualbox/{uuid}/adapters/{adapter_id:\d+}/nio",
|
||||
parameters={
|
||||
"uuid": "Instance UUID",
|
||||
"adapter_id": "Adapter where the nio should be added"
|
||||
@@ -251,7 +251,7 @@ class VirtualBoxHandler:
|
||||
|
||||
@classmethod
|
||||
@Route.delete(
|
||||
r"/virtualbox/{uuid}/ports/{adapter_id:\d+}/nio",
|
||||
r"/virtualbox/{uuid}/adapters/{adapter_id:\d+}/nio",
|
||||
parameters={
|
||||
"uuid": "Instance UUID",
|
||||
"adapter_id": "Adapter from where the nio should be removed"
|
||||
|
||||
Reference in new issue
Block a user