python-openstackclient/doc/source/command-objects/compute-service.rst

1.5 KiB

compute service

Compute v2

compute service delete

Delete compute service(s)

compute service delete

os compute service delete
    <service> [<service> ...]




Compute service(s) to delete (ID only)

compute service list

List compute services

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 compute service properties

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)