python-openstackclient/doc/source/command-objects/compute-service.rst
Rui Chen eccd943acc Support compute service force down/up
Aims to evacuate servers from compute host as soon as possible,
operators might set the compute service force down manually.
Novaclient support the behavior, this patch support it in OSC.

Change-Id: I22ff1c5d670c449771fdcb3f4f39cd82f428531a
Closes-Bug: #1589348
2016-06-14 17:40:09 +08:00

1.4 KiB

compute service

Compute v2

compute service delete

Delete service command

compute service delete

os compute service delete
    <service>




Compute service to delete (ID only)

compute service list

List service command

compute service list

os compute service list
    [--host <host>]
    [--service <service>]
    [--long]




List services on specified host (name only)

--service <service>

List only specified service (name only)

--long

List additional fields in output

compute service set

Set service command

compute service set

os compute service set
    [--enable | --disable]
    [--disable-reason <reason>]
    [--up | --down]
    <host> <service>




Enable service

--disable

Disable service

--disable-reason <reason>

Reason for disabling the service (in quotes). Should be used with --disable option.

--up

Force up service

--down

Force down service

<host>

Name of host

<service>

Name of service (Binary name)