aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/datachange/src/main/json/DataChange_update-network-links-to-aai.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/datachange/src/main/json/DataChange_update-network-links-to-aai.json')
-rw-r--r--platform-logic/datachange/src/main/json/DataChange_update-network-links-to-aai.json1243
1 files changed, 621 insertions, 622 deletions
diff --git a/platform-logic/datachange/src/main/json/DataChange_update-network-links-to-aai.json b/platform-logic/datachange/src/main/json/DataChange_update-network-links-to-aai.json
index 0d6a2784..67136feb 100644
--- a/platform-logic/datachange/src/main/json/DataChange_update-network-links-to-aai.json
+++ b/platform-logic/datachange/src/main/json/DataChange_update-network-links-to-aai.json
@@ -1,20 +1,20 @@
[
{
- "id": "ebe56983.0d3a9",
+ "id": "77244695.5fe13",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 134,
- "y": 65,
- "z": "3cbec5d5.54ea02",
+ "x": 124,
+ "y": 98,
+ "z": "11329427.2301e4",
"wires": [
[
- "13e5c84a.55bf3"
+ "61db70e6.96f4f"
]
]
},
{
- "id": "13e5c84a.55bf3",
+ "id": "61db70e6.96f4f",
"type": "service-logic",
"name": "DataChange ${project.version}",
"module": "DataChange",
@@ -22,1885 +22,1884 @@
"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": 191,
- "y": 144.888916015625,
- "z": "3cbec5d5.54ea02",
+ "x": 181,
+ "y": 177.888916015625,
+ "z": "11329427.2301e4",
"wires": [
[
- "66a22ecb.fd2f58"
+ "1788c320.44101d"
]
]
},
{
- "id": "66a22ecb.fd2f58",
+ "id": "1788c320.44101d",
"type": "method",
"name": "method update-network-links-to-aai",
"xml": "<method rpc='update-network-links-to-aai' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 205,
- "y": 221.22222900390625,
- "z": "3cbec5d5.54ea02",
+ "x": 195,
+ "y": 254.22222900390625,
+ "z": "11329427.2301e4",
"wires": [
[
- "6e3553b1.ce5dcc"
+ "325d107f.de4c6"
]
]
},
{
- "id": "6e3553b1.ce5dcc",
+ "id": "325d107f.de4c6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 216.33343505859375,
- "y": 298.7779235839844,
- "z": "3cbec5d5.54ea02",
+ "x": 206.33343505859375,
+ "y": 331.7779235839844,
+ "z": "11329427.2301e4",
"wires": [
[
- "ce48b85e.94f938"
+ "772b5f61.91c448"
]
]
},
{
- "id": "a43a6e87.7bb85",
+ "id": "ea8c4290.e9fc4",
"type": "update",
"name": "save logical-link with regular id",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link' \n key='logical-link.link-name = $unique-linkId' >\n<parameter name='link-name' value='`$unique-linkId`' />\n<parameter name='link-id' value='`$link.link-id`' />\n<parameter name='link-type' value='`$link.te.te-link-attributes.access-type`' />\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1091.111083984375,
- "y": 723.111083984375,
- "z": "3cbec5d5.54ea02",
+ "x": 1081.111083984375,
+ "y": 756.111083984375,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "ce48b85e.94f938",
+ "id": "772b5f61.91c448",
"type": "for",
"name": "for each link",
"xml": "<for index='pidx' start='0' end='`$network.link_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 244.88885498046875,
- "y": 392.33331298828125,
- "z": "3cbec5d5.54ea02",
+ "x": 234.88885498046875,
+ "y": 425.33331298828125,
+ "z": "11329427.2301e4",
"wires": [
[
- "dec42fbf.1e3dc8",
- "faf4c2c8.a313e8",
- "6624aa74.606e14",
- "dbc86076.1de4f",
- "4c4fa03a.a50f2"
+ "34a89003.2e2b",
+ "ba3960a8.1467",
+ "f48b8987.2973f8",
+ "37181089.2d209",
+ "f2821395.fcaa08"
]
]
},
{
- "id": "dec42fbf.1e3dc8",
+ "id": "34a89003.2e2b",
"type": "set",
"name": "set network link's local variables",
"xml": "<set>\n<parameter name='link.' value='`$network.link[$pidx].`' />\n<parameter name='unique-networkId' value='`$tmp.network-id`' />\n\n",
"comments": "",
- "x": 577.111083984375,
- "y": 97.22221374511719,
- "z": "3cbec5d5.54ea02",
+ "x": 567.111083984375,
+ "y": 130.2222137451172,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "9f28786b.9755c",
+ "id": "8fd33aa8.985138",
"type": "for",
"name": "for each label-restriction",
"xml": "<for index='tidx' start='0' end='`$link.te.te-link-attributes.label-restriction_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1617.4444580078125,
- "y": 943.111083984375,
- "z": "3cbec5d5.54ea02",
+ "x": 1607.4444580078125,
+ "y": 976.111083984375,
+ "z": "11329427.2301e4",
"wires": [
[
- "a10e9de3.90e708",
- "9f6f811c.bccf8",
- "7166bef0.82e4a",
- "c6ea0cbf.fb7cd",
- "441a859d.1c08ec",
- "e1339bff.8f7f98"
+ "5a96ae47.c33778",
+ "6a43eee0.04c1f8",
+ "1f83fd3d.b74253",
+ "db4d2563.f4f978",
+ "49c5f91d.be38c8",
+ "b8324dab.347198"
]
]
},
{
- "id": "a10e9de3.90e708",
+ "id": "5a96ae47.c33778",
"type": "set",
"name": "set label-restriction's local variables",
"xml": "<set>\n<parameter name='unique-lrId' value=\"`$unique-linkId + '-lrId-' + $label-restriction.index`\" />\n",
"comments": "",
- "x": 1922.111328125,
- "y": 908.0000610351562,
- "z": "3cbec5d5.54ea02",
+ "x": 1912.111328125,
+ "y": 941.0000610351562,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "481ae7ff.84ac9",
+ "id": "16e2b4ec.afe953",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2035.4998779296875,
- "y": 950.74609375,
- "z": "3cbec5d5.54ea02",
+ "x": 2025.4998779296875,
+ "y": 983.74609375,
+ "z": "11329427.2301e4",
"wires": [
[
- "4b5e8d4c.a2cfc4"
+ "180e1ac0.c84c2d"
]
]
},
{
- "id": "958898b9.8616a",
+ "id": "e2eddabf.7af6b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2043.178466796875,
- "y": 1009.9604187011719,
- "z": "3cbec5d5.54ea02",
+ "x": 2033.178466796875,
+ "y": 1042.9604187011719,
+ "z": "11329427.2301e4",
"wires": [
[
- "76714a99.5b6304"
+ "c411750f.6a79e8"
]
]
},
{
- "id": "4b5e8d4c.a2cfc4",
+ "id": "180e1ac0.c84c2d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2196,
- "y": 950.0000305175781,
- "z": "3cbec5d5.54ea02",
+ "x": 2186,
+ "y": 983.0000305175781,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "1494b149.c9a337",
+ "id": "1718031e.d8e1cd",
"type": "set",
"name": "set src-ltpId dst-ltpId",
"xml": "<set>\n<parameter name='src-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.src-access-ltp-id`\" />\n<parameter name='dst-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.dst-access-ltp-id`\" />",
"comments": "",
- "x": 2604.5001220703125,
- "y": 2412.545135498047,
- "z": "3cbec5d5.54ea02",
+ "x": 2594.5001220703125,
+ "y": 2445.545135498047,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "ed0f5687.170a7",
+ "id": "df5f7631.41cd8",
"type": "save",
"name": "save srcLTP relationship in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n 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/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-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=\"`$src-ltpId`\" />\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2638.0001220703125,
- "y": 2452.545135498047,
- "z": "3cbec5d5.54ea02",
+ "x": 2628.0001220703125,
+ "y": 2485.545135498047,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "c964af3.a8439d",
+ "id": "39d523bc.136384",
"type": "save",
"name": "save dstLTP relationship in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n 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/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-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=\"`$dst-ltpId`\" />",
"comments": "",
"outputs": 1,
- "x": 2638.0001220703125,
- "y": 2492.545135498047,
- "z": "3cbec5d5.54ea02",
+ "x": 2628.0001220703125,
+ "y": 2525.545135498047,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "76714a99.5b6304",
+ "id": "c411750f.6a79e8",
"type": "update",
"name": "save label-restriction",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='label-restriction' \n key='logical-link.link-name = $unique-linkId\n AND label-restriction.id = $unique-lrId' > \n<parameter name='id' value='`$unique-lrId`' />\n<parameter name='label-start' value='`$label-restriction.label-start`' />\n<parameter name='label-end' value='`$label-restriction.label-end`' />\n<parameter name='range-bitmap' value='`$label-restriction.range-bitmap`' />\n<parameter name='label-step' value='`$label-restriction.label-step`' />\n<parameter name='inclusive-exclusive' value='`$label-restriction.inclusive-exclusive`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 2227,
- "y": 1010.0000305175781,
- "z": "3cbec5d5.54ea02",
+ "x": 2217,
+ "y": 1043.0000305175781,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "df8f6a30.0e19f",
+ "id": "a7ae4edd.c4cd68",
"type": "save",
"name": "save link relationship to label-restriction in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $unique-linkId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"label-restriction\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/label-restrictions/label-restriction/' + $unique-lrId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"label-restriction.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-lrId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1938,
- "y": 1206,
- "z": "3cbec5d5.54ea02",
+ "x": 1928,
+ "y": 1239,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "9f6f811c.bccf8",
+ "id": "6a43eee0.04c1f8",
"type": "update",
"name": "save label-restriction",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='label-restriction' \n key='label-restriction.id = $unique-lrId' > \n<parameter name='id' value='`$unique-lrId`' />\n<parameter name='label-start' value='`$label-restriction.label-start.te-label-tpn`' />\n<parameter name='label-end' value='`$label-restriction.label-end.te-label-tpn`' />\n<parameter name='range-bitmap' value='`$label-restriction.range-bitmap`' />\n<parameter name='label-step' value='`$label-restriction.label-step`' />\n<parameter name='inclusive-exclusive' value='`$label-restriction.inclusive-exclusive`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 1876.815185546875,
- "y": 982.5556640625,
- "z": "3cbec5d5.54ea02",
+ "x": 1866.815185546875,
+ "y": 1015.5556640625,
+ "z": "11329427.2301e4",
"wires": [
[
- "481ae7ff.84ac9",
- "958898b9.8616a"
+ "16e2b4ec.afe953",
+ "e2eddabf.7af6b"
]
]
},
{
- "id": "e7971b0b.c3d0c",
+ "id": "30955035.7652f",
"type": "switchNode",
"name": "switch te-link-attributes label-restriction_length",
"xml": "<switch test='`$link.te.te-link-attributes.label-restriction_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1136,
- "y": 943,
- "z": "3cbec5d5.54ea02",
+ "x": 1126,
+ "y": 976,
+ "z": "11329427.2301e4",
"wires": [
[
- "d0a27e5d.161cf",
- "c301ff98.2e6928",
- "4d75dbb8.4d6b04"
+ "57ae4e2f.8a93c8",
+ "7f343bab.e4c8cc",
+ "22cb05f1.da2172"
]
]
},
{
- "id": "faf4c2c8.a313e8",
+ "id": "ba3960a8.1467",
"type": "switchNode",
"name": "switch link.destination",
"xml": "<switch test='`$link.destination.dest-node`'>\n",
"comments": "",
"outputs": 1,
- "x": 553,
- "y": 202,
- "z": "3cbec5d5.54ea02",
+ "x": 543,
+ "y": 235,
+ "z": "11329427.2301e4",
"wires": [
[
- "998d07b5.34538",
- "4877c101.9ce65"
+ "a0306127.0ff848",
+ "d09a2f1e.24e0c8"
]
]
},
{
- "id": "998d07b5.34538",
+ "id": "a0306127.0ff848",
"type": "outcome",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 757,
- "y": 163,
- "z": "3cbec5d5.54ea02",
+ "x": 747,
+ "y": 196,
+ "z": "11329427.2301e4",
"wires": [
[
- "c3ced1a5.7034b"
+ "da99d9fe.83172"
]
]
},
{
- "id": "4877c101.9ce65",
+ "id": "d09a2f1e.24e0c8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 754,
- "y": 225,
- "z": "3cbec5d5.54ea02",
+ "x": 744,
+ "y": 258,
+ "z": "11329427.2301e4",
"wires": [
[
- "d4197495.299218"
+ "e7a5a1e8.6ee3f"
]
]
},
{
- "id": "d4197495.299218",
+ "id": "e7a5a1e8.6ee3f",
"type": "set",
"name": "set network link's destination variables",
"xml": "<set>\n<parameter name='dst-tpId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $link.destination.dest-node + '-ltpId-' + $link.destination.dest-tp`\" />\n<parameter name='unique-dst-node-Id' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $link.destination.dest-node`\" />\n<parameter name='is-open-ended-link' value='false' />\n\n",
"comments": "",
- "x": 983,
- "y": 188,
- "z": "3cbec5d5.54ea02",
+ "x": 973,
+ "y": 221,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "c382f34.d97691",
+ "id": "a3f68296.d7ae38",
"type": "set",
"name": "set is-open-ended-link",
"xml": "<set>\n<parameter name='is-open-ended-link' value='true' />\n\n",
"comments": "",
- "x": 1161,
- "y": 63,
- "z": "3cbec5d5.54ea02",
+ "x": 1151,
+ "y": 96,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "ff450949.dbf658",
+ "id": "be73ca4d.23f61",
"type": "save",
"name": "get p-interface from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $unique-src-node-Id\n\t and p-interface.interface-name = $src-tpId\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.p-interface\" >",
"comments": "",
"outputs": 1,
- "x": 1164,
- "y": 148,
- "z": "3cbec5d5.54ea02",
+ "x": 1154,
+ "y": 181,
+ "z": "11329427.2301e4",
"wires": [
[
- "5da3043a.2acbac",
- "1bf53d3.d439ac3",
- "8f4faa5b.7a92c"
+ "d126c02c.3bacd",
+ "4b20a2f1.df693c",
+ "d6c67e44.d54828"
]
]
},
{
- "id": "5da3043a.2acbac",
+ "id": "d126c02c.3bacd",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1407,
- "y": 143,
- "z": "3cbec5d5.54ea02",
+ "x": 1397,
+ "y": 176,
+ "z": "11329427.2301e4",
"wires": [
[
- "ce061615.442fb"
+ "56d01481.fc3d34"
]
]
},
{
- "id": "1bf53d3.d439ac3",
+ "id": "4b20a2f1.df693c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1405,
- "y": 232,
- "z": "3cbec5d5.54ea02",
+ "x": 1395,
+ "y": 265,
+ "z": "11329427.2301e4",
"wires": [
[
- "8dce7fe6.cbf1f"
+ "b4b8cef1.bd5508"
]
]
},
{
- "id": "863e663a.20d8f8",
+ "id": "67c0b205.d4f6ec",
"type": "set",
"name": "set alternative unique link id",
"xml": "<set>\n<parameter name='alt-unique-linkId' value=\"`$tmp.aai.p-interface.inter-domain-plug-id`\" />\n<!--<parameter name='alt-unique-linkId' value=\"`'networkId-' + $unique-networkId + '-linkId-' + $tmp.aai.p-interface.inter-domain-plug-id`\" />-->\n\n",
"comments": "",
- "x": 2080,
- "y": 160,
- "z": "3cbec5d5.54ea02",
+ "x": 2070,
+ "y": 193,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "8dce7fe6.cbf1f",
+ "id": "b4b8cef1.bd5508",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 1574,
- "y": 233,
- "z": "3cbec5d5.54ea02",
+ "x": 1564,
+ "y": 266,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "2b1dcd15.312222",
+ "id": "5276aaa7.05e024",
"type": "save",
"name": "get logical-link from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\t key=\"logical-link.link-name = $alt-unique-linkId\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.logical-link\" >",
"comments": "",
"outputs": 1,
- "x": 872,
- "y": 669,
- "z": "3cbec5d5.54ea02",
+ "x": 862,
+ "y": 702,
+ "z": "11329427.2301e4",
"wires": [
[
- "ec693039.84dc28",
- "3de532fd.f494f6"
+ "1ee6e430.75131c",
+ "e692eeb1.80fc1"
]
]
},
{
- "id": "8f4faa5b.7a92c",
+ "id": "d6c67e44.d54828",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1416.490966796875,
- "y": 185.57403564453125,
- "z": "3cbec5d5.54ea02",
+ "x": 1406.490966796875,
+ "y": 218.57403564453125,
+ "z": "11329427.2301e4",
"wires": [
[
- "788cf8a5.93c298"
+ "ce500e8a.13e1b"
]
]
},
{
- "id": "788cf8a5.93c298",
+ "id": "ce500e8a.13e1b",
"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 pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
"comments": "",
- "x": 1570.0623779296875,
- "y": 188.85977172851562,
- "z": "3cbec5d5.54ea02",
+ "x": 1560.0623779296875,
+ "y": 221.85977172851562,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "98f67a1e.d79eb",
+ "id": "52680ac9.74c6bc",
"type": "switchNode",
"name": "switch is-open-ended-link",
"xml": "<switch test='`$is-open-ended-link`'>\n",
"comments": "",
"outputs": 1,
- "x": 451,
- "y": 708,
- "z": "3cbec5d5.54ea02",
+ "x": 441,
+ "y": 741,
+ "z": "11329427.2301e4",
"wires": [
[
- "6cd18165.d49da8",
- "a4b87205.849aa"
+ "c8f3bc4d.123c58",
+ "d068e94c.b6bab"
]
]
},
{
- "id": "6cd18165.d49da8",
+ "id": "c8f3bc4d.123c58",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 668,
- "y": 730,
- "z": "3cbec5d5.54ea02",
+ "x": 658,
+ "y": 763,
+ "z": "11329427.2301e4",
"wires": [
[
- "6eb10efe.79be58"
+ "62f182d2.b1427c"
]
]
},
{
- "id": "a4b87205.849aa",
+ "id": "d068e94c.b6bab",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 671,
- "y": 670,
- "z": "3cbec5d5.54ea02",
+ "x": 661,
+ "y": 703,
+ "z": "11329427.2301e4",
"wires": [
[
- "2b1dcd15.312222"
+ "5276aaa7.05e024"
]
]
},
{
- "id": "ec693039.84dc28",
+ "id": "1ee6e430.75131c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1116,
- "y": 339,
- "z": "3cbec5d5.54ea02",
+ "x": 1106,
+ "y": 372,
+ "z": "11329427.2301e4",
"wires": [
[
- "7e014e1e.a8dd8"
+ "5326eda4.cd9dac"
]
]
},
{
- "id": "3de532fd.f494f6",
+ "id": "e692eeb1.80fc1",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1141.490966796875,
- "y": 534.5740356445312,
- "z": "3cbec5d5.54ea02",
+ "x": 1131.490966796875,
+ "y": 567.5740356445312,
+ "z": "11329427.2301e4",
"wires": [
[
- "308dc22b.73a67e"
+ "169999f1.cf3e56"
]
]
},
{
- "id": "2e5d2820.63e8c",
+ "id": "df93f1df.e408b",
"type": "update",
"name": "save logical-link with alternative link id",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link' \n key='logical-link.link-name = $alt-unique-linkId' >\n<parameter name='link-name' value='`$alt-unique-linkId`' />\n<parameter name='link-id' value='`$link.link-id`' />\n<parameter name='link-type' value='`$link.te.te-link-attributes.access-type`' />\n<parameter name='link-role' value='cross-domain' />\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1613,
- "y": 556,
- "z": "3cbec5d5.54ea02",
+ "x": 1603,
+ "y": 589,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "6eb10efe.79be58",
+ "id": "62f182d2.b1427c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 846,
- "y": 738,
- "z": "3cbec5d5.54ea02",
+ "x": 836,
+ "y": 771,
+ "z": "11329427.2301e4",
"wires": [
[
- "a43a6e87.7bb85",
- "e7971b0b.c3d0c",
- "a6b6ae44.7eb2a8",
- "370b414a.4eba76",
- "4aadddbd.521a8c"
+ "ea8c4290.e9fc4",
+ "30955035.7652f",
+ "cdc97515.c97b28",
+ "43ca3bbb.8af21c"
]
]
},
{
- "id": "521f891d.91cfc8",
+ "id": "922e1b5e.413f38",
"type": "save",
"name": "update dest TP by putting src TP of the current link",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $alt-unique-linkId' 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-src-node-Id + '/p-interfaces/p-interface/' + $src-tpId`\" />-->\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=\"`$src-tpId`\" />-->\n\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-src-node-Id + '/p-interfaces/p-interface/' + $src-tpId`\" />\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=\"`$src-tpId`\" />",
"comments": "",
"outputs": 1,
- "x": 2527,
- "y": 385,
- "z": "3cbec5d5.54ea02",
+ "x": 2517,
+ "y": 418,
+ "z": "11329427.2301e4",
"wires": [
[
- "27e614a8.33d2f4",
- "5b692078.dcecc"
+ "b261d13e.1146f",
+ "acda2064.208dd8"
]
]
},
{
- "id": "6468635a.9e6d94",
+ "id": "a65d4fc9.cbb8f8",
"type": "save",
"name": "save source and dest TP",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $unique-linkId' 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-src-node-Id + '/p-interfaces/p-interface/' + $src-tpId`\" />\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=\"`$src-tpId`\" />\n\n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[1].related-link\" value=\"`'/network/pnfs/pnf/' + $unique-dst-node-Id + '/p-interfaces/p-interface/' + $dst-tpId`\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value=\"`$dst-tpId`\" />",
"comments": "",
"outputs": 1,
- "x": 1076,
- "y": 1177,
- "z": "3cbec5d5.54ea02",
+ "x": 1066,
+ "y": 1210,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "c3ced1a5.7034b",
+ "id": "da99d9fe.83172",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 945,
- "y": 124,
- "z": "3cbec5d5.54ea02",
+ "x": 935,
+ "y": 157,
+ "z": "11329427.2301e4",
"wires": [
[
- "c382f34.d97691",
- "ff450949.dbf658",
- "b85c23da.8517d"
+ "a3f68296.d7ae38",
+ "be73ca4d.23f61",
+ "7e55092c.663d38"
]
]
},
{
- "id": "308dc22b.73a67e",
+ "id": "169999f1.cf3e56",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1330,
- "y": 537,
- "z": "3cbec5d5.54ea02",
+ "x": 1320,
+ "y": 570,
+ "z": "11329427.2301e4",
"wires": [
[
- "2e5d2820.63e8c",
- "3996c800.afa0a8",
- "d3a8ab71.fccb7",
- "6c137df8.722b8c"
+ "df93f1df.e408b",
+ "396e80a6.960c58",
+ "57d29a3c.fe54c4",
+ "3f800f5b.cc91f8"
]
]
},
{
- "id": "3996c800.afa0a8",
+ "id": "396e80a6.960c58",
"type": "save",
"name": "save source only",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $alt-unique-linkId' 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-src-node-Id + '/p-interfaces/p-interface/' + $src-tpId`\" />\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=\"`$src-tpId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1542,
- "y": 617,
- "z": "3cbec5d5.54ea02",
+ "x": 1532,
+ "y": 650,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "51ef22a.000c3dc",
+ "id": "19afd467.bf4a8c",
"type": "for",
"name": "for each label-restriction",
"xml": "<for index='tidx' start='0' end='`$link.te.te-link-attributes.label-restriction_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2069,
- "y": 743,
- "z": "3cbec5d5.54ea02",
+ "x": 2059,
+ "y": 776,
+ "z": "11329427.2301e4",
"wires": [
[
- "cb31166c.2edd2",
- "db1f7d98.2def68",
- "c4dd69cd.d872b",
- "f581a4e4.841408",
- "f2fac409.beeaf8",
- "ea1f1d76.87207"
+ "93dd8916.c138b",
+ "e065f5f8.a10718",
+ "667c042d.d704cc",
+ "1b0b9ceb.8ee5ab",
+ "98a97ae5.7ea6d",
+ "54564b15.ad996c"
]
]
},
{
- "id": "cb31166c.2edd2",
+ "id": "93dd8916.c138b",
"type": "set",
"name": "set label-restriction's local variables",
"xml": "<set>\n<parameter name='label-restriction.' value='`$link.te.te-link-attributes.label-restriction[$tidx].`' />\n",
"comments": "",
- "x": 2359.6669921875,
- "y": 621.8889770507812,
- "z": "3cbec5d5.54ea02",
+ "x": 2349.6669921875,
+ "y": 654.8889770507812,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "1dcb5e38.622da2",
+ "id": "adaa1c19.7064b",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2501.0555419921875,
- "y": 700.635009765625,
- "z": "3cbec5d5.54ea02",
+ "x": 2491.0555419921875,
+ "y": 733.635009765625,
+ "z": "11329427.2301e4",
"wires": [
[
- "2526017c.1c252e"
+ "c7ff7951.db72b8"
]
]
},
{
- "id": "19906550.30ac83",
+ "id": "85c8d180.3fabc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2508.734130859375,
- "y": 759.8493347167969,
- "z": "3cbec5d5.54ea02",
+ "x": 2498.734130859375,
+ "y": 792.8493347167969,
+ "z": "11329427.2301e4",
"wires": [
[
- "52d0ed95.142f34"
+ "82edaa01.6319c"
]
]
},
{
- "id": "2526017c.1c252e",
+ "id": "c7ff7951.db72b8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2661.5556640625,
- "y": 699.8889465332031,
- "z": "3cbec5d5.54ea02",
+ "x": 2651.5556640625,
+ "y": 732.8889465332031,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "52d0ed95.142f34",
+ "id": "82edaa01.6319c",
"type": "update",
"name": "save label-restriction",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='label-restriction' \n key='logical-link.link-name = $alt-unique-linkId\n AND label-restriction.id = $unique-lrId' > \n<parameter name='id' value='`$unique-lrId`' />\n<parameter name='label-start' value='`$label-restriction.label-start`' />\n<parameter name='label-end' value='`$label-restriction.label-end`' />\n<parameter name='range-bitmap' value='`$label-restriction.range-bitmap`' />\n<parameter name='label-step' value='`$label-restriction.label-step`' />\n<parameter name='inclusive-exclusive' value='`$label-restriction.inclusive-exclusive`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 2692.5556640625,
- "y": 759.8889465332031,
- "z": "3cbec5d5.54ea02",
+ "x": 2682.5556640625,
+ "y": 792.8889465332031,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "e7979ea6.dbce4",
+ "id": "66919d0c.15300c",
"type": "save",
"name": "save link relationship to label-restriction in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $alt-unique-linkId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"label-restriction\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/label-restrictions/label-restriction/' + $unique-lrId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"label-restriction.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-lrId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2368.5556640625,
- "y": 892.888916015625,
- "z": "3cbec5d5.54ea02",
+ "x": 2358.5556640625,
+ "y": 925.888916015625,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "db1f7d98.2def68",
+ "id": "e065f5f8.a10718",
"type": "update",
"name": "save label-restriction",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='label-restriction' \n key='label-restriction.id = $unique-lrId' > \n<parameter name='id' value='`$unique-lrId`' />\n<parameter name='label-start' value='`$label-restriction.label-start.te-label-tpn`' />\n<parameter name='label-end' value='`$label-restriction.label-end.te-label-tpn`' />\n<parameter name='range-bitmap' value='`$label-restriction.range-bitmap`' />\n<parameter name='label-step' value='`$label-restriction.label-step`' />\n<parameter name='inclusive-exclusive' value='`$label-restriction.inclusive-exclusive`' />\n",
"comments": "",
"outputs": 1,
- "x": 2310.370849609375,
- "y": 732.444580078125,
- "z": "3cbec5d5.54ea02",
+ "x": 2300.370849609375,
+ "y": 765.444580078125,
+ "z": "11329427.2301e4",
"wires": [
[
- "1dcb5e38.622da2",
- "19906550.30ac83"
+ "adaa1c19.7064b",
+ "85c8d180.3fabc"
]
]
},
{
- "id": "6624aa74.606e14",
+ "id": "f48b8987.2973f8",
"type": "set",
"name": "set more local variables",
"xml": "<set>\n<parameter name='unique-linkId' value=\"`'networkId-' + $unique-networkId + '-linkId-' + $link.link-id`\" />\n<parameter name='src-tpId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $link.source.source-node + '-ltpId-' + $link.source.source-tp`\" />\n<parameter name='unique-src-node-Id' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $link.source.source-node`\" />\n",
"comments": "",
- "x": 554,
- "y": 147,
- "z": "3cbec5d5.54ea02",
+ "x": 544,
+ "y": 180,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "6e337c6f.cd362c",
+ "id": "aa54070.82178f8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1496,
- "y": 60,
- "z": "3cbec5d5.54ea02",
+ "x": 1486,
+ "y": 93,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "ce061615.442fb",
+ "id": "56d01481.fc3d34",
"type": "switchNode",
"name": "switch inter-domain-plug-id of the src tp",
"xml": "<switch test='`$tmp.aai.p-interface.inter-domain-plug-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 1646,
- "y": 140,
- "z": "3cbec5d5.54ea02",
+ "x": 1636,
+ "y": 173,
+ "z": "11329427.2301e4",
"wires": [
[
- "a445a8a1.87665",
- "7abf5d27.d789e4"
+ "21fe7bc0.8046c4",
+ "ad83b45.12739c8"
]
]
},
{
- "id": "a445a8a1.87665",
+ "id": "21fe7bc0.8046c4",
"type": "outcome",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1876,
- "y": 87,
- "z": "3cbec5d5.54ea02",
+ "x": 1866,
+ "y": 120,
+ "z": "11329427.2301e4",
"wires": [
[
- "85dfc9e9.b205a8"
+ "82a5af1.d5baf5"
]
]
},
{
- "id": "7abf5d27.d789e4",
+ "id": "ad83b45.12739c8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1880,
- "y": 160,
- "z": "3cbec5d5.54ea02",
+ "x": 1870,
+ "y": 193,
+ "z": "11329427.2301e4",
"wires": [
[
- "863e663a.20d8f8"
+ "67c0b205.d4f6ec"
]
]
},
{
- "id": "85dfc9e9.b205a8",
+ "id": "82a5af1.d5baf5",
"type": "set",
"name": "unset is-open-ended-link",
"xml": "<set>\n<parameter name='is-open-ended-link' value='false' />\n<parameter name='is-invalid-open-ended-link' value='true' />\n\n",
"comments": "",
- "x": 2064,
- "y": 83,
- "z": "3cbec5d5.54ea02",
+ "x": 2054,
+ "y": 116,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "5df859b8.6bf788",
+ "id": "6944be1e.90178",
"type": "save",
"name": "delete logical-link",
"xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\" \n\tkey=\"logical-link.link-name = $tmp.link-name\" >\n",
"comments": "",
"outputs": 1,
- "x": 2045,
- "y": 32,
- "z": "3cbec5d5.54ea02",
+ "x": 2035,
+ "y": 65,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "dbc86076.1de4f",
+ "id": "37181089.2d209",
"type": "set",
"name": "unset network link's local variables",
"xml": "<set>\n<parameter name='link.' value='' />\n<parameter name='dst-tpId' value='' />\n<parameter name='unique-dst-node-Id' value='' />\n<parameter name='is-open-ended-link' value='false' />\n<parameter name='is-invalid-open-ended-link' value='false' />\n\n",
"comments": "",
- "x": 582,
- "y": 39,
- "z": "3cbec5d5.54ea02",
+ "x": 572,
+ "y": 72,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "5be7d94e.325bd",
+ "id": "d1dc92f0.18d3d",
"type": "switchNode",
"name": "switch is-invalid-open-ended-link",
"xml": "<switch test='`$is-invalid-open-ended-link`'>\n",
"comments": "",
"outputs": 1,
- "x": 672,
- "y": 1155,
- "z": "3cbec5d5.54ea02",
+ "x": 662,
+ "y": 1188,
+ "z": "11329427.2301e4",
"wires": [
[
- "3a021903.aa35de",
- "bd6a87fb.60cad"
+ "927f7161.cc38b",
+ "df6ba571.497fe8"
]
]
},
{
- "id": "bd6a87fb.60cad",
+ "id": "df6ba571.497fe8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 879,
- "y": 1123,
- "z": "3cbec5d5.54ea02",
+ "x": 869,
+ "y": 1156,
+ "z": "11329427.2301e4",
"wires": [
[
- "7d536275.1f7f6c"
+ "fabfad0b.ca8968"
]
]
},
{
- "id": "3a021903.aa35de",
+ "id": "927f7161.cc38b",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 876,
- "y": 1183,
- "z": "3cbec5d5.54ea02",
+ "x": 866,
+ "y": 1216,
+ "z": "11329427.2301e4",
"wires": [
[
- "6468635a.9e6d94"
+ "a65d4fc9.cbb8f8"
]
]
},
{
- "id": "7d536275.1f7f6c",
+ "id": "fabfad0b.ca8968",
"type": "save",
"name": "save source only",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $unique-linkId' 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-src-node-Id + '/p-interfaces/p-interface/' + $src-tpId`\" />\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=\"`$src-tpId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1059,
- "y": 1122,
- "z": "3cbec5d5.54ea02",
+ "x": 1049,
+ "y": 1155,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "c290c25a.9cb058",
+ "id": "19677d78.14b74b",
"type": "switchNode",
"name": "switch relationship-list_length",
"xml": "<switch test='`$tmp.aai.logical-link.relationship-list_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1388,
- "y": 312,
- "z": "3cbec5d5.54ea02",
+ "x": 1378,
+ "y": 345,
+ "z": "11329427.2301e4",
"wires": [
[
- "8171cd76.e9b4d",
- "9c1be6a.eb1c998",
- "be2751bf.fc2318"
+ "d7971422.333fa8",
+ "18cbfa68.3dd856",
+ "31f7a610.b076e2"
]
]
},
{
- "id": "8ea0dfd0.e04d5",
+ "id": "aa6b17d7.21416",
"type": "switchNode",
"name": "switch relationship-list_length != $src-tpId",
"xml": "<switch test='`$tmp.aai.logical-link.relationship-list.relationship[0].relationship-data[1].relationship-value != $src-tpId`'>\n",
"comments": "",
"outputs": 1,
- "x": 1839,
- "y": 326,
- "z": "3cbec5d5.54ea02",
+ "x": 1829,
+ "y": 359,
+ "z": "11329427.2301e4",
"wires": [
[
- "f6fe2af1.32bcd"
+ "b03e88ee.6fe68"
]
]
},
{
- "id": "8171cd76.e9b4d",
+ "id": "d7971422.333fa8",
"type": "outcome",
"name": "0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 1606,
- "y": 271,
- "z": "3cbec5d5.54ea02",
+ "x": 1596,
+ "y": 304,
+ "z": "11329427.2301e4",
"wires": [
[
- "6d799180.26117"
+ "33af6da8.d2ef82"
]
]
},
{
- "id": "9c1be6a.eb1c998",
+ "id": "18cbfa68.3dd856",
"type": "outcome",
"name": "1",
"xml": "<outcome value='1'>\n",
"comments": "",
"outputs": 1,
- "x": 1603,
- "y": 308,
- "z": "3cbec5d5.54ea02",
+ "x": 1593,
+ "y": 341,
+ "z": "11329427.2301e4",
"wires": [
[
- "8ea0dfd0.e04d5"
+ "aa6b17d7.21416"
]
]
},
{
- "id": "be2751bf.fc2318",
+ "id": "31f7a610.b076e2",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1613,
- "y": 382,
- "z": "3cbec5d5.54ea02",
+ "x": 1603,
+ "y": 415,
+ "z": "11329427.2301e4",
"wires": [
[
- "a1d91cb.fcaede"
+ "6e8cc864.7485f8"
]
]
},
{
- "id": "a1d91cb.fcaede",
+ "id": "6e8cc864.7485f8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1750,
- "y": 383,
- "z": "3cbec5d5.54ea02",
+ "x": 1740,
+ "y": 416,
+ "z": "11329427.2301e4",
"wires": [
[
- "9a538487.c08aa"
+ "899a17e9.aedab8"
]
]
},
{
- "id": "6d799180.26117",
+ "id": "33af6da8.d2ef82",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1748,
- "y": 279,
- "z": "3cbec5d5.54ea02",
+ "x": 1738,
+ "y": 312,
+ "z": "11329427.2301e4",
"wires": [
[
- "92abbd48.ac3ab"
+ "af13ae20.bebac"
]
]
},
{
- "id": "4c4fa03a.a50f2",
+ "id": "f2821395.fcaa08",
"type": "switchNode",
"name": "switch is-invalid-open-ended-link",
"xml": "<switch test='`$is-invalid-open-ended-link`'>\n",
"comments": "",
"outputs": 1,
- "x": 449,
- "y": 536,
- "z": "3cbec5d5.54ea02",
+ "x": 439,
+ "y": 569,
+ "z": "11329427.2301e4",
"wires": [
[
- "7a803037.7fbd88",
- "a043c19c.e11a18"
+ "9c119bdb.5496e8",
+ "d08739e0.57fa3"
]
]
},
{
- "id": "a043c19c.e11a18",
+ "id": "d08739e0.57fa3",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 656,
- "y": 504,
- "z": "3cbec5d5.54ea02",
+ "x": 646,
+ "y": 537,
+ "z": "11329427.2301e4",
"wires": [
[
- "2aea0930.46cd5e"
+ "1951ba10.65f9fe"
]
]
},
{
- "id": "7a803037.7fbd88",
+ "id": "9c119bdb.5496e8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 653,
- "y": 564,
- "z": "3cbec5d5.54ea02",
+ "x": 643,
+ "y": 597,
+ "z": "11329427.2301e4",
"wires": [
[
- "98f67a1e.d79eb"
+ "52680ac9.74c6bc"
]
]
},
{
- "id": "2aea0930.46cd5e",
+ "id": "1951ba10.65f9fe",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 807,
- "y": 504,
- "z": "3cbec5d5.54ea02",
+ "x": 797,
+ "y": 537,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "a6b6ae44.7eb2a8",
+ "id": "cdc97515.c97b28",
"type": "save",
"name": "save source and dest TP",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $unique-linkId' 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-src-node-Id + '/p-interfaces/p-interface/' + $src-tpId`\" />\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=\"`$src-tpId`\" />\n\n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[1].related-link\" value=\"`'/network/pnfs/pnf/' + $unique-dst-node-Id + '/p-interfaces/p-interface/' + $dst-tpId`\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value=\"`$dst-tpId`\" />",
"comments": "",
"outputs": 1,
- "x": 1074,
- "y": 826,
- "z": "3cbec5d5.54ea02",
+ "x": 1064,
+ "y": 859,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "f6fe2af1.32bcd",
+ "id": "b03e88ee.6fe68",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2086,
- "y": 317,
- "z": "3cbec5d5.54ea02",
+ "x": 2076,
+ "y": 350,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "370b414a.4eba76",
+ "id": "57515da6.acd334",
"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=\"uniqueLinkId\" />\n <parameter name=\"field3\" value=\"`$unique-linkId`\" />\n <parameter name=\"field4\" value=\"srcTpId\" />\n <parameter name=\"field5\" value=\"`$src-tpId`\" />\n <parameter name=\"field6\" value=\"dstTpId\" />\n <parameter name=\"field7\" value=\"`$dst-tpId`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1019,
- "y": 771,
- "z": "3cbec5d5.54ea02",
+ "x": 1009,
+ "y": 804,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "b85c23da.8517d",
+ "id": "7e55092c.663d38",
"type": "set",
"name": "unset tmp.aai.p-interface",
"xml": "<set>\n<parameter name='tmp.aai.p-interface' value='' />\n<parameter name='tmp.aai.p-interface.inter-domain-plug-id' value='' />\n\n",
"comments": "",
- "x": 1162,
- "y": 101,
- "z": "3cbec5d5.54ea02",
+ "x": 1152,
+ "y": 134,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "e0d728fb.03e448",
+ "id": "4b963b57.e5bedc",
"type": "record",
"name": "log file",
"xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logMerge.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"altUniqueLinkId\" />\n <parameter name=\"field3\" value=\"`$alt-unique-linkId`\" />\n <parameter name=\"field4\" value=\"srcTpId\" />\n <parameter name=\"field5\" value=\"`$src-tpId`\" />\n <parameter name=\"field6\" value=\"relationship-value\" />\n <parameter name=\"field7\" value='`$tmp.aai.logical-link.relationship-list.relationship[0].relationship-data[1].relationship-value`' />\n ",
"comments": "",
"outputs": 1,
- "x": 2402,
- "y": 289,
- "z": "3cbec5d5.54ea02",
+ "x": 2392,
+ "y": 322,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "7e014e1e.a8dd8",
+ "id": "5326eda4.cd9dac",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2078,
- "y": 534,
- "z": "3cbec5d5.54ea02",
+ "x": 2068,
+ "y": 567,
+ "z": "11329427.2301e4",
"wires": [
[
- "e0d728fb.03e448",
- "521f891d.91cfc8",
- "cedaeaf5.78fef8",
- "740002f8.4aedac"
+ "4b963b57.e5bedc",
+ "922e1b5e.413f38",
+ "a18dc6ab.ac0e98",
+ "6723873e.80324"
]
]
},
{
- "id": "27e614a8.33d2f4",
+ "id": "b261d13e.1146f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2816,
- "y": 355,
- "z": "3cbec5d5.54ea02",
+ "x": 2806,
+ "y": 388,
+ "z": "11329427.2301e4",
"wires": [
[
- "c5f6a36b.0845d8"
+ "9a2a7ebb.6f02f"
]
]
},
{
- "id": "5b692078.dcecc",
+ "id": "acda2064.208dd8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2823.6785888671875,
- "y": 414.2143249511719,
- "z": "3cbec5d5.54ea02",
+ "x": 2813.6785888671875,
+ "y": 447.2143249511719,
+ "z": "11329427.2301e4",
"wires": [
[
- "b2044c9b.8096a"
+ "693b3172.16e028"
]
]
},
{
- "id": "c5f6a36b.0845d8",
+ "id": "9a2a7ebb.6f02f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2964,
- "y": 350,
- "z": "3cbec5d5.54ea02",
+ "x": 2954,
+ "y": 383,
+ "z": "11329427.2301e4",
"wires": [
[
- "ad2b40a6.ff37f8"
+ "24d0b2c2.21a89e"
]
]
},
{
- "id": "ad2b40a6.ff37f8",
+ "id": "24d0b2c2.21a89e",
"type": "record",
"name": "log file",
"xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logMergeSuccess.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"altUniqueLinkId\" />\n <parameter name=\"field3\" value=\"`$alt-unique-linkId`\" />\n <parameter name=\"field4\" value=\"srcTpId\" />\n <parameter name=\"field5\" value=\"`$src-tpId`\" />\n <parameter name=\"field6\" value=\"relationship-value\" />\n <parameter name=\"field7\" value='`$tmp.aai.logical-link.relationship-list.relationship[0].relationship-data[1].relationship-value`' />\n ",
"comments": "",
"outputs": 1,
- "x": 3109,
- "y": 350,
- "z": "3cbec5d5.54ea02",
+ "x": 3099,
+ "y": 383,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "b2044c9b.8096a",
+ "id": "693b3172.16e028",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2971,
- "y": 412,
- "z": "3cbec5d5.54ea02",
+ "x": 2961,
+ "y": 445,
+ "z": "11329427.2301e4",
"wires": [
[
- "a8dbf2db.72f548"
+ "cbdf69e4.857a38"
]
]
},
{
- "id": "92abbd48.ac3ab",
+ "id": "af13ae20.bebac",
"type": "record",
"name": "log file",
"xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logNoRelationship.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"noRelationshipForLink:\" />\n <parameter name=\"field3\" value=\"`$tmp.aai.logical-link.link-name`\" />",
"comments": "",
"outputs": 1,
- "x": 1884,
- "y": 277,
- "z": "3cbec5d5.54ea02",
+ "x": 1874,
+ "y": 310,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "9a538487.c08aa",
+ "id": "899a17e9.aedab8",
"type": "record",
"name": "log file",
"xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logNoRelationship.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"moreThanOneRelationshipForLink:\" />\n <parameter name=\"field3\" value=\"`$tmp.aai.logical-link.link-name`\" />\n <parameter name=\"field4\" value=\"HowMany:\" />\n <parameter name=\"field5\" value=\"`$tmp.aai.logical-link.relationship-list_length`\" />",
"comments": "",
"outputs": 1,
- "x": 1895,
- "y": 392,
- "z": "3cbec5d5.54ea02",
+ "x": 1885,
+ "y": 425,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "a8dbf2db.72f548",
+ "id": "cbdf69e4.857a38",
"type": "record",
"name": "log file",
"xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logMergeFailure.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"altUniqueLinkId\" />\n <parameter name=\"field3\" value=\"`$alt-unique-linkId`\" />\n <parameter name=\"field4\" value=\"srcTpId\" />\n <parameter name=\"field5\" value=\"`$src-tpId`\" />\n <parameter name=\"field6\" value=\"relationship-value\" />\n <parameter name=\"field7\" value='`$tmp.aai.logical-link.relationship-list.relationship[0].relationship-data[1].relationship-value`' />\n ",
"comments": "",
"outputs": 1,
- "x": 3116,
- "y": 412,
- "z": "3cbec5d5.54ea02",
+ "x": 3106,
+ "y": 445,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "d0a27e5d.161cf",
+ "id": "57ae4e2f.8a93c8",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1430,
- "y": 841,
- "z": "3cbec5d5.54ea02",
+ "x": 1420,
+ "y": 874,
+ "z": "11329427.2301e4",
"wires": [
[
- "53c3433b.ea3fa4"
+ "9036593c.1672f"
]
]
},
{
- "id": "c301ff98.2e6928",
+ "id": "7f343bab.e4c8cc",
"type": "outcome",
"name": "length 0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 1432,
- "y": 889,
- "z": "3cbec5d5.54ea02",
+ "x": 1422,
+ "y": 922,
+ "z": "11329427.2301e4",
"wires": [
[
- "53c3433b.ea3fa4"
+ "9036593c.1672f"
]
]
},
{
- "id": "4d75dbb8.4d6b04",
+ "id": "22cb05f1.da2172",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1429,
- "y": 943,
- "z": "3cbec5d5.54ea02",
+ "x": 1419,
+ "y": 976,
+ "z": "11329427.2301e4",
"wires": [
[
- "9f28786b.9755c"
+ "8fd33aa8.985138"
]
]
},
{
- "id": "53c3433b.ea3fa4",
+ "id": "9036593c.1672f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1585,
- "y": 841,
- "z": "3cbec5d5.54ea02",
+ "x": 1575,
+ "y": 874,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "d3a8ab71.fccb7",
+ "id": "57d29a3c.fe54c4",
"type": "switchNode",
"name": "switch te-link-attributes label-restriction_length",
"xml": "<switch test='`$link.te.te-link-attributes.label-restriction_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1611,
- "y": 734,
- "z": "3cbec5d5.54ea02",
+ "x": 1601,
+ "y": 767,
+ "z": "11329427.2301e4",
"wires": [
[
- "d2a47af.0c53388",
- "6ac8d49a.12d694",
- "7da4e2ad.ccfb34"
+ "681fa8f6.5d2f28",
+ "ec4baaa9.ef82",
+ "7ddd884.112ddf8"
]
]
},
{
- "id": "d2a47af.0c53388",
+ "id": "681fa8f6.5d2f28",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1883,
- "y": 644,
- "z": "3cbec5d5.54ea02",
+ "x": 1873,
+ "y": 677,
+ "z": "11329427.2301e4",
"wires": [
[
- "70211305.a9bd74"
+ "ef3a31b6.0b2b58"
]
]
},
{
- "id": "70211305.a9bd74",
+ "id": "ef3a31b6.0b2b58",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2038,
- "y": 644,
- "z": "3cbec5d5.54ea02",
+ "x": 2028,
+ "y": 677,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "6ac8d49a.12d694",
+ "id": "ec4baaa9.ef82",
"type": "outcome",
"name": "length 0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 1885,
- "y": 692,
- "z": "3cbec5d5.54ea02",
+ "x": 1875,
+ "y": 725,
+ "z": "11329427.2301e4",
"wires": [
[
- "70211305.a9bd74"
+ "ef3a31b6.0b2b58"
]
]
},
{
- "id": "7da4e2ad.ccfb34",
+ "id": "7ddd884.112ddf8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1884,
- "y": 743,
- "z": "3cbec5d5.54ea02",
+ "x": 1874,
+ "y": 776,
+ "z": "11329427.2301e4",
"wires": [
[
- "51ef22a.000c3dc"
+ "19afd467.bf4a8c"
]
]
},
{
- "id": "c4dd69cd.d872b",
+ "id": "667c042d.d704cc",
"type": "set",
"name": "unset label-restriction's local variables",
"xml": "<set>\n<parameter name='label-restriction.' value='' />\n<parameter name='unique-lrId' value=\"\" />\n",
"comments": "",
- "x": 2365,
- "y": 570,
- "z": "3cbec5d5.54ea02",
+ "x": 2355,
+ "y": 603,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "7166bef0.82e4a",
+ "id": "1f83fd3d.b74253",
"type": "set",
"name": "unset label-restriction's local variables",
"xml": "<set>\n<parameter name='label-restriction.' value='' />\n<parameter name='unique-lrId' value=\"\" />\n",
"comments": "",
- "x": 1919,
- "y": 797,
- "z": "3cbec5d5.54ea02",
+ "x": 1909,
+ "y": 830,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "cedaeaf5.78fef8",
+ "id": "a18dc6ab.ac0e98",
"type": "switchNode",
"name": "switch te-link-attributes label-restriction_length",
"xml": "<switch test='`$link.te.te-link-attributes.label-restriction_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 2703,
- "y": 521,
- "z": "3cbec5d5.54ea02",
+ "x": 2693,
+ "y": 554,
+ "z": "11329427.2301e4",
"wires": [
[
- "e2267c99.350348",
- "3e0a9900.cec47e",
- "ab55b067.791f5"
+ "22753c60.a6d58c",
+ "56afa73f.b3618",
+ "2c831306.1c7d44"
]
]
},
{
- "id": "e2267c99.350348",
+ "id": "22753c60.a6d58c",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 2973,
- "y": 483,
- "z": "3cbec5d5.54ea02",
+ "x": 2963,
+ "y": 516,
+ "z": "11329427.2301e4",
"wires": [
[
- "8e66b008.2f7c48"
+ "ee39387a.68929"
]
]
},
{
- "id": "8e66b008.2f7c48",
+ "id": "ee39387a.68929",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3128,
- "y": 483,
- "z": "3cbec5d5.54ea02",
+ "x": 3118,
+ "y": 516,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "3e0a9900.cec47e",
+ "id": "56afa73f.b3618",
"type": "outcome",
"name": "length 0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 2975,
- "y": 531,
- "z": "3cbec5d5.54ea02",
+ "x": 2965,
+ "y": 564,
+ "z": "11329427.2301e4",
"wires": [
[
- "8e66b008.2f7c48"
+ "ee39387a.68929"
]
]
},
{
- "id": "ab55b067.791f5",
+ "id": "2c831306.1c7d44",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2974,
- "y": 582,
- "z": "3cbec5d5.54ea02",
+ "x": 2964,
+ "y": 615,
+ "z": "11329427.2301e4",
"wires": [
[
- "ef26b767.51cb"
+ "37acde41.902402"
]
]
},
{
- "id": "ef26b767.51cb",
+ "id": "37acde41.902402",
"type": "for",
"name": "for each label-restriction",
"xml": "<for index='tidx' start='0' end='`$link.te.te-link-attributes.label-restriction_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3159,
- "y": 582,
- "z": "3cbec5d5.54ea02",
+ "x": 3149,
+ "y": 615,
+ "z": "11329427.2301e4",
"wires": [
[
- "1e98f683.1aa1c9",
- "fb05e52d.520ed8",
- "d6c4c7a0.0d9e8",
- "c76088aa.f470c8",
- "4bfdac8d.42ab7c",
- "fab9bbde.d7c01"
+ "322257af.c0621",
+ "a96bc34a.edf08",
+ "85a3ce07.1ccf48",
+ "6745622e.a105dc",
+ "81205454.92f138",
+ "22ab235a.53f29c"
]
]
},
{
- "id": "d6c4c7a0.0d9e8",
+ "id": "85a3ce07.1ccf48",
"type": "set",
"name": "unset label-restriction's local variables",
"xml": "<set>\n<parameter name='label-restriction.' value='' />\n<parameter name='unique-lrId' value=\"\" />\n",
"comments": "",
- "x": 3457,
- "y": 397,
- "z": "3cbec5d5.54ea02",
+ "x": 3447,
+ "y": 430,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "1e98f683.1aa1c9",
+ "id": "322257af.c0621",
"type": "set",
"name": "set label-restriction's local variables",
"xml": "<set>\n<parameter name='label-restriction.' value='`$link.te.te-link-attributes.label-restriction[$tidx].`' />\n",
"comments": "",
- "x": 3446.6669921875,
- "y": 443.88897705078125,
- "z": "3cbec5d5.54ea02",
+ "x": 3436.6669921875,
+ "y": 476.88897705078125,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "fb05e52d.520ed8",
+ "id": "a96bc34a.edf08",
"type": "update",
"name": "save label-restriction",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='label-restriction' \n key='label-restriction.id = $unique-lrId' > \n<parameter name='id' value='`$unique-lrId`' />\n<parameter name='label-start' value='`$label-restriction.label-start.te-label-tpn`' />\n<parameter name='label-end' value='`$label-restriction.label-end.te-label-tpn`' />\n<parameter name='range-bitmap' value='`$label-restriction.range-bitmap`' />\n<parameter name='label-step' value='`$label-restriction.label-step`' />\n<parameter name='inclusive-exclusive' value='`$label-restriction.inclusive-exclusive`' />\n",
"comments": "",
"outputs": 1,
- "x": 3400.370849609375,
- "y": 571.444580078125,
- "z": "3cbec5d5.54ea02",
+ "x": 3390.370849609375,
+ "y": 604.444580078125,
+ "z": "11329427.2301e4",
"wires": [
[
- "d9005ccd.b320e8",
- "c6b7c3e3.521e98"
+ "e2988e4e.9965d8",
+ "7f7d13.46dcb2ec"
]
]
},
{
- "id": "9c6aaa8e.65077",
+ "id": "d0f09020.f9dd48",
"type": "save",
"name": "save link relationship to label-restriction in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $alt-unique-linkId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"label-restriction\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/label-restrictions/label-restriction/' + $unique-lrId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"label-restriction.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-lrId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3474.5556640625,
- "y": 755.888916015625,
- "z": "3cbec5d5.54ea02",
+ "x": 3464.5556640625,
+ "y": 788.888916015625,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "d9005ccd.b320e8",
+ "id": "e2988e4e.9965d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3591.0555419921875,
- "y": 539.635009765625,
- "z": "3cbec5d5.54ea02",
+ "x": 3581.0555419921875,
+ "y": 572.635009765625,
+ "z": "11329427.2301e4",
"wires": [
[
- "85dd0f0d.ac434"
+ "fbf9ca41.08cd48"
]
]
},
{
- "id": "c6b7c3e3.521e98",
+ "id": "7f7d13.46dcb2ec",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3598.734130859375,
- "y": 598.8493347167969,
- "z": "3cbec5d5.54ea02",
+ "x": 3588.734130859375,
+ "y": 631.8493347167969,
+ "z": "11329427.2301e4",
"wires": [
[
- "d138a600.db5b8"
+ "84622b72.0f60f8"
]
]
},
{
- "id": "85dd0f0d.ac434",
+ "id": "fbf9ca41.08cd48",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3751.5556640625,
- "y": 538.8889465332031,
- "z": "3cbec5d5.54ea02",
+ "x": 3741.5556640625,
+ "y": 571.8889465332031,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "d138a600.db5b8",
+ "id": "84622b72.0f60f8",
"type": "update",
"name": "save label-restriction",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='label-restriction' \n key='label-restriction.id = $unique-lrId' > \n<parameter name='id' value='`$unique-lrId`' />\n<parameter name='label-start' value='`$label-restriction.label-start.te-label-tpn`' />\n<parameter name='label-end' value='`$label-restriction.label-end.te-label-tpn`' />\n<parameter name='range-bitmap' value='`$label-restriction.range-bitmap`' />\n<parameter name='label-step' value='`$label-restriction.label-step`' />\n<parameter name='inclusive-exclusive' value='`$label-restriction.inclusive-exclusive`' />\n",
"comments": "",
"outputs": 1,
- "x": 3782.5556640625,
- "y": 598.8889465332031,
- "z": "3cbec5d5.54ea02",
+ "x": 3772.5556640625,
+ "y": 631.8889465332031,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "c76088aa.f470c8",
+ "id": "6745622e.a105dc",
"type": "set",
"name": "set label-restriction's local variables",
"xml": "<set>\n<parameter name='unique-lrId' value=\"`$alt-unique-linkId + '-lrId-' + $label-restriction.index`\" />\n",
"comments": "",
- "x": 3447,
- "y": 493,
- "z": "3cbec5d5.54ea02",
+ "x": 3437,
+ "y": 526,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "f581a4e4.841408",
+ "id": "1b0b9ceb.8ee5ab",
"type": "set",
"name": "set label-restriction's local variables",
"xml": "<set>\n<parameter name='unique-lrId' value=\"`$alt-unique-linkId + '-lrId-' + $label-restriction.index`\" />\n",
"comments": "",
- "x": 2361,
- "y": 662,
- "z": "3cbec5d5.54ea02",
+ "x": 2351,
+ "y": 695,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "c6ea0cbf.fb7cd",
+ "id": "db4d2563.f4f978",
"type": "set",
"name": "set label-restriction's local variables",
"xml": "<set>\n<parameter name='label-restriction.' value='`$link.te.te-link-attributes.label-restriction[$tidx].`' />\n",
"comments": "",
- "x": 1916,
- "y": 849,
- "z": "3cbec5d5.54ea02",
+ "x": 1906,
+ "y": 882,
+ "z": "11329427.2301e4",
"wires": []
},
{
- "id": "4aadddbd.521a8c",
+ "id": "43ca3bbb.8af21c",
"type": "update",
"name": "save te-link-attribute",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' > \n<parameter name='id' value='`$link.te.te-link-attributes.name`' />\n<parameter name='access-type' value='`$link.te.te-link-attributes.access-type`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 1057,
- "y": 871,
- "z": "3cbec5d5.54ea02",
+ "x": 1047,
+ "y": 904,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "e1339bff.8f7f98",
+ "id": "b8324dab.347198",
"type": "save",
"name": "save te-link-attribute relationship to label-restriction",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute:relationship-list' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"label-restriction\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/label-restrictions/label-restriction/' + $unique-lrId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"label-restriction.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-lrId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1948,
- "y": 1140,
- "z": "3cbec5d5.54ea02",
+ "x": 1938,
+ "y": 1173,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "441a859d.1c08ec",
+ "id": "49c5f91d.be38c8",
"type": "save",
"name": "save te-link-attribute relationship to logical-link in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute:relationship-list' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"logical-link\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/logical-links/logical-link/' + $unique-linkId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"logical-link.link-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-linkId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1957,
- "y": 1080,
- "z": "3cbec5d5.54ea02",
+ "x": 1947,
+ "y": 1113,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "6c137df8.722b8c",
+ "id": "3f800f5b.cc91f8",
"type": "update",
"name": "save te-link-attribute",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' > \n<parameter name='id' value='`$link.te.te-link-attributes.name`' />\n<parameter name='access-type' value='`$link.te.te-link-attributes.access-type`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 1548,
- "y": 669,
- "z": "3cbec5d5.54ea02",
+ "x": 1538,
+ "y": 702,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "740002f8.4aedac",
+ "id": "6723873e.80324",
"type": "update",
"name": "update te-link-attribute",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' > \n<parameter name='id' value='`$link.te.te-link-attributes.name`' />\n<parameter name='access-type' value='`$link.te.te-link-attributes.access-type`' />\n\n",
"comments": "",
"outputs": 1,
- "x": 2428,
- "y": 454,
- "z": "3cbec5d5.54ea02",
+ "x": 2418,
+ "y": 487,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "f2fac409.beeaf8",
+ "id": "98a97ae5.7ea6d",
"type": "save",
"name": "save te-link-attribute relationship to logical-link in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute:relationship-list' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"logical-link\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/logical-links/logical-link/' + $alt-unique-linkId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"logical-link.link-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$alt-unique-linkId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2393,
- "y": 800,
- "z": "3cbec5d5.54ea02",
+ "x": 2383,
+ "y": 833,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "ea1f1d76.87207",
+ "id": "54564b15.ad996c",
"type": "save",
"name": "save te-link-attribute relationship to label-restriction",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute:relationship-list' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"label-restriction\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/label-restrictions/label-restriction/' + $unique-lrId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"label-restriction.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-lrId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2386,
- "y": 846,
- "z": "3cbec5d5.54ea02",
+ "x": 2376,
+ "y": 879,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "fab9bbde.d7c01",
+ "id": "22ab235a.53f29c",
"type": "save",
"name": "save te-link-attribute relationship to label-restriction",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute:relationship-list' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"label-restriction\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/label-restrictions/label-restriction/' + $unique-lrId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"label-restriction.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-lrId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3483,
- "y": 698,
- "z": "3cbec5d5.54ea02",
+ "x": 3473,
+ "y": 731,
+ "z": "11329427.2301e4",
"wires": [
[]
]
},
{
- "id": "4bfdac8d.42ab7c",
+ "id": "81205454.92f138",
"type": "save",
"name": "save te-link-attribute relationship to logical-link in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute:relationship-list' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"logical-link\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/logical-links/logical-link/' + $alt-unique-linkId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"logical-link.link-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$alt-unique-linkId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3490,
- "y": 652,
- "z": "3cbec5d5.54ea02",
+ "x": 3480,
+ "y": 685,
+ "z": "11329427.2301e4",
"wires": [
[]
]