tosca_definitions_version: tosca_simple_yaml_1_0

imports:
   - custom_types/xos.yaml

description: chameleon component config, generated by platform-install

topology_template:
  node_templates:
    xos_chameleon:
      type: tosca.nodes.Component
      properties:
        command: python chameleon/chameleon/main.py -R 9101 -G xos-core:50055
        image: {{ deploy_docker_registry }}xosproject/chameleon:{{ deploy_docker_tag }}
        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
