[
{
- "id": "6c6bc16c.ca3e3",
+ "id": "c755dc6.4fb532",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 77,
- "y": 53,
- "z": "f29dedb6.fec708",
+ "x": 98,
+ "y": 69,
+ "z": "d1c71750.37b338",
"wires": [
[
- "537702a4.cc8034"
+ "80264a38.3fce88"
]
]
},
{
- "id": "537702a4.cc8034",
+ "id": "80264a38.3fce88",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
"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": 289.00000381469727,
- "y": 125.0000171661377,
- "z": "f29dedb6.fec708",
+ "x": 310.00000381469727,
+ "y": 141.0000171661377,
+ "z": "d1c71750.37b338",
"wires": [
[
- "be1e8309.4bc4c8"
+ "8d5d312f.9d9cd"
]
]
},
{
- "id": "be1e8309.4bc4c8",
+ "id": "8d5d312f.9d9cd",
"type": "method",
"name": "method network-topology-operation-create",
"xml": "<method rpc='network-topology-operation-create' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 277.0001220703125,
- "y": 213,
- "z": "f29dedb6.fec708",
+ "x": 298.0001220703125,
+ "y": 229,
+ "z": "d1c71750.37b338",
"wires": [
[
- "15842b75.da07e5"
+ "b2241a21.76a97"
]
]
},
{
- "id": "15842b75.da07e5",
+ "id": "b2241a21.76a97",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 553.0000305175781,
- "y": 221.00001335144043,
- "z": "f29dedb6.fec708",
+ "x": 374,
+ "y": 627.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[
- "35d46a8d.e7edce",
- "861f67a.7920b18",
- "38a3e2ad.559ce6",
- "39c4a2ad.6290be",
- "56d07259.1d8cbc",
- "5c9ca6e0.e239a",
- "e21a9c92.1f2a28",
- "151a4cba.fa33e3",
- "be047f99.592428",
- "1460f5c7.7bf212",
- "e2d35c41.dd6f5"
+ "5f4a6be2.122adc",
+ "3b31c47b.b0ee54",
+ "bde939b5.904ee8",
+ "e986dd0a.7fdf58",
+ "ba17de0c.0ea5e",
+ "39b02aa1.204f3e",
+ "bee6a021.504aa8",
+ "f7d82967.39b968",
+ "e292252a.39cff8",
+ "31c5a0ea.7876c",
+ "f41c462f.8589a",
+ "58848908.ffbbb",
+ "7b14c9f6.80d72",
+ "a66c7c7d.376898",
+ "30879b4d.be3994",
+ "dd6bc2bc.fdc89",
+ "d54c20dc.cf6128",
+ "b11968d4.007e68",
+ "725ceec3.c5b2"
]
]
},
{
- "id": "d2fcc9e7.aec75",
+ "id": "ec4c3437.b9425",
"type": "execute",
"name": "execute RestApiCallNode Create IPWAN L3VPN",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smvpntemplate.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services'\"/>\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\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/l3smvpntemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services'`\" />\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=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 1149.0001831054688,
- "y": 737,
- "z": "f29dedb6.fec708",
+ "x": 1121.0001831054688,
+ "y": 1000,
+ "z": "d1c71750.37b338",
"wires": [
- []
+ [
+ "d40cc8a7.624908",
+ "c80688e8.50ffd"
+ ]
]
},
{
- "id": "35d46a8d.e7edce",
+ "id": "715951e.aa50f3",
"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",
+ "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",
"comments": "",
- "x": 781.0000610351562,
- "y": 293,
- "z": "f29dedb6.fec708",
+ "x": 1275.0000610351562,
+ "y": 274,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "56d07259.1d8cbc",
+ "id": "bde939b5.904ee8",
"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",
"comments": "",
"outputs": 1,
- "x": 838.6666259765625,
- "y": 389.6666564941406,
- "z": "f29dedb6.fec708",
+ "x": 816.6666259765625,
+ "y": 189.66665649414062,
+ "z": "d1c71750.37b338",
"wires": [
[
- "b2478f4e.7cd8b"
+ "d3d6530.ff1843"
]
]
},
{
- "id": "6b6b65e4.027114",
+ "id": "257293b6.92d5cc",
"type": "execute",
"name": "execute RestApiCallNode Create SPTN L3VPN",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smsitetemplate.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url\"/>\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\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir +'/sptn-l3vpn-template.xml'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/sptn-service-l3vpn:service/snc-l3vpns'`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/>\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/>\n<parameter name=\"format\" value=\"xml\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>",
"comments": "",
"outputs": 1,
- "x": 1120.6668701171875,
- "y": 939.6666870117188,
- "z": "f29dedb6.fec708",
+ "x": 1053.6668701171875,
+ "y": 1261.666748046875,
+ "z": "d1c71750.37b338",
"wires": [
[]
]
},
{
- "id": "39c4a2ad.6290be",
+ "id": "3b31c47b.b0ee54",
"type": "execute",
"name": "execute vpn-policy1-id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vpn-policy1-id\"/>\n",
"comments": "",
"outputs": 1,
- "x": 798.6666259765625,
- "y": 446.66668701171875,
- "z": "f29dedb6.fec708",
+ "x": 819.6666259765625,
+ "y": 462.66668701171875,
+ "z": "d1c71750.37b338",
"wires": [
[
- "96af0d.cf3c10f"
+ "c0078e33.2f6078"
]
]
},
{
- "id": "96af0d.cf3c10f",
+ "id": "c0078e33.2f6078",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1023.6666259765625,
- "y": 449.6666564941406,
- "z": "f29dedb6.fec708",
+ "x": 1044.6666259765625,
+ "y": 465.6666564941406,
+ "z": "d1c71750.37b338",
"wires": [
[
- "7438ecb9.4567f4"
+ "c5ccda76.692ed"
]
]
},
{
- "id": "7438ecb9.4567f4",
+ "id": "c5ccda76.692ed",
"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 generation vpn policy ID\" />\n",
"comments": "",
- "x": 1204.6666259765625,
- "y": 447.6666564941406,
- "z": "f29dedb6.fec708",
+ "x": 1225.6666259765625,
+ "y": 463.6666564941406,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "861f67a.7920b18",
+ "id": "5f4a6be2.122adc",
"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": 850.5,
- "y": 90,
- "z": "f29dedb6.fec708",
+ "x": 871.5,
+ "y": 106,
+ "z": "d1c71750.37b338",
"wires": [
[]
]
},
{
- "id": "38a3e2ad.559ce6",
+ "id": "dd6bc2bc.fdc89",
"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 = $tmp.thirdparty-sdnc-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
"comments": "",
"outputs": 1,
- "x": 820.5,
- "y": 207,
- "z": "f29dedb6.fec708",
+ "x": 832.5,
+ "y": 340,
+ "z": "d1c71750.37b338",
"wires": [
[
- "747be621.ebaa68",
- "e28c7994.72931",
- "5f530a05.e03c5c"
+ "8dbd8bc6.d1cbd8",
+ "4c28930c.3740a4",
+ "e399b426.d74ce"
]
]
},
{
- "id": "747be621.ebaa68",
+ "id": "8dbd8bc6.d1cbd8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1145.5,
- "y": 138,
- "z": "f29dedb6.fec708",
+ "x": 1077.5,
+ "y": 286,
+ "z": "d1c71750.37b338",
"wires": [
[
- "270f57b4.7e9228"
+ "715951e.aa50f3"
]
]
},
{
- "id": "e28c7994.72931",
+ "id": "4c28930c.3740a4",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1148.990966796875,
- "y": 185.57403564453125,
- "z": "f29dedb6.fec708",
+ "x": 1080.990966796875,
+ "y": 333.57403564453125,
+ "z": "d1c71750.37b338",
"wires": [
[
- "b482495d.0483a"
+ "ed8f061.2ee11f8"
]
]
},
{
- "id": "5f530a05.e03c5c",
+ "id": "e399b426.d74ce",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1144.323974609375,
- "y": 226.9073486328125,
- "z": "f29dedb6.fec708",
+ "x": 1076.323974609375,
+ "y": 374.9073486328125,
+ "z": "d1c71750.37b338",
"wires": [
[
- "552e5145.a20188"
+ "37b86197.b131ae"
]
]
},
{
- "id": "b482495d.0483a",
+ "id": "ed8f061.2ee11f8",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Network model is_bound_to_vpn=true but no vpn_binding is present\" />\n\n",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
"comments": "",
- "x": 1325.5623779296875,
- "y": 173.85977172851562,
- "z": "f29dedb6.fec708",
+ "x": 1257.5623779296875,
+ "y": 321.8597717285156,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "552e5145.a20188",
+ "id": "37b86197.b131ae",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Unexpected error retrieving vpn binding\" />\n\n",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
"comments": "",
- "x": 1332.0965309143066,
- "y": 222.34654140472412,
- "z": "f29dedb6.fec708",
+ "x": 1264.0965309143066,
+ "y": 370.3465414047241,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "270f57b4.7e9228",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1323.705322265625,
- "y": 130.57403564453125,
- "z": "f29dedb6.fec708",
- "wires": [
- []
- ]
- },
- {
- "id": "b2478f4e.7cd8b",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1237.5,
- "y": 396,
- "z": "f29dedb6.fec708",
- "wires": [
- [
- "92f693f1.fbeac8",
- "fa654c60.33fc7",
- "3c75f999.d8df1e",
- "399d4af.75d7f36",
- "f1384917.ec5db8",
- "b487b0d3.26ff08",
- "507ab3c0.3b67f4",
- "b36084e3.ed78c",
- "43267259.9b3cb4",
- "2536a52a.61b14a",
- "7ec07647.4a18e8",
- "cc9729b3.35c9a8",
- "72f85ed8.f54e68",
- "b028194c.b3b988",
- "b0ea6a25.f32ed",
- "b7bb055e.312e1",
- "d25d1bce.304f78",
- "49087f87.ab7e78",
- "6e2762a6.8272c4",
- "5f3b0791.9b6e88",
- "1aacfbe9.a7c6bc",
- "f2101f18.ae2b68",
- "ca43c6ae.b67f4",
- "5a7334fb.eef58c",
- "bf6d8b73.1d1d2"
- ]
- ]
- },
- {
- "id": "92f693f1.fbeac8",
+ "id": "79980939.27992",
"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": 1588.5,
- "y": 20.000030517578125,
- "z": "f29dedb6.fec708",
+ "x": 1609.5,
+ "y": 40.000030517578125,
+ "z": "d1c71750.37b338",
"wires": [
[
- "6d73e8b1.07061"
+ "485e0689.38ce3"
]
]
},
{
- "id": "fa654c60.33fc7",
+ "id": "6566447b.cd16fc",
"type": "switchNode",
"name": "switch service-type",
- "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'service-type'`\">\n",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'serviceType'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1592.4999389648438,
- "y": 81.60000610351562,
- "z": "f29dedb6.fec708",
+ "x": 1613.4999389648438,
+ "y": 97.60000610351562,
+ "z": "d1c71750.37b338",
"wires": [
[
- "2301d600.a73462"
+ "95810552.2e3558"
]
]
},
{
- "id": "6d73e8b1.07061",
+ "id": "485e0689.38ce3",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1775.5,
- "y": 20.000030517578125,
- "z": "f29dedb6.fec708",
+ "x": 1796.5,
+ "y": 36.000030517578125,
+ "z": "d1c71750.37b338",
"wires": [
[
- "1d383b47.d3c90d"
+ "8905bcbf.11f838"
]
]
},
{
- "id": "2301d600.a73462",
+ "id": "95810552.2e3558",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1777.4999389648438,
- "y": 79.60000610351562,
- "z": "f29dedb6.fec708",
+ "x": 1798.4999389648438,
+ "y": 95.60000610351562,
+ "z": "d1c71750.37b338",
"wires": [
[
- "f95d177d.930be"
+ "4a110462.b2e7b4"
]
]
},
{
- "id": "1d383b47.d3c90d",
+ "id": "8905bcbf.11f838",
"type": "set",
"name": "set name",
"xml": "<set>\n<parameter name='prop.l3vpn.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1943.5,
- "y": 20.60003662109375,
- "z": "f29dedb6.fec708",
+ "x": 1964.5,
+ "y": 36.60003662109375,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "f95d177d.930be",
+ "id": "4a110462.b2e7b4",
"type": "set",
"name": "set service-type",
"xml": "<set>\n<parameter name='prop.l3vpn.service-type' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1946.4999389648438,
- "y": 77.60000610351562,
- "z": "f29dedb6.fec708",
+ "x": 1967.4999389648438,
+ "y": 93.60000610351562,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "3c75f999.d8df1e",
+ "id": "db1ad825.26052",
"type": "switchNode",
"name": "switch topology",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'topology'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1591.5,
- "y": 143,
- "z": "f29dedb6.fec708",
+ "x": 1612.5,
+ "y": 159,
+ "z": "d1c71750.37b338",
"wires": [
[
- "64ec1f5c.cd7588"
+ "8e30a166.dc4c3"
]
]
},
{
- "id": "399d4af.75d7f36",
+ "id": "612a1bef.8a1a9c",
"type": "switchNode",
"name": "switch technology",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'technology'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1594.5,
- "y": 196,
- "z": "f29dedb6.fec708",
+ "x": 1615.5,
+ "y": 212,
+ "z": "d1c71750.37b338",
"wires": [
[
- "30608684.1fa91a"
+ "4a904aae.350a04"
]
]
},
{
- "id": "f1384917.ec5db8",
+ "id": "32815667.56769a",
"type": "switchNode",
"name": "switch site1_name",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_name'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1599.5,
- "y": 258,
- "z": "f29dedb6.fec708",
+ "x": 1620.5,
+ "y": 274,
+ "z": "d1c71750.37b338",
"wires": [
[
- "7b6affba.2f1ea8"
+ "8796222c.6fa77"
]
]
},
{
- "id": "b487b0d3.26ff08",
+ "id": "d99350c4.40314",
"type": "switchNode",
"name": "switch site2_name",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_name'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1594.5,
- "y": 321,
- "z": "f29dedb6.fec708",
+ "x": 1615.5,
+ "y": 337,
+ "z": "d1c71750.37b338",
"wires": [
[
- "e7d8abc.3397ed8"
+ "f4f0e78c.aadc4"
]
]
},
{
- "id": "507ab3c0.3b67f4",
+ "id": "e54a4b77.575f08",
"type": "switchNode",
"name": "switch sna1_name",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'sna1_name'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1599.5,
- "y": 381,
- "z": "f29dedb6.fec708",
+ "x": 1620.5,
+ "y": 397,
+ "z": "d1c71750.37b338",
"wires": [
[
- "ccbb4e0a.e4624"
+ "877c7d0f.86dd"
]
]
},
{
- "id": "b36084e3.ed78c",
+ "id": "a16ad1af.30669",
"type": "switchNode",
"name": "switch sna2_name",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'sna2_name'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1594.5,
- "y": 445,
- "z": "f29dedb6.fec708",
+ "x": 1615.5,
+ "y": 461,
+ "z": "d1c71750.37b338",
"wires": [
[
- "5e7b746e.c31ebc"
+ "d7e263ff.d62088"
]
]
},
{
- "id": "43267259.9b3cb4",
+ "id": "a9d432.f245a3d",
"type": "switchNode",
"name": "switch pe1_id",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'pe1_id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1599.5,
- "y": 507,
- "z": "f29dedb6.fec708",
+ "x": 1620.5,
+ "y": 523,
+ "z": "d1c71750.37b338",
"wires": [
[
- "cd97fc49.ef9428"
+ "d8f67746.e97618"
]
]
},
{
- "id": "2536a52a.61b14a",
+ "id": "89f7d244.7bed58",
"type": "switchNode",
"name": "switch pe2_id",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'pe2_id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1614.5,
- "y": 567,
- "z": "f29dedb6.fec708",
+ "x": 1635.5,
+ "y": 583,
+ "z": "d1c71750.37b338",
"wires": [
[
- "b43f1ee2.b85a2"
+ "1af5cef.1a18eb1"
]
]
},
{
- "id": "7ec07647.4a18e8",
+ "id": "9e107c02.44f758",
"type": "switchNode",
"name": "switch ac1_id",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1609.5,
- "y": 639,
- "z": "f29dedb6.fec708",
+ "x": 1630.5,
+ "y": 655,
+ "z": "d1c71750.37b338",
"wires": [
[
- "b4d9a4d.005d958"
+ "837e8793.ef9c9"
]
]
},
{
- "id": "cc9729b3.35c9a8",
+ "id": "37c58153.b2998e",
"type": "switchNode",
"name": "switch ac2_id",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1608.5,
- "y": 698,
- "z": "f29dedb6.fec708",
+ "x": 1629.5,
+ "y": 714,
+ "z": "d1c71750.37b338",
"wires": [
[
- "7dfb851.0b49cfc"
+ "cc628d9.cda75f"
]
]
},
{
- "id": "72f85ed8.f54e68",
+ "id": "9ab7bd24.8d06c8",
"type": "switchNode",
"name": "switch ac1_ip",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_ip'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1585.5,
- "y": 761,
- "z": "f29dedb6.fec708",
+ "x": 1606.5,
+ "y": 777,
+ "z": "d1c71750.37b338",
"wires": [
[
- "d713e906.7f455"
+ "b6eb1b8b.204bb"
]
]
},
{
- "id": "b028194c.b3b988",
+ "id": "c98044e2.7a0fd",
"type": "switchNode",
"name": "switch ac2_ip",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_ip'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1588.5,
- "y": 818,
- "z": "f29dedb6.fec708",
+ "x": 1609.5,
+ "y": 834,
+ "z": "d1c71750.37b338",
"wires": [
[
- "973837ca.190aa8"
+ "67413744.703078"
]
]
},
{
- "id": "b0ea6a25.f32ed",
+ "id": "9c377089.4d9f3",
"type": "switchNode",
"name": "switch ac1_peer_ip",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_peer_ip'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1594.5,
- "y": 870,
- "z": "f29dedb6.fec708",
+ "x": 1615.5,
+ "y": 886,
+ "z": "d1c71750.37b338",
"wires": [
[
- "6ccb4ca1.2cd06c"
+ "762be29b.5e95bc"
]
]
},
{
- "id": "b7bb055e.312e1",
+ "id": "6227130a.b283dc",
"type": "switchNode",
"name": "switch ac2_peer_ip",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_peer_ip'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1595.5,
- "y": 925,
- "z": "f29dedb6.fec708",
+ "x": 1616.5,
+ "y": 941,
+ "z": "d1c71750.37b338",
"wires": [
[
- "b9aa2fd2.814f48"
+ "b47203e8.02223"
]
]
},
{
- "id": "d25d1bce.304f78",
+ "id": "87656c47.a73838",
"type": "switchNode",
"name": "switch ac1_svlan",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_svlan'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1607.5,
- "y": 974,
- "z": "f29dedb6.fec708",
+ "x": 1628.5,
+ "y": 990,
+ "z": "d1c71750.37b338",
"wires": [
[
- "7df19f10.00d63"
+ "f47a7f0.182ed8"
]
]
},
{
- "id": "49087f87.ab7e78",
+ "id": "9d6a7f28.4304b",
"type": "switchNode",
"name": "switch ac2_svlan",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_svlan'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1600.5,
- "y": 1025,
- "z": "f29dedb6.fec708",
+ "x": 1621.5,
+ "y": 1041,
+ "z": "d1c71750.37b338",
"wires": [
[
- "deb16fb4.873d88"
+ "88ef93af.1ec22"
]
]
},
{
- "id": "6e2762a6.8272c4",
+ "id": "b0373753.70f0a",
"type": "switchNode",
"name": "switch ac1_protocol",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_protocol'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1593.5,
- "y": 1083,
- "z": "f29dedb6.fec708",
+ "x": 1614.5,
+ "y": 1099,
+ "z": "d1c71750.37b338",
"wires": [
[
- "d9a405e5.0fbd78"
+ "b0c70aaf.aa196"
]
]
},
{
- "id": "5f3b0791.9b6e88",
+ "id": "a53453dd.69ab28",
"type": "switchNode",
"name": "switch ac2_protocol",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_protocol'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1594.5,
- "y": 1143,
- "z": "f29dedb6.fec708",
+ "x": 1615.5,
+ "y": 1159,
+ "z": "d1c71750.37b338",
"wires": [
[
- "f17cdf9a.1f70e"
+ "6f144e4b.8ca8a"
]
]
},
{
- "id": "1aacfbe9.a7c6bc",
+ "id": "9abdda02.3e776",
"type": "switchNode",
"name": "switch ac1_protocol_bgp_as",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_protocol_bgp_as'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1588.5,
- "y": 1329,
- "z": "f29dedb6.fec708",
+ "x": 1609.5,
+ "y": 1345,
+ "z": "d1c71750.37b338",
"wires": [
[
- "3676d16.bff3dae"
+ "7db2780.3608008"
]
]
},
{
- "id": "f2101f18.ae2b68",
+ "id": "e12d824c.4650c8",
"type": "switchNode",
"name": "switch ac2_protocol_bgp_as",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_protocol_bgp_as'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1594.5,
- "y": 1380,
- "z": "f29dedb6.fec708",
+ "x": 1615.5,
+ "y": 1396,
+ "z": "d1c71750.37b338",
"wires": [
[
- "43e3c11a.4b0498"
+ "7f6622dd.022f64"
]
]
},
{
- "id": "ca43c6ae.b67f4",
+ "id": "46a813fb.9bd0f4",
"type": "switchNode",
"name": "switch af_type",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'af_type'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1561.5,
- "y": 1471,
- "z": "f29dedb6.fec708",
+ "x": 1582.5,
+ "y": 1487,
+ "z": "d1c71750.37b338",
"wires": [
[
- "ab13048a.b0a2"
+ "b96483f6.45c738"
]
]
},
{
- "id": "64ec1f5c.cd7588",
+ "id": "8e30a166.dc4c3",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1766.5,
- "y": 139,
- "z": "f29dedb6.fec708",
+ "x": 1787.5,
+ "y": 155,
+ "z": "d1c71750.37b338",
"wires": [
[
- "f1c21eed.4c6488"
+ "5c246487.156d2c"
]
]
},
{
- "id": "30608684.1fa91a",
+ "id": "4a904aae.350a04",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1772.5,
- "y": 192,
- "z": "f29dedb6.fec708",
+ "x": 1793.5,
+ "y": 208,
+ "z": "d1c71750.37b338",
"wires": [
[
- "db52bb2.d3cc7c8"
+ "aef4e4d3.e357c"
]
]
},
{
- "id": "7b6affba.2f1ea8",
+ "id": "8796222c.6fa77",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1781.5,
- "y": 254,
- "z": "f29dedb6.fec708",
+ "x": 1802.5,
+ "y": 270,
+ "z": "d1c71750.37b338",
"wires": [
[
- "7c0e170d.30b1d"
+ "913fcc28.6f8338"
]
]
},
{
- "id": "e7d8abc.3397ed8",
+ "id": "f4f0e78c.aadc4",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1779.5,
- "y": 317,
- "z": "f29dedb6.fec708",
+ "x": 1800.5,
+ "y": 333,
+ "z": "d1c71750.37b338",
"wires": [
[
- "947c8730.9c4b48"
+ "785ee992.13114"
]
]
},
{
- "id": "ccbb4e0a.e4624",
+ "id": "877c7d0f.86dd",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1784.5,
- "y": 379,
- "z": "f29dedb6.fec708",
+ "x": 1805.5,
+ "y": 395,
+ "z": "d1c71750.37b338",
"wires": [
[
- "a06ad2cd.275448"
+ "e33dfd5b.4d737"
]
]
},
{
- "id": "5e7b746e.c31ebc",
+ "id": "d7e263ff.d62088",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1776.5,
- "y": 437,
- "z": "f29dedb6.fec708",
+ "x": 1797.5,
+ "y": 453,
+ "z": "d1c71750.37b338",
"wires": [
[
- "b2aa581c.5af32"
+ "a4ccc339.77b078"
]
]
},
{
- "id": "cd97fc49.ef9428",
+ "id": "d8f67746.e97618",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1777.5,
- "y": 500,
- "z": "f29dedb6.fec708",
+ "x": 1798.5,
+ "y": 516,
+ "z": "d1c71750.37b338",
"wires": [
[
- "72cbbe8e.f6925"
+ "5f722601.0dd94"
]
]
},
{
- "id": "b43f1ee2.b85a2",
+ "id": "1af5cef.1a18eb1",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1776.5,
- "y": 569,
- "z": "f29dedb6.fec708",
+ "x": 1797.5,
+ "y": 585,
+ "z": "d1c71750.37b338",
"wires": [
[
- "d9091182.9c0dc8"
+ "f5aa06de.054208"
]
]
},
{
- "id": "b4d9a4d.005d958",
+ "id": "837e8793.ef9c9",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1773.5,
- "y": 637,
- "z": "f29dedb6.fec708",
+ "x": 1794.5,
+ "y": 653,
+ "z": "d1c71750.37b338",
"wires": [
[
- "ae505877.71061"
+ "96cf4bf8.bd2d6"
]
]
},
{
- "id": "7dfb851.0b49cfc",
+ "id": "cc628d9.cda75f",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1772.5,
- "y": 701,
- "z": "f29dedb6.fec708",
+ "x": 1793.5,
+ "y": 717,
+ "z": "d1c71750.37b338",
"wires": [
[
- "2f24e7f6.a11b28"
+ "514c2d04.fd52e4"
]
]
},
{
- "id": "d713e906.7f455",
+ "id": "b6eb1b8b.204bb",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1745.5,
- "y": 759,
- "z": "f29dedb6.fec708",
+ "x": 1766.5,
+ "y": 775,
+ "z": "d1c71750.37b338",
"wires": [
[
- "42443b38.340f8c"
+ "78158e69.19003"
]
]
},
{
- "id": "973837ca.190aa8",
+ "id": "67413744.703078",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1747.5,
- "y": 816,
- "z": "f29dedb6.fec708",
+ "x": 1768.5,
+ "y": 832,
+ "z": "d1c71750.37b338",
"wires": [
[
- "e3ce9d5.2cdf36"
+ "a78b99c4.9438d"
]
]
},
{
- "id": "6ccb4ca1.2cd06c",
+ "id": "762be29b.5e95bc",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1783.5,
- "y": 867,
- "z": "f29dedb6.fec708",
+ "x": 1804.5,
+ "y": 883,
+ "z": "d1c71750.37b338",
"wires": [
[
- "7054b5f4.206a54"
+ "71f0b03f.45cda"
]
]
},
{
- "id": "b9aa2fd2.814f48",
+ "id": "b47203e8.02223",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1788.5,
- "y": 930,
- "z": "f29dedb6.fec708",
+ "x": 1809.5,
+ "y": 946,
+ "z": "d1c71750.37b338",
"wires": [
[
- "784b972f.0e3428"
+ "89aee34.3120ea"
]
]
},
{
- "id": "7df19f10.00d63",
+ "id": "f47a7f0.182ed8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1784.5,
- "y": 979,
- "z": "f29dedb6.fec708",
+ "x": 1805.5,
+ "y": 995,
+ "z": "d1c71750.37b338",
"wires": [
[
- "206c366c.675522"
+ "767f5368.9e89f4"
]
]
},
{
- "id": "deb16fb4.873d88",
+ "id": "88ef93af.1ec22",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1768.5,
- "y": 1028,
- "z": "f29dedb6.fec708",
+ "x": 1789.5,
+ "y": 1044,
+ "z": "d1c71750.37b338",
"wires": [
[
- "10227f41.369851"
+ "84e8e875.de3c78"
]
]
},
{
- "id": "d9a405e5.0fbd78",
+ "id": "b0c70aaf.aa196",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1765.5,
- "y": 1081,
- "z": "f29dedb6.fec708",
+ "x": 1786.5,
+ "y": 1097,
+ "z": "d1c71750.37b338",
"wires": [
[
- "1799ee09.bb8ffa"
+ "6928b887.0efe58"
]
]
},
{
- "id": "f17cdf9a.1f70e",
+ "id": "6f144e4b.8ca8a",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1778.5,
- "y": 1140,
- "z": "f29dedb6.fec708",
+ "x": 1799.5,
+ "y": 1156,
+ "z": "d1c71750.37b338",
"wires": [
[
- "a6d260a1.f58c48"
+ "1d3a4115.7746c7"
]
]
},
{
- "id": "3676d16.bff3dae",
+ "id": "7db2780.3608008",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1796.5,
- "y": 1326,
- "z": "f29dedb6.fec708",
+ "x": 1817.5,
+ "y": 1342,
+ "z": "d1c71750.37b338",
"wires": [
[
- "8bd5be57.1da07"
+ "6cea4c1f.ab47ac"
]
]
},
{
- "id": "43e3c11a.4b0498",
+ "id": "7f6622dd.022f64",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1803.5,
- "y": 1376,
- "z": "f29dedb6.fec708",
+ "x": 1824.5,
+ "y": 1392,
+ "z": "d1c71750.37b338",
"wires": [
[
- "b62f8a75.a94a88"
+ "e150d4b3.e7c148"
]
]
},
{
- "id": "ab13048a.b0a2",
+ "id": "b96483f6.45c738",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1765.5,
- "y": 1480,
- "z": "f29dedb6.fec708",
+ "x": 1786.5,
+ "y": 1496,
+ "z": "d1c71750.37b338",
"wires": [
[
- "d6461dbb.9360e8"
+ "637cf71c.1ca77"
]
]
},
{
- "id": "f1c21eed.4c6488",
+ "id": "5c246487.156d2c",
"type": "set",
"name": "set topology",
"xml": "<set>\n<parameter name='prop.l3vpn.topology' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1961.5,
- "y": 140,
- "z": "f29dedb6.fec708",
+ "x": 1982.5,
+ "y": 156,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "db52bb2.d3cc7c8",
+ "id": "aef4e4d3.e357c",
"type": "set",
"name": "set technology",
"xml": "<set>\n<parameter name='prop.l3vpn.technology' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1951.5,
- "y": 194,
- "z": "f29dedb6.fec708",
+ "x": 1972.5,
+ "y": 210,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "7c0e170d.30b1d",
+ "id": "913fcc28.6f8338",
"type": "set",
"name": "set site1_name",
"xml": "<set>\n<parameter name='prop.l3vpn.site1_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1955.5,
- "y": 251,
- "z": "f29dedb6.fec708",
+ "x": 1976.5,
+ "y": 267,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "947c8730.9c4b48",
+ "id": "785ee992.13114",
"type": "set",
"name": "set site2_name",
"xml": "<set>\n<parameter name='prop.l3vpn.site2_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1958.5,
- "y": 310,
- "z": "f29dedb6.fec708",
+ "x": 1979.5,
+ "y": 326,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "a06ad2cd.275448",
+ "id": "e33dfd5b.4d737",
"type": "set",
"name": "set sna1_name",
"xml": "<set>\n<parameter name='prop.l3vpn.sna1_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1966.5,
- "y": 372,
- "z": "f29dedb6.fec708",
+ "x": 1987.5,
+ "y": 388,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "b2aa581c.5af32",
+ "id": "a4ccc339.77b078",
"type": "set",
"name": "set sna2_name",
"xml": "<set>\n<parameter name='prop.l3vpn.sna2_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1958.5,
- "y": 432,
- "z": "f29dedb6.fec708",
+ "x": 1979.5,
+ "y": 448,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "72cbbe8e.f6925",
+ "id": "5f722601.0dd94",
"type": "set",
"name": "set pe1_id",
"xml": "<set>\n<parameter name='prop.l3vpn.pe1_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1955.5,
- "y": 492,
- "z": "f29dedb6.fec708",
+ "x": 1976.5,
+ "y": 508,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "d9091182.9c0dc8",
+ "id": "f5aa06de.054208",
"type": "set",
"name": "set pe2_id",
"xml": "<set>\n<parameter name='prop.l3vpn.pe2_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1951.5,
- "y": 563,
- "z": "f29dedb6.fec708",
+ "x": 1972.5,
+ "y": 579,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "ae505877.71061",
+ "id": "96cf4bf8.bd2d6",
"type": "set",
"name": "set ac1_id",
"xml": "<set>\n<parameter name='prop.l3vpn.ac1_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1944.5,
- "y": 629,
- "z": "f29dedb6.fec708",
+ "x": 1965.5,
+ "y": 645,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "2f24e7f6.a11b28",
+ "id": "514c2d04.fd52e4",
"type": "set",
"name": "set ac2_id",
"xml": "<set>\n<parameter name='prop.l3vpn.ac2_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1947.5,
- "y": 696,
- "z": "f29dedb6.fec708",
+ "x": 1968.5,
+ "y": 712,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "42443b38.340f8c",
+ "id": "78158e69.19003",
"type": "set",
"name": "set ac1_ip",
"xml": "<set>\n<parameter name='prop.l3vpn.ac1_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1923.5,
- "y": 762,
- "z": "f29dedb6.fec708",
+ "x": 1944.5,
+ "y": 778,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "e3ce9d5.2cdf36",
+ "id": "a78b99c4.9438d",
"type": "set",
"name": "set ac2_ip",
"xml": "<set>\n<parameter name='prop.l3vpn.ac2_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1927.5,
- "y": 816,
- "z": "f29dedb6.fec708",
+ "x": 1948.5,
+ "y": 832,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "7054b5f4.206a54",
+ "id": "71f0b03f.45cda",
"type": "set",
"name": "set ac1_peer_ip",
"xml": "<set>\n<parameter name='prop.l3vpn.ac1_peer_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1975.5,
- "y": 871,
- "z": "f29dedb6.fec708",
+ "x": 1996.5,
+ "y": 887,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "784b972f.0e3428",
+ "id": "89aee34.3120ea",
"type": "set",
"name": "set ac2_peer_ip",
"xml": "<set>\n<parameter name='prop.l3vpn.ac2_peer_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1971.5,
- "y": 926,
- "z": "f29dedb6.fec708",
+ "x": 1992.5,
+ "y": 942,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "206c366c.675522",
+ "id": "767f5368.9e89f4",
"type": "set",
"name": "set ac1_svlan",
"xml": "<set>\n<parameter name='prop.l3vpn.ac1_svlan' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1965.5,
- "y": 981,
- "z": "f29dedb6.fec708",
+ "x": 1986.5,
+ "y": 997,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "10227f41.369851",
+ "id": "84e8e875.de3c78",
"type": "set",
"name": "set ac2_svlan",
"xml": "<set>\n<parameter name='prop.l3vpn.ac2_svlan' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1962.5,
- "y": 1034,
- "z": "f29dedb6.fec708",
+ "x": 1983.5,
+ "y": 1050,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "1799ee09.bb8ffa",
+ "id": "6928b887.0efe58",
"type": "set",
"name": "set ac1_protocol",
"xml": "<set>\n<parameter name='prop.l3vpn.ac1_protocol' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1960.5,
- "y": 1091,
- "z": "f29dedb6.fec708",
+ "x": 1981.5,
+ "y": 1107,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "a6d260a1.f58c48",
+ "id": "1d3a4115.7746c7",
"type": "set",
"name": "set ac2_protocol",
"xml": "<set>\n<parameter name='prop.l3vpn.ac2_protocol' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1969.5,
- "y": 1143,
- "z": "f29dedb6.fec708",
+ "x": 1990.5,
+ "y": 1159,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "8bd5be57.1da07",
+ "id": "6cea4c1f.ab47ac",
"type": "set",
"name": "set ac1_protocol_bgp_as",
"xml": "<set>\n<parameter name='prop.l3vpn.ac1_protocol_bgp_as' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n<parameter name='prop.l3vpn.peer1-ip' value='`$prop.l3vpn.ac1_ip`' />\n",
"comments": "",
- "x": 2063.5,
- "y": 1347,
- "z": "f29dedb6.fec708",
+ "x": 2084.5,
+ "y": 1363,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "b62f8a75.a94a88",
+ "id": "e150d4b3.e7c148",
"type": "set",
"name": "set ac2_protocol_bgp_as",
"xml": "<set>\n<parameter name='prop.l3vpn.ac2_protocol_bgp_as' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n<parameter name='prop.l3vpn.peer2-ip' value='`$prop.l3vpn.ac2_ip`' />\n",
"comments": "",
- "x": 2075.5,
- "y": 1396,
- "z": "f29dedb6.fec708",
+ "x": 2096.5,
+ "y": 1412,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "d6461dbb.9360e8",
+ "id": "637cf71c.1ca77",
"type": "set",
"name": "set af_type",
"xml": "<set>\n<parameter name='prop.l3vpn.af_type' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1959.5,
- "y": 1490,
- "z": "f29dedb6.fec708",
+ "x": 1980.5,
+ "y": 1506,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "5c9ca6e0.e239a",
+ "id": "e986dd0a.7fdf58",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"Time\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"Method\" value=\"network-topology-operation-create\"/>\n<parameter name=\"SubMethod\" value=\"L3VPN-Config\"/>\n<parameter name=\"l3vpn_name\" value=\"`$prop.l3vpn.name`\"/>\n<parameter name=\"topology\" value=\"`$prop.l3vpn.topology`\"/>\n<parameter name=\"site1_name\" value=\"`$prop.l3vpn.site1_name`\"/>\n<parameter name=\"vpn-policy1-id\" value=\"`$prop.l3vpn.vpn-policy1-id}`\"/>\n<parameter name=\"l3vpn.entry1-id\" value=\"`$prop.l3vpn.entry1-id`\"/>\n<parameter name=\"sna1_name\" value=\"`$prop.l3vpn.sna1_name`\"/>\n<parameter name=\"pe1_id\" value=\"`$prop.l3vpn.pe1_id`\"/>\n<parameter name=\"ac1_id\" value=\"`$prop.l3vpn.ac1_id`\"/>\n<parameter name=\"sna1_svlan\" value=\"`$prop.l3vpn.sna1_svlan`\"/>\n<parameter name=\"ac1-peer-ip\" value=\"`$prop.l3vpn.ac1-peer-ip`\"/>\n<parameter name=\"ac1-ip\" value=\"`$prop.l3vpn.ac1-ip`\"/>\n<parameter name=\"ac1_protocol\" value=\"`$prop.l3vpn.ac1_protocol`\"/>\n<parameter name=\"sna1-route-ip-prefix\" value=\"`$prop.l3vpn.sna1-route-ip-prefix`\"/>\n<parameter name=\"sna1-route-next-hop\" value=\"`$prop.l3vpn.sna1-route-next-hop`\"/>\n<parameter name=\"peer2-ip\" value=\"`$prop.l3vpn.peer2-ip`\"/>\n<parameter name=\"ac2_protocol_bgp_as\" value=\"`$prop.l3vpn.ac2_protocol_bgp_as`\"/>\n<parameter name=\"vrf1-id\" value=\"`$prop.l3vpn.vrf1-id`\"/>\n<parameter name=\"site2_name\" value=\"`$prop.l3vpn.site2_name`\"/>\n<parameter name=\"vpn-policy2-id\" value=\"`$prop.l3vpn.vpn-policy2-id}`\"/>\n<parameter name=\"l3vpn.entry2-id\" value=\"`$prop.l3vpn.entry2-id`\"/>\n<parameter name=\"sna2_name\" value=\"`$prop.l3vpn.sna2_name`\"/>\n<parameter name=\"pe2_id\" value=\"`$prop.l3vpn.pe2_id`\"/>\n<parameter name=\"ac2_id\" value=\"`$prop.l3vpn.ac2_id`\"/>\n<parameter name=\"sna2_svlan\" value=\"`$prop.l3vpn.sna2_svlan`\"/>\n<parameter name=\"ac2-peer-ip\" value=\"`$prop.l3vpn.ac2-peer-ip`\"/>\n<parameter name=\"ac2-ip\" value=\"`$prop.l3vpn.ac2-ip`\"/>\n<parameter name=\"ac2_protocol\" value=\"`$prop.l3vpn.ac2_protocol`\"/>\n<parameter name=\"sna2-route-ip-prefix\" value=\"`$prop.l3vpn.sna2-route-ip-prefix`\"/>\n<parameter name=\"sna2-route-next-hop\" value=\"`$prop.l3vpn.sna2-route-next-hop`\"/>\n<parameter name=\"peer2-ip\" value=\"`$prop.l3vpn.peer2-ip`\"/>\n<parameter name=\"ac2_protocol_bgp_as\" value=\"`$prop.l3vpn.ac2_protocol_bgp_as`\"/>\n<parameter name=\"vrf2-id\" value=\"`$prop.l3vpn.vrf2-id`\"/>\n<parameter name=\"af_type\" value=\"`$prop.l3vpn.af_type`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"network-topology-operation-create\"/>\n<parameter name=\"field3\" value=\"L3VPN-Config\"/>\n<parameter name=\"field4\" value=\"`l3vpn.name`\"/>\n<parameter name=\"field5\" value=\"`$prop.l3vpn.name`\"/>\n<parameter name=\"field6\" value=\"`l3vpn.topology`\"/>\n<parameter name=\"field7\" value=\"`$prop.l3vpn.topology`\"/>\n<parameter name=\"field8\" value=\"`l3vpn.site1_name`\"/>\n<parameter name=\"field9\" value=\"`$prop.l3vpn.site1_name`\"/>\n<parameter name=\"field10\" value=\"`l3vpn.vpn-policy1-id`\"/>\n<parameter name=\"field11\" value=\"`$prop.l3vpn.vpn-policy1-id`\"/>\n<parameter name=\"field12\" value=\"`l3vpn.entry1-id`\"/>\n<parameter name=\"field13\" value=\"`$prop.l3vpn.entry1-id`\"/>\n<parameter name=\"field14\" value=\"`l3vpn.sna1_name`\"/>\n<parameter name=\"field15\" value=\"`$prop.l3vpn.sna1_name`\"/>\n<parameter name=\"field16\" value=\"`l3vpn.pe1_id`\"/>\n<parameter name=\"field17\" value=\"`$prop.l3vpn.pe1_id`\"/>\n<parameter name=\"field18\" value=\"`l3vpn.ac1_id`\"/>\n<parameter name=\"field19\" value=\"`$prop.l3vpn.ac1_id`\"/>\n<parameter name=\"field20\" value=\"`l3vpn.ac1_svlan`\"/>\n<parameter name=\"field21\" value=\"`$prop.l3vpn.ac1_svlan`\"/>\n<parameter name=\"field22\" value=\"`l3vpn.ac1_peer_ip`\"/>\n<parameter name=\"field23\" value=\"`$prop.l3vpn.ac1_peer_ip`\"/>\n<parameter name=\"field24\" value=\"`l3vpn.ac1_ip`\"/>\n<parameter name=\"field25\" value=\"`$prop.l3vpn.ac1_ip`\"/>\n<parameter name=\"field26\" value=\"`l3vpn.ac1_protocol`\"/>\n<parameter name=\"field27\" value=\"`$prop.l3vpn.ac1_protocol`\"/>\n<parameter name=\"field28\" value=\"`l3vpn.sna1-route-ip-prefix`\"/>\n<parameter name=\"field29\" value=\"`$prop.l3vpn.sna1-route-ip-prefix`\"/>\n<parameter name=\"field30\" value=\"`l3vpn.sna1-route-next-hop`\"/>\n<parameter name=\"field31\" value=\"`$prop.l3vpn.sna1-route-next-hop`\"/>\n<parameter name=\"field32\" value=\"`l3vpn.peer1_ip`\"/>\n<parameter name=\"field33\" value=\"`$prop.l3vpn.peer1_ip`\"/>\n<parameter name=\"field34\" value=\"`l3vpn.ac1_protocol_bgp_as`\"/>\n<parameter name=\"field35\" value=\"`$prop.l3vpn.ac1_protocol_bgp_as`\"/>\n<parameter name=\"field36\" value=\"`l3vpn.vrf1-id`\"/>\n<parameter name=\"field37\" value=\"`$prop.l3vpn.vrf1-id`\"/>\n<parameter name=\"field38\" value=\"`l3vpn.site2_name`\"/>\n<parameter name=\"field39\" value=\"`$prop.l3vpn.site2_name`\"/>\n<parameter name=\"field40\" value=\"`l3vpn.vpn-policy2-id`\"/>\n<parameter name=\"field41\" value=\"`$prop.l3vpn.vpn-policy2-id`\"/>\n<parameter name=\"field42\" value=\"`l3vpn.entry2-id`\"/>\n<parameter name=\"field43\" value=\"`$prop.l3vpn.entry2-id`\"/>\n<parameter name=\"field44\" value=\"`l3vpn.sna2_name`\"/>\n<parameter name=\"field45\" value=\"`$prop.l3vpn.sna2_name`\"/>\n<parameter name=\"field46\" value=\"`l3vpn.pe2_id`\"/>\n<parameter name=\"field47\" value=\"`$prop.l3vpn.pe2_id`\"/>\n<parameter name=\"field48\" value=\"`l3vpn.ac2_id`\"/>\n<parameter name=\"field49\" value=\"`$prop.l3vpn.ac2_id`\"/>\n<parameter name=\"field50\" value=\"`l3vpn.ac2_svlan`\"/>\n<parameter name=\"field51\" value=\"`$prop.l3vpn.ac2_svlan`\"/>\n<parameter name=\"field52\" value=\"`l3vpn.ac2_peer_ip`\"/>\n<parameter name=\"field53\" value=\"`$prop.l3vpn.ac2_peer_ip`\"/>\n<parameter name=\"field54\" value=\"`l3vpn.ac2_ip`\"/>\n<parameter name=\"field55\" value=\"`$prop.l3vpn.ac2_ip`\"/>\n<parameter name=\"field56\" value=\"`l3vpn.ac2_protocol`\"/>\n<parameter name=\"field57\" value=\"`$prop.l3vpn.ac2_protocol`\"/>\n<parameter name=\"field58\" value=\"`l3vpn.sna2-route-ip-prefix`\"/>\n<parameter name=\"field59\" value=\"`$prop.l3vpn.sna2-route-ip-prefix`\"/>\n<parameter name=\"field60\" value=\"`l3vpn.sna2-route-next-hop`\"/>\n<parameter name=\"field61\" value=\"`$prop.l3vpn.sna2-route-next-hop`\"/>\n<parameter name=\"field62\" value=\"`l3vpn.peer2_ip`\"/>\n<parameter name=\"field63\" value=\"`$prop.l3vpn.peer2_ip`\"/>\n<parameter name=\"field64\" value=\"`l3vpn.ac2_protocol_bgp_as`\"/>\n<parameter name=\"field65\" value=\"`$prop.l3vpn.ac2_protocol_bgp_as`\"/>\n<parameter name=\"field66\" value=\"`l3vpn.vrf2-id`\"/>\n<parameter name=\"field67\" value=\"`$prop.l3vpn.vrf2-id`\"/>\n<parameter name=\"field68\" value=\"`l3vpn.af_type`\"/>\n<parameter name=\"field69\" value=\"`$prop.l3vpn.af_type`\"/>",
"comments": "",
"outputs": 1,
- "x": 758,
- "y": 741,
- "z": "f29dedb6.fec708",
+ "x": 726,
+ "y": 929.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[]
]
},
{
- "id": "e21a9c92.1f2a28",
+ "id": "ba17de0c.0ea5e",
"type": "switchNode",
"name": "switch service-type",
- "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'service-type'`\">\n",
+ "xml": "<switch test=\"`$prop.l3vpn.service-type`\">\n",
"comments": "",
"outputs": 1,
- "x": 683,
- "y": 881,
- "z": "f29dedb6.fec708",
+ "x": 611,
+ "y": 1143,
+ "z": "d1c71750.37b338",
"wires": [
[
- "35f4cd65.09f49a",
- "75d7a8fd.a7b578",
- "8c0ace1c.3759a8"
+ "5b3da62a.021bd8",
+ "a74379d2.de6ee8",
+ "74148b1.9b52c74"
]
]
},
{
- "id": "35f4cd65.09f49a",
+ "id": "5b3da62a.021bd8",
"type": "outcomeTrue",
"name": "l3vpn-ipwan",
"xml": "<outcome value='l3vpn-ipwan'>\n",
"comments": "",
"outputs": 1,
- "x": 669,
- "y": 806,
- "z": "f29dedb6.fec708",
+ "x": 705,
+ "y": 1070,
+ "z": "d1c71750.37b338",
"wires": [
[
- "97e69226.8d874"
+ "e670cc16.d9893"
]
]
},
{
- "id": "75d7a8fd.a7b578",
+ "id": "a74379d2.de6ee8",
"type": "outcomeTrue",
"name": "l3vpn-sptn",
- "xml": "<outcome value='true'>\n",
+ "xml": "<outcome value='l3vpn-sptn'>\n",
"comments": "",
"outputs": 1,
- "x": 827,
- "y": 949,
- "z": "f29dedb6.fec708",
+ "x": 786,
+ "y": 1258,
+ "z": "d1c71750.37b338",
"wires": [
[
- "6b6b65e4.027114"
+ "257293b6.92d5cc"
]
]
},
{
- "id": "8c0ace1c.3759a8",
+ "id": "74148b1.9b52c74",
"type": "outcomeTrue",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 825,
- "y": 1028,
- "z": "f29dedb6.fec708",
+ "x": 779,
+ "y": 1304,
+ "z": "d1c71750.37b338",
"wires": [
[
- "942583bd.a55fc8"
+ "884fb0f6.de86a8"
]
]
},
{
- "id": "942583bd.a55fc8",
+ "id": "884fb0f6.de86a8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Unexpected error retrieving vpn binding\" />\n\n",
"comments": "",
- "x": 1008,
- "y": 1027,
- "z": "f29dedb6.fec708",
+ "x": 942,
+ "y": 1308,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "151a4cba.fa33e3",
+ "id": "39b02aa1.204f3e",
"type": "execute",
- "name": "execute vpn-policy2-id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vpn-policy2-id\"/>\n",
+ "name": "execute vpn-policy1 entry id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.entry1-id\"/>\n",
"comments": "",
"outputs": 1,
- "x": 799,
- "y": 505,
- "z": "f29dedb6.fec708",
+ "x": 820,
+ "y": 521,
+ "z": "d1c71750.37b338",
"wires": [
[
- "e0623ae9.6063c"
+ "3541c627.27ccaa"
]
]
},
{
- "id": "e0623ae9.6063c",
+ "id": "3541c627.27ccaa",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1024,
- "y": 507.9999694824219,
- "z": "f29dedb6.fec708",
+ "x": 1045,
+ "y": 523.9999694824219,
+ "z": "d1c71750.37b338",
"wires": [
[
- "25b266b0.918a82"
+ "8d7e37e4.d397f8"
]
]
},
{
- "id": "25b266b0.918a82",
+ "id": "8d7e37e4.d397f8",
"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 generation vpn policy ID\" />\n",
"comments": "",
- "x": 1205,
- "y": 505.9999694824219,
- "z": "f29dedb6.fec708",
- "wires": []
- },
- {
- "id": "be047f99.592428",
- "type": "set",
- "name": "set policy entry",
- "xml": "<set>\n<parameter name='prop.l3vpn.entry1-id' value='1' />\n<parameter name='prop.l3vpn.entry2-id' value='1' />\n\n",
- "comments": "",
- "x": 785,
- "y": 553,
- "z": "f29dedb6.fec708",
+ "x": 1226,
+ "y": 521.9999694824219,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "98526d9c.6760b",
+ "id": "521ff026.a9cd98",
"type": "execute",
"name": "execute split ac1-route",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.l3vpn.ac1-route`'/>\n<parameter name=\"regex\" value=\" ## \"/>\n<parameter name=\"ctx_memory_result_key\" value=\"route1\"/>\n",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.l3vpn.ac1_route`'/>\n<parameter name=\"regex\" value=\" ## \"/>\n<parameter name=\"ctx_memory_result_key\" value=\"route1\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2189,
- "y": 1203,
- "z": "f29dedb6.fec708",
+ "x": 2210,
+ "y": 1219,
+ "z": "d1c71750.37b338",
"wires": [
[
- "b220812e.109778",
- "351eda30.07db16"
+ "3c1faef4.86a26a",
+ "9a25c35e.1e45a8"
]
]
},
{
- "id": "bf6d8b73.1d1d2",
+ "id": "5e4ee4bb.9cbae4",
"type": "switchNode",
"name": "switch ac2_route",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_route'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1590,
- "y": 1251,
- "z": "f29dedb6.fec708",
+ "x": 1611,
+ "y": 1267,
+ "z": "d1c71750.37b338",
"wires": [
[
- "7a9c17fc.2f1e08"
+ "991718ef.73c5f8"
]
]
},
{
- "id": "5a7334fb.eef58c",
+ "id": "f615e32b.689a18",
"type": "switchNode",
"name": "switch ac1_route",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_route'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1591,
- "y": 1202,
- "z": "f29dedb6.fec708",
+ "x": 1612,
+ "y": 1218,
+ "z": "d1c71750.37b338",
"wires": [
[
- "56e3cd9c.43986c"
+ "3aadf8aa.0f045"
]
]
},
{
- "id": "56e3cd9c.43986c",
+ "id": "3aadf8aa.0f045",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1763,
- "y": 1200,
- "z": "f29dedb6.fec708",
+ "x": 1784,
+ "y": 1216,
+ "z": "d1c71750.37b338",
"wires": [
[
- "477adf42.483428"
+ "5557f8d.caac508"
]
]
},
{
- "id": "7a9c17fc.2f1e08",
+ "id": "991718ef.73c5f8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1776,
- "y": 1259,
- "z": "f29dedb6.fec708",
+ "x": 1797,
+ "y": 1275,
+ "z": "d1c71750.37b338",
"wires": [
[
- "fc261e72.93fdd8"
+ "1b368566.979a53"
]
]
},
{
- "id": "54fbb9e9.bfa918",
+ "id": "b7b10f53.f8112",
"type": "set",
"name": "set ac1_route",
"xml": "<set>\n<parameter name='prop.l3vpn.ac1_route' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2160,
- "y": 1151,
- "z": "f29dedb6.fec708",
+ "x": 2181,
+ "y": 1167,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "d7d47e9f.d291a8",
+ "id": "963bac78.3bad6",
"type": "set",
"name": "set ac2_route",
"xml": "<set>\n<parameter name='prop.l3vpn.ac2_route' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2158,
- "y": 1251,
- "z": "f29dedb6.fec708",
+ "x": 2179,
+ "y": 1267,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "8d93fa75.d66f9",
+ "id": "e2a6c5f2.23e27",
"type": "execute",
"name": "execute split ac2-route",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.l3vpn.ac2-route`'/>\n<parameter name=\"regex\" value=\" ## \"/>\n<parameter name=\"ctx_memory_result_key\" value=\"route2\"/>\n",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.l3vpn.ac2_route`'/>\n<parameter name=\"regex\" value=\" ## \"/>\n<parameter name=\"ctx_memory_result_key\" value=\"route2\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2182,
- "y": 1296,
- "z": "f29dedb6.fec708",
+ "x": 2203,
+ "y": 1312,
+ "z": "d1c71750.37b338",
"wires": [
[
- "ff5e6e80.75b3d",
- "b6c5cd5f.5be15"
+ "152bd8c5.a555ff",
+ "11ed22fb.50a315"
]
]
},
{
- "id": "477adf42.483428",
+ "id": "5557f8d.caac508",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1914,
- "y": 1200,
- "z": "f29dedb6.fec708",
+ "x": 1935,
+ "y": 1216,
+ "z": "d1c71750.37b338",
"wires": [
[
- "54fbb9e9.bfa918",
- "98526d9c.6760b"
+ "b7b10f53.f8112",
+ "521ff026.a9cd98"
]
]
},
{
- "id": "fc261e72.93fdd8",
+ "id": "1b368566.979a53",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1915,
- "y": 1259,
- "z": "f29dedb6.fec708",
+ "x": 1936,
+ "y": 1275,
+ "z": "d1c71750.37b338",
"wires": [
[
- "d7d47e9f.d291a8",
- "8d93fa75.d66f9"
+ "963bac78.3bad6",
+ "e2a6c5f2.23e27"
]
]
},
{
- "id": "1460f5c7.7bf212",
+ "id": "bee6a021.504aa8",
"type": "execute",
"name": "execute vrf1-id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vrf1-id\"/>\n",
"comments": "",
"outputs": 1,
- "x": 806,
- "y": 608,
- "z": "f29dedb6.fec708",
+ "x": 805,
+ "y": 622.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[
- "d4cb6331.d1fce8"
+ "10ac73af.2eb80c"
]
]
},
{
- "id": "e2d35c41.dd6f5",
+ "id": "f7d82967.39b968",
"type": "execute",
"name": "execute vrf2-id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vrf2-id\"/>\n",
"comments": "",
"outputs": 1,
- "x": 806.3333740234375,
- "y": 666.3333129882812,
- "z": "f29dedb6.fec708",
+ "x": 802.3333740234375,
+ "y": 679.3332824707031,
+ "z": "d1c71750.37b338",
"wires": [
[
- "aa4153ec.2a7508"
+ "49f55adf.c6c134"
]
]
},
{
- "id": "aa4153ec.2a7508",
+ "id": "49f55adf.c6c134",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1031.3333740234375,
- "y": 669.3332824707031,
- "z": "f29dedb6.fec708",
+ "x": 1052.3333740234375,
+ "y": 685.3332824707031,
+ "z": "d1c71750.37b338",
"wires": [
[
- "4a3bd02b.dd7f6"
+ "5fc81484.4dffac"
]
]
},
{
- "id": "d4cb6331.d1fce8",
+ "id": "10ac73af.2eb80c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1031,
- "y": 610.9999694824219,
- "z": "f29dedb6.fec708",
+ "x": 1052,
+ "y": 626.9999694824219,
+ "z": "d1c71750.37b338",
"wires": [
[
- "34c6dafd.7466b6"
+ "36fdab86.85bda4"
]
]
},
{
- "id": "34c6dafd.7466b6",
+ "id": "36fdab86.85bda4",
"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 generation vpn policy ID\" />\n",
"comments": "",
- "x": 1212,
- "y": 608.9999694824219,
- "z": "f29dedb6.fec708",
+ "x": 1233,
+ "y": 624.9999694824219,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "4a3bd02b.dd7f6",
+ "id": "5fc81484.4dffac",
"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 generation vpn policy ID\" />\n",
"comments": "",
- "x": 1212.3333740234375,
- "y": 667.3332824707031,
- "z": "f29dedb6.fec708",
+ "x": 1233.3333740234375,
+ "y": 683.3332824707031,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "97e69226.8d874",
+ "id": "e670cc16.d9893",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 848,
- "y": 806,
- "z": "f29dedb6.fec708",
+ "x": 838,
+ "y": 1135,
+ "z": "d1c71750.37b338",
"wires": [
[
- "d2fcc9e7.aec75",
- "29a0e3d5.f4d32c",
- "c946ab83.d974f8"
+ "ec4c3437.b9425",
+ "c47fb352.4e0cc",
+ "59489a1b.74de3c",
+ "e652cb3f.9ae0d"
]
]
},
{
- "id": "29a0e3d5.f4d32c",
+ "id": "c47fb352.4e0cc",
"type": "execute",
"name": "execute RestApiCallNode IPWAN Site Config",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smvpntemplate.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services'\"/>\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\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir +'/l3smsitetemplate.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/sites'`\"/>\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=\"site-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 1156,
- "y": 801,
- "z": "f29dedb6.fec708",
+ "x": 1106,
+ "y": 1219,
+ "z": "d1c71750.37b338",
"wires": [
- []
+ [
+ "d40cc8a7.624908",
+ "df1ccdd8.7bf27"
+ ]
]
},
{
- "id": "c946ab83.d974f8",
+ "id": "59489a1b.74de3c",
"type": "execute",
"name": "execute RestApiCallNode IPWAN VRF Config",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smvpntemplate.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services'\"/>\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\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir +'/l3smvrftemplate.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/huawei-ac-net-l3vpn-svc-vfi:vrf-attributes'`\"/>\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=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"vrf-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 1154,
- "y": 872,
- "z": "f29dedb6.fec708",
+ "x": 1120,
+ "y": 1122,
+ "z": "d1c71750.37b338",
"wires": [
- []
+ [
+ "d40cc8a7.624908",
+ "550c17e5.cfd818"
+ ]
]
},
{
- "id": "b220812e.109778",
+ "id": "3c1faef4.86a26a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2407,
- "y": 1195,
- "z": "f29dedb6.fec708",
+ "x": 2428,
+ "y": 1211,
+ "z": "d1c71750.37b338",
"wires": [
[
- "c61ec37b.6cd3b8"
+ "d2c4705e.e17128"
]
]
},
{
- "id": "c61ec37b.6cd3b8",
+ "id": "d2c4705e.e17128",
"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": 2588,
- "y": 1193,
- "z": "f29dedb6.fec708",
+ "x": 2609,
+ "y": 1209,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "ff5e6e80.75b3d",
+ "id": "152bd8c5.a555ff",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2405,
- "y": 1297,
- "z": "f29dedb6.fec708",
+ "x": 2426,
+ "y": 1313,
+ "z": "d1c71750.37b338",
"wires": [
[
- "73eb8615.8d24d8"
+ "5215918e.cf6238"
]
]
},
{
- "id": "73eb8615.8d24d8",
+ "id": "5215918e.cf6238",
"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": 2586,
- "y": 1295,
- "z": "f29dedb6.fec708",
+ "x": 2607,
+ "y": 1311,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "351eda30.07db16",
+ "id": "9a25c35e.1e45a8",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2406,
- "y": 1129,
- "z": "f29dedb6.fec708",
+ "x": 2427,
+ "y": 1145,
+ "z": "d1c71750.37b338",
"wires": [
[
- "581ab8c9.51da4"
+ "2af54113.06bac6"
]
]
},
{
- "id": "b6c5cd5f.5be15",
+ "id": "11ed22fb.50a315",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2402,
- "y": 1249,
- "z": "f29dedb6.fec708",
+ "x": 2423,
+ "y": 1265,
+ "z": "d1c71750.37b338",
"wires": [
[
- "f0e238af.ae0bf8"
+ "9994d830.e649d"
]
]
},
{
- "id": "581ab8c9.51da4",
+ "id": "2af54113.06bac6",
"type": "set",
"name": "set route1 ip-prefix next-hop",
"xml": "<set>\n<parameter name='prop.l3vpn.sna1-route.ip-prefix' value='`$route1[0]`' />\n<parameter name='prop.l3vpn.sna1-route.next-hop' value='`$route1[1]`' />\n",
"comments": "",
- "x": 2613,
- "y": 1123,
- "z": "f29dedb6.fec708",
+ "x": 2634,
+ "y": 1139,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "f0e238af.ae0bf8",
+ "id": "9994d830.e649d",
"type": "set",
"name": "set route2 ip-prefix next-hop",
"xml": "<set>\n<parameter name='prop.l3vpn.sna2-route.ip-prefix' value='`$route2[0]`' />\n<parameter name='prop.l3vpn.sna2-route.next-hop' value='`$route2[1]`' />",
"comments": "",
- "x": 2613,
- "y": 1242,
- "z": "f29dedb6.fec708",
+ "x": 2634,
+ "y": 1258,
+ "z": "d1c71750.37b338",
"wires": []
+ },
+ {
+ "id": "e292252a.39cff8",
+ "type": "execute",
+ "name": "execute generate-underlay-network-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.network-id\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 861,
+ "y": 773.0000305175781,
+ "z": "d1c71750.37b338",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "31c5a0ea.7876c",
+ "type": "switchNode",
+ "name": "switch service-data.networks_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 819,
+ "y": 854.0000305175781,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "e20b349f.c8503",
+ "816d3d6d.6345a8"
+ ]
+ ]
+ },
+ {
+ "id": "e20b349f.c8503",
+ "type": "other",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1092.8095703125,
+ "y": 822.9524230957031,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "4ecd5064.971558"
+ ]
+ ]
+ },
+ {
+ "id": "816d3d6d.6345a8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1087.666748046875,
+ "y": 868.6667175292969,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "947799f0.0e982"
+ ]
+ ]
+ },
+ {
+ "id": "4ecd5064.971558",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='0' />\n",
+ "comments": "",
+ "x": 1245.8095703125,
+ "y": 822.5238342285156,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "947799f0.0e982",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
+ "comments": "",
+ "x": 1247.2381591796875,
+ "y": 867.5238952636719,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "f41c462f.8589a",
+ "type": "set",
+ "name": "set network in service-data",
+ "xml": "<set>\n<parameter name=\"service-data.networks.network[$nidx].network-id\" value='`$prop.l3vpn.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\n",
+ "comments": "",
+ "x": 733,
+ "y": 1342.0000305175781,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "58848908.ffbbb",
+ "type": "set",
+ "name": "set networkId and network-object-path",
+ "xml": "<set>\n<parameter name='networkId' value='`$prop.l3vpn.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.l3vpn.network-id + '/network-data/'` \" />",
+ "comments": "",
+ "x": 762,
+ "y": 1387.0000305175781,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "7b14c9f6.80d72",
+ "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": 709,
+ "y": 1576.0000305175781,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "a66c7c7d.376898",
+ "type": "set",
+ "name": "set network-level-oper-status",
+ "xml": "<set>\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`' />",
+ "comments": "",
+ "x": 735,
+ "y": 1434.0000305175781,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "30879b4d.be3994",
+ "type": "get-resource",
+ "name": "get-resource pnf",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $prop.l3vpn.pe1_id AND \n\t\t depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 810,
+ "y": 260.0000305175781,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "48cba823.32bfc",
+ "fe778394.3d9298",
+ "a675b2b2.a64298"
+ ]
+ ]
+ },
+ {
+ "id": "48cba823.32bfc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1132,
+ "y": 150.00003051757812,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "8bb789cd.2a1608"
+ ]
+ ]
+ },
+ {
+ "id": "fe778394.3d9298",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1135.490966796875,
+ "y": 197.57406616210938,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "8f58e126.403b1"
+ ]
+ ]
+ },
+ {
+ "id": "a675b2b2.a64298",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1130.823974609375,
+ "y": 238.90737915039062,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "8d89cc4d.eb7678"
+ ]
+ ]
+ },
+ {
+ "id": "8f58e126.403b1",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
+ "comments": "",
+ "x": 1312.0623779296875,
+ "y": 185.85980224609375,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "8d89cc4d.eb7678",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
+ "comments": "",
+ "x": 1318.5965309143066,
+ "y": 234.34657192230225,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "8bb789cd.2a1608",
+ "type": "set",
+ "name": "set tmp.thirdparty-sdnc-id",
+ "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 1336,
+ "y": 137.00003051757812,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "d54c20dc.cf6128",
+ "type": "save",
+ "name": "save underlay configuration in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='configuration' \n key='configuration.configuration-id = $prop.l3vpn.network-id' >\n<parameter name='configuration-id' value='`$prop.l3vpn.network-id`' />\n<parameter name='configuration-type' value='underlay' />\n<parameter name='configuration-sub-type' value='l3vpn' />\n<parameter name='orchestration-status' value='Created' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$prop.l3vpn.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.l3vpn.network-id + '/network-data/'` \" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 754,
+ "y": 1484.0000305175781,
+ "z": "d1c71750.37b338",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b11968d4.007e68",
+ "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.l3vpn.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.l3vpn.network-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 746,
+ "y": 1530.0000305175781,
+ "z": "d1c71750.37b338",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d3d6530.ff1843",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1258.5,
+ "y": 412,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "79980939.27992",
+ "6566447b.cd16fc",
+ "db1ad825.26052",
+ "612a1bef.8a1a9c",
+ "32815667.56769a",
+ "d99350c4.40314",
+ "e54a4b77.575f08",
+ "a16ad1af.30669",
+ "a9d432.f245a3d",
+ "89f7d244.7bed58",
+ "9e107c02.44f758",
+ "37c58153.b2998e",
+ "9ab7bd24.8d06c8",
+ "c98044e2.7a0fd",
+ "9c377089.4d9f3",
+ "6227130a.b283dc",
+ "87656c47.a73838",
+ "9d6a7f28.4304b",
+ "b0373753.70f0a",
+ "a53453dd.69ab28",
+ "9abdda02.3e776",
+ "e12d824c.4650c8",
+ "46a813fb.9bd0f4",
+ "f615e32b.689a18",
+ "5e4ee4bb.9cbae4"
+ ]
+ ]
+ },
+ {
+ "id": "e652cb3f.9ae0d",
+ "type": "execute",
+ "name": "execute RestApiCallNode Get token",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 979,
+ "y": 927,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "5108fa21.828c5c",
+ "4ae0e1c.42791a"
+ ]
+ ]
+ },
+ {
+ "id": "5108fa21.828c5c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1214,
+ "y": 905,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "8a3a1639.1431d"
+ ]
+ ]
+ },
+ {
+ "id": "4ae0e1c.42791a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1206.25,
+ "y": 958.6428833007812,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "a0998cd9.40253"
+ ]
+ ]
+ },
+ {
+ "id": "a0998cd9.40253",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get token rest api\" />\n",
+ "comments": "",
+ "x": 1359,
+ "y": 958.3929443359375,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "8a3a1639.1431d",
+ "type": "set",
+ "name": "set token-id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
+ "comments": "",
+ "x": 1368,
+ "y": 906,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "d40cc8a7.624908",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1394,
+ "y": 1078,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "28652dba.d39e02"
+ ]
+ ]
+ },
+ {
+ "id": "550c17e5.cfd818",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1401.25,
+ "y": 1172.642822265625,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "d57e2b04.e0fea"
+ ]
+ ]
+ },
+ {
+ "id": "d57e2b04.e0fea",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create vrf rest api\" />\n",
+ "comments": "",
+ "x": 1373,
+ "y": 1357.3929443359375,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "725ceec3.c5b2",
+ "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": 702.96875,
+ "y": 998.0000305175781,
+ "z": "d1c71750.37b338",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "28652dba.d39e02",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1234,
+ "y": 1409,
+ "z": "d1c71750.37b338",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df1ccdd8.7bf27",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1324,
+ "y": 1473,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "948b66a6.ef156"
+ ]
+ ]
+ },
+ {
+ "id": "948b66a6.ef156",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create site rest api\" />\n",
+ "comments": "",
+ "x": 1353.75,
+ "y": 1530.7501220703125,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "359e3cd1.226de4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",
+ "comments": "",
+ "x": 1210,
+ "y": 1061,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "c80688e8.50ffd",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1065,
+ "y": 1058,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "359e3cd1.226de4"
+ ]
+ ]
}
]