3 "id": "303f7566.d219ba",
\r
9 "z": "15891279.d6b57e",
\r
17 "id": "f39490a3.b09b28",
\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": 394.2856903076172,
\r
26 "y": 379.23810863494873,
\r
27 "z": "15891279.d6b57e",
\r
35 "id": "72c32dea.176324",
\r
37 "name": "method tsli-vnf-topology-operation-trans-slice-deactivate",
\r
38 "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-deactivate' mode='sync'>\n",
\r
41 "x": 400.42860412597656,
\r
42 "y": 464.0000305175781,
\r
43 "z": "15891279.d6b57e",
\r
51 "id": "d12dc6f7.97bdd",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 596.2380447387695,
\r
58 "y": 622.6666681496426,
\r
59 "z": "15891279.d6b57e",
\r
74 "id": "6aad2197.a72ef",
\r
76 "name": "set vnf-level-oper-status to PendingDelete",
\r
77 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status' value='PendingDelete' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />",
\r
79 "x": 1004.3849029541016,
\r
80 "y": 771.670627951622,
\r
81 "z": "15891279.d6b57e",
\r
85 "id": "1be9220f.ba6ca6",
\r
86 "type": "returnSuccess",
\r
87 "name": "return success",
\r
88 "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
90 "x": 916.5716552734375,
\r
91 "y": 1843.5970458984375,
\r
92 "z": "15891279.d6b57e",
\r
96 "id": "7fd5d3ea.13b334",
\r
98 "name": "set vnf-index and vnf-object-path",
\r
99 "xml": "<set>\n<parameter name='vnfId' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $vnf-topology-operation-input.vnf-information.vnf-id + '/vnf-data/'` \" />",
\r
101 "x": 981.5716247558594,
\r
102 "y": 727.5968955755234,
\r
103 "z": "15891279.d6b57e",
\r
107 "id": "5cda8af7.9a0634",
\r
108 "type": "switchNode",
\r
109 "name": "switch service-data.vnfs.vnf_length",
\r
110 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
\r
113 "x": 1026.0000610351562,
\r
114 "y": 512.000005456619,
\r
115 "z": "15891279.d6b57e",
\r
125 "id": "b0ad485b.8627c",
\r
128 "xml": "<outcome value='0'>\n",
\r
131 "x": 1284.9689559936523,
\r
132 "y": 473.96876499336213,
\r
133 "z": "15891279.d6b57e",
\r
141 "id": "f9a51cd3.102398",
\r
142 "type": "returnFailure",
\r
143 "name": "return failure",
\r
144 "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
\r
146 "x": 1439.7778434753418,
\r
147 "y": 492.88903352897614,
\r
148 "z": "15891279.d6b57e",
\r
152 "id": "183040b7.7ccbff",
\r
155 "xml": "<outcome value=''>\n",
\r
158 "x": 1278.0000953674316,
\r
159 "y": 513.0000865189359,
\r
160 "z": "15891279.d6b57e",
\r
168 "id": "71cafe22.189b2",
\r
171 "xml": "<outcome value='Other'>\n",
\r
174 "x": 1271.000503540039,
\r
175 "y": 546.0000903336331,
\r
176 "z": "15891279.d6b57e",
\r
184 "id": "f6c4231c.6894e8",
\r
186 "name": "block : atomic",
\r
187 "xml": "<block atomic=\"true\">",
\r
190 "x": 1418.2700462341309,
\r
191 "y": 546.554735395126,
\r
192 "z": "15891279.d6b57e",
\r
201 "id": "541e7856.d1e2",
\r
203 "name": "for vidx..service-data.vnfs.vnf_length[]",
\r
204 "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
207 "x": 1664.2861633300781,
\r
208 "y": 553.4286558357999,
\r
209 "z": "15891279.d6b57e",
\r
217 "id": "ebbd7e9e.ba96c8",
\r
220 "xml": "<block>\n",
\r
224 "x": 1883.6357955932617,
\r
225 "y": 552.9687359062955,
\r
226 "z": "15891279.d6b57e",
\r
234 "id": "436917e7.e9b6a",
\r
235 "type": "switchNode",
\r
236 "name": "switch vnfid found",
\r
237 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
\r
240 "x": 2037.7153930664062,
\r
241 "y": 552.6788179604337,
\r
242 "z": "15891279.d6b57e",
\r
250 "id": "27314ab3.a1187e",
\r
251 "type": "outcomeTrue",
\r
253 "xml": "<outcome value='true'>\n",
\r
256 "x": 2213.6675148010254,
\r
257 "y": 552.5715000359342,
\r
258 "z": "15891279.d6b57e",
\r
266 "id": "cf77593a.1343d8",
\r
268 "name": "block : atomic",
\r
269 "xml": "<block atomic=\"true\">",
\r
272 "x": 2362.312973022461,
\r
273 "y": 540.97913000267,
\r
274 "z": "15891279.d6b57e",
\r
282 "id": "f0ff74da.16b248",
\r
284 "name": "set tmp.vidx and ctx.vnf-data",
\r
285 "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
\r
287 "x": 2624.1997680664062,
\r
288 "y": 518.3215563027188,
\r
289 "z": "15891279.d6b57e",
\r
293 "id": "8337a3da.3c8e38",
\r
294 "type": "switchNode",
\r
295 "name": "switch tmp.vidx ",
\r
296 "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
\r
299 "x": 1607.0000228881836,
\r
300 "y": 607.99999353569,
\r
301 "z": "15891279.d6b57e",
\r
309 "id": "1cd8ba9c.bf5235",
\r
312 "xml": "<outcome value=''>\n",
\r
315 "x": 1762.4286499023438,
\r
316 "y": 607.5713770119473,
\r
317 "z": "15891279.d6b57e",
\r
325 "id": "6dd6d49d.d00eec",
\r
326 "type": "returnFailure",
\r
327 "name": "return failure",
\r
328 "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
\r
330 "x": 1907.8573913574219,
\r
331 "y": 607.7143146721646,
\r
332 "z": "15891279.d6b57e",
\r
336 "id": "225a4cf6.f0c67c",
\r
337 "type": "switchNode",
\r
338 "name": "switch vnf-level-oper-status",
\r
339 "xml": "<switch test='`$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status`'>\n",
\r
342 "x": 975.0000762939453,
\r
343 "y": 620.8890204429626,
\r
344 "z": "15891279.d6b57e",
\r
353 "id": "e0bfe23d.068ad8",
\r
355 "name": "outcome Active",
\r
356 "xml": "<outcome value='Active'>\n",
\r
359 "x": 1220.8333702087402,
\r
360 "y": 622.0001182556152,
\r
361 "z": "15891279.d6b57e",
\r
369 "id": "40413c0b.9420dc",
\r
371 "name": "block : atomic",
\r
372 "xml": "<block atomic=\"true\">",
\r
375 "x": 1434.139762878418,
\r
376 "y": 631.3253078460693,
\r
377 "z": "15891279.d6b57e",
\r
383 "id": "3e0c4d79.12e802",
\r
386 "xml": "<outcome value='Other'>\n",
\r
389 "x": 1198.8333892822266,
\r
390 "y": 672.000129699707,
\r
391 "z": "15891279.d6b57e",
\r
399 "id": "fc734294.cf7788",
\r
400 "type": "returnFailure",
\r
401 "name": "return failure",
\r
402 "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=\"`'VNF is not in appropriate state for activate. Current state is ' + $service-data.vnfs.vnf[$tmp.nidx].vnf-data.vnf-level-oper-status.order-status`\" />",
\r
404 "x": 1358.3331565856934,
\r
405 "y": 675.0001287460327,
\r
406 "z": "15891279.d6b57e",
\r
410 "id": "a4c45de.b22e5a",
\r
412 "name": "copy input data to service data",
\r
413 "xml": "<set>\n<!--parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' /-->\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />",
\r
415 "x": 984.0065612792969,
\r
416 "y": 680.010435461998,
\r
417 "z": "15891279.d6b57e",
\r
421 "id": "d2fb34de.34839",
\r
423 "name": "update AnAI - vnf-instance.orchestration-status",
\r
424 "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $vnfId\" >\n<parameter name=\"orchestration-status\" value=\"PendingDelete\" />\n<parameter name=\"vnf-type\" value=\"some vnf-type\" />",
\r
427 "x": 1026.0064239501953,
\r
428 "y": 826.0105141401291,
\r
429 "z": "15891279.d6b57e",
\r
435 "id": "5dd794c8.fb268c",
\r
437 "name": "new for TransportSlicing",
\r
442 "z": "15891279.d6b57e",
\r
446 "id": "2fc6eaae.5fdc7e",
\r
448 "name": "get service-instance from aai",
\r
449 "xml": "<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
454 "z": "15891279.d6b57e",
\r
464 "id": "aebcc6b7.4bd97",
\r
467 "xml": "<outcome value='success'>\n",
\r
472 "z": "15891279.d6b57e",
\r
480 "id": "534659e3.16c99",
\r
481 "type": "not-found",
\r
482 "name": "not-found",
\r
483 "xml": "<outcome value='not-found'>\n",
\r
486 "x": 1203.490966796875,
\r
487 "y": 955.5740356445312,
\r
488 "z": "15891279.d6b57e",
\r
496 "id": "4b75ad0e.b2264c",
\r
499 "xml": "<outcome value='failure'>\n",
\r
504 "z": "15891279.d6b57e",
\r
512 "id": "7aae8b9.3267cf4",
\r
513 "type": "returnFailure",
\r
514 "name": "return failure",
\r
515 "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
517 "x": 1357.0623779296875,
\r
518 "y": 958.8597717285156,
\r
519 "z": "15891279.d6b57e",
\r
523 "id": "47847ce9.cdac14",
\r
524 "type": "returnFailure",
\r
525 "name": "return failure",
\r
526 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
530 "z": "15891279.d6b57e",
\r
534 "id": "dfa58322.db6e7",
\r
536 "name": "for each relationship",
\r
537 "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",
\r
542 "z": "15891279.d6b57e",
\r
550 "id": "1fcd5169.0fe3ef",
\r
551 "type": "switchNode",
\r
552 "name": "switch related-to",
\r
553 "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",
\r
556 "x": 1614.33349609375,
\r
557 "y": 908.9999389648438,
\r
558 "z": "15891279.d6b57e",
\r
566 "id": "b3fa3516.3c5f7",
\r
568 "name": "connectivity",
\r
569 "xml": "<outcome value='connectivity'>\n",
\r
574 "z": "15891279.d6b57e",
\r
582 "id": "8171ffc1.700ce8",
\r
583 "type": "switchNode",
\r
584 "name": "switch $rel-index == 0",
\r
585 "xml": "<switch test=\"`$rel-index == 0`\">\n\n",
\r
588 "x": 1997.9998664855957,
\r
589 "y": 908.999979019165,
\r
590 "z": "15891279.d6b57e",
\r
599 "id": "4491f21f.012e44",
\r
600 "type": "outcomeTrue",
\r
602 "xml": "<outcome value='true'>\n",
\r
605 "x": 2220.9998664855957,
\r
606 "y": 798.999979019165,
\r
607 "z": "15891279.d6b57e",
\r
615 "id": "66fe8847.e5db68",
\r
616 "type": "outcomeFalse",
\r
618 "xml": "<outcome value='false'>\n",
\r
621 "x": 2191.999755859375,
\r
623 "z": "15891279.d6b57e",
\r
631 "id": "50b3c107.0ef428",
\r
633 "name": "get connectivityA from aai",
\r
634 "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[0].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivityA\" >\n",
\r
637 "x": 2414.9998664855957,
\r
638 "y": 798.999979019165,
\r
639 "z": "15891279.d6b57e",
\r
649 "id": "c5f57c4d.37656",
\r
652 "xml": "<outcome value='success'>\n",
\r
655 "x": 2620.9998664855957,
\r
656 "y": 758.999979019165,
\r
657 "z": "15891279.d6b57e",
\r
665 "id": "f8bc0153.3111b",
\r
666 "type": "not-found",
\r
667 "name": "not-found",
\r
668 "xml": "<outcome value='not-found'>\n",
\r
671 "x": 2621.4908332824707,
\r
672 "y": 804.5740146636963,
\r
673 "z": "15891279.d6b57e",
\r
681 "id": "fd26821d.45f278",
\r
684 "xml": "<outcome value='failure'>\n",
\r
687 "x": 2618.9998664855957,
\r
688 "y": 847.999979019165,
\r
689 "z": "15891279.d6b57e",
\r
697 "id": "49f4be1a.dd4768",
\r
699 "name": "get connectivityB from aai",
\r
700 "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[1].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivityB\" >\n",
\r
703 "x": 2387.999755859375,
\r
705 "z": "15891279.d6b57e",
\r
715 "id": "99901664.bef67",
\r
718 "xml": "<outcome value='success'>\n",
\r
721 "x": 2607.999755859375,
\r
723 "z": "15891279.d6b57e",
\r
731 "id": "fa356ad9.66e31",
\r
732 "type": "not-found",
\r
733 "name": "not-found",
\r
734 "xml": "<outcome value='not-found'>\n",
\r
737 "x": 2609.49072265625,
\r
738 "y": 1241.5740356445312,
\r
739 "z": "15891279.d6b57e",
\r
747 "id": "3216507d.6f0df8",
\r
750 "xml": "<outcome value='failure'>\n",
\r
753 "x": 2605.999755859375,
\r
755 "z": "15891279.d6b57e",
\r
763 "id": "944973cd.969b48",
\r
765 "name": "block : atomic",
\r
766 "xml": "<block atomic=\"true\">",
\r
769 "x": 2793.6663703918457,
\r
770 "y": 757.999979019165,
\r
771 "z": "15891279.d6b57e",
\r
781 "id": "4c56e2b6.ecbe4c",
\r
782 "type": "returnFailure",
\r
783 "name": "return failure",
\r
784 "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
786 "x": 2784.062244415283,
\r
787 "y": 804.8597507476807,
\r
788 "z": "15891279.d6b57e",
\r
792 "id": "5f2713ec.fce9b4",
\r
793 "type": "returnFailure",
\r
794 "name": "return failure",
\r
795 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
797 "x": 2787.9998664855957,
\r
798 "y": 848.999979019165,
\r
799 "z": "15891279.d6b57e",
\r
803 "id": "6125d5eb.a534c4",
\r
805 "name": "set sotn_value for ETH deletion",
\r
806 "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].bandwidth-profile-type' value='ietf-eth-tran-types:mef-10-bwp' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-type' value='ietf-eth-tran-types:p2p-svc' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].admin-status' value='ietf-te-types:tunnel-state-up' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-port-id' value='0' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].service-classification-type' value='ietf-eth-tran-types:port-classification' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-port-id' value='1' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].service-classification-type' value='ietf-eth-tran-types:port-classification' />",
\r
808 "x": 3081.4996452331543,
\r
809 "y": 849.000020980835,
\r
810 "z": "15891279.d6b57e",
\r
814 "id": "b1bd9fc5.bac3a",
\r
816 "name": "execute RestApiCallNode Delete ethernet Service without token",
\r
817 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\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='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\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\"/>",
\r
820 "x": 3179.499755859375,
\r
822 "z": "15891279.d6b57e",
\r
831 "id": "43014871.10916",
\r
834 "xml": "<outcome value='failure'>\n",
\r
837 "x": 3524.999755859375,
\r
839 "z": "15891279.d6b57e",
\r
847 "id": "ef466a56.4961d8",
\r
850 "xml": "<outcome value='success'>\n",
\r
853 "x": 3528.999755859375,
\r
855 "z": "15891279.d6b57e",
\r
863 "id": "53822d52.50003c",
\r
865 "name": "TODO: FIXME:",
\r
866 "info": "put proper values based on connectivity resource retrieved from AAI",
\r
868 "x": 3022.999755859375,
\r
870 "z": "15891279.d6b57e",
\r
874 "id": "905f3b23.ac61b8",
\r
875 "type": "get-resource",
\r
876 "name": "get-resource esr-thirdparty-sdnc",
\r
877 "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 = $prop.sdncRestApi.thirdpartySdnc.id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
\r
880 "x": 3074.999755859375,
\r
882 "z": "15891279.d6b57e",
\r
892 "id": "7583aec3.33d84",
\r
895 "xml": "<outcome value='success'>\n",
\r
898 "x": 3320.999755859375,
\r
900 "z": "15891279.d6b57e",
\r
908 "id": "34076538.0ecf52",
\r
909 "type": "not-found",
\r
910 "name": "not-found",
\r
911 "xml": "<outcome value='not-found'>\n",
\r
914 "x": 3324.999755859375,
\r
916 "z": "15891279.d6b57e",
\r
924 "id": "5f6cfa0b.4be42c",
\r
927 "xml": "<outcome value='Other'>\n",
\r
930 "x": 3316.999755859375,
\r
932 "z": "15891279.d6b57e",
\r
940 "id": "d282616c.39fe68",
\r
941 "type": "returnFailure",
\r
942 "name": "return failure",
\r
943 "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",
\r
945 "x": 3474.999755859375,
\r
947 "z": "15891279.d6b57e",
\r
951 "id": "c8a27e43.a20b28",
\r
952 "type": "returnFailure",
\r
953 "name": "return failure",
\r
954 "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",
\r
956 "x": 3474.999755859375,
\r
958 "z": "15891279.d6b57e",
\r
962 "id": "af220c19.d532d8",
\r
964 "name": "set controller data",
\r
965 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\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\n\n<!--<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
967 "x": 3490.999755859375,
\r
969 "z": "15891279.d6b57e",
\r
973 "id": "c61ae526.8c7cb8",
\r
975 "name": "Get controller info and send request",
\r
978 "x": 3082.999755859375,
\r
980 "z": "15891279.d6b57e",
\r
984 "id": "24a118da.312548",
\r
986 "name": "TODO: FIXME:",
\r
987 "info": "How to know which domain's (A or B) controller is bein retrieved?",
\r
989 "x": 3014.999755859375,
\r
991 "z": "15891279.d6b57e",
\r
995 "id": "b3f3fc8e.164aa8",
\r
997 "name": "block : atomic",
\r
998 "xml": "<block atomic=\"true\">",
\r
1001 "x": 2780.666259765625,
\r
1003 "z": "15891279.d6b57e",
\r
1007 "ba468b68.004d98",
\r
1013 "id": "9c397b15.bf0e5",
\r
1014 "type": "returnFailure",
\r
1015 "name": "return failure",
\r
1016 "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
1018 "x": 2771.0621337890625,
\r
1019 "y": 1243.8597717285156,
\r
1020 "z": "15891279.d6b57e",
\r
1024 "id": "1f619a9f.fc34dd",
\r
1025 "type": "returnFailure",
\r
1026 "name": "return failure",
\r
1027 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1029 "x": 2774.999755859375,
\r
1031 "z": "15891279.d6b57e",
\r
1035 "id": "ba468b68.004d98",
\r
1037 "name": "set sotn_value for ETH deletion",
\r
1038 "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].bandwidth-profile-type' value='ietf-eth-tran-types:mef-10-bwp' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-type' value='ietf-eth-tran-types:p2p-svc' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].admin-status' value='ietf-te-types:tunnel-state-up' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-port-id' value='0' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].service-classification-type' value='ietf-eth-tran-types:port-classification' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-port-id' value='1' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].service-classification-type' value='ietf-eth-tran-types:port-classification' />",
\r
1040 "x": 3068.9995346069336,
\r
1041 "y": 1274.00004196167,
\r
1042 "z": "15891279.d6b57e",
\r
1046 "id": "8df38d4b.ee6e2",
\r
1047 "type": "execute",
\r
1048 "name": "execute RestApiCallNode Delete ethernet Service without token",
\r
1049 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\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='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\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\"/>",
\r
1052 "x": 3173.9996452331543,
\r
1053 "y": 1321.000020980835,
\r
1054 "z": "15891279.d6b57e",
\r
1057 "846e91eb.5fd658",
\r
1063 "id": "846e91eb.5fd658",
\r
1064 "type": "failure",
\r
1065 "name": "failure",
\r
1066 "xml": "<outcome value='failure'>\n",
\r
1069 "x": 3519.4996452331543,
\r
1070 "y": 1302.000020980835,
\r
1071 "z": "15891279.d6b57e",
\r
1079 "id": "9847a507.3f69e",
\r
1080 "type": "success",
\r
1081 "name": "success",
\r
1082 "xml": "<outcome value='success'>\n",
\r
1085 "x": 3523.4996452331543,
\r
1086 "y": 1342.000020980835,
\r
1087 "z": "15891279.d6b57e",
\r
1095 "id": "de77a242.224c1",
\r
1096 "type": "comment",
\r
1097 "name": "TODO: FIXME:",
\r
1098 "info": "put proper values based on connectivity resource retrieved from AAI",
\r
1100 "x": 3017.4996452331543,
\r
1101 "y": 1229.000020980835,
\r
1102 "z": "15891279.d6b57e",
\r
1106 "id": "c56d5bdd.22466",
\r
1107 "type": "get-resource",
\r
1108 "name": "get-resource esr-thirdparty-sdnc",
\r
1109 "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 = $prop.sdncRestApi.thirdpartySdnc.id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
\r
1112 "x": 3069.4996452331543,
\r
1113 "y": 1155.000020980835,
\r
1114 "z": "15891279.d6b57e",
\r
1118 "9098a017.2895f8",
\r
1124 "id": "c6d3e171.5193a",
\r
1125 "type": "success",
\r
1126 "name": "success",
\r
1127 "xml": "<outcome value='success'>\n",
\r
1130 "x": 3315.4996452331543,
\r
1131 "y": 1115.000020980835,
\r
1132 "z": "15891279.d6b57e",
\r
1140 "id": "9098a017.2895f8",
\r
1141 "type": "not-found",
\r
1142 "name": "not-found",
\r
1143 "xml": "<outcome value='not-found'>\n",
\r
1146 "x": 3319.4996452331543,
\r
1147 "y": 1155.000020980835,
\r
1148 "z": "15891279.d6b57e",
\r
1156 "id": "8e10fa0e.d0c448",
\r
1159 "xml": "<outcome value='Other'>\n",
\r
1162 "x": 3311.4996452331543,
\r
1163 "y": 1195.000020980835,
\r
1164 "z": "15891279.d6b57e",
\r
1172 "id": "124616cb.e9eee9",
\r
1173 "type": "returnFailure",
\r
1174 "name": "return failure",
\r
1175 "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",
\r
1177 "x": 3469.4996452331543,
\r
1178 "y": 1195.000020980835,
\r
1179 "z": "15891279.d6b57e",
\r
1183 "id": "8b3e7b4d.6376a",
\r
1184 "type": "returnFailure",
\r
1185 "name": "return failure",
\r
1186 "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",
\r
1188 "x": 3469.4996452331543,
\r
1189 "y": 1155.000020980835,
\r
1190 "z": "15891279.d6b57e",
\r
1194 "id": "ec0b6188.dc04e",
\r
1196 "name": "set controller data",
\r
1197 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\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\n\n<!--<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
1199 "x": 3485.4996452331543,
\r
1200 "y": 1115.000020980835,
\r
1201 "z": "15891279.d6b57e",
\r
1205 "id": "98e2fbb6.34e38",
\r
1206 "type": "comment",
\r
1207 "name": "Get controller info and send request",
\r
1210 "x": 3077.4996452331543,
\r
1211 "y": 1115.000020980835,
\r
1212 "z": "15891279.d6b57e",
\r
1216 "id": "758d1f74.6d4218",
\r
1217 "type": "comment",
\r
1218 "name": "TODO: FIXME:",
\r
1219 "info": "How to know which domain's (A or B) controller is bein retrieved?",
\r
1221 "x": 3011.9996452331543,
\r
1222 "y": 1075.000020980835,
\r
1223 "z": "15891279.d6b57e",
\r
1227 "id": "dcec496b.f92f38",
\r
1228 "type": "returnFailure",
\r
1229 "name": "return failure",
\r
1230 "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 Create vpn rest api\" />\n",
\r
1232 "x": 3677.4996452331543,
\r
1233 "y": 1302.000020980835,
\r
1234 "z": "15891279.d6b57e",
\r
1238 "id": "43eceb78.82b2dc",
\r
1240 "name": "block : atomic",
\r
1241 "xml": "<block atomic=\"true\">",
\r
1245 "x": 3680.9996452331543,
\r
1246 "y": 1342.000020980835,
\r
1247 "z": "15891279.d6b57e",
\r
1250 "a040c34e.71e608",
\r
1256 "id": "1acc213f.73169f",
\r
1257 "type": "comment",
\r
1258 "name": "TODO: FIXME",
\r
1259 "info": "use proper vpn-binding id and connectivity\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",
\r
1261 "x": 3878.9996452331543,
\r
1262 "y": 1299.000020980835,
\r
1263 "z": "15891279.d6b57e",
\r
1267 "id": "a040c34e.71e608",
\r
1269 "name": "update vpn-binding B resource (aka. OTN domainB) in AAI",
\r
1270 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.vpnName' >\n<parameter name='vpn-id' value='`$tmp.vpnName`' />\n<parameter name='vpn-name' value='`$tmp.vpnName`' />\n\n<parameter name='operational-status' value='DeActivated' />\n",
\r
1273 "x": 4020.9996452331543,
\r
1274 "y": 1341.000020980835,
\r
1275 "z": "15891279.d6b57e",
\r
1281 "id": "29ceb3fa.1e4b14",
\r
1283 "name": "update connectivity resource in AAI",
\r
1284 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainA-uuid`' />\n<parameter name='operational-status' value='DeActivated' />\n",
\r
1287 "x": 3949.9996452331543,
\r
1288 "y": 1390.000020980835,
\r
1289 "z": "15891279.d6b57e",
\r
1295 "id": "ecca88b1.05406",
\r
1297 "name": "block : atomic",
\r
1298 "xml": "<block atomic=\"true\">",
\r
1302 "x": 3686.499755859375,
\r
1304 "z": "15891279.d6b57e",
\r
1307 "f3cb9aac.524828",
\r
1313 "id": "b872830e.e33218",
\r
1314 "type": "returnFailure",
\r
1315 "name": "return failure",
\r
1316 "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 Create vpn rest api\" />\n",
\r
1318 "x": 3682.999755859375,
\r
1320 "z": "15891279.d6b57e",
\r
1324 "id": "270674fa.6cafe4",
\r
1325 "type": "comment",
\r
1326 "name": "TODO: FIXME",
\r
1327 "info": "use proper vpn-binding id and connectivity id\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",
\r
1329 "x": 3878.999755859375,
\r
1331 "z": "15891279.d6b57e",
\r
1335 "id": "f3cb9aac.524828",
\r
1337 "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",
\r
1338 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.vpnName' >\n<parameter name='vpn-id' value='`$tmp.vpnName`' />\n<parameter name='vpn-name' value='`$tmp.vpnName`' />\n\n<parameter name='operational-status' value='DeActivated' />\n",
\r
1341 "x": 4014.999755859375,
\r
1343 "z": "15891279.d6b57e",
\r
1349 "id": "4b8d9e90.2bfc",
\r
1351 "name": "update connectivity resource in AAI",
\r
1352 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainA-uuid`' />\n<parameter name='operational-status' value='DeActivated' />\n",
\r
1355 "x": 3941.999755859375,
\r
1357 "z": "15891279.d6b57e",
\r