aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/fixtures/test_nested_parameters/pass/base_stark.yaml
blob: 0f82c0b0a154829edfdb49f0223e775727058e3d (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
heat_template_version: 2015-04-30

description: |
  this is a test template

parameters:

  stark_volumes:
    description: nfsadnfkl
    type: json

  vnf_name:
    label: VNF name
    description: this name will also be used on VM server and other resources.
    type: string

  vnf_id:
    label: VNF ID
    description: 'This ID will be passed as metadata on all Nova Servers, Cinder Volumes, and any other resource that supports metadata'
    type: string

  vf_module_id:
    type: string
    description: Unique ID for this VF Module instance 

  vf_module_name:
    type: string
    description: Unique name for this VF Module instance
    
  vm_role: 
    type: string
    description: role tagged to VM 

  stark_flavor_name:
    label: VMs flavor
    description: The JSON map containing the nova Flavors to be used for the VM Servers
    type: string

  stark_image_name:
    type: string
    description: "stark image name"
    
  stark_names:
    type: comma_delimited_list
    description: VM name for STARK VM 1

  workload_context:
    type: string
    description: Workload Context for this VNF instance

  environment_context:
    type: string
    description: Environment Context for this VNF instance     

  dummy_net_id:
    type: string
    description: nsdaljfnsak

  dummy_subnet_id:
    type: string
    description: nsdaljfnsak

  stark_dummy_ips:
    type: comma_delimited_list
    description: dsnafljsadnlfks

  stark_count: 
    type: number
    description: njsdlf

  stark_dummy_floating_ip:
    type: string
    description: nfalsd

  stark_int_mummy_ips:
    type: comma_delimited_list
    description: nfdsa

  oam_net_fqdn:
    type: string
    description: ndfsakl

  oam2_net_fqdn:
    type: string
    description: nfkldas

  instance_ip_address:
    type: string
    description: nfsakdl

  mycontrailip:
    type: string
    description: nlfdsa

resources:

  int_mummy_network:
    type: OS::Neutron::Net

  int_mummy_subnet:
    type: OS::Neutron::Subnet
    properties:
      network: { get_resource: int_mummy_network }

  stark_RG:
    type: OS::Heat::ResourceGroup
    properties:
      count: { get_param: stark_count }
      resource_def:
        type: stark_nested.yaml
        properties:
          index: '%index%'
          dummy_net_id: { get_param: dummy_net_id }
          dummy_subnet_id: { get_param: dummy_subnet_id }
          stark_dummy_ips: { get_param: stark_dummy_ips }
          vnf_name: { get_param: vnf_name }
          vnf_id: { get_param: vnf_id }
          vf_module_id: { get_param: vf_module_id }
          vf_module_name: { get_param: vf_module_name }    
          vm_role: { get_param: vm_role }
          stark_flavor_name: { get_param: stark_flavor_name }
          stark_image_name: { get_param: stark_image_name }
          stark_names: { get_param: stark_names }
          workload_context: { get_param: workload_context }
          environment_context: { get_param: environment_context }
          stark_volumes: { get_param: stark_volumes }
          stark_dummy_floating_ip: { get_param: stark_dummy_floating_ip }
          int_mummy_net_id: { get_resource: int_mummy_network }
          int_mummy_subnet_id: { get_resource: int_mummy_subnet }
          stark_int_mummy_ips: { get_param: stark_int_mummy_ips }
          oam_net_fqdn: { get_param: oam_net_fqdn }
          oam2_net_fqdn: { get_param: oam2_net_fqdn }
          instance_ip_address: { get_param: instance_ip_address }
          mycontrailip: { get_param: mycontrailip }