3 "id": "cd2352df.fe133",
\r
6 "xml": "<outcome value='Update'>\n",
\r
11 "z": "1620e9e3.f93e5e",
\r
19 "id": "a5fb8600.92c56",
\r
22 "xml": "<outcome value='delete'>\n",
\r
27 "z": "1620e9e3.f93e5e",
\r
35 "id": "a9fa59c4.23eb88",
\r
37 "name": "block : atomic",
\r
38 "xml": "<block atomic=\"true\">",
\r
43 "z": "1620e9e3.f93e5e",
\r
49 "id": "4266435.e82743c",
\r
51 "name": "TODO: Delete topology from AAI",
\r
54 "x": 791.3335189819336,
\r
55 "y": 327.96899485588074,
\r
56 "z": "1620e9e3.f93e5e",
\r
60 "id": "78227710.8145c",
\r
61 "type": "switchNode",
\r
62 "name": "switch aai-event-trigger",
\r
63 "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",
\r
68 "z": "1620e9e3.f93e5e",
\r
77 "id": "6a609919.dbddb",
\r
79 "name": "block : atomic",
\r
80 "xml": "<block atomic=\"true\">",
\r
85 "z": "1620e9e3.f93e5e",
\r
97 "id": "6c3c4f73.322ab8",
\r
99 "name": "execute RestApiCallNode Get token",
\r
100 "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
103 "x": 1517.5001983642578,
\r
104 "y": 112.00000953674316,
\r
105 "z": "1620e9e3.f93e5e",
\r
114 "id": "4ca383bd.7f19f4",
\r
117 "xml": "<outcome value='success'>\n",
\r
120 "x": 1807.000244140625,
\r
122 "z": "1620e9e3.f93e5e",
\r
130 "id": "a7b25c4e.37855",
\r
133 "xml": "<outcome value='failure'>\n",
\r
136 "x": 1803.000244140625,
\r
138 "z": "1620e9e3.f93e5e",
\r
146 "id": "bb6558fe.165e6",
\r
148 "name": "set token-id",
\r
149 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
\r
151 "x": 1957.500244140625,
\r
153 "z": "1620e9e3.f93e5e",
\r
157 "id": "3afa5b8a.d8b45c",
\r
159 "name": "execute RestApiCallNode Get Topology",
\r
160 "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
163 "x": 2024.500244140625,
\r
165 "z": "1620e9e3.f93e5e",
\r
174 "id": "fe4ed86b.9ca41",
\r
177 "xml": "<outcome value='success'>\n",
\r
180 "x": 2267.000244140625,
\r
182 "z": "1620e9e3.f93e5e",
\r
190 "id": "f8f7918f.b05da",
\r
192 "name": "block : atomic",
\r
193 "xml": "<block atomic=\"true\">",
\r
197 "x": 2424.500244140625,
\r
199 "z": "1620e9e3.f93e5e",
\r
208 "id": "c26cc871.32d778",
\r
209 "type": "returnFailure",
\r
210 "name": "return failure",
\r
211 "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
213 "x": 2401.000244140625,
\r
215 "z": "1620e9e3.f93e5e",
\r
219 "id": "6e1598d4.05ae",
\r
222 "xml": "<outcome value='failure'>\n",
\r
225 "x": 2263.000244140625,
\r
227 "z": "1620e9e3.f93e5e",
\r
235 "id": "74011233.c1b04c",
\r
241 "z": "1620e9e3.f93e5e",
\r
249 "id": "7dcd2a77.b03e04",
\r
250 "type": "service-logic",
\r
251 "name": "DataChange ${project.version}",
\r
252 "module": "DataChange",
\r
253 "version": "${project.version}",
\r
255 "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
259 "z": "1620e9e3.f93e5e",
\r
267 "id": "e046753f.a8811",
\r
269 "name": "method esr-thirdparty-sdnc-discovery",
\r
270 "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",
\r
275 "z": "1620e9e3.f93e5e",
\r
283 "id": "a7955eaa.8ebd",
\r
285 "name": "block : atomic",
\r
286 "xml": "<block atomic=\"true\">\n",
\r
292 "z": "1620e9e3.f93e5e",
\r
300 "id": "6837c77a.4d245",
\r
302 "name": "for each Network",
\r
303 "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",
\r
306 "x": 2663.500244140625,
\r
308 "z": "1620e9e3.f93e5e",
\r
316 "id": "d73b1be.693fde8",
\r
319 "xml": "<block>\n",
\r
323 "x": 2840.000244140625,
\r
325 "z": "1620e9e3.f93e5e",
\r
334 "id": "1071ecfb.db6683",
\r
336 "name": "call update-network-to-aai",
\r
337 "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",
\r
340 "x": 3019.000244140625,
\r
342 "z": "1620e9e3.f93e5e",
\r
348 "id": "22040d8e.81ad3a",
\r
350 "name": "set network",
\r
351 "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",
\r
353 "x": 2974.000244140625,
\r
355 "z": "1620e9e3.f93e5e",
\r
359 "id": "929ec7a5.9a46b8",
\r
362 "xml": "<block>\n",
\r
366 "x": 1923.000244140625,
\r
368 "z": "1620e9e3.f93e5e",
\r
374 "id": "a95e321b.626b1",
\r
376 "name": "Do Nothing",
\r
379 "x": 2093.000244140625,
\r
381 "z": "1620e9e3.f93e5e",
\r
385 "id": "30eb5834.80e7d",
\r
386 "type": "switchNode",
\r
387 "name": "switch type",
\r
388 "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
\r
393 "z": "1620e9e3.f93e5e",
\r
404 "id": "d7605eba.de53c8",
\r
407 "xml": "<block>\n",
\r
413 "z": "1620e9e3.f93e5e",
\r
421 "id": "bad9968b.bbaf5",
\r
424 "xml": "<outcome value='SOTN'>\n",
\r
429 "z": "1620e9e3.f93e5e",
\r
437 "id": "826758bc.846648",
\r
440 "xml": "<outcome value='Other'>\n",
\r
443 "x": 1085.000087738037,
\r
444 "y": 740.0001106262207,
\r
445 "z": "1620e9e3.f93e5e",
\r
453 "id": "8d466c1d.2dbd88",
\r
454 "type": "returnFailure",
\r
455 "name": "return failure",
\r
456 "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
458 "x": 1235.0000610351562,
\r
459 "y": 736.0000972747803,
\r
460 "z": "1620e9e3.f93e5e",
\r
464 "id": "a8db8257.07cda8",
\r
466 "name": "execute Properties",
\r
467 "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
470 "x": 1464.0001983642578,
\r
471 "y": 72.00000953674316,
\r
472 "z": "1620e9e3.f93e5e",
\r
478 "id": "49ad06a0.4e0b98",
\r
479 "type": "switchNode",
\r
480 "name": "switch prop.sdncRestApi.token_id",
\r
481 "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n",
\r
484 "x": 1510.5001983642578,
\r
485 "y": 192.00000953674316,
\r
486 "z": "1620e9e3.f93e5e",
\r
495 "id": "8c8153ea.0d28b8",
\r
498 "xml": "<outcome value=''>\n",
\r
501 "x": 1803.000244140625,
\r
503 "z": "1620e9e3.f93e5e",
\r
511 "id": "f01555ec.92788",
\r
514 "xml": "<outcome value='Other'>\n",
\r
517 "x": 1803.000244140625,
\r
519 "z": "1620e9e3.f93e5e",
\r
527 "id": "6e76fd4a.c154c4",
\r
529 "name": "execute RestApiCallNode Get Topology",
\r
530 "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
533 "x": 2024.500244140625,
\r
535 "z": "1620e9e3.f93e5e",
\r
544 "id": "8b00173e.a90248",
\r
546 "name": "execute RestconfDiscoveryNode",
\r
547 "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
550 "x": 1507.0001983642578,
\r
551 "y": 332.00000953674316,
\r
552 "z": "1620e9e3.f93e5e",
\r
558 "id": "5d1f20b8.954bc8",
\r
560 "name": "set encoding-format",
\r
561 "xml": "<set>\n<parameter name='input' value='ietf-subscribed-notifications:establish-subscription.input.' />\n<parameter name=\"`$input + 'encoding'`\" value=\"encode-json\" />",
\r
563 "x": 1467.0001983642578,
\r
564 "y": 292.00000953674316,
\r
565 "z": "1620e9e3.f93e5e",
\r
569 "id": "720c5fa5.cf9fc8",
\r
571 "name": "Notification subscription",
\r
574 "x": 1472.000343322754,
\r
575 "y": 249.00000858306885,
\r
576 "z": "1620e9e3.f93e5e",
\r
580 "id": "cee74437.1c5038",
\r
581 "type": "switchNode",
\r
583 "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",
\r
588 "z": "1620e9e3.f93e5e",
\r
597 "id": "68735a94.d40f5c",
\r
598 "type": "outcomeFalse",
\r
600 "xml": "<outcome value='false'>\n",
\r
605 "z": "1620e9e3.f93e5e",
\r
613 "id": "ab95c3e8.90657",
\r
614 "type": "outcomeTrue",
\r
616 "xml": "<outcome value='true'>\n",
\r
621 "z": "1620e9e3.f93e5e",
\r
629 "id": "9bf3753b.e16a38",
\r
631 "name": "call esr-thirdparty-sdnc-of-zte",
\r
632 "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n",
\r
637 "z": "1620e9e3.f93e5e",
\r
643 "id": "f43baf3c.399558",
\r
646 "xml": "<outcome value='TAPI'>\n",
\r
651 "z": "1620e9e3.f93e5e",
\r
659 "id": "75540bd7.9ba5f4",
\r
661 "name": "block : atomic",
\r
662 "xml": "<block atomic=\"true\">",
\r
667 "z": "1620e9e3.f93e5e",
\r
675 "id": "a24deaa6.af3108",
\r
678 "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
683 "z": "1620e9e3.f93e5e",
\r
692 "id": "363290e2.c2512",
\r
695 "xml": "<outcome value='success'>\n",
\r
700 "z": "1620e9e3.f93e5e",
\r
708 "id": "cdd2d534.962938",
\r
711 "xml": "<outcome value='failure'>\n",
\r
716 "z": "1620e9e3.f93e5e",
\r
724 "id": "78d89c1.df36ce4",
\r
725 "type": "returnFailure",
\r
726 "name": "return failure",
\r
727 "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
731 "z": "1620e9e3.f93e5e",
\r
735 "id": "91d6cda6.f47358",
\r
737 "name": "block : atomic",
\r
738 "xml": "<block atomic=\"true\">",
\r
743 "z": "1620e9e3.f93e5e",
\r
751 "id": "68a08572.6d4e94",
\r
753 "name": "for each topology",
\r
754 "xml": "<for index='tidx' start='0' end=\"`$topologies.topology_length`\" >\n",
\r
759 "z": "1620e9e3.f93e5e",
\r
767 "id": "e2491c10.3a12",
\r
770 "xml": "<block>\n",
\r
776 "z": "1620e9e3.f93e5e",
\r
785 "id": "b1c3c921.3c12a",
\r
787 "name": "set topology",
\r
788 "xml": "<set>\n<parameter name='topology.' value='`$topologies.topology[$tidx].`' />\n",
\r
792 "z": "1620e9e3.f93e5e",
\r
796 "id": "b5a39927.d40208",
\r
798 "name": "call tapi-update-network-to-aai",
\r
799 "xml": "<call module='DataChange' rpc='tapi-update-network-to-aai' mode='sync' >\n\n",
\r
804 "z": "1620e9e3.f93e5e",
\r
810 "id": "6e19e1c4.aa4d28",
\r
813 "xml": "<outcome value='MSA'>\n",
\r
816 "x": 1131.677324295044,
\r
817 "y": 581.8993349075317,
\r
818 "z": "1620e9e3.f93e5e",
\r
826 "id": "4227a936.fe14d",
\r
828 "name": "block : atomic",
\r
829 "xml": "<block atomic=\"true\">",
\r
832 "x": 1293.6773872375488,
\r
833 "y": 579.899335861206,
\r
834 "z": "1620e9e3.f93e5e",
\r
842 "id": "f20725de.f4794",
\r
845 "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
848 "x": 1470.6771354675293,
\r
849 "y": 571.8992919921875,
\r
850 "z": "1620e9e3.f93e5e",
\r
859 "id": "49b0fd8b.249e2c",
\r
862 "xml": "<outcome value='failure'>\n",
\r
865 "x": 1623.6771354675293,
\r
866 "y": 568.8992919921875,
\r
867 "z": "1620e9e3.f93e5e",
\r
875 "id": "85d21e1a.a14be8",
\r
876 "type": "returnFailure",
\r
877 "name": "return failure",
\r
878 "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
880 "x": 1798.6771354675293,
\r
881 "y": 567.8992919921875,
\r
882 "z": "1620e9e3.f93e5e",
\r
886 "id": "792d01db.8d11",
\r
889 "xml": "<outcome value='success'>\n",
\r
892 "x": 1629.6771354675293,
\r
893 "y": 641.8992919921875,
\r
894 "z": "1620e9e3.f93e5e",
\r
902 "id": "d5110405.aee948",
\r
904 "name": "block : atomic",
\r
905 "xml": "<block atomic=\"true\">",
\r
908 "x": 1813.6771354675293,
\r
909 "y": 643.8992919921875,
\r
910 "z": "1620e9e3.f93e5e",
\r
918 "id": "68851b61.ef75e4",
\r
920 "name": "call msa-update-network-to-aai",
\r
921 "xml": "<call module='DataChange' rpc='msa-update-network-to-aai' mode='sync' >\n\n",
\r
924 "x": 2092.677001953125,
\r
925 "y": 641.8992919921875,
\r
926 "z": "1620e9e3.f93e5e",
\r
932 "id": "945331d0.def158",
\r
933 "type": "switchNode",
\r
934 "name": "switch network_length",
\r
935 "xml": "<switch test='`$topology.networks.network_length >= 2`'>\n",
\r
940 "z": "1620e9e3.f93e5e",
\r
949 "id": "9c61f388.1f0838",
\r
951 "name": "2 Topologies (1 Domain)",
\r
952 "xml": "<outcome value='2'>\n",
\r
957 "z": "1620e9e3.f93e5e",
\r
963 "id": "326c6d24.4336b2",
\r
964 "type": "switchNode",
\r
965 "name": "switch network-types[0]",
\r
966 "xml": "<switch test='`$topology.networks.network[0].network-types`'>\n",
\r
971 "z": "1620e9e3.f93e5e",
\r
980 "id": "709f94a4.b34cf4",
\r
982 "name": "ethernet-topology",
\r
983 "xml": "<outcome value='ethernet-topology'>\n",
\r
988 "z": "1620e9e3.f93e5e",
\r
996 "id": "6ad78f52.8d683",
\r
997 "type": "switchNode",
\r
998 "name": "switch network-types[1]",
\r
999 "xml": "<switch test='`$topology.networks.network[1].network-types`'>\n",
\r
1004 "z": "1620e9e3.f93e5e",
\r
1007 "4e12c36c.f82d3c",
\r
1013 "id": "4e12c36c.f82d3c",
\r
1014 "type": "outcome",
\r
1015 "name": "otn-topology",
\r
1016 "xml": "<outcome value='otn-topology'>\n",
\r
1021 "z": "1620e9e3.f93e5e",
\r
1029 "id": "172a24d9.92ec93",
\r
1031 "name": "call update-tp-ttp-relationship",
\r
1032 "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",
\r
1037 "z": "1620e9e3.f93e5e",
\r
1043 "id": "61a560e1.35c54",
\r
1045 "name": "set networks",
\r
1046 "xml": "<set>\n<parameter name='network-eth.' value='`$topology.networks.network[0].`' />\n<parameter name='network-otn.' value='`$topology.networks.network[1].`' />\n",
\r
1050 "z": "1620e9e3.f93e5e",
\r
1054 "id": "9cfb2d7f.448bd8",
\r
1055 "type": "outcome",
\r
1056 "name": "otn-topology",
\r
1057 "xml": "<outcome value='otn-topology'>\n",
\r
1062 "z": "1620e9e3.f93e5e",
\r
1070 "id": "cd9d2417.06096",
\r
1073 "xml": "<block>\n",
\r
1074 "atomic": "false",
\r
1079 "z": "1620e9e3.f93e5e",
\r
1088 "id": "f16b5928.2b534",
\r
1089 "type": "switchNode",
\r
1090 "name": "switch network-types[1]",
\r
1091 "xml": "<switch test='`$topology.networks.network[1].network-types`'>\n",
\r
1096 "z": "1620e9e3.f93e5e",
\r
1105 "id": "17b8d1f3.652706",
\r
1108 "xml": "<outcome value='Other'>\n",
\r
1113 "z": "1620e9e3.f93e5e",
\r
1121 "id": "d245d127.681cb",
\r
1122 "type": "returnFailure",
\r
1123 "name": "return failure",
\r
1124 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1128 "z": "1620e9e3.f93e5e",
\r
1132 "id": "b02955b9.ece2c",
\r
1133 "type": "outcome",
\r
1134 "name": "ethernet-topology",
\r
1135 "xml": "<outcome value='ethernet-topology'>\n",
\r
1140 "z": "1620e9e3.f93e5e",
\r
1148 "id": "b2d9af5c.6d71e8",
\r
1150 "name": "set networks",
\r
1151 "xml": "<set>\n<parameter name='network.eth' value='`$topology.networks.network[1].`' />\n<parameter name='network.otn' value='`$topology.networks.network[0].`' />\n",
\r
1155 "z": "1620e9e3.f93e5e",
\r
1159 "id": "1f0d239a.a59004",
\r
1162 "xml": "<outcome value='Other'>\n",
\r
1167 "z": "1620e9e3.f93e5e",
\r
1175 "id": "7a25521e.b55894",
\r
1176 "type": "returnFailure",
\r
1177 "name": "return failure",
\r
1178 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1182 "z": "1620e9e3.f93e5e",
\r
1186 "id": "a776716e.08be98",
\r
1189 "xml": "<block>\n",
\r
1190 "atomic": "false",
\r
1195 "z": "1620e9e3.f93e5e",
\r
1198 "b2d9af5c.6d71e8",
\r
1204 "id": "1a8710e5.1ad6b7",
\r
1205 "type": "get-resource",
\r
1206 "name": "get-resource network-resources",
\r
1207 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resources\" \n pfx='tmp.aai.network-resources' local-only='false' >\n\n",
\r
1212 "z": "1620e9e3.f93e5e",
\r
1222 "id": "3a8bf069.f85ce",
\r
1223 "type": "success",
\r
1224 "name": "success",
\r
1225 "xml": "<outcome value='success'>\n",
\r
1230 "z": "1620e9e3.f93e5e",
\r
1238 "id": "aebcabff.82acc",
\r
1239 "type": "not-found",
\r
1240 "name": "not-found",
\r
1241 "xml": "<outcome value='not-found'>\n",
\r
1244 "x": 2760.490966796875,
\r
1245 "y": 749.5740356445312,
\r
1246 "z": "1620e9e3.f93e5e",
\r
1254 "id": "1f447726.4be529",
\r
1257 "xml": "<outcome value='Other'>\n",
\r
1260 "x": 2748.823974609375,
\r
1261 "y": 793.9073486328125,
\r
1262 "z": "1620e9e3.f93e5e",
\r
1270 "id": "7141defd.d7f3a8",
\r
1272 "name": "call update-tp-ttp-relationship",
\r
1273 "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",
\r
1278 "z": "1620e9e3.f93e5e",
\r
1284 "id": "db2f1670.e36278",
\r
1286 "name": "call update-open-ended-links",
\r
1287 "xml": "<call module='DataChange' rpc='update-open-ended-links' mode='sync' >\n",
\r
1292 "z": "1620e9e3.f93e5e",
\r
1298 "id": "e98ead73.d60f3",
\r
1299 "type": "switchNode",
\r
1300 "name": "switch network-resources_length",
\r
1301 "xml": "<switch test='tmp.aai.network-resources_length'>\n",
\r
1306 "z": "1620e9e3.f93e5e",
\r
1314 "id": "c72d2527.4f27d8",
\r
1315 "type": "outcome",
\r
1316 "name": "4 Topologies (2 Domains)",
\r
1317 "xml": "<outcome value='4'>\n",
\r
1322 "z": "1620e9e3.f93e5e",
\r
1330 "id": "94257a05.fc968",
\r
1331 "type": "returnFailure",
\r
1332 "name": "return failure",
\r
1333 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1337 "z": "1620e9e3.f93e5e",
\r
1341 "id": "fe4ab328.74eee",
\r
1342 "type": "returnFailure",
\r
1343 "name": "return failure",
\r
1344 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1348 "z": "1620e9e3.f93e5e",
\r
1352 "id": "6b9df565.677604",
\r
1354 "name": "for each network-resource",
\r
1355 "xml": "<for index='nridx' start='0' end='`$tmp.aai.network-resources.network-resource_length`' >\n",
\r
1360 "z": "1620e9e3.f93e5e",
\r
1368 "id": "db1ad019.66229",
\r
1371 "xml": "<block>\n",
\r
1372 "atomic": "false",
\r
1377 "z": "1620e9e3.f93e5e",
\r
1380 "9c9a1adf.4a9568",
\r
1386 "id": "9c9a1adf.4a9568",
\r
1387 "type": "switchNode",
\r
1388 "name": "switch network-types[nridx]",
\r
1389 "xml": "<switch test='`$tmp.aai.network-resources.network-resource[$nridx].network-type`'>\n",
\r
1394 "z": "1620e9e3.f93e5e",
\r
1402 "id": "be613956.e7594",
\r
1403 "type": "outcome",
\r
1404 "name": "otn-topology",
\r
1405 "xml": "<outcome value='otn-topology'>\n",
\r
1410 "z": "1620e9e3.f93e5e",
\r
1418 "id": "369083d8.76a43c",
\r
1420 "name": "set network-resource-otn[$otnidx]",
\r
1421 "xml": "<set>\n<parameter name='network-resource-otn[$otnidx].' value='`$tmp.aai.network-resources.network-resource[$nridx].`' />\n",
\r
1425 "z": "1620e9e3.f93e5e",
\r
1429 "id": "df8384d1.95fc28",
\r
1431 "name": "set otnidx",
\r
1432 "xml": "<set>\n<parameter name='otnidx' value='0' />\n",
\r
1436 "z": "1620e9e3.f93e5e",
\r
1440 "id": "fd786916.269048",
\r
1442 "name": "set otnidx",
\r
1443 "xml": "<set>\n<parameter name='otnidx' value='`$otnidx + 1`' />\n",
\r
1447 "z": "1620e9e3.f93e5e",
\r
1451 "id": "a82463e6.b9c248",
\r
1454 "xml": "<block>\n",
\r
1455 "atomic": "false",
\r
1460 "z": "1620e9e3.f93e5e",
\r
1463 "369083d8.76a43c",
\r
1469 "id": "3dcb11c5.a0564e",
\r
1471 "name": "block : atomic",
\r
1472 "xml": "<block atomic='true'>",
\r
1478 "z": "1620e9e3.f93e5e",
\r
1481 "6b9df565.677604",
\r
1487 "id": "901d4e1a.652118",
\r
1488 "type": "outcomeTrue",
\r
1490 "xml": "<outcome value='true'>\n",
\r
1495 "z": "1620e9e3.f93e5e",
\r
1503 "id": "11935c8a.a490ab",
\r
1504 "type": "outcomeFalse",
\r
1506 "xml": "<outcome value='false'>\n",
\r
1511 "z": "1620e9e3.f93e5e",
\r
1519 "id": "94ef4628.95e6b8",
\r
1521 "name": "log file",
\r
1522 "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logSdncDiscovery.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"networks_length\" />\n <parameter name=\"field3\" value=\"`$topology.networks.network_length`\" />\n ",
\r
1527 "z": "1620e9e3.f93e5e",
\r
1533 "id": "2165924a.476cde",
\r
1535 "name": "for each Network",
\r
1536 "xml": "<for index='netidx' start='0' end='`$topology.networks.network_length`' >\n",
\r
1541 "z": "1620e9e3.f93e5e",
\r
1549 "id": "115276c4.acec21",
\r
1552 "xml": "<block>\n",
\r
1553 "atomic": "false",
\r
1558 "z": "1620e9e3.f93e5e",
\r
1561 "2a57d05e.a0dc88",
\r
1570 "id": "2a57d05e.a0dc88",
\r
1572 "name": "set network",
\r
1573 "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1577 "z": "1620e9e3.f93e5e",
\r
1581 "id": "dde988af.f0e1f",
\r
1582 "type": "switchNode",
\r
1583 "name": "switch network-types with topologyId",
\r
1584 "xml": "<switch test='`$network.te-topology-id`'>\n",
\r
1589 "z": "1620e9e3.f93e5e",
\r
1598 "id": "b3e974ed.02509",
\r
1600 "name": "log file",
\r
1601 "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logSdncDiscovery.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"networks_length\" />\n <parameter name=\"field3\" value=\"`$topology.networks.network_length`\" />\n <parameter name=\"field4\" value=\"network-type-is\" />\n <parameter name=\"field5\" value=\"OTN\" />\n",
\r
1606 "z": "1620e9e3.f93e5e",
\r
1612 "id": "eaf6a3f8.6275b",
\r
1613 "type": "outcome",
\r
1615 "xml": "<outcome value='11'>\n",
\r
1620 "z": "1620e9e3.f93e5e",
\r
1628 "id": "92b40685.e87b6",
\r
1629 "type": "outcome",
\r
1631 "xml": "<outcome value='33'>\n",
\r
1636 "z": "1620e9e3.f93e5e",
\r
1644 "id": "d246fb34.c2a69",
\r
1646 "name": "log file",
\r
1647 "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logSdncDiscovery.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"networks_length\" />\n <parameter name=\"field3\" value=\"`$topology.networks.network_length`\" />\n <parameter name=\"field4\" value=\"network-type-is\" />\n <parameter name=\"field5\" value=\"ETH\" />\n",
\r
1652 "z": "1620e9e3.f93e5e",
\r
1658 "id": "50aa8e02.3ace68",
\r
1660 "name": "set network-otn",
\r
1661 "xml": "<set>\n<parameter name='network-otn.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1665 "z": "1620e9e3.f93e5e",
\r
1669 "id": "1ffaf146.64fab7",
\r
1671 "name": "set networks",
\r
1672 "xml": "<set>\n<parameter name='network-eth.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1676 "z": "1620e9e3.f93e5e",
\r
1680 "id": "ccc4b2dc.03b6",
\r
1682 "name": "unset network",
\r
1683 "xml": "<set>\n<parameter name='network.' value='' />\n",
\r
1687 "z": "1620e9e3.f93e5e",
\r
1691 "id": "9266c042.cf422",
\r
1693 "name": "log file",
\r
1694 "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logSdncDiscovery.txt\" />\n <parameter name=\"field6\" value=\"network-otn-is\" />\n <parameter name=\"field7\" value=\"`$network-otn.te-topology-id`\" />\n <parameter name=\"field8\" value=\"network-eth-is\" />\n <parameter name=\"field9\" value=\"`$network-eth.te-topology-id`\" />\n",
\r
1699 "z": "1620e9e3.f93e5e",
\r
1705 "id": "7df875b.d3cf70c",
\r
1708 "xml": "<block>\n",
\r
1709 "atomic": "false",
\r
1714 "z": "1620e9e3.f93e5e",
\r
1723 "id": "16aa4525.8ff0c3",
\r
1726 "xml": "<block>\n",
\r
1727 "atomic": "false",
\r
1732 "z": "1620e9e3.f93e5e",
\r
1741 "id": "b4168243.614878",
\r
1743 "name": "call update-tp-ttp-relationship",
\r
1744 "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",
\r
1749 "z": "1620e9e3.f93e5e",
\r