blob: 0672f73233c54edff42972c74044f089d6da9aff [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 Cascone58136812018-07-19 03:40:16 +020022 <!--
Esin Karaman971fb7f2017-12-28 13:44:52 +000023 <behaviour api="org.onosproject.net.group.GroupProgrammable"
24 impl="org.onosproject.drivers.bmv2.Bmv2GroupProgrammable"/>
25 <behaviour api="org.onosproject.net.device.DeviceHandshaker"
26 impl="org.onosproject.drivers.bmv2.Bmv2DeviceHandshaker"/>
Carmelo Cascone58136812018-07-19 03:40:16 +020027 -->
Andrea Campanella241896c2017-05-10 13:11:04 -070028 </driver>
Carmelo Cascone1678b0c2019-02-06 17:21:25 -080029
30 <driver name="stratum-bmv2" manufacturer="Open Networking Foundation"
31 hwVersion="BMv2 simple_switch" swVersion="Stratum" extends="stratum">
32 <behaviour api="org.onosproject.net.behaviour.PiPipelineProgrammable"
33 impl="org.onosproject.drivers.bmv2.Bmv2PipelineProgrammable"/>
Carmelo Cascone1ae25062019-03-07 16:02:22 -080034 <!-- The current version of p4lang/PI used in Stratum does not
35 support reading default table entries -->
36 <property name="supportDefaultTableEntry">false</property>
Carmelo Cascone1678b0c2019-02-06 17:21:25 -080037 </driver>
Andrea Campanella241896c2017-05-10 13:11:04 -070038</drivers>
39