Enable L2 BGPVPN to be passed to OpenDaylight
This fix enables BGP L2-type VPNs to be passed over to OpenDaylight. The upcoming Carbon release of OpenDaylight will start supporting L2 BGPVPNs (Or Ethernet VPNs). Change-Id: I8cc8659dc5ba5365ec4cf8872512201a496b5d4c Signed-off-by: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com>
This commit is contained in:
1 changed files with 1 additions and 5 deletions
@@ -23,7 +23,6 @@ from oslo_utils import excutils
from networking_odl.common import client as odl_client
from networking_bgpvpn.neutron.extensions import bgpvpn as bgpvpn_ext
from networking_bgpvpn.neutron.services.common import constants
from networking_bgpvpn.neutron.services.service_drivers import driver_api
cfg.CONF.import_group('ml2_odl', 'networking_odl.common.config')
@@ -53,10 +52,7 @@ class OpenDaylightBgpvpnDriver(driver_api.BGPVPNDriver):
bgpvpn['route_distinguishers'] = bgpvpn['route_distinguishers'][0]
def create_bgpvpn_precommit(self, context, bgpvpn):
if bgpvpn['type'] != constants.BGPVPN_L3:
raise bgpvpn_ext.BGPVPNTypeNotSupported(
driver=OPENDAYLIGHT_BGPVPN_DRIVER_NAME,
type=bgpvpn['type'])
pass
def create_bgpvpn_postcommit(self, context, bgpvpn):
url = BGPVPNS
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.