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-4 / network-4.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2
3 description: >-
4   TOSCA simple profile with 1 server bound to 3 networks.
5
6 metadata:
7   template_name: network-4
8   template_author: TOSCA Simple Profile in YAML
9   template_version: '1.0'
10
11 topology_template:
12
13   node_templates:
14
15     my_server:
16       type: tosca.nodes.Compute
17       capabilities:
18         host:
19           properties:
20             disk_size: 10 GB
21             num_cpus: 1
22             mem_size: 4096 MB
23         os:
24           properties:
25             architecture: x86_64
26             type: Linux
27             distribution: CirrOS
28             version: 0.3.2
29
30     my_network1:
31       type: tosca.nodes.network.Network
32       properties:
33         cidr: '192.168.1.0/24'
34         network_name: net1
35
36     my_network2:
37       type: tosca.nodes.network.Network
38       properties:
39         cidr: '192.168.2.0/24'
40         network_name: net2
41
42     my_network3:
43       type: tosca.nodes.network.Network
44       properties:
45         cidr: '192.168.3.0/24'
46         network_name: net3
47
48     my_port1:
49       type: tosca.nodes.network.Port
50       properties:
51         order: 0
52       requirements:
53         - binding: my_server
54         - link: my_network1
55
56     my_port2:
57       type: tosca.nodes.network.Port
58       properties:
59         order: 1
60       requirements:
61         - binding: my_server
62         - link: my_network2
63
64     my_port3:
65       type: tosca.nodes.network.Port
66       properties:
67         order: 2
68       requirements:
69         - binding: my_server
70         - link: my_network3