[
{
- "id":"d9348659.3343f8",
- "type":"dgstart",
- "name":"DGSTART",
- "outputs":1,
- "x":123.47356414794922,
- "y":36.92307662963867,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "9a2121f0.ab226",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 94.03125,
+ "y": 32.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "91511e7d.e1436"
+ "28432de4.829522"
]
]
},
{
- "id":"91511e7d.e1436",
- "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":339.9735641479492,
- "y":99.42307662963867,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "28432de4.829522",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 310.53125,
+ "y": 94.53125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "fb35fe83.68171"
+ "7b6afe55.703bf"
]
]
},
{
- "id":"fb35fe83.68171",
- "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":247.97359466552734,
- "y":194.4230613708496,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "7b6afe55.703bf",
+ "type": "method",
+ "name": "method dci-connects-network-topology-operation-activate",
+ "xml": "<method rpc='dci-connects-network-topology-operation-activate' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 218.53128051757812,
+ "y": 189.53123474121094,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "85134fc3.6a4b9"
+ "7aac1d87.9d5a54"
]
]
},
{
- "id":"85134fc3.6a4b9",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":545.8069076538086,
- "y":202.25640487670898,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "7aac1d87.9d5a54",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 516.3645935058594,
+ "y": 197.3645782470703,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "72cde0ff.31704",
- "590c7c68.1d2104",
- "550a9d72.337fb4"
+ "cb7a0f33.08841",
+ "41001981.644338",
+ "d0276d0c.b633e",
+ "3620f5be.990eda",
+ "2b8696d6.909b7a"
]
]
},
{
- "id":"590c7c68.1d2104",
- "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":935.8069076538086,
- "y":67.25640487670898,
- "z":"14477aa.fad1e85",
- "wires":[
- [
-
- ]
+ "id": "41001981.644338",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:validate-network-input-parameters",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 906.3645935058594,
+ "y": 62.36457824707031,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
]
},
{
- "id":"7588d34b.da832c",
- "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":1453.8071975708008,
- "y":340.25646567344666,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "fbe61431.dcd008",
+ "type": "for",
+ "name": "for each network-input-parameters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1424.3648834228516,
+ "y": 335.364639043808,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "40d47fba.cda58"
+ "bde6b624.723588"
]
]
},
{
- "id":"40d47fba.cda58",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":1700.8071060180664,
- "y":338.25643515586853,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "bde6b624.723588",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1671.3647918701172,
+ "y": 333.36460852622986,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "e1df1ae9.cf85b8",
- "4928a2f4.8183ac",
- "aa1e7021.923d4",
- "b5b55974.4394b8",
- "c1b8667e.1e3be8",
- "486715ba.35901c",
- "bfa187c0.0fb398",
- "32183c6e.e30e04",
- "61d1802d.1434"
+ "98af934f.de5ca",
+ "3f901ccb.13f7e4",
+ "fd071c4f.c5a93",
+ "3bc28b07.5abd24",
+ "d7ef4fd8.01b03",
+ "23f59b17.2b7104",
+ "ac8abe82.f1ed7",
+ "abada83e.899ad8",
+ "8275a286.575d3"
]
]
},
{
- "id":"e1df1ae9.cf85b8",
- "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":2187.8074645996094,
- "y":214.2565517425537,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "98af934f.de5ca",
+ "type": "switchNode",
+ "name": "switch id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2158.36515045166,
+ "y": 209.36472511291504,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "df29b873.dc0368"
+ "e685ff47.0f8c6"
]
]
},
{
- "id":"4928a2f4.8183ac",
- "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":2215.8074645996094,
- "y":268.25653743743896,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "3f901ccb.13f7e4",
+ "type": "switchNode",
+ "name": "switch description",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_description'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2186.36515045166,
+ "y": 263.3647108078003,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "66a6f423.f8cf2c"
+ "92cb9e5c.495d"
]
]
},
{
- "id":"aa1e7021.923d4",
- "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":2204.8072509765625,
- "y":399.2564973831177,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "fd071c4f.c5a93",
+ "type": "switchNode",
+ "name": "switch routerId",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_routerId'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2175.3649368286133,
+ "y": 394.364670753479,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "f862419f.5a38e"
+ "611f6a53.2c5e34"
]
]
},
{
- "id":"b5b55974.4394b8",
- "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":2213.092987060547,
- "y":460.54225063323975,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "3bc28b07.5abd24",
+ "type": "switchNode",
+ "name": "switch importRT1",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_importRT1'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2183.6506729125977,
+ "y": 455.6504240036011,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "d69adf7d.fdb4a"
+ "375c46a9.18d9fa"
]
]
},
{
- "id":"c1b8667e.1e3be8",
- "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":2214.093048095703,
- "y":524.5422214269638,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "d7ef4fd8.01b03",
+ "type": "switchNode",
+ "name": "switch exportRT1",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_exportRT1'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2184.650733947754,
+ "y": 519.6503947973251,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "83c8cb3e.493888"
+ "7f0820af.096cd"
]
]
},
{
- "id":"486715ba.35901c",
- "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":2185.093017578125,
- "y":587.5422534942627,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "23f59b17.2b7104",
+ "type": "switchNode",
+ "name": "switch vni",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_vni'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2155.650703430176,
+ "y": 582.650426864624,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "9741b81e.e77848"
+ "4089b1ef.cda1c"
]
]
},
{
- "id":"df29b873.dc0368",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2402.8074645996094,
- "y":213.2565517425537,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "e685ff47.0f8c6",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2373.36515045166,
+ "y": 208.36472511291504,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "2e6a3378.2c236c"
+ "51bd251c.e4250c"
]
]
},
{
- "id":"66a6f423.f8cf2c",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2413.8074645996094,
- "y":268.25653743743896,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "92cb9e5c.495d",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2384.36515045166,
+ "y": 263.3647108078003,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "1b94cf95.06452"
+ "22a14741.398828"
]
]
},
{
- "id":"f862419f.5a38e",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2409.8072509765625,
- "y":398.2564973831177,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "611f6a53.2c5e34",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2380.3649368286133,
+ "y": 393.364670753479,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "20e3f8cc.02b6f8"
+ "41aaa6a9.d85078"
]
]
},
{
- "id":"d69adf7d.fdb4a",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2415.092987060547,
- "y":459.54225063323975,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "375c46a9.18d9fa",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2385.6506729125977,
+ "y": 454.6504240036011,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "4dceded7.35703"
+ "df1889e8.640458"
]
]
},
{
- "id":"83c8cb3e.493888",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2410.093048095703,
- "y":521.5422214269638,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "7f0820af.096cd",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2380.650733947754,
+ "y": 516.6503947973251,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "b28306b0.c9d2a8"
+ "c98004ad.61e968"
]
]
},
{
- "id":"9741b81e.e77848",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2391.093017578125,
- "y":587.5422534942627,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "4089b1ef.cda1c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2361.650703430176,
+ "y": 582.650426864624,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "12fa2bd9.b56374"
+ "66980c68.e238a4"
]
]
},
{
- "id":"1b94cf95.06452",
- "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":2595.8074645996094,
- "y":261.25653743743896,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "22a14741.398828",
+ "type": "set",
+ "name": "set description",
+ "xml": "<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2566.36515045166,
+ "y": 256.3647108078003,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"20e3f8cc.02b6f8",
- "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":2600.807472229004,
- "y":391.25658416748047,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "41aaa6a9.d85078",
+ "type": "set",
+ "name": "set router_id",
+ "xml": "<set>\n<parameter name='prop.dci-connects.router_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2571.3651580810547,
+ "y": 386.3647575378418,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"12fa2bd9.b56374",
- "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":2561.093017578125,
- "y":579.5422534942627,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "66980c68.e238a4",
+ "type": "set",
+ "name": "set vni",
+ "xml": "<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2531.650703430176,
+ "y": 574.650426864624,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"72cde0ff.31704",
- "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":768.0927352905273,
- "y":1042.970775604248,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "cb7a0f33.08841",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 739.6504211425781,
+ "y": 1160.0789794921875,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"bfa187c0.0fb398",
- "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":2198.9739990234375,
- "y":155.4231834411621,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "ac8abe82.f1ed7",
+ "type": "switchNode",
+ "name": "switch name",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2169.5316848754883,
+ "y": 150.53135681152344,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "72ce5ab6.59c4f4"
+ "893c0950.32cf08"
]
]
},
{
- "id":"72ce5ab6.59c4f4",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2396.9739990234375,
- "y":155.4231834411621,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "893c0950.32cf08",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2367.5316848754883,
+ "y": 150.53135681152344,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "94ddea4c.b90858"
+ "96a16277.d8925"
]
]
},
{
- "id":"94ddea4c.b90858",
- "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":2578.9739990234375,
- "y":148.4231834411621,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "96a16277.d8925",
+ "type": "set",
+ "name": "set name",
+ "xml": "<set>\n<parameter name='prop.dci-connects.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2549.5316848754883,
+ "y": 143.53135681152344,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"32183c6e.e30e04",
- "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":2222.4737854003906,
- "y":334.4231233596802,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "abada83e.899ad8",
+ "type": "switchNode",
+ "name": "switch networkName",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_networkName'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2193.0314712524414,
+ "y": 329.5312967300415,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "cbd34ee3.99a0d"
+ "1782d68.c5bab2a"
]
]
},
{
- "id":"cbd34ee3.99a0d",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2420.4737854003906,
- "y":334.4231233596802,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "1782d68.c5bab2a",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2391.0314712524414,
+ "y": 329.5312967300415,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
-
+ "c20d9d61.613f4"
]
]
},
{
- "id":"550a9d72.337fb4",
- "type":"block",
- "name":"block : execute",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":769.4734954833984,
- "y":575.4231224060059,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "d0276d0c.b633e",
+ "type": "block",
+ "name": "block : execute",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 740.0311813354492,
+ "y": 570.5312957763672,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "cfc7a47c.663e78",
- "c5b9ee71.a7f1b",
- "180ce8e1.cf4c47"
+ "c757fa0f.e50b68",
+ "72f61efd.b156e",
+ "4214f6f2.3f8798"
]
]
},
{
- "id":"cfc7a47c.663e78",
- "type":"block",
- "name":"block : executeSite1",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1061.9735565185547,
- "y":399.92309856414795,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "c757fa0f.e50b68",
+ "type": "block",
+ "name": "block : executeSite1",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1032.5312423706055,
+ "y": 395.0312719345093,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "7588d34b.da832c",
- "28717d00.ee3742"
+ "fbe61431.dcd008",
+ "5ae98389.5ebcac"
]
]
},
{
- "id":"c5b9ee71.a7f1b",
- "type":"block",
- "name":"block : executeSite2",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1078.9736022949219,
- "y":915.9230813980103,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "72f61efd.b156e",
+ "type": "block",
+ "name": "block : executeSite2",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1049.5312881469727,
+ "y": 911.0312547683716,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "fd35f4e6.c30318",
- "28717d00.ee3742"
+ "9f956db.3ed2b9",
+ "5ae98389.5ebcac"
]
]
},
{
- "id":"3cb8fe79.792382",
- "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":2173.473808288574,
- "y":734.9230155944824,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "f0009f7e.40e02",
+ "type": "switchNode",
+ "name": "switch id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2144.031494140625,
+ "y": 730.0311889648438,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "95aba4ef.a6b348"
+ "f550858e.14e1d8"
]
]
},
{
- "id":"c3869697.ac74a8",
- "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":2197.4741592407227,
- "y":793.9230222702026,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "5318cc5a.897f04",
+ "type": "switchNode",
+ "name": "switch description",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_description'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2168.0318450927734,
+ "y": 789.031195640564,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "87dd7ff6.4e946",
- "6ebb06e1.0019e8"
+ "bcd540c3.4e804",
+ "69713a16.fbae84"
]
]
},
{
- "id":"28c024be.02b6cc",
- "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":2206.47354888916,
- "y":989.9229879379272,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "3b3ae1d4.d5835e",
+ "type": "switchNode",
+ "name": "switch routerId",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_routerId'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2177.031234741211,
+ "y": 985.0311613082886,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "c2a810a1.f17f8"
+ "f75e99a8.64ed88"
]
]
},
{
- "id":"4596e3bf.5dc28c",
- "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":2214.7592849731445,
- "y":1051.2087411880493,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "3ceece62.09ddd2",
+ "type": "switchNode",
+ "name": "switch importRT1",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_importRT1'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2185.3169708251953,
+ "y": 1046.3169145584106,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "4dd4172.45198e8"
+ "2cfb39ee.eacf86"
]
]
},
{
- "id":"e37ecd89.2308f",
- "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":2215.759346008301,
- "y":1115.2087119817734,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "8c9a50d3.0bead",
+ "type": "switchNode",
+ "name": "switch exportRT1",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_exportRT1'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2186.3170318603516,
+ "y": 1110.3168853521347,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "562841d1.af6df"
+ "ff36bc65.60ac5"
]
]
},
{
- "id":"300b1c9.4943ee4",
- "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":2186.7593154907227,
- "y":1178.2087440490723,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "db4a0111.c3372",
+ "type": "switchNode",
+ "name": "switch vni",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_vni'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2157.3170013427734,
+ "y": 1173.3169174194336,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "ea952cf3.d5472"
+ "1ba16f6b.433171"
]
]
},
{
- "id":"95aba4ef.a6b348",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2388.473808288574,
- "y":733.9230155944824,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "f550858e.14e1d8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2359.031494140625,
+ "y": 729.0311889648438,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "278a044f.dd078c"
+ "5c56e96c.6b3588"
]
]
},
{
- "id":"87dd7ff6.4e946",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2395.4741592407227,
- "y":793.9230222702026,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "bcd540c3.4e804",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2366.0318450927734,
+ "y": 789.031195640564,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "93ea2de.e8ac8d"
+ "cd16655c.572058"
]
]
},
{
- "id":"c2a810a1.f17f8",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2411.47354888916,
- "y":988.9229879379272,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "f75e99a8.64ed88",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2382.031234741211,
+ "y": 984.0311613082886,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "85948504.e0e5e8"
+ "b3528ffb.5fd92"
]
]
},
{
- "id":"4dd4172.45198e8",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2416.7592849731445,
- "y":1050.2087411880493,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "2cfb39ee.eacf86",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2387.3169708251953,
+ "y": 1045.3169145584106,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "36bb1ad6.f67656"
+ "d44c3f36.87166"
]
]
},
{
- "id":"562841d1.af6df",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2411.759346008301,
- "y":1112.2087119817734,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "ff36bc65.60ac5",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2382.3170318603516,
+ "y": 1107.3168853521347,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "6259b6ca.196658"
+ "84652cfb.a0fe1"
]
]
},
{
- "id":"ea952cf3.d5472",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2392.7593154907227,
- "y":1178.2087440490723,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "1ba16f6b.433171",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2363.3170013427734,
+ "y": 1173.3169174194336,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "255616ab.de0f5a"
+ "cdec65b1.3e8048"
]
]
},
{
- "id":"93ea2de.e8ac8d",
- "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.4741592407227,
- "y":786.9230222702026,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "cd16655c.572058",
+ "type": "set",
+ "name": "set description",
+ "xml": "<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2548.0318450927734,
+ "y": 782.031195640564,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"85948504.e0e5e8",
- "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":2602.4737701416016,
- "y":981.92307472229,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "b3528ffb.5fd92",
+ "type": "set",
+ "name": "set router_id",
+ "xml": "<set>\n<parameter name='prop.dci-connects.router_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2573.0314559936523,
+ "y": 977.0312480926514,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"255616ab.de0f5a",
- "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":2562.7593154907227,
- "y":1170.2087440490723,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "cdec65b1.3e8048",
+ "type": "set",
+ "name": "set vni",
+ "xml": "<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2533.3170013427734,
+ "y": 1165.3169174194336,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"61795685.f9f748",
- "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":2224.1400833129883,
- "y":925.0896139144897,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "d1df56cb.2256f8",
+ "type": "switchNode",
+ "name": "switch networkName",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_networkName'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2194.697769165039,
+ "y": 920.1977872848511,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "9b9d32c5.d3d4"
+ "ef73c349.6fa5"
]
]
},
{
- "id":"9b9d32c5.d3d4",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2422.1400833129883,
- "y":925.0896139144897,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "ef73c349.6fa5",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2392.697769165039,
+ "y": 920.1977872848511,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
-
+ "7381f4dc.54e1ac"
]
]
},
{
- "id":"6bade79.05bd618",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":1692.473258972168,
- "y":856.9229733943939,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "4dae1658.981438",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1663.0309448242188,
+ "y": 852.0311467647552,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "3cb8fe79.792382",
- "c3869697.ac74a8",
- "28c024be.02b6cc",
- "4596e3bf.5dc28c",
- "e37ecd89.2308f",
- "300b1c9.4943ee4",
- "61795685.f9f748"
+ "f0009f7e.40e02",
+ "5318cc5a.897f04",
+ "3b3ae1d4.d5835e",
+ "3ceece62.09ddd2",
+ "8c9a50d3.0bead",
+ "db4a0111.c3372",
+ "d1df56cb.2256f8"
]
]
},
{
- "id":"fd35f4e6.c30318",
- "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":1445.4733505249023,
- "y":858.923003911972,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "9f956db.3ed2b9",
+ "type": "for",
+ "name": "for each network-input-parameters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1416.0310363769531,
+ "y": 854.0311772823334,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "6bade79.05bd618"
- ]
- ]
+ "4dae1658.981438"
+ ]
+ ]
+ },
+ {
+ "id": "51bd251c.e4250c",
+ "type": "set",
+ "name": "set id",
+ "xml": "<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2555.0315322875977,
+ "y": 202.03127479553223,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"2e6a3378.2c236c",
- "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":2584.473846435547,
- "y":206.9231014251709,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "8275a286.575d3",
+ "type": "switchNode",
+ "name": "switch tunnelType",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'tunnelType'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2174.53125,
+ "y": 652.0311889648438,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "c5076cc8.20e47"
+ ]
]
},
{
- "id":"61d1802d.1434",
- "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":2203.973564147949,
- "y":656.9230155944824,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "c5076cc8.20e47",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2380.53125,
+ "y": 652.0311889648438,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "7f01268.d4291d8"
+ "5e2bf82e.5cd788"
]
]
},
{
- "id":"7f01268.d4291d8",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":2409.973564147949,
- "y":656.9230155944824,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "5e2bf82e.5cd788",
+ "type": "set",
+ "name": "set tunnelType",
+ "xml": "<set>\n<parameter name='prop.dci-connects.tunnelType' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2550.53125,
+ "y": 644.0311889648438,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "5ae98389.5ebcac",
+ "type": "block",
+ "name": "block : sendRequest",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1328.5312690734863,
+ "y": 1411.5311946868896,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "b055aa18.813ff8"
+ "a53eb6d0.3cb4d8",
+ "e89ebf4b.24d8a",
+ "a95dc9c7.507158",
+ "1c2a13ea.e2fe74"
]
]
},
{
- "id":"b055aa18.813ff8",
- "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":2579.973564147949,
- "y":648.9230155944824,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "f8e23e01.428c6",
+ "type": "execute",
+ "name": "execute RestApiCallNode Activate Vxlan Tunnel",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir +'/l3-dci-connects-template.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l3-dci-connects'`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/>\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2453.531494140625,
+ "y": 1411.5311279296875,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
]
},
{
- "id":"28717d00.ee3742",
- "type":"block",
- "name":"block : sendRequest",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1357.9735832214355,
- "y":1416.4230213165283,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "947732ea.1c0d1",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1815.0312271118164,
+ "y": 1182.530781507492,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "ceb4bf57.f1644",
- "143c42a.ea474bd",
- "69d4f592.3b2f0c",
- "282c5c4c.028af4"
+ "67b5c3a4.c5440c"
]
]
},
{
- "id":"f74530f5.a1018",
- "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":2165.9738578796387,
- "y":1479.4229764938354,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "cddd83e6.c6954",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1822.0312271118164,
+ "y": 1220.530781507492,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
-
+ "3ae7115c.f7ed0e"
]
]
},
{
- "id":"3efd235d.45b6ec",
- "type":"success",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":1844.4735412597656,
- "y":1187.4226081371307,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "38e02e05.9540d2",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1814.0312271118164,
+ "y": 1262.530781507492,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "e0432082.58761"
+ "9970d5b0.48c8b8"
]
]
},
{
- "id":"55a28fdf.38008",
- "type":"not-found",
- "name":"not-found",
- "xml":"<outcome value='not-found'>\n",
- "comments":"",
- "outputs":1,
- "x":1851.4735412597656,
- "y":1225.4226081371307,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "3ae7115c.f7ed0e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1979.0312271118164,
+ "y": 1224.530781507492,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "9970d5b0.48c8b8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1972.0312271118164,
+ "y": 1271.530781507492,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "e89ebf4b.24d8a",
+ "type": "get-resource",
+ "name": "get-resource esr-thirdparty-sdnc",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $prop.dci-connects.id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1596.262107849121,
+ "y": 1221.8385467529297,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "2d85c47e.12b71c"
+ "947732ea.1c0d1",
+ "cddd83e6.c6954",
+ "38e02e05.9540d2"
]
]
},
{
- "id":"726e6abc.90c824",
- "type":"other",
- "name":"other",
- "xml":"<outcome value='Other'>\n",
- "comments":"",
- "outputs":1,
- "x":1843.4735412597656,
- "y":1267.4226081371307,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "67b5c3a4.c5440c",
+ "type": "set",
+ "name": "set controller data",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.vendor' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].vendor`\" />\n\n",
+ "comments": "",
+ "x": 1989.5311584472656,
+ "y": 1179.03076171875,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "720459ea.25c288",
+ "type": "switchNode",
+ "name": "switch tunnelType",
+ "xml": "<switch test=\"`$prop.dci-connects.tunnelType`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1916.5309524536133,
+ "y": 1436.0306386947632,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "e5b22324.d97fb"
+ "2c9d3dbe.0640c2",
+ "d7544d3a.90015"
]
]
},
{
- "id":"e0432082.58761",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":2009.4735412597656,
- "y":1176.4226081371307,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "2c9d3dbe.0640c2",
+ "type": "outcomeTrue",
+ "name": "L3-DCI",
+ "xml": "<outcome value='L3-DCI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2129.5310821533203,
+ "y": 1416.0306386947632,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
-
+ "f8e23e01.428c6"
]
]
},
{
- "id":"2d85c47e.12b71c",
- "type":"returnFailure",
- "name":"return failure",
- "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
- "comments":"",
- "x":2008.4735412597656,
- "y":1229.4226081371307,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "d7544d3a.90015",
+ "type": "outcomeTrue",
+ "name": "L2-DCI",
+ "xml": "<outcome value='L2-DCI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2127.530902862549,
+ "y": 1488.0306386947632,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "8027a9ed.03b1a8"
+ ]
]
},
{
- "id":"e5b22324.d97fb",
- "type":"returnFailure",
- "name":"return failure",
- "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
- "comments":"",
- "x":2001.4735412597656,
- "y":1276.4226081371307,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "5c56e96c.6b3588",
+ "type": "set",
+ "name": "set id",
+ "xml": "<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2533.031467437744,
+ "y": 724.0312414169312,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "8027a9ed.03b1a8",
+ "type": "execute",
+ "name": "execute RestApiCallNode Activate Vxlan Tunnel",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir +'/l2-dci-connects-template.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l2-dci-connects'`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/>\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2447.531448364258,
+ "y": 1488.5310640335083,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
]
},
{
- "id":"ceb4bf57.f1644",
- "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":1625.7044219970703,
- "y":1226.7303733825684,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "69713a16.fbae84",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2364.531425476074,
+ "y": 848.0312252044678,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "3efd235d.45b6ec",
- "55a28fdf.38008",
- "726e6abc.90c824"
+ "4372b9a3.950648"
]
]
},
{
- "id":"143c42a.ea474bd",
- "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":1627.9735145568848,
- "y":1335.9225814342499,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "4372b9a3.950648",
+ "type": "set",
+ "name": "set description",
+ "xml": "<set>\n<parameter name='prop.dci-connects.description' value='' />\n",
+ "comments": "",
+ "x": 2545.531494140625,
+ "y": 843.0311660766602,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"69d4f592.3b2f0c",
- "type":"switchNode",
- "name":"switch tunnelType",
- "xml":"<switch test=\"`$prop.dci-connects.tunnelType`\">\n",
- "comments":"",
- "outputs":1,
- "x":1628.973316192627,
- "y":1503.9224872589111,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "df1889e8.640458",
+ "type": "block",
+ "name": "block setEvpnIrts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2567.531005859375,
+ "y": 456.5468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "871cf858.f9bdf8",
- "4bb377eb.2cad38"
+ "6f2e130.94e59ec",
+ "dd92c777.cb7518"
]
]
},
{
- "id":"871cf858.f9bdf8",
- "type":"outcomeTrue",
- "name":"L3-DCI",
- "xml":"<outcome value='L3-DCI'>\n",
- "comments":"",
- "outputs":1,
- "x":1841.973445892334,
- "y":1483.9224872589111,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "6f2e130.94e59ec",
+ "type": "set",
+ "name": "set evpn_irts",
+ "xml": "<set>\n<parameter name='tmp.dci-connects.evpn_irts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2813.531005859375,
+ "y": 407.5468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "dd92c777.cb7518",
+ "type": "execute",
+ "name": "split evpn_irts",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_irts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_irts\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2842.531005859375,
+ "y": 459.5468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "f74530f5.a1018"
+ "2467a20d.97d24e",
+ "f753e447.178ff8"
]
]
},
{
- "id":"4bb377eb.2cad38",
- "type":"outcomeTrue",
- "name":"L2-DCI",
- "xml":"<outcome value='L2-DCI'>\n",
- "comments":"",
- "outputs":1,
- "x":1839.9732666015625,
- "y":1555.9224872589111,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "f753e447.178ff8",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3059.531005859375,
+ "y": 385.5468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "a57b1e86.15921"
+ "3fe74247.2b4ffe"
]
]
},
{
- "id":"278a044f.dd078c",
- "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":2562.4737815856934,
- "y":728.9230680465698,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "2467a20d.97d24e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3060.531005859375,
+ "y": 451.5468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "c9fb1d3f.bb93"
+ ]
]
},
{
- "id":"a57b1e86.15921",
- "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":2159.9738121032715,
- "y":1556.4229125976562,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "c9fb1d3f.bb93",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 3241.531005859375,
+ "y": 449.5468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "2b124117.491c4e",
+ "type": "set",
+ "name": "set evpn_erts",
+ "xml": "<set>\n<parameter name='tmp.dci-connects.evpn_erts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2810.031005859375,
+ "y": 550.0468769073486,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "2298df8c.6d9c9",
+ "type": "execute",
+ "name": "split evpn_erts",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_erts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_erts\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2839.031005859375,
+ "y": 602.0468769073486,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
-
+ "644f6742.689668",
+ "6d20d2f8.9ddb2c"
]
]
},
{
- "id":"6ebb06e1.0019e8",
- "type":"outcomeTrue",
- "name":"false",
- "xml":"<outcome value='false'>\n",
- "comments":"",
- "outputs":1,
- "x":2393.9737396240234,
- "y":852.9230518341064,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "6d20d2f8.9ddb2c",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3056.031005859375,
+ "y": 528.0468769073486,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "735e68ce.3cf398"
+ "2e47e496.1bceac"
]
]
},
{
- "id":"735e68ce.3cf398",
- "type":"set",
- "name":"set description",
- "xml":"<set>\n<parameter name='prop.dci-connects.description' value='' />\n",
- "comments":"",
- "x":2574.973808288574,
- "y":847.9229927062988,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "644f6742.689668",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3057.031005859375,
+ "y": 594.0468769073486,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "6a2fcced.68d914"
+ ]
]
},
{
- "id":"4dceded7.35703",
- "type":"block",
- "name":"block setEvpnIrts",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":2596.973320007324,
- "y":461.4386730194092,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "6a2fcced.68d914",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 3238.031005859375,
+ "y": 592.0468769073486,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "c98004ad.61e968",
+ "type": "block",
+ "name": "block setEvpnErts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2561.0308990478516,
+ "y": 512.0469341278076,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "12798a95.a33a75",
- "f44998d.4f3fe68"
+ "2b124117.491c4e",
+ "2298df8c.6d9c9"
]
]
},
{
- "id":"12798a95.a33a75",
- "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":2842.973320007324,
- "y":412.4386730194092,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "3fe74247.2b4ffe",
+ "type": "for",
+ "name": "for each evpn_irts",
+ "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3262.0311698913574,
+ "y": 385.0468864440918,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "c4293a61.68fc98"
+ ]
]
},
{
- "id":"f44998d.4f3fe68",
- "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":2871.973320007324,
- "y":464.4386730194092,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "c4293a61.68fc98",
+ "type": "set",
+ "name": "set evpn_irt",
+ "xml": "<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n",
+ "comments": "",
+ "x": 3474.0316619873047,
+ "y": 385.0470390319824,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "2e47e496.1bceac",
+ "type": "for",
+ "name": "for each evpn_erts",
+ "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3255.531005859375,
+ "y": 524.0468769073486,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "e89fb3dc.f76c8",
- "20275971.a03626"
+ "13b1522d.393f1e"
]
]
},
{
- "id":"20275971.a03626",
- "type":"failure",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":3088.973320007324,
- "y":390.4386730194092,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "13b1522d.393f1e",
+ "type": "set",
+ "name": "set evpn_ert",
+ "xml": "<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n",
+ "comments": "",
+ "x": 3467.5314979553223,
+ "y": 524.0470294952393,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "30d90f98.fb133",
+ "type": "set",
+ "name": "set evpn_irts",
+ "xml": "<set>\n<parameter name='tmp.dci-connects.evpn_irts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2826.531005859375,
+ "y": 990.5468158721924,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "abdf511f.438e3",
+ "type": "execute",
+ "name": "split evpn_irts",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_irts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_irts\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2855.531005859375,
+ "y": 1042.5468158721924,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "bd84905.a254d7"
+ "8434219c.36d76",
+ "ff7f5f04.46946"
]
]
},
{
- "id":"e89fb3dc.f76c8",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3089.973320007324,
- "y":456.4386730194092,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "ff7f5f04.46946",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3072.531005859375,
+ "y": 968.5468158721924,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "abdc6840.44d668"
+ "b7596a0e.6a9b38"
]
]
},
{
- "id":"abdc6840.44d668",
- "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":3270.973320007324,
- "y":454.4386730194092,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "8434219c.36d76",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3073.531005859375,
+ "y": 1034.5468158721924,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "e270c137.7edb"
+ ]
]
},
{
- "id":"c11fadfd.a884b",
- "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":2839.473320007324,
- "y":554.9387035369873,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "e270c137.7edb",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 3254.531005859375,
+ "y": 1032.5468158721924,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "9085479c.4438e8",
+ "type": "set",
+ "name": "set evpn_erts",
+ "xml": "<set>\n<parameter name='tmp.dci-connects.evpn_erts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2823.031005859375,
+ "y": 1133.0468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"dc99c979.844158",
- "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":2868.473320007324,
- "y":606.9387035369873,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "945a19b0.56e0a8",
+ "type": "execute",
+ "name": "split evpn_erts",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_erts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_erts\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2852.031005859375,
+ "y": 1185.0468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "c87ef0e2.0309f",
- "14142012.4a22"
+ "b9f0a76f.ce7bd8",
+ "993c331f.449f2"
]
]
},
{
- "id":"14142012.4a22",
- "type":"failure",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":3085.473320007324,
- "y":532.9387035369873,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "993c331f.449f2",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3069.031005859375,
+ "y": 1111.0468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "90413362.f9c78"
+ "1e3e4911.a9b5d7"
]
]
},
{
- "id":"c87ef0e2.0309f",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3086.473320007324,
- "y":598.9387035369873,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "b9f0a76f.ce7bd8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3070.031005859375,
+ "y": 1177.0468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "26998ef1.840202"
+ "6a46228c.def50c"
]
]
},
{
- "id":"26998ef1.840202",
- "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":3267.473320007324,
- "y":596.9387035369873,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "6a46228c.def50c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 3251.031005859375,
+ "y": 1175.0468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"b28306b0.c9d2a8",
- "type":"block",
- "name":"block setEvpnErts",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":2590.473213195801,
- "y":516.9387607574463,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "b7596a0e.6a9b38",
+ "type": "for",
+ "name": "for each evpn_irts",
+ "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3275.0311698913574,
+ "y": 968.0468559265137,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "c11fadfd.a884b",
- "dc99c979.844158"
+ "485e43f2.9860dc"
]
]
},
{
- "id":"bd84905.a254d7",
- "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":3291.4734840393066,
- "y":389.93871307373047,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "485e43f2.9860dc",
+ "type": "set",
+ "name": "set evpn_irt",
+ "xml": "<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n",
+ "comments": "",
+ "x": 3487.0316619873047,
+ "y": 968.0470085144043,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "1e3e4911.a9b5d7",
+ "type": "for",
+ "name": "for each evpn_erts",
+ "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3268.531005859375,
+ "y": 1107.0468463897705,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "71caeb55.d3b804"
+ "d21b6ff7.014f7"
]
]
},
{
- "id":"71caeb55.d3b804",
- "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":3503.473976135254,
- "y":389.9388656616211,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "d21b6ff7.014f7",
+ "type": "set",
+ "name": "set evpn_ert",
+ "xml": "<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n",
+ "comments": "",
+ "x": 3480.5314979553223,
+ "y": 1107.0469989776611,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"90413362.f9c78",
- "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":3284.973320007324,
- "y":528.9387035369873,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "d44c3f36.87166",
+ "type": "block",
+ "name": "block setEvpnIrts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2580.531005859375,
+ "y": 1039.5468158721924,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "d06ccd4c.3f23a"
+ "30d90f98.fb133",
+ "abdf511f.438e3"
]
]
},
{
- "id":"d06ccd4c.3f23a",
- "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":3496.9738121032715,
- "y":528.9388561248779,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "84652cfb.a0fe1",
+ "type": "block",
+ "name": "block setEvpnErts",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2574.0308990478516,
+ "y": 1095.0469036102295,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "9085479c.4438e8",
+ "945a19b0.56e0a8"
+ ]
]
},
{
- "id":"71fe8767.b40368",
- "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":2855.973320007324,
- "y":995.438642501831,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "13bf54d6.a265ab",
+ "type": "execute",
+ "name": "execute generate-overlay-network-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.dci.network-id\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1385.6979598999023,
+ "y": 1575.3646783828735,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
+ ]
},
{
- "id":"d661df7a.c1d68",
- "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":2884.973320007324,
- "y":1047.438642501831,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "1268eeda.0db0e1",
+ "type": "switchNode",
+ "name": "switch service-data.networks_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1377.6979751586914,
+ "y": 1645.3646847009659,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "f7a12052.b8c45",
- "ab4bc48f.87e7b8"
+ "625ef991.1b4c98",
+ "2a48f9bb.070696"
]
]
},
{
- "id":"ab4bc48f.87e7b8",
- "type":"failure",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":3101.973320007324,
- "y":973.438642501831,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "625ef991.1b4c98",
+ "type": "other",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1651.5075454711914,
+ "y": 1614.3170772790909,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "88094f8e.ff73b"
+ "889ad7c.f2f9c28"
]
]
},
{
- "id":"f7a12052.b8c45",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3102.973320007324,
- "y":1039.438642501831,
- "z":"14477aa.fad1e85",
- "wires":[
- [
- "419e1dfe.6a10b4"
+ "id": "2a48f9bb.070696",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1646.3647232055664,
+ "y": 1660.0313717126846,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "ce12c01b.cd317"
+ ]
+ ]
+ },
+ {
+ "id": "889ad7c.f2f9c28",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='0' />\n",
+ "comments": "",
+ "x": 1804.5075454711914,
+ "y": 1613.8884884119034,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "ce12c01b.cd317",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
+ "comments": "",
+ "x": 1805.936134338379,
+ "y": 1658.8885494470596,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "98adcf74.8b144",
+ "type": "set",
+ "name": "set network in service-data",
+ "xml": "<set>\n<parameter name=\"service-data.networks.network[$nidx].network-id\" value='`$prop.dci.network-id`' />\n<parameter name='service-data.networks.network[$nidx].network-data.sdnc-request-header.' value='`$network-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.request-information.' value='`$network-topology-operation-input.request-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.service-information.' value='`$network-topology-operation-input.service-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-information.' value='`$network-topology-operation-input.network-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-request-input.' value='`$network-topology-operation-input.network-request-input.`' />\n<parameter name=\"service-data.networks.network_length\" value='`$nidx+1`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />\n\n\n",
+ "comments": "",
+ "x": 1349.6979598999023,
+ "y": 1717.3646869659424,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "4214f6f2.3f8798",
+ "type": "block",
+ "name": "block : saveNetworkData",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1046.0312118530273,
+ "y": 1556.6978778839111,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "13bf54d6.a265ab",
+ "1268eeda.0db0e1",
+ "98adcf74.8b144",
+ "ae6337fc.2f77b8"
]
]
},
{
- "id":"419e1dfe.6a10b4",
- "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":3283.973320007324,
- "y":1037.438642501831,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "ae6337fc.2f77b8",
+ "type": "set",
+ "name": "set networkId and network-object-path",
+ "xml": "<set>\n<parameter name='networkId' value='`$prop.dci.network-id`' />\n<parameter name=\"network-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.dci.network-id + '/network-data/'` \" />",
+ "comments": "",
+ "x": 1382.0312118530273,
+ "y": 1787.0312519073486,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"57e91416.f44a6c",
- "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":2852.473320007324,
- "y":1137.9386730194092,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "a53eb6d0.3cb4d8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"dci-network-topology-operation-activate\"/>\n<parameter name=\"field3\" value=\"dci-connects.name\"/>\n<parameter name=\"field4\" value=\"`$prop.dci-connects.name`\" />\n<parameter name=\"field5\" value=\"dci-connects.id\"/>\n<parameter name=\"field6\" value=\"`$prop.dci-connects.id`\"/>\n<parameter name=\"field7\" value=\"dci-connects.tunnelType\" />\n<parameter name=\"field8\" value=\"`$prop.dci-connects.tunnelType`\"/>\n<parameter name=\"field9\" value=\"sdncRestApi.thirdpartySdnc.url\"/>\n<parameter name=\"field10\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1555.364990234375,
+ "y": 1366.697998046875,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
]
},
{
- "id":"1ae3a00e.04c3e",
- "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":2881.473320007324,
- "y":1189.9386730194092,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "7f7ca562.d8259c",
+ "type": "comment",
+ "name": "TODO",
+ "info": "Currently activate is done without assignment, later divide in two phases.",
+ "comments": "",
+ "x": 1341.0312118530273,
+ "y": 49.69791603088379,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "7381f4dc.54e1ac",
+ "type": "block",
+ "name": "block setLocalNetworks",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2563.531280517578,
+ "y": 919.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "f13c2833.8ad168",
+ "e68592dd.37654"
+ ]
+ ]
+ },
+ {
+ "id": "f13c2833.8ad168",
+ "type": "set",
+ "name": "set local_networks",
+ "xml": "<set>\n<parameter name='tmp.dci-connects.local_networks.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2766.531280517578,
+ "y": 854.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "e68592dd.37654",
+ "type": "execute",
+ "name": "split local_networks",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.local_networks.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.local_networks\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2795.531280517578,
+ "y": 906.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "cb3d8975.007e48",
- "1d9688c3.12e9d7"
+ "18c32d19.cddf83",
+ "717aba8a.7e5bd4"
]
]
},
{
- "id":"1d9688c3.12e9d7",
- "type":"failure",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":3098.473320007324,
- "y":1115.9386730194092,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "18c32d19.cddf83",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2992.531280517578,
+ "y": 841.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "cc51ae28.32b09"
+ "2bac9803.b022f8"
]
]
},
{
- "id":"cb3d8975.007e48",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":3099.473320007324,
- "y":1181.9386730194092,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "717aba8a.7e5bd4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2993.531280517578,
+ "y": 907.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "1eca56d8.ed2679"
+ "9f287993.deeca8"
]
]
},
{
- "id":"1eca56d8.ed2679",
- "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":3280.473320007324,
- "y":1179.9386730194092,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
+ "id": "9f287993.deeca8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 3174.531280517578,
+ "y": 905.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
},
{
- "id":"88094f8e.ff73b",
- "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":3304.4734840393066,
- "y":972.9386825561523,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "2bac9803.b022f8",
+ "type": "for",
+ "name": "for each local_networks",
+ "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.local_networks_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3195.0314445495605,
+ "y": 840.5312900543213,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "434a8acd.8b0244"
+ "b98f501.86efdb"
]
]
},
{
- "id":"434a8acd.8b0244",
- "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":3516.473976135254,
- "y":972.938835144043,
- "z":"14477aa.fad1e85",
- "wires":[
-
- ]
- },
- {
- "id":"cc51ae28.32b09",
- "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":3297.973320007324,
- "y":1111.9386730194092,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "b98f501.86efdb",
+ "type": "get-resource",
+ "name": "get-resource l3-network",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $tmp.dci-connects.local_networks[$idx] AND \n\t\t depth = '0'\"\n pfx='tmp.aai.l3-network' local-only='false' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3467.531280517578,
+ "y": 839.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "7209bbf1.1dd274"
+ "ff920bc5.185188",
+ "56d15342.77268c",
+ "718e79ef.506a28"
]
]
},
{
- "id":"7209bbf1.1dd274",
- "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":3509.9738121032715,
- "y":1111.9388256072998,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "ff920bc5.185188",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3686.3003997802734,
+ "y": 799.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "2dfe1ab5.29ac36"
+ ]
]
},
{
- "id":"36bb1ad6.f67656",
- "type":"block",
- "name":"block setEvpnIrts",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":2609.973320007324,
- "y":1044.438642501831,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "56d15342.77268c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3693.3003997802734,
+ "y": 837.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "71fe8767.b40368",
- "d661df7a.c1d68"
+ "c8973361.4dcf1"
]
]
},
{
- "id":"6259b6ca.196658",
- "type":"block",
- "name":"block setEvpnErts",
- "xml":"<block atomic=\"true\">\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":2603.473213195801,
- "y":1099.9387302398682,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "718e79ef.506a28",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3685.3003997802734,
+ "y": 879.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "57e91416.f44a6c",
- "1ae3a00e.04c3e"
+ "965b4a77.b56118"
]
]
},
{
- "id":"ff8f139d.0f616",
- "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":2584.9735717773438,
- "y":329.43871879577637,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "c8973361.4dcf1",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3850.3003997802734,
+ "y": 841.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "965b4a77.b56118",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3843.3003997802734,
+ "y": 888.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "2dfe1ab5.29ac36",
+ "type": "set",
+ "name": "set network-id",
+ "xml": "<set>\n<parameter name='prop.dci-connects.local_networks[$idx]' value=\"`$tmp.aai.l3-network.network-id`\" />\n",
+ "comments": "",
+ "x": 3860.8003311157227,
+ "y": 796.2234649658203,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "3620f5be.990eda",
+ "type": "save",
+ "name": "save overlay configuration in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='configuration' \n key='configuration.configuration-id = $prop.dci.network-id' >\n<parameter name='configuration-id' value='`$prop.dci.network-id`' />\n<parameter name='configuration-type' value='overlay' />\n<parameter name='configuration-sub-type' value='VPN-DCI' />\n<parameter name='orchestration-status' value='Created' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$prop.dci.network-id`' />\n<parameter name='configuration-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.dci.network-id + '/network-data/'` \" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 845.53125,
+ "y": 993.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
]
},
{
- "id":"6bda705e.915dc",
- "type":"comment",
- "name":"TODO",
- "info":"Store activated network information in A&AI",
- "comments":"",
- "x":741.4735641479492,
- "y":968.938642501831,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "2b8696d6.909b7a",
+ "type": "save",
+ "name": "save service relationship in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $service-data.service-information.service-instance-id \n AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"configuration\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/configurations/configuration/' + $prop.dci.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"configuration.configuration-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.dci.network-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 803.5312805175781,
+ "y": 1072.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
]
},
{
- "id":"9e24c01d.9d49c",
- "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":2571.473320007324,
- "y":922.438642501831,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "c20d9d61.613f4",
+ "type": "block",
+ "name": "block setLocalNetworks",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2594.03125,
+ "y": 326.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "e8def7b2.2fbf88",
+ "8e1e86c2.e5c6e8"
+ ]
]
},
{
- "id":"9653dd40.51b31",
- "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":1415.1402740478516,
- "y":1580.2565050125122,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "e8def7b2.2fbf88",
+ "type": "set",
+ "name": "set local_networks",
+ "xml": "<set>\n<parameter name='tmp.dci-connects.local_networks.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2797.03125,
+ "y": 261.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "8e1e86c2.e5c6e8",
+ "type": "execute",
+ "name": "split local_networks",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.local_networks.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.local_networks\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2826.03125,
+ "y": 313.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
-
+ "79bfda71.3cba44",
+ "385c2789.bb9748"
]
]
},
{
- "id":"6c49ab69.21e594",
- "type":"switchNode",
- "name":"switch service-data.networks_length",
- "xml":"<switch test='`$service-data.networks.network_length`'>\n",
- "comments":"",
- "outputs":1,
- "x":1407.1402893066406,
- "y":1650.2565113306046,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "79bfda71.3cba44",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3023.03125,
+ "y": 248.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "4d11657.e59ad9c",
- "ec09cf68.54011"
+ "4e5e1e98.3ee33"
]
]
},
{
- "id":"4d11657.e59ad9c",
- "type":"other",
- "name":"Null",
- "xml":"<outcome value=''>\n",
- "comments":"",
- "outputs":1,
- "x":1680.9498596191406,
- "y":1619.2089039087296,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "385c2789.bb9748",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3024.03125,
+ "y": 314.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "685d7d02.6e8fe4"
+ "31b680e7.4204f"
]
]
},
{
- "id":"ec09cf68.54011",
- "type":"other",
- "name":"other",
- "xml":"<outcome value='Other'>\n",
- "comments":"",
- "outputs":1,
- "x":1675.8070373535156,
- "y":1664.9231983423233,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "31b680e7.4204f",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 3205.03125,
+ "y": 312.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "4e5e1e98.3ee33",
+ "type": "for",
+ "name": "for each local_networks",
+ "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.local_networks_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3225.5314140319824,
+ "y": 247.5312900543213,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "305d55a0.4ef32a"
+ "92921b5e.2aea28"
]
]
},
{
- "id":"685d7d02.6e8fe4",
- "type":"set",
- "name":"set nidx",
- "xml":"<set>\n<parameter name='nidx' value='0' />\n",
- "comments":"",
- "x":1833.9498596191406,
- "y":1618.780315041542,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "92921b5e.2aea28",
+ "type": "get-resource",
+ "name": "get-resource l3-network",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $tmp.dci-connects.local_networks[$idx] AND \n\t\t depth = '0'\"\n pfx='tmp.aai.l3-network' local-only='false' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3498.03125,
+ "y": 246.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "7f44a5cd.ed61ec",
+ "94e571af.d5d5a",
+ "396567f.b05f898"
+ ]
]
},
{
- "id":"305d55a0.4ef32a",
- "type":"set",
- "name":"set nidx",
- "xml":"<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
- "comments":"",
- "x":1835.3784484863281,
- "y":1663.7803760766983,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "396567f.b05f898",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3715.8003692626953,
+ "y": 286.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "4b36101d.3eb74"
+ ]
]
},
{
- "id":"c180ad49.bc28d",
- "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":1379.1402740478516,
- "y":1722.256513595581,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "94e571af.d5d5a",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3723.8003692626953,
+ "y": 244.72348475456238,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "4dd39096.a8b53"
+ ]
]
},
{
- "id":"180ce8e1.cf4c47",
- "type":"block",
- "name":"block : saveNetworkData",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "comments":"",
- "outputs":1,
- "x":1075.4735260009766,
- "y":1561.5897045135498,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "7f44a5cd.ed61ec",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3716.8003692626953,
+ "y": 206.72348475456238,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
- "9653dd40.51b31",
- "6c49ab69.21e594",
- "c180ad49.bc28d",
- "2148a80e.029b58"
+ "f52617f1.8bd0b8"
]
]
},
{
- "id":"2148a80e.029b58",
- "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":1411.4735260009766,
- "y":1791.9230785369873,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "f52617f1.8bd0b8",
+ "type": "set",
+ "name": "set network-id",
+ "xml": "<set>\n<parameter name='prop.dci-connects.local_networks[$idx]' value=\"`$tmp.aai.l3-network.network-id`\" />\n",
+ "comments": "",
+ "x": 3891.3003005981445,
+ "y": 203.2234649658203,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "4dd39096.a8b53",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3880.8003692626953,
+ "y": 248.72348475456238,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "4b36101d.3eb74",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3873.8003692626953,
+ "y": 295.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "a95dc9c7.507158",
+ "type": "execute",
+ "name": "execute Properties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1579,
+ "y": 1297,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
]
},
{
- "id":"282c5c4c.028af4",
- "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":1593.8073196411133,
- "y":1420.589789390564,
- "z":"14477aa.fad1e85",
- "wires":[
+ "id": "1c2a13ea.e2fe74",
+ "type": "switchNode",
+ "name": "switch vendor",
+ "xml": "<switch test=\"`$prop.sdncRestApi.thirdpartySdnc.vendor`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1585,
+ "y": 1436,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
[
-
+ "5a0c70a7.9c1048"
]
]
},
{
- "id":"db894db4.d284f",
- "type":"comment",
- "name":"TODO",
- "info":"Currently activate is done without assignment, later divide in two phases.",
- "comments":"",
- "x":1370.4735260009766,
- "y":54.58974266052246,
- "z":"14477aa.fad1e85",
- "wires":[
-
+ "id": "5a0c70a7.9c1048",
+ "type": "outcomeTrue",
+ "name": "SPTN",
+ "xml": "<outcome value='SPTN'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1739,
+ "y": 1438,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "720459ea.25c288"
+ ]
]
}
-]
\ No newline at end of file
+]