Synchronise the openstack bugs
[parser.git] / tosca2heat / tosca-parser / toscaparser / tests / data / functions / test_token.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2
3 description: Template for deploying a single server with token function.
4
5 topology_template:
6   node_templates:
7     server:
8       type: tosca.nodes.Compute
9
10   outputs:
11     url:
12       description: Get the first part of the ip
13       value: { token: [ get_attribute: [ server, public_address ],
14                          '.' ,
15                          0 ] }