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.json756
1 files changed, 378 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 f589905c..5cf9d15e 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": "edeab341.54bb4",
+ "id": "761e68a4.20d828",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 126,
- "y": 105.00650024414062,
- "z": "a1dc56fc.25a538",
+ "x": 138,
+ "y": 118,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "fa7cab2b.24d26"
+ "77bd0709.0316f8"
]
]
},
{
- "id": "fa7cab2b.24d26",
+ "id": "77bd0709.0316f8",
"type": "service-logic",
"name": "DataChange ${project.version}",
"module": "DataChange",
@@ -22,1119 +22,1119 @@
"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": 215.00003051757812,
- "y": 195.89541244506836,
- "z": "a1dc56fc.25a538",
+ "x": 227.00003051757812,
+ "y": 208.88891220092773,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "6ea5e78a.d4f118"
+ "ce4c01c9.aadb6"
]
]
},
{
- "id": "6ea5e78a.d4f118",
+ "id": "ce4c01c9.aadb6",
"type": "method",
"name": "update-network-to-aai",
"xml": "<method rpc='update-network-to-aai' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 251.1112518310547,
- "y": 266.2287368774414,
- "z": "a1dc56fc.25a538",
+ "x": 263.1112518310547,
+ "y": 279.2222366333008,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "d9721e0.ea910e"
+ "d7c571d2.ba17"
]
]
},
{
- "id": "d9721e0.ea910e",
+ "id": "d7c571d2.ba17",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 476.33343505859375,
- "y": 265.784423828125,
- "z": "a1dc56fc.25a538",
+ "x": 488.33343505859375,
+ "y": 278.7779235839844,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "fe85cd4e.468048",
- "e705d0b4.a9ae58",
- "2ddaf91a.d98b16",
- "ff89ecd9.d9563",
- "e471027b.286e6",
- "159870db.58eb07"
+ "bbf04729.a6b23",
+ "e453d9fe.dac3d",
+ "5625b915.f4097",
+ "c5a21baf.a8c168",
+ "6179e02b.bcf5",
+ "1d5c0100.129fd7"
]
]
},
{
- "id": "e705d0b4.a9ae58",
+ "id": "e453d9fe.dac3d",
"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",
+ "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",
"comments": "",
"outputs": 1,
- "x": 706.333251953125,
- "y": 171.0065155029297,
- "z": "a1dc56fc.25a538",
+ "x": 718.333251953125,
+ "y": 184.00001525878906,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "cb2cfb3d.12f0a8",
+ "id": "375be865.3c0f",
"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": 906.1111450195312,
- "y": 542.1175842285156,
- "z": "a1dc56fc.25a538",
+ "x": 918.1111450195312,
+ "y": 555.111083984375,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "2ddaf91a.d98b16",
+ "id": "5625b915.f4097",
"type": "for",
"name": "for each node",
"xml": "<for index='pidx' start='0' end='`$network.node_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 677.8888549804688,
- "y": 522.3398132324219,
- "z": "a1dc56fc.25a538",
+ "x": 689.8888549804688,
+ "y": 535.3333129882812,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "cb2cfb3d.12f0a8",
- "fc39e59f.e19f7",
- "404895b3.1b9a0c",
- "38f275a2.ec1422",
- "dcf15e98.55cd98",
- "2d8d0a77.affafe",
- "1758985b.dd13f8",
- "7f99493d.24ad2"
+ "375be865.3c0f",
+ "4ec17378.333f8c",
+ "56584a7c.bcf26c",
+ "e61a37ad.722b58",
+ "53212212.eee0d4",
+ "d084b3c7.e9a8d8",
+ "b406de10.4f976",
+ "10825cf6.777533"
]
]
},
{
- "id": "fc39e59f.e19f7",
+ "id": "4ec17378.333f8c",
"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": 911.111083984375,
- "y": 438.2287139892578,
- "z": "a1dc56fc.25a538",
+ "x": 923.111083984375,
+ "y": 451.2222137451172,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "38f275a2.ec1422",
+ "id": "e61a37ad.722b58",
"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": 1002.7779541015625,
- "y": 717.4509782791138,
- "z": "a1dc56fc.25a538",
+ "x": 1014.7779541015625,
+ "y": 730.4444780349731,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "f06afd2d.6a87a8",
+ "id": "663dfab3.1deedc",
"type": "for",
"name": "for each termination point",
"xml": "<for index='tidx' start='0' end='`$node.termination-point_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1310.4444580078125,
- "y": 633.1175537109375,
- "z": "a1dc56fc.25a538",
+ "x": 1322.4444580078125,
+ "y": 646.1110534667969,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "641e627.90ce71c",
- "62e3b2b7.0e1854",
- "7c4704e9.f42bfc",
- "cdce39b5.3e2ce8",
- "c12a9ec.a16bae"
+ "34b91b9e.a21bbc",
+ "8ee77851.c5edd8",
+ "15e31265.27a116",
+ "bdd15a8d.477f28",
+ "847fbf7b.b4b66"
]
]
},
{
- "id": "641e627.90ce71c",
+ "id": "34b91b9e.a21bbc",
"type": "set",
"name": "set termination point",
"xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n",
"comments": "",
- "x": 1580.111328125,
- "y": 616.0065307617188,
- "z": "a1dc56fc.25a538",
+ "x": 1592.111328125,
+ "y": 629.0000305175781,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "7c4704e9.f42bfc",
+ "id": "15e31265.27a116",
"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": 1574.815185546875,
- "y": 803.5620727539062,
- "z": "a1dc56fc.25a538",
+ "x": 1586.815185546875,
+ "y": 816.5555725097656,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "99a9f83c.592fb",
- "2cd1ffbf.d1e38"
+ "3101a3f2.5441ec",
+ "1a80d066.48736"
]
]
},
{
- "id": "6c4885ee.2512d4",
+ "id": "923c5d7b.98959",
"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": 1395.703857421875,
- "y": 1716.33984375,
- "z": "a1dc56fc.25a538",
+ "x": 1407.703857421875,
+ "y": 1729.3333435058594,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "62e3b2b7.0e1854",
+ "id": "8ee77851.c5edd8",
"type": "set",
"name": "set unique-ltpId",
"xml": "<set>\n<parameter name='unique-ltpId' value=\"`$unique-nodeId + '-ltpId-' + $tp.te-tp-id`\" />\n",
"comments": "",
- "x": 1564.000244140625,
- "y": 673.1175537109375,
- "z": "a1dc56fc.25a538",
+ "x": 1576.000244140625,
+ "y": 686.1110534667969,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "fe85cd4e.468048",
+ "id": "bbf04729.a6b23",
"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": 662.9935302734375,
- "y": 80,
- "z": "a1dc56fc.25a538",
+ "x": 674.9935302734375,
+ "y": 92.99349975585938,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "404895b3.1b9a0c",
+ "id": "56584a7c.bcf26c",
"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": 984,
- "y": 754,
- "z": "a1dc56fc.25a538",
+ "x": 996,
+ "y": 766.9934997558594,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "99a9f83c.592fb",
+ "id": "3101a3f2.5441ec",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1746.499885559082,
- "y": 790.7525482177734,
- "z": "a1dc56fc.25a538",
+ "x": 1758.499885559082,
+ "y": 803.7460479736328,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "7275269b.187718"
+ "f0102e05.0d4918"
]
]
},
{
- "id": "2cd1ffbf.d1e38",
+ "id": "1a80d066.48736",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1740.1784744262695,
- "y": 842.9668598175049,
- "z": "a1dc56fc.25a538",
+ "x": 1752.1784744262695,
+ "y": 855.9603595733643,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "6558158e.20a7e4"
+ "851b8afc.ed0d6"
]
]
},
{
- "id": "7275269b.187718",
+ "id": "f0102e05.0d4918",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1897.0000457763672,
- "y": 790.0064792633057,
- "z": "a1dc56fc.25a538",
+ "x": 1909.0000457763672,
+ "y": 802.999979019165,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "6558158e.20a7e4",
+ "id": "851b8afc.ed0d6",
"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": 1926,
- "y": 844.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1938,
+ "y": 856.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "b62e74a8.72d8f8",
+ "id": "95d00fe5.3c431",
"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": 1640,
- "y": 1095.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1652,
+ "y": 1107.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "7c8389d1.ee45",
- "bbd909f2.ba2d1"
+ "fd2c3c98.e696c",
+ "ddcea662.a71648"
]
]
},
{
- "id": "b69752f.a47b03",
+ "id": "9b51f802.015ec",
"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": 1303,
- "y": 1083.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1315,
+ "y": 1095.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "25de11e2.0dd0ae",
- "b2448024.6d9268",
- "b62e74a8.72d8f8",
- "4cb5cbe8.ee37a4",
- "3ba1d3d8.7bd96c",
- "ead9d9cc.bab4f8"
+ "f4695d4f.8e6e6",
+ "5bac7584.0c80fc",
+ "95d00fe5.3c431",
+ "215e84ff.a6a76c",
+ "27c88040.1575b8",
+ "cbf87dc2.898dc8"
]
]
},
{
- "id": "25de11e2.0dd0ae",
+ "id": "f4695d4f.8e6e6",
"type": "set",
"name": "set tunnel termination point",
"xml": "<set>\n<parameter name='ttp.' value='`$node.te.tunnel-termination-point[$ttidx].`' />\n",
"comments": "",
- "x": 1638,
- "y": 1003.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1650,
+ "y": 1015.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "b2448024.6d9268",
+ "id": "5bac7584.0c80fc",
"type": "set",
"name": "set unique-ttpId",
"xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-nodeId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n",
"comments": "",
- "x": 1596.888916015625,
- "y": 1041.1175537109375,
- "z": "a1dc56fc.25a538",
+ "x": 1608.888916015625,
+ "y": 1054.1110534667969,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "7c8389d1.ee45",
+ "id": "fd2c3c98.e696c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1906,
- "y": 1081.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1918,
+ "y": 1093.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "49e600b2.247268"
+ "17cf7c51.7123dc"
]
]
},
{
- "id": "bbd909f2.ba2d1",
+ "id": "ddcea662.a71648",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1899.6785888671875,
- "y": 1133.220781326294,
- "z": "a1dc56fc.25a538",
+ "x": 1911.6785888671875,
+ "y": 1146.2142810821533,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "8a380f1a.fa11e"
+ "44867d6a.9d6f04"
]
]
},
{
- "id": "49e600b2.247268",
+ "id": "17cf7c51.7123dc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2056.500160217285,
- "y": 1080.2604007720947,
- "z": "a1dc56fc.25a538",
+ "x": 2068.500160217285,
+ "y": 1093.253900527954,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "8a380f1a.fa11e",
+ "id": "44867d6a.9d6f04",
"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": 2137,
- "y": 1135.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 2149,
+ "y": 1147.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "dcf15e98.55cd98",
+ "id": "53212212.eee0d4",
"type": "set",
"name": "set local variables",
"xml": "<set>\n<parameter name='unique-nodeId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $node.node-id`\" />\n",
"comments": "",
- "x": 936,
- "y": 485.0065002441406,
- "z": "a1dc56fc.25a538",
+ "x": 948,
+ "y": 498,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "ff89ecd9.d9563",
+ "id": "c5a21baf.a8c168",
"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": 620,
- "y": 648.0065002441406,
- "z": "a1dc56fc.25a538",
+ "x": 632,
+ "y": 661,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "d7b3037a.697688",
+ "id": "bb1cacb7.ad451",
"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": 1402,
- "y": 1672.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1414,
+ "y": 1684.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "4cb5cbe8.ee37a4",
+ "id": "215e84ff.a6a76c",
"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": 1711,
- "y": 1187.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1723,
+ "y": 1199.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "477ea94a.d9b708",
- "1857aab6.41528d"
+ "b2ce5e57.725c48",
+ "ecae58d2.6c42a"
]
]
},
{
- "id": "2d8d0a77.affafe",
+ "id": "d084b3c7.e9a8d8",
"type": "switchNode",
"name": "switch node ttp",
"xml": "<switch test='`$node.te.tunnel-termination-point_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 875,
- "y": 1059.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 887,
+ "y": 1071.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "df28f111.dccd78",
- "56382251.f0ed44",
- "836a4c10.0f5058"
+ "4865cde2.7cfebc",
+ "3d27675.a149b18",
+ "57deece8.01b8cc"
]
]
},
{
- "id": "efccb4e8.6c1f7",
+ "id": "35cbe11c.dd6a16",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1223,
- "y": 1011.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1235,
+ "y": 1023.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "836a4c10.0f5058",
+ "id": "57deece8.01b8cc",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1070,
- "y": 1094.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1082,
+ "y": 1106.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "b69752f.a47b03"
+ "9b51f802.015ec"
]
]
},
{
- "id": "1758985b.dd13f8",
+ "id": "b406de10.4f976",
"type": "switchNode",
"name": "switch node tp",
"xml": "<switch test='`$node.termination-point_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 924,
- "y": 609.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 936,
+ "y": 621.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "9b64d5a2.85c768",
- "9d78d705.498a28",
- "fec4616c.fd5128"
+ "d2843fed.623f28",
+ "35baa2d4.5e4b66",
+ "ea06dcd1.7022d8"
]
]
},
{
- "id": "9b64d5a2.85c768",
+ "id": "d2843fed.623f28",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1103,
- "y": 561.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1115,
+ "y": 573.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "31b2e806.d617f"
+ "6b24c820.32a928"
]
]
},
{
- "id": "9d78d705.498a28",
+ "id": "35baa2d4.5e4b66",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1102,
- "y": 663.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1114,
+ "y": 675.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "f06afd2d.6a87a8"
+ "663dfab3.1deedc"
]
]
},
{
- "id": "31b2e806.d617f",
+ "id": "6b24c820.32a928",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1258,
- "y": 561.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1270,
+ "y": 573.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "264d4645.5fe58a",
+ "id": "c2dd2cff.e58418",
"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": 853,
- "y": 1103.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 865,
+ "y": 1115.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "df28f111.dccd78",
+ "id": "4865cde2.7cfebc",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1063,
- "y": 945.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1075,
+ "y": 957.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "efccb4e8.6c1f7"
+ "35cbe11c.dd6a16"
]
]
},
{
- "id": "56382251.f0ed44",
+ "id": "3d27675.a149b18",
"type": "outcome",
"name": "length 0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 1068,
- "y": 1020.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1080,
+ "y": 1032.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "efccb4e8.6c1f7"
+ "35cbe11c.dd6a16"
]
]
},
{
- "id": "fec4616c.fd5128",
+ "id": "ea06dcd1.7022d8",
"type": "outcome",
"name": "length 0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 1113,
- "y": 609.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1125,
+ "y": 621.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "31b2e806.d617f"
+ "6b24c820.32a928"
]
]
},
{
- "id": "7f99493d.24ad2",
+ "id": "10825cf6.777533",
"type": "set",
"name": "unset node",
"xml": "<set>\n<parameter name='node.' value='' />\n\n",
"comments": "",
- "x": 908,
- "y": 387.0065002441406,
- "z": "a1dc56fc.25a538",
+ "x": 920,
+ "y": 400,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "cdce39b5.3e2ce8",
+ "id": "bdd15a8d.477f28",
"type": "set",
"name": "unset termination point",
"xml": "<set>\n<parameter name='tp.' value='' />\n",
"comments": "",
- "x": 1592,
- "y": 559.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1604,
+ "y": 571.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "3ba1d3d8.7bd96c",
+ "id": "27c88040.1575b8",
"type": "set",
"name": "unset tunnel termination point",
"xml": "<set>\n<parameter name='ttp.' value='' />\n",
"comments": "",
- "x": 1638,
- "y": 955.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1650,
+ "y": 967.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "477ea94a.d9b708",
+ "id": "b2ce5e57.725c48",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2043,
- "y": 1190.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 2055,
+ "y": 1202.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "1857aab6.41528d",
+ "id": "ecae58d2.6c42a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2040,
- "y": 1238.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 2052,
+ "y": 1250.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "7abfb291.6dcbac",
+ "id": "66810254.224164",
"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": 2198,
- "y": 1191.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 2210,
+ "y": 1203.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "ec345a2.2004e28",
+ "id": "1bb980b.9e20b7f",
"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": 2199,
- "y": 1239.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 2211,
+ "y": 1251.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "49dd63ef.87e564",
+ "id": "7353d26c.dd96ec",
"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": 2058,
- "y": 728.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 2070,
+ "y": 740.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "fafe42.8d2fb9c",
- "2c876749.ba8618"
+ "5edff614.826d5",
+ "1737b2af.9f2d45"
]
]
},
{
- "id": "c12a9ec.a16bae",
+ "id": "847fbf7b.b4b66",
"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": 1628,
- "y": 729.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1640,
+ "y": 741.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "a32fa569.0a3c28",
- "b8de06da.79eb1"
+ "c7b2022.f3821",
+ "cdd8e382.236ad"
]
]
},
{
- "id": "b8de06da.79eb1",
+ "id": "cdd8e382.236ad",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1855,
- "y": 682.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1867,
+ "y": 694.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "578202f3.fbbe74"
+ "7cffd999.b3b1b8"
]
]
},
{
- "id": "a32fa569.0a3c28",
+ "id": "c7b2022.f3821",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1856,
- "y": 728.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 1868,
+ "y": 740.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "49dd63ef.87e564"
+ "7353d26c.dd96ec"
]
]
},
{
- "id": "578202f3.fbbe74",
+ "id": "7cffd999.b3b1b8",
"type": "set",
"name": "unset tmp.decoded-plug-id",
"xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='' />\n",
"comments": "",
- "x": 2059,
- "y": 682.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 2071,
+ "y": 694.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "fafe42.8d2fb9c",
+ "id": "5edff614.826d5",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2263,
- "y": 705.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 2275,
+ "y": 717.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "cad449b6.73c6d"
+ "c0e19e99.143c08"
]
]
},
{
- "id": "2c876749.ba8618",
+ "id": "1737b2af.9f2d45",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2256.6785888671875,
- "y": 757.220781326294,
- "z": "a1dc56fc.25a538",
+ "x": 2268.6785888671875,
+ "y": 770.2142810821533,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "92336385.660b18"
+ "d55c12df.ae4af8"
]
]
},
{
- "id": "cad449b6.73c6d",
+ "id": "c0e19e99.143c08",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2404,
- "y": 705.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 2416,
+ "y": 717.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "92336385.660b18",
+ "id": "d55c12df.ae4af8",
"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": 2463,
- "y": 757.0064697265625,
- "z": "a1dc56fc.25a538",
+ "x": 2475,
+ "y": 769.9999694824219,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "e471027b.286e6",
+ "id": "6179e02b.bcf5",
"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": 688,
- "y": 121.00650024414062,
- "z": "a1dc56fc.25a538",
+ "x": 700,
+ "y": 134,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "159870db.58eb07",
+ "id": "1d5c0100.129fd7",
"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": 749,
- "y": 260,
- "z": "a1dc56fc.25a538",
+ "x": 761,
+ "y": 272.9934997558594,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "f22633be.4476e8",
- "4f55d446.34a7f4",
- "beabc6d6.2806f"
+ "90eb31b2.77c238",
+ "f3a7ce78.cbd56",
+ "9f7c8245.3dec38"
]
]
},
{
- "id": "f22633be.4476e8",
+ "id": "90eb31b2.77c238",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 995,
- "y": 220,
- "z": "a1dc56fc.25a538",
+ "x": 1007,
+ "y": 232.99349975585938,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "543559cc.c24e08"
+ "8f122881.12a378"
]
]
},
{
- "id": "4f55d446.34a7f4",
+ "id": "f3a7ce78.cbd56",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 999,
- "y": 260,
- "z": "a1dc56fc.25a538",
+ "x": 1011,
+ "y": 272.9934997558594,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "50076a10.d4e1b4"
+ "ecbad826.8cc148"
]
]
},
{
- "id": "beabc6d6.2806f",
+ "id": "9f7c8245.3dec38",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 991,
- "y": 300,
- "z": "a1dc56fc.25a538",
+ "x": 1003,
+ "y": 312.9934997558594,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "a9b8ac2f.1b4d8"
+ "cf84ec83.d6cc78"
]
]
},
{
- "id": "50076a10.d4e1b4",
+ "id": "ecbad826.8cc148",
"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": 1149,
- "y": 260,
- "z": "a1dc56fc.25a538",
+ "x": 1161,
+ "y": 272.9934997558594,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "a9b8ac2f.1b4d8",
+ "id": "cf84ec83.d6cc78",
"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": 1149,
- "y": 300,
- "z": "a1dc56fc.25a538",
+ "x": 1161,
+ "y": 312.9934997558594,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "543559cc.c24e08",
+ "id": "8f122881.12a378",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1139,
- "y": 218,
- "z": "a1dc56fc.25a538",
+ "x": 1151,
+ "y": 230.99349975585938,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "627ad99d.a81fa"
+ "1e7c71ae.903b3e"
]
]
},
{
- "id": "627ad99d.a81fa",
+ "id": "1e7c71ae.903b3e",
"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": 1442,
- "y": 219,
- "z": "a1dc56fc.25a538",
+ "x": 1454,
+ "y": 231.99349975585938,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "ead9d9cc.bab4f8",
+ "id": "cbf87dc2.898dc8",
"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": 1572,
- "y": 1359,
- "z": "a1dc56fc.25a538",
+ "x": 1584,
+ "y": 1371.9934997558594,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "adf88b82.7a0f88",
- "67300142.b2942",
- "fa1d40a0.27dcc"
+ "63cc82cd.b17e4c",
+ "7a2ef7bd.18409",
+ "bb4f9fb3.43afc8"
]
]
},
{
- "id": "adf88b82.7a0f88",
+ "id": "63cc82cd.b17e4c",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1760,
- "y": 1245,
- "z": "a1dc56fc.25a538",
+ "x": 1772,
+ "y": 1257.9934997558594,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "f1f92de8.0da378"
+ "6223b1f1.46672"
]
]
},
{
- "id": "67300142.b2942",
+ "id": "7a2ef7bd.18409",
"type": "outcome",
"name": "length 0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 1765,
- "y": 1320,
- "z": "a1dc56fc.25a538",
+ "x": 1777,
+ "y": 1332.9934997558594,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "f1f92de8.0da378"
+ "6223b1f1.46672"
]
]
},
{
- "id": "fa1d40a0.27dcc",
+ "id": "bb4f9fb3.43afc8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1767,
- "y": 1394,
- "z": "a1dc56fc.25a538",
+ "x": 1779,
+ "y": 1406.9934997558594,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "945bda0b.acb23"
+ "3a444976.a40cae"
]
]
},
{
- "id": "f1f92de8.0da378",
+ "id": "6223b1f1.46672",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1920,
- "y": 1311,
- "z": "a1dc56fc.25a538",
+ "x": 1932,
+ "y": 1323.9934997558594,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "489cfee9.f3ca9",
+ "id": "7f51d8cc.cf481",
"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": 2148,
- "y": 1397,
- "z": "a1dc56fc.25a538",
+ "x": 2160,
+ "y": 1409.9934997558594,
+ "z": "602a9cf3.38fe14",
"wires": [
[]
]
},
{
- "id": "5109bb9b.43b29c",
+ "id": "23d6e8d8.b0dc08",
"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": 2097,
- "y": 1353,
- "z": "a1dc56fc.25a538",
+ "x": 2109,
+ "y": 1365.9934997558594,
+ "z": "602a9cf3.38fe14",
"wires": []
},
{
- "id": "945bda0b.acb23",
+ "id": "3a444976.a40cae",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1907,
- "y": 1390,
- "z": "a1dc56fc.25a538",
+ "x": 1919,
+ "y": 1402.9934997558594,
+ "z": "602a9cf3.38fe14",
"wires": [
[
- "5109bb9b.43b29c",
- "489cfee9.f3ca9"
+ "23d6e8d8.b0dc08",
+ "7f51d8cc.cf481"
]
]
}