diff options
Diffstat (limited to 'platform-logic/datachange/src/main')
-rw-r--r-- | platform-logic/datachange/src/main/json/DataChange_tapi-update-network-to-aai.json | 1458 | ||||
-rw-r--r-- | platform-logic/datachange/src/main/xml/DataChange_tapi-update-network-to-aai.xml | 247 |
2 files changed, 1026 insertions, 679 deletions
diff --git a/platform-logic/datachange/src/main/json/DataChange_tapi-update-network-to-aai.json b/platform-logic/datachange/src/main/json/DataChange_tapi-update-network-to-aai.json index ad93223d..98022801 100644 --- a/platform-logic/datachange/src/main/json/DataChange_tapi-update-network-to-aai.json +++ b/platform-logic/datachange/src/main/json/DataChange_tapi-update-network-to-aai.json @@ -1,6 +1,6 @@ [
{
- "id": "dd0d634e.2a2c2",
+ "id": "a7edec3b.144df8",
"type": "service-logic",
"name": "DataChange ${project.version}",
"module": "DataChange",
@@ -8,2021 +8,2121 @@ "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": 335,
- "y": 65.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 324,
+ "y": 54.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "1cbc4994.bb76be"
+ "8dc332cb.90cd4"
]
]
},
{
- "id": "1cbc4994.bb76be",
+ "id": "8dc332cb.90cd4",
"type": "method",
"name": "method tapi-update-network-to-aai",
"xml": "<method rpc='tapi-update-network-to-aai' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 149,
- "y": 123.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 138,
+ "y": 112.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "94d58717.09f498"
+ "ebb05589.2bd32"
]
]
},
{
- "id": "94d58717.09f498",
+ "id": "ebb05589.2bd32",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 373,
- "y": 168.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 362,
+ "y": 157.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "9ab8c0cf.e6f98",
- "e690bc57.ec78a",
- "35fef5d3.ca4d02",
- "e0fab15a.f10c18",
- "60d36464.813cfc",
- "4f3ea1d6.c426d",
- "de75f383.c32b18"
+ "b7ce40.d2c1e1c",
+ "d796afca.e4e3e",
+ "b51e26cd.d9ef08",
+ "3e929576.d98cfa",
+ "90c5e93d.155c88",
+ "2c557c83.4496a4",
+ "dab171d1.a299c8"
]
]
},
{
- "id": "7a504318.e0fe94",
+ "id": "c208ca63.75b4c",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 84,
- "y": 66.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 73,
+ "y": 55.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "dd0d634e.2a2c2"
+ "a7edec3b.144df8"
]
]
},
{
- "id": "60d36464.813cfc",
+ "id": "90c5e93d.155c88",
"type": "set",
"name": "set network-id",
"xml": "<set>\n<parameter name='tmp.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-TAPI-' + $topology.uuid`\" />\n\n\n\n\n\n\n\n\n\n",
"comments": "",
- "x": 644.5,
- "y": 76.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 633.5,
+ "y": 65.75,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "9ab8c0cf.e6f98",
+ "id": "b7ce40.d2c1e1c",
"type": "save",
"name": "save network-resource in AAI",
"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`' />",
"comments": "",
"outputs": 1,
- "x": 658.5,
- "y": 177.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 647.5,
+ "y": 166.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "e690bc57.ec78a",
+ "id": "d796afca.e4e3e",
"type": "save",
"name": "save network-resource 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=\"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": 726.5,
- "y": 222.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 715.5,
+ "y": 211.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "35fef5d3.ca4d02",
+ "id": "b51e26cd.d9ef08",
"type": "for",
"name": "for each node",
"xml": "<for index='nidx' start='0' end='`$topology.node_length`' >",
"comments": "",
"outputs": 1,
- "x": 517.5,
- "y": 379.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 506.5,
+ "y": 368.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "3c67cc6c.cfe42c",
- "9229822e.14f158",
- "6b1527e8.25be7"
+ "d55f5e70.6b2e18",
+ "49363ce8.54acd4",
+ "5e457770.0870e"
]
]
},
{
- "id": "3c67cc6c.cfe42c",
+ "id": "d55f5e70.6b2e18",
"type": "set",
"name": "set node",
"xml": "<set>\n<parameter name='node.' value='`$topology.node[$nidx].`' />\n",
"comments": "",
- "x": 740.5,
- "y": 301.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 729.5,
+ "y": 290.75,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "9229822e.14f158",
+ "id": "49363ce8.54acd4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 736.5,
- "y": 353.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 725.5,
+ "y": 342.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "7815b3bd.d57894"
+ "6da2f5a8.f434e4"
]
]
},
{
- "id": "705eebcd.82fa04",
+ "id": "bc68d1e8.e31198",
"type": "switchNode",
"name": "switch name_length",
"xml": "<switch test='`$node.name_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1180.5,
- "y": 350.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1169.5,
+ "y": 339.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "e6f8e410.73b858",
- "4d0546eb.27bdd8"
+ "f575aab7.6099c",
+ "2d59b1fc.76172e"
]
]
},
{
- "id": "e6f8e410.73b858",
+ "id": "f575aab7.6099c",
"type": "outcomeTrue",
"name": "NULL Do nothing",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1445.5,
- "y": 314.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1434.5,
+ "y": 303.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "4d0546eb.27bdd8",
+ "id": "2d59b1fc.76172e",
"type": "outcomeTrue",
"name": "Other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1404.5,
- "y": 436.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1393.5,
+ "y": 425.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "6dad649c.dedce4"
+ "d3f6f79b.751d78"
]
]
},
{
- "id": "6dad649c.dedce4",
+ "id": "d3f6f79b.751d78",
"type": "for",
"name": "for each name ",
"xml": "<for index='na-idx' start='0' end='`$node.name_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1618.5,
- "y": 439.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1607.5,
+ "y": 428.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "cfe7c49.701eab8"
+ "a71237dd.0b0ae"
]
]
},
{
- "id": "cfe7c49.701eab8",
+ "id": "a71237dd.0b0ae",
"type": "switchNode",
"name": "switch name-value = name",
"xml": "<switch test=\"`$node.name[$na-idx].value-name == 'name'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1528.5,
- "y": 501.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1517.5,
+ "y": 490.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "72453289.f9940c"
+ "24cf65bf.b03702"
]
]
},
{
- "id": "72453289.f9940c",
+ "id": "24cf65bf.b03702",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1734.5,
- "y": 498.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1723.5,
+ "y": 487.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "98c4c13b.021d4"
+ "8acf18f5.f72c2"
]
]
},
{
- "id": "98c4c13b.021d4",
+ "id": "8acf18f5.f72c2",
"type": "set",
"name": "set node-name",
"xml": "<set>\n<parameter name='node-name' value=\"`$node.name[$na-idx].value`\"/>\n",
"comments": "",
- "x": 1904.5,
- "y": 494.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1893.5,
+ "y": 483.75,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "ee278548.48c048",
+ "id": "86162f30.2a9ae8",
"type": "save",
"name": "save pnf in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf'\nkey='pnf.pnf-name = $node.uuid' >\n <parameter name='pnf-name' value='`$node.uuid`' />\n <parameter name='pnf-id' value='`$node-name`' />\n <parameter name='in-maint' value='true' />\n \n \n",
"comments": "",
"outputs": 1,
- "x": 1178.5,
- "y": 481.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1167.5,
+ "y": 470.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "f54e4cb0.06b158",
+ "id": "7f0ad56a.8f2d9c",
"type": "save",
"name": "save pnf relationship to network-resource in AAI",
"xml": "\n<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $node.uuid' 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`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1199.5,
- "y": 549.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1188.5,
+ "y": 538.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "6b1527e8.25be7",
+ "id": "5e457770.0870e",
"type": "for",
"name": "for each termination point",
"xml": "<for index='tpidx' start='0' end='`$node.node-edge-point_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 466.5,
- "y": 715.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 455.5,
+ "y": 704.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "9bc4ad0d.346da",
- "3f256854.d899a"
+ "bbcde8a2.a05588",
+ "6be63886.77475"
]
]
},
{
- "id": "3f256854.d899a",
+ "id": "6be63886.77475",
"type": "set",
"name": "set termination point",
"xml": "<set>\n<parameter name='tp.' value='`$node.node-edge-point[$tpidx].`' />\n",
"comments": "",
- "x": 694.5,
- "y": 665.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 683.5,
+ "y": 654.75,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "dfedd521.86b5a",
+ "id": "73c0be48.78d9c",
"type": "switchNode",
"name": "switch name_length",
"xml": "<switch test='`$tp.name_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1219.5,
- "y": 737.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1208.5,
+ "y": 726.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "b7d6f4f0.e0bd3",
- "66cf26fb.09f71"
+ "ca0cba27.74f9f",
+ "aa56eb00.a66d2"
]
]
},
{
- "id": "b7d6f4f0.e0bd3",
+ "id": "ca0cba27.74f9f",
"type": "outcomeTrue",
"name": "If NULL Do nothing",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1483.5,
- "y": 601.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1472.5,
+ "y": 590.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "66cf26fb.09f71",
+ "id": "aa56eb00.a66d2",
"type": "outcomeTrue",
"name": "Other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1448.5,
- "y": 736.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1437.5,
+ "y": 725.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "862b958d.f2e34"
+ "e457a2aa.ac468"
]
]
},
{
- "id": "862b958d.f2e34",
+ "id": "e457a2aa.ac468",
"type": "for",
"name": "for each name ",
"xml": "<for index='na-idx' start='0' end='`$tp.name_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1620.5,
- "y": 737.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1609.5,
+ "y": 726.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "a4a363d9.79d1a",
- "3453f969.e5d4fe"
+ "b8a62622.1cd83",
+ "d4a568c4.eb62f"
]
]
},
{
- "id": "a4a363d9.79d1a",
+ "id": "b8a62622.1cd83",
"type": "switchNode",
"name": "switch name-value = name",
"xml": "<switch test=\"`$tp.name[$na-idx].value-name == 'name'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1835.5,
- "y": 588.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1824.5,
+ "y": 577.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "162774dd.4da85b"
+ "7f0e9439.914194"
]
]
},
{
- "id": "162774dd.4da85b",
+ "id": "7f0e9439.914194",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2049.5,
- "y": 630.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2038.5,
+ "y": 619.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "62abe205.1c35e4"
+ "b6376b35.f4dc8"
]
]
},
{
- "id": "62abe205.1c35e4",
+ "id": "b6376b35.f4dc8",
"type": "set",
"name": "set equipment identifier (tp-name)",
"xml": "<set>\n<parameter name='tp-name' value=\"`$tp.name[$na-idx].value`\"/>\n",
"comments": "",
- "x": 2271.5,
- "y": 628.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2260.5,
+ "y": 617.75,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "de75f383.c32b18",
+ "id": "dab171d1.a299c8",
"type": "for",
"name": " for each link",
"xml": "<for index='lidx' start='0' end='`$topology.link_length`' >\n\n\n",
"comments": "",
"outputs": 1,
- "x": 320.5,
- "y": 914.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 309.5,
+ "y": 903.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "82a5932e.ce1e3",
- "7acdad8b.581844",
- "c92f2637.6550b8",
- "1af3399a.6caa5e",
- "137abc28.75c06c"
+ "19cf86d.1428279",
+ "7b2d45bb.75c5ec",
+ "f6ec0ba5.049dd8",
+ "981dfc53.49c1e",
+ "6168108c.1668e"
]
]
},
{
- "id": "82a5932e.ce1e3",
+ "id": "19cf86d.1428279",
"type": "set",
"name": "set link",
"xml": "<set>\n<parameter name='link.' value='`$topology.link[$lidx].`' />\n",
"comments": "",
- "x": 478.5,
- "y": 838.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 467.5,
+ "y": 827.75,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "e0fab15a.f10c18",
+ "id": "3e929576.d98cfa",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$topology.name[0].value`\"/>\n<parameter name=\"field2\" value=\"`$prop.sdncRestApi.thirdpartySdnc.id`\"/>\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 610.5,
- "y": 123.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 599.5,
+ "y": 112.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "5d2cdae.4f905a4",
+ "id": "92c307e6.97cbc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value='`$node.name_length`'/>\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1161.5,
- "y": 415.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1150.5,
+ "y": 404.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "7acdad8b.581844",
+ "id": "7b2d45bb.75c5ec",
"type": "set",
"name": "set link-name",
"xml": "<set>\n<parameter name='link.name' value=\"`$link.uuid`\" />\n",
"comments": "",
- "x": 518.5,
- "y": 974.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 507.5,
+ "y": 963.75,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "c92f2637.6550b8",
+ "id": "f6ec0ba5.049dd8",
"type": "save",
"name": "save link in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link'\nkey='logical-link.link-name = $link.name' >\n <parameter name='link-name' value='`$link.name`' />\n <parameter name='link-type' value='OTN-LINK' />\n <parameter name='in-maint' value='true' />\n <parameter name='operational-status' value='`$link.operational-state`' />\n \n",
"comments": "",
"outputs": 1,
- "x": 510.5,
- "y": 1066.566665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 499.5,
+ "y": 1055.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "1af3399a.6caa5e",
+ "id": "981dfc53.49c1e",
"type": "save",
"name": "save logical-link relationship to p-interface",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $link.name' 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/' + $pnf1 + '/p-interfaces/p-interface/' + $interface1 `\" />\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=\"`$pnf1`\" /> \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/' + $pnf2 + '/p-interfaces/p-interface/' + $interface2 `\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value=\"`$pnf2`\" /> ",
"comments": "",
"outputs": 1,
- "x": 542.5,
- "y": 1144.566665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 531.5,
+ "y": 1133.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "3453f969.e5d4fe",
+ "id": "d4a568c4.eb62f",
"type": "switchNode",
"name": "switch name-value=rate",
"xml": "<switch test=\"`$tp.name[$na-idx].value-name == 'rate'`\">",
"comments": "",
"outputs": 1,
- "x": 1875.5,
- "y": 747.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1864.5,
+ "y": 736.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "f20b41d5.0223a8"
+ "e4a147e9.5afa68"
]
]
},
{
- "id": "66cfa48e.98759c",
+ "id": "5798c7bb.e3d82",
"type": "set",
"name": "set speed-value",
"xml": "<set>\n<parameter name='tp-speed' value=\"`$tp.name[$na-idx].value`\"/>",
"comments": "",
- "x": 2273.5,
- "y": 752.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2262.5,
+ "y": 741.75,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "f20b41d5.0223a8",
+ "id": "e4a147e9.5afa68",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2091.5,
- "y": 746.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2080.5,
+ "y": 735.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "66cfa48e.98759c"
+ "5798c7bb.e3d82"
]
]
},
{
- "id": "c0fc82b3.30b7b8",
+ "id": "6fdf7fa8.7c48c8",
"type": "switchNode",
"name": "switch speed-value",
"xml": "<switch test='`$tp-speed`'>\n",
"comments": "",
"outputs": 1,
- "x": 1212.5,
- "y": 945.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1201.5,
+ "y": 934.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "e27e9d29.e7909",
- "a8a78b1e.d9fbe8",
- "6d366e8d.e15bb",
- "760758e3.4dee9",
- "7b7866ff.b65f9",
- "ee64d5ad.37015",
- "ebd113cf.809d58",
- "55df563c.f847e8",
- "5e039964.21b738",
- "2a77e6fd.99cfe2",
- "b446277d.b32c2"
+ "79078981.d6b788",
+ "126a95d4.fdd29a",
+ "a57ded19.dddc58",
+ "dfcbe305.0a4f88",
+ "ebb1e1fc.8f16c",
+ "de9b3bad.cdcd28",
+ "3e8c5177.a41e6e",
+ "7a588f72.5a7e58",
+ "81eb5532.c21f7",
+ "5f14ca8c.31feb4",
+ "2ae0f8dd.2dba4"
]
]
},
{
- "id": "e27e9d29.e7909",
+ "id": "79078981.d6b788",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1385.5,
- "y": 817.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1374.5,
+ "y": 806.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "88200379.ba144"
+ "7d5d172a.351288"
]
]
},
{
- "id": "fe9ed448.89feb",
+ "id": "427cb754.a4ec08",
"type": "set",
"name": "set interface-type as NNI",
"xml": "<set>\n<parameter name='netinttype' value='NNI' />",
"comments": "",
- "x": 1719.5,
- "y": 947.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1708.5,
+ "y": 936.75,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "88200379.ba144",
+ "id": "7d5d172a.351288",
"type": "set",
"name": "set interface type as UNI",
"xml": "<set>\n<parameter name='netinttype' value='UNI' />\n",
"comments": "",
- "x": 1576.5,
- "y": 818.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1565.5,
+ "y": 807.75,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "62c4a0a9.7119d",
+ "id": "9063f945.45c61",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"speed-values\"/>\n<parameter name=\"field2\" value=\"`$tp-speed`\"/>\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1245.5,
- "y": 811.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1234.5,
+ "y": 800.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "9bc4ad0d.346da",
+ "id": "bbcde8a2.a05588",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 656.5,
- "y": 778.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 645.5,
+ "y": 767.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "20b1aa33.4b13b6"
+ "8864bdf1.b63b28"
]
]
},
{
- "id": "20b1aa33.4b13b6",
+ "id": "8864bdf1.b63b28",
"type": "switchNode",
"name": "switch protocol-name",
"xml": "<switch test='`$tp.layer-protocol-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 822.5,
- "y": 729.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 811.5,
+ "y": 718.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "3ccfdf03.565b68",
- "36a79e43.96952a"
+ "7e84f41e.7ff5a4",
+ "fe1ec6df.57ce2"
]
]
},
{
- "id": "3ccfdf03.565b68",
+ "id": "7e84f41e.7ff5a4",
"type": "outcome",
"name": "ODU",
"xml": "<outcome value='ODU'>\n",
"comments": "",
"outputs": 1,
- "x": 859.5,
- "y": 804.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 848.5,
+ "y": 793.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "689242aa.067e9c"
+ "19c2e03c.0986a"
]
]
},
{
- "id": "36a79e43.96952a",
+ "id": "fe1ec6df.57ce2",
"type": "other",
"name": "other : Do nothing",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1017.5,
- "y": 670.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1006.5,
+ "y": 659.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "7815b3bd.d57894",
+ "id": "6da2f5a8.f434e4",
"type": "switchNode",
"name": "switch protocol-name",
"xml": "<switch test='`$node.layer-protocol-name[0]`'>\n",
"comments": "",
"outputs": 1,
- "x": 754.5,
- "y": 413.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 743.5,
+ "y": 402.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "228d2ded.a28e1a",
- "c84e2543.54c0f8"
+ "df721d57.a3d178",
+ "5fd361c8.741368"
]
]
},
{
- "id": "228d2ded.a28e1a",
+ "id": "df721d57.a3d178",
"type": "outcome",
"name": "ODU",
"xml": "<outcome value='ODU'>\n",
"comments": "",
"outputs": 1,
- "x": 922.5,
- "y": 362.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 911.5,
+ "y": 351.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "90388069.5c1f6"
+ "945c89c8.c9434"
]
]
},
{
- "id": "c84e2543.54c0f8",
+ "id": "5fd361c8.741368",
"type": "other",
"name": "other : Do nothing",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 845.5,
- "y": 530.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 834.5,
+ "y": 519.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "90388069.5c1f6",
+ "id": "945c89c8.c9434",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 975.5,
- "y": 422.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 964.5,
+ "y": 411.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "705eebcd.82fa04",
- "5d2cdae.4f905a4",
- "ee278548.48c048",
- "f54e4cb0.06b158"
+ "bc68d1e8.e31198",
+ "92c307e6.97cbc",
+ "86162f30.2a9ae8",
+ "7f0ad56a.8f2d9c"
]
]
},
{
- "id": "689242aa.067e9c",
+ "id": "19c2e03c.0986a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1000.5,
- "y": 802.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 989.5,
+ "y": 791.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "dfedd521.86b5a",
- "62c4a0a9.7119d",
- "c0fc82b3.30b7b8",
- "d13f710c.ed5cd",
- "f6b93d25.146b98",
- "ac5930e6.a398f8",
- "618e03f2.2580c4",
- "7b143047.5b21b8",
- "9e26b070.282158"
+ "73c0be48.78d9c",
+ "9063f945.45c61",
+ "6fdf7fa8.7c48c8",
+ "ba5ade19.6c4198",
+ "f873518e.db3378",
+ "7b136b52.cc8804",
+ "ab66aebe.96785",
+ "4d7cdf9a.70d5",
+ "1e6632e9.5e9045"
]
]
},
{
- "id": "137abc28.75c06c",
+ "id": "6168108c.1668e",
"type": "set",
"name": "set link paramaters",
"xml": "<set>\n<parameter name='interface1' value=\"`$link.node-edge-point[0].node-edge-point-uuid`\" />\n<parameter name='interface2' value=\"`$link.node-edge-point[1].node-edge-point-uuid`\" />\n<parameter name='pnf1' value=\"`$link.node-edge-point[0].node-uuid`\" />\n<parameter name='pnf2' value=\"`$link.node-edge-point[1].node-uuid`\" />\n",
"comments": "",
- "x": 543.5,
- "y": 895.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 532.5,
+ "y": 884.75,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "4f3ea1d6.c426d",
+ "id": "2c557c83.4496a4",
"type": "set",
"name": "set controller_id",
"xml": "<set>\n<parameter name='controller_id' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",
"comments": "",
- "x": 578.5,
- "y": 274.56666564941406,
- "z": "4a2cc4e8.fff2dc",
+ "x": 567.5,
+ "y": 263.75,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "a8a78b1e.d9fbe8",
+ "id": "126a95d4.fdd29a",
"type": "outcome",
"name": "ODU0",
"xml": "<outcome value='ODU0'>\n",
"comments": "",
"outputs": 1,
- "x": 1407.5,
- "y": 881.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1396.5,
+ "y": 870.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "fe9ed448.89feb"
+ "427cb754.a4ec08"
]
]
},
{
- "id": "6d366e8d.e15bb",
+ "id": "a57ded19.dddc58",
"type": "outcome",
"name": "ODU1",
"xml": "<outcome value='ODU1'>\n",
"comments": "",
"outputs": 1,
- "x": 1407.5,
- "y": 919.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1396.5,
+ "y": 908.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "fe9ed448.89feb"
+ "427cb754.a4ec08"
]
]
},
{
- "id": "760758e3.4dee9",
+ "id": "dfcbe305.0a4f88",
"type": "outcome",
"name": "ODU2",
"xml": "<outcome value='ODU2'>\n",
"comments": "",
"outputs": 1,
- "x": 1400.5,
- "y": 957.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1389.5,
+ "y": 946.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "fe9ed448.89feb"
+ "427cb754.a4ec08"
]
]
},
{
- "id": "618e03f2.2580c4",
+ "id": "ab66aebe.96785",
"type": "for",
"name": "for each connection-point",
"xml": "<for index='cepx' start='0' end='`$tp.cep-list.connection-end-point_length`' >\n \n \n \n \n",
"comments": "",
"outputs": 1,
- "x": 760.25,
- "y": 2664.816665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 749.25,
+ "y": 2654,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "20e29f32.cd952",
- "cc6c35b3.c62f2"
+ "818c949c.9bcab",
+ "5fcab391.9ecf5c"
]
]
},
{
- "id": "7b143047.5b21b8",
+ "id": "4d7cdf9a.70d5",
"type": "save",
"name": "save pnf & p-interface in DB",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\" key=\"INSERT INTO TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE VALUES ( $tp.uuid , $tp-name , $node.uuid , $node-name , $controller_id , $tp-speed , null , $ce );\">\n\n",
"comments": "",
"outputs": 1,
- "x": 722.25,
- "y": 2799.116470336914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 711.25,
+ "y": 2788.2998046875,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "20e29f32.cd952",
+ "id": "818c949c.9bcab",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"For every uuid\"/>\n<parameter name=\"field2\" value=\"`$tp.cep-list.connection-end-point[$cepx].uuid`\"/>\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 972.11669921875,
- "y": 2585.583267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 961.11669921875,
+ "y": 2574.7666015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "cc6c35b3.c62f2",
+ "id": "5fcab391.9ecf5c",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$tp.cep-list.connection-end-point_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 978.11669921875,
- "y": 2689.583267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 967.11669921875,
+ "y": 2678.7666015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "273def74.3cce9",
- "6fc0b135.b9369",
- "7d3171a.679f41",
- "ad2c24d8.6c26"
+ "17e5cfef.9c4068",
+ "70812c82.c38b6c",
+ "cf38e78.4293198",
+ "eb065e82.6bf0f8"
]
]
},
{
- "id": "322c7b5a.6844d4",
+ "id": "1225a782.17cc3",
"type": "set",
"name": "set cep-uuid ",
"xml": "<set>\n<parameter name='ce' value=\"`$ce + $tp.cep-list.connection-end-point[0].uuid`\" />\n",
"comments": "",
- "x": 1527.11669921875,
- "y": 2594.583267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1516.11669921875,
+ "y": 2583.7666015625,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "ad2c24d8.6c26",
+ "id": "eb065e82.6bf0f8",
"type": "other",
"name": "0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 1151.11669921875,
- "y": 2548.583267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1140.11669921875,
+ "y": 2537.7666015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "c49ebae2.bd0708"
+ "7b42db44.8968b4"
]
]
},
{
- "id": "273def74.3cce9",
+ "id": "17e5cfef.9c4068",
"type": "other",
"name": "1",
"xml": "<outcome value='1'>\n",
"comments": "",
"outputs": 1,
- "x": 1156.283447265625,
- "y": 2627.000015258789,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1145.283447265625,
+ "y": 2616.183349609375,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "40ec28a5.0ef9b"
+ "66d4231b.135104"
]
]
},
{
- "id": "6fc0b135.b9369",
+ "id": "70812c82.c38b6c",
"type": "other",
"name": "2",
"xml": "<outcome value='2'>\n",
"comments": "",
"outputs": 1,
- "x": 1124.11669921875,
- "y": 2690.583267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1113.11669921875,
+ "y": 2679.7666015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "45a84518.ed353c"
+ "4d473378.a2567c"
]
]
},
{
- "id": "f10a50ff.a09b",
+ "id": "4318b0c8.4f912",
"type": "set",
"name": "set cep-uuid ",
"xml": "<set>\n<parameter name='some1' value=\"`$tp.cep-list.connection-end-point[0].uuid`\" />\n<parameter name='ce' value=\"`$some1 + ',' + $tp.cep-list.connection-end-point[1].uuid`\" />\n\n",
"comments": "",
- "x": 1486.283447265625,
- "y": 2669.000015258789,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1475.283447265625,
+ "y": 2658.183349609375,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "7d3171a.679f41",
+ "id": "cf38e78.4293198",
"type": "other",
"name": "3",
"xml": "<outcome value='3'>\n",
"comments": "",
"outputs": 1,
- "x": 1137.166748046875,
- "y": 2812.783462524414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1126.166748046875,
+ "y": 2801.966796875,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "35343890.318c5"
+ "3aded49e.98566c"
]
]
},
{
- "id": "972c5dc6.97f998",
+ "id": "2f6ac631.4d8692",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='some1' value=\"`$tp.cep-list.connection-end-point[0].uuid`\" />\n<parameter name='cep' value=\"`$some1 + ',' + $tp.cep-list.connection-end-point[1].uuid`\" />\n<parameter name='ce' value=\"`$cep + ',' + $tp.cep-list.connection-end-point[2].uuid`\" />\n",
"comments": "",
- "x": 1495.11669921875,
- "y": 2816.583267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1484.11669921875,
+ "y": 2805.7666015625,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "40ec28a5.0ef9b",
+ "id": "66d4231b.135104",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1315.9833984375,
- "y": 2612.949966430664,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1304.9833984375,
+ "y": 2602.13330078125,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "322c7b5a.6844d4"
+ "1225a782.17cc3"
]
]
},
{
- "id": "45a84518.ed353c",
+ "id": "4d473378.a2567c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1302.9833984375,
- "y": 2688.949966430664,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1291.9833984375,
+ "y": 2678.13330078125,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "f10a50ff.a09b",
- "8f18f763.8fc5f"
+ "4318b0c8.4f912",
+ "b6deb945.82c008"
]
]
},
{
- "id": "35343890.318c5",
+ "id": "3aded49e.98566c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1325.9833984375,
- "y": 2820.949966430664,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1314.9833984375,
+ "y": 2810.13330078125,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "972c5dc6.97f998"
+ "2f6ac631.4d8692"
]
]
},
{
- "id": "8f18f763.8fc5f",
+ "id": "b6deb945.82c008",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Length\"/>\n<parameter name=\"field2\" value=\"`$tp.cep-list.connection-end-point_length`\"/>\n\n<parameter name=\"field3\" value=\"`$some1`\"/>\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1494.9833984375,
- "y": 2721.949966430664,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1483.9833984375,
+ "y": 2711.13330078125,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "134a61b.b91ba1e",
+ "id": "cc05c606.1d6b7",
"type": "set",
"name": "set cep-uuid ",
"xml": "<set>\n<parameter name='ce' value='' />\n",
"comments": "",
- "x": 1513.283447265625,
- "y": 2531.000015258789,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1502.283447265625,
+ "y": 2520.183349609375,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "c49ebae2.bd0708",
+ "id": "7b42db44.8968b4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1311.9833984375,
- "y": 2542.449966430664,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1300.9833984375,
+ "y": 2531.63330078125,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "134a61b.b91ba1e"
+ "cc05c606.1d6b7"
]
]
},
{
- "id": "d13f710c.ed5cd",
+ "id": "ba5ade19.6c4198",
"type": "save",
"name": "save p-interface in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid' > \n<parameter name='interface-name' value='`$tp.uuid`' />\n<parameter name='port-description' value='`$tp-name`' />\n<parameter name='operational-status' value='`$tp.administrative-state`' />\n<parameter name='in-maint' value=\"true\" />\n<parameter name='network-interface-type' value='`$netinttype`' />\n<parameter name='speed-units' value=\"Gbps\" />\n<parameter name='speed-value' value='`$tp-speed`' />\n<parameter name='available-capacity' value='`$tp-speed`' />\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1177.5,
- "y": 1186.566665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1166.5,
+ "y": 1175.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "7b7866ff.b65f9",
+ "id": "ebb1e1fc.8f16c",
"type": "outcome",
"name": "ODU3",
"xml": "<outcome value='ODU3'>\n",
"comments": "",
"outputs": 1,
- "x": 1404.5,
- "y": 991.5666656494141,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1393.5,
+ "y": 980.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "fe9ed448.89feb"
+ "427cb754.a4ec08"
]
]
},
{
- "id": "ee64d5ad.37015",
+ "id": "de9b3bad.cdcd28",
"type": "outcome",
"name": "ODU4",
"xml": "<outcome value='ODU4'>\n",
"comments": "",
"outputs": 1,
- "x": 1402.5,
- "y": 1030.566665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1391.5,
+ "y": 1019.75,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "fe9ed448.89feb"
+ "427cb754.a4ec08"
]
]
},
{
- "id": "f6b93d25.146b98",
+ "id": "f873518e.db3378",
"type": "get-resource",
"name": "get-resource",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"p-interface\"\n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid' \n pfx='aai.service' local-only='false'>",
"comments": "",
"outputs": 1,
- "x": 1096.066650390625,
- "y": 1324.133316040039,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1085.066650390625,
+ "y": 1313.316650390625,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "453ceaef.3975e4"
+ "54b2ae84.6fbea"
]
]
},
{
- "id": "453ceaef.3975e4",
+ "id": "54b2ae84.6fbea",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1314.25,
- "y": 1333.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1303.25,
+ "y": 1322.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "be595bc4.13c43"
+ "10120b02.49d2ed"
]
]
},
{
- "id": "be595bc4.13c43",
+ "id": "10120b02.49d2ed",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='interface-type' value='`$aai.service.network-interface-type`' />\n<parameter name='rate-param' value='`$aai.service.speed-value`' />\n\n",
"comments": "",
- "x": 1467.25,
- "y": 1332.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1456.25,
+ "y": 1321.5,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "ac5930e6.a398f8",
+ "id": "7b136b52.cc8804",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$interface-type`'>\n",
"comments": "",
"outputs": 1,
- "x": 1061.25,
- "y": 1440.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1050.25,
+ "y": 1429.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "cdc64818.36fd",
- "b011f5a6.ef38d8"
+ "ed1a6e9b.483498",
+ "ae07368.586efc8"
]
]
},
{
- "id": "cdc64818.36fd",
+ "id": "ed1a6e9b.483498",
"type": "outcome",
"name": "UNI : Do Nothing",
"xml": "<outcome value='UNI'>\n",
"comments": "",
"outputs": 1,
- "x": 1223.25,
- "y": 1406.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1212.25,
+ "y": 1395.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "b011f5a6.ef38d8",
+ "id": "ae07368.586efc8",
"type": "outcome",
"name": "NNI",
"xml": "<outcome value='NNI'>\n",
"comments": "",
"outputs": 1,
- "x": 1199.25,
- "y": 1543.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1188.25,
+ "y": 1532.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "f7262702.8d2888"
+ "e05cb7b9.490098"
]
]
},
{
- "id": "f7262702.8d2888",
+ "id": "e05cb7b9.490098",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1398.25,
- "y": 1436.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1387.25,
+ "y": 1425.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "8e99d37.4c0f43",
- "3b2ad59e.117432",
- "d63ed666.f191b8",
- "6902bc7e.130e9c"
+ "a2374b93.049ea8",
+ "b32418a3.f6237",
+ "16bb4cdf.e580bb",
+ "b25de91c.bda328"
]
]
},
{
- "id": "8e99d37.4c0f43",
+ "id": "a2374b93.049ea8",
"type": "save",
"name": "save p-interface in AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='bandwidth-attribute' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba' > \n<parameter name='bwa-id' value='`$random-ba`' />\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1635.25,
- "y": 1460.3166046142578,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1624.25,
+ "y": 1449.4999389648438,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "9e26b070.282158",
+ "id": "1e6632e9.5e9045",
"type": "set",
"name": "set cep-uuid ",
"xml": "<set>\n<parameter name='ce' value='' />\n<parameter name='some' value='' />\n",
"comments": "",
- "x": 751.25,
- "y": 2582.816665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 740.25,
+ "y": 2572,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "3b2ad59e.117432",
+ "id": "b32418a3.f6237",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
- "x": 1615.25,
- "y": 1377.816665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1604.25,
+ "y": 1367,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "d63ed666.f191b8",
+ "id": "16bb4cdf.e580bb",
"type": "execute",
"name": "execute",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1622.25,
- "y": 1295.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1611.25,
+ "y": 1284.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "6902bc7e.130e9c",
+ "id": "b25de91c.bda328",
"type": "switchNode",
"name": "switch rate in NNI",
"xml": "<switch test='`$rate-param`'>\n",
"comments": "",
"outputs": 1,
- "x": 1087.25,
- "y": 1936.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1076.25,
+ "y": 1925.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "5071ff0f.45a7a",
- "ab34cf8f.734be",
- "c356f219.2efb",
- "d2d986e3.cc045",
- "2091cc41.70c8cc"
+ "cfd66cd.f7c259",
+ "6999d541.5ae774",
+ "2674f61.a788a8a",
+ "f8c8298c.683ff",
+ "a534af49.18093",
+ "3debfbca.1066ec",
+ "c1f6f555.a81e2",
+ "b5a03cf.2592ec",
+ "f479789f.1b4c28",
+ "1052b35d.5f118d"
]
]
},
{
- "id": "5071ff0f.45a7a",
+ "id": "cfd66cd.f7c259",
"type": "outcome",
"name": "ODU0",
"xml": "<outcome value='ODU0'>\n",
"comments": "",
"outputs": 1,
- "x": 1755.433349609375,
- "y": 1522.500015258789,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1744.433349609375,
+ "y": 1511.683349609375,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "19f4b73d.cdd069"
+ "f32bc7c2.faf2c"
]
]
},
{
- "id": "ab34cf8f.734be",
+ "id": "6999d541.5ae774",
"type": "outcome",
"name": "ODU1",
"xml": "<outcome value='ODU1'>\n",
"comments": "",
"outputs": 1,
- "x": 1712.433349609375,
- "y": 1785.500015258789,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1701.433349609375,
+ "y": 1774.683349609375,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "1e178e7a.d3ed5a"
+ "1237b047.f6bdb8"
]
]
},
{
- "id": "c356f219.2efb",
+ "id": "2674f61.a788a8a",
"type": "outcome",
"name": "ODU2",
"xml": "<outcome value='ODU2'>\n",
"comments": "",
"outputs": 1,
- "x": 1666.433349609375,
- "y": 2015.500015258789,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1655.433349609375,
+ "y": 2004.683349609375,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "40f83d7a.41a484"
+ "edd28e3f.12d818"
]
]
},
{
- "id": "d2d986e3.cc045",
+ "id": "f8c8298c.683ff",
"type": "outcome",
"name": "ODU3",
"xml": "<outcome value='ODU3'>\n",
"comments": "",
"outputs": 1,
- "x": 1758.433349609375,
- "y": 2386.500015258789,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1747.433349609375,
+ "y": 2375.683349609375,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "91b89ace.609a68"
+ "9f035a9.5dca828"
]
]
},
{
- "id": "2091cc41.70c8cc",
+ "id": "a534af49.18093",
"type": "outcome",
"name": "ODU4",
"xml": "<outcome value='ODU4'>\n",
"comments": "",
"outputs": 1,
- "x": 1743.433349609375,
- "y": 2612.500015258789,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1732.433349609375,
+ "y": 2601.683349609375,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "f610d634.b8cc4"
+ "bab2a21f.c59978"
]
]
},
{
- "id": "19f4b73d.cdd069",
+ "id": "f32bc7c2.faf2c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1900.433349609375,
- "y": 1399.300064086914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1889.433349609375,
+ "y": 1388.4833984375,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "19e54ba0.7c2e0c",
- "9b8b0393.415698",
- "ae120072.9b7ff",
- "d8f0832e.4d0f7",
- "e2261dd3.e1a278",
- "c59ccd0.41ff13"
+ "b06e605b.2abf88",
+ "db6f5a5a.d155f8",
+ "37f9796c.91d556",
+ "b12688be.71b998",
+ "652396ac.fb2ca",
+ "dbec064.966df78"
]
]
},
{
- "id": "19e54ba0.7c2e0c",
+ "id": "b06e605b.2abf88",
"type": "save",
"name": "save available-bandwidth in AAI for odu0",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' > \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2188.433349609375,
- "y": 1247.300064086914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2177.433349609375,
+ "y": 1236.4833984375,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "9b8b0393.415698",
+ "id": "db6f5a5a.d155f8",
"type": "save",
"name": "save available-bandwidth in AAI for odu1",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' > \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2181.75,
- "y": 1302.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2170.75,
+ "y": 1291.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "ae120072.9b7ff",
+ "id": "37f9796c.91d556",
"type": "save",
"name": "save available-bandwidth in AAI for odu2",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' > \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2169.75,
- "y": 1376.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2158.75,
+ "y": 1365.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "d8f0832e.4d0f7",
+ "id": "b12688be.71b998",
"type": "save",
"name": "save available-bandwidth in AAI for odu3",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' > \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2168.75,
- "y": 1450.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2157.75,
+ "y": 1439.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "e2261dd3.e1a278",
+ "id": "652396ac.fb2ca",
"type": "save",
"name": "save available-bandwidth in AAI for odu4",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' > \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2187.75,
- "y": 1553.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2176.75,
+ "y": 1542.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "1e178e7a.d3ed5a",
+ "id": "1237b047.f6bdb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1894.75,
- "y": 1785.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1883.75,
+ "y": 1774.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "11cbd181.874abe",
- "2f3663f5.b479dc",
- "de12e90e.01947",
- "790ae74c.b00338",
- "2418cab2.d227fe",
- "97c5cda9.f9b988"
+ "57ae3f0d.1b7ad8",
+ "b0d77cbd.9d154",
+ "f31475f6.d37a28",
+ "a1a0d33d.751ae8",
+ "b0639eba.414c4",
+ "96922cd9.800d9"
]
]
},
{
- "id": "11cbd181.874abe",
+ "id": "57ae3f0d.1b7ad8",
"type": "save",
"name": "save available-bandwidth in AAI for odu0",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' > \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='2' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2219.75,
- "y": 1632.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2208.75,
+ "y": 1621.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "2f3663f5.b479dc",
+ "id": "b0d77cbd.9d154",
"type": "save",
"name": "save available-bandwidth in AAI for odu1",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' > \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2203.066650390625,
- "y": 1703.333267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2192.066650390625,
+ "y": 1692.5166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "de12e90e.01947",
+ "id": "f31475f6.d37a28",
"type": "save",
"name": "save available-bandwidth in AAI for odu2",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' > \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2199.066650390625,
- "y": 1758.333267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2188.066650390625,
+ "y": 1747.5166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "790ae74c.b00338",
+ "id": "a1a0d33d.751ae8",
"type": "save",
"name": "save available-bandwidth in AAI for odu3",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' > \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2214.066650390625,
- "y": 1823.333267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2203.066650390625,
+ "y": 1812.5166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "2418cab2.d227fe",
+ "id": "b0639eba.414c4",
"type": "save",
"name": "save available-bandwidth in AAI for odu4",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' > \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2209.066650390625,
- "y": 1892.333267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2198.066650390625,
+ "y": 1881.5166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "40f83d7a.41a484",
+ "id": "edd28e3f.12d818",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1907.75,
- "y": 2090.816665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1896.75,
+ "y": 2080,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "4406468d.5ce9b",
- "bfd3738c.6803a8",
- "b85d6527.346848",
- "b41c7ac9.59a77",
- "8f7d9a54.5cdd1",
- "31c35c3d.e2a904"
+ "ded6ae2e.d9274",
+ "125903bb.57f17c",
+ "fa15292e.7d1358",
+ "6d9b9d3.6c6bae4",
+ "283ad9a6.af3796",
+ "76f468c7.100f5",
+ "66321421.ead65c"
]
]
},
{
- "id": "4406468d.5ce9b",
+ "id": "ded6ae2e.d9274",
"type": "save",
"name": "save available-bandwidth in AAI for odu0",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' > \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='8' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' > \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='8' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2232.75,
- "y": 1937.816665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2181.75,
+ "y": 1923,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "bfd3738c.6803a8",
+ "id": "125903bb.57f17c",
"type": "save",
"name": "save available-bandwidth in AAI for odu1",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' > \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='4' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2216.066650390625,
- "y": 2008.833267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2205.066650390625,
+ "y": 1998.0166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "b85d6527.346848",
+ "id": "fa15292e.7d1358",
"type": "save",
"name": "save available-bandwidth in AAI for odu2",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' > \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2212.066650390625,
- "y": 2063.833267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2201.066650390625,
+ "y": 2053.0166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "b41c7ac9.59a77",
+ "id": "6d9b9d3.6c6bae4",
"type": "save",
"name": "save available-bandwidth in AAI for odu3",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' > \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2227.066650390625,
- "y": 2128.833267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2216.066650390625,
+ "y": 2118.0166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "8f7d9a54.5cdd1",
+ "id": "283ad9a6.af3796",
"type": "save",
"name": "save available-bandwidth in AAI for odu4",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' > \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2222.066650390625,
- "y": 2197.833267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2211.066650390625,
+ "y": 2187.0166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "91b89ace.609a68",
+ "id": "9f035a9.5dca828",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1927.75,
- "y": 2411.816665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1916.75,
+ "y": 2401,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "ee326db5.8436a",
- "35407e33.d79e02",
- "18be1ac.ac0dde5",
- "aebddf9c.15c58",
- "765cd24e.25591c",
- "7d4e01bf.0dfb3"
+ "b179181d.28f12",
+ "336e995f.88036e",
+ "52628aca.a0aae4",
+ "5057689a.9102",
+ "58a41cb0.80c304",
+ "c46e7716.9a56f8"
]
]
},
{
- "id": "ee326db5.8436a",
+ "id": "b179181d.28f12",
"type": "save",
"name": "save available-bandwidth in AAI for odu0",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' > \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='40' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2286.75,
- "y": 2262.816665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2275.75,
+ "y": 2252,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "35407e33.d79e02",
+ "id": "336e995f.88036e",
"type": "save",
"name": "save available-bandwidth in AAI for odu1",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' > \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='20' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2284.066650390625,
- "y": 2329.833267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2273.066650390625,
+ "y": 2319.0166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "18be1ac.ac0dde5",
+ "id": "52628aca.a0aae4",
"type": "save",
"name": "save available-bandwidth in AAI for odu2",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' > \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='5' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2232.066650390625,
- "y": 2384.833267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2221.066650390625,
+ "y": 2374.0166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "aebddf9c.15c58",
+ "id": "5057689a.9102",
"type": "save",
"name": "save available-bandwidth in AAI for odu3",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' > \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2247.066650390625,
- "y": 2449.833267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2236.066650390625,
+ "y": 2439.0166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "765cd24e.25591c",
+ "id": "58a41cb0.80c304",
"type": "save",
"name": "save available-bandwidth in AAI for odu4",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' > \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2242.066650390625,
- "y": 2518.833267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2231.066650390625,
+ "y": 2508.0166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "f610d634.b8cc4",
+ "id": "bab2a21f.c59978",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1951.75,
- "y": 2745.816665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1940.75,
+ "y": 2735,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "46acc9e7.1d9a8",
- "a8c71c34.c3e7c",
- "4f6686a5.9e0468",
- "ae2f3dac.166",
- "ad5a2744.3a73f",
- "2aeb6b3e.6c3a4c"
+ "79aef29c.d9c214",
+ "afdcc7a1.004de",
+ "85342b90.307d48",
+ "5b42d06.879793",
+ "c8d299ec.5203f8",
+ "71414c15.79cd94"
]
]
},
{
- "id": "46acc9e7.1d9a8",
+ "id": "79aef29c.d9c214",
"type": "save",
"name": "save available-bandwidth in AAI for odu0",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' > \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='80' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2312.75,
- "y": 2592.816665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2301.75,
+ "y": 2582,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "a8c71c34.c3e7c",
+ "id": "afdcc7a1.004de",
"type": "save",
"name": "save available-bandwidth in AAI for odu1",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' > \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='40' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2298.066650390625,
- "y": 2663.833267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2287.066650390625,
+ "y": 2653.0166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "4f6686a5.9e0468",
+ "id": "85342b90.307d48",
"type": "save",
"name": "save available-bandwidth in AAI for odu2",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' > \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='10' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2256.066650390625,
- "y": 2718.833267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2245.066650390625,
+ "y": 2708.0166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "ae2f3dac.166",
+ "id": "5b42d06.879793",
"type": "save",
"name": "save available-bandwidth in AAI for odu3",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' > \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='2' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2271.066650390625,
- "y": 2783.833267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2260.066650390625,
+ "y": 2773.0166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "ad5a2744.3a73f",
+ "id": "c8d299ec.5203f8",
"type": "save",
"name": "save available-bandwidth in AAI for odu4",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n key='pnf.pnf-name = $node.uuid\n AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' > \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2266.066650390625,
- "y": 2852.833267211914,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2255.066650390625,
+ "y": 2842.0166015625,
+ "z": "889fd083.2b7ef8",
"wires": [
[]
]
},
{
- "id": "ebd113cf.809d58",
+ "id": "3e8c5177.a41e6e",
"type": "outcome",
"name": "OTU0",
"xml": "<outcome value='OTU0'>\n",
"comments": "",
"outputs": 1,
- "x": 1399.25,
- "y": 1066.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1388.25,
+ "y": 1055.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "fe9ed448.89feb"
+ "427cb754.a4ec08"
]
]
},
{
- "id": "5e039964.21b738",
+ "id": "81eb5532.c21f7",
"type": "outcome",
"name": "OTU1",
"xml": "<outcome value='OTU1'>\n",
"comments": "",
"outputs": 1,
- "x": 1396.25,
- "y": 1104.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1385.25,
+ "y": 1093.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "fe9ed448.89feb"
+ "427cb754.a4ec08"
]
]
},
{
- "id": "55df563c.f847e8",
+ "id": "7a588f72.5a7e58",
"type": "outcome",
"name": "OTU2",
"xml": "<outcome value='OTU2'>\n",
"comments": "",
"outputs": 1,
- "x": 1403.25,
- "y": 1151.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1392.25,
+ "y": 1140.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "fe9ed448.89feb"
+ "427cb754.a4ec08"
]
]
},
{
- "id": "2a77e6fd.99cfe2",
+ "id": "5f14ca8c.31feb4",
"type": "outcome",
"name": "OTU3",
"xml": "<outcome value='OTU3'>\n",
"comments": "",
"outputs": 1,
- "x": 1403.25,
- "y": 1199.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1392.25,
+ "y": 1188.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "fe9ed448.89feb"
+ "427cb754.a4ec08"
]
]
},
{
- "id": "b446277d.b32c2",
+ "id": "2ae0f8dd.2dba4",
"type": "outcome",
"name": "OTU4",
"xml": "<outcome value='OTU4'>\n",
"comments": "",
"outputs": 1,
- "x": 1399.25,
- "y": 1246.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1388.25,
+ "y": 1235.5,
+ "z": "889fd083.2b7ef8",
"wires": [
[
- "fe9ed448.89feb"
+ "427cb754.a4ec08"
]
]
},
{
- "id": "c59ccd0.41ff13",
+ "id": "dbec064.966df78",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
- "x": 1944.5,
- "y": 1263.816665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1933.5,
+ "y": 1253,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "97c5cda9.f9b988",
+ "id": "96922cd9.800d9",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
- "x": 1889.5,
- "y": 1627.566665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1878.5,
+ "y": 1616.75,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "31c35c3d.e2a904",
+ "id": "76f468c7.100f5",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
- "x": 1990.5,
- "y": 1959.316665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 1925.5,
+ "y": 1914.5,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "7d4e01bf.0dfb3",
+ "id": "c46e7716.9a56f8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
- "x": 2040.5,
- "y": 2258.066665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2029.5,
+ "y": 2247.25,
+ "z": "889fd083.2b7ef8",
"wires": []
},
{
- "id": "2aeb6b3e.6c3a4c",
+ "id": "71414c15.79cd94",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
- "x": 2066.5,
- "y": 2585.566665649414,
- "z": "4a2cc4e8.fff2dc",
+ "x": 2055.5,
+ "y": 2574.75,
+ "z": "889fd083.2b7ef8",
"wires": []
+ },
+ {
+ "id": "3debfbca.1066ec",
+ "type": "outcome",
+ "name": "OTU0",
+ "xml": "<outcome value='OTU0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1743.75,
+ "y": 1570.5,
+ "z": "889fd083.2b7ef8",
+ "wires": [
+ [
+ "f32bc7c2.faf2c"
+ ]
+ ]
+ },
+ {
+ "id": "c1f6f555.a81e2",
+ "type": "outcome",
+ "name": "OTU1",
+ "xml": "<outcome value='OTU1'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1707.75,
+ "y": 1837.5,
+ "z": "889fd083.2b7ef8",
+ "wires": [
+ [
+ "1237b047.f6bdb8"
+ ]
+ ]
+ },
+ {
+ "id": "b5a03cf.2592ec",
+ "type": "outcome",
+ "name": "OTU2",
+ "xml": "<outcome value='OTU2'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1646.75,
+ "y": 2084.75,
+ "z": "889fd083.2b7ef8",
+ "wires": [
+ [
+ "edd28e3f.12d818"
+ ]
+ ]
+ },
+ {
+ "id": "f479789f.1b4c28",
+ "type": "outcome",
+ "name": "OTU3",
+ "xml": "<outcome value='OTU3'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1739.75,
+ "y": 2445.5,
+ "z": "889fd083.2b7ef8",
+ "wires": [
+ [
+ "9f035a9.5dca828"
+ ]
+ ]
+ },
+ {
+ "id": "1052b35d.5f118d",
+ "type": "outcome",
+ "name": "OTU4",
+ "xml": "<outcome value='OTU4'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1732.75,
+ "y": 2673.75,
+ "z": "889fd083.2b7ef8",
+ "wires": [
+ [
+ "bab2a21f.c59978"
+ ]
+ ]
+ },
+ {
+ "id": "66321421.ead65c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/optical-service-delete.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"ODU0 value\" />\n<parameter name=\"field2\" value=\"`$odu0`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2068,
+ "y": 1957,
+ "z": "889fd083.2b7ef8",
+ "wires": [
+ []
+ ]
}
]
\ No newline at end of file diff --git a/platform-logic/datachange/src/main/xml/DataChange_tapi-update-network-to-aai.xml b/platform-logic/datachange/src/main/xml/DataChange_tapi-update-network-to-aai.xml index e6a17cd1..3d36d0e4 100644 --- a/platform-logic/datachange/src/main/xml/DataChange_tapi-update-network-to-aai.xml +++ b/platform-logic/datachange/src/main/xml/DataChange_tapi-update-network-to-aai.xml @@ -252,6 +252,53 @@ resource="p-interface" </save>
</block>
</outcome>
+ <outcome value='OTU0'>
+ <block atomic='true'>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >
+ <parameter name='ab-id' value='`$odu0`' />
+ <parameter name='odu-type' value="ODU0" />
+ <parameter name='number' value='1' />
+ </save>
+ <set>
+ <parameter name='random-ba' value="`$node.uuid + '_' + $tp.uuid`" />
+ <parameter name='odu0' value="`$random-ba + '-ODU0'`" />
+ <parameter name='odu1' value="`$random-ba + '-ODU1'`" />
+ <parameter name='odu2' value="`$random-ba + '-ODU2'`" />
+ <parameter name='odu3' value="`$random-ba + '-ODU3'`" />
+ <parameter name='odu4' value="`$random-ba + '-ODU4'`" />
+ </set>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >
+ <parameter name='ab-id' value='`$odu1`' />
+ <parameter name='odu-type' value="ODU1" />
+ <parameter name='number' value='0' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >
+ <parameter name='ab-id' value='`$odu2`' />
+ <parameter name='odu-type' value="ODU2" />
+ <parameter name='number' value='0' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >
+ <parameter name='ab-id' value='`$odu3`' />
+ <parameter name='odu-type' value="ODU3" />
+ <parameter name='number' value='0' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >
+ <parameter name='ab-id' value='`$odu4`' />
+ <parameter name='odu-type' value="ODU4" />
+ <parameter name='number' value='0' />
+ </save>
+ </block>
+ </outcome>
<outcome value='ODU1'>
<block atomic='true'>
<set>
@@ -299,8 +346,63 @@ resource="p-interface" </save>
</block>
</outcome>
+ <outcome value='OTU1'>
+ <block atomic='true'>
+ <set>
+ <parameter name='random-ba' value="`$node.uuid + '_' + $tp.uuid`" />
+ <parameter name='odu0' value="`$random-ba + '-ODU0'`" />
+ <parameter name='odu1' value="`$random-ba + '-ODU1'`" />
+ <parameter name='odu2' value="`$random-ba + '-ODU2'`" />
+ <parameter name='odu3' value="`$random-ba + '-ODU3'`" />
+ <parameter name='odu4' value="`$random-ba + '-ODU4'`" />
+ </set>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >
+ <parameter name='ab-id' value='`$odu0`' />
+ <parameter name='odu-type' value="ODU0" />
+ <parameter name='number' value='2' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >
+ <parameter name='ab-id' value='`$odu1`' />
+ <parameter name='odu-type' value="ODU1" />
+ <parameter name='number' value='1' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >
+ <parameter name='ab-id' value='`$odu2`' />
+ <parameter name='odu-type' value="ODU2" />
+ <parameter name='number' value='0' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >
+ <parameter name='ab-id' value='`$odu3`' />
+ <parameter name='odu-type' value="ODU3" />
+ <parameter name='number' value='0' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >
+ <parameter name='ab-id' value='`$odu4`' />
+ <parameter name='odu-type' value="ODU4" />
+ <parameter name='number' value='0' />
+ </save>
+ </block>
+ </outcome>
<outcome value='ODU2'>
<block atomic='true'>
+ <set>
+ <parameter name='random-ba' value="`$node.uuid + '_' + $tp.uuid`" />
+ <parameter name='odu0' value="`$random-ba + '-ODU0'`" />
+ <parameter name='odu1' value="`$random-ba + '-ODU1'`" />
+ <parameter name='odu2' value="`$random-ba + '-ODU2'`" />
+ <parameter name='odu3' value="`$random-ba + '-ODU3'`" />
+ <parameter name='odu4' value="`$random-ba + '-ODU4'`" />
+ </set>
<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
key='pnf.pnf-name = $node.uuid
AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >
@@ -308,6 +410,44 @@ resource="p-interface" <parameter name='odu-type' value="ODU0" />
<parameter name='number' value='8' />
</save>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/optical-service-delete.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="ODU0 value" />
+ <parameter name="field2" value="`$odu0`"/>
+ </record>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >
+ <parameter name='ab-id' value='`$odu1`' />
+ <parameter name='odu-type' value="ODU1" />
+ <parameter name='number' value='4' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >
+ <parameter name='ab-id' value='`$odu2`' />
+ <parameter name='odu-type' value="ODU2" />
+ <parameter name='number' value='1' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >
+ <parameter name='ab-id' value='`$odu3`' />
+ <parameter name='odu-type' value="ODU3" />
+ <parameter name='number' value='0' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >
+ <parameter name='ab-id' value='`$odu4`' />
+ <parameter name='odu-type' value="ODU4" />
+ <parameter name='number' value='0' />
+ </save>
+ </block>
+ </outcome>
+ <outcome value='OTU2'>
+ <block atomic='true'>
<set>
<parameter name='random-ba' value="`$node.uuid + '_' + $tp.uuid`" />
<parameter name='odu0' value="`$random-ba + '-ODU0'`" />
@@ -318,6 +458,19 @@ resource="p-interface" </set>
<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >
+ <parameter name='ab-id' value='`$odu0`' />
+ <parameter name='odu-type' value="ODU0" />
+ <parameter name='number' value='8' />
+ </save>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/optical-service-delete.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="ODU0 value" />
+ <parameter name="field2" value="`$odu0`"/>
+ </record>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >
<parameter name='ab-id' value='`$odu1`' />
<parameter name='odu-type' value="ODU1" />
@@ -393,6 +546,53 @@ resource="p-interface" </save>
</block>
</outcome>
+ <outcome value='OTU3'>
+ <block atomic='true'>
+ <set>
+ <parameter name='random-ba' value="`$node.uuid + '_' + $tp.uuid`" />
+ <parameter name='odu0' value="`$random-ba + '-ODU0'`" />
+ <parameter name='odu1' value="`$random-ba + '-ODU1'`" />
+ <parameter name='odu2' value="`$random-ba + '-ODU2'`" />
+ <parameter name='odu3' value="`$random-ba + '-ODU3'`" />
+ <parameter name='odu4' value="`$random-ba + '-ODU4'`" />
+ </set>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >
+ <parameter name='ab-id' value='`$odu0`' />
+ <parameter name='odu-type' value="ODU0" />
+ <parameter name='number' value='40' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >
+ <parameter name='ab-id' value='`$odu1`' />
+ <parameter name='odu-type' value="ODU1" />
+ <parameter name='number' value='20' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >
+ <parameter name='ab-id' value='`$odu2`' />
+ <parameter name='odu-type' value="ODU2" />
+ <parameter name='number' value='5' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >
+ <parameter name='ab-id' value='`$odu3`' />
+ <parameter name='odu-type' value="ODU3" />
+ <parameter name='number' value='1' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >
+ <parameter name='ab-id' value='`$odu4`' />
+ <parameter name='odu-type' value="ODU4" />
+ <parameter name='number' value='0' />
+ </save>
+ </block>
+ </outcome>
<outcome value='ODU4'>
<block atomic='true'>
<set>
@@ -440,6 +640,53 @@ resource="p-interface" </save>
</block>
</outcome>
+ <outcome value='OTU4'>
+ <block atomic='true'>
+ <set>
+ <parameter name='random-ba' value="`$node.uuid + '_' + $tp.uuid`" />
+ <parameter name='odu0' value="`$random-ba + '-ODU0'`" />
+ <parameter name='odu1' value="`$random-ba + '-ODU1'`" />
+ <parameter name='odu2' value="`$random-ba + '-ODU2'`" />
+ <parameter name='odu3' value="`$random-ba + '-ODU3'`" />
+ <parameter name='odu4' value="`$random-ba + '-ODU4'`" />
+ </set>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >
+ <parameter name='ab-id' value='`$odu0`' />
+ <parameter name='odu-type' value="ODU0" />
+ <parameter name='number' value='80' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >
+ <parameter name='ab-id' value='`$odu1`' />
+ <parameter name='odu-type' value="ODU1" />
+ <parameter name='number' value='40' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >
+ <parameter name='ab-id' value='`$odu2`' />
+ <parameter name='odu-type' value="ODU2" />
+ <parameter name='number' value='10' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >
+ <parameter name='ab-id' value='`$odu3`' />
+ <parameter name='odu-type' value="ODU3" />
+ <parameter name='number' value='2' />
+ </save>
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth'
+ key='pnf.pnf-name = $node.uuid
+ AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >
+ <parameter name='ab-id' value='`$odu4`' />
+ <parameter name='odu-type' value="ODU4" />
+ <parameter name='number' value='1' />
+ </save>
+ </block>
+ </outcome>
</switch>
</block>
</outcome>
|