Azure-plugin not sending REST calls to Azure cloud
[multicloud/azure.git] / azure / aria / aria-extension-cloudify / src / aria / examples / tosca-simple-1.0 / use-cases / network-1 / network-1.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2
3 description: >-
4   TOSCA simple profile with 1 server bound to a new network.
5
6 metadata:
7   template_name: network-1
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         ip_version: 4
40         cidr: '192.168.0.0/24'
41         start_ip: '192.168.0.50'
42         end_ip: '192.168.0.200'
43         gateway_ip: '192.168.0.1'
44
45     my_port:
46       type: tosca.nodes.network.Port
47       requirements:
48         - binding: my_server
49         - link: my_network