mirror of https://github.com/GNS3/gns3-server
parent
65bfb4b907
commit
e80dd40121
@ -1,16 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/iou/nodes'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/iou/images'
|
||||
|
||||
GET /v2/compute/iou/nodes HTTP/1.1
|
||||
GET /v2/compute/iou/images HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 72
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/iou/nodes
|
||||
X-ROUTE: /v2/compute/iou/images
|
||||
|
||||
[
|
||||
{
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/config/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/config/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/config/reload
|
||||
|
@ -1,21 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e3abe5d8-0f61-41c8-8f76-cd64a3790443/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_generic_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e21be81-23cc-49c8-8915-7e4e44d09d02/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e3abe5d8-0f61-41c8-8f76-cd64a3790443/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e21be81-23cc-49c8-8915-7e4e44d09d02/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "eth0",
|
||||
"type": "nio_generic_ethernet"
|
||||
"type": "nio_ethernet"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 409
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 89
|
||||
CONTENT-LENGTH: 81
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"message": "NIO of type nio_generic_ethernet is not supported",
|
||||
"message": "NIO of type nio_ethernet is not supported",
|
||||
"status": 409
|
||||
}
|
||||
|
@ -0,0 +1,22 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/computes/my_compute_id'
|
||||
|
||||
GET /v2/computes/my_compute_id HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 194
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/computes/{compute_id}
|
||||
|
||||
{
|
||||
"compute_id": "my_compute_id",
|
||||
"connected": false,
|
||||
"host": "example.com",
|
||||
"name": "http://julien@example.com:84",
|
||||
"port": 84,
|
||||
"protocol": "http",
|
||||
"user": "julien"
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/07119acd-00bb-4807-837c-2354a7a89ea2/links'
|
||||
|
||||
GET /v2/projects/07119acd-00bb-4807-837c-2354a7a89ea2/links HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 594
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/links
|
||||
|
||||
[
|
||||
{
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "874d9b3c-176e-470a-a8f4-87c0de594dd2",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"node_id": "d1229936-e044-4b1e-94f7-8c40a156b8e5",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "484e4af4-29f5-4443-89f5-fdeacbfabeaa",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "07119acd-00bb-4807-837c-2354a7a89ea2"
|
||||
}
|
||||
]
|
@ -0,0 +1,16 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/2b073599-518c-4cdc-8337-a11fc8f3c6e1/nodes/181b0687-47f5-456c-b8b0-c1844b64295e/dynamips/auto_idlepc'
|
||||
|
||||
GET /v2/projects/2b073599-518c-4cdc-8337-a11fc8f3c6e1/nodes/181b0687-47f5-456c-b8b0-c1844b64295e/dynamips/auto_idlepc HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 30
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/dynamips/auto_idlepc
|
||||
|
||||
{
|
||||
"idlepc": "0x60606f54"
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/a5c223ff-91e7-4bb8-acba-7d4080600a0f/nodes/f6074e71-c937-4323-a1ec-4c27d6657c98/dynamips/idlepc_proposals'
|
||||
|
||||
GET /v2/projects/a5c223ff-91e7-4bb8-acba-7d4080600a0f/nodes/f6074e71-c937-4323-a1ec-4c27d6657c98/dynamips/idlepc_proposals HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 38
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/dynamips/idlepc_proposals
|
||||
|
||||
[
|
||||
"0x60606f54",
|
||||
"0x33805a22"
|
||||
]
|
@ -0,0 +1,12 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/b8e14439-5f56-40e0-8dc6-3f84a220a9d4/nodes/reload' -d '{}'
|
||||
|
||||
POST /v2/projects/b8e14439-5f56-40e0-8dc6-3f84a220a9d4/nodes/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/nodes/reload
|
||||
|
@ -0,0 +1,12 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/a28708a0-50dc-4014-b98f-65b6e11f3f14/nodes/start' -d '{}'
|
||||
|
||||
POST /v2/projects/a28708a0-50dc-4014-b98f-65b6e11f3f14/nodes/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/nodes/start
|
||||
|
@ -0,0 +1,12 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/c2480e16-b293-47b7-aba0-6ed75b9a3fbc/nodes/stop' -d '{}'
|
||||
|
||||
POST /v2/projects/c2480e16-b293-47b7-aba0-6ed75b9a3fbc/nodes/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/nodes/stop
|
||||
|
@ -0,0 +1,12 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/836e2401-c323-48df-971a-b89b0ef73106/nodes/suspend' -d '{}'
|
||||
|
||||
POST /v2/projects/836e2401-c323-48df-971a-b89b0ef73106/nodes/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/nodes/suspend
|
||||
|
@ -0,0 +1,12 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/shutdown' -d '{}'
|
||||
|
||||
POST /v2/shutdown HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/shutdown
|
||||
|
@ -0,0 +1,29 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/computes/my_compute_id' -d '{"compute_id": "my_compute_id", "host": "example.com", "password": "secure", "port": 84, "protocol": "https", "user": "julien"}'
|
||||
|
||||
PUT /v2/computes/my_compute_id HTTP/1.1
|
||||
{
|
||||
"compute_id": "my_compute_id",
|
||||
"host": "example.com",
|
||||
"password": "secure",
|
||||
"port": 84,
|
||||
"protocol": "https",
|
||||
"user": "julien"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 195
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/computes/{compute_id}
|
||||
|
||||
{
|
||||
"compute_id": "my_compute_id",
|
||||
"connected": false,
|
||||
"host": "example.com",
|
||||
"name": "http://julien@example.com:84",
|
||||
"port": 84,
|
||||
"protocol": "https",
|
||||
"user": "julien"
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
Dynamips device
|
||||
Atm switch
|
||||
-----------------------------
|
||||
|
||||
.. toctree::
|
||||
:glob:
|
||||
:maxdepth: 2
|
||||
|
||||
dynamips_device/*
|
||||
atm_switch/*
|
@ -0,0 +1,22 @@
|
||||
/v2/compute/projects/{project_id}/atm_relay_switch/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
.. contents::
|
||||
|
||||
POST /v2/compute/projects/**{project_id}**/atm_relay_switch/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/stop_capture
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Stop a packet capture on an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
- **400**: Invalid request
|
||||
- **404**: Instance doesn't exist
|
||||
- **204**: Capture stopped
|
||||
|
@ -0,0 +1,43 @@
|
||||
/v2/compute/projects/{project_id}/atm_switch/nodes
|
||||
------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
.. contents::
|
||||
|
||||
POST /v2/compute/projects/**{project_id}**/atm_switch/nodes
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Create a new ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
- **400**: Invalid request
|
||||
- **201**: Instance created
|
||||
- **409**: Conflict
|
||||
|
||||
Input
|
||||
*******
|
||||
.. raw:: html
|
||||
|
||||
<table>
|
||||
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||
<tr><td>mappings</td> <td> </td> <td>object</td> <td>ATM mappings</td> </tr>
|
||||
<tr><td>name</td> <td>✔</td> <td>string</td> <td>ATM switch name</td> </tr>
|
||||
<tr><td>node_id</td> <td> </td> <td></td> <td>Node UUID</td> </tr>
|
||||
</table>
|
||||
|
||||
Output
|
||||
*******
|
||||
.. raw:: html
|
||||
|
||||
<table>
|
||||
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||
<tr><td>mappings</td> <td> </td> <td>object</td> <td>ATM mappings</td> </tr>
|
||||
<tr><td>name</td> <td> </td> <td>string</td> <td>ATM switch name</td> </tr>
|
||||
<tr><td>node_id</td> <td> </td> <td>string</td> <td>Node UUID</td> </tr>
|
||||
<tr><td>project_id</td> <td> </td> <td>string</td> <td>Project UUID</td> </tr>
|
||||
<tr><td>status</td> <td> </td> <td>enum</td> <td>Possible values: started, stopped, suspended</td> </tr>
|
||||
</table>
|
||||
|
@ -0,0 +1,92 @@
|
||||
/v2/compute/projects/{project_id}/atm_switch/nodes/{node_id}
|
||||
------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
.. contents::
|
||||
|
||||
GET /v2/compute/projects/**{project_id}**/atm_switch/nodes/**{node_id}**
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Get an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
- **200**: Success
|
||||
- **400**: Invalid request
|
||||
- **404**: Instance doesn't exist
|
||||
|
||||
Output
|
||||
*******
|
||||
.. raw:: html
|
||||
|
||||
<table>
|
||||
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||
<tr><td>mappings</td> <td> </td> <td>object</td> <td>ATM mappings</td> </tr>
|
||||
<tr><td>name</td> <td> </td> <td>string</td> <td>ATM switch name</td> </tr>
|
||||
<tr><td>node_id</td> <td> </td> <td>string</td> <td>Node UUID</td> </tr>
|
||||
<tr><td>project_id</td> <td> </td> <td>string</td> <td>Project UUID</td> </tr>
|
||||
<tr><td>status</td> <td> </td> <td>enum</td> <td>Possible values: started, stopped, suspended</td> </tr>
|
||||
</table>
|
||||
|
||||
|
||||
PUT /v2/compute/projects/**{project_id}**/atm_switch/nodes/**{node_id}**
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Update an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
- **200**: Instance updated
|
||||
- **400**: Invalid request
|
||||
- **404**: Instance doesn't exist
|
||||
- **409**: Conflict
|
||||
|
||||
Input
|
||||
*******
|
||||
.. raw:: html
|
||||
|
||||
<table>
|
||||
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||
<tr><td>mappings</td> <td> </td> <td>object</td> <td>ATM mappings</td> </tr>
|
||||
<tr><td>name</td> <td> </td> <td>string</td> <td>ATM switch name</td> </tr>
|
||||
<tr><td>node_id</td> <td> </td> <td>string</td> <td>Node UUID</td> </tr>
|
||||
<tr><td>project_id</td> <td> </td> <td>string</td> <td>Project UUID</td> </tr>
|
||||
<tr><td>status</td> <td> </td> <td>enum</td> <td>Possible values: started, stopped, suspended</td> </tr>
|
||||
</table>
|
||||
|
||||
Output
|
||||
*******
|
||||
.. raw:: html
|
||||
|
||||
<table>
|
||||
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||
<tr><td>mappings</td> <td> </td> <td>object</td> <td>ATM mappings</td> </tr>
|
||||
<tr><td>name</td> <td> </td> <td>string</td> <td>ATM switch name</td> </tr>
|
||||
<tr><td>node_id</td> <td> </td> <td>string</td> <td>Node UUID</td> </tr>
|
||||
<tr><td>project_id</td> <td> </td> <td>string</td> <td>Project UUID</td> </tr>
|
||||
<tr><td>status</td> <td> </td> <td>enum</td> <td>Possible values: started, stopped, suspended</td> </tr>
|
||||
</table>
|
||||
|
||||
|
||||
DELETE /v2/compute/projects/**{project_id}**/atm_switch/nodes/**{node_id}**
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Delete an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
- **400**: Invalid request
|
||||
- **404**: Instance doesn't exist
|
||||
- **204**: Instance deleted
|
||||
|
@ -0,0 +1,40 @@
|
||||
/v2/compute/projects/{project_id}/atm_switch/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
.. contents::
|
||||
|
||||
POST /v2/compute/projects/**{project_id}**/atm_switch/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Add a NIO to an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
- **400**: Invalid request
|
||||
- **201**: NIO created
|
||||
- **404**: Instance doesn't exist
|
||||
|
||||
|
||||
DELETE /v2/compute/projects/**{project_id}**/atm_switch/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Remove a NIO from an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
- **400**: Invalid request
|
||||
- **404**: Instance doesn't exist
|
||||
- **204**: NIO deleted
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue