"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": 849.9730834960938,\r
- "y": 178.99600219726562,\r
+ "x": 879.9730682373047,\r
+ "y": 71.99600028991699,\r
"z": "97fec48c.8eada",\r
"wires": [\r
[\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1089.9732246398926,\r
- "y": 202.9959716796875,\r
+ "x": 1119.9732093811035,\r
+ "y": 95.99596977233887,\r
"z": "97fec48c.8eada",\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 OOF api\" />\n",\r
"comments": "",\r
- "x": 1259.97314453125,\r
- "y": 142.99606323242188,\r
+ "x": 1289.973129272461,\r
+ "y": 35.99606132507324,\r
"z": "97fec48c.8eada",\r
"wires": []\r
},\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1088.9730110168457,\r
- "y": 151.99606227874756,\r
+ "x": 1118.9729957580566,\r
+ "y": 44.996060371398926,\r
"z": "97fec48c.8eada",\r
"wires": [\r
[\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": 821.4768829345703,\r
- "y": 135.00000190734863,\r
+ "x": 851.4768676757812,\r
+ "y": 28,\r
"z": "97fec48c.8eada",\r
"wires": []\r
},\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1235.0002708435059,\r
- "y": 200.74145698547363,\r
+ "x": 1265.0002555847168,\r
+ "y": 93.741455078125,\r
"z": "97fec48c.8eada",\r
"wires": [\r
[]\r
[\r
"9cfd026a.5e4728",\r
"6bdd3c50.e0d3d4",\r
- "3d2e0b8f.457abc"\r
+ "3d2e0b8f.457abc",\r
+ "27ac90d.484a9f"\r
]\r
]\r
},\r
"z": "97fec48c.8eada",\r
"wires": []\r
},\r
- {\r
- "id": "c1945a01.da39d8",\r
- "type": "break",\r
- "name": "break",\r
- "xml": "<break>\n",\r
- "comments": "",\r
- "x": 3605.9998779296875,\r
- "y": 270,\r
- "z": "97fec48c.8eada",\r
- "wires": []\r
- },\r
{\r
"id": "daf680e0.e985f",\r
"type": "block",\r
]\r
]\r
},\r
- {\r
- "id": "f7b52e29.d7e28",\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": 3255.9998779296875,\r
- "y": 169,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "fcffac67.9ba8e",\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": 3258.9998779296875,\r
- "y": 388,\r
- "z": "97fec48c.8eada",\r
- "wires": [\r
- []\r
- ]\r
- },\r
{\r
"id": "edb2a900.9a7b1",\r
"type": "block",\r
"z": "97fec48c.8eada",\r
"wires": []\r
},\r
- {\r
- "id": "4fb57d55.78b35c",\r
- "type": "break",\r
- "name": "break",\r
- "xml": "<break>\n",\r
- "comments": "",\r
- "x": 3613.9998779296875,\r
- "y": 364,\r
- "z": "97fec48c.8eada",\r
- "wires": []\r
- },\r
{\r
"id": "7a290eee.406588",\r
"type": "block",\r
"wires": []\r
},\r
{\r
- "id": "b9740a82.273f8",\r
- "type": "switchNode",\r
- "name": "test $vidx == first",\r
- "xml": "<switch test='`$vidx == 0`'>\n",\r
+ "id": "3d2e0b8f.457abc",\r
+ "type": "set",\r
+ "name": "unset parameters",\r
+ "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<parameter name='`tmp.otninfo_length`' value='0' />",\r
+ "comments": "",\r
+ "x": 824,\r
+ "y": 429,\r
+ "z": "97fec48c.8eada",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d9b3c779.af79",\r
+ "type": "comment",\r
+ "name": "May not be necessary",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 836,\r
+ "y": 397,\r
+ "z": "97fec48c.8eada",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "27ac90d.484a9f",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2366,\r
- "y": 100,\r
+ "x": 825,\r
+ "y": 265,\r
"z": "97fec48c.8eada",\r
"wires": [\r
[\r
- "fac1138.38454f",\r
- "4fd6928.61fb8ec"\r
+ "b00cf456.1fcfd8",\r
+ "22917417.40dffc",\r
+ "9d01bdd0.0fc258"\r
]\r
]\r
},\r
{\r
- "id": "fac1138.38454f",\r
- "type": "outcomeTrue",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
+ "id": "b00cf456.1fcfd8",\r
+ "type": "get-resource",\r
+ "name": "get-resource pnfs-list",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopo.pnfs\" >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2550,\r
- "y": 62,\r
+ "x": 1072,\r
+ "y": 218,\r
"z": "97fec48c.8eada",\r
"wires": [\r
- []\r
+ [\r
+ "e9ef8fc5.a18d1",\r
+ "701f5a59.c009ac",\r
+ "88137b8e.f20ce"\r
+ ]\r
]\r
},\r
{\r
- "id": "4fd6928.61fb8ec",\r
- "type": "outcomeFalse",\r
- "name": "false",\r
- "xml": "<outcome value='false'>\n",\r
+ "id": "22917417.40dffc",\r
+ "type": "get-resource",\r
+ "name": "get-resource logical-links",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopo.logicalLinks\" >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2548,\r
- "y": 131,\r
+ "x": 1082,\r
+ "y": 275,\r
"z": "97fec48c.8eada",\r
"wires": [\r
[\r
- "49bef92e.99a498"\r
+ "701f5a59.c009ac",\r
+ "88137b8e.f20ce",\r
+ "f79f6d93.33fad8"\r
]\r
]\r
},\r
{\r
- "id": "49bef92e.99a498",\r
- "type": "switchNode",\r
- "name": "test $vidx == last",\r
- "xml": "<switch test='`$vidx == $otn-oof.solutions_length - 1`'>\n",\r
+ "id": "9d01bdd0.0fc258",\r
+ "type": "execute",\r
+ "name": "execute PCE in ccsdk/sli/core",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.slitopologyutils.SliTopologyUtils' method='computePath' >\n<parameter name=\"pnfs-pfx\" value='`$ccsdkTopo.pnfs`'/>\n<parameter name=\"links-pfx\" value=\"`$ccsdkTopo.logicalLinks`\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"true\"/>\n<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.src.domainB.pnf-name`\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2729,\r
- "y": 128,\r
+ "x": 1095,\r
+ "y": 327,\r
"z": "97fec48c.8eada",\r
"wires": [\r
[\r
- "4a491f2.2eab56",\r
- "98392658.063f78"\r
+ "d13c5cda.e31cf8",\r
+ "75643e28.77914"\r
]\r
]\r
},\r
{\r
- "id": "98392658.063f78",\r
- "type": "outcomeTrue",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
+ "id": "701f5a59.c009ac",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2895,\r
- "y": 167,\r
+ "x": 1329,\r
+ "y": 163,\r
+ "z": "97fec48c.8eada",\r
+ "wires": [\r
+ [\r
+ "2909bfef.cce208"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e9ef8fc5.a18d1",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1337,\r
+ "y": 240,\r
"z": "97fec48c.8eada",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "4a491f2.2eab56",\r
- "type": "outcomeFalse",\r
- "name": "false",\r
- "xml": "<outcome value='false'>\n",\r
+ "id": "2d0a238b.9b0514",\r
+ "type": "record",\r
+ "name": "record",\r
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Pnfs retrieved!\"/>\n<parameter name=\"field2\" value=\"`$ccsdkTopo.pnfs.pnf_length`\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2897,\r
- "y": 93,\r
+ "x": 1496,\r
+ "y": 237,\r
"z": "97fec48c.8eada",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "3d2e0b8f.457abc",\r
- "type": "set",\r
- "name": "unset parameters",\r
- "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<parameter name='`tmp.otninfo_length`' value='0' />",\r
+ "id": "2909bfef.cce208",\r
+ "type": "returnFailure",\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": 829,\r
- "y": 402,\r
+ "x": 1515,\r
+ "y": 163,\r
"z": "97fec48c.8eada",\r
"wires": []\r
},\r
{\r
- "id": "d9b3c779.af79",\r
- "type": "comment",\r
- "name": "May not be necessary",\r
- "info": "",\r
+ "id": "88137b8e.f20ce",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
- "x": 841,\r
- "y": 370,\r
+ "outputs": 1,\r
+ "x": 1340,\r
+ "y": 201,\r
+ "z": "97fec48c.8eada",\r
+ "wires": [\r
+ [\r
+ "5baa421f.eeaaec"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5baa421f.eeaaec",\r
+ "type": "returnFailure",\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": 1512,\r
+ "y": 201,\r
"z": "97fec48c.8eada",\r
"wires": []\r
+ },\r
+ {\r
+ "id": "f79f6d93.33fad8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1341,\r
+ "y": 275,\r
+ "z": "97fec48c.8eada",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8cc43261.20f998",\r
+ "type": "record",\r
+ "name": "record",\r
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Logical-links retrieved!\"/>\n<parameter name=\"field2\" value=\"`$ccsdkTopo.logicalLinks.logical-link_length`\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1502,\r
+ "y": 275,\r
+ "z": "97fec48c.8eada",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d13c5cda.e31cf8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1336,\r
+ "y": 314,\r
+ "z": "97fec48c.8eada",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "75643e28.77914",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1328,\r
+ "y": 361,\r
+ "z": "97fec48c.8eada",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "117e8dda.79f3d2",\r
+ "type": "record",\r
+ "name": "record",\r
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Path computation succeed!\"/>\n<parameter name=\"field2\" value=\"`$ccsdkTopo.resp.solutions_length`\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1503,\r
+ "y": 320,\r
+ "z": "97fec48c.8eada",\r
+ "wires": [\r
+ []\r
+ ]\r
}\r
]
\ No newline at end of file