| tosca_definitions_version: tosca_simple_yaml_1_0 |
| |
| description: Setup the PassiveTest on the pod |
| |
| imports: |
| - custom_types/xos.yaml |
| - custom_types/PassiveTest.yaml |
| |
| topology_template: |
| node_templates: |
| |
| m1.large: |
| type: tosca.nodes.Flavor |
| |
| mcord_taa: |
| type: tosca.nodes.Image |
| |
| Private: |
| type: tosca.nodes.NetworkTemplate |
| |
| mysite: |
| type: tosca.nodes.Site |
| |
| management: |
| type: tosca.nodes.network.Network.XOS |
| properties: |
| no-create: true |
| no-delete: true |
| no-update: true |
| |
| |
| mysite_passivetest_slice: |
| description: This slice holds the PassiveTest service |
| type: tosca.nodes.Slice |
| requirements: |
| - site: |
| node: mysite |
| relationship: tosca.relationships.MemberOfSite |
| - management: |
| node: management |
| relationship: tosca.relationships.ConnectsToNetwork |
| - owner: |
| node: service_passivetest |
| relationship: tosca.relationships.MemberOfService |
| - image: |
| node: mcord_taa |
| relationship: tosca.relationships.DefaultImage |
| - default_flavor: |
| node: m1.large |
| relationship: tosca.relationships.DefaultFlavor |
| |
| service_passivetest: |
| type: tosca.nodes.PassiveTest |
| requirements: |
| - management: |
| node: management |
| relationship: tosca.relationships.UsesNetwork |
| properties: |
| view_url: /admin/passivetest/passivetestservice/$id$/ |
| kind: PassiveTest |
| public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] } |
| private_key_fn: /opt/xos/services/passivetest/keys/passivetest_rsa |
| artifacts: |
| pubkey: /opt/xos/services/passivetest/keys/passivetest_rsa.pub |
| |
| tenant#passivetesttenant1: |
| type: tosca.nodes.PassiveTestTenant |
| requirements: |
| - tenant: |
| node: service_passivetest |
| relationship: tosca.relationships.TenantOfService |
| - dependency: |
| node: mysite_passivetest_slice |
| relationship: tosca.relationships.DependsOn |
| |