diff --git a/doc/common/section_cli_neutron_manage_networks.xml b/doc/common/section_cli_neutron_manage_networks.xml index cad0972e0a..8b6f58d125 100644 --- a/doc/common/section_cli_neutron_manage_networks.xml +++ b/doc/common/section_cli_neutron_manage_networks.xml @@ -114,6 +114,42 @@ export OS_AUTH_URL=http://localhost:5000/v2.0 +
+ Create routers + + + Create a new router: +$ neutron router-create router1 +Created a new router: ++-----------------------+--------------------------------------+ +| Field | Value | ++-----------------------+--------------------------------------+ +| admin_state_up | True | +| external_gateway_info | | +| id | 6e1f11ed-014b-4c16-8664-f4f615a3137a | +| name | router1 | +| status | ACTIVE | +| tenant_id | 7b5970fbe7724bf9b74c245e66b92abf | ++-----------------------+--------------------------------------+ + Take note of the unique router identifier returned, this + will be required in subsequent steps. + + + Link the router to the external provider network: + $ neutron router-gateway-set ROUTER NETWORK + Replace ROUTER with the unique + identifier of the router, replace NETWORK + with the unique identifier of the external provider network. + + + Link the router to the subnet: + $ neutron router-interface-add ROUTER SUBNET + Replace ROUTER with the unique + identifier of the router, replace SUBNET + with the unique identifier of the subnet. + + +
Create ports @@ -136,7 +172,7 @@ export OS_AUTH_URL=http://localhost:5000/v2.0 | network_id | 2d627131-c841-4e3a-ace6-f2dd75773b6d | | status | DOWN | | tenant_id | 3671f46ec35e4bbca6ef92ab7975e463 | -+----------------------+-------------------------------------------------------------------------------------+ ++----------------------+-------------------------------------------------------------------------------------+ In the previous command, net1 is the network name, which is a positional argument. --fixed-ip