CORD-2824 tosca for creating the vsg-hw service
Change-Id: I3ad19f6dd4930c23bcbbe25c82aab3127e24bc86
diff --git a/xos-profiles/rcord-lite/values.yaml b/xos-profiles/rcord-lite/values.yaml
index 6303aef..d7e9b0c 100644
--- a/xos-profiles/rcord-lite/values.yaml
+++ b/xos-profiles/rcord-lite/values.yaml
@@ -238,6 +238,7 @@
- custom_types/serviceinstancelink.yaml
- custom_types/slice.yaml
- custom_types/voltservice.yaml
+ - custom_types/vsghwservice.yaml
topology_template:
node_templates:
service#rcord:
@@ -260,10 +261,36 @@
properties:
name: volt
kind: rcord
+ service#vsg-hw:
+ type: tosca.nodes.VSGHWService
+ properties:
+ name: vsg-hw
service#addressmanager:
type: tosca.nodes.AddressManagerService
properties:
name: addressmanager
+ volt_vsg-hw:
+ type: tosca.nodes.ServiceDependency
+ properties:
+ connect_method: None
+ requirements:
+ - subscriber_service:
+ node: service#volt
+ relationship: tosca.relationships.BelongsToOne
+ - provider_service:
+ node: service#vsg-hw
+ relationship: tosca.relationships.BelongsToOne
+ vsg-hw_addressmanager:
+ type: tosca.nodes.ServiceDependency
+ properties:
+ connect_method: None
+ requirements:
+ - subscriber_service:
+ node: service#vsg-hw
+ relationship: tosca.relationships.BelongsToOne
+ - provider_service:
+ node: service#addressmanager
+ relationship: tosca.relationships.BelongsToOne
serviceGraphConstraints:
tosca_definitions_version: tosca_simple_yaml_1_0
@@ -275,4 +302,4 @@
constraints:
type: tosca.nodes.ServiceGraphConstraint
properties:
- constraints: '[[null, "rcord"], [null, "volt"]]'
+ constraints: '[[null, "rcord"], [null, "volt"], ["addressmanager", "vsg-hw"]]'