summaryrefslogtreecommitdiffstats
path: root/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json')
-rw-r--r--platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json480
1 files changed, 240 insertions, 240 deletions
diff --git a/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json b/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json
index 7b6731cb..d87fd490 100644
--- a/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json
+++ b/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json
@@ -1,20 +1,20 @@
[
{
- "id": "ef88be3f.517f78",
+ "id": "b9fcda31.4ec79",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 105,
- "y": 67,
+ "x": 113,
+ "y": 65.00650024414062,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "74a7a837.229be"
+ "3760ce9c.1bf2e2"
]
]
},
{
- "id": "74a7a837.229be",
+ "id": "3760ce9c.1bf2e2",
"type": "service-logic",
"name": "DataChange ${project.version}",
"module": "DataChange",
@@ -22,879 +22,879 @@
"comments": "",
"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='DataChange' version='${project.version}'>",
"outputs": 1,
- "x": 194.00003051757812,
- "y": 157.88891220092773,
+ "x": 202.00003051757812,
+ "y": 155.89541244506836,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "284dae72.737532"
+ "de74005b.f44ce8"
]
]
},
{
- "id": "284dae72.737532",
+ "id": "de74005b.f44ce8",
"type": "method",
"name": "update-network-to-aai",
"xml": "<method rpc='update-network-to-aai' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 230.1112518310547,
- "y": 228.22223663330078,
+ "x": 238.1112518310547,
+ "y": 226.2287368774414,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "da05320e.186d48"
+ "1541ad9c.69aa8a"
]
]
},
{
- "id": "da05320e.186d48",
+ "id": "1541ad9c.69aa8a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 455.33343505859375,
- "y": 227.77792358398438,
+ "x": 463.33343505859375,
+ "y": 225.784423828125,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "8c187a81.9e4d28",
- "75113293.98ea0c",
- "9937b93d.ff5938",
- "55dde830.cc61b8",
- "f7667eb6.ec8938"
+ "dbbcebe5.6f422",
+ "e66d9ed0.3d3d8",
+ "f1256a59.e632c",
+ "1dca15d7.0a7a3a",
+ "1c1d34a0.adaa8b"
]
]
},
{
- "id": "75113293.98ea0c",
+ "id": "e66d9ed0.3d3d8",
"type": "save",
"name": "save network-resource",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='network-resource' \n key='network-resource.network-id = $tmp.network-id' >\n<parameter name='network-id' value='`$tmp.network-id`' />\n<parameter name='client-id' value='`$network.client-id`' />\n<parameter name='te-topo-id' value='`$network.te-topology-id`' />\n<parameter name='provider-id' value='`$network.provider-id`' />\n\n<parameter name='network-type' value='`$network.network-types`' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 685.333251953125,
- "y": 133.00001525878906,
+ "x": 693.333251953125,
+ "y": 131.0065155029297,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "74f65e67.75c658",
+ "id": "40545c4b.9221f4",
"type": "save",
"name": "save pnf",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n key='pnf.pnf-name = $unique-nodeId' >\n<parameter name='pnf-name' value='`$unique-nodeId`' />\n<parameter name='pnf-id' value='`$node.node-id`' />\n<parameter name='operational-status' value='`$node.te.oper-status`' />\n<parameter name='admin-status' value='`$node.te.te-node-attributes.admin-status`' />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 897.1111450195312,
- "y": 223.111083984375,
+ "x": 905.1111450195312,
+ "y": 221.11758422851562,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "9937b93d.ff5938",
+ "id": "f1256a59.e632c",
"type": "for",
"name": "for each node",
"xml": "<for index='pidx' start='0' end='`$network.node_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 668.8888549804688,
- "y": 203.33331298828125,
+ "x": 676.8888549804688,
+ "y": 201.33981323242188,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "74f65e67.75c658",
- "60e29b35.16fbd4",
- "b27f201.393186",
- "e83884ed.3fb2d8",
- "7257c53.4f087bc",
- "395bef40.08498",
- "1392eb55.76adbd",
- "e55192de.2cc998",
- "a1ffb2f2.4b50b8"
+ "40545c4b.9221f4",
+ "eba2ef35.33c428",
+ "4817116d.5f593",
+ "466a40bd.9d277",
+ "1acdca56.b6e67e",
+ "3e1f14bc.ee90c4",
+ "6de7541f.0e2a24",
+ "8794be9f.289a08",
+ "1b6896a8.e62c19"
]
]
},
{
- "id": "60e29b35.16fbd4",
+ "id": "eba2ef35.33c428",
"type": "set",
"name": "set node",
"xml": "<set>\n<parameter name='node.' value='`$network.node[$pidx].`' />\n<parameter name='unique-networkId' value='`$tmp.network-id`' />\n\n",
"comments": "",
- "x": 902.111083984375,
- "y": 119.22221374511719,
+ "x": 910.111083984375,
+ "y": 117.22871398925781,
"z": "6d6b8a1f.be1cb4",
"wires": []
},
{
- "id": "e83884ed.3fb2d8",
+ "id": "466a40bd.9d277",
"type": "save",
"name": "save pnf relationship to network-resource in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $unique-nodeId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"network-resource\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"network-resource.network-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.network-id`\" />",
"comments": "",
"outputs": 1,
- "x": 993.7779541015625,
- "y": 398.44447803497314,
+ "x": 1001.7779541015625,
+ "y": 396.45097827911377,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "9c15e41a.6cfbc8",
+ "id": "3d4b777c.0e42f",
"type": "for",
"name": "for each termination point",
"xml": "<for index='tidx' start='0' end='`$node.termination-point_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1279.4444580078125,
- "y": 574.111083984375,
+ "x": 1287.4444580078125,
+ "y": 572.1175842285156,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "3c657cae.66477c",
- "2e1dc2b9.f23686",
- "8c144095.b1eaf8",
- "9abbad80.6c0f7",
- "ef702ba5.ac71e"
+ "95dfcdd1.046e6",
+ "1ac320c7.c54f67",
+ "aa2f70cf.6e112",
+ "64896027.57fb78",
+ "fe275075.949f1"
]
]
},
{
- "id": "3c657cae.66477c",
+ "id": "95dfcdd1.046e6",
"type": "set",
"name": "set termination point",
"xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n",
"comments": "",
- "x": 1549.111328125,
- "y": 557.0000610351562,
+ "x": 1557.111328125,
+ "y": 555.0065612792969,
"z": "6d6b8a1f.be1cb4",
"wires": []
},
{
- "id": "8c144095.b1eaf8",
+ "id": "aa2f70cf.6e112",
"type": "save",
"name": "save p-interface",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $unique-nodeId\n AND p-interface.interface-name = $unique-ltpId' > \n<parameter name='interface-name' value='`$unique-ltpId`' />\n<parameter name='network-ref' value='`$tp.supporting-termination-point[0].network-ref`' />\n<parameter name='transparent' value='`$tp.svc.supported-classification.transparent`' />\n<parameter name='speed-value' value='`$tp.te.interface-switching-capability[0].max-lsp-bandwidth[0].te-bandwidth.eth-bandwidth`' />\n<parameter name='operational-status' value='`$tp.te.oper-status`' />\n<parameter name='in-maint' value=\"true\" />\n\n<parameter name='inter-layer-lock-id' value='`$tp.te.inter-layer-lock-id[0]`' />\n<!--<parameter name='inter-domain-plug-id' value='`$tp.te.inter-domain-plug-id`' />-->\n<parameter name='inter-domain-plug-id' value='`$tmp.decoded-plug-id`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 1543.815185546875,
- "y": 744.5556030273438,
+ "x": 1551.815185546875,
+ "y": 742.5621032714844,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "3fc33363.5b82ec",
- "34c813e4.f5477c"
+ "673078d4.a5cb68",
+ "5651def0.2c85b8"
]
]
},
{
- "id": "f6e5129a.8bd048",
+ "id": "6cce4024.476ad",
"type": "save",
"name": "save pnf relationship to p-interface in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $unique-nodeId' 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/network-resources/network-resource/' + $tmp.network-id + '/pnfs/pnf/' + $unique-nodeId '/p-interfaces/p-interface/' + $unique-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=\"`$unique-ltpId`\" />",
"comments": "",
"outputs": 1,
- "x": 1626.703857421875,
- "y": 901.3333740234375,
+ "x": 1634.703857421875,
+ "y": 899.3398742675781,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "2e1dc2b9.f23686",
+ "id": "1ac320c7.c54f67",
"type": "set",
"name": "set unique-ltpId",
"xml": "<set>\n<parameter name='unique-ltpId' value=\"`$unique-nodeId + '-ltpId-' + $tp.te-tp-id`\" />\n",
"comments": "",
- "x": 1533.000244140625,
- "y": 614.111083984375,
+ "x": 1541.000244140625,
+ "y": 612.1175842285156,
"z": "6d6b8a1f.be1cb4",
"wires": []
},
{
- "id": "8c187a81.9e4d28",
+ "id": "dbbcebe5.6f422",
"type": "execute",
"name": "execute",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$network.network-id`\"/>\n <parameter name=\"outputPath\" value=\"tmp.original-network-id\"/>\n <parameter name=\"target\" value=\"/\"/>\n <parameter name=\"replacement\" value=\"-\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 641.9935302734375,
- "y": 41.993499755859375,
+ "x": 649.9935302734375,
+ "y": 40,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "b27f201.393186",
+ "id": "4817116d.5f593",
"type": "save",
"name": "save pnf relation with esr-thirdparty-sdnc",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='esr-thirdparty-sdnc:relationship-list' \n key='esr-thirdparty-sdnc.thirdparty-sdnc-id = $prop.sdncRestApi.thirdpartySdnc.id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $node.node-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$node.node-id`\" />\n",
"comments": "",
"outputs": 1,
- "x": 975,
- "y": 434.9934997558594,
+ "x": 983,
+ "y": 433,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "3fc33363.5b82ec",
+ "id": "673078d4.a5cb68",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1715.499885559082,
- "y": 731.7460784912109,
+ "x": 1723.499885559082,
+ "y": 729.7525787353516,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "a873419b.bc81c"
+ "72e23ce3.0ceb8c"
]
]
},
{
- "id": "34c813e4.f5477c",
+ "id": "5651def0.2c85b8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1709.1784744262695,
- "y": 783.9603900909424,
+ "x": 1717.1784744262695,
+ "y": 781.966890335083,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "66113f50.7819f8"
+ "936d0942.79b6"
]
]
},
{
- "id": "a873419b.bc81c",
+ "id": "72e23ce3.0ceb8c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1866.0000457763672,
- "y": 731.0000095367432,
+ "x": 1874.0000457763672,
+ "y": 729.0065097808838,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "66113f50.7819f8",
+ "id": "936d0942.79b6",
"type": "update",
"name": "update p-interface",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $unique-nodeId\n AND p-interface.interface-name = $unique-ltpId' > \n<parameter name='interface-name' value='`$unique-ltpId`' />\n<parameter name='network-ref' value='`$tp.supporting-termination-point[0].network-ref`' />\n<parameter name='transparent' value='`$tp.svc.supported-classification.transparent`' />\n<parameter name='speed-value' value='`$tp.te.interface-switching-capability[0].max-lsp-bandwidth[0].te-bandwidth.eth-bandwidth`' />\n<parameter name='operational-status' value='`$tp.te.oper-status`' />\n<parameter name='in-maint' value=\"true\" />\n\n<parameter name='inter-layer-lock-id' value='`$tp.te.inter-layer-lock-id[0]`' />\n<!--<parameter name='inter-domain-plug-id' value='`$tp.te.inter-domain-plug-id`' />-->\n<parameter name='inter-domain-plug-id' value='`$tmp.decoded-plug-id`' />",
"comments": "",
"outputs": 1,
- "x": 1895,
- "y": 785,
+ "x": 1903,
+ "y": 783.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "c8e5472a.d10408",
+ "id": "7077dcc4.1aa314",
"type": "save",
"name": "save tunnel-termination-point",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point' \n key='tunnel-termination-point.ttp-id = $unique-ttpId' >\n\n<parameter name='ttp-id' value='`$unique-ttpId`' />\n<parameter name='tunnel-tp-id' value='`$ttp.tunnel-tp-id`' />\n<parameter name='name' value='`$ttp.name`' />\n<parameter name='admin-status' value='`$ttp.admin-status`' />\n<parameter name='oper-status' value='`$ttp.oper-status`' />\n<parameter name='inter-layer-lock-id' value='`$ttp.inter-layer-lock-id`' />\n<parameter name='switching-capability' value='`$ttp.switching-capability`' />\n<parameter name='protection-type' value='`$ttp.protection-type`' />\n<parameter name='encoding' value='`$ttp.encoding`' />\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1678,
- "y": 331,
+ "x": 1686,
+ "y": 329.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "11cb3cf8.02c3eb",
- "1a336806.ba4bc8"
+ "ee093e46.66c7d8",
+ "e9c7ad6a.1577f"
]
]
},
{
- "id": "8b0a557c.b35cd",
+ "id": "3a45511d.adcf26",
"type": "for",
"name": "for each tunnel termination point",
"xml": "<for index='ttidx' start='0' end='`$node.te.tunnel-termination-point_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1341,
- "y": 319,
+ "x": 1349,
+ "y": 317.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "58c4d943.63d2f",
- "e7e93cd.8f563c",
- "c8e5472a.d10408",
- "7c00c858.c87ab8",
- "1bd07bf.99e9784"
+ "2ea4deaf.40bdfa",
+ "458ce581.77bfe4",
+ "7077dcc4.1aa314",
+ "dad1a90d.61b018",
+ "7da29c03.1dbdf4"
]
]
},
{
- "id": "58c4d943.63d2f",
+ "id": "2ea4deaf.40bdfa",
"type": "set",
"name": "set tunnel termination point",
"xml": "<set>\n<parameter name='ttp.' value='`$node.te.tunnel-termination-point[$ttidx].`' />\n",
"comments": "",
- "x": 1676,
- "y": 239,
+ "x": 1684,
+ "y": 237.00650024414062,
"z": "6d6b8a1f.be1cb4",
"wires": []
},
{
- "id": "e7e93cd.8f563c",
+ "id": "458ce581.77bfe4",
"type": "set",
"name": "set unique-ttpId",
"xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-nodeId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n",
"comments": "",
- "x": 1634.888916015625,
- "y": 277.111083984375,
+ "x": 1642.888916015625,
+ "y": 275.1175842285156,
"z": "6d6b8a1f.be1cb4",
"wires": []
},
{
- "id": "11cb3cf8.02c3eb",
+ "id": "ee093e46.66c7d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1944,
- "y": 317,
+ "x": 1952,
+ "y": 315.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "9ad375c8.fab3e8"
+ "1b7d5a60.835d5e"
]
]
},
{
- "id": "1a336806.ba4bc8",
+ "id": "e9c7ad6a.1577f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1937.6785888671875,
- "y": 369.21431159973145,
+ "x": 1945.6785888671875,
+ "y": 367.22081184387207,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "842e7e75.fc0558"
+ "652a4eb1.3c9f7"
]
]
},
{
- "id": "9ad375c8.fab3e8",
+ "id": "1b7d5a60.835d5e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2094.500160217285,
- "y": 316.2539310455322,
+ "x": 2102.500160217285,
+ "y": 314.26043128967285,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "842e7e75.fc0558",
+ "id": "652a4eb1.3c9f7",
"type": "update",
"name": "update tunnel-termination-point",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point' \n key='tunnel-termination-point.ttp-id = $unique-ttpId' >\n\n<parameter name='ttp-id' value='`$unique-ttpId`' />\n<parameter name='tunnel-tp-id' value='`$ttp.tunnel-tp-id`' />\n<parameter name='name' value='`$ttp.name`' />\n<parameter name='admin-status' value='`$ttp.admin-status`' />\n<parameter name='oper-status' value='`$ttp.oper-status`' />\n<parameter name='inter-layer-lock-id' value='`$ttp.inter-layer-lock-id`' />\n<parameter name='switching-capability' value='`$ttp.switching-capability`' />\n<parameter name='protection-type' value='`$ttp.protection-type`' />\n<parameter name='encoding' value='`$ttp.encoding`' />\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2175,
- "y": 371,
+ "x": 2183,
+ "y": 369.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "7257c53.4f087bc",
+ "id": "1acdca56.b6e67e",
"type": "set",
"name": "set local variables",
"xml": "<set>\n<parameter name='unique-nodeId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $node.node-id`\" />\n",
"comments": "",
- "x": 927,
- "y": 166,
+ "x": 935,
+ "y": 164.00650024414062,
"z": "6d6b8a1f.be1cb4",
"wires": []
},
{
- "id": "55dde830.cc61b8",
+ "id": "1dca15d7.0a7a3a",
"type": "call",
"name": "call update-network-links-to-aai",
"xml": "<call module='DataChange' rpc='update-network-links-to-aai' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 611,
- "y": 329,
+ "x": 619,
+ "y": 327.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "b86a9ee9.558c2",
+ "id": "c87f71c.204801",
"type": "save",
"name": "save pnf-interface relationship to pnf in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface:relationship-list' \n key='pnf.pnf-name = $unique-nodeId\n AND p-interface.interface-name = $unique-ltpId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $unique-nodeId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-nodeId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1627,
- "y": 844,
+ "x": 1635,
+ "y": 842.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "7c00c858.c87ab8",
+ "id": "dad1a90d.61b018",
"type": "save",
"name": "save pnf relationship to tunnel termination point in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $unique-nodeId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"`relationship-list.relationship[$ttidx].related-to`\" value=\"tunnel-termination-point\" />\n<!--<parameter name=\"relationship-list.relationship[$ttidx].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id + '/pnfs/pnf/' + $node.node-id '/tunnel-termination-points/tunnel-termination-point/' + $unique-ttpId`\" />-->\n<parameter name=\"`relationship-list.relationship[$ttidx].related-link`\" value=\"`'/network/tunnel-termination-points/tunnel-termination-point/' + $unique-ttpId`\" />\n<parameter name=\"`relationship-list.relationship[$ttidx].relationship-data[0].relationship-key`\" value=\"tunnel-termination-point.ttp-id\" />\n<parameter name=\"`relationship-list.relationship[$ttidx].relationship-data[0].relationship-value`\" value=\"`$unique-ttpId`\" />",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $unique-nodeId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"tunnel-termination-point\" />\n<!--<parameter name=\"relationship-list.relationship[$ttidx].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id + '/pnfs/pnf/' + $node.node-id '/tunnel-termination-points/tunnel-termination-point/' + $unique-ttpId`\" />-->\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/tunnel-termination-points/tunnel-termination-point/' + $unique-ttpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"tunnel-termination-point.ttp-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-ttpId`\" />",
"comments": "",
"outputs": 1,
- "x": 1749,
- "y": 423,
+ "x": 1757,
+ "y": 421.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "5d32d079.32cfb8",
- "5c2d8774.9a9178"
+ "486bef2.804149",
+ "8297f8e3.32f2f"
]
]
},
{
- "id": "395bef40.08498",
+ "id": "3e1f14bc.ee90c4",
"type": "switchNode",
"name": "switch node ttp",
"xml": "<switch test='`$node.te.tunnel-termination-point_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 913,
- "y": 295,
+ "x": 921,
+ "y": 293.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "84bf875e.b8d51",
- "cc6df2e.2398e9",
- "f2d2c388.1aa578"
+ "3564e5a8.68c49a",
+ "fd68b5a4.a3a878",
+ "f36d0950.312798"
]
]
},
{
- "id": "5889c4ed.3fc544",
+ "id": "d6240165.9d9a1",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1261,
- "y": 247,
+ "x": 1269,
+ "y": 245.00650024414062,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "f2d2c388.1aa578",
+ "id": "f36d0950.312798",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1103,
- "y": 318,
+ "x": 1111,
+ "y": 316.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "8b0a557c.b35cd"
+ "3a45511d.adcf26"
]
]
},
{
- "id": "1392eb55.76adbd",
+ "id": "6de7541f.0e2a24",
"type": "switchNode",
"name": "switch node tp",
"xml": "<switch test='`$node.termination-point_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 893,
- "y": 550,
+ "x": 901,
+ "y": 548.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "c5e649ab.cfe2e8",
- "d7a3de29.b44a1",
- "a21fbfb7.b6608"
+ "d28496d2.5ae628",
+ "74698dba.4a5d9c",
+ "f51e137e.4b4cd"
]
]
},
{
- "id": "c5e649ab.cfe2e8",
+ "id": "d28496d2.5ae628",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1072,
- "y": 502,
+ "x": 1080,
+ "y": 500.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "3d51c59d.7acffa"
+ "1912a08f.2e751f"
]
]
},
{
- "id": "d7a3de29.b44a1",
+ "id": "74698dba.4a5d9c",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1071,
- "y": 604,
+ "x": 1079,
+ "y": 602.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "9c15e41a.6cfbc8"
+ "3d4b777c.0e42f"
]
]
},
{
- "id": "3d51c59d.7acffa",
+ "id": "1912a08f.2e751f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1227,
- "y": 502,
+ "x": 1235,
+ "y": 500.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "e55192de.2cc998",
+ "id": "8794be9f.289a08",
"type": "record",
"name": "log file",
"xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logTopologyDiscovery.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"sucess executing Hesam log file\" />\n <parameter name=\"field3\" value=\"`$node.te.tunnel-termination-point_length`\" />\n <parameter name=\"field4\" value=\"`$node.termination-point_length`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 891,
- "y": 339,
+ "x": 899,
+ "y": 337.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "84bf875e.b8d51",
+ "id": "3564e5a8.68c49a",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1101,
- "y": 181,
+ "x": 1109,
+ "y": 179.00650024414062,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "5889c4ed.3fc544"
+ "d6240165.9d9a1"
]
]
},
{
- "id": "cc6df2e.2398e9",
+ "id": "fd68b5a4.a3a878",
"type": "outcome",
"name": "length 0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 1106,
- "y": 256,
+ "x": 1114,
+ "y": 254.00650024414062,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "5889c4ed.3fc544"
+ "d6240165.9d9a1"
]
]
},
{
- "id": "a21fbfb7.b6608",
+ "id": "f51e137e.4b4cd",
"type": "outcome",
"name": "length 0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 1082,
- "y": 550,
+ "x": 1090,
+ "y": 548.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "3d51c59d.7acffa"
+ "1912a08f.2e751f"
]
]
},
{
- "id": "a1ffb2f2.4b50b8",
+ "id": "1b6896a8.e62c19",
"type": "set",
"name": "unset node",
"xml": "<set>\n<parameter name='node.' value='' />\n\n",
"comments": "",
- "x": 899,
- "y": 68,
+ "x": 907,
+ "y": 66.00650024414062,
"z": "6d6b8a1f.be1cb4",
"wires": []
},
{
- "id": "9abbad80.6c0f7",
+ "id": "64896027.57fb78",
"type": "set",
"name": "unset termination point",
"xml": "<set>\n<parameter name='tp.' value='' />\n",
"comments": "",
- "x": 1561,
- "y": 500,
+ "x": 1569,
+ "y": 498.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": []
},
{
- "id": "1bd07bf.99e9784",
+ "id": "7da29c03.1dbdf4",
"type": "set",
"name": "unset tunnel termination point",
"xml": "<set>\n<parameter name='ttp.' value='' />\n",
"comments": "",
- "x": 1676,
- "y": 191,
+ "x": 1684,
+ "y": 189.00650024414062,
"z": "6d6b8a1f.be1cb4",
"wires": []
},
{
- "id": "5d32d079.32cfb8",
+ "id": "486bef2.804149",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2081,
- "y": 426,
+ "x": 2089,
+ "y": 424.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "42b15971.2191b8"
+ "f859267c.20dd3"
]
]
},
{
- "id": "5c2d8774.9a9178",
+ "id": "8297f8e3.32f2f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2078,
- "y": 474,
+ "x": 2086,
+ "y": 472.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "ad595c83.2160d"
+ "19a686f.52c17f9"
]
]
},
{
- "id": "42b15971.2191b8",
+ "id": "f859267c.20dd3",
"type": "record",
"name": "log file",
"xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logTopologyDiscovery.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"sucess executing Hesam log file\" />\n <parameter name=\"field3\" value=\"`$node.te.tunnel-termination-point_length`\" />\n <parameter name=\"field4\" value=\"`$node.termination-point_length`\" />\n <parameter name=\"field5\" value=\"sucessfully saved ttp\" />\n <parameter name=\"field6\" value=\"`relationship-list.relationship[$ttidx].related-link`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2236,
- "y": 427,
+ "x": 2244,
+ "y": 425.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "ad595c83.2160d",
+ "id": "19a686f.52c17f9",
"type": "record",
"name": "log file",
"xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logTopologyDiscovery.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"sucess executing Hesam log file\" />\n <parameter name=\"field3\" value=\"`$node.te.tunnel-termination-point_length`\" />\n <parameter name=\"field4\" value=\"`$node.termination-point_length`\" />\n <parameter name=\"field5\" value=\"failuire on saving ttp\" />\n <parameter name=\"field6\" value=\"`relationship-list.relationship[$ttidx].related-link`\" />\n\n ",
"comments": "",
"outputs": 1,
- "x": 2237,
- "y": 475,
+ "x": 2245,
+ "y": 473.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "b9a378e9.3ee13",
+ "id": "c991cb25.a4c41",
"type": "execute",
"name": "execute Base64 Converter",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='base64DecodingAlgo' >\n <parameter name=\"encodedValue\" value='`$tp.te.inter-domain-plug-id`'/>\n <parameter name=\"decodedValue\" value=\"tmp.decoded-plug-id\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 2027,
- "y": 669,
+ "x": 2035,
+ "y": 667.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "1cdf8713.954a51",
- "3754d4b.0357eac"
+ "dcbfdbac.4106e8",
+ "25f66573.5f2caa"
]
]
},
{
- "id": "ef702ba5.ac71e",
+ "id": "fe275075.949f1",
"type": "switchNode",
"name": "switch inter-domain-plug-id empty?",
"xml": "<switch test='`length($tp.te.inter-domain-plug-id) == 0`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 1597,
- "y": 670,
+ "x": 1605,
+ "y": 668.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "95523b36.e61fe",
- "a2f27028.9e578"
+ "2202ef19.0cb66",
+ "a44d5e08.8645a8"
]
]
},
{
- "id": "a2f27028.9e578",
+ "id": "a44d5e08.8645a8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1824,
- "y": 623,
+ "x": 1832,
+ "y": 621.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "ce508a28.fe217"
+ "77ac957f.8f7e64"
]
]
},
{
- "id": "95523b36.e61fe",
+ "id": "2202ef19.0cb66",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1825,
- "y": 669,
+ "x": 1833,
+ "y": 667.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "b9a378e9.3ee13"
+ "c991cb25.a4c41"
]
]
},
{
- "id": "ce508a28.fe217",
+ "id": "77ac957f.8f7e64",
"type": "set",
"name": "unset tmp.decoded-plug-id",
"xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='' />\n",
"comments": "",
- "x": 2028,
- "y": 623,
+ "x": 2036,
+ "y": 621.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": []
},
{
- "id": "1cdf8713.954a51",
+ "id": "dcbfdbac.4106e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2232,
- "y": 646,
+ "x": 2240,
+ "y": 644.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "611d993d.82c5c"
+ "21836a86.63b72e"
]
]
},
{
- "id": "3754d4b.0357eac",
+ "id": "25f66573.5f2caa",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2225.6785888671875,
- "y": 698.2143115997314,
+ "x": 2233.6785888671875,
+ "y": 696.2208118438721,
"z": "6d6b8a1f.be1cb4",
"wires": [
[
- "495bfe4.4b1a"
+ "8297f536.6bb4a"
]
]
},
{
- "id": "611d993d.82c5c",
+ "id": "21836a86.63b72e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2373,
- "y": 646,
+ "x": 2381,
+ "y": 644.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": [
[]
]
},
{
- "id": "495bfe4.4b1a",
+ "id": "8297f536.6bb4a",
"type": "set",
"name": "unset tmp.decoded-plug-id",
"xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='`$tp.te.inter-domain-plug-id`' />\n",
"comments": "",
- "x": 2432,
- "y": 698,
+ "x": 2440,
+ "y": 696.0065002441406,
"z": "6d6b8a1f.be1cb4",
"wires": []
},
{
- "id": "f7667eb6.ec8938",
+ "id": "1c1d34a0.adaa8b",
"type": "set",
"name": "set tmp.network-if",
"xml": "<set>\n<parameter name='tmp.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-' + $tmp.original-network-id`\" />\n\n",
"comments": "",
- "x": 667,
- "y": 83,
+ "x": 675,
+ "y": 81.00650024414062,
"z": "6d6b8a1f.be1cb4",
"wires": []
}