mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-27 08:12:32 +00:00
4.0 KiB
4.0 KiB
/v2/compute/projects/{project_id}/traceng/nodes
POST /v2/compute/projects/{project_id}/traceng/nodes
Create a new TraceNG instance
Parameters
- project_id: Project UUID
Response status codes
- 201: Instance created
- 400: Invalid request
- 409: Conflict
Input
Name | Mandatory | Type | Description |
---|---|---|---|
console | ['integer', 'null'] | Console TCP port | |
console_type | enum | Possible values: none | |
default_destination | ['string'] | Default destination IP address or hostname for tracing | |
ip_address | ['string'] | Source IP address for tracing | |
name | ✔ | string | TraceNG VM name |
node_id | Node UUID |
Output
Name | Mandatory | Type | Description |
---|---|---|---|
command_line | ✔ | string | Last command line used by GNS3 to start TraceNG |
console | ✔ | ['integer', 'null'] | Console TCP port |
console_type | ✔ | enum | Possible values: none |
default_destination | ✔ | ['string'] | Default destination IP address or hostname for tracing |
ip_address | ✔ | ['string'] | Source IP address for tracing |
name | ✔ | string | TraceNG VM name |
node_directory | string | Path to the VM working directory | |
node_id | ✔ | string | Node UUID |
project_id | ✔ | string | Project UUID |
status | ✔ | enum | Possible values: started, stopped, suspended |
Sample session
../../../examples/compute_post_projectsprojectidtracengnodes.txt