[\r
{\r
- "id": "ef88be3f.517f78",\r
+ "id": "b9fcda31.4ec79",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 105,\r
- "y": 67,\r
+ "x": 113,\r
+ "y": 65.00650024414062,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "74a7a837.229be"\r
+ "3760ce9c.1bf2e2"\r
]\r
]\r
},\r
{\r
- "id": "74a7a837.229be",\r
+ "id": "3760ce9c.1bf2e2",\r
"type": "service-logic",\r
"name": "DataChange ${project.version}",\r
"module": "DataChange",\r
"comments": "",\r
"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}'>",\r
"outputs": 1,\r
- "x": 194.00003051757812,\r
- "y": 157.88891220092773,\r
+ "x": 202.00003051757812,\r
+ "y": 155.89541244506836,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "284dae72.737532"\r
+ "de74005b.f44ce8"\r
]\r
]\r
},\r
{\r
- "id": "284dae72.737532",\r
+ "id": "de74005b.f44ce8",\r
"type": "method",\r
"name": "update-network-to-aai",\r
"xml": "<method rpc='update-network-to-aai' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 230.1112518310547,\r
- "y": 228.22223663330078,\r
+ "x": 238.1112518310547,\r
+ "y": 226.2287368774414,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "da05320e.186d48"\r
+ "1541ad9c.69aa8a"\r
]\r
]\r
},\r
{\r
- "id": "da05320e.186d48",\r
+ "id": "1541ad9c.69aa8a",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">\n",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 455.33343505859375,\r
- "y": 227.77792358398438,\r
+ "x": 463.33343505859375,\r
+ "y": 225.784423828125,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "8c187a81.9e4d28",\r
- "75113293.98ea0c",\r
- "9937b93d.ff5938",\r
- "55dde830.cc61b8"\r
+ "dbbcebe5.6f422",\r
+ "e66d9ed0.3d3d8",\r
+ "f1256a59.e632c",\r
+ "1dca15d7.0a7a3a",\r
+ "1c1d34a0.adaa8b",\r
+ "4469da89.6a377c"\r
]\r
]\r
},\r
{\r
- "id": "75113293.98ea0c",\r
+ "id": "e66d9ed0.3d3d8",\r
"type": "save",\r
"name": "save network-resource",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 685.333251953125,\r
- "y": 133.00001525878906,\r
+ "x": 693.333251953125,\r
+ "y": 131.0065155029297,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "74f65e67.75c658",\r
+ "id": "40545c4b.9221f4",\r
"type": "save",\r
"name": "save pnf",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 897.1111450195312,\r
- "y": 223.111083984375,\r
+ "x": 893.1111450195312,\r
+ "y": 502.1175842285156,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "9937b93d.ff5938",\r
+ "id": "f1256a59.e632c",\r
"type": "for",\r
"name": "for each node",\r
"xml": "<for index='pidx' start='0' end='`$network.node_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 668.8888549804688,\r
- "y": 203.33331298828125,\r
+ "x": 664.8888549804688,\r
+ "y": 482.3398132324219,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "74f65e67.75c658",\r
- "60e29b35.16fbd4",\r
- "b27f201.393186",\r
- "e83884ed.3fb2d8",\r
- "7257c53.4f087bc",\r
- "395bef40.08498",\r
- "1392eb55.76adbd",\r
- "e55192de.2cc998",\r
- "a1ffb2f2.4b50b8"\r
+ "40545c4b.9221f4",\r
+ "eba2ef35.33c428",\r
+ "4817116d.5f593",\r
+ "466a40bd.9d277",\r
+ "1acdca56.b6e67e",\r
+ "3e1f14bc.ee90c4",\r
+ "6de7541f.0e2a24",\r
+ "8794be9f.289a08",\r
+ "1b6896a8.e62c19"\r
]\r
]\r
},\r
{\r
- "id": "60e29b35.16fbd4",\r
+ "id": "eba2ef35.33c428",\r
"type": "set",\r
"name": "set node",\r
"xml": "<set>\n<parameter name='node.' value='`$network.node[$pidx].`' />\n<parameter name='unique-networkId' value='`$tmp.network-id`' />\n\n",\r
"comments": "",\r
- "x": 902.111083984375,\r
- "y": 119.22221374511719,\r
+ "x": 898.111083984375,\r
+ "y": 398.2287139892578,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": []\r
},\r
{\r
- "id": "e83884ed.3fb2d8",\r
+ "id": "466a40bd.9d277",\r
"type": "save",\r
"name": "save pnf relationship to network-resource in AAI",\r
"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`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 993.7779541015625,\r
- "y": 398.44447803497314,\r
+ "x": 989.7779541015625,\r
+ "y": 677.4509782791138,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "9c15e41a.6cfbc8",\r
+ "id": "3d4b777c.0e42f",\r
"type": "for",\r
"name": "for each termination point",\r
"xml": "<for index='tidx' start='0' end='`$node.termination-point_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1279.4444580078125,\r
- "y": 574.111083984375,\r
+ "x": 1297.4444580078125,\r
+ "y": 593.1175537109375,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "3c657cae.66477c",\r
- "2e1dc2b9.f23686",\r
- "8c144095.b1eaf8",\r
- "9abbad80.6c0f7"\r
+ "95dfcdd1.046e6",\r
+ "1ac320c7.c54f67",\r
+ "aa2f70cf.6e112",\r
+ "64896027.57fb78",\r
+ "fe275075.949f1"\r
]\r
]\r
},\r
{\r
- "id": "3c657cae.66477c",\r
+ "id": "95dfcdd1.046e6",\r
"type": "set",\r
"name": "set termination point",\r
"xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n",\r
"comments": "",\r
- "x": 1550.111328125,\r
- "y": 536.0000457763672,\r
+ "x": 1567.111328125,\r
+ "y": 576.0065307617188,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": []\r
},\r
{\r
- "id": "8c144095.b1eaf8",\r
+ "id": "aa2f70cf.6e112",\r
"type": "save",\r
"name": "save p-interface",\r
- "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\n",\r
+ "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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1533.815185546875,\r
- "y": 628.5556030273438,\r
+ "x": 1561.815185546875,\r
+ "y": 763.5620727539062,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "3fc33363.5b82ec",\r
- "34c813e4.f5477c"\r
+ "673078d4.a5cb68",\r
+ "5651def0.2c85b8"\r
]\r
]\r
},\r
{\r
- "id": "f6e5129a.8bd048",\r
+ "id": "6cce4024.476ad",\r
"type": "save",\r
"name": "save pnf relationship to p-interface in AAI",\r
"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`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1367.703857421875,\r
- "y": 779.3333740234375,\r
+ "x": 1382.703857421875,\r
+ "y": 1676.33984375,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "2e1dc2b9.f23686",\r
+ "id": "1ac320c7.c54f67",\r
"type": "set",\r
"name": "set unique-ltpId",\r
"xml": "<set>\n<parameter name='unique-ltpId' value=\"`$unique-nodeId + '-ltpId-' + $tp.te-tp-id`\" />\n",\r
"comments": "",\r
- "x": 1534.000244140625,\r
- "y": 570.1111145019531,\r
+ "x": 1551.000244140625,\r
+ "y": 633.1175537109375,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": []\r
},\r
{\r
- "id": "8c187a81.9e4d28",\r
+ "id": "dbbcebe5.6f422",\r
"type": "execute",\r
"name": "execute",\r
- "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.network-id\"/>\n <parameter name=\"target\" value=\"/\"/>\n <parameter name=\"replacement\" value=\"-\"/>\n ",\r
+ "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 ",\r
"comments": "",\r
"outputs": 1,\r
- "x": 640.9935302734375,\r
- "y": 83.99349975585938,\r
+ "x": 649.9935302734375,\r
+ "y": 40,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "b27f201.393186",\r
+ "id": "4817116d.5f593",\r
"type": "save",\r
"name": "save pnf relation with esr-thirdparty-sdnc",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='esr-thirdparty-sdnc:relationship-list' \n key='esr-thirdparty-sdnc.thirdparty-sdnc-id = $prop.sdncRestApi.thirdpartySdnc.id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $node.node-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$node.node-id`\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 975,\r
- "y": 434.9934997558594,\r
+ "x": 971,\r
+ "y": 714,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "3fc33363.5b82ec",\r
+ "id": "673078d4.a5cb68",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1705.499885559082,\r
- "y": 615.7460784912109,\r
+ "x": 1733.499885559082,\r
+ "y": 750.7525482177734,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "a873419b.bc81c"\r
+ "72e23ce3.0ceb8c"\r
]\r
]\r
},\r
{\r
- "id": "34c813e4.f5477c",\r
+ "id": "5651def0.2c85b8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1699.1784744262695,\r
- "y": 667.9603900909424,\r
+ "x": 1727.1784744262695,\r
+ "y": 802.9668598175049,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "66113f50.7819f8"\r
+ "936d0942.79b6"\r
]\r
]\r
},\r
{\r
- "id": "a873419b.bc81c",\r
+ "id": "72e23ce3.0ceb8c",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1856.0000457763672,\r
- "y": 615.0000095367432,\r
+ "x": 1884.0000457763672,\r
+ "y": 750.0064792633057,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "66113f50.7819f8",\r
+ "id": "936d0942.79b6",\r
"type": "update",\r
"name": "update p-interface",\r
- "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`' />",\r
+ "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`' />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1885,\r
- "y": 669,\r
+ "x": 1913,\r
+ "y": 804.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "c8e5472a.d10408",\r
+ "id": "7077dcc4.1aa314",\r
"type": "save",\r
"name": "save tunnel-termination-point",\r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point' \n key='tunnel-termination-point.ttp-id = $unique-ttpId' >\n\n<parameter name='ttp-id' value='`$unique-ttpId`' />\n<parameter name='tunnel-tp-id' value='`$ttp.tunnel-tp-id`' />\n<parameter name='name' value='`$ttp.name`' />\n<parameter name='admin-status' value='`$ttp.admin-status`' />\n<parameter name='oper-status' value='`$ttp.oper-status`' />\n<parameter name='inter-layer-lock-id' value='`$ttp.inter-layer-lock-id`' />\n<parameter name='switching-capability' value='`$ttp.switching-capability`' />\n<parameter name='protection-type' value='`$ttp.protection-type`' />\n<parameter name='encoding' value='`$ttp.encoding`' />\n\n\n\n\n\n\n",\r
+ "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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1678,\r
- "y": 331,\r
+ "x": 1627,\r
+ "y": 1055.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "11cb3cf8.02c3eb",\r
- "1a336806.ba4bc8"\r
+ "ee093e46.66c7d8",\r
+ "e9c7ad6a.1577f"\r
]\r
]\r
},\r
{\r
- "id": "8b0a557c.b35cd",\r
+ "id": "3a45511d.adcf26",\r
"type": "for",\r
"name": "for each tunnel termination point",\r
"xml": "<for index='ttidx' start='0' end='`$node.te.tunnel-termination-point_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1341,\r
- "y": 319,\r
+ "x": 1290,\r
+ "y": 1043.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "58c4d943.63d2f",\r
- "e7e93cd.8f563c",\r
- "c8e5472a.d10408",\r
- "7c00c858.c87ab8",\r
- "1bd07bf.99e9784"\r
+ "2ea4deaf.40bdfa",\r
+ "458ce581.77bfe4",\r
+ "7077dcc4.1aa314",\r
+ "dad1a90d.61b018",\r
+ "7da29c03.1dbdf4",\r
+ "58b65656.8480c8"\r
]\r
]\r
},\r
{\r
- "id": "58c4d943.63d2f",\r
+ "id": "2ea4deaf.40bdfa",\r
"type": "set",\r
"name": "set tunnel termination point",\r
"xml": "<set>\n<parameter name='ttp.' value='`$node.te.tunnel-termination-point[$ttidx].`' />\n",\r
"comments": "",\r
- "x": 1676,\r
- "y": 239,\r
+ "x": 1625,\r
+ "y": 963.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": []\r
},\r
{\r
- "id": "e7e93cd.8f563c",\r
+ "id": "458ce581.77bfe4",\r
"type": "set",\r
"name": "set unique-ttpId",\r
"xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-nodeId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n",\r
"comments": "",\r
- "x": 1634.888916015625,\r
- "y": 277.111083984375,\r
+ "x": 1583.888916015625,\r
+ "y": 1001.1175537109375,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": []\r
},\r
{\r
- "id": "11cb3cf8.02c3eb",\r
+ "id": "ee093e46.66c7d8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1944,\r
- "y": 317,\r
+ "x": 1893,\r
+ "y": 1041.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "9ad375c8.fab3e8"\r
+ "1b7d5a60.835d5e"\r
]\r
]\r
},\r
{\r
- "id": "1a336806.ba4bc8",\r
+ "id": "e9c7ad6a.1577f",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1937.6785888671875,\r
- "y": 369.21431159973145,\r
+ "x": 1886.6785888671875,\r
+ "y": 1093.220781326294,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "842e7e75.fc0558"\r
+ "652a4eb1.3c9f7"\r
]\r
]\r
},\r
{\r
- "id": "9ad375c8.fab3e8",\r
+ "id": "1b7d5a60.835d5e",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2094.500160217285,\r
- "y": 316.2539310455322,\r
+ "x": 2043.5001602172852,\r
+ "y": 1040.2604007720947,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "842e7e75.fc0558",\r
+ "id": "652a4eb1.3c9f7",\r
"type": "update",\r
"name": "update tunnel-termination-point",\r
- "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point' \n key='tunnel-termination-point.ttp-id = $unique-ttpId' >\n\n<parameter name='ttp-id' value='`$unique-ttpId`' />\n<parameter name='tunnel-tp-id' value='`$ttp.tunnel-tp-id`' />\n<parameter name='name' value='`$ttp.name`' />\n<parameter name='admin-status' value='`$ttp.admin-status`' />\n<parameter name='oper-status' value='`$ttp.oper-status`' />\n<parameter name='inter-layer-lock-id' value='`$ttp.inter-layer-lock-id`' />\n<parameter name='switching-capability' value='`$ttp.switching-capability`' />\n<parameter name='protection-type' value='`$ttp.protection-type`' />\n<parameter name='encoding' value='`$ttp.encoding`' />\n\n\n\n\n\n\n",\r
+ "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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2175,\r
- "y": 371,\r
+ "x": 2124,\r
+ "y": 1095.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "7257c53.4f087bc",\r
+ "id": "1acdca56.b6e67e",\r
"type": "set",\r
"name": "set local variables",\r
"xml": "<set>\n<parameter name='unique-nodeId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $node.node-id`\" />\n",\r
"comments": "",\r
- "x": 927,\r
- "y": 166,\r
+ "x": 923,\r
+ "y": 445.0065002441406,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": []\r
},\r
{\r
- "id": "55dde830.cc61b8",\r
+ "id": "1dca15d7.0a7a3a",\r
"type": "call",\r
"name": "call update-network-links-to-aai",\r
"xml": "<call module='DataChange' rpc='update-network-links-to-aai' mode='sync' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 611,\r
- "y": 329,\r
+ "x": 607,\r
+ "y": 608.0065002441406,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "b86a9ee9.558c2",\r
+ "id": "c87f71c.204801",\r
"type": "save",\r
"name": "save pnf-interface relationship to pnf in AAI",\r
"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",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1617,\r
- "y": 728,\r
+ "x": 1389,\r
+ "y": 1632.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "7c00c858.c87ab8",\r
+ "id": "dad1a90d.61b018",\r
"type": "save",\r
"name": "save pnf relationship to tunnel termination point in AAI",\r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $unique-nodeId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"`relationship-list.relationship[$ttidx].related-to`\" value=\"tunnel-termination-point\" />\n<!--<parameter name=\"relationship-list.relationship[$ttidx].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id + '/pnfs/pnf/' + $node.node-id '/tunnel-termination-points/tunnel-termination-point/' + $unique-ttpId`\" />-->\n<parameter name=\"`relationship-list.relationship[$ttidx].related-link`\" value=\"`'/network/tunnel-termination-points/tunnel-termination-point/' + $unique-ttpId`\" />\n<parameter name=\"`relationship-list.relationship[$ttidx].relationship-data[0].relationship-key`\" value=\"tunnel-termination-point.ttp-id\" />\n<parameter name=\"`relationship-list.relationship[$ttidx].relationship-data[0].relationship-value`\" value=\"`$unique-ttpId`\" />",\r
+ "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`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1749,\r
- "y": 423,\r
+ "x": 1698,\r
+ "y": 1147.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "5d32d079.32cfb8",\r
- "5c2d8774.9a9178"\r
+ "486bef2.804149",\r
+ "8297f8e3.32f2f"\r
]\r
]\r
},\r
{\r
- "id": "395bef40.08498",\r
+ "id": "3e1f14bc.ee90c4",\r
"type": "switchNode",\r
"name": "switch node ttp",\r
"xml": "<switch test='`$node.te.tunnel-termination-point_length`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 913,\r
- "y": 295,\r
+ "x": 862,\r
+ "y": 1019.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "84bf875e.b8d51",\r
- "cc6df2e.2398e9",\r
- "f2d2c388.1aa578"\r
+ "3564e5a8.68c49a",\r
+ "fd68b5a4.a3a878",\r
+ "f36d0950.312798"\r
]\r
]\r
},\r
{\r
- "id": "5889c4ed.3fc544",\r
+ "id": "d6240165.9d9a1",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1261,\r
- "y": 247,\r
+ "x": 1210,\r
+ "y": 971.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "f2d2c388.1aa578",\r
+ "id": "f36d0950.312798",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1103,\r
- "y": 318,\r
+ "x": 1057,\r
+ "y": 1054.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "8b0a557c.b35cd"\r
+ "3a45511d.adcf26"\r
]\r
]\r
},\r
{\r
- "id": "1392eb55.76adbd",\r
+ "id": "6de7541f.0e2a24",\r
"type": "switchNode",\r
"name": "switch node tp",\r
"xml": "<switch test='`$node.termination-point_length`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 893,\r
- "y": 550,\r
+ "x": 911,\r
+ "y": 569.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "c5e649ab.cfe2e8",\r
- "d7a3de29.b44a1",\r
- "a21fbfb7.b6608"\r
+ "d28496d2.5ae628",\r
+ "74698dba.4a5d9c",\r
+ "f51e137e.4b4cd"\r
]\r
]\r
},\r
{\r
- "id": "c5e649ab.cfe2e8",\r
+ "id": "d28496d2.5ae628",\r
"type": "other",\r
"name": "Null",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1072,\r
- "y": 502,\r
+ "x": 1090,\r
+ "y": 521.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "3d51c59d.7acffa"\r
+ "1912a08f.2e751f"\r
]\r
]\r
},\r
{\r
- "id": "d7a3de29.b44a1",\r
+ "id": "74698dba.4a5d9c",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1071,\r
- "y": 604,\r
+ "x": 1089,\r
+ "y": 623.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "9c15e41a.6cfbc8"\r
+ "3d4b777c.0e42f"\r
]\r
]\r
},\r
{\r
- "id": "3d51c59d.7acffa",\r
+ "id": "1912a08f.2e751f",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1227,\r
- "y": 502,\r
+ "x": 1245,\r
+ "y": 521.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "e55192de.2cc998",\r
+ "id": "8794be9f.289a08",\r
"type": "record",\r
"name": "log file",\r
"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 ",\r
"comments": "",\r
"outputs": 1,\r
- "x": 891,\r
- "y": 339,\r
+ "x": 840,\r
+ "y": 1063.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "84bf875e.b8d51",\r
+ "id": "3564e5a8.68c49a",\r
"type": "other",\r
"name": "Null",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1101,\r
- "y": 181,\r
+ "x": 1050,\r
+ "y": 905.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "5889c4ed.3fc544"\r
+ "d6240165.9d9a1"\r
]\r
]\r
},\r
{\r
- "id": "cc6df2e.2398e9",\r
+ "id": "fd68b5a4.a3a878",\r
"type": "outcome",\r
"name": "length 0",\r
"xml": "<outcome value='0'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1106,\r
- "y": 256,\r
+ "x": 1055,\r
+ "y": 980.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "5889c4ed.3fc544"\r
+ "d6240165.9d9a1"\r
]\r
]\r
},\r
{\r
- "id": "a21fbfb7.b6608",\r
+ "id": "f51e137e.4b4cd",\r
"type": "outcome",\r
"name": "length 0",\r
"xml": "<outcome value='0'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1082,\r
- "y": 550,\r
+ "x": 1100,\r
+ "y": 569.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "3d51c59d.7acffa"\r
+ "1912a08f.2e751f"\r
]\r
]\r
},\r
{\r
- "id": "a1ffb2f2.4b50b8",\r
+ "id": "1b6896a8.e62c19",\r
"type": "set",\r
"name": "unset node",\r
"xml": "<set>\n<parameter name='node.' value='' />\n\n",\r
"comments": "",\r
- "x": 899,\r
- "y": 68,\r
+ "x": 895,\r
+ "y": 347.0065002441406,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": []\r
},\r
{\r
- "id": "9abbad80.6c0f7",\r
+ "id": "64896027.57fb78",\r
"type": "set",\r
"name": "unset termination point",\r
"xml": "<set>\n<parameter name='tp.' value='' />\n",\r
"comments": "",\r
- "x": 1549,\r
- "y": 491,\r
+ "x": 1579,\r
+ "y": 519.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": []\r
},\r
{\r
- "id": "1bd07bf.99e9784",\r
+ "id": "7da29c03.1dbdf4",\r
"type": "set",\r
"name": "unset tunnel termination point",\r
"xml": "<set>\n<parameter name='ttp.' value='' />\n",\r
"comments": "",\r
- "x": 1676,\r
- "y": 191,\r
+ "x": 1625,\r
+ "y": 915.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": []\r
},\r
{\r
- "id": "5d32d079.32cfb8",\r
+ "id": "486bef2.804149",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2081,\r
- "y": 426,\r
+ "x": 2030,\r
+ "y": 1150.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "42b15971.2191b8"\r
+ "f859267c.20dd3"\r
]\r
]\r
},\r
{\r
- "id": "5c2d8774.9a9178",\r
+ "id": "8297f8e3.32f2f",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2078,\r
- "y": 474,\r
+ "x": 2027,\r
+ "y": 1198.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[\r
- "ad595c83.2160d"\r
+ "19a686f.52c17f9"\r
]\r
]\r
},\r
{\r
- "id": "42b15971.2191b8",\r
+ "id": "f859267c.20dd3",\r
"type": "record",\r
"name": "log file",\r
"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 ",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2236,\r
- "y": 427,\r
+ "x": 2185,\r
+ "y": 1151.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "ad595c83.2160d",\r
+ "id": "19a686f.52c17f9",\r
"type": "record",\r
"name": "log file",\r
"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 ",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2237,\r
- "y": 475,\r
+ "x": 2186,\r
+ "y": 1199.0064697265625,\r
"z": "6d6b8a1f.be1cb4",\r
"wires": [\r
[]\r
]\r
+ },\r
+ {\r
+ "id": "c991cb25.a4c41",\r
+ "type": "execute",\r
+ "name": "execute Base64 Converter",\r
+ "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 ",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2045,\r
+ "y": 688.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "dcbfdbac.4106e8",\r
+ "25f66573.5f2caa"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fe275075.949f1",\r
+ "type": "switchNode",\r
+ "name": "switch inter-domain-plug-id empty?",\r
+ "xml": "<switch test='`length($tp.te.inter-domain-plug-id) == 0`'>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1615,\r
+ "y": 689.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "2202ef19.0cb66",\r
+ "a44d5e08.8645a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a44d5e08.8645a8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1842,\r
+ "y": 642.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "77ac957f.8f7e64"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2202ef19.0cb66",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1843,\r
+ "y": 688.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "c991cb25.a4c41"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "77ac957f.8f7e64",\r
+ "type": "set",\r
+ "name": "unset tmp.decoded-plug-id",\r
+ "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='' />\n",\r
+ "comments": "",\r
+ "x": 2046,\r
+ "y": 642.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "dcbfdbac.4106e8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2250,\r
+ "y": 665.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "21836a86.63b72e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "25f66573.5f2caa",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2243.6785888671875,\r
+ "y": 717.220781326294,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "8297f536.6bb4a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "21836a86.63b72e",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2391,\r
+ "y": 665.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8297f536.6bb4a",\r
+ "type": "set",\r
+ "name": "unset tmp.decoded-plug-id",\r
+ "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='`$tp.te.inter-domain-plug-id`' />\n",\r
+ "comments": "",\r
+ "x": 2450,\r
+ "y": 717.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1c1d34a0.adaa8b",\r
+ "type": "set",\r
+ "name": "set tmp.network-if",\r
+ "xml": "<set>\n<parameter name='tmp.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-' + $tmp.original-network-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 675,\r
+ "y": 81.00650024414062,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4469da89.6a377c",\r
+ "type": "get-resource",\r
+ "name": "get-resource esr-thirdparty-sdnc",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 736,\r
+ "y": 220,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "259a6f10.d859c",\r
+ "2643a1bc.bc0f46",\r
+ "7a6e0ac1.83425c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "259a6f10.d859c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 982,\r
+ "y": 180,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "83c13ac.c0250c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2643a1bc.bc0f46",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 986,\r
+ "y": 220,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "7add65bd.d43c1c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7a6e0ac1.83425c",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 978,\r
+ "y": 260,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "a3451a06.01294"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7add65bd.d43c1c",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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",\r
+ "comments": "",\r
+ "x": 1136,\r
+ "y": 220,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a3451a06.01294",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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",\r
+ "comments": "",\r
+ "x": 1136,\r
+ "y": 260,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "83c13ac.c0250c8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1126,\r
+ "y": 178,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "70f6d2fc.749b0c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "70f6d2fc.749b0c",\r
+ "type": "save",\r
+ "name": "save network-resource relationship to esr-thirdparty-sdnc",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1429,\r
+ "y": 179,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "58b65656.8480c8",\r
+ "type": "switchNode",\r
+ "name": "switch llcl length",\r
+ "xml": "<switch test='`$node.te.tunnel-termination-point[$ttidx].local-link-connectivities.local-link-connectivity_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1559,\r
+ "y": 1319,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "cf6621ae.60449",\r
+ "a969fa1e.a9262",\r
+ "31cb7972.09206e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cf6621ae.60449",\r
+ "type": "other",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1747,\r
+ "y": 1205,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "95b8f366.2c9b38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a969fa1e.a9262",\r
+ "type": "outcome",\r
+ "name": "length 0",\r
+ "xml": "<outcome value='0'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1752,\r
+ "y": 1280,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "95b8f366.2c9b38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "31cb7972.09206e",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1754,\r
+ "y": 1354,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "df66f384.e71e78"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "95b8f366.2c9b38",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1907,\r
+ "y": 1271,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ba6a5053.fa9158",\r
+ "type": "save",\r
+ "name": "save ttp relationship to tp in AAI",\r
+ "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`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2135,\r
+ "y": 1357,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f20766b0.56af",\r
+ "type": "set",\r
+ "name": "set unique-ltpId second",\r
+ "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",\r
+ "comments": "",\r
+ "x": 2084,\r
+ "y": 1313,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "df66f384.e71e78",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1894,\r
+ "y": 1350,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "f20766b0.56af",\r
+ "ba6a5053.fa9158"\r
+ ]\r
+ ]\r
}\r
]
\ No newline at end of file