3 "id": "9eb6465b.8231d",
\r
9 "z": "7b5a733a.b08434",
\r
17 "id": "c7ce6b7b.48fc18",
\r
18 "type": "service-logic",
\r
19 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
20 "module": "GENERIC-RESOURCE-API",
\r
21 "version": "${project.version}",
\r
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}'>",
\r
25 "x": 399.2856903076172,
\r
26 "y": 203.23810863494873,
\r
27 "z": "7b5a733a.b08434",
\r
35 "id": "5b4de938.1f507",
\r
37 "name": "method cll-vnf-topology-operation-cll-modify",
\r
38 "xml": "<method rpc='cll-vnf-topology-operation-cll-modify' mode='sync'>\n",
\r
41 "x": 405.42860412597656,
\r
42 "y": 288.0000305175781,
\r
43 "z": "7b5a733a.b08434",
\r
51 "id": "4dc62efc.c83c",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 775.238037109375,
\r
58 "y": 312.66668701171875,
\r
59 "z": "7b5a733a.b08434",
\r
69 "id": "967b1057.e0a818",
\r
70 "type": "returnSuccess",
\r
71 "name": "return success",
\r
72 "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
74 "x": 1030.571533203125,
\r
75 "y": 466.59698486328125,
\r
76 "z": "7b5a733a.b08434",
\r
80 "id": "c598fe83.44b4b8",
\r
82 "name": "get service-instance from aai",
\r
83 "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",
\r
88 "z": "7b5a733a.b08434",
\r
98 "id": "91625785.c9ff18",
\r
101 "xml": "<outcome value='failure'>\n",
\r
106 "z": "7b5a733a.b08434",
\r
114 "id": "4d990b70.47f5fc",
\r
116 "name": "logical-link",
\r
117 "xml": "<outcome value='logical-link'>\n",
\r
120 "x": 1039.0001220703125,
\r
121 "y": 766.0001220703125,
\r
122 "z": "7b5a733a.b08434",
\r
130 "id": "5e1ad592.41ee24",
\r
132 "name": "block : atomic",
\r
133 "xml": "<block atomic=\"true\">",
\r
138 "z": "7b5a733a.b08434",
\r
148 "id": "d902fdae.cea3e8",
\r
150 "name": "for each allotted-resource relationship",
\r
151 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
156 "z": "7b5a733a.b08434",
\r
164 "id": "4648afd9.f59d38",
\r
165 "type": "switchNode",
\r
166 "name": "switch related-to",
\r
167 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
172 "z": "7b5a733a.b08434",
\r
180 "id": "14de5c82.464f93",
\r
182 "name": "execute properties",
\r
183 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",
\r
188 "z": "7b5a733a.b08434",
\r
194 "id": "aaa9891e.70ccc8",
\r
196 "name": "block : atomic",
\r
197 "xml": "<block atomic=\"true\">",
\r
202 "z": "7b5a733a.b08434",
\r
211 "id": "d7003a6e.38b288",
\r
213 "name": "for each allotted-resource relationship",
\r
214 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
219 "z": "7b5a733a.b08434",
\r
227 "id": "9cc7d8a0.338888",
\r
228 "type": "switchNode",
\r
229 "name": "switch related-to",
\r
230 "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",
\r
233 "x": 1290.33349609375,
\r
235 "z": "7b5a733a.b08434",
\r
243 "id": "cee9d4f6.bc12e8",
\r
245 "name": "block : atomic",
\r
246 "xml": "<block atomic='true'>",
\r
252 "z": "7b5a733a.b08434",
\r
261 "id": "80751e9a.0057d8",
\r
263 "name": "for each svc-instance relationship",
\r
264 "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",
\r
269 "z": "7b5a733a.b08434",
\r
277 "id": "361c81d1.d1312e",
\r
279 "name": "connectivity",
\r
280 "xml": "<outcome value='connectivity'>\n",
\r
283 "x": 574.000244140625,
\r
285 "z": "7b5a733a.b08434",
\r
293 "id": "fba02c9f.91f47",
\r
295 "name": "get connectivity from aai",
\r
296 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",
\r
301 "z": "7b5a733a.b08434",
\r
311 "id": "dbda7d85.ee895",
\r
314 "xml": "<outcome value='success'>\n",
\r
319 "z": "7b5a733a.b08434",
\r
327 "id": "4ef19f13.4e41a8",
\r
328 "type": "not-found",
\r
329 "name": "not-found",
\r
330 "xml": "<outcome value='not-found'>\n",
\r
333 "x": 1159.490966796875,
\r
334 "y": 1345.5740356445312,
\r
335 "z": "7b5a733a.b08434",
\r
343 "id": "2ea82e0b.cdf21a",
\r
346 "xml": "<outcome value='failure'>\n",
\r
351 "z": "7b5a733a.b08434",
\r
359 "id": "729746db.d253f",
\r
360 "type": "returnFailure",
\r
361 "name": "return failure",
\r
362 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
365 "y": 1342.8597412109375,
\r
366 "z": "7b5a733a.b08434",
\r
370 "id": "4b0e29e1.6abb78",
\r
371 "type": "returnFailure",
\r
372 "name": "return failure",
\r
373 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
377 "z": "7b5a733a.b08434",
\r
381 "id": "8ba3755.a15c088",
\r
383 "name": "block : atomic",
\r
384 "xml": "<block atomic=\"true\">",
\r
389 "z": "7b5a733a.b08434",
\r
397 "id": "eead4d83.93ec08",
\r
399 "name": "block : atomic",
\r
400 "xml": "<block atomic=\"true\">",
\r
405 "z": "7b5a733a.b08434",
\r
414 "id": "8f9d786c.56a8b8",
\r
416 "name": "unset tmp.aai.connectivity",
\r
417 "xml": "<set>\n<parameter name='tmp.aai.connectivity.' value='' />\n",
\r
421 "z": "7b5a733a.b08434",
\r
425 "id": "e398aae7.45cbf8",
\r
427 "name": "set the current logical-link-name",
\r
428 "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n<parameter name='currLinkIsFound' value=\"false\" />\n\n\n",
\r
432 "z": "7b5a733a.b08434",
\r
436 "id": "a04e6833.e4988",
\r
438 "name": "get logical-link from aai",
\r
439 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",
\r
444 "z": "7b5a733a.b08434",
\r
454 "id": "49053c81.8b87cc",
\r
455 "type": "not-found",
\r
456 "name": "not-found",
\r
457 "xml": "<outcome value='not-found'>\n",
\r
460 "x": 1641.490966796875,
\r
461 "y": 749.573974609375,
\r
462 "z": "7b5a733a.b08434",
\r
470 "id": "6a35a06.779ac6",
\r
473 "xml": "<outcome value='failure'>\n",
\r
478 "z": "7b5a733a.b08434",
\r
486 "id": "7b3cd426.944f0c",
\r
487 "type": "returnFailure",
\r
488 "name": "return failure",
\r
489 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
492 "y": 749.8597412109375,
\r
493 "z": "7b5a733a.b08434",
\r
497 "id": "715fffb0.0dd628",
\r
498 "type": "returnFailure",
\r
499 "name": "return failure",
\r
500 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
504 "z": "7b5a733a.b08434",
\r
508 "id": "64bb497.5849e38",
\r
511 "xml": "<outcome value='success'>\n",
\r
516 "z": "7b5a733a.b08434",
\r
522 "id": "cb0d7b9d.4f62",
\r
523 "type": "switchNode",
\r
524 "name": "switch loglink-id exists in conn",
\r
525 "xml": "<switch test='`$tmp.aai.logical-link.link-id == $tmp.aai.connectivity.etht-svc-name`'>\n",
\r
530 "z": "7b5a733a.b08434",
\r
539 "id": "ed843baa.4246c",
\r
540 "type": "outcomeTrue",
\r
542 "xml": "<outcome value='true'>\n",
\r
547 "z": "7b5a733a.b08434",
\r
555 "id": "77db6f07.dbc38",
\r
556 "type": "outcomeFalse",
\r
558 "xml": "<outcome value='false'>\n",
\r
563 "z": "7b5a733a.b08434",
\r
569 "id": "c41e69d5.000d98",
\r
571 "name": "block : atomic",
\r
572 "xml": "<block atomic=\"true\">",
\r
577 "z": "7b5a733a.b08434",
\r
585 "id": "c0a4cffa.883e98",
\r
588 "xml": "<break>\n",
\r
592 "z": "7b5a733a.b08434",
\r
596 "id": "1190650a.0a84cb",
\r
598 "name": "currLinkIsFound. Go to the next logical-link",
\r
603 "z": "7b5a733a.b08434",
\r
607 "id": "5187f08e.74ac2",
\r
608 "type": "switchNode",
\r
609 "name": "switch currLinkIsFound",
\r
610 "xml": "<switch test='`$currLinkIsFound`'>\n",
\r
615 "z": "7b5a733a.b08434",
\r
624 "id": "bc7d7df2.5493c",
\r
625 "type": "outcomeTrue",
\r
627 "xml": "<outcome value='true'>\n",
\r
632 "z": "7b5a733a.b08434",
\r
640 "id": "acacd757.221108",
\r
641 "type": "outcomeFalse",
\r
643 "xml": "<outcome value='false'>\n",
\r
648 "z": "7b5a733a.b08434",
\r
654 "id": "1afa8a19.4821fe",
\r
656 "name": "block : atomic",
\r
657 "xml": "<block atomic=\"true\">",
\r
662 "z": "7b5a733a.b08434",
\r
668 "id": "790c6016.9667b8",
\r
670 "name": "A new logical-link has been found: modify process should be triggered",
\r
675 "z": "7b5a733a.b08434",
\r
679 "id": "5032e132.b50ce8",
\r
680 "type": "switchNode",
\r
681 "name": "switch connectivityBW == gfp",
\r
682 "xml": "<switch test='`$tmp.aai.connectivity.bandwidth-profile-name == $gfp`'>\n",
\r
687 "z": "7b5a733a.b08434",
\r
696 "id": "ee0cb72e.3d8b4",
\r
697 "type": "outcomeTrue",
\r
699 "xml": "<outcome value='true'>\n",
\r
704 "z": "7b5a733a.b08434",
\r
710 "id": "b958be18.cec7a8",
\r
711 "type": "outcomeFalse",
\r
713 "xml": "<outcome value='false'>\n",
\r
718 "z": "7b5a733a.b08434",
\r
726 "id": "649f93b2.4fa094",
\r
728 "name": "block : atomic",
\r
729 "xml": "<block atomic=\"true\">",
\r
734 "z": "7b5a733a.b08434",
\r
743 "id": "b90808de.83d488",
\r
745 "name": "set currLinkIsFound",
\r
746 "xml": "<set>\n<parameter name='currLinkIsFound' value=\"true\" />\n\n\n",
\r
750 "z": "7b5a733a.b08434",
\r
754 "id": "2c6dae30.c090da",
\r
756 "name": "set bwModified",
\r
757 "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",
\r
761 "z": "7b5a733a.b08434",
\r
765 "id": "bec6024a.522f",
\r
767 "name": "for each relationship",
\r
768 "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",
\r
773 "z": "7b5a733a.b08434",
\r
781 "id": "fa7c4190.123f5",
\r
782 "type": "switchNode",
\r
783 "name": "switch related-to",
\r
784 "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
\r
789 "z": "7b5a733a.b08434",
\r
797 "id": "15fdeaff.12dc65",
\r
799 "name": "vpn-binding",
\r
800 "xml": "<outcome value='vpn-binding'>\n",
\r
805 "z": "7b5a733a.b08434",
\r
813 "id": "23696373.a05af4",
\r
815 "name": "block : atomic",
\r
816 "xml": "<block atomic=\"true\">",
\r
821 "z": "7b5a733a.b08434",
\r
830 "id": "93b6e437.4f099",
\r
832 "name": "unset tmp.aai.vpn-binding",
\r
833 "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
\r
837 "z": "7b5a733a.b08434",
\r
841 "id": "393b763a.3c031a",
\r
843 "name": "get vpn-binding from aai",
\r
844 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
\r
849 "z": "7b5a733a.b08434",
\r
859 "id": "8a250676.10f76",
\r
861 "name": "block : atomic",
\r
862 "xml": "<block atomic=\"true\">",
\r
867 "z": "7b5a733a.b08434",
\r
876 "id": "2f327191.83395e",
\r
879 "xml": "<outcome value='success'>\n",
\r
884 "z": "7b5a733a.b08434",
\r
892 "id": "e7652a9b.a6a5d8",
\r
893 "type": "not-found",
\r
894 "name": "not-found",
\r
895 "xml": "<outcome value='not-found'>\n",
\r
898 "x": 1417.490966796875,
\r
899 "y": 1765.5740356445312,
\r
900 "z": "7b5a733a.b08434",
\r
908 "id": "cbe418b.f7d27e8",
\r
911 "xml": "<outcome value='failure'>\n",
\r
916 "z": "7b5a733a.b08434",
\r
924 "id": "f4d34be9.21913",
\r
925 "type": "returnFailure",
\r
926 "name": "return failure",
\r
927 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
931 "z": "7b5a733a.b08434",
\r
935 "id": "a94efe89.188bd8",
\r
936 "type": "returnFailure",
\r
937 "name": "return failure",
\r
938 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
940 "x": 1580.0623779296875,
\r
941 "y": 1765.8597717285156,
\r
942 "z": "7b5a733a.b08434",
\r
946 "id": "c8600837.7048d8",
\r
948 "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",
\r
949 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n",
\r
954 "z": "7b5a733a.b08434",
\r
960 "id": "6043cb08.7416ec",
\r
962 "name": "update connectivity resource in AAI",
\r
963 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n",
\r
968 "z": "7b5a733a.b08434",
\r
974 "id": "be5a0198.1ba518",
\r
977 "xml": "<outcome value='success'>\n",
\r
982 "z": "7b5a733a.b08434",
\r
990 "id": "d9138d20.e2fc8",
\r
991 "type": "not-found",
\r
992 "name": "not-found",
\r
993 "xml": "<outcome value='not-found'>\n",
\r
996 "x": 1318.490966796875,
\r
997 "y": 213.57403564453125,
\r
998 "z": "7b5a733a.b08434",
\r
1006 "id": "acd16415.eb51f",
\r
1007 "type": "switchNode",
\r
1008 "name": "switch allotted-resources_length != 0",
\r
1009 "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",
\r
1014 "z": "7b5a733a.b08434",
\r
1017 "7d32da32.7e3de4",
\r
1023 "id": "855114bb.d4b47",
\r
1024 "type": "returnFailure",
\r
1025 "name": "return failure",
\r
1026 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
1028 "x": 1472.0623779296875,
\r
1029 "y": 216.85977172851562,
\r
1030 "z": "7b5a733a.b08434",
\r
1034 "id": "d564baab.1e6f6",
\r
1035 "type": "returnFailure",
\r
1036 "name": "return failure",
\r
1037 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1041 "z": "7b5a733a.b08434",
\r
1045 "id": "7d32da32.7e3de4",
\r
1046 "type": "outcomeTrue",
\r
1048 "xml": "<outcome value='true'>\n",
\r
1053 "z": "7b5a733a.b08434",
\r
1061 "id": "7d05195c.3ec52",
\r
1062 "type": "outcomeFalse",
\r
1064 "xml": "<outcome value='false'>\n",
\r
1069 "z": "7b5a733a.b08434",
\r
1075 "id": "1771a12b.55c52f",
\r
1078 "xml": "<block>\n",
\r
1079 "atomic": "false",
\r
1084 "z": "7b5a733a.b08434",
\r
1093 "id": "e4c22eb.a2aea5",
\r
1095 "name": "for each allotted-resource",
\r
1096 "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",
\r
1101 "z": "7b5a733a.b08434",
\r
1110 "id": "6160b6fc.008b48",
\r
1112 "name": "set tmp.arr",
\r
1113 "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n<parameter name='bwModified' value='false' />\n",
\r
1117 "z": "7b5a733a.b08434",
\r
1121 "id": "d51caf90.a463f",
\r
1122 "type": "comment",
\r
1123 "name": "The following two nodes are for PCE",
\r
1128 "z": "7b5a733a.b08434",
\r
1132 "id": "f6765cf8.85e25",
\r
1133 "type": "get-resource",
\r
1134 "name": "get-resource pnfs-list",
\r
1135 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",
\r
1140 "z": "7b5a733a.b08434",
\r
1146 "id": "66aed450.169b54",
\r
1147 "type": "get-resource",
\r
1148 "name": "get-resource logical-links",
\r
1149 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",
\r
1154 "z": "7b5a733a.b08434",
\r
1160 "id": "c3532310.372288",
\r
1161 "type": "switchNode",
\r
1162 "name": "switch allotted-resource.relationship-list not empty",
\r
1163 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",
\r
1168 "z": "7b5a733a.b08434",
\r
1177 "id": "c57f71e8.93673",
\r
1179 "name": "get allotted-resource from aai",
\r
1180 "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!-- AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",
\r
1185 "z": "7b5a733a.b08434",
\r
1195 "id": "87b192bc.e1f0e",
\r
1196 "type": "success",
\r
1197 "name": "success",
\r
1198 "xml": "<outcome value='success'>\n",
\r
1203 "z": "7b5a733a.b08434",
\r
1211 "id": "d00bb928.2d4ff",
\r
1212 "type": "not-found",
\r
1213 "name": "not-found",
\r
1214 "xml": "<outcome value='not-found'>\n",
\r
1217 "x": 2462.490966796875,
\r
1218 "y": 270.573974609375,
\r
1219 "z": "7b5a733a.b08434",
\r
1227 "id": "29adfdf9.b65b62",
\r
1228 "type": "failure",
\r
1229 "name": "failure",
\r
1230 "xml": "<outcome value='failure'>\n",
\r
1235 "z": "7b5a733a.b08434",
\r
1243 "id": "b5f2de6e.0aa398",
\r
1244 "type": "returnFailure",
\r
1245 "name": "return failure",
\r
1246 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
1249 "y": 270.8597412109375,
\r
1250 "z": "7b5a733a.b08434",
\r
1254 "id": "8aece160.d46958",
\r
1255 "type": "returnFailure",
\r
1256 "name": "return failure",
\r
1257 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1261 "z": "7b5a733a.b08434",
\r
1265 "id": "8f69272a.fd278",
\r
1267 "name": "block : atomic",
\r
1268 "xml": "<block atomic=\"true\">",
\r
1273 "z": "7b5a733a.b08434",
\r
1281 "id": "35630785.237e1",
\r
1282 "type": "outcomeFalse",
\r
1284 "xml": "<outcome value='false'>\n",
\r
1289 "z": "7b5a733a.b08434",
\r
1295 "id": "9a292ac4.9b06e",
\r
1296 "type": "outcomeTrue",
\r
1298 "xml": "<outcome value='true'>\n",
\r
1303 "z": "7b5a733a.b08434",
\r
1311 "id": "a8018aed.5af3e8",
\r
1313 "name": "get allotted-resource relationship from aai",
\r
1314 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",
\r
1319 "z": "7b5a733a.b08434",
\r
1323 "ebfa2004.002188",
\r
1329 "id": "ebfa2004.002188",
\r
1330 "type": "not-found",
\r
1331 "name": "not-found",
\r
1332 "xml": "<outcome value='not-found'>\n",
\r
1335 "x": 3208.490966796875,
\r
1336 "y": 210.573974609375,
\r
1337 "z": "7b5a733a.b08434",
\r
1345 "id": "d77341f8.228578",
\r
1346 "type": "failure",
\r
1347 "name": "failure",
\r
1348 "xml": "<outcome value='failure'>\n",
\r
1353 "z": "7b5a733a.b08434",
\r
1361 "id": "ee26c76e.4e13b",
\r
1362 "type": "success",
\r
1363 "name": "success",
\r
1364 "xml": "<outcome value='success'>\n",
\r
1369 "z": "7b5a733a.b08434",
\r
1377 "id": "23206dde.76caa2",
\r
1378 "type": "switchNode",
\r
1379 "name": "switch related-to",
\r
1380 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
1385 "z": "7b5a733a.b08434",
\r
1393 "id": "fc0dfed8.0cac3",
\r
1395 "name": "set the current allotted-resource-id",
\r
1396 "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",
\r
1400 "z": "7b5a733a.b08434",
\r
1404 "id": "c12dc61.2210b38",
\r
1405 "type": "returnFailure",
\r
1406 "name": "return failure",
\r
1407 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
1410 "y": 210.8597412109375,
\r
1411 "z": "7b5a733a.b08434",
\r
1415 "id": "bd3bae8a.af124",
\r
1416 "type": "returnFailure",
\r
1417 "name": "return failure",
\r
1418 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1422 "z": "7b5a733a.b08434",
\r
1426 "id": "de61d430.83d478",
\r
1428 "name": "block : atomic",
\r
1429 "xml": "<block atomic=\"true\">",
\r
1434 "z": "7b5a733a.b08434",
\r
1442 "id": "9e627c37.4741c8",
\r
1443 "type": "outcome",
\r
1444 "name": "network-policy",
\r
1445 "xml": "<outcome value='network-policy'>\n",
\r
1450 "z": "7b5a733a.b08434",
\r
1458 "id": "e7f365c6.bea78",
\r
1460 "name": "block : atomic",
\r
1461 "xml": "<block atomic=\"true\">",
\r
1464 "x": 3540.9998779296875,
\r
1465 "y": 501.9998779296875,
\r
1466 "z": "7b5a733a.b08434",
\r
1475 "id": "dc98dc9c.c8fc5",
\r
1477 "name": "set the 1st network-policy-id",
\r
1478 "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",
\r
1480 "x": 3783.9998779296875,
\r
1481 "y": 458.9998779296875,
\r
1482 "z": "7b5a733a.b08434",
\r
1486 "id": "d938d57f.cf2528",
\r
1488 "name": "get network-policy from aai",
\r
1489 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",
\r
1492 "x": 3772.9998779296875,
\r
1493 "y": 513.9998779296875,
\r
1494 "z": "7b5a733a.b08434",
\r
1497 "21724bd7.b5773c",
\r
1498 "86152ffd.44c928",
\r
1504 "id": "acc93ab6.b56018",
\r
1505 "type": "not-found",
\r
1506 "name": "not-found",
\r
1507 "xml": "<outcome value='not-found'>\n",
\r
1512 "z": "7b5a733a.b08434",
\r
1520 "id": "958f19ed.72cb28",
\r
1521 "type": "returnFailure",
\r
1522 "name": "return failure",
\r
1523 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
1525 "x": 4174.571533203125,
\r
1526 "y": 400.2857666015625,
\r
1527 "z": "7b5a733a.b08434",
\r
1531 "id": "34514989.26e926",
\r
1532 "type": "returnFailure",
\r
1533 "name": "return failure",
\r
1534 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1536 "x": 4173.509033203125,
\r
1537 "y": 444.426025390625,
\r
1538 "z": "7b5a733a.b08434",
\r
1542 "id": "86152ffd.44c928",
\r
1543 "type": "failure",
\r
1544 "name": "failure",
\r
1545 "xml": "<outcome value='failure'>\n",
\r
1548 "x": 4014.509033203125,
\r
1549 "y": 444.426025390625,
\r
1550 "z": "7b5a733a.b08434",
\r
1558 "id": "21724bd7.b5773c",
\r
1559 "type": "success",
\r
1560 "name": "success",
\r
1561 "xml": "<outcome value='success'>\n",
\r
1564 "x": 4021.509033203125,
\r
1565 "y": 523.426025390625,
\r
1566 "z": "7b5a733a.b08434",
\r
1574 "id": "9ee2f354.296c2",
\r
1577 "xml": "<block>\n",
\r
1578 "atomic": "false",
\r
1581 "x": 4160.509033203125,
\r
1582 "y": 523.426025390625,
\r
1583 "z": "7b5a733a.b08434",
\r
1586 "66fe28af.a13018",
\r
1592 "id": "66fe28af.a13018",
\r
1594 "name": "set the max bandwidth",
\r
1595 "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",
\r
1599 "z": "7b5a733a.b08434",
\r
1603 "id": "a2cba337.578da8",
\r
1605 "name": "set the max bandwidth",
\r
1606 "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",
\r
1610 "z": "7b5a733a.b08434",
\r
1614 "id": "26d1ad19.58f772",
\r
1616 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",
\r
1617 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",
\r
1622 "z": "7b5a733a.b08434",
\r