blob: 6e50a655d246b7943e5fcdd396ecf5639ade9403 [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="bmv2" manufacturer="p4.org" hwVersion="master" swVersion="master" extends="p4runtime">
<behaviour api="org.onosproject.net.behaviour.PiPipelineProgrammable"
impl="org.onosproject.drivers.bmv2.Bmv2PipelineProgrammable"/>
<property name="tableDeleteBeforeUpdate">true</property>
<property name="supportDefaultTableEntry">false</property>
<!--
<behaviour api="org.onosproject.net.group.GroupProgrammable"
impl="org.onosproject.drivers.bmv2.Bmv2GroupProgrammable"/>
<behaviour api="org.onosproject.net.device.DeviceHandshaker"
impl="org.onosproject.drivers.bmv2.Bmv2DeviceHandshaker"/>
-->
</driver>
<driver name="stratum-bmv2" manufacturer="Open Networking Foundation"
hwVersion="BMv2 simple_switch" swVersion="Stratum" extends="stratum">
<behaviour api="org.onosproject.net.behaviour.PiPipelineProgrammable"
impl="org.onosproject.drivers.bmv2.Bmv2PipelineProgrammable"/>
<!-- The current version of p4lang/PI used in Stratum does not
support reading default table entries -->
<property name="supportDefaultTableEntry">false</property>
</driver>
</drivers>