2016-05-12 08:39:50 +00:00
|
|
|
/v2/compute/projects/{project_id}/iou/nodes/{node_id}/configs
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
.. contents::
|
|
|
|
|
|
|
|
GET /v2/compute/projects/**{project_id}**/iou/nodes/**{node_id}**/configs
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Retrieve the startup and private configs content
|
|
|
|
|
2016-06-04 08:40:39 +00:00
|
|
|
Parameters
|
|
|
|
**********
|
2016-07-14 13:31:49 +00:00
|
|
|
- **project_id**: Project UUID
|
2016-07-22 11:54:57 +00:00
|
|
|
- **node_id**: Node UUID
|
2016-06-04 08:40:39 +00:00
|
|
|
|
2016-05-12 08:39:50 +00:00
|
|
|
Response status codes
|
|
|
|
**********************
|
|
|
|
- **200**: Configs retrieved
|
|
|
|
- **400**: Invalid request
|
|
|
|
- **404**: Instance doesn't exist
|
|
|
|
|
|
|
|
Output
|
|
|
|
*******
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
|
|
|
<tr><td>private_config_content</td> <td> </td> <td>['string', 'null']</td> <td>Content of the private configuration file</td> </tr>
|
|
|
|
<tr><td>startup_config_content</td> <td> </td> <td>['string', 'null']</td> <td>Content of the startup configuration file</td> </tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
Sample session
|
|
|
|
***************
|
|
|
|
|
|
|
|
|
|
|
|
.. literalinclude:: ../../../examples/compute_get_projectsprojectidiounodesnodeidconfigs.txt
|
|
|
|
|