aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/outputs/inputs/outputs.yaml
blob: 8d48c82e655296856219fac29b9f80bc52436bf8 (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
38
39
40
41
42
43
44
45
46
47
48
heat_template_version: 2013-05-23

description: >
  Version 2.0 02-09-2016 (Authors: John Doe, user PROD)

outputs:
  output_regular:
      description: output_regula
      value: regular
  output_func_getParam:
      description: output_func_getParam
      value: {get_param: jsa_cidr}
  output_func_getAttr:
      description: output_func_getAttr
      value: {get_attr: [jsa_net_test_full_attribute, name]}
  output_func_getResource:
        description: output_func_getResource
        value: {get_resource: jsa_net_test_full_attribute_subnet}

resources:
  jsa_net:
      type: OS::Neutron::Net
      properties:
        name: {get_param: jsa_net_name}
        shared: True

  jsa_net_test_full_attribute:
    type: OS::Neutron::Net
    properties:
      name: {get_param: jsa_net_name}
      shared: True
      dhcp_agent_ids: ['1000','1001','1002']
      tenant_id: 23456
      port_security_enabled: t
      admin_state_up: 0
      qos_policy: full
      value_specs:
        key1: "spec1"
        key2: "spec2"

  jsa_net_test_full_attribute_subnet:
    type: OS::Neutron::Subnet
    properties:
      network_id: {get_resource: jsa_net_test_full_attribute}
      cidr: {get_param: jsa_cidr}