aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json
diff options
context:
space:
mode:
authorGaurav Agrawal <gaurav.agrawal@huawei.com>2017-10-10 00:07:11 +0530
committerGaurav Agrawal <gaurav.agrawal@huawei.com>2017-10-10 00:07:11 +0530
commit8157d1cfbc22cc05998a9e58a0da367f82ff63e3 (patch)
tree430a7f4c44e664622cdc1df2d1ca98653cd9e6d4 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json
parent1259ff85a7be548471f49298959929e3791ca8d1 (diff)
Fix for validate-network-input
Changes includes: 1) Fix an existing bug in validate-network-input because of which DG validation was failing. 2) validate-network-input to do nothing for overlay validation. 3) validate-network-input-parameter to validate network-id for deactivate flow. Change-Id: I424817ab20263633b8dacd3b3d672e63e3960f6d Issue-Id: SDNC-113 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: bf5801eae1015156972164d453dc737d63eeed95
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.json1624
1 files changed, 865 insertions, 759 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 f4f96055..695f6f30 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,1026 +1,1132 @@
[
{
- "id": "a6c81f95.1fa118",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 100.99998092651367,
- "y": 142.0476369857788,
- "z": "65c9aaba.d47f7c",
- "wires": [
+ "id":"876e190d.c525e8",
+ "type":"dgstart",
+ "name":"DGSTART",
+ "outputs":1,
+ "x":102.66666412353516,
+ "y":113.04766654968262,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "a7b8fbd6.6571b8"
+ "b93e38a6.cd8608"
]
]
},
{
- "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": [
+ "id":"b93e38a6.cd8608",
+ "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":347.95237731933594,
+ "y":112.28574562072754,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "45cf957f.7d2f24"
+ "fbd1bd91.34b78"
]
]
},
{
- "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": [
+ "id":"fbd1bd91.34b78",
+ "type":"method",
+ "name":"method validate-network-input-parameters",
+ "xml":"<method rpc='validate-network-input-parameters' mode='sync'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":305.5833511352539,
+ "y":187.30068397521973,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "c3df6ec7.366e"
+ "6b5c5bc8.7d32d4"
]
]
},
{
- "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": [
+ "id":"6b5c5bc8.7d32d4",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":589.5833587646484,
+ "y":175.30070877075195,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "3e0f268c.78cbaa",
- "5d08a6e7.19c55"
+ "fa0b7905.76ead8",
+ "b76add98.9e1be"
]
]
},
{
- "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": [
+ "id":"fa0b7905.76ead8",
+ "type":"switchNode",
+ "name":"switch svc-action",
+ "xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":870.5833587646484,
+ "y":170.3006944656372,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "8c7d88cf.19c588"
+ "5c424a89.e26674"
]
]
},
{
- "id": "8c7d88cf.19c588",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1059.6309776306152,
- "y": 200.30066585540771,
- "z": "65c9aaba.d47f7c",
- "wires": [
+ "id":"5c424a89.e26674",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":1061.2976608276367,
+ "y":171.30069541931152,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "a12c30e5.545f9"
+ "47b80c53.4ff5d4"
]
]
},
{
- "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": [
+ "id":"47b80c53.4ff5d4",
+ "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":1235.7262115478516,
+ "y":170.300687789917,
+ "z":"6ce0e277.83694c",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"b76add98.9e1be",
+ "type":"switchNode",
+ "name":"switch svc-action",
+ "xml":"<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":171.58330535888672,
+ "y":446.30070877075195,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "7698d5c.1143dac",
- "c834ebc1.b37db",
- "280a1dfa.b0ef12",
- "40cce0a9.5132b8",
- "5ba97181.5ecc78"
+ "9f1d13e8.82e5",
+ "35c209ea.ec9956",
+ "bc476f2b.e9662",
+ "a4e386cc.9d4fe8",
+ "3750fd7a.51d192"
]
]
},
{
- "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": [
+ "id":"9f1d13e8.82e5",
+ "type":"outcome",
+ "name":"create",
+ "xml":"<outcome value='create'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":373.08338928222656,
+ "y":446.30070877075195,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "1379c979.4ffbd7"
+ "229d8b8e.ad42f4"
]
]
},
{
- "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": [
+ "id":"229d8b8e.ad42f4",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":539.0833969116211,
+ "y":446.30070877075195,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "97127fcd.491ca8"
+ "87553fdd.439b4"
]
]
},
{
- "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": [
+ "id":"31212153.05a14e",
+ "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":1738.2975387573242,
+ "y":110.01497840881348,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "5138f56a.465374"
+ "f4b30b58.428408"
]
]
},
{
- "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": [
+ "id":"673a19c8.c4f588",
+ "type":"switchNode",
+ "name":"switch value",
+ "xml":"<switch test=\"`$tmp.value`\">\n",
+ "comments":"",
+ "outputs":1,
+ "x":2591.8688888549805,
+ "y":364.01495361328125,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "134be211.73f7be"
+ "e672b71c.729478"
]
]
},
{
- "id": "134be211.73f7be",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 2807.202178955078,
- "y": 392.01492977142334,
- "z": "65c9aaba.d47f7c",
- "wires": [
+ "id":"e672b71c.729478",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":2808.8688621520996,
+ "y":363.01495933532715,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "d41b48b9.7616f8"
+ "9880ef3.46a7f1"
]
]
},
{
- "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": [
+ "id":"9880ef3.46a7f1",
+ "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":2987.297576904297,
+ "y":364.01495933532715,
+ "z":"6ce0e277.83694c",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"35c209ea.ec9956",
+ "type":"outcome",
+ "name":"deactivate",
+ "xml":"<outcome value='deactivate'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":375.38094329833984,
+ "y":604.4762363433838,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "2303dff.d38ae2"
+ "cb8ed99f.c4ede8"
]
]
},
{
- "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": [
+ "id":"bc476f2b.e9662",
+ "type":"outcome",
+ "name":"delete",
+ "xml":"<outcome value='delete'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":379.0953254699707,
+ "y":775.1907939910889,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "389ea1d5.79e916"
+ "1a9b73a8.0cf75c"
]
]
},
{
- "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": [
+ "id":"a4e386cc.9d4fe8",
+ "type":"other",
+ "name":"other",
+ "xml":"<outcome value='Other'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":376.85720443725586,
+ "y":729.619062423706,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "1a84f642.1ab022"
+ "5e5bc4fc.5288dc"
]
]
},
{
- "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": [
+ "id":"5e5bc4fc.5288dc",
+ "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":530.4287796020508,
+ "y":732.2382063865662,
+ "z":"6ce0e277.83694c",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"f4b30b58.428408",
+ "type":"block",
+ "name":"block",
+ "xml":"<block>\n",
+ "atomic":"false",
+ "comments":"",
+ "outputs":1,
+ "x":1616.3809127807617,
+ "y":256.761926651001,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "29c502b.740c77e",
- "6b4d7b55.4c2ff4",
- "9b824272.4adc6"
+ "e47573a1.6ba18",
+ "26ac63ef.a9427c",
+ "71e6ba60.1db544"
]
]
},
{
- "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": [
+ "id":"87553fdd.439b4",
+ "type":"switchNode",
+ "name":"switch request-action",
+ "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":864.6666793823242,
+ "y":335.7143363952637,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "b86df3ce.626b8",
- "ff7737a8.55111"
+ "39a5f2c0.1dc56e",
+ "88f987b2.ec07e8"
]
]
},
{
- "id": "b86df3ce.626b8",
- "type": "other",
- "name": "CreateNetworkInstance",
- "xml": "<outcome value='CreateNetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1128.9999961853027,
- "y": 323.71430683135986,
- "z": "65c9aaba.d47f7c",
- "wires": [
+ "id":"39a5f2c0.1dc56e",
+ "type":"other",
+ "name":"CreateNetworkInstance",
+ "xml":"<outcome value='CreateNetworkInstance'>",
+ "comments":"",
+ "outputs":1,
+ "x":1130.6666793823242,
+ "y":294.7143363952637,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "b782b5c0.64daa8"
+ "c169b655.0cf8b8"
]
]
},
{
- "id": "ff7737a8.55111",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 1082.9999961853027,
- "y": 373.71430683135986,
- "z": "65c9aaba.d47f7c",
- "wires": [
+ "id":"88f987b2.ec07e8",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":1084.6666793823242,
+ "y":344.7143363952637,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "64b48b9c.6474c4"
+ "8ba2158c.eefe38"
]
]
},
{
- "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": [
+ "id":"8ba2158c.eefe38",
+ "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":1253.6666793823242,
+ "y":344.7143363952637,
+ "z":"6ce0e277.83694c",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"c169b655.0cf8b8",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":1355.6666793823242,
+ "y":283.7143363952637,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "9bc1551b.7cbc08"
+ "31212153.05a14e"
]
]
},
{
- "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": [
+ "id":"e47573a1.6ba18",
+ "type":"set",
+ "name":"clear tmp-data",
+ "xml":"<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
+ "comments":"",
+ "x":1808.380973815918,
+ "y":211.00002479553223,
+ "z":"6ce0e277.83694c",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"26ac63ef.a9427c",
+ "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":1797.380973815918,
+ "y":301.0000247955322,
+ "z":"6ce0e277.83694c",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"71e6ba60.1db544",
+ "type":"switchNode",
+ "name":"switch name",
+ "xml":"<switch test=\"'$tmp.name'\">\n",
+ "comments":"",
+ "outputs":1,
+ "x":1776.380973815918,
+ "y":395.0000247955322,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "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"
+ "680083b4.4ec03c",
+ "52ae21e2.cbfde",
+ "eb52f0cc.707a2",
+ "729b727c.e783bc",
+ "a11ee971.636938",
+ "847e975f.c4e778",
+ "9c556409.b9d588",
+ "92551891.abca18",
+ "43e55944.571388",
+ "bffd97c2.c0d0d8",
+ "53c77b44.d42e04",
+ "5b52d96e.83c168",
+ "12245816.6f2ce8",
+ "10b6ad91.e93502",
+ "311da7df.56b808",
+ "5e98d17a.e9af5",
+ "ae2e4af6.5db478"
]
]
},
{
- "id": "9dc924e4.d5eee8",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 2314.2855796813965,
- "y": 926.9999704360962,
- "z": "65c9aaba.d47f7c",
- "wires": [
+ "id":"680083b4.4ec03c",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":2315.952262878418,
+ "y":898,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "fd7cd54b.6b7b6"
+ "cc20162b.8f5aa8"
]
]
},
{
- "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": [
+ "id":"cc20162b.8f5aa8",
+ "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":2490.952262878418,
+ "y":897,
+ "z":"6ce0e277.83694c",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"52ae21e2.cbfde",
+ "type":"other",
+ "name":"name",
+ "xml":"<outcome value='name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2292.952262878418,
+ "y":20,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"eb52f0cc.707a2",
+ "type":"other",
+ "name":"service-type",
+ "xml":"<outcome value='service-type'>",
+ "comments":"",
+ "outputs":1,
+ "x":2295.952262878418,
+ "y":87,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"9c556409.b9d588",
+ "type":"other",
+ "name":"sna2_name",
+ "xml":"<outcome value='sna2_name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2299.952262878418,
+ "y":316,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"729b727c.e783bc",
+ "type":"other",
+ "name":"site1-name",
+ "xml":"<outcome value='site1-name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2296.952262878418,
+ "y":148,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"a11ee971.636938",
+ "type":"other",
+ "name":"site2-name",
+ "xml":"<outcome value='site2-name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2292.952262878418,
+ "y":205,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"847e975f.c4e778",
+ "type":"other",
+ "name":"sna1_name",
+ "xml":"<outcome value='sna1_name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2295.952262878418,
+ "y":262,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"92551891.abca18",
+ "type":"other",
+ "name":"pe1_id",
+ "xml":"<outcome value='pe1_id'>",
+ "comments":"",
+ "outputs":1,
+ "x":2299.952262878418,
+ "y":367,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"43e55944.571388",
+ "type":"other",
+ "name":"pe2_id",
+ "xml":"<outcome value='pe2_id'>",
+ "comments":"",
+ "outputs":1,
+ "x":2302.952262878418,
+ "y":415,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"bffd97c2.c0d0d8",
+ "type":"other",
+ "name":"ac1-id",
+ "xml":"<outcome value='ac1-id'>",
+ "comments":"",
+ "outputs":1,
+ "x":2307.952262878418,
+ "y":464,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"53c77b44.d42e04",
+ "type":"other",
+ "name":"ac2-id",
+ "xml":"<outcome value='ac2-id'>",
+ "comments":"",
+ "outputs":1,
+ "x":2309.952262878418,
+ "y":519,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"5b52d96e.83c168",
+ "type":"other",
+ "name":"ac1-ip",
+ "xml":"<outcome value='ac1-ip'>",
+ "comments":"",
+ "outputs":1,
+ "x":2309.952262878418,
+ "y":571,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"12245816.6f2ce8",
+ "type":"other",
+ "name":"ac2-ip",
+ "xml":"<outcome value='ac2-ip'>",
+ "comments":"",
+ "outputs":1,
+ "x":2311.952262878418,
+ "y":632,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"10b6ad91.e93502",
+ "type":"other",
+ "name":"ac1_peer_ip",
+ "xml":"<outcome value='ac1_peer_ip'>",
+ "comments":"",
+ "outputs":1,
+ "x":2313.952262878418,
+ "y":682,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"311da7df.56b808",
+ "type":"other",
+ "name":"ac2_peer_ip",
+ "xml":"<outcome value='ac2_peer_ip'>",
+ "comments":"",
+ "outputs":1,
+ "x":2309.952262878418,
+ "y":730,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"5e98d17a.e9af5",
+ "type":"other",
+ "name":"ac1_svlan",
+ "xml":"<outcome value='ac1_svlan'>",
+ "comments":"",
+ "outputs":1,
+ "x":2311.952262878418,
+ "y":783,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"ae2e4af6.5db478",
+ "type":"other",
+ "name":"ac2_svlan",
+ "xml":"<outcome value='ac2_svlan'>",
+ "comments":"",
+ "outputs":1,
+ "x":2313.952262878418,
+ "y":844,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "4640e206.76b664"
+ "673a19c8.c4f588"
]
]
},
{
- "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": [
+ "id":"1a9b73a8.0cf75c",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":310.23809814453125,
+ "y":856.8572435379028,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "54c12db0.6590dc"
+ "9d2b6252.7686e"
]
]
},
{
- "id": "1f448cd7.9ac43b",
- "type": "other",
- "name": "DeleteNetworkInstance",
- "xml": "<outcome value='DeleteNetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 775.2857055664062,
- "y": 798.857177734375,
- "z": "65c9aaba.d47f7c",
- "wires": [
+ "id":"a2921cae.f2ac3",
+ "type":"other",
+ "name":"DeleteNetworkInstance",
+ "xml":"<outcome value='DeleteNetworkInstance'>",
+ "comments":"",
+ "outputs":1,
+ "x":776.9523887634277,
+ "y":769.8572072982788,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "a7e9fd9d.eefae8"
+ "5219fa84.90d664"
]
]
},
{
- "id": "bd139dc0.9ef408",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 835.2857055664062,
- "y": 928.857177734375,
- "z": "65c9aaba.d47f7c",
- "wires": [
+ "id":"444810a.5a640f",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":836.9523887634277,
+ "y":899.8572072982788,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "c3650164.8f94"
+ "975771a8.05f76"
]
]
},
{
- "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": [
+ "id":"975771a8.05f76",
+ "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":1023.9523887634277,
+ "y":900.8572072982788,
+ "z":"6ce0e277.83694c",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"5219fa84.90d664",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":731.9523887634277,
+ "y":969.8572072982788,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "374f47e5.09a2f",
- "8ad81c32.d34b9"
+ "9de6db30.2f5d08",
+ "1e164e5f.bcc522"
]
]
},
{
- "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": [
+ "id":"9de6db30.2f5d08",
+ "type":"switchNode",
+ "name":"switch network-id",
+ "xml":"<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
+ "comments":"",
+ "outputs":1,
+ "x":885.9523277282715,
+ "y":1069.8572072982788,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "3a8b9cb2.91ca2c"
+ "8dcf2b85.8a7718"
]
]
},
{
- "id": "3a8b9cb2.91ca2c",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1068.28564453125,
- "y": 1101.857177734375,
- "z": "65c9aaba.d47f7c",
- "wires": [
+ "id":"8dcf2b85.8a7718",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":1069.9523277282715,
+ "y":1072.8572072982788,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "ed90dada.d01dc8"
+ "826c9129.66a6a"
]
]
},
{
- "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": [
+ "id":"826c9129.66a6a",
+ "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":1226.3810386657715,
+ "y":1071.8572072982788,
+ "z":"6ce0e277.83694c",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"3750fd7a.51d192",
+ "type":"outcome",
+ "name":"activate",
+ "xml":"<outcome value='activate'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":374.0952339172363,
+ "y":538.7619791030884,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "3c576c37.cacc9c"
+ "5d1ff75b.5232f8"
]
]
},
{
- "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": [
+ "id":"5d1ff75b.5232f8",
+ "type":"switchNode",
+ "name":"switch request-action",
+ "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":556.9524002075195,
+ "y":535.9048290252686,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "9ef27dfb.32967",
- "47a1d56.952aa2c"
+ "2afede0b.bd1572",
+ "54e1c91a.d85148"
]
]
},
{
- "id": "9ef27dfb.32967",
- "type": "other",
- "name": "ActivateDCINetworkInstance",
- "xml": "<outcome value='ActivateDCINetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 821.285717010498,
- "y": 523.9047994613647,
- "z": "65c9aaba.d47f7c",
- "wires": [
+ "id":"2afede0b.bd1572",
+ "type":"other",
+ "name":"ActivateDCINetworkInstance",
+ "xml":"<outcome value='ActivateDCINetworkInstance'>",
+ "comments":"",
+ "outputs":1,
+ "x":822.9524002075195,
+ "y":494.90482902526855,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "b568716c.746398"
+ "50e656ca.d6f338"
]
]
},
{
- "id": "47a1d56.952aa2c",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 775.285717010498,
- "y": 573.9047994613647,
- "z": "65c9aaba.d47f7c",
- "wires": [
+ "id":"54e1c91a.d85148",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":776.9524002075195,
+ "y":544.9048290252686,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "66c486ba.242f98"
+ "3c265a21.293036"
]
]
},
{
- "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": [
+ "id":"3c265a21.293036",
+ "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":945.9524002075195,
+ "y":544.9048290252686,
+ "z":"6ce0e277.83694c",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"50e656ca.d6f338",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":1047.9524002075195,
+ "y":483.90482902526855,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "f1391d7b.3f3618"
+ "64a676e8.861d28"
]
]
},
{
- "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":"6076d36f.c0eccc",
+ "type":"other",
+ "name":"DeActivateDCINetworkInstance",
+ "xml":"<outcome value='DeActivateDCINetworkInstance'>",
+ "comments":"",
+ "outputs":1,
+ "x":818.8095703125,
+ "y":606.1906299591064,
+ "z":"6ce0e277.83694c",
+ "wires":[
+ [
+ "ad73741b.c60b68"
+ ]
]
},
{
- "id": "afd0efcd.371a1",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 732.142879486084,
- "y": 704.1906080245972,
- "z": "65c9aaba.d47f7c",
- "wires": [
+ "id":"b7a2dc33.468d7",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":733.8095626831055,
+ "y":675.190637588501,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "b6887a7a.63ca6"
+ "866ab25a.9ff16"
]
]
},
{
- "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": [
+ "id":"866ab25a.9ff16",
+ "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":914.8095779418945,
+ "y":676.190637588501,
+ "z":"6ce0e277.83694c",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"64a676e8.861d28",
+ "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":1355.8177337646484,
+ "y":485.3333520889282,
+ "z":"6ce0e277.83694c",
+ "wires":[
+ [
+
+ ]
+ ]
+ },
+ {
+ "id":"cb8ed99f.c4ede8",
+ "type":"switchNode",
+ "name":"switch request-action",
+ "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":555.6666259765625,
+ "y":606.6664638519287,
+ "z":"6ce0e277.83694c",
+ "wires":[
+ [
+ "6076d36f.c0eccc",
+ "b7a2dc33.468d7"
+ ]
+ ]
+ },
+ {
+ "id":"9d2b6252.7686e",
+ "type":"switchNode",
+ "name":"switch request-action",
+ "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":545.6666831970215,
+ "y":857.0000295639038,
+ "z":"6ce0e277.83694c",
+ "wires":[
+ [
+ "a2921cae.f2ac3",
+ "444810a.5a640f"
+ ]
+ ]
+ },
+ {
+ "id":"1e164e5f.bcc522",
+ "type":"execute",
+ "name":"execute requiredParameter",
+ "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":1018.6666831970215,
+ "y":966.0000295639038,
+ "z":"6ce0e277.83694c",
+ "wires":[
+ [
+
+ ]
+ ]
+ },
+ {
+ "id":"ad73741b.c60b68",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":1107.6666259765625,
+ "y":609,
+ "z":"6ce0e277.83694c",
+ "wires":[
+ [
+ "68fa6b90.e42414",
+ "b293eb0.4a82b18"
+ ]
+ ]
+ },
+ {
+ "id":"68fa6b90.e42414",
+ "type":"switchNode",
+ "name":"switch network-id",
+ "xml":"<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
+ "comments":"",
+ "outputs":1,
+ "x":1261.6665649414062,
+ "y":709,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "ab14b358.9b8f7",
- "afd0efcd.371a1"
+ "e6a56919.99b308"
]
]
},
{
- "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": [
+ "id":"e6a56919.99b308",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":1445.6665649414062,
+ "y":712,
+ "z":"6ce0e277.83694c",
+ "wires":[
[
- "1f448cd7.9ac43b",
- "bd139dc0.9ef408"
+ "c239837d.9386b"
]
]
},
{
- "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": [
- []
+ "id":"c239837d.9386b",
+ "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":1602.0952758789062,
+ "y":711,
+ "z":"6ce0e277.83694c",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"b293eb0.4a82b18",
+ "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":1394.3809204101562,
+ "y":605.142822265625,
+ "z":"6ce0e277.83694c",
+ "wires":[
+ [
+
+ ]
]
}
-]
+] \ No newline at end of file