[
{
- "id": "12b79dd.fcf1ae2",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 80,
- "y": 85.76192092895508,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"da317618.54edf8",
+ "type":"dgstart",
+ "name":"DGSTART",
+ "outputs":1,
+ "x":102.515625,
+ "y":113.04766654968262,
+ "z":"bc976c53.f1a79",
+ "wires":[
[
- "45289095.8730c"
+ "20ee17f7.cfbc68"
]
]
},
{
- "id": "45289095.8730c",
- "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": 325.2857131958008,
- "y": 85,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "54e5c542.fd5504"
+ "5a68f7e0.593d38"
]
]
},
{
- "id": "54e5c542.fd5504",
- "type": "method",
- "name": "method validate-network-input-parameters",
- "xml": "<method rpc='validate-network-input-parameters' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 282.91668701171875,
- "y": 160.0149383544922,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "4aa39923.928d98"
+ "df4d604e.2ca72"
]
]
},
{
- "id": "4aa39923.928d98",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 566.9166946411133,
- "y": 148.0149631500244,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "588fd95a.bd649",
- "3dc5112.e6e5c6e"
+ "638c95bd.8f466c",
+ "420ecc0a.f3f174"
]
]
},
{
- "id": "588fd95a.bd649",
- "type": "switchNode",
- "name": "switch svc-action",
- "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 847.9166946411133,
- "y": 143.01494884490967,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "bea9cc02.adf488"
+ "66d387c4.23de98"
]
]
},
{
- "id": "bea9cc02.adf488",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1038.6309967041016,
- "y": 144.01494979858398,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"66d387c4.23de98",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":1061.1466217041016,
+ "y":171.30069541931152,
+ "z":"bc976c53.f1a79",
+ "wires":[
[
- "c0743608.2f921"
+ "a7efa050.0eb13"
]
]
},
{
- "id": "c0743608.2f921",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"sdnc-request-header.svc-request-id is a required input\" />\n",
- "comments": "",
- "x": 1213.0595474243164,
- "y": 143.01494216918945,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "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": "3dc5112.e6e5c6e",
- "type": "switchNode",
- "name": "switch svc-action",
- "xml": "<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 148.91664123535156,
- "y": 419.0149631500244,
- "z": "c6f0d3f1.455d9",
- "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":[
[
- "3acc66b9.f1e56a",
- "69b2a932.e384a",
- "48c30fe1.37ee2",
- "3a0a08f8.ab065"
+ "a1c81a08.4a4658",
+ "35262124.49e2ee",
+ "8db39207.9cf42",
+ "ac1f4d45.6379a",
+ "50f9a48d.e072dc"
]
]
},
{
- "id": "3acc66b9.f1e56a",
- "type": "outcome",
- "name": "assign",
- "xml": "<outcome value='assign'>\n",
- "comments": "",
- "outputs": 1,
- "x": 350.4167251586914,
- "y": 419.0149631500244,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "3f05f182.7a112e"
+ "7802f1ec.ca7d8"
]
]
},
{
- "id": "3f05f182.7a112e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 516.4167327880859,
- "y": 419.0149631500244,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "4000702f.bf217"
+ "ea0957a5.857bf8"
]
]
},
{
- "id": "b0353d83.d95fc8",
- "type": "for",
- "name": "for loop i - Network input parameters",
- "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-information.network-request-input.network-input-parameters.param_length`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 839.9165649414062,
- "y": 457.01495361328125,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "4b65836a.da71a4"
+ "80257d50.3b4d4"
]
]
},
{
- "id": "314ef392.5c55f4",
- "type": "switchNode",
- "name": "switch value",
- "xml": "<switch test=\"`$tmp.value`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1434.9166259765625,
- "y": 831.0149536132812,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "43c9362d.7e85f8"
+ "9ba44b0.d83ecb8"
]
]
},
{
- "id": "43c9362d.7e85f8",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1651.9165992736816,
- "y": 830.0149593353271,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"9ba44b0.d83ecb8",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":2808.7178230285645,
+ "y":363.01495933532715,
+ "z":"bc976c53.f1a79",
+ "wires":[
[
- "ca90525c.72c9e"
+ "b0753bf8.b88448"
]
]
},
{
- "id": "ca90525c.72c9e",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"network-request-input.network-input-parameters.name is a required input\" />\n",
- "comments": "",
- "x": 1830.345314025879,
- "y": 831.0149593353271,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "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":"35262124.49e2ee",
+ "type":"outcome",
+ "name":"deactivate",
+ "xml":"<outcome value='deactivate'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":375.2299041748047,
+ "y":604.4762363433838,
+ "z":"bc976c53.f1a79",
+ "wires":[
+ [
+ "e5333ad2.88c6a8"
+ ]
+ ]
},
{
- "id": "69b2a932.e384a",
- "type": "outcome",
- "name": "deactivate",
- "xml": "<outcome value='deactivate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 356.9999771118164,
- "y": 495.76191806793213,
- "z": "c6f0d3f1.455d9",
- "wires": [
- []
+ "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":[
+ [
+ "69b449f8.e0c4f8"
+ ]
]
},
{
- "id": "48c30fe1.37ee2",
- "type": "outcome",
- "name": "delete",
- "xml": "<outcome value='delete'>\n",
- "comments": "",
- "outputs": 1,
- "x": 343.5715103149414,
- "y": 551.0478391647339,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "519b9637.7e3388"
+ "c57b3d6b.428a1"
]
]
},
{
- "id": "3a0a08f8.ab065",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 345.6190757751465,
- "y": 606.9047303199768,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":"80257d50.3b4d4",
+ "type":"block",
+ "name":"block",
+ "xml":"<block>\n",
+ "atomic":"false",
+ "comments":"",
+ "outputs":1,
+ "x":1616.2298736572266,
+ "y":256.761926651001,
+ "z":"bc976c53.f1a79",
+ "wires":[
[
- "1c01820.787e0fe"
+ "50315017.56b56",
+ "1ffb5b62.b458c5",
+ "846be723.9405f8"
]
]
},
{
- "id": "1c01820.787e0fe",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
- "comments": "",
- "x": 499.1906509399414,
- "y": 609.5238742828369,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "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":[
+ [
+ "6458f4b.5fda60c",
+ "7c5ea13d.5b8e"
+ ]
+ ]
},
{
- "id": "4b65836a.da71a4",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 717.9999389648438,
- "y": 603.7619018554688,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"6458f4b.5fda60c",
+ "type":"other",
+ "name":"CreateNetworkInstance",
+ "xml":"<outcome value='CreateNetworkInstance'>",
+ "comments":"",
+ "outputs":1,
+ "x":1130.515640258789,
+ "y":294.7143363952637,
+ "z":"bc976c53.f1a79",
+ "wires":[
[
- "c0a12daa.de711",
- "79c7c0f2.75db1",
- "70c07e94.b958b"
+ "84eb81e3.dcb2d"
]
]
},
{
- "id": "4000702f.bf217",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 472,
- "y": 307,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"7c5ea13d.5b8e",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":1084.515640258789,
+ "y":344.7143363952637,
+ "z":"bc976c53.f1a79",
+ "wires":[
[
- "7fc21ed9.84ecc",
- "2b594f42.596858"
+ "f6d144fc.f801f8"
]
]
},
{
- "id": "7fc21ed9.84ecc",
- "type": "other",
- "name": "CreateNetworkInstance",
- "xml": "<outcome value='CreateNetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 738,
- "y": 266,
- "z": "c6f0d3f1.455d9",
- "wires": [
- [
- "b93efadc.2a7b98"
- ]
- ]
- },
- {
- "id": "2b594f42.596858",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 692,
- "y": 316,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":"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":[
[
- "38f5f946.300656"
+ "ef18ce39.3e51e"
]
]
},
{
- "id": "38f5f946.300656",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
- "comments": "",
- "x": 861,
- "y": 316,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "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":"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":"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":[
+ [
+ "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"
+ ]
+ ]
},
{
- "id": "b93efadc.2a7b98",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 963,
- "y": 255,
- "z": "c6f0d3f1.455d9",
- "wires": [
- [
- "b0353d83.d95fc8"
- ]
- ]
- },
- {
- "id": "2b9e6137.bb0cbe",
- "type": "comment",
- "name": "TODO: need to identify underlay or overlay",
- "info": "",
- "comments": "",
- "x": 969,
- "y": 219,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "id":"45932bf.e6c01d4",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":2315.801223754883,
+ "y":898,
+ "z":"bc976c53.f1a79",
+ "wires":[
+ [
+ "6a1da75c.dff4f8"
+ ]
+ ]
},
{
- "id": "c0a12daa.de711",
- "type": "set",
- "name": "clear tmp-data",
- "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
- "comments": "",
- "x": 910,
- "y": 558,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "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": "79c7c0f2.75db1",
- "type": "set",
- "name": "set tmp-data",
- "xml": "<set>\n<parameter name='tmp.name' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].name'\"/>\n<parameter name='tmp.value' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].value'\"/>\n",
- "comments": "",
- "x": 899,
- "y": 648,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "id":"39a76082.5cc54",
+ "type":"other",
+ "name":"name",
+ "xml":"<outcome value='name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2292.801223754883,
+ "y":20,
+ "z":"bc976c53.f1a79",
+ "wires":[
+ [
+ "4a695b88.fdc594"
+ ]
+ ]
},
{
- "id": "70c07e94.b958b",
- "type": "switchNode",
- "name": "switch name",
- "xml": "<switch test=\"'$tmp.name'\">\n",
- "comments": "",
- "outputs": 1,
- "x": 878,
- "y": 742,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "b4dc69ff.a7ed1",
- "bbb21dd0.0748a",
- "646ea6b1.a2f9c8",
- "439d167a.8c5ac",
- "c1518ab4.108de8",
- "b9d1292c.a326b",
- "2a37f01.a563d1",
- "1df27ff7.9e57b8",
- "eb7c110.2f93df",
- "f3eead68.9da5e",
- "6b17cb91.28e614",
- "3b3dd1c9.f1275e",
- "6e7d7d1.8e50d04",
- "e757b031.dd60f8",
- "c7f4e328.7b4c7",
- "55fe09c4.76bd78",
- "5b95ca17.0b84a4"
+ "4a695b88.fdc594"
]
]
},
{
- "id": "b4dc69ff.a7ed1",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1159,
- "y": 1365,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "72bd50f1.643c"
+ "4a695b88.fdc594"
]
]
},
{
- "id": "72bd50f1.643c",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
- "comments": "",
- "x": 1334,
- "y": 1364,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "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":[
+ [
+ "4a695b88.fdc594"
+ ]
+ ]
},
{
- "id": "bbb21dd0.0748a",
- "type": "other",
- "name": "name",
- "xml": "<outcome value='name'>",
- "comments": "",
- "outputs": 1,
- "x": 1136,
- "y": 487,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "314ef392.5c55f4"
+ "4a695b88.fdc594"
]
]
},
{
- "id": "646ea6b1.a2f9c8",
- "type": "other",
- "name": "service-type",
- "xml": "<outcome value='service-type'>",
- "comments": "",
- "outputs": 1,
- "x": 1139,
- "y": 554,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "314ef392.5c55f4"
+ "4a695b88.fdc594"
]
]
},
{
- "id": "2a37f01.a563d1",
- "type": "other",
- "name": "sna2_name",
- "xml": "<outcome value='sna2_name'>",
- "comments": "",
- "outputs": 1,
- "x": 1143,
- "y": 783,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "314ef392.5c55f4"
+ "4a695b88.fdc594"
]
]
},
{
- "id": "439d167a.8c5ac",
- "type": "other",
- "name": "site1-name",
- "xml": "<outcome value='site1-name'>",
- "comments": "",
- "outputs": 1,
- "x": 1140,
- "y": 615,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "314ef392.5c55f4"
+ "4a695b88.fdc594"
]
]
},
{
- "id": "c1518ab4.108de8",
- "type": "other",
- "name": "site2-name",
- "xml": "<outcome value='site2-name'>",
- "comments": "",
- "outputs": 1,
- "x": 1136,
- "y": 672,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "314ef392.5c55f4"
+ "4a695b88.fdc594"
]
]
},
{
- "id": "b9d1292c.a326b",
- "type": "other",
- "name": "sna1_name",
- "xml": "<outcome value='sna1_name'>",
- "comments": "",
- "outputs": 1,
- "x": 1139,
- "y": 729,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "314ef392.5c55f4"
+ "4a695b88.fdc594"
]
]
},
{
- "id": "1df27ff7.9e57b8",
- "type": "other",
- "name": "pe1_id",
- "xml": "<outcome value='pe1_id'>",
- "comments": "",
- "outputs": 1,
- "x": 1143,
- "y": 834,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "314ef392.5c55f4"
+ "4a695b88.fdc594"
]
]
},
{
- "id": "eb7c110.2f93df",
- "type": "other",
- "name": "pe2_id",
- "xml": "<outcome value='pe2_id'>",
- "comments": "",
- "outputs": 1,
- "x": 1146,
- "y": 882,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "314ef392.5c55f4"
+ "4a695b88.fdc594"
]
]
},
{
- "id": "f3eead68.9da5e",
- "type": "other",
- "name": "ac1-id",
- "xml": "<outcome value='ac1-id'>",
- "comments": "",
- "outputs": 1,
- "x": 1151,
- "y": 931,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "314ef392.5c55f4"
+ "4a695b88.fdc594"
]
]
},
{
- "id": "6b17cb91.28e614",
- "type": "other",
- "name": "ac2-id",
- "xml": "<outcome value='ac2-id'>",
- "comments": "",
- "outputs": 1,
- "x": 1153,
- "y": 986,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "314ef392.5c55f4"
+ "4a695b88.fdc594"
]
]
},
{
- "id": "3b3dd1c9.f1275e",
- "type": "other",
- "name": "ac1-ip",
- "xml": "<outcome value='ac1-ip'>",
- "comments": "",
- "outputs": 1,
- "x": 1153,
- "y": 1038,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "314ef392.5c55f4"
+ "4a695b88.fdc594"
]
]
},
{
- "id": "6e7d7d1.8e50d04",
- "type": "other",
- "name": "ac2-ip",
- "xml": "<outcome value='ac2-ip'>",
- "comments": "",
- "outputs": 1,
- "x": 1155,
- "y": 1099,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "314ef392.5c55f4"
+ "4a695b88.fdc594"
]
]
},
{
- "id": "e757b031.dd60f8",
- "type": "other",
- "name": "ac1_peer_ip",
- "xml": "<outcome value='ac1_peer_ip'>",
- "comments": "",
- "outputs": 1,
- "x": 1157,
- "y": 1149,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "314ef392.5c55f4"
+ "d5f90944.52fe68",
+ "f019a10f.84bba"
]
]
},
{
- "id": "c7f4e328.7b4c7",
- "type": "other",
- "name": "ac2_peer_ip",
- "xml": "<outcome value='ac2_peer_ip'>",
- "comments": "",
- "outputs": 1,
- "x": 1153,
- "y": 1197,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"d5f90944.52fe68",
+ "type":"other",
+ "name":"DeleteNetworkInstance",
+ "xml":"<outcome value='DeleteNetworkInstance'>",
+ "comments":"",
+ "outputs":1,
+ "x":325.8013496398926,
+ "y":1068.8572072982788,
+ "z":"bc976c53.f1a79",
+ "wires":[
[
- "314ef392.5c55f4"
+ "1ad15265.c666ae"
]
]
},
{
- "id": "55fe09c4.76bd78",
- "type": "other",
- "name": "ac1_svlan",
- "xml": "<outcome value='ac1_svlan'>",
- "comments": "",
- "outputs": 1,
- "x": 1155,
- "y": 1250,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"f019a10f.84bba",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":279.8013496398926,
+ "y":1118.8572072982788,
+ "z":"bc976c53.f1a79",
+ "wires":[
[
- "314ef392.5c55f4"
+ "b5aedf37.5b6ec"
]
]
},
{
- "id": "5b95ca17.0b84a4",
- "type": "other",
- "name": "ac2_svlan",
- "xml": "<outcome value='ac2_svlan'>",
- "comments": "",
- "outputs": 1,
- "x": 1157,
- "y": 1311,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":"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":[
[
- "314ef392.5c55f4"
+ "916b52b.b2dacb"
]
]
},
{
- "id": "519b9637.7e3388",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 259,
- "y": 787,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "6d7e792f.c1a048",
- "39ec9624.c1c9f2"
+ "48a15b4b.da9c94"
]
]
},
{
- "id": "6d7e792f.c1a048",
- "type": "other",
- "name": "DeleteNetworkInstance",
- "xml": "<outcome value='DeleteNetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 269,
- "y": 943,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "7a441aab.52e274"
+ "c6022f0d.42d06"
]
]
},
{
- "id": "39ec9624.c1c9f2",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 223,
- "y": 993,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "a475643c.1d776"
+ "235fbeb1.629a02"
]
]
},
{
- "id": "a475643c.1d776",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
- "comments": "",
- "x": 392,
- "y": 993,
- "z": "c6f0d3f1.455d9",
- "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":[
+ [
+ "9c3a3b86.66d288"
+ ]
+ ]
},
{
- "id": "7a441aab.52e274",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 494,
- "y": 932,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "b0dc9dd7.cd7488"
+ "7bc8b1f4.9d2b8"
]
]
},
{
- "id": "b0dc9dd7.cd7488",
- "type": "for",
- "name": "for each network-input-parameters",
- "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 316,
- "y": 1087,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"7bc8b1f4.9d2b8",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":762.8013496398926,
+ "y":1413.8572072982788,
+ "z":"bc976c53.f1a79",
+ "wires":[
[
- "89793fd8.cbbfd8"
+ "457d6f04.16b53"
]
]
},
{
- "id": "89793fd8.cbbfd8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 309,
- "y": 1172,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "43f4742.1d37e0c"
+ "90da72db.f3e38"
]
]
},
{
- "id": "43f4742.1d37e0c",
- "type": "switchNode",
- "name": "switch name",
- "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 492,
- "y": 1165,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "a693d56e.072fb"
+ "e1518316.05556",
+ "e5ae8d2b.cedcd"
]
]
},
{
- "id": "a693d56e.072fb",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 673,
- "y": 1164,
- "z": "c6f0d3f1.455d9",
- "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":[
[
- "41bb92ce.69dfe4"
+ "d9a3c7f4.4c0498"
]
]
},
{
- "id": "41bb92ce.69dfe4",
- "type": "switchNode",
- "name": "switch value",
- "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 837,
- "y": 1164,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "id":"e5ae8d2b.cedcd",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":776.8013610839844,
+ "y":544.9048290252686,
+ "z":"bc976c53.f1a79",
+ "wires":[
[
- "659b92d9.633a14"
+ "ca95078e.01fd58"
]
]
},
{
- "id": "659b92d9.633a14",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 706,
- "y": 1288,
- "z": "c6f0d3f1.455d9",
- "wires": [
+ "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":[
[
- "7bbbb2a1.5d8cb4"
+ "de9d0bad.f413c8"
]
]
},
{
- "id": "7bbbb2a1.5d8cb4",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"network-request-input.network-input-parameters.name is a required input\" />\n",
- "comments": "",
- "x": 884.4287147521973,
- "y": 1289,
- "z": "c6f0d3f1.455d9",
- "wires": []
+ "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":"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":"52bb2fe2.e66a7",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":593.6585159301758,
+ "y":736.1905641555786,
+ "z":"bc976c53.f1a79",
+ "wires":[
+ [
+ "d9cf8575.0f9368"
+ ]
+ ]
+ },
+ {
+ "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":[
+ [
+ "a4cdd306.8c69b"
+ ]
+ ]
+ },
+ {
+ "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":"864af6c.1a7ea08",
+ "type":"block",
+ "name":"block",
+ "xml":"<block>\n",
+ "atomic":"false",
+ "comments":"",
+ "outputs":1,
+ "x":968.2299575805664,
+ "y":803.7619962692261,
+ "z":"bc976c53.f1a79",
+ "wires":[
+ [
+ "d3a2495e.6d4c48"
+ ]
+ ]
+ },
+ {
+ "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":[
+ [
+ "bb342c57.b05fa"
+ ]
+ ]
+ },
+ {
+ "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":[
+ [
+ "552390de.1e8c"
+ ]
+ ]
+ },
+ {
+ "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":"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":[
+ [
+
+ ]
+ ]
}
-]
+]
\ No newline at end of file