Update neutron ML2 configuration

I updated the installation guide neutron ML2 configuration to
use the newer '[agent] tunnel_types' option instead of the
'[ovs] tunnel_type' option. I also improved the description of
a few steps.

Change-Id: I9ddc150b7f09b15afaf1b9a4113a0fb8b13fe032
Closes-Bug: #1391097
backport: juno
This commit is contained in:
Matthew Kassawara
2014-11-20 14:18:46 -06:00
parent 55c1830f89
commit 300aaf719d
2 changed files with 21 additions and 7 deletions

View File

@@ -182,18 +182,24 @@ enable_ipset = True
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver</programlisting> firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver</programlisting>
</step> </step>
<step> <step>
<para>In the <literal>[ovs]</literal> section, configure the <para>In the <literal>[ovs]</literal> section, enable tunnels
<glossterm>Open vSwitch (OVS) agent</glossterm>:</para> and configure the local tunnel endpoint:</para>
<programlisting language="ini">[ovs] <programlisting language="ini">[ovs]
... ...
local_ip = <replaceable>INSTANCE_TUNNELS_INTERFACE_IP_ADDRESS</replaceable> local_ip = <replaceable>INSTANCE_TUNNELS_INTERFACE_IP_ADDRESS</replaceable>
tunnel_type = gre
enable_tunneling = True</programlisting> enable_tunneling = True</programlisting>
<para>Replace <para>Replace
<replaceable>INSTANCE_TUNNELS_INTERFACE_IP_ADDRESS</replaceable> <replaceable>INSTANCE_TUNNELS_INTERFACE_IP_ADDRESS</replaceable>
with the IP address of the instance tunnels network interface with the IP address of the instance tunnels network interface
on your compute node.</para> on your compute node.</para>
</step> </step>
<step>
<para>In the <literal>[agent]</literal> section, enable GRE
tunnels:</para>
<programlisting language="ini">[agent]
...
tunnel_types = gre</programlisting>
</step>
</substeps> </substeps>
</step> </step>
</procedure> </procedure>

View File

@@ -171,7 +171,7 @@ mechanism_drivers = openvswitch</programlisting>
</step> </step>
<step> <step>
<para>In the <literal>[ml2_type_flat]</literal> section, <para>In the <literal>[ml2_type_flat]</literal> section,
configure the external network:</para> configure the external flat provider network:</para>
<programlisting language="ini">[ml2_type_flat] <programlisting language="ini">[ml2_type_flat]
... ...
flat_networks = external</programlisting> flat_networks = external</programlisting>
@@ -196,12 +196,13 @@ enable_ipset = True
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver</programlisting> firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver</programlisting>
</step> </step>
<step> <step>
<para>In the <literal>[ovs]</literal> section, configure the <para>In the <literal>[ovs]</literal> section, enable tunnels,
<glossterm>Open vSwitch (OVS) agent</glossterm>:</para> configure the local tunnel endpoint, and map the external flat
provider network to the <literal>br-ex</literal> external
network bridge:</para>
<programlisting language="ini">[ovs] <programlisting language="ini">[ovs]
... ...
local_ip = <replaceable>INSTANCE_TUNNELS_INTERFACE_IP_ADDRESS</replaceable> local_ip = <replaceable>INSTANCE_TUNNELS_INTERFACE_IP_ADDRESS</replaceable>
tunnel_type = gre
enable_tunneling = True enable_tunneling = True
bridge_mappings = external:br-ex</programlisting> bridge_mappings = external:br-ex</programlisting>
<para>Replace <para>Replace
@@ -209,6 +210,13 @@ bridge_mappings = external:br-ex</programlisting>
with the IP address of the instance with the IP address of the instance
tunnels network interface on your network node.</para> tunnels network interface on your network node.</para>
</step> </step>
<step>
<para>In the <literal>[agent]</literal> section, enable GRE
tunnels:</para>
<programlisting language="ini">[agent]
...
tunnel_types = gre</programlisting>
</step>
</substeps> </substeps>
</step> </step>
</procedure> </procedure>