diff options
author | gaurav <gaurav.agrawal@huawei.com> | 2018-08-02 10:50:02 +0530 |
---|---|---|
committer | gaurav <gaurav.agrawal@huawei.com> | 2018-08-02 11:00:13 +0530 |
commit | 38cd81d0c603227a14b1f5b57470015c998fe9e4 (patch) | |
tree | 8ae561d27389a413c6d20ccdcd7a26b0b6ec0674 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json | |
parent | b08903f327f974cacb6a97737f9f3911d779eaa9 (diff) |
Updates to SOTN DG
Updates include:
- Changes to support inter-domain.
- Changes wrt. AAI nodes and fields.
Change-Id: I50ed3553e792a382c534c72475afc666629320cc
Issue-ID: SDNC-356
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Former-commit-id: 62b4fd6b216ec03288cd216b50803ba8c64a3c3b
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.json | 2000 |
1 files changed, 1048 insertions, 952 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 4b055d10..5729a236 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": "a77629b2.29acf8", + "id": "13403d5.5be54c3", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 104.03125, - "y": 31.999999523162842, - "z": "205403e9.560efc", + "x": 112.00390625, + "y": 46.00390625, + "z": "4f77841b.f6c90c", "wires": [ [ - "2a935009.ef91b" + "8694bff7.45011" ] ] }, { - "id": "2a935009.ef91b", + "id": "8694bff7.45011", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -22,115 +22,115 @@ "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": 316.03125381469727, - "y": 104.00001668930054, - "z": "205403e9.560efc", + "x": 324.00391006469727, + "y": 118.0039234161377, + "z": "4f77841b.f6c90c", "wires": [ [ - "394d3966.f7a306" + "ce5f4d71.3c80b" ] ] }, { - "id": "394d3966.f7a306", + "id": "ce5f4d71.3c80b", "type": "method", "name": "sotn-attachment-topology-operation-activate", "xml": "<method rpc='sotn-attachment-topology-operation-activate' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 304.0313720703125, - "y": 191.99999952316284, - "z": "205403e9.560efc", + "x": 312.0040283203125, + "y": 206.00390625, + "z": "4f77841b.f6c90c", "wires": [ [ - "3355788a.12aa08" + "e7e7b5c7.7cb0c8" ] ] }, { - "id": "3355788a.12aa08", + "id": "e7e7b5c7.7cb0c8", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 320.0313720703125, - "y": 747.000244140625, - "z": "205403e9.560efc", + "x": 328.0040283203125, + "y": 761.0041508674622, + "z": "4f77841b.f6c90c", "wires": [ [ - "3df84881.f08dd8", - "d2f1b91d.444978", - "e6d1c52b.520cc8", - "1587558f.923b5a", - "606696e.6cc0f68", - "6558b5c9.5b8bec", - "d1e1bdb5.615f1", - "c7d4c837.69f1a8", - "f3e22a0c.d8db48", - "cb89d188.f33cc", - "3bc10ee7.beb432", - "bef55f2e.ad6b3", - "36004db7.4505d2", - "d7f464d6.9ac5f8", - "a66d68ee.9308e8", - "9ab0f309.357b6", - "f9e2a4f.0cf5858", - "6afb5fe5.f951c", - "7b232ea8.d345" + "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" ] ] }, { - "id": "3df84881.f08dd8", + "id": "581b91b6.06ff3", "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", "comments": "", - "x": 717.0248107910156, - "y": 145.99348640441895, - "z": "205403e9.560efc", + "x": 724.9974670410156, + "y": 159.9973931312561, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "66bc483f.e63618", + "id": "c2f92da0.ae67f", "type": "comment", "name": "set tmp ar-id to fetch resource from MDSAL", "info": "", "comments": "", - "x": 745.9851226806641, - "y": 110.02528238296509, - "z": "205403e9.560efc", + "x": 753.9577789306641, + "y": 124.02918910980225, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "d2f1b91d.444978", + "id": "680895fb.4f588c", "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": 671.0247497558594, - "y": 238.99349164962769, - "z": "205403e9.560efc", + "x": 678.9974060058594, + "y": 252.99739837646484, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "c7d4c837.69f1a8", + "id": "cab0e236.de21f", "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": 677.2866401672363, - "y": 326.66022062301636, - "z": "205403e9.560efc", + "x": 685.2592964172363, + "y": 340.6641273498535, + "z": "4f77841b.f6c90c", "wires": [ [ @@ -138,15 +138,15 @@ ] }, { - "id": "e6d1c52b.520cc8", + "id": "dc05cef1.a51f5", "type": "execute", "name": "generate allotted-resource 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": 709.2866668701172, - "y": 414.6602020263672, - "z": "205403e9.560efc", + "x": 717.2593231201172, + "y": 428.66410875320435, + "z": "4f77841b.f6c90c", "wires": [ [ @@ -154,307 +154,307 @@ ] }, { - "id": "1587558f.923b5a", + "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": 780.0247650146484, - "y": 504.7712607383728, - "z": "205403e9.560efc", + "x": 787.9974212646484, + "y": 518.77516746521, + "z": "4f77841b.f6c90c", "wires": [ [ - "9d21fc06.56c9b", - "b5f5dd22.5d92a" + "c4c666a0.dc3b68", + "2a74b364.08117c" ] ] }, { - "id": "4c5a1d8d.682774", + "id": "74acb38d.a8df3c", "type": "comment", "name": "GET connection-attachment-allotted-resource from mdsal", "info": "", "comments": "", - "x": 786.8395614624023, - "y": 476.53857946395874, - "z": "205403e9.560efc", + "x": 794.8122177124023, + "y": 490.5424861907959, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "6cf9a5a4.2b253c", + "id": "f5129fcf.6a5ca", "type": "comment", "name": "Used for setting output to API Handler", "info": "", "comments": "", - "x": 725.0247802734375, - "y": 205.99350118637085, - "z": "205403e9.560efc", + "x": 732.9974365234375, + "y": 219.997407913208, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "15f9c1a1.7257ee", + "id": "d590f72a.b09d08", "type": "comment", "name": "Obtain different URL, template location etc", "info": "For saving resource information to MDSAL & for AAI", "comments": "", - "x": 743.0247459411621, - "y": 291.88238191604614, - "z": "205403e9.560efc", + "x": 750.9974021911621, + "y": 305.8862886428833, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "b17883ed.6bb59", + "id": "609f412.aec83c", "type": "comment", "name": "Used to Get AR by id to MDSAL, same as self-link", "info": "", "comments": "", - "x": 769.0247650146484, - "y": 378.88234090805054, - "z": "205403e9.560efc", + "x": 776.9974212646484, + "y": 392.8862476348877, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "9d21fc06.56c9b", + "id": "c4c666a0.dc3b68", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1079.6979675292969, - "y": 489.9999918937683, - "z": "205403e9.560efc", + "x": 1087.6706237792969, + "y": 504.00389862060547, + "z": "4f77841b.f6c90c", "wires": [ [ - "a51a2d9d.383d" + "2a674d20.0005d2" ] ] }, { - "id": "a51a2d9d.383d", + "id": "2a674d20.0005d2", "type": "block", "name": "block: atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1248.6979713439941, - "y": 488.4998927116394, - "z": "205403e9.560efc", + "x": 1256.6706275939941, + "y": 502.50379943847656, + "z": "4f77841b.f6c90c", "wires": [ [ - "1edb162f.f7047a" + "801d5833.48d068" ] ] }, { - "id": "1edb162f.f7047a", + "id": "801d5833.48d068", "type": "switchNode", "name": "switch cr length", "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n", "comments": "", "outputs": 1, - "x": 1459.5552139282227, - "y": 488.1190218925476, - "z": "205403e9.560efc", + "x": 1467.5278701782227, + "y": 502.12292861938477, + "z": "4f77841b.f6c90c", "wires": [ [ - "2c727498.5563ec", - "cc396d19.c6009" + "eb4c62e2.ed59e", + "e1cf5942.513c08" ] ] }, { - "id": "2c727498.5563ec", + "id": "eb4c62e2.ed59e", "type": "other", "name": "outcome 1", "xml": "<outcome value='1'>\n", "comments": "", "outputs": 1, - "x": 1648.8885192871094, - "y": 488.1189799308777, - "z": "205403e9.560efc", + "x": 1656.8611755371094, + "y": 502.12288665771484, + "z": "4f77841b.f6c90c", "wires": [ [ - "94f9a14a.aa9d1" + "6ded2c0c.68e914" ] ] }, { - "id": "94f9a14a.aa9d1", + "id": "6ded2c0c.68e914", "type": "block", "name": "block: atomic", "xml": "<block atomic='true'>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1833.4124088287354, - "y": 485.0238137245178, - "z": "205403e9.560efc", + "x": 1841.3850650787354, + "y": 499.027720451355, + "z": "4f77841b.f6c90c", "wires": [ [ - "ccbbcb55.91af38", - "ca13a843.2cf298", - "b1755c5c.5e7d2" + "f931a889.3afae8", + "bd538141.56707", + "57b77b8c.0f7844" ] ] }, { - "id": "151fea4f.a51286", + "id": "482ef87f.84eaa8", "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", "comments": "", - "x": 1792.5502090454102, - "y": 566.0660452842712, - "z": "205403e9.560efc", + "x": 1800.5228652954102, + "y": 580.0699520111084, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "b5f5dd22.5d92a", + "id": "2a74b364.08117c", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1071.5497703552246, - "y": 525.0660767555237, - "z": "205403e9.560efc", + "x": 1079.5224266052246, + "y": 539.0699834823608, + "z": "4f77841b.f6c90c", "wires": [ [ - "318eef9c.54777" + "ab1859dd.20d8a8" ] ] }, { - "id": "318eef9c.54777", + "id": "ab1859dd.20d8a8", "type": "block", "name": "block: atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1251.5497207641602, - "y": 525.7326273918152, - "z": "205403e9.560efc", + "x": 1259.5223770141602, + "y": 539.7365341186523, + "z": "4f77841b.f6c90c", "wires": [ [ - "151fea4f.a51286" + "482ef87f.84eaa8" ] ] }, { - "id": "cc396d19.c6009", + "id": "e1cf5942.513c08", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1637.2164726257324, - "y": 525.3993401527405, - "z": "205403e9.560efc", + "x": 1645.1891288757324, + "y": 539.4032468795776, + "z": "4f77841b.f6c90c", "wires": [ [ - "151fea4f.a51286" + "482ef87f.84eaa8" ] ] }, { - "id": "ccbbcb55.91af38", + "id": "f931a889.3afae8", "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": 2201.4758911132812, - "y": 454.0000534057617, - "z": "205403e9.560efc", + "x": 2209.4485473632812, + "y": 468.0039601325989, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "b1755c5c.5e7d2", + "id": "57b77b8c.0f7844", "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": 2135.4759216308594, - "y": 527.4285559654236, - "z": "205403e9.560efc", + "x": 2143.4485778808594, + "y": 541.4324626922607, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "ca13a843.2cf298", + "id": "bd538141.56707", "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": 2145.475700378418, - "y": 492.9999899864197, - "z": "205403e9.560efc", + "x": 2153.448356628418, + "y": 507.00389671325684, + "z": "4f77841b.f6c90c", "wires": [ [ - "c5c8df87.d7496", - "96fbbcc4.3796a" + "dff36ce6.7bfdb", + "68d26983.d39818" ] ] }, { - "id": "c5c8df87.d7496", + "id": "dff36ce6.7bfdb", "type": "outcome", "name": "outcome Created", "xml": "<outcome value='Created'>\n", "comments": "", "outputs": 1, - "x": 2381.075782775879, - "y": 487.00002098083496, - "z": "205403e9.560efc", + "x": 2389.048439025879, + "y": 501.0039277076721, + "z": "4f77841b.f6c90c", "wires": [ [ - "88f78e4e.b4f9" + "a20d7036.b7b91" ] ] }, { - "id": "96fbbcc4.3796a", + "id": "68d26983.d39818", "type": "outcome", "name": "outcome Other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 2374.7902221679688, - "y": 526.4286289215088, - "z": "205403e9.560efc", + "x": 2382.7628784179688, + "y": 540.432535648346, + "z": "4f77841b.f6c90c", "wires": [ [ - "935468c0.294618" + "95ec04c5.68c058" ] ] }, { - "id": "88f78e4e.b4f9", + "id": "a20d7036.b7b91", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2595.546298980713, - "y": 488.37565517425537, - "z": "205403e9.560efc", + "x": 2603.518955230713, + "y": 502.37956190109253, + "z": "4f77841b.f6c90c", "wires": [ [ @@ -462,28 +462,28 @@ ] }, { - "id": "935468c0.294618", + "id": "95ec04c5.68c058", "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": 2614.6980018615723, - "y": 529.0000190734863, - "z": "205403e9.560efc", + "x": 2622.6706581115723, + "y": 543.0039258003235, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "cd666072.c4472", + "id": "a6cc9265.33dd9", "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", "comments": "", "outputs": 1, - "x": 967.3342895507812, - "y": 594.4935550689697, - "z": "205403e9.560efc", + "x": 975.3069458007812, + "y": 608.4974617958069, + "z": "4f77841b.f6c90c", "wires": [ [ @@ -491,264 +491,264 @@ ] }, { - "id": "f3e22a0c.d8db48", + "id": "84e0eeac.a2ba4", "type": "block", "name": "block: atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 649.3403663635254, - "y": 594.4998416900635, - "z": "205403e9.560efc", + "x": 657.3130226135254, + "y": 608.5037484169006, + "z": "4f77841b.f6c90c", "wires": [ [ - "cd666072.c4472" + "a6cc9265.33dd9" ] ] }, { - "id": "606696e.6cc0f68", + "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": 714.0316772460938, - "y": 736.5316162109375, - "z": "205403e9.560efc", + "x": 722.0043334960938, + "y": 750.5355229377747, + "z": "4f77841b.f6c90c", "wires": [ [ - "f37fbd01.3a27c", - "a7659493.fc2068" + "1665d4d8.fb3cab", + "7f1aaa67.966654" ] ] }, { - "id": "3f9c5fc2.bcfea", + "id": "2d977877.2cdd28", "type": "comment", "name": "GET parent-service-data from mdsal to check existence of other End point", "info": "", "comments": "", - "x": 834.0316162109375, - "y": 665.5315551757812, - "z": "205403e9.560efc", + "x": 842.0042724609375, + "y": 679.5354619026184, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "a4aef874.7e7e88", + "id": "413accea.8047d4", "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", "comments": "", "outputs": 1, - "x": 1723.2160968780518, - "y": 904.0041084289551, - "z": "205403e9.560efc", + "x": 1731.1887531280518, + "y": 918.0080151557922, + "z": "4f77841b.f6c90c", "wires": [ [ - "c0e3f5d5.ead6e8" + "bf28fd20.e4d9d" ] ] }, { - "id": "6558b5c9.5b8bec", + "id": "f440893f.3eb748", "type": "switchNode", "name": "switch mdsal-psd.provided-allotted-resources_length", "xml": "<switch test='`$mdsal-psd.provided-allotted-resources.provided-allotted-resource_length`'>\n", "comments": "", "outputs": 1, - "x": 780.2154541015625, - "y": 880.7180786132812, - "z": "205403e9.560efc", + "x": 788.1881103515625, + "y": 894.7219853401184, + "z": "4f77841b.f6c90c", "wires": [ [ - "c8d5ad22.c170b", - "7c868dde.220b24", - "5e4728c1.e810e8" + "d800a1f4.f7982", + "d253364d.d38c98", + "2dc2ac81.8fbcc4" ] ] }, { - "id": "c8d5ad22.c170b", + "id": "d800a1f4.f7982", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1112.3582763671875, - "y": 1157.5755004882812, - "z": "205403e9.560efc", + "x": 1120.3309326171875, + "y": 1171.5794072151184, + "z": "4f77841b.f6c90c", "wires": [ [ - "bad30438.d05408" + "c302abb6.eb05c8" ] ] }, { - "id": "3a4d0461.4005dc", + "id": "c4d4c7bb.632948", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1306.4856853485107, - "y": 898.7015209197998, - "z": "205403e9.560efc", + "x": 1314.4583415985107, + "y": 912.705427646637, + "z": "4f77841b.f6c90c", "wires": [ [ - "a4aef874.7e7e88", - "e5572f4b.0166d" + "413accea.8047d4", + "ce0b3f4a.08eea" ] ] }, { - "id": "c0e3f5d5.ead6e8", + "id": "bf28fd20.e4d9d", "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", "comments": "", "outputs": 1, - "x": 2158.3274974823, - "y": 904.0040054321289, - "z": "205403e9.560efc", + "x": 2166.3001537323, + "y": 918.0079121589661, + "z": "4f77841b.f6c90c", "wires": [ [ - "ac0df227.58a1c", - "39a3c95.9a56f36" + "1a1bdd33.763073", + "f9268b46.a58948" ] ] }, { - "id": "ac0df227.58a1c", + "id": "1a1bdd33.763073", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2367.1377239227295, - "y": 876.4684953689575, - "z": "205403e9.560efc", + "x": 2375.1103801727295, + "y": 890.4724020957947, + "z": "4f77841b.f6c90c", "wires": [ [ - "22a29502.ccff9a" + "c5aa7e99.1a51b" ] ] }, { - "id": "64186f05.4be35", + "id": "9c7d5f29.63bbc", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 2546.8984203338623, - "y": 940.3256740570068, - "z": "205403e9.560efc", + "x": 2554.8710765838623, + "y": 954.329580783844, + "z": "4f77841b.f6c90c", "wires": [ [ - "482d5120.f30ca", - "a13cbdb.502bd4" + "dc636dab.29589", + "1d4567ac.71fcc8" ] ] }, { - "id": "482d5120.f30ca", + "id": "dc636dab.29589", "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' />", "comments": "", - "x": 2803.755926132202, - "y": 914.8971881866455, - "z": "205403e9.560efc", + "x": 2811.728582382202, + "y": 928.9010949134827, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "a13cbdb.502bd4", + "id": "1d4567ac.71fcc8", "type": "break", "name": "break", "xml": "<break>\n", "comments": "", - "x": 2714.6166439056396, - "y": 961.6532039642334, - "z": "205403e9.560efc", + "x": 2722.5893001556396, + "y": 975.6571106910706, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "f72ddcab.98ba7", + "id": "b1ecb95e.fe19d8", "type": "comment", "name": "Check existence of other AR in parent service data", "info": "Check if other allotted resource is available.", "comments": "", - "x": 769.993896484375, - "y": 814.8928833007812, - "z": "205403e9.560efc", + "x": 777.966552734375, + "y": 828.8967900276184, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "7c868dde.220b24", + "id": "d253364d.d38c98", "type": "other", "name": "outcome 1", "xml": "<outcome value='1'>\n", "comments": "", "outputs": 1, - "x": 1124.0107231140137, - "y": 1028.6772651672363, - "z": "205403e9.560efc", + "x": 1131.9833793640137, + "y": 1042.6811718940735, + "z": "4f77841b.f6c90c", "wires": [ [ - "4884d527.f966cc" + "72798bd.8ed1174" ] ] }, { - "id": "bad30438.d05408", + "id": "c302abb6.eb05c8", "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", "comments": "", - "x": 1285.0106201171875, - "y": 1156.6772422790527, - "z": "205403e9.560efc", + "x": 1292.9832763671875, + "y": 1170.68114900589, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "5e4728c1.e810e8", + "id": "2dc2ac81.8fbcc4", "type": "other", "name": "outcome 2", "xml": "<outcome value='2'>\n", "comments": "", "outputs": 1, - "x": 1132.010705947876, - "y": 899.6772212982178, - "z": "205403e9.560efc", + "x": 1139.983362197876, + "y": 913.6811280250549, + "z": "4f77841b.f6c90c", "wires": [ [ - "3a4d0461.4005dc" + "c4d4c7bb.632948" ] ] }, { - "id": "22a29502.ccff9a", + "id": "c5aa7e99.1a51b", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2525.1219387054443, - "y": 875.6772384643555, - "z": "205403e9.560efc", + "x": 2533.0945949554443, + "y": 889.6811451911926, + "z": "4f77841b.f6c90c", "wires": [ [ @@ -756,386 +756,386 @@ ] }, { - "id": "39a3c95.9a56f36", + "id": "f9268b46.a58948", "type": "outcomeTrue", "name": "false", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2366.1219387054443, - "y": 938.6772384643555, - "z": "205403e9.560efc", + "x": 2374.0945949554443, + "y": 952.6811451911926, + "z": "4f77841b.f6c90c", "wires": [ [ - "64186f05.4be35" + "9c7d5f29.63bbc" ] ] }, { - "id": "e5572f4b.0166d", + "id": "ce0b3f4a.08eea", "type": "switchNode", "name": "switch tmp.found-in-ar", "xml": "<switch test='`$tmp.found-in-ar`'>\n\n", "comments": "", "outputs": 1, - "x": 1553.0106105804443, - "y": 975.4549942016602, - "z": "205403e9.560efc", + "x": 1560.9832668304443, + "y": 989.4589009284973, + "z": "4f77841b.f6c90c", "wires": [ [ - "23e2fd66.fcd7c2" + "e09e23ee.bea8f" ] ] }, { - "id": "23e2fd66.fcd7c2", + "id": "e09e23ee.bea8f", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1776.0106563568115, - "y": 974.5661640167236, - "z": "205403e9.560efc", + "x": 1783.9833126068115, + "y": 988.5700707435608, + "z": "4f77841b.f6c90c", "wires": [ [ - "8fa1eba4.3c67f8" + "8dfd0c85.a915" ] ] }, { - "id": "8fa1eba4.3c67f8", + "id": "8dfd0c85.a915", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1966.0106868743896, - "y": 974.5662136077881, - "z": "205403e9.560efc", + "x": 1973.9833431243896, + "y": 988.5701203346252, + "z": "4f77841b.f6c90c", "wires": [ [ - "5c438258.2817dc" + "c01e9fb3.005a4" ] ] }, { - "id": "5c438258.2817dc", + "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": 2271.4550399780273, - "y": 1026.5662593841553, - "z": "205403e9.560efc", + "x": 2279.4276962280273, + "y": 1040.5701661109924, + "z": "4f77841b.f6c90c", "wires": [ [ - "75e596c5.28a268", - "3fc2682f.986b78" + "cdcbe6d0.564cd8", + "d4c31f68.30c06" ] ] }, { - "id": "75e596c5.28a268", + "id": "cdcbe6d0.564cd8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2571.128242492676, - "y": 1011.7949905395508, - "z": "205403e9.560efc", + "x": 2579.100898742676, + "y": 1025.798897266388, + "z": "4f77841b.f6c90c", "wires": [ [ - "2d352ea7.0e12c2" + "a8542804.b5e6c8" ] ] }, { - "id": "3fc2682f.986b78", + "id": "d4c31f68.30c06", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 2562.9800453186035, - "y": 1046.8610754013062, - "z": "205403e9.560efc", + "x": 2570.9527015686035, + "y": 1060.8649821281433, + "z": "4f77841b.f6c90c", "wires": [ [ - "1ccb7b0b.274855" + "7d0763b3.444adc" ] ] }, { - "id": "abb4ba72.e83978", + "id": "4f1efc93.85dab4", "type": "switchNode", "name": "switch mdsal-psd.networks_length", "xml": "<switch test='`$mdsal-psd.networks.network_length`'>\n", "comments": "", "outputs": 1, - "x": 1550.3441162109375, - "y": 1127.8997802734375, - "z": "205403e9.560efc", + "x": 1558.3167724609375, + "y": 1141.9036870002747, + "z": "4f77841b.f6c90c", "wires": [ [ - "7abae666.d51f58", - "f199acdb.1cc56" + "6774f061.befc3", + "82b7323.6fb02d" ] ] }, { - "id": "f199acdb.1cc56", + "id": "82b7323.6fb02d", "type": "other", "name": "outcome 1", "xml": "<outcome value='1'>\n", "comments": "", "outputs": 1, - "x": 1829.343994140625, - "y": 1137.78857421875, - "z": "205403e9.560efc", + "x": 1837.316650390625, + "y": 1151.7924809455872, + "z": "4f77841b.f6c90c", "wires": [ [ - "362dc46c.af4b8c" + "90c3e5fe.809838" ] ] }, { - "id": "7abae666.d51f58", + "id": "6774f061.befc3", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1823.3441162109375, - "y": 1197.78857421875, - "z": "205403e9.560efc", + "x": 1831.3167724609375, + "y": 1211.7924809455872, + "z": "4f77841b.f6c90c", "wires": [ [ - "7c1c105.99f43f" + "f2dc069d.22e408" ] ] }, { - "id": "7c1c105.99f43f", + "id": "f2dc069d.22e408", "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": 1979.9964599609375, - "y": 1198.890380859375, - "z": "205403e9.560efc", + "x": 1987.9691162109375, + "y": 1212.8942875862122, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "df5ebca6.dc1ea", + "id": "7296fdef.71a454", "type": "set", "name": "set tmp.network.", "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.networks.network[0].`' />\n", "comments": "", - "x": 2276.7888259887695, - "y": 1121.7887411117554, - "z": "205403e9.560efc", + "x": 2284.7614822387695, + "y": 1135.7926478385925, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "4884d527.f966cc", + "id": "72798bd.8ed1174", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1296.455078125, - "y": 1029.7885131835938, - "z": "205403e9.560efc", + "x": 1304.427734375, + "y": 1043.792419910431, + "z": "4f77841b.f6c90c", "wires": [ [ - "abb4ba72.e83978" + "4f1efc93.85dab4" ] ] }, { - "id": "362dc46c.af4b8c", + "id": "90c3e5fe.809838", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 2021.1217041015625, - "y": 1140.7884521484375, - "z": "205403e9.560efc", + "x": 2029.0943603515625, + "y": 1154.7923588752747, + "z": "4f77841b.f6c90c", "wires": [ [ - "df5ebca6.dc1ea", - "37668a8f.d84a36" + "7296fdef.71a454", + "f71acaf7.a5e418" ] ] }, { - "id": "37668a8f.d84a36", + "id": "f71acaf7.a5e418", "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": 2438.1218338012695, - "y": 1188.7885284423828, - "z": "205403e9.560efc", + "x": 2446.0944900512695, + "y": 1202.79243516922, + "z": "4f77841b.f6c90c", "wires": [ [ - "8d783898.486c38" + "bef42353.ac417" ] ] }, { - "id": "8d783898.486c38", + "id": "bef42353.ac417", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2809.67724609375, - "y": 1221.7884521484375, - "z": "205403e9.560efc", + "x": 2817.64990234375, + "y": 1235.7923588752747, + "z": "4f77841b.f6c90c", "wires": [ [ - "f4f7612.08260a", - "4421135d.084d2c", - "5f144f0e.31549", - "37e78cdf.278a44", - "ed440eb3.36c94", - "f75e941b.01edb8", - "5523625.526319c", - "882c3718.7bb828", - "dae6d839.a75e08", - "bc77042c.0ab858" + "7c3ef39d.83f20c", + "18cbc1f3.8102ae", + "d4ff5a6.b2eb6a8", + "42092cc3.b6ed84", + "297544d9.6ec98c", + "66d53edd.cdef9", + "b4d50d62.6f88a", + "64cab1cd.5d443", + "10c9f83a.94e8c8", + "17843ccd.4f45d3" ] ] }, { - "id": "f4f7612.08260a", + "id": "7c3ef39d.83f20c", "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": 3015.1881942749023, - "y": 1069.7990770339966, - "z": "205403e9.560efc", + "x": 3023.1608505249023, + "y": 1083.8029837608337, + "z": "4f77841b.f6c90c", "wires": [ [ - "5989197c.f6f7f8" + "19483932.311cc7" ] ] }, { - "id": "5989197c.f6f7f8", + "id": "19483932.311cc7", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3204.1878204345703, - "y": 1071.7989416122437, - "z": "205403e9.560efc", + "x": 3212.1604766845703, + "y": 1085.8028483390808, + "z": "4f77841b.f6c90c", "wires": [ [ - "b51d0ed2.6b0e5" + "3b79183c.e90878" ] ] }, { - "id": "b51d0ed2.6b0e5", + "id": "3b79183c.e90878", "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": 3457.1879959106445, - "y": 1071.3989877700806, - "z": "205403e9.560efc", + "x": 3465.1606521606445, + "y": 1085.4028944969177, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "4421135d.084d2c", + "id": "18cbc1f3.8102ae", "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": 2996.1772994995117, - "y": 1526.7884120941162, - "z": "205403e9.560efc", + "x": 3004.1499557495117, + "y": 1540.7923188209534, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "d1e1bdb5.615f1", + "id": "80cf693a.7220c8", "type": "switchNode", "name": "switch tmp.ep-available", "xml": "<switch test='`$tmp.ep-available`'>\n", "comments": "", "outputs": 1, - "x": 706.3440551757812, - "y": 1292.2327880859375, - "z": "205403e9.560efc", + "x": 714.3167114257812, + "y": 1306.2366948127747, + "z": "4f77841b.f6c90c", "wires": [ [ - "32c06766.90eaa8", - "3e428e4a.b1f8b2" + "6819776a.dd6ac8", + "786155e4.c1358c" ] ] }, { - "id": "3e428e4a.b1f8b2", + "id": "786155e4.c1358c", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 925.0107746124268, - "y": 1341.5661449432373, - "z": "205403e9.560efc", + "x": 932.9834308624268, + "y": 1355.5700516700745, + "z": "4f77841b.f6c90c", "wires": [ [ - "5db74705.3b89f8" + "86bbb2c8.73a38" ] ] }, { - "id": "32c06766.90eaa8", + "id": "6819776a.dd6ac8", "type": "outcomeTrue", "name": "false", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 929.8995761871338, - "y": 1250.5662059783936, - "z": "205403e9.560efc", + "x": 937.8722324371338, + "y": 1264.5701127052307, + "z": "4f77841b.f6c90c", "wires": [ [ - "64e7831f.72ebbc" + "766accfd.fad464" ] ] }, { - "id": "64e7831f.72ebbc", + "id": "766accfd.fad464", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1076.8995723724365, - "y": 1252.4550189971924, - "z": "205403e9.560efc", + "x": 1084.8722286224365, + "y": 1266.4589257240295, + "z": "4f77841b.f6c90c", "wires": [ [ @@ -1143,199 +1143,199 @@ ] }, { - "id": "5db74705.3b89f8", + "id": "86bbb2c8.73a38", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1095.121862411499, - "y": 1339.5661029815674, - "z": "205403e9.560efc", + "x": 1103.094518661499, + "y": 1353.5700097084045, + "z": "4f77841b.f6c90c", "wires": [ [ - "3c2f6627.61512a", - "380c3c36.553114", - "42f94a2e.999604" + "1a3bb9ea.5fc846", + "bafdeb31.9bf788", + "8302661e.daec38" ] ] }, { - "id": "3c2f6627.61512a", + "id": "1a3bb9ea.5fc846", "type": "switchNode", "name": "switch tmp.found-in-ar", "xml": "<switch test='`$tmp.found-in-ar`'>\n", "comments": "", "outputs": 1, - "x": 1325.23291015625, - "y": 1274.566162109375, - "z": "205403e9.560efc", + "x": 1333.20556640625, + "y": 1288.5700688362122, + "z": "4f77841b.f6c90c", "wires": [ [ - "d79615f7.087d78", - "1c319701.787ef9" + "2dbd7031.b0f13", + "840dbee8.b38c3" ] ] }, { - "id": "d79615f7.087d78", + "id": "2dbd7031.b0f13", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1545.677282333374, - "y": 1260.5661029815674, - "z": "205403e9.560efc", + "x": 1553.649938583374, + "y": 1274.5700097084045, + "z": "4f77841b.f6c90c", "wires": [ [ - "ba9cd8cc.15f248" + "26e907a2.2afef8" ] ] }, { - "id": "1c319701.787ef9", + "id": "840dbee8.b38c3", "type": "outcomeTrue", "name": "false", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 1546.67724609375, - "y": 1306.566162109375, - "z": "205403e9.560efc", + "x": 1554.64990234375, + "y": 1320.5700688362122, + "z": "4f77841b.f6c90c", "wires": [ [ - "719bb92a.4ee018" + "adf3229f.c54ae" ] ] }, { - "id": "ba9cd8cc.15f248", + "id": "26e907a2.2afef8", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1733.232946395874, - "y": 1257.5661029815674, - "z": "205403e9.560efc", + "x": 1741.205602645874, + "y": 1271.5700097084045, + "z": "4f77841b.f6c90c", "wires": [ [ - "a6fc819d.1ebca" + "87392ac2.70f368" ] ] }, { - "id": "719bb92a.4ee018", + "id": "adf3229f.c54ae", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1734.23291015625, - "y": 1305.566162109375, - "z": "205403e9.560efc", + "x": 1742.20556640625, + "y": 1319.5700688362122, + "z": "4f77841b.f6c90c", "wires": [ [ - "815fbac.230c748" + "e8d19413.2d1f98" ] ] }, { - "id": "25783fac.20762", + "id": "ea1f1cf0.78972", "type": "comment", "name": "GET connection-attachment-ar to store AR data from mdsal", "info": "", "comments": "", - "x": 2265.5040397644043, - "y": 416.5039129257202, - "z": "205403e9.560efc", + "x": 2273.4766960144043, + "y": 430.5078196525574, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "b02bb1b6.e7f4b", + "id": "9aaa3746.59be18", "type": "comment", "name": "Set source end point", "info": "", "comments": "", - "x": 671.0039176940918, - "y": 562.2539224624634, - "z": "205403e9.560efc", + "x": 678.9765739440918, + "y": 576.2578291893005, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "cb89d188.f33cc", + "id": "602ccaa6.5c1754", "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": 725, - "y": 701, - "z": "205403e9.560efc", + "x": 732.97265625, + "y": 715.0039067268372, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "f37fbd01.3a27c", + "id": "1665d4d8.fb3cab", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 961, - "y": 729, - "z": "205403e9.560efc", + "x": 968.97265625, + "y": 743.0039067268372, + "z": "4f77841b.f6c90c", "wires": [ [ - "204f751a.862bca" + "d2585978.579578" ] ] }, { - "id": "a7659493.fc2068", + "id": "7f1aaa67.966654", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 952.8518028259277, - "y": 764.0660848617554, - "z": "205403e9.560efc", + "x": 960.8244590759277, + "y": 778.0699915885925, + "z": "4f77841b.f6c90c", "wires": [ [ - "7b61e92b.2f9e78" + "417b4b0.5e31db4" ] ] }, { - "id": "7b61e92b.2f9e78", + "id": "417b4b0.5e31db4", "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", "comments": "", - "x": 1128.00048828125, - "y": 760.3334350585938, - "z": "205403e9.560efc", + "x": 1135.97314453125, + "y": 774.3373417854309, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "204f751a.862bca", + "id": "d2585978.579578", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1112, - "y": 727, - "z": "205403e9.560efc", + "x": 1119.97265625, + "y": 741.0039067268372, + "z": "4f77841b.f6c90c", "wires": [ [ @@ -1343,29 +1343,29 @@ ] }, { - "id": "1ccb7b0b.274855", + "id": "7d0763b3.444adc", "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": 2732.9999256134033, - "y": 1048.0000953674316, - "z": "205403e9.560efc", + "x": 2740.9725818634033, + "y": 1062.0040020942688, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "2d352ea7.0e12c2", + "id": "a8542804.b5e6c8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2716.9999256134033, - "y": 1009.0000953674316, - "z": "205403e9.560efc", + "x": 2724.9725818634033, + "y": 1023.0040020942688, + "z": "4f77841b.f6c90c", "wires": [ [ @@ -1373,364 +1373,364 @@ ] }, { - "id": "3bc10ee7.beb432", + "id": "85ce847d.6d7528", "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": 817, - "y": 846, - "z": "205403e9.560efc", + "x": 824.97265625, + "y": 860.0039067268372, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "c79a6189.fcf2c", + "id": "3af7f371.2bc2ac", "type": "comment", "name": "If other EP exists set destination end point", "info": "Check if other allotted resource is available.", "comments": "", - "x": 757, - "y": 1217, - "z": "205403e9.560efc", + "x": 764.97265625, + "y": 1231.0039067268372, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "bac44858.bd4fb8", + "id": "5c493845.192678", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1524, - "y": 1423, - "z": "205403e9.560efc", + "x": 1531.97265625, + "y": 1437.0039067268372, + "z": "4f77841b.f6c90c", "wires": [ [ - "43736465.ded50c", - "1f0536d6.03d209", - "1c6c8b83.e7b554", - "804dff2.f416", - "faab91d9.9baa6", - "40922023.6161", - "cce7fa52.3ac5b8", - "afdc2a42.250d98" + "3869f025.0085f", + "6d83eb1f.c06da4", + "4ef9f41a.4cbccc", + "6ef50d20.7a2d94", + "1ec5a1f5.39482e", + "2020b84a.aa3f78", + "2fc4c609.3e5f6a", + "8d865fcb.ed997" ] ] }, { - "id": "43736465.ded50c", + "id": "3869f025.0085f", "type": "switchNode", "name": "switch access-node-id", "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-node-id'`\">", "comments": "", "outputs": 1, - "x": 1760.51025390625, - "y": 1356.0103759765625, - "z": "205403e9.560efc", + "x": 1768.48291015625, + "y": 1370.0142827033997, + "z": "4f77841b.f6c90c", "wires": [ [ - "327e9777.bfc4d8" + "c5fce3c7.fd67c" ] ] }, { - "id": "1f0536d6.03d209", + "id": "6d83eb1f.c06da4", "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": 1733.5002059936523, - "y": 1661.0003395080566, - "z": "205403e9.560efc", + "x": 1741.4728622436523, + "y": 1675.0042462348938, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "1c6c8b83.e7b554", + "id": "4ef9f41a.4cbccc", "type": "switchNode", "name": "switch access-ltp-id", "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-ltp-id'`\">", "comments": "", "outputs": 1, - "x": 1752.0000839233398, - "y": 1399.777907371521, - "z": "205403e9.560efc", + "x": 1759.9727401733398, + "y": 1413.7818140983582, + "z": "4f77841b.f6c90c", "wires": [ [ - "a140ea29.0beb08" + "28368228.3fc38e" ] ] }, { - "id": "804dff2.f416", + "id": "6ef50d20.7a2d94", "type": "switchNode", "name": "switch clientSignal", "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'clientSignal'`\">", "comments": "", "outputs": 1, - "x": 1746.0001220703125, - "y": 1445.7779541015625, - "z": "205403e9.560efc", + "x": 1753.9727783203125, + "y": 1459.7818608283997, + "z": "4f77841b.f6c90c", "wires": [ [ - "ce02a989.0990f8" + "acc31d1c.59732" ] ] }, { - "id": "faab91d9.9baa6", + "id": "1ec5a1f5.39482e", "type": "switchNode", "name": "switch cVLAN", "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'cVLAN'`\">", "comments": "", "outputs": 1, - "x": 1729.9896240234375, - "y": 1484.7674560546875, - "z": "205403e9.560efc", + "x": 1737.9622802734375, + "y": 1498.7713627815247, + "z": "4f77841b.f6c90c", "wires": [ [ - "f26df0a2.edf49" + "d493c625.a30ae8" ] ] }, { - "id": "327e9777.bfc4d8", + "id": "c5fce3c7.fd67c", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1938.22216796875, - "y": 1356.666748046875, - "z": "205403e9.560efc", + "x": 1946.19482421875, + "y": 1370.6706547737122, + "z": "4f77841b.f6c90c", "wires": [ [ - "ded3a3b2.bb6de" + "11ae82e.b231c7d" ] ] }, { - "id": "ded3a3b2.bb6de", + "id": "11ae82e.b231c7d", "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": 2111.22216796875, - "y": 1356.2667236328125, - "z": "205403e9.560efc", + "x": 2119.19482421875, + "y": 1370.2706303596497, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "a140ea29.0beb08", + "id": "28368228.3fc38e", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1933.7120361328125, - "y": 1399.4342041015625, - "z": "205403e9.560efc", + "x": 1941.6846923828125, + "y": 1413.4381108283997, + "z": "4f77841b.f6c90c", "wires": [ [ - "d26fb8e0.ff59f8" + "304613c.5ad2cec" ] ] }, { - "id": "ce02a989.0990f8", + "id": "acc31d1c.59732", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1933.7120361328125, - "y": 1445.4342041015625, - "z": "205403e9.560efc", + "x": 1941.6846923828125, + "y": 1459.4381108283997, + "z": "4f77841b.f6c90c", "wires": [ [ - "ee911b75.034b28" + "fab4a63a.f922d8" ] ] }, { - "id": "f26df0a2.edf49", + "id": "d493c625.a30ae8", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1933.7015380859375, - "y": 1484.423828125, - "z": "205403e9.560efc", + "x": 1941.6741943359375, + "y": 1498.4277348518372, + "z": "4f77841b.f6c90c", "wires": [ [ - "16f5641b.4b39fc" + "2e48f16d.306a3e" ] ] }, { - "id": "380c3c36.553114", + "id": "bafdeb31.9bf788", "type": "for", "name": "for idx..tmp.ep.parameters[]", "xml": "<for index='idx' start='0' end='`$tmp.ep.parameters.param_length`' >", "comments": "", "outputs": 1, - "x": 1342, - "y": 1356, - "z": "205403e9.560efc", + "x": 1349.97265625, + "y": 1370.0039067268372, + "z": "4f77841b.f6c90c", "wires": [ [ - "bac44858.bd4fb8" + "5c493845.192678" ] ] }, { - "id": "a6fc819d.1ebca", + "id": "87392ac2.70f368", "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`' />", "comments": "", - "x": 1945, - "y": 1257, - "z": "205403e9.560efc", + "x": 1952.97265625, + "y": 1271.0039067268372, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "815fbac.230c748", + "id": "e8d19413.2d1f98", "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", "comments": "", - "x": 1945.999963760376, - "y": 1301.0000591278076, - "z": "205403e9.560efc", + "x": 1953.972620010376, + "y": 1315.0039658546448, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "d26fb8e0.ff59f8", + "id": "304613c.5ad2cec", "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": 2111, - "y": 1399, - "z": "205403e9.560efc", + "x": 2118.97265625, + "y": 1413.0039067268372, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "ee911b75.034b28", + "id": "fab4a63a.f922d8", "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": 2105, - "y": 1443, - "z": "205403e9.560efc", + "x": 2112.97265625, + "y": 1457.0039067268372, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "16f5641b.4b39fc", + "id": "2e48f16d.306a3e", "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": 2096, - "y": 1482, - "z": "205403e9.560efc", + "x": 2103.97265625, + "y": 1496.0039067268372, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "42f94a2e.999604", + "id": "8302661e.daec38", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 736, - "y": 1584, - "z": "205403e9.560efc", + "x": 743.97265625, + "y": 1598.0039067268372, + "z": "4f77841b.f6c90c", "wires": [ [ - "cb687dc5.52b2d", - "4ed51df6.e8ec54" + "fe3d007c.a7b3a", + "d535134a.50d41" ] ] }, { - "id": "164aff86.323ed", + "id": "bec1e4c7.8b8598", "type": "comment", "name": "Get controller info and send request", "info": "", "comments": "", - "x": 686, - "y": 1546, - "z": "205403e9.560efc", + "x": 693.97265625, + "y": 1560.0039067268372, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "9edea41a.d68a58", + "id": "17954934.ffd177", "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": 1379.0000305175781, - "y": 2062.0007610321045, - "z": "205403e9.560efc", + "x": 1386.9726867675781, + "y": 2076.0046677589417, + "z": "4f77841b.f6c90c", "wires": [ [ - "616e1655.379198", - "b0089735.e037f8" + "cabe4ed3.59977", + "efc13d2a.c27fa" ] ] }, { - "id": "616e1655.379198", + "id": "cabe4ed3.59977", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1666.0000228881836, - "y": 2083.0007104873657, - "z": "205403e9.560efc", + "x": 1673.9726791381836, + "y": 2097.004617214203, + "z": "4f77841b.f6c90c", "wires": [ [ - "96c14b60.8835b8" + "4d9476e4.ffbd08" ] ] }, { - "id": "96c14b60.8835b8", + "id": "4d9476e4.ffbd08", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "comments": "", "outputs": 1, - "x": 1835.9999618530273, - "y": 2086.0007104873657, - "z": "205403e9.560efc", + "x": 1843.9726181030273, + "y": 2100.004617214203, + "z": "4f77841b.f6c90c", "wires": [ [ @@ -1738,221 +1738,221 @@ ] }, { - "id": "a39478d4.ff01e8", + "id": "cb5d2c8f.264c6", "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": 1836.0000839233398, - "y": 2042.0007104873657, - "z": "205403e9.560efc", + "x": 1843.9727401733398, + "y": 2056.004617214203, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "b0089735.e037f8", + "id": "efc13d2a.c27fa", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1668.9999618530273, - "y": 2042.0007104873657, - "z": "205403e9.560efc", + "x": 1676.9726181030273, + "y": 2056.004617214203, + "z": "4f77841b.f6c90c", "wires": [ [ - "a39478d4.ff01e8" + "cb5d2c8f.264c6" ] ] }, { - "id": "ed031fec.cf219", + "id": "e2b1aa80.433d58", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1018.7622451782227, - "y": 2481.953144431114, - "z": "205403e9.560efc", + "x": 994.7349166870117, + "y": 2668.9571779966354, + "z": "4f77841b.f6c90c", "wires": [ [ - "2bd27313.7e4a0c" + "49e7952b.6308dc" ] ] }, { - "id": "2bd27313.7e4a0c", + "id": "49e7952b.6308dc", "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": 1185.2861251831055, - "y": 2493.572215437889, - "z": "205403e9.560efc", + "x": 1161.2587966918945, + "y": 2680.5762490034103, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "581d8c50.26f904", + "id": "b0220db9.73208", "type": "failure", "name": "not-found", "xml": "<outcome value='not-found'>\n", "comments": "", "outputs": 1, - "x": 1025.8575325012207, - "y": 2514.715112090111, - "z": "205403e9.560efc", + "x": 1001.8302040100098, + "y": 2701.719145655632, + "z": "4f77841b.f6c90c", "wires": [ [ - "2bd27313.7e4a0c" + "49e7952b.6308dc" ] ] }, { - "id": "9aeb74dd.a24a08", + "id": "8836c87e.2127d8", "type": "comment", "name": "Save Resource to AAI", "info": "", "comments": "", - "x": 737.8099594116211, - "y": 2464.302532672882, - "z": "205403e9.560efc", + "x": 713.7826309204102, + "y": 2651.3065662384033, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "9158a090.142c2", + "id": "ae69a5b4.bcb4d8", "type": "comment", "name": "TODO: Rework after confirmation from AAI", "info": "", "comments": "", - "x": 1038.1688690185547, - "y": 2441.873571395874, - "z": "205403e9.560efc", + "x": 1014.1415405273438, + "y": 2628.8776049613953, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "f9e2a4f.0cf5858", + "id": "a26aed10.bae5b", "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": 752.5776557922363, - "y": 2385.828013896942, - "z": "205403e9.560efc", + "x": 728.5503273010254, + "y": 2572.8320474624634, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "6afb5fe5.f951c", + "id": "4c5d18d9.d86fb8", "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": 720.9907379150391, - "y": 2546.443766117096, - "z": "205403e9.560efc", + "x": 696.9634094238281, + "y": 2733.447799682617, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "9ab0f309.357b6", + "id": "69a30b87.057684", "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": 802.309757232666, - "y": 2293.4687876701355, - "z": "205403e9.560efc", + "x": 778.2824287414551, + "y": 2480.4728212356567, + "z": "4f77841b.f6c90c", "wires": [ [ - "cf614e80.0a4b3", - "6d53da86.669ad4", - "131ccd05.2f3143" + "28d10010.8846d", + "a946bcd6.894fb", + "dceabbc6.4f8628" ] ] }, { - "id": "cf614e80.0a4b3", + "id": "28d10010.8846d", "type": "not-found", "name": "not-found", "xml": "<outcome value='not-found'>\n", "comments": "", "outputs": 1, - "x": 1070.9511337280273, - "y": 2344.8001994118094, - "z": "205403e9.560efc", + "x": 1046.9238052368164, + "y": 2531.8042329773307, + "z": "4f77841b.f6c90c", "wires": [ [ - "ef1dfc84.71501" + "8ae56ed5.c0311" ] ] }, { - "id": "6d53da86.669ad4", + "id": "a946bcd6.894fb", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1061.9511833190918, - "y": 2313.300225161016, - "z": "205403e9.560efc", + "x": 1037.9238548278809, + "y": 2500.3042587265372, + "z": "4f77841b.f6c90c", "wires": [ [ - "ef1dfc84.71501" + "8ae56ed5.c0311" ] ] }, { - "id": "131ccd05.2f3143", + "id": "dceabbc6.4f8628", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1065.7012214660645, - "y": 2283.6573300361633, - "z": "205403e9.560efc", + "x": 1041.6738929748535, + "y": 2470.6613636016846, + "z": "4f77841b.f6c90c", "wires": [ [ - "e18bb85.a259b48" + "fec8c7a7.259eb8" ] ] }, { - "id": "ef1dfc84.71501", + "id": "8ae56ed5.c0311", "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": 1231.7012214660645, - "y": 2314.050249002874, - "z": "205403e9.560efc", + "x": 1207.6738929748535, + "y": 2501.054282568395, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "e18bb85.a259b48", + "id": "fec8c7a7.259eb8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1207.3571891784668, - "y": 2279.8494992256165, - "z": "205403e9.560efc", + "x": 1183.3298606872559, + "y": 2466.8535327911377, + "z": "4f77841b.f6c90c", "wires": [ [ @@ -1960,28 +1960,28 @@ ] }, { - "id": "bef55f2e.ad6b3", + "id": "447e9068.877d", "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": 707.5233535766602, - "y": 2144.849767923355, - "z": "205403e9.560efc", + "x": 683.4960250854492, + "y": 2331.8538014888763, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "d7f464d6.9ac5f8", + "id": "195a1754.387c79", "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": 724.809196472168, - "y": 2217.4693655967712, - "z": "205403e9.560efc", + "x": 700.781867980957, + "y": 2404.4733991622925, + "z": "4f77841b.f6c90c", "wires": [ [ @@ -1989,118 +1989,118 @@ ] }, { - "id": "a66d68ee.9308e8", + "id": "17bafb78.38c045", "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": 774.7962760925293, - "y": 2254.420445919037, - "z": "205403e9.560efc", + "x": 750.7689476013184, + "y": 2441.424479484558, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "36004db7.4505d2", + "id": "4b7801cc.5bfc5", "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": 721.3648948669434, - "y": 2184.0244183540344, - "z": "205403e9.560efc", + "x": 697.3375663757324, + "y": 2371.0284519195557, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "8c652fd0.4d9e2", + "id": "4bbe982e.918098", "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": 834.698356628418, - "y": 2105.0243704319, - "z": "205403e9.560efc", + "x": 810.671028137207, + "y": 2292.0284039974213, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "69186aa2.60ef84", + "id": "cbc69d8c.531e6", "type": "comment", "name": "Add to allotted-resources in mdsal", "info": "", "comments": "", - "x": 776.2781829833984, - "y": 2072.437672138214, - "z": "205403e9.560efc", + "x": 752.2508544921875, + "y": 2259.4417057037354, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "7b232ea8.d345", + "id": "bc43d14.b5aca3", "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": 764.2542381286621, - "y": 2501.754675388336, - "z": "205403e9.560efc", + "x": 740.2269096374512, + "y": 2688.7587089538574, + "z": "4f77841b.f6c90c", "wires": [ [ - "ed031fec.cf219", - "581d8c50.26f904" + "e2b1aa80.433d58", + "b0220db9.73208" ] ] }, { - "id": "cb687dc5.52b2d", + "id": "fe3d007c.a7b3a", "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`\" />", "comments": "", "outputs": 1, - "x": 1043.0040130615234, - "y": 1572.2544918060303, - "z": "205403e9.560efc", + "x": 1050.9766693115234, + "y": 1586.2583985328674, + "z": "4f77841b.f6c90c", "wires": [ [ - "e275a7ba.f6ec08", - "ec20f395.66c91" + "4a299f49.a1b2", + "c4483a2a.ee5b88" ] ] }, { - "id": "e275a7ba.f6ec08", + "id": "4a299f49.a1b2", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1350.0039558410645, - "y": 1593.2543387413025, - "z": "205403e9.560efc", + "x": 1357.9766120910645, + "y": 1607.2582454681396, + "z": "4f77841b.f6c90c", "wires": [ [ - "d000e963.b327a8" + "5d2783a1.6d3b9c" ] ] }, { - "id": "d000e963.b327a8", + "id": "5d2783a1.6d3b9c", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "comments": "", "outputs": 1, - "x": 1520.0038948059082, - "y": 1596.2543387413025, - "z": "205403e9.560efc", + "x": 1527.9765510559082, + "y": 1610.2582454681396, + "z": "4f77841b.f6c90c", "wires": [ [ @@ -2108,863 +2108,959 @@ ] }, { - "id": "773ede9b.4ecb", + "id": "17a7cdf5.434e32", "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": 1520.0040168762207, - "y": 1552.2543387413025, - "z": "205403e9.560efc", + "x": 1527.9766731262207, + "y": 1566.2582454681396, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "ec20f395.66c91", + "id": "c4483a2a.ee5b88", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1353.0038948059082, - "y": 1552.2543387413025, - "z": "205403e9.560efc", + "x": 1360.9765510559082, + "y": 1566.2582454681396, + "z": "4f77841b.f6c90c", "wires": [ [ - "773ede9b.4ecb" + "17a7cdf5.434e32" ] ] }, { - "id": "461ac2a4.5bdfec", + "id": "f41dba91.d30b78", "type": "comment", "name": "Get VPNs from OOF", "info": "", "comments": "", - "x": 963.0079040527344, - "y": 1535.2584590911865, - "z": "205403e9.560efc", + "x": 970.9805603027344, + "y": 1549.2623658180237, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "4ed51df6.e8ec54", + "id": "d535134a.50d41", "type": "for", "name": "for vidx..oof.vpns_length[]", "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >", "comments": "", "outputs": 1, - "x": 994.0039024353027, - "y": 1656.5040574073792, - "z": "205403e9.560efc", + "x": 1001.9765586853027, + "y": 1670.5079641342163, + "z": "4f77841b.f6c90c", "wires": [ [ - "fa8596fd.dc6fb8" + "1e57fa4c.c37666" ] ] }, { - "id": "9e6cff97.3e047", + "id": "39fad139.2c54be", "type": "comment", "name": "Loop through VPN and configure them", "info": "", "comments": "", - "x": 1016.004020690918, - "y": 1620.0043177604675, - "z": "205403e9.560efc", + "x": 1023.976676940918, + "y": 1634.0082244873047, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "5f144f0e.31549", + "id": "d4ff5a6.b2eb6a8", "type": "switchNode", "name": "switch name", "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n", "comments": "", "outputs": 1, - "x": 2994.7882919311523, - "y": 1167.1217517852783, - "z": "205403e9.560efc", + "x": 3002.7609481811523, + "y": 1181.1256585121155, + "z": "4f77841b.f6c90c", "wires": [ [ - "36d080c6.aaac9" + "3a16beb3.77fd72" ] ] }, { - "id": "36d080c6.aaac9", + "id": "3a16beb3.77fd72", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3181.788299560547, - "y": 1161.1216888427734, - "z": "205403e9.560efc", + "x": 3189.760955810547, + "y": 1175.1255955696106, + "z": "4f77841b.f6c90c", "wires": [ [ - "dd94e80d.e79a58" + "16ef01df.25c11e" ] ] }, { - "id": "dd94e80d.e79a58", + "id": "16ef01df.25c11e", "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", "comments": "", - "x": 3443.788589477539, - "y": 1147.721715927124, - "z": "205403e9.560efc", + "x": 3451.761245727539, + "y": 1161.7256226539612, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "37e78cdf.278a44", + "id": "42092cc3.b6ed84", "type": "switchNode", "name": "switch description", "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'description'`\">\n", "comments": "", "outputs": 1, - "x": 3005.627960205078, - "y": 1205.1216869354248, - "z": "205403e9.560efc", + "x": 3013.600616455078, + "y": 1219.125593662262, + "z": "4f77841b.f6c90c", "wires": [ [ - "87cfc59c.1be938" + "23eb9630.e037ca" ] ] }, { - "id": "87cfc59c.1be938", + "id": "23eb9630.e037ca", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3175.627960205078, - "y": 1201.1216869354248, - "z": "205403e9.560efc", + "x": 3183.600616455078, + "y": 1215.125593662262, + "z": "4f77841b.f6c90c", "wires": [ [ - "af30cb49.aad268" + "eb3f5617.6e6248" ] ] }, { - "id": "af30cb49.aad268", + "id": "eb3f5617.6e6248", "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", "comments": "", - "x": 3362.961400985718, - "y": 1199.5828437805176, - "z": "205403e9.560efc", + "x": 3370.934057235718, + "y": 1213.5867505073547, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "ed440eb3.36c94", + "id": "297544d9.6ec98c", "type": "switchNode", "name": "switch tenantId", "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'tenantId'`\">\n", "comments": "", "outputs": 1, - "x": 2991.010353088379, - "y": 1251.455090522766, - "z": "205403e9.560efc", + "x": 2998.983009338379, + "y": 1265.4589972496033, + "z": "4f77841b.f6c90c", "wires": [ [ - "824d6eab.2a9f8" + "dbc7c34c.cdaf7" ] ] }, { - "id": "824d6eab.2a9f8", + "id": "dbc7c34c.cdaf7", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3183.010341644287, - "y": 1244.4550142288208, - "z": "205403e9.560efc", + "x": 3190.982997894287, + "y": 1258.458920955658, + "z": "4f77841b.f6c90c", "wires": [ [ - "58ea9e80.950b3" + "6550e027.0b278" ] ] }, { - "id": "58ea9e80.950b3", + "id": "6550e027.0b278", "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", "comments": "", - "x": 3351.010341644287, - "y": 1245.0550203323364, - "z": "205403e9.560efc", + "x": 3358.982997894287, + "y": 1259.0589270591736, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "5523625.526319c", + "id": "b4d50d62.6f88a", "type": "switchNode", "name": "switch CIR", "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'CIR'`\">\n", "comments": "", "outputs": 1, - "x": 2977.849998474121, - "y": 1338.455072402954, - "z": "205403e9.560efc", + "x": 2985.822654724121, + "y": 1352.4589791297913, + "z": "4f77841b.f6c90c", "wires": [ [ - "6cc5147d.9f838c" + "451e6ff5.dd741" ] ] }, { - "id": "6cc5147d.9f838c", + "id": "451e6ff5.dd741", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3185.850067138672, - "y": 1334.4550857543945, - "z": "205403e9.560efc", + "x": 3193.822723388672, + "y": 1348.4589924812317, + "z": "4f77841b.f6c90c", "wires": [ [ - "5119c20c.53e31c" + "4615d379.ef895c" ] ] }, { - "id": "5119c20c.53e31c", + "id": "4615d379.ef895c", "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", "comments": "", - "x": 3335.1833877563477, - "y": 1332.9162330627441, - "z": "205403e9.560efc", + "x": 3343.1560440063477, + "y": 1346.9201397895813, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "f75e941b.01edb8", + "id": "66d53edd.cdef9", "type": "switchNode", "name": "switch vpnType", "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'vpnType'`\">\n", "comments": "", "outputs": 1, - "x": 2997.1584701538086, - "y": 1292.2327914237976, - "z": "205403e9.560efc", + "x": 3005.1311264038086, + "y": 1306.2366981506348, + "z": "4f77841b.f6c90c", "wires": [ [ - "94f8c651.7d4c68" + "654a7b17.6fec94" ] ] }, { - "id": "94f8c651.7d4c68", + "id": "654a7b17.6fec94", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3184.1584701538086, - "y": 1288.2327914237976, - "z": "205403e9.560efc", + "x": 3192.1311264038086, + "y": 1302.2366981506348, + "z": "4f77841b.f6c90c", "wires": [ [ - "a2401fbd.0e5a6" + "2fb4b95a.7ae496" ] ] }, { - "id": "a2401fbd.0e5a6", + "id": "2fb4b95a.7ae496", "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", "comments": "", - "x": 3353.49210357666, - "y": 1285.693956375122, - "z": "205403e9.560efc", + "x": 3361.46475982666, + "y": 1299.6978631019592, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "882c3718.7bb828", + "id": "64cab1cd.5d443", "type": "switchNode", "name": "switch EIR", "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'EIR'`\">\n", "comments": "", "outputs": 1, - "x": 2979.140449523926, - "y": 1381.1529388427734, - "z": "205403e9.560efc", + "x": 2987.113105773926, + "y": 1395.1568455696106, + "z": "4f77841b.f6c90c", "wires": [ [ - "6a090cfc.b29bc4" + "6c9f358b.4ef8ec" ] ] }, { - "id": "6a090cfc.b29bc4", + "id": "6c9f358b.4ef8ec", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3181.140411376953, - "y": 1376.152958869934, - "z": "205403e9.560efc", + "x": 3189.113067626953, + "y": 1390.1568655967712, + "z": "4f77841b.f6c90c", "wires": [ [ - "7cfdc8c0.796128" + "e70be1bb.0faca" ] ] }, { - "id": "7cfdc8c0.796128", + "id": "e70be1bb.0faca", "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", "comments": "", - "x": 3337.4739151000977, - "y": 1375.614094734192, - "z": "205403e9.560efc", + "x": 3345.4465713500977, + "y": 1389.618001461029, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "dae6d839.a75e08", + "id": "10c9f83a.94e8c8", "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", "comments": "", "outputs": 1, - "x": 3006.1407203674316, - "y": 1435.152904510498, - "z": "205403e9.560efc", + "x": 3014.1133766174316, + "y": 1449.1568112373352, + "z": "4f77841b.f6c90c", "wires": [ [ - "1c170ed.c3c73f1" + "1f4cc1a3.6b11ee" ] ] }, { - "id": "1c170ed.c3c73f1", + "id": "1f4cc1a3.6b11ee", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3184.140724182129, - "y": 1429.1528968811035, - "z": "205403e9.560efc", + "x": 3192.113380432129, + "y": 1443.1568036079407, + "z": "4f77841b.f6c90c", "wires": [ [ - "aafef618.cfb6d8" + "9c3700e2.9346b" ] ] }, { - "id": "aafef618.cfb6d8", + "id": "9c3700e2.9346b", "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", "comments": "", - "x": 3365.4741020202637, - "y": 1428.614055633545, - "z": "205403e9.560efc", + "x": 3373.4467582702637, + "y": 1442.617962360382, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "bc77042c.0ab858", + "id": "17843ccd.4f45d3", "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", "comments": "", "outputs": 1, - "x": 3006.140727996826, - "y": 1481.1529293060303, - "z": "205403e9.560efc", + "x": 3014.113384246826, + "y": 1495.1568360328674, + "z": "4f77841b.f6c90c", "wires": [ [ - "9c20abd0.a9e0c8" + "1a061794.0a46a8" ] ] }, { - "id": "9c20abd0.a9e0c8", + "id": "1a061794.0a46a8", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3184.1407203674316, - "y": 1473.1528978347778, - "z": "205403e9.560efc", + "x": 3192.1133766174316, + "y": 1487.156804561615, + "z": "4f77841b.f6c90c", "wires": [ [ - "28950acd.c17166" + "17025d4a.2f4a83" ] ] }, { - "id": "28950acd.c17166", + "id": "17025d4a.2f4a83", "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", "comments": "", - "x": 3369.4741020202637, - "y": 1473.6140804290771, - "z": "205403e9.560efc", + "x": 3377.4467582702637, + "y": 1487.6179871559143, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "dddada55.283bb8", + "id": "894df50e.725b18", "type": "comment", "name": "Check if other EP exists in SOTNConnectionResource", "info": "", "comments": "", - "x": 3109.3440551757812, - "y": 1034.7883319854736, - "z": "205403e9.560efc", + "x": 3117.3167114257812, + "y": 1048.7922387123108, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "e2fb1fc.98e08e", + "id": "cac8b97a.954468", "type": "comment", "name": "Get other global parameters from network", "info": "", "comments": "", - "x": 3080.3438568115234, - "y": 1126.7882843017578, - "z": "205403e9.560efc", + "x": 3088.3165130615234, + "y": 1140.792191028595, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "40922023.6161", + "id": "2020b84a.aa3f78", "type": "switchNode", "name": "switch access-provider-id", "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-provider-id'`\">", "comments": "", "outputs": 1, - "x": 1767.56591796875, - "y": 1530.232666015625, - "z": "205403e9.560efc", + "x": 1775.53857421875, + "y": 1544.2365727424622, + "z": "4f77841b.f6c90c", "wires": [ [ - "dcc5b1ab.d080a" + "b2fc0056.5b557" ] ] }, { - "id": "dcc5b1ab.d080a", + "id": "b2fc0056.5b557", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1954.56591796875, - "y": 1526.232666015625, - "z": "205403e9.560efc", + "x": 1962.53857421875, + "y": 1540.2365727424622, + "z": "4f77841b.f6c90c", "wires": [ [ - "61749b73.8eae04" + "d84c0472.872308" ] ] }, { - "id": "61749b73.8eae04", + "id": "d84c0472.872308", "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": 2122.56591796875, - "y": 1526.8326721191406, - "z": "205403e9.560efc", + "x": 2130.53857421875, + "y": 1540.8365788459778, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "cce7fa52.3ac5b8", + "id": "2fc4c609.3e5f6a", "type": "switchNode", "name": "switch access-client-id", "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-client-id'`\">", "comments": "", "outputs": 1, - "x": 1758.565933227539, - "y": 1573.2431144714355, - "z": "205403e9.560efc", + "x": 1766.538589477539, + "y": 1587.2470211982727, + "z": "4f77841b.f6c90c", "wires": [ [ - "17cba761.8a69d9" + "d33716c2.7a5c08" ] ] }, { - "id": "17cba761.8a69d9", + "id": "d33716c2.7a5c08", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1945.565933227539, - "y": 1569.2431144714355, - "z": "205403e9.560efc", + "x": 1953.538589477539, + "y": 1583.2470211982727, + "z": "4f77841b.f6c90c", "wires": [ [ - "e72fdf36.f1b28" + "f4503085.70e8" ] ] }, { - "id": "e72fdf36.f1b28", + "id": "f4503085.70e8", "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": 2113.565933227539, - "y": 1569.8431205749512, - "z": "205403e9.560efc", + "x": 2121.538589477539, + "y": 1583.8470273017883, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "afdc2a42.250d98", + "id": "8d865fcb.ed997", "type": "switchNode", "name": "switch access-topology-id", "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-topology-id'`\">", "comments": "", "outputs": 1, - "x": 1771.5658779144287, - "y": 1615.2431454658508, - "z": "205403e9.560efc", + "x": 1779.5385341644287, + "y": 1629.247052192688, + "z": "4f77841b.f6c90c", "wires": [ [ - "d336b3c.0b7875" + "2b04431a.afbcfc" ] ] }, { - "id": "d336b3c.0b7875", + "id": "2b04431a.afbcfc", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1958.5658779144287, - "y": 1611.2431454658508, - "z": "205403e9.560efc", + "x": 1966.5385341644287, + "y": 1625.247052192688, + "z": "4f77841b.f6c90c", "wires": [ [ - "85508473.900a98" + "28052521.1d41ea" ] ] }, { - "id": "85508473.900a98", + "id": "28052521.1d41ea", "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": 2126.5658779144287, - "y": 1611.8431515693665, - "z": "205403e9.560efc", + "x": 2134.5385341644287, + "y": 1625.8470582962036, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "fa8596fd.dc6fb8", + "id": "1e57fa4c.c37666", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1066.1213836669922, - "y": 1742.3442287445068, - "z": "205403e9.560efc", + "x": 1074.0940399169922, + "y": 1756.348135471344, + "z": "4f77841b.f6c90c", "wires": [ [ - "9edea41a.d68a58", - "abb09171.f6ee", - "abc114d6.41e528", - "9b39618e.ffe5f" + "17954934.ffd177", + "edff10aa.4477f", + "4a7a7654.befdb8", + "d70e06b2.ae06d8", + "fb8e8802.2321a8", + "c8bfc2b1.75cdd", + "b738f9eb.4faa78", + "73934aff.e9fd34", + "e16ca07c.f4def", + "44ac5fd1.a9ce3" ] ] }, { - "id": "521aa066.c8761", + "id": "741fad04.c0bcd4", "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": 1764.56591796875, - "y": 1896.6771240234375, - "z": "205403e9.560efc", + "x": 1772.53857421875, + "y": 1910.6810307502747, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "abb09171.f6ee", + "id": "edff10aa.4477f", "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": 1328.0658569335938, - "y": 1955.6771240234375, - "z": "205403e9.560efc", + "x": 1336.0385131835938, + "y": 1969.6810307502747, + "z": "4f77841b.f6c90c", "wires": [ [ - "b2bcb2cd.da9e", - "d1f1ad90.96011", - "bed51f39.f008" + "b6132182.e115", + "b6234a23.02b418", + "52c7285a.09ea48" ] ] }, { - "id": "b2bcb2cd.da9e", + "id": "b6132182.e115", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1567.0658569335938, - "y": 1908.6771240234375, - "z": "205403e9.560efc", + "x": 1575.0385131835938, + "y": 1922.6810307502747, + "z": "4f77841b.f6c90c", "wires": [ [ - "521aa066.c8761" + "741fad04.c0bcd4" ] ] }, { - "id": "d1f1ad90.96011", + "id": "b6234a23.02b418", "type": "not-found", "name": "not-found", "xml": "<outcome value='not-found'>\n", "comments": "", "outputs": 1, - "x": 1570.5568237304688, - "y": 1956.2511596679688, - "z": "205403e9.560efc", + "x": 1578.5294799804688, + "y": 1970.255066394806, + "z": "4f77841b.f6c90c", "wires": [ [ - "d02c15ce.c1c438" + "39fa3945.b568c6" ] ] }, { - "id": "bed51f39.f008", + "id": "52c7285a.09ea48", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1565.8898315429688, - "y": 1997.58447265625, - "z": "205403e9.560efc", + "x": 1573.8624877929688, + "y": 2011.5883793830872, + "z": "4f77841b.f6c90c", "wires": [ [ - "1dfb5bf0.cbb2c4" + "5bc6d6e6.4253f8" ] ] }, { - "id": "d02c15ce.c1c438", + "id": "39fa3945.b568c6", "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": 1747.1282348632812, - "y": 1944.5368957519531, - "z": "205403e9.560efc", + "x": 1755.1008911132812, + "y": 1958.5408024787903, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "1dfb5bf0.cbb2c4", + "id": "5bc6d6e6.4253f8", "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": 1753.6623878479004, - "y": 1993.0236654281616, - "z": "205403e9.560efc", + "x": 1761.6350440979004, + "y": 2007.0275721549988, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "abc114d6.41e528", + "id": "4a7a7654.befdb8", "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", "comments": "", "outputs": 1, - "x": 1274.56591796875, - "y": 1768.6771240234375, - "z": "205403e9.560efc", + "x": 1282.53857421875, + "y": 1782.6810307502747, + "z": "4f77841b.f6c90c", "wires": [ [ - "e5c7f4bb.a977b8", - "c9ac24e7.49a298", - "89a637ca.249d28" + "c669a474.548c18", + "49f40d92.f6bd74", + "a24623ca.7bac3" ] ] }, { - "id": "e5c7f4bb.a977b8", + "id": "c669a474.548c18", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1621.5658569335938, - "y": 1772.6771545410156, - "z": "205403e9.560efc", + "x": 1629.5385131835938, + "y": 1786.6810612678528, + "z": "4f77841b.f6c90c", "wires": [ [ - "9bb25e1d.4626" + "d3849e4d.16c6c" ] ] }, { - "id": "c9ac24e7.49a298", + "id": "49f40d92.f6bd74", "type": "not-found", "name": "not-found", "xml": "<outcome value='not-found'>\n", "comments": "", "outputs": 1, - "x": 1625.0568237304688, - "y": 1820.2511901855469, - "z": "205403e9.560efc", + "x": 1633.0294799804688, + "y": 1834.255096912384, + "z": "4f77841b.f6c90c", "wires": [ [ - "700f50e2.2becf" + "cbab0518.f00ef8" ] ] }, { - "id": "89a637ca.249d28", + "id": "a24623ca.7bac3", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1620.3898315429688, - "y": 1861.5845031738281, - "z": "205403e9.560efc", + "x": 1628.3624877929688, + "y": 1875.5884099006653, + "z": "4f77841b.f6c90c", "wires": [ [ - "634a1d02.90e474" + "4095ec2a.4a6c64" ] ] }, { - "id": "700f50e2.2becf", + "id": "cbab0518.f00ef8", "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": 1801.6282348632812, - "y": 1808.5369262695312, - "z": "205403e9.560efc", + "x": 1809.6008911132812, + "y": 1822.5408329963684, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "634a1d02.90e474", + "id": "4095ec2a.4a6c64", "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": 1808.1623878479004, - "y": 1857.0236959457397, - "z": "205403e9.560efc", + "x": 1816.1350440979004, + "y": 1871.027602672577, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "9bb25e1d.4626", + "id": "d3849e4d.16c6c", "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": 1825.5658569335938, - "y": 1759.6771545410156, - "z": "205403e9.560efc", + "x": 1833.5385131835938, + "y": 1773.6810612678528, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "f371e386.134de", + "id": "b5630d7.89ad9f", "type": "comment", "name": "get domain controller information", "info": "", "comments": "", - "x": 1319.0697860717773, - "y": 1734.6810216903687, - "z": "205403e9.560efc", + "x": 1327.0424423217773, + "y": 1748.6849284172058, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "9b39618e.ffe5f", + "id": "d70e06b2.ae06d8", "type": "set", "name": "set oof.vpn", "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />", "comments": "", - "x": 1256.5658874511719, - "y": 1695.7881488800049, - "z": "205403e9.560efc", + "x": 1264.5385437011719, + "y": 1709.792055606842, + "z": "4f77841b.f6c90c", "wires": [ ] }, { - "id": "ab06a549.912008", + "id": "fb8e8802.2321a8", + "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/'` \" />", + "comments": "", + "outputs": 1, + "x": 1313.00390625, + "y": 2214.7540521621704, + "z": "4f77841b.f6c90c", + "wires": [ + [ + + ] + ] + }, + { + "id": "c8bfc2b1.75cdd", + "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`' />", + "comments": "", + "x": 1288.5039520263672, + "y": 2176.2539596557617, + "z": "4f77841b.f6c90c", + "wires": [ + + ] + }, + { + "id": "b738f9eb.4faa78", + "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`\" />", + "comments": "", + "outputs": 1, + "x": 1340.0039367675781, + "y": 2252.7539653778076, + "z": "4f77841b.f6c90c", + "wires": [ + [ + + ] + ] + }, + { + "id": "4b44bb19.a886d4", "type": "comment", - "name": "TODO: Add VPN resource and its relation with SOTN Connectivity resource", + "name": "save vpn and its relation to AAI", "info": "", "comments": "", - "x": 1452.0103912353516, - "y": 2134.6769676208496, - "z": "205403e9.560efc", + "x": 1325.0039596557617, + "y": 2140.7539899349213, + "z": "4f77841b.f6c90c", "wires": [ ] + }, + { + "id": "e16ca07c.f4def", + "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", + "wires": [ + + ] + }, + { + "id": "73934aff.e9fd34", + "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`\" />", + "comments": "", + "outputs": 1, + "x": 1325.00390625, + "y": 2333.50390625, + "z": "4f77841b.f6c90c", + "wires": [ + [ + + ] + ] + }, + { + "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`\" />", + "comments": "", + "outputs": 1, + "x": 1326.00390625, + "y": 2372.25390625, + "z": "4f77841b.f6c90c", + "wires": [ + [ + + ] + ] } ] |