aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json259
1 files changed, 242 insertions, 17 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json
index bc919426..6d4c48ff 100644
--- a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json
+++ b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json
@@ -54,8 +54,8 @@
"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`\" />",
"comments": "",
"outputs": 1,
- "x": 849.9730834960938,
- "y": 178.99600219726562,
+ "x": 879.9730682373047,
+ "y": 71.99600028991699,
"z": "97fec48c.8eada",
"wires": [
[
@@ -71,8 +71,8 @@
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1089.9732246398926,
- "y": 202.9959716796875,
+ "x": 1119.9732093811035,
+ "y": 95.99596977233887,
"z": "97fec48c.8eada",
"wires": [
[
@@ -86,8 +86,8 @@
"name": "return failure",
"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",
"comments": "",
- "x": 1259.97314453125,
- "y": 142.99606323242188,
+ "x": 1289.973129272461,
+ "y": 35.99606132507324,
"z": "97fec48c.8eada",
"wires": []
},
@@ -98,8 +98,8 @@
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1088.9730110168457,
- "y": 151.99606227874756,
+ "x": 1118.9729957580566,
+ "y": 44.996060371398926,
"z": "97fec48c.8eada",
"wires": [
[
@@ -113,8 +113,8 @@
"name": "OTN tunnel path computation",
"info": "TODO: check input parameters -- they should be\nthe source and destination of ETH node+tp.",
"comments": "",
- "x": 821.4768829345703,
- "y": 135.00000190734863,
+ "x": 851.4768676757812,
+ "y": 28,
"z": "97fec48c.8eada",
"wires": []
},
@@ -281,8 +281,8 @@
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1235.0002708435059,
- "y": 200.74145698547363,
+ "x": 1265.0002555847168,
+ "y": 93.741455078125,
"z": "97fec48c.8eada",
"wires": [
[]
@@ -302,7 +302,8 @@
[
"9cfd026a.5e4728",
"6bdd3c50.e0d3d4",
- "3d2e0b8f.457abc"
+ "3d2e0b8f.457abc",
+ "27ac90d.484a9f"
]
]
},
@@ -1786,8 +1787,8 @@
"name": "unset parameters",
"xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<parameter name='`tmp.otninfo_length`' value='0' />",
"comments": "",
- "x": 829,
- "y": 402,
+ "x": 824,
+ "y": 429,
"z": "97fec48c.8eada",
"wires": []
},
@@ -1797,9 +1798,233 @@
"name": "May not be necessary",
"info": "",
"comments": "",
- "x": 841,
- "y": 370,
+ "x": 836,
+ "y": 397,
"z": "97fec48c.8eada",
"wires": []
+ },
+ {
+ "id": "27ac90d.484a9f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 825,
+ "y": 265,
+ "z": "97fec48c.8eada",
+ "wires": [
+ [
+ "b00cf456.1fcfd8",
+ "22917417.40dffc",
+ "9d01bdd0.0fc258"
+ ]
+ ]
+ },
+ {
+ "id": "b00cf456.1fcfd8",
+ "type": "get-resource",
+ "name": "get-resource pnfs-list",
+ "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\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1072,
+ "y": 218,
+ "z": "97fec48c.8eada",
+ "wires": [
+ [
+ "e9ef8fc5.a18d1",
+ "701f5a59.c009ac",
+ "88137b8e.f20ce"
+ ]
+ ]
+ },
+ {
+ "id": "22917417.40dffc",
+ "type": "get-resource",
+ "name": "get-resource logical-links",
+ "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\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1082,
+ "y": 275,
+ "z": "97fec48c.8eada",
+ "wires": [
+ [
+ "701f5a59.c009ac",
+ "88137b8e.f20ce",
+ "f79f6d93.33fad8"
+ ]
+ ]
+ },
+ {
+ "id": "9d01bdd0.0fc258",
+ "type": "execute",
+ "name": "execute PCE in ccsdk/sli/core",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1095,
+ "y": 327,
+ "z": "97fec48c.8eada",
+ "wires": [
+ [
+ "d13c5cda.e31cf8",
+ "75643e28.77914"
+ ]
+ ]
+ },
+ {
+ "id": "701f5a59.c009ac",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1329,
+ "y": 163,
+ "z": "97fec48c.8eada",
+ "wires": [
+ [
+ "2909bfef.cce208"
+ ]
+ ]
+ },
+ {
+ "id": "e9ef8fc5.a18d1",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1337,
+ "y": 240,
+ "z": "97fec48c.8eada",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d0a238b.9b0514",
+ "type": "record",
+ "name": "record",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1496,
+ "y": 237,
+ "z": "97fec48c.8eada",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2909bfef.cce208",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1515,
+ "y": 163,
+ "z": "97fec48c.8eada",
+ "wires": []
+ },
+ {
+ "id": "88137b8e.f20ce",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1340,
+ "y": 201,
+ "z": "97fec48c.8eada",
+ "wires": [
+ [
+ "5baa421f.eeaaec"
+ ]
+ ]
+ },
+ {
+ "id": "5baa421f.eeaaec",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1512,
+ "y": 201,
+ "z": "97fec48c.8eada",
+ "wires": []
+ },
+ {
+ "id": "f79f6d93.33fad8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1341,
+ "y": 275,
+ "z": "97fec48c.8eada",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8cc43261.20f998",
+ "type": "record",
+ "name": "record",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1502,
+ "y": 275,
+ "z": "97fec48c.8eada",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d13c5cda.e31cf8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1336,
+ "y": 314,
+ "z": "97fec48c.8eada",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "75643e28.77914",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1328,
+ "y": 361,
+ "z": "97fec48c.8eada",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "117e8dda.79f3d2",
+ "type": "record",
+ "name": "record",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1503,
+ "y": 320,
+ "z": "97fec48c.8eada",
+ "wires": [
+ []
+ ]
}
] \ No newline at end of file