[admin-guide] Update cli commands
Replace nova cli commands with openstack cli commands Change-Id: I08d3cb4f65318dea8b7326460eec10038bf8cb97 Implements: blueprint use-openstack-command
This commit is contained in:
parent
a746662e99
commit
600452519b
@ -32,7 +32,7 @@ To list all floating IP addresses for all projects, run:
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ nova floating-ip-bulk-list
|
$ openstack floating ip list
|
||||||
+------------+---------------+---------------+--------+-----------+
|
+------------+---------------+---------------+--------+-----------+
|
||||||
| project_id | address | instance_uuid | pool | interface |
|
| project_id | address | instance_uuid | pool | interface |
|
||||||
+------------+---------------+---------------+--------+-----------+
|
+------------+---------------+---------------+--------+-----------+
|
||||||
@ -98,10 +98,10 @@ To delete a range of floating IP addresses, run:
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ nova floating-ip-bulk-delete RANGE_TO_DELETE
|
$ openstack floating ip delete RANGE_TO_DELETE
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ nova floating-ip-bulk-delete 192.168.1.56/29
|
$ openstack floating ip delete 192.168.1.56/29
|
||||||
|
@ -367,7 +367,7 @@ by the XAPI plug-ins to establish the pool.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. 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
|
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
|
.. 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.
|
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
|
.. code-block:: console
|
||||||
|
|
||||||
$ nova aggregate-add-host AGGREGATE_ID COMPUTE_HOST_NAME
|
$ openstack aggregate add host AGGREGATE_ID COMPUTE_HOST_NAME
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user