Merge "Standardize usage of client arguments (networking-guide)"

This commit is contained in:
Jenkins 2014-09-09 13:05:26 +00:00 committed by Gerrit Code Review
commit 304e8f39c2
2 changed files with 9 additions and 9 deletions

View File

@ -288,7 +288,7 @@ gateway_external_network_id = 2118b11c-011e-4fa5-a6f1-2ca34d372c35
external_network_bridge = br-ex</programlisting> external_network_bridge = br-ex</programlisting>
<screen><prompt>$</prompt> <userinput>python /opt/stack/neutron/bin/neutron-l3-agent <screen><prompt>$</prompt> <userinput>python /opt/stack/neutron/bin/neutron-l3-agent
--config-file /etc/neutron/neutron.conf --config-file /etc/neutron/neutron.conf
--config-file=/etc/neutron/l3_agent.ini</userinput></screen> --config-file /etc/neutron/l3_agent.ini</userinput></screen>
<para>For the second (or later) agent, invoke it with the following <para>For the second (or later) agent, invoke it with the following
<filename>l3_agent.ini</filename> where the <filename>l3_agent.ini</filename> where the
<option>handle_internal_only_routers</option> option is set to <option>handle_internal_only_routers</option> option is set to

View File

@ -395,7 +395,7 @@
<para>Creates external networks.</para> <para>Creates external networks.</para>
</td> </td>
<td> <td>
<screen><prompt>#</prompt> <userinput>neutron net-create public --router:external=True</userinput> <screen><prompt>#</prompt> <userinput>neutron net-create public --router:external True</userinput>
<prompt>$</prompt> <userinput>neutron subnet-create public 172.16.1.0/24</userinput></screen> <prompt>$</prompt> <userinput>neutron subnet-create public 172.16.1.0/24</userinput></screen>
</td> </td>
</tr> </tr>
@ -404,7 +404,7 @@
<para>Lists external networks.</para> <para>Lists external networks.</para>
</td> </td>
<td> <td>
<screen><prompt>$</prompt> <userinput>neutron net-list -- --router:external=True</userinput></screen> <screen><prompt>$</prompt> <userinput>neutron net-list -- --router:external True</userinput></screen>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -469,7 +469,7 @@
the VM NIC to which the floating IP should map.</para> the VM NIC to which the floating IP should map.</para>
</td> </td>
<td> <td>
<screen><prompt>$</prompt> <userinput>neutron port-list -c id -c fixed_ips -- --device_id=<replaceable>INSTANCE_ID</replaceable></userinput></screen> <screen><prompt>$</prompt> <userinput>neutron port-list -c id -c fixed_ips -- --device_id <replaceable>INSTANCE_ID</replaceable></userinput></screen>
<para>This port must be on an Networking subnet that is attached to a <para>This port must be on an Networking subnet that is attached to a
router uplinked to the external network used to create the floating router uplinked to the external network used to create the floating
IP. Conceptually, this is because the router must be able to perform IP. Conceptually, this is because the router must be able to perform
@ -511,7 +511,7 @@
<para>Finds floating IP for a specified VM port.</para> <para>Finds floating IP for a specified VM port.</para>
</td> </td>
<td> <td>
<screen><prompt>$</prompt> <userinput>neutron floatingip-list -- --port_id=ZZZ</userinput></screen> <screen><prompt>$</prompt> <userinput>neutron floatingip-list -- --port_id ZZZ</userinput></screen>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -1264,7 +1264,7 @@
<para>Associates a queue with a network.</para> <para>Associates a queue with a network.</para>
</td> </td>
<td> <td>
<screen><prompt>$</prompt> <userinput>neutron net-create network --queue_id=<replaceable>QUEUE_ID</replaceable></userinput></screen> <screen><prompt>$</prompt> <userinput>neutron net-create network --queue_id <replaceable>QUEUE_ID</replaceable></userinput></screen>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -1353,10 +1353,10 @@
<title>VMware NSX L3 extension operations</title> <title>VMware NSX L3 extension operations</title>
<para>Create external network and map it to a specific NSX gateway <para>Create external network and map it to a specific NSX gateway
service:</para> service:</para>
<screen><prompt>$</prompt> <userinput>neutron net-create public --router:external=True --provider:network_type l3_ext \ <screen><prompt>$</prompt> <userinput>neutron net-create public --router:external True --provider:network_type l3_ext \
--provider:physical_network <replaceable>L3_GATEWAY_SERVICE_UUID</replaceable></userinput></screen> --provider:physical_network <replaceable>L3_GATEWAY_SERVICE_UUID</replaceable></userinput></screen>
<para>Terminate traffic on a specific VLAN from a NSX gateway service:</para> <para>Terminate traffic on a specific VLAN from a NSX gateway service:</para>
<screen><prompt>$</prompt> <userinput>neutron net-create public --router:external=True --provider:network_type l3_ext \ <screen><prompt>$</prompt> <userinput>neutron net-create public --router:external True --provider:network_type l3_ext \
--provider:physical_network <replaceable>L3_GATEWAY_SERVICE_UUID</replaceable> --provider:segmentation_id <replaceable>VLAN_ID</replaceable></userinput></screen> --provider:physical_network <replaceable>L3_GATEWAY_SERVICE_UUID</replaceable> --provider:segmentation_id <replaceable>VLAN_ID</replaceable></userinput></screen>
</section> </section>
</section> </section>