e75cf24be7ba8fcf1e4127eb01f15e9269797034
[vid.git] / vid-webpack-master / cypress / integration / iFrames / vnf.popup.e2e.ts
1 ///<reference path="../../../node_modules/cypress/types/index.d.ts"/>
2
3 describe('Vnf popup', function () {
4   describe('basic UI tests', () => {
5
6     beforeEach(() => {
7       cy.window().then((win) => {
8         win.sessionStorage.clear();
9         cy.setReduxState();
10         cy.preventErrorsOnLoading();
11         cy.initAAIMock();
12         cy.initVidMock();
13         cy.login();
14       })
15     });
16
17     afterEach(() => {
18       cy.screenshot();
19     });
20
21     it('volume group should change on instance name blur if the value is null or empty', function () {
22         let redux = getReduxWithVNFS();
23         redux.service.serviceHierarchy['6e59c5de-f052-46fa-aa7e-2fca9d674c44'].vnfs['VF_vMee 0'].properties['ecomp_generated_naming'] = 'false';
24         redux.service.serviceHierarchy['6e59c5de-f052-46fa-aa7e-2fca9d674c44'].vfModules['vf_vmee0..VfVmee..vmme_vlc..module-1']['volumeGroupAllowed'] = true;
25
26         cy.setReduxState(<any>redux);
27         cy.openIframe('app/ui/#/servicePlanning?serviceModelId=6e59c5de-f052-46fa-aa7e-2fca9d674c44');
28
29         cy.getElementByDataTestsId('node-522159d5-d6e0-4c2a-aa44-5a542a12a830-vf_vmee0..VfVmee..vmme_vlc..module-1-menu-btn').click({force: true})
30           .getElementByDataTestsId('context-menu-edit').click({force: true})
31           .getElementByDataTestsId('form-set').should('not.have.attr', 'disabled')
32           .getElementByDataTestsId("instanceName").clear()
33           .getElementByDataTestsId('form-set').should('have.attr', 'disabled')
34           .typeToInput('instanceName', 'someInput1');
35         cy.getElementByDataTestsId('instanceName').blur();
36         cy.getElementByDataTestsId("volumeGroupName").should('have.value', 'someInput1_vol');
37         cy.getElementByDataTestsId('form-set').should('not.have.attr', 'disabled');
38         cy.typeToInput('volumeGroupName', 'textAfter');
39         cy.getElementByDataTestsId('form-set').click()
40           .get('#drawing-board-tree .toggle-children').click()
41           .getElementByDataTestsId('node-522159d5-d6e0-4c2a-aa44-5a542a12a830-vf_vmee0..VfVmee..vmme_vlc..module-1-menu-btn').click({force: true})
42           .getElementByDataTestsId('context-menu-edit').click({force: true})
43           .getElementByDataTestsId("volumeGroupName").should('have.value', 'someInput1_voltextAfter');
44
45     });
46
47     it('should display min/max', function () {
48       cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/emptyServiceRedux.json').then((res) => {
49         res.service.serviceHierarchy['2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd'].vnfs['2017-488_ADIOD-vPE 0'].properties.min_instances = 100;
50         res.service.serviceHierarchy['2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd'].vnfs['2017-488_ADIOD-vPE 0'].properties.max_instances = 200;
51         cy.setReduxState(<any>res);
52         cy.openIframe('app/ui/#/servicePlanning?serviceModelId=2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd');
53         cy.getElementByDataTestsId('node-2017-488_ADIOD-vPE 0-add-btn').click({force : true});
54         cy.getElementByDataTestsId('model-item-label-vnf-min').contains('Minimum to instantiate');
55         cy.getElementByDataTestsId('model-item-value-vnf-min').contains('100');
56         cy.getElementByDataTestsId('model-item-label-vnf-max').contains('Maximum to instantiate');
57         cy.getElementByDataTestsId('model-item-value-vnf-max').contains('200');
58       })
59     });
60
61     it('should display default values for undefined min/max', function () {
62       cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/emptyServiceRedux.json').then((res) => {
63         res.service.serviceHierarchy['2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd'].vnfs['2017-488_ADIOD-vPE 0'].properties.min_instances = null;
64         res.service.serviceHierarchy['2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd'].vnfs['2017-488_ADIOD-vPE 0'].properties.max_instances = null;
65         cy.setReduxState(<any>res);
66         cy.openIframe('app/ui/#/servicePlanning?serviceModelId=2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd');
67         cy.getElementByDataTestsId('node-2017-488_ADIOD-vPE 0-add-btn').click({force : true});
68         cy.getElementByDataTestsId('model-item-label-vnf-min').contains('Minimum to instantiate');
69         cy.getElementByDataTestsId('model-item-value-vnf-min').contains('0');
70         cy.getElementByDataTestsId('model-item-label-vnf-max').contains('Maximum to instantiate');
71         cy.getElementByDataTestsId('model-item-value-vnf-max').contains('1');
72       })
73      });
74
75     it('fill all fields of vnf popup', function () {
76       cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/emptyServiceRedux.json').then((res) => {
77         res.service.serviceHierarchy['2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd'].vnfs['2017-488_ADIOD-vPE 0'].min = null;
78         res.service.serviceHierarchy['2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd'].vnfs['2017-488_ADIOD-vPE 0'].max = null;
79         cy.setReduxState(<any>res);
80         cy.openIframe('app/ui/#/servicePlanning?serviceModelId=2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd');
81         cy.getElementByDataTestsId('node-2017-488_ADIOD-vPE 0-add-btn').click({force : true});
82         cy.selectDropdownOptionByText('productFamily', 'Emanuel');
83         cy.selectDropdownOptionByText('lcpRegion', 'hvf6');
84         cy.selectDropdownOptionByText('tenant', 'AIN Web Tool-15-D-STTest2');
85         cy.selectDropdownOptionByText('lineOfBusiness', 'zzz1');
86         cy.selectDropdownOptionByText('platform', 'xxx1');
87
88       })
89     });
90
91     function getReduxWithVNFS(){
92       return {
93         "global": {
94           "name": null,
95           "flags": {
96             "FLAG_NETWORK_TO_ASYNC_INSTANTIATION": false,
97             "FLAG_SHOW_ASSIGNMENTS": true,
98             "FLAG_FABRIC_CONFIGURATION_ASSIGNMENTS": true,
99             "FLAG_UNASSIGN_SERVICE": true,
100             "FLAG_SHOW_VERIFY_SERVICE": false,
101             "FLAG_COLLECTION_RESOURCE_SUPPORT": true,
102             "FLAG_DUPLICATE_VNF": true,
103             "FLAG_SERVICE_MODEL_CACHE": true,
104             "CREATE_INSTANCE_TEST": false,
105             "FLAG_SETTING_DEFAULTS_IN_DRAWING_BOARD": false,
106             "FLAG_ASYNC_INSTANTIATION": true,
107             "FLAG_ASYNC_JOBS": true,
108             "EMPTY_DRAWING_BOARD_TEST": false,
109             "FLAG_ADD_MSO_TESTAPI_FIELD": true
110           },
111           "type": "[FLAGS] Update"
112         },
113         "service": {
114           "serviceHierarchy": {
115             "6e59c5de-f052-46fa-aa7e-2fca9d674c44": {
116               "service": {
117                 "uuid": "6e59c5de-f052-46fa-aa7e-2fca9d674c44",
118                 "invariantUuid": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
119                 "name": "ComplexService",
120                 "version": "1.0",
121                 "toscaModelURL": null,
122                 "category": "Emanuel",
123                 "serviceType": "",
124                 "serviceRole": "",
125                 "description": "ComplexService",
126                 "serviceEcompNaming": "true",
127                 "instantiationType": "Macro",
128                 "inputs": {}
129               },
130               "vnfs": {
131                 "VF_vMee 0": {
132                   "uuid": "d6557200-ecf2-4641-8094-5393ae3aae60",
133                   "invariantUuid": "4160458e-f648-4b30-a176-43881ffffe9e",
134                   "description": "VSP_vMee",
135                   "name": "VF_vMee",
136                   "version": "2.0",
137                   "customizationUuid": "91415b44-753d-494c-926a-456a9172bbb9",
138                   "inputs": {},
139                   "commands": {},
140                   "properties": {
141                     "max_instances" : 10,
142                     "min_instances"  : 1,
143                     "gpb2_Internal2_mac": "00:11:22:EF:AC:DF",
144                     "sctp-b-ipv6-egress_src_start_port": "0",
145                     "sctp-a-ipv6-egress_rule_application": "any",
146                     "Internal2_allow_transit": "true",
147                     "sctp-b-IPv6_ethertype": "IPv6",
148                     "sctp-a-egress_rule_application": "any",
149                     "sctp-b-ingress_action": "pass",
150                     "sctp-b-ingress_rule_protocol": "icmp",
151                     "ncb2_Internal1_mac": "00:11:22:EF:AC:DF",
152                     "sctp-b-ipv6-ingress-src_start_port": "0.0",
153                     "ncb1_Internal2_mac": "00:11:22:EF:AC:DF",
154                     "fsb_volume_size_0": "320.0",
155                     "sctp-b-egress_src_addresses": "local",
156                     "sctp-a-ipv6-ingress_ethertype": "IPv4",
157                     "sctp-a-ipv6-ingress-dst_start_port": "0",
158                     "sctp-b-ipv6-ingress_rule_application": "any",
159                     "domain_name": "default-domain",
160                     "sctp-a-ingress_rule_protocol": "icmp",
161                     "sctp-b-egress-src_start_port": "0.0",
162                     "sctp-a-egress_src_addresses": "local",
163                     "sctp-b-display_name": "epc-sctp-b-ipv4v6-sec-group",
164                     "sctp-a-egress-src_start_port": "0.0",
165                     "sctp-a-ingress_ethertype": "IPv4",
166                     "sctp-b-ipv6-ingress-dst_end_port": "65535",
167                     "sctp-b-dst_subnet_prefix_v6": "::",
168                     "nf_naming": "{ecomp_generated_naming=true}",
169                     "sctp-a-ipv6-ingress_src_subnet_prefix": "0.0.0.0",
170                     "sctp-b-egress-dst_start_port": "0.0",
171                     "ncb_flavor_name": "nv.c20r64d1",
172                     "gpb1_Internal1_mac": "00:11:22:EF:AC:DF",
173                     "sctp-b-egress_dst_subnet_prefix_len": "0.0",
174                     "Internal2_net_cidr": "10.0.0.10",
175                     "sctp-a-ingress-dst_start_port": "0.0",
176                     "sctp-a-egress-dst_start_port": "0.0",
177                     "fsb1_Internal2_mac": "00:11:22:EF:AC:DF",
178                     "sctp-a-egress_ethertype": "IPv4",
179                     "vlc_st_service_mode": "in-network-nat",
180                     "sctp-a-ipv6-egress_ethertype": "IPv4",
181                     "sctp-a-egress-src_end_port": "65535.0",
182                     "sctp-b-ipv6-egress_rule_application": "any",
183                     "sctp-b-egress_action": "pass",
184                     "sctp-a-ingress-src_subnet_prefix_len": "0.0",
185                     "sctp-b-ipv6-ingress-src_end_port": "65535.0",
186                     "sctp-b-name": "epc-sctp-b-ipv4v6-sec-group",
187                     "fsb2_Internal1_mac": "00:11:22:EF:AC:DF",
188                     "sctp-a-ipv6-ingress-src_start_port": "0.0",
189                     "sctp-b-ipv6-egress_ethertype": "IPv4",
190                     "Internal1_net_cidr": "10.0.0.10",
191                     "sctp-a-egress_dst_subnet_prefix": "0.0.0.0",
192                     "fsb_flavor_name": "nv.c20r64d1",
193                     "sctp_rule_protocol": "132",
194                     "sctp-b-ipv6-ingress_src_subnet_prefix_len": "0",
195                     "sctp-a-ipv6-ingress_rule_application": "any",
196                     "ecomp_generated_naming": "true",
197                     "sctp-a-IPv6_ethertype": "IPv6",
198                     "vlc2_Internal1_mac": "00:11:22:EF:AC:DF",
199                     "vlc_st_virtualization_type": "virtual-machine",
200                     "sctp-b-ingress-dst_start_port": "0.0",
201                     "sctp-b-ingress-dst_end_port": "65535.0",
202                     "sctp-a-ipv6-ingress-src_end_port": "65535.0",
203                     "sctp-a-display_name": "epc-sctp-a-ipv4v6-sec-group",
204                     "sctp-b-ingress_rule_application": "any",
205                     "int2_sec_group_name": "int2-sec-group",
206                     "vlc_flavor_name": "nd.c16r64d1",
207                     "sctp-b-ipv6-egress_src_addresses": "local",
208                     "vlc_st_interface_type_int1": "other1",
209                     "sctp-b-egress-src_end_port": "65535.0",
210                     "sctp-a-ipv6-egress-dst_start_port": "0",
211                     "vlc_st_interface_type_int2": "other2",
212                     "sctp-a-ipv6-egress_rule_protocol": "any",
213                     "Internal2_shared": "false",
214                     "sctp-a-ipv6-egress_dst_subnet_prefix_len": "0",
215                     "Internal2_rpf": "disable",
216                     "vlc1_Internal1_mac": "00:11:22:EF:AC:DF",
217                     "sctp-b-ipv6-egress_src_end_port": "65535",
218                     "sctp-a-ipv6-egress_src_addresses": "local",
219                     "sctp-a-ingress-dst_end_port": "65535.0",
220                     "sctp-a-ipv6-egress_src_end_port": "65535",
221                     "Internal1_forwarding_mode": "l2",
222                     "Internal2_dhcp": "false",
223                     "sctp-a-dst_subnet_prefix_v6": "::",
224                     "pxe_image_name": "MME_PXE-Boot_16ACP04_GA.qcow2",
225                     "vlc_st_interface_type_gtp": "other0",
226                     "ncb1_Internal1_mac": "00:11:22:EF:AC:DF",
227                     "sctp-b-src_subnet_prefix_v6": "::",
228                     "sctp-a-egress_dst_subnet_prefix_len": "0.0",
229                     "int1_sec_group_name": "int1-sec-group",
230                     "Internal1_dhcp": "false",
231                     "sctp-a-ipv6-egress_dst_end_port": "65535",
232                     "Internal2_forwarding_mode": "l2",
233                     "fsb2_Internal2_mac": "00:11:22:EF:AC:DF",
234                     "sctp-b-egress_dst_subnet_prefix": "0.0.0.0",
235                     "Internal1_net_cidr_len": "17",
236                     "gpb2_Internal1_mac": "00:11:22:EF:AC:DF",
237                     "sctp-b-ingress-src_subnet_prefix_len": "0.0",
238                     "sctp-a-ingress_dst_addresses": "local",
239                     "sctp-a-egress_action": "pass",
240                     "fsb_volume_type_0": "SF-Default-SSD",
241                     "ncb2_Internal2_mac": "00:11:22:EF:AC:DF",
242                     "vlc_st_interface_type_sctp_a": "left",
243                     "vlc_st_interface_type_sctp_b": "right",
244                     "sctp-a-src_subnet_prefix_v6": "::",
245                     "vlc_st_version": "2",
246                     "sctp-b-egress_ethertype": "IPv4",
247                     "sctp-a-ingress_rule_application": "any",
248                     "gpb1_Internal2_mac": "00:11:22:EF:AC:DF",
249                     "instance_ip_family_v6": "v6",
250                     "sctp-a-ipv6-egress_src_start_port": "0",
251                     "sctp-b-ingress-src_start_port": "0.0",
252                     "sctp-b-ingress_dst_addresses": "local",
253                     "fsb1_Internal1_mac": "00:11:22:EF:AC:DF",
254                     "vlc_st_interface_type_oam": "management",
255                     "multi_stage_design": "false",
256                     "oam_sec_group_name": "oam-sec-group",
257                     "Internal2_net_gateway": "10.0.0.10",
258                     "sctp-a-ipv6-ingress-dst_end_port": "65535",
259                     "sctp-b-ipv6-egress-dst_start_port": "0",
260                     "Internal1_net_gateway": "10.0.0.10",
261                     "sctp-b-ipv6-egress_rule_protocol": "any",
262                     "gtp_sec_group_name": "gtp-sec-group",
263                     "sctp-a-ipv6-egress_dst_subnet_prefix": "0.0.0.0",
264                     "sctp-b-ipv6-egress_dst_subnet_prefix_len": "0",
265                     "sctp-a-ipv6-ingress_dst_addresses": "local",
266                     "sctp-a-egress_rule_protocol": "icmp",
267                     "sctp-b-ipv6-egress_action": "pass",
268                     "sctp-a-ipv6-egress_action": "pass",
269                     "Internal1_shared": "false",
270                     "sctp-b-ipv6-ingress_rule_protocol": "any",
271                     "Internal2_net_cidr_len": "17",
272                     "sctp-a-name": "epc-sctp-a-ipv4v6-sec-group",
273                     "sctp-a-ingress-src_end_port": "65535.0",
274                     "sctp-b-ipv6-ingress_src_subnet_prefix": "0.0.0.0",
275                     "sctp-a-egress-dst_end_port": "65535.0",
276                     "sctp-a-ingress_action": "pass",
277                     "sctp-b-egress_rule_protocol": "icmp",
278                     "sctp-b-ipv6-ingress_action": "pass",
279                     "vlc_st_service_type": "firewall",
280                     "sctp-b-ipv6-egress_dst_end_port": "65535",
281                     "sctp-b-ipv6-ingress-dst_start_port": "0",
282                     "vlc2_Internal2_mac": "00:11:22:EF:AC:DF",
283                     "vlc_st_availability_zone": "true",
284                     "fsb_volume_image_name_1": "MME_FSB2_16ACP04_GA.qcow2",
285                     "sctp-b-ingress-src_subnet_prefix": "0.0.0.0",
286                     "sctp-a-ipv6-ingress_src_subnet_prefix_len": "0",
287                     "Internal1_allow_transit": "true",
288                     "gpb_flavor_name": "nv.c20r64d1",
289                     "availability_zone_max_count": "1",
290                     "fsb_volume_image_name_0": "MME_FSB1_16ACP04_GA.qcow2",
291                     "sctp-b-ipv6-ingress_dst_addresses": "local",
292                     "sctp-b-ipv6-egress_dst_subnet_prefix": "0.0.0.0",
293                     "sctp-b-ipv6-ingress_ethertype": "IPv4",
294                     "vlc1_Internal2_mac": "00:11:22:EF:AC:DF",
295                     "sctp-a-ingress-src_subnet_prefix": "0.0.0.0",
296                     "sctp-a-ipv6-ingress_action": "pass",
297                     "Internal1_rpf": "disable",
298                     "sctp-b-ingress_ethertype": "IPv4",
299                     "sctp-b-egress_rule_application": "any",
300                     "sctp-b-ingress-src_end_port": "65535.0",
301                     "sctp-a-ipv6-ingress_rule_protocol": "any",
302                     "sctp-a-ingress-src_start_port": "0.0",
303                     "sctp-b-egress-dst_end_port": "65535.0"
304                   },
305                   "type": "VF",
306                   "modelCustomizationName": "VF_vMee 0",
307                   "vfModules": {
308                     "vf_vmee0..VfVmee..vmme_vlc..module-1": {
309                       "uuid": "522159d5-d6e0-4c2a-aa44-5a542a12a830",
310                       "invariantUuid": "98a7c88b-b577-476a-90e4-e25a5871e02b",
311                       "customizationUuid": "55b1be94-671a-403e-a26c-667e9c47d091",
312                       "description": null,
313                       "name": "VfVmee..vmme_vlc..module-1",
314                       "version": "2",
315                       "modelCustomizationName": "VfVmee..vmme_vlc..module-1",
316                       "properties": {
317                         "minCountInstances": 0,
318                         "maxCountInstances": null,
319                         "initialCount": 0,
320                         "vfModuleLabel": "vmme_vlc"
321                       },
322                       "inputs": {},
323                       "volumeGroupAllowed": false
324                     },
325                     "vf_vmee0..VfVmee..vmme_gpb..module-2": {
326                       "uuid": "41708296-e443-4c71-953f-d9a010f059e1",
327                       "invariantUuid": "1cca90b8-3490-495e-87da-3f3e4c57d5b9",
328                       "customizationUuid": "6add59e0-7fe1-4bc4-af48-f8812422ae7c",
329                       "description": null,
330                       "name": "VfVmee..vmme_gpb..module-2",
331                       "version": "2",
332                       "modelCustomizationName": "VfVmee..vmme_gpb..module-2",
333                       "properties": {
334                         "minCountInstances": 0,
335                         "maxCountInstances": null,
336                         "initialCount": 0,
337                         "vfModuleLabel": "vmme_gpb"
338                       },
339                       "inputs": {},
340                       "volumeGroupAllowed": false
341                     },
342                     "vf_vmee0..VfVmee..base_vmme..module-0": {
343                       "uuid": "a27f5cfc-7f12-4f99-af08-0af9c3885c87",
344                       "invariantUuid": "a6f9e51a-2b35-416a-ae15-15e58d61f36d",
345                       "customizationUuid": "f8c040f1-7e51-4a11-aca8-acf256cfd861",
346                       "description": null,
347                       "name": "VfVmee..base_vmme..module-0",
348                       "version": "2",
349                       "modelCustomizationName": "VfVmee..base_vmme..module-0",
350                       "properties": {
351                         "minCountInstances": 1,
352                         "maxCountInstances": 1,
353                         "initialCount": 1,
354                         "vfModuleLabel": "base_vmme"
355                       },
356                       "inputs": {},
357                       "volumeGroupAllowed": true
358                     }
359                   },
360                   "volumeGroups": {
361                     "vf_vmee0..VfVmee..base_vmme..module-0": {
362                       "uuid": "a27f5cfc-7f12-4f99-af08-0af9c3885c87",
363                       "invariantUuid": "a6f9e51a-2b35-416a-ae15-15e58d61f36d",
364                       "customizationUuid": "f8c040f1-7e51-4a11-aca8-acf256cfd861",
365                       "description": null,
366                       "name": "VfVmee..base_vmme..module-0",
367                       "version": "2",
368                       "modelCustomizationName": "VfVmee..base_vmme..module-0",
369                       "properties": {
370                         "minCountInstances": 1,
371                         "maxCountInstances": 1,
372                         "initialCount": 1,
373                         "vfModuleLabel": "base_vmme"
374                       },
375                       "inputs": {}
376                     }
377                   },
378                   "vfcInstanceGroups": {}
379                 }
380               },
381               "networks": {
382                 "ExtVL 0": {
383                   "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
384                   "invariantUuid": "379f816b-a7aa-422f-be30-17114ff50b7c",
385                   "description": "ECOMP generic virtual link (network) base type for all other service-level and global networks",
386                   "name": "ExtVL",
387                   "version": "37.0",
388                   "customizationUuid": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
389                   "inputs": {},
390                   "commands": {},
391                   "properties": {
392                     "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}}",
393                     "exVL_naming": "{ecomp_generated_naming=true}",
394                     "network_flows": "{is_network_policy=false, is_bound_to_vpn=false}",
395                     "network_homing": "{ecomp_selected_instance_node_target=false}"
396                   },
397                   "type": "VL",
398                   "modelCustomizationName": "ExtVL 0"
399                 }
400               },
401               "collectionResource": {},
402               "configurations": {
403                 "Port Mirroring Configuration By Policy 0": {
404                   "uuid": "b4398538-e89d-4f13-b33d-ca323434ba50",
405                   "invariantUuid": "6ef0ca40-f366-4897-951f-abd65d25f6f7",
406                   "description": "A port mirroring configuration by policy object",
407                   "name": "Port Mirroring Configuration By Policy",
408                   "version": "27.0",
409                   "customizationUuid": "3c3b7b8d-8669-4b3b-8664-61970041fad2",
410                   "inputs": {},
411                   "commands": {},
412                   "properties": {},
413                   "type": "Configuration",
414                   "modelCustomizationName": "Port Mirroring Configuration By Policy 0",
415                   "sourceNodes": [],
416                   "collectorNodes": null,
417                   "configurationByPolicy": false
418                 }
419               },
420               "serviceProxies": {},
421               "vfModules": {
422                 "vf_vmee0..VfVmee..vmme_vlc..module-1": {
423                   "uuid": "522159d5-d6e0-4c2a-aa44-5a542a12a830",
424                   "invariantUuid": "98a7c88b-b577-476a-90e4-e25a5871e02b",
425                   "customizationUuid": "55b1be94-671a-403e-a26c-667e9c47d091",
426                   "description": null,
427                   "name": "VfVmee..vmme_vlc..module-1",
428                   "version": "2",
429                   "modelCustomizationName": "VfVmee..vmme_vlc..module-1",
430                   "properties": {
431                     "minCountInstances": 0,
432                     "maxCountInstances": null,
433                     "initialCount": 0,
434                     "vfModuleLabel": "vmme_vlc"
435                   },
436                   "inputs": {},
437                   "volumeGroupAllowed": false
438                 },
439                 "vf_vmee0..VfVmee..vmme_gpb..module-2": {
440                   "uuid": "41708296-e443-4c71-953f-d9a010f059e1",
441                   "invariantUuid": "1cca90b8-3490-495e-87da-3f3e4c57d5b9",
442                   "customizationUuid": "6add59e0-7fe1-4bc4-af48-f8812422ae7c",
443                   "description": null,
444                   "name": "VfVmee..vmme_gpb..module-2",
445                   "version": "2",
446                   "modelCustomizationName": "VfVmee..vmme_gpb..module-2",
447                   "properties": {
448                     "minCountInstances": 0,
449                     "maxCountInstances": null,
450                     "initialCount": 0,
451                     "vfModuleLabel": "vmme_gpb"
452                   },
453                   "inputs": {},
454                   "volumeGroupAllowed": false
455                 },
456                 "vf_vmee0..VfVmee..base_vmme..module-0": {
457                   "uuid": "a27f5cfc-7f12-4f99-af08-0af9c3885c87",
458                   "invariantUuid": "a6f9e51a-2b35-416a-ae15-15e58d61f36d",
459                   "customizationUuid": "f8c040f1-7e51-4a11-aca8-acf256cfd861",
460                   "description": null,
461                   "name": "VfVmee..base_vmme..module-0",
462                   "version": "2",
463                   "modelCustomizationName": "VfVmee..base_vmme..module-0",
464                   "properties": {
465                     "minCountInstances": 1,
466                     "maxCountInstances": 1,
467                     "initialCount": 1,
468                     "vfModuleLabel": "base_vmme"
469                   },
470                   "inputs": {},
471                   "volumeGroupAllowed": true
472                 }
473               },
474               "volumeGroups": {
475                 "vf_vmee0..VfVmee..base_vmme..module-0": {
476                   "uuid": "a27f5cfc-7f12-4f99-af08-0af9c3885c87",
477                   "invariantUuid": "a6f9e51a-2b35-416a-ae15-15e58d61f36d",
478                   "customizationUuid": "f8c040f1-7e51-4a11-aca8-acf256cfd861",
479                   "description": null,
480                   "name": "VfVmee..base_vmme..module-0",
481                   "version": "2",
482                   "modelCustomizationName": "VfVmee..base_vmme..module-0",
483                   "properties": {
484                     "minCountInstances": 1,
485                     "maxCountInstances": 1,
486                     "initialCount": 1,
487                     "vfModuleLabel": "base_vmme"
488                   },
489                   "inputs": {}
490                 }
491               },
492               "pnfs": {}
493             }
494           },
495           "serviceInstance": {
496             "6e59c5de-f052-46fa-aa7e-2fca9d674c44": {
497               "vnfs": {
498                 "VF_vMee 0": {
499                   "originalName": "VF_vMee 0",
500                   "rollbackOnFailure": "true",
501                   "vfModules": {
502                     "vf_vmee0..VfVmee..vmme_vlc..module-1": {
503                       "vf_vmee0..VfVmee..vmme_vlc..module-1dcudx": {
504                         "modelInfo": {
505                           "modelInvariantId": "98a7c88b-b577-476a-90e4-e25a5871e02b",
506                           "modelVersionId": "522159d5-d6e0-4c2a-aa44-5a542a12a830",
507                           "modelName": "VfVmee..vmme_vlc..module-1",
508                           "modelVersion": "2",
509                           "modelCustomizationId": "55b1be94-671a-403e-a26c-667e9c47d091",
510                           "modelCustomizationName": "VfVmee..vmme_vlc..module-1"
511                         },
512                         "isMissingData": false,
513                         "instanceParams": [
514                           {}
515                         ]
516                       }
517                     }
518                   },
519                   "isMissingData": false,
520                   "modelName": "VF_vMee 0",
521                   "productFamilyId": "36b4733a-53f4-4cc8-8ff0-9172e5fc4b8e",
522                   "lcpCloudRegionId": "hvf6",
523                   "tenantId": "bae71557c5bb4d5aac6743a4e5f1d054",
524                   "lineOfBusiness": "zzz1",
525                   "platformName": "platform",
526                   "modelInfo": {
527                     "modelInvariantId": "4160458e-f648-4b30-a176-43881ffffe9e",
528                     "modelVersionId": "d6557200-ecf2-4641-8094-5393ae3aae60",
529                     "modelName": "VF_vMee",
530                     "modelVersion": "2.0",
531                     "modelCustomizationId": "91415b44-753d-494c-926a-456a9172bbb9",
532                     "modelCustomizationName": "VF_vMee 0"
533                   }
534                 }
535               },
536               "instanceParams": [
537                 {}
538               ],
539               "validationCounter": 0,
540               "globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89",
541               "productFamilyId": "36b4733a-53f4-4cc8-8ff0-9172e5fc4b8e",
542               "subscriptionServiceType": "TYLER SILVIA",
543               "lcpCloudRegionId": "hvf6",
544               "tenantId": "1178612d2b394be4834ad77f567c0af2",
545               "aicZoneId": "YYY1",
546               "projectName": "yyy1",
547               "owningEntityId": "aaa1",
548               "rollbackOnFailure": "true",
549               "bulkSize": 1,
550               "modelInfo": {
551                 "modelInvariantId": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
552                 "modelVersionId": "6e59c5de-f052-46fa-aa7e-2fca9d674c44",
553                 "modelName": "ComplexService",
554                 "modelVersion": "1.0"
555               },
556               "existingVNFCounterMap": {
557                 "91415b44-753d-494c-926a-456a9172bbb9": 1
558               },
559               "existingNames": {},
560               "existingNetworksCounterMap" : {},
561               "tenantName": "AIN Web Tool-15-D-SSPtestcustome",
562               "aicZoneName": "UUUAIAAI-YYY1"
563             }
564           },
565           "lcpRegionsAndTenants": {
566             "lcpRegionList": [
567               {
568                 "id": "JANET25",
569                 "name": "JANET25 (AIC)",
570                 "cloudOwner" : "irma-aic",
571                 "isPermitted": true
572               },
573               {
574                 "id": "hvf6",
575                 "name": "hvf6 (AIC)",
576                 "cloudOwner" : "irma-aic",
577                 "isPermitted": true
578               }
579             ],
580             "lcpRegionsTenantsMap": {
581               "JANET25": [
582                 {
583                   "id": "092eb9e8e4b7412e8787dd091bc58e86",
584                   "name": "USP-SIP-IC-24335-T-01",
585                   "isPermitted": true
586                 }
587               ],
588               "hvf6": [
589                 {
590                   "id": "bae71557c5bb4d5aac6743a4e5f1d054",
591                   "name": "AIN Web Tool-15-D-testalexandria",
592                   "isPermitted": true
593                 },
594                 {
595                   "id": "d0a3e3f2964542259d155a81c41aadc3",
596                   "name": "test-hvf6-09",
597                   "isPermitted": true
598                 },
599                 {
600                   "id": "fa45ca53c80b492fa8be5477cd84fc2b",
601                   "name": "ro-T112",
602                   "isPermitted": true
603                 },
604                 {
605                   "id": "cbb99fe4ada84631b7baf046b6fd2044",
606                   "name": "DN5242-Nov16-T3",
607                   "isPermitted": true
608                 }
609               ]
610             }
611           },
612           "subscribers": [
613             {
614               "id": "CAR_2020_ER",
615               "name": "CAR_2020_ER",
616               "isPermitted": true
617             },
618             {
619               "id": "21014aa2-526b-11e6-beb8-9e71128cae77",
620               "name": "JULIO ERICKSON",
621               "isPermitted": false
622             },
623             {
624               "id": "DHV1707-TestSubscriber-2",
625               "name": "DALE BRIDGES",
626               "isPermitted": false
627             },
628             {
629               "id": "DHV1707-TestSubscriber-1",
630               "name": "LLOYD BRIDGES",
631               "isPermitted": false
632             },
633             {
634               "id": "jimmy-example",
635               "name": "JimmyExampleCust-20161102",
636               "isPermitted": false
637             },
638             {
639               "id": "jimmy-example2",
640               "name": "JimmyExampleCust-20161103",
641               "isPermitted": false
642             },
643             {
644               "id": "ERICA5779-TestSub-PWT-102",
645               "name": "ERICA5779-TestSub-PWT-102",
646               "isPermitted": false
647             },
648             {
649               "id": "ERICA5779-TestSub-PWT-101",
650               "name": "ERICA5779-TestSub-PWT-101",
651               "isPermitted": false
652             },
653             {
654               "id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
655               "name": "Emanuel",
656               "isPermitted": false
657             },
658             {
659               "id": "ERICA5779-Subscriber-4",
660               "name": "ERICA5779-Subscriber-5",
661               "isPermitted": false
662             },
663             {
664               "id": "ERICA5779-TestSub-PWT-103",
665               "name": "ERICA5779-TestSub-PWT-103",
666               "isPermitted": false
667             },
668             {
669               "id": "ERICA5779-Subscriber-2",
670               "name": "ERICA5779-Subscriber-2",
671               "isPermitted": false
672             },
673             {
674               "id": "e433710f-9217-458d-a79d-1c7aff376d89",
675               "name": "SILVIA ROBBINS",
676               "isPermitted": true
677             },
678             {
679               "id": "ERICA5779-Subscriber-3",
680               "name": "ERICA5779-Subscriber-3",
681               "isPermitted": false
682             },
683             {
684               "id": "31739f3e-526b-11e6-beb8-9e71128cae77",
685               "name": "CRAIG/ROBERTS",
686               "isPermitted": false
687             }
688           ],
689           "productFamilies": [
690             {
691               "id": "ebc3bc3d-62fd-4a3f-a037-f619df4ff034",
692               "name": "SCOTTIE",
693               "isPermitted": true
694             },
695             {
696               "id": "17cc1042-527b-11e6-beb8-9e71128cae77",
697               "name": "IGNACIO",
698               "isPermitted": true
699             },
700             {
701               "id": "36b4733a-53f4-4cc8-8ff0-9172e5fc4b8e",
702               "name": "Christie",
703               "isPermitted": true
704             },
705             {
706               "id": "a4f6f2ae-9bf5-4ed7-b904-06b2099c4bd7",
707               "name": "Enhanced Services",
708               "isPermitted": true
709             },
710             {
711               "id": "vTerrance",
712               "name": "vTerrance",
713               "isPermitted": true
714             },
715             {
716               "id": "323d69d9-2efe-4r45-ay0a-89ea7ard4e6f",
717               "name": "vSCP",
718               "isPermitted": true
719             },
720             {
721               "id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
722               "name": "Emanuel",
723               "isPermitted": true
724             },
725             {
726               "id": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
727               "name": "BVOIP",
728               "isPermitted": true
729             },
730             {
731               "id": "db171b8f-115c-4992-a2e3-ee04cae357e0",
732               "name": "LINDSEY",
733               "isPermitted": true
734             },
735             {
736               "id": "LRSI-OSPF",
737               "name": "LRSI-OSPF",
738               "isPermitted": true
739             },
740             {
741               "id": "vRosemarie",
742               "name": "HNGATEWAY",
743               "isPermitted": true
744             },
745             {
746               "id": "vHNPaas",
747               "name": "WILKINS",
748               "isPermitted": true
749             },
750             {
751               "id": "e433710f-9217-458d-a79d-1c7aff376d89",
752               "name": "TYLER SILVIA",
753               "isPermitted": true
754             },
755             {
756               "id": "b6a3f28c-eebf-494c-a900-055cc7c874ce",
757               "name": "VROUTER",
758               "isPermitted": true
759             },
760             {
761               "id": "Cisneros",
762               "name": "vMuriel",
763               "isPermitted": true
764             },
765             {
766               "id": "0ee8c1bc-7cbd-4b0a-a1ac-e9999255abc1",
767               "name": "CARA Griffin",
768               "isPermitted": true
769             },
770             {
771               "id": "c7611ebe-c324-48f1-8085-94aef0c6ef3d",
772               "name": "DARREN MCGEE",
773               "isPermitted": true
774             },
775             {
776               "id": "e30755dc-5673-4b6b-9dcf-9abdd96b93d1",
777               "name": "Transport",
778               "isPermitted": true
779             },
780             {
781               "id": "vSalvatore",
782               "name": "vSalvatore",
783               "isPermitted": true
784             },
785             {
786               "id": "d7bb0a21-66f2-4e6d-87d9-9ef3ced63ae4",
787               "name": "Josefina",
788               "isPermitted": true
789             },
790             {
791               "id": "vHubbard",
792               "name": "vHubbard",
793               "isPermitted": true
794             },
795             {
796               "id": "12a96a9d-4b4c-4349-a950-fe1159602621",
797               "name": "DARREN MCGEE",
798               "isPermitted": true
799             }
800           ],
801           "serviceTypes": {
802             "e433710f-9217-458d-a79d-1c7aff376d89": [
803               {
804                 "id": "0",
805                 "name": "vRichardson",
806                 "isPermitted": false
807               },
808               {
809                 "id": "1",
810                 "name": "TYLER SILVIA",
811                 "isPermitted": true
812               },
813               {
814                 "id": "2",
815                 "name": "Emanuel",
816                 "isPermitted": false
817               },
818               {
819                 "id": "3",
820                 "name": "vJamie",
821                 "isPermitted": false
822               },
823               {
824                 "id": "4",
825                 "name": "vVoiceMail",
826                 "isPermitted": false
827               },
828               {
829                 "id": "5",
830                 "name": "Kennedy",
831                 "isPermitted": false
832               },
833               {
834                 "id": "6",
835                 "name": "vSEGW",
836                 "isPermitted": false
837               },
838               {
839                 "id": "7",
840                 "name": "vVM",
841                 "isPermitted": false
842               },
843               {
844                 "id": "8",
845                 "name": "vOTA",
846                 "isPermitted": false
847               },
848               {
849                 "id": "9",
850                 "name": "vMME",
851                 "isPermitted": false
852               },
853               {
854                 "id": "10",
855                 "name": "vMNS",
856                 "isPermitted": false
857               },
858               {
859                 "id": "11",
860                 "name": "vSCP",
861                 "isPermitted": false
862               },
863               {
864                 "id": "12",
865                 "name": "VPMS",
866                 "isPermitted": false
867               },
868               {
869                 "id": "13",
870                 "name": "vMMSC",
871                 "isPermitted": false
872               },
873               {
874                 "id": "14",
875                 "name": "SSD",
876                 "isPermitted": false
877               },
878               {
879                 "id": "15",
880                 "name": "vMOG",
881                 "isPermitted": false
882               },
883               {
884                 "id": "16",
885                 "name": "LINDSEY",
886                 "isPermitted": false
887               },
888               {
889                 "id": "17",
890                 "name": "JOHANNA_SANTOS",
891                 "isPermitted": false
892               },
893               {
894                 "id": "18",
895                 "name": "vCarroll",
896                 "isPermitted": false
897               }
898             ]
899           },
900           "aicZones": [
901             {
902               "id": "NFT1",
903               "name": "NFTJSSSS-NFT1"
904             },
905             {
906               "id": "JAG1",
907               "name": "YUDFJULP-JAG1"
908             },
909             {
910               "id": "YYY1",
911               "name": "UUUAIAAI-YYY1"
912             },
913             {
914               "id": "AVT1",
915               "name": "AVTRFLHD-AVT1"
916             },
917             {
918               "id": "ATL34",
919               "name": "ATLSANAI-ATL34"
920             }
921           ],
922           "categoryParameters": {
923             "owningEntityList": [
924               {
925                 "id": "aaa1",
926                 "name": "aaa1"
927               },
928               {
929                 "id": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
930                 "name": "WayneHolland"
931               },
932               {
933                 "id": "Melissa",
934                 "name": "Melissa"
935               }
936             ],
937             "projectList": [
938               {
939                 "id": "WATKINS",
940                 "name": "WATKINS"
941               },
942               {
943                 "id": "x1",
944                 "name": "x1"
945               },
946               {
947                 "id": "yyy1",
948                 "name": "yyy1"
949               }
950             ],
951             "lineOfBusinessList": [
952               {
953                 "id": "ONAP",
954                 "name": "ONAP"
955               },
956               {
957                 "id": "zzz1",
958                 "name": "zzz1"
959               }
960             ],
961             "platformList": [
962               {
963                 "id": "platform",
964                 "name": "platform"
965               },
966               {
967                 "id": "xxx1",
968                 "name": "xxx1"
969               }
970             ]
971           },
972           "type": "[PRODUCT_FAMILIES] Update"
973         }
974       }
975     }
976
977   });
978 });