aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-09-28 10:36:57 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-28 10:36:57 +0000
commit464be6fc08dab9ae5b41bd3f6ea28b006dc05176 (patch)
tree816eaf035c6348b3c947baba9ed1b80657205424 /platform-logic/generic-resource-api/src
parentbe72599d4037a6968cfba75d824c5c14a57bd556 (diff)
parent2525bca72e0a278cbae44f6ad1c127c8c70614b3 (diff)
Merge "Update DG validate-network-input-parameters"
Former-commit-id: 3677f3cdd048c430de6c160517bb89e2f7acc2a0
Diffstat (limited to 'platform-logic/generic-resource-api/src')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json1123
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-network-input-parameters.xml537
2 files changed, 1228 insertions, 432 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json
index fe73cda7..7b6edb28 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json
@@ -1,20 +1,20 @@
[
{
- "id": "12b79dd.fcf1ae2",
+ "id": "fbeebb28.041148",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 80,
- "y": 85.76192092895508,
- "z": "c6f0d3f1.455d9",
+ "x": 132.85714721679688,
+ "y": 178.57142639160156,
+ "z": "41919c74.be6e64",
"wires": [
[
- "45289095.8730c"
+ "664d9ba9.99b264"
]
]
},
{
- "id": "45289095.8730c",
+ "id": "664d9ba9.99b264",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,883 +22,1396 @@
"comments": "",
"xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
"outputs": 1,
- "x": 325.2857131958008,
- "y": 85,
- "z": "c6f0d3f1.455d9",
+ "x": 378.14286041259766,
+ "y": 177.80950546264648,
+ "z": "41919c74.be6e64",
"wires": [
[
- "54e5c542.fd5504"
+ "486551e4.b79ab"
]
]
},
{
- "id": "54e5c542.fd5504",
+ "id": "486551e4.b79ab",
"type": "method",
"name": "method validate-network-input-parameters",
"xml": "<method rpc='validate-network-input-parameters' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 282.91668701171875,
- "y": 160.0149383544922,
- "z": "c6f0d3f1.455d9",
+ "x": 335.7738342285156,
+ "y": 252.82444381713867,
+ "z": "41919c74.be6e64",
"wires": [
[
- "4aa39923.928d98"
+ "d58b2e53.2a74d"
]
]
},
{
- "id": "4aa39923.928d98",
+ "id": "d58b2e53.2a74d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 566.9166946411133,
- "y": 148.0149631500244,
- "z": "c6f0d3f1.455d9",
+ "x": 619.7738418579102,
+ "y": 240.8244686126709,
+ "z": "41919c74.be6e64",
"wires": [
[
- "588fd95a.bd649",
- "3dc5112.e6e5c6e"
+ "d7a4de3d.285b2",
+ "cec7d28c.31383"
]
]
},
{
- "id": "588fd95a.bd649",
+ "id": "d7a4de3d.285b2",
"type": "switchNode",
"name": "switch svc-action",
"xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 847.9166946411133,
- "y": 143.01494884490967,
- "z": "c6f0d3f1.455d9",
+ "x": 900.7738418579102,
+ "y": 235.82445430755615,
+ "z": "41919c74.be6e64",
"wires": [
[
- "bea9cc02.adf488"
+ "bb379126.44c87"
]
]
},
{
- "id": "bea9cc02.adf488",
+ "id": "bb379126.44c87",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1038.6309967041016,
- "y": 144.01494979858398,
- "z": "c6f0d3f1.455d9",
+ "x": 1091.4881439208984,
+ "y": 236.82445526123047,
+ "z": "41919c74.be6e64",
"wires": [
[
- "c0743608.2f921"
+ "b6f565f3.490a98"
]
]
},
{
- "id": "c0743608.2f921",
+ "id": "b6f565f3.490a98",
"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=\"sdnc-request-header.svc-request-id is a required input\" />\n",
"comments": "",
- "x": 1213.0595474243164,
- "y": 143.01494216918945,
- "z": "c6f0d3f1.455d9",
+ "x": 1265.9166946411133,
+ "y": 235.82444763183594,
+ "z": "41919c74.be6e64",
"wires": []
},
{
- "id": "3dc5112.e6e5c6e",
+ "id": "cec7d28c.31383",
"type": "switchNode",
"name": "switch svc-action",
"xml": "<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 148.91664123535156,
- "y": 419.0149631500244,
- "z": "c6f0d3f1.455d9",
+ "x": 201.77378845214844,
+ "y": 511.8244686126709,
+ "z": "41919c74.be6e64",
"wires": [
[
- "3acc66b9.f1e56a",
- "69b2a932.e384a",
- "48c30fe1.37ee2",
- "3a0a08f8.ab065"
+ "75d754ee.8a28ac",
+ "ad892566.5276d8",
+ "481e2179.b7e1e",
+ "60a2dfba.9f5d2",
+ "655825a3.9aa7dc"
]
]
},
{
- "id": "3acc66b9.f1e56a",
+ "id": "75d754ee.8a28ac",
"type": "outcome",
"name": "assign",
"xml": "<outcome value='assign'>\n",
"comments": "",
"outputs": 1,
- "x": 350.4167251586914,
- "y": 419.0149631500244,
- "z": "c6f0d3f1.455d9",
+ "x": 403.2738723754883,
+ "y": 511.8244686126709,
+ "z": "41919c74.be6e64",
"wires": [
[
- "3f05f182.7a112e"
+ "a5452c63.5abad"
]
]
},
{
- "id": "3f05f182.7a112e",
+ "id": "a5452c63.5abad",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 516.4167327880859,
- "y": 419.0149631500244,
- "z": "c6f0d3f1.455d9",
+ "x": 569.2738800048828,
+ "y": 511.8244686126709,
+ "z": "41919c74.be6e64",
"wires": [
[
- "4000702f.bf217"
+ "70b2b7d8.8f4d48"
]
]
},
{
- "id": "b0353d83.d95fc8",
+ "id": "2111484.fdeeeb8",
"type": "for",
"name": "for loop i - Network input parameters",
"xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-information.network-request-input.network-input-parameters.param_length`\">\n",
"comments": "",
"outputs": 1,
- "x": 839.9165649414062,
- "y": 457.01495361328125,
- "z": "c6f0d3f1.455d9",
+ "x": 1768.488021850586,
+ "y": 175.53873825073242,
+ "z": "41919c74.be6e64",
"wires": [
[
- "4b65836a.da71a4"
+ "23ff25d7.dc00da"
]
]
},
{
- "id": "314ef392.5c55f4",
+ "id": "b6c6c32e.49394",
"type": "switchNode",
"name": "switch value",
"xml": "<switch test=\"`$tmp.value`\">\n",
"comments": "",
"outputs": 1,
- "x": 1434.9166259765625,
- "y": 831.0149536132812,
- "z": "c6f0d3f1.455d9",
+ "x": 2622.059371948242,
+ "y": 429.5387134552002,
+ "z": "41919c74.be6e64",
"wires": [
[
- "43c9362d.7e85f8"
+ "ada5f970.525a08"
]
]
},
{
- "id": "43c9362d.7e85f8",
+ "id": "ada5f970.525a08",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1651.9165992736816,
- "y": 830.0149593353271,
- "z": "c6f0d3f1.455d9",
+ "x": 2839.0593452453613,
+ "y": 428.5387191772461,
+ "z": "41919c74.be6e64",
"wires": [
[
- "ca90525c.72c9e"
+ "ed2ebd09.12d14"
]
]
},
{
- "id": "ca90525c.72c9e",
+ "id": "ed2ebd09.12d14",
"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-request-input.network-input-parameters.name is a required input\" />\n",
"comments": "",
- "x": 1830.345314025879,
- "y": 831.0149593353271,
- "z": "c6f0d3f1.455d9",
+ "x": 3017.4880599975586,
+ "y": 429.5387191772461,
+ "z": "41919c74.be6e64",
"wires": []
},
{
- "id": "69b2a932.e384a",
+ "id": "ad892566.5276d8",
"type": "outcome",
"name": "deactivate",
"xml": "<outcome value='deactivate'>\n",
"comments": "",
"outputs": 1,
- "x": 356.9999771118164,
- "y": 495.76191806793213,
- "z": "c6f0d3f1.455d9",
+ "x": 405.57142639160156,
+ "y": 669.9999961853027,
+ "z": "41919c74.be6e64",
"wires": [
- []
+ [
+ "cf8cfa72.307308"
+ ]
]
},
{
- "id": "48c30fe1.37ee2",
+ "id": "481e2179.b7e1e",
"type": "outcome",
"name": "delete",
"xml": "<outcome value='delete'>\n",
"comments": "",
"outputs": 1,
- "x": 343.5715103149414,
- "y": 551.0478391647339,
- "z": "c6f0d3f1.455d9",
+ "x": 409.2858085632324,
+ "y": 996.7145538330078,
+ "z": "41919c74.be6e64",
"wires": [
[
- "519b9637.7e3388"
+ "777dc005.88824"
]
]
},
{
- "id": "3a0a08f8.ab065",
+ "id": "60a2dfba.9f5d2",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 345.6190757751465,
- "y": 606.9047303199768,
- "z": "c6f0d3f1.455d9",
+ "x": 407.0476875305176,
+ "y": 951.142822265625,
+ "z": "41919c74.be6e64",
"wires": [
[
- "1c01820.787e0fe"
+ "e573762b.1a8c88"
]
]
},
{
- "id": "1c01820.787e0fe",
+ "id": "e573762b.1a8c88",
"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-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
"comments": "",
- "x": 499.1906509399414,
- "y": 609.5238742828369,
- "z": "c6f0d3f1.455d9",
+ "x": 560.6192626953125,
+ "y": 953.7619662284851,
+ "z": "41919c74.be6e64",
"wires": []
},
{
- "id": "4b65836a.da71a4",
+ "id": "23ff25d7.dc00da",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 717.9999389648438,
- "y": 603.7619018554688,
- "z": "c6f0d3f1.455d9",
+ "x": 1646.5713958740234,
+ "y": 322.2856864929199,
+ "z": "41919c74.be6e64",
"wires": [
[
- "c0a12daa.de711",
- "79c7c0f2.75db1",
- "70c07e94.b958b"
+ "4d67279e.b298d8",
+ "88358308.77ca8",
+ "1a1154a1.e5eeab"
]
]
},
{
- "id": "4000702f.bf217",
+ "id": "70b2b7d8.8f4d48",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 472,
- "y": 307,
- "z": "c6f0d3f1.455d9",
+ "x": 894.8571624755859,
+ "y": 401.2380962371826,
+ "z": "41919c74.be6e64",
"wires": [
[
- "7fc21ed9.84ecc",
- "2b594f42.596858"
+ "2263fcf0.dd9c04",
+ "f78b2624.0874d8"
]
]
},
{
- "id": "7fc21ed9.84ecc",
+ "id": "2263fcf0.dd9c04",
"type": "other",
"name": "CreateNetworkInstance",
"xml": "<outcome value='CreateNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 738,
- "y": 266,
- "z": "c6f0d3f1.455d9",
+ "x": 1160.857162475586,
+ "y": 360.2380962371826,
+ "z": "41919c74.be6e64",
"wires": [
[
- "b93efadc.2a7b98"
+ "504c1faf.afb3e"
]
]
},
{
- "id": "2b594f42.596858",
+ "id": "f78b2624.0874d8",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 692,
- "y": 316,
- "z": "c6f0d3f1.455d9",
+ "x": 1114.857162475586,
+ "y": 410.2380962371826,
+ "z": "41919c74.be6e64",
"wires": [
[
- "38f5f946.300656"
+ "692f7373.96d08c"
]
]
},
{
- "id": "38f5f946.300656",
+ "id": "692f7373.96d08c",
"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=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
"comments": "",
- "x": 861,
- "y": 316,
- "z": "c6f0d3f1.455d9",
+ "x": 1283.857162475586,
+ "y": 410.2380962371826,
+ "z": "41919c74.be6e64",
"wires": []
},
{
- "id": "b93efadc.2a7b98",
+ "id": "504c1faf.afb3e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 963,
- "y": 255,
- "z": "c6f0d3f1.455d9",
+ "x": 1385.857162475586,
+ "y": 349.2380962371826,
+ "z": "41919c74.be6e64",
"wires": [
[
- "b0353d83.d95fc8"
+ "2111484.fdeeeb8"
]
]
},
{
- "id": "2b9e6137.bb0cbe",
+ "id": "6598afe7.9a675",
"type": "comment",
"name": "TODO: need to identify underlay or overlay",
"info": "",
"comments": "",
- "x": 969,
- "y": 219,
- "z": "c6f0d3f1.455d9",
+ "x": 1130.4286651611328,
+ "y": 308.952356338501,
+ "z": "41919c74.be6e64",
"wires": []
},
{
- "id": "c0a12daa.de711",
+ "id": "4d67279e.b298d8",
"type": "set",
"name": "clear tmp-data",
"xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
"comments": "",
- "x": 910,
- "y": 558,
- "z": "c6f0d3f1.455d9",
+ "x": 1838.5714569091797,
+ "y": 276.5237846374512,
+ "z": "41919c74.be6e64",
"wires": []
},
{
- "id": "79c7c0f2.75db1",
+ "id": "88358308.77ca8",
"type": "set",
"name": "set tmp-data",
"xml": "<set>\n<parameter name='tmp.name' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].name'\"/>\n<parameter name='tmp.value' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].value'\"/>\n",
"comments": "",
- "x": 899,
- "y": 648,
- "z": "c6f0d3f1.455d9",
+ "x": 1827.5714569091797,
+ "y": 366.5237846374512,
+ "z": "41919c74.be6e64",
"wires": []
},
{
- "id": "70c07e94.b958b",
+ "id": "1a1154a1.e5eeab",
"type": "switchNode",
"name": "switch name",
"xml": "<switch test=\"'$tmp.name'\">\n",
"comments": "",
"outputs": 1,
- "x": 878,
- "y": 742,
- "z": "c6f0d3f1.455d9",
+ "x": 1806.5714569091797,
+ "y": 460.5237846374512,
+ "z": "41919c74.be6e64",
"wires": [
[
- "b4dc69ff.a7ed1",
- "bbb21dd0.0748a",
- "646ea6b1.a2f9c8",
- "439d167a.8c5ac",
- "c1518ab4.108de8",
- "b9d1292c.a326b",
- "2a37f01.a563d1",
- "1df27ff7.9e57b8",
- "eb7c110.2f93df",
- "f3eead68.9da5e",
- "6b17cb91.28e614",
- "3b3dd1c9.f1275e",
- "6e7d7d1.8e50d04",
- "e757b031.dd60f8",
- "c7f4e328.7b4c7",
- "55fe09c4.76bd78",
- "5b95ca17.0b84a4"
+ "fec78ff3.01387",
+ "6a6df5db.95920c",
+ "c9668b0d.369978",
+ "5f023b7d.a0fdc4",
+ "85213655.7adec8",
+ "54513a6c.abaec4",
+ "8b1be305.74e42",
+ "856ed4f2.7a9128",
+ "80769836.7f8968",
+ "9b694645.6496b8",
+ "a075f82a.5f8a08",
+ "1b0790dd.e4f86f",
+ "b32746a2.4cd8b8",
+ "ac316a2a.53ce98",
+ "94575312.6ba8b",
+ "b6c16e45.493e9",
+ "75bd3929.8a42c8"
]
]
},
{
- "id": "b4dc69ff.a7ed1",
+ "id": "fec78ff3.01387",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1159,
- "y": 1365,
- "z": "c6f0d3f1.455d9",
+ "x": 2346.1427459716797,
+ "y": 963.523759841919,
+ "z": "41919c74.be6e64",
"wires": [
[
- "72bd50f1.643c"
+ "eaadea68.155218"
]
]
},
{
- "id": "72bd50f1.643c",
+ "id": "eaadea68.155218",
"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-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
"comments": "",
- "x": 1334,
- "y": 1364,
- "z": "c6f0d3f1.455d9",
+ "x": 2521.1427459716797,
+ "y": 962.523759841919,
+ "z": "41919c74.be6e64",
"wires": []
},
{
- "id": "bbb21dd0.0748a",
+ "id": "6a6df5db.95920c",
"type": "other",
"name": "name",
"xml": "<outcome value='name'>",
"comments": "",
"outputs": 1,
- "x": 1136,
- "y": 487,
- "z": "c6f0d3f1.455d9",
+ "x": 2323.1427459716797,
+ "y": 85.52375984191895,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "646ea6b1.a2f9c8",
+ "id": "c9668b0d.369978",
"type": "other",
"name": "service-type",
"xml": "<outcome value='service-type'>",
"comments": "",
"outputs": 1,
- "x": 1139,
- "y": 554,
- "z": "c6f0d3f1.455d9",
+ "x": 2326.1427459716797,
+ "y": 152.52375984191895,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "2a37f01.a563d1",
+ "id": "8b1be305.74e42",
"type": "other",
"name": "sna2_name",
"xml": "<outcome value='sna2_name'>",
"comments": "",
"outputs": 1,
- "x": 1143,
- "y": 783,
- "z": "c6f0d3f1.455d9",
+ "x": 2330.1427459716797,
+ "y": 381.52375984191895,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "439d167a.8c5ac",
+ "id": "5f023b7d.a0fdc4",
"type": "other",
"name": "site1-name",
"xml": "<outcome value='site1-name'>",
"comments": "",
"outputs": 1,
- "x": 1140,
- "y": 615,
- "z": "c6f0d3f1.455d9",
+ "x": 2327.1427459716797,
+ "y": 213.52375984191895,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "c1518ab4.108de8",
+ "id": "85213655.7adec8",
"type": "other",
"name": "site2-name",
"xml": "<outcome value='site2-name'>",
"comments": "",
"outputs": 1,
- "x": 1136,
- "y": 672,
- "z": "c6f0d3f1.455d9",
+ "x": 2323.1427459716797,
+ "y": 270.52375984191895,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "b9d1292c.a326b",
+ "id": "54513a6c.abaec4",
"type": "other",
"name": "sna1_name",
"xml": "<outcome value='sna1_name'>",
"comments": "",
"outputs": 1,
- "x": 1139,
- "y": 729,
- "z": "c6f0d3f1.455d9",
+ "x": 2326.1427459716797,
+ "y": 327.52375984191895,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "1df27ff7.9e57b8",
+ "id": "856ed4f2.7a9128",
"type": "other",
"name": "pe1_id",
"xml": "<outcome value='pe1_id'>",
"comments": "",
"outputs": 1,
- "x": 1143,
- "y": 834,
- "z": "c6f0d3f1.455d9",
+ "x": 2330.1427459716797,
+ "y": 432.52375984191895,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "eb7c110.2f93df",
+ "id": "80769836.7f8968",
"type": "other",
"name": "pe2_id",
"xml": "<outcome value='pe2_id'>",
"comments": "",
"outputs": 1,
- "x": 1146,
- "y": 882,
- "z": "c6f0d3f1.455d9",
+ "x": 2333.1427459716797,
+ "y": 480.52375984191895,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "f3eead68.9da5e",
+ "id": "9b694645.6496b8",
"type": "other",
"name": "ac1-id",
"xml": "<outcome value='ac1-id'>",
"comments": "",
"outputs": 1,
- "x": 1151,
- "y": 931,
- "z": "c6f0d3f1.455d9",
+ "x": 2338.1427459716797,
+ "y": 529.523759841919,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "6b17cb91.28e614",
+ "id": "a075f82a.5f8a08",
"type": "other",
"name": "ac2-id",
"xml": "<outcome value='ac2-id'>",
"comments": "",
"outputs": 1,
- "x": 1153,
- "y": 986,
- "z": "c6f0d3f1.455d9",
+ "x": 2340.1427459716797,
+ "y": 584.523759841919,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "3b3dd1c9.f1275e",
+ "id": "1b0790dd.e4f86f",
"type": "other",
"name": "ac1-ip",
"xml": "<outcome value='ac1-ip'>",
"comments": "",
"outputs": 1,
- "x": 1153,
- "y": 1038,
- "z": "c6f0d3f1.455d9",
+ "x": 2340.1427459716797,
+ "y": 636.523759841919,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "6e7d7d1.8e50d04",
+ "id": "b32746a2.4cd8b8",
"type": "other",
"name": "ac2-ip",
"xml": "<outcome value='ac2-ip'>",
"comments": "",
"outputs": 1,
- "x": 1155,
- "y": 1099,
- "z": "c6f0d3f1.455d9",
+ "x": 2342.1427459716797,
+ "y": 697.523759841919,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "e757b031.dd60f8",
+ "id": "ac316a2a.53ce98",
"type": "other",
"name": "ac1_peer_ip",
"xml": "<outcome value='ac1_peer_ip'>",
"comments": "",
"outputs": 1,
- "x": 1157,
- "y": 1149,
- "z": "c6f0d3f1.455d9",
+ "x": 2344.1427459716797,
+ "y": 747.523759841919,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "c7f4e328.7b4c7",
+ "id": "94575312.6ba8b",
"type": "other",
"name": "ac2_peer_ip",
"xml": "<outcome value='ac2_peer_ip'>",
"comments": "",
"outputs": 1,
- "x": 1153,
- "y": 1197,
- "z": "c6f0d3f1.455d9",
+ "x": 2340.1427459716797,
+ "y": 795.523759841919,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "55fe09c4.76bd78",
+ "id": "b6c16e45.493e9",
"type": "other",
"name": "ac1_svlan",
"xml": "<outcome value='ac1_svlan'>",
"comments": "",
"outputs": 1,
- "x": 1155,
- "y": 1250,
- "z": "c6f0d3f1.455d9",
+ "x": 2342.1427459716797,
+ "y": 848.523759841919,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "5b95ca17.0b84a4",
+ "id": "75bd3929.8a42c8",
"type": "other",
"name": "ac2_svlan",
"xml": "<outcome value='ac2_svlan'>",
"comments": "",
"outputs": 1,
- "x": 1157,
- "y": 1311,
- "z": "c6f0d3f1.455d9",
+ "x": 2344.1427459716797,
+ "y": 909.523759841919,
+ "z": "41919c74.be6e64",
"wires": [
[
- "314ef392.5c55f4"
+ "b6c6c32e.49394"
]
]
},
{
- "id": "519b9637.7e3388",
+ "id": "777dc005.88824",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 259,
- "y": 787,
- "z": "c6f0d3f1.455d9",
+ "x": 340.42858123779297,
+ "y": 1078.3810033798218,
+ "z": "41919c74.be6e64",
"wires": [
[
- "6d7e792f.c1a048",
- "39ec9624.c1c9f2"
+ "a61ab24b.59e55",
+ "9c0bbd14.63f44"
]
]
},
{
- "id": "6d7e792f.c1a048",
+ "id": "a61ab24b.59e55",
"type": "other",
"name": "DeleteNetworkInstance",
"xml": "<outcome value='DeleteNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 269,
- "y": 943,
- "z": "c6f0d3f1.455d9",
+ "x": 356.14287185668945,
+ "y": 1134.3809671401978,
+ "z": "41919c74.be6e64",
"wires": [
[
- "7a441aab.52e274"
+ "a956c548.56a938"
]
]
},
{
- "id": "39ec9624.c1c9f2",
+ "id": "9c0bbd14.63f44",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 223,
- "y": 993,
- "z": "c6f0d3f1.455d9",
+ "x": 310.14287185668945,
+ "y": 1184.3809671401978,
+ "z": "41919c74.be6e64",
"wires": [
[
- "a475643c.1d776"
+ "3c6c31c7.c393ce"
]
]
},
{
- "id": "a475643c.1d776",
+ "id": "3c6c31c7.c393ce",
"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=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
"comments": "",
- "x": 392,
- "y": 993,
- "z": "c6f0d3f1.455d9",
+ "x": 479.14287185668945,
+ "y": 1184.3809671401978,
+ "z": "41919c74.be6e64",
"wires": []
},
{
- "id": "7a441aab.52e274",
+ "id": "a956c548.56a938",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 494,
- "y": 932,
- "z": "c6f0d3f1.455d9",
+ "x": 581.1428718566895,
+ "y": 1123.3809671401978,
+ "z": "41919c74.be6e64",
"wires": [
[
- "b0dc9dd7.cd7488"
+ "5793869c.a86c78"
]
]
},
{
- "id": "b0dc9dd7.cd7488",
+ "id": "5793869c.a86c78",
"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": 316,
- "y": 1087,
- "z": "c6f0d3f1.455d9",
+ "x": 403.14287185668945,
+ "y": 1278.3809671401978,
+ "z": "41919c74.be6e64",
"wires": [
[
- "89793fd8.cbbfd8"
+ "1c06545.fe3f9ac"
]
]
},
{
- "id": "89793fd8.cbbfd8",
+ "id": "1c06545.fe3f9ac",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 309,
- "y": 1172,
- "z": "c6f0d3f1.455d9",
+ "x": 396.14287185668945,
+ "y": 1363.3809671401978,
+ "z": "41919c74.be6e64",
"wires": [
[
- "43f4742.1d37e0c"
+ "5898a53c.a7675c"
]
]
},
{
- "id": "43f4742.1d37e0c",
+ "id": "5898a53c.a7675c",
"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": 492,
- "y": 1165,
- "z": "c6f0d3f1.455d9",
+ "x": 579.1428718566895,
+ "y": 1356.3809671401978,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "a1cbbebc.5e344"
+ ]
+ ]
+ },
+ {
+ "id": "a1cbbebc.5e344",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 760.1428718566895,
+ "y": 1355.3809671401978,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "1f995851.e066a8"
+ ]
+ ]
+ },
+ {
+ "id": "1f995851.e066a8",
+ "type": "switchNode",
+ "name": "switch value",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 924.1428718566895,
+ "y": 1355.3809671401978,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "964134d1.69bec8"
+ ]
+ ]
+ },
+ {
+ "id": "964134d1.69bec8",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 793.1428718566895,
+ "y": 1479.3809671401978,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "5e9f6b8b.a16094"
+ ]
+ ]
+ },
+ {
+ "id": "5e9f6b8b.a16094",
+ "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-request-input.network-input-parameters.name is a required input\" />\n",
+ "comments": "",
+ "x": 971.5715866088867,
+ "y": 1480.3809671401978,
+ "z": "41919c74.be6e64",
+ "wires": []
+ },
+ {
+ "id": "655825a3.9aa7dc",
+ "type": "outcome",
+ "name": "activate",
+ "xml": "<outcome value='activate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 404.28571701049805,
+ "y": 604.2857389450073,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "dc7e5048.2381b"
+ ]
+ ]
+ },
+ {
+ "id": "dc7e5048.2381b",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 587.1428833007812,
+ "y": 601.4285888671875,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "4e0582c3.b1fa7c",
+ "20cf7f44.df308"
+ ]
+ ]
+ },
+ {
+ "id": "4e0582c3.b1fa7c",
+ "type": "other",
+ "name": "ActivateNetworkInstance",
+ "xml": "<outcome value='ActivateNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 853.1428833007812,
+ "y": 560.4285888671875,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "dc249849.23db68"
+ ]
+ ]
+ },
+ {
+ "id": "20cf7f44.df308",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 807.1428833007812,
+ "y": 610.4285888671875,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "c869bca7.37964"
+ ]
+ ]
+ },
+ {
+ "id": "c869bca7.37964",
+ "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=\"request-information.request-action is required to be ActivateNetworkInstance for svc-action=activate\" />\n",
+ "comments": "",
+ "x": 976.1428833007812,
+ "y": 610.4285888671875,
+ "z": "41919c74.be6e64",
+ "wires": []
+ },
+ {
+ "id": "dc249849.23db68",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1078.1428833007812,
+ "y": 549.4285888671875,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "a69af05c.59651"
+ ]
+ ]
+ },
+ {
+ "id": "a69af05c.59651",
+ "type": "for",
+ "name": "for loop i - Network input parameters",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-information.network-request-input.network-input-parameters.param_length`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1331.4285888671875,
+ "y": 547.1428833007812,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "eebcaba3.114358"
+ ]
+ ]
+ },
+ {
+ "id": "eebcaba3.114358",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1209.511962890625,
+ "y": 693.8898315429688,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "2a9d9d71.d56262",
+ "7f24842b.80db7c",
+ "8531be73.7ace4"
+ ]
+ ]
+ },
+ {
+ "id": "2a9d9d71.d56262",
+ "type": "set",
+ "name": "clear tmp-data",
+ "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
+ "comments": "",
+ "x": 1401.5120239257812,
+ "y": 648.1279296875,
+ "z": "41919c74.be6e64",
+ "wires": []
+ },
+ {
+ "id": "7f24842b.80db7c",
+ "type": "set",
+ "name": "set tmp-data",
+ "xml": "<set>\n<parameter name='tmp.name' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].name'\"/>\n<parameter name='tmp.value' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].value'\"/>\n",
+ "comments": "",
+ "x": 1390.5120239257812,
+ "y": 738.1279296875,
+ "z": "41919c74.be6e64",
+ "wires": []
+ },
+ {
+ "id": "8531be73.7ace4",
+ "type": "switchNode",
+ "name": "switch name",
+ "xml": "<switch test=\"'$tmp.name'\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1369.5120239257812,
+ "y": 832.1279296875,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "c40817b9.3bf7e8",
+ "90143650.6febc8",
+ "96865432.6979a8",
+ "7937c725.86c838",
+ "693ea026.96c16",
+ "6ae3527c.951cac",
+ "1c7eef33.e38111"
+ ]
+ ]
+ },
+ {
+ "id": "c40817b9.3bf7e8",
+ "type": "other",
+ "name": "name",
+ "xml": "<outcome value='name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1588.9405250549316,
+ "y": 681.4136323928833,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "490badab.b6f454"
+ ]
+ ]
+ },
+ {
+ "id": "90143650.6febc8",
+ "type": "other",
+ "name": "description",
+ "xml": "<outcome value='description'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1599.0833473205566,
+ "y": 744.1279344558716,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "490badab.b6f454"
+ ]
+ ]
+ },
+ {
+ "id": "96865432.6979a8",
+ "type": "other",
+ "name": "router_id",
+ "xml": "<outcome value='router_id'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1590.0833625793457,
+ "y": 799.4136219024658,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "490badab.b6f454"
+ ]
+ ]
+ },
+ {
+ "id": "7937c725.86c838",
+ "type": "other",
+ "name": "local_networks",
+ "xml": "<outcome value='local_networks'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1608.9405403137207,
+ "y": 857.8422183990479,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "490badab.b6f454"
+ ]
+ ]
+ },
+ {
+ "id": "490badab.b6f454",
+ "type": "switchNode",
+ "name": "switch value",
+ "xml": "<switch test=\"`$tmp.value`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1902.8571815490723,
+ "y": 787.1428785324097,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "8613db79.79ec28"
+ ]
+ ]
+ },
+ {
+ "id": "8613db79.79ec28",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1909.8572540283203,
+ "y": 968.9999656677246,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "e2427698.1dbd88"
+ ]
+ ]
+ },
+ {
+ "id": "e2427698.1dbd88",
+ "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-request-input.network-input-parameters.name is a required input\" />\n",
+ "comments": "",
+ "x": 2088.2859687805176,
+ "y": 969.9999656677246,
+ "z": "41919c74.be6e64",
+ "wires": []
+ },
+ {
+ "id": "693ea026.96c16",
+ "type": "other",
+ "name": "evpn_irts",
+ "xml": "<outcome value='evpn_irts'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1591.428596496582,
+ "y": 911.4285907745361,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "490badab.b6f454"
+ ]
+ ]
+ },
+ {
+ "id": "6ae3527c.951cac",
+ "type": "other",
+ "name": "evpn_erts",
+ "xml": "<outcome value='evpn_erts'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1595.7144165039062,
+ "y": 964.2857065200806,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "490badab.b6f454"
+ ]
+ ]
+ },
+ {
+ "id": "1c7eef33.e38111",
+ "type": "other",
+ "name": "l3_vni",
+ "xml": "<outcome value='l3_vni'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1585.7143440246582,
+ "y": 1017.1428127288818,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "490badab.b6f454"
+ ]
+ ]
+ },
+ {
+ "id": "cf8cfa72.307308",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 572.8571472167969,
+ "y": 674.2857627868652,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "7dfe5fb0.8201a",
+ "d03dcc77.2fc23"
+ ]
+ ]
+ },
+ {
+ "id": "7dfe5fb0.8201a",
+ "type": "other",
+ "name": "DeactivateNetworkInstance",
+ "xml": "<outcome value='DeactivateNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 670.0000381469727,
+ "y": 751.7143239974976,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "5f1ca7c8.a0e358"
+ ]
+ ]
+ },
+ {
+ "id": "d03dcc77.2fc23",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 624.0000381469727,
+ "y": 801.7143239974976,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "4adf02c9.b520fc"
+ ]
+ ]
+ },
+ {
+ "id": "4adf02c9.b520fc",
+ "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=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
+ "comments": "",
+ "x": 793.0000381469727,
+ "y": 801.7143239974976,
+ "z": "41919c74.be6e64",
+ "wires": []
+ },
+ {
+ "id": "5f1ca7c8.a0e358",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 895.0000381469727,
+ "y": 740.7143239974976,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "9aa1529a.655eb"
+ ]
+ ]
+ },
+ {
+ "id": "9aa1529a.655eb",
+ "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": 717.0000381469727,
+ "y": 895.7143239974976,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "9158dfcf.6ea72"
+ ]
+ ]
+ },
+ {
+ "id": "9158dfcf.6ea72",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 998.5714797973633,
+ "y": 869.285756111145,
+ "z": "41919c74.be6e64",
+ "wires": [
+ [
+ "ae5a6a7f.51a598"
+ ]
+ ]
+ },
+ {
+ "id": "ae5a6a7f.51a598",
+ "type": "switchNode",
+ "name": "switch id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].id == 'id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1014.4286727905273,
+ "y": 925.1429071426392,
+ "z": "41919c74.be6e64",
"wires": [
[
- "a693d56e.072fb"
+ "aea89c57.51576"
]
]
},
{
- "id": "a693d56e.072fb",
+ "id": "aea89c57.51576",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 673,
- "y": 1164,
- "z": "c6f0d3f1.455d9",
+ "x": 1195.4286727905273,
+ "y": 924.1429071426392,
+ "z": "41919c74.be6e64",
"wires": [
[
- "41bb92ce.69dfe4"
+ "2c274bc2.d3d8b4"
]
]
},
{
- "id": "41bb92ce.69dfe4",
+ "id": "2c274bc2.d3d8b4",
"type": "switchNode",
"name": "switch value",
"xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
"comments": "",
"outputs": 1,
- "x": 837,
- "y": 1164,
- "z": "c6f0d3f1.455d9",
+ "x": 1272.2857818603516,
+ "y": 1002.7143459320068,
+ "z": "41919c74.be6e64",
"wires": [
[
- "659b92d9.633a14"
+ "d2cf8ac3.2d3078"
]
]
},
{
- "id": "659b92d9.633a14",
+ "id": "d2cf8ac3.2d3078",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 706,
- "y": 1288,
- "z": "c6f0d3f1.455d9",
+ "x": 1181.2857246398926,
+ "y": 1086.7143020629883,
+ "z": "41919c74.be6e64",
"wires": [
[
- "7bbbb2a1.5d8cb4"
+ "3b17c4b7.c4e83c"
]
]
},
{
- "id": "7bbbb2a1.5d8cb4",
+ "id": "3b17c4b7.c4e83c",
"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-request-input.network-input-parameters.name is a required input\" />\n",
"comments": "",
- "x": 884.4287147521973,
- "y": 1289,
- "z": "c6f0d3f1.455d9",
+ "x": 1359.7144393920898,
+ "y": 1087.7143020629883,
+ "z": "41919c74.be6e64",
"wires": []
}
-]
+] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-network-input-parameters.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-network-input-parameters.xml
index 07d717a0..620fe9ca 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-network-input-parameters.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-network-input-parameters.xml
@@ -1,127 +1,410 @@
-<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'><method rpc='validate-network-input-parameters' mode='sync'>
-<block atomic="true"><switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="sdnc-request-header.svc-request-id is a required input" />
-</return></outcome></switch><switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>
-<outcome value='assign'>
-<block atomic="true"><switch test='`$network-topology-operation-input.request-information.request-action`'>
-<outcome value='CreateNetworkInstance'><block atomic="true"><for index="i" start="0" end="`$network-topology-information.network-request-input.network-input-parameters.param_length`">
-<block>
-<set>
-<parameter name='tmp.name' value='' />
-<parameter name='tmp.value' value='' />
-</set><set>
-<parameter name='tmp.name' value="'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].name'"/>
-<parameter name='tmp.value' value="'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].value'"/>
-</set><switch test="'$tmp.name'">
-<outcome value='name'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='service-type'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='site1-name'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='site2-name'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='sna1_name'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='sna2_name'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='pe1_id'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='pe2_id'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='ac1-id'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='ac2-id'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='ac1-ip'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='ac2-ip'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='ac1_peer_ip'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='ac2_peer_ip'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='ac1_svlan'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value='ac2_svlan'><switch test="`$tmp.value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome><outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`" />
-</return></outcome></switch></block></for></block></outcome><outcome value='Other'><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="request-information.request-action is required to be CreateNetworkInstance for svc-action=assign" />
-</return></outcome></switch></block></outcome><outcome value='deactivate'>
-</outcome><outcome value='delete'>
-<block atomic="true"><outcome value='DeleteNetworkInstance'><block atomic="true"><for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >
-<block>
-<switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`">
-<outcome value='true'>
-<switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`">
-<outcome value=''><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
-</return></outcome></switch></outcome></switch></block></for></block></outcome><outcome value='Other'><return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="request-information.request-action is required to be CreateNetworkInstance for svc-action=assign" />
-</return></outcome></block></outcome><outcome value='Other'>
-<return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`" />
-</return></outcome></switch></block></method></service-logic> \ No newline at end of file
+<service-logic
+ xmlns='http://www.openecomp.org/sdnc/svclogic'
+ xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>
+ <method rpc='validate-network-input-parameters' mode='sync'>
+ <block atomic="true">
+ <switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="sdnc-request-header.svc-request-id is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ <switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>
+ <outcome value='assign'>
+ <block atomic="true">
+ <switch test='`$network-topology-operation-input.request-information.request-action`'>
+ <outcome value='CreateNetworkInstance'>
+ <block atomic="true">
+ <for index="i" start="0" end="`$network-topology-information.network-request-input.network-input-parameters.param_length`">
+ <block>
+ <set>
+ <parameter name='tmp.name' value='' />
+ <parameter name='tmp.value' value='' />
+ </set>
+ <set>
+ <parameter name='tmp.name' value="'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].name'"/>
+ <parameter name='tmp.value' value="'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].value'"/>
+ </set>
+ <switch test="'$tmp.name'">
+ <outcome value='name'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='service-type'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='site1-name'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='site2-name'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='sna1_name'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='sna2_name'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='pe1_id'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='pe2_id'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='ac1-id'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='ac2-id'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='ac1-ip'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='ac2-ip'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='ac1_peer_ip'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='ac2_peer_ip'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='ac1_svlan'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='ac2_svlan'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`" />
+ </return>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="request-information.request-action is required to be CreateNetworkInstance for svc-action=assign" />
+ </return>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ <outcome value='activate'>
+ <switch test='`$network-topology-operation-input.request-information.request-action`'>
+ <outcome value='ActivateNetworkInstance'>
+ <block atomic="true">
+ <for index="i" start="0" end="`$network-topology-information.network-request-input.network-input-parameters.param_length`">
+ <block>
+ <set>
+ <parameter name='tmp.name' value='' />
+ <parameter name='tmp.value' value='' />
+ </set>
+ <set>
+ <parameter name='tmp.name' value="'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].name'"/>
+ <parameter name='tmp.value' value="'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].value'"/>
+ </set>
+ <switch test="'$tmp.name'">
+ <outcome value='name'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='description'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='router_id'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='local_networks'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='evpn_irts'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='evpn_erts'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='l3_vni'>
+ <switch test="`$tmp.value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="request-information.request-action is required to be ActivateNetworkInstance for svc-action=activate" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='deactivate'>
+ <block atomic="true">
+ <outcome value='DeactivateNetworkInstance'>
+ <block atomic="true">
+ <for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >
+ <block>
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].id == 'id'`">
+ <outcome value='true'>
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="request-information.request-action is required to be CreateNetworkInstance for svc-action=assign" />
+ </return>
+ </outcome>
+ </block>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`" />
+ </return>
+ </outcome>
+ <outcome value='delete'>
+ <block atomic="true">
+ <outcome value='DeleteNetworkInstance'>
+ <block atomic="true">
+ <for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >
+ <block>
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`">
+ <outcome value='true'>
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`">
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="request-information.request-action is required to be CreateNetworkInstance for svc-action=assign" />
+ </return>
+ </outcome>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </method>
+</service-logic> \ No newline at end of file