vFW and vDNS support added to azure-plugin
[multicloud/azure.git] / azure / aria / aria-extension-cloudify / src / aria / examples / tosca-simple-1.0 / use-cases / network-2 / network-2.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 metadata:
7   template_name: network-2
8   template_author: TOSCA Simple Profile in YAML
9   template_version: '1.0'
10
11 topology_template:
12
13   inputs:
14     network_name:
15       type: string
16       description: Network name
17
18   node_templates:
19
20     my_server:
21       type: tosca.nodes.Compute
22       capabilities:
23         host:
24           properties:
25             disk_size: 10 GB
26             num_cpus: 1
27             mem_size: 4096 MB
28         os:
29           properties:
30             architecture: x86_64
31             type: Linux
32             distribution: CirrOS
33             version: 0.3.2
34
35     my_network:
36       type: tosca.nodes.network.Network
37       properties:
38         network_name: { get_input: network_name }
39
40     my_port:
41       type: tosca.nodes.network.Port
42       requirements:
43         - binding:
44             node: my_server
45         - link:
46             node: my_network