[
{
- "id":"60145acf.ac87b4",
- "type":"dgstart",
- "name":"DGSTART",
- "outputs":1,
- "x":105.515625,
- "y":47.99999809265137,
- "z":"21bf7e0.d63c382",
- "wires":[
+ "id": "c1f029b8.a1e58",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 102,
+ "y": 62,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "4cc0f1af.f25ba"
+ "ef85c5fd.ef823"
]
]
},
{
- "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": "ef85c5fd.ef823",
+ "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": 318.5,
+ "y": 124.5,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "27054278.56f0ce"
+ "515c9604.c78fc8"
]
]
},
{
- "id":"27054278.56f0ce",
- "type":"method",
- "name":"method network-topology-operation-activate",
- "xml":"<method rpc='network-topology-operation-activate' mode='sync'>\n",
- "comments":"",
- "outputs":1,
- "x":230.01565551757812,
- "y":205.4999828338623,
- "z":"21bf7e0.d63c382",
- "wires":[
+ "id": "515c9604.c78fc8",
+ "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": 226.50003051757812,
+ "y": 219.49998474121094,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "17a21e32.d066f2"
+ "6260ef3c.117e18"
]
]
},
{
- "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": "6260ef3c.117e18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 524.3333435058594,
+ "y": 227.3333282470703,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "c2ea2a39.349028",
- "c3b857dd.cdef38",
- "b122986c.ea3588"
+ "9c5e659e.5a8468",
+ "14efaf2d.582f39",
+ "e96c5239.cc3f4",
+ "edee7e9.f5684",
+ "c1d82a9d.7debd"
]
]
},
{
- "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": "14efaf2d.582f39",
+ "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": 914.3333435058594,
+ "y": 92.33332824707031,
+ "z": "e441b8db.02f6b8",
+ "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": "11728db1.0b1f22",
+ "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": 1432.3336334228516,
+ "y": 365.333389043808,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "df2d225.ad706e"
+ "62d2a561.8055cc"
]
]
},
{
- "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": "62d2a561.8055cc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1679.3335418701172,
+ "y": 363.33335852622986,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "3fc9d626.fd631a",
- "3af822f1.512e5e",
- "ba27957d.3af2a8",
- "30d85a9a.81ed46",
- "96ccbb3d.e35638",
- "953727e3.e65d98",
- "9f4099a7.cd6818",
- "ecbf5185.0a283",
- "366dfe39.460be2"
+ "bb31f713.0d193",
+ "c9b81c0f.b35a2",
+ "972db21e.7bfc",
+ "d4313d46.0ad918",
+ "4fee8f3d.149ad",
+ "5a1f2e0e.d48708",
+ "c19cf751.1eed5",
+ "132409b3.4b71ee",
+ "cd65a796.961288"
]
]
},
{
- "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": "bb31f713.0d193",
+ "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": 2166.33390045166,
+ "y": 239.33347511291504,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "2d331fe2.47fa4"
+ "a76462ff.b835d8"
]
]
},
{
- "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": "c9b81c0f.b35a2",
+ "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": 2194.33390045166,
+ "y": 293.3334608078003,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "7f98b7b2.516698"
+ "57a46fca.b19958"
]
]
},
{
- "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": "972db21e.7bfc",
+ "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": 2183.3336868286133,
+ "y": 424.333420753479,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "c0866b21.51b018"
+ "30ca3831.cb43e8"
]
]
},
{
- "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": "d4313d46.0ad918",
+ "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": 2191.6194229125977,
+ "y": 485.6191740036011,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "403c9bfb.ba9f84"
+ "b3e5d4ae.a3dda"
]
]
},
{
- "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": "4fee8f3d.149ad",
+ "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": 2192.619483947754,
+ "y": 549.6191447973251,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "de48d13a.91b27"
+ "8c2ed6a8.d98208"
]
]
},
{
- "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": "5a1f2e0e.d48708",
+ "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": 2163.619453430176,
+ "y": 612.619176864624,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "774440d3.26232"
+ "b1cfec26.3ec6b"
]
]
},
{
- "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": "a76462ff.b835d8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2381.33390045166,
+ "y": 238.33347511291504,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "61674644.1d0558"
+ "c92e65bb.5b6848"
]
]
},
{
- "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": "57a46fca.b19958",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2392.33390045166,
+ "y": 293.3334608078003,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "c33f05d1.922218"
+ "f358b487.1305d8"
]
]
},
{
- "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": "30ca3831.cb43e8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2388.3336868286133,
+ "y": 423.333420753479,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "f941cf94.05bbe"
+ "508f3269.7b7274"
]
]
},
{
- "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": "b3e5d4ae.a3dda",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2393.6194229125977,
+ "y": 484.6191740036011,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "9da05058.8cf95"
+ "b0552f88.544ae8"
]
]
},
{
- "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": "8c2ed6a8.d98208",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2388.619483947754,
+ "y": 546.6191447973251,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "7e027125.8b2a2"
+ "caf135a5.75dfb"
]
]
},
{
- "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": "b1cfec26.3ec6b",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2369.619453430176,
+ "y": 612.619176864624,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "cecc8f2e.0ca25"
+ "9fed6f8d.3cc17"
]
]
},
{
- "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": "f358b487.1305d8",
+ "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": 2574.33390045166,
+ "y": 286.3334608078003,
+ "z": "e441b8db.02f6b8",
+ "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": "508f3269.7b7274",
+ "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": 2579.3339080810547,
+ "y": 416.3335075378418,
+ "z": "e441b8db.02f6b8",
+ "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": "9fed6f8d.3cc17",
+ "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": 2539.619453430176,
+ "y": 604.619176864624,
+ "z": "e441b8db.02f6b8",
+ "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": "9c5e659e.5a8468",
+ "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": 747.6191711425781,
+ "y": 1190.0477294921875,
+ "z": "e441b8db.02f6b8",
+ "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": "c19cf751.1eed5",
+ "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": 2177.5004348754883,
+ "y": 180.50010681152344,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "2522e46d.18fb0c"
+ "d75f53ba.27ad98"
]
]
},
{
- "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": "d75f53ba.27ad98",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2375.5004348754883,
+ "y": 180.50010681152344,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "d80dda98.56d9c8"
+ "be2d314a.29948"
]
]
},
{
- "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": "be2d314a.29948",
+ "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": 2557.5004348754883,
+ "y": 173.50010681152344,
+ "z": "e441b8db.02f6b8",
+ "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": "132409b3.4b71ee",
+ "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": 2201.0002212524414,
+ "y": 359.5000467300415,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "6712cfa0.6da36"
+ "b22fe3e2.4a61a"
]
]
},
{
- "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": "b22fe3e2.4a61a",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2399.0002212524414,
+ "y": 359.5000467300415,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
-
+ "6eecda19.439af4"
]
]
},
{
- "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": "e96c5239.cc3f4",
+ "type": "block",
+ "name": "block : execute",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 747.9999313354492,
+ "y": 600.5000457763672,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "7b94a84.2093158",
- "ccbd6961.d40f88"
+ "284e1b18.dbac04",
+ "550986c4.f40138",
+ "861b73d2.7c3dc"
]
]
},
{
- "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": "284e1b18.dbac04",
+ "type": "block",
+ "name": "block : executeSite1",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1040.4999923706055,
+ "y": 425.0000219345093,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "e3e1b08f.34796",
- "f33269f0.940878"
+ "11728db1.0b1f22",
+ "82851975.f9c43"
]
]
},
{
- "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": "550986c4.f40138",
+ "type": "block",
+ "name": "block : executeSite2",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1057.5000381469727,
+ "y": 941.0000047683716,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "51a93228.f2f0fc",
- "f33269f0.940878"
+ "ef1d071a.3ba078",
+ "82851975.f9c43"
]
]
},
{
- "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": "d7d72f5f.7a7ce",
+ "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": 2152.000244140625,
+ "y": 759.9999389648438,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "bbb36af3.4b5978"
+ "d63e1652.f569d"
]
]
},
{
- "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": "dec2ce36.a7d0b8",
+ "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": 2176.0005950927734,
+ "y": 818.999945640564,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "b4f95f29.48041",
- "50452acf.501864"
+ "1dec5f83.486278",
+ "2b5e6af5.fa1be6"
]
]
},
{
- "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": "98740756.5a0698",
+ "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": 2184.999984741211,
+ "y": 1014.9999113082886,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "6a04a362.a162ec"
+ "526a88c5.c1e6f"
]
]
},
{
- "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": "cf346f91.adf2b8",
+ "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": 2193.2857208251953,
+ "y": 1076.2856645584106,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "c14e7e52.9dfca"
+ "fa93b7e1.ca525"
]
]
},
{
- "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": "ef96aea9.bb52b8",
+ "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": 2194.2857818603516,
+ "y": 1140.2856353521347,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "b21aa554.501138"
+ "3dfa7241.2277c6"
]
]
},
{
- "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": "38b0bb00.7d39e6",
+ "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": 2165.2857513427734,
+ "y": 1203.2856674194336,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "f68ec5ed.0e6888"
+ "4f915472.693e64"
]
]
},
{
- "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": "d63e1652.f569d",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2367.000244140625,
+ "y": 758.9999389648438,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "3b9d92a0.561cce"
+ "fa875aed.c34ac"
]
]
},
{
- "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": "1dec5f83.486278",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2374.0005950927734,
+ "y": 818.999945640564,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "862e157b.103688"
+ "33fd7326.698864"
]
]
},
{
- "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": "526a88c5.c1e6f",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2389.999984741211,
+ "y": 1013.9999113082886,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "6295c05a.7d32"
+ "d17959a.97f2aa8"
]
]
},
{
- "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": "fa93b7e1.ca525",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2395.2857208251953,
+ "y": 1075.2856645584106,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "6bd3101.b6ac7f"
+ "5dc95384.4ed664"
]
]
},
{
- "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": "3dfa7241.2277c6",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2390.2857818603516,
+ "y": 1137.2856353521347,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "353fa61f.c112fa"
+ "c2766476.fb709"
]
]
},
{
- "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": "4f915472.693e64",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2371.2857513427734,
+ "y": 1203.2856674194336,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "5f4e48ea.1a8f68"
+ "6837898c.7c5d88"
]
]
},
{
- "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": "33fd7326.698864",
+ "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": 2556.0005950927734,
+ "y": 811.999945640564,
+ "z": "e441b8db.02f6b8",
+ "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": "d17959a.97f2aa8",
+ "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": 2581.0002059936523,
+ "y": 1006.9999980926514,
+ "z": "e441b8db.02f6b8",
+ "wires": []
},
{
- "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": "6837898c.7c5d88",
+ "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": 2541.2857513427734,
+ "y": 1195.2856674194336,
+ "z": "e441b8db.02f6b8",
+ "wires": []
},
{
- "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": "70524c4e.0bccac",
+ "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": 2202.666519165039,
+ "y": 950.1665372848511,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "ad14e7c.2778e18"
+ "4079fe10.73712"
]
]
},
{
- "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": "4079fe10.73712",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2400.666519165039,
+ "y": 950.1665372848511,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
-
+ "b289aa17.d6ea6"
]
]
},
{
- "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": "280833fe.9bdbb4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1670.9996948242188,
+ "y": 881.9998967647552,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "5d2180aa.de0e2",
- "e3115059.5fca5",
- "533af772.c3eac8",
- "e72b1110.d4d6e",
- "32c0b542.9e397a",
- "759ab28f.fe025c",
- "32050113.af315e"
+ "d7d72f5f.7a7ce",
+ "dec2ce36.a7d0b8",
+ "98740756.5a0698",
+ "cf346f91.adf2b8",
+ "ef96aea9.bb52b8",
+ "38b0bb00.7d39e6",
+ "70524c4e.0bccac"
]
]
},
{
- "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": "ef1d071a.3ba078",
+ "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": 1423.9997863769531,
+ "y": 883.9999272823334,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "4a12c766.428fe8"
- ]
- ]
+ "280833fe.9bdbb4"
+ ]
+ ]
+ },
+ {
+ "id": "c92e65bb.5b6848",
+ "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": 2563.0002822875977,
+ "y": 232.00002479553223,
+ "z": "e441b8db.02f6b8",
+ "wires": []
},
{
- "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": "cd65a796.961288",
+ "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": 2182.5,
+ "y": 681.9999389648438,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "1fce8229.b61736"
+ ]
]
},
{
- "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": "1fce8229.b61736",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2388.5,
+ "y": 681.9999389648438,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "8e0c82ca.7fa6"
+ "868e249c.157cd8"
]
]
},
{
- "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": "868e249c.157cd8",
+ "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": 2558.5,
+ "y": 673.9999389648438,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "82851975.f9c43",
+ "type": "block",
+ "name": "block : sendRequest",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1336.5000190734863,
+ "y": 1441.4999446868896,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "731815b1.9879ac"
+ "2e5b4bbb.d3f49c",
+ "cc5ac5d8.cd6108",
+ "fdf840a9.0444e8"
]
]
},
{
- "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": "a91c0c9d.68d8d8",
+ "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.templateDir +'/l3-dci-connects-template.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l3-dci-connects'`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/>\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2144.5002937316895,
+ "y": 1504.4998998641968,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ []
]
},
{
- "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": "dc2e27d2.f3149",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1822.9999771118164,
+ "y": 1212.499531507492,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "8a66fbcb.3a6538",
- "a01675f7.06ee28",
- "49f34f09.e59ea"
+ "7ff9492b.841e"
]
]
},
{
- "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": "ac70e961.9619e8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1829.9999771118164,
+ "y": 1250.499531507492,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
-
+ "eb823b4e.91d25"
]
]
},
{
- "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": "ca05e8cb.5f4ec",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1821.9999771118164,
+ "y": 1292.499531507492,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "2e0abdec.6b6a72"
+ "85a36612.a37bb8"
]
]
},
{
- "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": "eb823b4e.91d25",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1986.9999771118164,
+ "y": 1254.499531507492,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "85a36612.a37bb8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1979.9999771118164,
+ "y": 1301.499531507492,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "fdf840a9.0444e8",
+ "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": 1604.230857849121,
+ "y": 1251.8072967529297,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "b76645eb.106e38"
+ "dc2e27d2.f3149",
+ "ac70e961.9619e8",
+ "ca05e8cb.5f4ec"
]
]
},
{
- "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": "7ff9492b.841e",
+ "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.templateDir' value='/opt/onap/sdnc/data' />\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": 1997.4999084472656,
+ "y": 1208.99951171875,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "2e5b4bbb.d3f49c",
+ "type": "switchNode",
+ "name": "switch tunnelType",
+ "xml": "<switch test=\"`$prop.dci-connects.tunnelType`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1607.4997520446777,
+ "y": 1528.9994106292725,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "db6ca063.b0c74"
+ "3befe90d.b29476",
+ "aa631529.b7acf8"
]
]
},
{
- "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": "3befe90d.b29476",
+ "type": "outcomeTrue",
+ "name": "L3-DCI",
+ "xml": "<outcome value='L3-DCI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1820.4998817443848,
+ "y": 1508.9994106292725,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
-
+ "a91c0c9d.68d8d8"
]
]
},
{
- "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": "aa631529.b7acf8",
+ "type": "outcomeTrue",
+ "name": "L2-DCI",
+ "xml": "<outcome value='L2-DCI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1818.4997024536133,
+ "y": 1580.9994106292725,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "acdaaf2d.3fa418"
+ ]
]
},
{
- "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": "fa875aed.c34ac",
+ "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": 2541.000217437744,
+ "y": 753.9999914169312,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "acdaaf2d.3fa418",
+ "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.templateDir +'/l2-dci-connects-template.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l2-dci-connects'`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/>\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2138.5002479553223,
+ "y": 1581.4998359680176,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ []
]
},
{
- "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": "2b5e6af5.fa1be6",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2372.500175476074,
+ "y": 877.9999752044678,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "d32d9795.7e3d68",
- "37a4ea9c.c89576",
- "6bb7a3cb.5c930c"
+ "57bbffac.8097a"
]
]
},
{
- "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": "57bbffac.8097a",
+ "type": "set",
+ "name": "set description",
+ "xml": "<set>\n<parameter name='prop.dci-connects.description' value='' />\n",
+ "comments": "",
+ "x": 2553.500244140625,
+ "y": 872.9999160766602,
+ "z": "e441b8db.02f6b8",
+ "wires": []
},
{
- "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": "b0552f88.544ae8",
+ "type": "block",
+ "name": "block setEvpnIrts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2575.499755859375,
+ "y": 486.5155963897705,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "72c21633.697888",
- "bc6148.3fa8ceb8"
+ "a0835968.abab58",
+ "29e92f82.7e48a"
]
]
},
{
- "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": "a0835968.abab58",
+ "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": 2821.499755859375,
+ "y": 437.5155963897705,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "29e92f82.7e48a",
+ "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": 2850.499755859375,
+ "y": 489.5155963897705,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "8f288c1f.2ee81"
+ "8e45a14f.6987e8",
+ "7d8c23d3.29c044"
]
]
},
{
- "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": "7d8c23d3.29c044",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3067.499755859375,
+ "y": 415.5155963897705,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "18b936e.7133ac9"
+ "c173e280.2c1e9"
]
]
},
{
- "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": "8e45a14f.6987e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3068.499755859375,
+ "y": 481.5155963897705,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "3e58258.775a2da"
+ ]
]
},
{
- "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": "3e58258.775a2da",
+ "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.499755859375,
+ "y": 479.5155963897705,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "beca6511.f65ce8",
+ "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": 2817.999755859375,
+ "y": 580.0156269073486,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "5c8c8ec.d68a17",
+ "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": 2846.999755859375,
+ "y": 632.0156269073486,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
-
+ "f785906c.f11148",
+ "cf6bfe81.a42eb"
]
]
},
{
- "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": "cf6bfe81.a42eb",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3063.999755859375,
+ "y": 558.0156269073486,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "558a5beb.808c64"
+ "22c92a4e.65d95e"
]
]
},
{
- "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": "f785906c.f11148",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3064.999755859375,
+ "y": 624.0156269073486,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "e7b8be46.c3f6f8"
+ ]
]
},
{
- "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": "e7b8be46.c3f6f8",
+ "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": 3245.999755859375,
+ "y": 622.0156269073486,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "caf135a5.75dfb",
+ "type": "block",
+ "name": "block setEvpnErts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2568.9996490478516,
+ "y": 542.0156841278076,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "f59be47.2245a18",
- "6fceca00.0b0b48"
+ "beca6511.f65ce8",
+ "5c8c8ec.d68a17"
]
]
},
{
- "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": "c173e280.2c1e9",
+ "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": 3269.9999198913574,
+ "y": 415.0156364440918,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "a51d665a.022ac"
+ ]
]
},
{
- "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": "a51d665a.022ac",
+ "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": 3482.0004119873047,
+ "y": 415.0157890319824,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "22c92a4e.65d95e",
+ "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": 3263.499755859375,
+ "y": 554.0156269073486,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "8ac2a412.2bc7d8",
- "f06f6320.a3ba5"
+ "aa48125e.46af68"
]
]
},
{
- "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": "aa48125e.46af68",
+ "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": 3475.5002479553223,
+ "y": 554.0157794952393,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "df48b455.f78358",
+ "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": 2834.499755859375,
+ "y": 1020.5155658721924,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "4671089c.4065d",
+ "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": 2863.499755859375,
+ "y": 1072.5155658721924,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "a6b39033.8c77c"
+ "c07a8fe4.eee06",
+ "b25e01c2.b4c498"
]
]
},
{
- "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": "b25e01c2.b4c498",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3080.499755859375,
+ "y": 998.5155658721924,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "d4181347.bc95d"
+ "fd6137f0.99036"
]
]
},
{
- "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": "c07a8fe4.eee06",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3081.499755859375,
+ "y": 1064.5155658721924,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "ae803047.be9f4"
+ ]
]
},
{
- "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": "ae803047.be9f4",
+ "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.499755859375,
+ "y": 1062.5155658721924,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "dca9a5fc.c2dd7",
+ "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": 2830.999755859375,
+ "y": 1163.0155963897705,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "d09c4d61.8c28a8",
+ "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": 2859.999755859375,
+ "y": 1215.0155963897705,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "16d5f80f.face6",
+ "d6e6a1c9.8aba28"
+ ]
]
},
{
- "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": "d6e6a1c9.8aba28",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3076.999755859375,
+ "y": 1141.0155963897705,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "c7841794.4a1558",
- "96021a8.e493ee8"
+ "1e8c72ef.2dadbd"
]
]
},
{
- "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": "16d5f80f.face6",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3077.999755859375,
+ "y": 1207.0155963897705,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "767a44c9.83ddec"
+ "a59e780.8734808"
]
]
},
{
- "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": "a59e780.8734808",
+ "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": 3258.999755859375,
+ "y": 1205.0155963897705,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "fd6137f0.99036",
+ "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": 3282.9999198913574,
+ "y": 998.0156059265137,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "f4c642e1.daf09"
+ "3366154b.09f69a"
]
]
},
{
- "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": "3366154b.09f69a",
+ "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": 3495.0004119873047,
+ "y": 998.0157585144043,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "1e8c72ef.2dadbd",
+ "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": 3276.499755859375,
+ "y": 1137.0155963897705,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "83278032.925b58"
+ ]
]
},
{
- "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": "83278032.925b58",
+ "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": 3488.5002479553223,
+ "y": 1137.0157489776611,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "5dc95384.4ed664",
+ "type": "block",
+ "name": "block setEvpnIrts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2588.499755859375,
+ "y": 1069.5155658721924,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "d183f400.b7c7a8",
- "862ad334.4820a"
+ "df48b455.f78358",
+ "4671089c.4065d"
]
]
},
{
- "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": "c2766476.fb709",
+ "type": "block",
+ "name": "block setEvpnErts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2581.9996490478516,
+ "y": 1125.0156536102295,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "7a255963.a19a48"
+ "dca9a5fc.c2dd7",
+ "d09c4d61.8c28a8"
]
]
},
{
- "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": "a8dbfcec.d67fe8",
+ "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": 1393.6667098999023,
+ "y": 1605.3334283828735,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c861a6a.2bad4d8",
+ "type": "switchNode",
+ "name": "switch service-data.networks_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1385.6667251586914,
+ "y": 1675.3334347009659,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "ec47d113.88981",
+ "a4b7938c.8397d8"
+ ]
]
},
{
- "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": "ec47d113.88981",
+ "type": "other",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1659.4762954711914,
+ "y": 1644.2858272790909,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "ad045a9b.36e458"
+ "1ffb3be3.659b34"
]
]
},
{
- "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": "a4b7938c.8397d8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1654.3334732055664,
+ "y": 1690.0001217126846,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "b8b2072e.0d1078"
+ ]
+ ]
+ },
+ {
+ "id": "1ffb3be3.659b34",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='0' />\n",
+ "comments": "",
+ "x": 1812.4762954711914,
+ "y": 1643.8572384119034,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "b8b2072e.0d1078",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
+ "comments": "",
+ "x": 1813.904884338379,
+ "y": 1688.8572994470596,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "a90e8a48.4fa9a8",
+ "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": 1357.6667098999023,
+ "y": 1747.3334369659424,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "861b73d2.7c3dc",
+ "type": "block",
+ "name": "block : saveNetworkData",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1053.9999618530273,
+ "y": 1586.6666278839111,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "a8dbfcec.d67fe8",
+ "c861a6a.2bad4d8",
+ "a90e8a48.4fa9a8",
+ "b943b7ea.3454d"
+ ]
]
},
{
- "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": "b943b7ea.3454d",
+ "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": 1389.9999618530273,
+ "y": 1817.0000019073486,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "cc5ac5d8.cd6108",
+ "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": 1572.333755493164,
+ "y": 1445.6667127609253,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ []
]
},
{
- "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": "7460e970.19e46",
+ "type": "comment",
+ "name": "TODO",
+ "info": "Currently activate is done without assignment, later divide in two phases.",
+ "comments": "",
+ "x": 1348.9999618530273,
+ "y": 79.66666603088379,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "b289aa17.d6ea6",
+ "type": "block",
+ "name": "block setLocalNetworks",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2571.500030517578,
+ "y": 949,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "f627cda3.14a76",
+ "25c7d846.4b2ee8"
+ ]
+ ]
+ },
+ {
+ "id": "f627cda3.14a76",
+ "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": 2774.500030517578,
+ "y": 884,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "25c7d846.4b2ee8",
+ "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": 2803.500030517578,
+ "y": 936,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "b3fb0522.2e1138",
- "2f16c983.f313c6"
+ "fc4b2239.ad95e",
+ "b78d8584.51d7a"
]
]
},
{
- "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": "fc4b2239.ad95e",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3000.500030517578,
+ "y": 871,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "79319086.b2f45"
+ "967e5828.2a4"
]
]
},
{
- "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": "b78d8584.51d7a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3001.500030517578,
+ "y": 937,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "3e085d66.84c402"
+ "daabf19.5290e1"
]
]
},
{
- "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": "daabf19.5290e1",
+ "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": 3182.500030517578,
+ "y": 935,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "967e5828.2a4",
+ "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": 3203.0001945495605,
+ "y": 870.5000400543213,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "fc475635.0ecc7"
+ ]
]
},
{
- "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": "fc475635.0ecc7",
+ "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": 3475.500030517578,
+ "y": 869,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "3713fed6.e8a612",
+ "948581dc.359b18",
+ "a5fff0f8.ef0de"
+ ]
]
},
{
- "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": "3713fed6.e8a612",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3694.2691497802734,
+ "y": 829.6922347545624,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "3bac7268.6214de",
- "1921e77b.b9d069"
+ "74fe93ab.32caec"
]
]
},
{
- "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": "948581dc.359b18",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3701.2691497802734,
+ "y": 867.6922347545624,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "596b6eff.51d1d"
+ "3de46cb6.4664a4"
]
]
},
{
- "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": "a5fff0f8.ef0de",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3693.2691497802734,
+ "y": 909.6922347545624,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "a3151092.f6bfe"
+ "16b5935a.976ded"
]
]
},
{
- "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": "3de46cb6.4664a4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3858.2691497802734,
+ "y": 871.6922347545624,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "16b5935a.976ded",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3851.2691497802734,
+ "y": 918.6922347545624,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "74fe93ab.32caec",
+ "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": 3868.7690811157227,
+ "y": 826.1922149658203,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "edee7e9.f5684",
+ "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": 853.5,
+ "y": 1023,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c1d82a9d.7debd",
+ "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": 811.5000305175781,
+ "y": 1102,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ []
]
},
{
- "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": "6eecda19.439af4",
+ "type": "block",
+ "name": "block setLocalNetworks",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2602,
+ "y": 356,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "4e2f2b2d.1c3bc4"
+ "bdc08c35.1283",
+ "394dfa49.7d183e"
]
]
},
{
- "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": "bdc08c35.1283",
+ "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": 2805,
+ "y": 291,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "394dfa49.7d183e",
+ "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": 2834,
+ "y": 343,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "60eb5396.78be9c",
+ "4332c294.3fe73c"
+ ]
]
},
{
- "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": "60eb5396.78be9c",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3031,
+ "y": 278,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "e02fb530.a62c28"
+ "1db92507.15d47b"
]
]
},
{
- "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": "4332c294.3fe73c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3032,
+ "y": 344,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "8c77dee5.f45208"
+ ]
]
},
{
- "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": "8c77dee5.f45208",
+ "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": 3213,
+ "y": 342,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "1db92507.15d47b",
+ "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": 3233.5001640319824,
+ "y": 277.5000400543213,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "e67e9dd7.989e2",
- "e44ee888.917218"
+ "5d5e8ee8.e594e8"
]
]
},
{
- "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": "5d5e8ee8.e594e8",
+ "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": 3506,
+ "y": 276,
+ "z": "e441b8db.02f6b8",
+ "wires": [
[
- "bfc1728b.da05d",
- "72d8e223.d0b3fc"
+ "9eecd85b.9e0378",
+ "f0b90daa.70ba48",
+ "c26d74dd.826c88"
]
]
},
{
- "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": "c26d74dd.826c88",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3723.7691192626953,
+ "y": 316.6922347545624,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "19ff7603.327b32"
+ ]
]
},
{
- "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": "f0b90daa.70ba48",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3731.7691192626953,
+ "y": 274.6922347545624,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "283dc5a8.944bea"
+ ]
]
},
{
- "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": "9eecd85b.9e0378",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3724.7691192626953,
+ "y": 236.69223475456238,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "974d7763.cd52a8"
+ ]
]
+ },
+ {
+ "id": "974d7763.cd52a8",
+ "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": 3899.2690505981445,
+ "y": 233.1922149658203,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "283dc5a8.944bea",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3888.7691192626953,
+ "y": 278.6922347545624,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "19ff7603.327b32",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3881.7691192626953,
+ "y": 325.6922347545624,
+ "z": "e441b8db.02f6b8",
+ "wires": []
}
-]
\ No newline at end of file
+]