diff options
author | gaurav <gaurav.agrawal@huawei.com> | 2018-07-31 16:06:52 +0530 |
---|---|---|
committer | gaurav <gaurav.agrawal@huawei.com> | 2018-07-31 16:06:52 +0530 |
commit | 7f6d320ccf47539d9baaaf177b0650d41bd12230 (patch) | |
tree | 109fa3746d14c9d834303f6cd2c09ae31e2c8579 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json | |
parent | b08903f327f974cacb6a97737f9f3911d779eaa9 (diff) |
Re-attaching VoLTE and CCVPN DGs
Changes include:
Changes to main DG to re-attach VoLTE and CCVPN sub DGs.
Change-Id: I217708ac49d34706cd2f6f12c68c2929248abd96
Issue-ID: SDNC-356
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Former-commit-id: 5d3980c28f3c5d16d49f8a6edacfacc0b161d01e
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json | 1597 |
1 files changed, 1596 insertions, 1 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json index f2b4699b..25978d1d 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json @@ -1 +1,1596 @@ -[{"id":"80860971.7a2d98","type":"dgstart","name":"DGSTART","outputs":1,"x":260.00390625,"y":120.00390625,"z":"9e04e9a4.f67a48","wires":[["35321753.65a598"]]},{"id":"35321753.65a598","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":341.9562683105469,"y":160.242018699646,"z":"9e04e9a4.f67a48","wires":[["21839cd6.ba0e34"]]},{"id":"21839cd6.ba0e34","type":"method","name":"network-topology-operation","xml":"<method rpc='network-topology-operation' mode='sync'>\n","comments":"","outputs":1,"x":321.4325408935547,"y":211.0039119720459,"z":"9e04e9a4.f67a48","wires":[["af3458e2.edff98"]]},{"id":"3b04215d.2645ae","type":"comment","name":" NETWORK-TOPOLOGY-OPERATION ","info":"","comments":"","x":654.348762512207,"y":67.59025001525879,"z":"9e04e9a4.f67a48","wires":[]},{"id":"af3458e2.edff98","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":374.0039367675781,"y":283.44738960266113,"z":"9e04e9a4.f67a48","wires":[["785c802c.065ba","1d399d6e.1c4783","13771147.44e61f","1e0000f5.f479bf"]]},{"id":"785c802c.065ba","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n","comments":"","x":604.0873107910156,"y":998.5400505065918,"z":"9e04e9a4.f67a48","wires":[]},{"id":"1d399d6e.1c4783","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":600.7181701660156,"y":513.861083984375,"z":"9e04e9a4.f67a48","wires":[["1793dad0.8ae325","4ff33a14.aa46b4","8b320f87.323ed","c7c6e669.4c0ea8","82971b8d.ec65e8","e560f1d4.fee42"]]},{"id":"1793dad0.8ae325","type":"other","name":"assign","xml":"<outcome value='assign'>\n","comments":"","outputs":1,"x":821.1943664550781,"y":376.1467342376709,"z":"9e04e9a4.f67a48","wires":[["f45218dc.949518"]]},{"id":"f45218dc.949518","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1002.4325256347656,"y":377.1468563079834,"z":"9e04e9a4.f67a48","wires":[["a8240529.3feab8"]]},{"id":"13771147.44e61f","type":"call","name":"call GENERIC-RESOURCE-API:validate-network-input","xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-network-input' mode='sync' >\n","comments":"","outputs":1,"x":732.00390625,"y":284.00390625,"z":"9e04e9a4.f67a48","wires":[[]]},{"id":"4ff33a14.aa46b4","type":"other","name":"activate","xml":"<outcome value='activate'>\n","comments":"","outputs":1,"x":823.00390625,"y":464.00390625,"z":"9e04e9a4.f67a48","wires":[["7c3e19c4.ef5188"]]},{"id":"7c3e19c4.ef5188","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1007.2420654296875,"y":465.0040283203125,"z":"9e04e9a4.f67a48","wires":[["6e412045.72665","a75318f4.373a38","f9bd493e.491498"]]},{"id":"f1bdf407.7a7098","type":"call","name":"call GENERIC-RESOURCE-API:network-topology-operation-activate","xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-activate' mode='sync' >\n","comments":"","outputs":1,"x":2171.0636978149414,"y":920.6111240386963,"z":"9e04e9a4.f67a48","wires":[[]]},{"id":"8b320f87.323ed","type":"other","name":"deactivate","xml":"<outcome value='deactivate'>\n","comments":"","outputs":1,"x":812.00390625,"y":624.0039310455322,"z":"9e04e9a4.f67a48","wires":[["7b681dba.6ee5b4"]]},{"id":"7b681dba.6ee5b4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":993.2420654296875,"y":625.0040531158447,"z":"9e04e9a4.f67a48","wires":[["6e412045.72665","785b82f7.c95c3c","f9bd493e.491498"]]},{"id":"785b82f7.c95c3c","type":"call","name":"call GENERIC-RESOURCE-API:network-topology-operation-deactivate","xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-deactivate' mode='sync' >\n","comments":"","outputs":1,"x":1499.2303009033203,"y":1008.8611717224121,"z":"9e04e9a4.f67a48","wires":[[]]},{"id":"c7c6e669.4c0ea8","type":"other","name":"unassign","xml":"<outcome value='unassign'>\n","comments":"","outputs":1,"x":820.00390625,"y":689.0039310455322,"z":"9e04e9a4.f67a48","wires":[["6ddc5a42.cfe224"]]},{"id":"6ddc5a42.cfe224","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1001.2420654296875,"y":690.0040531158447,"z":"9e04e9a4.f67a48","wires":[["6e412045.72665","462ccc94.6beb64","f9bd493e.491498"]]},{"id":"48de2ebb.c0365","type":"call","name":"call GENERIC-RESOURCE-API:network-topology-operation-unassign","xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-unassign' mode='sync' >\n","comments":"","outputs":1,"x":2166.81356048584,"y":1114.1110935211182,"z":"9e04e9a4.f67a48","wires":[[]]},{"id":"82971b8d.ec65e8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":811.0039100646973,"y":749.0039215087891,"z":"9e04e9a4.f67a48","wires":[["148d6e51.ec1a92"]]},{"id":"148d6e51.ec1a92","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-action is a required input\" />\n","comments":"","x":993.00390625,"y":748.0039310455322,"z":"9e04e9a4.f67a48","wires":[]},{"id":"1e0000f5.f479bf","type":"set","name":"Set final indicator to Y","xml":"<set>\n<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":623.1150054931641,"y":957.6983890533447,"z":"9e04e9a4.f67a48","wires":[]},{"id":"4eefcd8e.4dcfc4","type":"for","name":"for nidx..service-data.networks.network[]","xml":"<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n","comments":"","outputs":1,"x":2041.7342681884766,"y":520.765832901001,"z":"9e04e9a4.f67a48","wires":[["1628ac3e.d64384"]]},{"id":"6e412045.72665","type":"switchNode","name":"switch service-data.networks.network_length","xml":"<switch test='`$service-data.networks.network_length`'>\n","comments":"","outputs":1,"x":1319.1984252929688,"y":489.08722496032715,"z":"9e04e9a4.f67a48","wires":[["ad0b44f0.57c218","c8bc796a.7462d8"]]},{"id":"ad0b44f0.57c218","type":"other","name":"outcome Null","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":1618.4483032226562,"y":487.3372230529785,"z":"9e04e9a4.f67a48","wires":[["4cf192f7.6ad02c"]]},{"id":"c8bc796a.7462d8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1572.4483337402344,"y":520.3372440338135,"z":"9e04e9a4.f67a48","wires":[["f7a3bf51.65627"]]},{"id":"1628ac3e.d64384","type":"switchNode","name":"switch networkid found","xml":"<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n","comments":"","outputs":1,"x":2332.1628189086914,"y":520.0159168243408,"z":"9e04e9a4.f67a48","wires":[["8dbd4d82.f084c"]]},{"id":"8dbd4d82.f084c","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2521.1151733398438,"y":520.908655166626,"z":"9e04e9a4.f67a48","wires":[["9cf530e.b6158d"]]},{"id":"9cf530e.b6158d","type":"set","name":"set tmp.nidx and network-data","xml":"<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='network-data.' value='`$service-data.networks.network[$nidx].`' />\n","comments":"","x":2754.646942138672,"y":519.6586627960205,"z":"9e04e9a4.f67a48","wires":[]},{"id":"371caf2.937dc5","type":"comment","name":"Find the index to service data for this network - save id in tmp.nidx, save service-data","info":"","comments":"","x":1498.5594482421875,"y":454.33723640441895,"z":"9e04e9a4.f67a48","wires":[]},{"id":"ccc1a22f.17742","type":"comment","name":"service-data will not be stored until we have a network-id","info":"","comments":"","x":1325.6707000732422,"y":65.22616004943848,"z":"9e04e9a4.f67a48","wires":[]},{"id":"4cf192f7.6ad02c","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-id not found in service-data\" />\n","comments":"","x":1810.2258605957031,"y":485.2262210845947,"z":"9e04e9a4.f67a48","wires":[]},{"id":"f7a3bf51.65627","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1739.7182998657227,"y":519.8918209075928,"z":"9e04e9a4.f67a48","wires":[["4eefcd8e.4dcfc4","d4dba645.f19fb8"]]},{"id":"d4dba645.f19fb8","type":"switchNode","name":"switch tmp.nidx ","xml":"<switch test=\"`$tmp.nidx`\">\n\n","comments":"","outputs":1,"x":1968.7858123779297,"y":570.2490320205688,"z":"9e04e9a4.f67a48","wires":[["d8ff3217.6edda","87d798a7.78ab9"]]},{"id":"c07f7024.caab9","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-id not found in service-data\" />\n","comments":"","x":2321.642795562744,"y":565.9632740020752,"z":"9e04e9a4.f67a48","wires":[]},{"id":"d8ff3217.6edda","type":"outcome","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":2140.2143478393555,"y":568.8204174041748,"z":"9e04e9a4.f67a48","wires":[["c07f7024.caab9"]]},{"id":"a75318f4.373a38","type":"switchNode","name":"switch network-level-oper-status","xml":"<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n","comments":"","outputs":1,"x":1384.0319290161133,"y":920.5625247955322,"z":"9e04e9a4.f67a48","wires":[["2e5752c8.ad50fe","bbfd426a.a73de"]]},{"id":"2e5752c8.ad50fe","type":"outcome","name":"outcome PendingCreate","xml":"<outcome value='PendingCreate'>\n","comments":"","outputs":1,"x":1749.0319086710606,"y":920.5625095367432,"z":"9e04e9a4.f67a48","wires":[["f1bdf407.7a7098"]]},{"id":"bbfd426a.a73de","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1699.0319557189941,"y":960.5625400543213,"z":"9e04e9a4.f67a48","wires":[["aebde0b1.1a71b"]]},{"id":"aebde0b1.1a71b","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 is not in appropriate state for activate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />","comments":"","x":1869.0319557189941,"y":960.5625400543213,"z":"9e04e9a4.f67a48","wires":[]},{"id":"462ccc94.6beb64","type":"switchNode","name":"switch network-level-oper-status","xml":"<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n","comments":"","outputs":1,"x":1373.6349411010742,"y":1115.715295791626,"z":"9e04e9a4.f67a48","wires":[["291e18de.cf7f18","c96c41cb.84c93","851864a5.fcbbb8"]]},{"id":"291e18de.cf7f18","type":"outcome","name":"outcome PendingCreate","xml":"<outcome value='PendingCreate'>\n","comments":"","outputs":1,"x":1733.634910583496,"y":1115.715326309204,"z":"9e04e9a4.f67a48","wires":[["48de2ebb.c0365"]]},{"id":"c96c41cb.84c93","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1689.3848342895508,"y":1187.215389251709,"z":"9e04e9a4.f67a48","wires":[["79b40969.543ca8"]]},{"id":"79b40969.543ca8","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 is not in appropriate state for unassign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />","comments":"","x":1880.7182540893555,"y":1185.8820180892944,"z":"9e04e9a4.f67a48","wires":[]},{"id":"851864a5.fcbbb8","type":"outcome","name":"outcome PendingDelete","xml":"<outcome value='PendingDelete'>\n","comments":"","outputs":1,"x":1736.865135192871,"y":1153.562494277954,"z":"9e04e9a4.f67a48","wires":[["48de2ebb.c0365"]]},{"id":"e560f1d4.fee42","type":"other","name":"changeassign","xml":"<outcome value='changeassign'>","comments":"","outputs":1,"x":837.0039463043213,"y":550.0039367675781,"z":"9e04e9a4.f67a48","wires":[["ce44237c.5be2d"]]},{"id":"ce44237c.5be2d","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1016.25390625,"y":550.00390625,"z":"9e04e9a4.f67a48","wires":[["6e412045.72665","7ac1b98d.08b398"]]},{"id":"4f7c4ca5.5a39c4","type":"call","name":"call GENERIC-RESOURCE-API:network-topology-operation-assign","xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-assign' mode='sync' >\n","comments":"","outputs":1,"x":2050.004066467285,"y":334.0039176940918,"z":"9e04e9a4.f67a48","wires":[[]]},{"id":"a8240529.3feab8","type":"switchNode","name":"switch network-level-oper-status","xml":"<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n","comments":"","outputs":1,"x":1364.9721374511719,"y":293.95530700683594,"z":"9e04e9a4.f67a48","wires":[["7517ea2b.0da5b4","db31cd1e.e0cfa","93d594a7.6eeac8","9e432f80.85537"]]},{"id":"7517ea2b.0da5b4","type":"outcome","name":"outcome PendingCreate","xml":"<outcome value='PendingCreate'>\n","comments":"","outputs":1,"x":1731.97216796875,"y":291.95529079437256,"z":"9e04e9a4.f67a48","wires":[["b3c7f566.404088"]]},{"id":"db31cd1e.e0cfa","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1679.9721641540527,"y":333.955322265625,"z":"9e04e9a4.f67a48","wires":[["4f7c4ca5.5a39c4"]]},{"id":"b3c7f566.404088","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 is not in appropriate state for assign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />","comments":"","x":2006.9723892211914,"y":287.9553394317627,"z":"9e04e9a4.f67a48","wires":[]},{"id":"9e432f80.85537","type":"outcome","name":"outcome PendingDelete","xml":"<outcome value='PendingDelete'>\n","comments":"","outputs":1,"x":1730.00390625,"y":257.00390625,"z":"9e04e9a4.f67a48","wires":[["b3c7f566.404088"]]},{"id":"93d594a7.6eeac8","type":"outcome","name":"outcome Created","xml":"<outcome value='Created'>\n","comments":"","outputs":1,"x":1710.0039443969727,"y":222.00390815734863,"z":"9e04e9a4.f67a48","wires":[["b3c7f566.404088"]]},{"id":"7ac1b98d.08b398","type":"call","name":"call GENERIC-RESOURCE-API:network-topology-operation-changeassign","xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-changeassign' mode='sync' >\n","comments":"","outputs":1,"x":1476.2501754760742,"y":852.5000152587891,"z":"9e04e9a4.f67a48","wires":[[]]},{"id":"7e310ca2.ddc884","type":"set","name":"set object-path","xml":"<set>\n<parameter name='network-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $network-topology-operation-input.service-information.service-instance-id\n + '/service-data/networks/network/'\n + $networkId\n + '/network-data/network-topology/'` \" />\n \n","comments":"","x":632.5048828125,"y":863.7548828125,"z":"9e04e9a4.f67a48","wires":[]},{"id":"e15e95da.0c5038","type":"set","name":"set networkId","xml":"<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n","comments":"","x":626.7905158996582,"y":826.6119909286499,"z":"9e04e9a4.f67a48","wires":[]},{"id":"27b6f380.c84aac","type":"set","name":"set network-level-oper-status","xml":"<set>\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />\n","comments":"","x":674.7905769348145,"y":909.1833562850952,"z":"9e04e9a4.f67a48","wires":[]},{"id":"f9bd493e.491498","type":"switchNode","name":"switch network-information.network-instance-group-id","xml":"<switch test='`$network-topology-operation-input.network-information.network-instance-group-id`'>\n\n","comments":"","outputs":1,"x":1388.4423828125,"y":642.5048828125,"z":"9e04e9a4.f67a48","wires":[["9633a29a.a507e","9354dc6d.8f6cb"]]},{"id":"9633a29a.a507e","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1678.1922721862793,"y":672.6715660095215,"z":"9e04e9a4.f67a48","wires":[["f073821e.dc605"]]},{"id":"9354dc6d.8f6cb","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1675.8591690063477,"y":639.6714401245117,"z":"9e04e9a4.f67a48","wires":[["96d8f132.2319d"]]},{"id":"96d8f132.2319d","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='' value='' />\n","comments":"","x":1836.192398071289,"y":636.6714973449707,"z":"9e04e9a4.f67a48","wires":[]},{"id":"869d510a.11315","type":"switchNode","name":"service-data.network-instance-groups.network-instance-group_length","xml":"<switch test='`$service-data.network-instance-groups.network-instance-group_length`'>\n","comments":"","outputs":1,"x":2162.267951965332,"y":670.9373474121094,"z":"9e04e9a4.f67a48","wires":[["6c9060fd.81509","523bb131.81c94"]]},{"id":"6c9060fd.81509","type":"other","name":"outcome Null","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":2527.5177307128906,"y":672.9373207092285,"z":"9e04e9a4.f67a48","wires":[["2843030f.4bc7ec"]]},{"id":"523bb131.81c94","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2507.5177307128906,"y":707.9373207092285,"z":"9e04e9a4.f67a48","wires":[["7ff73a97.aa0634"]]},{"id":"f073821e.dc605","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1812.3035278320312,"y":673.1159706115723,"z":"9e04e9a4.f67a48","wires":[["869d510a.11315"]]},{"id":"f3155af3.fb2478","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":3937.511589050293,"y":713.1479244232178,"z":"9e04e9a4.f67a48","wires":[["1b137fef.7ea88"]]},{"id":"bf03131d.937eb","type":"set","name":"set tmp.ngidx and ctx.network-instance-group-data","xml":"<set>\n<parameter name='tmp.ngidx' value='`$ngidx`' />\n<parameter name='ctx.network-instance-group-data.' value='`$service-data.network-instance-groups.network-instance-group[$ngidx].`' />\n","comments":"","x":4380.043556213379,"y":712.89794921875,"z":"9e04e9a4.f67a48","wires":[]},{"id":"1b137fef.7ea88","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":4086.130027770996,"y":713.0051097869873,"z":"9e04e9a4.f67a48","wires":[["bf03131d.937eb"]]},{"id":"4ff03708.0c0798","type":"for","name":"for ngidx..service-data.network-instance-groups.network-instance-group[]","xml":"<for index='ngidx' start='0' end='`$service-data.network-instance-groups.network-instance-_length`' >\n","comments":"","outputs":1,"x":3114.379951477051,"y":711.2548971176147,"z":"9e04e9a4.f67a48","wires":[["c86f06ee.494348"]]},{"id":"c86f06ee.494348","type":"switchNode","name":"switch network-instance-group-id found","xml":"<switch test=\"`$service-data.network-instance-groups.network-instance-group[$nidx].network-instance-group-id == $network-topology-operation-input.network-information.network-instance-group-id`\">\n\n","comments":"","outputs":1,"x":3559.808547973633,"y":711.0050659179688,"z":"9e04e9a4.f67a48","wires":[["f3155af3.fb2478"]]},{"id":"7ff73a97.aa0634","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2726.3638305664062,"y":709.1308221817017,"z":"9e04e9a4.f67a48","wires":[["4ff03708.0c0798"]]},{"id":"2843030f.4bc7ec","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-instance-group-id not found in service-data\" />\n","comments":"","x":2719.0673828125,"y":672.5048875808716,"z":"9e04e9a4.f67a48","wires":[]},{"id":"87d798a7.78ab9","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2139.75,"y":599.75,"z":"9e04e9a4.f67a48","wires":[["489f12a9.f43554"]]},{"id":"489f12a9.f43554","type":"set","name":"set nidx","xml":"<set>\n<parameter name='nidx' value='`$tmp.nidx`' />\n","comments":"","x":2296.75,"y":600.75,"z":"9e04e9a4.f67a48","wires":[]}]
\ No newline at end of file +[ + { + "id": "d276ec27.0866", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 136.1214714050293, + "y": 82.77775192260742, + "z": "769245e0.4dbeec", + "wires": [ + [ + "66987af3.af1924" + ] + ] + }, + { + "id": "66987af3.af1924", + "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": 218.07383346557617, + "y": 123.01586437225342, + "z": "769245e0.4dbeec", + "wires": [ + [ + "f1b0134c.c5b0a" + ] + ] + }, + { + "id": "f1b0134c.c5b0a", + "type": "method", + "name": "network-topology-operation", + "xml": "<method rpc='network-topology-operation' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 197.55010604858398, + "y": 173.77775764465332, + "z": "769245e0.4dbeec", + "wires": [ + [ + "c003577e.c54298" + ] + ] + }, + { + "id": "7056cdf4.c4bad4", + "type": "comment", + "name": " NETWORK-TOPOLOGY-OPERATION ", + "info": "", + "comments": "", + "x": 530.4663276672363, + "y": 30.36409568786621, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "c003577e.c54298", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 250.12150192260742, + "y": 246.22123527526855, + "z": "769245e0.4dbeec", + "wires": [ + [ + "652c71cd.5bf74", + "dda0c26b.24c19", + "f618f19d.3c0f3", + "df1e6363.a8583" + ] + ] + }, + { + "id": "652c71cd.5bf74", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n", + "comments": "", + "x": 454.2048759460449, + "y": 1272.3138885498047, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "dda0c26b.24c19", + "type": "switchNode", + "name": "switch svc-action", + "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n", + "comments": "", + "outputs": 1, + "x": 476.8357353210449, + "y": 476.6349296569824, + "z": "769245e0.4dbeec", + "wires": [ + [ + "a977edb.79e281", + "8c392a7f.92a2a8", + "3ca5b98a.51cfb6", + "3092b4a7.3417bc", + "c46511e9.7ee6f", + "c11431a0.2a357", + "4adddee6.536c1", + "a471ef3a.82ee1" + ] + ] + }, + { + "id": "a977edb.79e281", + "type": "other", + "name": "assign", + "xml": "<outcome value='assign'>\n", + "comments": "", + "outputs": 1, + "x": 691.3119735717773, + "y": 248.9206085205078, + "z": "769245e0.4dbeec", + "wires": [ + [ + "2d6049f7.1b6df6" + ] + ] + }, + { + "id": "2d6049f7.1b6df6", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 863.5501441955566, + "y": 246.92073726654053, + "z": "769245e0.4dbeec", + "wires": [ + [ + "9557e9f.7417f18" + ] + ] + }, + { + "id": "f618f19d.3c0f3", + "type": "call", + "name": "call GENERIC-RESOURCE-API:validate-network-input", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 587.1214599609375, + "y": 186.77775883674622, + "z": "769245e0.4dbeec", + "wires": [ + [ + + ] + ] + }, + { + "id": "8c392a7f.92a2a8", + "type": "other", + "name": "activate", + "xml": "<outcome value='activate'>\n", + "comments": "", + "outputs": 1, + "x": 694.1215133666992, + "y": 338.7777462005615, + "z": "769245e0.4dbeec", + "wires": [ + [ + "6976ed5b.280d44" + ] + ] + }, + { + "id": "a8c8cbe2.91bf68", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1070.359764099121, + "y": 415.77792835235596, + "z": "769245e0.4dbeec", + "wires": [ + [ + "90460675.cf5568", + "ec32e473.a43f78", + "e36653ec.961d4" + ] + ] + }, + { + "id": "994ac0b1.0c869", + "type": "call", + "name": "call GENERIC-RESOURCE-API:network-topology-operation-activate", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-activate' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 2335.1813583374023, + "y": 865.3849945068359, + "z": "769245e0.4dbeec", + "wires": [ + [ + + ] + ] + }, + { + "id": "3ca5b98a.51cfb6", + "type": "other", + "name": "deactivate", + "xml": "<outcome value='deactivate'>\n", + "comments": "", + "outputs": 1, + "x": 688.1215057373047, + "y": 570.7777442932129, + "z": "769245e0.4dbeec", + "wires": [ + [ + "48d75ce9.275f44" + ] + ] + }, + { + "id": "6b404d95.49ee94", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1084.3596878051758, + "y": 703.7780342102051, + "z": "769245e0.4dbeec", + "wires": [ + [ + "90460675.cf5568", + "2838a9bc.3fa006", + "e36653ec.961d4" + ] + ] + }, + { + "id": "2838a9bc.3fa006", + "type": "call", + "name": "call GENERIC-RESOURCE-API:network-topology-operation-deactivate", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-deactivate' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 1663.3479614257812, + "y": 953.6350421905518, + "z": "769245e0.4dbeec", + "wires": [ + [ + + ] + ] + }, + { + "id": "3092b4a7.3417bc", + "type": "other", + "name": "unassign", + "xml": "<outcome value='unassign'>\n", + "comments": "", + "outputs": 1, + "x": 679.1214828491211, + "y": 760.7777938842773, + "z": "769245e0.4dbeec", + "wires": [ + [ + "2cde702d.cb5cf" + ] + ] + }, + { + "id": "2cde702d.cb5cf", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 860.3596420288086, + "y": 761.7779159545898, + "z": "769245e0.4dbeec", + "wires": [ + [ + "90460675.cf5568", + "cba3cf9d.18a25", + "e36653ec.961d4" + ] + ] + }, + { + "id": "f781dfc6.aa561", + "type": "call", + "name": "call GENERIC-RESOURCE-API:network-topology-operation-unassign", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-unassign' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 2330.931221008301, + "y": 1058.8849639892578, + "z": "769245e0.4dbeec", + "wires": [ + [ + + ] + ] + }, + { + "id": "c46511e9.7ee6f", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 663.1214828491211, + "y": 1015.7777905464172, + "z": "769245e0.4dbeec", + "wires": [ + [ + "31c67734.03c588" + ] + ] + }, + { + "id": "31c67734.03c588", + "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-action is a required input\" />\n", + "comments": "", + "x": 845.1214790344238, + "y": 1014.7778000831604, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "df1e6363.a8583", + "type": "set", + "name": "Set final indicator to Y", + "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>", + "comments": "", + "x": 473.23257064819336, + "y": 1231.4722270965576, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "d669adab.d2ab4", + "type": "for", + "name": "for nidx..service-data.networks.network[]", + "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n", + "comments": "", + "outputs": 1, + "x": 2205.8519287109375, + "y": 465.5397033691406, + "z": "769245e0.4dbeec", + "wires": [ + [ + "b88a3bc.7eab6c8" + ] + ] + }, + { + "id": "90460675.cf5568", + "type": "switchNode", + "name": "switch service-data.networks.network_length", + "xml": "<switch test='`$service-data.networks.network_length`'>\n", + "comments": "", + "outputs": 1, + "x": 1483.3160858154297, + "y": 433.8610954284668, + "z": "769245e0.4dbeec", + "wires": [ + [ + "b10bb014.abf41", + "d3656963.b69488" + ] + ] + }, + { + "id": "b10bb014.abf41", + "type": "other", + "name": "outcome Null", + "xml": "<outcome value=''>\n", + "comments": "", + "outputs": 1, + "x": 1782.5659637451172, + "y": 432.11109352111816, + "z": "769245e0.4dbeec", + "wires": [ + [ + "128445f6.2b925a" + ] + ] + }, + { + "id": "d3656963.b69488", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1736.5659942626953, + "y": 465.1111145019531, + "z": "769245e0.4dbeec", + "wires": [ + [ + "69ca6be2.c47e44" + ] + ] + }, + { + "id": "b88a3bc.7eab6c8", + "type": "switchNode", + "name": "switch networkid found", + "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n", + "comments": "", + "outputs": 1, + "x": 2496.2804794311523, + "y": 464.78978729248047, + "z": "769245e0.4dbeec", + "wires": [ + [ + "2fa14bee.cef564" + ] + ] + }, + { + "id": "2fa14bee.cef564", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2685.2328338623047, + "y": 465.6825256347656, + "z": "769245e0.4dbeec", + "wires": [ + [ + "6f9efa6c.844604" + ] + ] + }, + { + "id": "6f9efa6c.844604", + "type": "set", + "name": "set tmp.nidx and network-data", + "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='network-data.' value='`$service-data.networks.network[$nidx].`' />\n", + "comments": "", + "x": 2918.764602661133, + "y": 464.43253326416016, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "12e0a69e.bd3e39", + "type": "comment", + "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data", + "info": "", + "comments": "", + "x": 1662.6771087646484, + "y": 399.1111068725586, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "1eb25cf9.844f63", + "type": "comment", + "name": "service-data will not be stored until we have a network-id", + "info": "", + "comments": "", + "x": 1201.7882652282715, + "y": 28.0000057220459, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "128445f6.2b925a", + "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-id not found in service-data\" />\n", + "comments": "", + "x": 1974.343521118164, + "y": 430.0000915527344, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "69ca6be2.c47e44", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1903.8359603881836, + "y": 464.6656913757324, + "z": "769245e0.4dbeec", + "wires": [ + [ + "d669adab.d2ab4", + "afac9ad.985bc68" + ] + ] + }, + { + "id": "afac9ad.985bc68", + "type": "switchNode", + "name": "switch tmp.nidx ", + "xml": "<switch test=\"`$tmp.nidx`\">\n\n", + "comments": "", + "outputs": 1, + "x": 2132.9034729003906, + "y": 515.0229024887085, + "z": "769245e0.4dbeec", + "wires": [ + [ + "c23bd54c.511518", + "81ca2a3e.0d6c18" + ] + ] + }, + { + "id": "12f6b523.cb143b", + "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-id not found in service-data\" />\n", + "comments": "", + "x": 2485.760456085205, + "y": 510.73714447021484, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "c23bd54c.511518", + "type": "outcome", + "name": "NULL", + "xml": "<outcome value=''>\n", + "comments": "", + "outputs": 1, + "x": 2304.3320083618164, + "y": 513.5942878723145, + "z": "769245e0.4dbeec", + "wires": [ + [ + "12f6b523.cb143b" + ] + ] + }, + { + "id": "ec32e473.a43f78", + "type": "switchNode", + "name": "switch network-level-oper-status", + "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n", + "comments": "", + "outputs": 1, + "x": 1548.1495895385742, + "y": 865.3363952636719, + "z": "769245e0.4dbeec", + "wires": [ + [ + "462bf0db.4f771", + "a326444a.4d9638" + ] + ] + }, + { + "id": "462bf0db.4f771", + "type": "outcome", + "name": "outcome PendingCreate", + "xml": "<outcome value='PendingCreate'>\n", + "comments": "", + "outputs": 1, + "x": 1913.1495691935215, + "y": 865.3363800048828, + "z": "769245e0.4dbeec", + "wires": [ + [ + "994ac0b1.0c869" + ] + ] + }, + { + "id": "a326444a.4d9638", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1863.149616241455, + "y": 905.3364105224609, + "z": "769245e0.4dbeec", + "wires": [ + [ + "406691ae.b1b3d" + ] + ] + }, + { + "id": "406691ae.b1b3d", + "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 is not in appropriate state for activate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />", + "comments": "", + "x": 2033.149616241455, + "y": 905.3364105224609, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "cba3cf9d.18a25", + "type": "switchNode", + "name": "switch network-level-oper-status", + "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n", + "comments": "", + "outputs": 1, + "x": 1537.7526016235352, + "y": 1060.4891662597656, + "z": "769245e0.4dbeec", + "wires": [ + [ + "f04c0e43.ba592", + "94dee4e8.caed68", + "2a14e849.1c8f28" + ] + ] + }, + { + "id": "f04c0e43.ba592", + "type": "outcome", + "name": "outcome PendingCreate", + "xml": "<outcome value='PendingCreate'>\n", + "comments": "", + "outputs": 1, + "x": 1897.752571105957, + "y": 1060.4891967773438, + "z": "769245e0.4dbeec", + "wires": [ + [ + "f781dfc6.aa561" + ] + ] + }, + { + "id": "94dee4e8.caed68", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1853.5024948120117, + "y": 1131.9892597198486, + "z": "769245e0.4dbeec", + "wires": [ + [ + "5a43e0d8.b0755" + ] + ] + }, + { + "id": "5a43e0d8.b0755", + "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 is not in appropriate state for unassign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />", + "comments": "", + "x": 2044.8359146118164, + "y": 1130.655888557434, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "2a14e849.1c8f28", + "type": "outcome", + "name": "outcome PendingDelete", + "xml": "<outcome value='PendingDelete'>\n", + "comments": "", + "outputs": 1, + "x": 1900.982795715332, + "y": 1098.3363647460938, + "z": "769245e0.4dbeec", + "wires": [ + [ + "f781dfc6.aa561" + ] + ] + }, + { + "id": "c11431a0.2a357", + "type": "other", + "name": "changeassign", + "xml": "<outcome value='changeassign'>", + "comments": "", + "outputs": 1, + "x": 696.1215438842773, + "y": 473.77777671813965, + "z": "769245e0.4dbeec", + "wires": [ + [ + "2cd7c2c4.b0ed0e" + ] + ] + }, + { + "id": "2cd7c2c4.b0ed0e", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1068.371482849121, + "y": 470.7777681350708, + "z": "769245e0.4dbeec", + "wires": [ + [ + "90460675.cf5568", + "f390e91b.d09948" + ] + ] + }, + { + "id": "8700a609.f92848", + "type": "call", + "name": "call GENERIC-RESOURCE-API:network-topology-operation-assign", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-assign' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 1837.1216659545898, + "y": 168.77776908874512, + "z": "769245e0.4dbeec", + "wires": [ + [ + + ] + ] + }, + { + "id": "9557e9f.7417f18", + "type": "switchNode", + "name": "switch network-level-oper-status", + "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n", + "comments": "", + "outputs": 1, + "x": 1133.0897216796875, + "y": 106.72916030883789, + "z": "769245e0.4dbeec", + "wires": [ + [ + "3a93c4b5.f2ff8c", + "2f3e0c06.82ec24", + "eef104f8.713bf8", + "760fa471.65ceac" + ] + ] + }, + { + "id": "3a93c4b5.f2ff8c", + "type": "outcome", + "name": "outcome PendingCreate", + "xml": "<outcome value='PendingCreate'>\n", + "comments": "", + "outputs": 1, + "x": 1519.0897674560547, + "y": 126.72914218902588, + "z": "769245e0.4dbeec", + "wires": [ + [ + "e929e5de.80f968" + ] + ] + }, + { + "id": "2f3e0c06.82ec24", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1467.0897636413574, + "y": 168.72917366027832, + "z": "769245e0.4dbeec", + "wires": [ + [ + "8700a609.f92848" + ] + ] + }, + { + "id": "e929e5de.80f968", + "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 is not in appropriate state for assign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />", + "comments": "", + "x": 1794.089988708496, + "y": 122.72919082641602, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "760fa471.65ceac", + "type": "outcome", + "name": "outcome PendingDelete", + "xml": "<outcome value='PendingDelete'>\n", + "comments": "", + "outputs": 1, + "x": 1517.1215057373047, + "y": 91.77775764465332, + "z": "769245e0.4dbeec", + "wires": [ + [ + "e929e5de.80f968" + ] + ] + }, + { + "id": "eef104f8.713bf8", + "type": "outcome", + "name": "outcome Created", + "xml": "<outcome value='Created'>\n", + "comments": "", + "outputs": 1, + "x": 1497.1215438842773, + "y": 56.77775955200195, + "z": "769245e0.4dbeec", + "wires": [ + [ + "e929e5de.80f968" + ] + ] + }, + { + "id": "f390e91b.d09948", + "type": "call", + "name": "call GENERIC-RESOURCE-API:network-topology-operation-changeassign", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-changeassign' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 1640.3678359985352, + "y": 797.2738857269287, + "z": "769245e0.4dbeec", + "wires": [ + [ + + ] + ] + }, + { + "id": "f47e682e.86e828", + "type": "set", + "name": "set object-path", + "xml": "<set>\n<parameter name='network-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $network-topology-operation-input.service-information.service-instance-id\n + '/service-data/networks/network/'\n + $networkId\n + '/network-data/network-topology/'` \" />\n \n", + "comments": "", + "x": 482.6224479675293, + "y": 1137.528720855713, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "93c706b1.771668", + "type": "set", + "name": "set networkId", + "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n", + "comments": "", + "x": 476.9080810546875, + "y": 1100.3858289718628, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "8bebbe1e.84829", + "type": "set", + "name": "set network-level-oper-status", + "xml": "<set>\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />\n", + "comments": "", + "x": 524.9081420898438, + "y": 1182.957194328308, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "e36653ec.961d4", + "type": "switchNode", + "name": "switch network-information.network-instance-group-id", + "xml": "<switch test='`$network-topology-operation-input.network-information.network-instance-group-id`'>\n\n", + "comments": "", + "outputs": 1, + "x": 1552.5600776672363, + "y": 629.278772354126, + "z": "769245e0.4dbeec", + "wires": [ + [ + "381493.7b57fb6e", + "860fc721.1f1a18" + ] + ] + }, + { + "id": "381493.7b57fb6e", + "type": "other", + "name": "Other", + "xml": "<outcome value='Other'>", + "comments": "", + "outputs": 1, + "x": 1839.309959411621, + "y": 667.4454393386841, + "z": "769245e0.4dbeec", + "wires": [ + [ + "9fbd3013.47415" + ] + ] + }, + { + "id": "860fc721.1f1a18", + "type": "other", + "name": "NULL", + "xml": "<outcome value=''>", + "comments": "", + "outputs": 1, + "x": 1836.9768562316895, + "y": 634.4453134536743, + "z": "769245e0.4dbeec", + "wires": [ + [ + "5af426b3.790798" + ] + ] + }, + { + "id": "5af426b3.790798", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name='' value='' />\n", + "comments": "", + "x": 1997.3100852966309, + "y": 631.4453706741333, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "68215b65.4e0fa4", + "type": "switchNode", + "name": "service-data.network-instance-groups.network-instance-group_length", + "xml": "<switch test='`$service-data.network-instance-groups.network-instance-group_length`'>\n", + "comments": "", + "outputs": 1, + "x": 2332.38570022583, + "y": 660.7111883163452, + "z": "769245e0.4dbeec", + "wires": [ + [ + "b700bba7.772938", + "5a541c24.7df2a4" + ] + ] + }, + { + "id": "b700bba7.772938", + "type": "other", + "name": "outcome Null", + "xml": "<outcome value=''>\n", + "comments": "", + "outputs": 1, + "x": 2691.6353912353516, + "y": 617.7111911773682, + "z": "769245e0.4dbeec", + "wires": [ + [ + "e79853a5.ac004" + ] + ] + }, + { + "id": "5a541c24.7df2a4", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 2671.6353912353516, + "y": 652.7111911773682, + "z": "769245e0.4dbeec", + "wires": [ + [ + "440fa626.979958" + ] + ] + }, + { + "id": "9fbd3013.47415", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1973.421215057373, + "y": 667.8898439407349, + "z": "769245e0.4dbeec", + "wires": [ + [ + "68215b65.4e0fa4" + ] + ] + }, + { + "id": "b5479d1a.5649e", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 4101.629249572754, + "y": 657.9217948913574, + "z": "769245e0.4dbeec", + "wires": [ + [ + "21010343.a1a7bc" + ] + ] + }, + { + "id": "71841938.f374b8", + "type": "set", + "name": "set tmp.ngidx and ctx.network-instance-group-data", + "xml": "<set>\n<parameter name='tmp.ngidx' value='`$ngidx`' />\n<parameter name='ctx.network-instance-group-data.' value='`$service-data.network-instance-groups.network-instance-group[$ngidx].`' />\n", + "comments": "", + "x": 4544.16121673584, + "y": 657.6718196868896, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "21010343.a1a7bc", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 4250.247688293457, + "y": 657.778980255127, + "z": "769245e0.4dbeec", + "wires": [ + [ + "71841938.f374b8" + ] + ] + }, + { + "id": "4c5fe551.3b81dc", + "type": "for", + "name": "for ngidx..service-data.network-instance-groups.network-instance-group[]", + "xml": "<for index='ngidx' start='0' end='`$service-data.network-instance-groups.network-instance-_length`' >\n", + "comments": "", + "outputs": 1, + "x": 3278.4976119995117, + "y": 656.0287675857544, + "z": "769245e0.4dbeec", + "wires": [ + [ + "b936ff96.5eec" + ] + ] + }, + { + "id": "b936ff96.5eec", + "type": "switchNode", + "name": "switch network-instance-group-id found", + "xml": "<switch test=\"`$service-data.network-instance-groups.network-instance-group[$nidx].network-instance-group-id == $network-topology-operation-input.network-information.network-instance-group-id`\">\n\n", + "comments": "", + "outputs": 1, + "x": 3723.9262084960938, + "y": 655.7789363861084, + "z": "769245e0.4dbeec", + "wires": [ + [ + "b5479d1a.5649e" + ] + ] + }, + { + "id": "440fa626.979958", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 2890.481491088867, + "y": 653.9046926498413, + "z": "769245e0.4dbeec", + "wires": [ + [ + "4c5fe551.3b81dc" + ] + ] + }, + { + "id": "e79853a5.ac004", + "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-instance-group-id not found in service-data\" />\n", + "comments": "", + "x": 2883.185043334961, + "y": 617.2787580490112, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "81ca2a3e.0d6c18", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 2303.867660522461, + "y": 544.5238704681396, + "z": "769245e0.4dbeec", + "wires": [ + [ + "f6668543.543498" + ] + ] + }, + { + "id": "f6668543.543498", + "type": "set", + "name": "set nidx", + "xml": "<set>\n<parameter name='nidx' value='`$tmp.nidx`' />\n", + "comments": "", + "x": 2460.867660522461, + "y": 545.5238704681396, + "z": "769245e0.4dbeec", + "wires": [ + + ] + }, + { + "id": "6976ed5b.280d44", + "type": "switchNode", + "name": "switch request-action", + "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n", + "comments": "", + "outputs": 1, + "x": 885.2326583862305, + "y": 331.2326822280884, + "z": "769245e0.4dbeec", + "wires": [ + [ + "91a1d59.5506628", + "b38072e2.360e7", + "9675034c.650f5" + ] + ] + }, + { + "id": "91a1d59.5506628", + "type": "outcome", + "name": "ActivateDCINetworkInstance", + "xml": "<outcome value='ActivateDCINetworkInstance'>", + "comments": "", + "outputs": 1, + "x": 1145.5658798217773, + "y": 276.2324981689453, + "z": "769245e0.4dbeec", + "wires": [ + [ + "cc61e75c.f46fa8" + ] + ] + }, + { + "id": "cc61e75c.f46fa8", + "type": "call", + "name": "call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-activate", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-activate' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 1591.5659790039062, + "y": 277.8993282318115, + "z": "769245e0.4dbeec", + "wires": [ + [ + + ] + ] + }, + { + "id": "b38072e2.360e7", + "type": "outcome", + "name": "other", + "xml": "<outcome value='other'>", + "comments": "", + "outputs": 1, + "x": 1077.5658988952637, + "y": 317.8992328643799, + "z": "769245e0.4dbeec", + "wires": [ + [ + "a8c8cbe2.91bf68" + ] + ] + }, + { + "id": "48d75ce9.275f44", + "type": "switchNode", + "name": "switch request-action", + "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n", + "comments": "", + "outputs": 1, + "x": 889.7882080078125, + "y": 572.6770629882812, + "z": "769245e0.4dbeec", + "wires": [ + [ + "1aa76512.222f4b", + "e4fa13e2.b067", + "180a8601.c0536a" + ] + ] + }, + { + "id": "1aa76512.222f4b", + "type": "outcome", + "name": "DeactivateSOTNConnectivityInstance", + "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>", + "comments": "", + "outputs": 1, + "x": 1179.5660858154297, + "y": 516.8992004394531, + "z": "769245e0.4dbeec", + "wires": [ + [ + "e5cc673d.dff018" + ] + ] + }, + { + "id": "e4fa13e2.b067", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1082.0110092163086, + "y": 602.5907745361328, + "z": "769245e0.4dbeec", + "wires": [ + [ + "6b404d95.49ee94" + ] + ] + }, + { + "id": "e5cc673d.dff018", + "type": "call", + "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-deactivate", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-deactivate' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 1639.9232025146484, + "y": 518.1825275421143, + "z": "769245e0.4dbeec", + "wires": [ + [ + + ] + ] + }, + { + "id": "4adddee6.536c1", + "type": "other", + "name": "create", + "xml": "<outcome value='create'>\n", + "comments": "", + "outputs": 1, + "x": 669.4549331665039, + "y": 850.0106019973755, + "z": "769245e0.4dbeec", + "wires": [ + [ + "77afb22f.0154cc" + ] + ] + }, + { + "id": "77afb22f.0154cc", + "type": "switchNode", + "name": "switch request-action", + "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n", + "comments": "", + "outputs": 1, + "x": 869.7687530517578, + "y": 849.7882747650146, + "z": "769245e0.4dbeec", + "wires": [ + [ + "47caedb.c84d914", + "4cac5319.13eecc" + ] + ] + }, + { + "id": "a471ef3a.82ee1", + "type": "other", + "name": "delete", + "xml": "<outcome value='delete'>\n", + "comments": "", + "outputs": 1, + "x": 667.4549369812012, + "y": 927.0106058120728, + "z": "769245e0.4dbeec", + "wires": [ + [ + "841198d0.4df568" + ] + ] + }, + { + "id": "841198d0.4df568", + "type": "switchNode", + "name": "switch request-action", + "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n", + "comments": "", + "outputs": 1, + "x": 869.7431945800781, + "y": 928.0714063644409, + "z": "769245e0.4dbeec", + "wires": [ + [ + "f9d80d07.57de1", + "30bbe85.c379118" + ] + ] + }, + { + "id": "17f9f788.8ff328", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1625.5661582946777, + "y": 1248.8993555465713, + "z": "769245e0.4dbeec", + "wires": [ + [ + "8b5d3c47.c2f2b" + ] + ] + }, + { + "id": "d4f55e73.2e1c", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1599.0106163024902, + "y": 1403.4548937240615, + "z": "769245e0.4dbeec", + "wires": [ + [ + "35ceb905.d5d9a6" + ] + ] + }, + { + "id": "8b5d3c47.c2f2b", + "type": "call", + "name": "call GENERIC-RESOURCE-API:network-topology-operation-create", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-create' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 1990.2326545715332, + "y": 1248.3439775863662, + "z": "769245e0.4dbeec", + "wires": [ + [ + + ] + ] + }, + { + "id": "35ceb905.d5d9a6", + "type": "call", + "name": "call GENERIC-RESOURCE-API:network-topology-operation-delete", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-delete' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 1964.010540008545, + "y": 1402.4548221984878, + "z": "769245e0.4dbeec", + "wires": [ + [ + + ] + ] + }, + { + "id": "47caedb.c84d914", + "type": "outcome", + "name": "other", + "xml": "<outcome value='other'>", + "comments": "", + "outputs": 1, + "x": 1443.7686920166016, + "y": 1250.6769691864029, + "z": "769245e0.4dbeec", + "wires": [ + [ + "17f9f788.8ff328" + ] + ] + }, + { + "id": "4cac5319.13eecc", + "type": "outcome", + "name": "CreateSOTNConnectivityInstance", + "xml": "<outcome value='CreateSOTNConnectivityInstance'>", + "comments": "", + "outputs": 1, + "x": 1511.4354667663574, + "y": 1187.4549089828506, + "z": "769245e0.4dbeec", + "wires": [ + [ + "10d3a091.69adcf" + ] + ] + }, + { + "id": "10d3a091.69adcf", + "type": "call", + "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-create", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-create' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 1990.3242835998535, + "y": 1189.6770912567154, + "z": "769245e0.4dbeec", + "wires": [ + [ + + ] + ] + }, + { + "id": "30bbe85.c379118", + "type": "outcome", + "name": "DeleteSOTNConnectivityInstance", + "xml": "<outcome value='DeleteSOTNConnectivityInstance'>", + "comments": "", + "outputs": 1, + "x": 1520.8545188903809, + "y": 1344.6269198814407, + "z": "769245e0.4dbeec", + "wires": [ + [ + "735a9502.6e869c" + ] + ] + }, + { + "id": "735a9502.6e869c", + "type": "call", + "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-delete", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-delete' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 1987.743335723877, + "y": 1346.8491021553054, + "z": "769245e0.4dbeec", + "wires": [ + [ + + ] + ] + }, + { + "id": "f9d80d07.57de1", + "type": "outcome", + "name": "other", + "xml": "<outcome value='other'>", + "comments": "", + "outputs": 1, + "x": 1441.187744140625, + "y": 1407.848980084993, + "z": "769245e0.4dbeec", + "wires": [ + [ + "d4f55e73.2e1c" + ] + ] + }, + { + "id": "9675034c.650f5", + "type": "outcome", + "name": "ActivateSOTNConnectivityInstance", + "xml": "<outcome value='ActivateSOTNConnectivityInstance'>", + "comments": "", + "outputs": 1, + "x": 1168.56591796875, + "y": 231.01040649414062, + "z": "769245e0.4dbeec", + "wires": [ + [ + "de8bdb94.3cf588" + ] + ] + }, + { + "id": "de8bdb94.3cf588", + "type": "call", + "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-activate", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-activate' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 1593.7880744934082, + "y": 227.24494899902493, + "z": "769245e0.4dbeec", + "wires": [ + [ + + ] + ] + }, + { + "id": "180a8601.c0536a", + "type": "outcome", + "name": "DeActivateDCINetworkInstance", + "xml": "<outcome value='DeActivateDCINetworkInstance'>", + "comments": "", + "outputs": 1, + "x": 1159.6666259765625, + "y": 560, + "z": "769245e0.4dbeec", + "wires": [ + [ + "d9e73bb1.305be8" + ] + ] + }, + { + "id": "d9e73bb1.305be8", + "type": "call", + "name": "call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-deactivate", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-deactivate' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 1634.666847229004, + "y": 558.6668181419373, + "z": "769245e0.4dbeec", + "wires": [ + [ + + ] + ] + } +] |