Add VLAN cross connect config for single switch fabric
Change-Id: Ib01f6cd0325225c9573343e1cd3a2c0f52df5b7c
diff --git a/local/config-samples/co1-config.json b/local/config-samples/co1-onos-cord-cfg.json
similarity index 89%
rename from local/config-samples/co1-config.json
rename to local/config-samples/co1-onos-cord-cfg.json
index 222832d..a908151 100644
--- a/local/config-samples/co1-config.json
+++ b/local/config-samples/co1-onos-cord-cfg.json
@@ -8,7 +8,7 @@
"connectPoint" : "netconf:10.0.0.10:830/1"
},
{
- "mefPortType" : "UNI",
+ "mefPortType" : "INNI",
"connectPoint" : "netconf:10.0.0.10:830/0",
"interlinkId" : "cm-1"
}
@@ -17,7 +17,7 @@
"org.opencord.ce.local.channel.http" : {
"global" : {
"publicIp" : "10.128.14.1",
- "port" : "8181",
+ "port" : "8182",
"username" : "sdn",
"password" : "rocks",
"topic" : "ecord-domains-topic-one"
diff --git a/local/config-samples/co1-withEE-config.json b/local/config-samples/co1-withEE-onos-cord-cfg.json
similarity index 96%
rename from local/config-samples/co1-withEE-config.json
rename to local/config-samples/co1-withEE-onos-cord-cfg.json
index 6c1ef4c..e54cf63 100644
--- a/local/config-samples/co1-withEE-config.json
+++ b/local/config-samples/co1-withEE-onos-cord-cfg.json
@@ -29,7 +29,7 @@
"org.opencord.ce.local.channel.http" : {
"global" : {
"publicIp" : "10.128.14.1",
- "port" : "8181",
+ "port" : "8182",
"username" : "sdn",
"password" : "rocks",
"topic" : "ecord-domains-topic-one"
diff --git a/local/config-samples/co2-config.json b/local/config-samples/co2-onos-cord-cfg.json
similarity index 89%
rename from local/config-samples/co2-config.json
rename to local/config-samples/co2-onos-cord-cfg.json
index 2b6f525..210c7c5 100644
--- a/local/config-samples/co2-config.json
+++ b/local/config-samples/co2-onos-cord-cfg.json
@@ -8,7 +8,7 @@
"connectPoint" : "netconf:10.0.0.20:830/1"
},
{
- "mefPortType" : "UNI",
+ "mefPortType" : "INNI",
"connectPoint" : "netconf:10.0.0.20:830/0",
"interlinkId" : "cm-1"
}
@@ -17,7 +17,7 @@
"org.opencord.ce.local.channel.http" : {
"global" : {
"publicIp" : "10.128.14.1",
- "port" : "8181",
+ "port" : "8182",
"username" : "sdn",
"password" : "rocks",
"topic" : "ecord-domains-topic-one"
diff --git a/local/config-samples/co2-withEE-config.json b/local/config-samples/co2-withEE-onos-cord-cfg.json
similarity index 96%
rename from local/config-samples/co2-withEE-config.json
rename to local/config-samples/co2-withEE-onos-cord-cfg.json
index 1140d7c..78b14b5 100644
--- a/local/config-samples/co2-withEE-config.json
+++ b/local/config-samples/co2-withEE-onos-cord-cfg.json
@@ -29,7 +29,7 @@
"org.opencord.ce.local.channel.http" : {
"global" : {
"publicIp" : "10.128.14.1",
- "port" : "8181",
+ "port" : "8182",
"username" : "sdn",
"password" : "rocks",
"topic" : "ecord-domains-topic-one"
diff --git a/local/config-samples/onos-fabric-cfg.json b/local/config-samples/onos-fabric-cfg.json
new file mode 100644
index 0000000..a9a6f6f
--- /dev/null
+++ b/local/config-samples/onos-fabric-cfg.json
@@ -0,0 +1,38 @@
+{
+ "apps" : {
+ "org.opencord.ce.local.fabric" : {
+ "segmentrouting_ctl": {
+ "publicIp": "127.0.0.1",
+ "port": "8181",
+ "username": "sdn",
+ "password": "rocks",
+ "deviceId": "of:0000001e08095936"
+ }
+ },
+ "org.opencord.ce.local.bigswitch" : {
+ "mefPorts" :
+ [
+ {
+ "mefPortType" : "INNI",
+ "connectPoint" : "of:0000001e08095936/1",
+ "interlinkId" : "EE-2-fabric"
+ },
+ {
+ "mefPortType" : "ENNI",
+ "connectPoint" : "of:0000001e08095936/49",
+ "interlinkId" : "fabric-upstream"
+ }
+ ]
+ },
+ "org.opencord.ce.local.channel.http" : {
+ "global" : {
+ "publicIp" : "10.128.14.1",
+ "port" : "8182",
+ "username" : "sdn",
+ "password" : "rocks",
+ "topic" : "ecord-domains-topic-one"
+ }
+ }
+
+ }
+}