mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-21 05:43:12 +00:00
1.0 KiB
1.0 KiB
/vpcs/{uuid}/ports/{port_id}/nio
POST /vpcs/{uuid}/ports/{port_id}/nio ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Add a NIO to a VPCS
Parameters
- uuid: VPCS instance UUID
- port_id: Id of the port where the nio should be add
Response status codes
- 400: Invalid VPCS instance UUID
- 201: NIO created
- 404: VPCS instance doesn't exist
Sample session
examples/post_vpcsuuidportsportidnio.txt
DELETE /vpcs/{uuid}/ports/{port_id}/nio ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Remove a NIO from a VPCS
Parameters
- uuid: VPCS instance UUID
- port_id: ID of the port where the nio should be removed
Response status codes
- 200: NIO deleted
- 400: Invalid VPCS instance UUID
- 404: VPCS instance doesn't exist
Sample session
examples/delete_vpcsuuidportsportidnio.txt