blob: 67edaabf0157ffdb47a4f97b8a2654945a514618 [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">
Carmelo Cascone3977ea42019-02-28 13:43:42 -080019 <behaviour api="org.onosproject.net.device.DeviceDescriptionDiscovery"
20 impl="org.onosproject.drivers.p4runtime.P4RuntimeDeviceDescriptionDiscovery"/>
hjtsao1e8a1bd2018-10-22 11:02:00 -070021 <behaviour api="org.onosproject.net.behaviour.TableStatisticsDiscovery"
22 impl="org.onosproject.drivers.p4runtime.P4RuntimeTableStatisticsDiscovery"/>
Andrea Campanella0288c872017-08-07 18:32:51 +020023 <behaviour api="org.onosproject.net.device.DeviceHandshaker"
24 impl="org.onosproject.drivers.p4runtime.P4RuntimeHandshaker"/>
25 <behaviour api="org.onosproject.net.packet.PacketProgrammable"
26 impl="org.onosproject.drivers.p4runtime.P4RuntimePacketProgrammable"/>
27 <behaviour api="org.onosproject.net.flow.FlowRuleProgrammable"
28 impl="org.onosproject.drivers.p4runtime.P4RuntimeFlowRuleProgrammable"/>
29 <behaviour api="org.onosproject.net.group.GroupProgrammable"
30 impl="org.onosproject.drivers.p4runtime.P4RuntimeGroupProgrammable"/>
Frank Wangd7e3b4b2017-09-24 13:37:54 +090031 <behaviour api="org.onosproject.net.meter.MeterProgrammable"
Wailok Shumf013a782021-07-26 16:51:01 +080032 impl="org.onosproject.drivers.p4runtime.P4RuntimeMeterProgrammable"/>
Yi Tseng809b5d72017-08-16 14:00:37 -070033 <property name="supportPacketRequest">true</property>
Andrea Campanella0288c872017-08-07 18:32:51 +020034 </driver>
35</drivers>
36