aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/pm_dictionary_validator/invalid_file/health_base_node.yaml
blob: 42762dcc258d291c0f17e9c25150d9cc82793b08 (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
heat_template_version: '2013-05-23'

description: Heat template that deploys PnP PNF simulator

parameters:
  health_node_name_0:
    type: string
    label: Node name
    description: Name of the node
  # Flavors of each node 
  health_node_flavor_name: 
    type: string
    label: Flavor
    description: Type of instance (flavor) to be used for health node
  # Images of each node
  health_node_image_name: 
     type: string
     label: Image name
     description: OpenStack VM image to be used for node
  # Others
  private_net_id:
    type: string
    label: Private network name or ID
    description: Private network 
  key_name:
    type: string
    label: Key pair name
    description: Public/Private key pair name
  vnf_id:
    type: string
    label: VNF ID
    description: The VNF ID is provided by ONAP
  vnf_name:
    type: string
    description: Unique name for this VNF instance
  vf_module_id:
    type: string
    label: module ID
    description: The Module ID is provided by ONAP
  vf_module_name:
    type: string
    description: Unique name for VNF Module instance
  dcae_collector_ip_0:
    type: string

resources:
  health_node:
    type: OS::Nova::Server
    properties:
      name: { get_param: health_node_name_0 }
      key_name: { get_param: key_name }
      image: { get_param: health_node_image_name }
      flavor: { get_param: health_node_flavor_name }
      networks:
        - network: { get_param: private_net_id }
      metadata: 
        vnf_name: { get_param: vnf_name }
        vnf_id: { get_param: vnf_id }
        vf_module_name: { get_param: vf_module_name }
        vf_module_id: { get_param: vf_module_id }

outputs:
  oam_management_v4_address:
    value: {get_attr: [health_node, networks, { get_param: private_net_id }, 0]}