2016-03-07 14:01:35 +00:00
|
|
|
/v1/hypervisor/projects/{project_id}/ports/udp
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------------
|
2015-02-04 09:31:31 +00:00
|
|
|
|
|
|
|
.. contents::
|
|
|
|
|
2016-03-07 14:01:35 +00:00
|
|
|
POST /v1/hypervisor/projects/**{project_id}**/ports/udp
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2015-02-04 09:31:31 +00:00
|
|
|
Allocate an UDP port on the server
|
|
|
|
|
2015-03-30 09:05:54 +00:00
|
|
|
Parameters
|
|
|
|
**********
|
|
|
|
- **project_id**: The UUID of the project
|
|
|
|
|
2015-02-04 09:31:31 +00:00
|
|
|
Response status codes
|
|
|
|
**********************
|
|
|
|
- **201**: UDP port allocated
|
2015-03-30 09:05:54 +00:00
|
|
|
- **404**: The project doesn't exist
|
2015-02-04 09:31:31 +00:00
|
|
|
|
2015-02-24 10:38:57 +00:00
|
|
|
Sample session
|
|
|
|
***************
|
|
|
|
|
|
|
|
|
2016-03-07 14:01:35 +00:00
|
|
|
.. literalinclude:: ../../../examples/hypervisor_post_projectsprojectidportsudp.txt
|
2015-02-24 10:38:57 +00:00
|
|
|
|