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