Merge "Use OSC commands to replace neutron commands"
This commit is contained in:
commit
a75ceeea59
@ -460,41 +460,74 @@ Create and configure the routers
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ neutron router-create router1
|
$ openstack router create router1
|
||||||
+-----------------------+--------------------------------------+
|
+-------------------------+--------------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
+-----------------------+--------------------------------------+
|
+-------------------------+--------------------------------------+
|
||||||
| admin_state_up | True |
|
| admin_state_up | UP |
|
||||||
| external_gateway_info | |
|
| availability_zone_hints | |
|
||||||
| id | 3f6f4ef8-63be-11e6-bbb3-2fbcef363ab8 |
|
| availability_zones | |
|
||||||
| name | router1 |
|
| created_at | 2017-01-10T13:15:19Z |
|
||||||
| status | ACTIVE |
|
| description | |
|
||||||
| tenant_id | b3ac05ef10bf441fbf4aa17f16ae1e6d |
|
| distributed | False |
|
||||||
+-----------------------+--------------------------------------+
|
| external_gateway_info | null |
|
||||||
|
| flavor_id | None |
|
||||||
|
| ha | False |
|
||||||
|
| headers | |
|
||||||
|
| id | 3f6f4ef8-63be-11e6-bbb3-2fbcef363ab8 |
|
||||||
|
| name | router1 |
|
||||||
|
| project_id | b3ac05ef10bf441fbf4aa17f16ae1e6d |
|
||||||
|
| revision_number | 1 |
|
||||||
|
| routes | |
|
||||||
|
| status | ACTIVE |
|
||||||
|
| updated_at | 2017-01-10T13:15:19Z |
|
||||||
|
+-------------------------+--------------------------------------+
|
||||||
|
|
||||||
$ neutron router-create router2
|
$ openstack router create router2
|
||||||
+-----------------------+--------------------------------------+
|
+-------------------------+--------------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
+-----------------------+--------------------------------------+
|
+-------------------------+--------------------------------------+
|
||||||
| admin_state_up | True |
|
| admin_state_up | UP |
|
||||||
| external_gateway_info | |
|
| availability_zone_hints | |
|
||||||
| id | 3fd21a60-63be-11e6-9c95-5714c208c499 |
|
| availability_zones | |
|
||||||
| name | router1 |
|
| created_at | 2017-01-10T13:15:19Z |
|
||||||
| status | ACTIVE |
|
| description | |
|
||||||
| tenant_id | b3ac05ef10bf441fbf4aa17f16ae1e6d |
|
| distributed | False |
|
||||||
+-----------------------+--------------------------------------+
|
| external_gateway_info | null |
|
||||||
|
| flavor_id | None |
|
||||||
|
| ha | False |
|
||||||
|
| headers | |
|
||||||
|
| id | 3fd21a60-63be-11e6-9c95-5714c208c499 |
|
||||||
|
| name | router2 |
|
||||||
|
| project_id | b3ac05ef10bf441fbf4aa17f16ae1e6d |
|
||||||
|
| revision_number | 1 |
|
||||||
|
| routes | |
|
||||||
|
| status | ACTIVE |
|
||||||
|
| updated_at | 2017-01-10T13:15:19Z |
|
||||||
|
+-------------------------+--------------------------------------+
|
||||||
|
|
||||||
$ neutron router-create router3
|
$ openstack router create router3
|
||||||
+-----------------------+--------------------------------------+
|
+-------------------------+--------------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
+-----------------------+--------------------------------------+
|
+-------------------------+--------------------------------------+
|
||||||
| admin_state_up | True |
|
| admin_state_up | UP |
|
||||||
| external_gateway_info | |
|
| availability_zone_hints | |
|
||||||
| id | 40069a4c-63be-11e6-9ecc-e37c1eaa7e84 |
|
| availability_zones | |
|
||||||
| name | router1 |
|
| created_at | 2017-01-10T13:15:19Z |
|
||||||
| status | ACTIVE |
|
| description | |
|
||||||
| tenant_id | b3ac05ef10bf441fbf4aa17f16ae1e6d |
|
| distributed | False |
|
||||||
+-----------------------+--------------------------------------+
|
| external_gateway_info | null |
|
||||||
|
| flavor_id | None |
|
||||||
|
| ha | False |
|
||||||
|
| headers | |
|
||||||
|
| id | 40069a4c-63be-11e6-9ecc-e37c1eaa7e84 |
|
||||||
|
| name | router3 |
|
||||||
|
| project_id | b3ac05ef10bf441fbf4aa17f16ae1e6d |
|
||||||
|
| revision_number | 1 |
|
||||||
|
| routes | |
|
||||||
|
| status | ACTIVE |
|
||||||
|
| updated_at | 2017-01-10T13:15:19Z |
|
||||||
|
+-------------------------+--------------------------------------+
|
||||||
|
|
||||||
#. For each router, add one self-service subnet as an interface on the router.
|
#. For each router, add one self-service subnet as an interface on the router.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user