aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json
diff options
context:
space:
mode:
authorshashikanth.vh <shashikanth.vh@huawei.com>2018-08-09 14:08:39 +0530
committerShashikanth VH <shashikanth.vh@huawei.com>2018-08-09 16:30:50 +0000
commit74c1c3507bbd3194c7bb57e45ffd08428dd280c2 (patch)
tree0b4cbec0998c59a80d5fc79a436b28da99dc5bf5 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json
parentbdf9859eb3df68fea82e938b9ed7584b4787657d (diff)
connectivity attachment issue fix
Test issues fixed Change-Id: I991876c6176c5fa05682e635b9c1e29eb5b08d54 Issue-ID: SDNC-356 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: e89a860588e3a094d5cc251dd6992373c2f36ab7
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json2551
1 files changed, 1189 insertions, 1362 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json
index 5729a236..47601af5 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json
@@ -1,20 +1,20 @@
[
{
- "id": "13403d5.5be54c3",
+ "id": "cbe4a9ee.16a0f8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 112.00390625,
- "y": 46.00390625,
- "z": "4f77841b.f6c90c",
+ "x": 129.00390625,
+ "y": 47.00390625,
+ "z": "886e5ee7.da286",
"wires": [
[
- "8694bff7.45011"
+ "e13e73c3.adb19"
]
]
},
{
- "id": "8694bff7.45011",
+ "id": "e13e73c3.adb19",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,3045 +22,2872 @@
"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='GENERIC-RESOURCE-API' version='${project.version}'>",
"outputs": 1,
- "x": 324.00391006469727,
- "y": 118.0039234161377,
- "z": "4f77841b.f6c90c",
+ "x": 341.00391006469727,
+ "y": 119.0039234161377,
+ "z": "886e5ee7.da286",
"wires": [
[
- "ce5f4d71.3c80b"
+ "5fa2576a.526658"
]
]
},
{
- "id": "ce5f4d71.3c80b",
+ "id": "5fa2576a.526658",
"type": "method",
"name": "sotn-attachment-topology-operation-activate",
"xml": "<method rpc='sotn-attachment-topology-operation-activate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 312.0040283203125,
- "y": 206.00390625,
- "z": "4f77841b.f6c90c",
+ "x": 329.0040283203125,
+ "y": 207.00390625,
+ "z": "886e5ee7.da286",
"wires": [
[
- "e7e7b5c7.7cb0c8"
+ "91f5fd5b.cb45c"
]
]
},
{
- "id": "e7e7b5c7.7cb0c8",
+ "id": "91f5fd5b.cb45c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 328.0040283203125,
- "y": 761.0041508674622,
- "z": "4f77841b.f6c90c",
+ "x": 345.0040283203125,
+ "y": 762.0041508674622,
+ "z": "886e5ee7.da286",
"wires": [
[
- "581b91b6.06ff3",
- "680895fb.4f588c",
- "dc05cef1.a51f5",
- "89ef32f1.d5d63",
- "7184e2e7.8c461c",
- "f440893f.3eb748",
- "80cf693a.7220c8",
- "cab0e236.de21f",
- "84e0eeac.a2ba4",
- "602ccaa6.5c1754",
- "85ce847d.6d7528",
- "447e9068.877d",
- "4b7801cc.5bfc5",
- "195a1754.387c79",
- "17bafb78.38c045",
- "69a30b87.057684",
- "a26aed10.bae5b",
- "4c5d18d9.d86fb8",
- "bc43d14.b5aca3"
+ "f796ddaa.da23c",
+ "d7cfeb18.ac7528",
+ "b6393afd.3cacd8",
+ "81c5733e.5f25d",
+ "1053c083.232fef",
+ "42a877ee.39df08",
+ "d3f500c4.1bfb3",
+ "aa223239.c5978",
+ "44848e46.5ebac",
+ "b29f5799.241a78",
+ "3637e175.005c6e",
+ "295602b3.df648e",
+ "6a3ffb44.1e9004",
+ "6bb92832.c7ba68",
+ "1605273a.149319",
+ "93c61c2f.6bcfd",
+ "eba0b0a5.90799",
+ "e1d773b9.aec52",
+ "8f7266fc.c45038",
+ "5e07c169.5398c"
]
]
},
{
- "id": "581b91b6.06ff3",
+ "id": "f796ddaa.da23c",
"type": "set",
"name": "set tmp.ar.allotted-resource-id,etc",
- "xml": "<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n\n\n",
+ "xml": "<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n\n\n",
"comments": "",
- "x": 724.9974670410156,
- "y": 159.9973931312561,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 741.9974670410156,
+ "y": 160.9973931312561,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "c2f92da0.ae67f",
+ "id": "84a283be.00d5",
"type": "comment",
"name": "set tmp ar-id to fetch resource from MDSAL",
"info": "",
"comments": "",
- "x": 753.9577789306641,
- "y": 124.02918910980225,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 770.9577789306641,
+ "y": 125.02918910980225,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "680895fb.4f588c",
+ "id": "d7cfeb18.ac7528",
"type": "set",
"name": "set tmp.ar.self-link",
"xml": "<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:connection-attachment-allotted-resources/connection-attachment-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/connection-attachment-topology/'` \" />\n\n",
"comments": "",
- "x": 678.9974060058594,
- "y": 252.99739837646484,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 695.9974060058594,
+ "y": 253.99739837646484,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "cab0e236.de21f",
+ "id": "1053c083.232fef",
"type": "execute",
"name": "execute Properties",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 685.2592964172363,
- "y": 340.6641273498535,
- "z": "4f77841b.f6c90c",
+ "x": 702.2592964172363,
+ "y": 341.6641273498535,
+ "z": "886e5ee7.da286",
"wires": [
- [
-
- ]
+ []
]
},
{
- "id": "dc05cef1.a51f5",
+ "id": "b6393afd.3cacd8",
"type": "execute",
- "name": "generate allotted-resource url",
+ "name": "generate allotted-resource tmp.ar-url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 717.2593231201172,
- "y": 428.66410875320435,
- "z": "4f77841b.f6c90c",
+ "x": 749.2593536376953,
+ "y": 429.6641311645508,
+ "z": "886e5ee7.da286",
"wires": [
- [
-
- ]
- ]
- },
- {
- "id": "89ef32f1.d5d63",
- "type": "get-resource",
- "name": "get-resource connection-attachment-allotted-resource",
- "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='connection-attachment-allotted-resources/connection-attachment-allotted-resource/$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id/' pfx='mdsal-ar' >\n",
- "comments": "",
- "outputs": 1,
- "x": 787.9974212646484,
- "y": 518.77516746521,
- "z": "4f77841b.f6c90c",
- "wires": [
- [
- "c4c666a0.dc3b68",
- "2a74b364.08117c"
- ]
+ []
]
},
{
- "id": "74acb38d.a8df3c",
+ "id": "611b176c.616988",
"type": "comment",
"name": "GET connection-attachment-allotted-resource from mdsal",
"info": "",
"comments": "",
- "x": 794.8122177124023,
- "y": 490.5424861907959,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 795.8122863769531,
+ "y": 560.5425653457642,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "f5129fcf.6a5ca",
+ "id": "eec7a472.d0ac68",
"type": "comment",
"name": "Used for setting output to API Handler",
"info": "",
"comments": "",
- "x": 732.9974365234375,
- "y": 219.997407913208,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 749.9974365234375,
+ "y": 220.997407913208,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "d590f72a.b09d08",
+ "id": "5ba07193.a939c",
"type": "comment",
"name": "Obtain different URL, template location etc",
"info": "For saving resource information to MDSAL & for AAI",
"comments": "",
- "x": 750.9974021911621,
- "y": 305.8862886428833,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 767.9974021911621,
+ "y": 306.8862886428833,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "609f412.aec83c",
+ "id": "25108569.01c11a",
"type": "comment",
"name": "Used to Get AR by id to MDSAL, same as self-link",
"info": "",
"comments": "",
- "x": 776.9974212646484,
- "y": 392.8862476348877,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 793.9974212646484,
+ "y": 393.8862476348877,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "c4c666a0.dc3b68",
+ "id": "5268ad10.1fbc94",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1087.6706237792969,
- "y": 504.00389862060547,
- "z": "4f77841b.f6c90c",
+ "x": 1255.6706981658936,
+ "y": 578.0038909912109,
+ "z": "886e5ee7.da286",
"wires": [
[
- "2a674d20.0005d2"
+ "1b9b3a1f.4ecdd6"
]
]
},
{
- "id": "2a674d20.0005d2",
+ "id": "1b9b3a1f.4ecdd6",
"type": "block",
"name": "block: atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1256.6706275939941,
- "y": 502.50379943847656,
- "z": "4f77841b.f6c90c",
+ "x": 1399.6707763671875,
+ "y": 535.5038089752197,
+ "z": "886e5ee7.da286",
"wires": [
[
- "801d5833.48d068"
+ "b1843433.376208"
]
]
},
{
- "id": "801d5833.48d068",
+ "id": "b1843433.376208",
"type": "switchNode",
"name": "switch cr length",
"xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1467.5278701782227,
- "y": 502.12292861938477,
- "z": "4f77841b.f6c90c",
+ "x": 1568.5282001495361,
+ "y": 533.1229801177979,
+ "z": "886e5ee7.da286",
"wires": [
[
- "eb4c62e2.ed59e",
- "e1cf5942.513c08"
+ "72d20a43.d9be64",
+ "eb9d8f14.be82"
]
]
},
{
- "id": "eb4c62e2.ed59e",
+ "id": "72d20a43.d9be64",
"type": "other",
"name": "outcome 1",
"xml": "<outcome value='1'>\n",
"comments": "",
"outputs": 1,
- "x": 1656.8611755371094,
- "y": 502.12288665771484,
- "z": "4f77841b.f6c90c",
+ "x": 1723.8613357543945,
+ "y": 505.1228952407837,
+ "z": "886e5ee7.da286",
"wires": [
[
- "6ded2c0c.68e914"
+ "bb2299d5.286418"
]
]
},
{
- "id": "6ded2c0c.68e914",
+ "id": "bb2299d5.286418",
"type": "block",
"name": "block: atomic",
"xml": "<block atomic='true'>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1841.3850650787354,
- "y": 499.027720451355,
- "z": "4f77841b.f6c90c",
+ "x": 1882.385139465332,
+ "y": 503.02774238586426,
+ "z": "886e5ee7.da286",
"wires": [
[
- "f931a889.3afae8",
- "bd538141.56707",
- "57b77b8c.0f7844"
+ "5775f1db.84903",
+ "246f7da0.0df1c2",
+ "af0aec90.73323"
]
]
},
{
- "id": "482ef87f.84eaa8",
+ "id": "5facd3b6.9153ec",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: SOTN resource not found\" />\n \n",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: Connection attachment resource not exist\" />\n \n",
"comments": "",
- "x": 1800.5228652954102,
- "y": 580.0699520111084,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1822.5230712890625,
+ "y": 610.0699768066406,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "2a74b364.08117c",
+ "id": "ffb50ed4.11c7e",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1079.5224266052246,
- "y": 539.0699834823608,
- "z": "4f77841b.f6c90c",
+ "x": 1247.5225009918213,
+ "y": 613.0699758529663,
+ "z": "886e5ee7.da286",
"wires": [
[
- "ab1859dd.20d8a8"
+ "8996743b.6d4188"
]
]
},
{
- "id": "ab1859dd.20d8a8",
+ "id": "8996743b.6d4188",
"type": "block",
"name": "block: atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1259.5223770141602,
- "y": 539.7365341186523,
- "z": "4f77841b.f6c90c",
+ "x": 1427.5224514007568,
+ "y": 613.7365264892578,
+ "z": "886e5ee7.da286",
"wires": [
[
- "482ef87f.84eaa8"
+ "5facd3b6.9153ec"
]
]
},
{
- "id": "e1cf5942.513c08",
+ "id": "eb9d8f14.be82",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1645.1891288757324,
- "y": 539.4032468795776,
- "z": "4f77841b.f6c90c",
+ "x": 1715.189338684082,
+ "y": 564.4032697677612,
+ "z": "886e5ee7.da286",
"wires": [
[
- "482ef87f.84eaa8"
+ "5facd3b6.9153ec"
]
]
},
{
- "id": "f931a889.3afae8",
+ "id": "5775f1db.84903",
"type": "set",
"name": "set connection-attachment-ar from get",
"xml": "<set>\n<parameter name='connection-attachment-ar.' value='$mdsal-ar.connection-attachment-allotted-resource[0].' />\n",
"comments": "",
- "x": 2209.4485473632812,
- "y": 468.0039601325989,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2129.4485931396484,
+ "y": 476.00399446487427,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "57b77b8c.0f7844",
+ "id": "af0aec90.73323",
"type": "set",
"name": "set oper-status",
"xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-ar.allotted-resource-status.rpc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />\n\n",
"comments": "",
- "x": 2143.4485778808594,
- "y": 541.4324626922607,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2063.4486236572266,
+ "y": 549.4324970245361,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "bd538141.56707",
+ "id": "246f7da0.0df1c2",
"type": "switchNode",
"name": "switch order-status",
"xml": "<switch test='`$connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
"comments": "",
"outputs": 1,
- "x": 2153.448356628418,
- "y": 507.00389671325684,
- "z": "4f77841b.f6c90c",
+ "x": 2073.448402404785,
+ "y": 515.0039310455322,
+ "z": "886e5ee7.da286",
"wires": [
[
- "dff36ce6.7bfdb",
- "68d26983.d39818"
+ "9948e837.465828",
+ "ac517970.6daf78"
]
]
},
{
- "id": "dff36ce6.7bfdb",
+ "id": "9948e837.465828",
"type": "outcome",
"name": "outcome Created",
"xml": "<outcome value='Created'>\n",
"comments": "",
"outputs": 1,
- "x": 2389.048439025879,
- "y": 501.0039277076721,
- "z": "4f77841b.f6c90c",
+ "x": 2309.048484802246,
+ "y": 509.0039620399475,
+ "z": "886e5ee7.da286",
"wires": [
[
- "a20d7036.b7b91"
+ "d4094486.c3a6e8"
]
]
},
{
- "id": "68d26983.d39818",
+ "id": "ac517970.6daf78",
"type": "outcome",
"name": "outcome Other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2382.7628784179688,
- "y": 540.432535648346,
- "z": "4f77841b.f6c90c",
+ "x": 2302.762924194336,
+ "y": 548.4325699806213,
+ "z": "886e5ee7.da286",
"wires": [
[
- "95ec04c5.68c058"
+ "757a486d.390608"
]
]
},
{
- "id": "a20d7036.b7b91",
+ "id": "d4094486.c3a6e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2603.518955230713,
- "y": 502.37956190109253,
- "z": "4f77841b.f6c90c",
+ "x": 2467.519157409668,
+ "y": 509.37961769104004,
+ "z": "886e5ee7.da286",
"wires": [
- [
-
- ]
+ []
]
},
{
- "id": "95ec04c5.68c058",
+ "id": "757a486d.390608",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" \n value=\"`'Existing connection-attachment-allotted-resource with order status of ' + $connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status + '.'`\" />\n",
"comments": "",
- "x": 2622.6706581115723,
- "y": 543.0039258003235,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2478.670738220215,
+ "y": 547.0039691925049,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "a6cc9265.33dd9",
+ "id": "d09e7753.a74cd8",
"type": "call",
- "name": "call GENERIC-RESOURCE-API:sotn-get-request-input-param",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='connection-attachment-get-request-input-param' mode='sync' >\n",
+ "name": "call GENERIC-RESOURCE-API:sotn-get-saved-ar-param",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 975.3069458007812,
- "y": 608.4974617958069,
- "z": "4f77841b.f6c90c",
+ "x": 966.306957244873,
+ "y": 660.4975109100342,
+ "z": "886e5ee7.da286",
"wires": [
- [
-
- ]
+ []
]
},
{
- "id": "84e0eeac.a2ba4",
+ "id": "42a877ee.39df08",
"type": "block",
"name": "block: atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 657.3130226135254,
- "y": 608.5037484169006,
- "z": "4f77841b.f6c90c",
+ "x": 660.3130569458008,
+ "y": 661.5038814544678,
+ "z": "886e5ee7.da286",
"wires": [
[
- "a6cc9265.33dd9"
+ "d09e7753.a74cd8"
]
]
},
{
- "id": "7184e2e7.8c461c",
- "type": "get-resource",
- "name": "get-resource parent-service-data",
- "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='services/service/$tmp.ar.parent-service-instance-id/service-data' pfx='mdsal-psd' >\n",
- "comments": "",
- "outputs": 1,
- "x": 722.0043334960938,
- "y": 750.5355229377747,
- "z": "4f77841b.f6c90c",
- "wires": [
- [
- "1665d4d8.fb3cab",
- "7f1aaa67.966654"
- ]
- ]
- },
- {
- "id": "2d977877.2cdd28",
+ "id": "e91124de.b8d7d8",
"type": "comment",
"name": "GET parent-service-data from mdsal to check existence of other End point",
"info": "",
"comments": "",
- "x": 842.0042724609375,
- "y": 679.5354619026184,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 848.00439453125,
+ "y": 706.5356588363647,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "413accea.8047d4",
+ "id": "cfe58f57.1b13e",
"type": "for",
- "name": "for pidx..mdsal-psd.provided-allotted-resources.provided-allotted-resource[]",
- "xml": "<for index='pidx' start='0' end='`$mdsal-psd.provided-allotted-resources.provided-allotted-resource_length`' >\n",
+ "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",
+ "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1731.1887531280518,
- "y": 918.0080151557922,
- "z": "4f77841b.f6c90c",
+ "x": 1739.1891021728516,
+ "y": 859.0081362724304,
+ "z": "886e5ee7.da286",
"wires": [
[
- "bf28fd20.e4d9d"
+ "b90499b4.5bff18"
]
]
},
{
- "id": "f440893f.3eb748",
+ "id": "81c5733e.5f25d",
"type": "switchNode",
- "name": "switch mdsal-psd.provided-allotted-resources_length",
- "xml": "<switch test='`$mdsal-psd.provided-allotted-resources.provided-allotted-resource_length`'>\n",
+ "name": "switch mdsal-psd.service-data.provided-allotted-resources_length",
+ "xml": "<switch test='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 788.1881103515625,
- "y": 894.7219853401184,
- "z": "4f77841b.f6c90c",
+ "x": 823.1881256103516,
+ "y": 966.7221727371216,
+ "z": "886e5ee7.da286",
"wires": [
[
- "d800a1f4.f7982",
- "d253364d.d38c98",
- "2dc2ac81.8fbcc4"
+ "2b5852f4.1574ce",
+ "8b23ecf0.b4c98",
+ "2dc5a41e.bad62c"
]
]
},
{
- "id": "d800a1f4.f7982",
+ "id": "2b5852f4.1574ce",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1120.3309326171875,
- "y": 1171.5794072151184,
- "z": "4f77841b.f6c90c",
+ "x": 1151.3311462402344,
+ "y": 1039.5794467926025,
+ "z": "886e5ee7.da286",
"wires": [
[
- "c302abb6.eb05c8"
+ "4362d0c4.f5cb7"
]
]
},
{
- "id": "c4d4c7bb.632948",
+ "id": "3bb83710.9a5ab8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1314.4583415985107,
- "y": 912.705427646637,
- "z": "4f77841b.f6c90c",
+ "x": 1335.458408355713,
+ "y": 898.7054557800293,
+ "z": "886e5ee7.da286",
"wires": [
[
- "413accea.8047d4",
- "ce0b3f4a.08eea"
+ "cfe58f57.1b13e",
+ "44aafa72.840b94"
]
]
},
{
- "id": "bf28fd20.e4d9d",
+ "id": "b90499b4.5bff18",
"type": "switchNode",
"name": "switch allotted-resource-id",
- "xml": "<switch test=\"`$mdsal-psd.provided-allotted-resources.provided-allotted-resource[$cidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",
+ "xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 2166.3001537323,
- "y": 918.0079121589661,
- "z": "4f77841b.f6c90c",
+ "x": 2179.3004302978516,
+ "y": 856.0079383850098,
+ "z": "886e5ee7.da286",
"wires": [
[
- "1a1bdd33.763073",
- "f9268b46.a58948"
+ "d9f6094c.60f3c8",
+ "cb859d5.2b35e6"
]
]
},
{
- "id": "1a1bdd33.763073",
+ "id": "d9f6094c.60f3c8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2375.1103801727295,
- "y": 890.4724020957947,
- "z": "4f77841b.f6c90c",
+ "x": 2352.1106452941895,
+ "y": 827.4725532531738,
+ "z": "886e5ee7.da286",
"wires": [
[
- "c5aa7e99.1a51b"
+ "8ae27c1b.bd8dc"
]
]
},
{
- "id": "9c7d5f29.63bbc",
+ "id": "303a5029.c6676",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2554.8710765838623,
- "y": 954.329580783844,
- "z": "4f77841b.f6c90c",
+ "x": 2500.8711166381836,
+ "y": 884.3296403884888,
+ "z": "886e5ee7.da286",
"wires": [
[
- "dc636dab.29589",
- "1d4567ac.71fcc8"
+ "da88cefe.fe269"
]
]
},
{
- "id": "dc636dab.29589",
+ "id": "da88cefe.fe269",
"type": "set",
"name": "set tmp.pidx and ptx.consumed-ar",
- "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.provided-ar.' value='`$mdsal-psd.provided-allotted-resources.provided-allotted-resource[$pidx].`' />\n<parameter name='tmp.found-in-ar' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
+ "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.provided-ar.' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].`' />\n<parameter name='tmp.found-in-ar' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
"comments": "",
- "x": 2811.728582382202,
- "y": 928.9010949134827,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2735.728542327881,
+ "y": 882.9011726379395,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "1d4567ac.71fcc8",
- "type": "break",
- "name": "break",
- "xml": "<break>\n",
- "comments": "",
- "x": 2722.5893001556396,
- "y": 975.6571106910706,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
- },
- {
- "id": "b1ecb95e.fe19d8",
+ "id": "eb542676.9f39a8",
"type": "comment",
"name": "Check existence of other AR in parent service data",
"info": "Check if other allotted resource is available.",
"comments": "",
- "x": 777.966552734375,
- "y": 828.8967900276184,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 770.9665641784668,
+ "y": 871.8968677520752,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "d253364d.d38c98",
+ "id": "8b23ecf0.b4c98",
"type": "other",
"name": "outcome 1",
"xml": "<outcome value='1'>\n",
"comments": "",
"outputs": 1,
- "x": 1131.9833793640137,
- "y": 1042.6811718940735,
- "z": "4f77841b.f6c90c",
+ "x": 1165.9836158752441,
+ "y": 978.6811304092407,
+ "z": "886e5ee7.da286",
"wires": [
[
- "72798bd.8ed1174"
+ "eb826fe2.5c753"
]
]
},
{
- "id": "c302abb6.eb05c8",
+ "id": "4362d0c4.f5cb7",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: SOTN resource not found\" />\n \n",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: End points not available\" />\n \n",
"comments": "",
- "x": 1292.9832763671875,
- "y": 1170.68114900589,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1310.9834938049316,
+ "y": 1038.68137550354,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "2dc2ac81.8fbcc4",
+ "id": "2dc5a41e.bad62c",
"type": "other",
"name": "outcome 2",
"xml": "<outcome value='2'>\n",
"comments": "",
"outputs": 1,
- "x": 1139.983362197876,
- "y": 913.6811280250549,
- "z": "4f77841b.f6c90c",
+ "x": 1160.9834289550781,
+ "y": 899.6811561584473,
+ "z": "886e5ee7.da286",
"wires": [
[
- "c4d4c7bb.632948"
+ "3bb83710.9a5ab8"
]
]
},
{
- "id": "c5aa7e99.1a51b",
+ "id": "8ae27c1b.bd8dc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2533.0945949554443,
- "y": 889.6811451911926,
- "z": "4f77841b.f6c90c",
+ "x": 2510.0948600769043,
+ "y": 826.6812963485718,
+ "z": "886e5ee7.da286",
"wires": [
- [
-
- ]
+ []
]
},
{
- "id": "f9268b46.a58948",
+ "id": "cb859d5.2b35e6",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2374.0945949554443,
- "y": 952.6811451911926,
- "z": "4f77841b.f6c90c",
+ "x": 2359.0945014953613,
+ "y": 883.6811561584473,
+ "z": "886e5ee7.da286",
"wires": [
[
- "9c7d5f29.63bbc"
+ "303a5029.c6676"
]
]
},
{
- "id": "ce0b3f4a.08eea",
+ "id": "44aafa72.840b94",
"type": "switchNode",
"name": "switch tmp.found-in-ar",
"xml": "<switch test='`$tmp.found-in-ar`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 1560.9832668304443,
- "y": 989.4589009284973,
- "z": "4f77841b.f6c90c",
+ "x": 1547.9834060668945,
+ "y": 952.4589738845825,
+ "z": "886e5ee7.da286",
"wires": [
[
- "e09e23ee.bea8f"
+ "753da27d.40afec"
]
]
},
{
- "id": "e09e23ee.bea8f",
+ "id": "753da27d.40afec",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1783.9833126068115,
- "y": 988.5700707435608,
- "z": "4f77841b.f6c90c",
+ "x": 1718.98344039917,
+ "y": 953.5701951980591,
+ "z": "886e5ee7.da286",
"wires": [
[
- "8dfd0c85.a915"
+ "15dd4c54.90cd64"
]
]
},
{
- "id": "8dfd0c85.a915",
+ "id": "15dd4c54.90cd64",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1973.9833431243896,
- "y": 988.5701203346252,
- "z": "4f77841b.f6c90c",
- "wires": [
- [
- "c01e9fb3.005a4"
- ]
- ]
- },
- {
- "id": "c01e9fb3.005a4",
- "type": "get-resource",
- "name": "get-resource provided-ar.allotted-resource",
- "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='connection-attachment-allotted-resources/connection-attachment-allotted-resource/$tmp.provided-ar.allotted-resource-id/' pfx='mdsal-other-ar' >",
- "comments": "",
- "outputs": 1,
- "x": 2279.4276962280273,
- "y": 1040.5701661109924,
- "z": "4f77841b.f6c90c",
+ "x": 1867.9835357666016,
+ "y": 953.5701942443848,
+ "z": "886e5ee7.da286",
"wires": [
[
- "cdcbe6d0.564cd8",
- "d4c31f68.30c06"
+ "2865c930.441376",
+ "36209682.cdfdca"
]
]
},
{
- "id": "cdcbe6d0.564cd8",
+ "id": "2877490b.8d1876",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2579.100898742676,
- "y": 1025.798897266388,
- "z": "4f77841b.f6c90c",
+ "x": 2614.101360321045,
+ "y": 969.7990484237671,
+ "z": "886e5ee7.da286",
"wires": [
[
- "a8542804.b5e6c8"
+ "2c4d90a6.77e83"
]
]
},
{
- "id": "d4c31f68.30c06",
+ "id": "bf4a739d.0a26c",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2570.9527015686035,
- "y": 1060.8649821281433,
- "z": "4f77841b.f6c90c",
+ "x": 2605.9531631469727,
+ "y": 1004.8651332855225,
+ "z": "886e5ee7.da286",
"wires": [
[
- "7d0763b3.444adc"
+ "7b79fb1a.832b54"
]
]
},
{
- "id": "4f1efc93.85dab4",
+ "id": "24a003e8.d381ac",
"type": "switchNode",
- "name": "switch mdsal-psd.networks_length",
- "xml": "<switch test='`$mdsal-psd.networks.network_length`'>\n",
+ "name": "switch mdsal-psd.service-data.networks_length",
+ "xml": "<switch test='`$mdsal-psd.service-data.networks.network_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1558.3167724609375,
- "y": 1141.9036870002747,
- "z": "4f77841b.f6c90c",
+ "x": 1611.316909790039,
+ "y": 1053.903814315796,
+ "z": "886e5ee7.da286",
"wires": [
[
- "6774f061.befc3",
- "82b7323.6fb02d"
+ "1aeaa906.662367",
+ "d808e760.0f46c8"
]
]
},
{
- "id": "82b7323.6fb02d",
+ "id": "d808e760.0f46c8",
"type": "other",
"name": "outcome 1",
"xml": "<outcome value='1'>\n",
"comments": "",
"outputs": 1,
- "x": 1837.316650390625,
- "y": 1151.7924809455872,
- "z": "4f77841b.f6c90c",
+ "x": 1875.3167572021484,
+ "y": 1033.7925605773926,
+ "z": "886e5ee7.da286",
"wires": [
[
- "90c3e5fe.809838"
+ "e18d77e0.ca5578"
]
]
},
{
- "id": "6774f061.befc3",
+ "id": "1aeaa906.662367",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1831.3167724609375,
- "y": 1211.7924809455872,
- "z": "4f77841b.f6c90c",
+ "x": 1865.3168182373047,
+ "y": 1081.792531967163,
+ "z": "886e5ee7.da286",
"wires": [
[
- "f2dc069d.22e408"
+ "d8d07b23.4c08f8"
]
]
},
{
- "id": "f2dc069d.22e408",
+ "id": "d8d07b23.4c08f8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: Incorrect state found more then 1 network\" />\n \n",
"comments": "",
- "x": 1987.9691162109375,
- "y": 1212.8942875862122,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2003.9691619873047,
+ "y": 1083.894292831421,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "7296fdef.71a454",
+ "id": "3516f8ea.4360d8",
"type": "set",
"name": "set tmp.network.",
- "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.networks.network[0].`' />\n",
+ "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[0].`' />\n\n\n",
"comments": "",
- "x": 2284.7614822387695,
- "y": 1135.7926478385925,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2236.761615753174,
+ "y": 1034.792730331421,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "72798bd.8ed1174",
+ "id": "eb826fe2.5c753",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1304.427734375,
- "y": 1043.792419910431,
- "z": "4f77841b.f6c90c",
+ "x": 1333.4279251098633,
+ "y": 977.7923974990845,
+ "z": "886e5ee7.da286",
"wires": [
[
- "4f1efc93.85dab4"
+ "24a003e8.d381ac"
]
]
},
{
- "id": "90c3e5fe.809838",
+ "id": "e18d77e0.ca5578",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2029.0943603515625,
- "y": 1154.7923588752747,
- "z": "4f77841b.f6c90c",
+ "x": 2034.0945281982422,
+ "y": 1036.7923946380615,
+ "z": "886e5ee7.da286",
"wires": [
[
- "7296fdef.71a454",
- "f71acaf7.a5e418"
+ "3516f8ea.4360d8",
+ "fa997652.5fc978"
]
]
},
{
- "id": "f71acaf7.a5e418",
+ "id": "fa997652.5fc978",
"type": "for",
"name": "for nidx..tmp.network.network-data.network-request-input.network...[]",
"xml": "<for index='nidx' start='0' end='`$tmp.network.network-data.network-request-input.network-input-parameters.param_length`' >",
"comments": "",
"outputs": 1,
- "x": 2446.0944900512695,
- "y": 1202.79243516922,
- "z": "4f77841b.f6c90c",
+ "x": 2397.094566345215,
+ "y": 1082.7925491333008,
+ "z": "886e5ee7.da286",
"wires": [
[
- "bef42353.ac417"
+ "f89cda47.d902a8"
]
]
},
{
- "id": "bef42353.ac417",
+ "id": "f89cda47.d902a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2817.64990234375,
- "y": 1235.7923588752747,
- "z": "4f77841b.f6c90c",
+ "x": 2443.650634765625,
+ "y": 1313.7923583984375,
+ "z": "886e5ee7.da286",
"wires": [
[
- "7c3ef39d.83f20c",
- "18cbc1f3.8102ae",
- "d4ff5a6.b2eb6a8",
- "42092cc3.b6ed84",
- "297544d9.6ec98c",
- "66d53edd.cdef9",
- "b4d50d62.6f88a",
- "64cab1cd.5d443",
- "10c9f83a.94e8c8",
- "17843ccd.4f45d3"
+ "eff80839.760f28",
+ "81242a80.6995e8",
+ "a9774cfd.8e266",
+ "1742a4f9.42112b",
+ "e032978.6936268",
+ "b04f73ae.32d85",
+ "3f331e86.57efa2",
+ "d4d17449.0a3768",
+ "b369fa7c.e07e38",
+ "642263f7.dd00fc"
]
]
},
{
- "id": "7c3ef39d.83f20c",
+ "id": "eff80839.760f28",
"type": "switchNode",
"name": "switch access-node-id",
"xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'access-node-id'`\">",
"comments": "",
"outputs": 1,
- "x": 3023.1608505249023,
- "y": 1083.8029837608337,
- "z": "4f77841b.f6c90c",
+ "x": 2720.1608505249023,
+ "y": 1155.8031058311462,
+ "z": "886e5ee7.da286",
"wires": [
[
- "19483932.311cc7"
+ "3c2bf5ae.ea0f1a"
]
]
},
{
- "id": "19483932.311cc7",
+ "id": "3c2bf5ae.ea0f1a",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3212.1604766845703,
- "y": 1085.8028483390808,
- "z": "4f77841b.f6c90c",
+ "x": 2909.1604766845703,
+ "y": 1157.8029704093933,
+ "z": "886e5ee7.da286",
"wires": [
[
- "3b79183c.e90878"
+ "ff19cd9d.b44a2"
]
]
},
{
- "id": "3b79183c.e90878",
+ "id": "ff19cd9d.b44a2",
"type": "set",
"name": "set tmp.found-in-network tmp.ep-available",
"xml": "<set>\n<parameter name='tmp.found-in-network' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
"comments": "",
- "x": 3465.1606521606445,
- "y": 1085.4028944969177,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 3162.1606521606445,
+ "y": 1157.4030165672302,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "18cbc1f3.8102ae",
+ "id": "81242a80.6995e8",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
"comments": "",
- "x": 3004.1499557495117,
- "y": 1540.7923188209534,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2694.150302886963,
+ "y": 1529.7923970222473,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "80cf693a.7220c8",
+ "id": "295602b3.df648e",
"type": "switchNode",
"name": "switch tmp.ep-available",
"xml": "<switch test='`$tmp.ep-available`'>\n",
"comments": "",
"outputs": 1,
- "x": 714.3167114257812,
- "y": 1306.2366948127747,
- "z": "4f77841b.f6c90c",
+ "x": 686.3167266845703,
+ "y": 1162.236707687378,
+ "z": "886e5ee7.da286",
"wires": [
[
- "6819776a.dd6ac8",
- "786155e4.c1358c"
+ "49e6bbf9.737be4",
+ "71f6c993.d973c8"
]
]
},
{
- "id": "786155e4.c1358c",
+ "id": "71f6c993.d973c8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 932.9834308624268,
- "y": 1355.5700516700745,
- "z": "4f77841b.f6c90c",
+ "x": 904.9834461212158,
+ "y": 1211.5700645446777,
+ "z": "886e5ee7.da286",
"wires": [
[
- "86bbb2c8.73a38"
+ "71103f59.0e808"
]
]
},
{
- "id": "6819776a.dd6ac8",
+ "id": "49e6bbf9.737be4",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 937.8722324371338,
- "y": 1264.5701127052307,
- "z": "4f77841b.f6c90c",
+ "x": 909.8722476959229,
+ "y": 1120.570125579834,
+ "z": "886e5ee7.da286",
"wires": [
[
- "766accfd.fad464"
+ "20d8c152.565e0e"
]
]
},
{
- "id": "766accfd.fad464",
+ "id": "20d8c152.565e0e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1084.8722286224365,
- "y": 1266.4589257240295,
- "z": "4f77841b.f6c90c",
+ "x": 1056.8722438812256,
+ "y": 1122.4589385986328,
+ "z": "886e5ee7.da286",
"wires": [
- [
-
- ]
+ []
]
},
{
- "id": "86bbb2c8.73a38",
+ "id": "71103f59.0e808",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1103.094518661499,
- "y": 1353.5700097084045,
- "z": "4f77841b.f6c90c",
+ "x": 1075.094533920288,
+ "y": 1209.5700225830078,
+ "z": "886e5ee7.da286",
"wires": [
[
- "1a3bb9ea.5fc846",
- "bafdeb31.9bf788",
- "8302661e.daec38"
+ "44959453.f2ce1c",
+ "8bc2c84.596c538",
+ "431946d9.2130a8"
]
]
},
{
- "id": "1a3bb9ea.5fc846",
+ "id": "44959453.f2ce1c",
"type": "switchNode",
"name": "switch tmp.found-in-ar",
"xml": "<switch test='`$tmp.found-in-ar`'>\n",
"comments": "",
"outputs": 1,
- "x": 1333.20556640625,
- "y": 1288.5700688362122,
- "z": "4f77841b.f6c90c",
+ "x": 1301.2055473327637,
+ "y": 1176.5700225830078,
+ "z": "886e5ee7.da286",
"wires": [
[
- "2dbd7031.b0f13",
- "840dbee8.b38c3"
+ "37b8c945.c963b6",
+ "bce04597.421bd8"
]
]
},
{
- "id": "2dbd7031.b0f13",
+ "id": "37b8c945.c963b6",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1553.649938583374,
- "y": 1274.5700097084045,
- "z": "4f77841b.f6c90c",
+ "x": 1496.6499938964844,
+ "y": 1154.570083618164,
+ "z": "886e5ee7.da286",
"wires": [
[
- "26e907a2.2afef8"
+ "2970ed54.87cac2"
]
]
},
{
- "id": "840dbee8.b38c3",
+ "id": "bce04597.421bd8",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1554.64990234375,
- "y": 1320.5700688362122,
- "z": "4f77841b.f6c90c",
+ "x": 1493.64990234375,
+ "y": 1202.570068359375,
+ "z": "886e5ee7.da286",
"wires": [
[
- "adf3229f.c54ae"
+ "a5084037.7afaf"
]
]
},
{
- "id": "26e907a2.2afef8",
+ "id": "2970ed54.87cac2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1741.205602645874,
- "y": 1271.5700097084045,
- "z": "4f77841b.f6c90c",
+ "x": 1684.2056579589844,
+ "y": 1151.570083618164,
+ "z": "886e5ee7.da286",
"wires": [
[
- "87392ac2.70f368"
+ "c697bcdd.29bcd"
]
]
},
{
- "id": "adf3229f.c54ae",
+ "id": "a5084037.7afaf",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1742.20556640625,
- "y": 1319.5700688362122,
- "z": "4f77841b.f6c90c",
+ "x": 1681.20556640625,
+ "y": 1201.570068359375,
+ "z": "886e5ee7.da286",
"wires": [
[
- "e8d19413.2d1f98"
+ "10ed7f5b.5c00f1"
]
]
},
{
- "id": "ea1f1cf0.78972",
+ "id": "3b7ac17e.0f823e",
"type": "comment",
"name": "GET connection-attachment-ar to store AR data from mdsal",
"info": "",
"comments": "",
- "x": 2273.4766960144043,
- "y": 430.5078196525574,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2193.4767417907715,
+ "y": 438.50785398483276,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "9aaa3746.59be18",
+ "id": "71841c48.209304",
"type": "comment",
"name": "Set source end point",
"info": "",
"comments": "",
- "x": 678.9765739440918,
- "y": 576.2578291893005,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 682.9766387939453,
+ "y": 527.2578740119934,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "602ccaa6.5c1754",
+ "id": "d3f500c4.1bfb3",
"type": "set",
"name": "set tmp.ar.parent-service-instance-id",
"xml": "<set>\n<parameter name='tmp.ar.parent-service-instance-id' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n\n",
"comments": "",
- "x": 732.97265625,
- "y": 715.0039067268372,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 733.9727325439453,
+ "y": 736.0039968490601,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "1665d4d8.fb3cab",
+ "id": "7ecc4648.197a88",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 968.97265625,
- "y": 743.0039067268372,
- "z": "4f77841b.f6c90c",
+ "x": 1093.972885131836,
+ "y": 807.0039834976196,
+ "z": "886e5ee7.da286",
"wires": [
[
- "d2585978.579578"
+ "2393b2c8.86b16e"
]
]
},
{
- "id": "7f1aaa67.966654",
+ "id": "dfe397a0.b9ba28",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 960.8244590759277,
- "y": 778.0699915885925,
- "z": "4f77841b.f6c90c",
+ "x": 1085.8246879577637,
+ "y": 842.070068359375,
+ "z": "886e5ee7.da286",
"wires": [
[
- "417b4b0.5e31db4"
+ "1a3d638c.318b9c"
]
]
},
{
- "id": "417b4b0.5e31db4",
+ "id": "1a3d638c.318b9c",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: SOTN resource not found\" />\n \n",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: Parent service data not available\" />\n \n",
"comments": "",
- "x": 1135.97314453125,
- "y": 774.3373417854309,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1231.9734687805176,
+ "y": 841.3374795913696,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "d2585978.579578",
+ "id": "2393b2c8.86b16e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1119.97265625,
- "y": 741.0039067268372,
- "z": "4f77841b.f6c90c",
+ "x": 1224.9729804992676,
+ "y": 807.0040445327759,
+ "z": "886e5ee7.da286",
"wires": [
- [
-
- ]
+ []
]
},
{
- "id": "7d0763b3.444adc",
+ "id": "7b79fb1a.832b54",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: SOTN provided attachment resource not found\" />\n \n",
"comments": "",
- "x": 2740.9725818634033,
- "y": 1062.0040020942688,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2755.973213195801,
+ "y": 1005.00417137146,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "a8542804.b5e6c8",
+ "id": "2c4d90a6.77e83",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2724.9725818634033,
- "y": 1023.0040020942688,
- "z": "4f77841b.f6c90c",
+ "x": 2740.9733352661133,
+ "y": 972.0041561126709,
+ "z": "886e5ee7.da286",
"wires": [
- [
-
- ]
+ []
]
},
{
- "id": "85ce847d.6d7528",
+ "id": "aa223239.c5978",
"type": "set",
"name": "set tmp.found-in-ar tmp.found-in-network tmp.ep-available to false",
"xml": "<set>\n<parameter name='tmp.found-in-ar' value='false' />\n<parameter name='tmp.found-in-network' value='false' />\n<parameter name='tmp.ep-available' value='false' />",
"comments": "",
- "x": 824.97265625,
- "y": 860.0039067268372,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 819.9726715087891,
+ "y": 909.0039710998535,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "3af7f371.2bc2ac",
+ "id": "3eb9877e.29bda8",
"type": "comment",
"name": "If other EP exists set destination end point",
"info": "Check if other allotted resource is available.",
"comments": "",
- "x": 764.97265625,
- "y": 1231.0039067268372,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 736.9726715087891,
+ "y": 1087.0039196014404,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "5c493845.192678",
+ "id": "6bea5b5c.cc56a4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1531.97265625,
- "y": 1437.0039067268372,
- "z": "4f77841b.f6c90c",
+ "x": 1476.9727935791016,
+ "y": 1414.0042009353638,
+ "z": "886e5ee7.da286",
"wires": [
[
- "3869f025.0085f",
- "6d83eb1f.c06da4",
- "4ef9f41a.4cbccc",
- "6ef50d20.7a2d94",
- "1ec5a1f5.39482e",
- "2020b84a.aa3f78",
- "2fc4c609.3e5f6a",
- "8d865fcb.ed997"
+ "873a1eb1.c2b41",
+ "ec2f2c59.85a72",
+ "4344ccac.0cc2d4",
+ "3e861847.acb138",
+ "dbce043e.c1b088",
+ "6cf22112.6f2ff",
+ "447be204.cdf4fc",
+ "3722b20a.c8338e"
]
]
},
{
- "id": "3869f025.0085f",
+ "id": "873a1eb1.c2b41",
"type": "switchNode",
"name": "switch access-node-id",
"xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-node-id'`\">",
"comments": "",
"outputs": 1,
- "x": 1768.48291015625,
- "y": 1370.0142827033997,
- "z": "4f77841b.f6c90c",
+ "x": 1719.4830951690674,
+ "y": 1284.014597415924,
+ "z": "886e5ee7.da286",
"wires": [
[
- "c5fce3c7.fd67c"
+ "e78fa7d0.0dc8a8"
]
]
},
{
- "id": "6d83eb1f.c06da4",
+ "id": "ec2f2c59.85a72",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
"comments": "",
- "x": 1741.4728622436523,
- "y": 1675.0042462348938,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1692.4730472564697,
+ "y": 1589.0045609474182,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "4ef9f41a.4cbccc",
+ "id": "4344ccac.0cc2d4",
"type": "switchNode",
"name": "switch access-ltp-id",
"xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-ltp-id'`\">",
"comments": "",
"outputs": 1,
- "x": 1759.9727401733398,
- "y": 1413.7818140983582,
- "z": "4f77841b.f6c90c",
+ "x": 1710.9729251861572,
+ "y": 1327.7821288108826,
+ "z": "886e5ee7.da286",
"wires": [
[
- "28368228.3fc38e"
+ "e0447eeb.b4df4"
]
]
},
{
- "id": "6ef50d20.7a2d94",
+ "id": "3e861847.acb138",
"type": "switchNode",
"name": "switch clientSignal",
"xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'clientSignal'`\">",
"comments": "",
"outputs": 1,
- "x": 1753.9727783203125,
- "y": 1459.7818608283997,
- "z": "4f77841b.f6c90c",
+ "x": 1704.9729633331299,
+ "y": 1373.782175540924,
+ "z": "886e5ee7.da286",
"wires": [
[
- "acc31d1c.59732"
+ "851a1f33.b90d6"
]
]
},
{
- "id": "1ec5a1f5.39482e",
+ "id": "dbce043e.c1b088",
"type": "switchNode",
"name": "switch cVLAN",
"xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'cVLAN'`\">",
"comments": "",
"outputs": 1,
- "x": 1737.9622802734375,
- "y": 1498.7713627815247,
- "z": "4f77841b.f6c90c",
+ "x": 1688.9624652862549,
+ "y": 1412.771677494049,
+ "z": "886e5ee7.da286",
"wires": [
[
- "d493c625.a30ae8"
+ "cde9b854.f3d7e8"
]
]
},
{
- "id": "c5fce3c7.fd67c",
+ "id": "e78fa7d0.0dc8a8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1946.19482421875,
- "y": 1370.6706547737122,
- "z": "4f77841b.f6c90c",
+ "x": 1897.1950092315674,
+ "y": 1284.6709694862366,
+ "z": "886e5ee7.da286",
"wires": [
[
- "11ae82e.b231c7d"
+ "bfb532e5.03a1a"
]
]
},
{
- "id": "11ae82e.b231c7d",
+ "id": "bfb532e5.03a1a",
"type": "set",
"name": "set dst-access-node-id",
"xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$tmp.ep.parameters.param[$idx].value`' />",
"comments": "",
- "x": 2119.19482421875,
- "y": 1370.2706303596497,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2072.1950092315674,
+ "y": 1284.270944595337,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "28368228.3fc38e",
+ "id": "e0447eeb.b4df4",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1941.6846923828125,
- "y": 1413.4381108283997,
- "z": "4f77841b.f6c90c",
+ "x": 1892.6848773956299,
+ "y": 1327.438425540924,
+ "z": "886e5ee7.da286",
"wires": [
[
- "304613c.5ad2cec"
+ "b05efaae.c42928"
]
]
},
{
- "id": "acc31d1c.59732",
+ "id": "851a1f33.b90d6",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1941.6846923828125,
- "y": 1459.4381108283997,
- "z": "4f77841b.f6c90c",
+ "x": 1892.6848773956299,
+ "y": 1373.438425540924,
+ "z": "886e5ee7.da286",
"wires": [
[
- "fab4a63a.f922d8"
+ "24c05af2.8faa76"
]
]
},
{
- "id": "d493c625.a30ae8",
+ "id": "cde9b854.f3d7e8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1941.6741943359375,
- "y": 1498.4277348518372,
- "z": "4f77841b.f6c90c",
+ "x": 1892.6743793487549,
+ "y": 1412.4280495643616,
+ "z": "886e5ee7.da286",
"wires": [
[
- "2e48f16d.306a3e"
+ "27931eaa.157cb2"
]
]
},
{
- "id": "bafdeb31.9bf788",
+ "id": "8bc2c84.596c538",
"type": "for",
"name": "for idx..tmp.ep.parameters[]",
- "xml": "<for index='idx' start='0' end='`$tmp.ep.parameters.param_length`' >",
+ "xml": "<for index='idx' start='0' end='`$tmp.ep.parameters.param_length`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 1349.97265625,
- "y": 1370.0039067268372,
- "z": "4f77841b.f6c90c",
+ "x": 1329.97265625,
+ "y": 1302.00390625,
+ "z": "886e5ee7.da286",
"wires": [
[
- "5c493845.192678"
+ "6bea5b5c.cc56a4"
]
]
},
{
- "id": "87392ac2.70f368",
+ "id": "c697bcdd.29bcd",
"type": "set",
"name": "set tmp.ep.parameters",
- "xml": "<set>\n<parameter name='tmp.ep.parameters' value='`$mdsal-other-ar.allotted-resource-data.connection-attachment-topology.connection-attachment-parameters`' />",
+ "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$mdsal-other-ar.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.`' />\n",
"comments": "",
- "x": 1952.97265625,
- "y": 1271.0039067268372,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1895.9727115631104,
+ "y": 1151.0039806365967,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "e8d19413.2d1f98",
+ "id": "10ed7f5b.5c00f1",
"type": "set",
"name": "set tmp.ep.parameters",
- "xml": "<set>\n<parameter name='tmp.ep.parameters' value='`$tmp.network.network-data.network-request-input.network-input-parameters`' />\n",
+ "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$tmp.network.network-data.network-request-input.network-input-parameters.`' />\n",
"comments": "",
- "x": 1953.972620010376,
- "y": 1315.0039658546448,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1892.972620010376,
+ "y": 1197.0039653778076,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "304613c.5ad2cec",
+ "id": "b05efaae.c42928",
"type": "set",
"name": "set dst-access-node-id",
"xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$tmp.ep.parameters.param[$idx].value`' />",
"comments": "",
- "x": 2118.97265625,
- "y": 1413.0039067268372,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2069.9728412628174,
+ "y": 1327.0042214393616,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "fab4a63a.f922d8",
+ "id": "24c05af2.8faa76",
"type": "set",
"name": "set dst-clientSignal",
"xml": "<set>\n<parameter name='prop.remote.connection-attachment.clientSignal' value='`$tmp.ep.parameters.param[$idx].value`' />",
"comments": "",
- "x": 2112.97265625,
- "y": 1457.0039067268372,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2063.9728412628174,
+ "y": 1371.0042214393616,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "2e48f16d.306a3e",
+ "id": "27931eaa.157cb2",
"type": "set",
"name": "set dst-cVLAN",
"xml": "<set>\n<parameter name='prop.remote.connection-attachment.cVLAN' value='`$tmp.ep.parameters.param[$idx].value`' />",
"comments": "",
- "x": 2103.97265625,
- "y": 1496.0039067268372,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
- },
- {
- "id": "8302661e.daec38",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 743.97265625,
- "y": 1598.0039067268372,
- "z": "4f77841b.f6c90c",
- "wires": [
- [
- "fe3d007c.a7b3a",
- "d535134a.50d41"
- ]
- ]
+ "x": 2054.9728412628174,
+ "y": 1410.0042214393616,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "bec1e4c7.8b8598",
+ "id": "1eb5604c.140ea",
"type": "comment",
"name": "Get controller info and send request",
"info": "",
"comments": "",
- "x": 693.97265625,
- "y": 1560.0039067268372,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1936.972713470459,
+ "y": 1881.004059791565,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "17954934.ffd177",
+ "id": "4c07dee.6ce442",
"type": "execute",
"name": "execute RestApiCallNode Create ethernet Service",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + 'restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 1386.9726867675781,
- "y": 2076.0046677589417,
- "z": "4f77841b.f6c90c",
+ "x": 1989.97314453125,
+ "y": 2024.0048599243164,
+ "z": "886e5ee7.da286",
"wires": [
[
- "cabe4ed3.59977",
- "efc13d2a.c27fa"
+ "ebb13c18.63d5b",
+ "27ef146.5170fec"
]
]
},
{
- "id": "cabe4ed3.59977",
+ "id": "ebb13c18.63d5b",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1673.9726791381836,
- "y": 2097.004617214203,
- "z": "4f77841b.f6c90c",
+ "x": 2255.972869873047,
+ "y": 2053.004982948303,
+ "z": "886e5ee7.da286",
"wires": [
[
- "4d9476e4.ffbd08"
+ "3abdd3d8.70de3c"
]
]
},
{
- "id": "4d9476e4.ffbd08",
+ "id": "3abdd3d8.70de3c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1843.9726181030273,
- "y": 2100.004617214203,
- "z": "4f77841b.f6c90c",
+ "x": 2403.972869873047,
+ "y": 2051.0048608779907,
+ "z": "886e5ee7.da286",
"wires": [
- [
-
- ]
+ []
]
},
{
- "id": "cb5d2c8f.264c6",
+ "id": "252b7082.c5a2b",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",
"comments": "",
- "x": 1843.9727401733398,
- "y": 2056.004617214203,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2385.972900390625,
+ "y": 1998.0049209594727,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "efc13d2a.c27fa",
+ "id": "27ef146.5170fec",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1676.9726181030273,
- "y": 2056.004617214203,
- "z": "4f77841b.f6c90c",
+ "x": 2246.9728088378906,
+ "y": 1998.0049209594727,
+ "z": "886e5ee7.da286",
"wires": [
[
- "cb5d2c8f.264c6"
+ "252b7082.c5a2b"
]
]
},
{
- "id": "e2b1aa80.433d58",
+ "id": "b6a98854.3d7a58",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 994.7349166870117,
- "y": 2668.9571779966354,
- "z": "4f77841b.f6c90c",
+ "x": 908.7350807189941,
+ "y": 2104.9576148986816,
+ "z": "886e5ee7.da286",
"wires": [
[
- "49e7952b.6308dc"
+ "35924502.aff77a"
]
]
},
{
- "id": "49e7952b.6308dc",
+ "id": "35924502.aff77a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"AAI failed\" />\n",
"comments": "",
- "x": 1161.2587966918945,
- "y": 2680.5762490034103,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1075.2589015960693,
+ "y": 2131.5766220092773,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "b0220db9.73208",
+ "id": "89209832.9697d8",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1001.8302040100098,
- "y": 2701.719145655632,
- "z": "4f77841b.f6c90c",
+ "x": 910.8303089141846,
+ "y": 2152.719457626343,
+ "z": "886e5ee7.da286",
"wires": [
[
- "49e7952b.6308dc"
+ "35924502.aff77a"
]
]
},
{
- "id": "8836c87e.2127d8",
+ "id": "48f4ae61.b756e",
"type": "comment",
"name": "Save Resource to AAI",
"info": "",
"comments": "",
- "x": 713.7826309204102,
- "y": 2651.3065662384033,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
- },
- {
- "id": "ae69a5b4.bcb4d8",
- "type": "comment",
- "name": "TODO: Rework after confirmation from AAI",
- "info": "",
- "comments": "",
- "x": 1014.1415405273438,
- "y": 2628.8776049613953,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 682.7827243804932,
+ "y": 2093.3067779541016,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "a26aed10.bae5b",
+ "id": "e1d773b9.aec52",
"type": "set",
"name": "set output to api handler",
"xml": "<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='connection-attachment-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $connection-attachment-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",
"comments": "",
- "x": 728.5503273010254,
- "y": 2572.8320474624634,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 697.5504207611084,
+ "y": 2014.8322591781616,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "4c5d18d9.d86fb8",
+ "id": "5e07c169.5398c",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
"comments": "",
- "x": 696.9634094238281,
- "y": 2733.447799682617,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 657.9635925292969,
+ "y": 2200.4480476379395,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "69a30b87.057684",
+ "id": "eba0b0a5.90799",
"type": "execute",
"name": "execute RestApiCallNode - PUT AR by id",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.sotn-attachment.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 778.2824287414551,
- "y": 2480.4728212356567,
- "z": "4f77841b.f6c90c",
+ "x": 750.2825031280518,
+ "y": 1939.4731121063232,
+ "z": "886e5ee7.da286",
"wires": [
[
- "28d10010.8846d",
- "a946bcd6.894fb",
- "dceabbc6.4f8628"
+ "88c5e9d5.563c18",
+ "ade401d9.d9d7d",
+ "c5f54133.a8e19"
]
]
},
{
- "id": "28d10010.8846d",
+ "id": "88c5e9d5.563c18",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1046.9238052368164,
- "y": 2531.8042329773307,
- "z": "4f77841b.f6c90c",
+ "x": 1004.9239253997803,
+ "y": 1983.8045063018799,
+ "z": "886e5ee7.da286",
"wires": [
[
- "8ae56ed5.c0311"
+ "effa0e45.a8e79"
]
]
},
{
- "id": "a946bcd6.894fb",
+ "id": "ade401d9.d9d7d",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1037.9238548278809,
- "y": 2500.3042587265372,
- "z": "4f77841b.f6c90c",
+ "x": 1006.9239482879639,
+ "y": 1942.3044704422355,
+ "z": "886e5ee7.da286",
"wires": [
[
- "8ae56ed5.c0311"
+ "effa0e45.a8e79"
]
]
},
{
- "id": "dceabbc6.4f8628",
+ "id": "c5f54133.a8e19",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1041.6738929748535,
- "y": 2470.6613636016846,
- "z": "4f77841b.f6c90c",
+ "x": 1010.6740322113037,
+ "y": 1893.6616230010986,
+ "z": "886e5ee7.da286",
"wires": [
[
- "fec8c7a7.259eb8"
+ "f45f0673.a366c8"
]
]
},
{
- "id": "8ae56ed5.c0311",
+ "id": "effa0e45.a8e79",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error updating md-sal for connection-attachment-allotted-resource\" />\n",
"comments": "",
- "x": 1207.6738929748535,
- "y": 2501.054282568395,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1165.67405128479,
+ "y": 1962.054536819458,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "fec8c7a7.259eb8",
+ "id": "f45f0673.a366c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1183.3298606872559,
- "y": 2466.8535327911377,
- "z": "4f77841b.f6c90c",
+ "x": 1138.3299770355225,
+ "y": 1895.8537912368774,
+ "z": "886e5ee7.da286",
"wires": [
- [
-
- ]
+ []
]
},
{
- "id": "447e9068.877d",
+ "id": "6a3ffb44.1e9004",
"type": "set",
"name": "set ar-data",
"xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-status.action' value=\"`$connection-attachment-topology-operation-input.request-information.request-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-name' value=\"connection-attachment-topology-operation\" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-action' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$connection-attachment-topology-operation-input.request-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$connection-attachment-topology-operation-input.service-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.` \" />",
"comments": "",
- "x": 683.4960250854492,
- "y": 2331.8538014888763,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 652.4961185455322,
+ "y": 1773.8540132045746,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "195a1754.387c79",
+ "id": "1605273a.149319",
"type": "execute",
"name": "execute getTime",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 700.781867980957,
- "y": 2404.4733991622925,
- "z": "4f77841b.f6c90c",
+ "x": 669.78196144104,
+ "y": 1846.4736108779907,
+ "z": "886e5ee7.da286",
"wires": [
- [
-
- ]
+ []
]
},
{
- "id": "17bafb78.38c045",
+ "id": "93c61c2f.6bcfd",
"type": "set",
"name": "set allotted-resource-oper-status",
"xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Active' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-topology-operation-input.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",
"comments": "",
- "x": 750.7689476013184,
- "y": 2441.424479484558,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 719.7690410614014,
+ "y": 1883.4246912002563,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "4b7801cc.5bfc5",
+ "id": "6bb92832.c7ba68",
"type": "set",
"name": "set model-data",
"xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.` \" />",
"comments": "",
- "x": 697.3375663757324,
- "y": 2371.0284519195557,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 666.3376598358154,
+ "y": 1813.028663635254,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "4bbe982e.918098",
+ "id": "4d71f89f.b7cd18",
"type": "comment",
"name": "Prepare data for allotted-resource addition to MDSAL",
"info": "This will add to allotted-resource which is present inside service.",
"comments": "",
- "x": 810.671028137207,
- "y": 2292.0284039974213,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 779.67112159729,
+ "y": 1734.0286157131195,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "cbc69d8c.531e6",
+ "id": "5c1a3e33.04e12",
"type": "comment",
"name": "Add to allotted-resources in mdsal",
"info": "",
"comments": "",
- "x": 752.2508544921875,
- "y": 2259.4417057037354,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 721.2509479522705,
+ "y": 1701.4419174194336,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "bc43d14.b5aca3",
+ "id": "8f7266fc.c45038",
"type": "update",
"name": "update AAI allotted-resource",
"xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"description\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type`\" />\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<parameter name=\"model-invariant-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid`\" />\n\t<parameter name=\"operational-status\" value=\"Active\" />\n",
"comments": "",
"outputs": 1,
- "x": 740.2269096374512,
- "y": 2688.7587089538574,
- "z": "4f77841b.f6c90c",
+ "x": 709.2270030975342,
+ "y": 2130.7589206695557,
+ "z": "886e5ee7.da286",
"wires": [
[
- "e2b1aa80.433d58",
- "b0220db9.73208"
+ "b6a98854.3d7a58",
+ "89209832.9697d8"
]
]
},
{
- "id": "fe3d007c.a7b3a",
+ "id": "f51b8e7a.4294a",
"type": "execute",
"name": "execute RestApiCallNode getPath from OOF",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 1050.9766693115234,
- "y": 1586.2583985328674,
- "z": "4f77841b.f6c90c",
+ "x": 1517.976963043213,
+ "y": 1693.2585725784302,
+ "z": "886e5ee7.da286",
"wires": [
[
- "4a299f49.a1b2",
- "c4483a2a.ee5b88"
+ "475ee246.c4d58c",
+ "951a0e07.b45a7"
]
]
},
{
- "id": "4a299f49.a1b2",
+ "id": "475ee246.c4d58c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1357.9766120910645,
- "y": 1607.2582454681396,
- "z": "4f77841b.f6c90c",
+ "x": 1757.9771041870117,
+ "y": 1717.258542060852,
+ "z": "886e5ee7.da286",
"wires": [
[
- "5d2783a1.6d3b9c"
+ "2cebb233.b139be"
]
]
},
{
- "id": "5d2783a1.6d3b9c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1527.9765510559082,
- "y": 1610.2582454681396,
- "z": "4f77841b.f6c90c",
- "wires": [
- [
-
- ]
- ]
- },
- {
- "id": "17a7cdf5.434e32",
+ "id": "dfc21d27.a29bd",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing OOF api\" />\n",
"comments": "",
- "x": 1527.9766731262207,
- "y": 1566.2582454681396,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1896.977138519287,
+ "y": 1666.2586336135864,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "c4483a2a.ee5b88",
+ "id": "951a0e07.b45a7",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1360.9765510559082,
- "y": 1566.2582454681396,
- "z": "4f77841b.f6c90c",
+ "x": 1756.9768905639648,
+ "y": 1666.258632659912,
+ "z": "886e5ee7.da286",
"wires": [
[
- "17a7cdf5.434e32"
+ "dfc21d27.a29bd"
]
]
},
{
- "id": "f41dba91.d30b78",
+ "id": "d7025fc8.34b0f",
"type": "comment",
"name": "Get VPNs from OOF",
"info": "",
"comments": "",
- "x": 970.9805603027344,
- "y": 1549.2623658180237,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1503.980884552002,
+ "y": 1660.2625722885132,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "d535134a.50d41",
+ "id": "7306bfe1.33065",
"type": "for",
"name": "for vidx..oof.vpns_length[]",
"xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",
"comments": "",
"outputs": 1,
- "x": 1001.9765586853027,
- "y": 1670.5079641342163,
- "z": "4f77841b.f6c90c",
+ "x": 1470.9766845703125,
+ "y": 1798.50830078125,
+ "z": "886e5ee7.da286",
"wires": [
[
- "1e57fa4c.c37666"
+ "3edaf3bd.0b304c"
]
]
},
{
- "id": "39fad139.2c54be",
+ "id": "9a8b6203.49db4",
"type": "comment",
"name": "Loop through VPN and configure them",
"info": "",
"comments": "",
- "x": 1023.976676940918,
- "y": 1634.0082244873047,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1500.977138519287,
+ "y": 1761.0086650848389,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "d4ff5a6.b2eb6a8",
+ "id": "a9774cfd.8e266",
"type": "switchNode",
"name": "switch name",
- "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
+ "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'name'`\">\n \n",
"comments": "",
"outputs": 1,
- "x": 3002.7609481811523,
- "y": 1181.1256585121155,
- "z": "4f77841b.f6c90c",
+ "x": 2697.760986328125,
+ "y": 1247.125732421875,
+ "z": "886e5ee7.da286",
"wires": [
[
- "3a16beb3.77fd72"
+ "a313d119.ec211"
]
]
},
{
- "id": "3a16beb3.77fd72",
+ "id": "a313d119.ec211",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3189.760955810547,
- "y": 1175.1255955696106,
- "z": "4f77841b.f6c90c",
+ "x": 2886.760955810547,
+ "y": 1247.125717639923,
+ "z": "886e5ee7.da286",
"wires": [
[
- "16ef01df.25c11e"
+ "3a640881.1aa1d8"
]
]
},
{
- "id": "16ef01df.25c11e",
+ "id": "3a640881.1aa1d8",
"type": "set",
"name": "set etht-svc-name & bandwidth-profile-name",
- "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n<parameter name='prop.global.sotn.bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='prop.global.sotn.bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
"comments": "",
- "x": 3451.761245727539,
- "y": 1161.7256226539612,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 3127.76127243042,
+ "y": 1246.7257723808289,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "42092cc3.b6ed84",
+ "id": "1742a4f9.42112b",
"type": "switchNode",
"name": "switch description",
- "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'description'`\">\n",
+ "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'description'`\">\n",
"comments": "",
"outputs": 1,
- "x": 3013.600616455078,
- "y": 1219.125593662262,
- "z": "4f77841b.f6c90c",
+ "x": 2710.6008644104004,
+ "y": 1282.1258273124695,
+ "z": "886e5ee7.da286",
"wires": [
[
- "23eb9630.e037ca"
+ "26c6398e.ae40a6"
]
]
},
{
- "id": "23eb9630.e037ca",
+ "id": "26c6398e.ae40a6",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3183.600616455078,
- "y": 1215.125593662262,
- "z": "4f77841b.f6c90c",
+ "x": 2885.600929260254,
+ "y": 1284.1258130073547,
+ "z": "886e5ee7.da286",
"wires": [
[
- "eb3f5617.6e6248"
+ "ec7ec9cc.624b18"
]
]
},
{
- "id": "eb3f5617.6e6248",
+ "id": "ec7ec9cc.624b18",
"type": "set",
"name": "set etht-svc-descr",
- "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-descr' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-descr' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
"comments": "",
- "x": 3370.934057235718,
- "y": 1213.5867505073547,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 3041.9342460632324,
+ "y": 1281.5868878364563,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "297544d9.6ec98c",
+ "id": "e032978.6936268",
"type": "switchNode",
"name": "switch tenantId",
- "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'tenantId'`\">\n",
+ "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'tenantId'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2998.983009338379,
- "y": 1265.4589972496033,
- "z": "4f77841b.f6c90c",
+ "x": 2705.983127593994,
+ "y": 1315.4592175483704,
+ "z": "886e5ee7.da286",
"wires": [
[
- "dbc7c34c.cdaf7"
+ "a0536f01.8cf66"
]
]
},
{
- "id": "dbc7c34c.cdaf7",
+ "id": "a0536f01.8cf66",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3190.982997894287,
- "y": 1258.458920955658,
- "z": "4f77841b.f6c90c",
+ "x": 2883.9831314086914,
+ "y": 1319.4590954780579,
+ "z": "886e5ee7.da286",
"wires": [
[
- "6550e027.0b278"
+ "a1009c69.a8fed"
]
]
},
{
- "id": "6550e027.0b278",
+ "id": "a1009c69.a8fed",
"type": "set",
"name": "set tenantId",
- "xml": "<set>\n<parameter name='prop.global.sotn.tenantId' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "xml": "<set>\n<parameter name='prop.global.sotn.tenantId' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
"comments": "",
- "x": 3358.982997894287,
- "y": 1259.0589270591736,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 3021.9833183288574,
+ "y": 1316.0590710639954,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "b4d50d62.6f88a",
+ "id": "3f331e86.57efa2",
"type": "switchNode",
- "name": "switch CIR",
- "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'CIR'`\">\n",
+ "name": "switch cir",
+ "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'cir'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2985.822654724121,
- "y": 1352.4589791297913,
- "z": "4f77841b.f6c90c",
+ "x": 2688.822727203369,
+ "y": 1388.4591727256775,
+ "z": "886e5ee7.da286",
"wires": [
[
- "451e6ff5.dd741"
+ "937bdc12.dc2f3"
]
]
},
{
- "id": "451e6ff5.dd741",
+ "id": "937bdc12.dc2f3",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3193.822723388672,
- "y": 1348.4589924812317,
- "z": "4f77841b.f6c90c",
+ "x": 2883.8227920532227,
+ "y": 1389.4591727256775,
+ "z": "886e5ee7.da286",
"wires": [
[
- "4615d379.ef895c"
+ "5cef9c18.c1e3e4"
]
]
},
{
- "id": "4615d379.ef895c",
+ "id": "5cef9c18.c1e3e4",
"type": "set",
"name": "set cir",
- "xml": "<set>\n<parameter name='prop.sotn.cir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "xml": "<set>\n<parameter name='prop.sotn.cir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
"comments": "",
- "x": 3343.1560440063477,
- "y": 1346.9201397895813,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 3008.15629196167,
+ "y": 1387.920247554779,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "66d53edd.cdef9",
+ "id": "b04f73ae.32d85",
"type": "switchNode",
"name": "switch vpnType",
- "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'vpnType'`\">\n",
+ "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'vpnType'`\">\n",
"comments": "",
"outputs": 1,
- "x": 3005.1311264038086,
- "y": 1306.2366981506348,
- "z": "4f77841b.f6c90c",
+ "x": 2703.131015777588,
+ "y": 1351.236882686615,
+ "z": "886e5ee7.da286",
"wires": [
[
- "654a7b17.6fec94"
+ "56ebc42c.8ac03c"
]
]
},
{
- "id": "654a7b17.6fec94",
+ "id": "56ebc42c.8ac03c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3192.1311264038086,
- "y": 1302.2366981506348,
- "z": "4f77841b.f6c90c",
+ "x": 2885.131202697754,
+ "y": 1354.236867427826,
+ "z": "886e5ee7.da286",
"wires": [
[
- "2fb4b95a.7ae496"
+ "74808c5.5744174"
]
]
},
{
- "id": "2fb4b95a.7ae496",
+ "id": "74808c5.5744174",
"type": "set",
"name": "set vpnType",
- "xml": "<set>\n<parameter name='prop.global.sotn.vpnType' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "xml": "<set>\n<parameter name='prop.global.sotn.vpnType' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
"comments": "",
- "x": 3361.46475982666,
- "y": 1299.6978631019592,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 3021.464946746826,
+ "y": 1350.6981091499329,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "64cab1cd.5d443",
+ "id": "d4d17449.0a3768",
"type": "switchNode",
- "name": "switch EIR",
- "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'EIR'`\">\n",
+ "name": "switch eir",
+ "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'eir'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2987.113105773926,
- "y": 1395.1568455696106,
- "z": "4f77841b.f6c90c",
+ "x": 2684.1130714416504,
+ "y": 1422.1570801734924,
+ "z": "886e5ee7.da286",
"wires": [
[
- "6c9f358b.4ef8ec"
+ "f8a0cc6a.69a85"
]
]
},
{
- "id": "6c9f358b.4ef8ec",
+ "id": "f8a0cc6a.69a85",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3189.113067626953,
- "y": 1390.1568655967712,
- "z": "4f77841b.f6c90c",
+ "x": 2884.1133193969727,
+ "y": 1425.1570191383362,
+ "z": "886e5ee7.da286",
"wires": [
[
- "e70be1bb.0faca"
+ "f369a42b.d52e88"
]
]
},
{
- "id": "e70be1bb.0faca",
+ "id": "f369a42b.d52e88",
"type": "set",
"name": "set eir",
- "xml": "<set>\n<parameter name='prop.global.sotn.eir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "xml": "<set>\n<parameter name='prop.global.sotn.eir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
"comments": "",
- "x": 3345.4465713500977,
- "y": 1389.618001461029,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 3007.4469413757324,
+ "y": 1424.6180787086487,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "10c9f83a.94e8c8",
+ "id": "b369fa7c.e07e38",
"type": "switchNode",
- "name": "switch color-aware",
- "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'color-aware'`\">\n",
+ "name": "switch colorAware",
+ "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'colorAware'`\">\n",
"comments": "",
"outputs": 1,
- "x": 3014.1133766174316,
- "y": 1449.1568112373352,
- "z": "4f77841b.f6c90c",
+ "x": 2709.113681793213,
+ "y": 1456.1569590568542,
+ "z": "886e5ee7.da286",
"wires": [
[
- "1f4cc1a3.6b11ee"
+ "6206f9dc.040438"
]
]
},
{
- "id": "1f4cc1a3.6b11ee",
+ "id": "6206f9dc.040438",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3192.113380432129,
- "y": 1443.1568036079407,
- "z": "4f77841b.f6c90c",
+ "x": 2880.1135025024414,
+ "y": 1462.1568975448608,
+ "z": "886e5ee7.da286",
"wires": [
[
- "9c3700e2.9346b"
+ "be68a268.af6ac"
]
]
},
{
- "id": "9c3700e2.9346b",
+ "id": "be68a268.af6ac",
"type": "set",
"name": "set colorAware",
- "xml": "<set>\n<parameter name='prop.global.sotn.colorAware' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "xml": "<set>\n<parameter name='prop.global.sotn.colorAware' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
"comments": "",
- "x": 3373.4467582702637,
- "y": 1442.617962360382,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 3028.44681930542,
+ "y": 1462.6181101799011,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "17843ccd.4f45d3",
+ "id": "642263f7.dd00fc",
"type": "switchNode",
- "name": "switch coupling-flag",
- "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'coupling-flag'`\">\n",
+ "name": "switch couplingFlag",
+ "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'couplingFlag'`\">\n",
"comments": "",
"outputs": 1,
- "x": 3014.113384246826,
- "y": 1495.1568360328674,
- "z": "4f77841b.f6c90c",
+ "x": 2711.1136207580566,
+ "y": 1492.1570210456848,
+ "z": "886e5ee7.da286",
"wires": [
[
- "1a061794.0a46a8"
+ "fa5db057.82465"
]
]
},
{
- "id": "1a061794.0a46a8",
+ "id": "fa5db057.82465",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3192.1133766174316,
- "y": 1487.156804561615,
- "z": "4f77841b.f6c90c",
+ "x": 2883.1135025024414,
+ "y": 1501.1569905281067,
+ "z": "886e5ee7.da286",
"wires": [
[
- "17025d4a.2f4a83"
+ "6df9a5ad.64aebc"
]
]
},
{
- "id": "17025d4a.2f4a83",
+ "id": "6df9a5ad.64aebc",
"type": "set",
"name": "set couplingFlag",
- "xml": "<set>\n<parameter name='prop.global.sotn.couplingFlag' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "xml": "<set>\n<parameter name='prop.global.sotn.couplingFlag' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
"comments": "",
- "x": 3377.4467582702637,
- "y": 1487.6179871559143,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 3036.44681930542,
+ "y": 1501.6181111335754,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "894df50e.725b18",
+ "id": "dcfbfca6.40021",
"type": "comment",
"name": "Check if other EP exists in SOTNConnectionResource",
"info": "",
"comments": "",
- "x": 3117.3167114257812,
- "y": 1048.7922387123108,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2842.316650390625,
+ "y": 1110.7923583984375,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "cac8b97a.954468",
+ "id": "d09beabc.c794f8",
"type": "comment",
"name": "Get other global parameters from network",
"info": "",
"comments": "",
- "x": 3088.3165130615234,
- "y": 1140.792191028595,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2778.31640625,
+ "y": 1196.7923583984375,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "2020b84a.aa3f78",
+ "id": "6cf22112.6f2ff",
"type": "switchNode",
"name": "switch access-provider-id",
"xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-provider-id'`\">",
"comments": "",
"outputs": 1,
- "x": 1775.53857421875,
- "y": 1544.2365727424622,
- "z": "4f77841b.f6c90c",
+ "x": 1726.5387592315674,
+ "y": 1458.2368874549866,
+ "z": "886e5ee7.da286",
"wires": [
[
- "b2fc0056.5b557"
+ "c84add66.981c8"
]
]
},
{
- "id": "b2fc0056.5b557",
+ "id": "c84add66.981c8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1962.53857421875,
- "y": 1540.2365727424622,
- "z": "4f77841b.f6c90c",
+ "x": 1913.5387592315674,
+ "y": 1454.2368874549866,
+ "z": "886e5ee7.da286",
"wires": [
[
- "d84c0472.872308"
+ "d4a1069.e5c08f8"
]
]
},
{
- "id": "d84c0472.872308",
+ "id": "d4a1069.e5c08f8",
"type": "set",
"name": "set access-provider-id",
"xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2130.53857421875,
- "y": 1540.8365788459778,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2081.5387592315674,
+ "y": 1454.8368935585022,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "2fc4c609.3e5f6a",
+ "id": "447be204.cdf4fc",
"type": "switchNode",
"name": "switch access-client-id",
"xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-client-id'`\">",
"comments": "",
"outputs": 1,
- "x": 1766.538589477539,
- "y": 1587.2470211982727,
- "z": "4f77841b.f6c90c",
+ "x": 1717.5387744903564,
+ "y": 1501.2473359107971,
+ "z": "886e5ee7.da286",
"wires": [
[
- "d33716c2.7a5c08"
+ "ced037b4.e37178"
]
]
},
{
- "id": "d33716c2.7a5c08",
+ "id": "ced037b4.e37178",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1953.538589477539,
- "y": 1583.2470211982727,
- "z": "4f77841b.f6c90c",
+ "x": 1904.5387744903564,
+ "y": 1497.2473359107971,
+ "z": "886e5ee7.da286",
"wires": [
[
- "f4503085.70e8"
+ "f03bab32.57be38"
]
]
},
{
- "id": "f4503085.70e8",
+ "id": "f03bab32.57be38",
"type": "set",
"name": "set access-client-id",
"xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2121.538589477539,
- "y": 1583.8470273017883,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2072.5387744903564,
+ "y": 1497.8473420143127,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "8d865fcb.ed997",
+ "id": "3722b20a.c8338e",
"type": "switchNode",
"name": "switch access-topology-id",
"xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-topology-id'`\">",
"comments": "",
"outputs": 1,
- "x": 1779.5385341644287,
- "y": 1629.247052192688,
- "z": "4f77841b.f6c90c",
+ "x": 1730.538719177246,
+ "y": 1543.2473669052124,
+ "z": "886e5ee7.da286",
"wires": [
[
- "2b04431a.afbcfc"
+ "b6a6f2db.60fe6"
]
]
},
{
- "id": "2b04431a.afbcfc",
+ "id": "b6a6f2db.60fe6",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1966.5385341644287,
- "y": 1625.247052192688,
- "z": "4f77841b.f6c90c",
+ "x": 1917.538719177246,
+ "y": 1539.2473669052124,
+ "z": "886e5ee7.da286",
"wires": [
[
- "28052521.1d41ea"
+ "e9af1870.fc5978"
]
]
},
{
- "id": "28052521.1d41ea",
+ "id": "e9af1870.fc5978",
"type": "set",
"name": "set access-topology-id",
"xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2134.5385341644287,
- "y": 1625.8470582962036,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2085.538719177246,
+ "y": 1539.847373008728,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "1e57fa4c.c37666",
+ "id": "3edaf3bd.0b304c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1074.0940399169922,
- "y": 1756.348135471344,
- "z": "4f77841b.f6c90c",
+ "x": 1676.0940551757812,
+ "y": 1796.3482403755188,
+ "z": "886e5ee7.da286",
"wires": [
[
- "17954934.ffd177",
- "edff10aa.4477f",
- "4a7a7654.befdb8",
- "d70e06b2.ae06d8",
- "fb8e8802.2321a8",
- "c8bfc2b1.75cdd",
- "b738f9eb.4faa78",
- "73934aff.e9fd34",
- "e16ca07c.f4def",
- "44ac5fd1.a9ce3"
+ "13419eef.5a7671",
+ "ab382a71.e012a8",
+ "518651aa.2aca3",
+ "24337100.d599a",
+ "12ceff59.6da431",
+ "d86cc1ce.6085e",
+ "30cf4858.64e188",
+ "fa2339a4.1d6f28",
+ "f8b8212e.de624",
+ "4c07dee.6ce442"
]
]
},
{
- "id": "741fad04.c0bcd4",
+ "id": "9cf5ad87.06886",
"type": "set",
"name": "set controller data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
"comments": "",
- "x": 1772.53857421875,
- "y": 1910.6810307502747,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2322.538787841797,
+ "y": 1876.6815524101257,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "edff10aa.4477f",
+ "id": "f8b8212e.de624",
"type": "get-resource",
"name": "get-resource esr-thirdparty-sdnc",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.thirdparty-sdnc-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
"comments": "",
"outputs": 1,
- "x": 1336.0385131835938,
- "y": 1969.6810307502747,
- "z": "4f77841b.f6c90c",
+ "x": 1939.0386962890625,
+ "y": 1913.6814918518066,
+ "z": "886e5ee7.da286",
"wires": [
[
- "b6132182.e115",
- "b6234a23.02b418",
- "52c7285a.09ea48"
+ "2a73c293.cee82e",
+ "cd5e3cf0.7e544",
+ "e221ac88.e3abb"
]
]
},
{
- "id": "b6132182.e115",
+ "id": "2a73c293.cee82e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1575.0385131835938,
- "y": 1922.6810307502747,
- "z": "4f77841b.f6c90c",
+ "x": 2159.038631439209,
+ "y": 1877.6814608573914,
+ "z": "886e5ee7.da286",
"wires": [
[
- "741fad04.c0bcd4"
+ "9cf5ad87.06886"
]
]
},
{
- "id": "b6234a23.02b418",
+ "id": "cd5e3cf0.7e544",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1578.5294799804688,
- "y": 1970.255066394806,
- "z": "4f77841b.f6c90c",
+ "x": 2168.529571533203,
+ "y": 1918.2554669380188,
+ "z": "886e5ee7.da286",
"wires": [
[
- "39fa3945.b568c6"
+ "73ddc8d7.9cef28"
]
]
},
{
- "id": "52c7285a.09ea48",
+ "id": "e221ac88.e3abb",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1573.8624877929688,
- "y": 2011.5883793830872,
- "z": "4f77841b.f6c90c",
+ "x": 2163.862548828125,
+ "y": 1954.5887799263,
+ "z": "886e5ee7.da286",
"wires": [
[
- "5bc6d6e6.4253f8"
+ "9cd2e5f3.c77dc8"
]
]
},
{
- "id": "39fa3945.b568c6",
+ "id": "73ddc8d7.9cef28",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
"comments": "",
- "x": 1755.1008911132812,
- "y": 1958.5408024787903,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2315.1009216308594,
+ "y": 1914.5412936210632,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "5bc6d6e6.4253f8",
+ "id": "9cd2e5f3.c77dc8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
"comments": "",
- "x": 1761.6350440979004,
- "y": 2007.0275721549988,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2318.6351928710938,
+ "y": 1956.0279278755188,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "4a7a7654.befdb8",
+ "id": "fa2339a4.1d6f28",
"type": "get-resource",
"name": "get-resource pnf",
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $oof.vpn.access-node-id AND \n\t\t depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"network-resource.network-id = $mdsal-psd.service-data.networks.network[0].network-id \n\t\tAND pnf.pnf-name = $oof.vpn.access-node-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1282.53857421875,
- "y": 1782.6810307502747,
- "z": "4f77841b.f6c90c",
+ "x": 1884.538589477539,
+ "y": 1822.6811356544495,
+ "z": "886e5ee7.da286",
"wires": [
[
- "c669a474.548c18",
- "49f40d92.f6bd74",
- "a24623ca.7bac3"
+ "346b021b.bac82e",
+ "fe6ca97c.41f258",
+ "fc66139b.853a"
]
]
},
{
- "id": "c669a474.548c18",
+ "id": "346b021b.bac82e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1629.5385131835938,
- "y": 1786.6810612678528,
- "z": "4f77841b.f6c90c",
+ "x": 2066.5386352539062,
+ "y": 1767.681245803833,
+ "z": "886e5ee7.da286",
"wires": [
[
- "d3849e4d.16c6c"
+ "edadbcd1.1307c"
]
]
},
{
- "id": "49f40d92.f6bd74",
+ "id": "fe6ca97c.41f258",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1633.0294799804688,
- "y": 1834.255096912384,
- "z": "4f77841b.f6c90c",
+ "x": 2067.0295372009277,
+ "y": 1805.2553424835205,
+ "z": "886e5ee7.da286",
"wires": [
[
- "cbab0518.f00ef8"
+ "df86be3c.187cb"
]
]
},
{
- "id": "a24623ca.7bac3",
+ "id": "fc66139b.853a",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1628.3624877929688,
- "y": 1875.5884099006653,
- "z": "4f77841b.f6c90c",
+ "x": 2058.362548828125,
+ "y": 1838.5887174606323,
+ "z": "886e5ee7.da286",
"wires": [
[
- "4095ec2a.4a6c64"
+ "589f379c.3c1008"
]
]
},
{
- "id": "cbab0518.f00ef8",
+ "id": "df86be3c.187cb",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
"comments": "",
- "x": 1809.6008911132812,
- "y": 1822.5408329963684,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2214.601161956787,
+ "y": 1804.5412311553955,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "4095ec2a.4a6c64",
+ "id": "589f379c.3c1008",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
"comments": "",
- "x": 1816.1350440979004,
- "y": 1871.027602672577,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2212.1351928710938,
+ "y": 1838.027865409851,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "d3849e4d.16c6c",
+ "id": "edadbcd1.1307c",
"type": "set",
"name": "set tmp.thirdparty-sdnc-id",
"xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 1833.5385131835938,
- "y": 1773.6810612678528,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 2251.5386352539062,
+ "y": 1766.6813678741455,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "b5630d7.89ad9f",
+ "id": "ca8d7a27.974a78",
"type": "comment",
"name": "get domain controller information",
"info": "",
"comments": "",
- "x": 1327.0424423217773,
- "y": 1748.6849284172058,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1935.0425033569336,
+ "y": 1789.6850910186768,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "d70e06b2.ae06d8",
+ "id": "30cf4858.64e188",
"type": "set",
"name": "set oof.vpn",
"xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",
"comments": "",
- "x": 1264.5385437011719,
- "y": 1709.792055606842,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1896.538589477539,
+ "y": 1743.7922191619873,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "fb8e8802.2321a8",
+ "id": "ab382a71.e012a8",
"type": "save",
"name": "save VPN resource in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.vpnName' >\n<parameter name='vpn-id' value='`$tmp.vpnName`' />\n<parameter name='vpn-name' value='`$tmp.vpnName`' />\n<parameter name='access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='src-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='dst-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n<parameter name='cvlan-tag-entry' value='`$prop.connection-attachment.cVLAN`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='configuration-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.vpnName' >\n<parameter name='vpn-id' value='`$tmp.vpnName`' />\n<parameter name='vpn-name' value='`$tmp.vpnName`' />\n<parameter name='access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='src-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='dst-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />",
"comments": "",
"outputs": 1,
- "x": 1313.00390625,
- "y": 2214.7540521621704,
- "z": "4f77841b.f6c90c",
+ "x": 1915.004005432129,
+ "y": 2160.7546215057373,
+ "z": "886e5ee7.da286",
"wires": [
- [
-
- ]
+ []
]
},
{
- "id": "c8bfc2b1.75cdd",
+ "id": "518651aa.2aca3",
"type": "set",
"name": "set tmp.vpnName",
- "xml": "<set>\n<parameter name='tmp.vpnName' value='`$oof.vpn.access-node-id + '-' + $prop.global.sotn.etht-svc-name`' />",
+ "xml": "<set>\n<parameter name='tmp.vpnName' value=\"`$oof.vpn.access-node-id + '-' + $prop.global.sotn.etht-svc-name`\" />",
"comments": "",
- "x": 1288.5039520263672,
- "y": 2176.2539596557617,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1891.504005432129,
+ "y": 2113.2543182373047,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "b738f9eb.4faa78",
+ "id": "24337100.d599a",
"type": "save",
"name": "save connectivity relationship in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $mdsal-psd.networks.network[0].network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$mdsal-psd.networks.network[0].network-id`\" />",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $mdsal-psd.service-data.networks.network[0].network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$mdsal-psd.service-data.networks.network[0].network-id`\" />",
"comments": "",
"outputs": 1,
- "x": 1340.0039367675781,
- "y": 2252.7539653778076,
- "z": "4f77841b.f6c90c",
+ "x": 1950.004005432129,
+ "y": 2205.7543773651123,
+ "z": "886e5ee7.da286",
"wires": [
- [
-
- ]
+ []
]
},
{
- "id": "4b44bb19.a886d4",
+ "id": "abe0f3b4.f562f",
"type": "comment",
"name": "save vpn and its relation to AAI",
"info": "",
"comments": "",
- "x": 1325.0039596557617,
- "y": 2140.7539899349213,
- "z": "4f77841b.f6c90c",
- "wires": [
-
- ]
+ "x": 1933.0042037963867,
+ "y": 2074.754587173462,
+ "z": "886e5ee7.da286",
+ "wires": []
},
{
- "id": "e16ca07c.f4def",
+ "id": "13419eef.5a7671",
"type": "set",
"name": "set src-ltpId dst-ltpId",
"xml": "<set>\n<parameter name='src-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.src-access-ltp-id`\" />\n<parameter name='dst-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.dst-access-ltp-id`\" />",
"comments": "",
- "x": 1292.0039672851562,
- "y": 2292.754026412964,
- "z": "4f77841b.f6c90c",
+ "x": 1902.004035949707,
+ "y": 2245.754497528076,
+ "z": "886e5ee7.da286",
+ "wires": []
+ },
+ {
+ "id": "12ceff59.6da431",
+ "type": "save",
+ "name": "save srcLTP relationship in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $mdsal-psd.service-data.networks.network[0].network-id + '/pnfs/pnf/' + $oof.vpn.access-node-id '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1936.0039825439453,
+ "y": 2285.5043773651123,
+ "z": "886e5ee7.da286",
"wires": [
-
+ []
]
},
{
- "id": "73934aff.e9fd34",
+ "id": "d86cc1ce.6085e",
"type": "save",
- "name": "save srcLTP relationship in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />",
+ "name": "save dstLTP relationship in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $mdsal-psd.service-data.networks.network[0].network-id + '/pnfs/pnf/' + $oof.vpn.access-node-id '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",
"comments": "",
"outputs": 1,
- "x": 1325.00390625,
- "y": 2333.50390625,
- "z": "4f77841b.f6c90c",
+ "x": 1934.0039863586426,
+ "y": 2331.2543773651123,
+ "z": "886e5ee7.da286",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "44848e46.5ebac",
+ "type": "execute",
+ "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 876.0078430175781,
+ "y": 596.0078182220459,
+ "z": "886e5ee7.da286",
"wires": [
[
-
+ "5268ad10.1fbc94",
+ "ffb50ed4.11c7e"
]
]
},
{
- "id": "44ac5fd1.a9ce3",
- "type": "save",
- "name": "save dstLTP relationship in AAI",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",
+ "id": "b29f5799.241a78",
+ "type": "execute",
+ "name": "execute RestApiCallNode - get-resource parent service data",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-psd`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-psd\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 1326.00390625,
- "y": 2372.25390625,
- "z": "4f77841b.f6c90c",
+ "x": 803.0079956054688,
+ "y": 823.007981300354,
+ "z": "886e5ee7.da286",
+ "wires": [
+ [
+ "7ecc4648.197a88",
+ "dfe397a0.b9ba28"
+ ]
+ ]
+ },
+ {
+ "id": "3637e175.005c6e",
+ "type": "execute",
+ "name": "get parent-service-data url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-url-psd\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ar.parent-service-instance-id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 703.0079040527344,
+ "y": 786.0078144073486,
+ "z": "886e5ee7.da286",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2865c930.441376",
+ "type": "execute",
+ "name": "generate tmp.ar-other-url-connection",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-other-url-connection\"/>\n <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.provided-ar.allotted-resource-id`\"/>\n \n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2117.0042572021484,
+ "y": 942.3373756408691,
+ "z": "886e5ee7.da286",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "36209682.cdfdca",
+ "type": "execute",
+ "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-other-url-connection`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-other-ar\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2254.004898071289,
+ "y": 984.8372402191162,
+ "z": "886e5ee7.da286",
+ "wires": [
+ [
+ "2877490b.8d1876",
+ "bf4a739d.0a26c"
+ ]
+ ]
+ },
+ {
+ "id": "2cebb233.b139be",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1879.0041770935059,
+ "y": 1708.0040254592896,
+ "z": "886e5ee7.da286",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "431946d9.2130a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1255.9727897644043,
+ "y": 1733.0042095184326,
+ "z": "886e5ee7.da286",
"wires": [
[
-
+ "7306bfe1.33065",
+ "f51b8e7a.4294a"
]
]
}
-]
+] \ No newline at end of file