Configures namespace deletion

Add option to the L3 and DHCP agent configuration to
enable automatic deletion of router and DHCP namespaces
when the router or network is deleted.

Change-Id: I75d5eb4bac4b1d163b44f7ea27db01b62a80bedd
backport: Juno
Closes-Bug: 1404941
This commit is contained in:
phil-hopkins-a 2015-02-02 11:01:12 -06:00 committed by Matthew Kassawara
parent d7d7d38e97
commit 09e0ef8958

View File

@ -232,13 +232,21 @@ tunnel_types = gre</programlisting>
<para>In the <literal>[DEFAULT]</literal> section, configure
the driver, enable
<glossterm baseform="network namespace">network
namespaces</glossterm>, and configure the external
network bridge:</para>
namespaces</glossterm>, configure the external network bridge
and enable deletion of defunct router namespaces:</para>
<programlisting language="ini">[DEFAULT]
...
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
use_namespaces = True
external_network_bridge = br-ex</programlisting>
external_network_bridge = br-ex
router_delete_namespaces = True</programlisting>
<note os="sles">
<para>Due to an issue with old versions of the
<application>iproute2</application> utility, we recommend
that you do not configure the
<option>router_delete_namespaces</option> option on SLES 11
SP3.</para>
</note>
</step>
<step>
<para>(Optional) To assist with troubleshooting,
@ -262,12 +270,21 @@ verbose = True</programlisting>
<substeps>
<step>
<para>In the <literal>[DEFAULT]</literal> section, configure
the drivers and enable namespaces:</para>
the drivers, enable namespaces and enable deletion of defunct
DHCP namespaces:</para>
<programlisting language="ini">[DEFAULT]
...
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
use_namespaces = True</programlisting>
use_namespaces = True
dhcp_delete_namespaces = True</programlisting>
<note os="sles">
<para>Due to an issue with old versions of the
<application>iproute2</application> utility, we recommend
that you do not configure the
<option>dhcp_delete_namespaces</option> option on SLES 11
SP3.</para>
</note>
</step>
<step>
<para>(Optional) To assist with troubleshooting,