P4Runtime Mellanox driver for fabric.p4
Change-Id: I321eba750b30d2aab1a792933dbbc3d1d9740f03
diff --git a/drivers/mellanox/src/main/resources/mellanox-drivers.xml b/drivers/mellanox/src/main/resources/mellanox-drivers.xml
new file mode 100644
index 0000000..35fa93d
--- /dev/null
+++ b/drivers/mellanox/src/main/resources/mellanox-drivers.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright 2018-present Open Networking Foundation
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+<drivers>
+ <driver name="mellanox" manufacturer="Mellanox" hwVersion="1.0" swVersion="1.0" extends="p4runtime">
+ <behaviour api="org.onosproject.net.behaviour.PiPipelineProgrammable"
+ impl="org.onosproject.drivers.mellanox.SpectrumPipelineProgrammable"/>
+ <property name="noHashedTable">true</property>
+ </driver>
+</drivers>
+