[CORD-2349] Migrating REM-CORD
Change-Id: Iae573428e3bee89026262055263f24a32dd12183
diff --git a/roles/cord-profile/templates/vee-service.yaml.j2 b/roles/cord-profile/templates/vee-service.yaml.j2
index ad4202c..9fea06d 100644
--- a/roles/cord-profile/templates/vee-service.yaml.j2
+++ b/roles/cord-profile/templates/vee-service.yaml.j2
@@ -19,9 +19,10 @@
tosca_definitions_version: tosca_simple_yaml_1_0
imports:
- - custom_types/xos.yaml
- - custom_types/vee.yaml
- - custom_types/veg.yaml
+ - custom_types/veeservice.yaml
+ - custom_types/vegservice.yaml
+ - custom_types/networktemplate.yaml
+ - custom_types/servicedependency.yaml
description: vee services, generated by platform-install
@@ -32,24 +33,30 @@
type: tosca.nodes.VEGService
requirements:
properties:
- no-delete: true
- no-create: true
- no-update: true
- artifacts:
- pubkey: /opt/xos/services/veg/keys/veg_rsa.pub
+ name: veg
+ must-exist: true
service#vee:
type: tosca.nodes.VEEService
- requirements:
- - veg_tenant:
- node: service#veg
- relationship: tosca.relationships.TenantOfService
properties:
- view_url: /admin/vEE/veeservice/$id$/
+ name: vee
+
+ veg_vee:
+ type: tosca.nodes.ServiceDependency
+ properties:
+ connect_method: None
+ requirements:
+ - subscriber_service:
+ node: service#veg
+ relationship: tosca.relationships.BelongsToOne
+ - provider_service:
+ node: service#vee
+ relationship: tosca.relationships.BelongsToOne
template#vee:
type: tosca.nodes.NetworkTemplate
properties:
+ name: vee
visibility: private
translation: none
vtn_kind: vee