[ { "id":"f7054ab9.c750e8", "type":"dgstart", "name":"DGSTART", "outputs":1, "x":120.66666412353516, "y":100.41365557909012, "z":"d739160d.215ac8", "wires":[ [ "c424c6c5.ae02a8" ] ] }, { "id":"c424c6c5.ae02a8", "type":"service-logic", "name":"GENERIC-RESOURCE-API ${project.version}", "module":"GENERIC-RESOURCE-API", "version":"${project.version}", "comments":"", "xml":"", "outputs":1, "x":202.61902618408203, "y":140.65176802873611, "z":"d739160d.215ac8", "wires":[ [ "293d1a40.e88a76" ] ] }, { "id":"293d1a40.e88a76", "type":"method", "name":"network-topology-operation", "xml":"\n", "comments":"", "outputs":1, "x":199.0952911376953, "y":180.41364985704422, "z":"d739160d.215ac8", "wires":[ [ "6c71864c.68b0b8" ] ] }, { "id":"6808a800.72f6b8", "type":"comment", "name":" NETWORK-TOPOLOGY-OPERATION ", "info":"", "comments":"", "x":515.0115203857422, "y":47.99999934434891, "z":"d739160d.215ac8", "wires":[ ] }, { "id":"6c71864c.68b0b8", "type":"block", "name":"block : atomic", "xml":"", "atomic":"true", "outputs":1, "x":234.66669464111328, "y":263.85713893175125, "z":"d739160d.215ac8", "wires":[ [ "a683a74d.bbfcd8", "ec781a98.809e88", "d4adb7b5.a74888", "a12d09b7.6dc858" ] ] }, { "id":"a683a74d.bbfcd8", "type":"returnSuccess", "name":"return success", "xml":"\n\n\n\n", "comments":"", "x":464.7500534057617, "y":887.6997750401497, "z":"d739160d.215ac8", "wires":[ ] }, { "id":"ec781a98.809e88", "type":"switchNode", "name":"switch svc-action", "xml":"\n", "comments":"", "outputs":1, "x":461.3809280395508, "y":494.2708333134651, "z":"d739160d.215ac8", "wires":[ [ "4dfadbed.777bc4", "55daa54f.4836ec", "5c025596.ae8c5c", "67e93f6e.2c897", "24132a9d.396786", "29d750bd.02a64", "e6eca3d3.abe59" ] ] }, { "id":"4dfadbed.777bc4", "type":"other", "name":"assign", "xml":"\n", "comments":"", "outputs":1, "x":681.8571243286133, "y":270.556483566761, "z":"d739160d.215ac8", "wires":[ [ "fc28dd4a.e1c57" ] ] }, { "id":"fc28dd4a.e1c57", "type":"block", "name":"block : atomic", "xml":"", "atomic":"true", "outputs":1, "x":863.0952835083008, "y":271.5566056370735, "z":"d739160d.215ac8", "wires":[ [ "82d45ba2.1d8bc8" ] ] }, { "id":"d4adb7b5.a74888", "type":"call", "name":"call GENERIC-RESOURCE-API:validate-network-input", "xml":"\n", "comments":"", "outputs":1, "x":593.6666793823242, "y":206.41373187303543, "z":"d739160d.215ac8", "wires":[ [ ] ] }, { "id":"82d45ba2.1d8bc8", "type":"call", "name":"call GENERIC-RESOURCE-API:network-topology-operation-assign", "xml":"\n", "comments":"", "outputs":1, "x":1234.666633605957, "y":268.413661301136, "z":"d739160d.215ac8", "wires":[ [ ] ] }, { "id":"55daa54f.4836ec", "type":"other", "name":"activate", "xml":"\n", "comments":"", "outputs":1, "x":683.6666641235352, "y":444.4136555790901, "z":"d739160d.215ac8", "wires":[ [ "67566173.45c4c" ] ] }, { "id":"627cdb56.3b7234", "type":"block", "name":"block : atomic", "xml":"", "atomic":"true", "outputs":1, "x":1220.9048233032227, "y":441.4138920903206, "z":"d739160d.215ac8", "wires":[ [ "2132e234.e510ce", "a3ddfe15.bee34" ] ] }, { "id":"6e5c6d24.81c194", "type":"call", "name":"call GENERIC-RESOURCE-API:network-topology-operation-activate", "xml":"\n", "comments":"", "outputs":1, "x":2266.476234436035, "y":570.2708275914192, "z":"d739160d.215ac8", "wires":[ [ ] ] }, { "id":"5c025596.ae8c5c", "type":"other", "name":"deactivate", "xml":"\n", "comments":"", "outputs":1, "x":672.6666641235352, "y":604.4136803746223, "z":"d739160d.215ac8", "wires":[ [ "2deb4375.385a5c" ] ] }, { "id":"2deb4375.385a5c", "type":"block", "name":"block : atomic", "xml":"", "atomic":"true", "outputs":1, "x":860.9050216674805, "y":603.4140033721924, "z":"d739160d.215ac8", "wires":[ [ "2132e234.e510ce", "1d159242.42217e" ] ] }, { "id":"d02489f7.8cbe58", "type":"call", "name":"call GENERIC-RESOURCE-API:network-topology-operation-deactivate", "xml":"\n", "comments":"", "outputs":1, "x":2458.9762954711914, "y":734.0208568572998, "z":"d739160d.215ac8", "wires":[ [ ] ] }, { "id":"67e93f6e.2c897", "type":"other", "name":"unassign", "xml":"\n", "comments":"", "outputs":1, "x":680.6666641235352, "y":669.4136803746223, "z":"d739160d.215ac8", "wires":[ [ "a5a4cbe4.928108" ] ] }, { "id":"a5a4cbe4.928108", "type":"block", "name":"block : atomic", "xml":"", "atomic":"true", "outputs":1, "x":861.9048233032227, "y":670.4138024449348, "z":"d739160d.215ac8", "wires":[ [ "2132e234.e510ce", "8cb9d01a.01cbb" ] ] }, { "id":"76ad4a39.0cc194", "type":"call", "name":"call GENERIC-RESOURCE-API:network-topology-operation-unassign", "xml":"\n", "comments":"", "outputs":1, "x":2013.7261428833008, "y":835.7708275914192, "z":"d739160d.215ac8", "wires":[ [ ] ] }, { "id":"24132a9d.396786", "type":"other", "name":"other", "xml":"\n", "comments":"", "outputs":1, "x":671.6666679382324, "y":729.4136708378792, "z":"d739160d.215ac8", "wires":[ [ "e05b3a0e.6b2cf8" ] ] }, { "id":"e05b3a0e.6b2cf8", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":853.6666641235352, "y":728.4136803746223, "z":"d739160d.215ac8", "wires":[ ] }, { "id":"a12d09b7.6dc858", "type":"set", "name":"Set final indicator to Y", "xml":"\n", "comments":"", "x":483.77774810791016, "y":846.8581135869026, "z":"d739160d.215ac8", "wires":[ ] }, { "id":"9acad2b9.f0834", "type":"for", "name":"for nidx..service-data.networks.network[]", "xml":"\n", "comments":"", "outputs":1, "x":2220.3970260620117, "y":480.1755822300911, "z":"d739160d.215ac8", "wires":[ [ "329c7937.b6a136" ] ] }, { "id":"2132e234.e510ce", "type":"switchNode", "name":"switch service-data.networks.network_length", "xml":"\n", "comments":"", "outputs":1, "x":1527.1111221313477, "y":439.74696284532547, "z":"d739160d.215ac8", "wires":[ [ "4172c482.3f5a6c", "d4b9b393.99ada" ] ] }, { "id":"4172c482.3f5a6c", "type":"other", "name":"outcome Null", "xml":"\n", "comments":"", "outputs":1, "x":1800.1111602783203, "y":438.747027695179, "z":"d739160d.215ac8", "wires":[ [ "29641469.ee90fc" ] ] }, { "id":"d4b9b393.99ada", "type":"other", "name":"other", "xml":"\n", "comments":"", "outputs":1, "x":1780.111484527588, "y":478.74703246355057, "z":"d739160d.215ac8", "wires":[ [ "1bb6dea1.ed18f1" ] ] }, { "id":"329c7937.b6a136", "type":"switchNode", "name":"switch networkid found", "xml":"\n\n", "comments":"", "outputs":1, "x":2510.8255767822266, "y":479.42566615343094, "z":"d739160d.215ac8", "wires":[ [ "af5c385d.aaa198" ] ] }, { "id":"af5c385d.aaa198", "type":"outcomeTrue", "name":"true", "xml":"\n", "comments":"", "outputs":1, "x":2699.777931213379, "y":480.3184044957161, "z":"d739160d.215ac8", "wires":[ [ "7a7e1001.3b10e" ] ] }, { "id":"7a7e1001.3b10e", "type":"set", "name":"set tmp.nidx and ctx.network-data", "xml":"\n\n\n", "comments":"", "x":2933.309700012207, "y":479.0684121251106, "z":"d739160d.215ac8", "wires":[ ] }, { "id":"a849a7c.367a458", "type":"comment", "name":"Find the index to service data for this network - save id in tmp.nidx, save service-data", "info":"", "comments":"", "x":1473.2224578857422, "y":403.7470243573189, "z":"d739160d.215ac8", "wires":[ ] }, { "id":"be0b87cc.facda8", "type":"comment", "name":"service-data will not be stored until we have a network-id", "info":"", "comments":"", "x":1202.3332595825195, "y":236.63589030504227, "z":"d739160d.215ac8", "wires":[ ] }, { "id":"29641469.ee90fc", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":1961.8886184692383, "y":439.63597041368484, "z":"d739160d.215ac8", "wires":[ ] }, { "id":"1bb6dea1.ed18f1", "type":"block", "name":"block : atomic", "xml":"", "atomic":"true", "outputs":1, "x":1918.3810577392578, "y":479.3015702366829, "z":"d739160d.215ac8", "wires":[ [ "9acad2b9.f0834", "cf1a68d3.1547a8" ] ] }, { "id":"cf1a68d3.1547a8", "type":"switchNode", "name":"switch tmp.nidx ", "xml":"\n\n", "comments":"", "outputs":1, "x":2138.698455810547, "y":522.1587889790535, "z":"d739160d.215ac8", "wires":[ [ "5e666501.228a8c" ] ] }, { "id":"b312a9fc.605418", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":2491.5554389953613, "y":517.8730309605598, "z":"d739160d.215ac8", "wires":[ ] }, { "id":"5e666501.228a8c", "type":"outcome", "name":"NULL", "xml":"\n", "comments":"", "outputs":1, "x":2310.1269912719727, "y":520.7301743626595, "z":"d739160d.215ac8", "wires":[ [ "b312a9fc.605418" ] ] }, { "id":"a3ddfe15.bee34", "type":"switchNode", "name":"switch network-level-oper-status", "xml":"\n", "comments":"", "outputs":1, "x":1479.444465637207, "y":570.2222283482552, "z":"d739160d.215ac8", "wires":[ [ "671fe44a.883fcc", "619f5c4e.da9664" ] ] }, { "id":"671fe44a.883fcc", "type":"outcome", "name":"outcome PendingCreate", "xml":"\n", "comments":"", "outputs":1, "x":1844.4444452921543, "y":570.222213089466, "z":"d739160d.215ac8", "wires":[ [ "6e5c6d24.81c194" ] ] }, { "id":"619f5c4e.da9664", "type":"other", "name":"other", "xml":"\n", "comments":"", "outputs":1, "x":1794.444492340088, "y":610.2222436070442, "z":"d739160d.215ac8", "wires":[ [ "ddaa51b4.1a3e6" ] ] }, { "id":"ddaa51b4.1a3e6", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n ", "comments":"", "x":1964.444492340088, "y":610.2222436070442, "z":"d739160d.215ac8", "wires":[ ] }, { "id":"1d159242.42217e", "type":"switchNode", "name":"switch network-level-oper-status", "xml":"\n", "comments":"", "outputs":1, "x":1225.7460136413574, "y":670.1736888885498, "z":"d739160d.215ac8", "wires":[ [ "666ae4b6.332edc", "a7398342.dc0f5" ] ] }, { "id":"666ae4b6.332edc", "type":"outcome", "name":"outcome Created", "xml":"\n", "comments":"", "outputs":1, "x":1588.7459831237793, "y":670.1737194061279, "z":"d739160d.215ac8", "wires":[ [ "fc61673.76cb698" ] ] }, { "id":"a7398342.dc0f5", "type":"other", "name":"other", "xml":"\n", "comments":"", "outputs":1, "x":1558.7459831237793, "y":710.1737194061279, "z":"d739160d.215ac8", "wires":[ [ "6900f252.7fffdc" ] ] }, { "id":"6900f252.7fffdc", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n ", "comments":"", "x":1724.7459831237793, "y":712.1737194061279, "z":"d739160d.215ac8", "wires":[ ] }, { "id":"8cb9d01a.01cbb", "type":"switchNode", "name":"switch network-level-oper-status", "xml":"\n", "comments":"", "outputs":1, "x":1220.5475234985352, "y":837.375029861927, "z":"d739160d.215ac8", "wires":[ [ "c260be3c.787a4", "3745164.07306ea", "aa12305c.9840f" ] ] }, { "id":"c260be3c.787a4", "type":"outcome", "name":"outcome PendingCreate", "xml":"\n", "comments":"", "outputs":1, "x":1580.547492980957, "y":837.3750603795052, "z":"d739160d.215ac8", "wires":[ [ "76ad4a39.0cc194" ] ] }, { "id":"3745164.07306ea", "type":"other", "name":"other", "xml":"\n", "comments":"", "outputs":1, "x":1537.5474319458008, "y":921.3750756382942, "z":"d739160d.215ac8", "wires":[ [ "609493c3.1dc45c" ] ] }, { "id":"609493c3.1dc45c", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n ", "comments":"", "x":1728.8808517456055, "y":920.0417044758797, "z":"d739160d.215ac8", "wires":[ ] }, { "id":"aa12305c.9840f", "type":"outcome", "name":"outcome PendingDelete", "xml":"\n", "comments":"", "outputs":1, "x":1583.777717590332, "y":875.2222283482552, "z":"d739160d.215ac8", "wires":[ [ "76ad4a39.0cc194" ] ] }, { "id":"29d750bd.02a64", "type":"other", "name":"create", "xml":"\n", "comments":"", "outputs":1, "x":669.119026184082, "y":788.9999993443489, "z":"d739160d.215ac8", "wires":[ [ "8872f98e.6acb58" ] ] }, { "id":"e6eca3d3.abe59", "type":"other", "name":"delete", "xml":"\n", "comments":"", "outputs":1, "x":672.119026184082, "y":841.9999993443489, "z":"d739160d.215ac8", "wires":[ [ "9bd83beb.090958" ] ] }, { "id":"8872f98e.6acb58", "type":"block", "name":"block : atomic", "xml":"", "atomic":"true", "outputs":1, "x":858.119026184082, "y":794.9999993443489, "z":"d739160d.215ac8", "wires":[ [ "1974de99.132ea1" ] ] }, { "id":"9bd83beb.090958", "type":"block", "name":"block : atomic", "xml":"", "atomic":"true", "outputs":1, "x":857.119026184082, "y":853.9999993443489, "z":"d739160d.215ac8", "wires":[ [ "bedc898b.68ec58" ] ] }, { "id":"1974de99.132ea1", "type":"call", "name":"call GENERIC-RESOURCE-API:network-topology-operation-create", "xml":"\n", "comments":"", "outputs":1, "x":1266.119026184082, "y":979.9999993443489, "z":"d739160d.215ac8", "wires":[ [ ] ] }, { "id":"bedc898b.68ec58", "type":"call", "name":"call GENERIC-RESOURCE-API:network-topology-operation-delete", "xml":"\n", "comments":"", "outputs":1, "x":1272.119026184082, "y":1062.999999344349, "z":"d739160d.215ac8", "wires":[ [ ] ] }, { "id":"67566173.45c4c", "type":"switchNode", "name":"switch request-action", "xml":"\n", "comments":"", "outputs":1, "x":868.3178939819336, "y":424.7314217686653, "z":"d739160d.215ac8", "wires":[ [ "18ffc8df.333407", "4f680131.8475e" ] ] }, { "id":"18ffc8df.333407", "type":"outcome", "name":"ActivateDCINetworkInstance", "xml":"", "comments":"", "outputs":1, "x":1110.6511611938477, "y":346.7312348484993, "z":"d739160d.215ac8", "wires":[ [ "73585281.0c5d0c" ] ] }, { "id":"4f680131.8475e", "type":"outcome", "name":"other", "xml":"", "comments":"", "outputs":1, "x":1040.6511535644531, "y":472.3979313969612, "z":"d739160d.215ac8", "wires":[ [ "627cdb56.3b7234" ] ] }, { "id":"73585281.0c5d0c", "type":"call", "name":"call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-activate", "xml":"\n", "comments":"", "outputs":1, "x":1534.6511764526367, "y":346.3981040120125, "z":"d739160d.215ac8", "wires":[ [ ] ] }, { "id":"fc61673.76cb698", "type":"switchNode", "name":"switch request-action", "xml":"\n", "comments":"", "outputs":1, "x":1863.333251953125, "y":668.3333129882812, "z":"d739160d.215ac8", "wires":[ [ "96fbac31.d3f4f", "3bd184d4.cd8cbc" ] ] }, { "id":"96fbac31.d3f4f", "type":"outcome", "name":"DeActivateDCINetworkInstance", "xml":"", "comments":"", "outputs":1, "x":2133.66650390625, "y":678.3332042694092, "z":"d739160d.215ac8", "wires":[ [ "5f435227.66b5dc" ] ] }, { "id":"5f435227.66b5dc", "type":"call", "name":"call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-deactivate", "xml":"\n", "comments":"", "outputs":1, "x":2608.6667251586914, "y":677.0000224113464, "z":"d739160d.215ac8", "wires":[ [ ] ] }, { "id":"3bd184d4.cd8cbc", "type":"other", "name":"other", "xml":"\n", "comments":"", "outputs":1, "x":2056.3333435058594, "y":736.3333549499512, "z":"d739160d.215ac8", "wires":[ [ "d02489f7.8cbe58" ] ] } ]