/v2/projects/{project_id}/nodes ------------------------------------------------------------------------------------------------------------------------------------------ .. contents:: POST /v2/projects/**{project_id}**/nodes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Create a new node instance Parameters ********** - **project_id**: UUID for the project 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_post_projectsprojectidnodes.txt GET /v2/projects/**{project_id}**/nodes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ List nodes of a project Parameters ********** - **project_id**: UUID for the project Response status codes ********************** - **200**: List of nodes Sample session *************** .. literalinclude:: ../../../examples/controller_get_projectsprojectidnodes.txt