3 "id": "ba06c89a.024e98",
17 "id": "35e8925f.3178be",
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": 325.03125381469727,
26 "y": 167.0312671661377,
27 "z": "b1a89180.b5141",
35 "id": "f972abf0.8e2ed8",
37 "name": "method network-topology-operation-delete",
38 "xml": "<method rpc='network-topology-operation-delete' mode='sync'>\n",
41 "x": 313.0313720703125,
43 "z": "b1a89180.b5141",
51 "id": "61264142.433c9",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">\n",
58 "x": 589.0312805175781,
59 "y": 263.03126335144043,
60 "z": "b1a89180.b5141",
78 "id": "6c17c5f9.a1c91c",
80 "name": "call GENERIC-RESOURCE-API:validate-network-input-parameters",
81 "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
86 "z": "b1a89180.b5141",
92 "id": "17a845f7.81ad5a",
93 "type": "get-resource",
94 "name": "get-resource esr-thirdparty-sdnc",
95 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.thirdparty-sdnc-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
99 "y": 491.0312194824219,
100 "z": "b1a89180.b5141",
110 "id": "f27f6e92.d1699",
113 "xml": "<outcome value='success'>\n",
118 "z": "b1a89180.b5141",
126 "id": "2cd26321.b8d7fc",
129 "xml": "<outcome value='not-found'>\n",
132 "x": 1096.522216796875,
133 "y": 488.6053161621094,
134 "z": "b1a89180.b5141",
142 "id": "207daa4b.421516",
145 "xml": "<outcome value='Other'>\n",
148 "x": 1089.855224609375,
149 "y": 539.9385681152344,
150 "z": "b1a89180.b5141",
158 "id": "2d398a89.807716",
159 "type": "returnFailure",
160 "name": "return failure",
161 "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=\"Network model is_bound_to_vpn=true but no vpn_binding is present\" />\n\n",
163 "x": 1272.0936279296875,
164 "y": 486.8910217285156,
165 "z": "b1a89180.b5141",
169 "id": "8e9c4cf9.162de",
170 "type": "returnFailure",
171 "name": "return failure",
172 "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=\"Unexpected error retrieving vpn binding\" />\n\n",
174 "x": 1250.6278076171875,
175 "y": 538.3777770996094,
176 "z": "b1a89180.b5141",
180 "id": "1c470b8.4988df5",
182 "name": "for each network-input-parameters",
183 "xml": "<for index='idx' start='0' end='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param_length`' >\n",
188 "z": "b1a89180.b5141",
196 "id": "c4d07fe0.ade9b",
203 "x": 1153.8646240234375,
204 "y": 202.36459350585938,
205 "z": "b1a89180.b5141",
218 "id": "c0182537.1ffaf8",
219 "type": "switchNode",
220 "name": "switch name",
221 "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
226 "z": "b1a89180.b5141",
234 "id": "c674745c.2d98c8",
235 "type": "outcomeTrue",
237 "xml": "<outcome value='true'>\n",
242 "z": "b1a89180.b5141",
250 "id": "ff72bcee.d766c",
253 "xml": "<set>\n<parameter name='prop.l3vpn.name' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
256 "y": 163.63125610351562,
257 "z": "b1a89180.b5141",
261 "id": "ce9d1ad8.d1f0c8",
262 "type": "switchNode",
263 "name": "switch service-type",
264 "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'serviceType'`\">\n",
268 "y": 217.6312255859375,
269 "z": "b1a89180.b5141",
277 "id": "7439fd72.4e49b4",
278 "type": "outcomeTrue",
280 "xml": "<outcome value='true'>\n",
283 "x": 1551.0311889648438,
284 "y": 222.6312255859375,
285 "z": "b1a89180.b5141",
293 "id": "4c0474c2.96c4ac",
295 "name": "set service-type",
296 "xml": "<set>\n<parameter name='prop.l3vpn.service-type' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
298 "x": 1720.0311889648438,
299 "y": 220.6312255859375,
300 "z": "b1a89180.b5141",
304 "id": "4f5e00fc.7741e",
306 "name": "set controller data",
307 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].serviceUrl`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
310 "y": 444.0312194824219,
311 "z": "b1a89180.b5141",
315 "id": "d58d3bad.af4188",
317 "name": "execute REST DELETE VPN",
318 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services/vpnservice=' + $prop.l3vpn.name`\" />\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=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
323 "z": "b1a89180.b5141",
332 "id": "6c64d01.a0fff3",
333 "type": "switchNode",
334 "name": "switch service-type",
335 "xml": "<switch test=\"`$prop.l3vpn.service-type`\">\n",
340 "z": "b1a89180.b5141",
348 "id": "f5f24c7e.c89f9",
349 "type": "outcomeTrue",
350 "name": "l3vpn-ipwan",
351 "xml": "<outcome value='l3vpn-ipwan'>\n",
355 "y": 596.0312271118164,
356 "z": "b1a89180.b5141",
364 "id": "ae6fca7d.b3be38",
365 "type": "switchNode",
366 "name": "switch service-data.networks.network_length",
367 "xml": "<switch test='`$service-data.networks.network_length`'>\n",
372 "z": "b1a89180.b5141",
382 "id": "520c693e.a9d358",
385 "xml": "<outcome value=''>\n",
389 "y": 56.03131103515625,
390 "z": "b1a89180.b5141",
398 "id": "55192e25.8885f",
399 "type": "returnFailure",
400 "name": "return failure",
401 "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
403 "x": 1487.8087158203125,
404 "y": 31.920257568359375,
405 "z": "b1a89180.b5141",
409 "id": "655f0893.61f278",
412 "xml": "<outcome value='Other'>\n",
415 "x": 1181.0316162109375,
416 "y": 110.03132629394531,
417 "z": "b1a89180.b5141",
425 "id": "f1d97fd4.8fa63",
427 "name": "block : atomic",
428 "xml": "<block atomic=\"true\">",
431 "x": 1352.3011474609375,
432 "y": 93.58586120605469,
433 "z": "b1a89180.b5141",
442 "id": "e876eb36.5c4d68",
444 "name": "for nidx..service-data.networks.network[]",
445 "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
448 "x": 1650.317138671875,
449 "y": 74.45986938476562,
450 "z": "b1a89180.b5141",
458 "id": "34cad983.d68aa6",
459 "type": "switchNode",
460 "name": "switch tmp.nidx ",
461 "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
464 "x": 1571.6185302734375,
465 "y": 117.44305419921875,
466 "z": "b1a89180.b5141",
474 "id": "42b4cc11.e782c4",
477 "xml": "<outcome value=''>\n",
480 "x": 1772.047119140625,
481 "y": 123.01446533203125,
482 "z": "b1a89180.b5141",
490 "id": "5659c979.043e78",
491 "type": "switchNode",
492 "name": "switch networkid found",
493 "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
496 "x": 1960.7457275390625,
498 "z": "b1a89180.b5141",
506 "id": "fffba6d3.fe8418",
507 "type": "returnFailure",
508 "name": "return failure",
509 "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
511 "x": 1943.4755859375,
512 "y": 123.15731811523438,
513 "z": "b1a89180.b5141",
517 "id": "c95e7fc4.b303b",
518 "type": "outcomeTrue",
520 "xml": "<outcome value='true'>\n",
523 "x": 2166.697998046875,
524 "y": 71.60269165039062,
525 "z": "b1a89180.b5141",
533 "id": "6b863b90.836d94",
535 "name": "set tmp.nidx and ctx.network-data",
536 "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
538 "x": 2405.229736328125,
539 "y": 67.35269165039062,
540 "z": "b1a89180.b5141",
544 "id": "30cf8a2a.4aa6d6",
545 "type": "returnSuccess",
546 "name": "return success",
547 "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",
549 "x": 789.6978149414062,
550 "y": 1201.364501953125,
551 "z": "b1a89180.b5141",
555 "id": "3287501.60ecab",
556 "type": "get-resource",
557 "name": "get-resource pnf",
558 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $prop.l3vpn.pe1_id AND \n\t\t depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n",
562 "y": 368.9202575683594,
563 "z": "b1a89180.b5141",
573 "id": "c2bd93d4.a50d6",
576 "xml": "<outcome value='success'>\n",
580 "y": 306.9202575683594,
581 "z": "b1a89180.b5141",
589 "id": "50eb06db.534748",
592 "xml": "<outcome value='not-found'>\n",
595 "x": 1013.522216796875,
596 "y": 349.4942932128906,
597 "z": "b1a89180.b5141",
605 "id": "a9ca7e11.e6b52",
608 "xml": "<outcome value='Other'>\n",
611 "x": 1006.855224609375,
612 "y": 397.8276062011719,
613 "z": "b1a89180.b5141",
621 "id": "a043bfd1.99253",
622 "type": "returnFailure",
623 "name": "return failure",
624 "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 esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
626 "x": 1199.0936279296875,
627 "y": 350.780029296875,
628 "z": "b1a89180.b5141",
632 "id": "a1cb98a2.af1948",
633 "type": "returnFailure",
634 "name": "return failure",
635 "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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
637 "x": 1195.6278076171875,
638 "y": 401.26678466796875,
639 "z": "b1a89180.b5141",
643 "id": "70989a52.14a154",
645 "name": "set tmp.thirdparty-sdnc-id",
646 "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
649 "y": 302.9202575683594,
650 "z": "b1a89180.b5141",
654 "id": "ae7fca3e.07e458",
655 "type": "switchNode",
656 "name": "switch pe1_id",
657 "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'pe1_id'`\">\n",
661 "y": 263.9202575683594,
662 "z": "b1a89180.b5141",
670 "id": "7fbf4ad7.4e3104",
671 "type": "outcomeTrue",
673 "xml": "<outcome value='true'>\n",
677 "y": 272.9202575683594,
678 "z": "b1a89180.b5141",
686 "id": "63b25ae1.3cec14",
688 "name": "set pe1_id",
689 "xml": "<set>\n<parameter name='prop.l3vpn.pe1_id' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
692 "y": 276.9202575683594,
693 "z": "b1a89180.b5141",
697 "id": "19bbbbde.0c4ee4",
699 "name": "delete underlay configuration in AAI",
700 "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource='configuration' \n key='configuration.configuration-id = $network-topology-operation-input.network-information.network-id'>\n",
704 "y": 686.9202880859375,
705 "z": "b1a89180.b5141",
711 "id": "1f654f28.833041",
713 "name": "execute RestApiCallNode Get token",
714 "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\"/>",
718 "y": 586.6979141235352,
719 "z": "b1a89180.b5141",
728 "id": "ca41c77.6b99238",
731 "xml": "<outcome value='success'>\n",
735 "y": 549.6979141235352,
736 "z": "b1a89180.b5141",
744 "id": "b6f946b3.5d1538",
747 "xml": "<outcome value='failure'>\n",
751 "y": 616.3407974243164,
752 "z": "b1a89180.b5141",
760 "id": "987fca22.525748",
761 "type": "returnFailure",
762 "name": "return failure",
763 "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=\"Error executing get token rest api\" />\n",
766 "y": 615.0908584594727,
767 "z": "b1a89180.b5141",
771 "id": "fb54fc36.0391d",
773 "name": "set token-id",
774 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='$token-result.data.token_id' />\n",
777 "y": 546.6979141235352,
778 "z": "b1a89180.b5141",
782 "id": "a48f9d80.400a6",
785 "xml": "<outcome value='success'>\n",
789 "y": 737.6979370117188,
790 "z": "b1a89180.b5141",
798 "id": "17b55d13.d0f583",
801 "xml": "<outcome value='failure'>\n",
805 "y": 978.3407592773438,
806 "z": "b1a89180.b5141",
814 "id": "896de823.531688",
815 "type": "returnFailure",
816 "name": "return failure",
817 "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=\"Error executing Delete VPN rest api\" />\n",
820 "y": 981.0908813476562,
821 "z": "b1a89180.b5141",
825 "id": "730f31fc.13307",
827 "name": "block : atomic",
828 "xml": "<block atomic='true'>",
833 "y": 597.6979141235352,
834 "z": "b1a89180.b5141",
846 "id": "99fa60a9.97d56",
848 "name": "execute Properties",
849 "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",
853 "y": 544.9202575683594,
854 "z": "b1a89180.b5141",
860 "id": "298989a7.60397e",
862 "name": "execute REST DELETE Site",
863 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/sites/site=' + $prop.l3vpn.site1_name`\" />\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=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"site-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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
868 "z": "b1a89180.b5141",
877 "id": "e2203ccc.e2252",
879 "name": "execute REST DELETE VRF1",
880 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/huawei-ac-net-l3vpn-svc-vfi:vrf-attributes/vrf-attribute=' + $prop.l3vpn.vrf1-id`\" />\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=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"vrf1-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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
885 "z": "b1a89180.b5141",
894 "id": "d01694ec.b6d578",
896 "name": "execute REST DELETE VRF2",
897 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/huawei-ac-net-l3vpn-svc-vfi:vrf-attributes/vrf-attribute=' + $prop.l3vpn.vrf2-id`\" />\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=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"vrf2-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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
902 "z": "b1a89180.b5141",
911 "id": "c960eb18.e0632",
920 "z": "b1a89180.b5141",
926 "id": "22e4152.0989b6a",
929 "xml": "<outcome value='failure'>\n",
934 "z": "b1a89180.b5141",
942 "id": "c62b7174.0cde6",
943 "type": "returnFailure",
944 "name": "return failure",
945 "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=\"Error executing Delete Site rest api\" />\n",
948 "y": 671.7500610351562,
949 "z": "b1a89180.b5141",
953 "id": "ab599bb0.a4be38",
956 "xml": "<outcome value='failure'>\n",
961 "z": "b1a89180.b5141",
969 "id": "fd500d75.5f667",
970 "type": "returnFailure",
971 "name": "return failure",
972 "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=\"Error executing Delete VRF1 rest api\" />\n",
975 "y": 803.7500610351562,
976 "z": "b1a89180.b5141",
980 "id": "a7e72531.ac08f",
983 "xml": "<outcome value='failure'>\n",
988 "z": "b1a89180.b5141",
996 "id": "6fdfb503.fe47a4",
997 "type": "returnFailure",
998 "name": "return failure",
999 "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=\"Error executing Delete VRF2 rest api\" />\n",
1002 "y": 877.7500610351562,
1003 "z": "b1a89180.b5141",
1007 "id": "e1b9eee0.2059b8",
1008 "type": "switchNode",
1009 "name": "switch site1_name",
1010 "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'site1_name'`\">\n",
1015 "z": "b1a89180.b5141",
1023 "id": "f7a24587.ec9238",
1024 "type": "switchNode",
1025 "name": "switch vrf1_id",
1026 "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'vrf1_id'`\">\n",
1030 "y": 380.5999755859375,
1031 "z": "b1a89180.b5141",
1039 "id": "a35f5ef6.a6cd28",
1040 "type": "switchNode",
1041 "name": "switch vrf2_id",
1042 "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'vrf2_id'`\">\n",
1046 "y": 426.8890075683594,
1047 "z": "b1a89180.b5141",
1055 "id": "dfa9e32d.91d8d8",
1056 "type": "outcomeTrue",
1058 "xml": "<outcome value='true'>\n",
1063 "z": "b1a89180.b5141",
1071 "id": "c15e7dfb.74d14",
1072 "type": "outcomeTrue",
1074 "xml": "<outcome value='true'>\n",
1077 "x": 1660.9999389648438,
1078 "y": 385.5999755859375,
1079 "z": "b1a89180.b5141",
1087 "id": "ca400331.dc161",
1088 "type": "outcomeTrue",
1090 "xml": "<outcome value='true'>\n",
1094 "y": 435.8890075683594,
1095 "z": "b1a89180.b5141",
1103 "id": "9e12816.9f59e",
1105 "name": "set site1_name",
1106 "xml": "<set>\n<parameter name='prop.l3vpn.site1_name' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1109 "y": 326.6000061035156,
1110 "z": "b1a89180.b5141",
1114 "id": "b6297fef.ebefb",
1116 "name": "set vrf1_id",
1117 "xml": "<set>\n<parameter name='prop.l3vpn.vrf1-id' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1119 "x": 1829.9999389648438,
1120 "y": 383.5999755859375,
1121 "z": "b1a89180.b5141",
1125 "id": "b6b8b28d.368718",
1127 "name": "set vrf2_id",
1128 "xml": "<set>\n<parameter name='prop.l3vpn.vrf2-id' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1131 "y": 439.8890075683594,
1132 "z": "b1a89180.b5141",
1136 "id": "4cb232f8.ebf31c",
1139 "xml": "<outcome value='0'>\n",
1144 "z": "b1a89180.b5141",
1152 "id": "c820d47.424eda8",
1154 "name": "set output to api handler",
1155 "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $network-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'` \" />\n \n",
1159 "z": "b1a89180.b5141",
1163 "id": "68e3068e.972fd8",
1164 "type": "switchNode",
1165 "name": "switch $service-data.networks.network_length",
1166 "xml": "<switch test='`$service-data.networks.network_length`'>\n",
1171 "z": "b1a89180.b5141",
1180 "id": "bb92afab.51f5a",
1182 "name": "Remove network from service data",
1185 "x": 879.2342529296875,
1186 "y": 936.991943359375,
1187 "z": "b1a89180.b5141",
1191 "id": "9977e826.19c58",
1193 "name": "If only one remove all networks",
1196 "x": 1269.4179611206055,
1197 "y": 941.2592601776123,
1198 "z": "b1a89180.b5141",
1202 "id": "cabb40c6.f63f28",
1205 "xml": "<outcome value='1'>\n",
1208 "x": 1198.0475997924805,
1209 "y": 976.6664867401123,
1210 "z": "b1a89180.b5141",
1218 "id": "fbcf7a1e.85d56",
1220 "name": "block : atomic",
1221 "xml": "<block atomic=\"true\">",
1224 "x": 1377.3809127807617,
1225 "y": 977.370283126831,
1226 "z": "b1a89180.b5141",
1235 "id": "d81def66.527288",
1238 "xml": "<outcome value='Other'>\n",
1241 "x": 1164.4285507202148,
1242 "y": 1128.9998044967651,
1243 "z": "b1a89180.b5141",
1251 "id": "eec0d25e.96de08",
1253 "name": "block : atomic",
1254 "xml": "<block atomic=\"true\">",
1257 "x": 1386.4284286499023,
1258 "y": 1128.9998044967651,
1259 "z": "b1a89180.b5141",
1270 "id": "2a5e806c.406808",
1272 "name": "Remove networks",
1273 "xml": "<set>\n\t<parameter name=\"service-data.networks.\" value=\"\"/>\n\n",
1275 "x": 1630.66650390625,
1276 "y": 980.3333129882812,
1277 "z": "b1a89180.b5141",
1281 "id": "4e176ca1.1f7854",
1283 "name": "set new network length",
1284 "xml": "<set>\n\t<parameter name=\"service-data.networks.network_length\" value=\"0\"/>\n\n\t\n",
1286 "x": 1646.9998779296875,
1287 "y": 1015.0369710922241,
1288 "z": "b1a89180.b5141",
1292 "id": "ec576987.8b044",
1294 "name": "Set new network length",
1295 "xml": "<set>\n\t<parameter name=\"tmp.new_length\" value=\"`$service-data.networks.network_length - 1`\"/>\n\t\n\t\n",
1297 "x": 1653.1322021484375,
1298 "y": 1066.2591552734375,
1299 "z": "b1a89180.b5141",
1303 "id": "30d886fb.de580a",
1305 "name": "for snidx..service-data.networks.network[]",
1306 "xml": "<for silentFailure='true' index='snidx' start='`$tmp.nidx + 1`' end='`$service-data.networks.network_length`' >\n",
1309 "x": 1701.83740234375,
1310 "y": 1118.5631103515625,
1311 "z": "b1a89180.b5141",
1319 "id": "1413b75.f99b949",
1321 "name": "set new network length",
1322 "xml": "<set>\n\t<parameter name=\"service-data.networks.network_length\" value=\"`$service-data.networks.network_length - 1`\"/>\n\n\t\n",
1324 "x": 1660.296272277832,
1325 "y": 1162.333369255066,
1326 "z": "b1a89180.b5141",
1330 "id": "4f8e70aa.dbe688",
1332 "name": "Remove networks",
1333 "xml": "<set>\n\t<parameter name=\"service-data.networks.network[$tmp.new_length].\" value=\"\"/>\n\n",
1335 "x": 1640.1427383422852,
1336 "y": 1200.3013143539429,
1337 "z": "b1a89180.b5141",
1341 "id": "161f519b.8ac7e6",
1343 "name": "block : atomic",
1344 "xml": "<block atomic=\"true\">",
1348 "x": 1990.4284133911133,
1349 "y": 1127.999789237976,
1350 "z": "b1a89180.b5141",