blob: f0848bc220b91fed9e9db475b1c04c5e4c1cf2fb [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2017-present Open Networking Foundation
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<drivers>
<driver name="stratum" manufacturer="Open Networking Foundation"
hwVersion="master" swVersion="Stratum" extends="p4runtime,gnmi,gnoi">
<behaviour api="org.onosproject.net.device.DeviceHandshaker"
impl="org.onosproject.drivers.stratum.StratumHandshaker"/>
<behaviour api="org.onosproject.net.device.DeviceDescriptionDiscovery"
impl="org.onosproject.drivers.stratum.StratumDeviceDescriptionDiscovery"/>
</driver>
<driver name="stratum-dummy" manufacturer="Open Networking Foundation"
hwVersion="Dummy" swVersion="Stratum" extends="stratum">
<behaviour api="org.onosproject.net.behaviour.PiPipelineProgrammable"
impl="org.onosproject.drivers.stratum.dummy.StratumDummyPipelineProgrammable"/>
<property name="tableReadFromMirror">true</property>
<property name="actionGroupReadFromMirror">true</property>
</driver>
<driver name="stratum-fpm" manufacturer="Open Networking Foundation"
hwVersion="FPM" swVersion="Stratum" extends="stratum">
<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>