blob: 7464e149784ae01d6fcf838974349e1c8c4986f2 [file] [log] [blame]
Andrea Campanella0288c872017-08-07 18:32:51 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2017-present Open Networking Foundation
4 ~
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>
18 <driver name="p4runtime" manufacturer="p4.org" hwVersion="master" swVersion="master">
19 <behaviour api="org.onosproject.net.device.DeviceHandshaker"
20 impl="org.onosproject.drivers.p4runtime.P4RuntimeHandshaker"/>
21 <behaviour api="org.onosproject.net.packet.PacketProgrammable"
22 impl="org.onosproject.drivers.p4runtime.P4RuntimePacketProgrammable"/>
23 <behaviour api="org.onosproject.net.flow.FlowRuleProgrammable"
24 impl="org.onosproject.drivers.p4runtime.P4RuntimeFlowRuleProgrammable"/>
25 <behaviour api="org.onosproject.net.group.GroupProgrammable"
26 impl="org.onosproject.drivers.p4runtime.P4RuntimeGroupProgrammable"/>
Carmelo Cascone5bdb6512018-06-20 17:04:50 +020027 <!-- FIXME: re-enable when ONOS-7720 is fixed
Frank Wangd7e3b4b2017-09-24 13:37:54 +090028 <behaviour api="org.onosproject.net.meter.MeterProgrammable"
Carmelo Cascone5bdb6512018-06-20 17:04:50 +020029 impl="org.onosproject.drivers.p4runtime.P4RuntimeMeterProgrammable"/>-->
Yi Tseng809b5d72017-08-16 14:00:37 -070030 <property name="supportPacketRequest">true</property>
Andrea Campanella0288c872017-08-07 18:32:51 +020031 </driver>
32</drivers>
33