CORD-2461 Fix loading ONOS netcfg via TOSCA

Change-Id: I6aab02bdf6b83636799bdce1e13659289b79eb34
diff --git a/ecord-global.yml b/ecord-global.yml
index 1fe42c3..dc537fd 100644
--- a/ecord-global.yml
+++ b/ecord-global.yml
@@ -39,10 +39,6 @@
   - service-graph-constraints.yaml
   - xos-gui-extensions.yml
 
-
-xos_other_templates:
- - fabric-network-cfg.json
-
 # GUI Config [new GUI]
 gui_project_name: "Global E-CORD"
 gui_background: "cord-bg.jpg" # TODO find ecord image
diff --git a/ecord.yml b/ecord.yml
index 03ac628..c130bac 100644
--- a/ecord.yml
+++ b/ecord.yml
@@ -43,9 +43,6 @@
   - xos-gui-extensions.yml
   - service-graph-constraints.yaml
 
-xos_other_templates:
-  - fabric-network-cfg.json
-
 # GUI Config [new GUI]
 gui_project_name: "E-CORD"
 gui_background: "cord-bg.jpg" # TODO find ecord image
diff --git a/templates/fabric-network-cfg.json.j2 b/templates/fabric-network-cfg.json.j2
deleted file mode 100644
index 853c7e9..0000000
--- a/templates/fabric-network-cfg.json.j2
+++ /dev/null
@@ -1,19 +0,0 @@
-
-{#
-Copyright 2017-present Open Networking Foundation
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-#}
-
-
-{}
\ No newline at end of file
diff --git a/templates/fabric-service.yaml.j2 b/templates/fabric-service.yaml.j2
index e28d5ea..5b8bdaa 100644
--- a/templates/fabric-service.yaml.j2
+++ b/templates/fabric-service.yaml.j2
@@ -25,7 +25,7 @@
    - custom_types/onosapp.yaml
    - custom_types/serviceinstancelink.yaml
 
-description: fabric services, generated by platform-install
+description: fabric services, generated by ecord profile
 
 topology_template:
   node_templates:
@@ -45,8 +45,8 @@
               node: service#ONOS_Fabric
               relationship: tosca.relationships.BelongsToOne
       properties:
-          name: fabric_network_cfg_json
-          value: {{ fabric_network_cfg_json }}
+          name: rest_onos/v1/network/configuration/
+          value: '{{ fabric_network_cfg_json | to_json }}'
 
     service#fabric:
       type: tosca.nodes.FabricService