summaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api
diff options
context:
space:
mode:
authorramu.n <ramu.n@huawei.com>2017-11-06 18:38:07 +0530
committerramu.n <ramu.n@huawei.com>2017-11-06 18:38:07 +0530
commit2ae55c329e93572344727ef0f14e6eef4bd47976 (patch)
tree79ddd79603eaa35ea735ffa929d1e259d0e41e44 /platform-logic/generic-resource-api
parent5d1d23812be71884b6d6c8d418d7ef326fdd87ab (diff)
Fix underlay DG testing issues
*Fix service-type parameter name issue *Fix SPTN controller JSON template path *Remove configuration-type in relashionship-data Change-Id: I8f11a734bd1ed6db1d302bcc12529ed28875b4a5 Issue-Id: AAI-451 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 4967a3857863b2a31a3c012bf51c2ba705b7c518
Diffstat (limited to 'platform-logic/generic-resource-api')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation-create.json1554
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation-create.xml6
2 files changed, 779 insertions, 781 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation-create.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation-create.json
index 82569490..dc7dae8e 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation-create.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation-create.json
@@ -1,20 +1,20 @@
[
{
- "id": "a804e8b3.b56458",
+ "id": "c755dc6.4fb532",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 152.03125,
- "y": 61.999969482421875,
- "z": "e07ef8ab.015e18",
+ "x": 98,
+ "y": 69,
+ "z": "d1c71750.37b338",
"wires": [
[
- "18e447a7.6f0858"
+ "80264a38.3fce88"
]
]
},
{
- "id": "18e447a7.6f0858",
+ "id": "80264a38.3fce88",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,2227 +22,2227 @@
"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": 364.03125381469727,
- "y": 133.99998664855957,
- "z": "e07ef8ab.015e18",
+ "x": 310.00000381469727,
+ "y": 141.0000171661377,
+ "z": "d1c71750.37b338",
"wires": [
[
- "256df46c.ff714c"
+ "8d5d312f.9d9cd"
]
]
},
{
- "id": "256df46c.ff714c",
+ "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": 352.0313720703125,
- "y": 221.99996948242188,
- "z": "e07ef8ab.015e18",
+ "x": 298.0001220703125,
+ "y": 229,
+ "z": "d1c71750.37b338",
"wires": [
[
- "7cf0fc5e.374144"
+ "b2241a21.76a97"
]
]
},
{
- "id": "7cf0fc5e.374144",
+ "id": "b2241a21.76a97",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 428.03125,
- "y": 620,
- "z": "e07ef8ab.015e18",
+ "x": 374,
+ "y": 627.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[
- "e8bdc14b.b11af",
- "2a05068a.e6721a",
- "e16012fc.ef0af",
- "179dd935.bb3747",
- "37b4efd2.368ed",
- "e431fd19.db908",
- "60db19ec.521588",
- "6a3a805.948d08",
- "77fa32c0.09c32c",
- "cbfd620a.85d71",
- "37c9fe5c.d39282",
- "bb4e39dc.aefd28",
- "90e757cc.0959f8",
- "8c153068.d865f",
- "b9935276.cc7ee",
- "e891bd7f.8fb2d",
- "c20c2a08.dc6768",
- "56419be7.895d24",
- "a13270b7.6c1f5",
- "fb767200.4ff718"
+ "5f4a6be2.122adc",
+ "3b31c47b.b0ee54",
+ "bde939b5.904ee8",
+ "e986dd0a.7fdf58",
+ "ba17de0c.0ea5e",
+ "39b02aa1.204f3e",
+ "eb55ec0a.7da3a8",
+ "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": "1fd5d87a.f37a68",
+ "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.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='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 1175.0314331054688,
- "y": 992.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1121.0001831054688,
+ "y": 1000,
+ "z": "d1c71750.37b338",
"wires": [
[
- "52fc73ef.e7aa0c",
- "b81affca.012b9"
+ "d40cc8a7.624908",
+ "550c17e5.cfd818"
]
]
},
{
- "id": "8d9313d.965c4f",
+ "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.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": 1329.0313110351562,
- "y": 266.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1275.0000610351562,
+ "y": 274,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "e16012fc.ef0af",
+ "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": 870.6978759765625,
- "y": 182.6666259765625,
- "z": "e07ef8ab.015e18",
+ "x": 816.6666259765625,
+ "y": 189.66665649414062,
+ "z": "d1c71750.37b338",
"wires": [
[
- "a0a289d3.8a3128"
+ "d3d6530.ff1843"
]
]
},
{
- "id": "e7cb4067.6cda1",
+ "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.templateDir +'/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.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\"/>",
"comments": "",
"outputs": 1,
- "x": 1211.6981201171875,
- "y": 1232.6667175292969,
- "z": "e07ef8ab.015e18",
+ "x": 1157.6668701171875,
+ "y": 1239.666748046875,
+ "z": "d1c71750.37b338",
"wires": [
[]
]
},
{
- "id": "2a05068a.e6721a",
+ "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": 873.6978759765625,
- "y": 455.6666564941406,
- "z": "e07ef8ab.015e18",
+ "x": 819.6666259765625,
+ "y": 462.66668701171875,
+ "z": "d1c71750.37b338",
"wires": [
[
- "dfa32502.bd43b8"
+ "c0078e33.2f6078"
]
]
},
{
- "id": "dfa32502.bd43b8",
+ "id": "c0078e33.2f6078",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1098.6978759765625,
- "y": 458.6666259765625,
- "z": "e07ef8ab.015e18",
+ "x": 1044.6666259765625,
+ "y": 465.6666564941406,
+ "z": "d1c71750.37b338",
"wires": [
[
- "317318fb.4e9e28"
+ "c5ccda76.692ed"
]
]
},
{
- "id": "317318fb.4e9e28",
+ "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": 1279.6978759765625,
- "y": 456.6666259765625,
- "z": "e07ef8ab.015e18",
+ "x": 1225.6666259765625,
+ "y": 463.6666564941406,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "e8bdc14b.b11af",
+ "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": 925.53125,
- "y": 98.99996948242188,
- "z": "e07ef8ab.015e18",
+ "x": 871.5,
+ "y": 106,
+ "z": "d1c71750.37b338",
"wires": [
[]
]
},
{
- "id": "c20c2a08.dc6768",
+ "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": 886.53125,
- "y": 332.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 832.5,
+ "y": 340,
+ "z": "d1c71750.37b338",
"wires": [
[
- "13f02083.f3783f",
- "ef2a8a2e.104fc8",
- "212aed64.086862"
+ "8dbd8bc6.d1cbd8",
+ "4c28930c.3740a4",
+ "e399b426.d74ce"
]
]
},
{
- "id": "13f02083.f3783f",
+ "id": "8dbd8bc6.d1cbd8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1131.53125,
- "y": 278.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1077.5,
+ "y": 286,
+ "z": "d1c71750.37b338",
"wires": [
[
- "8d9313d.965c4f"
+ "715951e.aa50f3"
]
]
},
{
- "id": "ef2a8a2e.104fc8",
+ "id": "4c28930c.3740a4",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1135.022216796875,
- "y": 326.5740051269531,
- "z": "e07ef8ab.015e18",
+ "x": 1080.990966796875,
+ "y": 333.57403564453125,
+ "z": "d1c71750.37b338",
"wires": [
[
- "be218957.42e218"
+ "ed8f061.2ee11f8"
]
]
},
{
- "id": "212aed64.086862",
+ "id": "e399b426.d74ce",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1130.355224609375,
- "y": 367.9073181152344,
- "z": "e07ef8ab.015e18",
+ "x": 1076.323974609375,
+ "y": 374.9073486328125,
+ "z": "d1c71750.37b338",
"wires": [
[
- "53967fa5.5f3e"
+ "37b86197.b131ae"
]
]
},
{
- "id": "be218957.42e218",
+ "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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
"comments": "",
- "x": 1311.5936279296875,
- "y": 314.8597412109375,
- "z": "e07ef8ab.015e18",
+ "x": 1257.5623779296875,
+ "y": 321.8597717285156,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "53967fa5.5f3e",
+ "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 occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
"comments": "",
- "x": 1318.1277809143066,
- "y": 363.346510887146,
- "z": "e07ef8ab.015e18",
+ "x": 1264.0965309143066,
+ "y": 370.3465414047241,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "8ed22fd9.4d3dc",
+ "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": 1663.53125,
- "y": 33,
- "z": "e07ef8ab.015e18",
+ "x": 1609.5,
+ "y": 40.000030517578125,
+ "z": "d1c71750.37b338",
"wires": [
[
- "80b3ba44.055788"
+ "485e0689.38ce3"
]
]
},
{
- "id": "efdd2674.739ce8",
+ "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": 1667.5311889648438,
- "y": 90.5999755859375,
- "z": "e07ef8ab.015e18",
+ "x": 1613.4999389648438,
+ "y": 97.60000610351562,
+ "z": "d1c71750.37b338",
"wires": [
[
- "6d4384b9.0ebe7c"
+ "95810552.2e3558"
]
]
},
{
- "id": "80b3ba44.055788",
+ "id": "485e0689.38ce3",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1850.53125,
- "y": 29,
- "z": "e07ef8ab.015e18",
+ "x": 1796.5,
+ "y": 36.000030517578125,
+ "z": "d1c71750.37b338",
"wires": [
[
- "9fbc359d.c51268"
+ "8905bcbf.11f838"
]
]
},
{
- "id": "6d4384b9.0ebe7c",
+ "id": "95810552.2e3558",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1852.5311889648438,
- "y": 88.5999755859375,
- "z": "e07ef8ab.015e18",
+ "x": 1798.4999389648438,
+ "y": 95.60000610351562,
+ "z": "d1c71750.37b338",
"wires": [
[
- "afc95f0c.000e8"
+ "4a110462.b2e7b4"
]
]
},
{
- "id": "9fbc359d.c51268",
+ "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": 2018.53125,
- "y": 29.600006103515625,
- "z": "e07ef8ab.015e18",
+ "x": 1964.5,
+ "y": 36.60003662109375,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "afc95f0c.000e8",
+ "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": 2021.5311889648438,
- "y": 86.5999755859375,
- "z": "e07ef8ab.015e18",
+ "x": 1967.4999389648438,
+ "y": 93.60000610351562,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "f576c53a.7be778",
+ "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": 1666.53125,
- "y": 151.99996948242188,
- "z": "e07ef8ab.015e18",
+ "x": 1612.5,
+ "y": 159,
+ "z": "d1c71750.37b338",
"wires": [
[
- "c58b51de.9dcfb"
+ "8e30a166.dc4c3"
]
]
},
{
- "id": "f5da2a66.76d6a8",
+ "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": 1669.53125,
- "y": 204.99996948242188,
- "z": "e07ef8ab.015e18",
+ "x": 1615.5,
+ "y": 212,
+ "z": "d1c71750.37b338",
"wires": [
[
- "22ac483f.40cd08"
+ "4a904aae.350a04"
]
]
},
{
- "id": "9322169f.7e6468",
+ "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": 1674.53125,
- "y": 266.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1620.5,
+ "y": 274,
+ "z": "d1c71750.37b338",
"wires": [
[
- "38b6d1b6.17180e"
+ "8796222c.6fa77"
]
]
},
{
- "id": "41e22f2d.675b9",
+ "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": 1669.53125,
- "y": 329.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1615.5,
+ "y": 337,
+ "z": "d1c71750.37b338",
"wires": [
[
- "486c488e.0a32b8"
+ "f4f0e78c.aadc4"
]
]
},
{
- "id": "fc7aed60.65dde",
+ "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": 1674.53125,
- "y": 389.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1620.5,
+ "y": 397,
+ "z": "d1c71750.37b338",
"wires": [
[
- "915000f3.1120f"
+ "877c7d0f.86dd"
]
]
},
{
- "id": "3fbbe309.27a1fc",
+ "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": 1669.53125,
- "y": 453.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1615.5,
+ "y": 461,
+ "z": "d1c71750.37b338",
"wires": [
[
- "f4543b5c.8e0d38"
+ "d7e263ff.d62088"
]
]
},
{
- "id": "a2bdcc47.ae6fd",
+ "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": 1674.53125,
- "y": 515.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1620.5,
+ "y": 523,
+ "z": "d1c71750.37b338",
"wires": [
[
- "5f3dc9f6.e27f38"
+ "d8f67746.e97618"
]
]
},
{
- "id": "5ff7d202.bbe52c",
+ "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": 1689.53125,
- "y": 575.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1635.5,
+ "y": 583,
+ "z": "d1c71750.37b338",
"wires": [
[
- "e42f30ff.07bec"
+ "1af5cef.1a18eb1"
]
]
},
{
- "id": "70478129.46c8",
+ "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": 1684.53125,
- "y": 647.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1630.5,
+ "y": 655,
+ "z": "d1c71750.37b338",
"wires": [
[
- "88f3112.2d2fdf"
+ "837e8793.ef9c9"
]
]
},
{
- "id": "5b2c84b5.c4133c",
+ "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": 1683.53125,
- "y": 706.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1629.5,
+ "y": 714,
+ "z": "d1c71750.37b338",
"wires": [
[
- "b0791125.97403"
+ "cc628d9.cda75f"
]
]
},
{
- "id": "5f56629a.41d4bc",
+ "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": 1660.53125,
- "y": 769.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1606.5,
+ "y": 777,
+ "z": "d1c71750.37b338",
"wires": [
[
- "8a66ca.58098938"
+ "b6eb1b8b.204bb"
]
]
},
{
- "id": "88ead0cd.822bb",
+ "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": 1663.53125,
- "y": 826.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1609.5,
+ "y": 834,
+ "z": "d1c71750.37b338",
"wires": [
[
- "955fbd96.c1d04"
+ "67413744.703078"
]
]
},
{
- "id": "166443d5.94dbbc",
+ "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": 1669.53125,
- "y": 878.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1615.5,
+ "y": 886,
+ "z": "d1c71750.37b338",
"wires": [
[
- "4db2da85.85e3f4"
+ "762be29b.5e95bc"
]
]
},
{
- "id": "2e267b3e.323f94",
+ "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": 1670.53125,
- "y": 933.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1616.5,
+ "y": 941,
+ "z": "d1c71750.37b338",
"wires": [
[
- "b13a698.e747198"
+ "b47203e8.02223"
]
]
},
{
- "id": "291e6ccb.4ad7e4",
+ "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": 1682.53125,
- "y": 982.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1628.5,
+ "y": 990,
+ "z": "d1c71750.37b338",
"wires": [
[
- "551bf76.d690308"
+ "f47a7f0.182ed8"
]
]
},
{
- "id": "c859e422.4eadc8",
+ "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": 1675.53125,
- "y": 1033.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1621.5,
+ "y": 1041,
+ "z": "d1c71750.37b338",
"wires": [
[
- "dc1c7d76.2b839"
+ "88ef93af.1ec22"
]
]
},
{
- "id": "335bcb16.8452b4",
+ "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": 1668.53125,
- "y": 1091.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1614.5,
+ "y": 1099,
+ "z": "d1c71750.37b338",
"wires": [
[
- "4da810c6.50b18"
+ "b0c70aaf.aa196"
]
]
},
{
- "id": "b8ac331e.cf80f",
+ "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": 1669.53125,
- "y": 1151.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1615.5,
+ "y": 1159,
+ "z": "d1c71750.37b338",
"wires": [
[
- "44c491a0.0f4c8"
+ "6f144e4b.8ca8a"
]
]
},
{
- "id": "eddb16e2.7d3ca8",
+ "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": 1663.53125,
- "y": 1337.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1609.5,
+ "y": 1345,
+ "z": "d1c71750.37b338",
"wires": [
[
- "b3981d6b.c0a51"
+ "7db2780.3608008"
]
]
},
{
- "id": "445b45a7.1c9e2c",
+ "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": 1669.53125,
- "y": 1388.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1615.5,
+ "y": 1396,
+ "z": "d1c71750.37b338",
"wires": [
[
- "d1610ea6.e197e"
+ "7f6622dd.022f64"
]
]
},
{
- "id": "ff841f48.1f039",
+ "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": 1636.53125,
- "y": 1479.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1582.5,
+ "y": 1487,
+ "z": "d1c71750.37b338",
"wires": [
[
- "e0fac181.ab5ff"
+ "b96483f6.45c738"
]
]
},
{
- "id": "c58b51de.9dcfb",
+ "id": "8e30a166.dc4c3",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1841.53125,
- "y": 147.99996948242188,
- "z": "e07ef8ab.015e18",
+ "x": 1787.5,
+ "y": 155,
+ "z": "d1c71750.37b338",
"wires": [
[
- "e6e45965.586a08"
+ "5c246487.156d2c"
]
]
},
{
- "id": "22ac483f.40cd08",
+ "id": "4a904aae.350a04",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1847.53125,
- "y": 200.99996948242188,
- "z": "e07ef8ab.015e18",
+ "x": 1793.5,
+ "y": 208,
+ "z": "d1c71750.37b338",
"wires": [
[
- "48d17e6e.f36ff"
+ "aef4e4d3.e357c"
]
]
},
{
- "id": "38b6d1b6.17180e",
+ "id": "8796222c.6fa77",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1856.53125,
- "y": 262.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1802.5,
+ "y": 270,
+ "z": "d1c71750.37b338",
"wires": [
[
- "b956de5c.88109"
+ "913fcc28.6f8338"
]
]
},
{
- "id": "486c488e.0a32b8",
+ "id": "f4f0e78c.aadc4",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1854.53125,
- "y": 325.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1800.5,
+ "y": 333,
+ "z": "d1c71750.37b338",
"wires": [
[
- "6c41f36c.55709c"
+ "785ee992.13114"
]
]
},
{
- "id": "915000f3.1120f",
+ "id": "877c7d0f.86dd",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1859.53125,
- "y": 387.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1805.5,
+ "y": 395,
+ "z": "d1c71750.37b338",
"wires": [
[
- "681b49b2.42ea78"
+ "e33dfd5b.4d737"
]
]
},
{
- "id": "f4543b5c.8e0d38",
+ "id": "d7e263ff.d62088",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1851.53125,
- "y": 445.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1797.5,
+ "y": 453,
+ "z": "d1c71750.37b338",
"wires": [
[
- "f14e641f.9e6788"
+ "a4ccc339.77b078"
]
]
},
{
- "id": "5f3dc9f6.e27f38",
+ "id": "d8f67746.e97618",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1852.53125,
- "y": 508.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1798.5,
+ "y": 516,
+ "z": "d1c71750.37b338",
"wires": [
[
- "9606bc15.8d1a2"
+ "5f722601.0dd94"
]
]
},
{
- "id": "e42f30ff.07bec",
+ "id": "1af5cef.1a18eb1",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1851.53125,
- "y": 577.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1797.5,
+ "y": 585,
+ "z": "d1c71750.37b338",
"wires": [
[
- "79d385f0.7efcac"
+ "f5aa06de.054208"
]
]
},
{
- "id": "88f3112.2d2fdf",
+ "id": "837e8793.ef9c9",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1848.53125,
- "y": 645.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1794.5,
+ "y": 653,
+ "z": "d1c71750.37b338",
"wires": [
[
- "58081f21.095c5"
+ "96cf4bf8.bd2d6"
]
]
},
{
- "id": "b0791125.97403",
+ "id": "cc628d9.cda75f",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1847.53125,
- "y": 709.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1793.5,
+ "y": 717,
+ "z": "d1c71750.37b338",
"wires": [
[
- "68b74f12.22fc9"
+ "514c2d04.fd52e4"
]
]
},
{
- "id": "8a66ca.58098938",
+ "id": "b6eb1b8b.204bb",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1820.53125,
- "y": 767.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1766.5,
+ "y": 775,
+ "z": "d1c71750.37b338",
"wires": [
[
- "6cb618b4.84d5e8"
+ "78158e69.19003"
]
]
},
{
- "id": "955fbd96.c1d04",
+ "id": "67413744.703078",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1822.53125,
- "y": 824.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1768.5,
+ "y": 832,
+ "z": "d1c71750.37b338",
"wires": [
[
- "3ee47e4b.3ebf92"
+ "a78b99c4.9438d"
]
]
},
{
- "id": "4db2da85.85e3f4",
+ "id": "762be29b.5e95bc",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1858.53125,
- "y": 875.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1804.5,
+ "y": 883,
+ "z": "d1c71750.37b338",
"wires": [
[
- "348c4435.8ca42c"
+ "71f0b03f.45cda"
]
]
},
{
- "id": "b13a698.e747198",
+ "id": "b47203e8.02223",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1863.53125,
- "y": 938.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1809.5,
+ "y": 946,
+ "z": "d1c71750.37b338",
"wires": [
[
- "64d72468.0aecbc"
+ "89aee34.3120ea"
]
]
},
{
- "id": "551bf76.d690308",
+ "id": "f47a7f0.182ed8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1859.53125,
- "y": 987.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1805.5,
+ "y": 995,
+ "z": "d1c71750.37b338",
"wires": [
[
- "f2be5987.ec3938"
+ "767f5368.9e89f4"
]
]
},
{
- "id": "dc1c7d76.2b839",
+ "id": "88ef93af.1ec22",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1843.53125,
- "y": 1036.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1789.5,
+ "y": 1044,
+ "z": "d1c71750.37b338",
"wires": [
[
- "e0e7c091.70bda"
+ "84e8e875.de3c78"
]
]
},
{
- "id": "4da810c6.50b18",
+ "id": "b0c70aaf.aa196",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1840.53125,
- "y": 1089.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1786.5,
+ "y": 1097,
+ "z": "d1c71750.37b338",
"wires": [
[
- "924d0335.b5bfa"
+ "6928b887.0efe58"
]
]
},
{
- "id": "44c491a0.0f4c8",
+ "id": "6f144e4b.8ca8a",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1853.53125,
- "y": 1148.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1799.5,
+ "y": 1156,
+ "z": "d1c71750.37b338",
"wires": [
[
- "880724d2.0ba428"
+ "1d3a4115.7746c7"
]
]
},
{
- "id": "b3981d6b.c0a51",
+ "id": "7db2780.3608008",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1871.53125,
- "y": 1334.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1817.5,
+ "y": 1342,
+ "z": "d1c71750.37b338",
"wires": [
[
- "4b8babb9.30ffb4"
+ "6cea4c1f.ab47ac"
]
]
},
{
- "id": "d1610ea6.e197e",
+ "id": "7f6622dd.022f64",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1878.53125,
- "y": 1384.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1824.5,
+ "y": 1392,
+ "z": "d1c71750.37b338",
"wires": [
[
- "6ee6ff69.e803d"
+ "e150d4b3.e7c148"
]
]
},
{
- "id": "e0fac181.ab5ff",
+ "id": "b96483f6.45c738",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1840.53125,
- "y": 1488.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1786.5,
+ "y": 1496,
+ "z": "d1c71750.37b338",
"wires": [
[
- "a979c4a1.40a538"
+ "637cf71c.1ca77"
]
]
},
{
- "id": "e6e45965.586a08",
+ "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": 2036.53125,
- "y": 148.99996948242188,
- "z": "e07ef8ab.015e18",
+ "x": 1982.5,
+ "y": 156,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "48d17e6e.f36ff",
+ "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": 2026.53125,
- "y": 202.99996948242188,
- "z": "e07ef8ab.015e18",
+ "x": 1972.5,
+ "y": 210,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "b956de5c.88109",
+ "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": 2030.53125,
- "y": 259.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1976.5,
+ "y": 267,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "6c41f36c.55709c",
+ "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": 2033.53125,
- "y": 318.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1979.5,
+ "y": 326,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "681b49b2.42ea78",
+ "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": 2041.53125,
- "y": 380.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1987.5,
+ "y": 388,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "f14e641f.9e6788",
+ "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": 2033.53125,
- "y": 440.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1979.5,
+ "y": 448,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "9606bc15.8d1a2",
+ "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": 2030.53125,
- "y": 500.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1976.5,
+ "y": 508,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "79d385f0.7efcac",
+ "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": 2026.53125,
- "y": 571.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1972.5,
+ "y": 579,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "58081f21.095c5",
+ "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": 2019.53125,
- "y": 637.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1965.5,
+ "y": 645,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "68b74f12.22fc9",
+ "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": 2022.53125,
- "y": 704.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1968.5,
+ "y": 712,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "6cb618b4.84d5e8",
+ "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": 1998.53125,
- "y": 770.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1944.5,
+ "y": 778,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "3ee47e4b.3ebf92",
+ "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": 2002.53125,
- "y": 824.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1948.5,
+ "y": 832,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "348c4435.8ca42c",
+ "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": 2050.53125,
- "y": 879.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1996.5,
+ "y": 887,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "64d72468.0aecbc",
+ "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": 2046.53125,
- "y": 934.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1992.5,
+ "y": 942,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "f2be5987.ec3938",
+ "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": 2040.53125,
- "y": 989.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1986.5,
+ "y": 997,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "e0e7c091.70bda",
+ "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": 2037.53125,
- "y": 1042.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1983.5,
+ "y": 1050,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "924d0335.b5bfa",
+ "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": 2035.53125,
- "y": 1099.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1981.5,
+ "y": 1107,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "880724d2.0ba428",
+ "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": 2044.53125,
- "y": 1151.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1990.5,
+ "y": 1159,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "4b8babb9.30ffb4",
+ "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": 2138.53125,
- "y": 1355.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 2084.5,
+ "y": 1363,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "6ee6ff69.e803d",
+ "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": 2150.53125,
- "y": 1404.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 2096.5,
+ "y": 1412,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "a979c4a1.40a538",
+ "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": 2034.53125,
- "y": 1498.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1980.5,
+ "y": 1506,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "179dd935.bb3747",
+ "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=\"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.sna1_svlan`\"/>\n<parameter name=\"field21\" value=\"`$prop.l3vpn.sna1_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.sna2_svlan`\"/>\n<parameter name=\"field51\" value=\"`$prop.l3vpn.sna2_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": 780.03125,
- "y": 922,
- "z": "e07ef8ab.015e18",
+ "x": 726,
+ "y": 929.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[]
]
},
{
- "id": "37b4efd2.368ed",
+ "id": "ba17de0c.0ea5e",
"type": "switchNode",
"name": "switch service-type",
"xml": "<switch test=\"`$prop.l3vpn.service-type`\">\n",
"comments": "",
"outputs": 1,
- "x": 766.03125,
- "y": 1136,
- "z": "e07ef8ab.015e18",
+ "x": 712,
+ "y": 1143.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[
- "5f9ac484.077c9c",
- "c18acb56.b83a78",
- "cd078531.a90828"
+ "5b3da62a.021bd8",
+ "a74379d2.de6ee8",
+ "74148b1.9b52c74"
]
]
},
{
- "id": "5f9ac484.077c9c",
+ "id": "5b3da62a.021bd8",
"type": "outcomeTrue",
"name": "l3vpn-ipwan",
"xml": "<outcome value='l3vpn-ipwan'>\n",
"comments": "",
"outputs": 1,
- "x": 721.03125,
- "y": 1052.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 667,
+ "y": 1060,
+ "z": "d1c71750.37b338",
"wires": [
[
- "1d6cf5f8.2491ba"
+ "e670cc16.d9893"
]
]
},
{
- "id": "c18acb56.b83a78",
+ "id": "a74379d2.de6ee8",
"type": "outcomeTrue",
"name": "l3vpn-sptn",
"xml": "<outcome value='l3vpn-sptn'>\n",
"comments": "",
"outputs": 1,
- "x": 910.03125,
- "y": 1239.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 856,
+ "y": 1247,
+ "z": "d1c71750.37b338",
"wires": [
[
- "e7cb4067.6cda1"
+ "257293b6.92d5cc"
]
]
},
{
- "id": "cd078531.a90828",
+ "id": "74148b1.9b52c74",
"type": "outcomeTrue",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 906.03125,
- "y": 1283.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 852,
+ "y": 1291,
+ "z": "d1c71750.37b338",
"wires": [
[
- "416a0e63.5f9fd"
+ "884fb0f6.de86a8"
]
]
},
{
- "id": "416a0e63.5f9fd",
+ "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": 1089.03125,
- "y": 1282.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1035,
+ "y": 1290,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "e431fd19.db908",
+ "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",
"comments": "",
"outputs": 1,
- "x": 874.03125,
- "y": 513.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 820,
+ "y": 521,
+ "z": "d1c71750.37b338",
"wires": [
[
- "e47d8379.95768"
+ "3541c627.27ccaa"
]
]
},
{
- "id": "e47d8379.95768",
+ "id": "3541c627.27ccaa",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1099.03125,
- "y": 516.9999389648438,
- "z": "e07ef8ab.015e18",
+ "x": 1045,
+ "y": 523.9999694824219,
+ "z": "d1c71750.37b338",
"wires": [
[
- "40959179.398c3"
+ "8d7e37e4.d397f8"
]
]
},
{
- "id": "40959179.398c3",
+ "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": 1280.03125,
- "y": 514.9999389648438,
- "z": "e07ef8ab.015e18",
+ "x": 1226,
+ "y": 521.9999694824219,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "60db19ec.521588",
+ "id": "eb55ec0a.7da3a8",
"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": 860.03125,
- "y": 561.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 806,
+ "y": 569,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "d251597.7e75fa8",
+ "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",
"comments": "",
"outputs": 1,
- "x": 2264.03125,
- "y": 1211.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 2210,
+ "y": 1219,
+ "z": "d1c71750.37b338",
"wires": [
[
- "ae511c3e.94835",
- "845f5d8b.5aedb"
+ "3c1faef4.86a26a",
+ "9a25c35e.1e45a8"
]
]
},
{
- "id": "3d30a696.2b7b1a",
+ "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": 1665.03125,
- "y": 1259.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1611,
+ "y": 1267,
+ "z": "d1c71750.37b338",
"wires": [
[
- "9a5b5bf2.72a888"
+ "991718ef.73c5f8"
]
]
},
{
- "id": "b523547.75bb8a8",
+ "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": 1666.03125,
- "y": 1210.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1612,
+ "y": 1218,
+ "z": "d1c71750.37b338",
"wires": [
[
- "9ff44c29.6405d"
+ "3aadf8aa.0f045"
]
]
},
{
- "id": "9ff44c29.6405d",
+ "id": "3aadf8aa.0f045",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1838.03125,
- "y": 1208.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1784,
+ "y": 1216,
+ "z": "d1c71750.37b338",
"wires": [
[
- "2e411316.00315c"
+ "5557f8d.caac508"
]
]
},
{
- "id": "9a5b5bf2.72a888",
+ "id": "991718ef.73c5f8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1851.03125,
- "y": 1267.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1797,
+ "y": 1275,
+ "z": "d1c71750.37b338",
"wires": [
[
- "32e0dd94.666fd2"
+ "1b368566.979a53"
]
]
},
{
- "id": "5f19aec4.6ad74",
+ "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": 2235.03125,
- "y": 1159.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 2181,
+ "y": 1167,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "9023cfe1.d4f31",
+ "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": 2233.03125,
- "y": 1259.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 2179,
+ "y": 1267,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "41f4f428.bf7e9c",
+ "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",
"comments": "",
"outputs": 1,
- "x": 2257.03125,
- "y": 1304.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 2203,
+ "y": 1312,
+ "z": "d1c71750.37b338",
"wires": [
[
- "4dbe6198.e585d",
- "a3ddc382.f46b1"
+ "152bd8c5.a555ff",
+ "11ed22fb.50a315"
]
]
},
{
- "id": "2e411316.00315c",
+ "id": "5557f8d.caac508",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1989.03125,
- "y": 1208.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1935,
+ "y": 1216,
+ "z": "d1c71750.37b338",
"wires": [
[
- "5f19aec4.6ad74",
- "d251597.7e75fa8"
+ "b7b10f53.f8112",
+ "521ff026.a9cd98"
]
]
},
{
- "id": "32e0dd94.666fd2",
+ "id": "1b368566.979a53",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1990.03125,
- "y": 1267.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1936,
+ "y": 1275,
+ "z": "d1c71750.37b338",
"wires": [
[
- "9023cfe1.d4f31",
- "41f4f428.bf7e9c"
+ "963bac78.3bad6",
+ "e2a6c5f2.23e27"
]
]
},
{
- "id": "6a3a805.948d08",
+ "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": 859.03125,
- "y": 615,
- "z": "e07ef8ab.015e18",
+ "x": 805,
+ "y": 622.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[
- "f9f8e182.59549"
+ "10ac73af.2eb80c"
]
]
},
{
- "id": "77fa32c0.09c32c",
+ "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": 856.3646240234375,
- "y": 672.333251953125,
- "z": "e07ef8ab.015e18",
+ "x": 802.3333740234375,
+ "y": 679.3332824707031,
+ "z": "d1c71750.37b338",
"wires": [
[
- "b3b56f86.3d1b4"
+ "49f55adf.c6c134"
]
]
},
{
- "id": "b3b56f86.3d1b4",
+ "id": "49f55adf.c6c134",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1106.3646240234375,
- "y": 678.333251953125,
- "z": "e07ef8ab.015e18",
+ "x": 1052.3333740234375,
+ "y": 685.3332824707031,
+ "z": "d1c71750.37b338",
"wires": [
[
- "346cd637.94b0aa"
+ "5fc81484.4dffac"
]
]
},
{
- "id": "f9f8e182.59549",
+ "id": "10ac73af.2eb80c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1106.03125,
- "y": 619.9999389648438,
- "z": "e07ef8ab.015e18",
+ "x": 1052,
+ "y": 626.9999694824219,
+ "z": "d1c71750.37b338",
"wires": [
[
- "417e4c2f.a2f9c4"
+ "36fdab86.85bda4"
]
]
},
{
- "id": "417e4c2f.a2f9c4",
+ "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": 1287.03125,
- "y": 617.9999389648438,
- "z": "e07ef8ab.015e18",
+ "x": 1233,
+ "y": 624.9999694824219,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "346cd637.94b0aa",
+ "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": 1287.3646240234375,
- "y": 676.333251953125,
- "z": "e07ef8ab.015e18",
+ "x": 1233.3333740234375,
+ "y": 683.3332824707031,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "1d6cf5f8.2491ba",
+ "id": "e670cc16.d9893",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 888.03125,
- "y": 1052.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 834,
+ "y": 1060,
+ "z": "d1c71750.37b338",
"wires": [
[
- "1fd5d87a.f37a68",
- "f5fc661b.cec638",
- "43e96ef8.0066a",
- "be278e7d.aed"
+ "ec4c3437.b9425",
+ "c47fb352.4e0cc",
+ "59489a1b.74de3c",
+ "e652cb3f.9ae0d"
]
]
},
{
- "id": "f5fc661b.cec638",
+ "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.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='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 1165.03125,
- "y": 1174,
- "z": "e07ef8ab.015e18",
+ "x": 1111,
+ "y": 1181.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[
- "52fc73ef.e7aa0c",
- "b81affca.012b9"
+ "d40cc8a7.624908",
+ "550c17e5.cfd818"
]
]
},
{
- "id": "43e96ef8.0066a",
+ "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.restapi.templateDir +'/l3smvrftemplate.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"vrf-result\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 1145.03125,
- "y": 1114,
- "z": "e07ef8ab.015e18",
+ "x": 1091,
+ "y": 1121.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[
- "52fc73ef.e7aa0c",
- "b81affca.012b9"
+ "d40cc8a7.624908",
+ "550c17e5.cfd818"
]
]
},
{
- "id": "ae511c3e.94835",
+ "id": "3c1faef4.86a26a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2482.03125,
- "y": 1203.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 2428,
+ "y": 1211,
+ "z": "d1c71750.37b338",
"wires": [
[
- "ea661cf9.3185a"
+ "d2c4705e.e17128"
]
]
},
{
- "id": "ea661cf9.3185a",
+ "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": 2663.03125,
- "y": 1201.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 2609,
+ "y": 1209,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "4dbe6198.e585d",
+ "id": "152bd8c5.a555ff",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2480.03125,
- "y": 1305.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 2426,
+ "y": 1313,
+ "z": "d1c71750.37b338",
"wires": [
[
- "2064e87c.06ee48"
+ "5215918e.cf6238"
]
]
},
{
- "id": "2064e87c.06ee48",
+ "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": 2661.03125,
- "y": 1303.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 2607,
+ "y": 1311,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "845f5d8b.5aedb",
+ "id": "9a25c35e.1e45a8",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2481.03125,
- "y": 1137.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 2427,
+ "y": 1145,
+ "z": "d1c71750.37b338",
"wires": [
[
- "fe317b98.435f38"
+ "2af54113.06bac6"
]
]
},
{
- "id": "a3ddc382.f46b1",
+ "id": "11ed22fb.50a315",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2477.03125,
- "y": 1257.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 2423,
+ "y": 1265,
+ "z": "d1c71750.37b338",
"wires": [
[
- "c67b184d.c90998"
+ "9994d830.e649d"
]
]
},
{
- "id": "fe317b98.435f38",
+ "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": 2688.03125,
- "y": 1131.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 2634,
+ "y": 1139,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "c67b184d.c90998",
+ "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": 2688.03125,
- "y": 1250.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 2634,
+ "y": 1258,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "cbfd620a.85d71",
+ "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": 915.03125,
- "y": 766,
- "z": "e07ef8ab.015e18",
+ "x": 861,
+ "y": 773.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[]
]
},
{
- "id": "37c9fe5c.d39282",
+ "id": "31c5a0ea.7876c",
"type": "switchNode",
"name": "switch service-data.networks_length",
"xml": "<switch test='`$service-data.networks.network_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 873.03125,
- "y": 847,
- "z": "e07ef8ab.015e18",
+ "x": 819,
+ "y": 854.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[
- "e9c16900.4e5438",
- "e8407f7c.3cfd8"
+ "e20b349f.c8503",
+ "816d3d6d.6345a8"
]
]
},
{
- "id": "e9c16900.4e5438",
+ "id": "e20b349f.c8503",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1146.8408203125,
- "y": 815.952392578125,
- "z": "e07ef8ab.015e18",
+ "x": 1092.8095703125,
+ "y": 822.9524230957031,
+ "z": "d1c71750.37b338",
"wires": [
[
- "8caf1520.ea5d28"
+ "4ecd5064.971558"
]
]
},
{
- "id": "e8407f7c.3cfd8",
+ "id": "816d3d6d.6345a8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1141.697998046875,
- "y": 861.6666870117188,
- "z": "e07ef8ab.015e18",
+ "x": 1087.666748046875,
+ "y": 868.6667175292969,
+ "z": "d1c71750.37b338",
"wires": [
[
- "3d0ae0cb.0b75"
+ "947799f0.0e982"
]
]
},
{
- "id": "8caf1520.ea5d28",
+ "id": "4ecd5064.971558",
"type": "set",
"name": "set nidx",
"xml": "<set>\n<parameter name='nidx' value='0' />\n",
"comments": "",
- "x": 1299.8408203125,
- "y": 815.5238037109375,
- "z": "e07ef8ab.015e18",
+ "x": 1245.8095703125,
+ "y": 822.5238342285156,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "3d0ae0cb.0b75",
+ "id": "947799f0.0e982",
"type": "set",
"name": "set nidx",
"xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
"comments": "",
- "x": 1301.2694091796875,
- "y": 860.5238647460938,
- "z": "e07ef8ab.015e18",
+ "x": 1247.2381591796875,
+ "y": 867.5238952636719,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "bb4e39dc.aefd28",
+ "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": 787.03125,
- "y": 1335,
- "z": "e07ef8ab.015e18",
+ "x": 733,
+ "y": 1342.0000305175781,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "90e757cc.0959f8",
+ "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": 816.03125,
- "y": 1380,
- "z": "e07ef8ab.015e18",
+ "x": 762,
+ "y": 1387.0000305175781,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "8c153068.d865f",
+ "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": 763.03125,
- "y": 1569,
- "z": "e07ef8ab.015e18",
+ "x": 709,
+ "y": 1576.0000305175781,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "b9935276.cc7ee",
+ "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": 789.03125,
- "y": 1427,
- "z": "e07ef8ab.015e18",
+ "x": 735,
+ "y": 1434.0000305175781,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "e891bd7f.8fb2d",
+ "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": 864.03125,
- "y": 253,
- "z": "e07ef8ab.015e18",
+ "x": 810,
+ "y": 260.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[
- "65bf056c.a7d85c",
- "fae17ce6.d5a8d",
- "fdfd8ef.d5d287"
+ "48cba823.32bfc",
+ "fe778394.3d9298",
+ "a675b2b2.a64298"
]
]
},
{
- "id": "65bf056c.a7d85c",
+ "id": "48cba823.32bfc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1186.03125,
- "y": 143,
- "z": "e07ef8ab.015e18",
+ "x": 1132,
+ "y": 150.00003051757812,
+ "z": "d1c71750.37b338",
"wires": [
[
- "f138cb6b.a435c8"
+ "8bb789cd.2a1608"
]
]
},
{
- "id": "fae17ce6.d5a8d",
+ "id": "fe778394.3d9298",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1189.522216796875,
- "y": 190.57403564453125,
- "z": "e07ef8ab.015e18",
+ "x": 1135.490966796875,
+ "y": 197.57406616210938,
+ "z": "d1c71750.37b338",
"wires": [
[
- "922f5f08.50eaa"
+ "8f58e126.403b1"
]
]
},
{
- "id": "fdfd8ef.d5d287",
+ "id": "a675b2b2.a64298",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1184.855224609375,
- "y": 231.9073486328125,
- "z": "e07ef8ab.015e18",
+ "x": 1130.823974609375,
+ "y": 238.90737915039062,
+ "z": "d1c71750.37b338",
"wires": [
[
- "c6cd8782.fae7f8"
+ "8d89cc4d.eb7678"
]
]
},
{
- "id": "922f5f08.50eaa",
+ "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": 1366.0936279296875,
- "y": 178.85977172851562,
- "z": "e07ef8ab.015e18",
+ "x": 1312.0623779296875,
+ "y": 185.85980224609375,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "c6cd8782.fae7f8",
+ "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": 1372.6277809143066,
- "y": 227.34654140472412,
- "z": "e07ef8ab.015e18",
+ "x": 1318.5965309143066,
+ "y": 234.34657192230225,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "f138cb6b.a435c8",
+ "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": 1390.03125,
- "y": 130,
- "z": "e07ef8ab.015e18",
+ "x": 1336,
+ "y": 137.00003051757812,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "56419be7.895d24",
+ "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": 808.03125,
- "y": 1477,
- "z": "e07ef8ab.015e18",
+ "x": 754,
+ "y": 1484.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[]
]
},
{
- "id": "a13270b7.6c1f5",
+ "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`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"configuration.configuration-type\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value=\"underlay\" />",
+ "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": 800.03125,
- "y": 1523,
- "z": "e07ef8ab.015e18",
+ "x": 746,
+ "y": 1530.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[]
]
},
{
- "id": "a0a289d3.8a3128",
+ "id": "d3d6530.ff1843",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1312.53125,
- "y": 404.9999694824219,
- "z": "e07ef8ab.015e18",
- "wires": [
- [
- "8ed22fd9.4d3dc",
- "efdd2674.739ce8",
- "f576c53a.7be778",
- "f5da2a66.76d6a8",
- "9322169f.7e6468",
- "41e22f2d.675b9",
- "fc7aed60.65dde",
- "3fbbe309.27a1fc",
- "a2bdcc47.ae6fd",
- "5ff7d202.bbe52c",
- "70478129.46c8",
- "5b2c84b5.c4133c",
- "5f56629a.41d4bc",
- "88ead0cd.822bb",
- "166443d5.94dbbc",
- "2e267b3e.323f94",
- "291e6ccb.4ad7e4",
- "c859e422.4eadc8",
- "335bcb16.8452b4",
- "b8ac331e.cf80f",
- "eddb16e2.7d3ca8",
- "445b45a7.1c9e2c",
- "ff841f48.1f039",
- "b523547.75bb8a8",
- "3d30a696.2b7b1a"
- ]
- ]
- },
- {
- "id": "be278e7d.aed",
+ "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\"/>",
"comments": "",
"outputs": 1,
- "x": 1033.03125,
- "y": 919.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 979,
+ "y": 927,
+ "z": "d1c71750.37b338",
"wires": [
[
- "33fe71db.48126e",
- "3c08e3ae.fb245c"
+ "5108fa21.828c5c",
+ "4ae0e1c.42791a"
]
]
},
{
- "id": "33fe71db.48126e",
+ "id": "5108fa21.828c5c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1268.03125,
- "y": 897.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1214,
+ "y": 905,
+ "z": "d1c71750.37b338",
"wires": [
[
- "b2de4cc8.de5ec"
+ "8a3a1639.1431d"
]
]
},
{
- "id": "3c08e3ae.fb245c",
+ "id": "4ae0e1c.42791a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1260.28125,
- "y": 951.6428527832031,
- "z": "e07ef8ab.015e18",
+ "x": 1206.25,
+ "y": 958.6428833007812,
+ "z": "d1c71750.37b338",
"wires": [
[
- "49c53683.778b88"
+ "a0998cd9.40253"
]
]
},
{
- "id": "49c53683.778b88",
+ "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": 1413.03125,
- "y": 951.3929138183594,
- "z": "e07ef8ab.015e18",
+ "x": 1359,
+ "y": 958.3929443359375,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "b2de4cc8.de5ec",
+ "id": "8a3a1639.1431d",
"type": "set",
"name": "set token-id",
"xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='$token-result.token_id' />\n",
"comments": "",
- "x": 1422.03125,
- "y": 898.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1368,
+ "y": 906,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "52fc73ef.e7aa0c",
+ "id": "d40cc8a7.624908",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1448.03125,
- "y": 1070.9999694824219,
- "z": "e07ef8ab.015e18",
+ "x": 1394,
+ "y": 1078,
+ "z": "d1c71750.37b338",
"wires": [
[]
]
},
{
- "id": "b81affca.012b9",
+ "id": "550c17e5.cfd818",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1455.28125,
- "y": 1165.6427917480469,
- "z": "e07ef8ab.015e18",
+ "x": 1401.25,
+ "y": 1172.642822265625,
+ "z": "d1c71750.37b338",
"wires": [
[
- "5c541133.bfa8d"
+ "d57e2b04.e0fea"
]
]
},
{
- "id": "5c541133.bfa8d",
+ "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 3rd party controller rest api\" />\n",
"comments": "",
- "x": 1427.03125,
- "y": 1350.3929138183594,
- "z": "e07ef8ab.015e18",
+ "x": 1373,
+ "y": 1357.3929443359375,
+ "z": "d1c71750.37b338",
"wires": []
},
{
- "id": "fb767200.4ff718",
+ "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": 757,
- "y": 991,
- "z": "e07ef8ab.015e18",
+ "x": 702.96875,
+ "y": 998.0000305175781,
+ "z": "d1c71750.37b338",
"wires": [
[]
]
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation-create.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation-create.xml
index 7b6df3e3..d7ee6d01 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation-create.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation-create.xml
@@ -12,7 +12,7 @@
</set>
</outcome>
</switch>
- <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'service-type'`">
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'serviceType'`">
<outcome value="true">
<set>
<parameter name="prop.l3vpn.service-type" value="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`" />
@@ -477,7 +477,7 @@
</outcome>
<outcome value="l3vpn-sptn">
<execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest">
- <parameter name="templateFileName" value="$prop.sdncRestApi.templateDir +'/l3smsitetemplate.json'" />
+ <parameter name="templateFileName" value="$prop.restapi.templateDir +'/sptn-l3vpn-template.json'" />
<parameter name="restapiUrl" value="$prop.sdncRestApi.thirdpartySdnc.url" />
<parameter name="restapiUser" value="$prop.sdncRestApi.thirdpartySdnc.user" />
<parameter name="restapiPassword" value="$prop.sdncRestApi.thirdpartySdnc.password" />
@@ -526,8 +526,6 @@
<parameter name="relationship-list.relationship[0].related-link" value="`'/network/configurations/configuration/' + $prop.l3vpn.network-id`" />
<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="configuration.configuration-id" />
<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.l3vpn.network-id`" />
- <parameter name="relationship-list.relationship[0].relationship-data[1].relationship-key" value="configuration.configuration-type" />
- <parameter name="relationship-list.relationship[0].relationship-data[1].relationship-value" value="underlay" />
</save>
<return status="success">
<parameter name="ack-final-indicator" value="Y" />