doc: Update nova command mapping

There are a number of commands we're never going to implement:

  host-evacuate
  host-evacuate-live
  host-servers-migrate
    As noted in Dan Smith's blog [1], these are wrapper commands or meta
    operations that call a particular action - namely 'evacuate',
    'live-migration', and 'migrate' in old novaclient parlance - for
    each server on a particular host.

    These commands have historically been confusing. The underlying
    server commands have been implemented as 'server evacuate', 'server
    migrate --live', and 'server migrate', respectively. If a user wants
    to call these for each server on the host, they can do so with a
    little bit of shell scripting (hint: you want 'server list --host')
    or use something more suitable for this kind of task such as Puppet
    or Ansible.

  host-meta
    As above, this is equivalent to calling 'meta' for all servers on
    the host. Combine 'server set --property' with 'server list --host'
    instead (or use Ansible).

  instance-usage-audit-log
    This corresponds to the '/os-instance_usage_audit_log' API which is
    intended for use by OpenStack Telemetry. There's no user-facing
    application of this.

The remaining entries are updated to include their implementations. We
simply missed updating the mapping doc when implementing them.

With this, the OSC implementation of the nova API is *documented* as
being complete, as opposed to merely actually being complete 😉

[1] https://www.danplanet.com/blog/2016/03/03/evacuate-in-nova-one-command-to-confuse-us-all/

Change-Id: If08d501dd66c561956266d3b3f21dfd3559d8394
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
Stephen Finucane 2022-09-22 16:48:47 +01:00
parent ec01268ea9
commit 674e4e620b

View File

@ -4,7 +4,7 @@ agent-delete,compute agent delete,Delete existing agent build.
agent-list,compute agent list,List all builds. agent-list,compute agent list,List all builds.
agent-modify,compute agent set,Modify existing agent build. agent-modify,compute agent set,Modify existing agent build.
aggregate-add-host,aggregate add host,Add the host to the specified aggregate. aggregate-add-host,aggregate add host,Add the host to the specified aggregate.
aggregate-cache-images,WONTFIX,Request images be cached. (Supported by API versions '2.81' - '2.latest') [hint: use '-- os-compute-api-version' flag to show help message for proper version] aggregate-cache-images,aggregate cache image,Request images be cached. (Supported by API versions '2.81' - '2.latest') [hint: use '-- os-compute-api-version' flag to show help message for proper version]
aggregate-create,aggregate create,Create a new aggregate with the specified details. aggregate-create,aggregate create,Create a new aggregate with the specified details.
aggregate-delete,aggregate delete,Delete the aggregate. aggregate-delete,aggregate delete,Delete the aggregate.
aggregate-list,aggregate list,Print a list of all aggregates. aggregate-list,aggregate list,Print a list of all aggregates.
@ -36,19 +36,19 @@ get-rdp-console,console url show --rdp,Get a rdp console to a server.
get-serial-console,console url show --serial,Get a serial console to a server. get-serial-console,console url show --serial,Get a serial console to a server.
get-spice-console,console url show --spice,Get a spice console to a server. get-spice-console,console url show --spice,Get a spice console to a server.
get-vnc-console,console url show --novnc,Get a vnc console to a server. get-vnc-console,console url show --novnc,Get a vnc console to a server.
host-evacuate,,Evacuate all instances from failed host. host-evacuate,WONTFIX,Evacuate all instances from failed host.
host-evacuate-live,,Live migrate all instances off the specified host to other available hosts. host-evacuate-live,WONTFIX,Live migrate all instances off the specified host to other available hosts.
host-meta,,Set or Delete metadata on all instances of a host. host-meta,WONTFIX,Set or Delete metadata on all instances of a host.
host-servers-migrate,,Cold migrate all instances off the specified host to other available hosts. host-servers-migrate,WONTFIX,Cold migrate all instances off the specified host to other available hosts.
hypervisor-list,hypervisor list,List hypervisors. (Supported by API versions '2.0' - '2.latest') hypervisor-list,hypervisor list,List hypervisors. (Supported by API versions '2.0' - '2.latest')
hypervisor-servers,,List servers belonging to specific hypervisors. hypervisor-servers,server list --host,List servers belonging to specific hypervisors.
hypervisor-show,hypervisor show,Display the details of the specified hypervisor. hypervisor-show,hypervisor show,Display the details of the specified hypervisor.
hypervisor-stats,hypervisor stats show,Get hypervisor statistics over all compute nodes. hypervisor-stats,hypervisor stats show,Get hypervisor statistics over all compute nodes.
hypervisor-uptime,hypervisor show,Display the uptime of the specified hypervisor. hypervisor-uptime,hypervisor show,Display the uptime of the specified hypervisor.
image-create,server image create,Create a new image by taking a snapshot of a running server. image-create,server image create,Create a new image by taking a snapshot of a running server.
instance-action,server event show,Show an action. instance-action,server event show,Show an action.
instance-action-list,server event list,List actions on a server. instance-action-list,server event list,List actions on a server.
instance-usage-audit-log,,List/Get server usage audits. instance-usage-audit-log,WONTFIX,List/Get server usage audits.
interface-attach,server add port / server add floating ip / server add fixed ip,Attach a network interface to a server. interface-attach,server add port / server add floating ip / server add fixed ip,Attach a network interface to a server.
interface-detach,server remove port,Detach a network interface from a server. interface-detach,server remove port,Detach a network interface from a server.
interface-list,port list --server,List interfaces attached to a server. interface-list,port list --server,List interfaces attached to a server.

1 add-secgroup server add security group Add a Security Group to a server.
4 agent-list compute agent list List all builds.
5 agent-modify compute agent set Modify existing agent build.
6 aggregate-add-host aggregate add host Add the host to the specified aggregate.
7 aggregate-cache-images WONTFIX aggregate cache image Request images be cached. (Supported by API versions '2.81' - '2.latest') [hint: use '-- os-compute-api-version' flag to show help message for proper version]
8 aggregate-create aggregate create Create a new aggregate with the specified details.
9 aggregate-delete aggregate delete Delete the aggregate.
10 aggregate-list aggregate list Print a list of all aggregates.
36 get-serial-console console url show --serial Get a serial console to a server.
37 get-spice-console console url show --spice Get a spice console to a server.
38 get-vnc-console console url show --novnc Get a vnc console to a server.
39 host-evacuate WONTFIX Evacuate all instances from failed host.
40 host-evacuate-live WONTFIX Live migrate all instances off the specified host to other available hosts.
41 host-meta WONTFIX Set or Delete metadata on all instances of a host.
42 host-servers-migrate WONTFIX Cold migrate all instances off the specified host to other available hosts.
43 hypervisor-list hypervisor list List hypervisors. (Supported by API versions '2.0' - '2.latest')
44 hypervisor-servers server list --host List servers belonging to specific hypervisors.
45 hypervisor-show hypervisor show Display the details of the specified hypervisor.
46 hypervisor-stats hypervisor stats show Get hypervisor statistics over all compute nodes.
47 hypervisor-uptime hypervisor show Display the uptime of the specified hypervisor.
48 image-create server image create Create a new image by taking a snapshot of a running server.
49 instance-action server event show Show an action.
50 instance-action-list server event list List actions on a server.
51 instance-usage-audit-log WONTFIX List/Get server usage audits.
52 interface-attach server add port / server add floating ip / server add fixed ip Attach a network interface to a server.
53 interface-detach server remove port Detach a network interface from a server.
54 interface-list port list --server List interfaces attached to a server.