aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetL3NetworksByCloudRegionSpecificState.java
blob: 01a4fb9b439412da381f423761939bf3c3503764 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
package org.onap.simulator.presetGenerator.presets.aai;

public class PresetAAIGetL3NetworksByCloudRegionSpecificState extends AAIBaseGetL3NetworksByCloudRegionPreset {
    private int stateNum = 1;

    public PresetAAIGetL3NetworksByCloudRegionSpecificState(int stateNum) {
        super();
        this.stateNum = stateNum;
    }

    public PresetAAIGetL3NetworksByCloudRegionSpecificState(String cloudOwner, String cloudRegionId, String tenantId) {
        super(tenantId, null, cloudRegionId, cloudOwner, null);
    }

    @Override
    public Object getResponseBody() {
        if (stateNum == 1) {
            return STATE_1;
        } else
            return STATE_2;
    }

    private static final String STATE_1 = "{ "
            + "  \"results\": [{ "
            + "      \"l3-network\": { "
            + "        \"network-id\": \"3b3308d4-0cd3-43e4-9a7b-d1925c861131\", "
            + "        \"network-name\": \"AUK51a_oam_calea_net_0\", "
            + "        \"network-type\": \"SR-IOV-PROVIDER2-0\", "
            + "        \"network-role\": \"oam_calea_net_0\", "
            + "        \"network-technology\": \"STANDARD-SR-IOV\", "
            + "        \"is-bound-to-vpn\": true, "
            + "        \"resource-version\": \"1540925016770\", "
            + "        \"orchestration-status\": \"Active\", "
            + "        \"model-invariant-id\": \"b9a9b549-0ee4-49fc-b4f2-5edc6701da68\", "
            + "        \"model-version-id\": \"77010093-df36-4dcb-8428-c3d02bf3f88d\", "
            + "        \"model-customization-id\": \"e5f33853-f84c-4cdd-99f2-93846957aa18\", "
            + "        \"physical-network-name\": \"sriovnet0\", "
            + "        \"is-provider-network\": true, "
            + "        \"is-shared-network\": true, "
            + "        \"is-external-network\": false, "
            + "        \"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/ddd91e3d-7cd1-4010-958d-94c729937d2d/service-data/networks/network/dbd80094-df1a-4831-8699-a96949dbca5c/network-data/network-topology/\", "
            + "        \"relationship-list\": { "
            + "          \"relationship\": [{ "
            + "              \"related-to\": \"service-instance\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.ComposedOf\", "
            + "              \"related-link\": \"/aai/v14/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Emanuel/service-instances/service-instance/ddd91e3d-7cd1-4010-958d-94c729937d2d\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"customer.global-customer-id\", "
            + "                  \"relationship-value\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\" "
            + "                }, { "
            + "                  \"relationship-key\": \"service-subscription.service-type\", "
            + "                  \"relationship-value\": \"Emanuel\" "
            + "                }, { "
            + "                  \"relationship-key\": \"service-instance.service-instance-id\", "
            + "                  \"relationship-value\": \"1c98917b-8255-43c6-98f1-7a2942e75ce1\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"service-instance.service-instance-name\", "
            + "                  \"property-value\": \"AUK51a_oam_calea_net_service_0\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"tenant\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a/tenants/tenant/b530fc990b6d4334bd45518bebca6a51\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"cloud-region.cloud-owner\", "
            + "                  \"relationship-value\": \"att-nc\" "
            + "                }, { "
            + "                  \"relationship-key\": \"cloud-region.cloud-region-id\", "
            + "                  \"relationship-value\": \"auk51a\" "
            + "                }, { "
            + "                  \"relationship-key\": \"tenant.tenant-id\", "
            + "                  \"relationship-value\": \"b530fc990b6d4334bd45518bebca6a51\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"tenant.tenant-name\", "
            + "                  \"property-value\": \"ecomp_ispt\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"cloud-region\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"cloud-region.cloud-owner\", "
            + "                  \"relationship-value\": \"att-nc\" "
            + "                }, { "
            + "                  \"relationship-key\": \"cloud-region.cloud-region-id\", "
            + "                  \"relationship-value\": \"auk51a\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"cloud-region.owner-defined-type\", "
            + "                  \"property-value\": \"lcp\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"vpn-binding\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/network/vpn-bindings/vpn-binding/3e7834fb-a8e0-4243-a837-5352ccab4602\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"vpn-binding.vpn-id\", "
            + "                  \"relationship-value\": \"3e7834fb-a8e0-4243-a837-5352ccab4602\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"vpn-binding.vpn-name\", "
            + "                  \"property-value\": \"LPPVPN\" "
            + "                }, { "
            + "                  \"property-key\": \"vpn-binding.vpn-type\", "
            + "                  \"property-value\": \"CUSTOMER\" "
            + "                } "
            + "              ] "
            + "            } "
            + "          ] "
            + "        } "
            + "      } "
            + "    }, { "
            + "      \"l3-network\": { "
            + "        \"network-id\": \"b45cdb14-7a80-4ebd-b979-b1d7c7620851\", "
            + "        \"network-name\": \"AUK51a_oam_calea_net_1\", "
            + "        \"network-type\": \"SR-IOV-PROVIDER2-1\", "
            + "        \"network-role\": \"oam_calea_net_1\", "
            + "        \"network-technology\": \"STANDARD-SR-IOV\", "
            + "        \"is-bound-to-vpn\": true, "
            + "        \"resource-version\": \"1540925016770\", "
            + "        \"orchestration-status\": \"Active\", "
            + "        \"model-invariant-id\": \"3b3308d4-0cd3-43e4-9a7b-d1925c861135\", "
            + "        \"model-version-id\": \"77010093-df36-4dcb-8428-c3d02bf3f88d\", "
            + "        \"model-customization-id\": \"3b45cdb14-7a80-4ebd-b979-b1d7c7620851\", "
            + "        \"physical-network-name\": \"sriovnet1\", "
            + "        \"is-provider-network\": true, "
            + "        \"is-shared-network\": true, "
            + "        \"is-external-network\": false, "
            + "        \"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/ee1b756e-3c9c-4ee0-974b-6218f377b20d/service-data/networks/network/fa1d9589-478d-41ea-96e6-39714ddc6aa5/network-data/network-topology/\", "
            + "        \"relationship-list\": { "
            + "          \"relationship\": [{ "
            + "              \"related-to\": \"service-instance\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.ComposedOf\", "
            + "              \"related-link\": \"/aai/v14/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Emanuel/service-instances/service-instance/ee1b756e-3c9c-4ee0-974b-6218f377b20d\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"customer.global-customer-id\", "
            + "                  \"relationship-value\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\" "
            + "                }, { "
            + "                  \"relationship-key\": \"service-subscription.service-type\", "
            + "                  \"relationship-value\": \"Emanuel\" "
            + "                }, { "
            + "                  \"relationship-key\": \"service-instance.service-instance-id\", "
            + "                  \"relationship-value\": \"fc21e453-7ff4-438e-bc69-df1f9474b00a\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"service-instance.service-instance-name\", "
            + "                  \"property-value\": \"AUK51a_oam_calea_net_service_1\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"tenant\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a/tenants/tenant/b530fc990b6d4334bd45518bebca6a51\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"cloud-region.cloud-owner\", "
            + "                  \"relationship-value\": \"att-nc\" "
            + "                }, { "
            + "                  \"relationship-key\": \"cloud-region.cloud-region-id\", "
            + "                  \"relationship-value\": \"auk51a\" "
            + "                }, { "
            + "                  \"relationship-key\": \"tenant.tenant-id\", "
            + "                  \"relationship-value\": \"b530fc990b6d4334bd45518bebca6a51\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"tenant.tenant-name\", "
            + "                  \"property-value\": \"ecomp_ispt\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"cloud-region\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"cloud-region.cloud-owner\", "
            + "                  \"relationship-value\": \"att-nc\" "
            + "                }, { "
            + "                  \"relationship-key\": \"cloud-region.cloud-region-id\", "
            + "                  \"relationship-value\": \"auk51a\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"cloud-region.owner-defined-type\", "
            + "                  \"property-value\": \"lcp\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"vpn-binding\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/network/vpn-bindings/vpn-binding/3e7834fb-a8e0-4243-a837-5352ccab4602\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"vpn-binding.vpn-id\", "
            + "                  \"relationship-value\": \"3e7834fb-a8e0-4243-a837-5352ccab4602\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"vpn-binding.vpn-name\", "
            + "                  \"property-value\": \"LPPVPN\" "
            + "                }, { "
            + "                  \"property-key\": \"vpn-binding.vpn-type\", "
            + "                  \"property-value\": \"CUSTOMER\" "
            + "                } "
            + "              ] "
            + "            } "
            + "          ] "
            + "        } "
            + "      } "
            + "    }, { "
            + "      \"l3-network\": { "
            + "        \"network-id\": \"10a74149-c9d7-4918-bbcf-d5fb9b1799ce\", "
            + "        \"network-name\": \"AUK51a_oam_calea_net_2\", "
            + "        \"network-type\": \"SR-IOV-PROVIDER2-2\", "
            + "        \"network-role\": \"oam_calea_net_2\", "
            + "        \"network-technology\": \"STANDARD-SR-IOV\", "
            + "        \"is-bound-to-vpn\": true, "
            + "        \"resource-version\": \"1540925016770\", "
            + "        \"orchestration-status\": \"Active\", "
            + "        \"model-invariant-id\": \"3b3308d4-0cd3-43e4-9a7b-d1925c861135\", "
            + "        \"model-version-id\": \"77010093-df36-4dcb-8428-c3d02bf3f88d\", "
            + "        \"model-customization-id\": \"10a74149-c9d7-4918-bbcf-d5fb9b1799ce\", "
            + "        \"physical-network-name\": \"sriovnet2\", "
            + "        \"is-provider-network\": true, "
            + "        \"is-shared-network\": true, "
            + "        \"is-external-network\": false, "
            + "        \"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/315ccdb4-5a11-499f-95dc-25ae4be37dad/service-data/networks/network/2d4f97f5-702a-4707-b9e5-aa9d3e35deeb/network-data/network-topology/\", "
            + "        \"relationship-list\": { "
            + "          \"relationship\": [{ "
            + "              \"related-to\": \"service-instance\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.ComposedOf\", "
            + "              \"related-link\": \"/aai/v14/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Emanuel/service-instances/service-instance/315ccdb4-5a11-499f-95dc-25ae4be37dad\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"customer.global-customer-id\", "
            + "                  \"relationship-value\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\" "
            + "                }, { "
            + "                  \"relationship-key\": \"service-subscription.service-type\", "
            + "                  \"relationship-value\": \"Emanuel\" "
            + "                }, { "
            + "                  \"relationship-key\": \"service-instance.service-instance-id\", "
            + "                  \"relationship-value\": \"b28d8a84-7d93-4b56-b525-c239c1e780a4\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"service-instance.service-instance-name\", "
            + "                  \"property-value\": \"AUK51a_oam_calea_net_service_2\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"tenant\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a/tenants/tenant/b530fc990b6d4334bd45518bebca6a51\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"cloud-region.cloud-owner\", "
            + "                  \"relationship-value\": \"att-nc\" "
            + "                }, { "
            + "                  \"relationship-key\": \"cloud-region.cloud-region-id\", "
            + "                  \"relationship-value\": \"auk51a\" "
            + "                }, { "
            + "                  \"relationship-key\": \"tenant.tenant-id\", "
            + "                  \"relationship-value\": \"b530fc990b6d4334bd45518bebca6a51\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"tenant.tenant-name\", "
            + "                  \"property-value\": \"ecomp_ispt\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"cloud-region\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"cloud-region.cloud-owner\", "
            + "                  \"relationship-value\": \"att-nc\" "
            + "                }, { "
            + "                  \"relationship-key\": \"cloud-region.cloud-region-id\", "
            + "                  \"relationship-value\": \"auk51a\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"cloud-region.owner-defined-type\", "
            + "                  \"property-value\": \"lcp\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"vpn-binding\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/network/vpn-bindings/vpn-binding/3e7834fb-a8e0-4243-a837-5352ccab4602\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"vpn-binding.vpn-id\", "
            + "                  \"relationship-value\": \"3e7834fb-a8e0-4243-a837-5352ccab4602\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"vpn-binding.vpn-name\", "
            + "                  \"property-value\": \"LPPVPN\" "
            + "                }, { "
            + "                  \"property-key\": \"vpn-binding.vpn-type\", "
            + "                  \"property-value\": \"CUSTOMER\" "
            + "                } "
            + "              ] "
            + "            } "
            + "          ] "
            + "        } "
            + "      } "
            + "    }, { "
            + "      \"l3-network\": { "
            + "        \"network-id\": \"95380967-0f1c-41e9-a47f-9baa3f90860c\", "
            + "        \"network-name\": \"AUK51a_oam_calea_net_3\", "
            + "        \"network-type\": \"SR-IOV-PROVIDER2-3\", "
            + "        \"network-role\": \"oam_calea_net_3\", "
            + "        \"network-technology\": \"STANDARD-SR-IOV\", "
            + "        \"is-bound-to-vpn\": true, "
            + "        \"resource-version\": \"1540925016770\", "
            + "        \"orchestration-status\": \"Active\", "
            + "        \"model-invariant-id\": \"3b3308d4-0cd3-43e4-9a7b-d1925c861135\", "
            + "        \"model-version-id\": \"77010093-df36-4dcb-8428-c3d02bf3f88d\", "
            + "        \"model-customization-id\": \"95380967-0f1c-41e9-a47f-9baa3f90860c\", "
            + "        \"physical-network-name\": \"sriovnet3\", "
            + "        \"is-provider-network\": true, "
            + "        \"is-shared-network\": true, "
            + "        \"is-external-network\": false, "
            + "        \"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/c44ad6cc-639a-4c6b-a327-583afd656a0d/service-data/networks/network/cf18fbb3-ddcb-4774-bd30-e0e895c0e35e/network-data/network-topology/\", "
            + "        \"relationship-list\": { "
            + "          \"relationship\": [{ "
            + "              \"related-to\": \"service-instance\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.ComposedOf\", "
            + "              \"related-link\": \"/aai/v14/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Emanuel/service-instances/service-instance/c44ad6cc-639a-4c6b-a327-583afd656a0d\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"customer.global-customer-id\", "
            + "                  \"relationship-value\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\" "
            + "                }, { "
            + "                  \"relationship-key\": \"service-subscription.service-type\", "
            + "                  \"relationship-value\": \"Emanuel\" "
            + "                }, { "
            + "                  \"relationship-key\": \"service-instance.service-instance-id\", "
            + "                  \"relationship-value\": \"f09bbb55-8942-4621-892f-4690a8e5570a\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"service-instance.service-instance-name\", "
            + "                  \"property-value\": \"AUK51a_oam_calea_net_service_3\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"tenant\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a/tenants/tenant/b530fc990b6d4334bd45518bebca6a51\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"cloud-region.cloud-owner\", "
            + "                  \"relationship-value\": \"att-nc\" "
            + "                }, { "
            + "                  \"relationship-key\": \"cloud-region.cloud-region-id\", "
            + "                  \"relationship-value\": \"auk51a\" "
            + "                }, { "
            + "                  \"relationship-key\": \"tenant.tenant-id\", "
            + "                  \"relationship-value\": \"b530fc990b6d4334bd45518bebca6a51\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"tenant.tenant-name\", "
            + "                  \"property-value\": \"ecomp_ispt\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"cloud-region\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"cloud-region.cloud-owner\", "
            + "                  \"relationship-value\": \"att-nc\" "
            + "                }, { "
            + "                  \"relationship-key\": \"cloud-region.cloud-region-id\", "
            + "                  \"relationship-value\": \"auk51a\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"cloud-region.owner-defined-type\", "
            + "                  \"property-value\": \"lcp\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"vpn-binding\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/network/vpn-bindings/vpn-binding/3e7834fb-a8e0-4243-a837-5352ccab4602\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"vpn-binding.vpn-id\", "
            + "                  \"relationship-value\": \"3e7834fb-a8e0-4243-a837-5352ccab4602\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"vpn-binding.vpn-name\", "
            + "                  \"property-value\": \"LPPVPN\" "
            + "                }, { "
            + "                  \"property-key\": \"vpn-binding.vpn-type\", "
            + "                  \"property-value\": \"CUSTOMER\" "
            + "                } "
            + "              ] "
            + "            } "
            + "          ] "
            + "        } "
            + "      } "
            + "    }, { "
            + "      \"l3-network\": { "
            + "        \"network-id\": \"3b3308d4-0cd3-43e4-9a7b-d1925c861135\", "
            + "        \"network-name\": \"AUK51a_oam_calea_net_0\", "
            + "        \"network-type\": \"SR-IOV-PROVIDER2-0\", "
            + "        \"network-technology\": \"STANDARD-SR-IOV\", "
            + "        \"is-bound-to-vpn\": true, "
            + "        \"resource-version\": \"1540925016770\", "
            + "        \"orchestration-status\": \"Active\", "
            + "        \"model-invariant-id\": \"3b3308d4-0cd3-43e4-9a7b-d1925c861135\", "
            + "        \"model-version-id\": \"77010093-df36-4dcb-8428-c3d02bf3f88d\", "
            + "        \"model-customization-id\": \"95380967-0f1c-41e9-a47f-9baa3f90860c\", "
            + "        \"physical-network-name\": \"sriovnet0\", "
            + "        \"is-provider-network\": true, "
            + "        \"is-shared-network\": true, "
            + "        \"is-external-network\": false, "
            + "        \"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/74141179-b5b9-4383-aab4-45f5b9f70127/service-data/networks/network/62cecd1b-f4bf-4e16-add9-2b6f5181e595/network-data/network-topology/\", "
            + "        \"relationship-list\": { "
            + "          \"relationship\": [{ "
            + "              \"related-to\": \"service-instance\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.ComposedOf\", "
            + "              \"related-link\": \"/aai/v14/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Emanuel/service-instances/service-instance/74141179-b5b9-4383-aab4-45f5b9f70127\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"customer.global-customer-id\", "
            + "                  \"relationship-value\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\" "
            + "                }, { "
            + "                  \"relationship-key\": \"service-subscription.service-type\", "
            + "                  \"relationship-value\": \"Emanuel\" "
            + "                }, { "
            + "                  \"relationship-key\": \"service-instance.service-instance-id\", "
            + "                  \"relationship-value\": \"1c98917b-8255-43c6-98f1-7a2942e75ce1\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"service-instance.service-instance-name\", "
            + "                  \"property-value\": \"AUK51a_oam_calea_net_service_0\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"tenant\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a/tenants/tenant/b530fc990b6d4334bd45518bebca6a51\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"cloud-region.cloud-owner\", "
            + "                  \"relationship-value\": \"att-nc\" "
            + "                }, { "
            + "                  \"relationship-key\": \"cloud-region.cloud-region-id\", "
            + "                  \"relationship-value\": \"auk51a\" "
            + "                }, { "
            + "                  \"relationship-key\": \"tenant.tenant-id\", "
            + "                  \"relationship-value\": \"b530fc990b6d4334bd45518bebca6a51\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"tenant.tenant-name\", "
            + "                  \"property-value\": \"ecomp_ispt\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"cloud-region\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"cloud-region.cloud-owner\", "
            + "                  \"relationship-value\": \"att-nc\" "
            + "                }, { "
            + "                  \"relationship-key\": \"cloud-region.cloud-region-id\", "
            + "                  \"relationship-value\": \"auk51a\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"cloud-region.owner-defined-type\", "
            + "                  \"property-value\": \"lcp\" "
            + "                } "
            + "              ] "
            + "            }, { "
            + "              \"related-to\": \"vpn-binding\", "
            + "              \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
            + "              \"related-link\": \"/aai/v14/network/vpn-bindings/vpn-binding/3e7834fb-a8e0-4243-a837-5352ccab4602\", "
            + "              \"relationship-data\": [{ "
            + "                  \"relationship-key\": \"vpn-binding.vpn-id\", "
            + "                  \"relationship-value\": \"3e7834fb-a8e0-4243-a837-5352ccab4602\" "
            + "                } "
            + "              ], "
            + "              \"related-to-property\": [{ "
            + "                  \"property-key\": \"vpn-binding.vpn-name\", "
            + "                  \"property-value\": \"LPPVPN\" "
            + "                }, { "
            + "                  \"property-key\": \"vpn-binding.vpn-type\", "
            + "                  \"property-value\": \"CUSTOMER\" "
            + "                } "
            + "              ] "
            + "            } "
            + "          ] "
            + "        } "
            + "      } "
            + "    } "
            + "  ] "
            + "}";

    private static final String STATE_2 = "{\"results\": [" +
            "   {\"l3-network\":    {" +
            "      \"network-id\": \"CC-l3network_1\"," +
            "      \"is-bound-to-vpn\": false," +
            "      \"resource-version\": \"1556206041065\"," +
            "      \"is-provider-network\": false," +
            "      \"is-shared-network\": false," +
            "      \"is-external-network\": false," +
            "      \"relationship-list\": {\"relationship\": [      {" +
            "         \"related-to\": \"tenant\"," +
            "         \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
            "         \"related-link\": \"/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-CC-ANAI-528/cloud-region-id-CC-ANAI-528/tenants/tenant/tenant-id-CC-ANAI-528T1\"," +
            "         \"relationship-data\":          [" +
            "                        {" +
            "               \"relationship-key\": \"cloud-region.cloud-owner\"," +
            "               \"relationship-value\": \"cloud-owner-CC-ANAI-528\"" +
            "            }," +
            "                        {" +
            "               \"relationship-key\": \"cloud-region.cloud-region-id\"," +
            "               \"relationship-value\": \"cloud-region-id-CC-ANAI-528\"" +
            "            }," +
            "                        {" +
            "               \"relationship-key\": \"tenant.tenant-id\"," +
            "               \"relationship-value\": \"tenant-id-CC-ANAI-528T1\"" +
            "            }" +
            "         ]," +
            "         \"related-to-property\": [         {" +
            "            \"property-key\": \"tenant.tenant-name\"," +
            "            \"property-value\": \"tenant-name-CC-ANAI-528T1\"" +
            "         }]" +
            "      }]}" +
            "   }}," +
            "   {\"l3-network\":    {" +
            "      \"network-id\": \"CC-l3network_3\"," +
            "      \"network-name\": \"DLLSTXRNDS3\"," +
            "      \"network-role\": \"Backup\"," +
            "      \"is-bound-to-vpn\": true," +
            "      \"resource-version\": \"1556139217403\"," +
            "      \"is-provider-network\": false," +
            "      \"is-shared-network\": false," +
            "      \"is-external-network\": false," +
            "      \"relationship-list\": {\"relationship\":       [" +
            "                  {" +
            "            \"related-to\": \"tenant\"," +
            "            \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
            "            \"related-link\": \"/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-CC-ANAI-528/cloud-region-id-CC-ANAI-528/tenants/tenant/tenant-id-CC-ANAI-528T1\"," +
            "            \"relationship-data\":             [" +
            "                              {" +
            "                  \"relationship-key\": \"cloud-region.cloud-owner\"," +
            "                  \"relationship-value\": \"cloud-owner-CC-ANAI-528\"" +
            "               }," +
            "                              {" +
            "                  \"relationship-key\": \"cloud-region.cloud-region-id\"," +
            "                  \"relationship-value\": \"cloud-region-id-CC-ANAI-528\"" +
            "               }," +
            "                              {" +
            "                  \"relationship-key\": \"tenant.tenant-id\"," +
            "                  \"relationship-value\": \"tenant-id-CC-ANAI-528T1\"" +
            "               }" +
            "            ]," +
            "            \"related-to-property\": [            {" +
            "               \"property-key\": \"tenant.tenant-name\"," +
            "               \"property-value\": \"tenant-name-CC-ANAI-528T1\"" +
            "            }]" +
            "         }," +
            "                  {" +
            "            \"related-to\": \"tenant\"," +
            "            \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
            "            \"related-link\": \"/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-CC-ANAI-528/cloud-region-id-CC-ANAI-528/tenants/tenant/tenant-id-CC-ANAI-528-T2\"," +
            "            \"relationship-data\":             [" +
            "                              {" +
            "                  \"relationship-key\": \"cloud-region.cloud-owner\"," +
            "                  \"relationship-value\": \"cloud-owner-CC-ANAI-528\"" +
            "               }," +
            "                              {" +
            "                  \"relationship-key\": \"cloud-region.cloud-region-id\"," +
            "                  \"relationship-value\": \"cloud-region-id-CC-ANAI-528\"" +
            "               }," +
            "                              {" +
            "                  \"relationship-key\": \"tenant.tenant-id\"," +
            "                  \"relationship-value\": \"tenant-id-CC-ANAI-528-T2\"" +
            "               }" +
            "            ]," +
            "            \"related-to-property\": [            {" +
            "               \"property-key\": \"tenant.tenant-name\"," +
            "               \"property-value\": \"tenant-name-CC-ANAI-528T2\"" +
            "            }]" +
            "         }," +
            "                  {" +
            "            \"related-to\": \"tenant\"," +
            "            \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
            "            \"related-link\": \"/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-CC-ANAI-528/cloud-region-id-CC-ANAI-528/tenants/tenant/tenant-id-CC-ANAI-528T3\"," +
            "            \"relationship-data\":             [" +
            "                              {" +
            "                  \"relationship-key\": \"cloud-region.cloud-owner\"," +
            "                  \"relationship-value\": \"cloud-owner-CC-ANAI-528\"" +
            "               }," +
            "                              {" +
            "                  \"relationship-key\": \"cloud-region.cloud-region-id\"," +
            "                  \"relationship-value\": \"cloud-region-id-CC-ANAI-528\"" +
            "               }," +
            "                              {" +
            "                  \"relationship-key\": \"tenant.tenant-id\"," +
            "                  \"relationship-value\": \"tenant-id-CC-ANAI-528T3\"" +
            "               }" +
            "            ]," +
            "            \"related-to-property\": [            {" +
            "               \"property-key\": \"tenant.tenant-name\"," +
            "               \"property-value\": \"tenant-name-CC-ANAI-528T3\"" +
            "            }]" +
            "         }" +
            "      ]}" +
            "   }}," +
            "   {\"l3-network\":    {" +
            "      \"network-id\": \"l3network2-550-as988q\"," +
            "      \"network-name\": \"CHICGIL01VDBE01_SubIntNtwk043\"," +
            "      \"network-type\": \"K6VD\"," +
            "      \"network-role\": \"X92XE0j\"," +
            "      \"network-technology\": \"ZYbPEnCjX6Oqd\"," +
            "      \"neutron-network-id\": \"fpFvDje\"," +
            "      \"is-bound-to-vpn\": false," +
            "      \"service-id\": \"NJnzYaRlz0Test\"," +
            "      \"network-role-instance\": 162," +
            "      \"resource-version\": \"1556823012443\"," +
            "      \"orchestration-status\": \"active\"," +
            "      \"heat-stack-id\": \"0GmDeg\"," +
            "      \"mso-catalog-key\": \"la5ylhZ5g0D\"," +
            "      \"contrail-network-fqdn\": \"EaeexDk47\"," +
            "      \"model-customization-id\": \"wgmn6PrJ5\"," +
            "      \"widget-model-id\": \"e0yNr\"," +
            "      \"widget-model-version\": \"yKpry3J0VVLn\"," +
            "      \"physical-network-name\": \"wq6OKbZMTY\"," +
            "      \"is-provider-network\": false," +
            "      \"is-shared-network\": false," +
            "      \"is-external-network\": false," +
            "      \"selflink\": \"9xtMu4EPuTi\"," +
            "      \"operational-status\": \"W8aj\"," +
            "      \"is-trunked\": true," +
            "      \"relationship-list\": {\"relationship\":       [" +
            "                  {" +
            "            \"related-to\": \"tenant\"," +
            "            \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
            "            \"related-link\": \"/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-CC-ANAI-528/cloud-region-id-CC-ANAI-528/tenants/tenant/tenant-id-CC-ANAI-528T1\"," +
            "            \"relationship-data\":             [" +
            "                              {" +
            "                  \"relationship-key\": \"cloud-region.cloud-owner\"," +
            "                  \"relationship-value\": \"cloud-owner-CC-ANAI-528\"" +
            "               }," +
            "                              {" +
            "                  \"relationship-key\": \"cloud-region.cloud-region-id\"," +
            "                  \"relationship-value\": \"cloud-region-id-CC-ANAI-528\"" +
            "               }," +
            "                              {" +
            "                  \"relationship-key\": \"tenant.tenant-id\"," +
            "                  \"relationship-value\": \"tenant-id-CC-ANAI-528T1\"" +
            "               }" +
            "            ]," +
            "            \"related-to-property\": [            {" +
            "               \"property-key\": \"tenant.tenant-name\"," +
            "               \"property-value\": \"tenant-name-CC-ANAI-528T1\"" +
            "            }]" +
            "         }," +
            "                  {" +
            "            \"related-to\": \"configuration\"," +
            "            \"relationship-label\": \"org.onap.relationships.inventory.PartOf\"," +
            "            \"related-link\": \"/aai/v17/network/configurations/configuration/configuration2-550-as988q\"," +
            "            \"relationship-data\": [            {" +
            "               \"relationship-key\": \"configuration.configuration-id\"," +
            "               \"relationship-value\": \"configuration2-550-as988q\"" +
            "            }]" +
            "         }," +
            "                  {" +
            "            \"related-to\": \"configuration\"," +
            "            \"relationship-label\": \"org.onap.relationships.inventory.PartOf\"," +
            "            \"related-link\": \"/aai/v17/network/configurations/configuration/configuration1-550-as988q\"," +
            "            \"relationship-data\": [            {" +
            "               \"relationship-key\": \"configuration.configuration-id\"," +
            "               \"relationship-value\": \"configuration1-550-as988q\"" +
            "            }]" +
            "         }," +
            "                  {" +
            "            \"related-to\": \"vpn-binding\"," +
            "            \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
            "            \"related-link\": \"/aai/v17/network/vpn-bindings/vpn-binding/VPNbinding3-550-as988q\"," +
            "            \"relationship-data\": [            {" +
            "               \"relationship-key\": \"vpn-binding.vpn-id\"," +
            "               \"relationship-value\": \"VPNbinding3-550-as988q\"" +
            "            }]," +
            "            \"related-to-property\":             [" +
            "                              {" +
            "                  \"property-key\": \"vpn-binding.vpn-name\"," +
            "                  \"property-value\": \"SZ2A5L_VPNTest\"" +
            "               }," +
            "                              {" +
            "                  \"property-key\": \"vpn-binding.vpn-type\"," +
            "                  \"property-value\": \"1903e94v\"" +
            "               }" +
            "            ]" +
            "         }" +
            "      ]}" +
            "   }}," +
            "   {\"l3-network\":    {" +
            "      \"network-id\": \"CC-l3network_2\"," +
            "      \"network-name\": \"DLLSTXRNDS2\"," +
            "      \"network-role\": \"Primary\"," +
            "      \"is-bound-to-vpn\": true," +
            "      \"resource-version\": \"1556136783141\"," +
            "      \"is-provider-network\": true," +
            "      \"is-shared-network\": true," +
            "      \"is-external-network\": true," +
            "      \"relationship-list\": {\"relationship\":       [" +
            "                  {" +
            "            \"related-to\": \"tenant\"," +
            "            \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
            "            \"related-link\": \"/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-CC-ANAI-528/cloud-region-id-CC-ANAI-528/tenants/tenant/tenant-id-CC-ANAI-528T1\"," +
            "            \"relationship-data\":             [" +
            "                              {" +
            "                  \"relationship-key\": \"cloud-region.cloud-owner\"," +
            "                  \"relationship-value\": \"cloud-owner-CC-ANAI-528\"" +
            "               }," +
            "                              {" +
            "                  \"relationship-key\": \"cloud-region.cloud-region-id\"," +
            "                  \"relationship-value\": \"cloud-region-id-CC-ANAI-528\"" +
            "               }," +
            "                              {" +
            "                  \"relationship-key\": \"tenant.tenant-id\"," +
            "                  \"relationship-value\": \"tenant-id-CC-ANAI-528T1\"" +
            "               }" +
            "            ]," +
            "            \"related-to-property\": [            {" +
            "               \"property-key\": \"tenant.tenant-name\"," +
            "               \"property-value\": \"tenant-name-CC-ANAI-528T1\"" +
            "            }]" +
            "         }," +
            "                  {" +
            "            \"related-to\": \"tenant\"," +
            "            \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
            "            \"related-link\": \"/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-CC-ANAI-528/cloud-region-id-CC-ANAI-528/tenants/tenant/tenant-id-CC-ANAI-528-T2\"," +
            "            \"relationship-data\":             [" +
            "                              {" +
            "                  \"relationship-key\": \"cloud-region.cloud-owner\"," +
            "                  \"relationship-value\": \"cloud-owner-CC-ANAI-528\"" +
            "               }," +
            "                              {" +
            "                  \"relationship-key\": \"cloud-region.cloud-region-id\"," +
            "                  \"relationship-value\": \"cloud-region-id-CC-ANAI-528\"" +
            "               }," +
            "                              {" +
            "                  \"relationship-key\": \"tenant.tenant-id\"," +
            "                  \"relationship-value\": \"tenant-id-CC-ANAI-528-T2\"" +
            "               }" +
            "            ]," +
            "            \"related-to-property\": [            {" +
            "               \"property-key\": \"tenant.tenant-name\"," +
            "               \"property-value\": \"tenant-name-CC-ANAI-528T2\"" +
            "            }]" +
            "         }" +
            "      ]}" +
            "   }}" +
            "]}";




}