diff options
author | 2018-03-15 19:44:39 -0400 | |
---|---|---|
committer | 2018-04-09 21:34:23 +0000 | |
commit | 0cd3c6cef32adb1bf9d26414ed73bd9373b0c407 (patch) | |
tree | 20a648c70c725899853f5bf2fe5cfc531c1f90aa /build/patches/neutron-patch-NSDriver.patch | |
parent | 049cf8ea3e0074fc42bcfd3c23df71517c530ca2 (diff) |
Enable nosdn-fdio scenarios for Fraser release
- Update neutron NSDriver patch
- Update os-net-config to fix config errors for vpp uio-driver
- Update puppet-tripleo to add configuration of physnets and type_driver
in vpp agent
- Update THT to change VPP environment file for vpp-agent, and add common.yaml
for vpp interface mapping
- Update VPP and networking-vpp version to 18.01
- Fix networking-vpp rpm build to enable proper uninstall.
- Update networking settings file to use ovs_bridge as default external interface type
JIRA: APEX-578
JIRA: APEX-568
JIRA: APEX-576
JIRA: APEX-577
apex-os-net-config: I915d5455acb8d496438b9c9e851639d3a43e6fa9
apex-puppet-tripleo: I472879b8f67e64b571638a0385943597a9120e6c
apex-tripleo-heat-templates: I5dfaf85d67fb038109edaf5c5d8a3e901b9148f4
Change-Id: I369bee232bfafef260d2ef19ac32614fdc487271
Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'build/patches/neutron-patch-NSDriver.patch')
-rw-r--r-- | build/patches/neutron-patch-NSDriver.patch | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/build/patches/neutron-patch-NSDriver.patch b/build/patches/neutron-patch-NSDriver.patch index f01d0318..84b4fb02 100644 --- a/build/patches/neutron-patch-NSDriver.patch +++ b/build/patches/neutron-patch-NSDriver.patch @@ -1,6 +1,6 @@ -From d51e6ba77c3f40c7c04c97b1de06bf9344c95929 Mon Sep 17 00:00:00 2001 +From ea53f407637d7ed8b5447fc261b1577d4795744a Mon Sep 17 00:00:00 2001 From: Feng Pan <fpan@redhat.com> -Date: Thu, 20 Jul 2017 16:12:45 -0400 +Date: Sun, 5 Feb 2017 21:34:19 -0500 Subject: [PATCH] Add NSDriver --- @@ -10,7 +10,7 @@ Subject: [PATCH] Add NSDriver 3 files changed, 86 insertions(+), 8 deletions(-) diff --git a/neutron/agent/l3/namespaces.py b/neutron/agent/l3/namespaces.py -index f65c706..e9fc4b7 100644 +index 71e8cbcf35..7152cd94ff 100644 --- a/neutron/agent/l3/namespaces.py +++ b/neutron/agent/l3/namespaces.py @@ -18,6 +18,7 @@ import functools @@ -18,10 +18,10 @@ index f65c706..e9fc4b7 100644 from oslo_utils import excutils +from neutron.agent.linux.interface import OVSInterfaceDriver - from neutron._i18n import _LE, _LW from neutron.agent.linux import ip_lib -@@ -110,8 +111,9 @@ class Namespace(object): + LOG = logging.getLogger(__name__) +@@ -119,8 +120,9 @@ class Namespace(object): class RouterNamespace(Namespace): @@ -32,7 +32,7 @@ index f65c706..e9fc4b7 100644 name = self._get_ns_name(router_id) super(RouterNamespace, self).__init__( name, agent_conf, driver, use_ipv6) -@@ -132,7 +134,7 @@ class RouterNamespace(Namespace): +@@ -140,7 +142,7 @@ class RouterNamespace(Namespace): elif d.name.startswith(ROUTER_2_FIP_DEV_PREFIX): ns_ip.del_veth(d.name) elif d.name.startswith(EXTERNAL_DEV_PREFIX): @@ -42,10 +42,10 @@ index f65c706..e9fc4b7 100644 bridge=self.agent_conf.external_network_bridge, namespace=self.name, diff --git a/neutron/agent/l3/router_info.py b/neutron/agent/l3/router_info.py -index 46db6a5..6775882 100644 +index f578a9e5e2..cadc0371d7 100644 --- a/neutron/agent/l3/router_info.py +++ b/neutron/agent/l3/router_info.py -@@ -30,6 +30,7 @@ from neutron.common import exceptions as n_exc +@@ -29,6 +29,7 @@ from neutron.common import exceptions as n_exc from neutron.common import ipv6_utils from neutron.common import utils as common_utils from neutron.ipam import utils as ipam_utils @@ -53,7 +53,7 @@ index 46db6a5..6775882 100644 LOG = logging.getLogger(__name__) INTERNAL_DEV_PREFIX = namespaces.INTERNAL_DEV_PREFIX -@@ -52,6 +53,7 @@ class RouterInfo(object): +@@ -51,6 +52,7 @@ class RouterInfo(object): interface_driver, use_ipv6=False): self.agent = agent @@ -61,7 +61,7 @@ index 46db6a5..6775882 100644 self.router_id = router_id self.ex_gw_port = None self._snat_enabled = None -@@ -63,7 +65,7 @@ class RouterInfo(object): +@@ -62,7 +64,7 @@ class RouterInfo(object): self.router = router self.use_ipv6 = use_ipv6 ns = self.create_router_namespace_object( @@ -82,7 +82,7 @@ index 46db6a5..6775882 100644 @property def router(self): -@@ -609,7 +611,7 @@ class RouterInfo(object): +@@ -630,7 +632,7 @@ class RouterInfo(object): for ip in floating_ips] def _plug_external_gateway(self, ex_gw_port, interface_name, ns_name): @@ -91,7 +91,7 @@ index 46db6a5..6775882 100644 ex_gw_port['id'], interface_name, ex_gw_port['mac_address'], -@@ -679,7 +681,7 @@ class RouterInfo(object): +@@ -700,7 +702,7 @@ class RouterInfo(object): self._add_route_to_gw(ex_gw_port, device_name=interface_name, namespace=ns_name, preserve_ips=preserve_ips) @@ -101,7 +101,7 @@ index 46db6a5..6775882 100644 ip_cidrs, namespace=ns_name, diff --git a/neutron/agent/linux/interface.py b/neutron/agent/linux/interface.py -index 1f1ed39..b7781e2 100644 +index 88d6e67f31..c0fab604d1 100644 --- a/neutron/agent/linux/interface.py +++ b/neutron/agent/linux/interface.py @@ -15,7 +15,7 @@ @@ -113,7 +113,7 @@ index 1f1ed39..b7781e2 100644 import netaddr from neutron_lib import constants from oslo_config import cfg -@@ -317,6 +317,80 @@ class NullDriver(LinuxInterfaceDriver): +@@ -308,6 +308,80 @@ class NullDriver(LinuxInterfaceDriver): def unplug(self, device_name, bridge=None, namespace=None, prefix=None): pass @@ -132,7 +132,7 @@ index 1f1ed39..b7781e2 100644 + return True + attempt += 1 + eventlet.sleep(1) -+ LOG.error(_LE("Device %(dev)s was not created in %(time)d seconds"), ++ LOG.error("Device %(dev)s was not created in %(time)d seconds", + {'dev': device_name, + 'time': NSDriver.MAX_TIME_FOR_DEVICE_EXISTENCE}) + return False @@ -144,8 +144,8 @@ index 1f1ed39..b7781e2 100644 + # Note: network_device_mtu will be deprecated in future + mtu_override = self.conf.network_device_mtu + except cfg.NoSuchOptError: -+ LOG.warning(_LW("Config setting for MTU deprecated - any " -+ "override will be ignored.")) ++ LOG.warning("Config setting for MTU deprecated - any " ++ "override will be ignored.") + mtu_override = None + if mtu_override: + mtu = mtu_override @@ -195,5 +195,5 @@ index 1f1ed39..b7781e2 100644 class OVSInterfaceDriver(LinuxInterfaceDriver): """Driver for creating an internal interface on an OVS bridge.""" -- -2.9.3 +2.14.3 |