Create /hypervisor and /controller namespace

This commit is contained in:
Julien Duponchelle committed 2016-03-07 15:01:35 +01:00
1 parent e4b12f49d1
commit 664cec97ba
231 files changed
+1576 -1480

No files matched your search

@@ -0,0 +1,19 @@
/v1/hypervisor/interfaces
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
GET /v1/hypervisor/interfaces
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
List all the network interfaces available on the server
Response status codes
**********************
- **200**: OK
Sample session
***************
.. literalinclude:: ../../../examples/hypervisor_get_interfaces.txt
@@ -0,0 +1,24 @@
/v1/hypervisor/projects/{project_id}/ports/udp
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
POST /v1/hypervisor/projects/**{project_id}**/ports/udp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Allocate an UDP port on the server
Parameters
**********
- **project_id**: The UUID of the project
Response status codes
**********************
- **201**: UDP port allocated
- **404**: The project doesn't exist
Sample session
***************
.. literalinclude:: ../../../examples/hypervisor_post_projectsprojectidportsudp.txt