aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json1578
1 files changed, 759 insertions, 819 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 f76a824a..f4f96055 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,1086 +1,1026 @@
[
{
- "id":"fa4ef6c1.4eb578",
- "type":"dgstart",
- "name":"DGSTART",
- "outputs":1,
- "x":79.66666412353516,
- "y":118.0478286743164,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "a6c81f95.1fa118",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 100.99998092651367,
+ "y": 142.0476369857788,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "ca5f7f5c.05d2"
+ "a7b8fbd6.6571b8"
]
]
},
{
- "id":"ca5f7f5c.05d2",
- "type":"service-logic",
- "name":"GENERIC-RESOURCE-API ${project.version}",
- "module":"GENERIC-RESOURCE-API",
- "version":"${project.version}",
- "comments":"",
- "xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
- "outputs":1,
- "x":324.95237731933594,
- "y":117.28590774536133,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "a7b8fbd6.6571b8",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 346.28569412231445,
+ "y": 141.28571605682373,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "8645455c.b98c28"
+ "45cf957f.7d2f24"
]
]
},
{
- "id":"8645455c.b98c28",
- "type":"method",
- "name":"method validate-network-input-parameters",
- "xml":"<method rpc='validate-network-input-parameters' mode='sync'>\n",
- "comments":"",
- "outputs":1,
- "x":282.5833511352539,
- "y":192.30084609985352,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "45cf957f.7d2f24",
+ "type": "method",
+ "name": "method validate-network-input-parameters",
+ "xml": "<method rpc='validate-network-input-parameters' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 303.9166679382324,
+ "y": 216.30065441131592,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "9b7f7c48.ea161"
+ "c3df6ec7.366e"
]
]
},
{
- "id":"9b7f7c48.ea161",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":566.5833587646484,
- "y":180.30087089538574,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "c3df6ec7.366e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 587.916675567627,
+ "y": 204.30067920684814,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "e6ff88ab.904e18",
- "ddfba2e8.a63b3"
+ "3e0f268c.78cbaa",
+ "5d08a6e7.19c55"
]
]
},
{
- "id":"e6ff88ab.904e18",
- "type":"switchNode",
- "name":"switch svc-action",
- "xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":847.5833587646484,
- "y":175.300856590271,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "3e0f268c.78cbaa",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 868.916675567627,
+ "y": 199.3006649017334,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "4f39bff8.da67"
+ "8c7d88cf.19c588"
]
]
},
{
- "id":"4f39bff8.da67",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":1038.2976608276367,
- "y":176.3008575439453,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "8c7d88cf.19c588",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1059.6309776306152,
+ "y": 200.30066585540771,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "a348b04f.fc644"
+ "a12c30e5.545f9"
]
]
},
{
- "id":"a348b04f.fc644",
- "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":1212.7262115478516,
- "y":175.30084991455078,
- "z":"85858cc8.f3e21",
- "wires":[
-
- ]
- },
- {
- "id":"ddfba2e8.a63b3",
- "type":"switchNode",
- "name":"switch svc-action",
- "xml":"<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":148.58330535888672,
- "y":451.30087089538574,
- "z":"85858cc8.f3e21",
- "wires":[
- [
- "6e77eb2e.738e04",
- "e71878f5.f29958",
- "9addc920.903ef8",
- "428444e0.ca842c",
- "55e08239.49f15c"
- ]
- ]
- },
- {
- "id":"6e77eb2e.738e04",
- "type":"outcome",
- "name":"create",
- "xml":"<outcome value='create'>\n",
- "comments":"",
- "outputs":1,
- "x":350.08338928222656,
- "y":451.30087089538574,
- "z":"85858cc8.f3e21",
- "wires":[
- [
- "89568ddf.5b471"
- ]
- ]
- },
- {
- "id":"89568ddf.5b471",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":516.0833969116211,
- "y":451.30087089538574,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "a12c30e5.545f9",
+ "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": 1234.05952835083,
+ "y": 199.30065822601318,
+ "z": "65c9aaba.d47f7c",
+ "wires": []
+ },
+ {
+ "id": "5d08a6e7.19c55",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 169.91662216186523,
+ "y": 475.30067920684814,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "f6c08df5.6fb1"
+ "7698d5c.1143dac",
+ "c834ebc1.b37db",
+ "280a1dfa.b0ef12",
+ "40cce0a9.5132b8",
+ "5ba97181.5ecc78"
]
]
},
{
- "id":"6c4b1b37.01f564",
- "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":1715.2975387573242,
- "y":115.01514053344727,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "7698d5c.1143dac",
+ "type": "outcome",
+ "name": "create",
+ "xml": "<outcome value='create'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 371.4167060852051,
+ "y": 475.30067920684814,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "e6126a8f.3bd648"
+ "1379c979.4ffbd7"
]
]
},
{
- "id":"29338172.3d043e",
- "type":"switchNode",
- "name":"switch value",
- "xml":"<switch test=\"`$tmp.value`\">\n",
- "comments":"",
- "outputs":1,
- "x":2568.8688888549805,
- "y":369.01511573791504,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "1379c979.4ffbd7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 537.4167137145996,
+ "y": 475.30067920684814,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "612b673.300ba98"
+ "97127fcd.491ca8"
]
]
},
{
- "id":"612b673.300ba98",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":2785.8688621520996,
- "y":368.01512145996094,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "9bc1551b.7cbc08",
+ "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": 1736.6308555603027,
+ "y": 139.01494884490967,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "7afa06c2.9e5448"
+ "5138f56a.465374"
]
]
},
{
- "id":"7afa06c2.9e5448",
- "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.param '+ $tmp.name +' is a required input'\" />\n",
- "comments":"",
- "x":2964.297576904297,
- "y":369.01512145996094,
- "z":"85858cc8.f3e21",
- "wires":[
-
- ]
- },
- {
- "id":"e71878f5.f29958",
- "type":"outcome",
- "name":"deactivate",
- "xml":"<outcome value='deactivate'>\n",
- "comments":"",
- "outputs":1,
- "x":352.38094329833984,
- "y":609.4763984680176,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "4640e206.76b664",
+ "type": "switchNode",
+ "name": "switch value",
+ "xml": "<switch test=\"`$tmp.value`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2590.202205657959,
+ "y": 393.01492404937744,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "239b0e93.1dcdc2"
+ "134be211.73f7be"
]
]
},
{
- "id":"9addc920.903ef8",
- "type":"outcome",
- "name":"delete",
- "xml":"<outcome value='delete'>\n",
- "comments":"",
- "outputs":1,
- "x":356.0953254699707,
- "y":780.1909561157227,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "134be211.73f7be",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2807.202178955078,
+ "y": 392.01492977142334,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "f1a885d0.8cce28"
+ "d41b48b9.7616f8"
]
]
},
{
- "id":"428444e0.ca842c",
- "type":"other",
- "name":"other",
- "xml":"<outcome value='Other'>\n",
- "comments":"",
- "outputs":1,
- "x":353.85720443725586,
- "y":734.6192245483398,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "d41b48b9.7616f8",
+ "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.param '+ $tmp.name +' is a required input'\" />\n",
+ "comments": "",
+ "x": 2985.6308937072754,
+ "y": 393.01492977142334,
+ "z": "65c9aaba.d47f7c",
+ "wires": []
+ },
+ {
+ "id": "c834ebc1.b37db",
+ "type": "outcome",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 373.71426010131836,
+ "y": 633.47620677948,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "e64ba27d.4c375"
+ "2303dff.d38ae2"
]
]
},
{
- "id":"e64ba27d.4c375",
- "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":507.4287796020508,
- "y":737.2383685112,
- "z":"85858cc8.f3e21",
- "wires":[
-
- ]
- },
- {
- "id":"e6126a8f.3bd648",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":1593.3809127807617,
- "y":261.76208877563477,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "280a1dfa.b0ef12",
+ "type": "outcome",
+ "name": "delete",
+ "xml": "<outcome value='delete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 377.4286422729492,
+ "y": 804.1907644271851,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "ccd87bc0.9164f8",
- "cb2894ec.bd74d8",
- "6058dc0f.f41074"
+ "389ea1d5.79e916"
]
]
},
{
- "id":"f6c08df5.6fb1",
- "type":"switchNode",
- "name":"switch request-action",
- "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":841.6666793823242,
- "y":340.71449851989746,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "40cce0a9.5132b8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 375.1905212402344,
+ "y": 758.6190328598022,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "a05b6ee5.e1145",
- "5ba95b98.5de334"
+ "1a84f642.1ab022"
]
]
},
{
- "id":"a05b6ee5.e1145",
- "type":"other",
- "name":"CreateNetworkInstance",
- "xml":"<outcome value='CreateNetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":1107.6666793823242,
- "y":299.71449851989746,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "1a84f642.1ab022",
+ "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": 528.7620964050293,
+ "y": 761.2381768226624,
+ "z": "65c9aaba.d47f7c",
+ "wires": []
+ },
+ {
+ "id": "5138f56a.465374",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1614.7142295837402,
+ "y": 285.76189708709717,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "90527be5.0854c8"
+ "29c502b.740c77e",
+ "6b4d7b55.4c2ff4",
+ "9b824272.4adc6"
]
]
},
{
- "id":"5ba95b98.5de334",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":1061.6666793823242,
- "y":349.71449851989746,
- "z":"85858cc8.f3e21",
- "wires":[
- [
- "df81cf43.83855"
- ]
- ]
- },
- {
- "id":"df81cf43.83855",
- "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=create\" />\n",
- "comments":"",
- "x":1230.6666793823242,
- "y":349.71449851989746,
- "z":"85858cc8.f3e21",
- "wires":[
-
- ]
- },
- {
- "id":"90527be5.0854c8",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":1332.6666793823242,
- "y":288.71449851989746,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "97127fcd.491ca8",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 862.9999961853027,
+ "y": 364.71430683135986,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "6c4b1b37.01f564"
+ "b86df3ce.626b8",
+ "ff7737a8.55111"
]
]
},
{
- "id":"ccd87bc0.9164f8",
- "type":"set",
- "name":"clear tmp-data",
- "xml":"<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
- "comments":"",
- "x":1785.380973815918,
- "y":216.00018692016602,
- "z":"85858cc8.f3e21",
- "wires":[
-
- ]
- },
- {
- "id":"cb2894ec.bd74d8",
- "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":1774.380973815918,
- "y":306.000186920166,
- "z":"85858cc8.f3e21",
- "wires":[
-
- ]
- },
- {
- "id":"6058dc0f.f41074",
- "type":"switchNode",
- "name":"switch name",
- "xml":"<switch test=\"'$tmp.name'\">\n",
- "comments":"",
- "outputs":1,
- "x":1753.380973815918,
- "y":400.000186920166,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "b86df3ce.626b8",
+ "type": "other",
+ "name": "CreateNetworkInstance",
+ "xml": "<outcome value='CreateNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1128.9999961853027,
+ "y": 323.71430683135986,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "225fa6e2.e42a6a",
- "b1cea899.45bb78",
- "b9c18c6.d77387",
- "3d722919.f81306",
- "7b7495f0.75885c",
- "588a0bcd.6eb034",
- "c510015f.64592",
- "2187bd96.9aa5b2",
- "10a4fa76.533046",
- "f5abb1ff.c1ae",
- "a7b43175.17a1e",
- "7088b07a.e19a",
- "6b511ebf.25f2b",
- "77d1b8f5.2028a8",
- "e96ec4f5.f46868",
- "25d82e93.97f172",
- "2c0ed5ac.b6f0aa"
+ "b782b5c0.64daa8"
]
]
},
{
- "id":"225fa6e2.e42a6a",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":2292.952262878418,
- "y":903.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "ff7737a8.55111",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1082.9999961853027,
+ "y": 373.71430683135986,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "9eb7590.5f32fa8"
+ "64b48b9c.6474c4"
]
]
},
{
- "id":"9eb7590.5f32fa8",
- "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":2467.952262878418,
- "y":902.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
-
- ]
- },
- {
- "id":"b1cea899.45bb78",
- "type":"other",
- "name":"name",
- "xml":"<outcome value='name'>",
- "comments":"",
- "outputs":1,
- "x":2269.952262878418,
- "y":25.00016212463379,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "64b48b9c.6474c4",
+ "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=create\" />\n",
+ "comments": "",
+ "x": 1251.9999961853027,
+ "y": 373.71430683135986,
+ "z": "65c9aaba.d47f7c",
+ "wires": []
+ },
+ {
+ "id": "b782b5c0.64daa8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1353.9999961853027,
+ "y": 312.71430683135986,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "9bc1551b.7cbc08"
]
]
},
{
- "id":"b9c18c6.d77387",
- "type":"other",
- "name":"service-type",
- "xml":"<outcome value='service-type'>",
- "comments":"",
- "outputs":1,
- "x":2272.952262878418,
- "y":92.00016212463379,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "29c502b.740c77e",
+ "type": "set",
+ "name": "clear tmp-data",
+ "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
+ "comments": "",
+ "x": 1806.7142906188965,
+ "y": 239.99999523162842,
+ "z": "65c9aaba.d47f7c",
+ "wires": []
+ },
+ {
+ "id": "6b4d7b55.4c2ff4",
+ "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": 1795.7142906188965,
+ "y": 329.9999952316284,
+ "z": "65c9aaba.d47f7c",
+ "wires": []
+ },
+ {
+ "id": "9b824272.4adc6",
+ "type": "switchNode",
+ "name": "switch name",
+ "xml": "<switch test=\"'$tmp.name'\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1774.7142906188965,
+ "y": 423.9999952316284,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "9dc924e4.d5eee8",
+ "d40dab22.2110d",
+ "d21b9753.5ddc7",
+ "eb828f46.725928",
+ "26f6f12.444ae0e",
+ "79521d4d.d066fc",
+ "ea7a9601.54836",
+ "fcdaea7c.60c75",
+ "dd18a79d.ddd94",
+ "a1177f41.e35148",
+ "73ed196f.9f7c8",
+ "3464140a.8cc06c",
+ "87259f41.87e1c8",
+ "41479001.27e018",
+ "19083ff5.a4af58",
+ "d82aab4b.d86238",
+ "b73417db.a46ef8"
]
]
},
{
- "id":"c510015f.64592",
- "type":"other",
- "name":"sna2_name",
- "xml":"<outcome value='sna2_name'>",
- "comments":"",
- "outputs":1,
- "x":2276.952262878418,
- "y":321.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "9dc924e4.d5eee8",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2314.2855796813965,
+ "y": 926.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "fd7cd54b.6b7b6"
]
]
},
{
- "id":"3d722919.f81306",
- "type":"other",
- "name":"site1-name",
- "xml":"<outcome value='site1-name'>",
- "comments":"",
- "outputs":1,
- "x":2273.952262878418,
- "y":153.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "fd7cd54b.6b7b6",
+ "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": 2489.2855796813965,
+ "y": 925.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": []
+ },
+ {
+ "id": "d40dab22.2110d",
+ "type": "other",
+ "name": "name",
+ "xml": "<outcome value='name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2291.2855796813965,
+ "y": 48.99997043609619,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "4640e206.76b664"
]
]
},
{
- "id":"7b7495f0.75885c",
- "type":"other",
- "name":"site2-name",
- "xml":"<outcome value='site2-name'>",
- "comments":"",
- "outputs":1,
- "x":2269.952262878418,
- "y":210.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "d21b9753.5ddc7",
+ "type": "other",
+ "name": "service-type",
+ "xml": "<outcome value='service-type'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2294.2855796813965,
+ "y": 115.99997043609619,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "4640e206.76b664"
]
]
},
{
- "id":"588a0bcd.6eb034",
- "type":"other",
- "name":"sna1_name",
- "xml":"<outcome value='sna1_name'>",
- "comments":"",
- "outputs":1,
- "x":2272.952262878418,
- "y":267.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "ea7a9601.54836",
+ "type": "other",
+ "name": "sna2_name",
+ "xml": "<outcome value='sna2_name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2298.2855796813965,
+ "y": 344.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "4640e206.76b664"
]
]
},
{
- "id":"2187bd96.9aa5b2",
- "type":"other",
- "name":"pe1_id",
- "xml":"<outcome value='pe1_id'>",
- "comments":"",
- "outputs":1,
- "x":2276.952262878418,
- "y":372.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "eb828f46.725928",
+ "type": "other",
+ "name": "site1-name",
+ "xml": "<outcome value='site1-name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2295.2855796813965,
+ "y": 176.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "4640e206.76b664"
]
]
},
{
- "id":"10a4fa76.533046",
- "type":"other",
- "name":"pe2_id",
- "xml":"<outcome value='pe2_id'>",
- "comments":"",
- "outputs":1,
- "x":2279.952262878418,
- "y":420.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "26f6f12.444ae0e",
+ "type": "other",
+ "name": "site2-name",
+ "xml": "<outcome value='site2-name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2291.2855796813965,
+ "y": 233.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "4640e206.76b664"
]
]
},
{
- "id":"f5abb1ff.c1ae",
- "type":"other",
- "name":"ac1-id",
- "xml":"<outcome value='ac1-id'>",
- "comments":"",
- "outputs":1,
- "x":2284.952262878418,
- "y":469.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "79521d4d.d066fc",
+ "type": "other",
+ "name": "sna1_name",
+ "xml": "<outcome value='sna1_name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2294.2855796813965,
+ "y": 290.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "4640e206.76b664"
]
]
},
{
- "id":"a7b43175.17a1e",
- "type":"other",
- "name":"ac2-id",
- "xml":"<outcome value='ac2-id'>",
- "comments":"",
- "outputs":1,
- "x":2286.952262878418,
- "y":524.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "fcdaea7c.60c75",
+ "type": "other",
+ "name": "pe1_id",
+ "xml": "<outcome value='pe1_id'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2298.2855796813965,
+ "y": 395.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "4640e206.76b664"
]
]
},
{
- "id":"7088b07a.e19a",
- "type":"other",
- "name":"ac1-ip",
- "xml":"<outcome value='ac1-ip'>",
- "comments":"",
- "outputs":1,
- "x":2286.952262878418,
- "y":576.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "dd18a79d.ddd94",
+ "type": "other",
+ "name": "pe2_id",
+ "xml": "<outcome value='pe2_id'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2301.2855796813965,
+ "y": 443.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "4640e206.76b664"
]
]
},
{
- "id":"6b511ebf.25f2b",
- "type":"other",
- "name":"ac2-ip",
- "xml":"<outcome value='ac2-ip'>",
- "comments":"",
- "outputs":1,
- "x":2288.952262878418,
- "y":637.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "a1177f41.e35148",
+ "type": "other",
+ "name": "ac1-id",
+ "xml": "<outcome value='ac1-id'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2306.2855796813965,
+ "y": 492.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "4640e206.76b664"
]
]
},
{
- "id":"77d1b8f5.2028a8",
- "type":"other",
- "name":"ac1_peer_ip",
- "xml":"<outcome value='ac1_peer_ip'>",
- "comments":"",
- "outputs":1,
- "x":2290.952262878418,
- "y":687.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "73ed196f.9f7c8",
+ "type": "other",
+ "name": "ac2-id",
+ "xml": "<outcome value='ac2-id'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2308.2855796813965,
+ "y": 547.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "4640e206.76b664"
]
]
},
{
- "id":"e96ec4f5.f46868",
- "type":"other",
- "name":"ac2_peer_ip",
- "xml":"<outcome value='ac2_peer_ip'>",
- "comments":"",
- "outputs":1,
- "x":2286.952262878418,
- "y":735.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "3464140a.8cc06c",
+ "type": "other",
+ "name": "ac1-ip",
+ "xml": "<outcome value='ac1-ip'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2308.2855796813965,
+ "y": 599.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "4640e206.76b664"
]
]
},
{
- "id":"25d82e93.97f172",
- "type":"other",
- "name":"ac1_svlan",
- "xml":"<outcome value='ac1_svlan'>",
- "comments":"",
- "outputs":1,
- "x":2288.952262878418,
- "y":788.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "87259f41.87e1c8",
+ "type": "other",
+ "name": "ac2-ip",
+ "xml": "<outcome value='ac2-ip'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2310.2855796813965,
+ "y": 660.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "4640e206.76b664"
]
]
},
{
- "id":"2c0ed5ac.b6f0aa",
- "type":"other",
- "name":"ac2_svlan",
- "xml":"<outcome value='ac2_svlan'>",
- "comments":"",
- "outputs":1,
- "x":2290.952262878418,
- "y":849.0001621246338,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "41479001.27e018",
+ "type": "other",
+ "name": "ac1_peer_ip",
+ "xml": "<outcome value='ac1_peer_ip'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2312.2855796813965,
+ "y": 710.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "29338172.3d043e"
+ "4640e206.76b664"
]
]
},
{
- "id":"f1a885d0.8cce28",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":287.23809814453125,
- "y":861.8574056625366,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "19083ff5.a4af58",
+ "type": "other",
+ "name": "ac2_peer_ip",
+ "xml": "<outcome value='ac2_peer_ip'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2308.2855796813965,
+ "y": 758.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "53246327.3f169c",
- "4ad8f670.2e7cb8"
+ "4640e206.76b664"
]
]
},
{
- "id":"53246327.3f169c",
- "type":"other",
- "name":"DeleteNetworkInstance",
- "xml":"<outcome value='DeleteNetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":302.95238876342773,
- "y":917.8573694229126,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "d82aab4b.d86238",
+ "type": "other",
+ "name": "ac1_svlan",
+ "xml": "<outcome value='ac1_svlan'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2310.2855796813965,
+ "y": 811.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "b6255d3e.ce53d"
+ "4640e206.76b664"
]
]
},
{
- "id":"4ad8f670.2e7cb8",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":256.95238876342773,
- "y":967.8573694229126,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "b73417db.a46ef8",
+ "type": "other",
+ "name": "ac2_svlan",
+ "xml": "<outcome value='ac2_svlan'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2312.2855796813965,
+ "y": 872.9999704360962,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "5f2c6750.3bbae8"
+ "4640e206.76b664"
]
]
},
{
- "id":"5f2c6750.3bbae8",
- "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 DeleteNetworkInstance for svc-action=delete\" />\n",
- "comments":"",
- "x":425.95238876342773,
- "y":967.8573694229126,
- "z":"85858cc8.f3e21",
- "wires":[
-
- ]
- },
- {
- "id":"b6255d3e.ce53d",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":527.9523887634277,
- "y":906.8573694229126,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "389ea1d5.79e916",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 308.57141494750977,
+ "y": 885.857213973999,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "6d8480b4.bbdb8"
+ "54c12db0.6590dc"
]
]
},
{
- "id":"6d8480b4.bbdb8",
- "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":349.95238876342773,
- "y":1061.8573694229126,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "1f448cd7.9ac43b",
+ "type": "other",
+ "name": "DeleteNetworkInstance",
+ "xml": "<outcome value='DeleteNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 775.2857055664062,
+ "y": 798.857177734375,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "30a4ecd8.0d1034"
+ "a7e9fd9d.eefae8"
]
]
},
{
- "id":"30a4ecd8.0d1034",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":342.95238876342773,
- "y":1146.8573694229126,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "bd139dc0.9ef408",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 835.2857055664062,
+ "y": 928.857177734375,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "c6454200.70fda"
+ "c3650164.8f94"
]
]
},
{
- "id":"c6454200.70fda",
- "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":525.9523887634277,
- "y":1139.8573694229126,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "c3650164.8f94",
+ "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 DeleteNetworkInstance for svc-action=delete\" />\n",
+ "comments": "",
+ "x": 1022.2857055664062,
+ "y": 929.857177734375,
+ "z": "65c9aaba.d47f7c",
+ "wires": []
+ },
+ {
+ "id": "a7e9fd9d.eefae8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 730.2857055664062,
+ "y": 998.857177734375,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "f7a7412d.0d646"
+ "374f47e5.09a2f",
+ "8ad81c32.d34b9"
]
]
},
{
- "id":"f7a7412d.0d646",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":706.9523887634277,
- "y":1138.8573694229126,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "374f47e5.09a2f",
+ "type": "switchNode",
+ "name": "switch network-id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 884.28564453125,
+ "y": 1098.857177734375,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "8bfc5d6c.baf0e"
+ "3a8b9cb2.91ca2c"
]
]
},
{
- "id":"8bfc5d6c.baf0e",
- "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":870.9523887634277,
- "y":1138.8573694229126,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "3a8b9cb2.91ca2c",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1068.28564453125,
+ "y": 1101.857177734375,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "6c6337cf.113798"
+ "ed90dada.d01dc8"
]
]
},
{
- "id":"6c6337cf.113798",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":739.9523887634277,
- "y":1262.8573694229126,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "ed90dada.d01dc8",
+ "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": 1224.71435546875,
+ "y": 1100.857177734375,
+ "z": "65c9aaba.d47f7c",
+ "wires": []
+ },
+ {
+ "id": "5ba97181.5ecc78",
+ "type": "outcome",
+ "name": "activate",
+ "xml": "<outcome value='activate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 372.42855072021484,
+ "y": 567.7619495391846,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "e60613b0.6ba12"
+ "3c576c37.cacc9c"
]
]
},
{
- "id":"e60613b0.6ba12",
- "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":918.381103515625,
- "y":1263.8573694229126,
- "z":"85858cc8.f3e21",
- "wires":[
-
- ]
- },
- {
- "id":"55e08239.49f15c",
- "type":"outcome",
- "name":"activate",
- "xml":"<outcome value='activate'>\n",
- "comments":"",
- "outputs":1,
- "x":351.0952339172363,
- "y":543.7621412277222,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "3c576c37.cacc9c",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 555.285717010498,
+ "y": 564.9047994613647,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "b69a14cd.1d3d68"
+ "9ef27dfb.32967",
+ "47a1d56.952aa2c"
]
]
},
{
- "id":"b69a14cd.1d3d68",
- "type":"switchNode",
- "name":"switch request-action",
- "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":533.9524002075195,
- "y":540.9049911499023,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "9ef27dfb.32967",
+ "type": "other",
+ "name": "ActivateDCINetworkInstance",
+ "xml": "<outcome value='ActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 821.285717010498,
+ "y": 523.9047994613647,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "d54c9f22.ae97d",
- "b12bd94e.696e48"
+ "b568716c.746398"
]
]
},
{
- "id":"d54c9f22.ae97d",
- "type":"other",
- "name":"ActivateDCINetworkInstance",
- "xml":"<outcome value='ActivateDCINetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":799.9524002075195,
- "y":499.90499114990234,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "47a1d56.952aa2c",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 775.285717010498,
+ "y": 573.9047994613647,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "cf772b80.a4cba8"
+ "66c486ba.242f98"
]
]
},
{
- "id":"b12bd94e.696e48",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":753.9524002075195,
- "y":549.9049911499023,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "66c486ba.242f98",
+ "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": 944.285717010498,
+ "y": 573.9047994613647,
+ "z": "65c9aaba.d47f7c",
+ "wires": []
+ },
+ {
+ "id": "b568716c.746398",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1046.285717010498,
+ "y": 512.9047994613647,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "bef2ee40.874af"
+ "f1391d7b.3f3618"
]
]
},
{
- "id":"bef2ee40.874af",
- "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":922.9524002075195,
- "y":549.9049911499023,
- "z":"85858cc8.f3e21",
- "wires":[
-
+ "id": "ab14b358.9b8f7",
+ "type": "other",
+ "name": "DeActivateDCINetworkInstance",
+ "xml": "<outcome value='DeActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 817.1428871154785,
+ "y": 635.1906003952026,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
+ []
]
},
{
- "id":"cf772b80.a4cba8",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":1024.9524002075195,
- "y":488.90499114990234,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "afd0efcd.371a1",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 732.142879486084,
+ "y": 704.1906080245972,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "36dbd61d.c5357a"
+ "b6887a7a.63ca6"
]
]
},
{
- "id":"8b8b3296.f79f8",
- "type":"other",
- "name":"DeActivateDCINetworkInstance",
- "xml":"<outcome value='DeActivateDCINetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":795.8095703125,
- "y":611.1907920837402,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "b6887a7a.63ca6",
+ "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": 913.142894744873,
+ "y": 705.1906080245972,
+ "z": "65c9aaba.d47f7c",
+ "wires": []
+ },
+ {
+ "id": "f1391d7b.3f3618",
+ "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": 1354.151050567627,
+ "y": 514.3333225250244,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2303dff.d38ae2",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 553.999942779541,
+ "y": 635.6664342880249,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
-
+ "ab14b358.9b8f7",
+ "afd0efcd.371a1"
]
]
},
{
- "id":"c54688aa.82e958",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":710.8095626831055,
- "y":680.1907997131348,
- "z":"85858cc8.f3e21",
- "wires":[
+ "id": "54c12db0.6590dc",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 544,
+ "y": 886,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
[
- "d62ac2c7.17544"
+ "1f448cd7.9ac43b",
+ "bd139dc0.9ef408"
]
]
},
{
- "id":"d62ac2c7.17544",
- "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":891.8095779418945,
- "y":681.1907997131348,
- "z":"85858cc8.f3e21",
- "wires":[
-
- ]
- },
- {
- "id":"36dbd61d.c5357a",
- "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":1332.8177337646484,
- "y":490.333514213562,
- "z":"85858cc8.f3e21",
- "wires":[
- [
-
- ]
- ]
- },
- {
- "id":"239b0e93.1dcdc2",
- "type":"switchNode",
- "name":"switch request-action",
- "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":532.6666259765625,
- "y":611.6666259765625,
- "z":"85858cc8.f3e21",
- "wires":[
- [
- "8b8b3296.f79f8",
- "c54688aa.82e958"
- ]
+ "id": "8ad81c32.d34b9",
+ "type": "execute",
+ "name": "execute requiredParameters",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"$network-topology-operation-input.network-information.network-id\" value=\"\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1017,
+ "y": 995,
+ "z": "65c9aaba.d47f7c",
+ "wires": [
+ []
]
}
-] \ No newline at end of file
+]