Skip to content

Commit af2e5a5

Browse files
committed
api-ref: touch up the os-services docs
Make it clear that the first GET /os-services response sample is for 2.11 and make the version suffix format for the 2.69 example match the other response examples, i.e. "(v2.x)". Also mention that PUT /os-services/{service_id} only allows nova-compute services. Before Pike it was possible to update non-nova-compute services though it didn't really make sense. Change-Id: I585582710884a53d91f4453011d3407a94efe1e3
1 parent 9afaa5a commit af2e5a5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

api-ref/source/os-services.inc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ Response
5858
- zone: OS-EXT-AZ:availability_zone
5959
- forced_down: forced_down_2_11
6060

61-
**Example List Compute Services**
61+
**Example List Compute Services (v2.11)**
6262

6363
.. literalinclude:: ../../doc/api_samples/os-services/v2.11/services-list-get-resp.json
6464
:language: javascript
6565

66-
**Example List Compute Services (2.69)**
66+
**Example List Compute Services (v2.69)**
6767

6868
This is a sample response for the services from the non-responsive part of the
6969
deployment. The responses for the available service records will be normal
@@ -272,7 +272,8 @@ Update Compute Service
272272

273273
Update a compute service to enable or disable scheduling, including recording a
274274
reason why a compute service was disabled from scheduling. Set or unset the
275-
``forced_down`` flag for the service.
275+
``forced_down`` flag for the service. This operation is only allowed on
276+
services whose ``binary`` is ``nova-compute``.
276277

277278
This API is available starting with microversion 2.53.
278279

0 commit comments

Comments
 (0)