diff options
Diffstat (limited to 'platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json')
-rw-r--r-- | platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json | 392 |
1 files changed, 284 insertions, 108 deletions
diff --git a/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json b/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json index f82168b9..7f980627 100644 --- a/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json +++ b/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json @@ -1,20 +1,20 @@ [ { - "id": "4d48ad52.66bce4", + "id": "e71bc70e.124d38", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 116, - "y": 72, - "z": "972d7ac.f66db88", + "x": 142, + "y": 49, + "z": "a2160ede.50a7f8", "wires": [ [ - "66f854f4.bc80cc" + "f849e1fd.7b8e28" ] ] }, { - "id": "66f854f4.bc80cc", + "id": "f849e1fd.7b8e28", "type": "service-logic", "name": "DataChange ${project.version}", "module": "DataChange", @@ -22,281 +22,457 @@ "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": 205.00003051757812, - "y": 162.88891220092773, - "z": "972d7ac.f66db88", + "x": 231.00003051757812, + "y": 139.88891220092773, + "z": "a2160ede.50a7f8", "wires": [ [ - "7eee0fcc.e1d78" + "7adf111d.766db8" ] ] }, { - "id": "7eee0fcc.e1d78", + "id": "7adf111d.766db8", "type": "method", "name": "method update-network-to-aai", "xml": "<method rpc='update-network-to-aai' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 241.1112518310547, - "y": 233.22223663330078, - "z": "972d7ac.f66db88", + "x": 267.1112518310547, + "y": 210.22223663330078, + "z": "a2160ede.50a7f8", "wires": [ [ - "dd17da81.f85678" + "802b5752.247908" ] ] }, { - "id": "dd17da81.f85678", + "id": "802b5752.247908", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 466.33343505859375, - "y": 232.77792358398438, - "z": "972d7ac.f66db88", + "x": 492.33343505859375, + "y": 209.77792358398438, + "z": "a2160ede.50a7f8", "wires": [ [ - "c70a984d.cc2a48", - "5cf53006.e1ea9", - "a9f8a08c.a159f" + "32d96ea8.386a82", + "7667af77.0df1e8", + "6f623dd3.9a7c44", + "ffd24e55.e4afa" ] ] }, { - "id": "5cf53006.e1ea9", + "id": "7667af77.0df1e8", "type": "update", "name": "save network-resource", - "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='network-resource' \n key='network-resource.network-id = $tmp.network-id' >\n<parameter name='network-id' value='`$tmp.network-id`' />\n<parameter name='client-id' value='`$network.client-id`' />\n<parameter name='te-topo-id' value='`$network.te-topology-id`' />\n<parameter name='provider-id' value='`$network.provider-id`' />\n\n\n", + "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='network-resource' \n key='network-resource.network-id = $tmp.network-id' >\n<parameter name='network-id' value='`$tmp.network-id`' />\n<parameter name='client-id' value='`$network.client-id`' />\n<parameter name='te-topo-id' value='`$network.te-topology-id`' />\n<parameter name='provider-id' value='`$network.provider-id`' />\n\n<parameter name='network-type' value='`$network.network-types`' />\n\n\n", "comments": "", "outputs": 1, - "x": 696.333251953125, - "y": 138.00001525878906, - "z": "972d7ac.f66db88", + "x": 722.333251953125, + "y": 115.00001525878906, + "z": "a2160ede.50a7f8", "wires": [ [] ] }, { - "id": "bc0b4672.53b908", + "id": "ab67cffd.8b31", "type": "update", "name": "save pnf", - "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n key='pnf.pnf-name = $node.node-id' >\n<parameter name='pnf-name' value='`$node.node-id`' />\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", + "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n key='pnf.pnf-name = $unique-nodeId' >\n<parameter name='pnf-name' value='`$unique-nodeId`' />\n<parameter name='pnf-id' value='`$node.node-id`' />\n<parameter name='operational-status' value='`$node.te.oper-status`' />\n<parameter name='admin-status' value='`$node.te.te-node-attributes.admin-status`' />\n<parameter name='in-maint' value='true' />\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 879.111141204834, - "y": 191.111102104187, - "z": "972d7ac.f66db88", + "x": 934.1111450195312, + "y": 205.111083984375, + "z": "a2160ede.50a7f8", "wires": [ [] ] }, { - "id": "a9f8a08c.a159f", + "id": "6f623dd3.9a7c44", "type": "for", "name": "for each node", "xml": "<for index='pidx' start='0' end='`$network.node_length`' >\n", "comments": "", "outputs": 1, - "x": 679.8888549804688, - "y": 208.33331298828125, - "z": "972d7ac.f66db88", + "x": 705.8888549804688, + "y": 185.33331298828125, + "z": "a2160ede.50a7f8", "wires": [ [ - "bc0b4672.53b908", - "6b3704fc.0bd35c", - "24e04af5.ddea66", - "9b1ff78d.8b3c08", - "8e9342c1.220f" + "ab67cffd.8b31", + "c4083363.2a3b2", + "ba78539e.d2e248", + "c02a5c85.3b448", + "499b8cbc.ebafac", + "7a876b8.f89b114", + "46013f8c.54849" ] ] }, { - "id": "6b3704fc.0bd35c", + "id": "c4083363.2a3b2", "type": "set", "name": "set network", - "xml": "<set>\n<parameter name='node.' value='`$network.node[$pidx].`' />\n", + "xml": "<set>\n<parameter name='node.' value='`$network.node[$pidx].`' />\n\n<parameter name='unique-networkId' value='`$tmp.network-id`' />\n<parameter name='unique-nodeId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $node.node-id`\" />\n<parameter name='src-tpId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $link.source.source-node + '-ltpId-' + $link.source.source-tp`\" />\n", "comments": "", - "x": 893.111083984375, - "y": 156.2222137451172, - "z": "972d7ac.f66db88", + "x": 950.111083984375, + "y": 133.2222137451172, + "z": "a2160ede.50a7f8", "wires": [] }, { - "id": "9b1ff78d.8b3c08", + "id": "c02a5c85.3b448", "type": "save", "name": "save pnf relationship to network-resource in AAI", - "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $node.node-id' 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`\" />", + "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $unique-nodeId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"network-resource\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"network-resource.network-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.network-id`\" />", "comments": "", "outputs": 1, - "x": 1004.7779541015625, - "y": 223.44447803497314, - "z": "972d7ac.f66db88", + "x": 1030.7779541015625, + "y": 380.44447803497314, + "z": "a2160ede.50a7f8", "wires": [ [] ] }, { - "id": "8e9342c1.220f", + "id": "499b8cbc.ebafac", "type": "for", "name": "for each termination point", "xml": "<for index='tidx' start='0' end='`$node.termination-point_length`' >\n", "comments": "", "outputs": 1, - "x": 937.4444580078125, - "y": 339.111083984375, - "z": "972d7ac.f66db88", + "x": 963.4444580078125, + "y": 496.111083984375, + "z": "a2160ede.50a7f8", "wires": [ [ - "7c32bd23.da1e04", - "38ff90b0.67e0b", - "36dd756f.9a425a" + "c5951e15.43701", + "c670da77.075458", + "3831ed03.d1f9da", + "f6959b19.b0bc18" ] ] }, { - "id": "7c32bd23.da1e04", + "id": "c5951e15.43701", "type": "set", "name": "set termination point", "xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n", "comments": "", - "x": 1204.111328125, - "y": 300.0000457763672, - "z": "972d7ac.f66db88", + "x": 1230.111328125, + "y": 457.0000457763672, + "z": "a2160ede.50a7f8", "wires": [] }, { - "id": "36dd756f.9a425a", + "id": "3831ed03.d1f9da", "type": "update", "name": "save p-interface", - "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $node.node-id\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", + "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", "comments": "", "outputs": 1, - "x": 1187.8151397705078, - "y": 473.5555934906006, - "z": "972d7ac.f66db88", + "x": 1213.8151397705078, + "y": 630.5555934906006, + "z": "a2160ede.50a7f8", "wires": [ [ - "310a666a.23204a", - "52308d76.244944" + "9d09dea6.d30ca8", + "abd50ee3.2f813" ] ] }, { - "id": "9b33d7c5.abef78", + "id": "7e259f3c.438d9", "type": "save", "name": "save pnf relationship to p-interface in AAI", - "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $node.node-id' 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/' + $node.node-id '/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`\" />", + "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $unique-nodeId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id + '/pnfs/pnf/' + $unique-nodeId '/p-interfaces/p-interface/' + $unique-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-ltpId`\" />", "comments": "", "outputs": 1, - "x": 1263.7038879394531, - "y": 562.333345413208, - "z": "972d7ac.f66db88", + "x": 1297.703857421875, + "y": 765.3333740234375, + "z": "a2160ede.50a7f8", "wires": [ [] ] }, { - "id": "38ff90b0.67e0b", + "id": "c670da77.075458", "type": "set", "name": "set unique-ltpId", - "xml": "<set>\n<parameter name='unique-ltpId' value=\"`'nodeId-' + $node.node-id + '-ltpId-' + $tp.te-tp-id`\" />\n", + "xml": "<set>\n<parameter name='unique-ltpId' value=\"`$unique-nodeId + '-ltpId-' + $tp.te-tp-id`\" />\n", "comments": "", - "x": 1188.000244140625, - "y": 334.1111145019531, - "z": "972d7ac.f66db88", + "x": 1214.000244140625, + "y": 491.1111145019531, + "z": "a2160ede.50a7f8", "wires": [] }, { - "id": "c70a984d.cc2a48", + "id": "32d96ea8.386a82", "type": "execute", "name": "execute", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$network.network-id`\"/>\n <parameter name=\"outputPath\" value=\"tmp.network-id\"/>\n <parameter name=\"target\" value=\"/\"/>\n <parameter name=\"replacement\" value=\"-\"/>\n ", "comments": "", "outputs": 1, - "x": 645.9935302734375, - "y": 98.99349212646484, - "z": "972d7ac.f66db88", + "x": 671.9935302734375, + "y": 75.99349212646484, + "z": "a2160ede.50a7f8", "wires": [ [] ] }, { - "id": "24e04af5.ddea66", + "id": "ba78539e.d2e248", "type": "save", "name": "save pnf relation with esr-thirdparty-sdnc", "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='esr-thirdparty-sdnc:relationship-list' \n key='esr-thirdparty-sdnc.thirdparty-sdnc-id = $prop.sdncRestApi.thirdpartySdnc.id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $node.node-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$node.node-id`\" />\n", "comments": "", "outputs": 1, - "x": 986, - "y": 259.9934997558594, - "z": "972d7ac.f66db88", + "x": 1012, + "y": 416.9934997558594, + "z": "a2160ede.50a7f8", "wires": [ [] ] }, { - "id": "310a666a.23204a", + "id": "9d09dea6.d30ca8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1359.4998397827148, - "y": 460.7460689544678, - "z": "972d7ac.f66db88", + "x": 1385.4998397827148, + "y": 617.7460689544678, + "z": "a2160ede.50a7f8", "wires": [ [ - "fcc0153a.edfd18" + "3d744c93.2eb20c" ] ] }, { - "id": "52308d76.244944", + "id": "abd50ee3.2f813", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1353.1784286499023, - "y": 512.9603805541992, - "z": "972d7ac.f66db88", + "x": 1379.1784286499023, + "y": 669.9603805541992, + "z": "a2160ede.50a7f8", "wires": [ [ - "1c6a1f1f.8e0f61" + "a0fb6003.0efd8" ] ] }, { - "id": "fcc0153a.edfd18", + "id": "3d744c93.2eb20c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1510, - "y": 460, - "z": "972d7ac.f66db88", + "x": 1536, + "y": 617, + "z": "a2160ede.50a7f8", "wires": [ [] ] }, { - "id": "1c6a1f1f.8e0f61", + "id": "a0fb6003.0efd8", "type": "update", - "name": "save p-interface", - "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $node.node-id\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", + "name": "update p-interface", + "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $node.node-id\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", + "comments": "", + "outputs": 1, + "x": 1556, + "y": 667, + "z": "a2160ede.50a7f8", + "wires": [ + [] + ] + }, + { + "id": "aa9ed7c5.9f2be8", + "type": "update", + "name": "save tunnel-termination-point", + "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point' \n key='pnf.pnf-name = $unique-nodeId\n AND tunnel-termination-point.ttp-id = $unique-ttpId' >\n\n<parameter name='ttp-id' value='`$unique-ttpId`' />\n<parameter name='tunnel-tp-id' value='`$ttp.tunnel-tp-id`' />\n<parameter name='name' value='`$ttp.name`' />\n<parameter name='admin-status' value='`$ttp.admin-status`' />\n<parameter name='oper-status' value='`$ttp.oper-status`' />\n<parameter name='inter-layer-lock-id' value='`$ttp.inter-layer-lock-id`' />\n<parameter name='switching-capability' value='`$ttp.switching-capability`' />\n<parameter name='protection-type' value='`$ttp.protection-type`' />\n<parameter name='encoding' value='`$ttp.encoding`' />\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1423, + "y": 205, + "z": "a2160ede.50a7f8", + "wires": [ + [ + "54fe71d8.edb1c", + "6cd48f92.21a288" + ] + ] + }, + { + "id": "7a876b8.f89b114", + "type": "for", + "name": "for each tunnel termination point", + "xml": "<for index='ttidx' start='0' end='`$node.te.tunnel-termination-point_length`' >\n", + "comments": "", + "outputs": 1, + "x": 1038, + "y": 281, + "z": "a2160ede.50a7f8", + "wires": [ + [ + "79913f13.5b1fa", + "4552b8b5.e9ba2", + "aa9ed7c5.9f2be8", + "e23bdb7f.fdc9c" + ] + ] + }, + { + "id": "79913f13.5b1fa", + "type": "set", + "name": "set tunnel termination point", + "xml": "<set>\n<parameter name='ttp.' value='`$node.te.tunnel-termination-point[$ttidx].`' />\n", + "comments": "", + "x": 1393, + "y": 114, + "z": "a2160ede.50a7f8", + "wires": [] + }, + { + "id": "4552b8b5.e9ba2", + "type": "set", + "name": "set unique-ttpId", + "xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-nodeId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n", + "comments": "", + "x": 1370.888916015625, + "y": 151.111083984375, + "z": "a2160ede.50a7f8", + "wires": [] + }, + { + "id": "54fe71d8.edb1c", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1680, + "y": 191, + "z": "a2160ede.50a7f8", + "wires": [ + [ + "42f8b4e.c7b524c" + ] + ] + }, + { + "id": "6cd48f92.21a288", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1673.6785888671875, + "y": 243.21431159973145, + "z": "a2160ede.50a7f8", + "wires": [ + [ + "5f719388.c96efc" + ] + ] + }, + { + "id": "42f8b4e.c7b524c", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1830.5001602172852, + "y": 190.25393104553223, + "z": "a2160ede.50a7f8", + "wires": [ + [] + ] + }, + { + "id": "5f719388.c96efc", + "type": "update", + "name": "update tunnel-termination-point", + "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point' \n key='pnf.pnf-name = $node.node-id\n AND tunnel-termination-point.ttp-id = $unique-ttpId' >\n\n<parameter name='tunnel-tp-id' value='`$ttp.tunnel-tp-id`' />\n<parameter name='name' value='`$ttp.name`' />\n<parameter name='admin-status' value='`$ttp.admin-status`' />\n<parameter name='oper-status' value='`$ttp.oper-status`' />\n<parameter name='inter-layer-lock-id' value='`$ttp.inter-layer-lock-id`' />\n<parameter name='switching-capability' value='`$ttp.switching-capability`' />\n<parameter name='protection-type' value='`$ttp.protection-type`' />\n<parameter name='encoding' value='`$ttp.encoding`' />\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1911, + "y": 245, + "z": "a2160ede.50a7f8", + "wires": [ + [] + ] + }, + { + "id": "46013f8c.54849", + "type": "set", + "name": "set local variables", + "xml": "<set>\n<parameter name='unique-networkId' value='`$tmp.network-id`' />\n<parameter name='unique-nodeId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $node.node-id`\" />\n", + "comments": "", + "x": 969, + "y": 167, + "z": "a2160ede.50a7f8", + "wires": [] + }, + { + "id": "ffd24e55.e4afa", + "type": "call", + "name": "call update-network-links-to-aai", + "xml": "<call module='DataChange' rpc='update-network-links-to-aai' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 648, + "y": 311, + "z": "a2160ede.50a7f8", + "wires": [ + [] + ] + }, + { + "id": "f6959b19.b0bc18", + "type": "save", + "name": "save pnf-interface relationship to pnf in AAI", + "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface:relationship-list' \n key='pnf.pnf-name = $unique-nodeId\n AND p-interface.interface-name = $unique-ltpId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $unique-nodeId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-nodeId`\" />\n", + "comments": "", + "outputs": 1, + "x": 1300, + "y": 724, + "z": "a2160ede.50a7f8", + "wires": [ + [] + ] + }, + { + "id": "e23bdb7f.fdc9c", + "type": "save", + "name": "save pnf relationship to tunnel termination point in AAI", + "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $unique-nodeId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[$ttidx].related-to\" value=\"tunnel-termination-point\" />\n<parameter name=\"relationship-list.relationship[$ttidx].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id + '/pnfs/pnf/' + $node.node-id '/tunnel-termination-points/tunnel-termination-point/' + $unique-ttpId`\" />\n<parameter name=\"relationship-list.relationship[$ttidx].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`\" />", "comments": "", "outputs": 1, - "x": 1530, - "y": 510, - "z": "972d7ac.f66db88", + "x": 1485, + "y": 297, + "z": "a2160ede.50a7f8", "wires": [ [] ] } -] +]
\ No newline at end of file |