Skip to content

Commit 722d321

Browse files
committed
docs: Add missing command mappings
The 'neutron tag-replace' command is equivalent to the 'openstack network set --no-tag --tag <tag> [--tag <tag> ...]' command. '--no-tag' will unset all tags while '--tag <tag>' will set a new tag and can be specified multiple times. The 'nova hypervisor-uptime' command is equivalent to the 'openstack hypervisor show' command. Before compute microversion 2.88, the nova command was using a different API that returned an almost identical output to 'nova hypervisor-show' except it included an 'uptime' field. Since 2.88, this field is returned in the standard call. OSC abstracts this detail away so the 'uptime' field is always present, removing the need for a separate command. The 'nova migration-list' command is implemented as 'openstack server migration list' (simply omit the '--server' filter). The 'nova volume-update' command is implemented as 'openstack server volume update'. The 'nova volume-attachments' command is actually available as 'openstack server volume list', though you can also use 'server show'. The 'nova aggregate-cache-images' corresponds to an internal API that only glance should be using. It doesn't need to be exposed via openstackclient. Change-Id: Icdbc42762230954f6f7f2064b6228416af41d45a Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
1 parent 366e164 commit 722d321

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

doc/source/cli/data/neutron.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ subnetpool-show,subnet pool show,Show information of a given subnetpool.
230230
subnetpool-update,subnet pool set / subnet pool unset,Update subnetpool's information.
231231
tag-add,network set --tag,Add a tag into the resource.
232232
tag-remove,network unset --tag,Remove a tag on the resource.
233-
tag-replace,,Replace all tags on the resource.
233+
tag-replace,network set --no-tag --tag,Replace all tags on the resource.
234234
vpn-endpoint-group-create,,Create a VPN endpoint group.
235235
vpn-endpoint-group-delete,,Delete a given VPN endpoint group.
236236
vpn-endpoint-group-list,,List VPN endpoint groups that belong to a given tenant.

doc/source/cli/data/nova.csv

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ agent-delete,compute agent delete,Delete existing agent build.
44
agent-list,compute agent list,List all builds.
55
agent-modify,compute agent set,Modify existing agent build.
66
aggregate-add-host,aggregate add host,Add the host to the specified aggregate.
7-
aggregate-cache-images,,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]
7+
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]
88
aggregate-create,aggregate create,Create a new aggregate with the specified details.
99
aggregate-delete,aggregate delete,Delete the aggregate.
1010
aggregate-list,aggregate list,Print a list of all aggregates.
@@ -44,7 +44,7 @@ hypervisor-list,hypervisor list,List hypervisors. (Supported by API versions '2.
4444
hypervisor-servers,,List servers belonging to specific hypervisors.
4545
hypervisor-show,hypervisor show,Display the details of the specified hypervisor.
4646
hypervisor-stats,hypervisor stats show,Get hypervisor statistics over all compute nodes.
47-
hypervisor-uptime,,Display the uptime of the specified hypervisor.
47+
hypervisor-uptime,hypervisor show,Display the uptime of the specified hypervisor.
4848
image-create,server image create,Create a new image by taking a snapshot of a running server.
4949
instance-action,server event show,Show an action.
5050
instance-action-list,,List actions on a server.
@@ -65,7 +65,7 @@ live-migration-force-comp,server migration force complete,Force on-going live mi
6565
lock,server lock,Lock a server.
6666
meta,server set --property / unset,Set or delete metadata on a server.
6767
migrate,server migrate,Migrate a server. The new host will be selected by the scheduler.
68-
migration-list,,Print a list of migrations.
68+
migration-list,server migration list,Print a list of migrations.
6969
pause,server pause,Pause a server.
7070
quota-class-show,quota show --class,List the quotas for a quota class.
7171
quota-class-update,quota set --class,Update the quotas for a quota class.
@@ -120,8 +120,8 @@ usage,usage show,Show usage data for a single tenant.
120120
usage-list,usage list,List usage data for all tenants.
121121
version-list,,List all API versions.
122122
volume-attach,server add volume,Attach a volume to a server.
123-
volume-attachments,server show,List all the volumes attached to a server.
123+
volume-attachments,server volume list,List all the volumes attached to a server.
124124
volume-detach,server remove volume,Detach a volume from a server.
125-
volume-update,,Update volume attachment.
125+
volume-update,server volume update,Update volume attachment.
126126
bash-completion,complete,Prints all of the commands and options to stdout so that the nova.bash_completion script doesn't have to hard code them.
127127
help,help,Display help about this program or one of its subcommands.

0 commit comments

Comments
 (0)