Add stratum-fpm-odtn driver
Change-Id: I6a76081bb095ad82426aee44aa954f1ad0e6912f
diff --git a/drivers/stratum/BUILD b/drivers/stratum/BUILD
index df5263f..3094437 100644
--- a/drivers/stratum/BUILD
+++ b/drivers/stratum/BUILD
@@ -22,6 +22,7 @@
"org.onosproject.generaldeviceprovider",
"org.onosproject.drivers.gnmi",
"org.onosproject.drivers.gnoi",
+ "org.onosproject.drivers.odtn-driver",
"org.onosproject.drivers.p4runtime",
"org.onosproject.pipelines.basic",
],
diff --git a/drivers/stratum/src/main/resources/stratum-drivers.xml b/drivers/stratum/src/main/resources/stratum-drivers.xml
index 86e18b5..f0848bc 100644
--- a/drivers/stratum/src/main/resources/stratum-drivers.xml
+++ b/drivers/stratum/src/main/resources/stratum-drivers.xml
@@ -36,4 +36,12 @@
<behaviour api="org.onosproject.net.behaviour.PiPipelineProgrammable"
impl="org.onosproject.drivers.stratum.FpmPipelineProgrammable"/>
</driver>
+
+ <driver name="stratum-fpm-odtn" manufacturer="Open Networking Foundation"
+ hwVersion="FPM" swVersion="Stratum" extends="stratum-fpm,gnmi-openconfig-terminal-device">
+ <!-- Here we add the original Stratum handshaker since the gnmi-openconfig-terminal-device
+ driver override the handshaker behaviour with GnmiHandshakerStandalone. -->
+ <behaviour api="org.onosproject.net.device.DeviceHandshaker"
+ impl="org.onosproject.drivers.stratum.StratumHandshaker"/>
+ </driver>
</drivers>