[CORD-1650]
Update TOSCA/variables to work with bridge/bond refactor
Change-Id: I8574fdef054d36216815ecd9237c23bcd1a56b90
diff --git a/templates/mcord-ng40-services.yml.j2 b/templates/mcord-ng40-services.yml.j2
index 1c04883..c1a2ce0 100644
--- a/templates/mcord-ng40-services.yml.j2
+++ b/templates/mcord-ng40-services.yml.j2
@@ -1,4 +1,4 @@
-
+---
{#
Copyright 2017-present Open Networking Foundation
@@ -15,10 +15,9 @@
limitations under the License.
#}
-
tosca_definitions_version: tosca_simple_yaml_1_0
-description: created by platform-install, need to add M-CORD services later
+description: created by mcord profile, need to add M-CORD services later
imports:
- custom_types/slice.yaml
@@ -111,12 +110,12 @@
must-exist: true
name: management
-{% if use_management_hosts %}
- management_hosts:
+{% if use_vtn_net_management_host %}
+ management_host:
type: tosca.nodes.Network
properties:
+ name: management_host
must-exist: true
- name: management_hosts
{% endif %}
# ONOS_CORD, fully created in vtn.yaml
@@ -336,4 +335,4 @@
node: {{ site_name }}_{{ network['owner'] }}
relationship: tosca.relationships.BelongsToOne
-{% endfor %}
\ No newline at end of file
+{% endfor %}