/v2/projects/{project_id}/nodes/{node_id}
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
PUT /v2/projects/**{project_id}**/nodes/**{node_id}**
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Update a node instance
Response status codes
**********************
- **400**: Invalid request
- **201**: Instance created
Input
*******
.. raw:: html
Name | Mandatory | Type | Description |
compute_id | | string | Compute identifier |
console | | ['integer', 'null'] | Console TCP port |
console_type | | enum | Possible values: serial, vnc, telnet |
name | | string | Node name |
node_id | | string | Node identifier |
node_type | | enum | Possible values: docker, dynamips, vpcs, virtualbox, vmware, iou, qemu |
project_id | | string | Project identifier |
properties | | object | Properties specific to an emulator |
Output
*******
.. raw:: html
Name | Mandatory | Type | Description |
compute_id | | string | Compute identifier |
console | | ['integer', 'null'] | Console TCP port |
console_type | | enum | Possible values: serial, vnc, telnet |
name | | string | Node name |
node_id | | string | Node identifier |
node_type | | enum | Possible values: docker, dynamips, vpcs, virtualbox, vmware, iou, qemu |
project_id | | string | Project identifier |
properties | | object | Properties specific to an emulator |
Sample session
***************
.. literalinclude:: ../../../examples/controller_put_projectsprojectidnodesnodeid.txt
DELETE /v2/projects/**{project_id}**/nodes/**{node_id}**
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Delete a node instance
Parameters
**********
- **node_id**: UUID for the node
- **project_id**: UUID for the project
Response status codes
**********************
- **400**: Invalid request
- **201**: Instance deleted
Sample session
***************
.. literalinclude:: ../../../examples/controller_delete_projectsprojectidnodesnodeid.txt