CORD-2461 Fix loading ONOS netcfg via TOSCA
Change-Id: I2c94fadf47f36fc016cf5258e3aab26c8875389e
diff --git a/templates/fabric-service.yaml.j2 b/templates/fabric-service.yaml.j2
index e28d5ea..a52987d 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 mcord 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