mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Update documentation
This commit is contained in:
142 files changed
+1072
-796
No files matched your search
+1
-1
@@ -9,8 +9,8 @@ Stop a packet capture on an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ Add a NIO to an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
|
||||
@@ -27,8 +27,8 @@ Remove a NIO from an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Start a packet capture on an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ Add a NIO to a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **port_number**: Port on the cloud
|
||||
- **node_id**: Node UUID
|
||||
|
||||
@@ -27,8 +27,8 @@ Remove a NIO from a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **port_number**: Port on the cloud
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Start a packet capture on a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **port_number**: Port on the cloud
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Stop a packet capture on a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **port_number**: Port on the cloud
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ Add a NIO to a Docker container
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
|
||||
@@ -33,8 +33,8 @@ Remove a NIO from a Docker container
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Start a packet capture on a Docker container instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Stop a packet capture on a Docker container instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ Add a NIO to a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
|
||||
@@ -27,8 +27,8 @@ Remove a NIO from a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter from where the nio should be removed
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter from where the nio should be removed
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Start a packet capture on a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Stop a packet capture on a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ Add a NIO to an Ethernet hub instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
- **port_number**: Port on the hub
|
||||
- **node_id**: Node UUID
|
||||
|
||||
@@ -27,8 +27,8 @@ Remove a NIO from an Ethernet hub instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
- **port_number**: Port on the hub
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Start a packet capture on an Ethernet hub instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
- **port_number**: Port on the hub
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Stop a packet capture on an Ethernet hub instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
- **port_number**: Port on the hub
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ Add a NIO to an Ethernet switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
|
||||
@@ -27,8 +27,8 @@ Remove a NIO from an Ethernet switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Start a packet capture on an Ethernet switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Stop a packet capture on an Ethernet switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ Add a NIO to a Frame Relay switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
|
||||
@@ -27,8 +27,8 @@ Remove a NIO from a Frame Relay switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Start a packet capture on a Frame Relay switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Stop a packet capture on a Frame Relay switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ Add a NIO to a IOU instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Network adapter where the nio is located
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Network adapter where the nio is located
|
||||
- **port_number**: Port where the nio should be added
|
||||
- **node_id**: Node UUID
|
||||
|
||||
@@ -33,8 +33,8 @@ Remove a NIO from a IOU instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Network adapter where the nio is located
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Network adapter where the nio is located
|
||||
- **port_number**: Port from where the nio should be removed
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Start a packet capture on an IOU VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Stop a packet capture on an IOU VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
/v2/compute/interfaces
|
||||
/v2/compute/network/interfaces
|
||||
------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
.. contents::
|
||||
|
||||
GET /v2/compute/interfaces
|
||||
GET /v2/compute/network/interfaces
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
List all the network interfaces available on the server
|
||||
|
||||
@@ -15,5 +15,5 @@ Sample session
|
||||
***************
|
||||
|
||||
|
||||
.. literalinclude:: ../../../examples/compute_get_interfaces.txt
|
||||
.. literalinclude:: ../../../examples/compute_get_networkinterfaces.txt
|
||||
|
||||
@@ -124,6 +124,7 @@ Input
|
||||
<tr><td>kernel_image</td> <td> </td> <td>string</td> <td>QEMU kernel image path</td> </tr>
|
||||
<tr><td>kernel_image_md5sum</td> <td> </td> <td>['string', 'null']</td> <td>QEMU kernel image checksum</td> </tr>
|
||||
<tr><td>legacy_networking</td> <td> </td> <td>['boolean', 'null']</td> <td>Use QEMU legagy networking commands (-net syntax)</td> </tr>
|
||||
<tr><td>linked_clone</td> <td> </td> <td>boolean</td> <td>Whether the VM is a linked clone or not</td> </tr>
|
||||
<tr><td>mac_address</td> <td> </td> <td>['string', 'null']</td> <td>QEMU MAC address</td> </tr>
|
||||
<tr><td>name</td> <td> </td> <td>['string', 'null']</td> <td>QEMU VM instance name</td> </tr>
|
||||
<tr><td>options</td> <td> </td> <td>['string', 'null']</td> <td>Additional QEMU options</td> </tr>
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ Add a NIO to a Qemu VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Network adapter where the nio is located
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Network adapter where the nio is located
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
@@ -33,8 +33,8 @@ Remove a NIO from a Qemu VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Network adapter where the nio is located
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Network adapter where the nio is located
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Start a packet capture on a Qemu VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Stop a packet capture on a Qemu VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ Add a NIO to a VirtualBox VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
@@ -33,8 +33,8 @@ Remove a NIO from a VirtualBox VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter from where the nio should be removed
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter from where the nio should be removed
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Start a packet capture on a VirtualBox VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Stop a packet capture on a VirtualBox VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ Add a NIO to a VMware VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
@@ -27,8 +27,8 @@ Remove a NIO from a VMware VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter from where the nio should be removed
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter from where the nio should be removed
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Start a packet capture on a VMware VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Stop a packet capture on a VMware VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ Add a NIO to a VPCS instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Network adapter where the nio is located
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Network adapter where the nio is located
|
||||
- **port_number**: Port where the nio should be added
|
||||
- **node_id**: Node UUID
|
||||
|
||||
@@ -33,8 +33,8 @@ Remove a NIO from a VPCS instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Network adapter where the nio is located
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Network adapter where the nio is located
|
||||
- **port_number**: Port from where the nio should be removed
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Start a packet capture on a VPCS instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
+1
-1
@@ -9,8 +9,8 @@ Stop a packet capture on a VPCS instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
|
||||
|
||||
Reference in new issue
Block a user