gns3-server/docs/api/v2/compute/nat/projectsprojectidnatnodes.rst

2.7 KiB

/v2/compute/projects/{project_id}/nat/nodes

POST /v2/compute/projects/{project_id}/nat/nodes

Create a new nat instance

Parameters

  • project_id: Project UUID

Response status codes

  • 201: Instance created
  • 400: Invalid request
  • 409: Conflict

Input

Name Mandatory Type Description
name string Nat name
node_id string Node UUID
ports_mapping array
project_id string Project UUID
status enum Possible values: started, stopped, suspended

Output

Name Mandatory Type Description
name string Nat name
node_id string Node UUID
ports_mapping array
project_id string Project UUID
status enum Possible values: started, stopped, suspended

Sample session

../../../examples/compute_post_projectsprojectidnatnodes.txt