Complete method verification of os-fping
Verified the API document for os-fping with source for methods available and response codes. Part of bp:api-ref-in-rst Change-Id: Iab4fda784734337da25202ebba567a01ca63ae9e
This commit is contained in:
parent
b4db932936
commit
d8d8adf7fe
|
@ -1,5 +1,4 @@
|
||||||
.. -*- rst -*-
|
.. -*- rst -*-
|
||||||
.. needs:method_verification
|
|
||||||
.. needs:parameter_verification
|
.. needs:parameter_verification
|
||||||
.. needs:example_verification
|
.. needs:example_verification
|
||||||
.. needs:body_verification
|
.. needs:body_verification
|
||||||
|
@ -21,12 +20,14 @@ Specify the ``all_tenants=1`` query parameter to ping instances for all tenants.
|
||||||
|
|
||||||
GET /os-fping?all_tenants=1Specify the ``include`` and ``exclude`` query parameters to filter the results. For example:
|
GET /os-fping?all_tenants=1Specify the ``include`` and ``exclude`` query parameters to filter the results. For example:
|
||||||
|
|
||||||
GET /os-fping?all_tenants=1&include=uuid1,uuid2&exclude=uuid3,uuid4Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file.
|
GET /os-fping?all_tenants=1&include=uuid1,uuid2&exclude=uuid3,uuid4
|
||||||
|
Policy defaults enable only users with the administrative role or the
|
||||||
|
owner of the server to perform this operation. Cloud providers can
|
||||||
|
change these permissions through the ``policy.json`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
Error response codes: computeFault(400, 500), serviceUnavailable(503), badRequest(400),
|
Error response codes: serviceUnavailable(503), unauthorized(401), forbidden(403)
|
||||||
unauthorized(401), forbidden(403), badMethod(405), itemNotFound(404)
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
-------
|
-------
|
||||||
|
@ -59,12 +60,14 @@ Ping An Instance
|
||||||
|
|
||||||
Run the fping utility to ping an instance and report whether it is alive.
|
Run the fping utility to ping an instance and report whether it is alive.
|
||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file.
|
Policy defaults enable only users with the administrative role or the
|
||||||
|
owner of the server to perform this operation. Cloud providers can
|
||||||
|
change these permissions through the ``policy.json`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
Error response codes: computeFault(400, 500), serviceUnavailable(503), badRequest(400),
|
Error response codes: serviceUnavailable(503), unauthorized(401), forbidden(403),
|
||||||
unauthorized(401), forbidden(403), badMethod(405), itemNotFound(404)
|
itemNotFound(404)
|
||||||
|
|
||||||
Request
|
Request
|
||||||
-------
|
-------
|
||||||
|
|
Loading…
Reference in New Issue