From 600452519bbadcb21da9a1692375eab2507dc594 Mon Sep 17 00:00:00 2001 From: daz Date: Mon, 19 Dec 2016 17:08:29 +1100 Subject: [PATCH] [admin-guide] Update cli commands Replace nova cli commands with openstack cli commands Change-Id: I08d3cb4f65318dea8b7326460eec10038bf8cb97 Implements: blueprint use-openstack-command --- doc/admin-guide/source/cli-admin-manage-ip-addresses.rst | 6 +++--- doc/admin-guide/source/compute-configuring-migrations.rst | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/admin-guide/source/cli-admin-manage-ip-addresses.rst b/doc/admin-guide/source/cli-admin-manage-ip-addresses.rst index c512dd1727..191da2859c 100644 --- a/doc/admin-guide/source/cli-admin-manage-ip-addresses.rst +++ b/doc/admin-guide/source/cli-admin-manage-ip-addresses.rst @@ -32,7 +32,7 @@ To list all floating IP addresses for all projects, run: .. code-block:: console - $ nova floating-ip-bulk-list + $ openstack floating ip list +------------+---------------+---------------+--------+-----------+ | project_id | address | instance_uuid | pool | interface | +------------+---------------+---------------+--------+-----------+ @@ -98,10 +98,10 @@ To delete a range of floating IP addresses, run: .. code-block:: console - $ nova floating-ip-bulk-delete RANGE_TO_DELETE + $ openstack floating ip delete RANGE_TO_DELETE For example: .. code-block:: console - $ nova floating-ip-bulk-delete 192.168.1.56/29 + $ openstack floating ip delete 192.168.1.56/29 diff --git a/doc/admin-guide/source/compute-configuring-migrations.rst b/doc/admin-guide/source/compute-configuring-migrations.rst index 35951f6c5b..d1a19c3385 100644 --- a/doc/admin-guide/source/compute-configuring-migrations.rst +++ b/doc/admin-guide/source/compute-configuring-migrations.rst @@ -367,7 +367,7 @@ by the XAPI plug-ins to establish the pool. .. code-block:: console - $ nova aggregate-create POOL_NAME AVAILABILITY_ZONE + $ openstack aggregate create --zone AVAILABILITY_ZONE POOL_NAME Add metadata to the aggregate, to mark it as a hypervisor pool @@ -381,7 +381,7 @@ by the XAPI plug-ins to establish the pool. .. code-block:: console - $ nova aggregate-add-host AGGREGATE_ID MASTER_COMPUTE_NAME + $ openstack aggregate add host AGGREGATE_ID MASTER_COMPUTE_NAME The host is now part of a XenServer pool. @@ -389,7 +389,7 @@ by the XAPI plug-ins to establish the pool. .. code-block:: console - $ nova aggregate-add-host AGGREGATE_ID COMPUTE_HOST_NAME + $ openstack aggregate add host AGGREGATE_ID COMPUTE_HOST_NAME .. note::