Andrea Campanella | 0288c87 | 2017-08-07 18:32:51 +0200 | [diff] [blame] | 1 | <?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 Cascone | 3977ea4 | 2019-02-28 13:43:42 -0800 | [diff] [blame] | 19 | <behaviour api="org.onosproject.net.device.DeviceDescriptionDiscovery" |
| 20 | impl="org.onosproject.drivers.p4runtime.P4RuntimeDeviceDescriptionDiscovery"/> |
hjtsao | 1e8a1bd | 2018-10-22 11:02:00 -0700 | [diff] [blame] | 21 | <behaviour api="org.onosproject.net.behaviour.TableStatisticsDiscovery" |
| 22 | impl="org.onosproject.drivers.p4runtime.P4RuntimeTableStatisticsDiscovery"/> |
Andrea Campanella | 0288c87 | 2017-08-07 18:32:51 +0200 | [diff] [blame] | 23 | <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 Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 31 | <behaviour api="org.onosproject.net.meter.MeterProgrammable" |
Wailok Shum | f013a78 | 2021-07-26 16:51:01 +0800 | [diff] [blame] | 32 | impl="org.onosproject.drivers.p4runtime.P4RuntimeMeterProgrammable"/> |
Yi Tseng | 809b5d7 | 2017-08-16 14:00:37 -0700 | [diff] [blame] | 33 | <property name="supportPacketRequest">true</property> |
Andrea Campanella | 0288c87 | 2017-08-07 18:32:51 +0200 | [diff] [blame] | 34 | </driver> |
| 35 | </drivers> |
| 36 | |