docs: fix issues
[parser.git] / tosca2heat / tosca-parser / toscaparser / tests / spec_samples / v1.0 / network / tosca_server_on_existing_network.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2
3 description: >
4   TOSCA simple profile with 1 server bound to an existing network
5
6 topology_template:
7   inputs:
8     network_name:
9       type: string
10       description: Network name
11
12   node_templates:
13     my_server:
14       type: tosca.nodes.Compute
15       capabilities:
16         host:
17           properties:
18             disk_size: 10 GB
19             num_cpus: 1
20             mem_size: 512 MB
21         os:
22           properties:
23             architecture: x86_64
24             type: Linux
25             distribution: CirrOS
26             version: 0.3.2
27
28     my_network:
29       type: tosca.nodes.network.Network
30       properties:
31         network_name: { get_input: network_name }
32
33     my_port:
34       type: tosca.nodes.network.Port
35       requirements:
36         - binding:
37             node: my_server
38         - link:
39             node: my_network