The NCS driver is scheduled for decomposition, and in the targetted vendor repo
the files are in a new location in the tree. Before we can decompose the driver
we must move it to its new location in the neutron tree.
A future patch will decompose (thin) the driver and add requirements.txt.
Partial-Bug: #
1416713
Partially Implements: blueprint core-vendor-decomposition
Change-Id: If9d098bbbd571f53f945122e007d12d561295546
the associated mechanism can provide connectivity for the network, and
if so, the network segment and VIF driver to be used. The havana
release includes mechanism drivers for the Open vSwitch, Linux bridge,
-and Hyper-V L2 agents, for Arista and Cisco switches, and for the
-Tail-f NCS. It also includes an L2 Population mechanism driver that
+and Hyper-V L2 agents, and for vendor switches/controllers/etc.
+It also includes an L2 Population mechanism driver that
can help optimize tunneled virtual network traffic.
For additional information regarding the ML2 plugin and its collection
"""Mechanism Driver for OpenDaylight.
- This driver was a port from the Tail-F NCS MechanismDriver. The API
+ This driver was a port from the NCS MechanismDriver. The API
exposed by ODL is slightly different from the API exposed by NCS,
but the general concepts are the same.
"""
# License for the specific language governing permissions and limitations
# under the License.
-from neutron.plugins.ml2.drivers import mechanism_ncs
+from neutron.plugins.ml2.drivers.cisco.ncs import driver
from neutron.tests.unit.ml2 import test_ml2_plugin as test_plugin
# driver apis.
super(NCSTestCase, self).setUp()
self.port_create_status = 'DOWN'
- mechanism_ncs.NCSMechanismDriver.sendjson = self.check_sendjson
+ driver.NCSMechanismDriver.sendjson = self.check_sendjson
def check_sendjson(self, method, urlpath, obj):
# Confirm fix for bug #1224981
linuxbridge = neutron.plugins.ml2.drivers.mech_linuxbridge:LinuxbridgeMechanismDriver
openvswitch = neutron.plugins.ml2.drivers.mech_openvswitch:OpenvswitchMechanismDriver
hyperv = neutron.plugins.ml2.drivers.mech_hyperv:HypervMechanismDriver
- ncs = neutron.plugins.ml2.drivers.mechanism_ncs:NCSMechanismDriver
arista = neutron.plugins.ml2.drivers.arista.mechanism_arista:AristaDriver
+ # Note: ncs and cisco_ncs point to the same driver entrypoint
+ # TODO: The old name (ncs) can be dropped when it is no longer used
+ ncs = neutron.plugins.ml2.drivers.cisco.ncs.driver:NCSMechanismDriver
+ cisco_ncs = neutron.plugins.ml2.drivers.cisco.ncs.driver:NCSMechanismDriver
cisco_nexus = neutron.plugins.ml2.drivers.cisco.nexus.mech_cisco_nexus:CiscoNexusMechanismDriver
cisco_apic = neutron.plugins.ml2.drivers.cisco.apic.mechanism_apic:APICMechanismDriver
l2population = neutron.plugins.ml2.drivers.l2pop.mech_driver:L2populationMechanismDriver