Change all external subnet examples to have dhcp disabled
Make consistent use of --disable-dhcp in subnet-create console examples for external networks. These subnets are used for floating IP allocation pools and the DHCP attribute does not make sense. There doesn't seem to be a problem when it is set, but the examples in the doc might confuse readers if it is. Bug: 1224992 Change-Id: I09f4cd0e4ab182e491b40aece55119deb99005bb
This commit is contained in:
parent
8f51247d68
commit
16f386183b
@ -415,7 +415,7 @@ Created a new network:
|
|||||||
+---------------------------+--------------------------------------+
|
+---------------------------+--------------------------------------+
|
||||||
</computeroutput></screen>
|
</computeroutput></screen>
|
||||||
|
|
||||||
<screen><prompt>$</prompt> <userinput>neutron subnet-create Ext-Net 30.0.0.0/24</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>neutron subnet-create Ext-Net 30.0.0.0/24 --disable-dhcp</userinput></screen>
|
||||||
<screen><computeroutput>
|
<screen><computeroutput>
|
||||||
Created a new subnet:
|
Created a new subnet:
|
||||||
+------------------+--------------------------------------------+
|
+------------------+--------------------------------------------+
|
||||||
@ -424,7 +424,7 @@ Created a new subnet:
|
|||||||
| allocation_pools | {"start": "30.0.0.2", "end": "30.0.0.254"} |
|
| allocation_pools | {"start": "30.0.0.2", "end": "30.0.0.254"} |
|
||||||
| cidr | 30.0.0.0/24 |
|
| cidr | 30.0.0.0/24 |
|
||||||
| dns_nameservers | |
|
| dns_nameservers | |
|
||||||
| enable_dhcp | True |
|
| enable_dhcp | False |
|
||||||
| gateway_ip | 30.0.0.1 |
|
| gateway_ip | 30.0.0.1 |
|
||||||
| host_routes | |
|
| host_routes | |
|
||||||
| id | ba754a55-7ce8-46bb-8d97-aa83f4ffa5f9 |
|
| id | ba754a55-7ce8-46bb-8d97-aa83f4ffa5f9 |
|
||||||
|
@ -424,7 +424,7 @@ export SERVICE_TOKEN=password</programlisting></para>
|
|||||||
</note>
|
</note>
|
||||||
<screen><prompt>$</prompt> <userinput>neutron subnet-create ext_net \
|
<screen><prompt>$</prompt> <userinput>neutron subnet-create ext_net \
|
||||||
--allocation-pool start=7.7.7.130,end=7.7.7.150 \
|
--allocation-pool start=7.7.7.130,end=7.7.7.150 \
|
||||||
--gateway 7.7.7.1 7.7.7.0/24 -- --enable_dhcp=False</userinput></screen>
|
--gateway 7.7.7.1 7.7.7.0/24 --disable-dhcp</userinput></screen>
|
||||||
<screen><computeroutput>+------------------+--------------------------------------------------+
|
<screen><computeroutput>+------------------+--------------------------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
+------------------+--------------------------------------------------+
|
+------------------+--------------------------------------------------+
|
||||||
|
@ -416,7 +416,7 @@
|
|||||||
<title>Common L3 Workflow</title>
|
<title>Common L3 Workflow</title>
|
||||||
<para>Create external networks (admin-only)</para>
|
<para>Create external networks (admin-only)</para>
|
||||||
<screen><computeroutput>neutron net-create public --router:external=True
|
<screen><computeroutput>neutron net-create public --router:external=True
|
||||||
neutron subnet-create public 172.16.1.0/24 </computeroutput></screen>
|
neutron subnet-create public 172.16.1.0/24 --disable-dhcp</computeroutput></screen>
|
||||||
<para>Viewing external networks:</para>
|
<para>Viewing external networks:</para>
|
||||||
<screen><computeroutput>neutron net-list -- --router:external=True</computeroutput></screen>
|
<screen><computeroutput>neutron net-list -- --router:external=True</computeroutput></screen>
|
||||||
<para>Creating routers</para>
|
<para>Creating routers</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user