Revision : Add missing in-band switching config for the leaf switch for demo pod - openonugo tests
Change-Id: I79ac1abff4d46290ac80fa374f745a22b0c52536
diff --git a/tosca-configs/voltha/onf-demo-pod-openonugo-onos-netcfg-switch-inband.json b/tosca-configs/voltha/onf-demo-pod-openonugo-onos-netcfg-switch-inband.json
new file mode 100644
index 0000000..66e893b
--- /dev/null
+++ b/tosca-configs/voltha/onf-demo-pod-openonugo-onos-netcfg-switch-inband.json
@@ -0,0 +1,41 @@
+{
+ "devices": {
+ "of:0000000000000001" : {
+ "segmentrouting" : {
+ "name" : "Leaf-R1",
+ "ipv4NodeSid" : 101,
+ "ipv4Loopback" : "10.6.1.254",
+ "routerMac" : "00:00:00:00:01:80",
+ "isEdgeRouter" : true,
+ "adjacencySids" : []
+ },
+ "basic" : {
+ "driver" : "ofdpa3"
+ }
+ }
+ },
+ "ports" : {
+ "of:0000000000000001/16" : {
+ "interfaces" : [
+ { "name" : "voltha-intf", "vlan-untagged": 4093 }
+ ]
+ },
+ "of:0000000000000001/31" : {
+ "interfaces" : [
+ { "name" : "bng-intf", "vlan-tagged": [4093] }
+ ]
+ },
+ "of:0000000000000001/1" : {
+ "interfaces" : [
+ { "name" : "olt-intf", "vlan-tagged": [4093] }
+ ]
+ }
+ },
+ "apps": {
+ "org.opencord.dhcpl2relay" : {
+ "dhcpl2relay" : {
+ "useOltUplinkForServerPktInOut" : true
+ }
+ }
+ }
+}
diff --git a/tosca-configs/voltha/onf-demo-pod-openonugo-onos-netcfg-switch.json b/tosca-configs/voltha/onf-demo-pod-openonugo-onos-netcfg-switch.json
index 66e893b..42a4c20 100644
--- a/tosca-configs/voltha/onf-demo-pod-openonugo-onos-netcfg-switch.json
+++ b/tosca-configs/voltha/onf-demo-pod-openonugo-onos-netcfg-switch.json
@@ -14,23 +14,6 @@
}
}
},
- "ports" : {
- "of:0000000000000001/16" : {
- "interfaces" : [
- { "name" : "voltha-intf", "vlan-untagged": 4093 }
- ]
- },
- "of:0000000000000001/31" : {
- "interfaces" : [
- { "name" : "bng-intf", "vlan-tagged": [4093] }
- ]
- },
- "of:0000000000000001/1" : {
- "interfaces" : [
- { "name" : "olt-intf", "vlan-tagged": [4093] }
- ]
- }
- },
"apps": {
"org.opencord.dhcpl2relay" : {
"dhcpl2relay" : {