aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/contrail2serviceinstance/connectToNetworkSharedMultiNested/inputfiles/addOn.yml
blob: 2785688607bd2ab2a8931e90589ecd33c3e138c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
heat_template_version: 2013-05-23

description: ASC External Networks Template

parameters:
  Internal1_net_name:
    type: string
  Internal2_net_name:
    type: string
  Internal1_forwarding_mode:
    type: string
  Internal2_forwarding_mode:
    type: string
  Internal1_shared:
    type: string
  Internal2_shared:
    type: string

resources:
  Internal1-net:
    type: OS::Contrail::VirtualNetwork
    properties:
      name: { get_param: Internal1_net_name }
      forwarding_mode: { get_param: Internal1_forwarding_mode }
      shared: { get_param: Internal1_shared }
  Internal2-net:
    type: OS::Contrail::VirtualNetwork
    properties:
      name: { get_param: Internal1_net_name }
      forwarding_mode: { get_param: Internal1_forwarding_mode }
      shared: { get_param: Internal1_shared }

  test_nested:
    type: OCS-fw.yml
    properties:
      network_param1: { get_resource: Internal1-net}
      network_param2: { get_resource: Internal2-net}