summaryrefslogtreecommitdiffstats
path: root/platform-logic
diff options
context:
space:
mode:
authorjanani b <janani.b@huawei.com>2019-04-05 19:19:29 +0530
committerDan Timoney <dtimoney@att.com>2019-04-09 14:11:03 +0000
commitb06adb947bb41b3a0b273cef0ae6819a69e97ffc (patch)
tree36c18d971ca57b6ec9b36ba8d653ec324b316779 /platform-logic
parent9393046f20cfd9e8df1c3ad0a59f565737f1f3a0 (diff)
Changing the DG param to use "_"
All the parameters of DG will use "_" instead of ":" Issue-ID: CCSDK-1045 Change-Id: Iaf4d76f808798ca9a3209dfe0fd792f26a3c939a Signed-off-by: janani b <janani.b@huawei.com> Former-commit-id: 0fb3e0e11b347f001353df62b428f5e2d5ef1f9c
Diffstat (limited to 'platform-logic')
-rw-r--r--platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json998
-rw-r--r--platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml3
-rw-r--r--platform-logic/generic-resource-api/src/main/json/sotn/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json2114
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/sotn/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.xml49
4 files changed, 1580 insertions, 1584 deletions
diff --git a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json
index c502687a..7c2cc108 100644
--- a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json
+++ b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json
@@ -1,639 +1,639 @@
[
{
- "id": "26c72de4.f15082",
- "type": "other",
- "name": "update",
- "xml": "<outcome value='Update'>\n",
- "comments": "",
- "outputs": 1,
- "x": 666,
- "y": 254,
- "z": "1a9b8475.da0d2c",
+ "id": "41629315.bd4abc",
+ "type": "other",
+ "name": "update",
+ "xml": "<outcome value='Update'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 724.9999961853027,
+ "y": 349.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "414d6ccb.3d26fc"
+ "9970355a.979a58"
]
]
- },
+ },
{
- "id": "41138058.b8876",
- "type": "other",
- "name": "delete",
- "xml": "<outcome value='delete'>\n",
- "comments": "",
- "outputs": 1,
- "x": 666,
- "y": 334,
- "z": "1a9b8475.da0d2c",
+ "id": "bb11b779.ca75f8",
+ "type": "other",
+ "name": "delete",
+ "xml": "<outcome value='delete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 724.9999961853027,
+ "y": 429.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "25011722.26281"
+ "7e0497f8.ddad68"
]
]
- },
- {
- "id": "25011722.26281",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 807.5,
- "y": 334,
- "z": "1a9b8475.da0d2c",
- "wires": [
- [ ]
- ]
- },
- {
- "id": "8fedb811.8ebe38",
- "type": "comment",
- "name": "TODO: Delete topology from AAI",
- "info": "",
- "comments": "",
- "x": 740.3335189819336,
- "y": 301.96899485588074,
- "z": "1a9b8475.da0d2c",
- "wires": [ ]
- },
- {
- "id": "fc46fa0c.31e87",
- "type": "switchNode",
- "name": "switch aai-event-trigger",
- "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 496.5,
- "y": 294,
- "z": "1a9b8475.da0d2c",
+ },
+ {
+ "id": "7e0497f8.ddad68",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 866.4999961853027,
+ "y": 429.9999942779541,
+ "z": "43e1d1ad.d6a8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c60c87fa.e5d1a8",
+ "type": "comment",
+ "name": "TODO: Delete topology from AAI",
+ "info": "",
+ "comments": "",
+ "x": 799.3335151672363,
+ "y": 397.96898913383484,
+ "z": "43e1d1ad.d6a8e",
+ "wires": []
+ },
+ {
+ "id": "cb414b17.62b928",
+ "type": "switchNode",
+ "name": "switch aai-event-trigger",
+ "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 555.4999961853027,
+ "y": 389.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "26c72de4.f15082",
- "41138058.b8876"
+ "41629315.bd4abc",
+ "bb11b779.ca75f8"
]
]
- },
+ },
{
- "id": "73bed9ba.1eeb9",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1193.5,
- "y": 165,
- "z": "1a9b8475.da0d2c",
+ "id": "5f482ccf.0ae764",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1252.4999961853027,
+ "y": 260.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "ebd26579.8d9818",
- "7c364355.c7d31c",
- "6bff7a95.f6b11c",
- "e40bbeb2.1466c",
- "257a5269.7c0d86"
+ "d220c063.b8e9a",
+ "9a482a6d.6b7268",
+ "97f2ea03.107968",
+ "f06d5e7a.dcdff",
+ "1b8d7ae8.41c4c5"
]
]
- },
+ },
{
- "id": "7c364355.c7d31c",
- "type": "execute",
- "name": "execute RestApiCallNode Get token",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1466.5001983642578,
- "y": 86.00000953674316,
- "z": "1a9b8475.da0d2c",
+ "id": "9a482a6d.6b7268",
+ "type": "execute",
+ "name": "execute RestApiCallNode Get token",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1525.5001945495605,
+ "y": 182.00000381469727,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "460f203b.a3333",
- "2634113c.c7fc8e"
+ "6b4e87a7.382818",
+ "8968e872.1395d8"
]
]
- },
+ },
{
- "id": "460f203b.a3333",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1756.000244140625,
- "y": 78,
- "z": "1a9b8475.da0d2c",
+ "id": "6b4e87a7.382818",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1815.0002403259277,
+ "y": 173.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "964773.4acb289"
+ "abb4b716.9e6c48"
]
]
- },
+ },
{
- "id": "2634113c.c7fc8e",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1752.000244140625,
- "y": 118,
- "z": "1a9b8475.da0d2c",
+ "id": "8968e872.1395d8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1811.0002403259277,
+ "y": 213.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "67cff30a.da3b54"
+ "570488eb.f03fc8"
]
]
- },
- {
- "id": "964773.4acb289",
- "type": "set",
- "name": "set token-id",
- "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
- "comments": "",
- "x": 1906.500244140625,
- "y": 78,
- "z": "1a9b8475.da0d2c",
- "wires": [ ]
- },
- {
- "id": "3bf66a70.af3866",
- "type": "execute",
- "name": "execute RestApiCallNode Get Topology",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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": 1973.500244140625,
- "y": 198,
- "z": "1a9b8475.da0d2c",
+ },
+ {
+ "id": "abb4b716.9e6c48",
+ "type": "set",
+ "name": "set token-id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
+ "comments": "",
+ "x": 1965.5002403259277,
+ "y": 173.9999942779541,
+ "z": "43e1d1ad.d6a8e",
+ "wires": []
+ },
+ {
+ "id": "157313d5.db8b4c",
+ "type": "execute",
+ "name": "execute RestApiCallNode Get Topology",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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": 2032.5002403259277,
+ "y": 293.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "83daffef.93261",
- "9a6001a7.b0681"
+ "33873b8b.c155b4",
+ "ce710140.b905e"
]
]
- },
+ },
{
- "id": "83daffef.93261",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2216.000244140625,
- "y": 218,
- "z": "1a9b8475.da0d2c",
+ "id": "33873b8b.c155b4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2275.0002403259277,
+ "y": 313.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "815ae1d4.60f8"
+ "e5513b6e.ef8ac8"
]
]
- },
+ },
{
- "id": "815ae1d4.60f8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2373.500244140625,
- "y": 218,
- "z": "1a9b8475.da0d2c",
+ "id": "e5513b6e.ef8ac8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2432.5002403259277,
+ "y": 313.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "a1b0634d.e55008"
+ "5d082e27.1f397"
]
]
- },
- {
- "id": "56a034a.503e6cc",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n <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": 2350.000244140625,
- "y": 118,
- "z": "1a9b8475.da0d2c",
- "wires": [ ]
- },
- {
- "id": "9a6001a7.b0681",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2212.000244140625,
- "y": 118,
- "z": "1a9b8475.da0d2c",
+ },
+ {
+ "id": "528cf13c.0c237",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n <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": 2409.0002403259277,
+ "y": 213.9999942779541,
+ "z": "43e1d1ad.d6a8e",
+ "wires": []
+ },
+ {
+ "id": "ce710140.b905e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2271.0002403259277,
+ "y": 213.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "56a034a.503e6cc"
+ "528cf13c.0c237"
]
]
- },
+ },
{
- "id": "39a13bfe.fb4444",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 66,
- "y": 29,
- "z": "1a9b8475.da0d2c",
+ "id": "e8420532.df1058",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 124.99999618530273,
+ "y": 124.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "5147cfad.5c3908"
+ "8ccfff99.445d6"
]
]
- },
+ },
{
- "id": "5147cfad.5c3908",
- "type": "service-logic",
- "name": "DataChange ${project.version}",
- "module": "DataChange",
- "version": "${project.version}",
- "comments": "",
- "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='DataChange' version='${project.version}'>",
- "outputs": 1,
- "x": 132,
- "y": 89,
- "z": "1a9b8475.da0d2c",
+ "id": "8ccfff99.445d6",
+ "type": "service-logic",
+ "name": "DataChange ${project.version}",
+ "module": "DataChange",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='DataChange' version='${project.version}'>",
+ "outputs": 1,
+ "x": 190.99999618530273,
+ "y": 184.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "15128d59.469f9b"
+ "9ae5c632.b6f538"
]
]
- },
+ },
{
- "id": "15128d59.469f9b",
- "type": "method",
- "name": "method esr-thirdparty-sdnc-discovery",
- "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 152,
- "y": 169,
- "z": "1a9b8475.da0d2c",
+ "id": "9ae5c632.b6f538",
+ "type": "method",
+ "name": "method esr-thirdparty-sdnc-discovery",
+ "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 210.99999618530273,
+ "y": 264.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "1baee5be.1b11da"
+ "12028600.fb215a"
]
]
- },
+ },
{
- "id": "1baee5be.1b11da",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 399.5,
- "y": 169,
- "z": "1a9b8475.da0d2c",
+ "id": "12028600.fb215a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 458.49999618530273,
+ "y": 264.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "f40069ea.6c541"
+ "807f3d.fff210c"
]
]
- },
+ },
{
- "id": "a1b0634d.e55008",
- "type": "for",
- "name": "for each Network",
- "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1799.500259399414,
- "y": 317.00001525878906,
- "z": "1a9b8475.da0d2c",
+ "id": "5d082e27.1f397",
+ "type": "for",
+ "name": "for each Network",
+ "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1858.5002555847168,
+ "y": 413.00000953674316,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "e7339f4e.4a45b8"
+ "e62b44ce.a0e368"
]
]
- },
+ },
{
- "id": "e7339f4e.4a45b8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1948.000259399414,
- "y": 317.00001525878906,
- "z": "1a9b8475.da0d2c",
+ "id": "e62b44ce.a0e368",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2007.0002555847168,
+ "y": 413.00000953674316,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "e39a1349.d59948",
- "a69e5196.594768"
+ "69d3f3bb.60d83c",
+ "4e20c7e0.4989a8"
]
]
- },
- {
- "id": "e39a1349.d59948",
- "type": "call",
- "name": "call update-network-to-aai",
- "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2127.000259399414,
- "y": 337.00001525878906,
- "z": "1a9b8475.da0d2c",
- "wires": [
- [ ]
- ]
- },
- {
- "id": "a69e5196.594768",
- "type": "set",
- "name": "set network",
- "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",
- "comments": "",
- "x": 2082.000259399414,
- "y": 297.00001525878906,
- "z": "1a9b8475.da0d2c",
- "wires": [ ]
- },
- {
- "id": "67cff30a.da3b54",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1872.000244140625,
- "y": 118,
- "z": "1a9b8475.da0d2c",
- "wires": [
- [ ]
- ]
- },
- {
- "id": "86d88e9f.569c1",
- "type": "comment",
- "name": "Do Nothing",
- "info": "",
- "comments": "",
- "x": 2042.000244140625,
- "y": 158,
- "z": "1a9b8475.da0d2c",
- "wires": [ ]
- },
- {
- "id": "9b7ecf5d.bb983",
- "type": "switchNode",
- "name": "switch type",
- "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 919,
- "y": 254,
- "z": "1a9b8475.da0d2c",
+ },
+ {
+ "id": "69d3f3bb.60d83c",
+ "type": "call",
+ "name": "call update-network-to-aai",
+ "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2186.000255584717,
+ "y": 433.00000953674316,
+ "z": "43e1d1ad.d6a8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4e20c7e0.4989a8",
+ "type": "set",
+ "name": "set network",
+ "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",
+ "comments": "",
+ "x": 2141.000255584717,
+ "y": 393.00000953674316,
+ "z": "43e1d1ad.d6a8e",
+ "wires": []
+ },
+ {
+ "id": "570488eb.f03fc8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1931.0002403259277,
+ "y": 213.9999942779541,
+ "z": "43e1d1ad.d6a8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8485b334.0774f",
+ "type": "comment",
+ "name": "Do Nothing",
+ "info": "",
+ "comments": "",
+ "x": 2101.0002403259277,
+ "y": 253.9999942779541,
+ "z": "43e1d1ad.d6a8e",
+ "wires": []
+ },
+ {
+ "id": "4662cdd1.b4f8a4",
+ "type": "switchNode",
+ "name": "switch type",
+ "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 977.9999961853027,
+ "y": 349.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "d7810e52.09a7a8",
- "ef809a67.dde878"
+ "c4659524.ddaee8",
+ "b8841114.e40fb"
]
]
- },
+ },
{
- "id": "414d6ccb.3d26fc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 786,
- "y": 254,
- "z": "1a9b8475.da0d2c",
+ "id": "9970355a.979a58",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 844.9999961853027,
+ "y": 349.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "9b7ecf5d.bb983"
+ "4662cdd1.b4f8a4"
]
]
- },
+ },
{
- "id": "d7810e52.09a7a8",
- "type": "other",
- "name": "SOTN",
- "xml": "<outcome value='SOTN'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1032,
- "y": 165,
- "z": "1a9b8475.da0d2c",
+ "id": "c4659524.ddaee8",
+ "type": "other",
+ "name": "SOTN",
+ "xml": "<outcome value='SOTN'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1090.9999961853027,
+ "y": 260.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "73bed9ba.1eeb9"
+ "5f482ccf.0ae764"
]
]
- },
+ },
{
- "id": "ef809a67.dde878",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1047.0000076293945,
- "y": 404.00003242492676,
- "z": "1a9b8475.da0d2c",
+ "id": "b8841114.e40fb",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1106.0000038146973,
+ "y": 500.00002670288086,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "ad793f5e.17f88"
+ "3b070a5d.7f8e96"
]
]
- },
- {
- "id": "ad793f5e.17f88",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",
- "comments": "",
- "x": 1225.0000076293945,
- "y": 404.00003242492676,
- "z": "1a9b8475.da0d2c",
- "wires": [ ]
- },
- {
- "id": "ebd26579.8d9818",
- "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": 1413.0001983642578,
- "y": 46.000009536743164,
- "z": "1a9b8475.da0d2c",
- "wires": [
- [ ]
- ]
- },
- {
- "id": "6bff7a95.f6b11c",
- "type": "switchNode",
- "name": "switch prop.sdncRestApi.token_id",
- "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1459.5001983642578,
- "y": 166.00000953674316,
- "z": "1a9b8475.da0d2c",
+ },
+ {
+ "id": "3b070a5d.7f8e96",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",
+ "comments": "",
+ "x": 1284.0000038146973,
+ "y": 500.00002670288086,
+ "z": "43e1d1ad.d6a8e",
+ "wires": []
+ },
+ {
+ "id": "d220c063.b8e9a",
+ "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": 1472.0001945495605,
+ "y": 142.00000381469727,
+ "z": "43e1d1ad.d6a8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "97f2ea03.107968",
+ "type": "switchNode",
+ "name": "switch prop.sdncRestApi.token_id",
+ "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1518.5001945495605,
+ "y": 262.00000381469727,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "baf46d81.bf5f6",
- "789590c1.ea5428"
+ "a5358ccb.9e8dd",
+ "7f5cb122.be2df"
]
]
- },
+ },
{
- "id": "baf46d81.bf5f6",
- "type": "other",
- "name": "Null",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 1752.000244140625,
- "y": 158,
- "z": "1a9b8475.da0d2c",
+ "id": "a5358ccb.9e8dd",
+ "type": "other",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1811.0002403259277,
+ "y": 253.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "fe0ff87c.8c90c"
+ "ef0365d3.97ff38"
]
]
- },
+ },
{
- "id": "789590c1.ea5428",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1752.000244140625,
- "y": 198,
- "z": "1a9b8475.da0d2c",
+ "id": "7f5cb122.be2df",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1811.0002403259277,
+ "y": 293.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "3bf66a70.af3866"
+ "157313d5.db8b4c"
]
]
- },
+ },
{
- "id": "fe0ff87c.8c90c",
- "type": "execute",
- "name": "execute RestApiCallNode Get Topology",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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",
- "comments": "",
- "outputs": 1,
- "x": 1973.500244140625,
- "y": 158,
- "z": "1a9b8475.da0d2c",
+ "id": "ef0365d3.97ff38",
+ "type": "execute",
+ "name": "execute RestApiCallNode Get Topology",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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",
+ "comments": "",
+ "outputs": 1,
+ "x": 2032.5002403259277,
+ "y": 253.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "9a6001a7.b0681",
- "83daffef.93261"
+ "ce710140.b905e",
+ "33873b8b.c155b4"
]
]
- },
- {
- "id": "257a5269.7c0d86",
- "type": "execute",
- "name": "execute RestconfDiscoveryNode",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscription' >\n<parameter name=\"subscriberId\" value=\"sotn-controller\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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`\" />\n<parameter name=\"module\" value=\"DataChange\" />\n<parameter name=\"rpc\" value=\"sotn-notification-handler\" />\n<parameter name=\"mode\" value=\"sync\" />",
- "comments": "",
- "outputs": 1,
- "x": 1456.0001983642578,
- "y": 306.00000953674316,
- "z": "1a9b8475.da0d2c",
- "wires": [
- [ ]
- ]
- },
- {
- "id": "e40bbeb2.1466c",
- "type": "set",
- "name": "set encoding-format",
- "xml": "<set>\n<parameter name='input' value='ietf-subscribed-notifications:establish-subscription.input.' />\n<parameter name=\"`$input + 'encoding'`\" value=\"encode-json\" />",
- "comments": "",
- "x": 1416.0001983642578,
- "y": 266.00000953674316,
- "z": "1a9b8475.da0d2c",
- "wires": [ ]
- },
- {
- "id": "d34b58fb.df8cd",
- "type": "comment",
- "name": "Notification subscription",
- "info": "",
- "comments": "",
- "x": 1421.000343322754,
- "y": 223.00000858306885,
- "z": "1a9b8475.da0d2c",
- "wires": [ ]
- },
- {
- "id": "f40069ea.6c541",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 106,
- "y": 294,
- "z": "1a9b8475.da0d2c",
+ },
+ {
+ "id": "1b8d7ae8.41c4c5",
+ "type": "execute",
+ "name": "execute RestconfDiscoveryNode",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscription' >\n<parameter name=\"subscriberId\" value=\"sotn-controller\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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`\" />\n<parameter name=\"module\" value=\"DataChange\" />\n<parameter name=\"rpc\" value=\"sotn-notification-handler\" />\n<parameter name=\"mode\" value=\"sync\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1517.0001525878906,
+ "y": 400.9999828338623,
+ "z": "43e1d1ad.d6a8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f06d5e7a.dcdff",
+ "type": "set",
+ "name": "set encoding-format",
+ "xml": "<set>\n<parameter name='ietf-subscribed-notifications_establish-subscription.input.encoding' value=\"encode-json\" />",
+ "comments": "",
+ "x": 1475.0001945495605,
+ "y": 362.00000381469727,
+ "z": "43e1d1ad.d6a8e",
+ "wires": []
+ },
+ {
+ "id": "971a117b.a06b9",
+ "type": "comment",
+ "name": "Notification subscription",
+ "info": "",
+ "comments": "",
+ "x": 1480.0003395080566,
+ "y": 319.00000286102295,
+ "z": "43e1d1ad.d6a8e",
+ "wires": []
+ },
+ {
+ "id": "807f3d.fff210c",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 164.99999618530273,
+ "y": 389.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "5e28a0df.7fabe",
- "39367b0f.d19614"
+ "1b70ca9c.7c9985",
+ "c9877e2e.2d6a5"
]
]
- },
+ },
{
- "id": "5e28a0df.7fabe",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 293,
- "y": 294,
- "z": "1a9b8475.da0d2c",
+ "id": "1b70ca9c.7c9985",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 351.99999618530273,
+ "y": 389.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "fc46fa0c.31e87"
+ "cb414b17.62b928"
]
]
- },
+ },
{
- "id": "39367b0f.d19614",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 294,
- "y": 419,
- "z": "1a9b8475.da0d2c",
+ "id": "c9877e2e.2d6a5",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 352.99999618530273,
+ "y": 514.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
[
- "8828fa0f.91d7c8"
+ "66b25f6e.ea9c2"
]
]
- },
+ },
{
- "id": "8828fa0f.91d7c8",
- "type": "call",
- "name": "call esr-thirdparty-sdnc-of-zte",
- "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 517,
- "y": 419,
- "z": "1a9b8475.da0d2c",
+ "id": "66b25f6e.ea9c2",
+ "type": "call",
+ "name": "call esr-thirdparty-sdnc-of-zte",
+ "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 575.9999961853027,
+ "y": 514.9999942779541,
+ "z": "43e1d1ad.d6a8e",
"wires": [
- [ ]
+ []
]
}
] \ No newline at end of file
diff --git a/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml b/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml
index e11daddd..f6cd4d19 100644
--- a/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml
+++ b/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml
@@ -102,8 +102,7 @@
</outcome>
</switch>
<set>
- <parameter name="input" value="ietf-subscribed-notifications:establish-subscription.input."/>
- <parameter name="`$input + 'encoding'`" value="encode-json"/>
+ <parameter name="ietf-subscribed-notifications_establish-subscription.input.encoding" value="encode-json"/>
</set>
<execute plugin="org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode" method="establishSubscription">
<parameter name="subscriberId" value="sotn-controller"/>
diff --git a/platform-logic/generic-resource-api/src/main/json/sotn/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json b/platform-logic/generic-resource-api/src/main/json/sotn/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json
index 89e1e861..c52930d0 100644
--- a/platform-logic/generic-resource-api/src/main/json/sotn/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json
+++ b/platform-logic/generic-resource-api/src/main/json/sotn/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json
@@ -1,20 +1,20 @@
[
{
- "id": "856df3f7.e848d",
+ "id": "28d275a.bfe138a",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 287.9998779296875,
- "y": 432.4548645019531,
- "z": "457a744e.ed1b4c",
+ "x": 288.4998779296875,
+ "y": 71.99999904632568,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "c3ac539a.75d23"
+ "d19f3a06.022368"
]
]
},
{
- "id": "c3ac539a.75d23",
+ "id": "d19f3a06.022368",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,3066 +22,3066 @@
"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": 181.99988174438477,
- "y": 504.4548816680908,
- "z": "457a744e.ed1b4c",
+ "x": 182.49988174438477,
+ "y": 144.00001621246338,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "42cf8419.06f25c"
+ "7a2f1ce2.d27b24"
]
]
},
{
- "id": "42cf8419.06f25c",
+ "id": "7a2f1ce2.d27b24",
"type": "method",
"name": "sotn-attachment-topology-operation-activate",
"xml": "<method rpc='sotn-attachment-topology-operation-activate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 170,
- "y": 592.4548645019531,
- "z": "457a744e.ed1b4c",
+ "x": 170.5,
+ "y": 231.99999904632568,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "44229f8c.39b5a"
+ "70eb8f94.914be"
]
]
},
{
- "id": "44229f8c.39b5a",
+ "id": "70eb8f94.914be",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 186,
- "y": 1147.4551091194153,
- "z": "457a744e.ed1b4c",
+ "x": 186.5,
+ "y": 787.0002436637878,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "ba9e8375.777f",
- "15d45773.32c279",
- "a32bd31f.e0ecd",
- "d86c13ce.944c4",
- "47caa47d.16426c",
- "759ba274.db6d0c",
- "4c87cfa1.02c6c",
- "b760f3b3.babf2",
- "b571fb6b.8ab608",
- "b52dba2d.a71bc8",
- "76fbe2f6.cb133c",
- "c339c30c.1d058",
- "6927072b.434fa8",
- "fecc8e1.3af3a7",
- "71a15b15.32e354",
- "7f03f367.f1262c",
- "be2b6004.6abeb",
- "e4d724bf.bef2c8",
- "2c5393b4.18384c",
- "a54e0786.d45e68"
+ "30d38659.9ca3da",
+ "18dde1e3.9567be",
+ "a87c2e3.9552cd",
+ "dd042947.596178",
+ "8aa20f0d.2f659",
+ "2b23bd9b.6febb2",
+ "cff1f9f1.a56e28",
+ "e801191.dd549e8",
+ "b2d7beb8.50e79",
+ "c2e744b7.2f7498",
+ "c7b09f9c.c261d",
+ "f53c2230.a7af7",
+ "c7e83767.1962b8",
+ "cce9c4ca.7b8858",
+ "46437a86.852124",
+ "755ed1f3.fd5e1",
+ "9c164258.b89ac",
+ "8cebe888.0f36b8",
+ "55e9e37.ce7981c",
+ "fc04a841.669f18"
]
]
},
{
- "id": "ba9e8375.777f",
+ "id": "30d38659.9ca3da",
"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": 582.9934387207031,
- "y": 546.4483513832092,
- "z": "457a744e.ed1b4c",
+ "x": 583.4934387207031,
+ "y": 185.9934859275818,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "8dfc51c4.4907a",
+ "id": "1674cd93.86fde2",
"type": "comment",
"name": "set tmp ar-id to fetch resource from MDSAL",
"info": "",
"comments": "",
- "x": 597.4536285400391,
- "y": 499.48014736175537,
- "z": "457a744e.ed1b4c",
+ "x": 597.9536285400391,
+ "y": 139.02528190612793,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "15d45773.32c279",
+ "id": "18dde1e3.9567be",
"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": 536.9933776855469,
- "y": 639.448356628418,
- "z": "457a744e.ed1b4c",
+ "x": 537.4933776855469,
+ "y": 278.9934911727905,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "47caa47d.16426c",
+ "id": "8aa20f0d.2f659",
"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": 543.2552680969238,
- "y": 727.1150856018066,
- "z": "457a744e.ed1b4c",
+ "x": 543.7552680969238,
+ "y": 366.6602201461792,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "a32bd31f.e0ecd",
+ "id": "a87c2e3.9552cd",
"type": "execute",
"name": "generate allotted-resource tmp.ar-url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 590.2553253173828,
- "y": 815.1150894165039,
- "z": "457a744e.ed1b4c",
+ "x": 590.7553253173828,
+ "y": 454.66022396087646,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "722a6658.bf16e8",
+ "id": "1ee3af2.4b29351",
"type": "comment",
"name": "GET connection-attachment-allotted-resource from mdsal",
"info": "",
"comments": "",
- "x": 622.3081359863281,
- "y": 934.9935235977173,
- "z": "457a744e.ed1b4c",
+ "x": 622.8081359863281,
+ "y": 574.5386581420898,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "f15283c1.aa42d",
+ "id": "68f1c514.ded31c",
"type": "comment",
"name": "Used for setting output to API Handler",
"info": "",
"comments": "",
- "x": 576.4932861328125,
- "y": 595.4483661651611,
- "z": "457a744e.ed1b4c",
+ "x": 576.9932861328125,
+ "y": 234.9935007095337,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "56bc8415.3a63fc",
+ "id": "bb16939f.0bb2",
"type": "comment",
"name": "Obtain different URL, template location etc",
"info": "For saving resource information to MDSAL & for AAI",
"comments": "",
- "x": 594.4932518005371,
- "y": 681.3372468948364,
- "z": "457a744e.ed1b4c",
+ "x": 594.9932518005371,
+ "y": 320.882381439209,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "d454f4dd.1be708",
+ "id": "b570954a.774d68",
"type": "comment",
"name": "Used to Get AR by id to MDSAL, same as self-link",
"info": "",
"comments": "",
- "x": 620.4932708740234,
- "y": 768.3372058868408,
- "z": "457a744e.ed1b4c",
+ "x": 620.9932708740234,
+ "y": 407.8823404312134,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "860a625.2d0bba",
+ "id": "cc101fab.4516e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1096.666669845581,
- "y": 963.4548492431641,
- "z": "457a744e.ed1b4c",
+ "x": 1097.166669845581,
+ "y": 602.9999837875366,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "23f7f9e5.e74c26"
+ "9738f108.898b7"
]
]
},
{
- "id": "23f7f9e5.e74c26",
+ "id": "9738f108.898b7",
"type": "block",
"name": "block: atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1240.666748046875,
- "y": 920.9547672271729,
- "z": "457a744e.ed1b4c",
+ "x": 1241.166748046875,
+ "y": 560.4999017715454,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "50c8dc73.ad5724"
+ "8a16f689.6b7ae8"
]
]
},
{
- "id": "50c8dc73.ad5724",
+ "id": "8a16f689.6b7ae8",
"type": "switchNode",
"name": "switch cr length",
"xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1409.5241718292236,
- "y": 918.573938369751,
- "z": "457a744e.ed1b4c",
+ "x": 1410.0241718292236,
+ "y": 558.1190729141235,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "c054c953.458078",
- "79145839.1bfe98"
+ "6caeb4d0.5e023c",
+ "5d2c0047.75c77"
]
]
},
{
- "id": "c054c953.458078",
+ "id": "6caeb4d0.5e023c",
"type": "other",
"name": "outcome 1",
"xml": "<outcome value='1'>\n",
"comments": "",
"outputs": 1,
- "x": 1564.857307434082,
- "y": 890.5738534927368,
- "z": "457a744e.ed1b4c",
+ "x": 1565.357307434082,
+ "y": 530.1189880371094,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "46a60f4d.34912"
+ "5c4df4f9.cc097c"
]
]
},
{
- "id": "46a60f4d.34912",
+ "id": "5c4df4f9.cc097c",
"type": "block",
"name": "block: atomic",
"xml": "<block atomic='true'>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1723.3811111450195,
- "y": 888.4787006378174,
- "z": "457a744e.ed1b4c",
+ "x": 1723.8811111450195,
+ "y": 528.0238351821899,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "df6acc2d.ff6de",
- "612880e0.04607",
- "cfe330b5.d7e03"
+ "1e89f07a.c151d",
+ "eb1d752c.cdd658",
+ "5ff280be.365f2"
]
]
},
{
- "id": "bb2fd456.9a1798",
+ "id": "51eebf2c.9c9cc",
"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: Connection attachment resource not exist\" />\n \n",
"comments": "",
- "x": 1663.51904296875,
- "y": 995.5209350585938,
- "z": "457a744e.ed1b4c",
+ "x": 1664.01904296875,
+ "y": 635.0660696029663,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "db78a108.063fb",
+ "id": "687f563.00b84a8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1088.5184726715088,
- "y": 998.5209341049194,
- "z": "457a744e.ed1b4c",
+ "x": 1089.0184726715088,
+ "y": 638.066068649292,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "333707db.05b3b8"
+ "82a2b9aa.fbc138"
]
]
},
{
- "id": "333707db.05b3b8",
+ "id": "82a2b9aa.fbc138",
"type": "block",
"name": "block: atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1268.5184230804443,
- "y": 999.1874847412109,
- "z": "457a744e.ed1b4c",
+ "x": 1269.0184230804443,
+ "y": 638.7326192855835,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "bb2fd456.9a1798"
+ "51eebf2c.9c9cc"
]
]
},
{
- "id": "79145839.1bfe98",
+ "id": "5d2c0047.75c77",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1556.1853103637695,
- "y": 949.8542280197144,
- "z": "457a744e.ed1b4c",
+ "x": 1556.6853103637695,
+ "y": 589.3993625640869,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "bb2fd456.9a1798"
+ "51eebf2c.9c9cc"
]
]
},
{
- "id": "df6acc2d.ff6de",
+ "id": "1e89f07a.c151d",
"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": 1970.444564819336,
- "y": 861.4549527168274,
- "z": "457a744e.ed1b4c",
+ "x": 1970.944564819336,
+ "y": 501.00008726119995,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "cfe330b5.d7e03",
+ "id": "5ff280be.365f2",
"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": 1904.444595336914,
- "y": 934.8834552764893,
- "z": "457a744e.ed1b4c",
+ "x": 1904.944595336914,
+ "y": 574.4285898208618,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "612880e0.04607",
+ "id": "eb1d752c.cdd658",
"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": 1914.4443740844727,
- "y": 900.4548892974854,
- "z": "457a744e.ed1b4c",
+ "x": 1914.9443740844727,
+ "y": 540.0000238418579,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "59d3ffeb.34439",
- "b4436494.1a02b8",
- "3d1a678c.8bbdd8"
+ "bd6b8fd9.7425f",
+ "de760411.78f278",
+ "7125493.f496eb8"
]
]
},
{
- "id": "59d3ffeb.34439",
+ "id": "bd6b8fd9.7425f",
"type": "outcome",
"name": "outcome Created",
"xml": "<outcome value='Created'>\n",
"comments": "",
"outputs": 1,
- "x": 2150.0444564819336,
- "y": 894.4549202919006,
- "z": "457a744e.ed1b4c",
+ "x": 2150.5444564819336,
+ "y": 534.0000548362732,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "df7e0809.5f60a8"
+ "1316c298.882dad"
]
]
},
{
- "id": "3d1a678c.8bbdd8",
+ "id": "7125493.f496eb8",
"type": "outcome",
"name": "outcome Other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2143.7589569091797,
- "y": 974.8835549354553,
- "z": "457a744e.ed1b4c",
+ "x": 2144.2589569091797,
+ "y": 614.4286894798279,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "29c5c973.948626"
+ "4ad5b58c.e9d9dc"
]
]
},
{
- "id": "df7e0809.5f60a8",
+ "id": "1316c298.882dad",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2308.5151290893555,
- "y": 894.8305759429932,
- "z": "457a744e.ed1b4c",
+ "x": 2309.0151290893555,
+ "y": 534.3757104873657,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "29c5c973.948626",
+ "id": "4ad5b58c.e9d9dc",
"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": 2319.6667709350586,
- "y": 973.4549541473389,
- "z": "457a744e.ed1b4c",
+ "x": 2320.1667709350586,
+ "y": 613.0000886917114,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "e7c9e6c8.22ec78",
+ "id": "aa47ad2e.19ee1",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sotn-get-saved-ar-param",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 807.3029289245605,
- "y": 1045.9484691619873,
- "z": "457a744e.ed1b4c",
+ "x": 807.8029289245605,
+ "y": 685.4936037063599,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "759ba274.db6d0c",
+ "id": "2b23bd9b.6febb2",
"type": "block",
"name": "block: atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 501.3090286254883,
- "y": 1046.954839706421,
- "z": "457a744e.ed1b4c",
+ "x": 501.8090286254883,
+ "y": 686.4999742507935,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "e7c9e6c8.22ec78"
+ "aa47ad2e.19ee1"
]
]
},
{
- "id": "a3f3b1ad.b0019",
+ "id": "741f9620.416278",
"type": "comment",
"name": "GET parent-service-data from mdsal to check existence of other End point",
"info": "",
"comments": "",
- "x": 674.500244140625,
- "y": 1080.9866170883179,
- "z": "457a744e.ed1b4c",
+ "x": 675.000244140625,
+ "y": 720.5317516326904,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "76fcae92.3eed7",
+ "id": "1599946a.f42bac",
"type": "for",
"name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",
"xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1580.185073852539,
- "y": 1244.4590945243835,
- "z": "457a744e.ed1b4c",
+ "x": 1580.685073852539,
+ "y": 884.0042290687561,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "d5a80521.4971a8"
+ "ceda6a9c.0a4ec8"
]
]
},
{
- "id": "d86c13ce.944c4",
+ "id": "dd042947.596178",
"type": "switchNode",
"name": "switch mdsal-psd.service-data.provided-allotted-resources_length",
"xml": "<switch test='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 664.1840972900391,
- "y": 1352.1731309890747,
- "z": "457a744e.ed1b4c",
+ "x": 664.6840972900391,
+ "y": 991.7182655334473,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "2966b54a.501cfa",
- "a9c0a3da.bac0f",
- "90fbdee6.96522"
+ "247c1aa6.c1a456",
+ "fbb0b1cd.ea157",
+ "74dbd737.e80688"
]
]
},
{
- "id": "2966b54a.501cfa",
+ "id": "247c1aa6.c1a456",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 992.3271179199219,
- "y": 1425.0304050445557,
- "z": "457a744e.ed1b4c",
+ "x": 992.8271179199219,
+ "y": 1064.5755395889282,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "e73ccbba.1ddf58"
+ "9f78b17.958795"
]
]
},
{
- "id": "70b1403b.56bf6",
+ "id": "bf10870f.24b968",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1176.4543800354004,
- "y": 1284.1564140319824,
- "z": "457a744e.ed1b4c",
+ "x": 1176.9543800354004,
+ "y": 923.701548576355,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "76fcae92.3eed7",
- "4ca6c420.3d4d6c"
+ "1599946a.f42bac",
+ "ea370c09.3b25a"
]
]
},
{
- "id": "d5a80521.4971a8",
+ "id": "ceda6a9c.0a4ec8",
"type": "switchNode",
"name": "switch allotted-resource-id",
"xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 2020.296401977539,
- "y": 1241.458896636963,
- "z": "457a744e.ed1b4c",
+ "x": 2020.796401977539,
+ "y": 881.0040311813354,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "fbf9bebd.108b5",
- "1701079a.547728"
+ "be801959.a0ebf8",
+ "84824bc9.d75b28"
]
]
},
{
- "id": "fbf9bebd.108b5",
+ "id": "be801959.a0ebf8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2193.106616973877,
- "y": 1212.923511505127,
- "z": "457a744e.ed1b4c",
+ "x": 2193.606616973877,
+ "y": 852.4686460494995,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "d1d91e32.6cacd"
+ "a1af2e87.6244d"
]
]
},
{
- "id": "ca9dd6b1.dea908",
+ "id": "3e8f5d5b.fa5fe2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2341.867088317871,
- "y": 1269.780598640442,
- "z": "457a744e.ed1b4c",
+ "x": 2342.367088317871,
+ "y": 909.3257331848145,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "74d65b2c.e08474"
+ "427ccd7c.897854"
]
]
},
{
- "id": "74d65b2c.e08474",
+ "id": "427ccd7c.897854",
"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.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].`' />\n<parameter name='tmp.found-in-ar' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
"comments": "",
- "x": 2576.7245140075684,
- "y": 1268.3521308898926,
- "z": "457a744e.ed1b4c",
+ "x": 2577.2245140075684,
+ "y": 907.8972654342651,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "f9f17725.c60488",
+ "id": "65595641.ab8308",
"type": "comment",
"name": "Check existence of other AR in parent service data",
"info": "Check if other allotted resource is available.",
"comments": "",
- "x": 597.4624137878418,
- "y": 1246.3478260040283,
- "z": "457a744e.ed1b4c",
+ "x": 597.9624137878418,
+ "y": 885.8929605484009,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "a9c0a3da.bac0f",
+ "id": "fbb0b1cd.ea157",
"type": "other",
"name": "outcome 1",
"xml": "<outcome value='1'>\n",
"comments": "",
"outputs": 1,
- "x": 1006.9795875549316,
- "y": 1364.1320886611938,
- "z": "457a744e.ed1b4c",
+ "x": 1007.4795875549316,
+ "y": 1003.6772232055664,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "44d59200.c8af1c"
+ "248004a9.093adc"
]
]
},
{
- "id": "e73ccbba.1ddf58",
+ "id": "9f78b17.958795",
"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: End points not available\" />\n \n",
"comments": "",
- "x": 1151.9794654846191,
- "y": 1424.1323337554932,
- "z": "457a744e.ed1b4c",
+ "x": 1152.4794654846191,
+ "y": 1063.6774682998657,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "90fbdee6.96522",
+ "id": "74dbd737.e80688",
"type": "other",
"name": "outcome 2",
"xml": "<outcome value='2'>\n",
"comments": "",
"outputs": 1,
- "x": 1001.9794006347656,
- "y": 1285.1321144104004,
- "z": "457a744e.ed1b4c",
+ "x": 1002.4794006347656,
+ "y": 924.677248954773,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "70b1403b.56bf6"
+ "bf10870f.24b968"
]
]
},
{
- "id": "d1d91e32.6cacd",
+ "id": "a1af2e87.6244d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2351.090831756592,
- "y": 1212.132254600525,
- "z": "457a744e.ed1b4c",
+ "x": 2351.590831756592,
+ "y": 851.6773891448975,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "1701079a.547728",
+ "id": "84824bc9.d75b28",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2200.090473175049,
- "y": 1269.1321144104004,
- "z": "457a744e.ed1b4c",
+ "x": 2200.590473175049,
+ "y": 908.677248954773,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "ca9dd6b1.dea908"
+ "3e8f5d5b.fa5fe2"
]
]
},
{
- "id": "4ca6c420.3d4d6c",
+ "id": "ea370c09.3b25a",
"type": "switchNode",
"name": "switch tmp.found-in-ar",
"xml": "<switch test='`$tmp.found-in-ar`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 1388.979377746582,
- "y": 1337.9099321365356,
- "z": "457a744e.ed1b4c",
+ "x": 1389.479377746582,
+ "y": 977.4550666809082,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "de2c4f3e.58ca2"
+ "8b1d9769.993e78"
]
]
},
{
- "id": "de2c4f3e.58ca2",
+ "id": "8b1d9769.993e78",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1559.9794120788574,
- "y": 1339.0211534500122,
- "z": "457a744e.ed1b4c",
+ "x": 1560.4794120788574,
+ "y": 978.5662879943848,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "81e5e824.bbde88"
+ "68fe21b8.c4eab"
]
]
},
{
- "id": "81e5e824.bbde88",
+ "id": "68fe21b8.c4eab",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1708.979507446289,
- "y": 1339.021152496338,
- "z": "457a744e.ed1b4c",
+ "x": 1709.479507446289,
+ "y": 978.5662870407104,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "ef83619e.fcadf",
- "70f5ae0d.ee9ea"
+ "251f1840.c6f158",
+ "549841eb.86ecc"
]
]
},
{
- "id": "a5795c00.0454b8",
+ "id": "dc9bc603.157798",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2455.0973320007324,
- "y": 1355.2500066757202,
- "z": "457a744e.ed1b4c",
+ "x": 2455.5973320007324,
+ "y": 994.7951412200928,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "acd4313a.acdba"
+ "965d8d48.7805f"
]
]
},
{
- "id": "a870baef.09bb38",
+ "id": "75f7d9fa.a34b78",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2446.94913482666,
- "y": 1390.3160915374756,
- "z": "457a744e.ed1b4c",
+ "x": 2447.44913482666,
+ "y": 1029.8612260818481,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "c23d6d08.4c9e6"
+ "4a793fb6.ab4b7"
]
]
},
{
- "id": "7afdbce8.a487b4",
+ "id": "8d42ade.e26d95",
"type": "switchNode",
"name": "switch mdsal-psd.service-data.networks_length",
"xml": "<switch test='`$mdsal-psd.service-data.networks.network_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1452.3128814697266,
- "y": 1439.354772567749,
- "z": "457a744e.ed1b4c",
+ "x": 1452.8128814697266,
+ "y": 1078.8999071121216,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "3ae2030c.2e369c",
- "35f89340.b0afec"
+ "d9748223.b24bd",
+ "2f9960ae.38ac6"
]
]
},
{
- "id": "35f89340.b0afec",
+ "id": "2f9960ae.38ac6",
"type": "other",
"name": "outcome 1",
"xml": "<outcome value='1'>\n",
"comments": "",
"outputs": 1,
- "x": 1716.312728881836,
- "y": 1419.2435188293457,
- "z": "457a744e.ed1b4c",
+ "x": 1716.812728881836,
+ "y": 1058.7886533737183,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "3440b31f.59dfbc"
+ "8d657d74.58d7f"
]
]
},
{
- "id": "3ae2030c.2e369c",
+ "id": "d9748223.b24bd",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1706.3127899169922,
- "y": 1467.2434902191162,
- "z": "457a744e.ed1b4c",
+ "x": 1706.8127899169922,
+ "y": 1106.7886247634888,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "41cb4081.5cc8b"
+ "fad1ef7b.80f8a"
]
]
},
{
- "id": "41cb4081.5cc8b",
+ "id": "fad1ef7b.80f8a",
"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": 1844.9651336669922,
- "y": 1469.345251083374,
- "z": "457a744e.ed1b4c",
+ "x": 1845.4651336669922,
+ "y": 1108.8903856277466,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "835a530e.7655e",
+ "id": "5006afab.cadb6",
"type": "set",
"name": "set tmp.network.",
"xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[0].`' />\n\n\n",
"comments": "",
- "x": 2077.7575874328613,
- "y": 1420.243688583374,
- "z": "457a744e.ed1b4c",
+ "x": 2078.2575874328613,
+ "y": 1059.7888231277466,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "44d59200.c8af1c",
+ "id": "248004a9.093adc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1174.4238967895508,
- "y": 1363.2433557510376,
- "z": "457a744e.ed1b4c",
+ "x": 1174.9238967895508,
+ "y": 1002.7884902954102,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "7afdbce8.a487b4"
+ "8d42ade.e26d95"
]
]
},
{
- "id": "3440b31f.59dfbc",
+ "id": "8d657d74.58d7f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1875.0904998779297,
- "y": 1422.2433528900146,
- "z": "457a744e.ed1b4c",
+ "x": 1875.5904998779297,
+ "y": 1061.7884874343872,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "835a530e.7655e",
- "387084b4.ee101c"
+ "5006afab.cadb6",
+ "7723439d.bbc16c"
]
]
},
{
- "id": "387084b4.ee101c",
+ "id": "7723439d.bbc16c",
"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": 2238.0905380249023,
- "y": 1468.243507385254,
- "z": "457a744e.ed1b4c",
+ "x": 2238.5905380249023,
+ "y": 1107.7886419296265,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "b2211b9d.e49e88"
+ "86fce2c3.6fc9d"
]
]
},
{
- "id": "b2211b9d.e49e88",
+ "id": "86fce2c3.6fc9d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2284.6466064453125,
- "y": 1699.2433166503906,
- "z": "457a744e.ed1b4c",
+ "x": 2285.1466064453125,
+ "y": 1338.7884511947632,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "ce7f2d9.0fd97d",
- "296fd7a4.634998",
- "d50ba090.29ed",
- "66d0e4de.2681dc",
- "eec873e9.819a7",
- "1068d706.4b4119",
- "d21f1d66.9335f",
- "bee803df.af903",
- "45da451c.99e69c",
- "c3234be0.466328"
+ "e105a5a2.2f7b98",
+ "9c142ff7.067fe",
+ "470eb4bc.6d184c",
+ "c871a6bc.0143b8",
+ "7b6d81b.a5ab68",
+ "dec5f89d.21ec28",
+ "a76964d2.4b9b68",
+ "dffaf7ff.147ed8",
+ "115d9d26.3e7bf3",
+ "a00f1f4a.4aa95"
]
]
},
{
- "id": "ce7f2d9.0fd97d",
+ "id": "e105a5a2.2f7b98",
"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": 2561.15682220459,
- "y": 1541.2540640830994,
- "z": "457a744e.ed1b4c",
+ "x": 2561.65682220459,
+ "y": 1180.799198627472,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "5cc6ea52.13cad4"
+ "b1b8c2c9.c3461"
]
]
},
{
- "id": "5cc6ea52.13cad4",
+ "id": "b1b8c2c9.c3461",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2750.156448364258,
- "y": 1543.2539286613464,
- "z": "457a744e.ed1b4c",
+ "x": 2750.656448364258,
+ "y": 1182.799063205719,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "dbd5e88a.b68d18"
+ "3f017ee2.db2552"
]
]
},
{
- "id": "dbd5e88a.b68d18",
+ "id": "3f017ee2.db2552",
"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": 3003.156623840332,
- "y": 1542.8539748191833,
- "z": "457a744e.ed1b4c",
+ "x": 3003.656623840332,
+ "y": 1182.399109363556,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "296fd7a4.634998",
+ "id": "9c142ff7.067fe",
"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": 2535.1462745666504,
- "y": 1915.2433552742004,
- "z": "457a744e.ed1b4c",
+ "x": 2535.6462745666504,
+ "y": 1554.788489818573,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "c339c30c.1d058",
+ "id": "f53c2230.a7af7",
"type": "switchNode",
"name": "switch tmp.ep-available",
"xml": "<switch test='`$tmp.ep-available`'>\n",
"comments": "",
"outputs": 1,
- "x": 527.3126983642578,
- "y": 1547.687665939331,
- "z": "457a744e.ed1b4c",
+ "x": 527.8126983642578,
+ "y": 1187.2328004837036,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "66f8b762.86d108",
- "9cb4ba0f.749ab8"
+ "847cd254.11771",
+ "4bd705da.fbac0c"
]
]
},
{
- "id": "9cb4ba0f.749ab8",
+ "id": "4bd705da.fbac0c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 745.9794178009033,
- "y": 1597.0210227966309,
- "z": "457a744e.ed1b4c",
+ "x": 746.4794178009033,
+ "y": 1236.5661573410034,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "27a77fa0.c4aee"
+ "78f22b09.6eaaa4"
]
]
},
{
- "id": "66f8b762.86d108",
+ "id": "847cd254.11771",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 750.8682193756104,
- "y": 1506.021083831787,
- "z": "457a744e.ed1b4c",
+ "x": 751.3682193756104,
+ "y": 1145.5662183761597,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "a01acdad.7b848"
+ "7cd85d88.d7ff24"
]
]
},
{
- "id": "a01acdad.7b848",
+ "id": "7cd85d88.d7ff24",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 897.8682155609131,
- "y": 1507.909896850586,
- "z": "457a744e.ed1b4c",
+ "x": 898.3682155609131,
+ "y": 1147.4550313949585,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "27a77fa0.c4aee",
+ "id": "78f22b09.6eaaa4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 916.0905055999756,
- "y": 1595.020980834961,
- "z": "457a744e.ed1b4c",
+ "x": 916.5905055999756,
+ "y": 1234.5661153793335,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "36228b5c.1add84",
- "c3a3291b.9f4668",
- "2222673c.9be3c8"
+ "702cd8ea.493bf8",
+ "ce13182f.f335c8",
+ "42d59123.90775"
]
]
},
{
- "id": "36228b5c.1add84",
+ "id": "702cd8ea.493bf8",
"type": "switchNode",
"name": "switch tmp.found-in-ar",
"xml": "<switch test='`$tmp.found-in-ar`'>\n",
"comments": "",
"outputs": 1,
- "x": 1142.2015190124512,
- "y": 1562.020980834961,
- "z": "457a744e.ed1b4c",
+ "x": 1142.7015190124512,
+ "y": 1201.5661153793335,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "8ea65101.30d46",
- "d5079913.80c4d8"
+ "59a7ccc9.66c004",
+ "482c54c8.82d1fc"
]
]
},
{
- "id": "8ea65101.30d46",
+ "id": "59a7ccc9.66c004",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1337.6459655761719,
- "y": 1540.0210418701172,
- "z": "457a744e.ed1b4c",
+ "x": 1338.1459655761719,
+ "y": 1179.5661764144897,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "68265a71.7dde04"
+ "e04463db.e3c67"
]
]
},
{
- "id": "d5079913.80c4d8",
+ "id": "482c54c8.82d1fc",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1334.6458740234375,
- "y": 1588.0210266113281,
- "z": "457a744e.ed1b4c",
+ "x": 1335.1458740234375,
+ "y": 1227.5661611557007,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "f6ff2749.20d6b8"
+ "9233120c.931c3"
]
]
},
{
- "id": "68265a71.7dde04",
+ "id": "e04463db.e3c67",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1525.2016296386719,
- "y": 1537.0210418701172,
- "z": "457a744e.ed1b4c",
+ "x": 1525.7016296386719,
+ "y": 1176.5661764144897,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "1e10edac.a57b22"
+ "3473260a.97afba"
]
]
},
{
- "id": "f6ff2749.20d6b8",
+ "id": "9233120c.931c3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1522.2015380859375,
- "y": 1587.0210266113281,
- "z": "457a744e.ed1b4c",
+ "x": 1522.7015380859375,
+ "y": 1226.5661611557007,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "63596c05.8bab04"
+ "e4df70f8.b836a"
]
]
},
{
- "id": "3cd1669e.2956fa",
+ "id": "6528c05d.2ba6d",
"type": "comment",
"name": "GET connection-attachment-ar to store AR data from mdsal",
"info": "",
"comments": "",
- "x": 2019.9725914001465,
- "y": 812.9588122367859,
- "z": "457a744e.ed1b4c",
+ "x": 2020.4725914001465,
+ "y": 452.50394678115845,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "96f74137.f7998",
+ "id": "3af289a7.e9a336",
"type": "comment",
"name": "Set source end point",
"info": "",
"comments": "",
- "x": 509.4724884033203,
- "y": 901.7088322639465,
- "z": "457a744e.ed1b4c",
+ "x": 509.9724884033203,
+ "y": 541.2539668083191,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "4c87cfa1.02c6c",
+ "id": "cff1f9f1.a56e28",
"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": 574.9687042236328,
- "y": 1121.4549551010132,
- "z": "457a744e.ed1b4c",
+ "x": 575.4687042236328,
+ "y": 761.0000896453857,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "f3f93c79.0dcb",
+ "id": "1d25b8f7.cfcd87",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 934.9688568115234,
- "y": 1192.4549417495728,
- "z": "457a744e.ed1b4c",
+ "x": 935.4688568115234,
+ "y": 832.0000762939453,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "71285b35.a93954"
+ "da5c7fe.8a1128"
]
]
},
{
- "id": "b078a619.3c13b8",
+ "id": "2f1fd4bf.dca39c",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 926.8206596374512,
- "y": 1227.5210266113281,
- "z": "457a744e.ed1b4c",
+ "x": 927.3206596374512,
+ "y": 867.0661611557007,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "42089f0a.93012"
+ "961aa14.d3aaa6"
]
]
},
{
- "id": "42089f0a.93012",
+ "id": "961aa14.d3aaa6",
"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: Parent service data not available\" />\n \n",
"comments": "",
- "x": 1072.969440460205,
- "y": 1226.7884378433228,
- "z": "457a744e.ed1b4c",
+ "x": 1073.469440460205,
+ "y": 866.3335723876953,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "71285b35.a93954",
+ "id": "da5c7fe.8a1128",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1065.968952178955,
- "y": 1192.455002784729,
- "z": "457a744e.ed1b4c",
+ "x": 1066.468952178955,
+ "y": 832.0001373291016,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "c23d6d08.4c9e6",
+ "id": "4a793fb6.ab4b7",
"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": 2596.9691848754883,
- "y": 1390.455129623413,
- "z": "457a744e.ed1b4c",
+ "x": 2597.4691848754883,
+ "y": 1030.0002641677856,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "acd4313a.acdba",
+ "id": "965d8d48.7805f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2581.969306945801,
- "y": 1357.455114364624,
- "z": "457a744e.ed1b4c",
+ "x": 2582.469306945801,
+ "y": 997.0002489089966,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "b760f3b3.babf2",
+ "id": "e801191.dd549e8",
"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": 660.9686431884766,
- "y": 1294.4549293518066,
- "z": "457a744e.ed1b4c",
+ "x": 661.4686431884766,
+ "y": 934.0000638961792,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "61c0c66f.9cb2e8",
+ "id": "e8347ae1.b06d68",
"type": "comment",
"name": "If other EP exists set destination end point",
"info": "Check if other allotted resource is available.",
"comments": "",
- "x": 563.4685211181641,
- "y": 1461.4548778533936,
- "z": "457a744e.ed1b4c",
+ "x": 563.9685211181641,
+ "y": 1101.000012397766,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "f95e3456.773938",
+ "id": "32309aad.dc4a36",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1317.968765258789,
- "y": 1799.455159187317,
- "z": "457a744e.ed1b4c",
+ "x": 1318.468765258789,
+ "y": 1439.0002937316895,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "bd500845.16ea38",
- "349a9a1b.d2e8f6",
- "9dd5c1cd.85633",
- "c65490b9.9fe9b",
- "145d9915.1a14e7",
- "14b60e62.9552e2",
- "44bf4a7c.708044",
- "b84af987.adba08"
+ "1c444b96.94ce94",
+ "9787f92e.e7a0a8",
+ "5973e9be.996c78",
+ "3648deeb.22cb92",
+ "9991696c.24c968",
+ "ead2dbb.da50128",
+ "1de89b8b.ae1fe4",
+ "28391843.34c238"
]
]
},
{
- "id": "bd500845.16ea38",
+ "id": "1c444b96.94ce94",
"type": "switchNode",
"name": "switch access-node-id",
"xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-node-id'`\">",
"comments": "",
"outputs": 1,
- "x": 1560.4790668487549,
- "y": 1669.4655556678772,
- "z": "457a744e.ed1b4c",
+ "x": 1560.9790668487549,
+ "y": 1309.0106902122498,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "4565f3d5.aafebc"
+ "453231ca.78fc5"
]
]
},
{
- "id": "349a9a1b.d2e8f6",
+ "id": "9787f92e.e7a0a8",
"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": 1533.4690189361572,
- "y": 1974.4555191993713,
- "z": "457a744e.ed1b4c",
+ "x": 1533.9690189361572,
+ "y": 1614.000653743744,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "9dd5c1cd.85633",
+ "id": "5973e9be.996c78",
"type": "switchNode",
"name": "switch access-ltp-id",
"xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-ltp-id'`\">",
"comments": "",
"outputs": 1,
- "x": 1551.9688968658447,
- "y": 1713.2330870628357,
- "z": "457a744e.ed1b4c",
+ "x": 1552.4688968658447,
+ "y": 1352.7782216072083,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "80dc869e.ab7a58"
+ "ae90dd46.3da8"
]
]
},
{
- "id": "c65490b9.9fe9b",
+ "id": "3648deeb.22cb92",
"type": "switchNode",
"name": "switch clientSignal",
"xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'clientSignal'`\">",
"comments": "",
"outputs": 1,
- "x": 1545.9689350128174,
- "y": 1759.2331337928772,
- "z": "457a744e.ed1b4c",
+ "x": 1546.4689350128174,
+ "y": 1398.7782683372498,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "257fa4da.2cce3c"
+ "c5571a75.670ac8"
]
]
},
{
- "id": "145d9915.1a14e7",
+ "id": "9991696c.24c968",
"type": "switchNode",
"name": "switch cVLAN",
"xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'cVLAN'`\">",
"comments": "",
"outputs": 1,
- "x": 1529.9584369659424,
- "y": 1798.2226357460022,
- "z": "457a744e.ed1b4c",
+ "x": 1530.4584369659424,
+ "y": 1437.7677702903748,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "52fd3d94.d7d2a4"
+ "9082d877.8426d8"
]
]
},
{
- "id": "4565f3d5.aafebc",
+ "id": "453231ca.78fc5",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1738.1909809112549,
- "y": 1670.1219277381897,
- "z": "457a744e.ed1b4c",
+ "x": 1738.6909809112549,
+ "y": 1309.6670622825623,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "ef2e4180.488b9"
+ "9276313d.ff195"
]
]
},
{
- "id": "ef2e4180.488b9",
+ "id": "9276313d.ff195",
"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": 1913.1909809112549,
- "y": 1669.72190284729,
- "z": "457a744e.ed1b4c",
+ "x": 1913.6909809112549,
+ "y": 1309.2670373916626,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "80dc869e.ab7a58",
+ "id": "ae90dd46.3da8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1733.6808490753174,
- "y": 1712.8893837928772,
- "z": "457a744e.ed1b4c",
+ "x": 1734.1808490753174,
+ "y": 1352.4345183372498,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "5c8d584.21faba8"
+ "f3a1ad87.cb17a"
]
]
},
{
- "id": "257fa4da.2cce3c",
+ "id": "c5571a75.670ac8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1733.6808490753174,
- "y": 1758.8893837928772,
- "z": "457a744e.ed1b4c",
+ "x": 1734.1808490753174,
+ "y": 1398.4345183372498,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "8b8a921e.bd895"
+ "eafcae3e.34cbe"
]
]
},
{
- "id": "52fd3d94.d7d2a4",
+ "id": "9082d877.8426d8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1733.6703510284424,
- "y": 1797.8790078163147,
- "z": "457a744e.ed1b4c",
+ "x": 1734.1703510284424,
+ "y": 1437.4241423606873,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "cb174273.1b4b"
+ "38d388af.749418"
]
]
},
{
- "id": "c3a3291b.9f4668",
+ "id": "ce13182f.f335c8",
"type": "for",
"name": "for idx..tmp.ep.parameters[]",
"xml": "<for index='idx' start='0' end='`$tmp.ep.parameters.param_length`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 1170.9686279296875,
- "y": 1687.4548645019531,
- "z": "457a744e.ed1b4c",
+ "x": 1171.4686279296875,
+ "y": 1326.9999990463257,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "f95e3456.773938"
+ "32309aad.dc4a36"
]
]
},
{
- "id": "1e10edac.a57b22",
+ "id": "3473260a.97afba",
"type": "set",
"name": "set tmp.ep.parameters",
"xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$mdsal-other-ar.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.`' />\n",
"comments": "",
- "x": 1736.9686832427979,
- "y": 1536.4549388885498,
- "z": "457a744e.ed1b4c",
+ "x": 1737.4686832427979,
+ "y": 1176.0000734329224,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "63596c05.8bab04",
+ "id": "e4df70f8.b836a",
"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": 1733.9685916900635,
- "y": 1582.4549236297607,
- "z": "457a744e.ed1b4c",
+ "x": 1734.4685916900635,
+ "y": 1222.0000581741333,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "5c8d584.21faba8",
+ "id": "f3a1ad87.cb17a",
"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": 1910.9688129425049,
- "y": 1712.4551796913147,
- "z": "457a744e.ed1b4c",
+ "x": 1911.4688129425049,
+ "y": 1352.0003142356873,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "8b8a921e.bd895",
+ "id": "eafcae3e.34cbe",
"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": 1904.9688129425049,
- "y": 1756.4551796913147,
- "z": "457a744e.ed1b4c",
+ "x": 1905.4688129425049,
+ "y": 1396.0003142356873,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "cb174273.1b4b",
+ "id": "38d388af.749418",
"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": 1895.9688129425049,
- "y": 1795.4551796913147,
- "z": "457a744e.ed1b4c",
+ "x": 1896.4688129425049,
+ "y": 1435.0003142356873,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "8ac4c29d.af442",
+ "id": "16fadb68.da33b5",
"type": "comment",
"name": "Get controller info and send request",
"info": "",
"comments": "",
- "x": 1736,
- "y": 2300,
- "z": "457a744e.ed1b4c",
+ "x": 1736.5,
+ "y": 1939.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "e30487d9.fc40e8",
+ "id": "301d4a69.a91c16",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 749.7310523986816,
- "y": 2490.4085731506348,
- "z": "457a744e.ed1b4c",
+ "x": 750.2310523986816,
+ "y": 2129.9537076950073,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "b5950a83.64a2e8"
+ "58a1647f.bc22bc"
]
]
},
{
- "id": "b5950a83.64a2e8",
+ "id": "58a1647f.bc22bc",
"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": 916.2548732757568,
- "y": 2517.0275802612305,
- "z": "457a744e.ed1b4c",
+ "x": 916.7548732757568,
+ "y": 2156.572714805603,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "3b646004.2813c",
+ "id": "c19471ac.c730b",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 751.8262805938721,
- "y": 2538.170415878296,
- "z": "457a744e.ed1b4c",
+ "x": 752.3262805938721,
+ "y": 2177.7155504226685,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "b5950a83.64a2e8"
+ "58a1647f.bc22bc"
]
]
},
{
- "id": "804e67f7.f5fcb8",
+ "id": "708117e5.cf3178",
"type": "comment",
"name": "Save Resource to AAI",
"info": "",
"comments": "",
- "x": 509.27857398986816,
- "y": 2467.7577362060547,
- "z": "457a744e.ed1b4c",
+ "x": 509.77857398986816,
+ "y": 2107.3028707504272,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "e4d724bf.bef2c8",
+ "id": "8cebe888.0f36b8",
"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": 538.5463924407959,
- "y": 2400.2832174301147,
- "z": "457a744e.ed1b4c",
+ "x": 539.0463924407959,
+ "y": 2039.8283519744873,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "a54e0786.d45e68",
+ "id": "fc04a841.669f18",
"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": 498.9595642089844,
- "y": 2585.8990058898926,
- "z": "457a744e.ed1b4c",
+ "x": 499.4595642089844,
+ "y": 2225.444140434265,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "be2b6004.6abeb",
+ "id": "9c164258.b89ac",
"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\" />",
"comments": "",
"outputs": 1,
- "x": 591.2784748077393,
- "y": 2324.9240703582764,
- "z": "457a744e.ed1b4c",
+ "x": 591.7784748077393,
+ "y": 1964.469204902649,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "d7bb7d7e.e7376",
- "7647bebc.d34c5",
- "f09cf18.f872f1"
+ "835eb842.099b48",
+ "2f2f8f6f.269b1",
+ "d5209fa7.88bcb"
]
]
},
{
- "id": "d7bb7d7e.e7376",
+ "id": "835eb842.099b48",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 845.9198970794678,
- "y": 2369.255464553833,
- "z": "457a744e.ed1b4c",
+ "x": 846.4198970794678,
+ "y": 2008.8005990982056,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "a250aba9.a5bd58"
+ "142acad1.a7ff95"
]
]
},
{
- "id": "7647bebc.d34c5",
+ "id": "2f2f8f6f.269b1",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 847.9199199676514,
- "y": 2327.7554286941886,
- "z": "457a744e.ed1b4c",
+ "x": 848.4199199676514,
+ "y": 1967.3005632385612,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "a250aba9.a5bd58"
+ "142acad1.a7ff95"
]
]
},
{
- "id": "f09cf18.f872f1",
+ "id": "d5209fa7.88bcb",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 851.6700038909912,
- "y": 2279.1125812530518,
- "z": "457a744e.ed1b4c",
+ "x": 852.1700038909912,
+ "y": 1918.6577157974243,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "6472d85a.5caad8"
+ "68e4ac49.a93174"
]
]
},
{
- "id": "a250aba9.a5bd58",
+ "id": "142acad1.a7ff95",
"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": 1006.6700229644775,
- "y": 2347.505495071411,
- "z": "457a744e.ed1b4c",
+ "x": 1007.1700229644775,
+ "y": 1987.0506296157837,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "6472d85a.5caad8",
+ "id": "68e4ac49.a93174",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 979.32594871521,
- "y": 2281.3047494888306,
- "z": "457a744e.ed1b4c",
+ "x": 979.82594871521,
+ "y": 1920.8498840332031,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "6927072b.434fa8",
+ "id": "c7e83767.1962b8",
"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": 493.4920902252197,
- "y": 2159.3049714565277,
- "z": "457a744e.ed1b4c",
+ "x": 493.9920902252197,
+ "y": 1798.8501060009003,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "71a15b15.32e354",
+ "id": "46437a86.852124",
"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": 510.77793312072754,
- "y": 2231.924569129944,
- "z": "457a744e.ed1b4c",
+ "x": 511.27793312072754,
+ "y": 1871.4697036743164,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "7f03f367.f1262c",
+ "id": "755ed1f3.fd5e1",
"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": 560.7650127410889,
- "y": 2268.8756494522095,
- "z": "457a744e.ed1b4c",
+ "x": 561.2650127410889,
+ "y": 1908.420783996582,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "fecc8e1.3af3a7",
+ "id": "cce9c4ca.7b8858",
"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": 507.33363151550293,
- "y": 2198.479621887207,
- "z": "457a744e.ed1b4c",
+ "x": 507.83363151550293,
+ "y": 1838.0247564315796,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "185d06d5.752689",
+ "id": "f294fd58.b71aa",
"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": 606.166971206665,
- "y": 2108.4795739650726,
- "z": "457a744e.ed1b4c",
+ "x": 606.666971206665,
+ "y": 1748.0247085094452,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "5da46f5f.98698",
+ "id": "d0dd0868.62b7f8",
"type": "comment",
"name": "Add to allotted-resources in mdsal",
"info": "",
"comments": "",
- "x": 547.7467975616455,
- "y": 2075.8928756713867,
- "z": "457a744e.ed1b4c",
+ "x": 548.2467975616455,
+ "y": 1715.4380102157593,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "2c5393b4.18384c",
+ "id": "55e9e37.ce7981c",
"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.service-information.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": 550.2229747772217,
- "y": 2516.209878921509,
- "z": "457a744e.ed1b4c",
+ "x": 550.7229747772217,
+ "y": 2155.7550134658813,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "e30487d9.fc40e8",
- "3b646004.2813c"
+ "301d4a69.a91c16",
+ "c19471ac.c730b"
]
]
},
{
- "id": "43e51eef.5c25b",
+ "id": "f1aaec6d.a3626",
"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.onap.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": 1358.9729347229004,
- "y": 2078.7095308303833,
- "z": "457a744e.ed1b4c",
+ "x": 1359.4729347229004,
+ "y": 1718.2546653747559,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "84ee042e.6dc228",
- "cb8b1fc5.da16f"
+ "af15ec6e.a82fc",
+ "6cd7d919.bfcce8"
]
]
},
{
- "id": "84ee042e.6dc228",
+ "id": "af15ec6e.a82fc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1598.9730758666992,
- "y": 2102.709500312805,
- "z": "457a744e.ed1b4c",
+ "x": 1599.4730758666992,
+ "y": 1742.2546348571777,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "b5dd8e8d.014ad"
+ "cc641f45.d8576"
]
]
},
{
- "id": "b48e311d.c6bea",
+ "id": "a1670fc8.9985a",
"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 OOF api\" />\n",
"comments": "",
- "x": 1737.9731101989746,
- "y": 2051.7095918655396,
- "z": "457a744e.ed1b4c",
+ "x": 1738.4731101989746,
+ "y": 1691.254726409912,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "cb8b1fc5.da16f",
+ "id": "6cd7d919.bfcce8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1597.9728622436523,
- "y": 2051.7095909118652,
- "z": "457a744e.ed1b4c",
+ "x": 1598.4728622436523,
+ "y": 1691.2547254562378,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "b48e311d.c6bea"
+ "a1670fc8.9985a"
]
]
},
{
- "id": "916454e5.0a4a68",
+ "id": "691b56c8.1d0978",
"type": "comment",
"name": "Get VPNs from OOF",
"info": "",
"comments": "",
- "x": 1330.476734161377,
- "y": 2034.7135305404663,
- "z": "457a744e.ed1b4c",
+ "x": 1330.976734161377,
+ "y": 1674.2586650848389,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "402ffb02.0bfaf4",
+ "id": "f0f701e7.65ce3",
"type": "for",
"name": "for vidx..oof.vpns_length[]",
"xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",
"comments": "",
"outputs": 1,
- "x": 1298.9727783203125,
- "y": 2160.959259033203,
- "z": "457a744e.ed1b4c",
+ "x": 1299.4727783203125,
+ "y": 1800.5043935775757,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "6b7692da.e3386c"
+ "5d2b8bd5.68b4d4"
]
]
},
{
- "id": "e2733493.b8ec78",
+ "id": "2d912679.d5bf8a",
"type": "comment",
"name": "Loop through VPN and configure them",
"info": "",
"comments": "",
- "x": 1330.4731063842773,
- "y": 2284.4596366882324,
- "z": "457a744e.ed1b4c",
+ "x": 1330.9731063842773,
+ "y": 1924.004771232605,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "d50ba090.29ed",
+ "id": "470eb4bc.6d184c",
"type": "switchNode",
"name": "switch name",
"xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'name'`\">\n \n",
"comments": "",
"outputs": 1,
- "x": 2538.7569580078125,
- "y": 1632.5766906738281,
- "z": "457a744e.ed1b4c",
+ "x": 2539.2569580078125,
+ "y": 1272.1218252182007,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "d52279cb.ede198"
+ "5a944da.7069fb4"
]
]
},
{
- "id": "d52279cb.ede198",
+ "id": "5a944da.7069fb4",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2727.7569274902344,
- "y": 1632.5766758918762,
- "z": "457a744e.ed1b4c",
+ "x": 2728.2569274902344,
+ "y": 1272.1218104362488,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "cebd51a0.93918"
+ "20c4a13a.86cbee"
]
]
},
{
- "id": "cebd51a0.93918",
+ "id": "20c4a13a.86cbee",
"type": "set",
"name": "set etht-svc-name & bandwidth-profile-name",
- "xml": "<set>\n<parameter name='ietf-etht-instance0' value='ietf-eth-tran-service:etht-svc.etht-svc-instances[0].' />\n<parameter name='ietf-bw-profile0' value='ietf-eth-tran-service:etht-svc.globals.etht-svc-bandwidth-profiles[0].' />\n<parameter name='ietf-etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-name'`\" value='`$ietf-etht-svc-name`' />\n<parameter name=\"`$ietf-bw-profile0 + 'bandwidth-profile-name'`\" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[0].ingress-egress-bandwidth-profile-name'`\" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[1].ingress-egress-bandwidth-profile-name'`\" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />",
+ "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='ietf-eth-tran-service:etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].ingress-egress-bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='ietf-eth-tran-service:etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].ingress-egress-bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />",
"comments": "",
- "x": 2968.7572441101074,
- "y": 1632.176730632782,
- "z": "457a744e.ed1b4c",
+ "x": 2969.2572441101074,
+ "y": 1271.7218651771545,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "66d0e4de.2681dc",
+ "id": "c871a6bc.0143b8",
"type": "switchNode",
"name": "switch description",
"xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'description'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2551.596836090088,
- "y": 1667.5767855644226,
- "z": "457a744e.ed1b4c",
+ "x": 2552.096836090088,
+ "y": 1307.1219201087952,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "1de9071b.f26c59"
+ "81ef29bd.59d398"
]
]
},
{
- "id": "1de9071b.f26c59",
+ "id": "81ef29bd.59d398",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2726.5969009399414,
- "y": 1669.5767712593079,
- "z": "457a744e.ed1b4c",
+ "x": 2727.0969009399414,
+ "y": 1309.1219058036804,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "159dd4c7.a1cdeb"
+ "7539507e.b6dca"
]
]
},
{
- "id": "159dd4c7.a1cdeb",
+ "id": "7539507e.b6dca",
"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[$nidx].value`' />\n",
"comments": "",
- "x": 2882.93021774292,
- "y": 1667.0378460884094,
- "z": "457a744e.ed1b4c",
+ "x": 2883.43021774292,
+ "y": 1306.582980632782,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "eec873e9.819a7",
+ "id": "7b6d81b.a5ab68",
"type": "switchNode",
"name": "switch tenantId",
"xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'tenantId'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2546.9790992736816,
- "y": 1700.9101758003235,
- "z": "457a744e.ed1b4c",
+ "x": 2547.4790992736816,
+ "y": 1340.455310344696,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "13291279.e6fefe"
+ "26460ef1.c345e2"
]
]
},
{
- "id": "13291279.e6fefe",
+ "id": "26460ef1.c345e2",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2724.979103088379,
- "y": 1704.910053730011,
- "z": "457a744e.ed1b4c",
+ "x": 2725.479103088379,
+ "y": 1344.4551882743835,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "9bcc7bab.93fce8"
+ "631daf90.b15a7"
]
]
},
{
- "id": "9bcc7bab.93fce8",
+ "id": "631daf90.b15a7",
"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[$nidx].value`' />\n",
"comments": "",
- "x": 2862.979290008545,
- "y": 1701.5100293159485,
- "z": "457a744e.ed1b4c",
+ "x": 2863.479290008545,
+ "y": 1341.055163860321,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "d21f1d66.9335f",
+ "id": "a76964d2.4b9b68",
"type": "switchNode",
"name": "switch cir",
"xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'cir'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2529.8186988830566,
- "y": 1773.9101309776306,
- "z": "457a744e.ed1b4c",
+ "x": 2530.3186988830566,
+ "y": 1413.4552655220032,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "5d9c8a66.558544"
+ "8dcd1765.bbf1a8"
]
]
},
{
- "id": "5d9c8a66.558544",
+ "id": "8dcd1765.bbf1a8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2724.81876373291,
- "y": 1774.9101309776306,
- "z": "457a744e.ed1b4c",
+ "x": 2725.31876373291,
+ "y": 1414.4552655220032,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "e6e553ba.8c38f"
+ "baa8e616.d85108"
]
]
},
{
- "id": "e6e553ba.8c38f",
+ "id": "baa8e616.d85108",
"type": "set",
"name": "set cir",
- "xml": "<set>\n<parameter name=\"`$ietf-bw-profile0 + 'CIR'`\" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
+ "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].CIR' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />",
"comments": "",
- "x": 2849.1522636413574,
- "y": 1773.3712058067322,
- "z": "457a744e.ed1b4c",
+ "x": 2849.6522636413574,
+ "y": 1412.9163403511047,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "1068d706.4b4119",
+ "id": "dec5f89d.21ec28",
"type": "switchNode",
"name": "switch vpnType",
"xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'vpnType'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2544.1269874572754,
- "y": 1736.6878409385681,
- "z": "457a744e.ed1b4c",
+ "x": 2544.6269874572754,
+ "y": 1376.2329754829407,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "eafe0a88.2abeb8"
+ "dbef898b.5a04d8"
]
]
},
{
- "id": "eafe0a88.2abeb8",
+ "id": "dbef898b.5a04d8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2726.1271743774414,
- "y": 1739.687825679779,
- "z": "457a744e.ed1b4c",
+ "x": 2726.6271743774414,
+ "y": 1379.2329602241516,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "b55361c7.d529b"
+ "bccd7b78.4d84c8"
]
]
},
{
- "id": "b55361c7.d529b",
+ "id": "bccd7b78.4d84c8",
"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[$nidx].value`' />\n",
"comments": "",
- "x": 2865.4609375,
- "y": 1736.1490783691406,
- "z": "457a744e.ed1b4c",
+ "x": 2865.9609375,
+ "y": 1375.6942129135132,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "bee803df.af903",
+ "id": "dffaf7ff.147ed8",
"type": "switchNode",
"name": "switch eir",
"xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'eir'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2525.109043121338,
- "y": 1807.6080384254456,
- "z": "457a744e.ed1b4c",
+ "x": 2525.609043121338,
+ "y": 1447.1531729698181,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "5335406d.46439"
+ "1816402d.acc71"
]
]
},
{
- "id": "5335406d.46439",
+ "id": "1816402d.acc71",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2725.10929107666,
- "y": 1810.6079773902893,
- "z": "457a744e.ed1b4c",
+ "x": 2725.60929107666,
+ "y": 1450.1531119346619,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "2c7f791a.111c46"
+ "9a8734c7.d242a8"
]
]
},
{
- "id": "2c7f791a.111c46",
+ "id": "9a8734c7.d242a8",
"type": "set",
"name": "set eir",
- "xml": "<set>\n<parameter name=\"`$ietf-bw-profile0 + 'EIR'`\" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
+ "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].EIR' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />",
"comments": "",
- "x": 2848.44291305542,
- "y": 1810.0690369606018,
- "z": "457a744e.ed1b4c",
+ "x": 2848.94291305542,
+ "y": 1449.6141715049744,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "45da451c.99e69c",
+ "id": "115d9d26.3e7bf3",
"type": "switchNode",
"name": "switch colorAware",
"xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'colorAware'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2550.1096534729004,
- "y": 1841.6079173088074,
- "z": "457a744e.ed1b4c",
+ "x": 2550.6096534729004,
+ "y": 1481.15305185318,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "449dd2b2.97f33c"
+ "7a3ef206.eac13c"
]
]
},
{
- "id": "449dd2b2.97f33c",
+ "id": "7a3ef206.eac13c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2721.109474182129,
- "y": 1847.607855796814,
- "z": "457a744e.ed1b4c",
+ "x": 2721.609474182129,
+ "y": 1487.1529903411865,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "169755c8.79e75a"
+ "b70d496a.5ddb78"
]
]
},
{
- "id": "169755c8.79e75a",
+ "id": "b70d496a.5ddb78",
"type": "set",
"name": "set colorAware",
- "xml": "<set>\n<parameter name=\"`$ietf-bw-profile0 + 'color-aware'`\" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
+ "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].color-aware' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />",
"comments": "",
- "x": 2869.4427909851074,
- "y": 1848.0690684318542,
- "z": "457a744e.ed1b4c",
+ "x": 2869.9427909851074,
+ "y": 1487.6142029762268,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "c3234be0.466328",
+ "id": "a00f1f4a.4aa95",
"type": "switchNode",
"name": "switch couplingFlag",
"xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'couplingFlag'`\">\n",
"comments": "",
"outputs": 1,
- "x": 2552.109592437744,
- "y": 1877.607979297638,
- "z": "457a744e.ed1b4c",
+ "x": 2552.609592437744,
+ "y": 1517.1531138420105,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "b42d9413.a57f98"
+ "d142d3b7.6ab09"
]
]
},
{
- "id": "b42d9413.a57f98",
+ "id": "d142d3b7.6ab09",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2724.109474182129,
- "y": 1886.6079487800598,
- "z": "457a744e.ed1b4c",
+ "x": 2724.609474182129,
+ "y": 1526.1530833244324,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "8aa66130.b6da6"
+ "bd3153ab.0a327"
]
]
},
{
- "id": "8aa66130.b6da6",
+ "id": "bd3153ab.0a327",
"type": "set",
"name": "set couplingFlag",
- "xml": "<set>\n<parameter name=\"`$ietf-bw-profile0 + 'coupling-flag'`\" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
+ "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].coupling-flag' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
"comments": "",
- "x": 2877.4427909851074,
- "y": 1887.0690693855286,
- "z": "457a744e.ed1b4c",
+ "x": 2877.9427909851074,
+ "y": 1526.6142039299011,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "fb9249ce.b8b3a8",
+ "id": "6c12cf01.2131c",
"type": "comment",
"name": "Check if other EP exists in SOTNConnectionResource",
"info": "",
"comments": "",
- "x": 2668.8125,
- "y": 1485.2433166503906,
- "z": "457a744e.ed1b4c",
+ "x": 2669.3125,
+ "y": 1124.7884511947632,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "bd5b1d98.86a9b",
+ "id": "99d96253.bd948",
"type": "comment",
"name": "Get other global parameters from network",
"info": "",
"comments": "",
- "x": 2604.812255859375,
- "y": 1571.2433166503906,
- "z": "457a744e.ed1b4c",
+ "x": 2605.312255859375,
+ "y": 1210.7884511947632,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "14b60e62.9552e2",
+ "id": "ead2dbb.da50128",
"type": "switchNode",
"name": "switch access-provider-id",
"xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-provider-id'`\">",
"comments": "",
"outputs": 1,
- "x": 1567.5347309112549,
- "y": 1843.6878457069397,
- "z": "457a744e.ed1b4c",
+ "x": 1568.0347309112549,
+ "y": 1483.2329802513123,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "6fdddbf2.363454"
+ "890e21ce.aabcf"
]
]
},
{
- "id": "6fdddbf2.363454",
+ "id": "890e21ce.aabcf",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1754.5347309112549,
- "y": 1839.6878457069397,
- "z": "457a744e.ed1b4c",
+ "x": 1755.0347309112549,
+ "y": 1479.2329802513123,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "74c7de35.e3e86"
+ "efb43d68.4d0dc"
]
]
},
{
- "id": "74c7de35.e3e86",
+ "id": "efb43d68.4d0dc",
"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": 1922.5347309112549,
- "y": 1840.2878518104553,
- "z": "457a744e.ed1b4c",
+ "x": 1923.0347309112549,
+ "y": 1479.8329863548279,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "44bf4a7c.708044",
+ "id": "1de89b8b.ae1fe4",
"type": "switchNode",
"name": "switch access-client-id",
"xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-client-id'`\">",
"comments": "",
"outputs": 1,
- "x": 1558.534746170044,
- "y": 1886.6982941627502,
- "z": "457a744e.ed1b4c",
+ "x": 1559.034746170044,
+ "y": 1526.2434287071228,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "563fe70a.3d75e8"
+ "338021e9.e44afe"
]
]
},
{
- "id": "563fe70a.3d75e8",
+ "id": "338021e9.e44afe",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1745.534746170044,
- "y": 1882.6982941627502,
- "z": "457a744e.ed1b4c",
+ "x": 1746.034746170044,
+ "y": 1522.2434287071228,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "ce19687f.748618"
+ "7c6aa850.28a988"
]
]
},
{
- "id": "ce19687f.748618",
+ "id": "7c6aa850.28a988",
"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": 1913.534746170044,
- "y": 1883.2983002662659,
- "z": "457a744e.ed1b4c",
+ "x": 1914.034746170044,
+ "y": 1522.8434348106384,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "b84af987.adba08",
+ "id": "28391843.34c238",
"type": "switchNode",
"name": "switch access-topology-id",
"xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-topology-id'`\">",
"comments": "",
"outputs": 1,
- "x": 1571.5346908569336,
- "y": 1928.6983251571655,
- "z": "457a744e.ed1b4c",
+ "x": 1572.0346908569336,
+ "y": 1568.243459701538,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "59f4f928.e35438"
+ "b4d675ca.5b6ad8"
]
]
},
{
- "id": "59f4f928.e35438",
+ "id": "b4d675ca.5b6ad8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1758.5346908569336,
- "y": 1924.6983251571655,
- "z": "457a744e.ed1b4c",
+ "x": 1759.0346908569336,
+ "y": 1564.243459701538,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "561aa1a7.127"
+ "fc323cd8.740fd"
]
]
},
{
- "id": "561aa1a7.127",
+ "id": "fc323cd8.740fd",
"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": 1926.5346908569336,
- "y": 1925.2983312606812,
- "z": "457a744e.ed1b4c",
+ "x": 1927.0346908569336,
+ "y": 1564.8434658050537,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "6b7692da.e3386c",
+ "id": "5d2b8bd5.68b4d4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1391.5,
- "y": 2580,
- "z": "457a744e.ed1b4c",
+ "x": 1392,
+ "y": 2219.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "10a67ef2.fe14c1",
- "a7c30844.d5a778",
- "7ac9bf5f.eb2bb",
- "ecc36fcf.c4875",
- "a76f6a40.d4cee8",
- "edafd0b0.6224d",
- "5247b131.16685",
- "e27ff4ee.65f258",
- "1d2e0089.80d0ff",
- "961fa84a.89d648",
- "3cad4115.c1792e",
- "64d85461.e5001c",
- "62b19acd.4aec84"
+ "558b1788.84f928",
+ "e3c138d5.699fb8",
+ "f9bc1226.8fbd4",
+ "da01646a.3c6258",
+ "44291211.776dfc",
+ "3d211e6e.0978a2",
+ "ad5fec05.7fe24",
+ "b291bc09.341f8",
+ "ff79c756.7c8268",
+ "968f06ac.a3c588",
+ "f677be49.bd949",
+ "51f13ce4.5572f4",
+ "8409f905.b1b958"
]
]
},
{
- "id": "c28d378e.41d1d8",
+ "id": "11f32b12.47cdd5",
"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": 2144,
- "y": 2300,
- "z": "457a744e.ed1b4c",
+ "x": 2144.5,
+ "y": 1939.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "e27ff4ee.65f258",
+ "id": "b291bc09.341f8",
"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": 1728,
- "y": 2340,
- "z": "457a744e.ed1b4c",
+ "x": 1728.5,
+ "y": 1979.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "a1b1b4fc.a93fb8",
- "74526f9.33f9b9",
- "cec138d1.5a00d8"
+ "80d78dba.97bcb",
+ "4ce354f7.2d687c",
+ "c3caaad8.698c48"
]
]
},
{
- "id": "a1b1b4fc.a93fb8",
+ "id": "80d78dba.97bcb",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1974,
- "y": 2300,
- "z": "457a744e.ed1b4c",
+ "x": 1974.5,
+ "y": 1939.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "c28d378e.41d1d8"
+ "11f32b12.47cdd5"
]
]
},
{
- "id": "74526f9.33f9b9",
+ "id": "4ce354f7.2d687c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1978,
- "y": 2340,
- "z": "457a744e.ed1b4c",
+ "x": 1978.5,
+ "y": 1979.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "6e8b6c66.c5e0f4"
+ "4c6d9850.53db08"
]
]
},
{
- "id": "cec138d1.5a00d8",
+ "id": "c3caaad8.698c48",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1970,
- "y": 2380,
- "z": "457a744e.ed1b4c",
+ "x": 1970.5,
+ "y": 2019.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "681da62f.282d18"
+ "f9f72f2b.1b4fc"
]
]
},
{
- "id": "6e8b6c66.c5e0f4",
+ "id": "4c6d9850.53db08",
"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": 2128,
- "y": 2340,
- "z": "457a744e.ed1b4c",
+ "x": 2128.5,
+ "y": 1979.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "681da62f.282d18",
+ "id": "f9f72f2b.1b4fc",
"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": 2128,
- "y": 2380,
- "z": "457a744e.ed1b4c",
+ "x": 2128.5,
+ "y": 2019.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "5247b131.16685",
+ "id": "ad5fec05.7fe24",
"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 \n\t\tAND depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1679.5,
- "y": 2220,
- "z": "457a744e.ed1b4c",
+ "x": 1680,
+ "y": 1859.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "b0e582b1.978d3",
- "b63f814e.25c35",
- "ba9909ab.268d18"
+ "1d72a12f.fe6a2f",
+ "193e4330.27658d",
+ "f33105ee.d40068"
]
]
},
{
- "id": "b0e582b1.978d3",
+ "id": "1d72a12f.fe6a2f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1974,
- "y": 2180,
- "z": "457a744e.ed1b4c",
+ "x": 1974.5,
+ "y": 1819.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "b2fced81.55aa5"
+ "5a57731d.d86b9c"
]
]
},
{
- "id": "b63f814e.25c35",
+ "id": "193e4330.27658d",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1978,
- "y": 2220,
- "z": "457a744e.ed1b4c",
+ "x": 1978.5,
+ "y": 1859.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "bc035593.0004d8"
+ "9cd7dd7e.3b197"
]
]
},
{
- "id": "ba9909ab.268d18",
+ "id": "f33105ee.d40068",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1970,
- "y": 2260,
- "z": "457a744e.ed1b4c",
+ "x": 1970.5,
+ "y": 1899.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "b490ab94.5b0298"
+ "64060034.5c7ab"
]
]
},
{
- "id": "bc035593.0004d8",
+ "id": "9cd7dd7e.3b197",
"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": 2128,
- "y": 2220,
- "z": "457a744e.ed1b4c",
+ "x": 2128.5,
+ "y": 1859.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "b490ab94.5b0298",
+ "id": "64060034.5c7ab",
"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": 2128,
- "y": 2260,
- "z": "457a744e.ed1b4c",
+ "x": 2128.5,
+ "y": 1899.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "b2fced81.55aa5",
+ "id": "5a57731d.d86b9c",
"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": 2167.5,
- "y": 2180,
- "z": "457a744e.ed1b4c",
+ "x": 2168,
+ "y": 1819.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "ba207179.afcc1",
+ "id": "a8e87a1c.5dd4d8",
"type": "comment",
"name": "get domain controller information",
"info": "",
"comments": "",
- "x": 1726.5,
- "y": 2180,
- "z": "457a744e.ed1b4c",
+ "x": 1727,
+ "y": 1819.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "1d2e0089.80d0ff",
+ "id": "ff79c756.7c8268",
"type": "set",
"name": "set oof.vpn",
"xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",
"comments": "",
- "x": 1663,
- "y": 2140,
- "z": "457a744e.ed1b4c",
+ "x": 1663.5,
+ "y": 1779.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "a7c30844.d5a778",
+ "id": "e3c138d5.699fb8",
"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='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />",
"comments": "",
"outputs": 1,
- "x": 1709.5,
- "y": 2700,
- "z": "457a744e.ed1b4c",
+ "x": 1710,
+ "y": 2339.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "7ac9bf5f.eb2bb",
+ "id": "f9bc1226.8fbd4",
"type": "set",
"name": "set tmp.vpnName",
- "xml": "<set>\n<parameter name='tmp.vpnName' value=\"`$oof.vpn.access-node-id + '-' + $ietf-etht-svc-name`\" />",
+ "xml": "<set>\n<parameter name='tmp.vpnName' value=\"`$oof.vpn.access-node-id + '-' + $ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-name`\" />",
"comments": "",
- "x": 1683.5,
- "y": 2660,
- "z": "457a744e.ed1b4c",
+ "x": 1684,
+ "y": 2299.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "ecc36fcf.c4875",
+ "id": "da01646a.3c6258",
"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.service-data.networks.network[0].network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$mdsal-psd.service-data.networks.network[0].network-id`\" />",
"comments": "",
"outputs": 1,
- "x": 1740,
- "y": 2740,
- "z": "457a744e.ed1b4c",
+ "x": 1740.5,
+ "y": 2379.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "10a67ef2.fe14c1",
+ "id": "558b1788.84f928",
"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": 1691.5,
- "y": 2780,
- "z": "457a744e.ed1b4c",
+ "x": 1692,
+ "y": 2419.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "a76f6a40.d4cee8",
+ "id": "44291211.776dfc",
"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/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1725,
- "y": 2820,
- "z": "457a744e.ed1b4c",
+ "x": 1725.5,
+ "y": 2459.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "edafd0b0.6224d",
+ "id": "3d211e6e.0978a2",
"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/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",
"comments": "",
"outputs": 1,
- "x": 1725,
- "y": 2860,
- "z": "457a744e.ed1b4c",
+ "x": 1725.5,
+ "y": 2499.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "b571fb6b.8ab608",
+ "id": "b2d7beb8.50e79",
"type": "execute",
"name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 717.0038146972656,
- "y": 981.458776473999,
- "z": "457a744e.ed1b4c",
+ "x": 717.5038146972656,
+ "y": 621.0039110183716,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "860a625.2d0bba",
- "db78a108.063fb"
+ "cc101fab.4516e",
+ "687f563.00b84a8"
]
]
},
{
- "id": "b52dba2d.a71bc8",
+ "id": "c2e744b7.2f7498",
"type": "execute",
"name": "execute RestApiCallNode - get-resource parent service data",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-psd`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-psd\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 644.0039672851562,
- "y": 1208.4589395523071,
- "z": "457a744e.ed1b4c",
+ "x": 644.5039672851562,
+ "y": 848.0040740966797,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "f3f93c79.0dcb",
- "b078a619.3c13b8"
+ "1d25b8f7.cfcd87",
+ "2f1fd4bf.dca39c"
]
]
},
{
- "id": "76fbe2f6.cb133c",
+ "id": "c7b09f9c.c261d",
"type": "execute",
"name": "get parent-service-data url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-url-psd\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ar.parent-service-instance-id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 544.0038757324219,
- "y": 1171.4587726593018,
- "z": "457a744e.ed1b4c",
+ "x": 544.5038757324219,
+ "y": 811.0039072036743,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "ef83619e.fcadf",
+ "id": "251f1840.c6f158",
"type": "execute",
"name": "generate tmp.ar-other-url-connection",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-other-url-connection\"/>\n <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.provided-ar.allotted-resource-id`\"/>\n \n\n",
"comments": "",
"outputs": 1,
- "x": 1958.000228881836,
- "y": 1327.7883338928223,
- "z": "457a744e.ed1b4c",
+ "x": 1958.500228881836,
+ "y": 967.3334684371948,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "70f5ae0d.ee9ea",
+ "id": "549841eb.86ecc",
"type": "execute",
"name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-other-url-connection`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-other-ar\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 2095.0008697509766,
- "y": 1370.2881984710693,
- "z": "457a744e.ed1b4c",
+ "x": 2095.5008697509766,
+ "y": 1009.8333330154419,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "a5795c00.0454b8",
- "a870baef.09bb38"
+ "dc9bc603.157798",
+ "75f7d9fa.a34b78"
]
]
},
{
- "id": "b5dd8e8d.014ad",
+ "id": "cc641f45.d8576",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1720.0001487731934,
- "y": 2093.4549837112427,
- "z": "457a744e.ed1b4c",
+ "x": 1720.5001487731934,
+ "y": 1733.0001182556152,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "2222673c.9be3c8",
+ "id": "42d59123.90775",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1096.9687614440918,
- "y": 2118.4551677703857,
- "z": "457a744e.ed1b4c",
+ "x": 1097.4687614440918,
+ "y": 1758.0003023147583,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "43e51eef.5c25b",
- "402ffb02.0bfaf4"
+ "f1aaec6d.a3626",
+ "f0f701e7.65ce3"
]
]
},
{
- "id": "b4436494.1a02b8",
+ "id": "de760411.78f278",
"type": "outcome",
"name": "outcome PendingDelete",
"xml": "<outcome value='PendingDelete'>\n",
"comments": "",
"outputs": 1,
- "x": 2171.031219482422,
- "y": 933.486162185669,
- "z": "457a744e.ed1b4c",
+ "x": 2171.531219482422,
+ "y": 573.0312967300415,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "7b132c2c.5ce604"
+ "ae12c3e3.17f33"
]
]
},
{
- "id": "7b132c2c.5ce604",
+ "id": "ae12c3e3.17f33",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2355.0312309265137,
- "y": 929.486162185669,
- "z": "457a744e.ed1b4c",
+ "x": 2355.5312309265137,
+ "y": 569.0312967300415,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "3cad4115.c1792e",
+ "id": "f677be49.bd949",
"type": "set",
"name": "set attachment_param",
- "xml": "<set>\n<parameter name=\"`$ietf-etht-instance0 + 'access-provider-id'`\" value='`$oof.vpn.access-provider-id`' />\n<parameter name=\"`$ietf-etht-instance0 + 'access-client-id'`\" value='`$oof.vpn.access-client-id`' />\n<parameter name=\"`$ietf-etht-instance0 + 'access-topology-id'`\" value='`$oof.vpn.access-topology-id`' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[0].access-node-id'`\" value='`$oof.vpn.access-node-id`' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[0].access-ltp-id'`\" value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[1].access-node-id'`\" value='`$oof.vpn.access-node-id`' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[1].access-ltp-id'`\" value='`$oof.vpn.dst-access-ltp-id`' />\n",
+ "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n\n",
"comments": "",
- "x": 1698,
- "y": 2540,
- "z": "457a744e.ed1b4c",
+ "x": 1698.5,
+ "y": 2179.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "961fa84a.89d648",
+ "id": "968f06ac.a3c588",
"type": "set",
"name": "set sotn_value",
- "xml": "<set>\n<parameter name=\"`$ietf-bw-profile0 + 'bandwidth-profile-type'`\" value='ietf-eth-tran-types:mef-10-bwp' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-type'`\" value='ietf-eth-tran-types:p2p-svc' />\n<parameter name=\"`$ietf-etht-instance0 + 'admin-status'`\" value='ietf-te-types:tunnel-state-up' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[0].access-port-id'`\" value='0' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[0].service-classification-type'`\" value='ietf-eth-tran-types:port-classification' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[1].access-port-id'`\" value='1' />\n<parameter name=\"`$ietf-etht-instance0 + 'etht-svc-access-ports[1].service-classification-type'`\" value='ietf-eth-tran-types:port-classification' />",
+ "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].bandwidth-profile-type' value='ietf-eth-tran-types:mef-10-bwp' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-type' value='ietf-eth-tran-types:p2p-svc' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].admin-status' value='ietf-te-types:tunnel-state-up' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-port-id' value='0' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].service-classification-type' value='ietf-eth-tran-types:port-classification' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-port-id' value='1' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].service-classification-type' value='ietf-eth-tran-types:port-classification' />",
"comments": "",
- "x": 1673.5,
- "y": 2500,
- "z": "457a744e.ed1b4c",
+ "x": 1674,
+ "y": 2139.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "64d85461.e5001c",
+ "id": "51f13ce4.5572f4",
"type": "execute",
"name": "execute RestApiCallNode Get token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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\"/>",
"comments": "",
"outputs": 1,
- "x": 1740.5,
- "y": 2440,
- "z": "457a744e.ed1b4c",
+ "x": 1741,
+ "y": 2079.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "a0d2cca5.2d5be",
- "c52b8c6d.ecc5c"
+ "4c647719.273c38",
+ "8bcc471b.d27148"
]
]
},
{
- "id": "a0d2cca5.2d5be",
+ "id": "4c647719.273c38",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1974,
- "y": 2420,
- "z": "457a744e.ed1b4c",
+ "x": 1974.5,
+ "y": 2059.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "3e07440b.43da4c"
+ "3ea7de86.e655e2"
]
]
},
{
- "id": "c52b8c6d.ecc5c",
+ "id": "8bcc471b.d27148",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1970,
- "y": 2460,
- "z": "457a744e.ed1b4c",
+ "x": 1970.5,
+ "y": 2099.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "f8066f4a.4c47c"
+ "6576cfae.4e38"
]
]
},
{
- "id": "f8066f4a.4c47c",
+ "id": "6576cfae.4e38",
"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 get token rest api\" />\n",
"comments": "",
- "x": 2128,
- "y": 2460,
- "z": "457a744e.ed1b4c",
+ "x": 2128.5,
+ "y": 2099.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "3e07440b.43da4c",
+ "id": "3ea7de86.e655e2",
"type": "set",
"name": "set token-id",
"xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
"comments": "",
- "x": 2124.5,
- "y": 2420,
- "z": "457a744e.ed1b4c",
+ "x": 2125,
+ "y": 2059.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "50328916.399a68",
+ "id": "2e5fde4b.379992",
"type": "execute",
"name": "execute RestconfApiCallNode Create ethernet Service with token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\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='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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": 2250.5,
- "y": 2600,
- "z": "457a744e.ed1b4c",
+ "x": 2251,
+ "y": 2239.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "aefb806d.da2a4",
- "1cddc506.88b81b"
+ "2999e04e.bf614",
+ "ac50d499.0a7ac8"
]
]
},
{
- "id": "aefb806d.da2a4",
+ "id": "2999e04e.bf614",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2594,
- "y": 2600,
- "z": "457a744e.ed1b4c",
+ "x": 2594.5,
+ "y": 2239.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "8e77bda1.dcd9a"
+ "c3a8f950.46bbb8"
]
]
},
{
- "id": "8e77bda1.dcd9a",
+ "id": "c3a8f950.46bbb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2751.5,
- "y": 2600,
- "z": "457a744e.ed1b4c",
+ "x": 2752,
+ "y": 2239.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[]
]
},
{
- "id": "23ed7381.faa5dc",
+ "id": "a85733e7.5f14",
"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": 2748,
- "y": 2560,
- "z": "457a744e.ed1b4c",
+ "x": 2748.5,
+ "y": 2199.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
},
{
- "id": "1cddc506.88b81b",
+ "id": "ac50d499.0a7ac8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2590,
- "y": 2560,
- "z": "457a744e.ed1b4c",
+ "x": 2590.5,
+ "y": 2199.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "23ed7381.faa5dc"
+ "a85733e7.5f14"
]
]
},
{
- "id": "62b19acd.4aec84",
+ "id": "8409f905.b1b958",
"type": "switchNode",
"name": "switch prop.sdncRestApi.token_id",
"xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1733.5,
- "y": 2580,
- "z": "457a744e.ed1b4c",
+ "x": 1734,
+ "y": 2219.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "ab1d58b3.091298",
- "6b742a39.c27114"
+ "92b81083.05be9",
+ "5a6898a5.b1b498"
]
]
},
{
- "id": "ab1d58b3.091298",
+ "id": "92b81083.05be9",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1946.3438301086426,
- "y": 2560.121898651123,
- "z": "457a744e.ed1b4c",
+ "x": 1946.8438301086426,
+ "y": 2199.6670331954956,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "c3954e01.62cf4"
+ "a62b7bca.977d88"
]
]
},
{
- "id": "6b742a39.c27114",
+ "id": "5a6898a5.b1b498",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1950,
- "y": 2600,
- "z": "457a744e.ed1b4c",
+ "x": 1950.5,
+ "y": 2239.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "50328916.399a68"
+ "2e5fde4b.379992"
]
]
},
{
- "id": "c3954e01.62cf4",
+ "id": "a62b7bca.977d88",
"type": "execute",
"name": "execute RestconfApiCallNode Create ethernet Service without token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\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='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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\"/>",
"comments": "",
"outputs": 1,
- "x": 2260.5,
- "y": 2560,
- "z": "457a744e.ed1b4c",
+ "x": 2261,
+ "y": 2199.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": [
[
- "1cddc506.88b81b",
- "aefb806d.da2a4"
+ "ac50d499.0a7ac8",
+ "2999e04e.bf614"
]
]
},
{
- "id": "47c68bcd.5a1f24",
+ "id": "61db4e39.8fc44",
"type": "comment",
"name": "save vpn and its relation to AAI",
"info": "",
"comments": "",
- "x": 1721.5,
- "y": 2620,
- "z": "457a744e.ed1b4c",
+ "x": 1722,
+ "y": 2259.5451345443726,
+ "z": "3660ec4d.8a3b84",
"wires": []
}
] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/sotn/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.xml b/platform-logic/generic-resource-api/src/main/xml/sotn/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.xml
index 58bfc12e..3e3b395c 100644
--- a/platform-logic/generic-resource-api/src/main/xml/sotn/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/sotn/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.xml
@@ -188,13 +188,10 @@
<switch test="`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'name'`">
<outcome value='true'>
<set>
- <parameter name='ietf-etht-instance0' value='ietf-eth-tran-service:etht-svc.etht-svc-instances[0].' />
- <parameter name='ietf-bw-profile0' value='ietf-eth-tran-service:etht-svc.globals.etht-svc-bandwidth-profiles[0].' />
- <parameter name='ietf-etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
- <parameter name="`$ietf-etht-instance0 + 'etht-svc-name'`" value='`$ietf-etht-svc-name`' />
- <parameter name="`$ietf-bw-profile0 + 'bandwidth-profile-name'`" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
- <parameter name="`$ietf-etht-instance0 + 'etht-svc-access-ports[0].ingress-egress-bandwidth-profile-name'`" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
- <parameter name="`$ietf-etht-instance0 + 'etht-svc-access-ports[1].ingress-egress-bandwidth-profile-name'`" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
+ <parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
+ <parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
+ <parameter name='ietf-eth-tran-service:etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].ingress-egress-bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
+ <parameter name='ietf-eth-tran-service:etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].ingress-egress-bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
</set>
</outcome>
</switch>
@@ -222,28 +219,28 @@
<switch test="`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'cir'`">
<outcome value='true'>
<set>
- <parameter name="`$ietf-bw-profile0 + 'CIR'`" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
+ <parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].CIR' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
</set>
</outcome>
</switch>
<switch test="`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'eir'`">
<outcome value='true'>
<set>
- <parameter name="`$ietf-bw-profile0 + 'EIR'`" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
+ <parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].EIR' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
</set>
</outcome>
</switch>
<switch test="`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'colorAware'`">
<outcome value='true'>
<set>
- <parameter name="`$ietf-bw-profile0 + 'color-aware'`" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
+ <parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].color-aware' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
</set>
</outcome>
</switch>
<switch test="`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'couplingFlag'`">
<outcome value='true'>
<set>
- <parameter name="`$ietf-bw-profile0 + 'coupling-flag'`" value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
+ <parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].coupling-flag' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />
</set>
</outcome>
</switch>
@@ -460,22 +457,22 @@
</outcome>
</execute>
<set>
- <parameter name="`$ietf-bw-profile0 + 'bandwidth-profile-type'`" value='ietf-eth-tran-types:mef-10-bwp' />
- <parameter name="`$ietf-etht-instance0 + 'etht-svc-type'`" value='ietf-eth-tran-types:p2p-svc' />
- <parameter name="`$ietf-etht-instance0 + 'admin-status'`" value='ietf-te-types:tunnel-state-up' />
- <parameter name="`$ietf-etht-instance0 + 'etht-svc-access-ports[0].access-port-id'`" value='0' />
- <parameter name="`$ietf-etht-instance0 + 'etht-svc-access-ports[0].service-classification-type'`" value='ietf-eth-tran-types:port-classification' />
- <parameter name="`$ietf-etht-instance0 + 'etht-svc-access-ports[1].access-port-id'`" value='1' />
- <parameter name="`$ietf-etht-instance0 + 'etht-svc-access-ports[1].service-classification-type'`" value='ietf-eth-tran-types:port-classification' />
+ <parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].bandwidth-profile-type' value='ietf-eth-tran-types:mef-10-bwp' />
+ <parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-type' value='ietf-eth-tran-types:p2p-svc' />
+ <parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].admin-status' value='ietf-te-types:tunnel-state-up' />
+ <parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-port-id' value='0' />
+ <parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].service-classification-type' value='ietf-eth-tran-types:port-classification' />
+ <parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-port-id' value='1' />
+ <parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].service-classification-type' value='ietf-eth-tran-types:port-classification' />
</set>
<set>
- <parameter name="`$ietf-etht-instance0 + 'access-provider-id'`" value='`$oof.vpn.access-provider-id`' />
- <parameter name="`$ietf-etht-instance0 + 'access-client-id'`" value='`$oof.vpn.access-client-id`' />
- <parameter name="`$ietf-etht-instance0 + 'access-topology-id'`" value='`$oof.vpn.access-topology-id`' />
- <parameter name="`$ietf-etht-instance0 + 'etht-svc-access-ports[0].access-node-id'`" value='`$oof.vpn.access-node-id`' />
- <parameter name="`$ietf-etht-instance0 + 'etht-svc-access-ports[0].access-ltp-id'`" value='`$oof.vpn.src-access-ltp-id`' />
- <parameter name="`$ietf-etht-instance0 + 'etht-svc-access-ports[1].access-node-id'`" value='`$oof.vpn.access-node-id`' />
- <parameter name="`$ietf-etht-instance0 + 'etht-svc-access-ports[1].access-ltp-id'`" value='`$oof.vpn.dst-access-ltp-id`' />
+ <parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-provider-id' value='`$oof.vpn.access-provider-id`' />
+ <parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-client-id' value='`$oof.vpn.access-client-id`' />
+ <parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-topology-id' value='`$oof.vpn.access-topology-id`' />
+ <parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-node-id' value='`$oof.vpn.access-node-id`' />
+ <parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />
+ <parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-node-id' value='`$oof.vpn.access-node-id`' />
+ <parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />
</set>
<switch test="`$prop.sdncRestApi.token_id`">
<outcome value=''>
@@ -531,7 +528,7 @@
</outcome>
</switch>
<set>
- <parameter name='tmp.vpnName' value="`$oof.vpn.access-node-id + '-' + $ietf-etht-svc-name`" />
+ <parameter name='tmp.vpnName' value="`$oof.vpn.access-node-id + '-' + $ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-name`" />
</set>
<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
key='vpn-binding.vpn-id = $tmp.vpnName' >