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