Skip to content

Commit

Permalink
Add deleting state #959
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Dec 12, 2019
1 parent e24c4eb commit fd1867a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/REST.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ GET ``http://imserver.com/infrastructures/<infId>/<property_name>``
(the virtual infrastructure will not be modified).
:``state``: a JSON object with two elements:
:``state``: a string with the aggregated state of the infrastructure (see list of valid states in :IM-States_).
:``vm_states``: a dict indexed with the VM ID and the value the VM state (see list of valid states in :IM-States_).
:``state``: a string with the aggregated state of the infrastructure (see list of valid states in :ref:`IM-States`).
:``vm_states``: a dict indexed with the VM ID and the value the VM state (see list of valid states in :ref:`IM-States`).

The result is JSON format has the following format::
Expand Down
6 changes: 6 additions & 0 deletions doc/source/xmlrpc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ structs.

.. _IM-States:

IM valid States
----------------

List of valid VM and infrastructure states:

The ``state`` can be
Expand Down Expand Up @@ -43,6 +46,9 @@ List of valid VM and infrastructure states:
"stopped" -> "pending";
"configured" -> "deleting";

Methods
-------

This is the list of method names:

``GetInfrastructureList``
Expand Down

0 comments on commit fd1867a

Please sign in to comment.