3 "id": "b426698f.bcfc1",
\r
7 "x": 152.56666564941406,
\r
8 "y": 111.56666564941406,
\r
9 "z": "33354834.16c3b8",
\r
17 "id": "dda42032.d7c16",
\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": 283.85235595703125,
\r
26 "y": 160.8047742843628,
\r
27 "z": "33354834.16c3b8",
\r
35 "id": "e2264d45.69ec48",
\r
37 "name": "method p2p-vnf-topology-operation-p2p-activate",
\r
38 "xml": "<method rpc='p2p-vnf-topology-operation-p2p-activate' mode='sync'>\n",
\r
41 "x": 286.9952850341797,
\r
42 "y": 245.56669807434082,
\r
43 "z": "33354834.16c3b8",
\r
51 "id": "ee8a72fb.598d5",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 436.80470275878906,
\r
58 "y": 375.2333221435547,
\r
59 "z": "33354834.16c3b8",
\r
69 "id": "6f85f731.13b82",
\r
70 "type": "returnSuccess",
\r
71 "name": "return success",
\r
72 "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
74 "x": 705.1383209228516,
\r
75 "y": 762.1638336181641,
\r
76 "z": "33354834.16c3b8",
\r
80 "id": "40b1f55.6d6428c",
\r
82 "name": "new for TransportSlicing",
\r
85 "x": 736.5666656494141,
\r
86 "y": 436.56666564941406,
\r
87 "z": "33354834.16c3b8",
\r
91 "id": "eba98a4a.ac8ff",
\r
93 "name": "get service-instance from aai",
\r
94 "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--$vnf-topology-operation-input.service-information.service-instance-id-->",
\r
97 "x": 756.5666656494141,
\r
98 "y": 532.5666656494141,
\r
99 "z": "33354834.16c3b8",
\r
109 "id": "1e7b283c.1e038",
\r
112 "xml": "<outcome value='success'>\n",
\r
115 "x": 975.5666656494141,
\r
116 "y": 470.56666564941406,
\r
117 "z": "33354834.16c3b8",
\r
125 "id": "52313592.2606f4",
\r
126 "type": "not-found",
\r
127 "name": "not-found",
\r
128 "xml": "<outcome value='not-found'>\n",
\r
131 "x": 985.0576324462891,
\r
132 "y": 513.1407012939453,
\r
133 "z": "33354834.16c3b8",
\r
141 "id": "3666eff1.a4c68",
\r
144 "xml": "<outcome value='failure'>\n",
\r
147 "x": 973.5666656494141,
\r
148 "y": 559.5666656494141,
\r
149 "z": "33354834.16c3b8",
\r
157 "id": "aaeb8158.8891e8",
\r
158 "type": "returnFailure",
\r
159 "name": "return failure",
\r
160 "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
162 "x": 1138.6290435791016,
\r
163 "y": 516.4264373779297,
\r
164 "z": "33354834.16c3b8",
\r
168 "id": "5ca110f5.52cc9",
\r
169 "type": "returnFailure",
\r
170 "name": "return failure",
\r
171 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
173 "x": 1142.566665649414,
\r
174 "y": 560.5666656494141,
\r
175 "z": "33354834.16c3b8",
\r
179 "id": "4802c9ed.bd319",
\r
181 "name": "for each relationship",
\r
182 "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",
\r
185 "x": 1172.566665649414,
\r
186 "y": 466.56666564941406,
\r
187 "z": "33354834.16c3b8",
\r
195 "id": "5f77cdf0.1ff4fc",
\r
196 "type": "switchNode",
\r
197 "name": "switch related-to",
\r
198 "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",
\r
201 "x": 1395.900161743164,
\r
202 "y": 466.5666046142578,
\r
203 "z": "33354834.16c3b8",
\r
211 "id": "dbbed370.683fd8",
\r
213 "name": "connectivity",
\r
214 "xml": "<outcome value='connectivity'>\n",
\r
217 "x": 1537.5668334960938,
\r
218 "y": 384.5666961669922,
\r
219 "z": "33354834.16c3b8",
\r
227 "id": "44bcd2e8.a3bb64",
\r
229 "name": "set attachment_param for OTN A",
\r
230 "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingA.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingA.customer-vpn-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingA.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-src-domain' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />\n",
\r
232 "x": 4415.566665649414,
\r
233 "y": 183.56666564941406,
\r
234 "z": "33354834.16c3b8",
\r
238 "id": "235bcd4f.ba7e9a",
\r
240 "name": "execute RestApiCallNode Create OTN tunnel with token",
\r
241 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-otn-src-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-te:te/tunnels'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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",
\r
244 "x": 4496.566665649414,
\r
245 "y": 498.56666564941406,
\r
246 "z": "33354834.16c3b8",
\r
255 "id": "9f56fadc.33cce8",
\r
258 "xml": "<outcome value='failure'>\n",
\r
261 "x": 4806.066665649414,
\r
262 "y": 467.56666564941406,
\r
263 "z": "33354834.16c3b8",
\r
271 "id": "143f9e70.b45a92",
\r
274 "xml": "<outcome value='success'>\n",
\r
277 "x": 4811.066665649414,
\r
278 "y": 532.5666656494141,
\r
279 "z": "33354834.16c3b8",
\r
287 "id": "705d82c.67d11fc",
\r
288 "type": "returnFailure",
\r
289 "name": "return failure",
\r
290 "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 OTN tunnel rest api\" />\n",
\r
292 "x": 4982.066665649414,
\r
293 "y": 467.56666564941406,
\r
294 "z": "33354834.16c3b8",
\r
298 "id": "a78f86b9.c32d28",
\r
300 "name": "block : atomic",
\r
301 "xml": "<block atomic=\"true\">",
\r
305 "x": 4977.566665649414,
\r
306 "y": 532.5666656494141,
\r
307 "z": "33354834.16c3b8",
\r
313 "id": "af922307.c203c8",
\r
315 "name": "set sotn_value",
\r
316 "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityA.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityA.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityA.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />\n",
\r
318 "x": 4363.066665649414,
\r
319 "y": 686.5666656494141,
\r
320 "z": "33354834.16c3b8",
\r
324 "id": "4cfae106.244c4",
\r
326 "name": "execute RestApiCallNode Create ethernet Service without token",
\r
327 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-ethernet-service.templatefile`\" />-->\n<parameter name=\"templateFileName\" value=\"`$tmp.templateFileNameForEthSrv`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\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\"/>-->\n",
\r
330 "x": 4517.066665649414,
\r
331 "y": 734.5666656494141,
\r
332 "z": "33354834.16c3b8",
\r
341 "id": "1e0a9e34.d5eca2",
\r
344 "xml": "<outcome value='failure'>\n",
\r
347 "x": 4862.566665649414,
\r
348 "y": 715.5666656494141,
\r
349 "z": "33354834.16c3b8",
\r
357 "id": "4e3f62b2.97234c",
\r
360 "xml": "<outcome value='success'>\n",
\r
363 "x": 4866.566665649414,
\r
364 "y": 755.5666656494141,
\r
365 "z": "33354834.16c3b8",
\r
373 "id": "35316f81.9ed85",
\r
374 "type": "returnFailure",
\r
375 "name": "return failure",
\r
376 "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 ethernet service rest api\" />\n",
\r
378 "x": 5020.566665649414,
\r
379 "y": 715.5666656494141,
\r
380 "z": "33354834.16c3b8",
\r
384 "id": "1cbef478.7c261c",
\r
386 "name": "block : atomic",
\r
387 "xml": "<block atomic=\"true\">",
\r
391 "x": 5024.066665649414,
\r
392 "y": 755.5666656494141,
\r
393 "z": "33354834.16c3b8",
\r
403 "id": "a769c383.79df18",
\r
405 "name": "TODO: FIXME:",
\r
406 "info": "put proper values based on connectivity resource retrieved from AAI",
\r
408 "x": 4360.566665649414,
\r
409 "y": 642.5666656494141,
\r
410 "z": "33354834.16c3b8",
\r
414 "id": "be879311.90668",
\r
416 "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",
\r
417 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingA.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingA.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",
\r
420 "x": 5541.566909790039,
\r
421 "y": 595.5666656494141,
\r
422 "z": "33354834.16c3b8",
\r
428 "id": "d5dfd505.69af2",
\r
430 "name": "TODO: FIXME",
\r
431 "info": "use proper vpn-binding id and connectivity id\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",
\r
433 "x": 5405.566909790039,
\r
434 "y": 554.5666656494141,
\r
435 "z": "33354834.16c3b8",
\r
439 "id": "a145aca2.ac879",
\r
441 "name": "update connectivity resource in AAI",
\r
442 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivityA.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",
\r
445 "x": 5468.566909790039,
\r
446 "y": 641.5666656494141,
\r
447 "z": "33354834.16c3b8",
\r
453 "id": "44c284d2.4d6d3c",
\r
455 "name": "set pnf-name",
\r
456 "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-bindingA.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-bindingA.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-bindingA.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-bindingA.src-access-node-id`\" />\n",
\r
458 "x": 4353.566665649414,
\r
459 "y": 231.56666564941406,
\r
460 "z": "33354834.16c3b8",
\r
464 "id": "55fb0c25.47026c",
\r
465 "type": "get-resource",
\r
466 "name": "get-resource src pnf",
\r
467 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
\r
470 "x": 4379.566665649414,
\r
471 "y": 348.56666564941406,
\r
472 "z": "33354834.16c3b8",
\r
482 "id": "baf31efa.9d02c8",
\r
485 "xml": "<outcome value='success'>\n",
\r
488 "x": 4575.066787719727,
\r
489 "y": 300.56666564941406,
\r
490 "z": "33354834.16c3b8",
\r
498 "id": "74922f45.cf4ee",
\r
499 "type": "not-found",
\r
500 "name": "not-found",
\r
501 "xml": "<outcome value='not-found'>\n",
\r
504 "x": 4567.066787719727,
\r
505 "y": 355.56666564941406,
\r
506 "z": "33354834.16c3b8",
\r
514 "id": "43bc0802.15854",
\r
517 "xml": "<block>\n",
\r
521 "x": 4719.449111938477,
\r
522 "y": 300.2223358154297,
\r
523 "z": "33354834.16c3b8",
\r
531 "id": "b0f8c595.8444c",
\r
533 "name": "esr-thirdparty-sdnc",
\r
534 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
537 "x": 5301.566665649414,
\r
538 "y": 302.56666564941406,
\r
539 "z": "33354834.16c3b8",
\r
547 "id": "6fa2d3b0.fd7efc",
\r
549 "name": "for each relationship",
\r
550 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
\r
553 "x": 4903.566665649414,
\r
554 "y": 298.56666564941406,
\r
555 "z": "33354834.16c3b8",
\r
563 "id": "d9bb61c1.741d",
\r
564 "type": "switchNode",
\r
565 "name": "switch related-to",
\r
566 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
569 "x": 5098.566665649414,
\r
570 "y": 298.56666564941406,
\r
571 "z": "33354834.16c3b8",
\r
579 "id": "c4e9d6bb.97a8b",
\r
582 "xml": "<outcome value='Other'>\n",
\r
585 "x": 4572.066787719727,
\r
586 "y": 412.56666564941406,
\r
587 "z": "33354834.16c3b8",
\r
595 "id": "8bff9189.cce068",
\r
596 "type": "returnFailure",
\r
597 "name": "return failure",
\r
598 "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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
600 "x": 4724.066787719727,
\r
601 "y": 413.56666564941406,
\r
602 "z": "33354834.16c3b8",
\r
606 "id": "6499c72f.95b628",
\r
607 "type": "returnFailure",
\r
608 "name": "return failure",
\r
609 "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.connection-attachement.access-node-id`\" />\n\n",
\r
611 "x": 4735.066787719727,
\r
612 "y": 356.56666564941406,
\r
613 "z": "33354834.16c3b8",
\r
617 "id": "1c233ea3.b1f299",
\r
619 "name": "get esr-thirdparty-sdnc",
\r
620 "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.domainA.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",
\r
623 "x": 5686.566665649414,
\r
624 "y": 315.56666564941406,
\r
625 "z": "33354834.16c3b8",
\r
635 "id": "4e73c346.ee277c",
\r
637 "name": "block : atomic",
\r
638 "xml": "<block atomic=\"true\">",
\r
641 "x": 5480.566665649414,
\r
642 "y": 302.56666564941406,
\r
643 "z": "33354834.16c3b8",
\r
652 "id": "85104104.6dac4",
\r
654 "name": "set esr-thirdparty-sdnc domainA id",
\r
655 "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
\r
657 "x": 5716.566665649414,
\r
658 "y": 263.56666564941406,
\r
659 "z": "33354834.16c3b8",
\r
663 "id": "d61ed221.5ecdd",
\r
666 "xml": "<outcome value='success'>\n",
\r
669 "x": 5896.566665649414,
\r
670 "y": 306.56666564941406,
\r
671 "z": "33354834.16c3b8",
\r
679 "id": "d1b9cbed.664ff",
\r
680 "type": "not-found",
\r
681 "name": "not-found",
\r
682 "xml": "<outcome value='not-found'>\n",
\r
685 "x": 5888.566665649414,
\r
686 "y": 361.56666564941406,
\r
687 "z": "33354834.16c3b8",
\r
695 "id": "cd554430.08993",
\r
698 "xml": "<outcome value='Other'>\n",
\r
701 "x": 5893.566665649414,
\r
702 "y": 418.56666564941406,
\r
703 "z": "33354834.16c3b8",
\r
711 "id": "f2bc07a2.346708",
\r
712 "type": "returnFailure",
\r
713 "name": "return failure",
\r
714 "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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
716 "x": 6045.566665649414,
\r
717 "y": 419.56666564941406,
\r
718 "z": "33354834.16c3b8",
\r
722 "id": "1044edab.10a4d2",
\r
723 "type": "returnFailure",
\r
724 "name": "return failure",
\r
725 "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.connection-attachement.access-node-id`\" />\n\n",
\r
727 "x": 6056.566665649414,
\r
728 "y": 364.56666564941406,
\r
729 "z": "33354834.16c3b8",
\r
733 "id": "ecba12bc.ca79d",
\r
736 "xml": "<block>\n",
\r
740 "x": 6040.948989868164,
\r
741 "y": 304.2223358154297,
\r
742 "z": "33354834.16c3b8",
\r
750 "id": "eef0bb47.7a3f88",
\r
752 "name": "set controller domainA data",
\r
753 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.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
755 "x": 6255.566665649414,
\r
756 "y": 300.56666564941406,
\r
757 "z": "33354834.16c3b8",
\r
761 "id": "a74dc401.a8636",
\r
763 "name": "execute properties",
\r
764 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",
\r
767 "x": 722.5666656494141,
\r
768 "y": 480.56666564941406,
\r
769 "z": "33354834.16c3b8",
\r
775 "id": "d36679f1.a0d8a",
\r
777 "name": "set attachment_param for OTN B",
\r
778 "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingB.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingB.dst-access-node-id`' />\n<!--<parameter name='src-tpn-id' value='1' />-->\n<parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingB.customer-vpn-id`' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingB.src-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-dst-domain' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingB.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingB.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingB.access-topology-id`' />\n",
\r
780 "x": 3822.566665649414,
\r
781 "y": 1640.566665649414,
\r
782 "z": "33354834.16c3b8",
\r
786 "id": "2c2876b1.2b5332",
\r
788 "name": "execute RestApiCallNode Create OTN tunnel with token",
\r
789 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-otn-dst-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-te:te/tunnels'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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
792 "x": 3885.566665649414,
\r
793 "y": 1969.566665649414,
\r
794 "z": "33354834.16c3b8",
\r
803 "id": "5f444ade.96d9a4",
\r
806 "xml": "<outcome value='failure'>\n",
\r
809 "x": 4181.066665649414,
\r
810 "y": 1936.566665649414,
\r
811 "z": "33354834.16c3b8",
\r
819 "id": "9af37a8f.f23f18",
\r
822 "xml": "<outcome value='success'>\n",
\r
825 "x": 4186.066665649414,
\r
826 "y": 2001.566665649414,
\r
827 "z": "33354834.16c3b8",
\r
835 "id": "a98d5509.6c7c78",
\r
836 "type": "returnFailure",
\r
837 "name": "return failure",
\r
838 "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 OTN tunnel rest api\" />\n",
\r
840 "x": 4349.066665649414,
\r
841 "y": 1936.566665649414,
\r
842 "z": "33354834.16c3b8",
\r
846 "id": "55dfdfe9.281428",
\r
848 "name": "block : atomic",
\r
849 "xml": "<block atomic=\"true\">",
\r
853 "x": 4359.566665649414,
\r
854 "y": 2001.566665649414,
\r
855 "z": "33354834.16c3b8",
\r
861 "id": "36fc5af8.9e293e",
\r
863 "name": "set pnf-name",
\r
864 "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-bindingB.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-bindingB.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-bindingB.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-bindingB.dst-access-node-id`\" />\n",
\r
866 "x": 3761.566665649414,
\r
867 "y": 1697.566665649414,
\r
868 "z": "33354834.16c3b8",
\r
872 "id": "dce692d6.26705",
\r
873 "type": "get-resource",
\r
874 "name": "get-resource dst pnf",
\r
875 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n pfx='tmp.aai.destination-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
\r
878 "x": 3781.566665649414,
\r
879 "y": 1794.566665649414,
\r
880 "z": "33354834.16c3b8",
\r
890 "id": "20c07b90.5b79e4",
\r
893 "xml": "<outcome value='success'>\n",
\r
896 "x": 3984.0667877197266,
\r
897 "y": 1747.566665649414,
\r
898 "z": "33354834.16c3b8",
\r
906 "id": "d792ecbe.f58c98",
\r
907 "type": "not-found",
\r
908 "name": "not-found",
\r
909 "xml": "<outcome value='not-found'>\n",
\r
912 "x": 3976.0667877197266,
\r
913 "y": 1802.566665649414,
\r
914 "z": "33354834.16c3b8",
\r
922 "id": "89d1ed.e4ef561",
\r
925 "xml": "<block>\n",
\r
929 "x": 4128.449111938477,
\r
930 "y": 1745.2223358154297,
\r
931 "z": "33354834.16c3b8",
\r
939 "id": "c9698e5e.6f47e8",
\r
941 "name": "for each relationship",
\r
942 "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",
\r
945 "x": 4312.566665649414,
\r
946 "y": 1759.566665649414,
\r
947 "z": "33354834.16c3b8",
\r
955 "id": "c2d6e25d.4e48e",
\r
958 "xml": "<outcome value='Other'>\n",
\r
961 "x": 3981.0667877197266,
\r
962 "y": 1859.566665649414,
\r
963 "z": "33354834.16c3b8",
\r
971 "id": "4767f1dc.5f98f",
\r
972 "type": "returnFailure",
\r
973 "name": "return failure",
\r
974 "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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
976 "x": 4133.066787719727,
\r
977 "y": 1860.566665649414,
\r
978 "z": "33354834.16c3b8",
\r
982 "id": "b9bab20f.a76c4",
\r
983 "type": "returnFailure",
\r
984 "name": "return failure",
\r
985 "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.connection-attachement.access-node-id`\" />\n\n",
\r
987 "x": 4144.066787719727,
\r
988 "y": 1805.566665649414,
\r
989 "z": "33354834.16c3b8",
\r
993 "id": "7f94f6a1.089328",
\r
995 "name": "esr-thirdparty-sdnc",
\r
996 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
999 "x": 4710.566665649414,
\r
1000 "y": 1763.566665649414,
\r
1001 "z": "33354834.16c3b8",
\r
1009 "id": "ba34540d.aed56",
\r
1010 "type": "switchNode",
\r
1011 "name": "switch related-to",
\r
1012 "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
\r
1015 "x": 4507.566665649414,
\r
1016 "y": 1759.566665649414,
\r
1017 "z": "33354834.16c3b8",
\r
1025 "id": "6943fd0d.83e3ac",
\r
1026 "type": "execute",
\r
1027 "name": "get esr-thirdparty-sdnc",
\r
1028 "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.domainB.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",
\r
1031 "x": 5095.566665649414,
\r
1032 "y": 1762.566665649414,
\r
1033 "z": "33354834.16c3b8",
\r
1036 "708333aa.3b759c",
\r
1037 "4e0cc838.81e228",
\r
1043 "id": "c702a308.63c03",
\r
1045 "name": "block : atomic",
\r
1046 "xml": "<block atomic=\"true\">",
\r
1049 "x": 4887.566665649414,
\r
1050 "y": 1755.566665649414,
\r
1051 "z": "33354834.16c3b8",
\r
1054 "c3389354.588f68",
\r
1060 "id": "c3389354.588f68",
\r
1062 "name": "set esr-thirdparty-sdnc domainB id",
\r
1063 "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",
\r
1065 "x": 5125.566665649414,
\r
1066 "y": 1710.566665649414,
\r
1067 "z": "33354834.16c3b8",
\r
1071 "id": "6e37f843.94e3c",
\r
1072 "type": "returnFailure",
\r
1073 "name": "return failure",
\r
1074 "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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
1076 "x": 5454.566665649414,
\r
1077 "y": 1866.566665649414,
\r
1078 "z": "33354834.16c3b8",
\r
1082 "id": "dd8e2b89.1af3f8",
\r
1083 "type": "returnFailure",
\r
1084 "name": "return failure",
\r
1085 "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.connection-attachement.access-node-id`\" />\n\n",
\r
1087 "x": 5465.566665649414,
\r
1088 "y": 1811.566665649414,
\r
1089 "z": "33354834.16c3b8",
\r
1093 "id": "ab654ac.84c6838",
\r
1096 "xml": "<block>\n",
\r
1097 "atomic": "false",
\r
1100 "x": 5449.948989868164,
\r
1101 "y": 1751.2223358154297,
\r
1102 "z": "33354834.16c3b8",
\r
1110 "id": "f1731e20.0070f8",
\r
1112 "name": "set controller domainB data",
\r
1113 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.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
1115 "x": 5664.566665649414,
\r
1116 "y": 1747.566665649414,
\r
1117 "z": "33354834.16c3b8",
\r
1121 "id": "708333aa.3b759c",
\r
1122 "type": "success",
\r
1123 "name": "success",
\r
1124 "xml": "<outcome value='success'>\n",
\r
1127 "x": 5305.566665649414,
\r
1128 "y": 1753.566665649414,
\r
1129 "z": "33354834.16c3b8",
\r
1137 "id": "4e0cc838.81e228",
\r
1138 "type": "not-found",
\r
1139 "name": "not-found",
\r
1140 "xml": "<outcome value='not-found'>\n",
\r
1143 "x": 5297.566665649414,
\r
1144 "y": 1808.566665649414,
\r
1145 "z": "33354834.16c3b8",
\r
1153 "id": "29a9be9f.036812",
\r
1156 "xml": "<outcome value='Other'>\n",
\r
1159 "x": 5302.566665649414,
\r
1160 "y": 1865.566665649414,
\r
1161 "z": "33354834.16c3b8",
\r
1169 "id": "a62a2704.25f8d8",
\r
1171 "name": "get connectivity from aai",
\r
1172 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",
\r
1175 "x": 1755.5667114257812,
\r
1176 "y": 385.56663513183594,
\r
1177 "z": "33354834.16c3b8",
\r
1180 "89759382.78fc28",
\r
1181 "6073b91a.46b8d8",
\r
1187 "id": "89759382.78fc28",
\r
1188 "type": "success",
\r
1189 "name": "success",
\r
1190 "xml": "<outcome value='success'>\n",
\r
1193 "x": 1963.5667114257812,
\r
1194 "y": 349.56663513183594,
\r
1195 "z": "33354834.16c3b8",
\r
1203 "id": "6073b91a.46b8d8",
\r
1204 "type": "not-found",
\r
1205 "name": "not-found",
\r
1206 "xml": "<outcome value='not-found'>\n",
\r
1209 "x": 1964.0576782226562,
\r
1210 "y": 395.1406707763672,
\r
1211 "z": "33354834.16c3b8",
\r
1219 "id": "1561e008.8fdf5",
\r
1220 "type": "failure",
\r
1221 "name": "failure",
\r
1222 "xml": "<outcome value='failure'>\n",
\r
1225 "x": 1961.5667114257812,
\r
1226 "y": 438.56663513183594,
\r
1227 "z": "33354834.16c3b8",
\r
1235 "id": "593c848.7fab97c",
\r
1236 "type": "returnFailure",
\r
1237 "name": "return failure",
\r
1238 "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
1240 "x": 2131.6289672851562,
\r
1241 "y": 395.4264373779297,
\r
1242 "z": "33354834.16c3b8",
\r
1246 "id": "f8a1a536.821978",
\r
1247 "type": "returnFailure",
\r
1248 "name": "return failure",
\r
1249 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1251 "x": 2135.5665893554688,
\r
1252 "y": 439.56666564941406,
\r
1253 "z": "33354834.16c3b8",
\r
1257 "id": "d62cc4aa.0dacf8",
\r
1259 "name": "get vpn-binding from aai",
\r
1260 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
\r
1263 "x": 2515.566665649414,
\r
1264 "y": 522.5666656494141,
\r
1265 "z": "33354834.16c3b8",
\r
1268 "4f7704ef.c67464",
\r
1269 "75e7413d.db94a8",
\r
1275 "id": "7ec784b8.19253c",
\r
1277 "name": "block : atomic",
\r
1278 "xml": "<block atomic=\"true\">",
\r
1281 "x": 2895.566665649414,
\r
1282 "y": 610.5666656494141,
\r
1283 "z": "33354834.16c3b8",
\r
1291 "id": "4f7704ef.c67464",
\r
1292 "type": "success",
\r
1293 "name": "success",
\r
1294 "xml": "<outcome value='success'>\n",
\r
1297 "x": 2726.566665649414,
\r
1298 "y": 611.5666656494141,
\r
1299 "z": "33354834.16c3b8",
\r
1307 "id": "75e7413d.db94a8",
\r
1308 "type": "not-found",
\r
1309 "name": "not-found",
\r
1310 "xml": "<outcome value='not-found'>\n",
\r
1313 "x": 2729.057632446289,
\r
1314 "y": 507.1407012939453,
\r
1315 "z": "33354834.16c3b8",
\r
1323 "id": "9b74dfdc.0fcfa8",
\r
1324 "type": "failure",
\r
1325 "name": "failure",
\r
1326 "xml": "<outcome value='failure'>\n",
\r
1329 "x": 2724.566665649414,
\r
1330 "y": 551.5666656494141,
\r
1331 "z": "33354834.16c3b8",
\r
1339 "id": "c5d97f0c.6d92a8",
\r
1340 "type": "returnFailure",
\r
1341 "name": "return failure",
\r
1342 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1344 "x": 2892.566665649414,
\r
1345 "y": 551.5666656494141,
\r
1346 "z": "33354834.16c3b8",
\r
1350 "id": "ef36654.465dc18",
\r
1351 "type": "returnFailure",
\r
1352 "name": "return failure",
\r
1353 "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
1355 "x": 2891.629165649414,
\r
1356 "y": 506.42640686035156,
\r
1357 "z": "33354834.16c3b8",
\r
1361 "id": "c1f994fa.7ebb78",
\r
1363 "name": "for each relationship",
\r
1364 "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",
\r
1367 "x": 2381.5664672851562,
\r
1368 "y": 352.56663513183594,
\r
1369 "z": "33354834.16c3b8",
\r
1377 "id": "f95d2666.111718",
\r
1378 "type": "switchNode",
\r
1379 "name": "switch related-to",
\r
1380 "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
\r
1383 "x": 2448.566665649414,
\r
1384 "y": 428.56666564941406,
\r
1385 "z": "33354834.16c3b8",
\r
1393 "id": "b1b638b8.90f52",
\r
1394 "type": "outcome",
\r
1395 "name": "vpn-binding",
\r
1396 "xml": "<outcome value='vpn-binding'>\n",
\r
1399 "x": 2614.566665649414,
\r
1400 "y": 428.56666564941406,
\r
1401 "z": "33354834.16c3b8",
\r
1409 "id": "9380412.542cac",
\r
1411 "name": "block : atomic",
\r
1412 "xml": "<block atomic=\"true\">",
\r
1415 "x": 2777.566665649414,
\r
1416 "y": 428.56666564941406,
\r
1417 "z": "33354834.16c3b8",
\r
1420 "d62cc4aa.0dacf8",
\r
1426 "id": "f2b45fb6.a0f76",
\r
1427 "type": "switchNode",
\r
1428 "name": "switch vpn-binding has dst-access-ltp",
\r
1429 "xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id`'>\n",
\r
1432 "x": 3336.566665649414,
\r
1433 "y": 711.5666656494141,
\r
1434 "z": "33354834.16c3b8",
\r
1443 "id": "f1a8e611.58e15",
\r
1444 "type": "outcome",
\r
1446 "xml": "<outcome value=''>\n",
\r
1449 "x": 3550.566665649414,
\r
1450 "y": 748.5666656494141,
\r
1451 "z": "33354834.16c3b8",
\r
1459 "id": "e15b01ae.08b0a8",
\r
1462 "xml": "<outcome value='Other'>\n",
\r
1465 "x": 3552.566665649414,
\r
1466 "y": 686.5666656494141,
\r
1467 "z": "33354834.16c3b8",
\r
1475 "id": "27573b1a.b0f27c",
\r
1476 "type": "switchNode",
\r
1477 "name": "switch vpn-binding has src-access-ltp",
\r
1478 "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",
\r
1481 "x": 3130.566665649414,
\r
1482 "y": 1991.566665649414,
\r
1483 "z": "33354834.16c3b8",
\r
1486 "a50f8795.52de28",
\r
1492 "id": "a50f8795.52de28",
\r
1493 "type": "outcome",
\r
1495 "xml": "<outcome value=''>\n",
\r
1498 "x": 3383.566665649414,
\r
1499 "y": 2025.566665649414,
\r
1500 "z": "33354834.16c3b8",
\r
1508 "id": "eaade4fd.98f0c8",
\r
1511 "xml": "<outcome value='Other'>\n",
\r
1514 "x": 3383.566665649414,
\r
1515 "y": 1969.566665649414,
\r
1516 "z": "33354834.16c3b8",
\r
1524 "id": "983a1464.1933a8",
\r
1525 "type": "returnFailure",
\r
1526 "name": "return failure",
\r
1527 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1529 "x": 3534.566665649414,
\r
1530 "y": 2025.566665649414,
\r
1531 "z": "33354834.16c3b8",
\r
1535 "id": "2dd94684.236aba",
\r
1537 "name": "set vpn-bindingA and connectivityA",
\r
1538 "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingA.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityA.' value=\"`$tmp.aai.connectivity.`\" />\n",
\r
1540 "x": 4410.566665649414,
\r
1541 "y": 123.56666564941406,
\r
1542 "z": "33354834.16c3b8",
\r
1546 "id": "c4286ac1.cbc618",
\r
1548 "name": "set vpn-bindingB and connectivityB",
\r
1549 "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingB.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityB.' value=\"`$tmp.aai.connectivity.`\" />\n\n",
\r
1551 "x": 3818.566665649414,
\r
1552 "y": 1582.566665649414,
\r
1553 "z": "33354834.16c3b8",
\r
1557 "id": "db75345a.2aef48",
\r
1559 "name": "block : atomic",
\r
1560 "xml": "<block atomic=\"true\">",
\r
1564 "x": 4101.566665649414,
\r
1565 "y": 380.56666564941406,
\r
1566 "z": "33354834.16c3b8",
\r
1569 "2dd94684.236aba",
\r
1570 "44bcd2e8.a3bb64",
\r
1571 "44c284d2.4d6d3c",
\r
1572 "55fb0c25.47026c",
\r
1573 "af922307.c203c8",
\r
1580 "id": "759c5346.c1b5fc",
\r
1582 "name": "block : atomic",
\r
1583 "xml": "<block atomic=\"true\">",
\r
1586 "x": 3534.566665649414,
\r
1587 "y": 1968.566665649414,
\r
1588 "z": "33354834.16c3b8",
\r
1591 "c4286ac1.cbc618",
\r
1593 "36fc5af8.9e293e",
\r
1595 "2c2876b1.2b5332",
\r
1602 "id": "48b1af9a.8cccf",
\r
1604 "name": "set sotn_value",
\r
1605 "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityB.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityB.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityB.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityB.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityB.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityB.cvlan`' />\n\n",
\r
1607 "x": 3763.566665649414,
\r
1608 "y": 2111.566665649414,
\r
1609 "z": "33354834.16c3b8",
\r
1613 "id": "80ae8816.7a8d9",
\r
1614 "type": "execute",
\r
1615 "name": "execute RestApiCallNode Create ethernet Service without token",
\r
1616 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-ethernet-service.templatefile`\" />-->\n<parameter name=\"templateFileName\" value=\"`$tmp.templateFileNameForEthSrv`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\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\"/>-->\n",
\r
1619 "x": 3917.566665649414,
\r
1620 "y": 2159.566665649414,
\r
1621 "z": "33354834.16c3b8",
\r
1624 "6a81983c.fef378",
\r
1630 "id": "6a81983c.fef378",
\r
1631 "type": "failure",
\r
1632 "name": "failure",
\r
1633 "xml": "<outcome value='failure'>\n",
\r
1636 "x": 4263.066665649414,
\r
1637 "y": 2140.566665649414,
\r
1638 "z": "33354834.16c3b8",
\r
1646 "id": "d2e0dc51.a1f3a8",
\r
1647 "type": "success",
\r
1648 "name": "success",
\r
1649 "xml": "<outcome value='success'>\n",
\r
1652 "x": 4267.066665649414,
\r
1653 "y": 2180.566665649414,
\r
1654 "z": "33354834.16c3b8",
\r
1662 "id": "928d39b9.50d03",
\r
1663 "type": "returnFailure",
\r
1664 "name": "return failure",
\r
1665 "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 ethernet service rest api\" />\n",
\r
1667 "x": 4421.066665649414,
\r
1668 "y": 2140.566665649414,
\r
1669 "z": "33354834.16c3b8",
\r
1673 "id": "74f00f6c.50f0b",
\r
1675 "name": "block : atomic",
\r
1676 "xml": "<block atomic=\"true\">",
\r
1680 "x": 4424.566665649414,
\r
1681 "y": 2180.566665649414,
\r
1682 "z": "33354834.16c3b8",
\r
1685 "ec0fb3de.e13b68",
\r
1692 "id": "60004e7.5d0113",
\r
1693 "type": "comment",
\r
1694 "name": "TODO: FIXME:",
\r
1695 "info": "put proper values based on connectivity resource retrieved from AAI",
\r
1697 "x": 3761.066665649414,
\r
1698 "y": 2067.566665649414,
\r
1699 "z": "33354834.16c3b8",
\r
1703 "id": "ec0fb3de.e13b68",
\r
1705 "name": "update vpn-binding B resource (aka. OTN domainB) in AAI",
\r
1706 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingB.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingB.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",
\r
1709 "x": 4764.566665649414,
\r
1710 "y": 2179.566665649414,
\r
1711 "z": "33354834.16c3b8",
\r
1717 "id": "33af8787.6d436",
\r
1718 "type": "comment",
\r
1719 "name": "TODO: FIXME",
\r
1720 "info": "use proper vpn-binding id and connectivity\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",
\r
1722 "x": 4622.566665649414,
\r
1723 "y": 2137.566665649414,
\r
1724 "z": "33354834.16c3b8",
\r
1728 "id": "830b8de9.a8f3c",
\r
1730 "name": "update connectivity resource in AAI",
\r
1731 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivityB.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",
\r
1734 "x": 4693.566665649414,
\r
1735 "y": 2228.566665649414,
\r
1736 "z": "33354834.16c3b8",
\r
1742 "id": "8f77bab8.b50688",
\r
1744 "name": "set attachment_param (gfp-n) for OTN",
\r
1745 "xml": "<set>\n<parameter name='gfp-n' value='`$tmp.aai.vpn-binding.route-distinguisher`' />\n",
\r
1747 "x": 3327.566665649414,
\r
1748 "y": 651.5666656494141,
\r
1749 "z": "33354834.16c3b8",
\r
1753 "id": "f73cf3dc.062078",
\r
1755 "name": "unset tmp.aai.vpn-binding",
\r
1756 "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
\r
1758 "x": 2998.5664672851562,
\r
1759 "y": 355.56666564941406,
\r
1760 "z": "33354834.16c3b8",
\r
1764 "id": "aa7aa07.5d3eb6",
\r
1765 "type": "comment",
\r
1766 "name": "only dst ttp exists. No src",
\r
1769 "x": 3922.566665649414,
\r
1770 "y": 337.56666564941406,
\r
1771 "z": "33354834.16c3b8",
\r
1775 "id": "fd11b1d2.3cd248",
\r
1776 "type": "comment",
\r
1777 "name": "only src ttp exists. No dst",
\r
1780 "x": 3479.566665649414,
\r
1781 "y": 1915.566665649414,
\r
1782 "z": "33354834.16c3b8",
\r
1786 "id": "edfafa5d.45c53",
\r
1787 "type": "switchNode",
\r
1788 "name": "switch vpn-binding has src-access-ltp",
\r
1789 "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",
\r
1792 "x": 3658.566665649414,
\r
1793 "y": 499.56666564941406,
\r
1794 "z": "33354834.16c3b8",
\r
1803 "id": "e33565a1.63d6b",
\r
1806 "xml": "<outcome value='Other'>\n",
\r
1809 "x": 3900.566665649414,
\r
1810 "y": 1088.566665649414,
\r
1811 "z": "33354834.16c3b8",
\r
1819 "id": "c218e346.9ea4d",
\r
1820 "type": "outcome",
\r
1822 "xml": "<outcome value=''>\n",
\r
1825 "x": 3894.566665649414,
\r
1826 "y": 379.56666564941406,
\r
1827 "z": "33354834.16c3b8",
\r
1835 "id": "9097ee15.fd393",
\r
1837 "name": "block : atomic",
\r
1838 "xml": "<block atomic=\"true\">",
\r
1841 "x": 4058.566665649414,
\r
1842 "y": 1087.566665649414,
\r
1843 "z": "33354834.16c3b8",
\r
1846 "ac8e986.b5ee5e8",
\r
1847 "85348a3.bdf60f8",
\r
1849 "eef2514e.974cd8",
\r
1850 "6b8d5f2b.b2cd68",
\r
1851 "34c10c78.6bbca4",
\r
1857 "id": "85348a3.bdf60f8",
\r
1859 "name": "set attachment_param for OTN G",
\r
1860 "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingG.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingG.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingG.src-access-ltp-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingG.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-domainG' value='`$tmp.aai.vpn-bindingG.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingG.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingG.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingG.access-topology-id`' />\n",
\r
1862 "x": 4322.566665649414,
\r
1863 "y": 970.5666656494141,
\r
1864 "z": "33354834.16c3b8",
\r
1868 "id": "6b8d5f2b.b2cd68",
\r
1869 "type": "execute",
\r
1870 "name": "execute RestApiCallNode Create OTN tunnel with token",
\r
1871 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-otn-domainG-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-te:te/tunnels'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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
1874 "x": 4403.566665649414,
\r
1875 "y": 1285.566665649414,
\r
1876 "z": "33354834.16c3b8",
\r
1879 "d6b99940.16b5a8",
\r
1885 "id": "d6b99940.16b5a8",
\r
1886 "type": "failure",
\r
1887 "name": "failure",
\r
1888 "xml": "<outcome value='failure'>\n",
\r
1891 "x": 4713.066665649414,
\r
1892 "y": 1254.566665649414,
\r
1893 "z": "33354834.16c3b8",
\r
1901 "id": "3c3cb614.e99f12",
\r
1902 "type": "success",
\r
1903 "name": "success",
\r
1904 "xml": "<outcome value='success'>\n",
\r
1907 "x": 4718.066665649414,
\r
1908 "y": 1319.566665649414,
\r
1909 "z": "33354834.16c3b8",
\r
1917 "id": "482c1494.4d9c14",
\r
1918 "type": "returnFailure",
\r
1919 "name": "return failure",
\r
1920 "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 OTN tunnel rest api\" />\n",
\r
1922 "x": 4889.066665649414,
\r
1923 "y": 1254.566665649414,
\r
1924 "z": "33354834.16c3b8",
\r
1928 "id": "1fe4c4ca.7d003b",
\r
1930 "name": "block : atomic",
\r
1931 "xml": "<block atomic=\"true\">",
\r
1935 "x": 4884.566665649414,
\r
1936 "y": 1319.566665649414,
\r
1937 "z": "33354834.16c3b8",
\r
1943 "id": "89dbacde.e6345",
\r
1945 "name": "set pnf-name",
\r
1946 "xml": "<set>\n<parameter name='tmp.domainG.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-bindingG.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-bindingG.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-bindingG.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-bindingG.src-access-node-id`\" />\n",
\r
1948 "x": 4260.566665649414,
\r
1949 "y": 1018.5666656494141,
\r
1950 "z": "33354834.16c3b8",
\r
1954 "id": "eef2514e.974cd8",
\r
1955 "type": "get-resource",
\r
1956 "name": "get-resource src pnf",
\r
1957 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domainG.pnf-name\"\n pfx='tmp.aai.domainG-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
\r
1960 "x": 4286.566665649414,
\r
1961 "y": 1135.566665649414,
\r
1962 "z": "33354834.16c3b8",
\r
1966 "52eb1a29.ab6b94",
\r
1972 "id": "1840b00f.6633b",
\r
1973 "type": "success",
\r
1974 "name": "success",
\r
1975 "xml": "<outcome value='success'>\n",
\r
1978 "x": 4482.066787719727,
\r
1979 "y": 1087.566665649414,
\r
1980 "z": "33354834.16c3b8",
\r
1988 "id": "52eb1a29.ab6b94",
\r
1989 "type": "not-found",
\r
1990 "name": "not-found",
\r
1991 "xml": "<outcome value='not-found'>\n",
\r
1994 "x": 4474.066787719727,
\r
1995 "y": 1142.566665649414,
\r
1996 "z": "33354834.16c3b8",
\r
2004 "id": "2e32cb6a.42056c",
\r
2007 "xml": "<block>\n",
\r
2008 "atomic": "false",
\r
2011 "x": 4626.449111938477,
\r
2012 "y": 1087.2223358154297,
\r
2013 "z": "33354834.16c3b8",
\r
2021 "id": "e6880649.657e78",
\r
2023 "name": "for each relationship",
\r
2024 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.domainG-pnf.relationship-list.relationship_length`' >\n",
\r
2027 "x": 4810.566665649414,
\r
2028 "y": 1085.566665649414,
\r
2029 "z": "33354834.16c3b8",
\r
2037 "id": "f47d5963.a5aae8",
\r
2038 "type": "switchNode",
\r
2039 "name": "switch related-to",
\r
2040 "xml": "<switch test='`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
2043 "x": 5005.566665649414,
\r
2044 "y": 1085.566665649414,
\r
2045 "z": "33354834.16c3b8",
\r
2053 "id": "a2e1a20c.caccc8",
\r
2056 "xml": "<outcome value='Other'>\n",
\r
2059 "x": 4479.066787719727,
\r
2060 "y": 1199.566665649414,
\r
2061 "z": "33354834.16c3b8",
\r
2069 "id": "7860eb3c.e26464",
\r
2070 "type": "returnFailure",
\r
2071 "name": "return failure",
\r
2072 "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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
2074 "x": 4631.066787719727,
\r
2075 "y": 1200.566665649414,
\r
2076 "z": "33354834.16c3b8",
\r
2080 "id": "e0704884.2a8ec8",
\r
2081 "type": "returnFailure",
\r
2082 "name": "return failure",
\r
2083 "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.connection-attachement.access-node-id`\" />\n\n",
\r
2085 "x": 4642.066787719727,
\r
2086 "y": 1143.566665649414,
\r
2087 "z": "33354834.16c3b8",
\r
2091 "id": "ac8e986.b5ee5e8",
\r
2093 "name": "set vpn-bindingG and connectivityG",
\r
2094 "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingG.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityG.' value=\"`$tmp.aai.connectivity.`\" />\n",
\r
2096 "x": 4317.566665649414,
\r
2097 "y": 910.5666656494141,
\r
2098 "z": "33354834.16c3b8",
\r
2102 "id": "d71be6fc.54edc",
\r
2103 "type": "outcome",
\r
2104 "name": "esr-thirdparty-sdnc",
\r
2105 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2108 "x": 5208.566665649414,
\r
2109 "y": 1089.566665649414,
\r
2110 "z": "33354834.16c3b8",
\r
2118 "id": "e2bcdd39.f6521",
\r
2119 "type": "execute",
\r
2120 "name": "get esr-thirdparty-sdnc",
\r
2121 "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.domainG.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",
\r
2124 "x": 5593.566665649414,
\r
2125 "y": 1102.566665649414,
\r
2126 "z": "33354834.16c3b8",
\r
2129 "d9ae01a2.e3b6f8",
\r
2136 "id": "8e865c0a.70e028",
\r
2138 "name": "block : atomic",
\r
2139 "xml": "<block atomic=\"true\">",
\r
2142 "x": 5387.566665649414,
\r
2143 "y": 1089.566665649414,
\r
2144 "z": "33354834.16c3b8",
\r
2147 "4f0d3390.ddd854",
\r
2153 "id": "4f0d3390.ddd854",
\r
2155 "name": "set esr-thirdparty-sdnc domainG id",
\r
2156 "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
\r
2158 "x": 5623.566665649414,
\r
2159 "y": 1050.566665649414,
\r
2160 "z": "33354834.16c3b8",
\r
2164 "id": "d9ae01a2.e3b6f8",
\r
2165 "type": "success",
\r
2166 "name": "success",
\r
2167 "xml": "<outcome value='success'>\n",
\r
2170 "x": 5803.566665649414,
\r
2171 "y": 1093.566665649414,
\r
2172 "z": "33354834.16c3b8",
\r
2180 "id": "51f52094.f625d",
\r
2181 "type": "not-found",
\r
2182 "name": "not-found",
\r
2183 "xml": "<outcome value='not-found'>\n",
\r
2186 "x": 5795.566665649414,
\r
2187 "y": 1148.566665649414,
\r
2188 "z": "33354834.16c3b8",
\r
2196 "id": "4c1978aa.65c53",
\r
2199 "xml": "<outcome value='Other'>\n",
\r
2202 "x": 5800.566665649414,
\r
2203 "y": 1205.566665649414,
\r
2204 "z": "33354834.16c3b8",
\r
2212 "id": "441a8d9a.7f119c",
\r
2213 "type": "returnFailure",
\r
2214 "name": "return failure",
\r
2215 "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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
2217 "x": 5952.566665649414,
\r
2218 "y": 1206.566665649414,
\r
2219 "z": "33354834.16c3b8",
\r
2223 "id": "1d4624ff.2e16fb",
\r
2224 "type": "returnFailure",
\r
2225 "name": "return failure",
\r
2226 "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.connection-attachement.access-node-id`\" />\n\n",
\r
2228 "x": 5963.566665649414,
\r
2229 "y": 1151.566665649414,
\r
2230 "z": "33354834.16c3b8",
\r
2234 "id": "8b89bfe6.b56ec8",
\r
2237 "xml": "<block>\n",
\r
2238 "atomic": "false",
\r
2241 "x": 5947.948989868164,
\r
2242 "y": 1091.2223358154297,
\r
2243 "z": "33354834.16c3b8",
\r
2251 "id": "ec42c031.0db228",
\r
2253 "name": "set controller domainG data",
\r
2254 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.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
2256 "x": 6162.566665649414,
\r
2257 "y": 1087.566665649414,
\r
2258 "z": "33354834.16c3b8",
\r
2262 "id": "41dbff35.8798f",
\r
2263 "type": "comment",
\r
2264 "name": "both src and dst exist",
\r
2267 "x": 3936.566665649414,
\r
2268 "y": 1028.566665649414,
\r
2269 "z": "33354834.16c3b8",
\r
2273 "id": "707dc165.f11cc",
\r
2274 "type": "switchNode",
\r
2275 "name": "switch vpn-binding is not already Activated (i.e. is either Created or Modified)",
\r
2276 "xml": "<switch test=\"`$tmp.aai.vpn-binding.operational-status != 'Activated' `\">\n",
\r
2279 "x": 2498.566665649414,
\r
2280 "y": 755.5666656494141,
\r
2281 "z": "33354834.16c3b8",
\r
2284 "3b50aa73.698686",
\r
2290 "id": "889b206a.5a5c18",
\r
2291 "type": "outcomeFalse",
\r
2293 "xml": "<outcome value='false'>\n",
\r
2296 "x": 2905.566665649414,
\r
2297 "y": 773.5666656494141,
\r
2298 "z": "33354834.16c3b8",
\r
2306 "id": "3b50aa73.698686",
\r
2307 "type": "outcomeTrue",
\r
2309 "xml": "<outcome value='true'>\n",
\r
2312 "x": 2905.566665649414,
\r
2313 "y": 718.5666656494141,
\r
2314 "z": "33354834.16c3b8",
\r
2322 "id": "faf60520.cd56a8",
\r
2324 "name": "block : atomic",
\r
2325 "xml": "<block atomic=\"true\">",
\r
2328 "x": 3061.566665649414,
\r
2329 "y": 716.5666656494141,
\r
2330 "z": "33354834.16c3b8",
\r
2333 "8f77bab8.b50688",
\r
2339 "id": "90c4533d.860e78",
\r
2343 "atomic": "false",
\r
2346 "x": 3038.566665649414,
\r
2347 "y": 774.5666656494141,
\r
2348 "z": "33354834.16c3b8",
\r
2354 "id": "e634d16b.4c8208",
\r
2356 "name": "update service-instance resource in AAI",
\r
2357 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'>\n<parameter name='service-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='orchestration-status' value='Activated' />\n",
\r
2360 "x": 5488.316909790039,
\r
2361 "y": 702.0666656494141,
\r
2362 "z": "33354834.16c3b8",
\r
2368 "id": "fcd6e091.3a931",
\r
2370 "name": "update service-instance resource in AAI",
\r
2371 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'>\n<parameter name='service-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='orchestration-status' value='Activated' />\n",
\r
2374 "x": 4713.066665649414,
\r
2375 "y": 2294.816665649414,
\r
2376 "z": "33354834.16c3b8",
\r
2382 "id": "885127f5.787348",
\r
2383 "type": "execute",
\r
2384 "name": "execute RestApiCallNode Create Performance Monitoring Data",
\r
2385 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-create-pm-data.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/data/ietf-service-pm:performance-monitoring'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\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\"/>\n",
\r
2388 "x": 5560.483901977539,
\r
2389 "y": 781.1499786376953,
\r
2390 "z": "33354834.16c3b8",
\r
2396 "id": "52b5128c.e4a6ec",
\r
2397 "type": "execute",
\r
2398 "name": "execute RestconfDiscoveryNode establishSubscription",
\r
2399 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscriptionOnly' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-subscribe-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<!--<parameter name=\"deviceIp\" value=\"192.168.198.6\" />-->\n<!--<parameter name=\"devicePort\" value=\"18181\" />-->\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/streams/yang-push-json'`\" />\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"777\" />\n<parameter name=\"mode\" value=\"sync\" />\n<!--<parameter name=\"version\" value=\"sync\" />-->\n<!--<parameter name=\"mode\" value=\"777\" />-->\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
\r
2402 "x": 5533.483657836914,
\r
2403 "y": 840.1498565673828,
\r
2404 "z": "33354834.16c3b8",
\r
2410 "id": "c8c41250.a5653",
\r
2411 "type": "execute",
\r
2412 "name": "execute RestconfDiscoveryNode establishPersistentConnection",
\r
2413 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishPersistentSseConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-subscribe-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"get\" />\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"777\" />\n<parameter name=\"mode\" value=\"sync\" />\n<!--<parameter name=\"version\" value=\"sync\" />-->\n<!--<parameter name=\"mode\" value=\"777\" />-->\n<parameter name=\"responsePrefix\" value=\"notification-get-result\"/>\n",
\r
2416 "x": 5559.483901977539,
\r
2417 "y": 894.1498565673828,
\r
2418 "z": "33354834.16c3b8",
\r
2424 "id": "bbe7a2ae.e5a38",
\r
2425 "type": "execute",
\r
2426 "name": "execute RestApiCallNode Create Performance Monitoring Data",
\r
2427 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-create-pm-data.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/data/ietf-service-pm:performance-monitoring'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\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\"/>\n",
\r
2430 "x": 4786.483657836914,
\r
2431 "y": 2397.150161743164,
\r
2432 "z": "33354834.16c3b8",
\r
2438 "id": "5abf5b3a.734eb4",
\r
2439 "type": "execute",
\r
2440 "name": "execute RestconfDiscoveryNode establishSubscription",
\r
2441 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscriptionOnly' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-subscribe-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<!--<parameter name=\"deviceIp\" value=\"192.168.198.6\" />-->\n<!--<parameter name=\"devicePort\" value=\"18181\" />-->\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/streams/yang-push-json'`\" />\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"777\" />\n<parameter name=\"mode\" value=\"sync\" />\n<!--<parameter name=\"version\" value=\"sync\" />-->\n<!--<parameter name=\"mode\" value=\"777\" />-->\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
\r
2444 "x": 4759.483413696289,
\r
2445 "y": 2456.1500396728516,
\r
2446 "z": "33354834.16c3b8",
\r
2452 "id": "f8459fc1.c514a",
\r
2453 "type": "execute",
\r
2454 "name": "execute RestconfDiscoveryNode establishPersistentConnection",
\r
2455 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishPersistentSseConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-subscribe-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"get\" />\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"777\" />\n<parameter name=\"mode\" value=\"sync\" />\n<!--<parameter name=\"version\" value=\"sync\" />-->\n<!--<parameter name=\"mode\" value=\"777\" />-->\n<parameter name=\"responsePrefix\" value=\"notification-get-result\"/>\n",
\r
2458 "x": 4785.483657836914,
\r
2459 "y": 2510.1500396728516,
\r
2460 "z": "33354834.16c3b8",
\r
2466 "id": "fd35c490.b8d1d",
\r
2468 "name": "update vpn-binding G resource (aka. OTN domainA) in AAI",
\r
2469 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingG.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingG.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingG.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",
\r
2472 "x": 5459.500427246094,
\r
2473 "y": 1318.533432006836,
\r
2474 "z": "33354834.16c3b8",
\r
2480 "id": "2a3498ca.88543",
\r
2482 "name": "update connectivity resource in AAI",
\r
2483 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivityG.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityG.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",
\r
2486 "x": 5386.500427246094,
\r
2487 "y": 1364.533432006836,
\r
2488 "z": "33354834.16c3b8",
\r
2494 "id": "f3d97964.1c0ad8",
\r
2496 "name": "update service-instance resource in AAI",
\r
2497 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'>\n<parameter name='service-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='orchestration-status' value='Activated' />\n",
\r
2500 "x": 5406.250427246094,
\r
2501 "y": 1425.033432006836,
\r
2502 "z": "33354834.16c3b8",
\r
2508 "id": "1f4aee67.ee1e82",
\r
2509 "type": "execute",
\r
2510 "name": "execute PeriodicDiscoveryNode establishSubscription",
\r
2511 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.PeriodicDiscoveryNode' method='establishSubscriptionOnly' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-subscribe-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/operations/ietf-eth-service-oam:configure-oam'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<!--<parameter name=\"deviceIp\" value=\"192.168.198.6\" />-->\n<!--<parameter name=\"devicePort\" value=\"18181\" />-->\n<!--<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/streams/yang-push-json'`\" />-->\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />-->\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"p2p-vnf-topology-operation-p2p-callbackdg-notification\" />\n<parameter name=\"version\" value=\"888\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
\r
2514 "x": 5460.416931152344,
\r
2515 "y": 1497.116683959961,
\r
2516 "z": "33354834.16c3b8",
\r
2522 "id": "78eec8fa.d8a828",
\r
2523 "type": "execute",
\r
2524 "name": "execute PeriodicDiscoveryNode establishPeriodicPullConnection",
\r
2525 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.PeriodicDiscoveryNode' method='establishPeriodicPullConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-subscribe-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-service-pm:performance-monitoring/service-pm=' + $eth-service-name`\" />\n<!--<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/streams/yang-push-json'`\" />-->\n<parameter name=\"periodicPullURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-service-pm:performance-monitoring/service-pm=' + $eth-service-name`\" />\n<parameter name=\"ethServiceName\" value=\"`$eth-service-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"get\" />\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />-->\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"p2p-vnf-topology-operation-p2p-callbackdg-notification\" />\n<parameter name=\"version\" value=\"888\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"notification-get-result\"/>\n",
\r
2528 "x": 5477.417419433594,
\r
2529 "y": 1617.1166229248047,
\r
2530 "z": "33354834.16c3b8",
\r
2536 "id": "34c10c78.6bbca4",
\r
2538 "name": "set sotn_value",
\r
2539 "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityG.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityG.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityG.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityG.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingG.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityG.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityG.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityG.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingG.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingG.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityG.cvlan`' />\n\n<parameter name='eth-src-node-id' value='`$tmp.aai.vpn-bindingG.src-access-node-id`' />\n<parameter name='eth-src-ltp-id' value='`$tmp.aai.vpn-bindingG.src-access-ltp-id`' />\n<parameter name='eth-dst-node-id' value='`$tmp.aai.vpn-bindingG.dst-access-node-id`' />\n<parameter name='eth-dst-ltp-id' value='`$tmp.aai.vpn-bindingG.dst-access-ltp-id`' />\n",
\r
2541 "x": 4281.000183105469,
\r
2542 "y": 1409.533432006836,
\r
2543 "z": "33354834.16c3b8",
\r
2547 "id": "3a7dccd3.a56e8c",
\r
2548 "type": "execute",
\r
2549 "name": "execute RestApiCallNode Create ethernet Service without token",
\r
2550 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-ethernet-service-same-domain.templatefile`\" />\n<!--<parameter name=\"templateFileName\" value=\"`$tmp.templateFileNameForEthSrv`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\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\"/>-->\n",
\r
2553 "x": 4435.000183105469,
\r
2554 "y": 1457.533432006836,
\r
2555 "z": "33354834.16c3b8",
\r
2558 "4b952b8e.113f54",
\r
2564 "id": "4b952b8e.113f54",
\r
2565 "type": "failure",
\r
2566 "name": "failure",
\r
2567 "xml": "<outcome value='failure'>\n",
\r
2570 "x": 4780.500183105469,
\r
2571 "y": 1438.533432006836,
\r
2572 "z": "33354834.16c3b8",
\r
2580 "id": "a5fb7d58.4426f",
\r
2581 "type": "success",
\r
2582 "name": "success",
\r
2583 "xml": "<outcome value='success'>\n",
\r
2586 "x": 4784.500183105469,
\r
2587 "y": 1478.533432006836,
\r
2588 "z": "33354834.16c3b8",
\r
2596 "id": "55af739d.c7b194",
\r
2597 "type": "returnFailure",
\r
2598 "name": "return failure",
\r
2599 "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 ethernet service rest api\" />\n",
\r
2601 "x": 4938.500183105469,
\r
2602 "y": 1438.533432006836,
\r
2603 "z": "33354834.16c3b8",
\r
2607 "id": "6e44f65e.9c29e8",
\r
2609 "name": "block : atomic",
\r
2610 "xml": "<block atomic=\"true\">",
\r
2614 "x": 4942.000183105469,
\r
2615 "y": 1478.533432006836,
\r
2616 "z": "33354834.16c3b8",
\r
2621 "f3d97964.1c0ad8",
\r
2622 "1f4aee67.ee1e82",
\r
2623 "78eec8fa.d8a828",
\r
2629 "id": "88048959.7c814",
\r
2630 "type": "comment",
\r
2631 "name": "TODO: FIXME:",
\r
2632 "info": "put proper values based on connectivity resource retrieved from AAI",
\r
2634 "x": 4278.500183105469,
\r
2635 "y": 1365.533432006836,
\r
2636 "z": "33354834.16c3b8",
\r
2640 "id": "eb126609.241a48",
\r
2641 "type": "execute",
\r
2642 "name": "execute RestApiCallNode Create Performance Monitoring Data",
\r
2643 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-create-pm-data.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-service-pm:performance-monitoring'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\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\"/>-->\n",
\r
2646 "x": 5491.233337402344,
\r
2647 "y": 1549.7335052490234,
\r
2648 "z": "33354834.16c3b8",
\r
2654 "id": "1e040c4d.50392c",
\r
2655 "type": "switchNode",
\r
2656 "name": "switch tmp.aai.connectivity.cbs == null",
\r
2657 "xml": "<switch test=\"`length($tmp.aai.connectivity.cbs) == 0`\">\n",
\r
2660 "x": 2197.6331176757812,
\r
2661 "y": 253.1333465576172,
\r
2662 "z": "33354834.16c3b8",
\r
2671 "id": "2e4f00ca.c58f3",
\r
2672 "type": "outcomeTrue",
\r
2674 "xml": "<outcome value='true'>\n",
\r
2677 "x": 2441.6331176757812,
\r
2678 "y": 182.13336181640625,
\r
2679 "z": "33354834.16c3b8",
\r
2687 "id": "68c81580.7a1dfc",
\r
2690 "xml": "<block>\n",
\r
2691 "atomic": "false",
\r
2694 "x": 2562.6331176757812,
\r
2695 "y": 183.13336181640625,
\r
2696 "z": "33354834.16c3b8",
\r
2705 "id": "e19b6a3d.635b2",
\r
2707 "name": "set templateFileNameForEthSrv",
\r
2708 "xml": "<set>\n<parameter name='tmp.templateFileNameForEthSrv' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-ethernet-service.templatefile`\" />\n<parameter name='vlan-translation' value=\"\" />\n",
\r
2710 "x": 2787.6332397460938,
\r
2711 "y": 182.5333251953125,
\r
2712 "z": "33354834.16c3b8",
\r
2716 "id": "37909c7a.4f488c",
\r
2718 "name": "block : atomic",
\r
2719 "xml": "<block atomic=\"true\">",
\r
2722 "x": 2139.6331176757812,
\r
2723 "y": 347.1333465576172,
\r
2724 "z": "33354834.16c3b8",
\r
2727 "1e040c4d.50392c",
\r
2733 "id": "7a3cd7b3.bb0298",
\r
2734 "type": "outcomeTrue",
\r
2736 "xml": "<outcome value='false'>\n",
\r
2739 "x": 2472.4999389648438,
\r
2740 "y": 241.1333465576172,
\r
2741 "z": "33354834.16c3b8",
\r
2749 "id": "80c861e8.a5bbb8",
\r
2752 "xml": "<block>\n",
\r
2753 "atomic": "false",
\r
2756 "x": 2593.4999389648438,
\r
2757 "y": 242.1333465576172,
\r
2758 "z": "33354834.16c3b8",
\r
2761 "29ed907a.c93f68",
\r
2767 "id": "29ed907a.c93f68",
\r
2769 "name": "set templateFileNameForEthSrv",
\r
2770 "xml": "<set>\n<parameter name='tmp.templateFileNameForEthSrv' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-ethernet-service-vlan.templatefile`\" />\n<parameter name='vlan-translation' value=\"`$tmp.aai.connectivity.cbs`\" />\n\n",
\r
2772 "x": 2811.4998168945312,
\r
2773 "y": 284.53330993652344,
\r
2774 "z": "33354834.16c3b8",
\r
2778 "id": "e3be8d7a.fa711",
\r
2780 "name": "unset templateFileNameForEthSrv",
\r
2781 "xml": "<set>\n<parameter name='tmp.templateFileNameForEthSrv' value=\"\" />\n<parameter name='vlan-translation' value=\"\" />\n",
\r
2783 "x": 2784.7665405273438,
\r
2784 "y": 131.93336486816406,
\r
2785 "z": "33354834.16c3b8",
\r
2789 "id": "f77d6a7b.ede4c8",
\r
2791 "name": "unset templateFileNameForEthSrv",
\r
2792 "xml": "<set>\n<parameter name='tmp.templateFileNameForEthSrv' value=\"\" />\n<parameter name='vlan-translation' value=\"\" />\n",
\r
2794 "x": 2814.7665405273438,
\r
2795 "y": 235.93336486816406,
\r
2796 "z": "33354834.16c3b8",
\r