[CORD-1495] Automate initial CE configuration via tosca

Change-Id: I7aba42e626e27e77e6ae7c963397d7729bd88132
diff --git a/roles/cord-profile/templates/carrierethernet-local-app.yaml.j2 b/roles/cord-profile/templates/carrierethernet-local-app.yaml.j2
index 76e806e..e04ad84 100644
--- a/roles/cord-profile/templates/carrierethernet-local-app.yaml.j2
+++ b/roles/cord-profile/templates/carrierethernet-local-app.yaml.j2
@@ -35,6 +35,9 @@
                   "org.onosproject.netconf.ctl.impl.NetconfControllerImpl": {
                       "netconfConnectTimeout": "60",
                       "netconfReplyTimeout": "60"
+                  },
+                  "org.opencord.ce.local.bigswitch.BigSwitchManager": {
+                      "domainId": "{{ ansible_default_ipv4.address }}-cord-onos"
                   }
               }
 
@@ -46,4 +49,10 @@
               relationship: tosca.relationships.TenantOfService
       properties:
           install_dependencies: http://mavenrepo:8080/repository/org/opencord/ce/ce-api/1.0.0-SNAPSHOT/ce-api-1.0.0-SNAPSHOT.oar, http://mavenrepo:8080/repository/org/opencord/ce/bigswitch/1.0.0-SNAPSHOT/bigswitch-1.0.0-SNAPSHOT.oar, http://mavenrepo:8080/repository/org/opencord/ce/local-channel/1.0.0-SNAPSHOT/local-channel-1.0.0-SNAPSHOT.oar, http://mavenrepo:8080/repository/org/opencord/ce/fabric/1.0.0-SNAPSHOT/fabric-1.0.0-SNAPSHOT.oar
+          component_config: >
+              {
+                  "org.opencord.ce.local.bigswitch.BigSwitchManager": {
+                      "domainId": "{{ ansible_default_ipv4.address }}-fabric-onos"
+                  }
+              }