[
{
- "id":"60145acf.ac87b4",
- "type":"dgstart",
- "name":"DGSTART",
- "outputs":1,
- "x":105.515625,
- "y":47.99999809265137,
- "z":"21bf7e0.d63c382",
- "wires":[
+ "id": "efadabab.b5cb18",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 161.03125,
+ "y": 58.03125,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "4cc0f1af.f25ba"
+ "ba4efe38.fe52f"
]
]
},
{
- "id":"4cc0f1af.f25ba",
- "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":322.015625,
- "y":110.49999809265137,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "27054278.56f0ce"
+ "7f023f5f.1b1c1"
]
]
},
{
- "id":"27054278.56f0ce",
- "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":230.01565551757812,
- "y":205.4999828338623,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "17a21e32.d066f2"
+ "e1d5d7b9.ae02f8"
]
]
},
{
- "id":"17a21e32.d066f2",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":527.8489685058594,
- "y":213.33332633972168,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "c2ea2a39.349028",
- "c3b857dd.cdef38",
- "b122986c.ea3588"
+ "66ae34bb.465bdc",
+ "f39d0958.e0ee98",
+ "9338de7d.f59b5",
+ "80e65684.a81798",
+ "44b13ee0.f42ab"
]
]
},
{
- "id":"c3b857dd.cdef38",
- "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.8489685058594,
- "y":78.33332633972168,
- "z":"21bf7e0.d63c382",
- "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":"e3e1b08f.34796",
- "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.8492584228516,
- "y":351.33338713645935,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "df2d225.ad706e"
+ "bfa446d7.0384a8"
]
]
},
{
- "id":"df2d225.ad706e",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":1682.8491668701172,
- "y":349.3333566188812,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "3fc9d626.fd631a",
- "3af822f1.512e5e",
- "ba27957d.3af2a8",
- "30d85a9a.81ed46",
- "96ccbb3d.e35638",
- "953727e3.e65d98",
- "9f4099a7.cd6818",
- "ecbf5185.0a283",
- "366dfe39.460be2"
+ "2241976d.6a72e8",
+ "923aebd8.9492b8",
+ "2f701681.5a3f2a",
+ "7ed4d1f2.e0fb2",
+ "c165c87.d2de838",
+ "9f9caa1e.b9ba18",
+ "fd1390eb.db4fe",
+ "dc38e2a3.7cbf5",
+ "6fbbb836.ada618"
]
]
},
{
- "id":"3fc9d626.fd631a",
- "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.84952545166,
- "y":225.3334732055664,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "2d331fe2.47fa4"
+ "78ea1224.bc5bac"
]
]
},
{
- "id":"3af822f1.512e5e",
- "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.84952545166,
- "y":279.33345890045166,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "7f98b7b2.516698"
+ "3eb5f34b.fabb6c"
]
]
},
{
- "id":"ba27957d.3af2a8",
- "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.8493118286133,
- "y":410.33341884613037,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "c0866b21.51b018"
+ "db1938c9.795a18"
]
]
},
{
- "id":"30d85a9a.81ed46",
- "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":2195.1350479125977,
- "y":471.61917209625244,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "403c9bfb.ba9f84"
+ "666446e9.c89ea8"
]
]
},
{
- "id":"96ccbb3d.e35638",
- "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":2196.135108947754,
- "y":535.6191428899765,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "de48d13a.91b27"
+ "16c5b91c.f31b17"
]
]
},
{
- "id":"953727e3.e65d98",
- "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":2167.135078430176,
- "y":598.6191749572754,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "774440d3.26232"
+ "918dfdc3.aa336"
]
]
},
{
- "id":"2d331fe2.47fa4",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2384.84952545166,
- "y":224.3334732055664,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "61674644.1d0558"
+ "4bf931c1.dd806"
]
]
},
{
- "id":"7f98b7b2.516698",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2395.84952545166,
- "y":279.33345890045166,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "c33f05d1.922218"
+ "55b0ea54.6a4d14"
]
]
},
{
- "id":"c0866b21.51b018",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2391.8493118286133,
- "y":409.33341884613037,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "f941cf94.05bbe"
+ "874dab5.61e2258"
]
]
},
{
- "id":"403c9bfb.ba9f84",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2397.1350479125977,
- "y":470.61917209625244,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "9da05058.8cf95"
+ "3adcbd29.e08a92"
]
]
},
{
- "id":"de48d13a.91b27",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2392.135108947754,
- "y":532.6191428899765,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "7e027125.8b2a2"
+ "4c2a55f8.8427bc"
]
]
},
{
- "id":"774440d3.26232",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2373.135078430176,
- "y":598.6191749572754,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "cecc8f2e.0ca25"
+ "18742d4d.86f243"
]
]
},
{
- "id":"c33f05d1.922218",
- "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.84952545166,
- "y":272.33345890045166,
- "z":"21bf7e0.d63c382",
- "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":"f941cf94.05bbe",
- "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.8495330810547,
- "y":402.33350563049316,
- "z":"21bf7e0.d63c382",
- "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":"cecc8f2e.0ca25",
- "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.135078430176,
- "y":590.6191749572754,
- "z":"21bf7e0.d63c382",
- "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":"c2ea2a39.349028",
- "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":750.1347961425781,
- "y":1054.0476970672607,
- "z":"21bf7e0.d63c382",
- "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":"9f4099a7.cd6818",
- "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":2181.0160598754883,
- "y":166.5001049041748,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "2522e46d.18fb0c"
+ "c0671fb5.a1596"
]
]
},
{
- "id":"2522e46d.18fb0c",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2379.0160598754883,
- "y":166.5001049041748,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "d80dda98.56d9c8"
+ "4df90ce2.99e144"
]
]
},
{
- "id":"d80dda98.56d9c8",
- "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":2561.0160598754883,
- "y":159.5001049041748,
- "z":"21bf7e0.d63c382",
- "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":"ecbf5185.0a283",
- "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":2204.5158462524414,
- "y":345.50004482269287,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "6712cfa0.6da36"
+ "b00f6243.0a48"
]
]
},
{
- "id":"6712cfa0.6da36",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2402.5158462524414,
- "y":345.50004482269287,
- "z":"21bf7e0.d63c382",
- "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":"b122986c.ea3588",
- "type":"block",
- "name":"block : execute",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":751.5155563354492,
- "y":586.5000438690186,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "7b94a84.2093158",
- "ccbd6961.d40f88"
+ "c6f41a63.9856e8",
+ "e91af8d8.1aa348",
+ "d35fd906.7c7fe8"
]
]
},
{
- "id":"7b94a84.2093158",
- "type":"block",
- "name":"block : executeSite1",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1044.0156173706055,
- "y":411.00002002716064,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "e3e1b08f.34796",
- "f33269f0.940878"
+ "605eaf8f.084d",
+ "5df4287.26506d8"
]
]
},
{
- "id":"ccbd6961.d40f88",
- "type":"block",
- "name":"block : executeSite2",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1061.0156631469727,
- "y":927.000002861023,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "51a93228.f2f0fc",
- "f33269f0.940878"
+ "ba12a388.ca536",
+ "5df4287.26506d8"
]
]
},
{
- "id":"5d2180aa.de0e2",
- "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":2155.515869140625,
- "y":745.9999370574951,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "bbb36af3.4b5978"
+ "4d059d56.ac7354"
]
]
},
{
- "id":"e3115059.5fca5",
- "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":2179.5162200927734,
- "y":804.9999437332153,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "b4f95f29.48041",
- "50452acf.501864"
+ "44b5c7cb.6c0ad8",
+ "f5c82290.f1663"
]
]
},
{
- "id":"533af772.c3eac8",
- "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":2188.515609741211,
- "y":1000.9999094009399,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "6a04a362.a162ec"
+ "126609cf.3fa496"
]
]
},
{
- "id":"e72b1110.d4d6e",
- "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":2196.8013458251953,
- "y":1062.285662651062,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "c14e7e52.9dfca"
+ "f302ebc3.5b2b08"
]
]
},
{
- "id":"32c0b542.9e397a",
- "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":2197.8014068603516,
- "y":1126.285633444786,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "b21aa554.501138"
+ "760fe723.f862b8"
]
]
},
{
- "id":"759ab28f.fe025c",
- "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":2168.8013763427734,
- "y":1189.285665512085,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "f68ec5ed.0e6888"
+ "9ec06044.5ffa5"
]
]
},
{
- "id":"bbb36af3.4b5978",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2370.515869140625,
- "y":744.9999370574951,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "3b9d92a0.561cce"
+ "59ffa97c.5c0fc8"
]
]
},
{
- "id":"b4f95f29.48041",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2377.5162200927734,
- "y":804.9999437332153,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "862e157b.103688"
+ "bc8f84e7.1a2c38"
]
]
},
{
- "id":"6a04a362.a162ec",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2393.515609741211,
- "y":999.9999094009399,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "6295c05a.7d32"
+ "9984a813.340fe8"
]
]
},
{
- "id":"c14e7e52.9dfca",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2398.8013458251953,
- "y":1061.285662651062,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "6bd3101.b6ac7f"
+ "76d6f69c.e0f7a8"
]
]
},
{
- "id":"b21aa554.501138",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2393.8014068603516,
- "y":1123.285633444786,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "353fa61f.c112fa"
+ "fe22f97a.e156b8"
]
]
},
{
- "id":"f68ec5ed.0e6888",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2374.8013763427734,
- "y":1189.285665512085,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "5f4e48ea.1a8f68"
+ "cab29ddd.d3511"
]
]
},
{
- "id":"862e157b.103688",
- "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":2559.5162200927734,
- "y":797.9999437332153,
- "z":"21bf7e0.d63c382",
- "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":"6295c05a.7d32",
- "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":2584.5158309936523,
- "y":992.9999961853027,
- "z":"21bf7e0.d63c382",
- "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": "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": "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": [
+ [
+ "1a29ba09.a33016"
+ ]
]
},
{
- "id":"5f4e48ea.1a8f68",
- "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":2544.8013763427734,
- "y":1181.285665512085,
- "z":"21bf7e0.d63c382",
- "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":"32050113.af315e",
- "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":2206.182144165039,
- "y":936.1665353775024,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "ad14e7c.2778e18"
+ "4ba9c3e9.e8390c",
+ "a5aeb648.cbf968",
+ "1b41b68d.54ece9",
+ "1ea9ba64.03cfe6",
+ "f446799d.52ab98",
+ "12876faf.c9b22",
+ "da831bc2.b61118"
]
]
},
{
- "id":"ad14e7c.2778e18",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2404.182144165039,
- "y":936.1665353775024,
- "z":"21bf7e0.d63c382",
- "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": [
[
-
+ "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": "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":"4a12c766.428fe8",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":1674.5153198242188,
- "y":867.9998948574066,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "5d2180aa.de0e2",
- "e3115059.5fca5",
- "533af772.c3eac8",
- "e72b1110.d4d6e",
- "32c0b542.9e397a",
- "759ab28f.fe025c",
- "32050113.af315e"
+ "85645a4.a9bb1a8"
]
]
},
{
- "id":"51a93228.f2f0fc",
- "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":1427.5154113769531,
- "y":869.9999253749847,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "4a12c766.428fe8"
+ "1dccb94.bd57b47",
+ "5d6b118.552a3f",
+ "2eb443d1.da3d7c",
+ "6c39ea0c.ba0e9c",
+ "1fbe5a07.98eb36"
]
]
},
{
- "id":"61674644.1d0558",
- "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":2566.5159072875977,
- "y":218.0000228881836,
- "z":"21bf7e0.d63c382",
- "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":"366dfe39.460be2",
- "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":2186.015625,
- "y":667.9999370574951,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "8e0c82ca.7fa6"
+ "59fbb9bc.1fe2b8"
]
]
},
{
- "id":"8e0c82ca.7fa6",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2392.015625,
- "y":667.9999370574951,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "731815b1.9879ac"
+ "fa41b944.ad53d8"
]
]
},
{
- "id":"731815b1.9879ac",
- "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":2562.015625,
- "y":659.9999370574951,
- "z":"21bf7e0.d63c382",
- "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": [
+ [
+ "30de8b8b.248734"
+ ]
]
},
{
- "id":"f33269f0.940878",
- "type":"block",
- "name":"block : sendRequest",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1340.0156440734863,
- "y":1427.499942779541,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "8a66fbcb.3a6538",
- "a01675f7.06ee28",
- "49f34f09.e59ea"
+ "a2886d1e.1475a",
+ "4cc401c7.12563",
+ "499333c.6e6f8cc"
]
]
},
{
- "id":"8f288c1f.2ee81",
- "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":2148.0159187316895,
- "y":1490.4998979568481,
- "z":"21bf7e0.d63c382",
- "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": [
[
-
+ "71cfd469.6c1bec",
+ "86e8360c.b36588"
]
]
},
{
- "id":"d32d9795.7e3d68",
- "type":"success",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":1833.5154113769531,
- "y":1279.4994621276855,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "2e0abdec.6b6a72"
+ "37fa897c.a998d6"
]
]
},
{
- "id":"37a4ea9c.c89576",
- "type":"not-found",
- "name":"not-found",
- "xml":"<outcome value='not-found'>\n",
- "comments":"",
- "outputs":1,
- "x":1840.5154113769531,
- "y":1317.4994621276855,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "b76645eb.106e38"
+ "888b7367.eced7"
]
]
},
{
- "id":"6bb7a3cb.5c930c",
- "type":"other",
- "name":"other",
- "xml":"<outcome value='Other'>\n",
- "comments":"",
- "outputs":1,
- "x":1832.5154113769531,
- "y":1359.4994621276855,
- "z":"21bf7e0.d63c382",
- "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": "f5c82290.f1663",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2431.531425476074,
+ "y": 874.0312252044678,
+ "z": "1d7d5b1a.5d6895",
+ "wires": [
[
- "db6ca063.b0c74"
+ "cbfd35c2.bfcb88"
]
]
},
{
- "id":"2e0abdec.6b6a72",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":1998.5154113769531,
- "y":1268.4994621276855,
- "z":"21bf7e0.d63c382",
- "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": "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": [
[
-
+ "ee0c28f8.e4d418",
+ "e8a5d988.95c218"
]
]
},
{
- "id":"b76645eb.106e38",
- "type":"returnFailure",
- "name":"return failure",
- "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
- "comments":"",
- "x":1997.5154113769531,
- "y":1321.4994621276855,
- "z":"21bf7e0.d63c382",
- "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":"db6ca063.b0c74",
- "type":"returnFailure",
- "name":"return failure",
- "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
- "comments":"",
- "x":1990.5154113769531,
- "y":1368.4994621276855,
- "z":"21bf7e0.d63c382",
- "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": [
+ [
+ "d28f896c.05d5c8",
+ "14de53a9.69951c"
+ ]
]
},
{
- "id":"8a66fbcb.3a6538",
- "type":"get-resource",
- "name":"get-resource dci-connects",
- "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":1645.5155334472656,
- "y":1326.4994812011719,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "d32d9795.7e3d68",
- "37a4ea9c.c89576",
- "6bb7a3cb.5c930c"
+ "2beb253e.7afdaa"
]
]
},
{
- "id":"a01675f7.06ee28",
- "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":1617.0153846740723,
- "y":1427.9994354248047,
- "z":"21bf7e0.d63c382",
- "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":"49f34f09.e59ea",
- "type":"switchNode",
- "name":"switch tunnelType",
- "xml":"<switch test=\"`$prop.dci-connects.tunnelType`\">\n",
- "comments":"",
- "outputs":1,
- "x":1611.0153770446777,
- "y":1514.9994087219238,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "72c21633.697888",
- "bc6148.3fa8ceb8"
+ "7302b848.08c648",
+ "5fdfc909.24b298"
]
]
},
{
- "id":"72c21633.697888",
- "type":"outcomeTrue",
- "name":"L3-DCI",
- "xml":"<outcome value='L3-DCI'>\n",
- "comments":"",
- "outputs":1,
- "x":1824.0155067443848,
- "y":1494.9994087219238,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "8f288c1f.2ee81"
+ "a89b655a.a9acf8"
]
]
},
{
- "id":"bc6148.3fa8ceb8",
- "type":"outcomeTrue",
- "name":"L2-DCI",
- "xml":"<outcome value='L2-DCI'>\n",
- "comments":"",
- "outputs":1,
- "x":1822.0153274536133,
- "y":1566.9994087219238,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "18b936e.7133ac9"
+ "c1a75157.1fffe"
]
]
},
{
- "id":"3b9d92a0.561cce",
- "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":2544.515842437744,
- "y":739.9999895095825,
- "z":"21bf7e0.d63c382",
- "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":"18b936e.7133ac9",
- "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":2142.0158729553223,
- "y":1567.499834060669,
- "z":"21bf7e0.d63c382",
- "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": [
[
-
+ "cc14d3d6.a8bb8",
+ "456385de.3c8bcc"
]
]
},
{
- "id":"50452acf.501864",
- "type":"outcomeTrue",
- "name":"false",
- "xml":"<outcome value='false'>\n",
- "comments":"",
- "outputs":1,
- "x":2376.015800476074,
- "y":863.9999732971191,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "558a5beb.808c64"
+ "7f5427c6.ab6078"
]
]
},
{
- "id":"558a5beb.808c64",
- "type":"set",
- "name":"set description",
- "xml":"<set>\n<parameter name='prop.dci-connects.description' value='' />\n",
- "comments":"",
- "x":2557.015869140625,
- "y":858.9999141693115,
- "z":"21bf7e0.d63c382",
- "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": [
+ [
+ "26d12fff.9c7b4"
+ ]
]
},
{
- "id":"9da05058.8cf95",
- "type":"block",
- "name":"block setEvpnIrts",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":2579.015380859375,
- "y":472.5155944824219,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "f59be47.2245a18",
- "6fceca00.0b0b48"
+ "9de0af26.c612a",
+ "f23e522f.721f"
]
]
},
{
- "id":"f59be47.2245a18",
- "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":2825.015380859375,
- "y":423.5155944824219,
- "z":"21bf7e0.d63c382",
- "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": [
+ [
+ "3e0e3570.15512a"
+ ]
]
},
{
- "id":"6fceca00.0b0b48",
- "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":2854.015380859375,
- "y":475.5155944824219,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "8ac2a412.2bc7d8",
- "f06f6320.a3ba5"
+ "7bec3155.0aa5"
]
]
},
{
- "id":"f06f6320.a3ba5",
- "type":"failure",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":3071.015380859375,
- "y":401.5155944824219,
- "z":"21bf7e0.d63c382",
- "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": "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": [
[
- "a6b39033.8c77c"
+ "2406f85.66f9d08",
+ "5ea7c0a.461a54"
]
]
},
{
- "id":"8ac2a412.2bc7d8",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3072.015380859375,
- "y":467.5155944824219,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "d4181347.bc95d"
+ "29bb0627.190dea"
]
]
},
{
- "id":"d4181347.bc95d",
- "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":3253.015380859375,
- "y":465.5155944824219,
- "z":"21bf7e0.d63c382",
- "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": [
+ [
+ "f9b95a01.7c2878"
+ ]
]
},
{
- "id":"d183f400.b7c7a8",
- "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":2821.515380859375,
- "y":566.015625,
- "z":"21bf7e0.d63c382",
- "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": "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": [
+ [
+ "9a59b84a.ecec98"
+ ]
]
},
{
- "id":"862ad334.4820a",
- "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":2850.515380859375,
- "y":618.015625,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "c7841794.4a1558",
- "96021a8.e493ee8"
+ "d32d9c80.701b4"
]
]
},
{
- "id":"96021a8.e493ee8",
- "type":"failure",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":3067.515380859375,
- "y":544.015625,
- "z":"21bf7e0.d63c382",
- "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": "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": [
[
- "767a44c9.83ddec"
+ "232c8152.10922e",
+ "60735ad6.75f224"
]
]
},
{
- "id":"c7841794.4a1558",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3068.515380859375,
- "y":610.015625,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "f4c642e1.daf09"
+ "2d50095d.e93056",
+ "5512a241.93c69c"
]
]
},
{
- "id":"f4c642e1.daf09",
- "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":3249.515380859375,
- "y":608.015625,
- "z":"21bf7e0.d63c382",
- "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": "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": [
+ [
+ "ac48e882.8e5458",
+ "bc7b8c68.e23fc"
+ ]
]
},
{
- "id":"7e027125.8b2a2",
- "type":"block",
- "name":"block setEvpnErts",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":2572.5152740478516,
- "y":528.015682220459,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "d183f400.b7c7a8",
- "862ad334.4820a"
+ "e844e350.99df9"
+ ]
+ ]
+ },
+ {
+ "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":"a6b39033.8c77c",
- "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":3273.5155448913574,
- "y":401.01563453674316,
- "z":"21bf7e0.d63c382",
- "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": "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": [
[
- "7a255963.a19a48"
+ "eff34a17.4d5f68",
+ "a2b7dcb4.f7dfe"
]
]
},
{
- "id":"7a255963.a19a48",
- "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":3485.5160369873047,
- "y":401.0157871246338,
- "z":"21bf7e0.d63c382",
- "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": [
+ [
+ "f3612128.8fa1"
+ ]
]
},
{
- "id":"767a44c9.83ddec",
- "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":3267.015380859375,
- "y":540.015625,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "ad045a9b.36e458"
+ "8c6ffd32.2208f"
]
]
},
{
- "id":"ad045a9b.36e458",
- "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":3479.0158729553223,
- "y":540.0157775878906,
- "z":"21bf7e0.d63c382",
- "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": [
+ [
+ "654fc20b.a1919c"
+ ]
]
},
{
- "id":"e67e9dd7.989e2",
- "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":2838.015380859375,
- "y":1006.5155639648438,
- "z":"21bf7e0.d63c382",
- "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":"e44ee888.917218",
- "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":2867.015380859375,
- "y":1058.5155639648438,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "b3fb0522.2e1138",
- "2f16c983.f313c6"
+ "c951297e.06f838"
]
]
},
{
- "id":"2f16c983.f313c6",
- "type":"failure",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":3084.015380859375,
- "y":984.5155639648438,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "79319086.b2f45"
+ "37619.408049e7c"
]
]
},
{
- "id":"b3fb0522.2e1138",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3085.015380859375,
- "y":1050.5155639648438,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "3e085d66.84c402"
+ "8357d17d.030af"
]
]
},
{
- "id":"3e085d66.84c402",
- "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":3266.015380859375,
- "y":1048.5155639648438,
- "z":"21bf7e0.d63c382",
- "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":"bfc1728b.da05d",
- "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":2834.515380859375,
- "y":1149.0155944824219,
- "z":"21bf7e0.d63c382",
- "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":"72d8e223.d0b3fc",
- "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":2863.515380859375,
- "y":1201.0155944824219,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "3bac7268.6214de",
- "1921e77b.b9d069"
+ "636f0708.977f58",
+ "af56db03.32d938"
]
]
},
{
- "id":"1921e77b.b9d069",
- "type":"failure",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":3080.515380859375,
- "y":1127.0155944824219,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "596b6eff.51d1d"
+ "39e07dec.1621b2",
+ "91074007.ecd89"
]
]
},
{
- "id":"3bac7268.6214de",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3081.515380859375,
- "y":1193.0155944824219,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "a3151092.f6bfe"
+ "cb051330.3cb5b"
]
]
},
{
- "id":"a3151092.f6bfe",
- "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":3262.515380859375,
- "y":1191.0155944824219,
- "z":"21bf7e0.d63c382",
- "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":"79319086.b2f45",
- "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":3286.5155448913574,
- "y":984.015604019165,
- "z":"21bf7e0.d63c382",
- "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": "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": [
[
- "4e2f2b2d.1c3bc4"
+ "99742942.c53d08"
]
]
},
{
- "id":"4e2f2b2d.1c3bc4",
- "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":3498.5160369873047,
- "y":984.0157566070557,
- "z":"21bf7e0.d63c382",
- "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": [
+ [
+ "ce35f358.6f76e",
+ "8d00520d.551d5",
+ "2e5108cc.272428"
+ ]
]
},
{
- "id":"596b6eff.51d1d",
- "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":3280.015380859375,
- "y":1123.0155944824219,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "e02fb530.a62c28"
+ "dcf88a18.567f48"
]
]
},
{
- "id":"e02fb530.a62c28",
- "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":3492.0158729553223,
- "y":1123.0157470703125,
- "z":"21bf7e0.d63c382",
- "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": [
+ [
+ "2d45b755.c2efb8"
+ ]
]
},
{
- "id":"6bd3101.b6ac7f",
- "type":"block",
- "name":"block setEvpnIrts",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":2592.015380859375,
- "y":1055.5155639648438,
- "z":"21bf7e0.d63c382",
- "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": [
[
- "e67e9dd7.989e2",
- "e44ee888.917218"
+ "5eecb2c5.b15a1c"
]
]
},
{
- "id":"353fa61f.c112fa",
- "type":"block",
- "name":"block setEvpnErts",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":2585.5152740478516,
- "y":1111.0156517028809,
- "z":"21bf7e0.d63c382",
- "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": "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": "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": [
[
- "bfc1728b.da05d",
- "72d8e223.d0b3fc"
+ "ecc5245d.ffca28",
+ "6e7f216c.19692"
]
]
},
{
- "id":"f8d5754b.bd5668",
- "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":2567.0156326293945,
- "y":340.51564025878906,
- "z":"21bf7e0.d63c382",
- "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":"6f5c1ca1.701f84",
- "type":"comment",
- "name":"TODO",
- "info":"Store activated network information in A&AI",
- "comments":"",
- "x":723.515625,
- "y":980.0155639648438,
- "z":"21bf7e0.d63c382",
- "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":"30786a9a.007f16",
- "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":2553.515380859375,
- "y":933.5155639648438,
- "z":"21bf7e0.d63c382",
- "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
+]