3 "id": "66d82769.1d01a8",
\r
6 "xml": "<outcome value='Update'>\n",
\r
11 "z": "dc90116d.356cd8",
\r
19 "id": "3efeb782.bfc1",
\r
22 "xml": "<outcome value='Delete'>\n",
\r
27 "z": "dc90116d.356cd8",
\r
35 "id": "a1ab5058.aebdf",
\r
37 "name": "block : atomic",
\r
38 "xml": "<block atomic=\"true\">",
\r
43 "z": "dc90116d.356cd8",
\r
51 "id": "22ce6fbc.3616d",
\r
52 "type": "switchNode",
\r
53 "name": "switch aai-event-trigger",
\r
54 "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",
\r
59 "z": "dc90116d.356cd8",
\r
68 "id": "8b8fad8f.084508",
\r
70 "name": "block : atomic",
\r
71 "xml": "<block atomic=\"true\">",
\r
76 "z": "dc90116d.356cd8",
\r
88 "id": "43fea2be.adabc4",
\r
90 "name": "execute RestApiCallNode Get token",
\r
91 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
\r
94 "x": 1539.5001983642578,
\r
95 "y": 103.00000953674316,
\r
96 "z": "dc90116d.356cd8",
\r
105 "id": "1315a46.1a747dc",
\r
108 "xml": "<outcome value='success'>\n",
\r
111 "x": 1829.000244140625,
\r
113 "z": "dc90116d.356cd8",
\r
121 "id": "5b12ff34.641e88",
\r
124 "xml": "<outcome value='failure'>\n",
\r
127 "x": 1825.000244140625,
\r
129 "z": "dc90116d.356cd8",
\r
137 "id": "396d79e7.1bf7ce",
\r
139 "name": "set token-id",
\r
140 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
\r
142 "x": 1979.500244140625,
\r
144 "z": "dc90116d.356cd8",
\r
148 "id": "794a42a5.7ff634",
\r
150 "name": "execute RestApiCallNode Get Topology",
\r
151 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
\r
154 "x": 2046.500244140625,
\r
156 "z": "dc90116d.356cd8",
\r
165 "id": "38377ff8.a67d2",
\r
168 "xml": "<outcome value='success'>\n",
\r
171 "x": 2289.000244140625,
\r
173 "z": "dc90116d.356cd8",
\r
181 "id": "1c21d3a8.a908bc",
\r
183 "name": "block : atomic",
\r
184 "xml": "<block atomic=\"true\">",
\r
188 "x": 2446.500244140625,
\r
190 "z": "dc90116d.356cd8",
\r
199 "id": "e2c46cc9.208aa",
\r
200 "type": "returnFailure",
\r
201 "name": "return failure",
\r
202 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",
\r
204 "x": 2423.000244140625,
\r
206 "z": "dc90116d.356cd8",
\r
210 "id": "b0153eb4.a0abb",
\r
213 "xml": "<outcome value='failure'>\n",
\r
216 "x": 2285.000244140625,
\r
218 "z": "dc90116d.356cd8",
\r
226 "id": "8bce8e2f.0d81e8",
\r
232 "z": "dc90116d.356cd8",
\r
240 "id": "75e87f6c.a6d9e",
\r
241 "type": "service-logic",
\r
242 "name": "DataChange ${project.version}",
\r
243 "module": "DataChange",
\r
244 "version": "${project.version}",
\r
246 "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='DataChange' version='${project.version}'>",
\r
250 "z": "dc90116d.356cd8",
\r
258 "id": "11c7e938.bc92c7",
\r
260 "name": "method esr-thirdparty-sdnc-discovery",
\r
261 "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",
\r
266 "z": "dc90116d.356cd8",
\r
274 "id": "e3374842.e3f818",
\r
276 "name": "block : atomic",
\r
277 "xml": "<block atomic=\"true\">\n",
\r
283 "z": "dc90116d.356cd8",
\r
291 "id": "6ecea195.591998",
\r
293 "name": "for each Network",
\r
294 "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",
\r
297 "x": 2665.500244140625,
\r
299 "z": "dc90116d.356cd8",
\r
307 "id": "6ca8b7e7.59b19",
\r
310 "xml": "<block>\n",
\r
314 "x": 2814.000244140625,
\r
316 "z": "dc90116d.356cd8",
\r
326 "id": "43a0eef1.e5c518",
\r
328 "name": "call update-network-to-aai",
\r
329 "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",
\r
332 "x": 2993.000244140625,
\r
334 "z": "dc90116d.356cd8",
\r
340 "id": "e94a8c36.a2247",
\r
342 "name": "set network",
\r
343 "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",
\r
345 "x": 2946.000244140625,
\r
347 "z": "dc90116d.356cd8",
\r
351 "id": "20884b0c.6135fc",
\r
354 "xml": "<block>\n",
\r
358 "x": 1945.000244140625,
\r
360 "z": "dc90116d.356cd8",
\r
366 "id": "62ce2665.d3bbc",
\r
368 "name": "Do Nothing",
\r
371 "x": 2115.000244140625,
\r
373 "z": "dc90116d.356cd8",
\r
377 "id": "c35780c2.b517a8",
\r
378 "type": "switchNode",
\r
379 "name": "switch type",
\r
380 "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
\r
385 "z": "dc90116d.356cd8",
\r
396 "id": "ae6185fd.f9c2d8",
\r
399 "xml": "<block>\n",
\r
405 "z": "dc90116d.356cd8",
\r
413 "id": "4be7af0d.179fe8",
\r
416 "xml": "<outcome value='WAN'>\n",
\r
421 "z": "dc90116d.356cd8",
\r
429 "id": "9d611449.5dcd4",
\r
432 "xml": "<outcome value='Other'>\n",
\r
436 "y": 643.5001220703125,
\r
437 "z": "dc90116d.356cd8",
\r
445 "id": "8a5453eb.ab4e28",
\r
446 "type": "returnFailure",
\r
447 "name": "return failure",
\r
448 "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",
\r
451 "y": 669.5001220703125,
\r
452 "z": "dc90116d.356cd8",
\r
456 "id": "cb379294.cf5aa8",
\r
458 "name": "execute Properties",
\r
459 "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' />\n",
\r
462 "x": 1486.0001983642578,
\r
463 "y": 63.000009536743164,
\r
464 "z": "dc90116d.356cd8",
\r
470 "id": "4f03377f.b0c4c8",
\r
471 "type": "switchNode",
\r
472 "name": "switch prop.sdncRestApi.token_id",
\r
473 "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n",
\r
476 "x": 1532.5001983642578,
\r
477 "y": 183.00000953674316,
\r
478 "z": "dc90116d.356cd8",
\r
487 "id": "e2260a6c.d9a708",
\r
490 "xml": "<outcome value=''>\n",
\r
493 "x": 1825.000244140625,
\r
495 "z": "dc90116d.356cd8",
\r
503 "id": "536e3c2c.29577c",
\r
506 "xml": "<outcome value='Other'>\n",
\r
509 "x": 1825.000244140625,
\r
511 "z": "dc90116d.356cd8",
\r
519 "id": "9626e71e.38aeb8",
\r
521 "name": "execute RestApiCallNode Get Topology",
\r
522 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
\r
525 "x": 2046.500244140625,
\r
527 "z": "dc90116d.356cd8",
\r
536 "id": "80b5f8f0.c85808",
\r
538 "name": "execute RestconfDiscoveryNode",
\r
539 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscription' >\n<parameter name=\"subscriberId\" value=\"sotn-controller\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n<parameter name=\"module\" value=\"DataChange\" />\n<parameter name=\"rpc\" value=\"sotn-notification-handler\" />\n<parameter name=\"mode\" value=\"sync\" />",
\r
542 "x": 1529.0001983642578,
\r
543 "y": 323.00000953674316,
\r
544 "z": "dc90116d.356cd8",
\r
550 "id": "590ac352.e76a14",
\r
552 "name": "set encoding-format",
\r
553 "xml": "<set>\n<parameter name='input' value='ietf-subscribed-notifications:establish-subscription.input.' />\n<parameter name=\"`$input + 'encoding'`\" value=\"encode-json\" />",
\r
555 "x": 1489.0001983642578,
\r
556 "y": 283.00000953674316,
\r
557 "z": "dc90116d.356cd8",
\r
561 "id": "50fcae42.2c2a8",
\r
563 "name": "Notification subscription",
\r
566 "x": 1494.000343322754,
\r
567 "y": 240.00000858306885,
\r
568 "z": "dc90116d.356cd8",
\r
572 "id": "f09b5855.16ea9",
\r
573 "type": "switchNode",
\r
575 "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",
\r
580 "z": "dc90116d.356cd8",
\r
589 "id": "bf78bf6d.9dbf38",
\r
590 "type": "outcomeFalse",
\r
592 "xml": "<outcome value='false'>\n",
\r
597 "z": "dc90116d.356cd8",
\r
605 "id": "2804a0b9.d69f28",
\r
606 "type": "outcomeTrue",
\r
608 "xml": "<outcome value='true'>\n",
\r
611 "x": 140.00003051757812,
\r
613 "z": "dc90116d.356cd8",
\r
621 "id": "53ab0ac2.38d284",
\r
623 "name": "call esr-thirdparty-sdnc-of-zte",
\r
624 "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n",
\r
628 "y": 1084.5000610351562,
\r
629 "z": "dc90116d.356cd8",
\r
635 "id": "88a47a49.6947f",
\r
638 "xml": "<outcome value='TAPI'>\n",
\r
643 "z": "dc90116d.356cd8",
\r
651 "id": "d5710d01.9be8f8",
\r
653 "name": "block : atomic",
\r
654 "xml": "<block atomic=\"true\">",
\r
659 "z": "dc90116d.356cd8",
\r
667 "id": "a039ff23.d54198",
\r
670 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/tapi/v2/topologies?topology-id-or-name=otn'`\"/> \n <parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/> \n <parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/> \n <parameter name=\"format\" value=\"json\"/> \n <parameter name=\"httpMethod\" value=\"get\"/> \n <parameter name=\"responsePrefix\" value=\"topologies\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.tapi.jks\"/> \n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/> \n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/> \n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
\r
675 "z": "dc90116d.356cd8",
\r
684 "id": "493dc7eb.c52f08",
\r
687 "xml": "<outcome value='success'>\n",
\r
692 "z": "dc90116d.356cd8",
\r
700 "id": "44a0211d.fd2598",
\r
703 "xml": "<outcome value='failure'>\n",
\r
708 "z": "dc90116d.356cd8",
\r
716 "id": "fe95a25e.cdaa98",
\r
717 "type": "returnFailure",
\r
718 "name": "return failure",
\r
719 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology TAPI rest api\" />\n\n",
\r
723 "z": "dc90116d.356cd8",
\r
727 "id": "2d7698ce.b0a7a",
\r
729 "name": "block : atomic",
\r
730 "xml": "<block atomic=\"true\">",
\r
735 "z": "dc90116d.356cd8",
\r
743 "id": "1dc691cb.358196",
\r
745 "name": "for each topology",
\r
746 "xml": "<for index='tidx' start='0' end=\"`$topologies.topology_length`\" >\n",
\r
751 "z": "dc90116d.356cd8",
\r
759 "id": "48d82ee8.688dd",
\r
762 "xml": "<block>\n",
\r
768 "z": "dc90116d.356cd8",
\r
777 "id": "d5ce9061.b89e98",
\r
779 "name": "set topology",
\r
780 "xml": "<set>\n<parameter name='topology.' value='`$topologies.topology[$tidx].`' />\n",
\r
784 "z": "dc90116d.356cd8",
\r
788 "id": "b1436387.1231d8",
\r
790 "name": "call tapi-update-network-to-aai",
\r
791 "xml": "<call module='DataChange' rpc='tapi-update-network-to-aai' mode='sync' >\n\n",
\r
796 "z": "dc90116d.356cd8",
\r
802 "id": "c116943.cd1a8e8",
\r
805 "xml": "<outcome value='MSA'>\n",
\r
808 "x": 1153.677324295044,
\r
809 "y": 572.8993349075317,
\r
810 "z": "dc90116d.356cd8",
\r
818 "id": "9d338868.302c1",
\r
820 "name": "block : atomic",
\r
821 "xml": "<block atomic=\"true\">",
\r
824 "x": 1315.6773872375488,
\r
825 "y": 570.899335861206,
\r
826 "z": "dc90116d.356cd8",
\r
834 "id": "b0b285cb.6ebea",
\r
837 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/openroadm/v2/networks/otn-topology'`\"/> \n <parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/> \n <parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/> \n <parameter name=\"format\" value=\"json\"/> \n <parameter name=\"httpMethod\" value=\"get\"/> \n <parameter name=\"responsePrefix\" value=\"networks\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.msa.jks\"/> \n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/> \n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/> \n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
\r
840 "x": 1492.6771354675293,
\r
841 "y": 562.8992919921875,
\r
842 "z": "dc90116d.356cd8",
\r
851 "id": "8054b37a.3900a8",
\r
854 "xml": "<outcome value='failure'>\n",
\r
857 "x": 1645.6771354675293,
\r
858 "y": 559.8992919921875,
\r
859 "z": "dc90116d.356cd8",
\r
867 "id": "ee854a40.fe1848",
\r
868 "type": "returnFailure",
\r
869 "name": "return failure",
\r
870 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology MSA rest api\" />\n\n",
\r
872 "x": 1820.6771354675293,
\r
873 "y": 558.8992919921875,
\r
874 "z": "dc90116d.356cd8",
\r
878 "id": "37099c40.484064",
\r
881 "xml": "<outcome value='success'>\n",
\r
884 "x": 1651.6771354675293,
\r
885 "y": 632.8992919921875,
\r
886 "z": "dc90116d.356cd8",
\r
894 "id": "6b6e7027.f016d",
\r
896 "name": "block : atomic",
\r
897 "xml": "<block atomic=\"true\">",
\r
900 "x": 1835.6771354675293,
\r
901 "y": 634.8992919921875,
\r
902 "z": "dc90116d.356cd8",
\r
910 "id": "5444f8a5.36fed",
\r
912 "name": "call msa-update-network-to-aai",
\r
913 "xml": "<call module='DataChange' rpc='msa-update-network-to-aai' mode='sync' >\n\n",
\r
916 "x": 2114.677001953125,
\r
917 "y": 632.8992919921875,
\r
918 "z": "dc90116d.356cd8",
\r
924 "id": "fb3f26da.0ae3f8",
\r
925 "type": "switchNode",
\r
926 "name": "switch type",
\r
927 "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
\r
930 "x": 285.566650390625,
\r
931 "y": 801.5666809082031,
\r
932 "z": "dc90116d.356cd8",
\r
942 "id": "57cb25c2.9e9be4",
\r
945 "xml": "<outcome value='MSA'>\n",
\r
948 "x": 464.857177734375,
\r
949 "y": 718.9285888671875,
\r
950 "z": "dc90116d.356cd8",
\r
958 "id": "30ce121c.bfe97e",
\r
961 "xml": "<outcome value='TAPI'>\n",
\r
964 "x": 473.6070556640625,
\r
965 "y": 969.6428527832031,
\r
966 "z": "dc90116d.356cd8",
\r
974 "id": "7a4cfe82.92d42",
\r
976 "name": "block : atomic",
\r
977 "xml": "<block atomic='true'>",
\r
981 "x": 618.607177734375,
\r
982 "y": 715.7143249511719,
\r
983 "z": "dc90116d.356cd8",
\r
992 "id": "d394227.d0cf06",
\r
995 "xml": "<block>\n",
\r
1001 "z": "dc90116d.356cd8",
\r
1010 "id": "d3232a5d.18a288",
\r
1013 "xml": "<outcome value='Other'>\n",
\r
1018 "z": "dc90116d.356cd8",
\r
1026 "id": "ba5f29b3.a93ac8",
\r
1027 "type": "returnFailure",
\r
1028 "name": "return failure",
\r
1029 "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",
\r
1033 "z": "dc90116d.356cd8",
\r
1037 "id": "b595413f.cfe8e8",
\r
1038 "type": "get-resource",
\r
1039 "name": "get resources from DB -controller_id",
\r
1040 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE controller_id = $controllerid'\npfx='dbcontrollerid'>\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n",
\r
1045 "z": "dc90116d.356cd8",
\r
1048 "74d7baba.1daacc",
\r
1055 "id": "8c8fae68.b08168",
\r
1057 "name": "set controller_id",
\r
1058 "xml": "<set>\n<parameter name='controllerid' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",
\r
1062 "z": "dc90116d.356cd8",
\r
1066 "id": "74d7baba.1daacc",
\r
1067 "type": "success",
\r
1068 "name": "success",
\r
1069 "xml": "<outcome value='success'>\n",
\r
1074 "z": "dc90116d.356cd8",
\r
1082 "id": "c192dc38.daa8b8",
\r
1084 "name": "delete from db",
\r
1085 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n resource=\"SQL\"\n key=\"DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid\">",
\r
1090 "z": "dc90116d.356cd8",
\r
1096 "id": "6724f8a4.5cbe3",
\r
1098 "name": "set controller_id",
\r
1099 "xml": "<set>\n<parameter name='controllerid' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",
\r
1103 "z": "dc90116d.356cd8",
\r
1107 "id": "c711ca11.6e628",
\r
1108 "type": "get-resource",
\r
1109 "name": "get resources from DB -controller_id",
\r
1110 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE controller_id = $controllerid'\npfx='dbcontrollerid'>\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n",
\r
1115 "z": "dc90116d.356cd8",
\r
1125 "id": "9c302232.f8804",
\r
1126 "type": "success",
\r
1127 "name": "success",
\r
1128 "xml": "<outcome value='success'>\n",
\r
1133 "z": "dc90116d.356cd8",
\r
1141 "id": "dd99da73.f2065",
\r
1143 "name": "delete from db",
\r
1144 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n resource=\"SQL\"\n key=\"DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid\">",
\r
1149 "z": "dc90116d.356cd8",
\r
1155 "id": "582fc831.36e3c",
\r
1156 "type": "failure",
\r
1157 "name": "failure",
\r
1158 "xml": "<outcome value='failure'>\n",
\r
1163 "z": "dc90116d.356cd8",
\r
1171 "id": "b1ece16a.0f3c9",
\r
1172 "type": "failure",
\r
1173 "name": "failure",
\r
1174 "xml": "<outcome value='failure'>\n",
\r
1179 "z": "dc90116d.356cd8",
\r
1187 "id": "b099b128.5136c8",
\r
1188 "type": "returnFailure",
\r
1189 "name": "return failure",
\r
1190 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure in getting controller-id from DB\" />\n\n",
\r
1194 "z": "dc90116d.356cd8",
\r
1198 "id": "b559176c.28e268",
\r
1199 "type": "not-found",
\r
1200 "name": "not-found",
\r
1201 "xml": "<outcome value='not-found'>\n",
\r
1206 "z": "dc90116d.356cd8",
\r
1214 "id": "50ff2098.8d83d",
\r
1215 "type": "returnFailure",
\r
1216 "name": "return failure",
\r
1217 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"controller-id could not be found in DB\" />\n\n",
\r
1221 "z": "dc90116d.356cd8",
\r
1225 "id": "c581f585.410918",
\r
1226 "type": "returnFailure",
\r
1227 "name": "return failure",
\r
1228 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure in getting controller-id from DB\" />\n\n",
\r
1232 "z": "dc90116d.356cd8",
\r
1236 "id": "3da8c72e.feda78",
\r
1237 "type": "not-found",
\r
1238 "name": "not-found",
\r
1239 "xml": "<outcome value='not-found'>\n",
\r
1244 "z": "dc90116d.356cd8",
\r
1252 "id": "37d6a3b7.1cca8c",
\r
1253 "type": "returnFailure",
\r
1254 "name": "return failure",
\r
1255 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"controller-id could not be found in DB\" />\n\n",
\r
1259 "z": "dc90116d.356cd8",
\r
1263 "id": "10fd3c36.34f02c",
\r
1264 "type": "switchNode",
\r
1265 "name": "switch network_length",
\r
1266 "xml": "<switch test='`$topology.networks.network_length >= 2`'>\n",
\r
1271 "z": "dc90116d.356cd8",
\r
1279 "id": "fbaeb9ed.a2e628",
\r
1280 "type": "outcomeTrue",
\r
1282 "xml": "<outcome value='true'>\n",
\r
1287 "z": "dc90116d.356cd8",
\r
1295 "id": "c8aabe3a.b7443",
\r
1297 "name": "for each Network",
\r
1298 "xml": "<for index='netidx' start='0' end='`$topology.networks.network_length`' >\n",
\r
1303 "z": "dc90116d.356cd8",
\r
1311 "id": "c5d07173.a82",
\r
1314 "xml": "<block>\n",
\r
1315 "atomic": "false",
\r
1320 "z": "dc90116d.356cd8",
\r
1323 "6173b924.39e6a8",
\r
1324 "a7527c77.d05fd8",
\r
1330 "id": "1c54dabe.e430a5",
\r
1332 "name": "call update-tp-ttp-relationship",
\r
1333 "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",
\r
1338 "z": "dc90116d.356cd8",
\r
1344 "id": "93fe6a3d.a61a8",
\r
1346 "name": "block : atomic",
\r
1347 "xml": "<block atomic='true'>",
\r
1353 "z": "dc90116d.356cd8",
\r
1362 "id": "17750ab4.92778d",
\r
1364 "name": "unset network",
\r
1365 "xml": "<set>\n<parameter name='network.' value='' />\n",
\r
1369 "z": "dc90116d.356cd8",
\r
1373 "id": "6173b924.39e6a8",
\r
1375 "name": "set network",
\r
1376 "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1380 "z": "dc90116d.356cd8",
\r
1384 "id": "a7527c77.d05fd8",
\r
1385 "type": "switchNode",
\r
1386 "name": "switch network-types with topologyId",
\r
1387 "xml": "<switch test='`$network.te-topology-identifier.topology-id`'>\n",
\r
1392 "z": "dc90116d.356cd8",
\r
1395 "de52bd0e.85db08",
\r
1401 "id": "de52bd0e.85db08",
\r
1402 "type": "outcome",
\r
1404 "xml": "<outcome value='1'>\n",
\r
1409 "z": "dc90116d.356cd8",
\r
1417 "id": "fa3a626b.d125c8",
\r
1418 "type": "outcome",
\r
1420 "xml": "<outcome value='2'>\n",
\r
1425 "z": "dc90116d.356cd8",
\r
1433 "id": "23780bd3.2604dc",
\r
1435 "name": "set network-otn",
\r
1436 "xml": "<set>\n<parameter name='network-otn.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1440 "z": "dc90116d.356cd8",
\r
1444 "id": "6f9e8e73.c1bc3",
\r
1446 "name": "set network eth",
\r
1447 "xml": "<set>\n<parameter name='network-eth.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1451 "z": "dc90116d.356cd8",
\r
1455 "id": "84c7d418.e115f8",
\r
1458 "xml": "<block>\n",
\r
1459 "atomic": "false",
\r
1464 "z": "dc90116d.356cd8",
\r
1472 "id": "caaba956.377e8",
\r
1475 "xml": "<block>\n",
\r
1476 "atomic": "false",
\r
1481 "z": "dc90116d.356cd8",
\r
1489 "id": "92aeb11c.309eb8",
\r
1491 "name": "unset network",
\r
1492 "xml": "<set>\n<parameter name='network.' value='' />\n",
\r
1496 "z": "dc90116d.356cd8",
\r