[
{
- "id":"da317618.54edf8",
- "type":"dgstart",
- "name":"DGSTART",
- "outputs":1,
- "x":102.515625,
- "y":113.04766654968262,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "ddf8122b.bf6e5",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 87,
+ "y": 115.04766654968262,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "20ee17f7.cfbc68"
+ "2fff1e3d.63ab82"
]
]
},
{
- "id":"20ee17f7.cfbc68",
- "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}'>",
- "outputs":1,
- "x":347.8013381958008,
- "y":112.28574562072754,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "2fff1e3d.63ab82",
+ "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": 332.2857131958008,
+ "y": 114.28574562072754,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "5a68f7e0.593d38"
+ "5d7ec735.0c4ba8"
]
]
},
{
- "id":"5a68f7e0.593d38",
- "type":"method",
- "name":"method validate-network-input-parameters",
- "xml":"<method rpc='validate-network-input-parameters' mode='sync'>\n",
- "comments":"",
- "outputs":1,
- "x":305.43231201171875,
- "y":187.30068397521973,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "5d7ec735.0c4ba8",
+ "type": "method",
+ "name": "method validate-network-input-parameters",
+ "xml": "<method rpc='validate-network-input-parameters' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 289.91668701171875,
+ "y": 189.30068397521973,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "df4d604e.2ca72"
+ "c72cc377.3d6a98"
]
]
},
{
- "id":"df4d604e.2ca72",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":589.4323196411133,
- "y":175.30070877075195,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "c72cc377.3d6a98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 573.9166946411133,
+ "y": 177.30070877075195,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "638c95bd.8f466c",
- "420ecc0a.f3f174"
+ "846bb887.500c9",
+ "26516dd.068d212"
]
]
},
{
- "id":"638c95bd.8f466c",
- "type":"switchNode",
- "name":"switch svc-action",
- "xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":870.4323196411133,
- "y":170.3006944656372,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "846bb887.500c9",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 854.9166946411133,
+ "y": 172.3006944656372,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "66d387c4.23de98"
+ "770a13b8.39f74c"
]
]
},
{
- "id":"66d387c4.23de98",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":1061.1466217041016,
- "y":171.30069541931152,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "770a13b8.39f74c",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1045.6309967041016,
+ "y": 173.30069541931152,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "a7efa050.0eb13"
+ "b2cafa38.2cf18"
]
]
},
{
- "id":"a7efa050.0eb13",
- "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.5751724243164,
- "y":170.300687789917,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "b2cafa38.2cf18",
+ "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": 1220.0595474243164,
+ "y": 172.300687789917,
+ "z": "8e4867bc.5edaa8",
+ "wires": []
},
{
- "id":"420ecc0a.f3f174",
- "type":"switchNode",
- "name":"switch svc-action",
- "xml":"<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":171.43226623535156,
- "y":446.30070877075195,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "26516dd.068d212",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 155.91664123535156,
+ "y": 448.30070877075195,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "a1c81a08.4a4658",
- "35262124.49e2ee",
- "8db39207.9cf42",
- "ac1f4d45.6379a",
- "50f9a48d.e072dc"
+ "3553ffe6.e3983",
+ "9543c13f.54a338",
+ "67e65045.59b8a8",
+ "72ab0083.c0d808",
+ "1c3c77bb.a2bfc"
]
]
},
{
- "id":"a1c81a08.4a4658",
- "type":"outcome",
- "name":"assign",
- "xml":"<outcome value='assign'>\n",
- "comments":"",
- "outputs":1,
- "x":372.9323501586914,
- "y":446.30070877075195,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "3553ffe6.e3983",
+ "type": "outcome",
+ "name": "create",
+ "xml": "<outcome value='create'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 357.4167251586914,
+ "y": 448.30070877075195,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "7802f1ec.ca7d8"
+ "dfd730e2.3d41a"
]
]
},
{
- "id":"7802f1ec.ca7d8",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":538.9323577880859,
- "y":446.30070877075195,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "dfd730e2.3d41a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 523.4167327880859,
+ "y": 448.30070877075195,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "ea0957a5.857bf8"
+ "b792e4c7.13b96"
]
]
},
{
- "id":"ef18ce39.3e51e",
- "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.146499633789,
- "y":110.01497840881348,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "786f42e8.a3ebcc",
+ "type": "for",
+ "name": "for loop i - Network input parameters",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1720.630859375,
+ "y": 109.01498413085938,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "80257d50.3b4d4"
+ "39c05252.332006"
]
]
},
{
- "id":"4a695b88.fdc594",
- "type":"switchNode",
- "name":"switch value",
- "xml":"<switch test=\"`$tmp.value`\">\n",
- "comments":"",
- "outputs":1,
- "x":2591.7178497314453,
- "y":364.01495361328125,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "4662d843.0df85",
+ "type": "switchNode",
+ "name": "switch value",
+ "xml": "<switch test=\"`$tmp.value`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2576.2022247314453,
+ "y": 366.01495361328125,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "9ba44b0.d83ecb8"
+ "632316ae.127dd"
]
]
},
{
- "id":"9ba44b0.d83ecb8",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":2808.7178230285645,
- "y":363.01495933532715,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "632316ae.127dd",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2793.2021980285645,
+ "y": 365.01495933532715,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "b0753bf8.b88448"
+ "3f61b79e.239a58"
]
]
},
{
- "id":"b0753bf8.b88448",
- "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":2987.1465377807617,
- "y":364.01495933532715,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "3f61b79e.239a58",
+ "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": 2971.6309127807617,
+ "y": 366.01495933532715,
+ "z": "8e4867bc.5edaa8",
+ "wires": []
},
{
- "id":"35262124.49e2ee",
- "type":"outcome",
- "name":"deactivate",
- "xml":"<outcome value='deactivate'>\n",
- "comments":"",
- "outputs":1,
- "x":375.2299041748047,
- "y":604.4762363433838,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "9543c13f.54a338",
+ "type": "outcome",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 359.7142791748047,
+ "y": 606.4762363433838,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "e5333ad2.88c6a8"
+ "ff7f1b4f.30d5a8"
]
]
},
{
- "id":"8db39207.9cf42",
- "type":"outcome",
- "name":"delete",
- "xml":"<outcome value='delete'>\n",
- "comments":"",
- "outputs":1,
- "x":378.94428634643555,
- "y":931.1907939910889,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "67e65045.59b8a8",
+ "type": "outcome",
+ "name": "delete",
+ "xml": "<outcome value='delete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 363.42866134643555,
+ "y": 777.1907939910889,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "69b449f8.e0c4f8"
+ "c1e4044f.d7929"
]
]
},
{
- "id":"ac1f4d45.6379a",
- "type":"other",
- "name":"other",
- "xml":"<outcome value='Other'>\n",
- "comments":"",
- "outputs":1,
- "x":376.7061653137207,
- "y":885.619062423706,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "72ab0083.c0d808",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 363.1905517578125,
+ "y": 950.6190795898438,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "c57b3d6b.428a1"
+ "f0129720.1ef558"
]
]
},
{
- "id":"c57b3d6b.428a1",
- "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.2777404785156,
- "y":888.2382063865662,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "f0129720.1ef558",
+ "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": 546.7620849609375,
+ "y": 951.2382202148438,
+ "z": "8e4867bc.5edaa8",
+ "wires": []
},
{
- "id":"80257d50.3b4d4",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":1616.2298736572266,
- "y":256.761926651001,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "39c05252.332006",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1600.7142486572266,
+ "y": 258.761926651001,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "50315017.56b56",
- "1ffb5b62.b458c5",
- "846be723.9405f8"
+ "bd82571.4ad4228",
+ "ce182094.ef8a3",
+ "6a5abb1b.52e074"
]
]
},
{
- "id":"ea0957a5.857bf8",
- "type":"switchNode",
- "name":"switch request-action",
- "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":864.5156402587891,
- "y":335.7143363952637,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "b792e4c7.13b96",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 849.0000152587891,
+ "y": 337.7143363952637,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "6458f4b.5fda60c",
- "7c5ea13d.5b8e"
+ "c5d42ffb.c9f0d8",
+ "69f739d0.28fca"
]
]
},
{
- "id":"6458f4b.5fda60c",
- "type":"other",
- "name":"CreateNetworkInstance",
- "xml":"<outcome value='CreateNetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":1130.515640258789,
- "y":294.7143363952637,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "c5d42ffb.c9f0d8",
+ "type": "other",
+ "name": "CreateNetworkInstance",
+ "xml": "<outcome value='CreateNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1115.000015258789,
+ "y": 296.7143363952637,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "84eb81e3.dcb2d"
+ "2a69c84.9676bb8"
]
]
},
{
- "id":"7c5ea13d.5b8e",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":1084.515640258789,
- "y":344.7143363952637,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "69f739d0.28fca",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1069.000015258789,
+ "y": 346.7143363952637,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "f6d144fc.f801f8"
+ "a4f6f6a1.e1ab58"
]
]
},
{
- "id":"f6d144fc.f801f8",
- "type":"returnFailure",
- "name":"return failure",
- "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
- "comments":"",
- "x":1253.515640258789,
- "y":344.7143363952637,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "a4f6f6a1.e1ab58",
+ "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": 1238.000015258789,
+ "y": 346.7143363952637,
+ "z": "8e4867bc.5edaa8",
+ "wires": []
},
{
- "id":"84eb81e3.dcb2d",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":1355.515640258789,
- "y":283.7143363952637,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "ef18ce39.3e51e"
+ "id": "2a69c84.9676bb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1340.000015258789,
+ "y": 285.7143363952637,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
+ [
+ "786f42e8.a3ebcc"
]
]
},
{
- "id":"e0b5f19f.d9b45",
- "type":"comment",
- "name":"TODO: need to identify underlay or overlay",
- "info":"",
- "comments":"",
- "x":1100.087142944336,
- "y":243.42859649658203,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
- },
- {
- "id":"50315017.56b56",
- "type":"set",
- "name":"clear tmp-data",
- "xml":"<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
- "comments":"",
- "x":1808.2299346923828,
- "y":211.00002479553223,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "bd82571.4ad4228",
+ "type": "set",
+ "name": "clear tmp-data",
+ "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
+ "comments": "",
+ "x": 1792.7143096923828,
+ "y": 213.00002479553223,
+ "z": "8e4867bc.5edaa8",
+ "wires": []
},
{
- "id":"1ffb5b62.b458c5",
- "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.2299346923828,
- "y":301.0000247955322,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "ce182094.ef8a3",
+ "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": 1781.7143096923828,
+ "y": 303.0000247955322,
+ "z": "8e4867bc.5edaa8",
+ "wires": []
},
{
- "id":"846be723.9405f8",
- "type":"switchNode",
- "name":"switch name",
- "xml":"<switch test=\"'$tmp.name'\">\n",
- "comments":"",
- "outputs":1,
- "x":1776.2299346923828,
- "y":395.0000247955322,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "6a5abb1b.52e074",
+ "type": "switchNode",
+ "name": "switch name",
+ "xml": "<switch test=\"`$tmp.name`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1760.7143096923828,
+ "y": 397.0000247955322,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "45932bf.e6c01d4",
- "39a76082.5cc54",
- "6eae96bd.b54598",
- "fa0caaec.e45618",
- "ca5c1826.4817d8",
- "7792e369.1908ac",
- "13678c40.7cc714",
- "a2732629.f76cc8",
- "f2c5c3f2.76097",
- "54ca3e0b.56d18",
- "681149f1.d61ef8",
- "4bc98b71.a2aa84",
- "aff0f172.9ddbc",
- "d8ad234.fa86ce",
- "705971b7.939b3",
- "c8386139.7bc31",
- "382fe5b2.be669a"
+ "52effe4f.ac2ae8",
+ "869a7fd8.50b75",
+ "407c2eba.5d49f8",
+ "174077c9.6c10c8",
+ "4f610fc8.b35008",
+ "10ff2035.1d4618",
+ "4c528719.50cae",
+ "a67c5c2f.007308",
+ "8b639e89.f3549",
+ "d88cca1b.f3ea88",
+ "986570e4.376248",
+ "cd383e71.d36be8",
+ "a1ba7fd7.d88d3",
+ "a53ac3b.66852c",
+ "3d95e365.11bc6c",
+ "18048265.211a56",
+ "e570f120.c01b38"
]
]
},
{
- "id":"45932bf.e6c01d4",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":2315.801223754883,
- "y":898,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "52effe4f.ac2ae8",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2300.285598754883,
+ "y": 900,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "6a1da75c.dff4f8"
+ "540cec23.3e0ea4"
]
]
},
{
- "id":"6a1da75c.dff4f8",
- "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.801223754883,
- "y":897,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "540cec23.3e0ea4",
+ "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.network-request-input.network-input-parameters.param[' + $i + ']' + '.name is a required input'`\" />\n",
+ "comments": "",
+ "x": 2475.285598754883,
+ "y": 899,
+ "z": "8e4867bc.5edaa8",
+ "wires": []
},
{
- "id":"39a76082.5cc54",
- "type":"other",
- "name":"name",
- "xml":"<outcome value='name'>",
- "comments":"",
- "outputs":1,
- "x":2292.801223754883,
- "y":20,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "869a7fd8.50b75",
+ "type": "other",
+ "name": "name",
+ "xml": "<outcome value='name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2277.285598754883,
+ "y": 22,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"6eae96bd.b54598",
- "type":"other",
- "name":"service-type",
- "xml":"<outcome value='service-type'>",
- "comments":"",
- "outputs":1,
- "x":2295.801223754883,
- "y":87,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "407c2eba.5d49f8",
+ "type": "other",
+ "name": "service-type",
+ "xml": "<outcome value='service-type'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2280.285598754883,
+ "y": 89,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"13678c40.7cc714",
- "type":"other",
- "name":"sna2_name",
- "xml":"<outcome value='sna2_name'>",
- "comments":"",
- "outputs":1,
- "x":2299.801223754883,
- "y":316,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "4c528719.50cae",
+ "type": "other",
+ "name": "sna2_name",
+ "xml": "<outcome value='sna2_name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2284.285598754883,
+ "y": 318,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"fa0caaec.e45618",
- "type":"other",
- "name":"site1-name",
- "xml":"<outcome value='site1-name'>",
- "comments":"",
- "outputs":1,
- "x":2296.801223754883,
- "y":148,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "174077c9.6c10c8",
+ "type": "other",
+ "name": "site1-name",
+ "xml": "<outcome value='site1-name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2281.285598754883,
+ "y": 150,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"ca5c1826.4817d8",
- "type":"other",
- "name":"site2-name",
- "xml":"<outcome value='site2-name'>",
- "comments":"",
- "outputs":1,
- "x":2292.801223754883,
- "y":205,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "4f610fc8.b35008",
+ "type": "other",
+ "name": "site2-name",
+ "xml": "<outcome value='site2-name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2277.285598754883,
+ "y": 207,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"7792e369.1908ac",
- "type":"other",
- "name":"sna1_name",
- "xml":"<outcome value='sna1_name'>",
- "comments":"",
- "outputs":1,
- "x":2295.801223754883,
- "y":262,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "10ff2035.1d4618",
+ "type": "other",
+ "name": "sna1_name",
+ "xml": "<outcome value='sna1_name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2280.285598754883,
+ "y": 264,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"a2732629.f76cc8",
- "type":"other",
- "name":"pe1_id",
- "xml":"<outcome value='pe1_id'>",
- "comments":"",
- "outputs":1,
- "x":2299.801223754883,
- "y":367,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "a67c5c2f.007308",
+ "type": "other",
+ "name": "pe1_id",
+ "xml": "<outcome value='pe1_id'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2284.285598754883,
+ "y": 369,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"f2c5c3f2.76097",
- "type":"other",
- "name":"pe2_id",
- "xml":"<outcome value='pe2_id'>",
- "comments":"",
- "outputs":1,
- "x":2302.801223754883,
- "y":415,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "8b639e89.f3549",
+ "type": "other",
+ "name": "pe2_id",
+ "xml": "<outcome value='pe2_id'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2287.285598754883,
+ "y": 417,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"54ca3e0b.56d18",
- "type":"other",
- "name":"ac1-id",
- "xml":"<outcome value='ac1-id'>",
- "comments":"",
- "outputs":1,
- "x":2307.801223754883,
- "y":464,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "d88cca1b.f3ea88",
+ "type": "other",
+ "name": "ac1-id",
+ "xml": "<outcome value='ac1-id'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2292.285598754883,
+ "y": 466,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"681149f1.d61ef8",
- "type":"other",
- "name":"ac2-id",
- "xml":"<outcome value='ac2-id'>",
- "comments":"",
- "outputs":1,
- "x":2309.801223754883,
- "y":519,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "986570e4.376248",
+ "type": "other",
+ "name": "ac2-id",
+ "xml": "<outcome value='ac2-id'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2294.285598754883,
+ "y": 521,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"4bc98b71.a2aa84",
- "type":"other",
- "name":"ac1-ip",
- "xml":"<outcome value='ac1-ip'>",
- "comments":"",
- "outputs":1,
- "x":2309.801223754883,
- "y":571,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "cd383e71.d36be8",
+ "type": "other",
+ "name": "ac1-ip",
+ "xml": "<outcome value='ac1-ip'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2294.285598754883,
+ "y": 573,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"aff0f172.9ddbc",
- "type":"other",
- "name":"ac2-ip",
- "xml":"<outcome value='ac2-ip'>",
- "comments":"",
- "outputs":1,
- "x":2311.801223754883,
- "y":632,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "a1ba7fd7.d88d3",
+ "type": "other",
+ "name": "ac2-ip",
+ "xml": "<outcome value='ac2-ip'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2296.285598754883,
+ "y": 634,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"d8ad234.fa86ce",
- "type":"other",
- "name":"ac1_peer_ip",
- "xml":"<outcome value='ac1_peer_ip'>",
- "comments":"",
- "outputs":1,
- "x":2313.801223754883,
- "y":682,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "a53ac3b.66852c",
+ "type": "other",
+ "name": "ac1_peer_ip",
+ "xml": "<outcome value='ac1_peer_ip'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2298.285598754883,
+ "y": 684,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"705971b7.939b3",
- "type":"other",
- "name":"ac2_peer_ip",
- "xml":"<outcome value='ac2_peer_ip'>",
- "comments":"",
- "outputs":1,
- "x":2309.801223754883,
- "y":730,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "3d95e365.11bc6c",
+ "type": "other",
+ "name": "ac2_peer_ip",
+ "xml": "<outcome value='ac2_peer_ip'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2294.285598754883,
+ "y": 732,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"c8386139.7bc31",
- "type":"other",
- "name":"ac1_svlan",
- "xml":"<outcome value='ac1_svlan'>",
- "comments":"",
- "outputs":1,
- "x":2311.801223754883,
- "y":783,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "18048265.211a56",
+ "type": "other",
+ "name": "ac1_svlan",
+ "xml": "<outcome value='ac1_svlan'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2296.285598754883,
+ "y": 785,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"382fe5b2.be669a",
- "type":"other",
- "name":"ac2_svlan",
- "xml":"<outcome value='ac2_svlan'>",
- "comments":"",
- "outputs":1,
- "x":2313.801223754883,
- "y":844,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "e570f120.c01b38",
+ "type": "other",
+ "name": "ac2_svlan",
+ "xml": "<outcome value='ac2_svlan'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2298.285598754883,
+ "y": 846,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "4a695b88.fdc594"
+ "4662d843.0df85"
]
]
},
{
- "id":"69b449f8.e0c4f8",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":310.0870590209961,
- "y":1012.8572435379028,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "c1e4044f.d7929",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 532.5714111328125,
+ "y": 775.8572387695312,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "d5f90944.52fe68",
- "f019a10f.84bba"
+ "4d5581d7.e27f88"
]
]
},
{
- "id":"d5f90944.52fe68",
- "type":"other",
- "name":"DeleteNetworkInstance",
- "xml":"<outcome value='DeleteNetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":325.8013496398926,
- "y":1068.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "4f4bf5a8.a829ac",
+ "type": "other",
+ "name": "DeleteNetworkInstance",
+ "xml": "<outcome value='DeleteNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 965.2857055664062,
+ "y": 778.857177734375,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "1ad15265.c666ae"
+ "562b1ef.a708d6"
]
]
},
{
- "id":"f019a10f.84bba",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":279.8013496398926,
- "y":1118.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "548cf43d.62af0c",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1025.2857055664062,
+ "y": 908.857177734375,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "b5aedf37.5b6ec"
+ "5adf131e.a61cf4"
]
]
},
{
- "id":"b5aedf37.5b6ec",
- "type":"returnFailure",
- "name":"return failure",
- "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
- "comments":"",
- "x":448.8013496398926,
- "y":1118.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "5adf131e.a61cf4",
+ "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": 1212.2857055664062,
+ "y": 909.857177734375,
+ "z": "8e4867bc.5edaa8",
+ "wires": []
},
{
- "id":"1ad15265.c666ae",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":550.8013496398926,
- "y":1057.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "562b1ef.a708d6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 920.2857055664062,
+ "y": 978.857177734375,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "916b52b.b2dacb"
+ "253ad8eb.98869",
+ "aeedc57a.12dee8"
]
]
},
{
- "id":"916b52b.b2dacb",
- "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":372.8013496398926,
- "y":1212.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "253ad8eb.98869",
+ "type": "switchNode",
+ "name": "switch network-id",
+ "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1074.28564453125,
+ "y": 1078.857177734375,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "48a15b4b.da9c94"
+ "34e7b676.a0927a"
]
]
},
{
- "id":"48a15b4b.da9c94",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":365.8013496398926,
- "y":1297.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "34e7b676.a0927a",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1258.28564453125,
+ "y": 1081.857177734375,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "c6022f0d.42d06"
+ "8389ad47.02308"
]
]
},
{
- "id":"c6022f0d.42d06",
- "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":548.8013496398926,
- "y":1290.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "235fbeb1.629a02"
- ]
- ]
+ "id": "8389ad47.02308",
+ "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": 1414.71435546875,
+ "y": 1080.857177734375,
+ "z": "8e4867bc.5edaa8",
+ "wires": []
},
{
- "id":"235fbeb1.629a02",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":729.8013496398926,
- "y":1289.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "1c3c77bb.a2bfc",
+ "type": "outcome",
+ "name": "activate",
+ "xml": "<outcome value='activate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 358.4285697937012,
+ "y": 540.7619791030884,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "9c3a3b86.66d288"
+ "3c6d4ec3.c79d7a"
]
]
},
{
- "id":"9c3a3b86.66d288",
- "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":893.8013496398926,
- "y":1289.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "3c6d4ec3.c79d7a",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 541.2857360839844,
+ "y": 537.9048290252686,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "7bc8b1f4.9d2b8"
+ "bc964363.f267b",
+ "a1a12099.fb3058"
]
]
},
{
- "id":"7bc8b1f4.9d2b8",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":762.8013496398926,
- "y":1413.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "bc964363.f267b",
+ "type": "other",
+ "name": "ActivateDCINetworkInstance",
+ "xml": "<outcome value='ActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 807.2857360839844,
+ "y": 496.90482902526855,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "457d6f04.16b53"
+ "a3300122.bf0e6"
]
]
},
{
- "id":"457d6f04.16b53",
- "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":941.2300643920898,
- "y":1414.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
- },
- {
- "id":"50f9a48d.e072dc",
- "type":"outcome",
- "name":"activate",
- "xml":"<outcome value='activate'>\n",
- "comments":"",
- "outputs":1,
- "x":373.9441947937012,
- "y":538.7619791030884,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "a1a12099.fb3058",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 761.2857360839844,
+ "y": 546.9048290252686,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "90da72db.f3e38"
+ "7572ee8e.b0b5b8"
]
]
},
{
- "id":"90da72db.f3e38",
- "type":"switchNode",
- "name":"switch request-action",
- "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":556.8013610839844,
- "y":535.9048290252686,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "e1518316.05556",
- "e5ae8d2b.cedcd"
- ]
- ]
+ "id": "7572ee8e.b0b5b8",
+ "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": 930.2857360839844,
+ "y": 546.9048290252686,
+ "z": "8e4867bc.5edaa8",
+ "wires": []
},
{
- "id":"e1518316.05556",
- "type":"other",
- "name":"ActivateNetworkInstance",
- "xml":"<outcome value='ActivateNetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":822.8013610839844,
- "y":494.90482902526855,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "a3300122.bf0e6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1032.2857360839844,
+ "y": 485.90482902526855,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "d9a3c7f4.4c0498"
+ "7cd4d474.99df44"
]
]
},
{
- "id":"e5ae8d2b.cedcd",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":776.8013610839844,
- "y":544.9048290252686,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "e4ddb749.a4dd58",
+ "type": "other",
+ "name": "DeActivateDCINetworkInstance",
+ "xml": "<outcome value='DeActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 803.1429061889648,
+ "y": 608.1906299591064,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "ca95078e.01fd58"
+ "393b880c.5a2ab8"
]
]
},
{
- "id":"ca95078e.01fd58",
- "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.8013610839844,
- "y":544.9048290252686,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
- },
- {
- "id":"d9a3c7f4.4c0498",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":1047.8013610839844,
- "y":483.90482902526855,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "b415c4d7.ec51d8",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 718.1428985595703,
+ "y": 677.190637588501,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "de9d0bad.f413c8"
+ "b678cd71.9eea48"
]
]
},
{
- "id":"e5333ad2.88c6a8",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":542.515625,
- "y":608.7620029449463,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "22ce90c5.e5b49",
- "52bb2fe2.e66a7"
- ]
- ]
+ "id": "b678cd71.9eea48",
+ "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": 899.1429138183594,
+ "y": 678.190637588501,
+ "z": "8e4867bc.5edaa8",
+ "wires": []
},
{
- "id":"22ce90c5.e5b49",
- "type":"other",
- "name":"DeactivateNetworkInstance",
- "xml":"<outcome value='DeactivateNetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":639.6585159301758,
- "y":686.1905641555786,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "53c38c61.a27c24"
- ]
+ "id": "7cd4d474.99df44",
+ "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": 1340.1510696411133,
+ "y": 487.3333520889282,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
+ []
]
},
{
- "id":"52bb2fe2.e66a7",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":593.6585159301758,
- "y":736.1905641555786,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "ff7f1b4f.30d5a8",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 539.9999618530273,
+ "y": 608.6664638519287,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "d9cf8575.0f9368"
+ "e4ddb749.a4dd58",
+ "b415c4d7.ec51d8"
]
]
},
{
- "id":"d9cf8575.0f9368",
- "type":"returnFailure",
- "name":"return failure",
- "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
- "comments":"",
- "x":762.6585159301758,
- "y":736.1905641555786,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
- },
- {
- "id":"53c38c61.a27c24",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":864.6585159301758,
- "y":675.1905641555786,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "4d5581d7.e27f88",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 706,
+ "y": 867,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "a4cdd306.8c69b"
+ "4f4bf5a8.a829ac",
+ "548cf43d.62af0c"
]
]
},
{
- "id":"a4cdd306.8c69b",
- "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":686.6585159301758,
- "y":830.1905641555786,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "864af6c.1a7ea08"
- ]
+ "id": "aeedc57a.12dee8",
+ "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=\"$network-topology-operation-input.network-information.network-id\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1207,
+ "y": 975,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
+ []
]
},
{
- "id":"864af6c.1a7ea08",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":968.2299575805664,
- "y":803.7619962692261,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "393b880c.5a2ab8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1091.9999618530273,
+ "y": 611,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "d3a2495e.6d4c48"
+ "46bbeff4.c42c88",
+ "1fbe8bfb.465ce4"
]
]
},
{
- "id":"d3a2495e.6d4c48",
- "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":984.0871505737305,
- "y":859.6191473007202,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "46bbeff4.c42c88",
+ "type": "switchNode",
+ "name": "switch network-id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1245.999900817871,
+ "y": 711,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "bb342c57.b05fa"
+ "147516eb.099cf9"
]
]
},
{
- "id":"bb342c57.b05fa",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":1165.0871505737305,
- "y":858.6191473007202,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "147516eb.099cf9",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1429.999900817871,
+ "y": 714,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
[
- "552390de.1e8c"
+ "c957deec.097848"
]
]
},
{
- "id":"552390de.1e8c",
- "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":1241.9442596435547,
- "y":937.1905860900879,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "6d879fa9.4e09f"
- ]
- ]
- },
- {
- "id":"6d879fa9.4e09f",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":1150.9442024230957,
- "y":1021.1905422210693,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "70a14092.36e2f"
- ]
- ]
+ "id": "c957deec.097848",
+ "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": 1586.428611755371,
+ "y": 713,
+ "z": "8e4867bc.5edaa8",
+ "wires": []
},
{
- "id":"70a14092.36e2f",
- "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":1329.372917175293,
- "y":1022.1905422210693,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
- },
- {
- "id":"de9d0bad.f413c8",
- "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.6666946411133,
- "y":485.3333520889282,
- "z":"bc976c53.f1a79",
- "wires":[
- [
-
- ]
+ "id": "1fbe8bfb.465ce4",
+ "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=\"$network-topology-operation-input.network-information.network-id\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1378.714256286621,
+ "y": 607.142822265625,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
+ []
]
}
-]
\ No newline at end of file
+]