Do not show retain VGs checkbox in VFM Upgrade modal + tests modifications
[vid.git] / vid-webpack-master / src / app / shared / components / genericFormPopup / genericFormServices / vfModule / vfModule.popup.service.spec.ts
1 import {LogService} from "../../../../utils/log/log.service";
2 import {NgRedux} from "@angular-redux/store";
3 import {BasicControlGenerator} from "../../../genericForm/formControlsServices/basic.control.generator";
4 import {AaiService} from "../../../../services/aaiService/aai.service";
5 import {HttpClient} from "@angular/common/http";
6 import {GenericFormService} from "../../../genericForm/generic-form.service";
7 import {FormBuilder} from "@angular/forms";
8 import {IframeService} from "../../../../utils/iframe.service";
9 import {DefaultDataGeneratorService} from "../../../../services/defaultDataServiceGenerator/default.data.generator.service";
10 import {BasicPopupService} from "../basic.popup.service";
11 import {VfModulePopupService} from "./vfModule.popup.service";
12 import {VfModuleControlGenerator} from "../../../genericForm/formControlsServices/vfModuleGenerator/vfModule.control.generator";
13 import {SdcUiServices} from "onap-ui-angular";
14 import {FeatureFlagsService} from "../../../../services/featureFlag/feature-flags.service";
15 import {getTestBed, TestBed} from "@angular/core/testing";
16
17 class MockModalService<T> {}
18
19 class MockAppStore<T> {}
20
21 class MockReduxStore<T> {
22   getState() {
23     return {
24       "global": {
25         "name": null,
26         "flags": {
27           "FLAG_NETWORK_TO_ASYNC_INSTANTIATION": false,
28           "FLAG_SHOW_ASSIGNMENTS": true,
29           "FLAG_FABRIC_CONFIGURATION_ASSIGNMENTS": true,
30           "FLAG_SHOW_VERIFY_SERVICE": false,
31           "FLAG_SERVICE_MODEL_CACHE": true,
32           "FLAG_ADVANCED_PORTS_FILTER": true,
33           "FLAG_REGION_ID_FROM_REMOTE": true,
34           "FLAG_ADD_MSO_TESTAPI_FIELD": true
35         },
36         "type": "[FLAGS] Update"
37       },
38       "service": {
39         "serviceHierarchy": {
40           "6e59c5de-f052-46fa-aa7e-2fca9d674c44": {
41             "service": {
42               "uuid": "6e59c5de-f052-46fa-aa7e-2fca9d674c44",
43               "invariantUuid": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
44               "name": "ComplexService",
45               "version": "1.0",
46               "toscaModelURL": null,
47               "category": "Emanuel",
48               "serviceType": "",
49               "serviceRole": "",
50               "description": "ComplexService",
51               "serviceEcompNaming": "false",
52               "instantiationType": "Macro",
53               "inputs": {}
54             },
55             "vnfs": {
56               "VF_vGeraldine 0": {
57                 "uuid": "d6557200-ecf2-4641-8094-5393ae3aae60",
58                 "invariantUuid": "4160458e-f648-4b30-a176-43881ffffe9e",
59                 "description": "VSP_vGeraldine",
60                 "name": "VF_vGeraldine",
61                 "version": "2.0",
62                 "customizationUuid": "91415b44-753d-494c-926a-456a9172bbb9",
63                 "inputs": {},
64                 "commands": {},
65                 "properties": {
66                   "max_instances": 10,
67                   "min_instances": 1,
68                   "gpb2_Internal2_mac": "00:11:22:EF:AC:DF",
69                   "sctp-b-ipv6-egress_src_start_port": "0",
70                   "sctp-a-ipv6-egress_rule_application": "any",
71                   "Internal2_allow_transit": "true",
72                   "sctp-b-IPv6_ethertype": "IPv6",
73                   "sctp-a-egress_rule_application": "any",
74                   "sctp-b-ingress_action": "pass",
75                   "sctp-b-ingress_rule_protocol": "icmp",
76                   "ncb2_Internal1_mac": "00:11:22:EF:AC:DF",
77                   "sctp-b-ipv6-ingress-src_start_port": "0.0",
78                   "ncb1_Internal2_mac": "00:11:22:EF:AC:DF",
79                   "fsb_volume_size_0": "320.0",
80                   "sctp-b-egress_src_addresses": "local",
81                   "sctp-a-ipv6-ingress_ethertype": "IPv4",
82                   "sctp-a-ipv6-ingress-dst_start_port": "0",
83                   "sctp-b-ipv6-ingress_rule_application": "any",
84                   "domain_name": "default-domain",
85                   "sctp-a-ingress_rule_protocol": "icmp",
86                   "sctp-b-egress-src_start_port": "0.0",
87                   "sctp-a-egress_src_addresses": "local",
88                   "sctp-b-display_name": "epc-sctp-b-ipv4v6-sec-group",
89                   "sctp-a-egress-src_start_port": "0.0",
90                   "sctp-a-ingress_ethertype": "IPv4",
91                   "sctp-b-ipv6-ingress-dst_end_port": "65535",
92                   "sctp-b-dst_subnet_prefix_v6": "::",
93                   "nf_naming": "{ecomp_generated_naming=true}",
94                   "sctp-a-ipv6-ingress_src_subnet_prefix": "0.0.0.0",
95                   "sctp-b-egress-dst_start_port": "0.0",
96                   "ncb_flavor_name": "nv.c20r64d1",
97                   "gpb1_Internal1_mac": "00:11:22:EF:AC:DF",
98                   "sctp-b-egress_dst_subnet_prefix_len": "0.0",
99                   "Internal2_net_cidr": "10.0.0.10",
100                   "sctp-a-ingress-dst_start_port": "0.0",
101                   "sctp-a-egress-dst_start_port": "0.0",
102                   "fsb1_Internal2_mac": "00:11:22:EF:AC:DF",
103                   "sctp-a-egress_ethertype": "IPv4",
104                   "vlc_st_service_mode": "in-network-nat",
105                   "sctp-a-ipv6-egress_ethertype": "IPv4",
106                   "sctp-a-egress-src_end_port": "65535.0",
107                   "sctp-b-ipv6-egress_rule_application": "any",
108                   "sctp-b-egress_action": "pass",
109                   "sctp-a-ingress-src_subnet_prefix_len": "0.0",
110                   "sctp-b-ipv6-ingress-src_end_port": "65535.0",
111                   "sctp-b-name": "epc-sctp-b-ipv4v6-sec-group",
112                   "fsb2_Internal1_mac": "00:11:22:EF:AC:DF",
113                   "sctp-a-ipv6-ingress-src_start_port": "0.0",
114                   "sctp-b-ipv6-egress_ethertype": "IPv4",
115                   "Internal1_net_cidr": "10.0.0.10",
116                   "sctp-a-egress_dst_subnet_prefix": "0.0.0.0",
117                   "fsb_flavor_name": "nv.c20r64d1",
118                   "sctp_rule_protocol": "132",
119                   "sctp-b-ipv6-ingress_src_subnet_prefix_len": "0",
120                   "sctp-a-ipv6-ingress_rule_application": "any",
121                   "ecomp_generated_naming": "false",
122                   "sctp-a-IPv6_ethertype": "IPv6",
123                   "vlc2_Internal1_mac": "00:11:22:EF:AC:DF",
124                   "vlc_st_virtualization_type": "virtual-machine",
125                   "sctp-b-ingress-dst_start_port": "0.0",
126                   "sctp-b-ingress-dst_end_port": "65535.0",
127                   "sctp-a-ipv6-ingress-src_end_port": "65535.0",
128                   "sctp-a-display_name": "epc-sctp-a-ipv4v6-sec-group",
129                   "sctp-b-ingress_rule_application": "any",
130                   "int2_sec_group_name": "int2-sec-group",
131                   "vlc_flavor_name": "nd.c16r64d1",
132                   "sctp-b-ipv6-egress_src_addresses": "local",
133                   "vlc_st_interface_type_int1": "other1",
134                   "sctp-b-egress-src_end_port": "65535.0",
135                   "sctp-a-ipv6-egress-dst_start_port": "0",
136                   "vlc_st_interface_type_int2": "other2",
137                   "sctp-a-ipv6-egress_rule_protocol": "any",
138                   "Internal2_shared": "false",
139                   "sctp-a-ipv6-egress_dst_subnet_prefix_len": "0",
140                   "Internal2_rpf": "disable",
141                   "vlc1_Internal1_mac": "00:11:22:EF:AC:DF",
142                   "sctp-b-ipv6-egress_src_end_port": "65535",
143                   "sctp-a-ipv6-egress_src_addresses": "local",
144                   "sctp-a-ingress-dst_end_port": "65535.0",
145                   "sctp-a-ipv6-egress_src_end_port": "65535",
146                   "Internal1_forwarding_mode": "l2",
147                   "Internal2_dhcp": "false",
148                   "sctp-a-dst_subnet_prefix_v6": "::",
149                   "pxe_image_name": "MME_PXE-Boot_16ACP04_GA.qcow2",
150                   "vlc_st_interface_type_gtp": "other0",
151                   "ncb1_Internal1_mac": "00:11:22:EF:AC:DF",
152                   "sctp-b-src_subnet_prefix_v6": "::",
153                   "sctp-a-egress_dst_subnet_prefix_len": "0.0",
154                   "int1_sec_group_name": "int1-sec-group",
155                   "Internal1_dhcp": "false",
156                   "sctp-a-ipv6-egress_dst_end_port": "65535",
157                   "Internal2_forwarding_mode": "l2",
158                   "fsb2_Internal2_mac": "00:11:22:EF:AC:DF",
159                   "sctp-b-egress_dst_subnet_prefix": "0.0.0.0",
160                   "Internal1_net_cidr_len": "17",
161                   "gpb2_Internal1_mac": "00:11:22:EF:AC:DF",
162                   "sctp-b-ingress-src_subnet_prefix_len": "0.0",
163                   "sctp-a-ingress_dst_addresses": "local",
164                   "sctp-a-egress_action": "pass",
165                   "fsb_volume_type_0": "SF-Default-SSD",
166                   "ncb2_Internal2_mac": "00:11:22:EF:AC:DF",
167                   "vlc_st_interface_type_sctp_a": "left",
168                   "vlc_st_interface_type_sctp_b": "right",
169                   "sctp-a-src_subnet_prefix_v6": "::",
170                   "vlc_st_version": "2",
171                   "sctp-b-egress_ethertype": "IPv4",
172                   "sctp-a-ingress_rule_application": "any",
173                   "gpb1_Internal2_mac": "00:11:22:EF:AC:DF",
174                   "instance_ip_family_v6": "v6",
175                   "sctp-a-ipv6-egress_src_start_port": "0",
176                   "sctp-b-ingress-src_start_port": "0.0",
177                   "sctp-b-ingress_dst_addresses": "local",
178                   "fsb1_Internal1_mac": "00:11:22:EF:AC:DF",
179                   "vlc_st_interface_type_oam": "management",
180                   "multi_stage_design": "true",
181                   "oam_sec_group_name": "oam-sec-group",
182                   "Internal2_net_gateway": "10.0.0.10",
183                   "sctp-a-ipv6-ingress-dst_end_port": "65535",
184                   "sctp-b-ipv6-egress-dst_start_port": "0",
185                   "Internal1_net_gateway": "10.0.0.10",
186                   "sctp-b-ipv6-egress_rule_protocol": "any",
187                   "gtp_sec_group_name": "gtp-sec-group",
188                   "sctp-a-ipv6-egress_dst_subnet_prefix": "0.0.0.0",
189                   "sctp-b-ipv6-egress_dst_subnet_prefix_len": "0",
190                   "sctp-a-ipv6-ingress_dst_addresses": "local",
191                   "sctp-a-egress_rule_protocol": "icmp",
192                   "sctp-b-ipv6-egress_action": "pass",
193                   "sctp-a-ipv6-egress_action": "pass",
194                   "Internal1_shared": "false",
195                   "sctp-b-ipv6-ingress_rule_protocol": "any",
196                   "Internal2_net_cidr_len": "17",
197                   "sctp-a-name": "epc-sctp-a-ipv4v6-sec-group",
198                   "sctp-a-ingress-src_end_port": "65535.0",
199                   "sctp-b-ipv6-ingress_src_subnet_prefix": "0.0.0.0",
200                   "sctp-a-egress-dst_end_port": "65535.0",
201                   "sctp-a-ingress_action": "pass",
202                   "sctp-b-egress_rule_protocol": "icmp",
203                   "sctp-b-ipv6-ingress_action": "pass",
204                   "vlc_st_service_type": "firewall",
205                   "sctp-b-ipv6-egress_dst_end_port": "65535",
206                   "sctp-b-ipv6-ingress-dst_start_port": "0",
207                   "vlc2_Internal2_mac": "00:11:22:EF:AC:DF",
208                   "vlc_st_availability_zone": "true",
209                   "fsb_volume_image_name_1": "MME_FSB2_16ACP04_GA.qcow2",
210                   "sctp-b-ingress-src_subnet_prefix": "0.0.0.0",
211                   "sctp-a-ipv6-ingress_src_subnet_prefix_len": "0",
212                   "Internal1_allow_transit": "true",
213                   "gpb_flavor_name": "nv.c20r64d1",
214                   "availability_zone_max_count": "1",
215                   "fsb_volume_image_name_0": "MME_FSB1_16ACP04_GA.qcow2",
216                   "sctp-b-ipv6-ingress_dst_addresses": "local",
217                   "sctp-b-ipv6-egress_dst_subnet_prefix": "0.0.0.0",
218                   "sctp-b-ipv6-ingress_ethertype": "IPv4",
219                   "vlc1_Internal2_mac": "00:11:22:EF:AC:DF",
220                   "sctp-a-ingress-src_subnet_prefix": "0.0.0.0",
221                   "sctp-a-ipv6-ingress_action": "pass",
222                   "Internal1_rpf": "disable",
223                   "sctp-b-ingress_ethertype": "IPv4",
224                   "sctp-b-egress_rule_application": "any",
225                   "sctp-b-ingress-src_end_port": "65535.0",
226                   "sctp-a-ipv6-ingress_rule_protocol": "any",
227                   "sctp-a-ingress-src_start_port": "0.0",
228                   "sctp-b-egress-dst_end_port": "65535.0"
229                 },
230                 "type": "VF",
231                 "modelCustomizationName": "VF_vGeraldine 0",
232                 "vfModules": {
233                   "vf_vgeraldine0..VfVgeraldine..vflorence_vlc..module-1": {
234                     "uuid": "522159d5-d6e0-4c2a-aa44-5a542a12a830",
235                     "invariantUuid": "98a7c88b-b577-476a-90e4-e25a5871e02b",
236                     "customizationUuid": "55b1be94-671a-403e-a26c-667e9c47d091",
237                     "description": null,
238                     "name": "VfVgeraldine..vflorence_vlc..module-1",
239                     "version": "2",
240                     "modelCustomizationName": "VfVgeraldine..vflorence_vlc..module-1",
241                     "properties": {
242                       "minCountInstances": 0,
243                       "maxCountInstances": null,
244                       "initialCount": 0,
245                       "vfModuleLabel": "vflorence_vlc"
246                     },
247                     "inputs": {},
248                     "volumeGroupAllowed": true
249                   },
250                   "vf_vgeraldine0..VfVgeraldine..vflorence_gpb..module-2": {
251                     "uuid": "41708296-e443-4c71-953f-d9a010f059e1",
252                     "invariantUuid": "1cca90b8-3490-495e-87da-3f3e4c57d5b9",
253                     "customizationUuid": "6add59e0-7fe1-4bc4-af48-f8812422ae7c",
254                     "description": null,
255                     "name": "VfVgeraldine..vflorence_gpb..module-2",
256                     "version": "2",
257                     "modelCustomizationName": "VfVgeraldine..vflorence_gpb..module-2",
258                     "properties": {
259                       "minCountInstances": 0,
260                       "maxCountInstances": null,
261                       "initialCount": 0,
262                       "vfModuleLabel": "vflorence_gpb"
263                     },
264                     "inputs": {},
265                     "volumeGroupAllowed": false
266                   },
267                   "vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0": {
268                     "uuid": "a27f5cfc-7f12-4f99-af08-0af9c3885c87",
269                     "invariantUuid": "a6f9e51a-2b35-416a-ae15-15e58d61f36d",
270                     "customizationUuid": "f8c040f1-7e51-4a11-aca8-acf256cfd861",
271                     "description": null,
272                     "name": "VfVgeraldine..base_vflorence..module-0",
273                     "version": "2",
274                     "modelCustomizationName": "VfVgeraldine..base_vflorence..module-0",
275                     "properties": {
276                       "minCountInstances": 1,
277                       "maxCountInstances": 1,
278                       "initialCount": 1,
279                       "vfModuleLabel": "base_vflorence"
280                     },
281                     "inputs": {},
282                     "volumeGroupAllowed": true
283                   }
284                 },
285                 "volumeGroups": {
286                   "vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0": {
287                     "uuid": "a27f5cfc-7f12-4f99-af08-0af9c3885c87",
288                     "invariantUuid": "a6f9e51a-2b35-416a-ae15-15e58d61f36d",
289                     "customizationUuid": "f8c040f1-7e51-4a11-aca8-acf256cfd861",
290                     "description": null,
291                     "name": "VfVgeraldine..base_vflorence..module-0",
292                     "version": "2",
293                     "modelCustomizationName": "VfVgeraldine..base_vflorence..module-0",
294                     "properties": {
295                       "minCountInstances": 1,
296                       "maxCountInstances": 1,
297                       "initialCount": 1,
298                       "vfModuleLabel": "base_vflorence"
299                     },
300                     "inputs": {}
301                   }
302                 },
303                 "vfcInstanceGroups": {}
304               }
305             },
306             "networks": {
307               "ExtVL 0": {
308                 "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
309                 "invariantUuid": "379f816b-a7aa-422f-be30-17114ff50b7c",
310                 "description": "ECOMP generic virtual link (network) base type for all other service-level and global networks",
311                 "name": "ExtVL",
312                 "version": "37.0",
313                 "customizationUuid": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
314                 "inputs": {},
315                 "commands": {},
316                 "properties": {
317                   "netowrk_role": "role 1, role 2, role 3",
318                   "network_assignments": "{is_external_network=false, ipv4_subnet_default_assignment={min_subnets_count=1}, ecomp_generated_network_assignment=false, ipv6_subnet_default_assignment={min_subnets_count=1}}",
319                   "exVL_naming": "{ecomp_generated_naming=true}",
320                   "network_flows": "{is_network_policy=false, is_bound_to_vpn=false}",
321                   "network_homing": "{ecomp_selected_instance_node_target=false}"
322                 },
323                 "type": "VL",
324                 "modelCustomizationName": "ExtVL 0"
325               }
326             },
327             "collectionResources": {},
328             "configurations": {
329               "Port Mirroring Configuration By Policy 0": {
330                 "uuid": "b4398538-e89d-4f13-b33d-ca323434ba50",
331                 "invariantUuid": "6ef0ca40-f366-4897-951f-abd65d25f6f7",
332                 "description": "A port mirroring configuration by policy object",
333                 "name": "Port Mirroring Configuration By Policy",
334                 "version": "27.0",
335                 "customizationUuid": "3c3b7b8d-8669-4b3b-8664-61970041fad2",
336                 "inputs": {},
337                 "commands": {},
338                 "properties": {},
339                 "type": "Configuration",
340                 "modelCustomizationName": "Port Mirroring Configuration By Policy 0",
341                 "sourceNodes": [],
342                 "collectorNodes": null,
343                 "configurationByPolicy": false
344               }
345             },
346             "serviceProxies": {},
347             "vfModules": {
348               "vf_vgeraldine0..VfVgeraldine..vflorence_vlc..module-1": {
349                 "uuid": "522159d5-d6e0-4c2a-aa44-5a542a12a830",
350                 "invariantUuid": "98a7c88b-b577-476a-90e4-e25a5871e02b",
351                 "customizationUuid": "55b1be94-671a-403e-a26c-667e9c47d091",
352                 "description": null,
353                 "name": "VfVgeraldine..vflorence_vlc..module-1",
354                 "version": "2",
355                 "modelCustomizationName": "VfVgeraldine..vflorence_vlc..module-1",
356                 "properties": {
357                   "minCountInstances": 0,
358                   "maxCountInstances": null,
359                   "initialCount": 0,
360                   "vfModuleLabel": "vflorence_vlc"
361                 },
362                 "inputs": {},
363                 "volumeGroupAllowed": true
364               },
365               "vf_vgeraldine0..VfVgeraldine..vflorence_gpb..module-2": {
366                 "uuid": "41708296-e443-4c71-953f-d9a010f059e1",
367                 "invariantUuid": "1cca90b8-3490-495e-87da-3f3e4c57d5b9",
368                 "customizationUuid": "6add59e0-7fe1-4bc4-af48-f8812422ae7c",
369                 "description": null,
370                 "name": "VfVgeraldine..vflorence_gpb..module-2",
371                 "version": "2",
372                 "modelCustomizationName": "VfVgeraldine..vflorence_gpb..module-2",
373                 "properties": {
374                   "minCountInstances": 0,
375                   "maxCountInstances": null,
376                   "initialCount": 0,
377                   "vfModuleLabel": "vflorence_gpb"
378                 },
379                 "inputs": {},
380                 "volumeGroupAllowed": false
381               },
382               "vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0": {
383                 "uuid": "a27f5cfc-7f12-4f99-af08-0af9c3885c87",
384                 "invariantUuid": "a6f9e51a-2b35-416a-ae15-15e58d61f36d",
385                 "customizationUuid": "f8c040f1-7e51-4a11-aca8-acf256cfd861",
386                 "description": null,
387                 "name": "VfVgeraldine..base_vflorence..module-0",
388                 "version": "2",
389                 "modelCustomizationName": "VfVgeraldine..base_vflorence..module-0",
390                 "properties": {
391                   "minCountInstances": 1,
392                   "maxCountInstances": 1,
393                   "initialCount": 1,
394                   "vfModuleLabel": "base_vflorence"
395                 },
396                 "inputs": {},
397                 "volumeGroupAllowed": true
398               }
399             },
400             "volumeGroups": {
401               "vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0": {
402                 "uuid": "a27f5cfc-7f12-4f99-af08-0af9c3885c87",
403                 "invariantUuid": "a6f9e51a-2b35-416a-ae15-15e58d61f36d",
404                 "customizationUuid": "f8c040f1-7e51-4a11-aca8-acf256cfd861",
405                 "description": null,
406                 "name": "VfVgeraldine..base_vflorence..module-0",
407                 "version": "2",
408                 "modelCustomizationName": "VfVgeraldine..base_vflorence..module-0",
409                 "properties": {
410                   "minCountInstances": 1,
411                   "maxCountInstances": 1,
412                   "initialCount": 1,
413                   "vfModuleLabel": "base_vflorence"
414                 },
415                 "inputs": {}
416               }
417             },
418             "pnfs": {}
419           },
420           "6b528779-44a3-4472-bdff-9cd15ec93450": {
421             "service": {
422               "uuid": "6b528779-44a3-4472-bdff-9cd15ec93450",
423               "invariantUuid": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
424               "name": "action-data",
425               "version": "1.0",
426               "toscaModelURL": null,
427               "category": "",
428               "serviceType": "",
429               "serviceRole": "",
430               "description": "",
431               "serviceEcompNaming": "false",
432               "instantiationType": "A-La-Carte",
433               "inputs": {
434                 "2017488_pasqualevpe0_ASN": {
435                   "type": "string",
436                   "description": "AV/PE",
437                   "entry_schema": null,
438                   "inputProperties": null,
439                   "constraints": [],
440                   "required": true,
441                   "default": "AV_vPE"
442                 }
443               }
444             },
445             "vnfs": {
446               "2017-388_PASQUALE-vPE 1": {
447                 "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413",
448                 "invariantUuid": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
449                 "description": "Name PASQUALE vPE Description The provider edge function for the PASQUALE service supported by the Junipers VMX product Category Router Vendor Juniper Vendor Release Code 17.2 Owners Mary Fragale. Updated 9-25 to use v8.0 of the Juniper Valid 2 VLM",
450                 "name": "2017-388_PASQUALE-vPE",
451                 "version": "1.0",
452                 "customizationUuid": "280dec31-f16d-488b-9668-4aae55d6648a",
453                 "inputs": {
454                   "vnf_config_template_version": {
455                     "type": "string",
456                     "description": "VPE Software Version",
457                     "entry_schema": null,
458                     "inputProperties": null,
459                     "constraints": [],
460                     "required": true,
461                     "default": "17.2"
462                   },
463                   "bandwidth_units": {
464                     "type": "string",
465                     "description": "Units of bandwidth",
466                     "entry_schema": null,
467                     "inputProperties": null,
468                     "constraints": [],
469                     "required": true,
470                     "default": "Gbps"
471                   },
472                   "bandwidth": {
473                     "type": "string",
474                     "description": "Requested VPE bandwidth",
475                     "entry_schema": null,
476                     "inputProperties": null,
477                     "constraints": [],
478                     "required": true,
479                     "default": "10"
480                   },
481                   "AIC_CLLI": {
482                     "type": "string",
483                     "description": "AIC Site CLLI",
484                     "entry_schema": null,
485                     "inputProperties": null,
486                     "constraints": [],
487                     "required": true,
488                     "default": "ATLMY8GA"
489                   },
490                   "ASN": {
491                     "type": "string",
492                     "description": "AV/PE",
493                     "entry_schema": null,
494                     "inputProperties": null,
495                     "constraints": [],
496                     "required": true,
497                     "default": "AV_vPE"
498                   },
499                   "vnf_instance_name": {
500                     "type": "string",
501                     "description": "The hostname assigned to the vpe.",
502                     "entry_schema": null,
503                     "inputProperties": null,
504                     "constraints": [],
505                     "required": true,
506                     "default": "mtnj309me6"
507                   }
508                 },
509                 "commands": {
510                   "vnf_config_template_version": {
511                     "displayName": "vnf_config_template_version",
512                     "command": "get_input",
513                     "inputName": "2017488_pasqualevpe0_vnf_config_template_version"
514                   },
515                   "bandwidth_units": {
516                     "displayName": "bandwidth_units",
517                     "command": "get_input",
518                     "inputName": "pasqualevpe0_bandwidth_units"
519                   },
520                   "bandwidth": {"displayName": "bandwidth", "command": "get_input", "inputName": "pasqualevpe0_bandwidth"},
521                   "AIC_CLLI": {
522                     "displayName": "AIC_CLLI",
523                     "command": "get_input",
524                     "inputName": "2017488_pasqualevpe0_AIC_CLLI"
525                   },
526                   "ASN": {"displayName": "ASN", "command": "get_input", "inputName": "2017488_pasqualevpe0_ASN"},
527                   "vnf_instance_name": {
528                     "displayName": "vnf_instance_name",
529                     "command": "get_input",
530                     "inputName": "2017488_pasqualevpe0_vnf_instance_name"
531                   }
532                 },
533                 "properties": {
534                   "vmxvre_retype": "RE-VMX",
535                   "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
536                   "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
537                   "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
538                   "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
539                   "int_ctl_net_name": "VMX-INTXI",
540                   "vmx_int_ctl_prefix": "10.0.0.10",
541                   "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
542                   "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
543                   "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
544                   "nf_type": "vPE",
545                   "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
546                   "is_AVPN_service": "false",
547                   "vmx_RSG_name": "vREXI-affinity",
548                   "vmx_int_ctl_forwarding": "l2",
549                   "vmxvre_oam_ip_0": "10.0.0.10",
550                   "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
551                   "vmxvpfe_sriov41_0_port_vlanstrip": "false",
552                   "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
553                   "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
554                   "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
555                   "vmxvre_instance": "0",
556                   "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
557                   "vmxvre_flavor_name": "ns.c1r16d32.v5",
558                   "vmxvpfe_volume_size_0": "40.0",
559                   "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
560                   "nf_naming": "{ecomp_generated_naming=false}",
561                   "nf_naming_code": "Navneet",
562                   "vmxvre_name_0": "vREXI",
563                   "vmxvpfe_sriov42_0_port_vlanstrip": "false",
564                   "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
565                   "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
566                   "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
567                   "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
568                   "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
569                   "vmxvre_console": "vidconsole",
570                   "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
571                   "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
572                   "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
573                   "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
574                   "vmxvpfe_sriov44_0_port_vlanstrip": "false",
575                   "vf_module_id": "123",
576                   "nf_function": "JAI",
577                   "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
578                   "vmxvre_int_ctl_ip_0": "10.0.0.10",
579                   "ecomp_generated_naming": "false",
580                   "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
581                   "vnf_name": "mtnj309me6vre",
582                   "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
583                   "vmxvre_volume_type_1": "HITACHI",
584                   "vmxvpfe_sriov44_0_port_broadcastallow": "true",
585                   "vmxvre_volume_type_0": "HITACHI",
586                   "vmxvpfe_volume_type_0": "HITACHI",
587                   "vmxvpfe_sriov43_0_port_broadcastallow": "true",
588                   "bandwidth_units": "get_input:pasqualevpe0_bandwidth_units",
589                   "vnf_id": "123",
590                   "vmxvre_oam_prefix": "24",
591                   "availability_zone_0": "mtpocfo-kvm-az01",
592                   "ASN": "get_input:2017488_pasqualevpe0_ASN",
593                   "vmxvre_chassis_i2cid": "161",
594                   "vmxvpfe_name_0": "vPFEXI",
595                   "bandwidth": "get_input:pasqualevpe0_bandwidth",
596                   "availability_zone_max_count": "1",
597                   "vmxvre_volume_size_0": "45.0",
598                   "vmxvre_volume_size_1": "50.0",
599                   "vmxvpfe_sriov42_0_port_broadcastallow": "true",
600                   "vmxvre_oam_gateway": "10.0.0.10",
601                   "vmxvre_volume_name_1": "vREXI_FAVolume",
602                   "vmxvre_ore_present": "0",
603                   "vmxvre_volume_name_0": "vREXI_FBVolume",
604                   "vmxvre_type": "0",
605                   "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
606                   "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
607                   "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
608                   "vmx_int_ctl_len": "24",
609                   "vmxvpfe_sriov43_0_port_vlanstrip": "false",
610                   "vmxvpfe_sriov41_0_port_broadcastallow": "true",
611                   "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
612                   "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
613                   "nf_role": "Testing",
614                   "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
615                   "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
616                   "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
617                 },
618                 "type": "VF",
619                 "modelCustomizationName": "2017-388_PASQUALE-vPE 1",
620                 "vfModules": {},
621                 "volumeGroups": {},
622                 "vfcInstanceGroups": {}
623               },
624               "2017-388_PASQUALE-vPE 0": {
625                 "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168",
626                 "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
627                 "description": "Name PASQUALE vPE Description The provider edge function for the PASQUALE service supported by the Junipers VMX product Category Router Vendor Juniper Vendor Release Code 17.2 Owners Mary Fragale. Updated 9-25 to use v8.0 of the Juniper Valid 2 VLM",
628                 "name": "2017-388_PASQUALE-vPE",
629                 "version": "4.0",
630                 "customizationUuid": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
631                 "inputs": {
632                   "vnf_config_template_version": {
633                     "type": "string",
634                     "description": "VPE Software Version",
635                     "entry_schema": null,
636                     "inputProperties": null,
637                     "constraints": [],
638                     "required": true,
639                     "default": "17.2"
640                   },
641                   "bandwidth_units": {
642                     "type": "string",
643                     "description": "Units of bandwidth",
644                     "entry_schema": null,
645                     "inputProperties": null,
646                     "constraints": [],
647                     "required": true,
648                     "default": "Gbps"
649                   },
650                   "bandwidth": {
651                     "type": "string",
652                     "description": "Requested VPE bandwidth",
653                     "entry_schema": null,
654                     "inputProperties": null,
655                     "constraints": [],
656                     "required": true,
657                     "default": "10"
658                   },
659                   "AIC_CLLI": {
660                     "type": "string",
661                     "description": "AIC Site CLLI",
662                     "entry_schema": null,
663                     "inputProperties": null,
664                     "constraints": [],
665                     "required": true,
666                     "default": "ATLMY8GA"
667                   },
668                   "ASN": {
669                     "type": "string",
670                     "description": "AV/PE",
671                     "entry_schema": null,
672                     "inputProperties": null,
673                     "constraints": [],
674                     "required": true,
675                     "default": "AV_vPE"
676                   },
677                   "vnf_instance_name": {
678                     "type": "string",
679                     "description": "The hostname assigned to the vpe.",
680                     "entry_schema": null,
681                     "inputProperties": null,
682                     "constraints": [],
683                     "required": true,
684                     "default": "mtnj309me6"
685                   }
686                 },
687                 "commands": {
688                   "vnf_config_template_version": {
689                     "displayName": "vnf_config_template_version",
690                     "command": "get_input",
691                     "inputName": "2017488_pasqualevpe0_vnf_config_template_version"
692                   },
693                   "bandwidth_units": {
694                     "displayName": "bandwidth_units",
695                     "command": "get_input",
696                     "inputName": "pasqualevpe0_bandwidth_units"
697                   },
698                   "bandwidth": {"displayName": "bandwidth", "command": "get_input", "inputName": "pasqualevpe0_bandwidth"},
699                   "AIC_CLLI": {
700                     "displayName": "AIC_CLLI",
701                     "command": "get_input",
702                     "inputName": "2017488_pasqualevpe0_AIC_CLLI"
703                   },
704                   "ASN": {"displayName": "ASN", "command": "get_input", "inputName": "2017488_pasqualevpe0_ASN"},
705                   "vnf_instance_name": {
706                     "displayName": "vnf_instance_name",
707                     "command": "get_input",
708                     "inputName": "2017488_pasqualevpe0_vnf_instance_name"
709                   }
710                 },
711                 "properties": {
712                   "vmxvre_retype": "RE-VMX",
713                   "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
714                   "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
715                   "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
716                   "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
717                   "int_ctl_net_name": "VMX-INTXI",
718                   "vmx_int_ctl_prefix": "10.0.0.10",
719                   "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
720                   "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
721                   "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
722                   "nf_type": "vPE",
723                   "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
724                   "is_AVPN_service": "false",
725                   "vmx_RSG_name": "vREXI-affinity",
726                   "vmx_int_ctl_forwarding": "l2",
727                   "vmxvre_oam_ip_0": "10.0.0.10",
728                   "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
729                   "vmxvpfe_sriov41_0_port_vlanstrip": "false",
730                   "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
731                   "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
732                   "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
733                   "vmxvre_instance": "0",
734                   "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
735                   "vmxvre_flavor_name": "ns.c1r16d32.v5",
736                   "vmxvpfe_volume_size_0": "40.0",
737                   "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
738                   "nf_naming": "{ecomp_generated_naming=false}",
739                   "nf_naming_code": "Navneet",
740                   "vmxvre_name_0": "vREXI",
741                   "vmxvpfe_sriov42_0_port_vlanstrip": "false",
742                   "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
743                   "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
744                   "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
745                   "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
746                   "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
747                   "vmxvre_console": "vidconsole",
748                   "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
749                   "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
750                   "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
751                   "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
752                   "min_instances": "1",
753                   "vmxvpfe_sriov44_0_port_vlanstrip": "false",
754                   "vf_module_id": "123",
755                   "nf_function": "JAI",
756                   "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
757                   "vmxvre_int_ctl_ip_0": "10.0.0.10",
758                   "ecomp_generated_naming": "false",
759                   "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
760                   "vnf_name": "mtnj309me6vre",
761                   "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
762                   "vmxvre_volume_type_1": "HITACHI",
763                   "vmxvpfe_sriov44_0_port_broadcastallow": "true",
764                   "vmxvre_volume_type_0": "HITACHI",
765                   "vmxvpfe_volume_type_0": "HITACHI",
766                   "vmxvpfe_sriov43_0_port_broadcastallow": "true",
767                   "bandwidth_units": "get_input:pasqualevpe0_bandwidth_units",
768                   "vnf_id": "123",
769                   "vmxvre_oam_prefix": "24",
770                   "availability_zone_0": "mtpocfo-kvm-az01",
771                   "ASN": "get_input:2017488_pasqualevpe0_ASN",
772                   "vmxvre_chassis_i2cid": "161",
773                   "vmxvpfe_name_0": "vPFEXI",
774                   "bandwidth": "get_input:pasqualevpe0_bandwidth",
775                   "availability_zone_max_count": "1",
776                   "vmxvre_volume_size_0": "45.0",
777                   "vmxvre_volume_size_1": "50.0",
778                   "vmxvpfe_sriov42_0_port_broadcastallow": "true",
779                   "vmxvre_oam_gateway": "10.0.0.10",
780                   "vmxvre_volume_name_1": "vREXI_FAVolume",
781                   "vmxvre_ore_present": "0",
782                   "vmxvre_volume_name_0": "vREXI_FBVolume",
783                   "vmxvre_type": "0",
784                   "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
785                   "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
786                   "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
787                   "vmx_int_ctl_len": "24",
788                   "vmxvpfe_sriov43_0_port_vlanstrip": "false",
789                   "vmxvpfe_sriov41_0_port_broadcastallow": "true",
790                   "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
791                   "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
792                   "nf_role": "Testing",
793                   "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
794                   "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
795                   "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
796                 },
797                 "type": "VF",
798                 "modelCustomizationName": "2017-388_PASQUALE-vPE 0",
799                 "vfModules": {},
800                 "volumeGroups": {},
801                 "vfcInstanceGroups": {}
802               },
803               "2017-488_PASQUALE-vPE 0": {
804                 "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
805                 "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
806                 "description": "Name PASQUALE vPE Description The provider edge function for the PASQUALE service supported by the Junipers VMX product Category Router Vendor Juniper Vendor Release Code 17.2 Owners Mary Fragale. Updated 9-25 to use v8.0 of the Juniper Valid 2 VLM",
807                 "name": "2017-488_PASQUALE-vPE",
808                 "version": "5.0",
809                 "customizationUuid": "1da7b585-5e61-4993-b95e-8e6606c81e45",
810                 "inputs": {
811                   "vnf_config_template_version": {
812                     "type": "string",
813                     "description": "VPE Software Version",
814                     "entry_schema": null,
815                     "inputProperties": null,
816                     "constraints": [],
817                     "required": true,
818                     "default": "17.2"
819                   },
820                   "bandwidth_units": {
821                     "type": "string",
822                     "description": "Units of bandwidth",
823                     "entry_schema": null,
824                     "inputProperties": null,
825                     "constraints": [],
826                     "required": true,
827                     "default": "Gbps"
828                   },
829                   "bandwidth": {
830                     "type": "string",
831                     "description": "Requested VPE bandwidth",
832                     "entry_schema": null,
833                     "inputProperties": null,
834                     "constraints": [],
835                     "required": true,
836                     "default": "10"
837                   },
838                   "AIC_CLLI": {
839                     "type": "string",
840                     "description": "AIC Site CLLI",
841                     "entry_schema": null,
842                     "inputProperties": null,
843                     "constraints": [],
844                     "required": true,
845                     "default": "ATLMY8GA"
846                   },
847                   "ASN": {
848                     "type": "string",
849                     "description": "AV/PE",
850                     "entry_schema": null,
851                     "inputProperties": null,
852                     "constraints": [],
853                     "required": true,
854                     "default": "AV_vPE"
855                   },
856                   "vnf_instance_name": {
857                     "type": "string",
858                     "description": "The hostname assigned to the vpe.",
859                     "entry_schema": null,
860                     "inputProperties": null,
861                     "constraints": [],
862                     "required": true,
863                     "default": "mtnj309me6"
864                   }
865                 },
866                 "commands": {
867                   "vnf_config_template_version": {
868                     "displayName": "vnf_config_template_version",
869                     "command": "get_input",
870                     "inputName": "2017488_pasqualevpe0_vnf_config_template_version"
871                   },
872                   "bandwidth_units": {
873                     "displayName": "bandwidth_units",
874                     "command": "get_input",
875                     "inputName": "pasqualevpe0_bandwidth_units"
876                   },
877                   "bandwidth": {"displayName": "bandwidth", "command": "get_input", "inputName": "pasqualevpe0_bandwidth"},
878                   "AIC_CLLI": {
879                     "displayName": "AIC_CLLI",
880                     "command": "get_input",
881                     "inputName": "2017488_pasqualevpe0_AIC_CLLI"
882                   },
883                   "ASN": {"displayName": "ASN", "command": "get_input", "inputName": "2017488_pasqualevpe0_ASN"},
884                   "vnf_instance_name": {
885                     "displayName": "vnf_instance_name",
886                     "command": "get_input",
887                     "inputName": "2017488_pasqualevpe0_vnf_instance_name"
888                   }
889                 },
890                 "properties": {
891                   "vmxvre_retype": "RE-VMX",
892                   "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
893                   "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
894                   "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
895                   "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
896                   "int_ctl_net_name": "VMX-INTXI",
897                   "vmx_int_ctl_prefix": "10.0.0.10",
898                   "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
899                   "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
900                   "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
901                   "nf_type": "vPE",
902                   "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
903                   "is_AVPN_service": "false",
904                   "vmx_RSG_name": "vREXI-affinity",
905                   "vmx_int_ctl_forwarding": "l2",
906                   "vmxvre_oam_ip_0": "10.0.0.10",
907                   "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
908                   "vmxvpfe_sriov41_0_port_vlanstrip": "false",
909                   "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
910                   "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
911                   "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
912                   "vmxvre_instance": "0",
913                   "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
914                   "vmxvre_flavor_name": "ns.c1r16d32.v5",
915                   "vmxvpfe_volume_size_0": "40.0",
916                   "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
917                   "nf_naming": "{ecomp_generated_naming=false}",
918                   "nf_naming_code": "Navneet",
919                   "vmxvre_name_0": "vREXI",
920                   "vmxvpfe_sriov42_0_port_vlanstrip": "false",
921                   "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
922                   "max_instances": "3",
923                   "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
924                   "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
925                   "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
926                   "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
927                   "vmxvre_console": "vidconsole",
928                   "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
929                   "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
930                   "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
931                   "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
932                   "min_instances": "1",
933                   "vmxvpfe_sriov44_0_port_vlanstrip": "false",
934                   "vf_module_id": "123",
935                   "nf_function": "JAI",
936                   "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
937                   "vmxvre_int_ctl_ip_0": "10.0.0.10",
938                   "ecomp_generated_naming": "false",
939                   "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
940                   "vnf_name": "mtnj309me6vre",
941                   "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
942                   "vmxvre_volume_type_1": "HITACHI",
943                   "vmxvpfe_sriov44_0_port_broadcastallow": "true",
944                   "vmxvre_volume_type_0": "HITACHI",
945                   "vmxvpfe_volume_type_0": "HITACHI",
946                   "vmxvpfe_sriov43_0_port_broadcastallow": "true",
947                   "bandwidth_units": "get_input:pasqualevpe0_bandwidth_units",
948                   "vnf_id": "123",
949                   "vmxvre_oam_prefix": "24",
950                   "availability_zone_0": "mtpocfo-kvm-az01",
951                   "ASN": "get_input:2017488_pasqualevpe0_ASN",
952                   "vmxvre_chassis_i2cid": "161",
953                   "vmxvpfe_name_0": "vPFEXI",
954                   "bandwidth": "get_input:pasqualevpe0_bandwidth",
955                   "availability_zone_max_count": "1",
956                   "vmxvre_volume_size_0": "45.0",
957                   "vmxvre_volume_size_1": "50.0",
958                   "vmxvpfe_sriov42_0_port_broadcastallow": "true",
959                   "vmxvre_oam_gateway": "10.0.0.10",
960                   "vmxvre_volume_name_1": "vREXI_FAVolume",
961                   "vmxvre_ore_present": "0",
962                   "vmxvre_volume_name_0": "vREXI_FBVolume",
963                   "vmxvre_type": "0",
964                   "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
965                   "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
966                   "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
967                   "vmx_int_ctl_len": "24",
968                   "vmxvpfe_sriov43_0_port_vlanstrip": "false",
969                   "vmxvpfe_sriov41_0_port_broadcastallow": "true",
970                   "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
971                   "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
972                   "nf_role": "Testing",
973                   "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
974                   "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
975                   "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
976                 },
977                 "type": "VF",
978                 "modelCustomizationName": "2017-488_PASQUALE-vPE 0",
979                 "vfModules": {
980                   "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
981                     "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
982                     "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
983                     "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
984                     "description": null,
985                     "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
986                     "version": "6",
987                     "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
988                     "properties": {
989                       "minCountInstances": 0,
990                       "maxCountInstances": null,
991                       "initialCount": 0,
992                       "vfModuleLabel": "PASQUALE_vRE_BV"
993                     },
994                     "inputs": {
995                       "pasqualevpe0_bandwidth": {
996                         "type": "string",
997                         "description": "Requested VPE bandwidth",
998                         "entry_schema": null,
999                         "inputProperties": {
1000                           "sourceType": "HEAT",
1001                           "vfModuleLabel": "PASQUALE_vRE_BV",
1002                           "paramName": "bandwidth"
1003                         },
1004                         "constraints": null,
1005                         "required": true,
1006                         "default": "10"
1007                       },
1008                       "2017488_pasqualevpe0_vnf_instance_name": {
1009                         "type": "string",
1010                         "description": "The hostname assigned to the vpe.",
1011                         "entry_schema": null,
1012                         "inputProperties": {
1013                           "sourceType": "HEAT",
1014                           "vfModuleLabel": "PASQUALE_vRE_BV",
1015                           "paramName": "vnf_instance_name"
1016                         },
1017                         "constraints": null,
1018                         "required": true,
1019                         "default": "mtnj309me6"
1020                       },
1021                       "2017488_pasqualevpe0_vnf_config_template_version": {
1022                         "type": "string",
1023                         "description": "VPE Software Version",
1024                         "entry_schema": null,
1025                         "inputProperties": {
1026                           "sourceType": "HEAT",
1027                           "vfModuleLabel": "PASQUALE_vRE_BV",
1028                           "paramName": "vnf_config_template_version"
1029                         },
1030                         "constraints": null,
1031                         "required": true,
1032                         "default": "17.2"
1033                       },
1034                       "2017488_pasqualevpe0_AIC_CLLI": {
1035                         "type": "string",
1036                         "description": "AIC Site CLLI",
1037                         "entry_schema": null,
1038                         "inputProperties": {
1039                           "sourceType": "HEAT",
1040                           "vfModuleLabel": "PASQUALE_vRE_BV",
1041                           "paramName": "AIC_CLLI"
1042                         },
1043                         "constraints": null,
1044                         "required": true,
1045                         "default": "ATLMY8GA"
1046                       },
1047                       "pasqualevpe0_bandwidth_units": {
1048                         "type": "string",
1049                         "description": "Units of bandwidth",
1050                         "entry_schema": null,
1051                         "inputProperties": {
1052                           "sourceType": "HEAT",
1053                           "vfModuleLabel": "PASQUALE_vRE_BV",
1054                           "paramName": "bandwidth_units"
1055                         },
1056                         "constraints": null,
1057                         "required": true,
1058                         "default": "Gbps"
1059                       }
1060                     },
1061                     "volumeGroupAllowed": true
1062                   },
1063                   "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
1064                     "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
1065                     "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
1066                     "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
1067                     "description": null,
1068                     "name": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
1069                     "version": "5",
1070                     "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
1071                     "properties": {
1072                       "minCountInstances": 1,
1073                       "maxCountInstances": 1,
1074                       "initialCount": 1,
1075                       "vfModuleLabel": "PASQUALE_base_vPE_BV"
1076                     },
1077                     "inputs": {},
1078                     "volumeGroupAllowed": false
1079                   },
1080                   "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
1081                     "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
1082                     "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
1083                     "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
1084                     "description": null,
1085                     "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1086                     "version": "6",
1087                     "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1088                     "properties": {
1089                       "minCountInstances": 0,
1090                       "maxCountInstances": null,
1091                       "initialCount": 0,
1092                       "vfModuleLabel": "PASQUALE_vPFE_BV"
1093                     },
1094                     "inputs": {},
1095                     "volumeGroupAllowed": true
1096                   }
1097                 },
1098                 "volumeGroups": {
1099                   "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
1100                     "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
1101                     "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
1102                     "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
1103                     "description": null,
1104                     "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
1105                     "version": "6",
1106                     "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
1107                     "properties": {
1108                       "minCountInstances": 0,
1109                       "maxCountInstances": null,
1110                       "initialCount": 0,
1111                       "vfModuleLabel": "PASQUALE_vRE_BV"
1112                     },
1113                     "inputs": {
1114                       "pasqualevpe0_bandwidth": {
1115                         "type": "string",
1116                         "description": "Requested VPE bandwidth",
1117                         "entry_schema": null,
1118                         "inputProperties": {
1119                           "sourceType": "HEAT",
1120                           "vfModuleLabel": "PASQUALE_vRE_BV",
1121                           "paramName": "bandwidth"
1122                         },
1123                         "constraints": null,
1124                         "required": true,
1125                         "default": "10"
1126                       },
1127                       "2017488_pasqualevpe0_vnf_instance_name": {
1128                         "type": "string",
1129                         "description": "The hostname assigned to the vpe.",
1130                         "entry_schema": null,
1131                         "inputProperties": {
1132                           "sourceType": "HEAT",
1133                           "vfModuleLabel": "PASQUALE_vRE_BV",
1134                           "paramName": "vnf_instance_name"
1135                         },
1136                         "constraints": null,
1137                         "required": true,
1138                         "default": "mtnj309me6"
1139                       },
1140                       "2017488_pasqualevpe0_vnf_config_template_version": {
1141                         "type": "string",
1142                         "description": "VPE Software Version",
1143                         "entry_schema": null,
1144                         "inputProperties": {
1145                           "sourceType": "HEAT",
1146                           "vfModuleLabel": "PASQUALE_vRE_BV",
1147                           "paramName": "vnf_config_template_version"
1148                         },
1149                         "constraints": null,
1150                         "required": true,
1151                         "default": "17.2"
1152                       },
1153                       "2017488_pasqualevpe0_AIC_CLLI": {
1154                         "type": "string",
1155                         "description": "AIC Site CLLI",
1156                         "entry_schema": null,
1157                         "inputProperties": {
1158                           "sourceType": "HEAT",
1159                           "vfModuleLabel": "PASQUALE_vRE_BV",
1160                           "paramName": "AIC_CLLI"
1161                         },
1162                         "constraints": null,
1163                         "required": true,
1164                         "default": "ATLMY8GA"
1165                       },
1166                       "pasqualevpe0_bandwidth_units": {
1167                         "type": "string",
1168                         "description": "Units of bandwidth",
1169                         "entry_schema": null,
1170                         "inputProperties": {
1171                           "sourceType": "HEAT",
1172                           "vfModuleLabel": "PASQUALE_vRE_BV",
1173                           "paramName": "bandwidth_units"
1174                         },
1175                         "constraints": null,
1176                         "required": true,
1177                         "default": "Gbps"
1178                       }
1179                     }
1180                   },
1181                   "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
1182                     "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
1183                     "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
1184                     "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
1185                     "description": null,
1186                     "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1187                     "version": "6",
1188                     "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1189                     "properties": {
1190                       "minCountInstances": 0,
1191                       "maxCountInstances": null,
1192                       "initialCount": 0,
1193                       "vfModuleLabel": "PASQUALE_vPFE_BV"
1194                     },
1195                     "inputs": {}
1196                   }
1197                 },
1198                 "vfcInstanceGroups": {}
1199               }
1200             },
1201             "networks": {
1202               "ExtVL 0": {
1203                 "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
1204                 "invariantUuid": "379f816b-a7aa-422f-be30-17114ff50b7c",
1205                 "description": "ECOMP generic virtual link (network) base type for all other service-level and global networks",
1206                 "name": "ExtVL",
1207                 "version": "37.0",
1208                 "customizationUuid": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
1209                 "inputs": {
1210                   "vnf_config_template_version": {
1211                     "type": "string",
1212                     "description": "VPE Software Version",
1213                     "entry_schema": null,
1214                     "inputProperties": null,
1215                     "constraints": [],
1216                     "required": true,
1217                     "default": "17.2"
1218                   },
1219                   "bandwidth_units": {
1220                     "type": "string",
1221                     "description": "Units of bandwidth",
1222                     "entry_schema": null,
1223                     "inputProperties": null,
1224                     "constraints": [],
1225                     "required": true,
1226                     "default": "Gbps"
1227                   },
1228                   "bandwidth": {
1229                     "type": "string",
1230                     "description": "Requested VPE bandwidth",
1231                     "entry_schema": null,
1232                     "inputProperties": null,
1233                     "constraints": [],
1234                     "required": true,
1235                     "default": "10"
1236                   },
1237                   "AIC_CLLI": {
1238                     "type": "string",
1239                     "description": "AIC Site CLLI",
1240                     "entry_schema": null,
1241                     "inputProperties": null,
1242                     "constraints": [],
1243                     "required": true,
1244                     "default": "ATLMY8GA"
1245                   },
1246                   "ASN": {
1247                     "type": "string",
1248                     "description": "AV/PE",
1249                     "entry_schema": null,
1250                     "inputProperties": null,
1251                     "constraints": [],
1252                     "required": true,
1253                     "default": "AV_vPE"
1254                   },
1255                   "vnf_instance_name": {
1256                     "type": "string",
1257                     "description": "The hostname assigned to the vpe.",
1258                     "entry_schema": null,
1259                     "inputProperties": null,
1260                     "constraints": [],
1261                     "required": true,
1262                     "default": "mtnj309me6"
1263                   }
1264                 },
1265                 "commands": {},
1266                 "properties": {
1267                   "network_role" : "network role 1, network role 2",
1268                   "min_instances": 1,
1269                   "max_instances": 10,
1270                   "network_assignments": "{is_external_network=false, ipv4_subnet_default_assignment={min_subnets_count=1}, ecomp_generated_network_assignment=false, ipv6_subnet_default_assignment={min_subnets_count=1}}",
1271                   "exVL_naming": "{ecomp_generated_naming=true}",
1272                   "network_flows": "{is_network_policy=false, is_bound_to_vpn=false}",
1273                   "network_homing": "{ecomp_selected_instance_node_target=false}"
1274                 },
1275                 "type": "VL",
1276                 "modelCustomizationName": "ExtVL 0"
1277               }
1278             },
1279             "collectionResources": {},
1280             "configurations": {},
1281             "fabricConfigurations": {},
1282             "serviceProxies": {},
1283             "vfModules": {
1284               "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
1285                 "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
1286                 "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
1287                 "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
1288                 "description": null,
1289                 "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
1290                 "version": "6",
1291                 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
1292                 "properties": {
1293                   "minCountInstances": 0,
1294                   "maxCountInstances": null,
1295                   "initialCount": 0,
1296                   "vfModuleLabel": "PASQUALE_vRE_BV"
1297                 },
1298                 "inputs": {
1299                   "pasqualevpe0_bandwidth": {
1300                     "type": "string",
1301                     "description": "Requested VPE bandwidth",
1302                     "entry_schema": null,
1303                     "inputProperties": {
1304                       "sourceType": "HEAT",
1305                       "vfModuleLabel": "PASQUALE_vRE_BV",
1306                       "paramName": "bandwidth"
1307                     },
1308                     "constraints": null,
1309                     "required": true,
1310                     "default": "10"
1311                   },
1312                   "2017488_pasqualevpe0_vnf_instance_name": {
1313                     "type": "string",
1314                     "description": "The hostname assigned to the vpe.",
1315                     "entry_schema": null,
1316                     "inputProperties": {
1317                       "sourceType": "HEAT",
1318                       "vfModuleLabel": "PASQUALE_vRE_BV",
1319                       "paramName": "vnf_instance_name"
1320                     },
1321                     "constraints": null,
1322                     "required": true,
1323                     "default": "mtnj309me6"
1324                   },
1325                   "2017488_pasqualevpe0_vnf_config_template_version": {
1326                     "type": "string",
1327                     "description": "VPE Software Version",
1328                     "entry_schema": null,
1329                     "inputProperties": {
1330                       "sourceType": "HEAT",
1331                       "vfModuleLabel": "PASQUALE_vRE_BV",
1332                       "paramName": "vnf_config_template_version"
1333                     },
1334                     "constraints": null,
1335                     "required": true,
1336                     "default": "17.2"
1337                   },
1338                   "2017488_pasqualevpe0_AIC_CLLI": {
1339                     "type": "string",
1340                     "description": "AIC Site CLLI",
1341                     "entry_schema": null,
1342                     "inputProperties": {"sourceType": "HEAT", "vfModuleLabel": "PASQUALE_vRE_BV", "paramName": "AIC_CLLI"},
1343                     "constraints": null,
1344                     "required": true,
1345                     "default": "ATLMY8GA"
1346                   },
1347                   "pasqualevpe0_bandwidth_units": {
1348                     "type": "string",
1349                     "description": "Units of bandwidth",
1350                     "entry_schema": null,
1351                     "inputProperties": {
1352                       "sourceType": "HEAT",
1353                       "vfModuleLabel": "PASQUALE_vRE_BV",
1354                       "paramName": "bandwidth_units"
1355                     },
1356                     "constraints": null,
1357                     "required": true,
1358                     "default": "Gbps"
1359                   }
1360                 },
1361                 "volumeGroupAllowed": true
1362               },
1363               "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
1364                 "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
1365                 "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
1366                 "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
1367                 "description": null,
1368                 "name": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
1369                 "version": "5",
1370                 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
1371                 "properties": {
1372                   "minCountInstances": 1,
1373                   "maxCountInstances": 1,
1374                   "initialCount": 1,
1375                   "vfModuleLabel": "PASQUALE_base_vPE_BV"
1376                 },
1377                 "inputs": {},
1378                 "volumeGroupAllowed": false
1379               },
1380               "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
1381                 "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
1382                 "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
1383                 "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
1384                 "description": null,
1385                 "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1386                 "version": "6",
1387                 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1388                 "properties": {
1389                   "minCountInstances": 0,
1390                   "maxCountInstances": null,
1391                   "initialCount": 0,
1392                   "vfModuleLabel": "PASQUALE_vPFE_BV"
1393                 },
1394                 "inputs": {},
1395                 "volumeGroupAllowed": true
1396               }
1397             },
1398             "volumeGroups": {
1399               "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
1400                 "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
1401                 "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
1402                 "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
1403                 "description": null,
1404                 "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
1405                 "version": "6",
1406                 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
1407                 "properties": {
1408                   "minCountInstances": 0,
1409                   "maxCountInstances": null,
1410                   "initialCount": 0,
1411                   "vfModuleLabel": "PASQUALE_vRE_BV"
1412                 },
1413                 "inputs": {
1414                   "pasqualevpe0_bandwidth": {
1415                     "type": "string",
1416                     "description": "Requested VPE bandwidth",
1417                     "entry_schema": null,
1418                     "inputProperties": {
1419                       "sourceType": "HEAT",
1420                       "vfModuleLabel": "PASQUALE_vRE_BV",
1421                       "paramName": "bandwidth"
1422                     },
1423                     "constraints": null,
1424                     "required": true,
1425                     "default": "10"
1426                   },
1427                   "2017488_pasqualevpe0_vnf_instance_name": {
1428                     "type": "string",
1429                     "description": "The hostname assigned to the vpe.",
1430                     "entry_schema": null,
1431                     "inputProperties": {
1432                       "sourceType": "HEAT",
1433                       "vfModuleLabel": "PASQUALE_vRE_BV",
1434                       "paramName": "vnf_instance_name"
1435                     },
1436                     "constraints": null,
1437                     "required": true,
1438                     "default": "mtnj309me6"
1439                   },
1440                   "2017488_pasqualevpe0_vnf_config_template_version": {
1441                     "type": "string",
1442                     "description": "VPE Software Version",
1443                     "entry_schema": null,
1444                     "inputProperties": {
1445                       "sourceType": "HEAT",
1446                       "vfModuleLabel": "PASQUALE_vRE_BV",
1447                       "paramName": "vnf_config_template_version"
1448                     },
1449                     "constraints": null,
1450                     "required": true,
1451                     "default": "17.2"
1452                   },
1453                   "2017488_pasqualevpe0_AIC_CLLI": {
1454                     "type": "string",
1455                     "description": "AIC Site CLLI",
1456                     "entry_schema": null,
1457                     "inputProperties": {"sourceType": "HEAT", "vfModuleLabel": "PASQUALE_vRE_BV", "paramName": "AIC_CLLI"},
1458                     "constraints": null,
1459                     "required": true,
1460                     "default": "ATLMY8GA"
1461                   },
1462                   "pasqualevpe0_bandwidth_units": {
1463                     "type": "string",
1464                     "description": "Units of bandwidth",
1465                     "entry_schema": null,
1466                     "inputProperties": {
1467                       "sourceType": "HEAT",
1468                       "vfModuleLabel": "PASQUALE_vRE_BV",
1469                       "paramName": "bandwidth_units"
1470                     },
1471                     "constraints": null,
1472                     "required": true,
1473                     "default": "Gbps"
1474                   }
1475                 }
1476               },
1477               "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
1478                 "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
1479                 "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
1480                 "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
1481                 "description": null,
1482                 "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1483                 "version": "6",
1484                 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1485                 "properties": {
1486                   "minCountInstances": 0,
1487                   "maxCountInstances": null,
1488                   "initialCount": 0,
1489                   "vfModuleLabel": "PASQUALE_vPFE_BV"
1490                 },
1491                 "inputs": {}
1492               }
1493             },
1494             "pnfs": {}
1495           }
1496         },
1497         "serviceInstance": {
1498           "6e59c5de-f052-46fa-aa7e-2fca9d674c44": {
1499             "vnfs": {
1500               "VF_vGeraldine 0": {
1501                 "rollbackOnFailure": "true",
1502                 "vfModules": {
1503                   "vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0": {
1504                     "vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0vmvzo": {
1505                       "isMissingData": false,
1506                       "sdncPreReload": null,
1507                       "modelInfo": {
1508                         "modelType": "VFmodule",
1509                         "modelInvariantId": "a6f9e51a-2b35-416a-ae15-15e58d61f36d",
1510                         "modelVersionId": "a27f5cfc-7f12-4f99-af08-0af9c3885c87",
1511                         "modelName": "VfVgeraldine..base_vflorence..module-0",
1512                         "modelVersion": "2",
1513                         "modelCustomizationId": "f8c040f1-7e51-4a11-aca8-acf256cfd861",
1514                         "modelCustomizationName": "VfVgeraldine..base_vflorence..module-0"
1515                       },
1516                       "instanceParams": [{}],
1517                       "trackById": "wmtm6sy2uj"
1518                     }
1519                   }
1520                 },
1521                 "isMissingData": true,
1522                 "originalName": "VF_vGeraldine 0",
1523                 "vnfStoreKey": "VF_vGeraldine 0",
1524                 "trackById": "p3wk448m5do",
1525                 "uuid": "d6557200-ecf2-4641-8094-5393ae3aae60",
1526                 "productFamilyId": "36b4733a-53f4-4cc8-8ff0-9172e5fc4b8e",
1527                 "lcpCloudRegionId": null,
1528                 "tenantId": null,
1529                 "lineOfBusiness": null,
1530                 "platformName": null,
1531                 "modelInfo": {
1532                   "modelType": "VF",
1533                   "modelInvariantId": "4160458e-f648-4b30-a176-43881ffffe9e",
1534                   "modelVersionId": "6e59c5de-f052-46fa-aa7e-2fca9d674c44",
1535                   "modelName": "VF_vGeraldine",
1536                   "modelVersion": "2.0",
1537                   "modelCustomizationName": "VF_vGeraldine 0"
1538                 }
1539               }
1540             },
1541             "networks": {},
1542             "instanceParams": [{}],
1543             "validationCounter": 1,
1544             "existingNames": {},
1545             "existingVNFCounterMap": {"d6557200-ecf2-4641-8094-5393ae3aae60": 1},
1546             "globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89",
1547             "subscriptionServiceType": "TYLER SILVIA",
1548             "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
1549             "productFamilyId": "36b4733a-53f4-4cc8-8ff0-9172e5fc4b8e",
1550             "lcpCloudRegionId": "hvf6",
1551             "tenantId": "229bcdc6eaeb4ca59d55221141d01f8e",
1552             "aicZoneId": "JAG1",
1553             "projectName": "x1",
1554             "rollbackOnFailure": "true",
1555             "bulkSize": 1,
1556             "modelInfo": {
1557               "modelInvariantId": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
1558               "modelVersionId": "6e59c5de-f052-46fa-aa7e-2fca9d674c44",
1559               "modelName": "ComplexService",
1560               "modelVersion": "1.0",
1561               "uuid": "6e59c5de-f052-46fa-aa7e-2fca9d674c44"
1562             },
1563             "isALaCarte": false,
1564             "name": "ComplexService",
1565             "version": "1.0",
1566             "description": "ComplexService",
1567             "category": "Emanuel",
1568             "uuid": "6e59c5de-f052-46fa-aa7e-2fca9d674c44",
1569             "invariantUuid": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
1570             "serviceType": "",
1571             "serviceRole": "",
1572             "isMultiStepDesign": false
1573           },
1574           "6b528779-44a3-4472-bdff-9cd15ec93450": {
1575             "networks": {
1576               "ExtVL 0": {
1577                 "rollbackOnFailure": "true",
1578                 "isMissingData": false,
1579                 "originalName": "ExtVL 0",
1580                 "networkStoreKey": "ExtVL 0",
1581                 "trackById": "sf3zth68xjf",
1582                 "productFamilyId": "ebc3bc3d-62fd-4a3f-a037-f619df4ff034",
1583                 "lcpCloudRegionId": "hvf6",
1584                 "tenantId": "229bcdc6eaeb4ca59d55221141d01f8e",
1585                 "platformName": "xxx1",
1586                 "lineOfBusiness": "ONAP",
1587                 "instanceParams": [{}],
1588                 "modelInfo": {
1589                   "modelInvariantId": "379f816b-a7aa-422f-be30-17114ff50b7c",
1590                   "modelVersionId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
1591                   "modelName": "ExtVL",
1592                   "modelVersion": "37.0",
1593                   "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
1594                   "modelCustomizationName": "ExtVL 0",
1595                   "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
1596                 },
1597                 "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
1598               },
1599               "ExtVL 0:0001": {
1600                 "rollbackOnFailure": "true",
1601                 "isMissingData": false,
1602                 "originalName": "ExtVL 0",
1603                 "networkStoreKey": "ExtVL 0",
1604                 "trackById": "2mdxioxca9h",
1605                 "productFamilyId": "ebc3bc3d-62fd-4a3f-a037-f619df4ff034",
1606                 "lcpCloudRegionId": "hvf6",
1607                 "tenantId": "229bcdc6eaeb4ca59d55221141d01f8e",
1608                 "platformName": "xxx1",
1609                 "lineOfBusiness": "ONAP",
1610                 "instanceParams": [{}],
1611                 "modelInfo": {
1612                   "modelInvariantId": "379f816b-a7aa-422f-be30-17114ff50b7c",
1613                   "modelVersionId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
1614                   "modelName": "ExtVL",
1615                   "modelVersion": "37.0",
1616                   "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
1617                   "modelCustomizationName": "ExtVL 0",
1618                   "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
1619                 },
1620                 "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
1621               },
1622               "ExtVL 0_1": {
1623                 "rollbackOnFailure": "true",
1624                 "isMissingData": false,
1625                 "originalName": "ExtVL 0",
1626                 "networkStoreKey": "ExtVL 0_1",
1627                 "trackById": "z7vd1gmpbs",
1628                 "instanceName": "ExtVL",
1629                 "productFamilyId": "17cc1042-527b-11e6-beb8-9e71128cae77",
1630                 "lcpCloudRegionId": "hvf6",
1631                 "tenantId": "229bcdc6eaeb4ca59d55221141d01f8e",
1632                 "platformName": "xxx1",
1633                 "lineOfBusiness": "zzz1",
1634                 "instanceParams": [{
1635                   "vnf_config_template_version": "17.2",
1636                   "bandwidth_units": "Gbps",
1637                   "bandwidth": "10",
1638                   "AIC_CLLI": "ATLMY8GA",
1639                   "ASN": "AV_vPE",
1640                   "vnf_instance_name": "yoav"
1641                 }],
1642                 "modelInfo": {
1643                   "modelInvariantId": "379f816b-a7aa-422f-be30-17114ff50b7c",
1644                   "modelVersionId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
1645                   "modelName": "ExtVL",
1646                   "modelVersion": "37.0",
1647                   "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
1648                   "modelCustomizationName": "ExtVL 0",
1649                   "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
1650                 },
1651                 "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
1652               }
1653             },
1654             "vnfs": {
1655               "2017-488_PASQUALE-vPE 0": {
1656                 "rollbackOnFailure": "true",
1657                 "vfModules": {
1658                   "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
1659                     "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1sgoqi": {
1660                       "instanceName": "yoav",
1661                       "volumeGroupName": "123",
1662                       "modelInfo": {
1663                         "modelInvariantId": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
1664                         "modelVersionId": "25284168-24bb-4698-8cb4-3f509146eca5",
1665                         "modelName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
1666                         "modelVersion": "6",
1667                         "modelCustomizationId": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
1668                         "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
1669                         "uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
1670                       },
1671                       "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
1672                       "isMissingData": false,
1673                       "instanceParams": [{
1674                         "pasqualevpe0_bandwidth": "10",
1675                         "2017488_pasqualevpe0_vnf_instance_name": "mtnj309me6",
1676                         "2017488_pasqualevpe0_vnf_config_template_version": "17.2",
1677                         "2017488_pasqualevpe0_AIC_CLLI": "ATLMY8GA",
1678                         "pasqualevpe0_bandwidth_units": "Gbps"
1679                       }]
1680                     }
1681                   }
1682                 },
1683                 "isMissingData": false,
1684                 "originalName": "2017-488_PASQUALE-vPE 0",
1685                 "vnfStoreKey": "2017-488_PASQUALE-vPE 0",
1686                 "trackById": "o65b26t2thj",
1687                 "instanceName": "2017488_PASQUALEvPE",
1688                 "productFamilyId": "ebc3bc3d-62fd-4a3f-a037-f619df4ff034",
1689                 "lcpCloudRegionId": "hvf6",
1690                 "tenantId": "bae71557c5bb4d5aac6743a4e5f1d054",
1691                 "platformName": "platform",
1692                 "lineOfBusiness": "ONAP",
1693                 "instanceParams": [{}],
1694                 "modelInfo": {
1695                   "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
1696                   "modelVersionId": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
1697                   "modelName": "2017-488_PASQUALE-vPE",
1698                   "modelVersion": "5.0",
1699                   "modelCustomizationId": "1da7b585-5e61-4993-b95e-8e6606c81e45",
1700                   "modelCustomizationName": "2017-488_PASQUALE-vPE 0",
1701                   "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09"
1702                 },
1703                 "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09"
1704               }
1705             },
1706             "instanceParams": [{"2017488_pasqualevpe0_ASN": "AV_vPE"}],
1707             "validationCounter": 0,
1708             "existingNames": {"123": "", "instancename": "", "yoav": "", "extvl": ""},
1709             "existingVNFCounterMap": {"69e09f68-8b63-4cc9-b9ff-860960b5db09": 1},
1710             "existingNetworksCounterMap": {"ddc3f20c-08b5-40fd-af72-c6d14636b986": 3},
1711             "instanceName": "InstanceName",
1712             "globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89",
1713             "subscriptionServiceType": "TYLER SILVIA",
1714             "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
1715             "productFamilyId": "17cc1042-527b-11e6-beb8-9e71128cae77",
1716             "lcpCloudRegionId": "AAIAIC25",
1717             "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1718             "aicZoneId": "JAG1",
1719             "projectName": null,
1720             "rollbackOnFailure": "true",
1721             "aicZoneName": "YUDFJULP-JAG1",
1722             "owningEntityName": "WayneHolland",
1723             "testApi": "GR_API",
1724             "tenantName": "USP-SIP-IC-24335-T-01",
1725             "bulkSize": 1,
1726             "modelInfo": {
1727               "modelInvariantId": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
1728               "modelVersionId": "6b528779-44a3-4472-bdff-9cd15ec93450",
1729               "modelName": "action-data",
1730               "modelVersion": "1.0",
1731               "uuid": "6b528779-44a3-4472-bdff-9cd15ec93450"
1732             },
1733             "isALaCarte": false,
1734             "name": "action-data",
1735             "version": "1.0",
1736             "description": "",
1737             "category": "",
1738             "uuid": "6b528779-44a3-4472-bdff-9cd15ec93450",
1739             "invariantUuid": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
1740             "serviceType": "",
1741             "serviceRole": "",
1742             "isMultiStepDesign": false
1743           }
1744         },
1745         "lcpRegionsAndTenants": {
1746           "lcpRegionList": [{
1747             "id": "AAIAIC25",
1748             "name": "AAIAIC25",
1749             "isPermitted": true
1750           }, {"id": "hvf6", "name": "hvf6", "isPermitted": true}],
1751           "lcpRegionsTenantsMap": {
1752             "AAIAIC25": [{
1753               "id": "092eb9e8e4b7412e8787dd091bc58e86",
1754               "name": "USP-SIP-IC-24335-T-01",
1755               "isPermitted": true
1756             }],
1757             "hvf6": [{
1758               "id": "bae71557c5bb4d5aac6743a4e5f1d054",
1759               "name": "AIN Web Tool-15-D-testalexandria",
1760               "isPermitted": true
1761             }, {
1762               "id": "d0a3e3f2964542259d155a81c41aadc3",
1763               "name": "test-hvf6-09",
1764               "isPermitted": true
1765             }, {
1766               "id": "fa45ca53c80b492fa8be5477cd84fc2b",
1767               "name": "ro-T112",
1768               "isPermitted": true
1769             }, {
1770               "id": "4914ab0ab3a743e58f0eefdacc1dde77",
1771               "name": "DN5242-Nov21-T1",
1772               "isPermitted": true
1773             }, {
1774               "id": "d0a3e3f2964542259d155a81c41aadc3",
1775               "name": "test-hvf6-09",
1776               "isPermitted": true
1777             }, {"id": "cbb99fe4ada84631b7baf046b6fd2044", "name": "DN5242-Nov16-T3", "isPermitted": true}]
1778           }
1779         },
1780         "productFamilies": [{
1781           "id": "ebc3bc3d-62fd-4a3f-a037-f619df4ff034",
1782           "name": "ERICA",
1783           "isPermitted": true
1784         }, {
1785           "id": "17cc1042-527b-11e6-beb8-9e71128cae77",
1786           "name": "IGNACIO",
1787           "isPermitted": true
1788         }, {
1789           "id": "36b4733a-53f4-4cc8-8ff0-9172e5fc4b8e",
1790           "name": "Christie",
1791           "isPermitted": true
1792         }, {
1793           "id": "a4f6f2ae-9bf5-4ed7-b904-06b2099c4bd7",
1794           "name": "Enhanced Services",
1795           "isPermitted": true
1796         }, {"id": "vTerrance", "name": "vTerrance", "isPermitted": true}, {
1797           "id": "323d69d9-2efe-4r45-ay0a-89ea7ard4e6f",
1798           "name": "vEsmeralda",
1799           "isPermitted": true
1800         }, {
1801           "id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
1802           "name": "Emanuel",
1803           "isPermitted": true
1804         }, {
1805           "id": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
1806           "name": "BVOIP",
1807           "isPermitted": true
1808         }, {"id": "db171b8f-115c-4992-a2e3-ee04cae357e0", "name": "LINDSEY", "isPermitted": true}, {
1809           "id": "LRSI-OSPF",
1810           "name": "LRSI-OSPF",
1811           "isPermitted": true
1812         }, {"id": "vRosemarie", "name": "HNGATEWAY", "isPermitted": true}, {
1813           "id": "vHNPaas",
1814           "name": "WILKINS",
1815           "isPermitted": true
1816         }, {
1817           "id": "e433710f-9217-458d-a79d-1c7aff376d89",
1818           "name": "TYLER SILVIA",
1819           "isPermitted": true
1820         }, {"id": "b6a3f28c-eebf-494c-a900-055cc7c874ce", "name": "VROUTER", "isPermitted": true}, {
1821           "id": "vMuriel",
1822           "name": "vMuriel",
1823           "isPermitted": true
1824         }, {
1825           "id": "0ee8c1bc-7cbd-4b0a-a1ac-e9999255abc1",
1826           "name": "CARA Griffin",
1827           "isPermitted": true
1828         }, {
1829           "id": "c7611ebe-c324-48f1-8085-94aef0c6ef3d",
1830           "name": "DARREN MCGEE",
1831           "isPermitted": true
1832         }, {"id": "e30755dc-5673-4b6b-9dcf-9abdd96b93d1", "name": "Transport", "isPermitted": true}, {
1833           "id": "vSalvatore",
1834           "name": "vSalvatore",
1835           "isPermitted": true
1836         }, {"id": "d7bb0a21-66f2-4e6d-87d9-9ef3ced63ae4", "name": "JOSEFINA", "isPermitted": true}, {
1837           "id": "vHubbard",
1838           "name": "vHubbard",
1839           "isPermitted": true
1840         }, {"id": "12a96a9d-4b4c-4349-a950-fe1159602621", "name": "DARREN MCGEE", "isPermitted": true}],
1841         "serviceTypes": {
1842           "e433710f-9217-458d-a79d-1c7aff376d89": [{
1843             "id": "0",
1844             "name": "vRichardson",
1845             "isPermitted": false
1846           }, {"id": "1", "name": "TYLER SILVIA", "isPermitted": true}, {
1847             "id": "2",
1848             "name": "Emanuel",
1849             "isPermitted": false
1850           }, {"id": "3", "name": "vJamie", "isPermitted": false}, {
1851             "id": "4",
1852             "name": "vVoiceMail",
1853             "isPermitted": false
1854           }, {"id": "5", "name": "Kennedy", "isPermitted": false}, {
1855             "id": "6",
1856             "name": "vPorfirio",
1857             "isPermitted": false
1858           }, {"id": "7", "name": "vVM", "isPermitted": false}, {
1859             "id": "8",
1860             "name": "vOTA",
1861             "isPermitted": false
1862           }, {"id": "9", "name": "vFLORENCE", "isPermitted": false}, {
1863             "id": "10",
1864             "name": "vMNS",
1865             "isPermitted": false
1866           }, {"id": "11", "name": "vEsmeralda", "isPermitted": false}, {
1867             "id": "12",
1868             "name": "VPMS",
1869             "isPermitted": false
1870           }, {"id": "13", "name": "vWINIFRED", "isPermitted": false}, {
1871             "id": "14",
1872             "name": "SSD",
1873             "isPermitted": false
1874           }, {"id": "15", "name": "vMOG", "isPermitted": false}, {
1875             "id": "16",
1876             "name": "LINDSEY",
1877             "isPermitted": false
1878           }, {"id": "17", "name": "JOHANNA_SANTOS", "isPermitted": false}, {
1879             "id": "18",
1880             "name": "vCarroll",
1881             "isPermitted": false
1882           }]
1883         },
1884         "aicZones": [{
1885           "id": "NFT1",
1886           "name": "NFTJSSSS-NFT1"
1887         }, {
1888           "id": "JAG1",
1889           "name": "YUDFJULP-JAG1"
1890         }, {
1891           "id": "YYY1",
1892           "name": "UUUAIAAI-YYY1"
1893         }, {
1894           "id": "AVT1",
1895           "name": "AVTRFLHD-AVT1"
1896         }, {
1897           "id": "ATL34",
1898           "name": "ATLSANAI-ATL34"
1899         }],
1900         "categoryParameters": {
1901           "owningEntityList": [{
1902             "id": "aaa1",
1903             "name": "aaa1"
1904           }, {"id": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc", "name": "WayneHolland"}, {
1905             "id": "Melissa",
1906             "name": "Melissa"
1907           }],
1908           "projectList": [{"id": "WATKINS", "name": "WATKINS"}, {"id": "x1", "name": "x1"}, {"id": "yyy1", "name": "yyy1"}],
1909           "lineOfBusinessList": [{"id": "ONAP", "name": "ONAP"}, {"id": "zzz1", "name": "zzz1"}],
1910           "platformList": [{"id": "platform", "name": "platform"}, {"id": "xxx1", "name": "xxx1"}]
1911         },
1912         "type": "[LCP_REGIONS_AND_TENANTS] Update",
1913         "subscribers": [{
1914           "id": "CAR_2020_ER",
1915           "name": "CAR_2020_ER",
1916           "isPermitted": true
1917         }, {
1918           "id": "21014aa2-526b-11e6-beb8-9e71128cae77",
1919           "name": "JULIO ERICKSON",
1920           "isPermitted": false
1921         }, {
1922           "id": "DHV1707-TestSubscriber-2",
1923           "name": "DALE BRIDGES",
1924           "isPermitted": false
1925         }, {"id": "DHV1707-TestSubscriber-1", "name": "LLOYD BRIDGES", "isPermitted": false}, {
1926           "id": "jimmy-example",
1927           "name": "JimmyExampleCust-20161102",
1928           "isPermitted": false
1929         }, {
1930           "id": "jimmy-example2",
1931           "name": "JimmyExampleCust-20161103",
1932           "isPermitted": false
1933         }, {
1934           "id": "ERICA5779-TestSub-PWT-102",
1935           "name": "ERICA5779-TestSub-PWT-102",
1936           "isPermitted": false
1937         }, {
1938           "id": "ERICA5779-TestSub-PWT-101",
1939           "name": "ERICA5779-TestSub-PWT-101",
1940           "isPermitted": false
1941         }, {
1942           "id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
1943           "name": "Emanuel",
1944           "isPermitted": false
1945         }, {
1946           "id": "ERICA5779-Subscriber-4",
1947           "name": "ERICA5779-Subscriber-5",
1948           "isPermitted": false
1949         }, {
1950           "id": "ERICA5779-TestSub-PWT-103",
1951           "name": "ERICA5779-TestSub-PWT-103",
1952           "isPermitted": false
1953         }, {
1954           "id": "ERICA5779-Subscriber-2",
1955           "name": "ERICA5779-Subscriber-2",
1956           "isPermitted": false
1957         }, {
1958           "id": "e433710f-9217-458d-a79d-1c7aff376d89",
1959           "name": "SILVIA ROBBINS",
1960           "isPermitted": true
1961         }, {
1962           "id": "ERICA5779-Subscriber-3",
1963           "name": "ERICA5779-Subscriber-3",
1964           "isPermitted": false
1965         }, {"id": "31739f3e-526b-11e6-beb8-9e71128cae77", "name": "CRAIG/ROBERTS", "isPermitted": false}]
1966       }
1967     };
1968   }
1969 }
1970
1971 class MockFeatureFlagsService {}
1972
1973 describe('VFModule popup service', () => {
1974   let injector;
1975   let service: VfModulePopupService;
1976   let genericFormService: GenericFormService
1977   let defaultDataGeneratorService: DefaultDataGeneratorService;
1978   let fb: FormBuilder;
1979   let iframeService: IframeService;
1980
1981   beforeAll(done => (async () => {
1982     TestBed.configureTestingModule({
1983       providers : [
1984         VfModulePopupService,
1985         BasicControlGenerator,
1986         VfModuleControlGenerator,
1987         DefaultDataGeneratorService,
1988         GenericFormService,
1989         FormBuilder,
1990         IframeService,
1991         AaiService,
1992         LogService,
1993         BasicPopupService,
1994         {provide:FeatureFlagsService, useClass: MockFeatureFlagsService},
1995         {provide: NgRedux, useClass: MockReduxStore},
1996         {provide: HttpClient, useClass: MockAppStore},
1997         {provide: SdcUiServices.ModalService, useClass: MockModalService}
1998       ]
1999     });
2000     await TestBed.compileComponents();
2001
2002     injector = getTestBed();
2003     service = injector.get(VfModulePopupService);
2004     genericFormService = injector.get(GenericFormService);
2005     defaultDataGeneratorService = injector.get(DefaultDataGeneratorService);
2006     fb = injector.get(FormBuilder);
2007     iframeService = injector.get(IframeService);
2008
2009   })().then(done).catch(done.fail));
2010
2011   test('getTitle should return the correct title for edit and create mode', () => {
2012     expect(service.getTitle(true)).toBe('Edit Module (Heat stack)');
2013     expect(service.getTitle(false)).toBe('Set new Module (Heat stack)');
2014   });
2015
2016   test('getInstance should return new VfModuleInstance', () => {
2017     const serviceId : string = '6b528779-44a3-4472-bdff-9cd15ec93450';
2018     const vnfStoreKey = null;
2019     const vfModuleStoreKey = "VF_vGeraldine 0";
2020     let  VfModuleInstance ;
2021     VfModuleInstance = service.getInstance(serviceId, vnfStoreKey, vfModuleStoreKey);
2022     expect (VfModuleInstance).toBeDefined();
2023   });
2024
2025   test('getSubLeftTitle should return network model name', () => {
2026     service.model = {
2027       'name' : 'Model name'
2028     };
2029     expect(service.getSubLeftTitle()).toBe('Model name');
2030   });
2031
2032   test('getSubRightTitle should return popup type', () => {
2033     expect(service.getSubRightTitle()).toBe('Module (Heat stack) Instance Details');
2034   });
2035
2036   test('getModelInformation should update modelInformations', () => {
2037     const serviceId: string = '6b528779-44a3-4472-bdff-9cd15ec93450';
2038     const vfModuleModelName: string = '2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1';
2039
2040     service.getModelInformation(serviceId, vfModuleModelName);
2041     expect(service.modelInformations.length).toEqual(15);
2042     expect(service.modelInformations[0].label).toEqual("Subscriber Name");
2043     expect(service.modelInformations[0].values).toEqual(['SILVIA ROBBINS']);
2044
2045     expect(service.modelInformations[1].label).toEqual("Service Name");
2046     expect(service.modelInformations[1].values).toEqual(['action-data']);
2047
2048     expect(service.modelInformations[2].label).toEqual("Service Instance Name");
2049     expect(service.modelInformations[2].values).toEqual(['InstanceName']);
2050
2051     expect(service.modelInformations[3].label).toEqual("Model Name");
2052     expect(service.modelInformations[3].values).toEqual(['2017488PasqualeVpe..PASQUALE_vRE_BV..module-1']);
2053
2054     expect(service.modelInformations[4].label).toEqual("Model version");
2055     expect(service.modelInformations[4].values).toEqual(['6']);
2056
2057     expect(service.modelInformations[5].label).toEqual("Description");
2058     expect(service.modelInformations[5].values).toEqual([null]);
2059
2060     expect(service.modelInformations[6].label).toEqual("Category");
2061     expect(service.modelInformations[6].values).toEqual([undefined]);
2062
2063     expect(service.modelInformations[7].label).toEqual("Sub Category");
2064     expect(service.modelInformations[7].values).toEqual([undefined]);
2065
2066     expect(service.modelInformations[8].label).toEqual("UUID");
2067     expect(service.modelInformations[8].values).toEqual(['25284168-24bb-4698-8cb4-3f509146eca5']);
2068
2069     expect(service.modelInformations[9].label).toEqual("Invariant UUID");
2070     expect(service.modelInformations[9].values).toEqual(['7253ff5c-97f0-4b8b-937c-77aeb4d79aa1']);
2071
2072     expect(service.modelInformations[10].label).toEqual("Service type");
2073     expect(service.modelInformations[10].values).toEqual(['']);
2074
2075     expect(service.modelInformations[11].label).toEqual("Service role");
2076     expect(service.modelInformations[11].values).toEqual(['']);
2077
2078     expect(service.modelInformations[12].label).toEqual("Minimum to instantiate");
2079     expect(service.modelInformations[12].values).toEqual(['0']);
2080
2081     expect(service.modelInformations[13].label).toEqual("Maximum to instantiate");
2082     expect(service.modelInformations[13].values).toEqual(['1']);
2083   });
2084
2085
2086   test('onCancel should trigger closeDialogEvent and iframe', () => {
2087     let that = <any>{
2088       parentElementClassName: 'content',
2089       _iframeService: iframeService
2090     };
2091     jest.spyOn(iframeService, 'removeClassCloseModal');
2092     jest.spyOn(service.closeDialogEvent, 'next');
2093
2094     service.onCancel(that, fb.group({}));
2095
2096     expect(that._iframeService.removeClassCloseModal).toHaveBeenCalledWith(that.parentElementClassName)
2097     expect(service.closeDialogEvent.next).toHaveBeenCalledWith(that);
2098   });
2099
2100   test('onSubmit should trigger onCancel', () => {
2101     let that = <any>{
2102       parentElementClassName: 'content',
2103       _iframeService: iframeService,
2104       storeVFModule: () => {
2105       },
2106       serviceModel: {
2107         uuid: 'someUUID'
2108       }
2109     };
2110     let form = fb.group({});
2111     jest.spyOn(service, 'onCancel');
2112     jest.spyOn(that, 'storeVFModule');
2113     jest.spyOn(window.parent, 'postMessage');
2114
2115     service.onSubmit(that, form);
2116
2117     expect(service.onCancel).toHaveBeenCalledWith(that, form);
2118     expect(that.storeVFModule).toHaveBeenCalledWith(that, form.value);
2119     expect(window.parent.postMessage).toHaveBeenCalledWith({
2120       eventId: 'submitIframe',
2121       data: {
2122         serviceModelId: 'someUUID'
2123       }
2124     }, "*");
2125   });
2126 });