aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-heat-lib/src/test/resources/mock/model/first.yaml
blob: 02234e9222d144c89bb48095624ee01d7b449198 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
heat_template_version: 2013-05-23
description: heat expose volume resource

parameters:
   network_ids:
     type: string
     label: FBS2 label
     description: FBS2 internal id2

resources:
  vm_config:
    type: OS::Heat::SoftwareConfig
    properties:
      group: ungrouped
      config:
        str_replace:
          template: {get_file: envSettings.env}

  cmaui_port_2:
    type: OS::Neutron::Port
    properties:
      network: { get_resource: test_net1 }
      fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
      security_groups: [{get_param: security_group_name}]
      replacement_policy: AUTO

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

  FSB2_Internal1:
      type: OS::Neutron::Port
      properties:
        network_id: Internal1_net_id
  FSB2_Internal2:
      type: OS::Neutron::Port
      properties:
        network_id: { get_param: [network_ids, 0] }
  FSB2_OAM:
      type: OS::Neutron::Port
      properties:
        network_id: { get_param: Internal1_net_name }
  FSB2:
    type: OS::Nova::Server
    properties:
      name: fsb2_name_2
      block_device_mapping: [{device_name: "vda", volume_id : {get_param: cif_volume_id_0 }, delete_on_termination: "false" }]
      flavor:  fsb2_flavor_name
      availability_zone:  availability_zone_0
      metadata:
        VNF_id: { get_param: vnfvfVF_id }
        vf_module_id: { get_param: vf_module_id }
      networks:
        - port: { get_resource: FSB2_Internal1 }
        - port: { get_resource: FSB2_Internal2 }
        - port: { get_resource: FSB2_OAM }

  test_nested:
    type: nested.yml
    properties:
      p2: { get_resource: cmaui_port_2}
      net1: { get_resource: test_net1}

outputs:
  expose_resource_nove_output:
    description: the pcrf_server
    value: { get_resource: FSB2 }