blob: 2265b2b198cc2140bd84d12c3e8207ba2ac56dbd [file] [log] [blame]
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07003 ~ Copyright 2016-present Open Networking Foundation
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -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>
18 <driver name="default"
Thomas Vachuskaa10137c2018-04-03 16:45:59 -070019 manufacturer="Open Networking Foundation" hwVersion="0.0.1" swVersion="0.0.1">
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -070020 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
21 impl="org.onosproject.driver.pipeline.DefaultSingleTablePipeline"/>
22 <behaviour api="org.onosproject.openflow.controller.driver.OpenFlowSwitchDriver"
23 impl="org.onosproject.driver.handshaker.DefaultSwitchHandshaker"/>
Yi Tseng809b5d72017-08-16 14:00:37 -070024 <property name="supportPacketRequest">true</property>
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -070025 </driver>
26 <driver name="ovs" extends="default"
27 manufacturer="Nicira, Inc\." hwVersion="Open vSwitch" swVersion="2\..*">
28 <behaviour api="org.onosproject.openflow.controller.driver.OpenFlowSwitchDriver"
29 impl="org.onosproject.driver.handshaker.NiciraSwitchHandshaker"/>
alshabib880b6442015-11-23 22:13:04 -080030 <behaviour api="org.onosproject.openflow.controller.ExtensionTreatmentInterpreter"
31 impl="org.onosproject.driver.extensions.NiciraExtensionTreatmentInterpreter" />
32 <behaviour api="org.onosproject.net.behaviour.ExtensionTreatmentResolver"
33 impl="org.onosproject.driver.extensions.NiciraExtensionTreatmentInterpreter" />
Andrea Campanella2cfe8ef2017-07-13 19:45:15 +020034 <behaviour api="org.onosproject.net.flow.ExtensionTreatmentCodec"
Jonathan Harte3bcfc32016-08-16 17:12:49 -070035 impl="org.onosproject.driver.extensions.NiciraExtensionTreatmentInterpreter" />
Jonathan Hart26a8d952015-12-02 15:16:35 -080036 <behaviour api="org.onosproject.openflow.controller.ExtensionSelectorInterpreter"
37 impl="org.onosproject.driver.extensions.NiciraExtensionSelectorInterpreter" />
38 <behaviour api="org.onosproject.net.behaviour.ExtensionSelectorResolver"
39 impl="org.onosproject.driver.extensions.NiciraExtensionSelectorInterpreter" />
Andrea Campanella2cfe8ef2017-07-13 19:45:15 +020040 <behaviour api="org.onosproject.net.flow.ExtensionSelectorCodec"
Jonathan Harte3bcfc32016-08-16 17:12:49 -070041 impl="org.onosproject.driver.extensions.NiciraExtensionSelectorInterpreter" />
HIGUCHI Yutab7a15d72015-12-15 09:54:40 -080042 <behaviour api="org.onosproject.net.behaviour.VlanQuery"
43 impl="org.onosproject.driver.query.FullVlanAvailable" />
44 <behaviour api="org.onosproject.net.behaviour.MplsQuery"
45 impl="org.onosproject.driver.query.FullMplsAvailable" />
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -070046 </driver>
Yuta HIGUCHI250d0282016-08-19 14:19:57 -070047
48 <!-- Lagopus software OpenFlow 1.3 switch
49 http://www.lagopus.org/ -->
50 <driver name="lagopus" extends="default"
51 manufacturer="Lagopus project"
52 hwVersion=".*" swVersion=".*">
53 <behaviour api="org.onosproject.net.behaviour.VlanQuery"
54 impl="org.onosproject.driver.query.FullVlanAvailable" />
55 <behaviour api="org.onosproject.net.behaviour.MplsQuery"
56 impl="org.onosproject.driver.query.FullMplsAvailable" />
57 </driver>
58
Charles Chana5bb4a12016-12-09 13:50:45 -080059 <!-- Driver for OFDPA i12_1.7.
60 ~ TODO: version number in i12_1.7 is 2.0. Change it back when we can distinguish 3.0.
61 -->
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -070062 <driver name="ofdpa" extends="default"
Charles Chana59f9b762017-07-30 18:09:44 -070063 manufacturer="Broadcom Corp\." hwVersion="OF-DPA i12_1.7" swVersion="OF-DPA i12_1.7">
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -070064 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
Yi Tsengef19de12017-04-24 11:33:05 -070065 impl="org.onosproject.driver.pipeline.ofdpa.Ofdpa2Pipeline"/>
Charles Chan14967c22015-12-07 11:11:50 -080066 <behaviour api="org.onosproject.openflow.controller.ExtensionTreatmentInterpreter"
67 impl="org.onosproject.driver.extensions.OfdpaExtensionTreatmentInterpreter" />
68 <behaviour api="org.onosproject.net.behaviour.ExtensionTreatmentResolver"
69 impl="org.onosproject.driver.extensions.OfdpaExtensionTreatmentInterpreter" />
70 <behaviour api="org.onosproject.openflow.controller.ExtensionSelectorInterpreter"
71 impl="org.onosproject.driver.extensions.OfdpaExtensionSelectorInterpreter" />
72 <behaviour api="org.onosproject.net.behaviour.ExtensionSelectorResolver"
73 impl="org.onosproject.driver.extensions.OfdpaExtensionSelectorInterpreter" />
Charles Chana59f9b762017-07-30 18:09:44 -070074 <property name="meterCapable">false</property>
pier93702472019-03-11 15:14:02 -070075 <property name="accumulatorEnabled">true</property>
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -070076 </driver>
Charles Chana5bb4a12016-12-09 13:50:45 -080077
Saurav Das86d13e82017-04-28 17:03:48 -070078 <!-- Driver for OFDPA 3.0 EA*.
79 ~ TODO: version number from switch is still 2.0. Update when 3.0 is GA.
Andreas Pantelopoulosab8d8612018-01-24 15:28:37 -080080 ~ TODO: remove Ofdpa3SwitchHandshaker when bug for GroupStats is fixed.
Charles Chana5bb4a12016-12-09 13:50:45 -080081 -->
Charles Chana59f9b762017-07-30 18:09:44 -070082 <driver name="ofdpa3" extends="ofdpa"
83 manufacturer="Broadcom Corp\." hwVersion="OF-DPA 2.0" swVersion="OF-DPA 2.0">
Charles Chanf9e98652016-09-07 16:54:23 -070084 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
Yi Tsengef19de12017-04-24 11:33:05 -070085 impl="org.onosproject.driver.pipeline.ofdpa.Ofdpa3Pipeline"/>
Charles Chancad338a2016-09-16 18:03:11 -070086 <behaviour api="org.onosproject.openflow.controller.ExtensionTreatmentInterpreter"
87 impl="org.onosproject.driver.extensions.Ofdpa3ExtensionTreatmentInterpreter" />
88 <behaviour api="org.onosproject.net.behaviour.ExtensionTreatmentResolver"
89 impl="org.onosproject.driver.extensions.Ofdpa3ExtensionTreatmentInterpreter" />
Charles Chanf9e98652016-09-07 16:54:23 -070090 <behaviour api="org.onosproject.openflow.controller.ExtensionSelectorInterpreter"
Pier Ventre6f630052016-10-18 09:58:41 -070091 impl="org.onosproject.driver.extensions.Ofdpa3ExtensionSelectorInterpreter" />
Charles Chanf9e98652016-09-07 16:54:23 -070092 <behaviour api="org.onosproject.net.behaviour.ExtensionSelectorResolver"
Pier Ventre6f630052016-10-18 09:58:41 -070093 impl="org.onosproject.driver.extensions.Ofdpa3ExtensionSelectorInterpreter" />
Jonghwan Hyun360b02f2017-08-11 14:00:07 -070094 <behaviour api="org.onosproject.net.flow.ExtensionTreatmentCodec"
95 impl="org.onosproject.driver.extensions.Ofdpa3ExtensionTreatmentInterpreter" />
96 <behaviour api="org.onosproject.net.flow.ExtensionSelectorCodec"
97 impl="org.onosproject.driver.extensions.Ofdpa3ExtensionSelectorInterpreter" />
Andreas Pantelopoulosab8d8612018-01-24 15:28:37 -080098 <behaviour api="org.onosproject.openflow.controller.driver.OpenFlowSwitchDriver"
99 impl="org.onosproject.driver.handshaker.Ofdpa3SwitchHandshaker"/>
Charles Chanf9e98652016-09-07 16:54:23 -0700100 </driver>
Charles Chana5bb4a12016-12-09 13:50:45 -0800101
Alex Yashchuk4caa8e82017-12-08 17:40:05 +0200102 <driver name="xpliant" extends="ofdpa3"
103 manufacturer="Cavium, Inc\." hwVersion=".*" swVersion=".*">
104 <behaviour api="org.onosproject.openflow.controller.driver.OpenFlowSwitchDriver"
105 impl="org.onosproject.driver.handshaker.NiciraSwitchHandshaker"/>
106 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
107 impl="org.onosproject.driver.pipeline.XpliantPipeline"/>
108 </driver>
109
Saurav Das86d13e82017-04-28 17:03:48 -0700110 <!-- Driver for OFDPA 3.0 EA* for Qumran based switches.
111 ~ Note: driver needs to be configured using onos-netcfg.
112 -->
113 <driver name="qmx-ofdpa3" extends="ofdpa3"
Charles Chana59f9b762017-07-30 18:09:44 -0700114 manufacturer="Broadcom Corp\." hwVersion="Qmx" swVersion="Qmx">
115 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
116 impl="org.onosproject.driver.pipeline.ofdpa.Ofdpa3QmxPipeline"/>
Saurav Das86d13e82017-04-28 17:03:48 -0700117 </driver>
118
Charles Chan572618c2017-11-21 11:21:57 -0800119 <!-- Driver for OFDPA Premium version -->
120 <driver name="as7712-32x-premium" extends="ofdpa3"
Charles Chan77a94052018-02-06 23:01:42 -0800121 manufacturer="^Broadcom Ltd\.$" hwVersion=".*[Aa][Ss]7712-32[Xx].*" swVersion="^OF-DPA Premium.*">
Charles Chan572618c2017-11-21 11:21:57 -0800122 </driver>
123
124 <driver name="as5912-54x-premium" extends="qmx-ofdpa3"
Charles Chan77a94052018-02-06 23:01:42 -0800125 manufacturer="^Broadcom Ltd\.$" hwVersion=".*[Aa][Ss]5912-54[Xx].*" swVersion="^OF-DPA Premium.*">
Charles Chan572618c2017-11-21 11:21:57 -0800126 </driver>
127
128 <driver name="as5916-54x-premium" extends="qmx-ofdpa3"
Charles Chan77a94052018-02-06 23:01:42 -0800129 manufacturer="^Broadcom Ltd\.$" hwVersion=".*[Aa][Ss]5916-54[Xx].*" swVersion="^OF-DPA Premium.*">
Charles Chan572618c2017-11-21 11:21:57 -0800130 </driver>
131
132 <!-- OFDPA drivers from vendors -->
Charles Chana59f9b762017-07-30 18:09:44 -0700133 <driver name="accton-ofdpa3" extends="ofdpa3"
Lewis Kang65687412017-09-05 15:57:29 +0800134 manufacturer="Accton Corp\." hwVersion=".*" swVersion="ofdpa .*">
Charles Chana59f9b762017-07-30 18:09:44 -0700135 </driver>
136
137 <driver name="znyx-ofdpa" extends="ofdpa3"
Alan Deikmanb33b2162016-11-10 10:39:26 -0800138 manufacturer="ZNYX Networks" hwVersion=".*" swVersion=".*OF-DPA.*">
139 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
Yi Tsengef19de12017-04-24 11:33:05 -0700140 impl="org.onosproject.driver.pipeline.ofdpa.Ofdpa3Pipeline"/>
Alan Deikmanb33b2162016-11-10 10:39:26 -0800141 <behaviour api="org.onosproject.openflow.controller.ExtensionTreatmentInterpreter"
142 impl="org.onosproject.driver.extensions.Ofdpa3ExtensionTreatmentInterpreter" />
143 <behaviour api="org.onosproject.net.behaviour.ExtensionTreatmentResolver"
144 impl="org.onosproject.driver.extensions.Ofdpa3ExtensionTreatmentInterpreter" />
145 <behaviour api="org.onosproject.openflow.controller.ExtensionSelectorInterpreter"
146 impl="org.onosproject.driver.extensions.OfdpaExtensionSelectorInterpreter" />
147 <behaviour api="org.onosproject.net.behaviour.ExtensionSelectorResolver"
148 impl="org.onosproject.driver.extensions.OfdpaExtensionSelectorInterpreter" />
149 </driver>
Charles Chan40132b32017-01-22 00:19:37 -0800150
Charles Chand3072dc2017-07-31 15:14:16 -0700151 <!-- Emulation of the OF-DPA pipeline using a OVS 2.5.0+ software switch.
Charles Chan40132b32017-01-22 00:19:37 -0800152 ~ To use this driver, configure ONOS with the dpid of the device.
153 -->
154 <driver name="ofdpa-ovs" extends="default"
155 manufacturer="ONF"
156 hwVersion="OFDPA OVS" swVersion="OFDPA OVS">
157 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
Charles Chan7a7a2a42019-01-22 17:25:04 -0800158 impl="org.onosproject.driver.pipeline.ofdpa.OvsOfdpaPipeline"/>
Andrea Campanella005679a2018-05-30 21:39:45 -0700159 <behaviour api="org.onosproject.openflow.controller.ExtensionSelectorInterpreter"
160 impl="org.onosproject.driver.extensions.OvsOfdpaExtensionSelectorInterpreter" />
Charles Chan40132b32017-01-22 00:19:37 -0800161 </driver>
162
alshabib48dc2f12016-04-18 10:17:17 -0700163 <driver name="celestica" extends="default"
164 manufacturer="PMC GPON Networks" hwVersion="PAS5211 v2" swVersion="vOLT version 1.5.3.*">
165 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
166 impl="org.onosproject.driver.pipeline.OltPipeline"/>
Gamze Abakad0c496f2018-12-08 08:53:41 +0000167 <behaviour api="org.onosproject.net.behaviour.MeterQuery"
168 impl="org.onosproject.driver.query.FullMetersAvailable"/>
alshabib48dc2f12016-04-18 10:17:17 -0700169 </driver>
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -0700170 <driver name="pmc-olt" extends="default"
alshabib2f74f2c2016-01-14 13:29:35 -0800171 manufacturer="PMC GPON Networks" hwVersion="PASffffffff v-1" swVersion="vOLT.*">
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -0700172 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
Jonathan Hartb92cc512015-11-16 23:05:21 -0800173 impl="org.onosproject.driver.pipeline.OltPipeline"/>
Gamze Abaka11a668c2018-07-09 06:40:24 +0000174 <behaviour api="org.onosproject.net.behaviour.MeterQuery"
175 impl="org.onosproject.driver.query.FullMetersAvailable"/>
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -0700176 </driver>
Jonathan Hart19e428b2017-12-19 10:58:00 -0800177 <driver name="voltha" extends="default"
Jonathan Hartf3d143b2018-04-24 13:12:36 -0700178 manufacturer="VOLTHA Project" hwVersion=".*" swVersion=".*">
Jonathan Hart19e428b2017-12-19 10:58:00 -0800179 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
180 impl="org.onosproject.driver.pipeline.OltPipeline"/>
Gamze Abakad0c496f2018-12-08 08:53:41 +0000181 <behaviour api="org.onosproject.net.behaviour.MeterQuery"
182 impl="org.onosproject.driver.query.FullMetersAvailable"/>
Jonathan Hart19e428b2017-12-19 10:58:00 -0800183 </driver>
alshabib02c7aaf2016-01-14 14:20:26 -0800184 <driver name="fj-olt" extends="default"
185 manufacturer="Fujitsu" hwVersion="svkOLT" swVersion="v1.0">
186 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
187 impl="org.onosproject.driver.pipeline.OltPipeline"/>
Gamze Abakad0c496f2018-12-08 08:53:41 +0000188 <behaviour api="org.onosproject.net.behaviour.MeterQuery"
189 impl="org.onosproject.driver.query.FullMetersAvailable"/>
alshabib02c7aaf2016-01-14 14:20:26 -0800190 </driver>
Ke Han43cc16a2016-03-07 16:04:09 +0800191 <driver name="nokia-olt" extends="default"
ke han3c2b2262016-08-12 11:03:16 +0800192 manufacturer="Nokia" hwVersion="SDOLT" swVersion="5.2.1">
Ke Han43cc16a2016-03-07 16:04:09 +0800193 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
ke hana1cb2512016-09-29 15:15:59 +0800194 impl="org.onosproject.driver.pipeline.NokiaOltPipeline"/>
Gamze Abakad0c496f2018-12-08 08:53:41 +0000195 <behaviour api="org.onosproject.net.behaviour.MeterQuery"
196 impl="org.onosproject.driver.query.FullMetersAvailable"/>
Ke Han43cc16a2016-03-07 16:04:09 +0800197 </driver>
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -0700198 <driver name="g.fast" extends="default"
199 manufacturer="TEST1" hwVersion="TEST2" swVersion="TEST3">
200 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
Jonathan Hartb92cc512015-11-16 23:05:21 -0800201 impl="org.onosproject.driver.pipeline.OltPipeline"/>
Gamze Abakad0c496f2018-12-08 08:53:41 +0000202 <behaviour api="org.onosproject.net.behaviour.MeterQuery"
203 impl="org.onosproject.driver.query.FullMetersAvailable"/>
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -0700204 </driver>
205 <!-- The SoftRouter driver is meant to be used by any software/NPU based
206 ~ switch that wishes to implement a simple 2-table router. To use this
207 ~ driver, configure ONOS with the dpid of the device, or extend the
208 ~ driver declaration with the manufacturer/hwVersion/swVersion of the
209 ~ device (see 'noviflow' example).
210 -->
211 <driver name="softrouter" extends="default"
212 manufacturer="Various" hwVersion="various" swVersion="0.0.0">
213 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
214 impl="org.onosproject.driver.pipeline.SoftRouterPipeline"/>
215 </driver>
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -0700216 <driver name="pica" extends="default"
217 manufacturer="Pica8, Inc." hwVersion=".*" swVersion="PicOS 2.6">
218 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
219 impl="org.onosproject.driver.pipeline.PicaPipeline"/>
220 </driver>
221 <driver name="noviflow" extends="softrouter"
222 manufacturer="NoviFlow Inc" hwVersion="NS.*" swVersion="NW.*">
223 </driver>
jiangruif04b9552015-11-19 12:09:51 +0800224 <driver name="onosfw" extends="ovs"
CNluciusa66c3972015-09-06 20:31:29 +0800225 manufacturer="" hwVersion="" swVersion="">
226 <behaviour api="org.onosproject.net.behaviour.Pipeliner"
227 impl="org.onosproject.driver.pipeline.OpenVSwitchPipeline"/>
228 </driver>
Macauley Cheng696e1e82015-11-13 15:58:28 +0800229 <driver name="aos" extends="ofdpa"
230 manufacturer="Accton" hwVersion=".*" swVersion="1.*">
231 </driver>
Thomas Vachuska22724382017-10-24 11:10:12 -0700232
Andrea Campanellae6e2b762017-02-22 21:55:53 +0100233 <!-- The abstract driver is meant as a base driver containing classes that are
234 ~ present in the default drivers module. These classes are needed by other
235 ~ drivers but not loaded by any of the base ones.
236 ~ The abstract driver is NOT meant to be used by itself with any device.
237 ~ Policies will be put in place in the DriverManager so that this driver
238 ~ is not assigned to any device from the southbound or the net-cfg.
239 -->
240 <driver name="abstract"
241 manufacturer="abstract" hwVersion="abstract" swVersion="abstract">
242 <behaviour api="org.onosproject.net.behaviour.MeterQuery"
243 impl="org.onosproject.driver.query.FullMetersAvailable"/>
244 </driver>
Charles Chand3072dc2017-07-31 15:14:16 -0700245
Sho SHIMIZUa48d3a02015-08-25 13:33:02 -0700246</drivers>
247