From a1c2136c01616457dd461683a7ad136fe536ca57 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 6 Apr 2014 20:29:42 +0200 Subject: [PATCH] Clarify description of neutron subnet-create Better explain the parameter of the neutron subnet-create command. Change-Id: Ice519027ebeebbc343a10546748350fc6ed731ae Closes-Bug: #1299833 --- .../section_cli_neutron_manage_networks.xml | 45 +++++++++++++------ 1 file changed, 32 insertions(+), 13 deletions(-) diff --git a/doc/common/section_cli_neutron_manage_networks.xml b/doc/common/section_cli_neutron_manage_networks.xml index 8b6f58d125..00ea45eaf8 100644 --- a/doc/common/section_cli_neutron_manage_networks.xml +++ b/doc/common/section_cli_neutron_manage_networks.xml @@ -104,23 +104,42 @@ export OS_AUTH_URL=http://localhost:5000/v2.0 | network_id | 2d627131-c841-4e3a-ace6-f2dd75773b6d | | tenant_id | 3671f46ec35e4bbca6ef92ab7975e463 | +------------------+--------------------------------------------------+ - In the previous command, net1 - is the network name, - 192.168.2.0/24 is the - subnet's CIDR. They are positional arguments. - --name subnet1 is an - unknown option, which specifies the subnet's - name. + The subnet-create command + has the following positional and optional + parameters: + + + The name or ID of the network to which + the subnet belongs. + In this example, net1 + is a positional argument that specifies + the network name. + + + The CIDR of the subnet. + In this example, + 192.168.2.0/24 is a + positional argument that specifies the + CIDR. + + + The subnet name, which is + optional. + In this example, --name + subnet1 specifies the name + of the subnet. + +
- Create routers - - - Create a new router: -$ neutron router-create router1 -Created a new router: + Create routers + + + Create a router: + $ neutron router-create router1 + Created a new router: +-----------------------+--------------------------------------+ | Field | Value | +-----------------------+--------------------------------------+