[
{
- "id":"f677edb7.5eba9",
- "type":"dgstart",
- "name":"DGSTART",
- "outputs":1,
- "x":104.66666412353516,
- "y":37.99999809265137,
- "z":"e7b3886.bec2e78",
- "wires":[
+ "id": "efadabab.b5cb18",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 161.03125,
+ "y": 58.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "bda53e34.48bcb"
+ "ba4efe38.fe52f"
]
]
},
{
- "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": "ba4efe38.fe52f",
+ "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": 377.53125,
+ "y": 120.53125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "33551718.9d6058"
+ "7f023f5f.1b1c1"
]
]
},
{
- "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": "7f023f5f.1b1c1",
+ "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": 285.5312805175781,
+ "y": 215.53123474121094,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "6463cc60.4f8394"
+ "e1d5d7b9.ae02f8"
]
]
},
{
- "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": "e1d5d7b9.ae02f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 583.3645935058594,
+ "y": 223.3645782470703,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "c7522c24.5f98b",
- "102b3cb5.6d7ac3",
- "2ed80a33.f4c916"
+ "66ae34bb.465bdc",
+ "f39d0958.e0ee98",
+ "9338de7d.f59b5",
+ "80e65684.a81798",
+ "44b13ee0.f42ab"
]
]
},
{
- "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": "f39d0958.e0ee98",
+ "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": 973.3645935058594,
+ "y": 88.36457824707031,
+ "z": "1d7d5b1a.5d6895",
+ "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": "605eaf8f.084d",
+ "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": 1491.3648834228516,
+ "y": 361.364639043808,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "4b519ec.f2b4b6"
+ "bfa446d7.0384a8"
]
]
},
{
- "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": "bfa446d7.0384a8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1738.3647918701172,
+ "y": 359.36460852622986,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "32074b80.b9a384",
- "448b7ef3.fc516",
- "1a7f3647.3d7caa",
- "59f458ff.1d73b8",
- "bb7bc8f4.498f28",
- "e2d9cb00.0ed418",
- "6fb6ab2c.4aa5d4",
- "397d3387.a8686c",
- "b90eee01.f71b"
+ "2241976d.6a72e8",
+ "923aebd8.9492b8",
+ "2f701681.5a3f2a",
+ "7ed4d1f2.e0fb2",
+ "c165c87.d2de838",
+ "9f9caa1e.b9ba18",
+ "fd1390eb.db4fe",
+ "dc38e2a3.7cbf5",
+ "6fbbb836.ada618"
]
]
},
{
- "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": "2241976d.6a72e8",
+ "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": 2225.36515045166,
+ "y": 235.36472511291504,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "f708b7e0.e87648"
+ "78ea1224.bc5bac"
]
]
},
{
- "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": "923aebd8.9492b8",
+ "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": 2253.36515045166,
+ "y": 289.3647108078003,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "13b7e002.7b869"
+ "3eb5f34b.fabb6c"
]
]
},
{
- "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": "2f701681.5a3f2a",
+ "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": 2242.3649368286133,
+ "y": 420.364670753479,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "b16fc128.b108e"
+ "db1938c9.795a18"
]
]
},
{
- "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": "7ed4d1f2.e0fb2",
+ "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": 2250.6506729125977,
+ "y": 481.6504240036011,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "38411baa.2cca74"
+ "666446e9.c89ea8"
]
]
},
{
- "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": "c165c87.d2de838",
+ "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": 2251.650733947754,
+ "y": 545.6503947973251,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "c1464a84.f3b268"
+ "16c5b91c.f31b17"
]
]
},
{
- "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": "9f9caa1e.b9ba18",
+ "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": 2222.650703430176,
+ "y": 608.650426864624,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "a40701ca.7f71d"
+ "918dfdc3.aa336"
]
]
},
{
- "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": "78ea1224.bc5bac",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2440.36515045166,
+ "y": 234.36472511291504,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "3df14e3f.ff9f42"
+ "4bf931c1.dd806"
]
]
},
{
- "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": "3eb5f34b.fabb6c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2451.36515045166,
+ "y": 289.3647108078003,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "bf6e83b1.5d5aa"
+ "55b0ea54.6a4d14"
]
]
},
{
- "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": "db1938c9.795a18",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2447.3649368286133,
+ "y": 419.364670753479,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "762bb1f.102ee5"
+ "874dab5.61e2258"
]
]
},
{
- "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": "666446e9.c89ea8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2452.6506729125977,
+ "y": 480.6504240036011,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "28eacd01.75bb82"
+ "3adcbd29.e08a92"
]
]
},
{
- "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": "16c5b91c.f31b17",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2447.650733947754,
+ "y": 542.6503947973251,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "54d6710.aef549"
+ "4c2a55f8.8427bc"
]
]
},
{
- "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": "918dfdc3.aa336",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2428.650703430176,
+ "y": 608.650426864624,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "3a8b4224.49c96e"
+ "18742d4d.86f243"
]
]
},
{
- "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": "55b0ea54.6a4d14",
+ "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": 2633.36515045166,
+ "y": 282.3647108078003,
+ "z": "1d7d5b1a.5d6895",
+ "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": "874dab5.61e2258",
+ "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": 2638.3651580810547,
+ "y": 412.3647575378418,
+ "z": "1d7d5b1a.5d6895",
+ "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": "18742d4d.86f243",
+ "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": 2598.650703430176,
+ "y": 600.650426864624,
+ "z": "1d7d5b1a.5d6895",
+ "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": "66ae34bb.465bdc",
+ "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": 806.6504211425781,
+ "y": 1186.0789794921875,
+ "z": "1d7d5b1a.5d6895",
+ "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": "fd1390eb.db4fe",
+ "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": 2236.5316848754883,
+ "y": 176.53135681152344,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "1239b72b.2fbef9"
+ "c0671fb5.a1596"
]
]
},
{
- "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": "c0671fb5.a1596",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2434.5316848754883,
+ "y": 176.53135681152344,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "11312cce.e525f3"
+ "4df90ce2.99e144"
]
]
},
{
- "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": "4df90ce2.99e144",
+ "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": 2616.5316848754883,
+ "y": 169.53135681152344,
+ "z": "1d7d5b1a.5d6895",
+ "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": "dc38e2a3.7cbf5",
+ "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": 2260.0314712524414,
+ "y": 355.5312967300415,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "7e8f9a77.54d324"
+ "b00f6243.0a48"
]
]
},
{
- "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": "b00f6243.0a48",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2458.0314712524414,
+ "y": 355.5312967300415,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
-
+ "2e41bbcc.a6d6e4"
]
]
},
{
- "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": "9338de7d.f59b5",
+ "type": "block",
+ "name": "block : execute",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 807.0311813354492,
+ "y": 596.5312957763672,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "5080dfc0.36b37",
- "eb244a6f.359e28",
- "ca9b0788.7f9838"
+ "c6f41a63.9856e8",
+ "e91af8d8.1aa348",
+ "d35fd906.7c7fe8"
]
]
},
{
- "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": "c6f41a63.9856e8",
+ "type": "block",
+ "name": "block : executeSite1",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1099.5312423706055,
+ "y": 421.0312719345093,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "12cc8933.03f2b7",
- "d400e6f0.9ebae8"
+ "605eaf8f.084d",
+ "5df4287.26506d8"
]
]
},
{
- "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": "e91af8d8.1aa348",
+ "type": "block",
+ "name": "block : executeSite2",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1116.5312881469727,
+ "y": 937.0312547683716,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "89c1aab1.7bdc58",
- "d400e6f0.9ebae8"
+ "ba12a388.ca536",
+ "5df4287.26506d8"
]
]
},
{
- "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": "4ba9c3e9.e8390c",
+ "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": 2211.031494140625,
+ "y": 756.0311889648438,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "a436316f.11b39"
+ "4d059d56.ac7354"
]
]
},
{
- "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": "a5aeb648.cbf968",
+ "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": 2235.0318450927734,
+ "y": 815.031195640564,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "bf81b94b.2f55a8",
- "18114475.1855ec"
+ "44b5c7cb.6c0ad8",
+ "f5c82290.f1663"
]
]
},
{
- "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": "1b41b68d.54ece9",
+ "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": 2244.031234741211,
+ "y": 1011.0311613082886,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "96a4190f.73e698"
+ "126609cf.3fa496"
]
]
},
{
- "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": "1ea9ba64.03cfe6",
+ "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": 2252.3169708251953,
+ "y": 1072.3169145584106,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "7988286f.daa4d8"
+ "f302ebc3.5b2b08"
]
]
},
{
- "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": "f446799d.52ab98",
+ "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": 2253.3170318603516,
+ "y": 1136.3168853521347,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "4feb1f47.56d31"
+ "760fe723.f862b8"
]
]
},
{
- "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": "12876faf.c9b22",
+ "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": 2224.3170013427734,
+ "y": 1199.3169174194336,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "1c48672.500ee99"
+ "9ec06044.5ffa5"
]
]
},
{
- "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": "4d059d56.ac7354",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2426.031494140625,
+ "y": 755.0311889648438,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "a9738af0.3c8338"
+ "59ffa97c.5c0fc8"
]
]
},
{
- "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": "44b5c7cb.6c0ad8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2433.0318450927734,
+ "y": 815.031195640564,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "b34bd5d.abbf728"
+ "bc8f84e7.1a2c38"
]
]
},
{
- "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": "126609cf.3fa496",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2449.031234741211,
+ "y": 1010.0311613082886,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "74df6953.989bb8"
+ "9984a813.340fe8"
]
]
},
{
- "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": "f302ebc3.5b2b08",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2454.3169708251953,
+ "y": 1071.3169145584106,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "87fc0003.1c83"
+ "76d6f69c.e0f7a8"
]
]
},
{
- "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": "760fe723.f862b8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2449.3170318603516,
+ "y": 1133.3168853521347,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "e1b1c41e.20d598"
+ "fe22f97a.e156b8"
]
]
},
{
- "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": "9ec06044.5ffa5",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2430.3170013427734,
+ "y": 1199.3169174194336,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "b4378fb6.33ce7"
+ "cab29ddd.d3511"
]
]
},
{
- "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": "bc8f84e7.1a2c38",
+ "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": 2615.0318450927734,
+ "y": 808.031195640564,
+ "z": "1d7d5b1a.5d6895",
+ "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": "9984a813.340fe8",
+ "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": 2640.0314559936523,
+ "y": 1003.0312480926514,
+ "z": "1d7d5b1a.5d6895",
+ "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": "cab29ddd.d3511",
+ "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": 2600.3170013427734,
+ "y": 1191.3169174194336,
+ "z": "1d7d5b1a.5d6895",
+ "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": "da831bc2.b61118",
+ "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": 2261.697769165039,
+ "y": 946.1977872848511,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "2e52c3b.1c3fa3c"
+ "1a29ba09.a33016"
]
]
},
{
- "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": "1a29ba09.a33016",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2459.697769165039,
+ "y": 946.1977872848511,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
-
+ "38aff846.dc0b98"
]
]
},
{
- "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": "f9349a4.bd78768",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1730.0309448242188,
+ "y": 878.0311467647552,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "8f3fbdf6.1304f",
- "87844c42.b36e3",
- "bb073e87.caa3e",
- "e9a9b37b.df96d",
- "d05e00bd.4bb1d",
- "50846ae9.b3bb24",
- "d2d84b28.6524b8"
+ "4ba9c3e9.e8390c",
+ "a5aeb648.cbf968",
+ "1b41b68d.54ece9",
+ "1ea9ba64.03cfe6",
+ "f446799d.52ab98",
+ "12876faf.c9b22",
+ "da831bc2.b61118"
]
]
},
{
- "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": "ba12a388.ca536",
+ "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": 1483.0310363769531,
+ "y": 880.0311772823334,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "ebb3dc82.63277"
- ]
- ]
+ "f9349a4.bd78768"
+ ]
+ ]
+ },
+ {
+ "id": "4bf931c1.dd806",
+ "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": 2622.0315322875977,
+ "y": 228.03127479553223,
+ "z": "1d7d5b1a.5d6895",
+ "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": "6fbbb836.ada618",
+ "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": 2241.53125,
+ "y": 678.0311889648438,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "c5018b38.b82348"
+ ]
]
},
{
- "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": "c5018b38.b82348",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2447.53125,
+ "y": 678.0311889648438,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "49421593.ccc6fc"
+ "85645a4.a9bb1a8"
]
]
},
{
- "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": "85645a4.a9bb1a8",
+ "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": 2617.53125,
+ "y": 670.0311889648438,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "5df4287.26506d8",
+ "type": "block",
+ "name": "block : sendRequest",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1395.5312690734863,
+ "y": 1437.5311946868896,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "85008c2f.e9768"
+ "1dccb94.bd57b47",
+ "5d6b118.552a3f",
+ "2eb443d1.da3d7c",
+ "6c39ea0c.ba0e9c",
+ "1fbe5a07.98eb36"
]
]
},
{
- "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": "37fa897c.a998d6",
+ "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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2203.5315437316895,
+ "y": 1500.5311498641968,
+ "z": "1d7d5b1a.5d6895",
+ "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": "a2886d1e.1475a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1882.0312271118164,
+ "y": 1208.530781507492,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "4b5b64db.a6e31c",
- "67106fe7.87d3f",
- "e15d1e8.e713be",
- "51ee7ac2.7dbfe4"
+ "59fbb9bc.1fe2b8"
]
]
},
{
- "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": "4cc401c7.12563",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1889.0312271118164,
+ "y": 1246.530781507492,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
-
+ "fa41b944.ad53d8"
]
]
},
{
- "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": "499333c.6e6f8cc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1881.0312271118164,
+ "y": 1288.530781507492,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "e0b0e9e7.f874b8"
+ "30de8b8b.248734"
]
]
},
{
- "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": "fa41b944.ad53d8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 2046.0312271118164,
+ "y": 1250.530781507492,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "30de8b8b.248734",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 2039.0312271118164,
+ "y": 1297.530781507492,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "2eb443d1.da3d7c",
+ "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": 1663.262107849121,
+ "y": 1247.8385467529297,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "fa707742.d53878"
+ "a2886d1e.1475a",
+ "4cc401c7.12563",
+ "499333c.6e6f8cc"
]
]
},
{
- "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": "59fbb9bc.1fe2b8",
+ "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\n",
+ "comments": "",
+ "x": 2056.5311584472656,
+ "y": 1205.03076171875,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "1dccb94.bd57b47",
+ "type": "switchNode",
+ "name": "switch tunnelType",
+ "xml": "<switch test=\"`$prop.dci-connects.tunnelType`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1666.5310020446777,
+ "y": 1525.0306606292725,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "d591067c.05c108"
+ "71cfd469.6c1bec",
+ "86e8360c.b36588"
]
]
},
{
- "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": "71cfd469.6c1bec",
+ "type": "outcomeTrue",
+ "name": "L3-DCI",
+ "xml": "<outcome value='L3-DCI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1879.5311317443848,
+ "y": 1505.0306606292725,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
-
+ "37fa897c.a998d6"
]
]
},
{
- "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": "86e8360c.b36588",
+ "type": "outcomeTrue",
+ "name": "L2-DCI",
+ "xml": "<outcome value='L2-DCI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1877.5309524536133,
+ "y": 1577.0306606292725,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "888b7367.eced7"
+ ]
]
},
{
- "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": "59ffa97c.5c0fc8",
+ "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": 2600.031467437744,
+ "y": 750.0312414169312,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "888b7367.eced7",
+ "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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2197.5314979553223,
+ "y": 1577.5310859680176,
+ "z": "1d7d5b1a.5d6895",
+ "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": "f5c82290.f1663",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2431.531425476074,
+ "y": 874.0312252044678,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "b0137d76.ad7a2",
- "a03a0ce7.9531c",
- "818bf049.9d8d8"
+ "cbfd35c2.bfcb88"
]
]
},
{
- "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": "cbfd35c2.bfcb88",
+ "type": "set",
+ "name": "set description",
+ "xml": "<set>\n<parameter name='prop.dci-connects.description' value='' />\n",
+ "comments": "",
+ "x": 2612.531494140625,
+ "y": 869.0311660766602,
+ "z": "1d7d5b1a.5d6895",
+ "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": "3adcbd29.e08a92",
+ "type": "block",
+ "name": "block setEvpnIrts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2634.531005859375,
+ "y": 482.5468463897705,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "a7d6c612.d263a8",
- "d5e95c68.c598e"
+ "ee0c28f8.e4d418",
+ "e8a5d988.95c218"
]
]
},
{
- "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": "ee0c28f8.e4d418",
+ "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": 2880.531005859375,
+ "y": 433.5468463897705,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "e8a5d988.95c218",
+ "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": 2909.531005859375,
+ "y": 485.5468463897705,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "b9168ed9.b3a7b"
+ "d28f896c.05d5c8",
+ "14de53a9.69951c"
]
]
},
{
- "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": "14de53a9.69951c",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3126.531005859375,
+ "y": 411.5468463897705,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "6cf6d77.8f1d028"
+ "2beb253e.7afdaa"
]
]
},
{
- "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": "d28f896c.05d5c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3127.531005859375,
+ "y": 477.5468463897705,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "75111897.c6e698"
+ ]
]
},
{
- "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": "75111897.c6e698",
+ "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": 3308.531005859375,
+ "y": 475.5468463897705,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "cc14d3d6.a8bb8",
+ "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": 2877.031005859375,
+ "y": 576.0468769073486,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "456385de.3c8bcc",
+ "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": 2906.031005859375,
+ "y": 628.0468769073486,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
-
+ "7302b848.08c648",
+ "5fdfc909.24b298"
]
]
},
{
- "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": "5fdfc909.24b298",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3123.031005859375,
+ "y": 554.0468769073486,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "3f1b8826.009518"
+ "a89b655a.a9acf8"
]
]
},
{
- "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": "7302b848.08c648",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3124.031005859375,
+ "y": 620.0468769073486,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "c1a75157.1fffe"
+ ]
]
},
{
- "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": "c1a75157.1fffe",
+ "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": 3305.031005859375,
+ "y": 618.0468769073486,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "4c2a55f8.8427bc",
+ "type": "block",
+ "name": "block setEvpnErts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2628.0308990478516,
+ "y": 538.0469341278076,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "bb1cdbdd.2fff28",
- "4cd550f9.8750a"
+ "cc14d3d6.a8bb8",
+ "456385de.3c8bcc"
]
]
},
{
- "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": "2beb253e.7afdaa",
+ "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": 3329.0311698913574,
+ "y": 411.0468864440918,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "7f5427c6.ab6078"
+ ]
]
},
{
- "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": "7f5427c6.ab6078",
+ "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": 3541.0316619873047,
+ "y": 411.0470390319824,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "a89b655a.a9acf8",
+ "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": 3322.531005859375,
+ "y": 550.0468769073486,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "599d2ef7.cc6f5",
- "24f186e1.e961aa"
+ "26d12fff.9c7b4"
]
]
},
{
- "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": "26d12fff.9c7b4",
+ "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": 3534.5314979553223,
+ "y": 550.0470294952393,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "232c8152.10922e",
+ "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": 2893.531005859375,
+ "y": 1016.5468158721924,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "60735ad6.75f224",
+ "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": 2922.531005859375,
+ "y": 1068.5468158721924,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "d3a490a1.86ec7"
+ "9de0af26.c612a",
+ "f23e522f.721f"
]
]
},
{
- "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": "f23e522f.721f",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3139.531005859375,
+ "y": 994.5468158721924,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "9d1496cd.6b6838"
+ "3e0e3570.15512a"
]
]
},
{
- "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": "9de0af26.c612a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3140.531005859375,
+ "y": 1060.5468158721924,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "7bec3155.0aa5"
+ ]
]
},
{
- "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": "7bec3155.0aa5",
+ "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": 3321.531005859375,
+ "y": 1058.5468158721924,
+ "z": "1d7d5b1a.5d6895",
+ "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": "2d50095d.e93056",
+ "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": 2890.031005859375,
+ "y": 1159.0468463897705,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "5512a241.93c69c",
+ "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": 2919.031005859375,
+ "y": 1211.0468463897705,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "50db2b4d.65c564",
- "3f72e979.616c26"
+ "2406f85.66f9d08",
+ "5ea7c0a.461a54"
]
]
},
{
- "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": "5ea7c0a.461a54",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3136.031005859375,
+ "y": 1137.0468463897705,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "33c6d394.335a0c"
+ "29bb0627.190dea"
]
]
},
{
- "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": "2406f85.66f9d08",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3137.031005859375,
+ "y": 1203.0468463897705,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "dd7bbc95.f451"
+ "f9b95a01.7c2878"
]
]
},
{
- "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": "f9b95a01.7c2878",
+ "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": 3318.031005859375,
+ "y": 1201.0468463897705,
+ "z": "1d7d5b1a.5d6895",
+ "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": "3e0e3570.15512a",
+ "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": 3342.0311698913574,
+ "y": 994.0468559265137,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "be04370c.90ae38",
- "46236baf.ee4334"
+ "9a59b84a.ecec98"
]
]
},
{
- "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": "9a59b84a.ecec98",
+ "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": 3554.0316619873047,
+ "y": 994.0470085144043,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "29bb0627.190dea",
+ "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": 3335.531005859375,
+ "y": 1133.0468463897705,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "5cb80f19.64eda"
+ "d32d9c80.701b4"
]
]
},
{
- "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": "d32d9c80.701b4",
+ "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": 3547.5314979553223,
+ "y": 1133.0469989776611,
+ "z": "1d7d5b1a.5d6895",
+ "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": "76d6f69c.e0f7a8",
+ "type": "block",
+ "name": "block setEvpnIrts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2647.531005859375,
+ "y": 1065.5468158721924,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "64b16cdb.c226f4"
+ "232c8152.10922e",
+ "60735ad6.75f224"
]
]
},
{
- "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": "fe22f97a.e156b8",
+ "type": "block",
+ "name": "block setEvpnErts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2641.0308990478516,
+ "y": 1121.0469036102295,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "2d50095d.e93056",
+ "5512a241.93c69c"
+ ]
]
},
{
- "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": "cb8f4f81.03f6",
+ "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": 1452.6979598999023,
+ "y": 1601.3646783828735,
+ "z": "1d7d5b1a.5d6895",
+ "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": "b671a31f.ca73a",
+ "type": "switchNode",
+ "name": "switch service-data.networks_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1444.6979751586914,
+ "y": 1671.3646847009659,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "a2faa92a.6d34c8",
- "99a5d2ac.70d4e"
+ "ac48e882.8e5458",
+ "bc7b8c68.e23fc"
]
]
},
{
- "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": "ac48e882.8e5458",
+ "type": "other",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1718.5075454711914,
+ "y": 1640.3170772790909,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "3a5f097c.aa4b76"
+ "e844e350.99df9"
]
]
},
{
- "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": "bc7b8c68.e23fc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1713.3647232055664,
+ "y": 1686.0313717126846,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "1eb190aa.78173f"
+ ]
+ ]
+ },
+ {
+ "id": "e844e350.99df9",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='0' />\n",
+ "comments": "",
+ "x": 1871.5075454711914,
+ "y": 1639.8884884119034,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "1eb190aa.78173f",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
+ "comments": "",
+ "x": 1872.936134338379,
+ "y": 1684.8885494470596,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "55222dc2.e57ec4",
+ "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": 1416.6979598999023,
+ "y": 1743.3646869659424,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "d35fd906.7c7fe8",
+ "type": "block",
+ "name": "block : saveNetworkData",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1113.0312118530273,
+ "y": 1582.6978778839111,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "cb8f4f81.03f6",
+ "b671a31f.ca73a",
+ "55222dc2.e57ec4",
+ "a89a8da5.fdcdb"
]
]
},
{
- "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": "a89a8da5.fdcdb",
+ "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": 1449.0312118530273,
+ "y": 1813.0312519073486,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "5d6b118.552a3f",
+ "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": 1622.364990234375,
+ "y": 1392.697998046875,
+ "z": "1d7d5b1a.5d6895",
+ "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": "228b648e.7d106c",
+ "type": "comment",
+ "name": "TODO",
+ "info": "Currently activate is done without assignment, later divide in two phases.",
+ "comments": "",
+ "x": 1408.0312118530273,
+ "y": 75.69791603088379,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "38aff846.dc0b98",
+ "type": "block",
+ "name": "block setLocalNetworks",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2630.531280517578,
+ "y": 945.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "d37b497d.93d8f8",
+ "d298e6ac.258b68"
+ ]
+ ]
+ },
+ {
+ "id": "d37b497d.93d8f8",
+ "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": 2833.531280517578,
+ "y": 880.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "d298e6ac.258b68",
+ "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": 2862.531280517578,
+ "y": 932.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "eff34a17.4d5f68",
+ "a2b7dcb4.f7dfe"
+ ]
]
},
{
- "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": "eff34a17.4d5f68",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3059.531280517578,
+ "y": 867.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "252779ac.34f776",
- "c60af97c.26e9a8"
+ "f3612128.8fa1"
]
]
},
{
- "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": "a2b7dcb4.f7dfe",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3060.531280517578,
+ "y": 933.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "d01a6ff.a639b9"
+ "8c6ffd32.2208f"
]
]
},
{
- "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": "8c6ffd32.2208f",
+ "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.531280517578,
+ "y": 931.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "f3612128.8fa1",
+ "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": 3262.0314445495605,
+ "y": 866.5312900543213,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "99152285.4b98e"
+ "654fc20b.a1919c"
]
]
},
{
- "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": "654fc20b.a1919c",
+ "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": 3534.531280517578,
+ "y": 865.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "e570a32e.5f1c",
+ "bdb2f778.6e3618",
+ "bc031e42.eeb7c"
+ ]
]
},
{
- "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": "e570a32e.5f1c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3753.3003997802734,
+ "y": 825.7234847545624,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "c7718a98.e04308"
+ "c951297e.06f838"
]
]
},
{
- "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": "bdb2f778.6e3618",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3760.3003997802734,
+ "y": 863.7234847545624,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "37619.408049e7c"
+ ]
]
},
{
- "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": "bc031e42.eeb7c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3752.3003997802734,
+ "y": 905.7234847545624,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "980d219f.1cb96"
+ "8357d17d.030af"
]
]
},
{
- "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": "37619.408049e7c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3917.3003997802734,
+ "y": 867.7234847545624,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "8357d17d.030af",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3910.3003997802734,
+ "y": 914.7234847545624,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "c951297e.06f838",
+ "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": 3927.8003311157227,
+ "y": 822.2234649658203,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "80e65684.a81798",
+ "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='orchestration-status' value='Created' />\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": 912.53125,
+ "y": 1019.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "44b13ee0.f42ab",
+ "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-id' >\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"configuration\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"/network/configurations/configuration\" />\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`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"configuration.configuration-type\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value=\"overlay\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 870.5312805175781,
+ "y": 1098.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ []
]
},
{
- "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": "2e41bbcc.a6d6e4",
+ "type": "block",
+ "name": "block setLocalNetworks",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2661.03125,
+ "y": 352.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "de4c08e4.779ef8",
- "afa52494.436008"
+ "636f0708.977f58",
+ "af56db03.32d938"
]
]
},
{
- "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": "636f0708.977f58",
+ "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": 2864.03125,
+ "y": 287.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "af56db03.32d938",
+ "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": 2893.03125,
+ "y": 339.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "4838fe79.9c15c",
- "498325c5.0baffc"
+ "39e07dec.1621b2",
+ "91074007.ecd89"
]
]
},
{
- "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": "39e07dec.1621b2",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3090.03125,
+ "y": 274.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "cb051330.3cb5b"
+ ]
]
},
{
- "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": "91074007.ecd89",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3091.03125,
+ "y": 340.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "573f8606.d6b8a8"
+ ]
]
},
{
- "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": "573f8606.d6b8a8",
+ "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": 3272.03125,
+ "y": 338.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
},
{
- "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": "cb051330.3cb5b",
+ "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": 3292.5314140319824,
+ "y": 273.5312900543213,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
-
+ "99742942.c53d08"
]
]
},
{
- "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": "99742942.c53d08",
+ "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": 3565.03125,
+ "y": 272.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "6472b37e.9743dc",
- "63aa7013.b8d94"
+ "ce35f358.6f76e",
+ "8d00520d.551d5",
+ "2e5108cc.272428"
]
]
},
{
- "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": "2e5108cc.272428",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3782.8003692626953,
+ "y": 312.7234847545624,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "4d01bada.4b4734"
+ "dcf88a18.567f48"
]
]
},
{
- "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": "8d00520d.551d5",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3790.8003692626953,
+ "y": 270.7234847545624,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "329b5d96.16d152"
+ "2d45b755.c2efb8"
]
]
},
{
- "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": "ce35f358.6f76e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3783.8003692626953,
+ "y": 232.72348475456238,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "5eecb2c5.b15a1c"
+ ]
]
},
{
- "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": "5eecb2c5.b15a1c",
+ "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": 3958.3003005981445,
+ "y": 229.2234649658203,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "2d45b755.c2efb8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3947.8003692626953,
+ "y": 274.7234847545624,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "dcf88a18.567f48",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3940.8003692626953,
+ "y": 321.7234847545624,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
},
{
- "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": "6c39ea0c.ba0e9c",
+ "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": 1646,
+ "y": 1323,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ []
]
},
{
- "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": "1fbe5a07.98eb36",
+ "type": "execute",
+ "name": "execute RestApiCallNode Get token",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1910,
+ "y": 1421,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "e2902d00.271b2",
- "ae44dcc.ae6882",
- "54770b17.566f04",
- "c62b5ead.36429"
+ "ecc5245d.ffca28",
+ "6e7f216c.19692"
]
]
},
{
- "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": "ecc5245d.ffca28",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2150,
+ "y": 1384,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
+ [
+ "952d3488.c107a8"
+ ]
]
},
{
- "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": "6e7f216c.19692",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2157.25,
+ "y": 1450.6428833007812,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
-
+ "323acdac.d34ffa"
]
]
},
{
- "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": "323acdac.d34ffa",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get token rest api\" />\n",
+ "comments": "",
+ "x": 2338,
+ "y": 1449.3929443359375,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
+ },
+ {
+ "id": "952d3488.c107a8",
+ "type": "set",
+ "name": "set token-id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='$token-result.token_id' />\n",
+ "comments": "",
+ "x": 2335,
+ "y": 1381,
+ "z": "1d7d5b1a.5d6895",
+ "wires": []
}
-]
\ No newline at end of file
+]