commit | 2e419b1a7a829408b6e85938e47c828d7f954302 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Thu Feb 16 13:14:16 2017 -0800 |
committer | Matteo Scandolo <teo@onlab.us> | Thu Feb 16 19:29:43 2017 -0800 |
tree | abd52bc01d1367e009409ae964099c18d4d6e1d8 | |
parent | 003e15367c0d139714504c5544babcac8832b7fd [diff] |
Added XOSComponentLink from chameleon to core Change-Id: I4ca0e53115407cb30ad41957442b387208909dd1
diff --git a/roles/cord-profile/templates/onboard-chameleon.yaml.j2 b/roles/cord-profile/templates/onboard-chameleon.yaml.j2 index 9ba68f2..e8f88d8 100644 --- a/roles/cord-profile/templates/onboard-chameleon.yaml.j2 +++ b/roles/cord-profile/templates/onboard-chameleon.yaml.j2
@@ -13,3 +13,14 @@ command: python chameleon/chameleon/main.py -R 9101 -G xos-core:50055 image: xosproject/chameleon ports: 9101:9101 + + chameleon-to-core: + type: tosca.nodes.ComponentLink + properties: + container: xos_core + alias: xos-core + kind: internal + requirements: + - xos: + node: xos_chameleon + relationship: tosca.relationships.LinkOfComponent
diff --git a/roles/cord-profile/templates/onboard-xos-rest-gw.yaml.j2 b/roles/cord-profile/templates/onboard-xos-rest-gw.yaml.j2 index 04b916c..22d9fc6 100644 --- a/roles/cord-profile/templates/onboard-xos-rest-gw.yaml.j2 +++ b/roles/cord-profile/templates/onboard-xos-rest-gw.yaml.j2
@@ -41,7 +41,7 @@ gw-to-redis: type: tosca.nodes.ComponentLink properties: - container: cordpodbs_xos_redis_1 + container: {{ cord_profile | regex_replace('\\W','') }}bs_xos_redis_1 alias: redis kind: external requirements: