Porting CE app to 4.1
Change-Id: Ic3280ce797f6225773ade789d9793ae445f9f525
diff --git a/local/config-samples/co1-onos-cord-cfg.json b/local/config-samples/co1-onos-cord-cfg.json
new file mode 100644
index 0000000..a908151
--- /dev/null
+++ b/local/config-samples/co1-onos-cord-cfg.json
@@ -0,0 +1,27 @@
+{
+ "apps" : {
+ "org.opencord.ce.local.bigswitch" : {
+ "mefPorts" :
+ [
+ {
+ "mefPortType" : "UNI",
+ "connectPoint" : "netconf:10.0.0.10:830/1"
+ },
+ {
+ "mefPortType" : "INNI",
+ "connectPoint" : "netconf:10.0.0.10:830/0",
+ "interlinkId" : "cm-1"
+ }
+ ]
+ },
+ "org.opencord.ce.local.channel.http" : {
+ "global" : {
+ "publicIp" : "10.128.14.1",
+ "port" : "8182",
+ "username" : "sdn",
+ "password" : "rocks",
+ "topic" : "ecord-domains-topic-one"
+ }
+ }
+ }
+}
diff --git a/local/config-samples/co1-withEE-onos-cord-cfg.json b/local/config-samples/co1-withEE-onos-cord-cfg.json
new file mode 100644
index 0000000..e54cf63
--- /dev/null
+++ b/local/config-samples/co1-withEE-onos-cord-cfg.json
@@ -0,0 +1,41 @@
+{
+ "links": {
+ "netconf:10.0.0.10:830/0-of:0000001e08095936/49" : {
+ "basic" : {
+ "type" : "DIRECT"
+ }
+ },
+ "of:0000001e08095936/49-netconf:10.0.0.10:830/0" : {
+ "basic" : {
+ "type" : "DIRECT"
+ }
+ }
+ },
+ "apps" : {
+ "org.opencord.ce.local.bigswitch" : {
+ "mefPorts" :
+ [
+ {
+ "mefPortType" : "UNI",
+ "connectPoint" : "netconf:10.0.0.10:830/0"
+ },
+ {
+ "mefPortType" : "INNI",
+ "connectPoint" : "of:0000001e08095936/51",
+ "interlinkId" : "cm-1"
+ }
+ ]
+ },
+ "org.opencord.ce.local.channel.http" : {
+ "global" : {
+ "publicIp" : "10.128.14.1",
+ "port" : "8182",
+ "username" : "sdn",
+ "password" : "rocks",
+ "topic" : "ecord-domains-topic-one"
+ }
+ }
+ }
+}
+
+
diff --git a/local/config-samples/co2-onos-cord-cfg.json b/local/config-samples/co2-onos-cord-cfg.json
new file mode 100644
index 0000000..210c7c5
--- /dev/null
+++ b/local/config-samples/co2-onos-cord-cfg.json
@@ -0,0 +1,27 @@
+{
+ "apps" : {
+ "org.opencord.ce.local.bigswitch" : {
+ "mefPorts" :
+ [
+ {
+ "mefPortType" : "UNI",
+ "connectPoint" : "netconf:10.0.0.20:830/1"
+ },
+ {
+ "mefPortType" : "INNI",
+ "connectPoint" : "netconf:10.0.0.20:830/0",
+ "interlinkId" : "cm-1"
+ }
+ ]
+ },
+ "org.opencord.ce.local.channel.http" : {
+ "global" : {
+ "publicIp" : "10.128.14.1",
+ "port" : "8182",
+ "username" : "sdn",
+ "password" : "rocks",
+ "topic" : "ecord-domains-topic-one"
+ }
+ }
+ }
+}
diff --git a/local/config-samples/co2-withEE-onos-cord-cfg.json b/local/config-samples/co2-withEE-onos-cord-cfg.json
new file mode 100644
index 0000000..78b14b5
--- /dev/null
+++ b/local/config-samples/co2-withEE-onos-cord-cfg.json
@@ -0,0 +1,41 @@
+{
+ "links": {
+ "netconf:10.0.0.20:830/0-of:0000001e08095936/50" : {
+ "basic" : {
+ "type" : "DIRECT"
+ }
+ },
+ "of:0000001e08095936/50-netconf:10.0.0.20:830/0" : {
+ "basic" : {
+ "type" : "DIRECT"
+ }
+ }
+ },
+ "apps" : {
+ "org.opencord.ce.local.bigswitch" : {
+ "mefPorts" :
+ [
+ {
+ "mefPortType" : "UNI",
+ "connectPoint" : "netconf:10.0.0.20:830/0"
+ },
+ {
+ "mefPortType" : "INNI",
+ "connectPoint" : "of:0000001e08095936/49",
+ "interlinkId" : "cm-1"
+ }
+ ]
+ },
+ "org.opencord.ce.local.channel.http" : {
+ "global" : {
+ "publicIp" : "10.128.14.1",
+ "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"
+ }
+ }
+
+ }
+}