3 "id": "5824ca69.20e9b4",
7 "x": 147.14285278320312,
8 "y": 91.42857360839844,
17 "id": "2cdc778b.c440a8",
18 "type": "service-logic",
19 "name": "GENERIC-RESOURCE-API ${project.version}",
20 "module": "GENERIC-RESOURCE-API",
21 "version": "${project.version}",
23 "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
25 "x": 261.09523010253906,
26 "y": 131.66669464111328,
27 "z": "f19c7219.1794b",
35 "id": "46a31529.575a3c",
37 "name": "method port-mirror-topology-operation-create-vnfc",
38 "xml": "<method rpc='port-mirror-topology-operation-create-vnfcs' mode='sync'>\n",
41 "x": 271.4286346435547,
42 "y": 172.85714149475098,
43 "z": "f19c7219.1794b",
51 "id": "43c833c6.cbafdc",
53 "name": "port-mirror-topology-operation-create-vnfcs",
56 "x": 541.4877090454102,
57 "y": 39.01491737365723,
58 "z": "f19c7219.1794b",
62 "id": "3348c9a8.a257a6",
64 "name": "set vnfc data",
65 "xml": "<set>\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnfc-key'\n value='`$tmp.AnAI-data.src-li.results[$src-li-idx].vnfc.vnfc-name`' />\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnfc-name'\n value='`$tmp.AnAI-data.src-li.results[$src-li-idx].vnfc.vnfc-name`' />\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnf-id'\n value='`$tmp.src-vnf-id`' />\n",
67 "x": 1304.6427917480469,
68 "y": 147.76191902160645,
69 "z": "f19c7219.1794b",
73 "id": "82331627.da0c38",
75 "name": "look through relationships looking for the related vserver",
78 "x": 1433.2144088745117,
79 "y": 192.04788208007812,
80 "z": "f19c7219.1794b",
84 "id": "606fe9e4.7d4348",
86 "name": "for each relationship",
87 "xml": "<for index='rel-idx' start='0' end='`$tmp.AnAI-data.src-li.results[$src-li-idx].vnfc.relationship-list.relationship_length`' >\n",
90 "x": 1324.642807006836,
91 "y": 276.3334903717041,
92 "z": "f19c7219.1794b",
100 "id": "9e428281.f398e",
101 "type": "switchNode",
102 "name": "switch related-to == vserver",
103 "xml": "<switch test=\"`$tmp.AnAI-data.src-li.results[$src-li-idx].vnfc.relationship-list.relationship[$rel-idx].related-to == 'vserver'`\">\n",
106 "x": 1576.0715980529785,
107 "y": 276.3334560394287,
108 "z": "f19c7219.1794b",
116 "id": "5e09ce32.afc1a",
117 "type": "outcomeTrue",
119 "xml": "<outcome value='true'>\n",
122 "x": 1780.3572387695312,
123 "y": 274.9052333831787,
124 "z": "f19c7219.1794b",
132 "id": "e0bfd49.2991328",
134 "name": "set tmp.vserver-id = 0",
135 "xml": "<set>\n<parameter name='tmp.vserver-id' value='0' />\n",
137 "x": 1331.785789489746,
138 "y": 233.47638320922852,
139 "z": "f19c7219.1794b",
143 "id": "dd66f351.b4287",
145 "name": "for each relationship-data",
146 "xml": "<for index='reldata-idx' start='0' end='`$tmp.AnAI-data.src-li.results[$src-li-idx].vnfc.relationship-list.relationship[$rel-idx].relationship-data_length`' >\n",
149 "x": 1977.4999923706055,
150 "y": 273.4764881134033,
151 "z": "f19c7219.1794b",
159 "id": "b5847bc5.de5478",
160 "type": "switchNode",
161 "name": "switch relationship-key == 'vserver.vserver-id'",
162 "xml": "<switch test=\"`$tmp.AnAI-data.src-li.results[$src-li-idx].vnfc.relationship-list.relationship[$rel-idx].relationship-data[$reldata-idx].relationship-key == 'vserver.vserver-id'`\">\n",
165 "x": 2297.499885559082,
166 "y": 273.4763126373291,
167 "z": "f19c7219.1794b",
175 "id": "a19eabb8.56abc8",
176 "type": "outcomeTrue",
178 "xml": "<outcome value='true'>\n",
181 "x": 2546.0715713500977,
182 "y": 272.0476760864258,
183 "z": "f19c7219.1794b",
191 "id": "d675e632.b382f8",
193 "name": "set tmp.vserver-id",
194 "xml": "<set>\n<parameter name='tmp.vserver-id' value='`$tmp.AnAI-data.src-li.results[$src-li-idx].vnfc.relationship-list.relationship[$rel-idx].relationship-data[$reldata-idx].relationship-value`' />\n",
196 "x": 2734.6432876586914,
197 "y": 270.6192045211792,
198 "z": "f19c7219.1794b",
202 "id": "54051de.b4315e4",
203 "type": "switchNode",
204 "name": "switch tmp.vserver-id == 0",
205 "xml": "<switch test='`$tmp.vserver-id == 0`'>\n",
208 "x": 1346.0716094970703,
209 "y": 322.0478801727295,
210 "z": "f19c7219.1794b",
218 "id": "e73429c1.6d4a38",
219 "type": "outcomeTrue",
221 "xml": "<outcome value='true'>\n",
224 "x": 1546.0715713500977,
225 "y": 322.0476760864258,
226 "z": "f19c7219.1794b",
234 "id": "eb7b19a6.882228",
236 "name": "block : atomic",
237 "xml": "<block atomic=\"true\">",
240 "x": 1693.2143936157227,
241 "y": 320.6192092895508,
242 "z": "f19c7219.1794b",
250 "id": "987182b5.70dc7",
252 "name": "set vserver data",
253 "xml": "<set>\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vserver-name'\n value='`$tmp.AnAI-data.src-li.results[$src-vs-idx].vserver.vserver-name`' />\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vserver-id'\n value='`$tmp.AnAI-data.src-li.results[$src-vs-idx].vserver.vserver-id`' />\n<parameter name='tmp.vs-idx' value='`$src-vs-idx`' />\n",
255 "x": 2027.023666381836,
256 "y": 414.90478897094727,
257 "z": "f19c7219.1794b",
261 "id": "f30054d5.526208",
263 "name": "loop through the results array for this vserver",
266 "x": 1395.3572463989258,
267 "y": 374.90478706359863,
268 "z": "f19c7219.1794b",
272 "id": "6ca675d9.0abacc",
274 "name": "for each src result",
275 "xml": "<for index='src-vs-idx' start='0' end='`$tmp.AnAI-data.src-li.results_length`' >\n",
278 "x": 1317.0238418579102,
279 "y": 416.5713577270508,
280 "z": "f19c7219.1794b",
288 "id": "6e5a5a11.67dc84",
289 "type": "switchNode",
290 "name": "is this our vserver?",
291 "xml": "<switch test='`$tmp.AnAI-data.src-li.results[$src-vs-idx].vserver.vserver-id == $tmp.vserver-id`'>\n",
294 "x": 1513.6904678344727,
295 "y": 414.9048538208008,
296 "z": "f19c7219.1794b",
304 "id": "8c36a0ad.63b1a",
305 "type": "outcomeTrue",
307 "xml": "<outcome value='true'>\n",
310 "x": 1683.690315246582,
311 "y": 414.90478801727295,
312 "z": "f19c7219.1794b",
320 "id": "4a784e6b.1a374",
322 "name": "block : atomic",
323 "xml": "<block atomic=\"true\">",
326 "x": 1835.3572158813477,
327 "y": 414.9048538208008,
328 "z": "f19c7219.1794b",
336 "id": "8ac121a2.f054f",
338 "name": "increment tmp.vnfc-objects-idx",
339 "xml": "<set>\n<parameter name='tmp.vnfc-objects-idx' value='`$tmp.vnfc-objects-idx + 1`' />\n",
341 "x": 1345.3574295043945,
342 "y": 833.9048900604248,
343 "z": "f19c7219.1794b",
347 "id": "d7d96f12.ed2bc",
349 "name": "now process l-interfaces for this vserver",
352 "x": 1373.690486907959,
353 "y": 518.238260269165,
354 "z": "f19c7219.1794b",
358 "id": "41c41df3.5764a4",
360 "name": "for each l-interface in this vserver",
361 "xml": "<for silentFailure='true' index='src-vli-idx' start='0' end='`$tmp.AnAI-data.src-li.results[$tmp.vs-idx].vserver.l-interfaces.l-interface_length`' >\n",
364 "x": 1355.357105255127,
365 "y": 563.2381811141968,
366 "z": "f19c7219.1794b",
374 "id": "a318be8d.ca848",
375 "type": "switchNode",
376 "name": "does network-name match?",
377 "xml": "<switch test='`$tmp.AnAI-data.src-li.results[$tmp.vs-idx].vserver.l-interfaces.l-interface[$src-vli-idx].network-name == $tmp.src-network-name`'>\n",
380 "x": 1650.3572807312012,
381 "y": 563.2381000518799,
382 "z": "f19c7219.1794b",
390 "id": "5f6d71fd.e48f9",
391 "type": "outcomeTrue",
393 "xml": "<outcome value='true'>\n",
396 "x": 1860.3571891784668,
397 "y": 561.5714912414551,
398 "z": "f19c7219.1794b",
406 "id": "c8b08bf3.2a97f8",
408 "name": "set tmp.interface-ids_length to 0",
409 "xml": "<set>\n<parameter name='tmp.interface-ids_length' value='0' />\n",
411 "x": 1368.6905250549316,
412 "y": 469.90484523773193,
413 "z": "f19c7219.1794b",
417 "id": "1d86856b.8c8b0b",
419 "name": "save interface-id",
420 "xml": "<set>\n<parameter name='tmp.interface-ids[$tmp.interface-ids_length].interface-id' value='`$tmp.AnAI-data.src-li.results[$tmp.vs-idx].vserver.l-interfaces.l-interface[$src-vli-idx].interface-id`' />\n<parameter name='tmp.interface-ids_length' value='`$tmp.interface-ids_length + 1`' />\n",
422 "x": 2037.0235176086426,
423 "y": 561.5718421936035,
424 "z": "f19c7219.1794b",
428 "id": "e8c47337.194cc",
430 "name": "for each src result",
431 "xml": "<for silentFailure='true' index='src-rs-idx' start='0' end='`$tmp.AnAI-data.src-li.results_length`' >\n",
434 "x": 1310.357265472412,
435 "y": 704.9046611785889,
436 "z": "f19c7219.1794b",
444 "id": "a0fd84a6.22f688",
446 "name": "loop through the results array for these l-interfaces",
449 "x": 1400.357349395752,
450 "y": 663.2381839752197,
451 "z": "f19c7219.1794b",
455 "id": "ec2249aa.7fa5a8",
457 "name": "for each saved interface-id",
458 "xml": "<for index='in-idx' start='0' end='`$tmp.interface-ids_length`' >\n",
461 "x": 1907.024326324463,
462 "y": 734.9050178527832,
463 "z": "f19c7219.1794b",
471 "id": "eb709142.f8f52",
472 "type": "switchNode",
473 "name": "interface-ids match?",
474 "xml": "<switch test='`$tmp.AnAI-data.src-li.results[$src-rs-idx].l-interface.interface-id == $tmp.interface-ids[$in-idx].interface-id`'>\n",
477 "x": 2183.690845489502,
478 "y": 734.9047737121582,
479 "z": "f19c7219.1794b",
487 "id": "222ad245.d91fbe",
488 "type": "outcomeTrue",
490 "xml": "<outcome value='true'>\n",
493 "x": 2372.024158477783,
494 "y": 733.2382411956787,
495 "z": "f19c7219.1794b",
503 "id": "5c58f241.abac8c",
505 "name": "set tmp.vnic-idx to 0",
506 "xml": "<set>\n<parameter name='tmp.vnic-idx' value='0' />\n",
508 "x": 1315.3572273254395,
509 "y": 614.9049320220947,
510 "z": "f19c7219.1794b",
514 "id": "d9617935.c2d7f8",
516 "name": "block : atomic",
517 "xml": "<block atomic=\"true\">",
520 "x": 2535.3572959899902,
521 "y": 733.2382411956787,
522 "z": "f19c7219.1794b",
533 "id": "13a3172d.4d7459",
535 "name": "set vnic-data",
536 "xml": "<set>\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnics.vnic[$tmp.vnic-idx].vnic-port-id'\n value='`$tmp.AnAI-data.src-li.results[$src-rs-idx].l-interface.interface-id`' />\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnics.vnic[$tmp.vnic-idx].vnic-port-name'\n value='`$tmp.AnAI-data.src-li.results[$src-rs-idx].l-interface.interface-name`' />\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnics.vnic[$tmp.vnic-idx].capacity.vnic-capacity'\n value='`$tmp.src-pps`' />\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnics.vnic[$tmp.vnic-idx].capacity.used-capacity'\n value='0' />\n",
538 "x": 2727.023914337158,
539 "y": 618.2382650375366,
540 "z": "f19c7219.1794b",
544 "id": "1f0a54c0.094a5b",
545 "type": "switchNode",
546 "name": "is there an ipv4 address?",
547 "xml": "<switch test='`$tmp.AnAI-data.src-li.results[$src-rs-idx].l-interface.l3-interface-ipv4-address-list[0].l3-interface-ipv4-address`'>\n",
550 "x": 2757.02388381958,
551 "y": 688.2382698059082,
552 "z": "f19c7219.1794b",
561 "id": "1f50864b.beb8da",
564 "xml": "<outcome value=''>\n",
567 "x": 2947.0236778259277,
568 "y": 663.2379951477051,
569 "z": "f19c7219.1794b",
577 "id": "3c7d317d.fb47fe",
580 "xml": "<outcome value='Other'>\n",
583 "x": 2947.023609161377,
584 "y": 714.6666679382324,
585 "z": "f19c7219.1794b",
593 "id": "2dbc1fdd.4e4df",
600 "x": 3077.0238151550293,
601 "y": 659.9048557281494,
602 "z": "f19c7219.1794b",
608 "id": "aaeab78b.c2f038",
610 "name": "set ipv4-address",
611 "xml": "<set>\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnics.vnic[$tmp.vnic-idx].vnic-ip-addresses.ip-addresses.ipv4-address'\n value='`$tmp.AnAI-data.src-li.results[$src-rs-idx].l-interface.l3-interface-ipv4-address-list[0].l3-interface-ipv4-address`' />\n",
613 "x": 3108.690399169922,
614 "y": 713.2381896972656,
615 "z": "f19c7219.1794b",
619 "id": "2add2962.c47056",
620 "type": "switchNode",
621 "name": "is this an l-interface?",
622 "xml": "<switch test='`$tmp.AnAI-data.src-li.results[$src-rs-idx].l-interface.interface-name`'>\n",
625 "x": 1517.0239067077637,
626 "y": 704.9048557281494,
627 "z": "f19c7219.1794b",
636 "id": "46e0a50b.cf81bc",
639 "xml": "<outcome value=''>\n",
642 "x": 1688.6904029846191,
643 "y": 681.5714092254639,
644 "z": "f19c7219.1794b",
652 "id": "4585ec47.df3ff4",
655 "xml": "<outcome value='Other'>\n",
658 "x": 1688.6903343200684,
659 "y": 733.0000820159912,
660 "z": "f19c7219.1794b",
668 "id": "3af66484.84461c",
675 "x": 1825.357250213623,
676 "y": 679.9051780700684,
677 "z": "f19c7219.1794b",
683 "id": "3cf0366f.7afeaa",
684 "type": "switchNode",
685 "name": "is there an ipv6 address?",
686 "xml": "<switch test='`$tmp.AnAI-data.src-li.results[$src-rs-idx].l-interface.l3-interface-ipv6-address-list[0].l3-interface-ipv6-address`'>\n",
689 "x": 2765.3567848205566,
690 "y": 783.2379112243652,
691 "z": "f19c7219.1794b",
700 "id": "be4e4b7c.467a88",
703 "xml": "<outcome value=''>\n",
706 "x": 2955.3565788269043,
707 "y": 758.2376365661621,
708 "z": "f19c7219.1794b",
716 "id": "804b95fe.663f68",
719 "xml": "<outcome value='Other'>\n",
722 "x": 2955.3565101623535,
723 "y": 809.6663093566895,
724 "z": "f19c7219.1794b",
732 "id": "631ba8b4.ea1db8",
739 "x": 3085.356716156006,
740 "y": 754.9044971466064,
741 "z": "f19c7219.1794b",
747 "id": "a7e10969.2b8498",
749 "name": "set ipv6-address",
750 "xml": "<set>\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnics.vnic[$tmp.vnic-idx].vnic-ip-addresses.ip-addresses.ipv6-address'\n value='`$tmp.AnAI-data.src-li.results[$src-rs-idx].l-interface.l3-interface-ipv6-address-list[0].l3-interface-ipv6-address`' />\n",
752 "x": 3117.0233001708984,
753 "y": 808.2378311157227,
754 "z": "f19c7219.1794b",
758 "id": "f2c3d29e.c6f01",
760 "name": "increment tmp.vnic-idx",
761 "xml": "<set>\n<parameter name='tmp.vnic-idx' value='`$tmp.vnic-idx + 1`' />\n",
763 "x": 2757.023723602295,
764 "y": 851.5715255737305,
765 "z": "f19c7219.1794b",
769 "id": "91cc5b8b.aca088",
771 "name": "set vnic_length",
772 "xml": "<set>\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnics.vnic_length' value='`$tmp.vnic-idx`' />\n",
774 "x": 1299.0240173339844,
775 "y": 782.5716171264648,
776 "z": "f19c7219.1794b",
780 "id": "123870ef.b3952f",
782 "name": "set vnfc data",
783 "xml": "<set>\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.dest-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnfc-key'\n value='`$tmp.AnAI-data.dest-li.results[$dest-li-idx].vnfc.vnfc-name`' />\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.dest-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnfc-name'\n value='`$tmp.AnAI-data.dest-li.results[$dest-li-idx].vnfc.vnfc-name`' />\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.dest-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnf-id'\n value='`$tmp.dest-vnf-id`' />\n",
785 "x": 1310.0238456726074,
786 "y": 1004.9048719406128,
787 "z": "f19c7219.1794b",
791 "id": "e4346cd6.97483",
793 "name": "look through relationships looking for the related vserver",
796 "x": 1438.5953941345215,
797 "y": 1049.190830230713,
798 "z": "f19c7219.1794b",
802 "id": "83d150b1.f8db",
804 "name": "for each relationship",
805 "xml": "<for index='rel-idx' start='0' end='`$tmp.AnAI-data.dest-li.results[$dest-li-idx].vnfc.relationship-list.relationship_length`' >\n",
808 "x": 1330.0237922668457,
809 "y": 1133.4764385223389,
810 "z": "f19c7219.1794b",
818 "id": "209db54.cb09b4a",
819 "type": "switchNode",
820 "name": "switch related-to == vserver",
821 "xml": "<switch test=\"`$tmp.AnAI-data.dest-li.results[$dest-li-idx].vnfc.relationship-list.relationship[$rel-idx].related-to == 'vserver'`\">\n",
824 "x": 1581.4525833129883,
825 "y": 1133.4764041900635,
826 "z": "f19c7219.1794b",
834 "id": "7c552a03.fc7b14",
835 "type": "outcomeTrue",
837 "xml": "<outcome value='true'>\n",
840 "x": 1785.738224029541,
841 "y": 1132.0481815338135,
842 "z": "f19c7219.1794b",
850 "id": "235462a5.9f39ae",
852 "name": "set tmp.vserver-id = 0",
853 "xml": "<set>\n<parameter name='tmp.vserver-id' value='0' />\n",
855 "x": 1337.1667747497559,
856 "y": 1090.6193313598633,
857 "z": "f19c7219.1794b",
861 "id": "a8fd7c1c.969c7",
863 "name": "for each relationship-data",
864 "xml": "<for index='reldata-idx' start='0' end='`$tmp.AnAI-data.dest-li.results[$dest-li-idx].vnfc.relationship-list.relationship[$rel-idx].relationship-data_length`' >\n",
867 "x": 1982.8809776306152,
868 "y": 1130.619436264038,
869 "z": "f19c7219.1794b",
877 "id": "43d73b86.214fd4",
878 "type": "switchNode",
879 "name": "switch relationship-key == 'vserver.vserver-id'",
880 "xml": "<switch test=\"`$tmp.AnAI-data.dest-li.results[$dest-li-idx].vnfc.relationship-list.relationship[$rel-idx].relationship-data[$reldata-idx].relationship-key == 'vserver.vserver-id'`\">\n",
883 "x": 2302.880870819092,
884 "y": 1130.6192607879639,
885 "z": "f19c7219.1794b",
893 "id": "231a2bce.bcbb84",
894 "type": "outcomeTrue",
896 "xml": "<outcome value='true'>\n",
899 "x": 2551.4525566101074,
900 "y": 1129.1906242370605,
901 "z": "f19c7219.1794b",
909 "id": "9fe17967.f5b968",
911 "name": "set tmp.vserver-id",
912 "xml": "<set>\n<parameter name='tmp.vserver-id' value='`$tmp.AnAI-data.dest-li.results[$dest-li-idx].vnfc.relationship-list.relationship[$rel-idx].relationship-data[$reldata-idx].relationship-value`' />\n",
914 "x": 2740.024272918701,
915 "y": 1127.762152671814,
916 "z": "f19c7219.1794b",
920 "id": "76d4ab8c.770d64",
921 "type": "switchNode",
922 "name": "switch tmp.vserver-id == 0",
923 "xml": "<switch test='`$tmp.vserver-id == 0`'>\n",
926 "x": 1351.45259475708,
927 "y": 1179.1908283233643,
928 "z": "f19c7219.1794b",
936 "id": "9c3b827c.e3eb",
937 "type": "outcomeTrue",
939 "xml": "<outcome value='true'>\n",
942 "x": 1551.4525566101074,
943 "y": 1179.1906242370605,
944 "z": "f19c7219.1794b",
952 "id": "8034f537.34d3d8",
954 "name": "block : atomic",
955 "xml": "<block atomic=\"true\">",
958 "x": 1698.5953788757324,
959 "y": 1177.7621574401855,
960 "z": "f19c7219.1794b",
968 "id": "ac94da67.d26988",
970 "name": "set vserver data",
971 "xml": "<set>\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.dest-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vserver-name'\n value='`$tmp.AnAI-data.dest-li.results[$dest-vs-idx].vserver.vserver-name`' />\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.dest-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vserver-id'\n value='`$tmp.AnAI-data.dest-li.results[$dest-vs-idx].vserver.vserver-id`' />\n<parameter name='tmp.vs-idx' value='`$dest-vs-idx`' />\n",
973 "x": 2032.4046516418457,
974 "y": 1272.047737121582,
975 "z": "f19c7219.1794b",
979 "id": "e4b70ec5.8f2a9",
981 "name": "loop through the results array for this vserver",
984 "x": 1400.7382316589355,
985 "y": 1232.0477352142334,
986 "z": "f19c7219.1794b",
990 "id": "e2a88998.378818",
992 "name": "for each dest result",
993 "xml": "<for index='dest-vs-idx' start='0' end='`$tmp.AnAI-data.dest-li.results_length`' >\n",
996 "x": 1322.40482711792,
997 "y": 1273.7143058776855,
998 "z": "f19c7219.1794b",
1006 "id": "df314dbf.690b8",
1007 "type": "switchNode",
1008 "name": "is this our vserver?",
1009 "xml": "<switch test='`$tmp.AnAI-data.dest-li.results[$dest-vs-idx].vserver.vserver-id == $tmp.vserver-id`'>\n",
1012 "x": 1519.0714530944824,
1013 "y": 1272.0478019714355,
1014 "z": "f19c7219.1794b",
1022 "id": "86a1a4ed.2cf098",
1023 "type": "outcomeTrue",
1025 "xml": "<outcome value='true'>\n",
1028 "x": 1689.0713005065918,
1029 "y": 1272.0477361679077,
1030 "z": "f19c7219.1794b",
1038 "id": "8b6fc22f.3dcc3",
1040 "name": "block : atomic",
1041 "xml": "<block atomic=\"true\">",
1045 "x": 1840.7382011413574,
1046 "y": 1272.0478019714355,
1047 "z": "f19c7219.1794b",
1055 "id": "90d21ad7.30c428",
1057 "name": "increment tmp.vnfc-objects-idx",
1058 "xml": "<set>\n<parameter name='tmp.vnfc-objects-idx' value='`$tmp.vnfc-objects-idx + 1`' />\n",
1060 "x": 1346.4526303609218,
1061 "y": 1707.0479326248173,
1062 "z": "f19c7219.1794b",
1066 "id": "3e132354.6c030c",
1068 "name": "now process l-interfaces for this vserver",
1071 "x": 1379.0714721679688,
1072 "y": 1375.3812084197998,
1073 "z": "f19c7219.1794b",
1077 "id": "c6a1bfd5.14d78",
1079 "name": "for each l-interface in this vserver",
1080 "xml": "<for silentFailure='true' index='dest-vli-idx' start='0' end='`$tmp.AnAI-data.dest-li.results[$tmp.vs-idx].vserver.l-interfaces.l-interface_length`' >\n",
1083 "x": 1360.7380905151367,
1084 "y": 1420.3811292648315,
1085 "z": "f19c7219.1794b",
1093 "id": "4c51257f.df2efc",
1094 "type": "switchNode",
1095 "name": "does network-name match?",
1096 "xml": "<switch test='`$tmp.AnAI-data.dest-li.results[$tmp.vs-idx].vserver.l-interfaces.l-interface[$dest-vli-idx].network-name == $tmp.dest-network-name`'>\n",
1099 "x": 1655.738265991211,
1100 "y": 1420.3810482025146,
1101 "z": "f19c7219.1794b",
1109 "id": "5abbe265.18948c",
1110 "type": "outcomeTrue",
1112 "xml": "<outcome value='true'>\n",
1115 "x": 1865.7381744384766,
1116 "y": 1418.7144393920898,
1117 "z": "f19c7219.1794b",
1125 "id": "2d541d29.d0a102",
1127 "name": "set tmp.interface-ids_length to 0",
1128 "xml": "<set>\n<parameter name='tmp.interface-ids_length' value='0' />\n",
1130 "x": 1374.0715103149414,
1131 "y": 1327.0477933883667,
1132 "z": "f19c7219.1794b",
1136 "id": "e4f63421.b0c1a8",
1138 "name": "save interface-id",
1139 "xml": "<set>\n<parameter name='tmp.interface-ids[$tmp.interface-ids_length].interface-id' value='`$tmp.AnAI-data.dest-li.results[$tmp.vs-idx].vserver.l-interfaces.l-interface[$dest-vli-idx].interface-id`' />\n<parameter name='tmp.interface-ids_length' value='`$tmp.interface-ids_length + 1`' />\n",
1141 "x": 2042.4045028686523,
1142 "y": 1418.7147903442383,
1143 "z": "f19c7219.1794b",
1147 "id": "e9f4a063.9d98c",
1149 "name": "for each dest result",
1150 "xml": "<for silentFailure='true' index='dest-rs-idx' start='0' end='`$tmp.AnAI-data.dest-li.results_length`' >\n",
1153 "x": 1315.7382507324219,
1154 "y": 1562.0476093292236,
1155 "z": "f19c7219.1794b",
1163 "id": "610cc2be.f926dc",
1165 "name": "loop through the results array for these l-interfaces",
1168 "x": 1405.7383346557617,
1169 "y": 1520.3811321258545,
1170 "z": "f19c7219.1794b",
1174 "id": "48a3cd64.041674",
1176 "name": "for each saved interface-id",
1177 "xml": "<for index='in-idx' start='0' end='`$tmp.interface-ids_length`' >\n",
1180 "x": 1912.4053115844727,
1181 "y": 1592.047966003418,
1182 "z": "f19c7219.1794b",
1190 "id": "92f98492.7ed328",
1191 "type": "switchNode",
1192 "name": "interface-ids match?",
1193 "xml": "<switch test='`$tmp.AnAI-data.dest-li.results[$dest-rs-idx].l-interface.interface-id == $tmp.interface-ids[$in-idx].interface-id`'>\n",
1196 "x": 2189.0718307495117,
1197 "y": 1592.047721862793,
1198 "z": "f19c7219.1794b",
1206 "id": "517f85ec.ab91fc",
1207 "type": "outcomeTrue",
1209 "xml": "<outcome value='true'>\n",
1212 "x": 2377.405143737793,
1213 "y": 1590.3811893463135,
1214 "z": "f19c7219.1794b",
1222 "id": "39165758.03b178",
1224 "name": "block : atomic",
1225 "xml": "<block atomic=\"true\">",
1229 "y": 1590.3811893463135,
1230 "z": "f19c7219.1794b",
1241 "id": "842c074b.07ce18",
1243 "name": "set vnic-data",
1244 "xml": "<set>\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.dest-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnics.vnic[$tmp.vnic-idx].vnic-port-id'\n value='`$tmp.AnAI-data.dest-li.results[$dest-rs-idx].l-interface.interface-id`' />\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.dest-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnics.vnic[$tmp.vnic-idx].vnic-port-name'\n value='`$tmp.AnAI-data.dest-li.results[$dest-rs-idx].l-interface.interface-name`' />\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.dest-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnics.vnic[$tmp.vnic-idx].capacity.vnic-capacity'\n value='`$tmp.dest-pps`' />\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.dest-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnics.vnic[$tmp.vnic-idx].capacity.used-capacity'\n value='0' />\n",
1246 "x": 2732.404899597168,
1247 "y": 1475.3812131881714,
1248 "z": "f19c7219.1794b",
1252 "id": "2c325a45.833636",
1253 "type": "switchNode",
1254 "name": "is there an ipv4 address?",
1255 "xml": "<switch test='`$tmp.AnAI-data.dest-li.results[$dest-rs-idx].l-interface.l3-interface-ipv4-address-list[0].l3-interface-ipv4-address`'>\n",
1258 "x": 2762.40486907959,
1259 "y": 1545.381217956543,
1260 "z": "f19c7219.1794b",
1269 "id": "bdca0e16.8e21d",
1272 "xml": "<outcome value=''>\n",
1275 "x": 2952.4046630859375,
1276 "y": 1520.3809432983398,
1277 "z": "f19c7219.1794b",
1285 "id": "8c69d401.782458",
1288 "xml": "<outcome value='Other'>\n",
1291 "x": 2952.4045944213867,
1292 "y": 1571.8096160888672,
1293 "z": "f19c7219.1794b",
1301 "id": "5426f8f.a078708",
1308 "x": 3082.404800415039,
1309 "y": 1517.0478038787842,
1310 "z": "f19c7219.1794b",
1316 "id": "8fc8ec37.c8388",
1318 "name": "set ipv4-address",
1319 "xml": "<set>\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.dest-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnics.vnic[$tmp.vnic-idx].vnic-ip-addresses.ip-addresses.ipv4-address'\n value='`$tmp.AnAI-data.dest-li.results[$dest-rs-idx].l-interface.l3-interface-ipv4-address-list[0].l3-interface-ipv4-address`' />\n",
1321 "x": 3114.0713844299316,
1322 "y": 1570.3811378479004,
1323 "z": "f19c7219.1794b",
1327 "id": "fed6b918.7cd968",
1328 "type": "switchNode",
1329 "name": "is this an l-interface?",
1330 "xml": "<switch test='`$tmp.AnAI-data.dest-li.results[$dest-rs-idx].l-interface.interface-name`'>\n",
1333 "x": 1522.4048919677734,
1334 "y": 1562.0478038787842,
1335 "z": "f19c7219.1794b",
1344 "id": "152788ba.9abfd7",
1347 "xml": "<outcome value=''>\n",
1350 "x": 1694.071388244629,
1351 "y": 1538.7143573760986,
1352 "z": "f19c7219.1794b",
1360 "id": "3e5cc15c.dfb35e",
1363 "xml": "<outcome value='Other'>\n",
1366 "x": 1694.0713195800781,
1367 "y": 1590.143030166626,
1368 "z": "f19c7219.1794b",
1376 "id": "76c2fc68.9b0ac4",
1383 "x": 1830.7382354736328,
1384 "y": 1537.0481262207031,
1385 "z": "f19c7219.1794b",
1391 "id": "5fbe9dd2.e72d64",
1392 "type": "switchNode",
1393 "name": "is there an ipv6 address?",
1394 "xml": "<switch test='`$tmp.AnAI-data.dest-li.results[$dest-rs-idx].l-interface.l3-interface-ipv6-address-list[0].l3-interface-ipv6-address`'>\n",
1397 "x": 2770.7377700805664,
1398 "y": 1640.380859375,
1399 "z": "f19c7219.1794b",
1408 "id": "325f4269.cf67ce",
1411 "xml": "<outcome value=''>\n",
1414 "x": 2960.737564086914,
1415 "y": 1615.3805847167969,
1416 "z": "f19c7219.1794b",
1424 "id": "73b0bf40.e62ed",
1427 "xml": "<outcome value='Other'>\n",
1430 "x": 2960.7374954223633,
1431 "y": 1666.8092575073242,
1432 "z": "f19c7219.1794b",
1440 "id": "c084c706.7c4328",
1447 "x": 3090.7377014160156,
1448 "y": 1612.0474452972412,
1449 "z": "f19c7219.1794b",
1455 "id": "c275e616.f80bb8",
1457 "name": "set ipv6-address",
1458 "xml": "<set>\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.dest-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnics.vnic[$tmp.vnic-idx].vnic-ip-addresses.ip-addresses.ipv6-address'\n value='`$tmp.AnAI-data.dest-li.results[$dest-rs-idx].l-interface.l3-interface-ipv6-address-list[0].l3-interface-ipv6-address`' />\n",
1460 "x": 3122.404285430908,
1461 "y": 1665.3807792663574,
1462 "z": "f19c7219.1794b",
1466 "id": "793b650b.9d653c",
1468 "name": "increment tmp.vnic-idx",
1469 "xml": "<set>\n<parameter name='tmp.vnic-idx' value='`$tmp.vnic-idx + 1`' />\n",
1471 "x": 2762.4047088623047,
1472 "y": 1708.7144737243652,
1473 "z": "f19c7219.1794b",
1477 "id": "5c44dcd5.f007e4",
1479 "name": "set vnic_length",
1480 "xml": "<set>\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.dest-vnfc-idx].vnfc-objects.vnfc-object[$tmp.vnfc-objects-idx].vnics.vnic_length' value='`$tmp.vnic-idx`' />\n",
1482 "x": 1299.7858390808105,
1483 "y": 1652.0479745864868,
1484 "z": "f19c7219.1794b",
1488 "id": "20ef598e.0d7d96",
1490 "name": "set tmp.vnic-idx to 0",
1491 "xml": "<set>\n<parameter name='tmp.vnic-idx' value='0' />\n",
1493 "x": 1319.1903495788574,
1494 "y": 1470.7381238937378,
1495 "z": "f19c7219.1794b",
1499 "id": "7b6db590.0533bc",
1501 "name": "block : atomic",
1502 "xml": "<block atomic=\"true\">",
1505 "x": 1094.6428413391113,
1506 "y": 422.7619466781616,
1507 "z": "f19c7219.1794b",
1525 "id": "58a52a03.d31b64",
1527 "name": "block : atomic",
1528 "xml": "<block atomic=\"true\">",
1531 "x": 1114.6429290771484,
1532 "y": 1339.2619905471802,
1533 "z": "f19c7219.1794b",
1551 "id": "2f5a40e3.2a003",
1553 "name": "for each src result",
1554 "xml": "<for silentFailure='true' index='src-li-idx' start='0' end='`$tmp.AnAI-data.src-li.results_length`' >\n",
1557 "x": 367.14287240164595,
1558 "y": 399.7619879586355,
1559 "z": "f19c7219.1794b",
1567 "id": "c366477a.0cdbb8",
1568 "type": "switchNode",
1569 "name": "is this a vnfc?",
1570 "xml": "<switch test='`$tmp.AnAI-data.src-li.results[$src-li-idx].vnfc.vnfc-name`'>\n",
1573 "x": 564.2857295445033,
1574 "y": 399.7619879586355,
1575 "z": "f19c7219.1794b",
1584 "id": "ddc5007b.1b588",
1587 "xml": "<outcome value=''>\n",
1590 "x": 721.4286155700684,
1591 "y": 374.04780673980713,
1592 "z": "f19c7219.1794b",
1600 "id": "a608af5f.6fd5",
1603 "xml": "<outcome value='Other'>\n",
1606 "x": 721.4285469055176,
1607 "y": 425.4764795303345,
1608 "z": "f19c7219.1794b",
1616 "id": "4f639cf7.58b774",
1618 "name": "set tmp.vnfc-objects-idx to 0",
1619 "xml": "<set>\n<parameter name='tmp.vnfc-objects-idx' value='0' />\n",
1621 "x": 398.1904830932617,
1622 "y": 333.1906509399414,
1623 "z": "f19c7219.1794b",
1627 "id": "7c63c4a2.9d900c",
1629 "name": "block : atomic",
1630 "xml": "<block atomic=\"true\">",
1633 "x": 881.4285888671875,
1634 "y": 373.76209259033203,
1635 "z": "f19c7219.1794b",
1641 "id": "efc92c11.ec21f",
1643 "name": "set vnfc-object length",
1644 "xml": "<set>\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object_length' value='`$tmp.vnfc-objects-idx`' />\n",
1646 "x": 374.04761505126953,
1647 "y": 462.1432113647461,
1648 "z": "f19c7219.1794b",
1652 "id": "34852a80.944a56",
1654 "name": "for each dest result",
1655 "xml": "<for silentFailure='true' index='dest-li-idx' start='0' end='`$tmp.AnAI-data.dest-li.results_length`' >\n",
1658 "x": 372.38092041015625,
1659 "y": 608.8096408843994,
1660 "z": "f19c7219.1794b",
1668 "id": "a2bdd99.cd4bc28",
1669 "type": "switchNode",
1670 "name": "is this a vnfc?",
1671 "xml": "<switch test='`$tmp.AnAI-data.dest-li.results[$dest-li-idx].vnfc.vnfc-name`'>\n",
1674 "x": 569.5237775530131,
1675 "y": 608.8096408843994,
1676 "z": "f19c7219.1794b",
1685 "id": "419dcae6.90f094",
1688 "xml": "<outcome value=''>\n",
1691 "x": 726.6666635785787,
1692 "y": 583.0954596655711,
1693 "z": "f19c7219.1794b",
1701 "id": "5e261990.4e7538",
1704 "xml": "<outcome value='Other'>\n",
1707 "x": 726.6665949140279,
1708 "y": 634.5241324560984,
1709 "z": "f19c7219.1794b",
1717 "id": "ced72b08.7bdc78",
1719 "name": "block : atomic",
1720 "xml": "<block atomic=\"true\">",
1723 "x": 886.6666368756978,
1724 "y": 582.809745516096,
1725 "z": "f19c7219.1794b",
1731 "id": "304aeb73.a329f4",
1733 "name": "set tmp.vnfc-objects-idx to 0",
1734 "xml": "<set>\n<parameter name='tmp.vnfc-objects-idx' value='0' />\n",
1736 "x": 399.04759216308594,
1737 "y": 548.809534072876,
1738 "z": "f19c7219.1794b",
1742 "id": "38365fcd.6fd41",
1744 "name": "set vnfc-object length",
1745 "xml": "<set>\n<parameter name='service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.dest-vnfc-idx].vnfc-objects.vnfc-object_length' value='`$tmp.vnfc-objects-idx`' />\n",
1747 "x": 379.04759979248047,
1748 "y": 680.4761505126953,
1749 "z": "f19c7219.1794b",
1753 "id": "8349530a.566aa",
1755 "name": "block : atomic",
1756 "xml": "<block atomic=\"true\">",
1759 "x": 149.6428680419922,
1760 "y": 517.2620086669922,
1761 "z": "f19c7219.1794b",
1775 "id": "5befb22a.30546c",
1776 "type": "returnSuccess",
1777 "name": "return success",
1778 "xml": "<return status='success'>\n",
1780 "x": 357.1428680419922,
1781 "y": 742.2619209289551,
1782 "z": "f19c7219.1794b",
1786 "id": "1c2292f9.558f2d",
1787 "type": "returnFailure",
1788 "name": "return failure",
1789 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Unable to find vserver related to vnfc ' + $tmp.AnAI-data.src-li.results[$src-li-idx].vnfc.vnfc-name`\" />\n",
1791 "x": 1864.1428604125977,
1792 "y": 319.7619094848633,
1793 "z": "f19c7219.1794b",
1797 "id": "cad58465.15d0d8",
1798 "type": "returnFailure",
1799 "name": "return failure",
1800 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Unable to find vserver related to vnfc ' + $tmp.AnAI-data.dest-li.results[$dest-li-idx].vnfc.vnfc-name`\" />\n",
1802 "x": 1871.1428909301758,
1803 "y": 1177.761926651001,
1804 "z": "f19c7219.1794b",