aboutsummaryrefslogtreecommitdiffstats
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.json1260
1 files changed, 882 insertions, 378 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 5cf9d15e..0285c5d0 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": "761e68a4.20d828",
+ "id": "833893fc.cd4dc",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 138,
- "y": 118,
- "z": "602a9cf3.38fe14",
+ "x": 135.56666564941406,
+ "y": 158.56666564941406,
+ "z": "a00613f8.474e58",
"wires": [
[
- "77bd0709.0316f8"
+ "ddef51e8.c000f"
]
]
},
{
- "id": "77bd0709.0316f8",
+ "id": "ddef51e8.c000f",
"type": "service-logic",
"name": "DataChange ${project.version}",
"module": "DataChange",
@@ -22,1120 +22,1624 @@
"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": 227.00003051757812,
- "y": 208.88891220092773,
- "z": "602a9cf3.38fe14",
+ "x": 224.5666961669922,
+ "y": 249.4555778503418,
+ "z": "a00613f8.474e58",
"wires": [
[
- "ce4c01c9.aadb6"
+ "590cf9dc.a4f168"
]
]
},
{
- "id": "ce4c01c9.aadb6",
+ "id": "590cf9dc.a4f168",
"type": "method",
"name": "update-network-to-aai",
"xml": "<method rpc='update-network-to-aai' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 263.1112518310547,
- "y": 279.2222366333008,
- "z": "602a9cf3.38fe14",
+ "x": 260.67791748046875,
+ "y": 319.78890228271484,
+ "z": "a00613f8.474e58",
"wires": [
[
- "d7c571d2.ba17"
+ "4ea80a5b.3a2674"
]
]
},
{
- "id": "d7c571d2.ba17",
+ "id": "4ea80a5b.3a2674",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 488.33343505859375,
- "y": 278.7779235839844,
- "z": "602a9cf3.38fe14",
+ "x": 485.9001007080078,
+ "y": 319.34458923339844,
+ "z": "a00613f8.474e58",
"wires": [
[
- "bbf04729.a6b23",
- "e453d9fe.dac3d",
- "5625b915.f4097",
- "c5a21baf.a8c168",
- "6179e02b.bcf5",
- "1d5c0100.129fd7"
+ "ebff53.633678b",
+ "ca110ee4.0623c",
+ "a428df69.d4918",
+ "bcb331d5.4b2888",
+ "621633c6.c8ab1c",
+ "f650a5ef.af19b",
+ "41c6a2f9.33057c",
+ "55d89697.da8d4",
+ "fc94b1ae.7adf4",
+ "d0070ca3.12857",
+ "7cbfe92.8c19d98"
]
]
},
{
- "id": "e453d9fe.dac3d",
+ "id": "ca110ee4.0623c",
"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.te-topology-identifier.client-id`' />\n<parameter name='te-topo-id' value='`$network.te-topology-identifier.topology-id`' />\n<parameter name='provider-id' value='`$network.te-topology-identifier.provider-id`' />\n\n<parameter name='network-type' value='`$network.network-types`' />\n\n\n",
+ "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='`$tmp.client-id`' />\n<parameter name='te-topo-id' value='`$tmp.te-topo-id`' />\n<parameter name='provider-id' value='`$tmp.provider-id`' />\n<!--<parameter name='client-id' value='`$network.te-topology-identifier.client-id`' />-->\n<!--<parameter name='te-topo-id' value='`$network.te-topology-identifier.topology-id`' />-->\n<!--<parameter name='provider-id' value='`$network.te-topology-identifier.provider-id`' />-->\n\n<parameter name='network-type' value='`$network.network-types`' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 718.333251953125,
- "y": 184.00001525878906,
- "z": "602a9cf3.38fe14",
+ "x": 815.89990234375,
+ "y": 1077.5667419433594,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "375be865.3c0f",
+ "id": "1c5189aa.97911e",
"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": 918.1111450195312,
- "y": 555.111083984375,
- "z": "602a9cf3.38fe14",
+ "x": 979.6777954101562,
+ "y": 1599.6777038574219,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "5625b915.f4097",
+ "id": "a428df69.d4918",
"type": "for",
"name": "for each node",
"xml": "<for index='pidx' start='0' end='`$network.node_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 689.8888549804688,
- "y": 535.3333129882812,
- "z": "602a9cf3.38fe14",
+ "x": 751.4555053710938,
+ "y": 1579.8999328613281,
+ "z": "a00613f8.474e58",
"wires": [
[
- "375be865.3c0f",
- "4ec17378.333f8c",
- "56584a7c.bcf26c",
- "e61a37ad.722b58",
- "53212212.eee0d4",
- "d084b3c7.e9a8d8",
- "b406de10.4f976",
- "10825cf6.777533"
+ "1c5189aa.97911e",
+ "5cc65873.45f068",
+ "6e932325.b3ce0c",
+ "fa029f12.0579a8",
+ "74eb96bf.859028",
+ "f1753d6a.8970a",
+ "488b7493.2568f4",
+ "5792a57.27026dc"
]
]
},
{
- "id": "4ec17378.333f8c",
+ "id": "5cc65873.45f068",
"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": 923.111083984375,
- "y": 451.2222137451172,
- "z": "602a9cf3.38fe14",
+ "x": 984.677734375,
+ "y": 1495.788833618164,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "e61a37ad.722b58",
+ "id": "fa029f12.0579a8",
"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": 1014.7779541015625,
- "y": 730.4444780349731,
- "z": "602a9cf3.38fe14",
+ "x": 1076.3446044921875,
+ "y": 1775.01109790802,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "663dfab3.1deedc",
+ "id": "673098cb.075338",
"type": "for",
"name": "for each termination point",
"xml": "<for index='tidx' start='0' end='`$node.termination-point_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1322.4444580078125,
- "y": 646.1110534667969,
- "z": "602a9cf3.38fe14",
+ "x": 1384.0111083984375,
+ "y": 1690.6776733398438,
+ "z": "a00613f8.474e58",
"wires": [
[
- "34b91b9e.a21bbc",
- "8ee77851.c5edd8",
- "15e31265.27a116",
- "bdd15a8d.477f28",
- "847fbf7b.b4b66"
+ "14328870.e01fc8",
+ "98b3a9f1.3c7a",
+ "1e0cb0c8.6af377",
+ "d97910b0.5bb5e8",
+ "2568e5e9.694fba"
]
]
},
{
- "id": "34b91b9e.a21bbc",
+ "id": "14328870.e01fc8",
"type": "set",
"name": "set termination point",
"xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n",
"comments": "",
- "x": 1592.111328125,
- "y": 629.0000305175781,
- "z": "602a9cf3.38fe14",
+ "x": 1653.677978515625,
+ "y": 1673.566650390625,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "15e31265.27a116",
+ "id": "1e0cb0c8.6af377",
"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": 1586.815185546875,
- "y": 816.5555725097656,
- "z": "602a9cf3.38fe14",
+ "x": 1648.3818359375,
+ "y": 1861.1221923828125,
+ "z": "a00613f8.474e58",
"wires": [
[
- "3101a3f2.5441ec",
- "1a80d066.48736"
+ "27884524.eae2da",
+ "6320df74.68c278"
]
]
},
{
- "id": "923c5d7b.98959",
+ "id": "522b5f86.997c5",
"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": 1407.703857421875,
- "y": 1729.3333435058594,
- "z": "602a9cf3.38fe14",
+ "x": 1469.2705078125,
+ "y": 2773.8999633789062,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "8ee77851.c5edd8",
+ "id": "98b3a9f1.3c7a",
"type": "set",
"name": "set unique-ltpId",
"xml": "<set>\n<parameter name='unique-ltpId' value=\"`$unique-nodeId + '-ltpId-' + $tp.te-tp-id`\" />\n",
"comments": "",
- "x": 1576.000244140625,
- "y": 686.1110534667969,
- "z": "602a9cf3.38fe14",
+ "x": 1637.56689453125,
+ "y": 1730.6776733398438,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "bbf04729.a6b23",
+ "id": "ebff53.633678b",
"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": 674.9935302734375,
- "y": 92.99349975585938,
- "z": "602a9cf3.38fe14",
+ "x": 658.5601806640625,
+ "y": 39.56017303466797,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "56584a7c.bcf26c",
+ "id": "6e932325.b3ce0c",
"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/' + $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": 996,
- "y": 766.9934997558594,
- "z": "602a9cf3.38fe14",
+ "x": 1057.566650390625,
+ "y": 1811.5601196289062,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "3101a3f2.5441ec",
+ "id": "27884524.eae2da",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1758.499885559082,
- "y": 803.7460479736328,
- "z": "602a9cf3.38fe14",
+ "x": 1820.066535949707,
+ "y": 1848.3126678466797,
+ "z": "a00613f8.474e58",
"wires": [
[
- "f0102e05.0d4918"
+ "eca5dc85.dc169"
]
]
},
{
- "id": "1a80d066.48736",
+ "id": "6320df74.68c278",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1752.1784744262695,
- "y": 855.9603595733643,
- "z": "602a9cf3.38fe14",
+ "x": 1813.7451248168945,
+ "y": 1900.5269794464111,
+ "z": "a00613f8.474e58",
"wires": [
[
- "851b8afc.ed0d6"
+ "4f36fae3.fb3d2c"
]
]
},
{
- "id": "f0102e05.0d4918",
+ "id": "eca5dc85.dc169",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1909.0000457763672,
- "y": 802.999979019165,
- "z": "602a9cf3.38fe14",
+ "x": 1970.5666961669922,
+ "y": 1847.566598892212,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "851b8afc.ed0d6",
+ "id": "4f36fae3.fb3d2c",
"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": 1938,
- "y": 856.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1999.566650390625,
+ "y": 1901.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "95d00fe5.3c431",
+ "id": "9afbe60e.d5e018",
"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[0]`' />\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": 1652,
- "y": 1107.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1713.566650390625,
+ "y": 2152.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "fd2c3c98.e696c",
- "ddcea662.a71648"
+ "d31fa9d0.e36698",
+ "6da3b2ca.c0f984"
]
]
},
{
- "id": "9b51f802.015ec",
+ "id": "db4633a0.6d81",
"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": 1315,
- "y": 1095.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1376.566650390625,
+ "y": 2140.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "f4695d4f.8e6e6",
- "5bac7584.0c80fc",
- "95d00fe5.3c431",
- "215e84ff.a6a76c",
- "27c88040.1575b8",
- "cbf87dc2.898dc8"
+ "f58dd7ba.f71ba8",
+ "e9a95ae5.095c7",
+ "9afbe60e.d5e018",
+ "dfba66a0.a570f",
+ "8e56a27.ed9656",
+ "a3b0d055.5709c"
]
]
},
{
- "id": "f4695d4f.8e6e6",
+ "id": "f58dd7ba.f71ba8",
"type": "set",
"name": "set tunnel termination point",
"xml": "<set>\n<parameter name='ttp.' value='`$node.te.tunnel-termination-point[$ttidx].`' />\n",
"comments": "",
- "x": 1650,
- "y": 1015.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1711.566650390625,
+ "y": 2060.5665893554688,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "5bac7584.0c80fc",
+ "id": "e9a95ae5.095c7",
"type": "set",
"name": "set unique-ttpId",
"xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-nodeId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n",
"comments": "",
- "x": 1608.888916015625,
- "y": 1054.1110534667969,
- "z": "602a9cf3.38fe14",
+ "x": 1670.45556640625,
+ "y": 2098.6776733398438,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "fd2c3c98.e696c",
+ "id": "d31fa9d0.e36698",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1918,
- "y": 1093.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1979.566650390625,
+ "y": 2138.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "17cf7c51.7123dc"
+ "95619f03.b62ee"
]
]
},
{
- "id": "ddcea662.a71648",
+ "id": "6da3b2ca.c0f984",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1911.6785888671875,
- "y": 1146.2142810821533,
- "z": "602a9cf3.38fe14",
+ "x": 1973.2452392578125,
+ "y": 2190.7809009552,
+ "z": "a00613f8.474e58",
"wires": [
[
- "44867d6a.9d6f04"
+ "88d246a7.3c6ed8"
]
]
},
{
- "id": "17cf7c51.7123dc",
+ "id": "95619f03.b62ee",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2068.500160217285,
- "y": 1093.253900527954,
- "z": "602a9cf3.38fe14",
+ "x": 2130.06681060791,
+ "y": 2137.820520401001,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "44867d6a.9d6f04",
+ "id": "88d246a7.3c6ed8",
"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[0]`' />\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": 2149,
- "y": 1147.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 2210.566650390625,
+ "y": 2192.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "53212212.eee0d4",
+ "id": "74eb96bf.859028",
"type": "set",
"name": "set local variables",
"xml": "<set>\n<parameter name='unique-nodeId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $node.node-id`\" />\n",
"comments": "",
- "x": 948,
- "y": 498,
- "z": "602a9cf3.38fe14",
+ "x": 1009.566650390625,
+ "y": 1542.5666198730469,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "c5a21baf.a8c168",
+ "id": "bcb331d5.4b2888",
"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": 632,
- "y": 661,
- "z": "602a9cf3.38fe14",
+ "x": 693.566650390625,
+ "y": 1705.5666198730469,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "bb1cacb7.ad451",
+ "id": "842a0151.8415f",
"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": 1414,
- "y": 1684.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1475.566650390625,
+ "y": 2729.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "215e84ff.a6a76c",
+ "id": "dfba66a0.a570f",
"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[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": 1723,
- "y": 1199.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1784.566650390625,
+ "y": 2244.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "b2ce5e57.725c48",
- "ecae58d2.6c42a"
+ "e89e91e3.86ef68",
+ "cb114306.b09568"
]
]
},
{
- "id": "d084b3c7.e9a8d8",
+ "id": "f1753d6a.8970a",
"type": "switchNode",
"name": "switch node ttp",
"xml": "<switch test='`$node.te.tunnel-termination-point_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 887,
- "y": 1071.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 948.566650390625,
+ "y": 2116.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "4865cde2.7cfebc",
- "3d27675.a149b18",
- "57deece8.01b8cc"
+ "3e378927.66a8e6",
+ "8e7d32ae.6545b8",
+ "823a8d5c.adc0e"
]
]
},
{
- "id": "35cbe11c.dd6a16",
+ "id": "c17cfb12.a956f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1235,
- "y": 1023.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1296.566650390625,
+ "y": 2068.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "57deece8.01b8cc",
+ "id": "823a8d5c.adc0e",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1082,
- "y": 1106.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1143.566650390625,
+ "y": 2151.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "9b51f802.015ec"
+ "db4633a0.6d81"
]
]
},
{
- "id": "b406de10.4f976",
+ "id": "488b7493.2568f4",
"type": "switchNode",
"name": "switch node tp",
"xml": "<switch test='`$node.termination-point_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 936,
- "y": 621.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 997.566650390625,
+ "y": 1666.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "d2843fed.623f28",
- "35baa2d4.5e4b66",
- "ea06dcd1.7022d8"
+ "28c0a1a9.e89256",
+ "298d87ce.e145a",
+ "dc9cd29a.1758c8"
]
]
},
{
- "id": "d2843fed.623f28",
+ "id": "28c0a1a9.e89256",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1115,
- "y": 573.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1176.566650390625,
+ "y": 1618.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "6b24c820.32a928"
+ "dbf4e13b.6fd0b"
]
]
},
{
- "id": "35baa2d4.5e4b66",
+ "id": "298d87ce.e145a",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1114,
- "y": 675.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1175.566650390625,
+ "y": 1720.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "663dfab3.1deedc"
+ "673098cb.075338"
]
]
},
{
- "id": "6b24c820.32a928",
+ "id": "dbf4e13b.6fd0b",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1270,
- "y": 573.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1331.566650390625,
+ "y": 1618.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "c2dd2cff.e58418",
+ "id": "ba8600e5.03dd3",
"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": 865,
- "y": 1115.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 926.566650390625,
+ "y": 2160.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "4865cde2.7cfebc",
+ "id": "3e378927.66a8e6",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1075,
- "y": 957.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1136.566650390625,
+ "y": 2002.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "35cbe11c.dd6a16"
+ "c17cfb12.a956f"
]
]
},
{
- "id": "3d27675.a149b18",
+ "id": "8e7d32ae.6545b8",
"type": "outcome",
"name": "length 0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 1080,
- "y": 1032.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1141.566650390625,
+ "y": 2077.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "35cbe11c.dd6a16"
+ "c17cfb12.a956f"
]
]
},
{
- "id": "ea06dcd1.7022d8",
+ "id": "dc9cd29a.1758c8",
"type": "outcome",
"name": "length 0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 1125,
- "y": 621.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1186.566650390625,
+ "y": 1666.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "6b24c820.32a928"
+ "dbf4e13b.6fd0b"
]
]
},
{
- "id": "10825cf6.777533",
+ "id": "5792a57.27026dc",
"type": "set",
"name": "unset node",
"xml": "<set>\n<parameter name='node.' value='' />\n\n",
"comments": "",
- "x": 920,
- "y": 400,
- "z": "602a9cf3.38fe14",
+ "x": 981.566650390625,
+ "y": 1444.5666198730469,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "bdd15a8d.477f28",
+ "id": "d97910b0.5bb5e8",
"type": "set",
"name": "unset termination point",
"xml": "<set>\n<parameter name='tp.' value='' />\n",
"comments": "",
- "x": 1604,
- "y": 571.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1665.566650390625,
+ "y": 1616.5665893554688,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "27c88040.1575b8",
+ "id": "8e56a27.ed9656",
"type": "set",
"name": "unset tunnel termination point",
"xml": "<set>\n<parameter name='ttp.' value='' />\n",
"comments": "",
- "x": 1650,
- "y": 967.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1711.566650390625,
+ "y": 2012.5665893554688,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "b2ce5e57.725c48",
+ "id": "e89e91e3.86ef68",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2055,
- "y": 1202.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 2116.566650390625,
+ "y": 2247.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "ecae58d2.6c42a",
+ "id": "cb114306.b09568",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2052,
- "y": 1250.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 2113.566650390625,
+ "y": 2295.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "66810254.224164",
+ "id": "d3d202cd.308948",
"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": 2210,
- "y": 1203.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 2271.566650390625,
+ "y": 2248.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "1bb980b.9e20b7f",
+ "id": "8a1cfb4d.696d18",
"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": 2211,
- "y": 1251.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 2272.566650390625,
+ "y": 2296.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "7353d26c.dd96ec",
+ "id": "50b8a3b8.1b8644",
"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": 2070,
- "y": 740.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 2131.566650390625,
+ "y": 1785.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "5edff614.826d5",
- "1737b2af.9f2d45"
+ "fd502708.7f6088",
+ "ceed1c04.61dda"
]
]
},
{
- "id": "847fbf7b.b4b66",
+ "id": "2568e5e9.694fba",
"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": 1640,
- "y": 741.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1701.566650390625,
+ "y": 1786.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "c7b2022.f3821",
- "cdd8e382.236ad"
+ "96134678.4ddb",
+ "b351d2bc.b887c"
]
]
},
{
- "id": "cdd8e382.236ad",
+ "id": "b351d2bc.b887c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1867,
- "y": 694.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1928.566650390625,
+ "y": 1739.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "7cffd999.b3b1b8"
+ "465845f4.285064"
]
]
},
{
- "id": "c7b2022.f3821",
+ "id": "96134678.4ddb",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1868,
- "y": 740.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 1929.566650390625,
+ "y": 1785.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "7353d26c.dd96ec"
+ "50b8a3b8.1b8644"
]
]
},
{
- "id": "7cffd999.b3b1b8",
+ "id": "465845f4.285064",
"type": "set",
"name": "unset tmp.decoded-plug-id",
"xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='' />\n",
"comments": "",
- "x": 2071,
- "y": 694.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 2132.566650390625,
+ "y": 1739.5665893554688,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "5edff614.826d5",
+ "id": "fd502708.7f6088",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2275,
- "y": 717.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 2336.566650390625,
+ "y": 1762.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[
- "c0e19e99.143c08"
+ "4fd4e9b0.85ded8"
]
]
},
{
- "id": "1737b2af.9f2d45",
+ "id": "ceed1c04.61dda",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2268.6785888671875,
- "y": 770.2142810821533,
- "z": "602a9cf3.38fe14",
+ "x": 2330.2452392578125,
+ "y": 1814.7809009552002,
+ "z": "a00613f8.474e58",
"wires": [
[
- "d55c12df.ae4af8"
+ "7cb0f25f.577834"
]
]
},
{
- "id": "c0e19e99.143c08",
+ "id": "4fd4e9b0.85ded8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2416,
- "y": 717.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 2477.566650390625,
+ "y": 1762.5665893554688,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "d55c12df.ae4af8",
+ "id": "7cb0f25f.577834",
"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": 2475,
- "y": 769.9999694824219,
- "z": "602a9cf3.38fe14",
+ "x": 2536.566650390625,
+ "y": 1814.5665893554688,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "6179e02b.bcf5",
+ "id": "621633c6.c8ab1c",
"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<parameter name='tmp.network-id' value=\"`$tmp.original-network-id`\" />\n\n",
"comments": "",
- "x": 700,
- "y": 134,
- "z": "602a9cf3.38fe14",
+ "x": 695.566650390625,
+ "y": 84.5666732788086,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "1d5c0100.129fd7",
+ "id": "f650a5ef.af19b",
"type": "get-resource",
"name": "get-resource esr-thirdparty-sdnc",
"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 = $prop.sdncRestApi.thirdpartySdnc.id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
"comments": "",
"outputs": 1,
- "x": 761,
- "y": 272.9934997558594,
- "z": "602a9cf3.38fe14",
+ "x": 822.566650390625,
+ "y": 1317.5601196289062,
+ "z": "a00613f8.474e58",
"wires": [
[
- "90eb31b2.77c238",
- "f3a7ce78.cbd56",
- "9f7c8245.3dec38"
+ "bf82df38.5fc2f8",
+ "ce81da89.35a2c8",
+ "f4d6f467.ce569"
]
]
},
{
- "id": "90eb31b2.77c238",
+ "id": "bf82df38.5fc2f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1007,
- "y": 232.99349975585938,
- "z": "602a9cf3.38fe14",
+ "x": 1068.566650390625,
+ "y": 1277.5601196289062,
+ "z": "a00613f8.474e58",
"wires": [
[
- "8f122881.12a378"
+ "d25f7df8.46aa78"
]
]
},
{
- "id": "f3a7ce78.cbd56",
+ "id": "ce81da89.35a2c8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1011,
- "y": 272.9934997558594,
- "z": "602a9cf3.38fe14",
+ "x": 1072.566650390625,
+ "y": 1317.5601196289062,
+ "z": "a00613f8.474e58",
"wires": [
[
- "ecbad826.8cc148"
+ "695ad308.5680bc"
]
]
},
{
- "id": "9f7c8245.3dec38",
+ "id": "f4d6f467.ce569",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1003,
- "y": 312.9934997558594,
- "z": "602a9cf3.38fe14",
+ "x": 1064.566650390625,
+ "y": 1357.5601196289062,
+ "z": "a00613f8.474e58",
"wires": [
[
- "cf84ec83.d6cc78"
+ "bf5c49d4.b655e"
]
]
},
{
- "id": "ecbad826.8cc148",
+ "id": "695ad308.5680bc",
"type": "returnFailure",
"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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
"comments": "",
- "x": 1161,
- "y": 272.9934997558594,
- "z": "602a9cf3.38fe14",
+ "x": 1222.566650390625,
+ "y": 1317.5601196289062,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "cf84ec83.d6cc78",
+ "id": "bf5c49d4.b655e",
"type": "returnFailure",
"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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
"comments": "",
- "x": 1161,
- "y": 312.9934997558594,
- "z": "602a9cf3.38fe14",
+ "x": 1222.566650390625,
+ "y": 1357.5601196289062,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "8f122881.12a378",
+ "id": "d25f7df8.46aa78",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1151,
- "y": 230.99349975585938,
- "z": "602a9cf3.38fe14",
+ "x": 1212.566650390625,
+ "y": 1275.5601196289062,
+ "z": "a00613f8.474e58",
"wires": [
[
- "1e7c71ae.903b3e"
+ "792abb8a.e3a5dc"
]
]
},
{
- "id": "1e7c71ae.903b3e",
+ "id": "792abb8a.e3a5dc",
"type": "save",
"name": "save network-resource relationship to esr-thirdparty-sdnc",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='network-resource:relationship-list' \n key='network-resource.network-id = $tmp.network-id'\n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"esr-thirdparty-sdnc\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/aai/v19/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"esr-thirdparty-sdnc.thirdparty-sdnc-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n<!--/aai/v19/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/SOTNControllerDomain2-->\n",
"comments": "",
"outputs": 1,
- "x": 1454,
- "y": 231.99349975585938,
- "z": "602a9cf3.38fe14",
+ "x": 1515.566650390625,
+ "y": 1276.5601196289062,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "cbf87dc2.898dc8",
+ "id": "a3b0d055.5709c",
"type": "switchNode",
"name": "switch llcl length",
"xml": "<switch test='`$node.te.tunnel-termination-point[$ttidx].local-link-connectivities.local-link-connectivity_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1584,
- "y": 1371.9934997558594,
- "z": "602a9cf3.38fe14",
+ "x": 1645.566650390625,
+ "y": 2416.5601196289062,
+ "z": "a00613f8.474e58",
"wires": [
[
- "63cc82cd.b17e4c",
- "7a2ef7bd.18409",
- "bb4f9fb3.43afc8"
+ "51a385c5.556044",
+ "df46ecf8.1b26",
+ "6a30fe4f.16242"
]
]
},
{
- "id": "63cc82cd.b17e4c",
+ "id": "51a385c5.556044",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1772,
- "y": 1257.9934997558594,
- "z": "602a9cf3.38fe14",
+ "x": 1833.566650390625,
+ "y": 2302.5601196289062,
+ "z": "a00613f8.474e58",
"wires": [
[
- "6223b1f1.46672"
+ "f8b8a3a6.588ed8"
]
]
},
{
- "id": "7a2ef7bd.18409",
+ "id": "df46ecf8.1b26",
"type": "outcome",
"name": "length 0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 1777,
- "y": 1332.9934997558594,
- "z": "602a9cf3.38fe14",
+ "x": 1838.566650390625,
+ "y": 2377.5601196289062,
+ "z": "a00613f8.474e58",
"wires": [
[
- "6223b1f1.46672"
+ "f8b8a3a6.588ed8"
]
]
},
{
- "id": "bb4f9fb3.43afc8",
+ "id": "6a30fe4f.16242",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1779,
- "y": 1406.9934997558594,
- "z": "602a9cf3.38fe14",
+ "x": 1840.566650390625,
+ "y": 2451.5601196289062,
+ "z": "a00613f8.474e58",
"wires": [
[
- "3a444976.a40cae"
+ "fa9c435a.363ed"
]
]
},
{
- "id": "6223b1f1.46672",
+ "id": "f8b8a3a6.588ed8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1932,
- "y": 1323.9934997558594,
- "z": "602a9cf3.38fe14",
+ "x": 1993.566650390625,
+ "y": 2368.5601196289062,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "7f51d8cc.cf481",
+ "id": "76c367aa.287738",
"type": "save",
"name": "save ttp relationship to tp in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point:relationship-list' \n key='tunnel-termination-point.ttp-id = $unique-ttpId' 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/' + $unique-nodeId + '/p-interfaces/p-interface/' + $unique-ltpId-second`\" />\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-second`\" />",
"comments": "",
"outputs": 1,
- "x": 2160,
- "y": 1409.9934997558594,
- "z": "602a9cf3.38fe14",
+ "x": 2221.566650390625,
+ "y": 2454.5601196289062,
+ "z": "a00613f8.474e58",
"wires": [
[]
]
},
{
- "id": "23d6e8d8.b0dc08",
+ "id": "c237437d.176ec",
"type": "set",
"name": "set unique-ltpId second",
"xml": "<set>\n<parameter name='unique-ltpId-second' value=\"`$unique-nodeId + '-ltpId-' + $node.te.tunnel-termination-point[$ttidx].local-link-connectivities.local-link-connectivity[0].link-tp-ref`\" />\n",
"comments": "",
- "x": 2109,
- "y": 1365.9934997558594,
- "z": "602a9cf3.38fe14",
+ "x": 2170.566650390625,
+ "y": 2410.5601196289062,
+ "z": "a00613f8.474e58",
"wires": []
},
{
- "id": "3a444976.a40cae",
+ "id": "fa9c435a.363ed",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1919,
- "y": 1402.9934997558594,
- "z": "602a9cf3.38fe14",
+ "x": 1980.566650390625,
+ "y": 2447.5601196289062,
+ "z": "a00613f8.474e58",
"wires": [
[
- "23d6e8d8.b0dc08",
- "7f51d8cc.cf481"
+ "c237437d.176ec",
+ "76c367aa.287738"
]
]
+ },
+ {
+ "id": "7aeac230.77765c",
+ "type": "switchNode",
+ "name": "switch tmp.client-id == null",
+ "xml": "<switch test=\"`$tmp.client-id == ''`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1334.566650390625,
+ "y": 180.76666259765625,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "9fd2771f.b2305"
+ ]
+ ]
+ },
+ {
+ "id": "d25e9719.928048",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1683.566650390625,
+ "y": 180.76666259765625,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "32b7e6d6.b83d1a"
+ ]
+ ]
+ },
+ {
+ "id": "9fd2771f.b2305",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1534.566650390625,
+ "y": 180.566650390625,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "d25e9719.928048"
+ ]
+ ]
+ },
+ {
+ "id": "41c6a2f9.33057c",
+ "type": "set",
+ "name": "set tmp.client-id tmp.te-topo-id tmp.provider-id",
+ "xml": "<set>\n<parameter name='tmp.client-id' value='`$network.te-topology-identifier.client-id`' />\n<parameter name='tmp.te-topo-id' value='`$network.te-topology-identifier.topology-id`' />\n<parameter name='tmp.provider-id' value='`$network.te-topology-identifier.provider-id`' />",
+ "comments": "",
+ "x": 790.566650390625,
+ "y": 124.16668701171875,
+ "z": "a00613f8.474e58",
+ "wires": []
+ },
+ {
+ "id": "32b7e6d6.b83d1a",
+ "type": "set",
+ "name": "set tmp.client-id",
+ "xml": "<set>\n<parameter name='tmp.client-id' value='`$network.client-id`' />",
+ "comments": "",
+ "x": 1849.566650390625,
+ "y": 181.16665649414062,
+ "z": "a00613f8.474e58",
+ "wires": []
+ },
+ {
+ "id": "6b15946e.9597ac",
+ "type": "switchNode",
+ "name": "switch tmp.te-topo-id == null",
+ "xml": "<switch test=\"`$tmp.te-topo-id == ''`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1335.566650390625,
+ "y": 244.16665649414062,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "71fa1b7b.ba79b4"
+ ]
+ ]
+ },
+ {
+ "id": "a3f5f044.007008",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1684.566650390625,
+ "y": 244.16665649414062,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "a8f5864b.aef3c8"
+ ]
+ ]
+ },
+ {
+ "id": "71fa1b7b.ba79b4",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1535.566650390625,
+ "y": 243.96664428710938,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "a3f5f044.007008"
+ ]
+ ]
+ },
+ {
+ "id": "a8f5864b.aef3c8",
+ "type": "set",
+ "name": "set tmp.te-topo-id",
+ "xml": "<set>\n<parameter name='tmp.te-topo-id' value='`$network.te-topology-id`' />\n",
+ "comments": "",
+ "x": 1859.566650390625,
+ "y": 243.566650390625,
+ "z": "a00613f8.474e58",
+ "wires": []
+ },
+ {
+ "id": "f92eff62.249f6",
+ "type": "switchNode",
+ "name": "switch tmp.provider-id == null",
+ "xml": "<switch test=\"`$tmp.provider-id == ''`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1342.566650390625,
+ "y": 296.1666564941406,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "2d5bf1b1.a9788e"
+ ]
+ ]
+ },
+ {
+ "id": "1a037929.4dd227",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1691.566650390625,
+ "y": 296.1666564941406,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "a99d65fe.4861b8"
+ ]
+ ]
+ },
+ {
+ "id": "2d5bf1b1.a9788e",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1542.566650390625,
+ "y": 295.9666442871094,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "1a037929.4dd227"
+ ]
+ ]
+ },
+ {
+ "id": "a99d65fe.4861b8",
+ "type": "set",
+ "name": "set tmp.provider-id",
+ "xml": "<set>\n<parameter name='tmp.provider-id' value='`$network.provider-id`' />",
+ "comments": "",
+ "x": 1866.566650390625,
+ "y": 296.566650390625,
+ "z": "a00613f8.474e58",
+ "wires": []
+ },
+ {
+ "id": "55d89697.da8d4",
+ "type": "switchNode",
+ "name": "switch tmp.client-id == null",
+ "xml": "<switch test=\"`length($tmp.client-id) == 0`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1267.3333740234375,
+ "y": 389.3333435058594,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "272672a2.e44276"
+ ]
+ ]
+ },
+ {
+ "id": "ab7feb07.dbe038",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1731.3333740234375,
+ "y": 369.3333435058594,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "2193f8b4.77b338"
+ ]
+ ]
+ },
+ {
+ "id": "2193f8b4.77b338",
+ "type": "set",
+ "name": "set tmp.client-id",
+ "xml": "<set>\n<parameter name='tmp.client-id' value='`$network.client-id`' />",
+ "comments": "",
+ "x": 1897.3333740234375,
+ "y": 369.73333740234375,
+ "z": "a00613f8.474e58",
+ "wires": []
+ },
+ {
+ "id": "fc94b1ae.7adf4",
+ "type": "switchNode",
+ "name": "switch tmp.te-topo-id == null",
+ "xml": "<switch test=\"`length($tmp.te-topo-id) == 0`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1251.3333740234375,
+ "y": 472.7333679199219,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "9b4c347f.fa1878"
+ ]
+ ]
+ },
+ {
+ "id": "71cf7044.501c68",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1723.3333740234375,
+ "y": 436.73333740234375,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "9f940be9.c32868"
+ ]
+ ]
+ },
+ {
+ "id": "9f940be9.c32868",
+ "type": "set",
+ "name": "set tmp.te-topo-id",
+ "xml": "<set>\n<parameter name='tmp.te-topo-id' value='`$network.te-topology-id`' />\n",
+ "comments": "",
+ "x": 1898.3333740234375,
+ "y": 436.1333312988281,
+ "z": "a00613f8.474e58",
+ "wires": []
+ },
+ {
+ "id": "d0070ca3.12857",
+ "type": "switchNode",
+ "name": "switch tmp.provider-id == null",
+ "xml": "<switch test=\"`length($tmp.provider-id) == 0`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1258.3333740234375,
+ "y": 537.7333374023438,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "63564627.e914c8"
+ ]
+ ]
+ },
+ {
+ "id": "1ee1eaf5.757aed",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1730.3333740234375,
+ "y": 488.73333740234375,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "be338d62.c1df2"
+ ]
+ ]
+ },
+ {
+ "id": "be338d62.c1df2",
+ "type": "set",
+ "name": "set tmp.provider-id",
+ "xml": "<set>\n<parameter name='tmp.provider-id' value='`$network.provider-id`' />",
+ "comments": "",
+ "x": 1905.3333740234375,
+ "y": 489.1333312988281,
+ "z": "a00613f8.474e58",
+ "wires": []
+ },
+ {
+ "id": "272672a2.e44276",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1468.3333740234375,
+ "y": 389.3333435058594,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "ab7feb07.dbe038"
+ ]
+ ]
+ },
+ {
+ "id": "9b4c347f.fa1878",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1469.3333740234375,
+ "y": 452.73333740234375,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "71cf7044.501c68"
+ ]
+ ]
+ },
+ {
+ "id": "63564627.e914c8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1476.3333740234375,
+ "y": 504.73333740234375,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "1ee1eaf5.757aed"
+ ]
+ ]
+ },
+ {
+ "id": "7cbfe92.8c19d98",
+ "type": "save",
+ "name": "get network-resource from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resource\"\n\t key=\"network-resource.network-id = $tmp.network-id\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmpo.aai.network-resource\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 819.3333129882812,
+ "y": 729.3333129882812,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "8087f47e.b7d908",
+ "2e139068.5a46b"
+ ]
+ ]
+ },
+ {
+ "id": "8087f47e.b7d908",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1079.333251953125,
+ "y": 694.3332824707031,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "6dd6f49f.057544"
+ ]
+ ]
+ },
+ {
+ "id": "2e139068.5a46b",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1085.82421875,
+ "y": 755.9073486328125,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "6d4b5f63.14c128"
+ ]
+ ]
+ },
+ {
+ "id": "6dd6f49f.057544",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1227.3333740234375,
+ "y": 692.3333129882812,
+ "z": "a00613f8.474e58",
+ "wires": [
+ [
+ "4e2a0d4a.685e74",
+ "d3c795bb.795f1",
+ "5fcca940.5ce38",
+ "6c8a563f.779dc"
+ ]
+ ]
+ },
+ {
+ "id": "6d4b5f63.14c128",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1228.3333740234375,
+ "y": 757.3333129882812,
+ "z": "a00613f8.474e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4e2a0d4a.685e74",
+ "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<parameter name='tmp.network-id' value=\"`'providerId-' + $tmp.provider-id + '-clientId-' + $tmp.client-id + '-topologyId-' + $tmp.te-topo-id `\" />\n<!--<parameter name='tmp.network-id' value=\"`'providerId-' + $tmpo.provider-id `\" />-->\n\n",
+ "comments": "",
+ "x": 1425.3333740234375,
+ "y": 814.3333129882812,
+ "z": "a00613f8.474e58",
+ "wires": []
+ },
+ {
+ "id": "d3c795bb.795f1",
+ "type": "set",
+ "name": "set tmpo.provider-id",
+ "xml": "<set>\n<parameter name='tmpo.provider-id' value=\"`$tmp.provider-id + 'new' `\" />",
+ "comments": "",
+ "x": 1418.3333740234375,
+ "y": 620.3333129882812,
+ "z": "a00613f8.474e58",
+ "wires": []
+ },
+ {
+ "id": "5fcca940.5ce38",
+ "type": "set",
+ "name": "unset tmp.network-if",
+ "xml": "<set>\n<!--<parameter name='tmp.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-' + $tmp.original-network-id`\" />-->\n<parameter name='tmp.network-id' value=\"\" />\n\n",
+ "comments": "",
+ "x": 1425.3333740234375,
+ "y": 738.3333129882812,
+ "z": "a00613f8.474e58",
+ "wires": []
+ },
+ {
+ "id": "6c8a563f.779dc",
+ "type": "set",
+ "name": "set tmp.provider-id",
+ "xml": "<set>\n<parameter name='tmp.provider-id' value=\"`$tmpo.provider-id`\" />",
+ "comments": "",
+ "x": 1419.566650390625,
+ "y": 662.566650390625,
+ "z": "a00613f8.474e58",
+ "wires": []
}
] \ No newline at end of file