summaryrefslogtreecommitdiffstats
path: root/platform-logic/datachange/src/main/json
diff options
context:
space:
mode:
authorprakash.e <prakash.e@huawei.com>2018-08-27 17:48:24 +0530
committerprakash eswaramoorthy <prakash.e@huawei.com>2018-08-27 12:22:43 +0000
commite14a7ecc352d842413391a574dce5c1d9bfe7d09 (patch)
treee2ae7551db3e62fb764cc33b27180efcda0373f6 /platform-logic/datachange/src/main/json
parent724551253283f7869d50a671e07d70004e46089f (diff)
SDWAN sdnc DGs aai resource changes
SDWAN configuration save in aai resource-name changes are updated in SDWAN DGs Change-Id: I9097f205751af47b5db8f228142f27786e9d190d Issue-ID: SDNC-357 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: fad8ff4f0b3660a5c1dd4b7abdb5ac5b95c8fec2
Diffstat (limited to 'platform-logic/datachange/src/main/json')
-rw-r--r--platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json162
1 files changed, 81 insertions, 81 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 6b630e54..c1cf62db 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": "75e675fb.618e5c",
+ "id": "20435d2f.b707b2",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 135.00390625,
- "y": 77.00390625,
- "z": "3dcb52b5.f95fbe",
+ "x": 129.01040649414062,
+ "y": 61.010414123535156,
+ "z": "3e15e6f8.d8900a",
"wires": [
[
- "7fa0e5e0.b33c5c"
+ "83ca6f8e.538a2"
]
]
},
{
- "id": "7fa0e5e0.b33c5c",
+ "id": "83ca6f8e.538a2",
"type": "service-logic",
"name": "DataChange ${project.version}",
"module": "DataChange",
@@ -22,218 +22,218 @@
"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": 224.00393676757812,
- "y": 167.89281845092773,
- "z": "3dcb52b5.f95fbe",
+ "x": 218.01043701171875,
+ "y": 151.8993263244629,
+ "z": "3e15e6f8.d8900a",
"wires": [
[
- "d74cb25a.e2de3"
+ "5fa2f1f3.bb35e"
]
]
},
{
- "id": "d74cb25a.e2de3",
+ "id": "5fa2f1f3.bb35e",
"type": "method",
"name": "method update-network-to-aai",
"xml": "<method rpc='update-network-to-aai' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 260.1151580810547,
- "y": 238.22614288330078,
- "z": "3dcb52b5.f95fbe",
+ "x": 254.1216583251953,
+ "y": 222.23265075683594,
+ "z": "3e15e6f8.d8900a",
"wires": [
[
- "a101ac8e.c59f1"
+ "44238134.7d97f"
]
]
},
{
- "id": "a101ac8e.c59f1",
+ "id": "44238134.7d97f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 485.33734130859375,
- "y": 237.78182983398438,
- "z": "3dcb52b5.f95fbe",
+ "x": 479.3438415527344,
+ "y": 221.78833770751953,
+ "z": "3e15e6f8.d8900a",
"wires": [
[
- "d5314164.19147",
- "1d637de0.aa2f02",
- "b183cf6c.88416"
+ "84458cb3.2004e",
+ "282c5771.31f2f8",
+ "c27c36c9.fe0038"
]
]
},
{
- "id": "1d637de0.aa2f02",
+ "id": "282c5771.31f2f8",
"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",
"comments": "",
"outputs": 1,
- "x": 715.337158203125,
- "y": 143.00392150878906,
- "z": "3dcb52b5.f95fbe",
+ "x": 709.3436584472656,
+ "y": 127.01042938232422,
+ "z": "3e15e6f8.d8900a",
"wires": [
[]
]
},
{
- "id": "8399fa0a.e7e2c8",
+ "id": "8db597cb.e2ef58",
"type": "update",
"name": "save pnf",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf' \n key='network-resource.network-id = $tmp.network-id\n AND 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",
"comments": "",
"outputs": 1,
- "x": 905.1150512695312,
- "y": 195.11500549316406,
- "z": "3dcb52b5.f95fbe",
+ "x": 899.1215515136719,
+ "y": 179.12151336669922,
+ "z": "3e15e6f8.d8900a",
"wires": [
[]
]
},
{
- "id": "b183cf6c.88416",
+ "id": "c27c36c9.fe0038",
"type": "for",
"name": "for each node",
"xml": "<for index='pidx' start='0' end='`$network.node_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 691.8927612304688,
- "y": 187.33721923828125,
- "z": "3dcb52b5.f95fbe",
+ "x": 685.8992614746094,
+ "y": 171.3437271118164,
+ "z": "3e15e6f8.d8900a",
"wires": [
[
- "8399fa0a.e7e2c8",
- "a42bad10.3ef0b",
- "21ad025b.8c4fee",
- "9a109c49.5a457",
- "4710678b.b2f898"
+ "8db597cb.e2ef58",
+ "6b246a86.7d22b4",
+ "79357b97.6a6604",
+ "629488d9.a436f8",
+ "89ed3af1.c4f958"
]
]
},
{
- "id": "a42bad10.3ef0b",
+ "id": "6b246a86.7d22b4",
"type": "set",
"name": "set network",
"xml": "<set>\n<parameter name='node.' value='`$network.node[$pidx].`' />\n",
"comments": "",
- "x": 912.114990234375,
- "y": 161.2261199951172,
- "z": "3dcb52b5.f95fbe",
+ "x": 906.1214904785156,
+ "y": 145.23262786865234,
+ "z": "3e15e6f8.d8900a",
"wires": []
},
{
- "id": "21ad025b.8c4fee",
+ "id": "79357b97.6a6604",
"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`\" />",
"comments": "",
"outputs": 1,
- "x": 1023.7819213867188,
- "y": 228.44839477539062,
- "z": "3dcb52b5.f95fbe",
+ "x": 1017.7884216308594,
+ "y": 212.45490264892578,
+ "z": "3e15e6f8.d8900a",
"wires": [
[]
]
},
{
- "id": "4710678b.b2f898",
+ "id": "89ed3af1.c4f958",
"type": "for",
"name": "for each termination point",
"xml": "<for index='tidx' start='0' end='`$node.termination-point_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 956.4483642578125,
- "y": 344.114990234375,
- "z": "3dcb52b5.f95fbe",
+ "x": 950.4548645019531,
+ "y": 328.12149810791016,
+ "z": "3e15e6f8.d8900a",
"wires": [
[
- "7bcb0931.538d48",
- "56653317.e67e9c",
- "5da0d24d.9b201c",
- "2065ea1d.9bce86"
+ "6bc546b5.f87e18",
+ "8d1a709c.fbdf6",
+ "ad4de444.eb7858",
+ "bd80da47.090a88"
]
]
},
{
- "id": "7bcb0931.538d48",
+ "id": "6bc546b5.f87e18",
"type": "set",
"name": "set termination point",
"xml": "<set>\n<parameter name='tp.' value='`$node.termination-point[$tidx].`' />\n",
"comments": "",
- "x": 1223.115234375,
- "y": 305.0039520263672,
- "z": "3dcb52b5.f95fbe",
+ "x": 1217.1217346191406,
+ "y": 289.01045989990234,
+ "z": "3e15e6f8.d8900a",
"wires": []
},
{
- "id": "2065ea1d.9bce86",
+ "id": "bd80da47.090a88",
"type": "update",
"name": "save p-interface",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='network-resource.network-id = $tmp.network-id\n AND pnf.pnf-name = $node.node-id\n AND p-interface.interface-name = $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='network-resource.network-id = $tmp.network-id\n AND 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",
"comments": "",
"outputs": 1,
- "x": 1206.8189697265625,
- "y": 373.55950927734375,
- "z": "3dcb52b5.f95fbe",
+ "x": 1200.8254699707031,
+ "y": 357.5660171508789,
+ "z": "3e15e6f8.d8900a",
"wires": [
[]
]
},
{
- "id": "56653317.e67e9c",
+ "id": "8d1a709c.fbdf6",
"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`\" />",
"comments": "",
"outputs": 1,
- "x": 1284.707763671875,
- "y": 411.3372497558594,
- "z": "3dcb52b5.f95fbe",
+ "x": 1278.7142639160156,
+ "y": 395.34375762939453,
+ "z": "3e15e6f8.d8900a",
"wires": [
[]
]
},
{
- "id": "5da0d24d.9b201c",
+ "id": "ad4de444.eb7858",
"type": "set",
"name": "set unique-ltpId",
"xml": "<set>\n<parameter name='unique-ltpId' value=\"`'nodeId-' + $node.node-id + '-ltpId-' + $tp.te-tp-id`\" />\n",
"comments": "",
- "x": 1207.004150390625,
- "y": 339.1150207519531,
- "z": "3dcb52b5.f95fbe",
+ "x": 1201.0106506347656,
+ "y": 323.1215286254883,
+ "z": "3e15e6f8.d8900a",
"wires": []
},
{
- "id": "d5314164.19147",
+ "id": "84458cb3.2004e",
"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": 664.9974365234375,
- "y": 103.99739837646484,
- "z": "3dcb52b5.f95fbe",
+ "x": 659.0039367675781,
+ "y": 88.00390625,
+ "z": "3e15e6f8.d8900a",
"wires": [
[]
]
},
{
- "id": "9a109c49.5a457",
+ "id": "629488d9.a436f8",
"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/network-resources/network-resource/' + $tmp.network-id + '/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": 1005.00390625,
- "y": 264.9974060058594,
- "z": "3dcb52b5.f95fbe",
+ "x": 999.0104064941406,
+ "y": 249.00391387939453,
+ "z": "3e15e6f8.d8900a",
"wires": [
[]
]
}
-] \ No newline at end of file
+]