[
{
- "id":"f677edb7.5eba9",
- "type":"dgstart",
- "name":"DGSTART",
- "outputs":1,
- "x":104.66666412353516,
- "y":37.99999809265137,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "9a2121f0.ab226",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 94.03125,
+ "y": 32.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "bda53e34.48bcb"
+ "28432de4.829522"
]
]
},
{
- "id":"bda53e34.48bcb",
- "type":"service-logic",
- "name":"GENERIC-RESOURCE-API ${project.version}",
- "module":"GENERIC-RESOURCE-API",
- "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='GENERIC-RESOURCE-API' version='${project.version}'>",
- "outputs":1,
- "x":321.16666412353516,
- "y":100.49999809265137,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "28432de4.829522",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "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='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 310.53125,
+ "y": 94.53125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "33551718.9d6058"
+ "7b6afe55.703bf"
]
]
},
{
- "id":"33551718.9d6058",
- "type":"method",
- "name":"method dci-connects-network-topology-operation-activate",
- "xml":"<method rpc='dci-connects-network-topology-operation-activate' mode='sync'>\n",
- "comments":"",
- "outputs":1,
- "x":229.16669464111328,
- "y":195.4999828338623,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "7b6afe55.703bf",
+ "type": "method",
+ "name": "method dci-connects-network-topology-operation-activate",
+ "xml": "<method rpc='dci-connects-network-topology-operation-activate' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 218.53128051757812,
+ "y": 189.53123474121094,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "6463cc60.4f8394"
+ "7aac1d87.9d5a54"
]
]
},
{
- "id":"6463cc60.4f8394",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":527.0000076293945,
- "y":203.33332633972168,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "7aac1d87.9d5a54",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 516.3645935058594,
+ "y": 197.3645782470703,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "c7522c24.5f98b",
- "102b3cb5.6d7ac3",
- "2ed80a33.f4c916"
+ "cb7a0f33.08841",
+ "41001981.644338",
+ "d0276d0c.b633e",
+ "3620f5be.990eda",
+ "2b8696d6.909b7a"
]
]
},
{
- "id":"102b3cb5.6d7ac3",
- "type":"call",
- "name":"call GENERIC-RESOURCE-API:validate-network-input-parameters",
- "xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
- "comments":"",
- "outputs":1,
- "x":917.0000076293945,
- "y":68.33332633972168,
- "z":"e7b3886.bec2e78",
- "wires":[
- [
-
- ]
+ "id": "41001981.644338",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:validate-network-input-parameters",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 906.3645935058594,
+ "y": 62.36457824707031,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
]
},
{
- "id":"12cc8933.03f2b7",
- "type":"for",
- "name":"for each network-input-parameters",
- "xml":"<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
- "comments":"",
- "outputs":1,
- "x":1435.0002975463867,
- "y":341.33338713645935,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "fbe61431.dcd008",
+ "type": "for",
+ "name": "for each network-input-parameters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1424.3648834228516,
+ "y": 335.364639043808,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "4b519ec.f2b4b6"
+ "bde6b624.723588"
]
]
},
{
- "id":"4b519ec.f2b4b6",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":1682.0002059936523,
- "y":339.3333566188812,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "bde6b624.723588",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1671.3647918701172,
+ "y": 333.36460852622986,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "32074b80.b9a384",
- "448b7ef3.fc516",
- "1a7f3647.3d7caa",
- "59f458ff.1d73b8",
- "bb7bc8f4.498f28",
- "e2d9cb00.0ed418",
- "6fb6ab2c.4aa5d4",
- "397d3387.a8686c",
- "b90eee01.f71b"
+ "98af934f.de5ca",
+ "3f901ccb.13f7e4",
+ "fd071c4f.c5a93",
+ "3bc28b07.5abd24",
+ "d7ef4fd8.01b03",
+ "23f59b17.2b7104",
+ "ac8abe82.f1ed7",
+ "abada83e.899ad8",
+ "8275a286.575d3"
]
]
},
{
- "id":"32074b80.b9a384",
- "type":"switchNode",
- "name":"switch id",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_id'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2169.0005645751953,
- "y":215.3334732055664,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "98af934f.de5ca",
+ "type": "switchNode",
+ "name": "switch id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2158.36515045166,
+ "y": 209.36472511291504,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "f708b7e0.e87648"
+ "e685ff47.0f8c6"
]
]
},
{
- "id":"448b7ef3.fc516",
- "type":"switchNode",
- "name":"switch description",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_description'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2197.0005645751953,
- "y":269.33345890045166,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "3f901ccb.13f7e4",
+ "type": "switchNode",
+ "name": "switch description",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_description'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2186.36515045166,
+ "y": 263.3647108078003,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "13b7e002.7b869"
+ "92cb9e5c.495d"
]
]
},
{
- "id":"1a7f3647.3d7caa",
- "type":"switchNode",
- "name":"switch routerId",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_routerId'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2186.0003509521484,
- "y":400.33341884613037,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "fd071c4f.c5a93",
+ "type": "switchNode",
+ "name": "switch routerId",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_routerId'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2175.3649368286133,
+ "y": 394.364670753479,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "b16fc128.b108e"
+ "611f6a53.2c5e34"
]
]
},
{
- "id":"59f458ff.1d73b8",
- "type":"switchNode",
- "name":"switch importRT1",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_importRT1'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2194.286087036133,
- "y":461.61917209625244,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "3bc28b07.5abd24",
+ "type": "switchNode",
+ "name": "switch importRT1",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_importRT1'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2183.6506729125977,
+ "y": 455.6504240036011,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "38411baa.2cca74"
+ "375c46a9.18d9fa"
]
]
},
{
- "id":"bb7bc8f4.498f28",
- "type":"switchNode",
- "name":"switch exportRT1",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_exportRT1'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2195.286148071289,
- "y":525.6191428899765,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "d7ef4fd8.01b03",
+ "type": "switchNode",
+ "name": "switch exportRT1",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_exportRT1'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2184.650733947754,
+ "y": 519.6503947973251,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "c1464a84.f3b268"
+ "7f0820af.096cd"
]
]
},
{
- "id":"e2d9cb00.0ed418",
- "type":"switchNode",
- "name":"switch vni",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_vni'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2166.286117553711,
- "y":588.6191749572754,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "23f59b17.2b7104",
+ "type": "switchNode",
+ "name": "switch vni",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_vni'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2155.650703430176,
+ "y": 582.650426864624,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "a40701ca.7f71d"
+ "4089b1ef.cda1c"
]
]
},
{
- "id":"f708b7e0.e87648",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2384.0005645751953,
- "y":214.3334732055664,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "e685ff47.0f8c6",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2373.36515045166,
+ "y": 208.36472511291504,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "3df14e3f.ff9f42"
+ "51bd251c.e4250c"
]
]
},
{
- "id":"13b7e002.7b869",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2395.0005645751953,
- "y":269.33345890045166,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "92cb9e5c.495d",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2384.36515045166,
+ "y": 263.3647108078003,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "bf6e83b1.5d5aa"
+ "22a14741.398828"
]
]
},
{
- "id":"b16fc128.b108e",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2391.0003509521484,
- "y":399.33341884613037,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "611f6a53.2c5e34",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2380.3649368286133,
+ "y": 393.364670753479,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "762bb1f.102ee5"
+ "41aaa6a9.d85078"
]
]
},
{
- "id":"38411baa.2cca74",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2396.286087036133,
- "y":460.61917209625244,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "375c46a9.18d9fa",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2385.6506729125977,
+ "y": 454.6504240036011,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "28eacd01.75bb82"
+ "df1889e8.640458"
]
]
},
{
- "id":"c1464a84.f3b268",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2391.286148071289,
- "y":522.6191428899765,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "7f0820af.096cd",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2380.650733947754,
+ "y": 516.6503947973251,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "54d6710.aef549"
+ "c98004ad.61e968"
]
]
},
{
- "id":"a40701ca.7f71d",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2372.286117553711,
- "y":588.6191749572754,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "4089b1ef.cda1c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2361.650703430176,
+ "y": 582.650426864624,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "3a8b4224.49c96e"
+ "66980c68.e238a4"
]
]
},
{
- "id":"bf6e83b1.5d5aa",
- "type":"set",
- "name":"set description",
- "xml":"<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
- "comments":"",
- "x":2577.0005645751953,
- "y":262.33345890045166,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "22a14741.398828",
+ "type": "set",
+ "name": "set description",
+ "xml": "<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2566.36515045166,
+ "y": 256.3647108078003,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"762bb1f.102ee5",
- "type":"set",
- "name":"set router_id",
- "xml":"<set>\n<parameter name='prop.dci-connects.router_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
- "comments":"",
- "x":2582.00057220459,
- "y":392.33350563049316,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "41aaa6a9.d85078",
+ "type": "set",
+ "name": "set router_id",
+ "xml": "<set>\n<parameter name='prop.dci-connects.router_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2571.3651580810547,
+ "y": 386.3647575378418,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"3a8b4224.49c96e",
- "type":"set",
- "name":"set vni",
- "xml":"<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
- "comments":"",
- "x":2542.286117553711,
- "y":580.6191749572754,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "66980c68.e238a4",
+ "type": "set",
+ "name": "set vni",
+ "xml": "<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2531.650703430176,
+ "y": 574.650426864624,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"c7522c24.5f98b",
- "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":749.2858352661133,
- "y":1044.0476970672607,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "cb7a0f33.08841",
+ "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": 739.6504211425781,
+ "y": 1160.0789794921875,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"6fb6ab2c.4aa5d4",
- "type":"switchNode",
- "name":"switch name",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2180.1670989990234,
- "y":156.5001049041748,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "ac8abe82.f1ed7",
+ "type": "switchNode",
+ "name": "switch name",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2169.5316848754883,
+ "y": 150.53135681152344,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "1239b72b.2fbef9"
+ "893c0950.32cf08"
]
]
},
{
- "id":"1239b72b.2fbef9",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2378.1670989990234,
- "y":156.5001049041748,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "893c0950.32cf08",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2367.5316848754883,
+ "y": 150.53135681152344,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "11312cce.e525f3"
+ "96a16277.d8925"
]
]
},
{
- "id":"11312cce.e525f3",
- "type":"set",
- "name":"set name",
- "xml":"<set>\n<parameter name='prop.dci-connects.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
- "comments":"",
- "x":2560.1670989990234,
- "y":149.5001049041748,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "96a16277.d8925",
+ "type": "set",
+ "name": "set name",
+ "xml": "<set>\n<parameter name='prop.dci-connects.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2549.5316848754883,
+ "y": 143.53135681152344,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"397d3387.a8686c",
- "type":"switchNode",
- "name":"switch networkName",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_networkName'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2203.6668853759766,
- "y":335.50004482269287,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "abada83e.899ad8",
+ "type": "switchNode",
+ "name": "switch networkName",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_networkName'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2193.0314712524414,
+ "y": 329.5312967300415,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "7e8f9a77.54d324"
+ "1782d68.c5bab2a"
]
]
},
{
- "id":"7e8f9a77.54d324",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2401.6668853759766,
- "y":335.50004482269287,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "1782d68.c5bab2a",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2391.0314712524414,
+ "y": 329.5312967300415,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
-
+ "c20d9d61.613f4"
]
]
},
{
- "id":"2ed80a33.f4c916",
- "type":"block",
- "name":"block : execute",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":750.6665954589844,
- "y":576.5000438690186,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "d0276d0c.b633e",
+ "type": "block",
+ "name": "block : execute",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 740.0311813354492,
+ "y": 570.5312957763672,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "5080dfc0.36b37",
- "eb244a6f.359e28",
- "ca9b0788.7f9838"
+ "c757fa0f.e50b68",
+ "72f61efd.b156e",
+ "4214f6f2.3f8798"
]
]
},
{
- "id":"5080dfc0.36b37",
- "type":"block",
- "name":"block : executeSite1",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1043.1666564941406,
- "y":401.00002002716064,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "c757fa0f.e50b68",
+ "type": "block",
+ "name": "block : executeSite1",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1032.5312423706055,
+ "y": 395.0312719345093,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "12cc8933.03f2b7",
- "d400e6f0.9ebae8"
+ "fbe61431.dcd008",
+ "5ae98389.5ebcac"
]
]
},
{
- "id":"eb244a6f.359e28",
- "type":"block",
- "name":"block : executeSite2",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1060.1667022705078,
- "y":917.000002861023,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "72f61efd.b156e",
+ "type": "block",
+ "name": "block : executeSite2",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1049.5312881469727,
+ "y": 911.0312547683716,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "89c1aab1.7bdc58",
- "d400e6f0.9ebae8"
+ "9f956db.3ed2b9",
+ "5ae98389.5ebcac"
]
]
},
{
- "id":"8f3fbdf6.1304f",
- "type":"switchNode",
- "name":"switch id",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_id'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2154.66690826416,
- "y":735.9999370574951,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "f0009f7e.40e02",
+ "type": "switchNode",
+ "name": "switch id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2144.031494140625,
+ "y": 730.0311889648438,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "a436316f.11b39"
+ "f550858e.14e1d8"
]
]
},
{
- "id":"87844c42.b36e3",
- "type":"switchNode",
- "name":"switch description",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_description'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2178.6672592163086,
- "y":794.9999437332153,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "5318cc5a.897f04",
+ "type": "switchNode",
+ "name": "switch description",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_description'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2168.0318450927734,
+ "y": 789.031195640564,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "bf81b94b.2f55a8",
- "18114475.1855ec"
+ "bcd540c3.4e804",
+ "69713a16.fbae84"
]
]
},
{
- "id":"bb073e87.caa3e",
- "type":"switchNode",
- "name":"switch routerId",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_routerId'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2187.666648864746,
- "y":990.9999094009399,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "3b3ae1d4.d5835e",
+ "type": "switchNode",
+ "name": "switch routerId",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_routerId'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2177.031234741211,
+ "y": 985.0311613082886,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "96a4190f.73e698"
+ "f75e99a8.64ed88"
]
]
},
{
- "id":"e9a9b37b.df96d",
- "type":"switchNode",
- "name":"switch importRT1",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_importRT1'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2195.9523849487305,
- "y":1052.285662651062,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "3ceece62.09ddd2",
+ "type": "switchNode",
+ "name": "switch importRT1",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_importRT1'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2185.3169708251953,
+ "y": 1046.3169145584106,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "7988286f.daa4d8"
+ "2cfb39ee.eacf86"
]
]
},
{
- "id":"d05e00bd.4bb1d",
- "type":"switchNode",
- "name":"switch exportRT1",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_exportRT1'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2196.9524459838867,
- "y":1116.285633444786,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "8c9a50d3.0bead",
+ "type": "switchNode",
+ "name": "switch exportRT1",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_exportRT1'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2186.3170318603516,
+ "y": 1110.3168853521347,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "4feb1f47.56d31"
+ "ff36bc65.60ac5"
]
]
},
{
- "id":"50846ae9.b3bb24",
- "type":"switchNode",
- "name":"switch vni",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_vni'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2167.9524154663086,
- "y":1179.285665512085,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "db4a0111.c3372",
+ "type": "switchNode",
+ "name": "switch vni",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_vni'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2157.3170013427734,
+ "y": 1173.3169174194336,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "1c48672.500ee99"
+ "1ba16f6b.433171"
]
]
},
{
- "id":"a436316f.11b39",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2369.66690826416,
- "y":734.9999370574951,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "f550858e.14e1d8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2359.031494140625,
+ "y": 729.0311889648438,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "a9738af0.3c8338"
+ "5c56e96c.6b3588"
]
]
},
{
- "id":"bf81b94b.2f55a8",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2376.6672592163086,
- "y":794.9999437332153,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "bcd540c3.4e804",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2366.0318450927734,
+ "y": 789.031195640564,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "b34bd5d.abbf728"
+ "cd16655c.572058"
]
]
},
{
- "id":"96a4190f.73e698",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2392.666648864746,
- "y":989.9999094009399,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "f75e99a8.64ed88",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2382.031234741211,
+ "y": 984.0311613082886,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "74df6953.989bb8"
+ "b3528ffb.5fd92"
]
]
},
{
- "id":"7988286f.daa4d8",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2397.9523849487305,
- "y":1051.285662651062,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "2cfb39ee.eacf86",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2387.3169708251953,
+ "y": 1045.3169145584106,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "87fc0003.1c83"
+ "d44c3f36.87166"
]
]
},
{
- "id":"4feb1f47.56d31",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2392.9524459838867,
- "y":1113.285633444786,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "ff36bc65.60ac5",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2382.3170318603516,
+ "y": 1107.3168853521347,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "e1b1c41e.20d598"
+ "84652cfb.a0fe1"
]
]
},
{
- "id":"1c48672.500ee99",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2373.9524154663086,
- "y":1179.285665512085,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "1ba16f6b.433171",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2363.3170013427734,
+ "y": 1173.3169174194336,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "b4378fb6.33ce7"
+ "cdec65b1.3e8048"
]
]
},
{
- "id":"b34bd5d.abbf728",
- "type":"set",
- "name":"set description",
- "xml":"<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
- "comments":"",
- "x":2558.6672592163086,
- "y":787.9999437332153,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "cd16655c.572058",
+ "type": "set",
+ "name": "set description",
+ "xml": "<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2548.0318450927734,
+ "y": 782.031195640564,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"74df6953.989bb8",
- "type":"set",
- "name":"set router_id",
- "xml":"<set>\n<parameter name='prop.dci-connects.router_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
- "comments":"",
- "x":2583.6668701171875,
- "y":982.9999961853027,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "b3528ffb.5fd92",
+ "type": "set",
+ "name": "set router_id",
+ "xml": "<set>\n<parameter name='prop.dci-connects.router_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2573.0314559936523,
+ "y": 977.0312480926514,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"b4378fb6.33ce7",
- "type":"set",
- "name":"set vni",
- "xml":"<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
- "comments":"",
- "x":2543.9524154663086,
- "y":1171.285665512085,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "cdec65b1.3e8048",
+ "type": "set",
+ "name": "set vni",
+ "xml": "<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2533.3170013427734,
+ "y": 1165.3169174194336,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"d2d84b28.6524b8",
- "type":"switchNode",
- "name":"switch networkName",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_networkName'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2205.333183288574,
- "y":926.1665353775024,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "d1df56cb.2256f8",
+ "type": "switchNode",
+ "name": "switch networkName",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_networkName'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2194.697769165039,
+ "y": 920.1977872848511,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "2e52c3b.1c3fa3c"
+ "ef73c349.6fa5"
]
]
},
{
- "id":"2e52c3b.1c3fa3c",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2403.333183288574,
- "y":926.1665353775024,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "ef73c349.6fa5",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2392.697769165039,
+ "y": 920.1977872848511,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
-
+ "7381f4dc.54e1ac"
]
]
},
{
- "id":"ebb3dc82.63277",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":1673.666358947754,
- "y":857.9998948574066,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "4dae1658.981438",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1663.0309448242188,
+ "y": 852.0311467647552,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "8f3fbdf6.1304f",
- "87844c42.b36e3",
- "bb073e87.caa3e",
- "e9a9b37b.df96d",
- "d05e00bd.4bb1d",
- "50846ae9.b3bb24",
- "d2d84b28.6524b8"
+ "f0009f7e.40e02",
+ "5318cc5a.897f04",
+ "3b3ae1d4.d5835e",
+ "3ceece62.09ddd2",
+ "8c9a50d3.0bead",
+ "db4a0111.c3372",
+ "d1df56cb.2256f8"
]
]
},
{
- "id":"89c1aab1.7bdc58",
- "type":"for",
- "name":"for each network-input-parameters",
- "xml":"<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
- "comments":"",
- "outputs":1,
- "x":1426.6664505004883,
- "y":859.9999253749847,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "9f956db.3ed2b9",
+ "type": "for",
+ "name": "for each network-input-parameters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1416.0310363769531,
+ "y": 854.0311772823334,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "ebb3dc82.63277"
- ]
- ]
+ "4dae1658.981438"
+ ]
+ ]
+ },
+ {
+ "id": "51bd251c.e4250c",
+ "type": "set",
+ "name": "set id",
+ "xml": "<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2555.0315322875977,
+ "y": 202.03127479553223,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"3df14e3f.ff9f42",
- "type":"set",
- "name":"set id",
- "xml":"<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
- "comments":"",
- "x":2565.666946411133,
- "y":208.0000228881836,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "8275a286.575d3",
+ "type": "switchNode",
+ "name": "switch tunnelType",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'tunnelType'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2174.53125,
+ "y": 652.0311889648438,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "c5076cc8.20e47"
+ ]
]
},
{
- "id":"b90eee01.f71b",
- "type":"switchNode",
- "name":"switch tunnelType",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'tunnelType'`\">\n",
- "comments":"",
- "outputs":1,
- "x":2185.166664123535,
- "y":657.9999370574951,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "c5076cc8.20e47",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2380.53125,
+ "y": 652.0311889648438,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "49421593.ccc6fc"
+ "5e2bf82e.5cd788"
]
]
},
{
- "id":"49421593.ccc6fc",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2391.166664123535,
- "y":657.9999370574951,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "5e2bf82e.5cd788",
+ "type": "set",
+ "name": "set tunnelType",
+ "xml": "<set>\n<parameter name='prop.dci-connects.tunnelType' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2550.53125,
+ "y": 644.0311889648438,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "5ae98389.5ebcac",
+ "type": "block",
+ "name": "block : sendRequest",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1328.5312690734863,
+ "y": 1411.5311946868896,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "85008c2f.e9768"
+ "a53eb6d0.3cb4d8",
+ "e89ebf4b.24d8a",
+ "a95dc9c7.507158",
+ "1c2a13ea.e2fe74"
]
]
},
{
- "id":"85008c2f.e9768",
- "type":"set",
- "name":"set tunnelType",
- "xml":"<set>\n<parameter name='prop.dci-connects.tunnelType' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
- "comments":"",
- "x":2561.166664123535,
- "y":649.9999370574951,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "f8e23e01.428c6",
+ "type": "execute",
+ "name": "execute RestApiCallNode Activate Vxlan Tunnel",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir +'/l3-dci-connects-template.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l3-dci-connects'`\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2453.531494140625,
+ "y": 1411.5311279296875,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
]
},
{
- "id":"d400e6f0.9ebae8",
- "type":"block",
- "name":"block : sendRequest",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1339.1666831970215,
- "y":1417.499942779541,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "947732ea.1c0d1",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1815.0312271118164,
+ "y": 1182.530781507492,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "4b5b64db.a6e31c",
- "67106fe7.87d3f",
- "e15d1e8.e713be",
- "51ee7ac2.7dbfe4"
+ "67b5c3a4.c5440c"
]
]
},
{
- "id":"b9168ed9.b3a7b",
- "type":"execute",
- "name":"execute RestApiCallNode Activate Vxlan Tunnel",
- "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3-dci-connects-template.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l3-dci-connects'\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
- "comments":"",
- "outputs":1,
- "x":2147.1669578552246,
- "y":1480.4998979568481,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "cddd83e6.c6954",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1822.0312271118164,
+ "y": 1220.530781507492,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
-
+ "3ae7115c.f7ed0e"
]
]
},
{
- "id":"b0137d76.ad7a2",
- "type":"success",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":1825.6666412353516,
- "y":1188.4995296001434,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "38e02e05.9540d2",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1814.0312271118164,
+ "y": 1262.530781507492,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "e0b0e9e7.f874b8"
+ "9970d5b0.48c8b8"
]
]
},
{
- "id":"a03a0ce7.9531c",
- "type":"not-found",
- "name":"not-found",
- "xml":"<outcome value='not-found'>\n",
- "comments":"",
- "outputs":1,
- "x":1832.6666412353516,
- "y":1226.4995296001434,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "3ae7115c.f7ed0e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1979.0312271118164,
+ "y": 1224.530781507492,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "9970d5b0.48c8b8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1972.0312271118164,
+ "y": 1271.530781507492,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "e89ebf4b.24d8a",
+ "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 = $prop.dci-connects.id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1596.262107849121,
+ "y": 1221.8385467529297,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "fa707742.d53878"
+ "947732ea.1c0d1",
+ "cddd83e6.c6954",
+ "38e02e05.9540d2"
]
]
},
{
- "id":"818bf049.9d8d8",
- "type":"other",
- "name":"other",
- "xml":"<outcome value='Other'>\n",
- "comments":"",
- "outputs":1,
- "x":1824.6666412353516,
- "y":1268.4995296001434,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "67b5c3a4.c5440c",
+ "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<parameter name='prop.sdncRestApi.thirdpartySdnc.vendor' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].vendor`\" />\n\n",
+ "comments": "",
+ "x": 1989.5311584472656,
+ "y": 1179.03076171875,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "720459ea.25c288",
+ "type": "switchNode",
+ "name": "switch tunnelType",
+ "xml": "<switch test=\"`$prop.dci-connects.tunnelType`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1916.5309524536133,
+ "y": 1436.0306386947632,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "d591067c.05c108"
+ "2c9d3dbe.0640c2",
+ "d7544d3a.90015"
]
]
},
{
- "id":"e0b0e9e7.f874b8",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":1990.6666412353516,
- "y":1177.4995296001434,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "2c9d3dbe.0640c2",
+ "type": "outcomeTrue",
+ "name": "L3-DCI",
+ "xml": "<outcome value='L3-DCI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2129.5310821533203,
+ "y": 1416.0306386947632,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
-
+ "f8e23e01.428c6"
]
]
},
{
- "id":"fa707742.d53878",
- "type":"returnFailure",
- "name":"return failure",
- "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
- "comments":"",
- "x":1989.6666412353516,
- "y":1230.4995296001434,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "d7544d3a.90015",
+ "type": "outcomeTrue",
+ "name": "L2-DCI",
+ "xml": "<outcome value='L2-DCI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2127.530902862549,
+ "y": 1488.0306386947632,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "8027a9ed.03b1a8"
+ ]
]
},
{
- "id":"d591067c.05c108",
- "type":"returnFailure",
- "name":"return failure",
- "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
- "comments":"",
- "x":1982.6666412353516,
- "y":1277.4995296001434,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "5c56e96c.6b3588",
+ "type": "set",
+ "name": "set id",
+ "xml": "<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2533.031467437744,
+ "y": 724.0312414169312,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "8027a9ed.03b1a8",
+ "type": "execute",
+ "name": "execute RestApiCallNode Activate Vxlan Tunnel",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir +'/l2-dci-connects-template.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l2-dci-connects'`\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2447.531448364258,
+ "y": 1488.5310640335083,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
]
},
{
- "id":"4b5b64db.a6e31c",
- "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 = $prop.dci-connects.id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n",
- "comments":"",
- "outputs":1,
- "x":1637.666763305664,
- "y":1235.4995486736298,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "69713a16.fbae84",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2364.531425476074,
+ "y": 848.0312252044678,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "b0137d76.ad7a2",
- "a03a0ce7.9531c",
- "818bf049.9d8d8"
+ "4372b9a3.950648"
]
]
},
{
- "id":"67106fe7.87d3f",
- "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[0].esr-system-info.serviceUrl`\" />\n<parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.password`\" />\n\n",
- "comments":"",
- "x":1609.1666145324707,
- "y":1336.9995028972626,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "4372b9a3.950648",
+ "type": "set",
+ "name": "set description",
+ "xml": "<set>\n<parameter name='prop.dci-connects.description' value='' />\n",
+ "comments": "",
+ "x": 2545.531494140625,
+ "y": 843.0311660766602,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"e15d1e8.e713be",
- "type":"switchNode",
- "name":"switch tunnelType",
- "xml":"<switch test=\"`$prop.dci-connects.tunnelType`\">\n",
- "comments":"",
- "outputs":1,
- "x":1610.166416168213,
- "y":1504.9994087219238,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "df1889e8.640458",
+ "type": "block",
+ "name": "block setEvpnIrts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2567.531005859375,
+ "y": 456.5468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "a7d6c612.d263a8",
- "d5e95c68.c598e"
+ "6f2e130.94e59ec",
+ "dd92c777.cb7518"
]
]
},
{
- "id":"a7d6c612.d263a8",
- "type":"outcomeTrue",
- "name":"L3-DCI",
- "xml":"<outcome value='L3-DCI'>\n",
- "comments":"",
- "outputs":1,
- "x":1823.16654586792,
- "y":1484.9994087219238,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "6f2e130.94e59ec",
+ "type": "set",
+ "name": "set evpn_irts",
+ "xml": "<set>\n<parameter name='tmp.dci-connects.evpn_irts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2813.531005859375,
+ "y": 407.5468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "dd92c777.cb7518",
+ "type": "execute",
+ "name": "split evpn_irts",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_irts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_irts\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2842.531005859375,
+ "y": 459.5468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "b9168ed9.b3a7b"
+ "2467a20d.97d24e",
+ "f753e447.178ff8"
]
]
},
{
- "id":"d5e95c68.c598e",
- "type":"outcomeTrue",
- "name":"L2-DCI",
- "xml":"<outcome value='L2-DCI'>\n",
- "comments":"",
- "outputs":1,
- "x":1821.1663665771484,
- "y":1556.9994087219238,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "f753e447.178ff8",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3059.531005859375,
+ "y": 385.5468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "6cf6d77.8f1d028"
+ "3fe74247.2b4ffe"
]
]
},
{
- "id":"a9738af0.3c8338",
- "type":"set",
- "name":"set id",
- "xml":"<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
- "comments":"",
- "x":2543.6668815612793,
- "y":729.9999895095825,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "2467a20d.97d24e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3060.531005859375,
+ "y": 451.5468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "c9fb1d3f.bb93"
+ ]
]
},
{
- "id":"6cf6d77.8f1d028",
- "type":"execute",
- "name":"execute RestApiCallNode Activate Vxlan Tunnel",
- "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l2-dci-connects-template.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l2-dci-connects'\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
- "comments":"",
- "outputs":1,
- "x":2141.1669120788574,
- "y":1557.499834060669,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "c9fb1d3f.bb93",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 3241.531005859375,
+ "y": 449.5468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "2b124117.491c4e",
+ "type": "set",
+ "name": "set evpn_erts",
+ "xml": "<set>\n<parameter name='tmp.dci-connects.evpn_erts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2810.031005859375,
+ "y": 550.0468769073486,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "2298df8c.6d9c9",
+ "type": "execute",
+ "name": "split evpn_erts",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_erts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_erts\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2839.031005859375,
+ "y": 602.0468769073486,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
-
+ "644f6742.689668",
+ "6d20d2f8.9ddb2c"
]
]
},
{
- "id":"18114475.1855ec",
- "type":"outcomeTrue",
- "name":"false",
- "xml":"<outcome value='false'>\n",
- "comments":"",
- "outputs":1,
- "x":2375.1668395996094,
- "y":853.9999732971191,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "6d20d2f8.9ddb2c",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3056.031005859375,
+ "y": 528.0468769073486,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "3f1b8826.009518"
+ "2e47e496.1bceac"
]
]
},
{
- "id":"3f1b8826.009518",
- "type":"set",
- "name":"set description",
- "xml":"<set>\n<parameter name='prop.dci-connects.description' value='' />\n",
- "comments":"",
- "x":2556.16690826416,
- "y":848.9999141693115,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "644f6742.689668",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3057.031005859375,
+ "y": 594.0468769073486,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "6a2fcced.68d914"
+ ]
]
},
{
- "id":"28eacd01.75bb82",
- "type":"block",
- "name":"block setEvpnIrts",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":2578.16641998291,
- "y":462.5155944824219,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "6a2fcced.68d914",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 3238.031005859375,
+ "y": 592.0468769073486,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "c98004ad.61e968",
+ "type": "block",
+ "name": "block setEvpnErts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2561.0308990478516,
+ "y": 512.0469341278076,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "bb1cdbdd.2fff28",
- "4cd550f9.8750a"
+ "2b124117.491c4e",
+ "2298df8c.6d9c9"
]
]
},
{
- "id":"bb1cdbdd.2fff28",
- "type":"set",
- "name":"set evpn_irts",
- "xml":"<set>\n<parameter name='tmp.dci-connects.evpn_irts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
- "comments":"",
- "x":2824.16641998291,
- "y":413.5155944824219,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "3fe74247.2b4ffe",
+ "type": "for",
+ "name": "for each evpn_irts",
+ "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3262.0311698913574,
+ "y": 385.0468864440918,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "c4293a61.68fc98"
+ ]
]
},
{
- "id":"4cd550f9.8750a",
- "type":"execute",
- "name":"split evpn_irts",
- "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_irts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_irts\"/>\n",
- "comments":"",
- "outputs":1,
- "x":2853.16641998291,
- "y":465.5155944824219,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "c4293a61.68fc98",
+ "type": "set",
+ "name": "set evpn_irt",
+ "xml": "<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n",
+ "comments": "",
+ "x": 3474.0316619873047,
+ "y": 385.0470390319824,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "2e47e496.1bceac",
+ "type": "for",
+ "name": "for each evpn_erts",
+ "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3255.531005859375,
+ "y": 524.0468769073486,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "599d2ef7.cc6f5",
- "24f186e1.e961aa"
+ "13b1522d.393f1e"
]
]
},
{
- "id":"24f186e1.e961aa",
- "type":"failure",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":3070.16641998291,
- "y":391.5155944824219,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "13b1522d.393f1e",
+ "type": "set",
+ "name": "set evpn_ert",
+ "xml": "<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n",
+ "comments": "",
+ "x": 3467.5314979553223,
+ "y": 524.0470294952393,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "30d90f98.fb133",
+ "type": "set",
+ "name": "set evpn_irts",
+ "xml": "<set>\n<parameter name='tmp.dci-connects.evpn_irts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2826.531005859375,
+ "y": 990.5468158721924,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "abdf511f.438e3",
+ "type": "execute",
+ "name": "split evpn_irts",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_irts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_irts\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2855.531005859375,
+ "y": 1042.5468158721924,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "d3a490a1.86ec7"
+ "8434219c.36d76",
+ "ff7f5f04.46946"
]
]
},
{
- "id":"599d2ef7.cc6f5",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3071.16641998291,
- "y":457.5155944824219,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "ff7f5f04.46946",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3072.531005859375,
+ "y": 968.5468158721924,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "9d1496cd.6b6838"
+ "b7596a0e.6a9b38"
]
]
},
{
- "id":"9d1496cd.6b6838",
- "type":"returnFailure",
- "name":"return failure",
- "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
- "comments":"",
- "x":3252.16641998291,
- "y":455.5155944824219,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "8434219c.36d76",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3073.531005859375,
+ "y": 1034.5468158721924,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "e270c137.7edb"
+ ]
]
},
{
- "id":"be04370c.90ae38",
- "type":"set",
- "name":"set evpn_erts",
- "xml":"<set>\n<parameter name='tmp.dci-connects.evpn_erts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
- "comments":"",
- "x":2820.66641998291,
- "y":556.015625,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "e270c137.7edb",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 3254.531005859375,
+ "y": 1032.5468158721924,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "9085479c.4438e8",
+ "type": "set",
+ "name": "set evpn_erts",
+ "xml": "<set>\n<parameter name='tmp.dci-connects.evpn_erts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2823.031005859375,
+ "y": 1133.0468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"46236baf.ee4334",
- "type":"execute",
- "name":"split evpn_erts",
- "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_erts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_erts\"/>\n",
- "comments":"",
- "outputs":1,
- "x":2849.66641998291,
- "y":608.015625,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "945a19b0.56e0a8",
+ "type": "execute",
+ "name": "split evpn_erts",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_erts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_erts\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2852.031005859375,
+ "y": 1185.0468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "50db2b4d.65c564",
- "3f72e979.616c26"
+ "b9f0a76f.ce7bd8",
+ "993c331f.449f2"
]
]
},
{
- "id":"3f72e979.616c26",
- "type":"failure",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":3066.66641998291,
- "y":534.015625,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "993c331f.449f2",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3069.031005859375,
+ "y": 1111.0468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "33c6d394.335a0c"
+ "1e3e4911.a9b5d7"
]
]
},
{
- "id":"50db2b4d.65c564",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3067.66641998291,
- "y":600.015625,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "b9f0a76f.ce7bd8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3070.031005859375,
+ "y": 1177.0468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "dd7bbc95.f451"
+ "6a46228c.def50c"
]
]
},
{
- "id":"dd7bbc95.f451",
- "type":"returnFailure",
- "name":"return failure",
- "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
- "comments":"",
- "x":3248.66641998291,
- "y":598.015625,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "6a46228c.def50c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 3251.031005859375,
+ "y": 1175.0468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"54d6710.aef549",
- "type":"block",
- "name":"block setEvpnErts",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":2571.6663131713867,
- "y":518.015682220459,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "b7596a0e.6a9b38",
+ "type": "for",
+ "name": "for each evpn_irts",
+ "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3275.0311698913574,
+ "y": 968.0468559265137,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "be04370c.90ae38",
- "46236baf.ee4334"
+ "485e43f2.9860dc"
]
]
},
{
- "id":"d3a490a1.86ec7",
- "type":"for",
- "name":"for each evpn_irts",
- "xml":"<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n",
- "comments":"",
- "outputs":1,
- "x":3272.6665840148926,
- "y":391.01563453674316,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "485e43f2.9860dc",
+ "type": "set",
+ "name": "set evpn_irt",
+ "xml": "<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n",
+ "comments": "",
+ "x": 3487.0316619873047,
+ "y": 968.0470085144043,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "1e3e4911.a9b5d7",
+ "type": "for",
+ "name": "for each evpn_erts",
+ "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3268.531005859375,
+ "y": 1107.0468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "5cb80f19.64eda"
+ "d21b6ff7.014f7"
]
]
},
{
- "id":"5cb80f19.64eda",
- "type":"set",
- "name":"set evpn_irt",
- "xml":"<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n",
- "comments":"",
- "x":3484.66707611084,
- "y":391.0157871246338,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "d21b6ff7.014f7",
+ "type": "set",
+ "name": "set evpn_ert",
+ "xml": "<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n",
+ "comments": "",
+ "x": 3480.5314979553223,
+ "y": 1107.0469989776611,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"33c6d394.335a0c",
- "type":"for",
- "name":"for each evpn_erts",
- "xml":"<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n",
- "comments":"",
- "outputs":1,
- "x":3266.16641998291,
- "y":530.015625,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "d44c3f36.87166",
+ "type": "block",
+ "name": "block setEvpnIrts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2580.531005859375,
+ "y": 1039.5468158721924,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "64b16cdb.c226f4"
+ "30d90f98.fb133",
+ "abdf511f.438e3"
]
]
},
{
- "id":"64b16cdb.c226f4",
- "type":"set",
- "name":"set evpn_ert",
- "xml":"<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n",
- "comments":"",
- "x":3478.1669120788574,
- "y":530.0157775878906,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "84652cfb.a0fe1",
+ "type": "block",
+ "name": "block setEvpnErts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2574.0308990478516,
+ "y": 1095.0469036102295,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "9085479c.4438e8",
+ "945a19b0.56e0a8"
+ ]
]
},
{
- "id":"de4c08e4.779ef8",
- "type":"set",
- "name":"set evpn_irts",
- "xml":"<set>\n<parameter name='tmp.dci-connects.evpn_irts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
- "comments":"",
- "x":2837.16641998291,
- "y":996.5155639648438,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "13bf54d6.a265ab",
+ "type": "execute",
+ "name": "execute generate-overlay-network-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.dci.network-id\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1385.6979598999023,
+ "y": 1575.3646783828735,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
+ ]
},
{
- "id":"afa52494.436008",
- "type":"execute",
- "name":"split evpn_irts",
- "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_irts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_irts\"/>\n",
- "comments":"",
- "outputs":1,
- "x":2866.16641998291,
- "y":1048.5155639648438,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "1268eeda.0db0e1",
+ "type": "switchNode",
+ "name": "switch service-data.networks_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1377.6979751586914,
+ "y": 1645.3646847009659,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "a2faa92a.6d34c8",
- "99a5d2ac.70d4e"
+ "625ef991.1b4c98",
+ "2a48f9bb.070696"
]
]
},
{
- "id":"99a5d2ac.70d4e",
- "type":"failure",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":3083.16641998291,
- "y":974.5155639648438,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "625ef991.1b4c98",
+ "type": "other",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1651.5075454711914,
+ "y": 1614.3170772790909,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "3a5f097c.aa4b76"
+ "889ad7c.f2f9c28"
]
]
},
{
- "id":"a2faa92a.6d34c8",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3084.16641998291,
- "y":1040.5155639648438,
- "z":"e7b3886.bec2e78",
- "wires":[
- [
- "e3c3ecd1.1d3de"
+ "id": "2a48f9bb.070696",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1646.3647232055664,
+ "y": 1660.0313717126846,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "ce12c01b.cd317"
+ ]
+ ]
+ },
+ {
+ "id": "889ad7c.f2f9c28",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='0' />\n",
+ "comments": "",
+ "x": 1804.5075454711914,
+ "y": 1613.8884884119034,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "ce12c01b.cd317",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
+ "comments": "",
+ "x": 1805.936134338379,
+ "y": 1658.8885494470596,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "98adcf74.8b144",
+ "type": "set",
+ "name": "set network in service-data",
+ "xml": "<set>\n<parameter name=\"service-data.networks.network[$nidx].network-id\" value='`$prop.dci.network-id`' />\n<parameter name='service-data.networks.network[$nidx].network-data.sdnc-request-header.' value='`$network-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.request-information.' value='`$network-topology-operation-input.request-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.service-information.' value='`$network-topology-operation-input.service-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-information.' value='`$network-topology-operation-input.network-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-request-input.' value='`$network-topology-operation-input.network-request-input.`' />\n<parameter name=\"service-data.networks.network_length\" value='`$nidx+1`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />\n\n\n",
+ "comments": "",
+ "x": 1349.6979598999023,
+ "y": 1717.3646869659424,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "4214f6f2.3f8798",
+ "type": "block",
+ "name": "block : saveNetworkData",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1046.0312118530273,
+ "y": 1556.6978778839111,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "13bf54d6.a265ab",
+ "1268eeda.0db0e1",
+ "98adcf74.8b144",
+ "ae6337fc.2f77b8"
]
]
},
{
- "id":"e3c3ecd1.1d3de",
- "type":"returnFailure",
- "name":"return failure",
- "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
- "comments":"",
- "x":3265.16641998291,
- "y":1038.5155639648438,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "ae6337fc.2f77b8",
+ "type": "set",
+ "name": "set networkId and network-object-path",
+ "xml": "<set>\n<parameter name='networkId' value='`$prop.dci.network-id`' />\n<parameter name=\"network-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.dci.network-id + '/network-data/'` \" />",
+ "comments": "",
+ "x": 1382.0312118530273,
+ "y": 1787.0312519073486,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"4838fe79.9c15c",
- "type":"set",
- "name":"set evpn_erts",
- "xml":"<set>\n<parameter name='tmp.dci-connects.evpn_erts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
- "comments":"",
- "x":2833.66641998291,
- "y":1139.0155944824219,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "a53eb6d0.3cb4d8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"dci-network-topology-operation-activate\"/>\n<parameter name=\"field3\" value=\"dci-connects.name\"/>\n<parameter name=\"field4\" value=\"`$prop.dci-connects.name`\" />\n<parameter name=\"field5\" value=\"dci-connects.id\"/>\n<parameter name=\"field6\" value=\"`$prop.dci-connects.id`\"/>\n<parameter name=\"field7\" value=\"dci-connects.tunnelType\" />\n<parameter name=\"field8\" value=\"`$prop.dci-connects.tunnelType`\"/>\n<parameter name=\"field9\" value=\"sdncRestApi.thirdpartySdnc.url\"/>\n<parameter name=\"field10\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1555.364990234375,
+ "y": 1366.697998046875,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
]
},
{
- "id":"498325c5.0baffc",
- "type":"execute",
- "name":"split evpn_erts",
- "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_erts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_erts\"/>\n",
- "comments":"",
- "outputs":1,
- "x":2862.66641998291,
- "y":1191.0155944824219,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "7f7ca562.d8259c",
+ "type": "comment",
+ "name": "TODO",
+ "info": "Currently activate is done without assignment, later divide in two phases.",
+ "comments": "",
+ "x": 1341.0312118530273,
+ "y": 49.69791603088379,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "7381f4dc.54e1ac",
+ "type": "block",
+ "name": "block setLocalNetworks",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2563.531280517578,
+ "y": 919.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "f13c2833.8ad168",
+ "e68592dd.37654"
+ ]
+ ]
+ },
+ {
+ "id": "f13c2833.8ad168",
+ "type": "set",
+ "name": "set local_networks",
+ "xml": "<set>\n<parameter name='tmp.dci-connects.local_networks.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2766.531280517578,
+ "y": 854.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "e68592dd.37654",
+ "type": "execute",
+ "name": "split local_networks",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.local_networks.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.local_networks\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2795.531280517578,
+ "y": 906.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "252779ac.34f776",
- "c60af97c.26e9a8"
+ "18c32d19.cddf83",
+ "717aba8a.7e5bd4"
]
]
},
{
- "id":"c60af97c.26e9a8",
- "type":"failure",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":3079.66641998291,
- "y":1117.0155944824219,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "18c32d19.cddf83",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2992.531280517578,
+ "y": 841.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "d01a6ff.a639b9"
+ "2bac9803.b022f8"
]
]
},
{
- "id":"252779ac.34f776",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3080.66641998291,
- "y":1183.0155944824219,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "717aba8a.7e5bd4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2993.531280517578,
+ "y": 907.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "99152285.4b98e"
+ "9f287993.deeca8"
]
]
},
{
- "id":"99152285.4b98e",
- "type":"returnFailure",
- "name":"return failure",
- "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
- "comments":"",
- "x":3261.66641998291,
- "y":1181.0155944824219,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
+ "id": "9f287993.deeca8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 3174.531280517578,
+ "y": 905.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"3a5f097c.aa4b76",
- "type":"for",
- "name":"for each evpn_irts",
- "xml":"<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n",
- "comments":"",
- "outputs":1,
- "x":3285.6665840148926,
- "y":974.015604019165,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "2bac9803.b022f8",
+ "type": "for",
+ "name": "for each local_networks",
+ "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.local_networks_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3195.0314445495605,
+ "y": 840.5312900543213,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "c7718a98.e04308"
+ "b98f501.86efdb"
]
]
},
{
- "id":"c7718a98.e04308",
- "type":"set",
- "name":"set evpn_irt",
- "xml":"<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n",
- "comments":"",
- "x":3497.66707611084,
- "y":974.0157566070557,
- "z":"e7b3886.bec2e78",
- "wires":[
-
- ]
- },
- {
- "id":"d01a6ff.a639b9",
- "type":"for",
- "name":"for each evpn_erts",
- "xml":"<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n",
- "comments":"",
- "outputs":1,
- "x":3279.16641998291,
- "y":1113.0155944824219,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "b98f501.86efdb",
+ "type": "get-resource",
+ "name": "get-resource l3-network",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $tmp.dci-connects.local_networks[$idx] AND \n\t\t depth = '0'\"\n pfx='tmp.aai.l3-network' local-only='false' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3467.531280517578,
+ "y": 839.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "980d219f.1cb96"
+ "ff920bc5.185188",
+ "56d15342.77268c",
+ "718e79ef.506a28"
]
]
},
{
- "id":"980d219f.1cb96",
- "type":"set",
- "name":"set evpn_ert",
- "xml":"<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n",
- "comments":"",
- "x":3491.1669120788574,
- "y":1113.0157470703125,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "ff920bc5.185188",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3686.3003997802734,
+ "y": 799.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "2dfe1ab5.29ac36"
+ ]
]
},
{
- "id":"87fc0003.1c83",
- "type":"block",
- "name":"block setEvpnIrts",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":2591.16641998291,
- "y":1045.5155639648438,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "56d15342.77268c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3693.3003997802734,
+ "y": 837.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "de4c08e4.779ef8",
- "afa52494.436008"
+ "c8973361.4dcf1"
]
]
},
{
- "id":"e1b1c41e.20d598",
- "type":"block",
- "name":"block setEvpnErts",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":2584.6663131713867,
- "y":1101.0156517028809,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "718e79ef.506a28",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3685.3003997802734,
+ "y": 879.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "4838fe79.9c15c",
- "498325c5.0baffc"
+ "965b4a77.b56118"
]
]
},
{
- "id":"f43e6d50.f002a",
- "type":"comment",
- "name":"TODO",
- "info":"Get information from VFC team about the A&AI location where name to network mapping will be available.",
- "comments":"",
- "x":2566.1666717529297,
- "y":330.51564025878906,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "c8973361.4dcf1",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3850.3003997802734,
+ "y": 841.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "965b4a77.b56118",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3843.3003997802734,
+ "y": 888.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "2dfe1ab5.29ac36",
+ "type": "set",
+ "name": "set network-id",
+ "xml": "<set>\n<parameter name='prop.dci-connects.local_networks[$idx]' value=\"`$tmp.aai.l3-network.network-id`\" />\n",
+ "comments": "",
+ "x": 3860.8003311157227,
+ "y": 796.2234649658203,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "3620f5be.990eda",
+ "type": "save",
+ "name": "save overlay configuration in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='configuration' \n key='configuration.configuration-id = $prop.dci.network-id' >\n<parameter name='configuration-id' value='`$prop.dci.network-id`' />\n<parameter name='configuration-type' value='overlay' />\n<parameter name='configuration-sub-type' value='VPN-DCI' />\n<parameter name='orchestration-status' value='Created' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$prop.dci.network-id`' />\n<parameter name='configuration-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.dci.network-id + '/network-data/'` \" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 845.53125,
+ "y": 993.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
]
},
{
- "id":"29cdd210.569a2e",
- "type":"comment",
- "name":"TODO",
- "info":"Store activated network information in A&AI",
- "comments":"",
- "x":722.6666641235352,
- "y":970.0155639648438,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "2b8696d6.909b7a",
+ "type": "save",
+ "name": "save service relationship in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $service-data.service-information.service-instance-id \n AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"configuration\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/configurations/configuration/' + $prop.dci.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"configuration.configuration-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.dci.network-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 803.5312805175781,
+ "y": 1072.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
]
},
{
- "id":"c1da1447.655188",
- "type":"comment",
- "name":"TODO",
- "info":"Get information from VFC team about teh A&AI location where name to network mapping will be available.",
- "comments":"",
- "x":2552.66641998291,
- "y":923.5155639648438,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "c20d9d61.613f4",
+ "type": "block",
+ "name": "block setLocalNetworks",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2594.03125,
+ "y": 326.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "e8def7b2.2fbf88",
+ "8e1e86c2.e5c6e8"
+ ]
]
},
{
- "id":"e2902d00.271b2",
- "type":"execute",
- "name":"execute generate-overlay-network-id",
- "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.dci.network-id\"/>\n",
- "comments":"",
- "outputs":1,
- "x":1396.3333740234375,
- "y":1581.333426475525,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "e8def7b2.2fbf88",
+ "type": "set",
+ "name": "set local_networks",
+ "xml": "<set>\n<parameter name='tmp.dci-connects.local_networks.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2797.03125,
+ "y": 261.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "8e1e86c2.e5c6e8",
+ "type": "execute",
+ "name": "split local_networks",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.local_networks.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.local_networks\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2826.03125,
+ "y": 313.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
-
+ "79bfda71.3cba44",
+ "385c2789.bb9748"
]
]
},
{
- "id":"ae44dcc.ae6882",
- "type":"switchNode",
- "name":"switch service-data.networks_length",
- "xml":"<switch test='`$service-data.networks.network_length`'>\n",
- "comments":"",
- "outputs":1,
- "x":1388.3333892822266,
- "y":1651.3334327936172,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "79bfda71.3cba44",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3023.03125,
+ "y": 248.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "6472b37e.9743dc",
- "63aa7013.b8d94"
+ "4e5e1e98.3ee33"
]
]
},
{
- "id":"6472b37e.9743dc",
- "type":"other",
- "name":"Null",
- "xml":"<outcome value=''>\n",
- "comments":"",
- "outputs":1,
- "x":1662.1429595947266,
- "y":1620.2858253717422,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "385c2789.bb9748",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3024.03125,
+ "y": 314.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "4d01bada.4b4734"
+ "31b680e7.4204f"
]
]
},
{
- "id":"63aa7013.b8d94",
- "type":"other",
- "name":"other",
- "xml":"<outcome value='Other'>\n",
- "comments":"",
- "outputs":1,
- "x":1657.0001373291016,
- "y":1666.000119805336,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "31b680e7.4204f",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 3205.03125,
+ "y": 312.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "4e5e1e98.3ee33",
+ "type": "for",
+ "name": "for each local_networks",
+ "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.local_networks_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3225.5314140319824,
+ "y": 247.5312900543213,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "329b5d96.16d152"
+ "92921b5e.2aea28"
]
]
},
{
- "id":"4d01bada.4b4734",
- "type":"set",
- "name":"set nidx",
- "xml":"<set>\n<parameter name='nidx' value='0' />\n",
- "comments":"",
- "x":1815.1429595947266,
- "y":1619.8572365045547,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "92921b5e.2aea28",
+ "type": "get-resource",
+ "name": "get-resource l3-network",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $tmp.dci-connects.local_networks[$idx] AND \n\t\t depth = '0'\"\n pfx='tmp.aai.l3-network' local-only='false' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3498.03125,
+ "y": 246.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "7f44a5cd.ed61ec",
+ "94e571af.d5d5a",
+ "396567f.b05f898"
+ ]
]
},
{
- "id":"329b5d96.16d152",
- "type":"set",
- "name":"set nidx",
- "xml":"<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
- "comments":"",
- "x":1816.571548461914,
- "y":1664.857297539711,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "396567f.b05f898",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3715.8003692626953,
+ "y": 286.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "4b36101d.3eb74"
+ ]
]
},
{
- "id":"54770b17.566f04",
- "type":"set",
- "name":"set network in service-data",
- "xml":"<set>\n<parameter name=\"service-data.networks.network[$nidx].network-id\" value='`$prop.dci.network-id`' />\n<parameter name='service-data.networks.network[$nidx].network-data.sdnc-request-header.' value='`$network-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.request-information.' value='`$network-topology-operation-input.request-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.service-information.' value='`$network-topology-operation-input.service-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-information.' value='`$network-topology-operation-input.network-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-request-input.' value='`$network-topology-operation-input.network-request-input.`' />\n<parameter name=\"service-data.networks.network_length\" value='`$nidx+1`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />\n\n\n",
- "comments":"",
- "x":1360.3333740234375,
- "y":1723.3334350585938,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "94e571af.d5d5a",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3723.8003692626953,
+ "y": 244.72348475456238,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "4dd39096.a8b53"
+ ]
]
},
{
- "id":"ca9b0788.7f9838",
- "type":"block",
- "name":"block : saveNetworkData",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1056.6666259765625,
- "y":1562.6666259765625,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "7f44a5cd.ed61ec",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3716.8003692626953,
+ "y": 206.72348475456238,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "e2902d00.271b2",
- "ae44dcc.ae6882",
- "54770b17.566f04",
- "c62b5ead.36429"
+ "f52617f1.8bd0b8"
]
]
},
{
- "id":"c62b5ead.36429",
- "type":"set",
- "name":"set networkId and network-object-path",
- "xml":"<set>\n<parameter name='networkId' value='`$prop.dci.network-id`' />\n<parameter name=\"network-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.dci.network-id + '/network-data/'` \" />",
- "comments":"",
- "x":1392.6666259765625,
- "y":1793,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "f52617f1.8bd0b8",
+ "type": "set",
+ "name": "set network-id",
+ "xml": "<set>\n<parameter name='prop.dci-connects.local_networks[$idx]' value=\"`$tmp.aai.l3-network.network-id`\" />\n",
+ "comments": "",
+ "x": 3891.3003005981445,
+ "y": 203.2234649658203,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "4dd39096.a8b53",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3880.8003692626953,
+ "y": 248.72348475456238,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "4b36101d.3eb74",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3873.8003692626953,
+ "y": 295.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "a95dc9c7.507158",
+ "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": 1579,
+ "y": 1297,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
]
},
{
- "id":"51ee7ac2.7dbfe4",
- "type":"record",
- "name":"record",
- "xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"dci-network-topology-operation-activate\"/>\n<parameter name=\"field3\" value=\"dci-connects.name\"/>\n<parameter name=\"field4\" value=\"$prop.dci-connects.name\" />\n<parameter name=\"field5\" value=\"dci-connects.id\"/>\n<parameter name=\"field6\" value=\"`$prop.dci-connects.id`\"/>\n<parameter name=\"field7\" value=\"dci-connects.tunnelType\" />\n<parameter name=\"field8\" value=\"`$prop.dci-connects.tunnelType`\"/>\n<parameter name=\"field9\" value=\"sdncRestApi.thirdpartySdnc.url\"/>\n<parameter name=\"field10\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url`\"/>",
- "comments":"",
- "outputs":1,
- "x":1575.0004196166992,
- "y":1421.6667108535767,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "1c2a13ea.e2fe74",
+ "type": "switchNode",
+ "name": "switch vendor",
+ "xml": "<switch test=\"`$prop.sdncRestApi.thirdpartySdnc.vendor`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1585,
+ "y": 1436,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
-
+ "5a0c70a7.9c1048"
]
]
},
{
- "id":"f9e8ba1c.b0c118",
- "type":"comment",
- "name":"TODO",
- "info":"Currently activate is done without assignment, later divide in two phases.",
- "comments":"",
- "x":1351.6666259765625,
- "y":55.666664123535156,
- "z":"e7b3886.bec2e78",
- "wires":[
-
+ "id": "5a0c70a7.9c1048",
+ "type": "outcomeTrue",
+ "name": "SPTN",
+ "xml": "<outcome value='SPTN'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1739,
+ "y": 1438,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "720459ea.25c288"
+ ]
]
}
-]
\ No newline at end of file
+]