Change ports to adapters in VirtualBox API entry points.

This commit is contained in:
Jeremy committed 2015-01-31 12:07:30 -07:00
1 parent 22369ade49
commit 8a00d30e23
2 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -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"