29 lines
647 B
YAML
29 lines
647 B
YAML
tosca_definitions_version: tosca_simple_yaml_1_0
|
|
|
|
description: TOSCA simple profile to test a relatinship in log format
|
|
|
|
node_types:
|
|
|
|
tosca.nodes.SomeSoftwareComponent:
|
|
derived_from: tosca.nodes.SoftwareComponent
|
|
properties:
|
|
test:
|
|
type: string
|
|
|
|
topology_template:
|
|
|
|
node_templates:
|
|
|
|
some:
|
|
type: tosca.nodes.SomeSoftwareComponent
|
|
properties:
|
|
test: { get_attribute: [ HOST, private_address ] }
|
|
requirements:
|
|
- host:
|
|
node: server
|
|
capability: tosca.capabilities.Container
|
|
relationship: tosca.relationships.HostedOn
|
|
|
|
server:
|
|
type: tosca.nodes.Compute
|