[
{
- "id": "12b79dd.fcf1ae2",
+ "id": "4e4a1db5.e19994",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 80,
- "y": 85.76192092895508,
- "z": "c6f0d3f1.455d9",
+ "x": 69,
+ "y": 114.04766654968262,
+ "z": "32fe6314.d27544",
"wires": [
[
- "45289095.8730c"
+ "b00c6ebc.9f6148"
]
]
},
{
- "id": "45289095.8730c",
+ "id": "b00c6ebc.9f6148",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
"version": "${project.version}",
"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}'>",
+ "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": 325.2857131958008,
- "y": 85,
- "z": "c6f0d3f1.455d9",
+ "x": 314.2857131958008,
+ "y": 113.28574562072754,
+ "z": "32fe6314.d27544",
"wires": [
[
- "54e5c542.fd5504"
+ "44d4c8c4.c3b998"
]
]
},
{
- "id": "54e5c542.fd5504",
+ "id": "44d4c8c4.c3b998",
"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": 271.91668701171875,
+ "y": 188.30068397521973,
+ "z": "32fe6314.d27544",
"wires": [
[
- "4aa39923.928d98"
+ "b1f5234e.374c1"
]
]
},
{
- "id": "4aa39923.928d98",
+ "id": "b1f5234e.374c1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 566.9166946411133,
- "y": 148.0149631500244,
- "z": "c6f0d3f1.455d9",
+ "x": 555.9166946411133,
+ "y": 176.30070877075195,
+ "z": "32fe6314.d27544",
"wires": [
[
- "588fd95a.bd649",
- "3dc5112.e6e5c6e"
+ "911dd6e7.3e5ce",
+ "30f2c5d1.5e680a"
]
]
},
{
- "id": "588fd95a.bd649",
+ "id": "911dd6e7.3e5ce",
"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": 836.9166946411133,
+ "y": 171.3006944656372,
+ "z": "32fe6314.d27544",
"wires": [
[
- "bea9cc02.adf488"
+ "84d48b8c.b6753"
]
]
},
{
- "id": "bea9cc02.adf488",
+ "id": "84d48b8c.b6753",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1038.6309967041016,
- "y": 144.01494979858398,
- "z": "c6f0d3f1.455d9",
+ "x": 1027.6309967041016,
+ "y": 172.30069541931152,
+ "z": "32fe6314.d27544",
"wires": [
[
- "c0743608.2f921"
+ "7ddcb143.915a4"
]
]
},
{
- "id": "c0743608.2f921",
+ "id": "7ddcb143.915a4",
"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": 1202.0595474243164,
+ "y": 171.300687789917,
+ "z": "32fe6314.d27544",
"wires": []
},
{
- "id": "3dc5112.e6e5c6e",
+ "id": "30f2c5d1.5e680a",
"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": 137.91664123535156,
+ "y": 447.30070877075195,
+ "z": "32fe6314.d27544",
"wires": [
[
- "3acc66b9.f1e56a",
- "69b2a932.e384a",
- "48c30fe1.37ee2",
- "3a0a08f8.ab065"
+ "adae5694.342958",
+ "500ad4c6.47f08c",
+ "22013026.8cc88",
+ "750fe4a3.ade904",
+ "a9f01ff9.d40278"
]
]
},
{
- "id": "3acc66b9.f1e56a",
+ "id": "adae5694.342958",
"type": "outcome",
- "name": "assign",
- "xml": "<outcome value='assign'>\n",
+ "name": "create",
+ "xml": "<outcome value='create'>\n",
"comments": "",
"outputs": 1,
- "x": 350.4167251586914,
- "y": 419.0149631500244,
- "z": "c6f0d3f1.455d9",
+ "x": 339.4167251586914,
+ "y": 447.30070877075195,
+ "z": "32fe6314.d27544",
"wires": [
[
- "3f05f182.7a112e"
+ "45ac8a67.1ab214"
]
]
},
{
- "id": "3f05f182.7a112e",
+ "id": "45ac8a67.1ab214",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 516.4167327880859,
- "y": 419.0149631500244,
- "z": "c6f0d3f1.455d9",
+ "x": 505.41673278808594,
+ "y": 447.30070877075195,
+ "z": "32fe6314.d27544",
"wires": [
[
- "4000702f.bf217"
+ "97add15a.4cb3a8"
]
]
},
{
- "id": "b0353d83.d95fc8",
+ "id": "d1354c61.d70e7",
"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": 1704.630874633789,
+ "y": 111.01497840881348,
+ "z": "32fe6314.d27544",
"wires": [
[
- "4b65836a.da71a4"
+ "f7be75b2.d145f8"
]
]
},
{
- "id": "314ef392.5c55f4",
+ "id": "560f8ff1.549fe8",
"type": "switchNode",
"name": "switch value",
"xml": "<switch test=\"`$tmp.value`\">\n",
"comments": "",
"outputs": 1,
- "x": 1434.9166259765625,
- "y": 831.0149536132812,
- "z": "c6f0d3f1.455d9",
+ "x": 2558.2022247314453,
+ "y": 365.01495361328125,
+ "z": "32fe6314.d27544",
"wires": [
[
- "43c9362d.7e85f8"
+ "35d7055a.4a3242"
]
]
},
{
- "id": "43c9362d.7e85f8",
+ "id": "35d7055a.4a3242",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1651.9165992736816,
- "y": 830.0149593353271,
- "z": "c6f0d3f1.455d9",
+ "x": 2775.2021980285645,
+ "y": 364.01495933532715,
+ "z": "32fe6314.d27544",
"wires": [
[
- "ca90525c.72c9e"
+ "d860ff65.a2e1"
]
]
},
{
- "id": "ca90525c.72c9e",
+ "id": "d860ff65.a2e1",
"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",
+ "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.param '+ $tmp.name +' is a required input'\" />\n",
"comments": "",
- "x": 1830.345314025879,
- "y": 831.0149593353271,
- "z": "c6f0d3f1.455d9",
+ "x": 2953.6309127807617,
+ "y": 365.01495933532715,
+ "z": "32fe6314.d27544",
"wires": []
},
{
- "id": "69b2a932.e384a",
+ "id": "500ad4c6.47f08c",
"type": "outcome",
"name": "deactivate",
"xml": "<outcome value='deactivate'>\n",
"comments": "",
"outputs": 1,
- "x": 356.9999771118164,
- "y": 495.76191806793213,
- "z": "c6f0d3f1.455d9",
+ "x": 341.7142791748047,
+ "y": 605.4762363433838,
+ "z": "32fe6314.d27544",
"wires": [
- []
+ [
+ "4bb419b5.b0e6e"
+ ]
]
},
{
- "id": "48c30fe1.37ee2",
+ "id": "22013026.8cc88",
"type": "outcome",
"name": "delete",
"xml": "<outcome value='delete'>\n",
"comments": "",
"outputs": 1,
- "x": 343.5715103149414,
- "y": 551.0478391647339,
- "z": "c6f0d3f1.455d9",
+ "x": 345.42866134643555,
+ "y": 932.1907939910889,
+ "z": "32fe6314.d27544",
"wires": [
[
- "519b9637.7e3388"
+ "4023bbbc.b8c3c4"
]
]
},
{
- "id": "3a0a08f8.ab065",
+ "id": "750fe4a3.ade904",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 345.6190757751465,
- "y": 606.9047303199768,
- "z": "c6f0d3f1.455d9",
+ "x": 343.1905403137207,
+ "y": 886.619062423706,
+ "z": "32fe6314.d27544",
"wires": [
[
- "1c01820.787e0fe"
+ "3dd4d642.9cafa2"
]
]
},
{
- "id": "1c01820.787e0fe",
+ "id": "3dd4d642.9cafa2",
"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": 496.7621154785156,
+ "y": 889.2382063865662,
+ "z": "32fe6314.d27544",
"wires": []
},
{
- "id": "4b65836a.da71a4",
+ "id": "f7be75b2.d145f8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 717.9999389648438,
- "y": 603.7619018554688,
- "z": "c6f0d3f1.455d9",
+ "x": 1582.7142486572266,
+ "y": 257.761926651001,
+ "z": "32fe6314.d27544",
"wires": [
[
- "c0a12daa.de711",
- "79c7c0f2.75db1",
- "70c07e94.b958b"
+ "26bdae61.564c5a",
+ "395e8b66.7b0f1c",
+ "84048547.624768"
]
]
},
{
- "id": "4000702f.bf217",
+ "id": "97add15a.4cb3a8",
"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": 831.0000152587891,
+ "y": 336.7143363952637,
+ "z": "32fe6314.d27544",
"wires": [
[
- "7fc21ed9.84ecc",
- "2b594f42.596858"
+ "76502e63.ceb1a",
+ "1255dbb4.75c26c"
]
]
},
{
- "id": "7fc21ed9.84ecc",
+ "id": "76502e63.ceb1a",
"type": "other",
"name": "CreateNetworkInstance",
"xml": "<outcome value='CreateNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 738,
- "y": 266,
- "z": "c6f0d3f1.455d9",
+ "x": 1097.000015258789,
+ "y": 295.7143363952637,
+ "z": "32fe6314.d27544",
"wires": [
[
- "b93efadc.2a7b98"
+ "afc2e177.f42c"
]
]
},
{
- "id": "2b594f42.596858",
+ "id": "1255dbb4.75c26c",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 692,
- "y": 316,
- "z": "c6f0d3f1.455d9",
+ "x": 1051.000015258789,
+ "y": 345.7143363952637,
+ "z": "32fe6314.d27544",
"wires": [
[
- "38f5f946.300656"
+ "dfb2157e.4f1ae"
]
]
},
{
- "id": "38f5f946.300656",
+ "id": "dfb2157e.4f1ae",
"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",
+ "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=create\" />\n",
"comments": "",
- "x": 861,
- "y": 316,
- "z": "c6f0d3f1.455d9",
+ "x": 1220.000015258789,
+ "y": 345.7143363952637,
+ "z": "32fe6314.d27544",
"wires": []
},
{
- "id": "b93efadc.2a7b98",
+ "id": "afc2e177.f42c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 963,
- "y": 255,
- "z": "c6f0d3f1.455d9",
+ "x": 1322.000015258789,
+ "y": 284.7143363952637,
+ "z": "32fe6314.d27544",
"wires": [
[
- "b0353d83.d95fc8"
+ "d1354c61.d70e7"
]
]
},
{
- "id": "2b9e6137.bb0cbe",
- "type": "comment",
- "name": "TODO: need to identify underlay or overlay",
- "info": "",
- "comments": "",
- "x": 969,
- "y": 219,
- "z": "c6f0d3f1.455d9",
- "wires": []
- },
- {
- "id": "c0a12daa.de711",
+ "id": "26bdae61.564c5a",
"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": 1774.7143096923828,
+ "y": 212.00002479553223,
+ "z": "32fe6314.d27544",
"wires": []
},
{
- "id": "79c7c0f2.75db1",
+ "id": "395e8b66.7b0f1c",
"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": 1763.7143096923828,
+ "y": 302.0000247955322,
+ "z": "32fe6314.d27544",
"wires": []
},
{
- "id": "70c07e94.b958b",
+ "id": "84048547.624768",
"type": "switchNode",
"name": "switch name",
"xml": "<switch test=\"'$tmp.name'\">\n",
"comments": "",
"outputs": 1,
- "x": 878,
- "y": 742,
- "z": "c6f0d3f1.455d9",
+ "x": 1742.7143096923828,
+ "y": 396.0000247955322,
+ "z": "32fe6314.d27544",
"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"
+ "91870d3c.00766",
+ "9673ceac.9d128",
+ "2fa6afd4.470c68",
+ "208a2db6.5cd29a",
+ "a6950835.4f1f88",
+ "f6a60960.64ec1",
+ "3f6ebe83.24fb02",
+ "6691ccb6.43ba2c",
+ "3e734965.e53836",
+ "7c1d0f2f.d390d8",
+ "90835e79.55fda",
+ "98d98d4e.90457",
+ "c55ddc64.709ea",
+ "d3d96688.947678",
+ "de824513.d08848",
+ "bd1ecf5f.f7c2b",
+ "499053bc.575afc"
]
]
},
{
- "id": "b4dc69ff.a7ed1",
+ "id": "91870d3c.00766",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1159,
- "y": 1365,
- "z": "c6f0d3f1.455d9",
+ "x": 2282.285598754883,
+ "y": 899,
+ "z": "32fe6314.d27544",
"wires": [
[
- "72bd50f1.643c"
+ "49ed5fbd.14e1c8"
]
]
},
{
- "id": "72bd50f1.643c",
+ "id": "49ed5fbd.14e1c8",
"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": 2457.285598754883,
+ "y": 898,
+ "z": "32fe6314.d27544",
"wires": []
},
{
- "id": "bbb21dd0.0748a",
+ "id": "9673ceac.9d128",
"type": "other",
"name": "name",
"xml": "<outcome value='name'>",
"comments": "",
"outputs": 1,
- "x": 1136,
- "y": 487,
- "z": "c6f0d3f1.455d9",
+ "x": 2259.285598754883,
+ "y": 21,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "646ea6b1.a2f9c8",
+ "id": "2fa6afd4.470c68",
"type": "other",
"name": "service-type",
"xml": "<outcome value='service-type'>",
"comments": "",
"outputs": 1,
- "x": 1139,
- "y": 554,
- "z": "c6f0d3f1.455d9",
+ "x": 2262.285598754883,
+ "y": 88,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "2a37f01.a563d1",
+ "id": "3f6ebe83.24fb02",
"type": "other",
"name": "sna2_name",
"xml": "<outcome value='sna2_name'>",
"comments": "",
"outputs": 1,
- "x": 1143,
- "y": 783,
- "z": "c6f0d3f1.455d9",
+ "x": 2266.285598754883,
+ "y": 317,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "439d167a.8c5ac",
+ "id": "208a2db6.5cd29a",
"type": "other",
"name": "site1-name",
"xml": "<outcome value='site1-name'>",
"comments": "",
"outputs": 1,
- "x": 1140,
- "y": 615,
- "z": "c6f0d3f1.455d9",
+ "x": 2263.285598754883,
+ "y": 149,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "c1518ab4.108de8",
+ "id": "a6950835.4f1f88",
"type": "other",
"name": "site2-name",
"xml": "<outcome value='site2-name'>",
"comments": "",
"outputs": 1,
- "x": 1136,
- "y": 672,
- "z": "c6f0d3f1.455d9",
+ "x": 2259.285598754883,
+ "y": 206,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "b9d1292c.a326b",
+ "id": "f6a60960.64ec1",
"type": "other",
"name": "sna1_name",
"xml": "<outcome value='sna1_name'>",
"comments": "",
"outputs": 1,
- "x": 1139,
- "y": 729,
- "z": "c6f0d3f1.455d9",
+ "x": 2262.285598754883,
+ "y": 263,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "1df27ff7.9e57b8",
+ "id": "6691ccb6.43ba2c",
"type": "other",
"name": "pe1_id",
"xml": "<outcome value='pe1_id'>",
"comments": "",
"outputs": 1,
- "x": 1143,
- "y": 834,
- "z": "c6f0d3f1.455d9",
+ "x": 2266.285598754883,
+ "y": 368,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "eb7c110.2f93df",
+ "id": "3e734965.e53836",
"type": "other",
"name": "pe2_id",
"xml": "<outcome value='pe2_id'>",
"comments": "",
"outputs": 1,
- "x": 1146,
- "y": 882,
- "z": "c6f0d3f1.455d9",
+ "x": 2269.285598754883,
+ "y": 416,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "f3eead68.9da5e",
+ "id": "7c1d0f2f.d390d8",
"type": "other",
"name": "ac1-id",
"xml": "<outcome value='ac1-id'>",
"comments": "",
"outputs": 1,
- "x": 1151,
- "y": 931,
- "z": "c6f0d3f1.455d9",
+ "x": 2274.285598754883,
+ "y": 465,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "6b17cb91.28e614",
+ "id": "90835e79.55fda",
"type": "other",
"name": "ac2-id",
"xml": "<outcome value='ac2-id'>",
"comments": "",
"outputs": 1,
- "x": 1153,
- "y": 986,
- "z": "c6f0d3f1.455d9",
+ "x": 2276.285598754883,
+ "y": 520,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "3b3dd1c9.f1275e",
+ "id": "98d98d4e.90457",
"type": "other",
"name": "ac1-ip",
"xml": "<outcome value='ac1-ip'>",
"comments": "",
"outputs": 1,
- "x": 1153,
- "y": 1038,
- "z": "c6f0d3f1.455d9",
+ "x": 2276.285598754883,
+ "y": 572,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "6e7d7d1.8e50d04",
+ "id": "c55ddc64.709ea",
"type": "other",
"name": "ac2-ip",
"xml": "<outcome value='ac2-ip'>",
"comments": "",
"outputs": 1,
- "x": 1155,
- "y": 1099,
- "z": "c6f0d3f1.455d9",
+ "x": 2278.285598754883,
+ "y": 633,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "e757b031.dd60f8",
+ "id": "d3d96688.947678",
"type": "other",
"name": "ac1_peer_ip",
"xml": "<outcome value='ac1_peer_ip'>",
"comments": "",
"outputs": 1,
- "x": 1157,
- "y": 1149,
- "z": "c6f0d3f1.455d9",
+ "x": 2280.285598754883,
+ "y": 683,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "c7f4e328.7b4c7",
+ "id": "de824513.d08848",
"type": "other",
"name": "ac2_peer_ip",
"xml": "<outcome value='ac2_peer_ip'>",
"comments": "",
"outputs": 1,
- "x": 1153,
- "y": 1197,
- "z": "c6f0d3f1.455d9",
+ "x": 2276.285598754883,
+ "y": 731,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "55fe09c4.76bd78",
+ "id": "bd1ecf5f.f7c2b",
"type": "other",
"name": "ac1_svlan",
"xml": "<outcome value='ac1_svlan'>",
"comments": "",
"outputs": 1,
- "x": 1155,
- "y": 1250,
- "z": "c6f0d3f1.455d9",
+ "x": 2278.285598754883,
+ "y": 784,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "5b95ca17.0b84a4",
+ "id": "499053bc.575afc",
"type": "other",
"name": "ac2_svlan",
"xml": "<outcome value='ac2_svlan'>",
"comments": "",
"outputs": 1,
- "x": 1157,
- "y": 1311,
- "z": "c6f0d3f1.455d9",
+ "x": 2280.285598754883,
+ "y": 845,
+ "z": "32fe6314.d27544",
"wires": [
[
- "314ef392.5c55f4"
+ "560f8ff1.549fe8"
]
]
},
{
- "id": "519b9637.7e3388",
+ "id": "4023bbbc.b8c3c4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 259,
- "y": 787,
- "z": "c6f0d3f1.455d9",
+ "x": 276.5714340209961,
+ "y": 1013.8572435379028,
+ "z": "32fe6314.d27544",
"wires": [
[
- "6d7e792f.c1a048",
- "39ec9624.c1c9f2"
+ "97e7ce10.7c85b8",
+ "9dc996b.23ff3e8"
]
]
},
{
- "id": "6d7e792f.c1a048",
+ "id": "97e7ce10.7c85b8",
"type": "other",
"name": "DeleteNetworkInstance",
"xml": "<outcome value='DeleteNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 269,
- "y": 943,
- "z": "c6f0d3f1.455d9",
+ "x": 292.2857246398926,
+ "y": 1069.8572072982788,
+ "z": "32fe6314.d27544",
"wires": [
[
- "7a441aab.52e274"
+ "841c3464.e35208"
]
]
},
{
- "id": "39ec9624.c1c9f2",
+ "id": "9dc996b.23ff3e8",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 223,
- "y": 993,
- "z": "c6f0d3f1.455d9",
+ "x": 246.28572463989258,
+ "y": 1119.8572072982788,
+ "z": "32fe6314.d27544",
"wires": [
[
- "a475643c.1d776"
+ "6b8e362b.376518"
]
]
},
{
- "id": "a475643c.1d776",
+ "id": "6b8e362b.376518",
"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",
+ "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 DeleteNetworkInstance for svc-action=delete\" />\n",
"comments": "",
- "x": 392,
- "y": 993,
- "z": "c6f0d3f1.455d9",
+ "x": 415.2857246398926,
+ "y": 1119.8572072982788,
+ "z": "32fe6314.d27544",
"wires": []
},
{
- "id": "7a441aab.52e274",
+ "id": "841c3464.e35208",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 494,
- "y": 932,
- "z": "c6f0d3f1.455d9",
+ "x": 517.2857246398926,
+ "y": 1058.8572072982788,
+ "z": "32fe6314.d27544",
"wires": [
[
- "b0dc9dd7.cd7488"
+ "abf4d6e7.91759"
]
]
},
{
- "id": "b0dc9dd7.cd7488",
+ "id": "abf4d6e7.91759",
"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": 339.2857246398926,
+ "y": 1213.8572072982788,
+ "z": "32fe6314.d27544",
"wires": [
[
- "89793fd8.cbbfd8"
+ "4d50d8cc.46e0a"
]
]
},
{
- "id": "89793fd8.cbbfd8",
+ "id": "4d50d8cc.46e0a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 309,
- "y": 1172,
- "z": "c6f0d3f1.455d9",
+ "x": 332.2857246398926,
+ "y": 1298.8572072982788,
+ "z": "32fe6314.d27544",
"wires": [
[
- "43f4742.1d37e0c"
+ "5c906df.eb09894"
]
]
},
{
- "id": "43f4742.1d37e0c",
+ "id": "5c906df.eb09894",
"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": 515.2857246398926,
+ "y": 1291.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "1e0b11b0.0c1596"
+ ]
+ ]
+ },
+ {
+ "id": "1e0b11b0.0c1596",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 696.2857246398926,
+ "y": 1290.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "6bd99898.8a25c8"
+ ]
+ ]
+ },
+ {
+ "id": "6bd99898.8a25c8",
+ "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": 860.2857246398926,
+ "y": 1290.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "2612c750.3f1de"
+ ]
+ ]
+ },
+ {
+ "id": "2612c750.3f1de",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 729.2857246398926,
+ "y": 1414.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "27237901.158d7e"
+ ]
+ ]
+ },
+ {
+ "id": "27237901.158d7e",
+ "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": 907.7144393920898,
+ "y": 1415.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": []
+ },
+ {
+ "id": "a9f01ff9.d40278",
+ "type": "outcome",
+ "name": "activate",
+ "xml": "<outcome value='activate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 340.4285697937012,
+ "y": 539.7619791030884,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "24b1be4.4b9cb42"
+ ]
+ ]
+ },
+ {
+ "id": "24b1be4.4b9cb42",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 523.2857360839844,
+ "y": 536.9048290252686,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "534344f8.99bd8c",
+ "3efa7868.7d6d6"
+ ]
+ ]
+ },
+ {
+ "id": "534344f8.99bd8c",
+ "type": "other",
+ "name": "ActivateNetworkInstance",
+ "xml": "<outcome value='ActivateNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 789.2857360839844,
+ "y": 495.90482902526855,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "dbc11e26.b1b04"
+ ]
+ ]
+ },
+ {
+ "id": "3efa7868.7d6d6",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 743.2857360839844,
+ "y": 545.9048290252686,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "7054bbc2.d71e3c"
+ ]
+ ]
+ },
+ {
+ "id": "7054bbc2.d71e3c",
+ "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": 912.2857360839844,
+ "y": 545.9048290252686,
+ "z": "32fe6314.d27544",
+ "wires": []
+ },
+ {
+ "id": "dbc11e26.b1b04",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1014.2857360839844,
+ "y": 484.90482902526855,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "bae11bcf.54b4c8"
+ ]
+ ]
+ },
+ {
+ "id": "4bb419b5.b0e6e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 509,
+ "y": 609.7620029449463,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "15adf5d0.a38402",
+ "a37cc3b4.9b7a68"
+ ]
+ ]
+ },
+ {
+ "id": "15adf5d0.a38402",
+ "type": "other",
+ "name": "DeactivateNetworkInstance",
+ "xml": "<outcome value='DeactivateNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 606.1428909301758,
+ "y": 687.1905641555786,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "a95baf99.9c4a6"
+ ]
+ ]
+ },
+ {
+ "id": "a37cc3b4.9b7a68",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 560.1428909301758,
+ "y": 737.1905641555786,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "77245576.2c267c"
+ ]
+ ]
+ },
+ {
+ "id": "77245576.2c267c",
+ "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 DeactivateNetworkInstance for svc-action=deactivate\" />\n",
+ "comments": "",
+ "x": 729.1428909301758,
+ "y": 737.1905641555786,
+ "z": "32fe6314.d27544",
+ "wires": []
+ },
+ {
+ "id": "a95baf99.9c4a6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 831.1428909301758,
+ "y": 676.1905641555786,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "3994558.cdec22a"
+ ]
+ ]
+ },
+ {
+ "id": "3994558.cdec22a",
+ "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": 653.1428909301758,
+ "y": 831.1905641555786,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "a7f759b2.2be768"
+ ]
+ ]
+ },
+ {
+ "id": "a7f759b2.2be768",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 934.7143325805664,
+ "y": 804.7619962692261,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "c9fb60d0.70a518"
+ ]
+ ]
+ },
+ {
+ "id": "c9fb60d0.70a518",
+ "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": 950.5715255737305,
+ "y": 860.6191473007202,
+ "z": "32fe6314.d27544",
"wires": [
[
- "a693d56e.072fb"
+ "56941bc3.f5be04"
]
]
},
{
- "id": "a693d56e.072fb",
+ "id": "56941bc3.f5be04",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 673,
- "y": 1164,
- "z": "c6f0d3f1.455d9",
+ "x": 1131.5715255737305,
+ "y": 859.6191473007202,
+ "z": "32fe6314.d27544",
"wires": [
[
- "41bb92ce.69dfe4"
+ "35a7f799.be48f"
]
]
},
{
- "id": "41bb92ce.69dfe4",
+ "id": "35a7f799.be48f",
"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": 1208.4286346435547,
+ "y": 938.1905860900879,
+ "z": "32fe6314.d27544",
"wires": [
[
- "659b92d9.633a14"
+ "ba107d78.943578"
]
]
},
{
- "id": "659b92d9.633a14",
+ "id": "ba107d78.943578",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 706,
- "y": 1288,
- "z": "c6f0d3f1.455d9",
+ "x": 1117.4285774230957,
+ "y": 1022.1905422210693,
+ "z": "32fe6314.d27544",
"wires": [
[
- "7bbbb2a1.5d8cb4"
+ "b43b580a.2bbc7"
]
]
},
{
- "id": "7bbbb2a1.5d8cb4",
+ "id": "b43b580a.2bbc7",
"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": 1295.857292175293,
+ "y": 1023.1905422210693,
+ "z": "32fe6314.d27544",
"wires": []
+ },
+ {
+ "id": "bae11bcf.54b4c8",
+ "type": "call",
+ "name": "call validate-overlay-network-input-parameters",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-overlay-network-input-parameters' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1322.1510696411133,
+ "y": 486.3333520889282,
+ "z": "32fe6314.d27544",
+ "wires": [
+ []
+ ]
}
]