[CORD-801] OFDPA pipeline for OpenvSwitch
Drops TTL_IN, TTL_OUT and MPLS_BOS instructions which are not supported by OpenvSwitch.
This will allow us to run OFDPA pipeline with OpenvSwitch >= 2.6.0
Change-Id: Icfa6f2fdaa857877a57ae4c719354483b24c5816
diff --git a/drivers/default/src/main/resources/onos-drivers.xml b/drivers/default/src/main/resources/onos-drivers.xml
index 273204e..c9411b9 100644
--- a/drivers/default/src/main/resources/onos-drivers.xml
+++ b/drivers/default/src/main/resources/onos-drivers.xml
@@ -118,7 +118,8 @@
<behaviour api="org.onosproject.net.behaviour.ExtensionSelectorResolver"
impl="org.onosproject.driver.extensions.OfdpaExtensionSelectorInterpreter" />
</driver>
- <!-- Emulation of the ofdpa pipeline using a CPqD OF 1.3 software switch.
+
+ <!-- Emulation of the OFDPA pipeline using a CPqD OF 1.3 software switch.
~ Use this driver when MPLS functionality is required.
~ To use this driver, configure ONOS with the dpid of the device.
-->
@@ -128,7 +129,8 @@
<behaviour api="org.onosproject.net.behaviour.Pipeliner"
impl="org.onosproject.driver.pipeline.CpqdOfdpa2Pipeline"/>
</driver>
- <!-- Emulation of the ofdpa pipeline using a CPqD OF 1.3 software switch.
+
+ <!-- Emulation of the OFDPA pipeline using a CPqD OF 1.3 software switch.
~ Use this driver when VLAN functionality is required.
~ To use this driver, configure ONOS with the dpid of the device.
-->
@@ -139,6 +141,28 @@
impl="org.onosproject.driver.pipeline.CpqdOfdpa2VlanPipeline"/>
</driver>
+ <!-- Emulation of the OFDPA pipeline using a OVS OF 1.3 software switch.
+ ~ Use this driver when MPLS functionality is required.
+ ~ To use this driver, configure ONOS with the dpid of the device.
+ -->
+ <driver name="ofdpa-ovs" extends="default"
+ manufacturer="ONF"
+ hwVersion="OFDPA OVS" swVersion="OFDPA OVS">
+ <behaviour api="org.onosproject.net.behaviour.Pipeliner"
+ impl="org.onosproject.driver.pipeline.OvsOfdpa2Pipeline"/>
+ </driver>
+
+ <!-- Emulation of the OFDPA pipeline using a OVS OF 1.3 software switch.
+ ~ Use this driver when VLAN functionality is required.
+ ~ To use this driver, configure ONOS with the dpid of the device.
+ -->
+ <driver name="ofdpa-ovs-vlan" extends="default"
+ manufacturer="ONF"
+ hwVersion="OFDPA OVS" swVersion="OFDPA OVS">
+ <behaviour api="org.onosproject.net.behaviour.Pipeliner"
+ impl="org.onosproject.driver.pipeline.OvsOfdpa2VlanPipeline"/>
+ </driver>
+
<driver name="celestica" extends="default"
manufacturer="PMC GPON Networks" hwVersion="PAS5211 v2" swVersion="vOLT version 1.5.3.*">
<behaviour api="org.onosproject.net.behaviour.Pipeliner"