push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / porttonetconnection / nested / inputfiles / main.yml
1 heat_template_version: 2013-05-23
2
3 description: >
4   Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
5
6 parameters:
7   jsa_net_name:
8     type: string
9     description: network name of jsa log network
10   contrail_net_name:
11     type: string
12   jsa_name:
13     type: string
14
15 resources:
16   test_nova:
17     type: OS::Nova::Server
18     properties:
19       name: {get_param: jsa_name}
20       image: image
21
22   test_net:
23     type: OS::Neutron::Net
24     properties:
25       name: {get_param: jsa_net_name}
26       shared: True
27
28   test_contrailV2_net:
29     type: OS::ContrailV2::VirtualNetwork
30     properties:
31       name: { get_param: contrail_net_name }
32
33   test_nested:
34     type: nested.yml
35     properties:
36       p1: { get_resource: test_net}
37       p2: { get_attr: [ test_contrailV2_net, fq_name ] }
38
39   test_nestedInvalidConnectionToNetwork:
40     type: nested.yml
41     properties:
42       p1: { get_resource: test_nova}