restapi.sdwan-attachment.templatefile=sdwan-attachment-allotted-resource.json
restapi.oof-getpath.templatefile=oof-getpath.json
restapi.transport-slice-creation.templatefile=ts-allocate-tn-slice.json
+restapi.transport-sliceA-list-creation.templatefile=ts-allocate-tn-sliceA-list.json
+restapi.transport-sliceB-list-creation.templatefile=ts-allocate-tn-sliceB-list.json
restapi.ts-otn-src-domain-creation.templatefile=ts-otn-tunnel-src-domain.json
restapi.ts-otn-dst-domain-creation.templatefile=ts-otn-tunnel-dst-domain.json
restapi.ts-ethernet-service.templatefile=ts-ethernet-service.json
[\r
{\r
- "id": "785080f2.6936b8",\r
+ "id": "abafb433.2b07c",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 183,\r
- "y": 123,\r
+ "x": 149,\r
+ "y": 95,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "4da9bc1a.de21c4"\r
+ "8a2adf01.004b9"\r
]\r
]\r
},\r
{\r
- "id": "4da9bc1a.de21c4",\r
+ "id": "8a2adf01.004b9",\r
"type": "service-logic",\r
"name": "GENERIC-RESOURCE-API ${project.version}",\r
"module": "GENERIC-RESOURCE-API",\r
"comments": "",\r
"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
"outputs": 1,\r
- "x": 308,\r
- "y": 449.00001525878906,\r
+ "x": 274,\r
+ "y": 421.00001525878906,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "4d41d418.8146fc"\r
+ "870eb920.3a709"\r
]\r
]\r
},\r
{\r
- "id": "4d41d418.8146fc",\r
+ "id": "870eb920.3a709",\r
"type": "method",\r
"name": "tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
"xml": "<method rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 372.0001220703125,\r
- "y": 542,\r
+ "x": 338.0001220703125,\r
+ "y": 514,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "e5176e39.ab5f58"\r
+ "12c71cb4.bbd213"\r
]\r
]\r
},\r
{\r
- "id": "8caf5150.39185",\r
+ "id": "7b12bbea.4b296c",\r
"type": "execute",\r
"name": "execute RestApiCallNode getPath from OOF",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.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
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url + '?ethsrvType=' + $prop.ethsrvType`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.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
"comments": "",\r
"outputs": 1,\r
- "x": 854.9730834960938,\r
- "y": 200.99600219726562,\r
+ "x": 820.9730834960938,\r
+ "y": 172.99600219726562,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "4d2dbd72.56d1c4",\r
- "d1c68f83.41e85"\r
+ "838f6988.2e418",\r
+ "daadcad7.8d5718"\r
]\r
]\r
},\r
{\r
- "id": "4d2dbd72.56d1c4",\r
+ "id": "838f6988.2e418",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1094.9732246398926,\r
- "y": 224.9959716796875,\r
+ "x": 1060.9732246398926,\r
+ "y": 196.9959716796875,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "f83b56b9.c9b638"\r
+ "e2aa0c83.94cd5"\r
]\r
]\r
},\r
{\r
- "id": "e8159436.f6c238",\r
+ "id": "1cd84c7f.13b994",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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 OOF api\" />\n",\r
"comments": "",\r
- "x": 1233.973258972168,\r
- "y": 173.99606323242188,\r
+ "x": 1199.973258972168,\r
+ "y": 145.99606323242188,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "d1c68f83.41e85",\r
+ "id": "daadcad7.8d5718",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1093.9730110168457,\r
- "y": 173.99606227874756,\r
+ "x": 1059.9730110168457,\r
+ "y": 145.99606227874756,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "e8159436.f6c238"\r
+ "1cd84c7f.13b994"\r
]\r
]\r
},\r
{\r
- "id": "820d1c3.af11fe",\r
+ "id": "fe1658e6.6b98a8",\r
"type": "comment",\r
"name": "OTN tunnel path computation",\r
"info": "TODO: check input parameters -- they should be\nthe source and destination of ETH node+tp.",\r
"comments": "",\r
- "x": 826.4768829345703,\r
- "y": 157.00000190734863,\r
+ "x": 792.4768829345703,\r
+ "y": 129.00000190734863,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "74bde20c.a7fc74",\r
+ "id": "b6d123ad.aaa61",\r
"type": "for",\r
"name": "for vidx..otn-oof.solutions_length[]",\r
"xml": "<for index='vidx' start='0' end='`$otn-oof.solutions_length`' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 845.972900390625,\r
- "y": 510.2457275390625,\r
+ "x": 811.972900390625,\r
+ "y": 482.2457275390625,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "4106c3e4.394aa4"\r
+ "64a6a0a3.de9e88"\r
]\r
]\r
},\r
{\r
- "id": "cd87cc44.8c15b8",\r
+ "id": "32873616.6130da",\r
"type": "comment",\r
"name": "Loop through OTN links",\r
"info": "",\r
"comments": "",\r
- "x": 929.4732055664062,\r
- "y": 589.74609375,\r
+ "x": 895.4732055664062,\r
+ "y": 561.74609375,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "4106c3e4.394aa4",\r
+ "id": "64a6a0a3.de9e88",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 950.5001220703125,\r
- "y": 701.2864990234375,\r
+ "x": 916.5001220703125,\r
+ "y": 673.2864990234375,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "ce760c47.cc25c",\r
- "881e4d7c.ab39a8"\r
+ "ebe50f50.427a98",\r
+ "c378542a.988188",\r
+ "b9a4e12.dabba2"\r
]\r
]\r
},\r
{\r
- "id": "ce760c47.cc25c",\r
+ "id": "ebe50f50.427a98",\r
"type": "get-resource",\r
"name": "get-resource cross-link",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"logical-link\" \n\t\tkey=\"logical-link.link-name = $otn-oof.link-name\"\n pfx='tmp.aai.cross-link' local-only='false' >\n\n <!--AND depth = '0'\"-->\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1217.5001220703125,\r
- "y": 621.2864685058594,\r
+ "x": 1173.5001220703125,\r
+ "y": 663.2864990234375,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "ad346b3e.ce4fa8",\r
- "fc5baf89.e9e038",\r
- "996489b0.d36438"\r
+ "383ad684.d27f02",\r
+ "92e0b7cd.135e8",\r
+ "fc9654b0.26f8f8"\r
]\r
]\r
},\r
{\r
- "id": "996489b0.d36438",\r
+ "id": "fc9654b0.26f8f8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1409.0001220703125,\r
- "y": 566.2864685058594,\r
+ "x": 1375.0001220703125,\r
+ "y": 538.2864685058594,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "3ceef7ce.6836e"\r
+ "a60f2416.5968c8"\r
]\r
]\r
},\r
{\r
- "id": "ad346b3e.ce4fa8",\r
+ "id": "383ad684.d27f02",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1445.0001220703125,\r
- "y": 691.2864990234375,\r
+ "x": 1411.0001220703125,\r
+ "y": 663.2864990234375,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "ac6169c7.f0845"\r
+ "1ff2406e.1859a"\r
]\r
]\r
},\r
{\r
- "id": "fc5baf89.e9e038",\r
+ "id": "92e0b7cd.135e8",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1439.0001220703125,\r
- "y": 741.2864990234375,\r
+ "x": 1405.0001220703125,\r
+ "y": 713.2864990234375,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "63822e63.363e4"\r
+ "a40efbb6.9e2848"\r
]\r
]\r
},\r
{\r
- "id": "ac6169c7.f0845",\r
+ "id": "1ff2406e.1859a",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 1606.0001220703125,\r
- "y": 680.2864990234375,\r
+ "x": 1572.0001220703125,\r
+ "y": 652.2864990234375,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "63822e63.363e4",\r
+ "id": "a40efbb6.9e2848",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 1604.0001220703125,\r
- "y": 736.2864990234375,\r
+ "x": 1570.0001220703125,\r
+ "y": 708.2864990234375,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "dd34e96e.f687",\r
+ "id": "4cfcfa39.a67414",\r
"type": "comment",\r
"name": "get cross-domain-link information",\r
"info": "",\r
"comments": "",\r
- "x": 1218.5001220703125,\r
- "y": 582.2864685058594,\r
+ "x": 1179.5001220703125,\r
+ "y": 612.2864990234375,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "881e4d7c.ab39a8",\r
+ "id": "c378542a.988188",\r
"type": "set",\r
- "name": "set otn-oof.link-name",\r
- "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].link`' />",\r
+ "name": "set otn-oof.link-name and etc.",\r
+ "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.solutions[$vidx].start_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.solutions[$vidx].end_node`' />",\r
"comments": "",\r
- "x": 1200.0001220703125,\r
- "y": 531.2864685058594,\r
+ "x": 1163.0001220703125,\r
+ "y": 566.2864990234375,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "f83b56b9.c9b638",\r
+ "id": "e2aa0c83.94cd5",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1240.0002708435059,\r
- "y": 222.74145698547363,\r
+ "x": 1206.0002708435059,\r
+ "y": 194.74145698547363,\r
"z": "f861838.07df98",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "e5176e39.ab5f58",\r
+ "id": "12c71cb4.bbd213",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 612.9688835144043,\r
- "y": 468.74163722991943,\r
+ "x": 578.9688835144043,\r
+ "y": 440.74163722991943,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "74bde20c.a7fc74",\r
- "8caf5150.39185"\r
+ "b6d123ad.aaa61",\r
+ "7b12bbea.4b296c"\r
]\r
]\r
},\r
{\r
- "id": "26918861.79c318",\r
+ "id": "eed9f90d.625c7",\r
"type": "switchNode",\r
"name": "test cross-domain-link role",\r
"xml": "<switch test='`$tmp.aai.cross-link.link-role`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1724.5001220703125,\r
- "y": 566,\r
+ "x": 1690.5001220703125,\r
+ "y": 538,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "3531deb1.d8e4aa"\r
+ "84eec670.e2767"\r
]\r
]\r
},\r
{\r
- "id": "3531deb1.d8e4aa",\r
+ "id": "84eec670.e2767",\r
"type": "outcome",\r
"name": "outcome cross-domain",\r
"xml": "<outcome value='cross-domain'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1960.5001220703125,\r
- "y": 567,\r
+ "x": 1926.5001220703125,\r
+ "y": 539,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "eebcac2b.5130c8"\r
+ "4da26d84.4c4d14"\r
]\r
]\r
},\r
{\r
- "id": "7e986d4a.8efc2c",\r
+ "id": "1a6d08c1.f63207",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 2279.5,\r
- "y": 1044,\r
+ "x": 2245.5,\r
+ "y": 1016,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "eebcac2b.5130c8",\r
+ "id": "4da26d84.4c4d14",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2163.5001220703125,\r
- "y": 568,\r
+ "x": 2129.5001220703125,\r
+ "y": 540,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "7e986d4a.8efc2c",\r
- "ea827dd1.08ec5",\r
- "baf2958a.4c4df8",\r
- "fb366a0b.531b8"\r
+ "1a6d08c1.f63207",\r
+ "1f33bea3.a37e41",\r
+ "a53fb0ab.3215e8",\r
+ "1a72a670.f5c5ba"\r
]\r
]\r
},\r
{\r
- "id": "a6afce7.6f2473",\r
+ "id": "d525a55b.c81c5",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2604,\r
- "y": 535,\r
+ "x": 2570,\r
+ "y": 507,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "f8be66de.741848"\r
+ "424e6de2.ee50a4"\r
]\r
]\r
},\r
{\r
- "id": "2f1a9902.061d36",\r
+ "id": "48c96b61.49802c",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2637.0001220703125,\r
- "y": 593,\r
+ "x": 2603.0001220703125,\r
+ "y": 565,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "dbfe4fc5.e26958"\r
+ "90a49841.e9abd"\r
]\r
]\r
},\r
{\r
- "id": "9127ce8b.3def68",\r
+ "id": "27012bae.421594",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2640.0001220703125,\r
- "y": 645,\r
+ "x": 2606.0001220703125,\r
+ "y": 617,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "c41edc57.5a3f3"\r
+ "3218b6b1.58d4da"\r
]\r
]\r
},\r
{\r
- "id": "dbfe4fc5.e26958",\r
+ "id": "90a49841.e9abd",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 2822.0001220703125,\r
- "y": 597,\r
+ "x": 2788.0001220703125,\r
+ "y": 569,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "c41edc57.5a3f3",\r
+ "id": "3218b6b1.58d4da",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 2810.0001220703125,\r
- "y": 648,\r
+ "x": 2776.0001220703125,\r
+ "y": 620,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "ecb2deab.b51cf",\r
+ "id": "818ff562.39e0e",\r
"type": "set",\r
"name": "set domain A node ttp-id",\r
"xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 3940.5,\r
- "y": 450,\r
+ "x": 3906.5,\r
+ "y": 422,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "d1cdcf8f.8a3938",\r
+ "id": "f9b5c841.bb08a",\r
"type": "get-resource",\r
"name": "get-resource src TTP",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.domain-A.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.src-ttp' local-only='false' >\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3948.5,\r
- "y": 502,\r
+ "x": 3914.5,\r
+ "y": 474,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "5ec14125.845248"\r
+ "a8ab9ca9.5f37d"\r
]\r
]\r
},\r
{\r
- "id": "5ec14125.845248",\r
+ "id": "a8ab9ca9.5f37d",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4155,\r
- "y": 480,\r
+ "x": 4121,\r
+ "y": 452,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "ca7d08dc.2600e"\r
+ "f4704103.56f298"\r
]\r
]\r
},\r
{\r
- "id": "c49d7c6a.28c258",\r
+ "id": "d07aee9c.38cf",\r
"type": "outcome",\r
"name": "tunnel-termination-point",\r
"xml": "<outcome value='tunnel-termination-point'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3492.66845703125,\r
- "y": 528.4815063476562,\r
+ "x": 3458.66845703125,\r
+ "y": 500.48150634765625,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "dd92713b.0e1d48"\r
+ "f5a5a2ae.b150d8"\r
]\r
]\r
},\r
{\r
- "id": "d42ddf1f.aa33b8",\r
+ "id": "94ee2310.15a178",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2955.3828125,\r
- "y": 530.6597290039062,\r
+ "x": 2921.3828125,\r
+ "y": 502.65972900390625,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "422b69de.73fa7"\r
+ "116f7db2.ea55a2"\r
]\r
]\r
},\r
{\r
- "id": "422b69de.73fa7",\r
+ "id": "116f7db2.ea55a2",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$vidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3207.3828125,\r
- "y": 527.6597290039062,\r
+ "x": 3173.3828125,\r
+ "y": 499.65972900390625,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "c49d7c6a.28c258"\r
+ "d07aee9c.38cf"\r
]\r
]\r
},\r
{\r
- "id": "dd92713b.0e1d48",\r
+ "id": "f5a5a2ae.b150d8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3719.5,\r
- "y": 517,\r
+ "x": 3685.5,\r
+ "y": 489,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "ecb2deab.b51cf",\r
- "d1cdcf8f.8a3938",\r
- "971f1502.6917e",\r
- "c7ca7420.72c18",\r
- "8d70c942.44a4b"\r
+ "818ff562.39e0e",\r
+ "f9b5c841.bb08a",\r
+ "fa235f06.dbc5c8",\r
+ "825f6c70.9f6d6",\r
+ "6fa2423a.fd13dc"\r
]\r
]\r
},\r
{\r
- "id": "ea827dd1.08ec5",\r
+ "id": "1f33bea3.a37e41",\r
"type": "get-resource",\r
"name": "get-resource dst tp",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\n\t\t AND p-interface.interface-name = $tmp.cross-link.dst-ltpId\"\n pfx='tmp.aai.dst-tp' local-only='false' >\n \n <!--AND depth = '0'\"-->\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2360.5001220703125,\r
- "y": 940,\r
+ "x": 2326.5001220703125,\r
+ "y": 912,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "6be782aa.b86974",\r
- "6d662459.228964",\r
- "898db702.b7dc98"\r
+ "d37211e1.0a8088",\r
+ "51af98c.c752568",\r
+ "3fe7a459.6ee934"\r
]\r
]\r
},\r
{\r
- "id": "6be782aa.b86974",\r
+ "id": "d37211e1.0a8088",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2583,\r
- "y": 1082,\r
+ "x": 2549,\r
+ "y": 1054,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "65a0fa24.29df6c"\r
+ "f87a46b2.f2f308"\r
]\r
]\r
},\r
{\r
- "id": "6d662459.228964",\r
+ "id": "51af98c.c752568",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2567,\r
- "y": 1133,\r
+ "x": 2533,\r
+ "y": 1105,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "b65b40fe.974c6"\r
+ "87af46d4.1052d"\r
]\r
]\r
},\r
{\r
- "id": "898db702.b7dc98",\r
+ "id": "3fe7a459.6ee934",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2570,\r
- "y": 1185,\r
+ "x": 2536,\r
+ "y": 1157,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "bfee6332.37f66"\r
+ "f5945933.94bc1"\r
]\r
]\r
},\r
{\r
- "id": "bfee6332.37f66",\r
+ "id": "f5945933.94bc1",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 2740,\r
- "y": 1188,\r
+ "x": 2706,\r
+ "y": 1160,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "b65b40fe.974c6",\r
+ "id": "87af46d4.1052d",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 2752,\r
- "y": 1137,\r
+ "x": 2718,\r
+ "y": 1109,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "8d7d4d68.6b1788",\r
+ "id": "ee005d71.029a7",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2939.3828125,\r
- "y": 1092.6597290039062,\r
+ "x": 2905.3828125,\r
+ "y": 1064.6597290039062,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "575ceb9c.cab194"\r
+ "d2d24abe.aac6a"\r
]\r
]\r
},\r
{\r
- "id": "575ceb9c.cab194",\r
+ "id": "d2d24abe.aac6a",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3182.3828125,\r
- "y": 1091.6597290039062,\r
+ "x": 3148.3828125,\r
+ "y": 1063.6597290039062,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "b72d167f.fee4e"\r
+ "328b374b.e6dea8"\r
]\r
]\r
},\r
{\r
- "id": "a539cf03.6d6808",\r
+ "id": "a3d738bb.01d098",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4948.5,\r
- "y": 893,\r
+ "x": 4914.5,\r
+ "y": 865,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "d5068892.e23ae8",\r
- "81d0dbc4.fd6ab8",\r
- "7f9bc054.18256"\r
+ "d76ed9f4.607e58",\r
+ "4049d8d0.576ec8",\r
+ "6d1ae1e8.8376b8"\r
]\r
]\r
},\r
{\r
- "id": "b72d167f.fee4e",\r
+ "id": "328b374b.e6dea8",\r
"type": "outcome",\r
"name": "tunnel-termination-point",\r
"xml": "<outcome value='tunnel-termination-point'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3438.66845703125,\r
- "y": 1091.4815063476562,\r
+ "x": 3404.66845703125,\r
+ "y": 1063.4815063476562,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "9c7f096e.2675b8"\r
+ "daeaf8a3.f790f8"\r
]\r
]\r
},\r
{\r
- "id": "9378bfdf.c4bd08",\r
+ "id": "b11078d7.b3b858",\r
"type": "outcome",\r
"name": "network-resource",\r
"xml": "<outcome value='network-resource'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4735.5,\r
- "y": 892,\r
+ "x": 4701.5,\r
+ "y": 864,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "a539cf03.6d6808"\r
+ "a3d738bb.01d098"\r
]\r
]\r
},\r
{\r
- "id": "9c7f096e.2675b8",\r
+ "id": "daeaf8a3.f790f8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3738.5,\r
- "y": 1089,\r
+ "x": 3704.5,\r
+ "y": 1061,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "176fbec8.809f09",\r
- "4808dba3.0d097c",\r
- "a9a61e4c.61cea8",\r
- "967b7a6e.29dcc",\r
- "eb2816b.38b8868"\r
+ "590b13b.935b9ec",\r
+ "b7482d1e.97b0b8",\r
+ "4d91a36f.ea12e4",\r
+ "32404ee3.71aeda",\r
+ "88a4d7d3.2c52b"\r
]\r
]\r
},\r
{\r
- "id": "176fbec8.809f09",\r
+ "id": "590b13b.935b9ec",\r
"type": "set",\r
"name": "set domain B node ttp-id",\r
"xml": "<set>\n<parameter name='tmp.domain-B.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 3980.5,\r
- "y": 1043,\r
+ "x": 3946.5,\r
+ "y": 1015,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "4808dba3.0d097c",\r
+ "id": "b7482d1e.97b0b8",\r
"type": "get-resource",\r
"name": "get-resource dst TTP",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.domain-B.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3970.5,\r
- "y": 1094,\r
+ "x": 3936.5,\r
+ "y": 1066,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "4a5731eb.8e0df8"\r
+ "3475127.fd4c36e"\r
]\r
]\r
},\r
{\r
- "id": "4a5731eb.8e0df8",\r
+ "id": "3475127.fd4c36e",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4158,\r
- "y": 1092,\r
+ "x": 4124,\r
+ "y": 1064,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "53c0541b.770fcc"\r
+ "8e8366a6.32694"\r
]\r
]\r
},\r
{\r
- "id": "d5068892.e23ae8",\r
+ "id": "d76ed9f4.607e58",\r
"type": "set",\r
"name": "set domain B network-id",\r
"xml": "<set>\n<parameter name='tmp.domain-B.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 5218.5,\r
- "y": 869,\r
+ "x": 5184.5,\r
+ "y": 841,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "81d0dbc4.fd6ab8",\r
+ "id": "4049d8d0.576ec8",\r
"type": "get-resource",\r
"name": "get-resource dst network-resource",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-B.network-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-network-resource' local-only='false' >\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5228.5,\r
- "y": 915,\r
+ "x": 5194.5,\r
+ "y": 887,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "584862de.86be1c"\r
+ "e9f242cc.c24dd8"\r
]\r
]\r
},\r
{\r
- "id": "584862de.86be1c",\r
+ "id": "e9f242cc.c24dd8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5444,\r
- "y": 906,\r
+ "x": 5410,\r
+ "y": 878,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "419ec6e9.6efd2"\r
+ "43e26006.8bc19"\r
]\r
]\r
},\r
{\r
- "id": "419ec6e9.6efd2",\r
+ "id": "43e26006.8bc19",\r
"type": "set",\r
"name": "set domain B network-id, topo-id, client-id, etc",\r
"xml": "<set>\n<parameter name='domain-B.network-id' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='domain-B.provider-id' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='domain-B.client-id' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='domain-B.te-topo-id' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='domain-B.network-type' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n\n\n",\r
"comments": "",\r
- "x": 5698.5,\r
- "y": 912,\r
+ "x": 5664.5,\r
+ "y": 884,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "f8be66de.741848",\r
+ "id": "424e6de2.ee50a4",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2738,\r
- "y": 531,\r
+ "x": 2704,\r
+ "y": 503,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "d42ddf1f.aa33b8"\r
+ "94ee2310.15a178"\r
]\r
]\r
},\r
{\r
- "id": "65a0fa24.29df6c",\r
+ "id": "f87a46b2.f2f308",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2729,\r
- "y": 1073,\r
+ "x": 2695,\r
+ "y": 1045,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "8d7d4d68.6b1788"\r
+ "ee005d71.029a7"\r
]\r
]\r
},\r
{\r
- "id": "3ceef7ce.6836e",\r
+ "id": "a60f2416.5968c8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1543,\r
- "y": 568,\r
+ "x": 1509,\r
+ "y": 540,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "26918861.79c318"\r
+ "eed9f90d.625c7"\r
]\r
]\r
},\r
{\r
- "id": "baf2958a.4c4df8",\r
+ "id": "a53fb0ab.3215e8",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2313,\r
- "y": 352,\r
+ "x": 2279,\r
+ "y": 324,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "98d39228.4f43c"\r
+ "128e534.d6bf2ad"\r
]\r
]\r
},\r
{\r
- "id": "98d39228.4f43c",\r
+ "id": "128e534.d6bf2ad",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2512,\r
- "y": 349,\r
+ "x": 2478,\r
+ "y": 321,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "1abf5c4f.924da4"\r
+ "11b1dca5.336a6b"\r
]\r
]\r
},\r
{\r
- "id": "1abf5c4f.924da4",\r
+ "id": "11b1dca5.336a6b",\r
"type": "outcome",\r
"name": "p-interface",\r
"xml": "<outcome value='p-interface'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2689.117431640625,\r
- "y": 347.34027099609375,\r
+ "x": 2655.117431640625,\r
+ "y": 319.34027099609375,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "d47f9442.a83a08"\r
+ "16999964.0052a7"\r
]\r
]\r
},\r
{\r
- "id": "8b0d1bcd.9b2bf8",\r
+ "id": "a9fc0be8.cb4e7",\r
"type": "set",\r
- "name": "set src-ltpId and dst-ltpId",\r
- "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[1].relationship-value`\" />\n\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[0].relationship-value`\" />\n\n\n",\r
+ "name": "set src-ltpId",\r
+ "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n\n\n\n\n",\r
"comments": "",\r
- "x": 3003,\r
- "y": 291,\r
+ "x": 3507,\r
+ "y": 233,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "69b5dc47.c8bab4",\r
+ "id": "bbad66bd.203d28",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 2964,\r
- "y": 354,\r
+ "x": 3492,\r
+ "y": 281,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "d47f9442.a83a08",\r
+ "id": "16999964.0052a7",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2829,\r
- "y": 332,\r
+ "x": 2795,\r
+ "y": 304,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "8b0d1bcd.9b2bf8",\r
- "69b5dc47.c8bab4"\r
+ "c4129dee.e1028",\r
+ "4b41d356.da9dfc"\r
]\r
]\r
},\r
{\r
- "id": "ca7d08dc.2600e",\r
+ "id": "f4704103.56f298",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4330,\r
- "y": 476,\r
+ "x": 4296,\r
+ "y": 448,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "4e511808.615928"\r
+ "9beffd2c.502c6"\r
]\r
]\r
},\r
{\r
- "id": "53c0541b.770fcc",\r
+ "id": "8e8366a6.32694",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4347,\r
- "y": 1081,\r
+ "x": 4313,\r
+ "y": 1053,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "1d3fc9e2.e7e6d6"\r
+ "2782166b.894a72"\r
]\r
]\r
},\r
{\r
- "id": "fb366a0b.531b8",\r
+ "id": "1a72a670.f5c5ba",\r
"type": "get-resource",\r
"name": "get-resource src tp",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\n\t\t AND p-interface.interface-name = $tmp.cross-link.src-ltpId\"\n pfx='tmp.aai.src-tp' local-only='false' >\n \n <!--AND depth = '0'\"-->\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2406.5001220703125,\r
- "y": 574,\r
+ "x": 2372.5001220703125,\r
+ "y": 546,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "a6afce7.6f2473",\r
- "2f1a9902.061d36",\r
- "9127ce8b.3def68"\r
+ "d525a55b.c81c5",\r
+ "48c96b61.49802c",\r
+ "27012bae.421594"\r
]\r
]\r
},\r
{\r
- "id": "971f1502.6917e",\r
+ "id": "fa235f06.dbc5c8",\r
"type": "get-resource",\r
"name": "get-resource src pnf",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\"\n pfx='tmp.aai.src-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3810,\r
- "y": 320,\r
+ "x": 3776,\r
+ "y": 292,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "806ba724.7c9cb",\r
- "6ff47511.68ce04",\r
- "3a2344e6.758334"\r
+ "97e1c7ea.89c31",\r
+ "a32ada2.7e46ba8",\r
+ "6c014e40.0055a8"\r
]\r
]\r
},\r
{\r
- "id": "806ba724.7c9cb",\r
+ "id": "97e1c7ea.89c31",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4005.5001220703125,\r
- "y": 272,\r
+ "x": 3971.5001220703125,\r
+ "y": 244,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "198edc3a.f7e7a4"\r
+ "76aa8066.8a0a68"\r
]\r
]\r
},\r
{\r
- "id": "6ff47511.68ce04",\r
+ "id": "a32ada2.7e46ba8",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3997.5001220703125,\r
- "y": 327,\r
+ "x": 3963.5001220703125,\r
+ "y": 299,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "658b18f7.6c229"\r
+ "e78aff2c.f74de8"\r
]\r
]\r
},\r
{\r
- "id": "3a2344e6.758334",\r
+ "id": "6c014e40.0055a8",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4002.5001220703125,\r
- "y": 384,\r
+ "x": 3968.5001220703125,\r
+ "y": 356,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "10fe2a63.edb7de"\r
+ "72ca8bf8.aa197c"\r
]\r
]\r
},\r
{\r
- "id": "10fe2a63.edb7de",\r
+ "id": "72ca8bf8.aa197c",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 4154.5001220703125,\r
- "y": 385,\r
+ "x": 4120.5001220703125,\r
+ "y": 357,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "658b18f7.6c229",\r
+ "id": "e78aff2c.f74de8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 4165.5001220703125,\r
- "y": 330,\r
+ "x": 4131.5001220703125,\r
+ "y": 302,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "198edc3a.f7e7a4",\r
+ "id": "76aa8066.8a0a68",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4149.8824462890625,\r
- "y": 269.6556701660156,\r
+ "x": 4115.8824462890625,\r
+ "y": 241.65567016601562,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "3a3ab784.901e48",\r
- "a97b2a05.9f73a"\r
+ "2bdb018d.2fcdb6",\r
+ "d5b2333f.df7ba8"\r
]\r
]\r
},\r
{\r
- "id": "3a3ab784.901e48",\r
+ "id": "2bdb018d.2fcdb6",\r
"type": "set",\r
"name": "set domain A node-id and tpn",\r
"xml": "<set>\n<parameter name='domain-A.node-id' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='domain-A.tpn' value='1' />\n",\r
"comments": "",\r
- "x": 4375,\r
- "y": 225,\r
+ "x": 4341,\r
+ "y": 197,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "c7ca7420.72c18",\r
+ "id": "825f6c70.9f6d6",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 3897,\r
- "y": 567,\r
+ "x": 3863,\r
+ "y": 539,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "4e511808.615928",\r
+ "id": "9beffd2c.502c6",\r
"type": "set",\r
"name": "set domain A tunnel tp ip",\r
"xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n",\r
"comments": "",\r
- "x": 4591,\r
- "y": 473,\r
+ "x": 4557,\r
+ "y": 445,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "967b7a6e.29dcc",\r
+ "id": "32404ee3.71aeda",\r
"type": "get-resource",\r
"name": "get-resource dst pnf",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\"\n pfx='tmp.aai.dst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3807,\r
- "y": 923,\r
+ "x": 3773,\r
+ "y": 895,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "e327bfa4.a9a3a8",\r
- "d6f6e8cf.638658",\r
- "370c2654.35ab6a"\r
+ "38443514.32f97a",\r
+ "3f48494d.b1e386",\r
+ "1d72a1d4.29172e"\r
]\r
]\r
},\r
{\r
- "id": "370c2654.35ab6a",\r
+ "id": "1d72a1d4.29172e",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4002.5001220703125,\r
- "y": 875,\r
+ "x": 3968.5001220703125,\r
+ "y": 847,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "750d9871.e65c38"\r
+ "e3710364.81565"\r
]\r
]\r
},\r
{\r
- "id": "d6f6e8cf.638658",\r
+ "id": "3f48494d.b1e386",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3994.5001220703125,\r
- "y": 930,\r
+ "x": 3960.5001220703125,\r
+ "y": 902,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "a22c9c14.dad95"\r
+ "1d46287c.a3abe"\r
]\r
]\r
},\r
{\r
- "id": "e327bfa4.a9a3a8",\r
+ "id": "38443514.32f97a",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3999.5001220703125,\r
- "y": 987,\r
+ "x": 3965.5001220703125,\r
+ "y": 959,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "68964b02.e7fefc"\r
+ "cdfeb34e.901888"\r
]\r
]\r
},\r
{\r
- "id": "750d9871.e65c38",\r
+ "id": "e3710364.81565",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4146.8824462890625,\r
- "y": 872.6556701660156,\r
+ "x": 4112.8824462890625,\r
+ "y": 844.6556701660156,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "93208213.553588",\r
- "71258e68.5cbd58"\r
+ "f36692a0.716e88",\r
+ "2c5d340f.626864"\r
]\r
]\r
},\r
{\r
- "id": "a22c9c14.dad95",\r
+ "id": "1d46287c.a3abe",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 4162.5001220703125,\r
- "y": 933,\r
+ "x": 4128.5001220703125,\r
+ "y": 905,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "68964b02.e7fefc",\r
+ "id": "cdfeb34e.901888",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 4151.5001220703125,\r
- "y": 988,\r
+ "x": 4117.5001220703125,\r
+ "y": 960,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "93208213.553588",\r
+ "id": "f36692a0.716e88",\r
"type": "set",\r
"name": "set domain B node-id and tpn",\r
"xml": "<set>\n<parameter name='domain-B.node-id' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='domain-B.tpn' value='1' />\n",\r
"comments": "",\r
- "x": 4356,\r
- "y": 840,\r
+ "x": 4322,\r
+ "y": 812,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "a9a61e4c.61cea8",\r
+ "id": "4d91a36f.ea12e4",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 3926,\r
- "y": 1135,\r
+ "x": 3892,\r
+ "y": 1107,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "1d3fc9e2.e7e6d6",\r
+ "id": "2782166b.894a72",\r
"type": "set",\r
"name": "set domain B tunnel tp id",\r
"xml": "<set>\n<parameter name='domain-B.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n",\r
"comments": "",\r
- "x": 4580,\r
- "y": 1080,\r
+ "x": 4546,\r
+ "y": 1052,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "57d0de73.a03a68",\r
+ "id": "93bc95bd.015218",\r
"type": "outcome",\r
"name": "network-resource",\r
"xml": "<outcome value='network-resource'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4732,\r
- "y": 288,\r
+ "x": 4698,\r
+ "y": 260,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "ed098b6a.2cacf8"\r
+ "12aa4902.54d527"\r
]\r
]\r
},\r
{\r
- "id": "ed098b6a.2cacf8",\r
+ "id": "12aa4902.54d527",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4909,\r
- "y": 280,\r
+ "x": 4875,\r
+ "y": 252,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "61d12009.69ae18",\r
- "bb57da49.8f1178",\r
- "85c9485f.31b9d8"\r
+ "e133ac15.1cfeb8",\r
+ "50016229.5d7aa4",\r
+ "9731bbf6.0aee28"\r
]\r
]\r
},\r
{\r
- "id": "61d12009.69ae18",\r
+ "id": "e133ac15.1cfeb8",\r
"type": "set",\r
"name": "set domain A network-id",\r
"xml": "<set>\n<parameter name='tmp.domain-A.network-id' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 5124,\r
- "y": 261,\r
+ "x": 5090,\r
+ "y": 233,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "bb57da49.8f1178",\r
+ "id": "50016229.5d7aa4",\r
"type": "get-resource",\r
"name": "get-resource src network-resource",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-A.network-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.src-network-resource' local-only='false' >\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5141,\r
- "y": 325,\r
+ "x": 5107,\r
+ "y": 297,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "603dc665.e100a"\r
+ "64fc1e3d.6c54a8"\r
]\r
]\r
},\r
{\r
- "id": "603dc665.e100a",\r
+ "id": "64fc1e3d.6c54a8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5364.5,\r
- "y": 326,\r
+ "x": 5330.5,\r
+ "y": 298,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "bfe1407d.be933"\r
+ "269c6440.2d1124"\r
]\r
]\r
},\r
{\r
- "id": "bfe1407d.be933",\r
+ "id": "269c6440.2d1124",\r
"type": "set",\r
"name": "set domain A network-id, topo-id, client-id, etc",\r
"xml": "<set>\n<parameter name='domain-A.network-id' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='domain-A.provider-id' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='domain-A.client-id' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='domain-A.te-topo-id' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='domain-A.network-type' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n\n\n",\r
"comments": "",\r
- "x": 5629,\r
- "y": 315,\r
+ "x": 5595,\r
+ "y": 287,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "a97b2a05.9f73a",\r
+ "id": "d5b2333f.df7ba8",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4334,\r
- "y": 284,\r
+ "x": 4300,\r
+ "y": 256,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "2c83d3d0.5ba494"\r
+ "4f6b55da.d022d4"\r
]\r
]\r
},\r
{\r
- "id": "2c83d3d0.5ba494",\r
+ "id": "4f6b55da.d022d4",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4529,\r
- "y": 284,\r
+ "x": 4495,\r
+ "y": 256,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "57d0de73.a03a68"\r
+ "93bc95bd.015218"\r
]\r
]\r
},\r
{\r
- "id": "85c9485f.31b9d8",\r
+ "id": "9731bbf6.0aee28",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 5068,\r
- "y": 378,\r
+ "x": 5034,\r
+ "y": 350,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "71258e68.5cbd58",\r
+ "id": "2c5d340f.626864",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4335,\r
- "y": 891,\r
+ "x": 4301,\r
+ "y": 863,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "1cdec3b0.3edecc"\r
+ "a0eb4786.ca84c8"\r
]\r
]\r
},\r
{\r
- "id": "1cdec3b0.3edecc",\r
+ "id": "a0eb4786.ca84c8",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4530,\r
- "y": 891,\r
+ "x": 4496,\r
+ "y": 863,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "9378bfdf.c4bd08"\r
+ "b11078d7.b3b858"\r
]\r
]\r
},\r
{\r
- "id": "7f9bc054.18256",\r
+ "id": "6d1ae1e8.8376b8",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 5154,\r
- "y": 971,\r
+ "x": 5120,\r
+ "y": 943,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "8d70c942.44a4b",\r
+ "id": "6fa2423a.fd13dc",\r
"type": "execute",\r
"name": "execute split tp-id to get pnf-name",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.src-tp`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3838,\r
- "y": 114,\r
+ "x": 3804,\r
+ "y": 86,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "f6a321aa.4933d",\r
- "d873be99.cdd6b8"\r
+ "c37dc1f9.38a388",\r
+ "f701d80.fcde128"\r
]\r
]\r
},\r
{\r
- "id": "d873be99.cdd6b8",\r
+ "id": "f701d80.fcde128",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4059,\r
- "y": 82,\r
+ "x": 4025,\r
+ "y": 54,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "aee73e2c.22e008"\r
+ "72fa8a9d.201954"\r
]\r
]\r
},\r
{\r
- "id": "f6a321aa.4933d",\r
+ "id": "c37dc1f9.38a388",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4059,\r
- "y": 129,\r
+ "x": 4025,\r
+ "y": 101,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "58dfd18f.2c2408"\r
+ "11d67749.03e0d9"\r
]\r
]\r
},\r
{\r
- "id": "aee73e2c.22e008",\r
+ "id": "72fa8a9d.201954",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4224,\r
- "y": 79,\r
+ "x": 4190,\r
+ "y": 51,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "e00cc6b0.3f2b6"\r
+ "bbea1bea.ff9688"\r
]\r
]\r
},\r
{\r
- "id": "e00cc6b0.3f2b6",\r
+ "id": "bbea1bea.ff9688",\r
"type": "set",\r
"name": "set domain-A.ltpId",\r
"xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n",\r
"comments": "",\r
- "x": 4406,\r
- "y": 83,\r
+ "x": 4372,\r
+ "y": 55,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "58dfd18f.2c2408",\r
+ "id": "11d67749.03e0d9",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
"comments": "",\r
- "x": 4226,\r
- "y": 129,\r
+ "x": 4192,\r
+ "y": 101,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "eb2816b.38b8868",\r
+ "id": "88a4d7d3.2c52b",\r
"type": "execute",\r
"name": "execute split tp-id to get pnf-name",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.dst-tp`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-dst-tp\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3846,\r
- "y": 738,\r
+ "x": 3812,\r
+ "y": 710,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "4540307f.4c5428",\r
- "da15be4.fdd654"\r
+ "584895a0.b3ab74",\r
+ "d8e0f12d.021a28"\r
]\r
]\r
},\r
{\r
- "id": "da15be4.fdd654",\r
+ "id": "d8e0f12d.021a28",\r
"type": "failure",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4067,\r
- "y": 706,\r
+ "x": 4033,\r
+ "y": 678,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "344ce354.79f65c"\r
+ "18ffb32b.dc39ad"\r
]\r
]\r
},\r
{\r
- "id": "4540307f.4c5428",\r
+ "id": "584895a0.b3ab74",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4067,\r
- "y": 753,\r
+ "x": 4033,\r
+ "y": 725,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "e36b8ad2.500998"\r
+ "5fcd9d7d.d620cc"\r
]\r
]\r
},\r
{\r
- "id": "344ce354.79f65c",\r
+ "id": "18ffb32b.dc39ad",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4232,\r
- "y": 703,\r
+ "x": 4198,\r
+ "y": 675,\r
"z": "f861838.07df98",\r
"wires": [\r
[\r
- "2f5cfc52.4cced4"\r
+ "ef90ab42.074438"\r
]\r
]\r
},\r
{\r
- "id": "2f5cfc52.4cced4",\r
+ "id": "ef90ab42.074438",\r
"type": "set",\r
"name": "set domain-B.ltpId",\r
"xml": "<set>\n<parameter name='domain-B.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n",\r
"comments": "",\r
- "x": 4428,\r
- "y": 700,\r
+ "x": 4394,\r
+ "y": 672,\r
"z": "f861838.07df98",\r
"wires": []\r
},\r
{\r
- "id": "e36b8ad2.500998",\r
+ "id": "5fcd9d7d.d620cc",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
"comments": "",\r
- "x": 4234,\r
- "y": 753,\r
+ "x": 4200,\r
+ "y": 725,\r
+ "z": "f861838.07df98",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b9a4e12.dabba2",\r
+ "type": "set",\r
+ "name": "unset parameters",\r
+ "xml": "<set>\n<parameter name='otn-oof.link-name' value='' />\n<parameter name='tmp.aai.cross-link' value='' />\n<parameter name='tmp.aai.cross-link.' value='' />\n<parameter name='tmp.aai.cross-link.link-role' value='' />",\r
+ "comments": "",\r
+ "x": 1154,\r
+ "y": 495,\r
+ "z": "f861838.07df98",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c4129dee.e1028",\r
+ "type": "switchNode",\r
+ "name": "switch value == start-node",\r
+ "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.start-node`'>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2990,\r
+ "y": 265,\r
+ "z": "f861838.07df98",\r
+ "wires": [\r
+ [\r
+ "c507ecc7.0f698"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "55770297.b0eaec",\r
+ "type": "outcome",\r
+ "name": "otn-oof.start-node",\r
+ "xml": "<outcome value='`$otn-oof.start-node`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3142,\r
+ "y": 180,\r
+ "z": "f861838.07df98",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e83d3f89.4fb8f",\r
+ "type": "outcome",\r
+ "name": "otn-oof.end-node",\r
+ "xml": "<outcome value='`$otn-oof.end-node`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3145,\r
+ "y": 399,\r
+ "z": "f861838.07df98",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e09f6c32.6da1e8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3320,\r
+ "y": 249,\r
+ "z": "f861838.07df98",\r
+ "wires": [\r
+ [\r
+ "a9fc0be8.cb4e7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3bd5ba40.547cce",\r
+ "type": "set",\r
+ "name": "set dst-ltpId",\r
+ "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n\n\n\n",\r
+ "comments": "",\r
+ "x": 3517,\r
+ "y": 335,\r
"z": "f861838.07df98",\r
"wires": []\r
+ },\r
+ {\r
+ "id": "bf0c687c.786c3",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 3500,\r
+ "y": 375,\r
+ "z": "f861838.07df98",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e18153ce.f19278",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3338,\r
+ "y": 347,\r
+ "z": "f861838.07df98",\r
+ "wires": [\r
+ [\r
+ "3bd5ba40.547cce"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c507ecc7.0f698",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3178,\r
+ "y": 252,\r
+ "z": "f861838.07df98",\r
+ "wires": [\r
+ [\r
+ "e09f6c32.6da1e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4b41d356.da9dfc",\r
+ "type": "switchNode",\r
+ "name": "switch value == end-node",\r
+ "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.end-node`'>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2988,\r
+ "y": 329,\r
+ "z": "f861838.07df98",\r
+ "wires": [\r
+ [\r
+ "2bcfa57c.bd2fea"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2bcfa57c.bd2fea",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3173,\r
+ "y": 333,\r
+ "z": "f861838.07df98",\r
+ "wires": [\r
+ [\r
+ "e18153ce.f19278"\r
+ ]\r
+ ]\r
}\r
]
\ No newline at end of file
"id": "25e7d332.a761fc",\r
"type": "set",\r
"name": "set attachment_param for OTN A",\r
- "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-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
+ "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
"comments": "",\r
"x": 3849,\r
"y": 191,\r
"id": "27bc86e9.1c4e52",\r
"type": "set",\r
"name": "set attachment_param for OTN B",\r
- "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-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
+ "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
"comments": "",\r
"x": 3829,\r
"y": 995,\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1361.490966796875,\r
- "y": 176.57403564453125,\r
+ "x": 1347.490966796875,\r
+ "y": 203.57403564453125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1350,\r
- "y": 223,\r
+ "x": 1336,\r
+ "y": 250,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"id": "dfc9a5db.996c4",\r
"type": "switchNode",\r
"name": "switch allotted-resources_length != 0",\r
- "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources_length != 0`'>\n",\r
+ "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
"x": 1591,\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 1515.0623779296875,\r
- "y": 179.85977172851562,\r
+ "x": 1501.0623779296875,\r
+ "y": 206.85977172851562,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 1519,\r
- "y": 224,\r
- "z": "4d37a11.42c136",\r
- "wires": []\r
- },\r
- {\r
- "id": "ca7ed950.c4257",\r
- "type": "set",\r
- "name": "set the 1st allotted-resource-id",\r
- "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[0].id`\" />\n\n\n",\r
- "comments": "",\r
- "x": 1990,\r
- "y": 198,\r
+ "x": 1505,\r
+ "y": 251,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "ca7ed950.c4257",\r
- "78e29884.225c08"\r
+ "23c06925.0d2eb6",\r
+ "a5814717.4b953",\r
+ "39b144a2.fc3a7c"\r
]\r
]\r
},\r
"id": "50cd8b4c.3fbe34",\r
"type": "set",\r
"name": "set network-route-A",\r
- "xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
+ "xml": "<set>\n<!--<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
"comments": "",\r
- "x": 2370,\r
- "y": 822,\r
+ "x": 2652,\r
+ "y": 843,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "set network-route-B",\r
"xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
"comments": "",\r
- "x": 2371,\r
- "y": 877,\r
+ "x": 2653,\r
+ "y": 898,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!-- AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\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 AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1993,\r
- "y": 273,\r
+ "x": 2275,\r
+ "y": 294,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2209,\r
- "y": 340,\r
+ "x": 2491,\r
+ "y": 361,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2209.490966796875,\r
- "y": 239.573974609375,\r
+ "x": 2491.490966796875,\r
+ "y": 260.573974609375,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2205,\r
- "y": 289,\r
+ "x": 2487,\r
+ "y": 310,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 2387.0625,\r
- "y": 239.8597412109375,\r
+ "x": 2669.0625,\r
+ "y": 260.8597412109375,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2387,\r
- "y": 289,\r
+ "x": 2669,\r
+ "y": 310,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1728,\r
- "y": 762,\r
+ "x": 2010,\r
+ "y": 783,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
- "a6a55952.b90f",\r
"4070a4d0.4176d4",\r
- "60c71e39.2f942"\r
+ "60c71e39.2f942",\r
+ "a6a55952.b90f"\r
]\r
]\r
},\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2019.490966796875,\r
- "y": 740.573974609375,\r
+ "x": 2301.490966796875,\r
+ "y": 761.573974609375,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2008,\r
- "y": 785,\r
+ "x": 2290,\r
+ "y": 806,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 2168.0625,\r
- "y": 740.8597412109375,\r
+ "x": 2450.0625,\r
+ "y": 761.8597412109375,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2167,\r
- "y": 785,\r
+ "x": 2449,\r
+ "y": 806,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2015,\r
- "y": 864,\r
+ "x": 2297,\r
+ "y": 885,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2154,\r
- "y": 864,\r
+ "x": 2436,\r
+ "y": 885,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"260f00b5.585908",\r
"134248ca.e0fa77",\r
"fc2a7bf0.e878b",\r
- "a5814717.4b953",\r
"84749d0f.3038c8",\r
- "39b144a2.fc3a7c",\r
"21292318.735edc",\r
"ce066c5d.e7734",\r
+ "e927f664.5c872",\r
+ "29397b6c.248454",\r
"c19c2198.0de5c",\r
- "303c5717.c426f"\r
+ "488403ee.0379ac"\r
]\r
]\r
},\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2383,\r
- "y": 945,\r
+ "x": 2665,\r
+ "y": 966,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-B'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-B\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2362,\r
- "y": 1546.9998779296875,\r
+ "x": 2644,\r
+ "y": 1567.9998779296875,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2584,\r
- "y": 829,\r
+ "x": 2866,\r
+ "y": 850,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2579.509033203125,\r
- "y": 878.426025390625,\r
+ "x": 2861.509033203125,\r
+ "y": 899.426025390625,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2583.509033203125,\r
- "y": 929.426025390625,\r
+ "x": 2865.509033203125,\r
+ "y": 950.426025390625,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 2732.571533203125,\r
- "y": 828.2857666015625,\r
+ "x": 3014.571533203125,\r
+ "y": 849.2857666015625,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2722.509033203125,\r
- "y": 878.426025390625,\r
+ "x": 3004.509033203125,\r
+ "y": 899.426025390625,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2585,\r
- "y": 1516.9998779296875,\r
+ "x": 2867,\r
+ "y": 1537.9998779296875,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2580.509033203125,\r
- "y": 1566.4259033203125,\r
+ "x": 2862.509033203125,\r
+ "y": 1587.4259033203125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2584.509033203125,\r
- "y": 1617.4259033203125,\r
+ "x": 2866.509033203125,\r
+ "y": 1638.4259033203125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 2733.571533203125,\r
- "y": 1516.28564453125,\r
+ "x": 3015.571533203125,\r
+ "y": 1537.28564453125,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2723.509033203125,\r
- "y": 1566.4259033203125,\r
+ "x": 3005.509033203125,\r
+ "y": 1587.4259033203125,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3397.66650390625,\r
- "y": 973,\r
+ "x": 3679.66650390625,\r
+ "y": 994,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3225,\r
- "y": 974,\r
+ "x": 3507,\r
+ "y": 995,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3234.490966796875,\r
- "y": 1016.5740356445312,\r
+ "x": 3516.490966796875,\r
+ "y": 1037.5740356445312,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3223,\r
- "y": 1063,\r
+ "x": 3505,\r
+ "y": 1084,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 3388.0623779296875,\r
- "y": 1019.8597717285156,\r
+ "x": 3670.0623779296875,\r
+ "y": 1040.8597717285156,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 3392,\r
- "y": 1064,\r
+ "x": 3674,\r
+ "y": 1085,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2745,\r
- "y": 931,\r
+ "x": 3027,\r
+ "y": 952,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2735,\r
- "y": 1618.9998779296875,\r
+ "x": 3017,\r
+ "y": 1639.9998779296875,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3365.66650390625,\r
- "y": 1809,\r
+ "x": 3647.66650390625,\r
+ "y": 1830,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3193,\r
- "y": 1810,\r
+ "x": 3475,\r
+ "y": 1831,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3202.490966796875,\r
- "y": 1852.5740356445312,\r
+ "x": 3484.490966796875,\r
+ "y": 1873.5740356445312,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3191,\r
- "y": 1899,\r
+ "x": 3473,\r
+ "y": 1920,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 3356.0623779296875,\r
- "y": 1855.8597717285156,\r
+ "x": 3638.0623779296875,\r
+ "y": 1876.8597717285156,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 3360,\r
- "y": 1900,\r
+ "x": 3642,\r
+ "y": 1921,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3662,\r
- "y": 957,\r
+ "x": 3944,\r
+ "y": 978,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3885,\r
- "y": 912,\r
+ "x": 4167,\r
+ "y": 933,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3887,\r
- "y": 976,\r
+ "x": 4169,\r
+ "y": 997,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set ltpId",\r
"xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
"comments": "",\r
- "x": 4220,\r
- "y": 870,\r
+ "x": 4502,\r
+ "y": 888,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
"comments": "",\r
- "x": 4049,\r
- "y": 972,\r
+ "x": 4331,\r
+ "y": 993,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4050,\r
- "y": 909,\r
+ "x": 4332,\r
+ "y": 930,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
"comments": "",\r
- "x": 4221,\r
- "y": 975,\r
+ "x": 4503,\r
+ "y": 996,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
"comments": "",\r
- "x": 4222,\r
- "y": 924,\r
+ "x": 4504,\r
+ "y": 945,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\n<parameter name='CBS' value='`$prop.sotn.cbs`' />\n<parameter name='EBS' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3664,\r
- "y": 1116,\r
+ "x": 3946,\r
+ "y": 1137,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3709,\r
- "y": 1026,\r
+ "x": 3991,\r
+ "y": 1047,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
"comments": "",\r
- "x": 3598,\r
- "y": 1067,\r
+ "x": 3880,\r
+ "y": 1088,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3652,\r
- "y": 1813.0001220703125,\r
+ "x": 3934,\r
+ "y": 1834.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3875,\r
- "y": 1768.0001220703125,\r
+ "x": 4157,\r
+ "y": 1789.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3877,\r
- "y": 1832.0001220703125,\r
+ "x": 4159,\r
+ "y": 1853.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set ltpId",\r
"xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
"comments": "",\r
- "x": 4210,\r
- "y": 1726.0001220703125,\r
+ "x": 4492,\r
+ "y": 1747.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
"comments": "",\r
- "x": 4036,\r
- "y": 1851.0001220703125,\r
+ "x": 4318,\r
+ "y": 1872.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4040,\r
- "y": 1765.0001220703125,\r
+ "x": 4322,\r
+ "y": 1786.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
"comments": "",\r
- "x": 4211,\r
- "y": 1831.0001220703125,\r
+ "x": 4493,\r
+ "y": 1852.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
"comments": "",\r
- "x": 4206,\r
- "y": 1780.0001220703125,\r
+ "x": 4488,\r
+ "y": 1801.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\n<parameter name='CBS' value='`$prop.sotn.cbs`' />\n<parameter name='EBS' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3654,\r
- "y": 1972.0001220703125,\r
+ "x": 3936,\r
+ "y": 1993.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3699,\r
- "y": 1882.0001220703125,\r
+ "x": 3981,\r
+ "y": 1903.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"name": "TODO: FIXME",\r
"info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
"comments": "",\r
- "x": 3588,\r
- "y": 1920.0001220703125,\r
+ "x": 3870,\r
+ "y": 1941.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2563,\r
- "y": 2047,\r
+ "x": 2845,\r
+ "y": 2068,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"name": "set attachment_param",\r
"xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n\n<!--<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />-->\n",\r
"comments": "",\r
- "x": 2357,\r
- "y": 1987,\r
+ "x": 2639,\r
+ "y": 1969,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "TODO: FIXME",\r
"info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)",\r
"comments": "",\r
- "x": 2331,\r
- "y": 1940,\r
+ "x": 2613,\r
+ "y": 1922,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"id": "7ca2c5af.473d34",\r
"type": "save",\r
"name": "save vpn-binding A resource (aka. OTN domainA) in AAI",\r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='access-provider-id' value='`$domain-A.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-A.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-A.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<!--<parameter name='src-access-ltp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='src-access-ltp-id' value='' />\n<parameter name='dst-access-node-id' value='`$domain-A.node-id`' />\n<parameter name='dst-access-ltp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<parameter name='access-provider-id' value='`$domain-A.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-A.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-A.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<!--<parameter name='src-access-ltp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='src-access-ltp-id' value='' />\n<parameter name='dst-access-node-id' value='`$domain-A.node-id`' />\n<parameter name='dst-access-ltp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2439,\r
- "y": 2206,\r
+ "x": 2721,\r
+ "y": 2227,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2442.5,\r
- "y": 2276,\r
+ "x": 2724.5,\r
+ "y": 2297,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3090.5,\r
- "y": 2195,\r
+ "x": 3372.5,\r
+ "y": 2216,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3092.5,\r
- "y": 2234,\r
+ "x": 3374.5,\r
+ "y": 2255,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \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 force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3792,\r
- "y": 1164,\r
+ "x": 4074,\r
+ "y": 1185,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \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 force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3781,\r
- "y": 2037.0001220703125,\r
+ "x": 4063,\r
+ "y": 2058.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2739,\r
- "y": 2213,\r
+ "x": 3021,\r
+ "y": 2234,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2879.500244140625,\r
- "y": 2214.25390625,\r
+ "x": 3161.500244140625,\r
+ "y": 2235.25390625,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"name": "TODO: FIXME: do we need this relationship?",\r
"info": "",\r
"comments": "",\r
- "x": 3127,\r
- "y": 2154,\r
+ "x": 3409,\r
+ "y": 2175,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "TODO: FIXME: put proper values",\r
"info": "",\r
"comments": "",\r
- "x": 2406,\r
- "y": 2166,\r
+ "x": 2688,\r
+ "y": 2187,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"id": "b46ca414.99697",\r
"type": "save",\r
"name": "save vpn-binding B resource (aka. OTN domainB) in AAI",\r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='access-provider-id' value='`$domain-B.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-B.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-B.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$domain-B.node-id`' />\n<parameter name='src-access-ltp-id' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='dst-access-ltp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-access-ltp-id' value='' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<parameter name='access-provider-id' value='`$domain-B.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-B.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-B.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$domain-B.node-id`' />\n<parameter name='src-access-ltp-id' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='dst-access-ltp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-access-ltp-id' value='' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2442,\r
- "y": 2494,\r
+ "x": 2724,\r
+ "y": 2515,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "TODO: FIXME: do we need this relationship?",\r
"info": "",\r
"comments": "",\r
- "x": 3130,\r
- "y": 2434,\r
+ "x": 3412,\r
+ "y": 2455,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3093.5,\r
- "y": 2475,\r
+ "x": 3375.5,\r
+ "y": 2496,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3095.5,\r
- "y": 2514,\r
+ "x": 3377.5,\r
+ "y": 2535,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2882.500244140625,\r
- "y": 2494.25390625,\r
+ "x": 3164.500244140625,\r
+ "y": 2515.25390625,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2742,\r
- "y": 2493,\r
+ "x": 3024,\r
+ "y": 2514,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "TODO: FIXME: put proper values",\r
"info": "",\r
"comments": "",\r
- "x": 2422,\r
- "y": 2454,\r
+ "x": 2704,\r
+ "y": 2475,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2440.5,\r
- "y": 2534,\r
+ "x": 2722.5,\r
+ "y": 2555,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"name": "TODO: FIXME:",\r
"info": "set attachment param and send request to NCE-T\nfor bandwidth matrix\nmay require a new template for JSON body",\r
"comments": "",\r
- "x": 2314,\r
- "y": 2617,\r
+ "x": 2596,\r
+ "y": 2638,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"id": "fc2a7bf0.e878b",\r
"type": "set",\r
"name": "set attachment_param domain A",\r
- "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='otn-source-node' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='otn-dest-node' value='`$domain-A.node-id`' />\n<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />\n<!--<parameter name='src-ttp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+ "xml": "<set>\n<!--<parameter name='request-id' value='`$prop.vpn-binding-domainA-uuid`' />-->\n<!--<parameter name='otn-source-node' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='otn-dest-node' value='`$domain-A.node-id`' />-->\n<!--<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='dst-ttp-id' value='`$domain-A.tunnel-tp-id`' />-->\n<!--<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n\n\n\n<parameter name='`otn-tunnel-sliceA-list[$idx].request-id`' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].otn-source-node`' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].otn-dest-node`' value='`$domain-A.node-id`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-sliceA-list[$idx].src-ttp-id`' value='' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].dst-ttp-id`' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-sliceA-list_length`' value='`$idx + 1`' />\n\n<!--otn-tunnel-slice-list[$idx]-->\n\n",\r
"comments": "",\r
- "x": 2379,\r
- "y": 2662,\r
+ "x": 2661,\r
+ "y": 2683,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"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
"comments": "",\r
"outputs": 1,\r
- "x": 4836,\r
- "y": 684,\r
+ "x": 5118,\r
+ "y": 705,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2389,\r
- "y": 340,\r
+ "x": 2671,\r
+ "y": 361,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='logical-link'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1319.0001220703125,\r
- "y": 757.0001220703125,\r
+ "x": 1601.0001220703125,\r
+ "y": 778.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2057,\r
- "y": 463,\r
+ "x": 2339,\r
+ "y": 484,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='false'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2367,\r
- "y": 470,\r
+ "x": 2649,\r
+ "y": 491,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2366,\r
- "y": 524,\r
+ "x": 2648,\r
+ "y": 545,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
{\r
"id": "badc6972.d68008",\r
"type": "set",\r
- "name": "set the 1st logical-link-name",\r
+ "name": "set the current logical-link-name",\r
"xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
"comments": "",\r
- "x": 1739,\r
- "y": 707,\r
+ "x": 2021,\r
+ "y": 728,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 1496,\r
- "y": 750,\r
+ "x": 1778,\r
+ "y": 771,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "Question?",\r
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
"comments": "",\r
- "x": 2925,\r
- "y": 936,\r
+ "x": 3207,\r
+ "y": 957,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2968,\r
- "y": 1001,\r
+ "x": 3250,\r
+ "y": 1022,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2965,\r
- "y": 1845,\r
+ "x": 3247,\r
+ "y": 1866,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "Question?",\r
"info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
"comments": "",\r
- "x": 2926,\r
- "y": 1789,\r
+ "x": 3208,\r
+ "y": 1810,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\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 AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2682,\r
- "y": 287,\r
+ "x": 2964,\r
+ "y": 308,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2955.490966796875,\r
- "y": 179.573974609375,\r
+ "x": 3237.490966796875,\r
+ "y": 200.573974609375,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 3133.0625,\r
- "y": 179.8597412109375,\r
+ "x": 3415.0625,\r
+ "y": 200.8597412109375,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2951,\r
- "y": 229,\r
+ "x": 3233,\r
+ "y": 250,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 3133,\r
- "y": 229,\r
+ "x": 3415,\r
+ "y": 250,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2955,\r
- "y": 280,\r
+ "x": 3237,\r
+ "y": 301,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3135,\r
- "y": 280,\r
+ "x": 3417,\r
+ "y": 301,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2626,\r
- "y": 504,\r
+ "x": 2908,\r
+ "y": 525,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2906,\r
- "y": 504,\r
+ "x": 3188,\r
+ "y": 525,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='network-policy'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3111,\r
- "y": 478,\r
+ "x": 3393,\r
+ "y": 499,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3287.9998779296875,\r
- "y": 470.9998779296875,\r
+ "x": 3569.9998779296875,\r
+ "y": 491.9998779296875,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set the 1st network-policy-id",\r
"xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
"comments": "",\r
- "x": 3530.9998779296875,\r
- "y": 427.9998779296875,\r
+ "x": 3812.9998779296875,\r
+ "y": 448.9998779296875,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3519.9998779296875,\r
- "y": 482.9998779296875,\r
+ "x": 3801.9998779296875,\r
+ "y": 503.9998779296875,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3773,\r
- "y": 369,\r
+ "x": 4055,\r
+ "y": 390,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 3921.571533203125,\r
- "y": 369.2857666015625,\r
+ "x": 4203.571533203125,\r
+ "y": 390.2857666015625,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 3920.509033203125,\r
- "y": 413.426025390625,\r
+ "x": 4202.509033203125,\r
+ "y": 434.426025390625,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3761.509033203125,\r
- "y": 413.426025390625,\r
+ "x": 4043.509033203125,\r
+ "y": 434.426025390625,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3768.509033203125,\r
- "y": 492.426025390625,\r
+ "x": 4050.509033203125,\r
+ "y": 513.426025390625,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3907.509033203125,\r
- "y": 492.426025390625,\r
+ "x": 4189.509033203125,\r
+ "y": 513.426025390625,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set the max bandwidth",\r
"xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
"comments": "",\r
- "x": 4113,\r
- "y": 490,\r
+ "x": 4395,\r
+ "y": 511,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2969,\r
- "y": 671,\r
+ "x": 3251,\r
+ "y": 692,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3192,\r
- "y": 657,\r
+ "x": 3474,\r
+ "y": 678,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3194,\r
- "y": 690,\r
+ "x": 3476,\r
+ "y": 711,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
"comments": "",\r
- "x": 3337,\r
- "y": 687,\r
+ "x": 3619,\r
+ "y": 708,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3340,\r
- "y": 650,\r
+ "x": 3622,\r
+ "y": 671,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n $param-prefix-domainA-pnfName[1] + '-' +\n $param-prefix-domainA-pnfName[2] + '-' +\n $param-prefix-domainA-pnfName[3] + '-' +\n $param-prefix-domainA-pnfName[4] + '-' +\n $param-prefix-domainA-pnfName[5] + '-' +\n $param-prefix-domainA-pnfName[6] + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />\n",\r
"comments": "",\r
- "x": 3502,\r
- "y": 645,\r
+ "x": 3784,\r
+ "y": 666,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2983,\r
- "y": 1507.9998779296875,\r
+ "x": 3265,\r
+ "y": 1528.9998779296875,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3206,\r
- "y": 1493.9998779296875,\r
+ "x": 3488,\r
+ "y": 1514.9998779296875,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3208,\r
- "y": 1526.9998779296875,\r
+ "x": 3490,\r
+ "y": 1547.9998779296875,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
"comments": "",\r
- "x": 3351,\r
- "y": 1523.9998779296875,\r
+ "x": 3633,\r
+ "y": 1544.9998779296875,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 3354,\r
- "y": 1486.9998779296875,\r
+ "x": 3636,\r
+ "y": 1507.9998779296875,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set pnf-name",\r
"xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n $param-prefix-domainB-pnfName[1] + '-' +\n $param-prefix-domainB-pnfName[2] + '-' +\n $param-prefix-domainB-pnfName[3] + '-' +\n $param-prefix-domainB-pnfName[4] + '-' +\n $param-prefix-domainB-pnfName[5] + '-' +\n $param-prefix-domainB-pnfName[6] + '-' +\n $param-prefix-domainB-pnfName[7] + '-' +\n $param-prefix-domainB-pnfName[8]`\" />\n",\r
"comments": "",\r
- "x": 3548,\r
- "y": 1490,\r
+ "x": 3830,\r
+ "y": 1511,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainA-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2445,\r
- "y": 2128,\r
+ "x": 2727,\r
+ "y": 2149,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainB-uuid\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2443,\r
- "y": 2416,\r
+ "x": 2725,\r
+ "y": 2437,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3616,\r
- "y": 1241,\r
+ "x": 3898,\r
+ "y": 1262,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3822,\r
- "y": 1241,\r
+ "x": 4104,\r
+ "y": 1262,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='tunnel-termination-point'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4037.28564453125,\r
- "y": 1240.82177734375,\r
+ "x": 4319.28564453125,\r
+ "y": 1261.82177734375,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4244.1171875,\r
- "y": 1241.34033203125,\r
+ "x": 4526.1171875,\r
+ "y": 1262.34033203125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set source ttp-id",\r
"xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 4459.1171875,\r
- "y": 1203.34033203125,\r
+ "x": 4741.1171875,\r
+ "y": 1224.34033203125,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4456.1171875,\r
- "y": 1242.34033203125,\r
+ "x": 4738.1171875,\r
+ "y": 1263.34033203125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4411.6171875,\r
- "y": 1284.34033203125,\r
+ "x": 4693.6171875,\r
+ "y": 1305.34033203125,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4636.6171875,\r
- "y": 1241.34033203125,\r
+ "x": 4918.6171875,\r
+ "y": 1262.34033203125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4794.6171875,\r
- "y": 1241.34033203125,\r
+ "x": 5076.6171875,\r
+ "y": 1262.34033203125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set source tunnel tp ip",\r
"xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
"comments": "",\r
- "x": 5001.6171875,\r
- "y": 1241.34033203125,\r
+ "x": 5283.6171875,\r
+ "y": 1262.34033203125,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3613,\r
- "y": 2110.0001220703125,\r
+ "x": 3895,\r
+ "y": 2131.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3819,\r
- "y": 2110.0001220703125,\r
+ "x": 4101,\r
+ "y": 2131.0001220703125,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='tunnel-termination-point'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4034.28564453125,\r
- "y": 2109.8218994140625,\r
+ "x": 4316.28564453125,\r
+ "y": 2130.8218994140625,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4241.1171875,\r
- "y": 2110.3404541015625,\r
+ "x": 4523.1171875,\r
+ "y": 2131.3404541015625,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set destination ttp-id",\r
"xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 4456.1171875,\r
- "y": 2072.3404541015625,\r
+ "x": 4738.1171875,\r
+ "y": 2093.3404541015625,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4453.1171875,\r
- "y": 2111.3404541015625,\r
+ "x": 4735.1171875,\r
+ "y": 2132.3404541015625,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4408.6171875,\r
- "y": 2153.3404541015625,\r
+ "x": 4690.6171875,\r
+ "y": 2174.3404541015625,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4633.6171875,\r
- "y": 2110.3404541015625,\r
+ "x": 4915.6171875,\r
+ "y": 2131.3404541015625,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4791.6171875,\r
- "y": 2110.3404541015625,\r
+ "x": 5073.6171875,\r
+ "y": 2131.3404541015625,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set destination tunnel tp ip",\r
"xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
"comments": "",\r
- "x": 4998.6171875,\r
- "y": 2110.3404541015625,\r
+ "x": 5280.6171875,\r
+ "y": 2131.3404541015625,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"id": "84749d0f.3038c8",\r
"type": "set",\r
"name": "set attachment_param domain B",\r
- "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='otn-source-node' value='`$domain-B.node-id`' />\n<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='bw-odu' value='`$maximum-bandwidth /10`' />-->\n<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />\n<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />\n<!--<parameter name='dst-ttp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+ "xml": "<set>\n<!--<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />-->\n<!--<parameter name='otn-source-node' value='`$domain-B.node-id`' />-->\n<!--<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />-->\n<!--<parameter name='dst-ttp-id' value='' />-->\n<!--<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n\n\n<parameter name='`otn-tunnel-sliceB-list[$idx].request-id`' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].otn-source-node`' value='`$domain-B.node-id`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].otn-dest-node`' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-sliceB-list[$idx].src-ttp-id`' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].dst-ttp-id`' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-sliceB-list_length`' value='`$idx + 1`' />\n",\r
"comments": "",\r
- "x": 2374,\r
- "y": 3037,\r
+ "x": 2656,\r
+ "y": 3058,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"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
"comments": "",\r
"outputs": 1,\r
- "x": 3529,\r
- "y": 717,\r
+ "x": 3811,\r
+ "y": 738,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3724.5001220703125,\r
- "y": 669,\r
+ "x": 4006.5001220703125,\r
+ "y": 690,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3716.5001220703125,\r
- "y": 724,\r
+ "x": 3998.5001220703125,\r
+ "y": 745,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3721.5001220703125,\r
- "y": 781,\r
+ "x": 4003.5001220703125,\r
+ "y": 802,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 3873.5001220703125,\r
- "y": 782,\r
+ "x": 4155.5001220703125,\r
+ "y": 803,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 3884.5001220703125,\r
- "y": 727,\r
+ "x": 4166.5001220703125,\r
+ "y": 748,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3868.8824462890625,\r
- "y": 666.6556701660156,\r
+ "x": 4150.8824462890625,\r
+ "y": 687.6556701660156,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4451,\r
- "y": 685,\r
+ "x": 4733,\r
+ "y": 706,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4628,\r
- "y": 677,\r
+ "x": 4910,\r
+ "y": 698,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4053,\r
- "y": 681,\r
+ "x": 4335,\r
+ "y": 702,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4248,\r
- "y": 681,\r
+ "x": 4530,\r
+ "y": 702,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set esr-thirdparty-sdnc domainA id",\r
"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
"comments": "",\r
- "x": 4866,\r
- "y": 632,\r
+ "x": 5148,\r
+ "y": 653,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5046,\r
- "y": 675,\r
+ "x": 5328,\r
+ "y": 696,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5038,\r
- "y": 730,\r
+ "x": 5320,\r
+ "y": 751,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5043,\r
- "y": 787,\r
+ "x": 5325,\r
+ "y": 808,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 5195,\r
- "y": 788,\r
+ "x": 5477,\r
+ "y": 809,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 5206,\r
- "y": 733,\r
+ "x": 5488,\r
+ "y": 754,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5190.38232421875,\r
- "y": 672.6556701660156,\r
+ "x": 5472.38232421875,\r
+ "y": 693.6556701660156,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set controller domainA data",\r
"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
"comments": "",\r
- "x": 5405,\r
- "y": 669,\r
+ "x": 5687,\r
+ "y": 690,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"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
"comments": "",\r
"outputs": 1,\r
- "x": 3570,\r
- "y": 1558,\r
+ "x": 3852,\r
+ "y": 1579,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3765.5001220703125,\r
- "y": 1510,\r
+ "x": 4047.5001220703125,\r
+ "y": 1531,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3757.5001220703125,\r
- "y": 1565,\r
+ "x": 4039.5001220703125,\r
+ "y": 1586,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3762.5001220703125,\r
- "y": 1622,\r
+ "x": 4044.5001220703125,\r
+ "y": 1643,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 3914.5001220703125,\r
- "y": 1623,\r
+ "x": 4196.5001220703125,\r
+ "y": 1644,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 3925.5001220703125,\r
- "y": 1568,\r
+ "x": 4207.5001220703125,\r
+ "y": 1589,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3909.8824462890625,\r
- "y": 1507.6556701660156,\r
+ "x": 4191.8824462890625,\r
+ "y": 1528.6556701660156,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4492,\r
- "y": 1526,\r
+ "x": 4774,\r
+ "y": 1547,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4669,\r
- "y": 1518,\r
+ "x": 4951,\r
+ "y": 1539,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4094,\r
- "y": 1522,\r
+ "x": 4376,\r
+ "y": 1543,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4289,\r
- "y": 1522,\r
+ "x": 4571,\r
+ "y": 1543,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"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
"comments": "",\r
"outputs": 1,\r
- "x": 4877,\r
- "y": 1525,\r
+ "x": 5159,\r
+ "y": 1546,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set esr-thirdparty-sdnc domainB id",\r
"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
"comments": "",\r
- "x": 4907,\r
- "y": 1473,\r
+ "x": 5189,\r
+ "y": 1494,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5087,\r
- "y": 1516,\r
+ "x": 5369,\r
+ "y": 1537,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5079,\r
- "y": 1571,\r
+ "x": 5361,\r
+ "y": 1592,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5084,\r
- "y": 1628,\r
+ "x": 5366,\r
+ "y": 1649,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 5236,\r
- "y": 1629,\r
+ "x": 5518,\r
+ "y": 1650,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 5247,\r
- "y": 1574,\r
+ "x": 5529,\r
+ "y": 1595,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 5231.38232421875,\r
- "y": 1513.6556701660156,\r
+ "x": 5513.38232421875,\r
+ "y": 1534.6556701660156,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set controller domainB data",\r
"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
"comments": "",\r
- "x": 5446,\r
- "y": 1510,\r
+ "x": 5728,\r
+ "y": 1531,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"id": "a5814717.4b953",\r
"type": "execute",\r
"name": "execute RestApiCallNode slice creation domainA",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\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`\" />",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceA-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\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`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2425,\r
- "y": 2720,\r
+ "x": 1959,\r
+ "y": 2744,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2691,\r
- "y": 2700,\r
+ "x": 2242,\r
+ "y": 2724,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2692.000213623047,\r
- "y": 2750.99990940094,\r
+ "x": 2243.000213623047,\r
+ "y": 2774.99990940094,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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 slice creation api for domain A\" />\n",\r
"comments": "",\r
- "x": 2831.0002479553223,\r
- "y": 2700.0000009536743,\r
+ "x": 2382.0002479553223,\r
+ "y": 2724.0000009536743,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2837.02725982666,\r
- "y": 2748.745394706726,\r
+ "x": 2388.02725982666,\r
+ "y": 2772.745394706726,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"id": "39b144a2.fc3a7c",\r
"type": "execute",\r
"name": "execute RestApiCallNode slice creation domainB",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\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=\"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
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceB-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\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=\"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
"comments": "",\r
"outputs": 1,\r
- "x": 2425,\r
- "y": 3092,\r
+ "x": 1959,\r
+ "y": 3110,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2691,\r
- "y": 3072,\r
+ "x": 2233,\r
+ "y": 3090,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2692.000213623047,\r
- "y": 3122.99990940094,\r
+ "x": 2234.000213623047,\r
+ "y": 3140.99990940094,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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 slice creation api for domain B\" />\n",\r
"comments": "",\r
- "x": 2831.0002479553223,\r
- "y": 3072.0000009536743,\r
+ "x": 2373.0002479553223,\r
+ "y": 3090.0000009536743,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2837.02725982666,\r
- "y": 3120.745394706726,\r
+ "x": 2379.02725982666,\r
+ "y": 3138.745394706726,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2530,\r
- "y": 450,\r
+ "x": 2812,\r
+ "y": 471,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2811,\r
- "y": 406,\r
+ "x": 3093,\r
+ "y": 427,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3073,\r
- "y": 406,\r
+ "x": 3355,\r
+ "y": 427,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='network-resource'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4454,\r
- "y": 759,\r
+ "x": 4736,\r
+ "y": 780,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4631,\r
- "y": 751,\r
+ "x": 4913,\r
+ "y": 772,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "set domainA ethernet layer network-id",\r
"xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 4866,\r
- "y": 875,\r
+ "x": 5148,\r
+ "y": 896,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"name": "set domainB ethernet layer network-id",\r
"xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
"comments": "",\r
- "x": 4906,\r
- "y": 1715,\r
+ "x": 5188,\r
+ "y": 1736,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4671,\r
- "y": 1591,\r
+ "x": 4953,\r
+ "y": 1612,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='network-resource'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4494,\r
- "y": 1599,\r
+ "x": 4776,\r
+ "y": 1620,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\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=\"patch\"/>\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
"comments": "",\r
"outputs": 1,\r
- "x": 2427,\r
- "y": 2853,\r
+ "x": 2721,\r
+ "y": 2870,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2693,\r
- "y": 2833,\r
+ "x": 2987,\r
+ "y": 2850,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2694.000213623047,\r
- "y": 2883.99990940094,\r
+ "x": 2988.000213623047,\r
+ "y": 2900.99990940094,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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 UNI Coloring for domain A\" />\n",\r
"comments": "",\r
- "x": 2833.0002479553223,\r
- "y": 2833.0000009536743,\r
+ "x": 3127.0002479553223,\r
+ "y": 2850.0000009536743,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2839.02725982666,\r
- "y": 2881.745394706726,\r
+ "x": 3133.02725982666,\r
+ "y": 2898.745394706726,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\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=\"patch\"/>\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
"comments": "",\r
"outputs": 1,\r
- "x": 2427,\r
- "y": 3219,\r
+ "x": 2721,\r
+ "y": 3236,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2693,\r
- "y": 3199,\r
+ "x": 2987,\r
+ "y": 3216,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2694.000213623047,\r
- "y": 3249.99990940094,\r
+ "x": 2988.000213623047,\r
+ "y": 3266.99990940094,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[\r
"name": "return failure",\r
"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 UNI coloring for domain B\" />\n",\r
"comments": "",\r
- "x": 2833.0002479553223,\r
- "y": 3199.0000009536743,\r
+ "x": 3127.0002479553223,\r
+ "y": 3216.0000009536743,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2839.02725982666,\r
- "y": 3247.745394706726,\r
+ "x": 3133.02725982666,\r
+ "y": 3264.745394706726,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"name": "set the max bandwidth",\r
"xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
"comments": "",\r
- "x": 4112,\r
- "y": 536,\r
+ "x": 4394,\r
+ "y": 557,\r
"z": "4d37a11.42c136",\r
"wires": []\r
},\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2468,\r
- "y": 730,\r
+ "x": 2750,\r
+ "y": 691,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2448,\r
- "y": 770,\r
+ "x": 2731,\r
+ "y": 741,\r
"z": "4d37a11.42c136",\r
"wires": [\r
[]\r
]\r
+ },\r
+ {\r
+ "id": "23c06925.0d2eb6",\r
+ "type": "for",\r
+ "name": "for each allotted-resource",\r
+ "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1988,\r
+ "y": 243,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "f805b6b.c60f548",\r
+ "78e29884.225c08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f805b6b.c60f548",\r
+ "type": "set",\r
+ "name": "set the current allotted-resource-id",\r
+ "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 2272,\r
+ "y": 213,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e927f664.5c872",\r
+ "type": "set",\r
+ "name": "set query_param",\r
+ "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
+ "comments": "",\r
+ "x": 2628,\r
+ "y": 2021,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "29397b6c.248454",\r
+ "type": "set",\r
+ "name": "unset parameters",\r
+ "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",\r
+ "comments": "",\r
+ "x": 2618,\r
+ "y": 3327,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "488403ee.0379ac",\r
+ "type": "set",\r
+ "name": "set new ethernet-service-name",\r
+ "xml": "<set>\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 2688,\r
+ "y": 786,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
}\r
]
\ No newline at end of file
<block atomic="true">\r
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`" />\r
- <parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url`" />\r
+ <parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url + '?ethsrvType=' + $prop.ethsrvType`" />\r
<parameter name="restapiUser" value="`$prop.oof.user`" />\r
<parameter name="restapiPassword" value="`$prop.oof.password`" />\r
<parameter name="format" value="json"/>\r
</execute>\r
<for index='vidx' start='0' end='`$otn-oof.solutions_length`' >\r
<block atomic="true">\r
+ <set>\r
+ <parameter name='otn-oof.link-name' value='' />\r
+ <parameter name='tmp.aai.cross-link' value='' />\r
+ <parameter name='tmp.aai.cross-link.' value='' />\r
+ <parameter name='tmp.aai.cross-link.link-role' value='' />\r
+ </set>\r
<set>\r
<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].link`' />\r
+ <parameter name='otn-oof.start-node' value='`$otn-oof.solutions[$vidx].start_node`' />\r
+ <parameter name='otn-oof.end-node' value='`$otn-oof.solutions[$vidx].end_node`' />\r
</set>\r
<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
resource="logical-link"\r
<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\r
<outcome value='p-interface'>\r
<block>\r
- <set>\r
- <parameter name='tmp.cross-link.src-ltpId' value="`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`" />\r
- <parameter name='tmp.cross-link.dst-ltpId' value="`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[1].relationship-value`" />\r
- <parameter name='tmp.src-pnf-name' value="`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`" />\r
- <parameter name='tmp.dst-pnf-name' value="`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[0].relationship-value`" />\r
- </set>\r
- <break/>\r
+ <switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.start-node`'>\r
+ <outcome value='true'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='tmp.cross-link.src-ltpId' value="`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`" />\r
+ <parameter name='tmp.src-pnf-name' value="`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`" />\r
+ </set>\r
+ </block>\r
+ </outcome>\r
+ </switch>\r
+ <switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.end-node`'>\r
+ <outcome value='true'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='tmp.cross-link.dst-ltpId' value="`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`" />\r
+ <parameter name='tmp.dst-pnf-name' value="`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`" />\r
+ </set>\r
+ </block>\r
+ </outcome>\r
+ </switch>\r
</block>\r
</outcome>\r
</switch>\r
<set>\r
<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingA.src-access-node-id`' />\r
<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\r
- <parameter name='dst-tpn-id' value='1' />\r
+ <!--<parameter name='dst-tpn-id' value='1' />-->\r
+ <parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingA.customer-vpn-id`' />\r
<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingA.dst-access-ltp-id`' />\r
<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\r
<parameter name='otn-tunnel-name-src-domain' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\r
<set>\r
<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingB.src-access-node-id`' />\r
<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingB.dst-access-node-id`' />\r
- <parameter name='src-tpn-id' value='1' />\r
+ <!--<parameter name='src-tpn-id' value='1' />-->\r
+ <parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingB.customer-vpn-id`' />\r
<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingB.src-access-ltp-id`' />\r
<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\r
<parameter name='otn-tunnel-name-dst-domain' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\r
<!-- local-only="false"-->\r
<!-- force="true" pfx="tmp.aai.service-instance">-->\r
<outcome value='success'>\r
- <switch test='`$tmp.aai.service-instance.allotted-resources_length != 0`'>\r
+ <switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\r
<outcome value='false'></outcome>\r
<outcome value='true'>\r
<block>\r
- <set>\r
- <parameter name='allotted-resource-id' value="`$tmp.aai.service-instance.allotted-resources.allotted-resource[0].id`" />\r
- </set>\r
- <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->\r
- <!-- resource="allotted-resource"-->\r
- <!-- key='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\r
- <!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\r
- <!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\r
- <!-- AND allotted-resource.id = $allotted-resource-id'-->\r
- <!-- local-only="false"-->\r
- <!-- force="true" pfx="tmp.aai.allotted-resource">-->\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="allotted-resource"\r
- key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\r
+ <for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\r
+ <set>\r
+ <parameter name='allotted-resource-id' value="`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`" />\r
+ </set>\r
+ <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->\r
+ <!-- resource="allotted-resource"-->\r
+ <!-- key='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\r
+ <!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\r
+ <!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\r
+ <!-- AND allotted-resource.id = $allotted-resource-id'-->\r
+ <!-- local-only="false"-->\r
+ <!-- force="true" pfx="tmp.aai.allotted-resource">-->\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="allotted-resource"\r
+ key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\r
AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id\r
AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\r
AND allotted-resource.id = $allotted-resource-id'\r
- local-only="false"\r
- force="true" pfx="tmp.aai.allotted-resource">\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value='' />\r
- </return>\r
- </outcome>\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="allotted-resource:relationship-list"\r
- key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\r
+ local-only="false"\r
+ force="true" pfx="tmp.aai.allotted-resource">\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='error-code' value='' />\r
+ <parameter name='error-message' value='' />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='success'>\r
+ <block atomic="true">\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="allotted-resource:relationship-list"\r
+ key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\r
AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id\r
AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\r
AND allotted-resource.id = $allotted-resource-id'\r
- local-only="false"\r
- force="true" pfx="tmp.aai.allotted-resource.relationship-list">\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value='' />\r
- </return>\r
- </outcome>\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\r
- <outcome value='false'></outcome>\r
- <outcome value='true'>\r
- <block atomic="true">\r
- <for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\r
- <switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\r
- <outcome value='network-policy'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='network-policy-id' value="`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`" />\r
- </set>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="network-policy"\r
- key='network-policy.network-policy-id = $network-policy-id'\r
- local-only="false"\r
- force="true" pfx="tmp.aai.network-policy">\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value='' />\r
- </return>\r
- </outcome>\r
- <outcome value='success'>\r
- <block>\r
- <set>\r
- <parameter name='maximum-bandwidth' value="`$tmp.aai.network-policy.max-bandwidth`" />\r
- <parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\r
- </set>\r
- <set>\r
- <parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\r
- </set>\r
- </block>\r
- </outcome>\r
- </get-resource>\r
- </block>\r
- </outcome>\r
- </switch>\r
- </for>\r
- <for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\r
- <switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\r
- <outcome value='logical-link'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='logical-link-name' value="`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`" />\r
- </set>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="logical-link"\r
- key='logical-link.link-name = $logical-link-name'\r
- local-only="false"\r
- force="true" pfx="tmp.aai.logical-link">\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value='' />\r
- </return>\r
- </outcome>\r
- <outcome value='success'>\r
- <block>\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
- <parameter name="ctx-destination" value="prop.ethernet-service-name"/>\r
- </execute>\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
- <parameter name="ctx-destination" value="prop.otn-tunnel-name"/>\r
- </execute>\r
- <set>\r
- <parameter name='network-route-A' value="`$tmp.aai.logical-link.link-name`" />\r
- </set>\r
- <set>\r
- <parameter name='network-route-B' value="`$tmp.aai.logical-link.link-name2`" />\r
- </set>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="network-route"\r
- key='network-route.route-id = $network-route-A'\r
- local-only="false"\r
- force="true" pfx="tmp.aai.network-route-A">\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value='' />\r
- </return>\r
- </outcome>\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
- <parameter name="original_string" value='`$tmp.aai.network-route-A.next-hop`'/>\r
- <!--<parameter name="regex" value="[^-]+$"/>-->\r
- <parameter name="regex" value="[-]+"/>\r
- <parameter name="ctx_memory_result_key" value="param-prefix-domainA-pnfName"/>\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='tmp.src.domainA.pnf-name' value="`$param-prefix-domainA-pnfName[0] + '-' +\r
+ local-only="false"\r
+ force="true" pfx="tmp.aai.allotted-resource.relationship-list">\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='error-code' value='' />\r
+ <parameter name='error-message' value='' />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='success'>\r
+ <block atomic="true">\r
+ <switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\r
+ <outcome value='false'></outcome>\r
+ <outcome value='true'>\r
+ <block atomic="true">\r
+ <for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\r
+ <switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\r
+ <outcome value='network-policy'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='network-policy-id' value="`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`" />\r
+ </set>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="network-policy"\r
+ key='network-policy.network-policy-id = $network-policy-id'\r
+ local-only="false"\r
+ force="true" pfx="tmp.aai.network-policy">\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='error-code' value='' />\r
+ <parameter name='error-message' value='' />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='success'>\r
+ <block>\r
+ <set>\r
+ <parameter name='maximum-bandwidth' value="`$tmp.aai.network-policy.max-bandwidth`" />\r
+ <parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\r
+ </set>\r
+ <set>\r
+ <parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\r
+ </set>\r
+ </block>\r
+ </outcome>\r
+ </get-resource>\r
+ </block>\r
+ </outcome>\r
+ </switch>\r
+ </for>\r
+ <for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\r
+ <switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\r
+ <outcome value='logical-link'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='logical-link-name' value="`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`" />\r
+ </set>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="logical-link"\r
+ key='logical-link.link-name = $logical-link-name'\r
+ local-only="false"\r
+ force="true" pfx="tmp.aai.logical-link">\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='error-code' value='' />\r
+ <parameter name='error-message' value='' />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='success'>\r
+ <block>\r
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
+ <parameter name="ctx-destination" value="prop.otn-tunnel-name"/>\r
+ </execute>\r
+ <set>\r
+ <parameter name='prop.ethernet-service-name' value="`$tmp.aai.logical-link.link-name`" />\r
+ </set>\r
+ <set>\r
+ <!--<parameter name='network-route-A' value="`$tmp.aai.logical-link.link-name`" />-->\r
+ <parameter name='network-route-A' value="`$tmp.aai.logical-link.link-id`" />\r
+ </set>\r
+ <set>\r
+ <parameter name='network-route-B' value="`$tmp.aai.logical-link.link-name2`" />\r
+ </set>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="network-route"\r
+ key='network-route.route-id = $network-route-A'\r
+ local-only="false"\r
+ force="true" pfx="tmp.aai.network-route-A">\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='error-code' value='' />\r
+ <parameter name='error-message' value='' />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='success'>\r
+ <block atomic="true">\r
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
+ <parameter name="original_string" value='`$tmp.aai.network-route-A.next-hop`'/>\r
+ <!--<parameter name="regex" value="[^-]+$"/>-->\r
+ <parameter name="regex" value="[-]+"/>\r
+ <parameter name="ctx_memory_result_key" value="param-prefix-domainA-pnfName"/>\r
+ <outcome value='success'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='tmp.src.domainA.pnf-name' value="`$param-prefix-domainA-pnfName[0] + '-' +\r
$param-prefix-domainA-pnfName[1] + '-' +\r
$param-prefix-domainA-pnfName[2] + '-' +\r
$param-prefix-domainA-pnfName[3] + '-' +\r
$param-prefix-domainA-pnfName[6] + '-' +\r
$param-prefix-domainA-pnfName[7] + '-' +\r
$param-prefix-domainA-pnfName[8]`" />\r
- </set>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="pnf"\r
- key="pnf.pnf-name = $tmp.src.domainA.pnf-name"\r
- pfx='tmp.aai.source-pnf' local-only='false' >\r
- <!--AND depth = '0'"-->\r
- <outcome value='success'>\r
- <block>\r
- <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\r
- <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\r
- <outcome value='esr-thirdparty-sdnc'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='tmp.domainA.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />\r
- </set>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="esr-thirdparty-sdnc"\r
- key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND\r
+ </set>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="pnf"\r
+ key="pnf.pnf-name = $tmp.src.domainA.pnf-name"\r
+ pfx='tmp.aai.source-pnf' local-only='false' >\r
+ <!--AND depth = '0'"-->\r
+ <outcome value='success'>\r
+ <block>\r
+ <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\r
+ <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\r
+ <outcome value='esr-thirdparty-sdnc'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='tmp.domainA.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />\r
+ </set>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="esr-thirdparty-sdnc"\r
+ key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND\r
depth = '1'"\r
- pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >\r
- <outcome value='success'>\r
- <block>\r
- <set>\r
- <parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value="`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />\r
- <parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value="`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />\r
- <parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value="`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />\r
- <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\r
- <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->\r
- <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->\r
- <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->\r
- <!--<parameter name="format" value="json"/>-->\r
- <!--<parameter name="httpMethod" value="get"/>-->\r
- <!--<parameter name="responsePrefix" value="topology"/>-->\r
- <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->\r
- <!--<parameter name="trustStorePassword" value="adminadmin"/>-->\r
- <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->\r
- <!--<parameter name="keyStorePassword" value="adminadmin"/>-->\r
- </set>\r
- </block>\r
- </outcome>\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='Other'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- </get-resource>\r
- </block>\r
- </outcome>\r
- <outcome value='network-resource'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='tmp.domainA.eth-network-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />\r
- </set>\r
- </block>\r
- </outcome>\r
- </switch>\r
- </for>\r
- </block>\r
- </outcome>\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='Other'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- </get-resource>\r
- </block>\r
- </outcome>\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
- </return>\r
- </outcome>\r
- </execute>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="p-interface"\r
- key="pnf.pnf-name = $tmp.src.domainA.pnf-name\r
+ pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >\r
+ <outcome value='success'>\r
+ <block>\r
+ <set>\r
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value="`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />\r
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value="`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />\r
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value="`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />\r
+ <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\r
+ <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->\r
+ <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->\r
+ <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->\r
+ <!--<parameter name="format" value="json"/>-->\r
+ <!--<parameter name="httpMethod" value="get"/>-->\r
+ <!--<parameter name="responsePrefix" value="topology"/>-->\r
+ <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->\r
+ <!--<parameter name="trustStorePassword" value="adminadmin"/>-->\r
+ <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->\r
+ <!--<parameter name="keyStorePassword" value="adminadmin"/>-->\r
+ </set>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='Other'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ </get-resource>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='network-resource'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='tmp.domainA.eth-network-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />\r
+ </set>\r
+ </block>\r
+ </outcome>\r
+ </switch>\r
+ </for>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='Other'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ </get-resource>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='error-code' value='' />\r
+ <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
+ </return>\r
+ </outcome>\r
+ </execute>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="p-interface"\r
+ key="pnf.pnf-name = $tmp.src.domainA.pnf-name\r
AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop"\r
- local-only="false"\r
- pfx="tmp.aai.network-route-A.p-interface-src" >\r
- <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->\r
- <!-- resource="p-interface"-->\r
- <!-- key="pnf.pnf-name = $unique-src-node-Id-->\r
- <!-- and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"-->\r
- <!-- local-only="false" -->\r
- <!-- pfx="tmp.aai.endpointA.p-interface-src" >-->\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
- <parameter name="original_string" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\r
- <!--<parameter name="regex" value="[^-]+$"/>-->\r
- <parameter name="regex" value="[-]+"/>\r
- <parameter name="ctx_memory_result_key" value="param-prefix-domainA"/>\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\r
- </set>\r
- <set>\r
- <parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\r
- </set>\r
- </block>\r
- </outcome>\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
- </return>\r
- </outcome>\r
- </execute>\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
- <parameter name="ctx-destination" value="uuid.connectivity-domainA-uuid"/>\r
- </execute>\r
- <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'\r
- key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\r
- <parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\r
- <parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\r
- <parameter name='operational-status' value='Created' />\r
- <parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\r
- <parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\r
- <parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\r
- <parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\r
- <parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\r
- <parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\r
- <parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\r
- <parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\r
- <parameter name='CIR' value='`$prop.sotn.cir`' />\r
- <parameter name='EIR' value='`$prop.sotn.eir`' />\r
- <parameter name='CBS' value='`$prop.sotn.cbs`' />\r
- <parameter name='EBS' value='`$prop.sotn.ebs`' />\r
- <!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\r
- <!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\r
- <!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\r
- <parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\r
- <parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\r
- <parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\r
- <parameter name='connectivity-selflink' value="`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` " />\r
- </save>\r
- <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list'\r
- key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\r
- AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id\r
- AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\r
- force="true" pfx="tmp.AnAI-data">\r
- <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />\r
- <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`" />\r
- <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />\r
- <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$uuid.connectivity-domainA-uuid`" />\r
- <!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\r
- <!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\r
- <!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\r
- <!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\r
- <!-- force="true" pfx="tmp.AnAI-data">-->\r
- <!--<parameter name="relationship-list.relationship[0].related-to" value="connectivity" />-->\r
- <!--<parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.sotn.network-id`" />-->\r
- <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />-->\r
- <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.sotn.network-id`" />-->\r
- </save>\r
- <for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\r
- <switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\r
- <outcome value='tunnel-termination-point'>\r
+ local-only="false"\r
+ pfx="tmp.aai.network-route-A.p-interface-src" >\r
+ <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->\r
+ <!-- resource="p-interface"-->\r
+ <!-- key="pnf.pnf-name = $unique-src-node-Id-->\r
+ <!-- and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"-->\r
+ <!-- local-only="false" -->\r
+ <!-- pfx="tmp.aai.endpointA.p-interface-src" >-->\r
+ <outcome value='success'>\r
+ <block atomic="true">\r
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
+ <parameter name="original_string" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\r
+ <!--<parameter name="regex" value="[^-]+$"/>-->\r
+ <parameter name="regex" value="[-]+"/>\r
+ <parameter name="ctx_memory_result_key" value="param-prefix-domainA"/>\r
+ <outcome value='success'>\r
<block atomic="true">\r
<set>\r
- <parameter name='tmp.source.ttp-id' value="`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`" />\r
+ <parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\r
+ </set>\r
+ <set>\r
+ <parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\r
</set>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="tunnel-termination-point"\r
- key="tunnel-termination-point.ttp-id = $tmp.source.ttp-id\r
- AND depth = '0'"\r
- pfx='tmp.aai.source-ttp' local-only='false' >\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='source.tunnel-tp-id' value="`$tmp.aai.source-ttp.tunnel-tp-id`" />\r
- </set>\r
- </block>\r
- </outcome>\r
- </get-resource>\r
- <break/>\r
</block>\r
</outcome>\r
- </switch>\r
- </for>\r
- </block>\r
- </outcome>\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value='' />\r
- </return>\r
- </outcome>\r
- </get-resource>\r
- </block>\r
- </outcome>\r
- </get-resource>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="network-route"\r
- key='network-route.route-id = $network-route-B'\r
- local-only="false"\r
- force="true" pfx="tmp.aai.network-route-B">\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value='' />\r
- </return>\r
- </outcome>\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
- <parameter name="original_string" value='`$tmp.aai.network-route-B.next-hop`'/>\r
- <!--<parameter name="regex" value="[^-]+$"/>-->\r
- <parameter name="regex" value="[-]+"/>\r
- <parameter name="ctx_memory_result_key" value="param-prefix-domainB-pnfName"/>\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='tmp.dst.domainB.pnf-name' value="`$param-prefix-domainB-pnfName[0] + '-' +\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='error-code' value='' />\r
+ <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
+ </return>\r
+ </outcome>\r
+ </execute>\r
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
+ <parameter name="ctx-destination" value="uuid.connectivity-domainA-uuid"/>\r
+ </execute>\r
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'\r
+ key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\r
+ <parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\r
+ <parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\r
+ <parameter name='operational-status' value='Created' />\r
+ <parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\r
+ <parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\r
+ <parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\r
+ <parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\r
+ <parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\r
+ <parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\r
+ <parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\r
+ <parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\r
+ <parameter name='CIR' value='`$prop.sotn.cir`' />\r
+ <parameter name='EIR' value='`$prop.sotn.eir`' />\r
+ <parameter name='CBS' value='`$prop.sotn.cbs`' />\r
+ <parameter name='EBS' value='`$prop.sotn.ebs`' />\r
+ <!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\r
+ <!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\r
+ <!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\r
+ <parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\r
+ <parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\r
+ <parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\r
+ <parameter name='connectivity-selflink' value="`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` " />\r
+ </save>\r
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list'\r
+ key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\r
+ AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id\r
+ AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\r
+ force="true" pfx="tmp.AnAI-data">\r
+ <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />\r
+ <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`" />\r
+ <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />\r
+ <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$uuid.connectivity-domainA-uuid`" />\r
+ <!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\r
+ <!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\r
+ <!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\r
+ <!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\r
+ <!-- force="true" pfx="tmp.AnAI-data">-->\r
+ <!--<parameter name="relationship-list.relationship[0].related-to" value="connectivity" />-->\r
+ <!--<parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.sotn.network-id`" />-->\r
+ <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />-->\r
+ <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.sotn.network-id`" />-->\r
+ </save>\r
+ <for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\r
+ <switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\r
+ <outcome value='tunnel-termination-point'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='tmp.source.ttp-id' value="`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`" />\r
+ </set>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="tunnel-termination-point"\r
+ key="tunnel-termination-point.ttp-id = $tmp.source.ttp-id\r
+ AND depth = '0'"\r
+ pfx='tmp.aai.source-ttp' local-only='false' >\r
+ <outcome value='success'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='source.tunnel-tp-id' value="`$tmp.aai.source-ttp.tunnel-tp-id`" />\r
+ </set>\r
+ </block>\r
+ </outcome>\r
+ </get-resource>\r
+ <break/>\r
+ </block>\r
+ </outcome>\r
+ </switch>\r
+ </for>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='error-code' value='' />\r
+ <parameter name='error-message' value='' />\r
+ </return>\r
+ </outcome>\r
+ </get-resource>\r
+ </block>\r
+ </outcome>\r
+ </get-resource>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="network-route"\r
+ key='network-route.route-id = $network-route-B'\r
+ local-only="false"\r
+ force="true" pfx="tmp.aai.network-route-B">\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='error-code' value='' />\r
+ <parameter name='error-message' value='' />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='success'>\r
+ <block atomic="true">\r
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
+ <parameter name="original_string" value='`$tmp.aai.network-route-B.next-hop`'/>\r
+ <!--<parameter name="regex" value="[^-]+$"/>-->\r
+ <parameter name="regex" value="[-]+"/>\r
+ <parameter name="ctx_memory_result_key" value="param-prefix-domainB-pnfName"/>\r
+ <outcome value='success'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='tmp.dst.domainB.pnf-name' value="`$param-prefix-domainB-pnfName[0] + '-' +\r
$param-prefix-domainB-pnfName[1] + '-' +\r
$param-prefix-domainB-pnfName[2] + '-' +\r
$param-prefix-domainB-pnfName[3] + '-' +\r
$param-prefix-domainB-pnfName[6] + '-' +\r
$param-prefix-domainB-pnfName[7] + '-' +\r
$param-prefix-domainB-pnfName[8]`" />\r
- </set>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="pnf"\r
- key="pnf.pnf-name = $tmp.dst.domainB.pnf-name"\r
- pfx='tmp.aai.destination-pnf' local-only='false' >\r
- <!--AND depth = '0'"-->\r
- <outcome value='success'>\r
- <block>\r
- <for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\r
- <switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\r
- <outcome value='esr-thirdparty-sdnc'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='tmp.domainB.esr-thirdparty-id' value="`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`" />\r
- </set>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="esr-thirdparty-sdnc"\r
- key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND\r
+ </set>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="pnf"\r
+ key="pnf.pnf-name = $tmp.dst.domainB.pnf-name"\r
+ pfx='tmp.aai.destination-pnf' local-only='false' >\r
+ <!--AND depth = '0'"-->\r
+ <outcome value='success'>\r
+ <block>\r
+ <for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\r
+ <switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\r
+ <outcome value='esr-thirdparty-sdnc'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='tmp.domainB.esr-thirdparty-id' value="`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`" />\r
+ </set>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="esr-thirdparty-sdnc"\r
+ key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND\r
depth = '1'"\r
- pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >\r
- <outcome value='success'>\r
- <block>\r
- <set>\r
- <parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />\r
- <parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />\r
- <parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />\r
- <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\r
- <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->\r
- <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->\r
- <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->\r
- <!--<parameter name="format" value="json"/>-->\r
- <!--<parameter name="httpMethod" value="get"/>-->\r
- <!--<parameter name="responsePrefix" value="topology"/>-->\r
- <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->\r
- <!--<parameter name="trustStorePassword" value="adminadmin"/>-->\r
- <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->\r
- <!--<parameter name="keyStorePassword" value="adminadmin"/>-->\r
- </set>\r
- </block>\r
- </outcome>\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='Other'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- </get-resource>\r
- </block>\r
- </outcome>\r
- <outcome value='network-resource'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='tmp.domainB.eth-network-id' value="`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`" />\r
- </set>\r
- </block>\r
- </outcome>\r
- </switch>\r
- </for>\r
- </block>\r
- </outcome>\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='Other'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
- </return>\r
- </outcome>\r
- </get-resource>\r
- </block>\r
- </outcome>\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
- </return>\r
- </outcome>\r
- </execute>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="p-interface"\r
- key="pnf.pnf-name = $tmp.dst.domainB.pnf-name\r
+ pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >\r
+ <outcome value='success'>\r
+ <block>\r
+ <set>\r
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />\r
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />\r
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />\r
+ <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\r
+ <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->\r
+ <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->\r
+ <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->\r
+ <!--<parameter name="format" value="json"/>-->\r
+ <!--<parameter name="httpMethod" value="get"/>-->\r
+ <!--<parameter name="responsePrefix" value="topology"/>-->\r
+ <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->\r
+ <!--<parameter name="trustStorePassword" value="adminadmin"/>-->\r
+ <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->\r
+ <!--<parameter name="keyStorePassword" value="adminadmin"/>-->\r
+ </set>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='Other'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ </get-resource>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='network-resource'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='tmp.domainB.eth-network-id' value="`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`" />\r
+ </set>\r
+ </block>\r
+ </outcome>\r
+ </switch>\r
+ </for>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='Other'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />\r
+ </return>\r
+ </outcome>\r
+ </get-resource>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='error-code' value='' />\r
+ <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
+ </return>\r
+ </outcome>\r
+ </execute>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="p-interface"\r
+ key="pnf.pnf-name = $tmp.dst.domainB.pnf-name\r
AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop"\r
- local-only="false"\r
- pfx="tmp.aai.network-route-B.p-interface-dst" >\r
- <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->\r
- <!-- resource="p-interface"-->\r
- <!-- key="pnf.pnf-name = $unique-src-node-Id-->\r
- <!-- and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"-->\r
- <!-- local-only="false" -->\r
- <!-- pfx="tmp.aai.endpointA.p-interface-src" >-->\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
- <parameter name="original_string" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\r
- <!--<parameter name="regex" value="[^-]+$"/>-->\r
- <parameter name="regex" value="[-]+"/>\r
- <parameter name="ctx_memory_result_key" value="param-prefix-domainB"/>\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\r
- </set>\r
- <set>\r
- <parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\r
- </set>\r
- </block>\r
- </outcome>\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
- </return>\r
- </outcome>\r
- </execute>\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
- <parameter name="ctx-destination" value="prop.connectivity-domainB-uuid"/>\r
- </execute>\r
- <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'\r
- key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\r
- <parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\r
- <parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\r
- <parameter name='operational-status' value='Created' />\r
- <parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\r
- <parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\r
- <parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\r
- <parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\r
- <parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\r
- <parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\r
- <parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\r
- <parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\r
- <parameter name='CIR' value='`$prop.sotn.cir`' />\r
- <parameter name='EIR' value='`$prop.sotn.eir`' />\r
- <parameter name='CBS' value='`$prop.sotn.cbs`' />\r
- <parameter name='EBS' value='`$prop.sotn.ebs`' />\r
- <!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\r
- <!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\r
- <!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\r
- <parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\r
- <parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\r
- <parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\r
- <parameter name='connectivity-selflink' value="`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` " />\r
- </save>\r
- <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list'\r
- key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\r
- AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id\r
- AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\r
- force="true" pfx="tmp.AnAI-data">\r
- <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />\r
- <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`" />\r
- <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />\r
- <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.connectivity-domainB-uuid`" />\r
- <!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\r
- <!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\r
- <!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\r
- <!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\r
- <!-- force="true" pfx="tmp.AnAI-data">-->\r
- <!--<parameter name="relationship-list.relationship[0].related-to" value="connectivity" />-->\r
- <!--<parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.sotn.network-id`" />-->\r
- <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />-->\r
- <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.sotn.network-id`" />-->\r
- </save>\r
- <for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\r
- <switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\r
- <outcome value='tunnel-termination-point'>\r
+ local-only="false"\r
+ pfx="tmp.aai.network-route-B.p-interface-dst" >\r
+ <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->\r
+ <!-- resource="p-interface"-->\r
+ <!-- key="pnf.pnf-name = $unique-src-node-Id-->\r
+ <!-- and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"-->\r
+ <!-- local-only="false" -->\r
+ <!-- pfx="tmp.aai.endpointA.p-interface-src" >-->\r
+ <outcome value='success'>\r
+ <block atomic="true">\r
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\r
+ <parameter name="original_string" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\r
+ <!--<parameter name="regex" value="[^-]+$"/>-->\r
+ <parameter name="regex" value="[-]+"/>\r
+ <parameter name="ctx_memory_result_key" value="param-prefix-domainB"/>\r
+ <outcome value='success'>\r
<block atomic="true">\r
<set>\r
- <parameter name='tmp.destination.ttp-id' value="`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`" />\r
+ <parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\r
+ </set>\r
+ <set>\r
+ <parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\r
</set>\r
- <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
- resource="tunnel-termination-point"\r
- key="tunnel-termination-point.ttp-id = $tmp.destination.ttp-id\r
- AND depth = '0'"\r
- pfx='tmp.aai.destination-ttp' local-only='false' >\r
- <outcome value='success'>\r
- <block atomic="true">\r
- <set>\r
- <parameter name='destination.tunnel-tp-id' value="`$tmp.aai.destination-ttp.tunnel-tp-id`" />\r
- </set>\r
- </block>\r
- </outcome>\r
- </get-resource>\r
- <break/>\r
</block>\r
</outcome>\r
- </switch>\r
- </for>\r
- </block>\r
- </outcome>\r
- <outcome value='not-found'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
- </return>\r
- </outcome>\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='error-code' value='' />\r
- <parameter name='error-message' value='' />\r
- </return>\r
- </outcome>\r
- </get-resource>\r
- </block>\r
- </outcome>\r
- </get-resource>\r
- <set>\r
- <parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\r
- <parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\r
- <parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\r
- <parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\r
- <parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\r
- <parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\r
- <parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\r
- <parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\r
- <parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\r
- <parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\r
- <!--<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />-->\r
- <!--<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />-->\r
- <!--<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />-->\r
- <!--<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />-->\r
- <!--<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />-->\r
- </set>\r
- <call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' ></call>\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
- <parameter name="ctx-destination" value="prop.vpn-binding-domainA-uuid"/>\r
- </execute>\r
- <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'\r
- key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' >\r
- <parameter name='vpn-id' value='`$prop.vpn-binding-domainA-uuid`' />\r
- <parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\r
- <parameter name='access-provider-id' value='`$domain-A.provider-id`' />\r
- <!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\r
- <parameter name='access-client-id' value='`$domain-A.client-id`' />\r
- <!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\r
- <parameter name='access-topology-id' value='`$domain-A.te-topo-id`' />\r
- <!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\r
- <parameter name='src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\r
- <!--<parameter name='src-access-ltp-id' value='`$source.tunnel-tp-id`' />-->\r
- <parameter name='src-access-ltp-id' value='' />\r
- <parameter name='dst-access-node-id' value='`$domain-A.node-id`' />\r
- <parameter name='dst-access-ltp-id' value='`$domain-A.tunnel-tp-id`' />\r
- <parameter name='route-distinguisher' value='`$gfp`' />\r
- <parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\r
- <parameter name='operational-status' value='Created' />\r
- <parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\r
- <parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\r
- <parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\r
- <outcome value='success'>\r
- <block></block>\r
- </outcome>\r
- </save>\r
- <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list'\r
- key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid'\r
- force="true" pfx="tmp.AnAI-data">\r
- <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />\r
- <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`" />\r
- <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />\r
- <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$uuid.connectivity-domainA-uuid`" />\r
- </save>\r
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
- <parameter name="ctx-destination" value="prop.vpn-binding-domainB-uuid"/>\r
- </execute>\r
- <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'\r
- key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' >\r
- <parameter name='vpn-id' value='`$prop.vpn-binding-domainB-uuid`' />\r
- <parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\r
- <parameter name='access-provider-id' value='`$domain-B.provider-id`' />\r
- <!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\r
- <parameter name='access-client-id' value='`$domain-B.client-id`' />\r
- <!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\r
- <parameter name='access-topology-id' value='`$domain-B.te-topo-id`' />\r
- <!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\r
- <parameter name='src-access-node-id' value='`$domain-B.node-id`' />\r
- <parameter name='src-access-ltp-id' value='`$domain-B.tunnel-tp-id`' />\r
- <parameter name='dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\r
- <!--<parameter name='dst-access-ltp-id' value='`$destination.tunnel-tp-id`' />-->\r
- <parameter name='dst-access-ltp-id' value='' />\r
- <parameter name='route-distinguisher' value='`$gfp`' />\r
- <parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\r
- <parameter name='operational-status' value='Created' />\r
- <parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\r
- <parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\r
- <parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\r
- <outcome value='success'>\r
- <block></block>\r
- </outcome>\r
- </save>\r
- <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list'\r
- key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid'\r
- force="true" pfx="tmp.AnAI-data">\r
- <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />\r
- <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`" />\r
- <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />\r
- <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.connectivity-domainB-uuid`" />\r
- </save>\r
- <set>\r
- <parameter name='request-id' value='`$prop.vpn-binding-domainA-uuid`' />\r
- <parameter name='otn-source-node' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\r
- <parameter name='otn-dest-node' value='`$domain-A.node-id`' />\r
- <parameter name='bw-odu' value="`'0,' + $gfp`" />\r
- <!--<parameter name='src-ttp-id' value='`$source.tunnel-tp-id`' />-->\r
- <parameter name='dst-ttp-id' value='`$domain-A.tunnel-tp-id`' />\r
- <parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\r
- </set>\r
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`" />\r
- <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`" />\r
- <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.user`" />\r
- <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.password`" />\r
- <parameter name="format" value="json"/>\r
- <parameter name="httpMethod" value="post"/>\r
- <parameter name="responsePrefix" value="otn-oof"/>\r
- <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>\r
- <parameter name="trustStorePassword" value="adminadmin"/>\r
- <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>\r
- <parameter name="keyStorePassword" value="adminadmin"/>\r
- <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="Error executing slice creation api for domain A" />\r
- </return>\r
- </outcome>\r
- <outcome value='success'>\r
- <block></block>\r
- </outcome>\r
- </execute>\r
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`" />\r
- <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `" />\r
- <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.user`" />\r
- <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.password`" />\r
- <parameter name="format" value="json"/>\r
- <parameter name="httpMethod" value="patch"/>\r
- <parameter name="responsePrefix" value="otn-oof"/>\r
- <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>\r
- <parameter name="trustStorePassword" value="adminadmin"/>\r
- <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>\r
- <parameter name="keyStorePassword" value="adminadmin"/>\r
- <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="Error executing UNI Coloring for domain A" />\r
- </return>\r
- </outcome>\r
- <outcome value='success'>\r
- <block></block>\r
- </outcome>\r
- </execute>\r
- <set>\r
- <parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />\r
- <parameter name='otn-source-node' value='`$domain-B.node-id`' />\r
- <parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\r
- <!--<parameter name='bw-odu' value='`$maximum-bandwidth /10`' />-->\r
- <parameter name='bw-odu' value="`'0,' + $gfp`" />\r
- <parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />\r
- <!--<parameter name='dst-ttp-id' value='`$destination.tunnel-tp-id`' />-->\r
- <parameter name='dst-ttp-id' value='' />\r
- <parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\r
- </set>\r
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`" />\r
- <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`" />\r
- <!--<parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url`" />-->\r
- <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.user`" />\r
- <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.password`" />\r
- <parameter name="format" value="json"/>\r
- <parameter name="httpMethod" value="post"/>\r
- <parameter name="responsePrefix" value="otn-oof"/>\r
- <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>\r
- <parameter name="trustStorePassword" value="adminadmin"/>\r
- <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>\r
- <parameter name="keyStorePassword" value="adminadmin"/>\r
- <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="Error executing slice creation api for domain B" />\r
- </return>\r
- </outcome>\r
- <outcome value='success'>\r
- <block></block>\r
- </outcome>\r
- </execute>\r
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`" />\r
- <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `" />\r
- <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.user`" />\r
- <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.password`" />\r
- <parameter name="format" value="json"/>\r
- <parameter name="httpMethod" value="patch"/>\r
- <parameter name="responsePrefix" value="otn-oof"/>\r
- <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>\r
- <parameter name="trustStorePassword" value="adminadmin"/>\r
- <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>\r
- <parameter name="keyStorePassword" value="adminadmin"/>\r
- <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />\r
- <outcome value='failure'>\r
- <return status='failure'>\r
- <parameter name='ack-final' value='Y'/>\r
- <parameter name="error-code" value="500" />\r
- <parameter name="error-message" value="Error executing UNI coloring for domain B" />\r
- </return>\r
- </outcome>\r
- <outcome value='success'>\r
- <block></block>\r
- </outcome>\r
- </execute>\r
- </block>\r
- </outcome>\r
- </get-resource>\r
- </block>\r
- </outcome>\r
- </switch>\r
- </for>\r
- </block>\r
- </outcome>\r
- </switch>\r
- </block>\r
- </outcome>\r
- </get-resource>\r
- </block>\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='error-code' value='' />\r
+ <parameter name='error-message' value="An error occured while splitting sna1_route" />\r
+ </return>\r
+ </outcome>\r
+ </execute>\r
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
+ <parameter name="ctx-destination" value="prop.connectivity-domainB-uuid"/>\r
+ </execute>\r
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'\r
+ key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\r
+ <parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\r
+ <parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\r
+ <parameter name='operational-status' value='Created' />\r
+ <parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\r
+ <parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\r
+ <parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\r
+ <parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\r
+ <parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\r
+ <parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\r
+ <parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\r
+ <parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\r
+ <parameter name='CIR' value='`$prop.sotn.cir`' />\r
+ <parameter name='EIR' value='`$prop.sotn.eir`' />\r
+ <parameter name='CBS' value='`$prop.sotn.cbs`' />\r
+ <parameter name='EBS' value='`$prop.sotn.ebs`' />\r
+ <!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\r
+ <!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\r
+ <!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\r
+ <parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\r
+ <parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\r
+ <parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\r
+ <parameter name='connectivity-selflink' value="`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` " />\r
+ </save>\r
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list'\r
+ key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\r
+ AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id\r
+ AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\r
+ force="true" pfx="tmp.AnAI-data">\r
+ <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />\r
+ <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`" />\r
+ <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />\r
+ <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.connectivity-domainB-uuid`" />\r
+ <!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\r
+ <!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\r
+ <!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\r
+ <!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\r
+ <!-- force="true" pfx="tmp.AnAI-data">-->\r
+ <!--<parameter name="relationship-list.relationship[0].related-to" value="connectivity" />-->\r
+ <!--<parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.sotn.network-id`" />-->\r
+ <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />-->\r
+ <!--<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.sotn.network-id`" />-->\r
+ </save>\r
+ <for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\r
+ <switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\r
+ <outcome value='tunnel-termination-point'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='tmp.destination.ttp-id' value="`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`" />\r
+ </set>\r
+ <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"\r
+ resource="tunnel-termination-point"\r
+ key="tunnel-termination-point.ttp-id = $tmp.destination.ttp-id\r
+ AND depth = '0'"\r
+ pfx='tmp.aai.destination-ttp' local-only='false' >\r
+ <outcome value='success'>\r
+ <block atomic="true">\r
+ <set>\r
+ <parameter name='destination.tunnel-tp-id' value="`$tmp.aai.destination-ttp.tunnel-tp-id`" />\r
+ </set>\r
+ </block>\r
+ </outcome>\r
+ </get-resource>\r
+ <break/>\r
+ </block>\r
+ </outcome>\r
+ </switch>\r
+ </for>\r
+ </block>\r
+ </outcome>\r
+ <outcome value='not-found'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='error-code' value='' />\r
+ <parameter name='error-message' value='' />\r
+ </return>\r
+ </outcome>\r
+ </get-resource>\r
+ </block>\r
+ </outcome>\r
+ </get-resource>\r
+ <set>\r
+ <parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\r
+ <parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\r
+ <parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\r
+ <parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\r
+ <parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\r
+ <parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\r
+ <parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\r
+ <parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\r
+ <parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\r
+ <parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\r
+ <!--<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />-->\r
+ <!--<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />-->\r
+ <!--<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />-->\r
+ <!--<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />-->\r
+ <!--<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />-->\r
+ </set>\r
+ <set>\r
+ <parameter name='prop.ethsrvType' value='`$network-route-A`' />\r
+ </set>\r
+ <call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' ></call>\r
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
+ <parameter name="ctx-destination" value="prop.vpn-binding-domainA-uuid"/>\r
+ </execute>\r
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'\r
+ key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' >\r
+ <parameter name='vpn-id' value='`$prop.vpn-binding-domainA-uuid`' />\r
+ <parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\r
+ <parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\r
+ <parameter name='access-provider-id' value='`$domain-A.provider-id`' />\r
+ <!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\r
+ <parameter name='access-client-id' value='`$domain-A.client-id`' />\r
+ <!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\r
+ <parameter name='access-topology-id' value='`$domain-A.te-topo-id`' />\r
+ <!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\r
+ <parameter name='src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\r
+ <!--<parameter name='src-access-ltp-id' value='`$source.tunnel-tp-id`' />-->\r
+ <parameter name='src-access-ltp-id' value='' />\r
+ <parameter name='dst-access-node-id' value='`$domain-A.node-id`' />\r
+ <parameter name='dst-access-ltp-id' value='`$domain-A.tunnel-tp-id`' />\r
+ <parameter name='route-distinguisher' value='`$gfp`' />\r
+ <parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\r
+ <parameter name='operational-status' value='Created' />\r
+ <parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\r
+ <parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\r
+ <parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\r
+ <outcome value='success'>\r
+ <block></block>\r
+ </outcome>\r
+ </save>\r
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list'\r
+ key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid'\r
+ force="true" pfx="tmp.AnAI-data">\r
+ <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />\r
+ <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`" />\r
+ <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />\r
+ <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$uuid.connectivity-domainA-uuid`" />\r
+ </save>\r
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
+ <parameter name="ctx-destination" value="prop.vpn-binding-domainB-uuid"/>\r
+ </execute>\r
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'\r
+ key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' >\r
+ <parameter name='vpn-id' value='`$prop.vpn-binding-domainB-uuid`' />\r
+ <parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\r
+ <parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\r
+ <parameter name='access-provider-id' value='`$domain-B.provider-id`' />\r
+ <!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\r
+ <parameter name='access-client-id' value='`$domain-B.client-id`' />\r
+ <!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\r
+ <parameter name='access-topology-id' value='`$domain-B.te-topo-id`' />\r
+ <!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\r
+ <parameter name='src-access-node-id' value='`$domain-B.node-id`' />\r
+ <parameter name='src-access-ltp-id' value='`$domain-B.tunnel-tp-id`' />\r
+ <parameter name='dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\r
+ <!--<parameter name='dst-access-ltp-id' value='`$destination.tunnel-tp-id`' />-->\r
+ <parameter name='dst-access-ltp-id' value='' />\r
+ <parameter name='route-distinguisher' value='`$gfp`' />\r
+ <parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\r
+ <parameter name='operational-status' value='Created' />\r
+ <parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\r
+ <parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\r
+ <parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\r
+ <outcome value='success'>\r
+ <block></block>\r
+ </outcome>\r
+ </save>\r
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list'\r
+ key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid'\r
+ force="true" pfx="tmp.AnAI-data">\r
+ <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />\r
+ <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`" />\r
+ <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />\r
+ <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.connectivity-domainB-uuid`" />\r
+ </save>\r
+ <set>\r
+ <!--<parameter name='request-id' value='`$prop.vpn-binding-domainA-uuid`' />-->\r
+ <!--<parameter name='otn-source-node' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\r
+ <!--<parameter name='otn-dest-node' value='`$domain-A.node-id`' />-->\r
+ <!--<parameter name='bw-odu' value="`'0,' + $gfp`" />-->\r
+ <!--<parameter name='dst-ttp-id' value='`$domain-A.tunnel-tp-id`' />-->\r
+ <!--<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />-->\r
+ <parameter name='`otn-tunnel-sliceA-list[$idx].request-id`' value='`$prop.vpn-binding-domainA-uuid`' />\r
+ <parameter name='`otn-tunnel-sliceA-list[$idx].otn-source-node`' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\r
+ <parameter name='`otn-tunnel-sliceA-list[$idx].otn-dest-node`' value='`$domain-A.node-id`' />\r
+ <parameter name='`otn-tunnel-sliceA-list[$idx].bw-odu`' value="`'0,' + $gfp`" />\r
+ <parameter name='`otn-tunnel-sliceA-list[$idx].src-ttp-id`' value='' />\r
+ <parameter name='`otn-tunnel-sliceA-list[$idx].dst-ttp-id`' value='`$domain-A.tunnel-tp-id`' />\r
+ <parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\r
+ <parameter name='`otn-tunnel-sliceA-list_length`' value='`$idx + 1`' />\r
+ <!--otn-tunnel-slice-list[$idx]-->\r
+ </set>\r
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`" />\r
+ <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `" />\r
+ <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.user`" />\r
+ <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.password`" />\r
+ <parameter name="format" value="json"/>\r
+ <parameter name="httpMethod" value="patch"/>\r
+ <parameter name="responsePrefix" value="otn-oof"/>\r
+ <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>\r
+ <parameter name="trustStorePassword" value="adminadmin"/>\r
+ <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>\r
+ <parameter name="keyStorePassword" value="adminadmin"/>\r
+ <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="Error executing UNI Coloring for domain A" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='success'>\r
+ <block></block>\r
+ </outcome>\r
+ </execute>\r
+ <set>\r
+ <!--<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />-->\r
+ <!--<parameter name='otn-source-node' value='`$domain-B.node-id`' />-->\r
+ <!--<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\r
+ <!--<parameter name='bw-odu' value="`'0,' + $gfp`" />-->\r
+ <!--<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />-->\r
+ <!--<parameter name='dst-ttp-id' value='' />-->\r
+ <!--<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />-->\r
+ <parameter name='`otn-tunnel-sliceB-list[$idx].request-id`' value='`$prop.vpn-binding-domainB-uuid`' />\r
+ <parameter name='`otn-tunnel-sliceB-list[$idx].otn-source-node`' value='`$domain-B.node-id`' />\r
+ <parameter name='`otn-tunnel-sliceB-list[$idx].otn-dest-node`' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\r
+ <parameter name='`otn-tunnel-sliceB-list[$idx].bw-odu`' value="`'0,' + $gfp`" />\r
+ <parameter name='`otn-tunnel-sliceB-list[$idx].src-ttp-id`' value='`$domain-B.tunnel-tp-id`' />\r
+ <parameter name='`otn-tunnel-sliceB-list[$idx].dst-ttp-id`' value='' />\r
+ <parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\r
+ <parameter name='`otn-tunnel-sliceB-list_length`' value='`$idx + 1`' />\r
+ </set>\r
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`" />\r
+ <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `" />\r
+ <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.user`" />\r
+ <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.password`" />\r
+ <parameter name="format" value="json"/>\r
+ <parameter name="httpMethod" value="patch"/>\r
+ <parameter name="responsePrefix" value="otn-oof"/>\r
+ <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>\r
+ <parameter name="trustStorePassword" value="adminadmin"/>\r
+ <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>\r
+ <parameter name="keyStorePassword" value="adminadmin"/>\r
+ <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="Error executing UNI coloring for domain B" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='success'>\r
+ <block></block>\r
+ </outcome>\r
+ </execute>\r
+ <set>\r
+ <parameter name='domain-A.tunnel-tp-id' value='' />\r
+ <parameter name='domain-A.node-id' value='' />\r
+ <parameter name='domain-A.network-id' value="" />\r
+ <parameter name='domain-A.provider-id' value="" />\r
+ <parameter name='domain-A.client-id' value="" />\r
+ <parameter name='domain-A.te-topo-id' value="" />\r
+ <parameter name='domain-A.network-type' value="" />\r
+ <parameter name='domain-A.ltpId' value="" />\r
+ <parameter name='tmp.domain-A.network-id' value="" />\r
+ <parameter name='tmp.domain-A.ttp-id' value="" />\r
+ <parameter name='network-route-A' value="" />\r
+ <!--<parameter name='domain-A.' value="" />-->\r
+ <parameter name='request-id' value='' />\r
+ <parameter name='otn-source-node' value='' />\r
+ <parameter name='otn-dest-node' value='' />\r
+ <parameter name='bw-odu' value="" />\r
+ <parameter name='src-ttp-id' value='' />\r
+ <parameter name='dst-ttp-id' value='' />\r
+ <parameter name='domain-B.tunnel-tp-id' value='' />\r
+ <parameter name='domain-B.node-id' value='' />\r
+ <parameter name='domain-B.network-id' value="" />\r
+ <parameter name='domain-B.provider-id' value="" />\r
+ <parameter name='domain-B.client-id' value="" />\r
+ <parameter name='domain-B.te-topo-id' value="" />\r
+ <parameter name='domain-B.network-type' value="" />\r
+ <parameter name='domain-B.ltpId' value="" />\r
+ <parameter name='tmp.domain-B.network-id' value="" />\r
+ <parameter name='tmp.domain-B.ttp-id' value="" />\r
+ <parameter name='network-route-B' value="" />\r
+ <!--<parameter name='domain-B.' value="" />-->\r
+ </set>\r
+ </block>\r
+ </outcome>\r
+ </get-resource>\r
+ </block>\r
+ </outcome>\r
+ </switch>\r
+ </for>\r
+ </block>\r
+ </outcome>\r
+ </switch>\r
+ </block>\r
+ </outcome>\r
+ </get-resource>\r
+ </block>\r
+ </outcome>\r
+ </get-resource>\r
+ </for>\r
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceA-list-creation.templatefile`" />\r
+ <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`" />\r
+ <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.user`" />\r
+ <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainA.password`" />\r
+ <parameter name="format" value="json"/>\r
+ <parameter name="httpMethod" value="post"/>\r
+ <parameter name="responsePrefix" value="otn-oof"/>\r
+ <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>\r
+ <parameter name="trustStorePassword" value="adminadmin"/>\r
+ <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>\r
+ <parameter name="keyStorePassword" value="adminadmin"/>\r
+ <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="Error executing slice creation api for domain A" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='success'>\r
+ <block></block>\r
+ </outcome>\r
+ </execute>\r
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceB-list-creation.templatefile`" />\r
+ <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`" />\r
+ <!--<parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url`" />-->\r
+ <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.user`" />\r
+ <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domainB.password`" />\r
+ <parameter name="format" value="json"/>\r
+ <parameter name="httpMethod" value="post"/>\r
+ <parameter name="responsePrefix" value="otn-oof"/>\r
+ <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>\r
+ <parameter name="trustStorePassword" value="adminadmin"/>\r
+ <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>\r
+ <parameter name="keyStorePassword" value="adminadmin"/>\r
+ <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />\r
+ <outcome value='failure'>\r
+ <return status='failure'>\r
+ <parameter name='ack-final' value='Y'/>\r
+ <parameter name="error-code" value="500" />\r
+ <parameter name="error-message" value="Error executing slice creation api for domain B" />\r
+ </return>\r
+ </outcome>\r
+ <outcome value='success'>\r
+ <block></block>\r
</outcome>\r
- </get-resource>\r
+ </execute>\r
</block>\r
</outcome>\r
</switch>\r
--- /dev/null
+{
+ "ietf-optical-slice:input": {
+ "otn-tunnel-list": [
+
+ ${repeat:otn-tunnel-sliceA-list_length:
+ {
+ "tunnel-name": ${otn-tunnel-sliceA-list[${1}].request-id},
+ "source": ${otn-tunnel-sliceA-list[${1}].otn-source-node},
+ "destination": ${otn-tunnel-sliceA-list[${1}].otn-dest-node},
+ "tunnel-bandwidth": ${otn-tunnel-sliceA-list[${1}].bw-odu},
+ "src-tunnel-tp-id": ${otn-tunnel-sliceA-list[${1}].src-ttp-id},
+ "dst-tunnel-tp-id": ${otn-tunnel-sliceA-list[${1}].dst-ttp-id}
+ },
+ }
+
+ ],
+
+ "slice-id": ${slice-instance-id}
+
+ }
+}
+
--- /dev/null
+{
+ "ietf-optical-slice:input": {
+ "otn-tunnel-list": [
+
+ ${repeat:otn-tunnel-sliceB-list_length:
+ {
+ "tunnel-name": ${otn-tunnel-sliceB-list[${1}].request-id},
+ "source": ${otn-tunnel-sliceB-list[${1}].otn-source-node},
+ "destination": ${otn-tunnel-sliceB-list[${1}].otn-dest-node},
+ "tunnel-bandwidth": ${otn-tunnel-sliceB-list[${1}].bw-odu},
+ "src-tunnel-tp-id": ${otn-tunnel-sliceB-list[${1}].src-ttp-id},
+ "dst-tunnel-tp-id": ${otn-tunnel-sliceB-list[${1}].dst-ttp-id}
+ },
+ }
+
+ ],
+
+ "slice-id": ${slice-instance-id}
+
+ }
+}
+