blob: 6e50a655d246b7943e5fcdd396ecf5639ade9403 [file] [log] [blame]
Andrea Campanella241896c2017-05-10 13:11:04 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07003 ~ Copyright 2017-present Open Networking Foundation
Andrea Campanella241896c2017-05-10 13:11:04 -07004 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
17<drivers>
Carmelo Cascone9e4972c2018-08-30 00:29:16 -070018 <driver name="bmv2" manufacturer="p4.org" hwVersion="master" swVersion="master" extends="p4runtime">
Carmelo Cascone87892e22017-11-13 16:01:29 -080019 <behaviour api="org.onosproject.net.behaviour.PiPipelineProgrammable"
Carmelo Cascone59f57de2017-07-11 19:55:09 -040020 impl="org.onosproject.drivers.bmv2.Bmv2PipelineProgrammable"/>
Carmelo Cascone3da671a2018-02-12 10:43:35 -080021 <property name="tableDeleteBeforeUpdate">true</property>
Carmelo Cascone229471b2019-04-12 12:06:40 -070022 <property name="supportDefaultTableEntry">false</property>
Carmelo Cascone58136812018-07-19 03:40:16 +020023 <!--
Esin Karaman971fb7f2017-12-28 13:44:52 +000024 <behaviour api="org.onosproject.net.group.GroupProgrammable"
25 impl="org.onosproject.drivers.bmv2.Bmv2GroupProgrammable"/>
26 <behaviour api="org.onosproject.net.device.DeviceHandshaker"
27 impl="org.onosproject.drivers.bmv2.Bmv2DeviceHandshaker"/>
Carmelo Cascone58136812018-07-19 03:40:16 +020028 -->
Andrea Campanella241896c2017-05-10 13:11:04 -070029 </driver>
Carmelo Cascone1678b0c2019-02-06 17:21:25 -080030
31 <driver name="stratum-bmv2" manufacturer="Open Networking Foundation"
32 hwVersion="BMv2 simple_switch" swVersion="Stratum" extends="stratum">
33 <behaviour api="org.onosproject.net.behaviour.PiPipelineProgrammable"
34 impl="org.onosproject.drivers.bmv2.Bmv2PipelineProgrammable"/>
Carmelo Cascone1ae25062019-03-07 16:02:22 -080035 <!-- The current version of p4lang/PI used in Stratum does not
36 support reading default table entries -->
37 <property name="supportDefaultTableEntry">false</property>
Carmelo Cascone1678b0c2019-02-06 17:21:25 -080038 </driver>
Andrea Campanella241896c2017-05-10 13:11:04 -070039</drivers>
40