Configs update: Leaf 2 with INT
Change-Id: Ieb1aafb6870ef49e63c580ca9fd91e03f717a35d
diff --git a/mwc-provision-dev-mlx-test.sh b/mwc-provision-dev-mlx-test.sh
index e665344..2ce42fc 100755
--- a/mwc-provision-dev-mlx-test.sh
+++ b/mwc-provision-dev-mlx-test.sh
@@ -6,8 +6,10 @@
set -ex
-onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/dev-pod/mwc-demo-mlx-test.json
+onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/dev-pod/sr-conf-base.json
sleep 2
+onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/dev-pod/sr-conf-mellanox.json
+sleep 1
onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/dev-pod/hosts.json
sleep 2
onos-netcfg ${MWC_HEAD_IP} ${ONOS_ROOT}/p4-pod-configs/dev-pod/tofino-leaf1-netcfg.json
diff --git a/p4-pod-configs/dev-pod/sr-conf-mellanox.json b/p4-pod-configs/dev-pod/sr-conf-mellanox.json
new file mode 100644
index 0000000..00cddbe
--- /dev/null
+++ b/p4-pod-configs/dev-pod/sr-conf-mellanox.json
@@ -0,0 +1,16 @@
+{
+ "devices": {
+ "device:mellanox:spine2": {
+ "segmentrouting": {
+ "name": "spine2",
+ "ipv4NodeSid": 227,
+ "ipv4Loopback": "192.168.0.227",
+ "ipv6NodeSid": 237,
+ "ipv6Loopback": "2000::c0a8:0227",
+ "routerMac": "00:00:00:00:02:27",
+ "isEdgeRouter": false,
+ "adjacencySids": []
+ }
+ }
+ }
+}
diff --git a/p4-pod-configs/dev-pod/tofino-leaf2-netcfg.json b/p4-pod-configs/dev-pod/tofino-leaf2-netcfg.json
index 53f0270..a2cdd31 100644
--- a/p4-pod-configs/dev-pod/tofino-leaf2-netcfg.json
+++ b/p4-pod-configs/dev-pod/tofino-leaf2-netcfg.json
@@ -11,7 +11,7 @@
}
},
"piPipeconf": {
- "piPipeconfId": "org.onosproject.pipelines.fabric-spgw.mavericks"
+ "piPipeconfId": "org.onosproject.pipelines.fabric-spgw-int.mavericks"
},
"ports": {
"1/0": {