aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/vnfapi/src/main/json/VNF-API_vf-module-topology-assign-vnf-networks.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/vnfapi/src/main/json/VNF-API_vf-module-topology-assign-vnf-networks.json')
-rw-r--r--platform-logic/vnfapi/src/main/json/VNF-API_vf-module-topology-assign-vnf-networks.json1866
1 files changed, 1862 insertions, 4 deletions
diff --git a/platform-logic/vnfapi/src/main/json/VNF-API_vf-module-topology-assign-vnf-networks.json b/platform-logic/vnfapi/src/main/json/VNF-API_vf-module-topology-assign-vnf-networks.json
index 15e63adf..ebb4f497 100644
--- a/platform-logic/vnfapi/src/main/json/VNF-API_vf-module-topology-assign-vnf-networks.json
+++ b/platform-logic/vnfapi/src/main/json/VNF-API_vf-module-topology-assign-vnf-networks.json
@@ -1,4 +1,1862 @@
-
-
-
-[{"id":"c30b96fb.b54ae8","type":"dgstart","name":"DGSTART","outputs":1,"x":107.3214340209961,"y":47.32143020629883,"z":"1faa4c21.138614","wires":[["92128070.77ca8"]]},{"id":"92128070.77ca8","type":"service-logic","name":"VNF-API 1.0.0","module":"VNF-API","version":"${project.version}","comments":"","xml":"<service-logic xmlns='http://www.att.com/sdnctl/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.att.com/sdnctl/svclogic ./svclogic.xsd' module='VNF-API' version='${project.version}'>","outputs":1,"x":272.4880905151367,"y":47.488101959228516,"z":"1faa4c21.138614","wires":[["17c24793.5d4508"]]},{"id":"17c24793.5d4508","type":"method","name":"method vf-module-topology-assign-vnf-networks","xml":"<method rpc='vf-module-topology-assign-vnf-networks' mode='sync'>","comments":"","outputs":1,"x":235.7381134033203,"y":101.73809432983398,"z":"1faa4c21.138614","wires":[["4de1dc94.aef9f4"]]},{"id":"4de1dc94.aef9f4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":188.0714340209961,"y":150.57143020629883,"z":"1faa4c21.138614","wires":[["70ff54f3.ff0e6c","b46a3430.78ab38","aaf65e9a.4351f","763de398.5ac24c","8fc6861.1cc4c78","330d0bd.ba072f4","3600f85a.1aec98"]]},{"id":"dc1fefd3.cd357","type":"switchNode","name":"switch test: INPUT network-id = NULL or 0","xml":"<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-id == '' or $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-id == '0'`\">","comments":"","outputs":1,"x":764.5137062072754,"y":701.5578842163086,"z":"1faa4c21.138614","wires":[["ed113fb3.62eda","a0ca4ac5.fdc388"]]},{"id":"ed113fb3.62eda","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1039.8771934509277,"y":745.7397541999817,"z":"1faa4c21.138614","wires":[["aba6d801.11f9a8"]]},{"id":"aba6d801.11f9a8","type":"switchNode","name":"switch : INPUT network-name = NULL","xml":"<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-name == '' or $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-name == '0'`\">","comments":"","outputs":1,"x":1277.659294128418,"y":745.5837326049805,"z":"1faa4c21.138614","wires":[["18391f2.d637de1","d29dc4ee.83b888"]]},{"id":"a0ca4ac5.fdc388","type":"other","name":"false","xml":"<outcome value='false'>","comments":"","outputs":1,"x":1039.8974800109863,"y":702.4467806816101,"z":"1faa4c21.138614","wires":[["3c76d450.1a1c5c"]]},{"id":"18391f2.d637de1","type":"other","name":"false","xml":"<outcome value='false'>","comments":"","outputs":1,"x":1515.851245880127,"y":785.139214515686,"z":"1faa4c21.138614","wires":[["4e004f85.49efa"]]},{"id":"3c76d450.1a1c5c","type":"save","name":"get AnAI - l3-network by id","xml":"<get-resource plugin=\"com.att.sdnctl.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-id\" \n\tpfx=\"tmp.AnAI.l3network\">\n","comments":"","outputs":1,"x":1241.1195945739746,"y":702.4469485282898,"z":"1faa4c21.138614","wires":[["b7314ceb.79175","32bd35ee.cb0d2a"]]},{"id":"b7314ceb.79175","type":"success","name":"not found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1444.0642852783203,"y":702.0023970603943,"z":"1faa4c21.138614","wires":[["32309ba2.0ab454"]]},{"id":"3c910573.9a235a","type":"for","name":"for i : INPUT vnf-networks","xml":"<for index=\"i\" start=\"0\" end=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks_length`\">","comments":"","outputs":1,"x":546.8075828552246,"y":559.0505676269531,"z":"1faa4c21.138614","wires":[["dfdb5bcb.cdcf38"]]},{"id":"4e004f85.49efa","type":"save","name":"get AnAI - l3-network by name","xml":"<get-resource plugin=\"com.att.sdnctl.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-name\" \n\tpfx=\"tmp.AnAI.l3network\">\n\n","comments":"","outputs":1,"x":1726.3532485961914,"y":784.8810062408447,"z":"1faa4c21.138614","wires":[["127c9bfe.0fbf64","7871388.9d854c8"]]},{"id":"127c9bfe.0fbf64","type":"success","name":"not found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1947.6032485961914,"y":785.131067276001,"z":"1faa4c21.138614","wires":[["32309ba2.0ab454"]]},{"id":"f0b9ed4f.6db11","type":"set","name":"initialize tmp.usePreload = 1 and tmp.AAI.l3network","xml":"<set>\n<parameter name='tmp.usePreload' value='1' />\n<parameter name='tmp.AnAI.l3network.' value='' />\n","comments":"","outputs":1,"x":478.3012237548828,"y":472.77592849731445,"z":"1faa4c21.138614","wires":[[]]},{"id":"e1f0efe6.81d2e","type":"block","name":"block: atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":138.2354278564453,"y":472.56047439575195,"z":"1faa4c21.138614","wires":[["f0b9ed4f.6db11","6e1813c8.e5e2fc","ee2deaea.1bec48"]]},{"id":"70ff54f3.ff0e6c","type":"for","name":"for j : PRELOAD vnf-networks","xml":"<for index=\"j\" start=\"0\" end=\"`$vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">","comments":"","outputs":1,"x":272.4603729248047,"y":385.82141494750977,"z":"1faa4c21.138614","wires":[["e1f0efe6.81d2e"]]},{"id":"6e1813c8.e5e2fc","type":"block","name":"block: atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":314.1876983642578,"y":558.9804592132568,"z":"1faa4c21.138614","wires":[["3c910573.9a235a","aeff0ffa.88a75"]]},{"id":"dfdb5bcb.cdcf38","type":"switchNode","name":"switch : PRELOAD network-role = INPUT","xml":"<switch test=\"`$vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-role == $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-role`\">","comments":"","outputs":1,"x":856.1877632141113,"y":558.3441305160522,"z":"1faa4c21.138614","wires":[["382cc26b.de833e"]]},{"id":"382cc26b.de833e","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1106.9831886291504,"y":558.6397728919983,"z":"1faa4c21.138614","wires":[["fb7701c1.24954"]]},{"id":"fb7701c1.24954","type":"block","name":"block: atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":465.2687568664551,"y":659.4189281463623,"z":"1faa4c21.138614","wires":[["dc1fefd3.cd357","5a2e54d8.28c0dc","bc41d36b.5b0d6"]]},{"id":"5a2e54d8.28c0dc","type":"set","name":"set tmp.usePreload = 0","xml":"<set>\n<parameter name='tmp.usePreload' value='0' />\n","comments":"","outputs":1,"x":705.6323890686035,"y":659.3280572891235,"z":"1faa4c21.138614","wires":[[]]},{"id":"d29dc4ee.83b888","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1515.4091796875,"y":745.8452072143555,"z":"1faa4c21.138614","wires":[["32309ba2.0ab454"]]},{"id":"bc41d36b.5b0d6","type":"switchNode","name":"switch : tmp.usePreload= 0","xml":"<switch test=\"`$tmp.usePreload == 0`\">","comments":"","outputs":1,"x":705.0207977294922,"y":971.0733308792114,"z":"1faa4c21.138614","wires":[["9ce9a7a6.6d0d28"]]},{"id":"9ce9a7a6.6d0d28","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":906.0206756591797,"y":971.0734529495239,"z":"1faa4c21.138614","wires":[["df99f43a.192678"]]},{"id":"aeff0ffa.88a75","type":"switchNode","name":"switch: tmp.usePreload= 1","xml":"<switch test=\"`$tmp.usePreload == 1`\">","comments":"","outputs":1,"x":467.8374481201172,"y":1901.7782440185547,"z":"1faa4c21.138614","wires":[["35b40dfd.b6e712"]]},{"id":"35b40dfd.b6e712","type":"other","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":675.869026184082,"y":1901.5184955596924,"z":"1faa4c21.138614","wires":[["9aecd914.8483b8"]]},{"id":"32309ba2.0ab454","type":"set","name":"set tmp.usePreload = 1","xml":"<set>\n<parameter name='tmp.usePreload' value='1' />\n","comments":"","outputs":1,"x":1710.0172729492188,"y":886.6042308807373,"z":"1faa4c21.138614","wires":[[]]},{"id":"70579eed.d89c5","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred while querying AnAI for l3-network with network-id = ' + $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-id`\" />\n","comments":"","x":1594.9880854288735,"y":661.1269476148818,"z":"1faa4c21.138614","wires":[]},{"id":"32bd35ee.cb0d2a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1437.7658632066514,"y":661.1269476148818,"z":"1faa4c21.138614","wires":[["70579eed.d89c5"]]},{"id":"d5ab10a8.40fb5","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred whie querying AnAI for l3-network with network-name = ' + $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-name`\" />\n","comments":"","x":2096.099006652832,"y":743.3491630554199,"z":"1faa4c21.138614","wires":[]},{"id":"7871388.9d854c8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1938.8767844306099,"y":743.3491630554199,"z":"1faa4c21.138614","wires":[["d5ab10a8.40fb5"]]},{"id":"b46a3430.78ab38","type":"switchNode","name":"switch ...PRELOAD vnf-networks[]","xml":"<switch test=\"`$vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">","comments":"","outputs":1,"x":452.07142639160156,"y":330.0714340209961,"z":"1faa4c21.138614","wires":[["3f756909.e553f6"]]},{"id":"3f756909.e553f6","type":"outcome","name":"NULL","xml":"<outcome value=''>","outputs":1,"x":679.5158996582031,"y":329.5991439819336,"z":"1faa4c21.138614","wires":[["61c7ea59.ae7a54"]]},{"id":"61c7ea59.ae7a54","type":"set","name":"set PRELOAD vnf-networks[] = 0","xml":"<set>\n<parameter name = \"vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks_length\" value=\"0\" />\n","comments":"","outputs":1,"x":901.0715086195205,"y":329.59916464487696,"z":"1faa4c21.138614","wires":[[]]},{"id":"ee2deaea.1bec48","type":"switchNode","name":"switch ...INPUT vnf-networks[]","xml":"<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks_length`\">","comments":"","outputs":1,"x":367.5714416503906,"y":513.8214120864868,"z":"1faa4c21.138614","wires":[["b5803df6.ae5a9"]]},{"id":"b5803df6.ae5a9","type":"outcome","name":"NULL","xml":"<outcome value=''>","outputs":1,"x":591.0158920288086,"y":513.5991477966309,"z":"1faa4c21.138614","wires":[["a3eaa269.9cad5"]]},{"id":"a3eaa269.9cad5","type":"set","name":"set INPUT vnf-networks_length = 0","xml":"<set>\n<parameter name='vf-module-topology-operation-input.vf-module-request-information.vnf-networks_length' value='0' />\n","comments":"","outputs":1,"x":823.571500990126,"y":513.5991684595742,"z":"1faa4c21.138614","wires":[[]]},{"id":"a5aed389.d71d6","type":"comment","name":"For each preload network, see if there is an override in input","info":"","comments":"","x":741.6826629638672,"y":422.0436592102051,"z":"1faa4c21.138614","wires":[]},{"id":"238b5959.ad0836","type":"comment","name":"CALLED BY vf-module-topology-assign AND vf-module-topology-changeassign","info":"","comments":"","x":793.7380828857422,"y":92.68254470825195,"z":"1faa4c21.138614","wires":[]},{"id":"763de398.5ac24c","type":"set","name":"set: service-data =+ input","xml":"<set>\n\t<parameter name=\"vf-module-service-data.\" value=\"vf-module-topology-operation-input.\" />","comments":"","outputs":1,"x":423.8492031097412,"y":239.015869140625,"z":"1faa4c21.138614","wires":[[]]},{"id":"aaf65e9a.4351f","type":"set","name":"set: service-data = preload-data","xml":"<set>\n\t<parameter name=\"vf-module-service-data.\" value=\"vf-module-preload-data.\" />","comments":"","outputs":1,"x":443.75331687927246,"y":197.162353515625,"z":"1faa4c21.138614","wires":[[]]},{"id":"8fc6861.1cc4c78","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />","comments":"","x":396.19046783447266,"y":2271.0118932724,"z":"1faa4c21.138614","wires":[]},{"id":"330d0bd.ba072f4","type":"switchNode","name":"switch: preload order-status = PendingAssignment","xml":"<switch test=\"`$vf-module-preload-data.oper-status.order-status == PendingAssignment`\">","comments":"","outputs":1,"x":500.8492126464844,"y":150.57143306732178,"z":"1faa4c21.138614","wires":[["4c5e6e0b.0d9a"]]},{"id":"471ae763.ed73c8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid preload-data order status'/>","comments":"","x":917.7884559631348,"y":150.26844310760498,"z":"1faa4c21.138614","wires":[]},{"id":"4c5e6e0b.0d9a","type":"other","name":"false","xml":"<outcome value='false'>","comments":"","outputs":1,"x":768.4553451538086,"y":150.2683687210083,"z":"1faa4c21.138614","wires":[["471ae763.ed73c8"]]},{"id":"3600f85a.1aec98","type":"set","name":"set: vf-module-id","xml":"<set>\n\t<parameter name=\"vf-module-service-data.vf-module-id\" value=\"`$vf-module-topology-operation-input.vf-module-request-information.vf-module-id`\"/>","comments":"","outputs":1,"x":397.17071533203125,"y":283.51190757751465,"z":"1faa4c21.138614","wires":[[]]},{"id":"5b189a42.545814","type":"for","name":"for k : SERVICE_DATA vnf-networks","xml":"<for index=\"k\" start=\"0\" end=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">","comments":"","outputs":1,"x":774,"y":1174,"z":"1faa4c21.138614","wires":[["a749d767.017348"]]},{"id":"a749d767.017348","type":"switchNode","name":"switch: SERVICE-DATA network-role = INPUT","xml":"<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-role == $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-role`\">","comments":"","outputs":1,"x":1134.9634094238281,"y":1173.099287033081,"z":"1faa4c21.138614","wires":[["b3cb6d4f.0288f"]]},{"id":"b3cb6d4f.0288f","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1414.5088195800781,"y":1173.144941329956,"z":"1faa4c21.138614","wires":[["24634a0a.d7c076"]]},{"id":"de134847.1f4e48","type":"set","name":"set: SERVICE_DATA vnf-networks = AAI DATA","xml":"<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-name\" value=\"`$tmp.AnAI.l3network.network-name`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-id\" value=\"`$tmp.AnAI.l3network.network-id`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].neutron-id\" value=\"`$tmp.AnAI.l3network.neutron-network-id`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].contrail-network-fqdn\" value=\"`$tmp.AnAI.l3network.contrail-network-fqdn`\" />\n","comments":"","outputs":1,"x":1892.982032775879,"y":1172.0794134140015,"z":"1faa4c21.138614","wires":[[]]},{"id":"24634a0a.d7c076","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1574.9354400634766,"y":1172.961480140686,"z":"1faa4c21.138614","wires":[["73a4d8d5.c06308","748cdef5.bc80f","de134847.1f4e48"]]},{"id":"a8393abf.7fcee8","type":"comment","name":"Use INPUT vnf-networks to override preload","info":"","comments":"","x":880.2924880981445,"y":1064.4257173538208,"z":"1faa4c21.138614","wires":[]},{"id":"181bc12d.03d83f","type":"switchNode","name":"switch: INPUT sbunet-name != NULL","xml":"<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].subnet-name != ''`\">","comments":"","outputs":1,"x":2357.911766052246,"y":1280.5684156417847,"z":"1faa4c21.138614","wires":[["b1aab41.1658748"]]},{"id":"b1aab41.1658748","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2595.1617317199707,"y":1280.3183946609497,"z":"1faa4c21.138614","wires":[["ebb89f74.08857"]]},{"id":"ce3cc9d0.4cee08","type":"set","name":"set: service-data = AnAI - subnet-id ","xml":"<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />","comments":"","outputs":1,"x":3334.42374420166,"y":1393.8661336898804,"z":"1faa4c21.138614","wires":[[]]},{"id":"ebb89f74.08857","type":"switchNode","name":"switch: tmp.AnAI.l3network.subnets.subnet != NULL","xml":"<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">","comments":"","outputs":1,"x":2460.923728942871,"y":1330.866021156311,"z":"1faa4c21.138614","wires":[["c8277f6a.50834"]]},{"id":"94133efa.587e1","type":"for","name":"for i : tmp.AnAI.l3network.subnets.subnet[]","xml":"<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">","comments":"","outputs":1,"x":2469.352195739746,"y":1395.2946138381958,"z":"1faa4c21.138614","wires":[["d4e7d16e.714f7"]]},{"id":"d4e7d16e.714f7","type":"switchNode","name":"switch: AnAI == INPUT - subnet-name","xml":"<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].subnet-name`\">","comments":"","outputs":1,"x":2842.102149963379,"y":1394.5446977615356,"z":"1faa4c21.138614","wires":[["cf289518.3fc368"]]},{"id":"cf289518.3fc368","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":3100.50484085083,"y":1394.4117259979248,"z":"1faa4c21.138614","wires":[["ce3cc9d0.4cee08"]]},{"id":"c8277f6a.50834","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2746.2452125549316,"y":1330.449411869049,"z":"1faa4c21.138614","wires":[["94133efa.587e1"]]},{"id":"748cdef5.bc80f","type":"switchNode","name":"switch: INPUT sbunet-id != NULL","xml":"<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].subnet-id != ''`\">","comments":"","outputs":1,"x":1851.483211517334,"y":1236.8065958023071,"z":"1faa4c21.138614","wires":[["87aac3bf.46e16","8c173a36.9127d8"]]},{"id":"1bed8cec.efe9e3","type":"set","name":"set: data-data = INPUT - subnet-id ","xml":"<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].subnet-id`\" />","comments":"","outputs":1,"x":2349.7332077026367,"y":1237.0565977096558,"z":"1faa4c21.138614","wires":[[]]},{"id":"87aac3bf.46e16","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2107.7331771850586,"y":1236.5565748214722,"z":"1faa4c21.138614","wires":[["1bed8cec.efe9e3"]]},{"id":"8c173a36.9127d8","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2108.9832191467285,"y":1280.5565958023071,"z":"1faa4c21.138614","wires":[["181bc12d.03d83f"]]},{"id":"12ef162a.3f441a","type":"switchNode","name":"switch: INPUT ipv6-sbunet-name != NULL","xml":"<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].ipv6-subnet-name != ''`\">","comments":"","outputs":1,"x":2366.185417175293,"y":1508.7114629745483,"z":"1faa4c21.138614","wires":[["f70a96da.79e438"]]},{"id":"f70a96da.79e438","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2613.4353828430176,"y":1508.4614419937134,"z":"1faa4c21.138614","wires":[["f829dcc5.c6de7"]]},{"id":"cc6db42c.cf6378","type":"set","name":"set: service-data = AnAI - ipv6-subnet-id ","xml":"<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />","comments":"","outputs":1,"x":3342.697395324707,"y":1622.009181022644,"z":"1faa4c21.138614","wires":[[]]},{"id":"f829dcc5.c6de7","type":"switchNode","name":"switch: tmp.AnAI.l3network.subnets.subnet != NULL","xml":"<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">","comments":"","outputs":1,"x":2469.197380065918,"y":1559.0090684890747,"z":"1faa4c21.138614","wires":[["fdeef706.829528"]]},{"id":"4f132648.69d248","type":"for","name":"for i : tmp.AnAI.l3network.subnets.subnet[]","xml":"<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">","comments":"","outputs":1,"x":2477.625846862793,"y":1623.4376611709595,"z":"1faa4c21.138614","wires":[["cae2d965.d355a8"]]},{"id":"cae2d965.d355a8","type":"switchNode","name":"switch: AnAI == INPUT - ipv6-subnet-name","xml":"<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].ipv6-subnet-name`\">","comments":"","outputs":1,"x":2850.375801086426,"y":1622.6877450942993,"z":"1faa4c21.138614","wires":[["1d5397be.45f898"]]},{"id":"1d5397be.45f898","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":3108.778491973877,"y":1622.5547733306885,"z":"1faa4c21.138614","wires":[["cc6db42c.cf6378"]]},{"id":"fdeef706.829528","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2754.5188636779785,"y":1558.5924592018127,"z":"1faa4c21.138614","wires":[["4f132648.69d248"]]},{"id":"73a4d8d5.c06308","type":"switchNode","name":"switch: INPUT ipv6-sbunet-id != NULL","xml":"<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].ipv6-subnet-id != ''`\">","comments":"","outputs":1,"x":1859.7568626403809,"y":1464.9496431350708,"z":"1faa4c21.138614","wires":[["9cb75fc8.62948","64acb997.b0bf68"]]},{"id":"ae50028d.0d9f6","type":"set","name":"set: service-data = INPUT - ipv6-subnet-id ","xml":"<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].ipv6-subnet-id`\" />","comments":"","outputs":1,"x":2367.0068588256836,"y":1465.1996450424194,"z":"1faa4c21.138614","wires":[[]]},{"id":"9cb75fc8.62948","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2116.0068283081055,"y":1464.6996221542358,"z":"1faa4c21.138614","wires":[["ae50028d.0d9f6"]]},{"id":"64acb997.b0bf68","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2117.2568702697754,"y":1508.6996431350708,"z":"1faa4c21.138614","wires":[["12ef162a.3f441a"]]},{"id":"df99f43a.192678","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":515.8282470703125,"y":1070.390067100525,"z":"1faa4c21.138614","wires":[["44440d79.5a1ee4","5b189a42.545814"]]},{"id":"44440d79.5a1ee4","type":"switchNode","name":"switch:vf-module-service-data...vnf-networks_length","xml":"<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">","comments":"","outputs":1,"x":831.0153274536133,"y":1124.4490270614624,"z":"1faa4c21.138614","wires":[["63358e06.3f664"]]},{"id":"63358e06.3f664","type":"other","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":1118.5153198242188,"y":1124.4490270614624,"z":"1faa4c21.138614","wires":[["ac876566.e9a498"]]},{"id":"ac876566.e9a498","type":"switchNode","name":"set: vf-module-service-data...vnf-networks_length = 0","xml":"<set>\n\t<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length\" value = \"0\" />","comments":"","outputs":1,"x":1417.2653198242188,"y":1124.4490270614624,"z":"1faa4c21.138614","wires":[[]]},{"id":"a64b9779.a71b08","type":"success","name":"not found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1339.638515472412,"y":1900.6209201812744,"z":"1faa4c21.138614","wires":[["4696ff9e.15cd7"]]},{"id":"3b397c6b.f1ef14","type":"set","name":"set: SERVICE_DATA vnf-networks = AAI DATA","xml":"<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-name\" value=\"`$tmp.AnAI.l3network.network-name`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-id\" value=\"`$tmp.AnAI.l3network.network-id`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].neutron-id\" value=\"`$tmp.AnAI.l3network.neutron-network-id`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].contrail-network-fqdn\" value=\"`$tmp.AnAI.l3network.contrail-network-fqdn`\" />\n\n","comments":"","outputs":1,"x":2014.0710487365723,"y":2173.3637895584106,"z":"1faa4c21.138614","wires":[[]]},{"id":"5d489590.345c3c","type":"save","name":"get AnAI - l3-network by name","xml":"<get-resource plugin=\"com.att.sdnctl.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-name\" \n\tpfx=\"tmp.AnAI.l3network\">\n","comments":"","outputs":1,"x":1116.531536102295,"y":1900.8868598937988,"z":"1faa4c21.138614","wires":[["a64b9779.a71b08","96f0e56a.e21d98","1b8842da.0a0e4d"]]},{"id":"9aecd914.8483b8","type":"block","name":"block: atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":858.0431060791016,"y":1901.1858234405518,"z":"1faa4c21.138614","wires":[["5d489590.345c3c","eb351c3a.523a","a1ca6a21.36bfc8"]]},{"id":"60582a4c.d77b14","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred while querying AnAI for l3-network with network-name = ' + $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$j].network-name`\" />\n","comments":"","x":1486.9243507385254,"y":1938.4834985733032,"z":"1faa4c21.138614","wires":[]},{"id":"96f0e56a.e21d98","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1331.7021285163032,"y":1938.4834985733032,"z":"1faa4c21.138614","wires":[["60582a4c.d77b14"]]},{"id":"4696ff9e.15cd7","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'PRELOAD network-name = ' + $vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-name + ' not found in AnAI'`\" />\n","comments":"","x":1505.9243812561035,"y":1900.4835233688354,"z":"1faa4c21.138614","wires":[]},{"id":"1f867022.29e93","type":"switchNode","name":"switch: SERVICE-DATA network-role = PRELOAD","xml":"<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-role == $vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-role`\">","comments":"","outputs":1,"x":1264.674373626709,"y":2173.2336616516113,"z":"1faa4c21.138614","wires":[["e72c07ef.a09cd8"]]},{"id":"e72c07ef.a09cd8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1549.0770645141602,"y":2173.1006898880005,"z":"1faa4c21.138614","wires":[["946a7c8e.c755c"]]},{"id":"eb351c3a.523a","type":"for","name":"for k : SERVICE_DATA vnf-networks","xml":"<for index=\"k\" start=\"0\" end=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">","comments":"","outputs":1,"x":1134.4244194030762,"y":2120.483539581299,"z":"1faa4c21.138614","wires":[["1f867022.29e93"]]},{"id":"4c2a528c.ae82fc","type":"switchNode","name":"switch: tmp.AnAI.l3network.network-id == null","xml":"<switch test=\"`$tmp.AnAI.l3network.network-id == ''`\">","comments":"","outputs":1,"x":1597.317310333252,"y":1976.3764724731445,"z":"1faa4c21.138614","wires":[["c00f083d.1aa798"]]},{"id":"c00f083d.1aa798","type":"other","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":1859.567310333252,"y":1976.3764724731445,"z":"1faa4c21.138614","wires":[["45a1f95e.d33e58"]]},{"id":"45a1f95e.d33e58","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred while querying l3-network with network-name = ' + $vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-name + ' , it is likely that there are more than one l3-newtork object with the same network-name in AnAI.'`\" />\n","comments":"","x":2013.567310333252,"y":1976.8764724731445,"z":"1faa4c21.138614","wires":[]},{"id":"1b8842da.0a0e4d","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1337.317295074463,"y":1976.1264533996582,"z":"1faa4c21.138614","wires":[["4c2a528c.ae82fc"]]},{"id":"a1ca6a21.36bfc8","type":"switchNode","name":"switch: vf-module-service-data...vnf-networks_length","xml":"<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">","comments":"","outputs":1,"x":1189.995891571045,"y":2071.305072784424,"z":"1faa4c21.138614","wires":[["2beaa433.a0358c"]]},{"id":"2beaa433.a0358c","type":"other","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":1477.4958839416504,"y":2071.305072784424,"z":"1faa4c21.138614","wires":[["46d2dad3.6e7a34"]]},{"id":"46d2dad3.6e7a34","type":"switchNode","name":"set: vf-module-service-data...vnf-networks_length = 0","xml":"<set>\n\t<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length\" value = \"0\" />","comments":"","outputs":1,"x":1776.2458839416504,"y":2071.305072784424,"z":"1faa4c21.138614","wires":[[]]},{"id":"19586604.772bba","type":"switchNode","name":"switch: SERVICE-DATA sbunet-id == NULL","xml":"<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-id == ''`\">","comments":"","outputs":1,"x":2000.0316200256348,"y":2225.2693090438843,"z":"1faa4c21.138614","wires":[["b3750df1.dad78"]]},{"id":"946a7c8e.c755c","type":"block","name":"block","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":1707.0316123962402,"y":2173.2693090438843,"z":"1faa4c21.138614","wires":[["3b397c6b.f1ef14","19586604.772bba","a54a422d.7f289"]]},{"id":"b3750df1.dad78","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2256.2815856933594,"y":2225.0192880630493,"z":"1faa4c21.138614","wires":[["1fb12a07.945fd6"]]},{"id":"1fb12a07.945fd6","type":"switchNode","name":"switch: SERVICE-DATA sbunet-name != NULL","xml":"<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-name != ''`\">","comments":"","outputs":1,"x":2082.6267700195312,"y":2285.174117088318,"z":"1faa4c21.138614","wires":[["7263aff8.1dc94"]]},{"id":"7263aff8.1dc94","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2347.876735687256,"y":2284.924096107483,"z":"1faa4c21.138614","wires":[["1e753aed.9f0f55"]]},{"id":"1cc5f67b.c5836a","type":"set","name":"set: service-data = AnAI - subnet-id ","xml":"<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />","comments":"","outputs":1,"x":3104.1387329101562,"y":2408.043137550354,"z":"1faa4c21.138614","wires":[[]]},{"id":"1e753aed.9f0f55","type":"switchNode","name":"switch: tmp.AnAI.l3network.subnets.subnet != NULL","xml":"<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">","comments":"","outputs":1,"x":2201.3529663085938,"y":2346.1146154403687,"z":"1faa4c21.138614","wires":[["80ab5bcc.2e28c8"]]},{"id":"ea48a7cf.4c4df8","type":"for","name":"for i : tmp.AnAI.l3network.subnets.subnet[]","xml":"<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">","comments":"","outputs":1,"x":2239.067184448242,"y":2409.4716176986694,"z":"1faa4c21.138614","wires":[["145c2385.46aa9c"]]},{"id":"145c2385.46aa9c","type":"switchNode","name":"switch: AnAI == service-data - subnet-name","xml":"<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-name`\">","comments":"","outputs":1,"x":2611.817138671875,"y":2408.7217016220093,"z":"1faa4c21.138614","wires":[["b42e690f.505ff8"]]},{"id":"b42e690f.505ff8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2870.219829559326,"y":2408.5887298583984,"z":"1faa4c21.138614","wires":[["1cc5f67b.c5836a"]]},{"id":"80ab5bcc.2e28c8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2486.6744499206543,"y":2345.6980061531067,"z":"1faa4c21.138614","wires":[["ea48a7cf.4c4df8"]]},{"id":"5296c6fd.9fcb48","type":"switchNode","name":"switch: SERVICE-DATA ipv6-sbunet-name != NULL","xml":"<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-name != ''`\">","comments":"","outputs":1,"x":2096.4482421875,"y":2544.9955739974976,"z":"1faa4c21.138614","wires":[["e32aea1f.9758e8"]]},{"id":"e32aea1f.9758e8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2381.6982078552246,"y":2544.7455530166626,"z":"1faa4c21.138614","wires":[["384e37ed.ea75c8"]]},{"id":"13d42cf8.7179b3","type":"set","name":"set: service-data = AnAI - ipv6-subnet-id ","xml":"<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />","comments":"","outputs":1,"x":3127.9600982666016,"y":2660.007555961609,"z":"1faa4c21.138614","wires":[[]]},{"id":"384e37ed.ea75c8","type":"switchNode","name":"switch: tmp.AnAI.l3network.subnets.subnet != NULL","xml":"<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">","comments":"","outputs":1,"x":2193.7459716796875,"y":2603.7931451797485,"z":"1faa4c21.138614","wires":[["21db5d22.4f1eb2"]]},{"id":"1f1251f4.1e980e","type":"for","name":"for i : tmp.AnAI.l3network.subnets.subnet[]","xml":"<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">","comments":"","outputs":1,"x":2262.8885498046875,"y":2661.4360361099243,"z":"1faa4c21.138614","wires":[["c4b44e57.fc7a1"]]},{"id":"c4b44e57.fc7a1","type":"switchNode","name":"switch: AnAI == service-data - ipv6-subnet-name","xml":"<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-name`\">","comments":"","outputs":1,"x":2635.6385040283203,"y":2660.686120033264,"z":"1faa4c21.138614","wires":[["95800325.64ed4"]]},{"id":"95800325.64ed4","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2894.0411949157715,"y":2660.5531482696533,"z":"1faa4c21.138614","wires":[["13d42cf8.7179b3"]]},{"id":"21db5d22.4f1eb2","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2479.067455291748,"y":2603.3765358924866,"z":"1faa4c21.138614","wires":[["1f1251f4.1e980e"]]},{"id":"b6579139.05a4d","type":"comment","name":"Use Preload Data","info":"","comments":"","x":453.5230941772461,"y":1850.9603958129883,"z":"1faa4c21.138614","wires":[]},{"id":"a54a422d.7f289","type":"switchNode","name":"switch: SERVICE-DATA ipv6-sbunet-id == NULL","xml":"<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id == ''`\">","comments":"","outputs":1,"x":2010.781494140625,"y":2492.055146217346,"z":"1faa4c21.138614","wires":[["c01ff5de.4ee4b8"]]},{"id":"c01ff5de.4ee4b8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2295.0314598083496,"y":2491.8051252365112,"z":"1faa4c21.138614","wires":[["5296c6fd.9fcb48"]]}]
+[
+ {
+ "id": "c30b96fb.b54ae8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 107.3214340209961,
+ "y": 47.32143020629883,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "92128070.77ca8"
+ ]
+ ]
+ },
+ {
+ "id": "92128070.77ca8",
+ "type": "service-logic",
+ "name": "VNF-API ${project.version}",
+ "module": "VNF-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='VNF-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 272.4880905151367,
+ "y": 47.488101959228516,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "17c24793.5d4508"
+ ]
+ ]
+ },
+ {
+ "id": "17c24793.5d4508",
+ "type": "method",
+ "name": "method vf-module-topology-assign-vnf-networks",
+ "xml": "<method rpc='vf-module-topology-assign-vnf-networks' mode='sync'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 235.7381134033203,
+ "y": 101.73809432983398,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "4de1dc94.aef9f4"
+ ]
+ ]
+ },
+ {
+ "id": "4de1dc94.aef9f4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 188.0714340209961,
+ "y": 150.57143020629883,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "70ff54f3.ff0e6c",
+ "b46a3430.78ab38",
+ "aaf65e9a.4351f",
+ "763de398.5ac24c",
+ "8fc6861.1cc4c78",
+ "330d0bd.ba072f4",
+ "3600f85a.1aec98"
+ ]
+ ]
+ },
+ {
+ "id": "dc1fefd3.cd357",
+ "type": "switchNode",
+ "name": "switch test: INPUT network-id = NULL or 0",
+ "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-id == '' or $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-id == '0'`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 764.5137062072754,
+ "y": 701.5578842163086,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "ed113fb3.62eda",
+ "a0ca4ac5.fdc388"
+ ]
+ ]
+ },
+ {
+ "id": "ed113fb3.62eda",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1039.8771934509277,
+ "y": 745.7397541999817,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "aba6d801.11f9a8"
+ ]
+ ]
+ },
+ {
+ "id": "aba6d801.11f9a8",
+ "type": "switchNode",
+ "name": "switch : INPUT network-name = NULL",
+ "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-name == '' or $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-name == '0'`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1277.659294128418,
+ "y": 745.5837326049805,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "18391f2.d637de1",
+ "d29dc4ee.83b888"
+ ]
+ ]
+ },
+ {
+ "id": "a0ca4ac5.fdc388",
+ "type": "other",
+ "name": "false",
+ "xml": "<outcome value='false'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1039.8974800109863,
+ "y": 702.4467806816101,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "3c76d450.1a1c5c"
+ ]
+ ]
+ },
+ {
+ "id": "18391f2.d637de1",
+ "type": "other",
+ "name": "false",
+ "xml": "<outcome value='false'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1515.851245880127,
+ "y": 785.139214515686,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "4e004f85.49efa"
+ ]
+ ]
+ },
+ {
+ "id": "3c76d450.1a1c5c",
+ "type": "save",
+ "name": "get AnAI - l3-network by id",
+ "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-id\" \n\tpfx=\"tmp.AnAI.l3network\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1241.1195945739746,
+ "y": 702.4469485282898,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "b7314ceb.79175",
+ "32bd35ee.cb0d2a"
+ ]
+ ]
+ },
+ {
+ "id": "b7314ceb.79175",
+ "type": "success",
+ "name": "not found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1444.0642852783203,
+ "y": 702.0023970603943,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "32309ba2.0ab454"
+ ]
+ ]
+ },
+ {
+ "id": "3c910573.9a235a",
+ "type": "for",
+ "name": "for i : INPUT vnf-networks",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 546.8075828552246,
+ "y": 559.0505676269531,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "dfdb5bcb.cdcf38"
+ ]
+ ]
+ },
+ {
+ "id": "4e004f85.49efa",
+ "type": "save",
+ "name": "get AnAI - l3-network by name",
+ "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-name\" \n\tpfx=\"tmp.AnAI.l3network\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1726.3532485961914,
+ "y": 784.8810062408447,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "127c9bfe.0fbf64",
+ "7871388.9d854c8"
+ ]
+ ]
+ },
+ {
+ "id": "127c9bfe.0fbf64",
+ "type": "success",
+ "name": "not found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1947.6032485961914,
+ "y": 785.131067276001,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "32309ba2.0ab454"
+ ]
+ ]
+ },
+ {
+ "id": "f0b9ed4f.6db11",
+ "type": "set",
+ "name": "initialize tmp.usePreload = 1 and tmp.AAI.l3network",
+ "xml": "<set>\n<parameter name='tmp.usePreload' value='1' />\n<parameter name='tmp.AnAI.l3network.' value='' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 478.3012237548828,
+ "y": 472.77592849731445,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e1f0efe6.81d2e",
+ "type": "block",
+ "name": "block: atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 138.2354278564453,
+ "y": 472.56047439575195,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "f0b9ed4f.6db11",
+ "6e1813c8.e5e2fc",
+ "ee2deaea.1bec48"
+ ]
+ ]
+ },
+ {
+ "id": "70ff54f3.ff0e6c",
+ "type": "for",
+ "name": "for j : PRELOAD vnf-networks",
+ "xml": "<for index=\"j\" start=\"0\" end=\"`$vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 272.4603729248047,
+ "y": 385.82141494750977,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "e1f0efe6.81d2e"
+ ]
+ ]
+ },
+ {
+ "id": "6e1813c8.e5e2fc",
+ "type": "block",
+ "name": "block: atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 314.1876983642578,
+ "y": 558.9804592132568,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "3c910573.9a235a",
+ "aeff0ffa.88a75"
+ ]
+ ]
+ },
+ {
+ "id": "dfdb5bcb.cdcf38",
+ "type": "switchNode",
+ "name": "switch : PRELOAD network-role = INPUT",
+ "xml": "<switch test=\"`$vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-role == $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-role`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 856.1877632141113,
+ "y": 558.3441305160522,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "382cc26b.de833e"
+ ]
+ ]
+ },
+ {
+ "id": "382cc26b.de833e",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1106.9831886291504,
+ "y": 558.6397728919983,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "fb7701c1.24954"
+ ]
+ ]
+ },
+ {
+ "id": "fb7701c1.24954",
+ "type": "block",
+ "name": "block: atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 465.2687568664551,
+ "y": 659.4189281463623,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "dc1fefd3.cd357",
+ "5a2e54d8.28c0dc",
+ "bc41d36b.5b0d6"
+ ]
+ ]
+ },
+ {
+ "id": "5a2e54d8.28c0dc",
+ "type": "set",
+ "name": "set tmp.usePreload = 0",
+ "xml": "<set>\n<parameter name='tmp.usePreload' value='0' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 705.6323890686035,
+ "y": 659.3280572891235,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d29dc4ee.83b888",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1515.4091796875,
+ "y": 745.8452072143555,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "32309ba2.0ab454"
+ ]
+ ]
+ },
+ {
+ "id": "bc41d36b.5b0d6",
+ "type": "switchNode",
+ "name": "switch : tmp.usePreload= 0",
+ "xml": "<switch test=\"`$tmp.usePreload == 0`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 705.0207977294922,
+ "y": 971.0733308792114,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "9ce9a7a6.6d0d28"
+ ]
+ ]
+ },
+ {
+ "id": "9ce9a7a6.6d0d28",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 906.0206756591797,
+ "y": 971.0734529495239,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "df99f43a.192678"
+ ]
+ ]
+ },
+ {
+ "id": "aeff0ffa.88a75",
+ "type": "switchNode",
+ "name": "switch: tmp.usePreload= 1",
+ "xml": "<switch test=\"`$tmp.usePreload == 1`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 467.8374481201172,
+ "y": 1901.7782440185547,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "35b40dfd.b6e712"
+ ]
+ ]
+ },
+ {
+ "id": "35b40dfd.b6e712",
+ "type": "other",
+ "name": "true",
+ "xml": "<outcome value='true'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 675.869026184082,
+ "y": 1901.5184955596924,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "9aecd914.8483b8"
+ ]
+ ]
+ },
+ {
+ "id": "32309ba2.0ab454",
+ "type": "set",
+ "name": "set tmp.usePreload = 1",
+ "xml": "<set>\n<parameter name='tmp.usePreload' value='1' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1710.0172729492188,
+ "y": 886.6042308807373,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "70579eed.d89c5",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred while querying AnAI for l3-network with network-id = ' + $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-id`\" />\n",
+ "comments": "",
+ "x": 1594.9880854288735,
+ "y": 661.1269476148818,
+ "z": "1faa4c21.138614",
+ "wires": []
+ },
+ {
+ "id": "32bd35ee.cb0d2a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1437.7658632066514,
+ "y": 661.1269476148818,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "70579eed.d89c5"
+ ]
+ ]
+ },
+ {
+ "id": "d5ab10a8.40fb5",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred whie querying AnAI for l3-network with network-name = ' + $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-name`\" />\n",
+ "comments": "",
+ "x": 2096.099006652832,
+ "y": 743.3491630554199,
+ "z": "1faa4c21.138614",
+ "wires": []
+ },
+ {
+ "id": "7871388.9d854c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1938.8767844306099,
+ "y": 743.3491630554199,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "d5ab10a8.40fb5"
+ ]
+ ]
+ },
+ {
+ "id": "b46a3430.78ab38",
+ "type": "switchNode",
+ "name": "switch ...PRELOAD vnf-networks[]",
+ "xml": "<switch test=\"`$vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 452.07142639160156,
+ "y": 330.0714340209961,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "3f756909.e553f6"
+ ]
+ ]
+ },
+ {
+ "id": "3f756909.e553f6",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "outputs": 1,
+ "x": 679.5158996582031,
+ "y": 329.5991439819336,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "61c7ea59.ae7a54"
+ ]
+ ]
+ },
+ {
+ "id": "61c7ea59.ae7a54",
+ "type": "set",
+ "name": "set PRELOAD vnf-networks[] = 0",
+ "xml": "<set>\n<parameter name = \"vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks_length\" value=\"0\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 901.0715086195205,
+ "y": 329.59916464487696,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ee2deaea.1bec48",
+ "type": "switchNode",
+ "name": "switch ...INPUT vnf-networks[]",
+ "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 367.5714416503906,
+ "y": 513.8214120864868,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "b5803df6.ae5a9"
+ ]
+ ]
+ },
+ {
+ "id": "b5803df6.ae5a9",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "outputs": 1,
+ "x": 591.0158920288086,
+ "y": 513.5991477966309,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "a3eaa269.9cad5"
+ ]
+ ]
+ },
+ {
+ "id": "a3eaa269.9cad5",
+ "type": "set",
+ "name": "set INPUT vnf-networks_length = 0",
+ "xml": "<set>\n<parameter name='vf-module-topology-operation-input.vf-module-request-information.vnf-networks_length' value='0' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 823.571500990126,
+ "y": 513.5991684595742,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a5aed389.d71d6",
+ "type": "comment",
+ "name": "For each preload network, see if there is an override in input",
+ "info": "",
+ "comments": "",
+ "x": 741.6826629638672,
+ "y": 422.0436592102051,
+ "z": "1faa4c21.138614",
+ "wires": []
+ },
+ {
+ "id": "238b5959.ad0836",
+ "type": "comment",
+ "name": "CALLED BY vf-module-topology-assign AND vf-module-topology-changeassign",
+ "info": "",
+ "comments": "",
+ "x": 793.7380828857422,
+ "y": 92.68254470825195,
+ "z": "1faa4c21.138614",
+ "wires": []
+ },
+ {
+ "id": "763de398.5ac24c",
+ "type": "set",
+ "name": "set: service-data =+ input",
+ "xml": "<set>\n\t<parameter name=\"vf-module-service-data.\" value=\"vf-module-topology-operation-input.\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 423.8492031097412,
+ "y": 239.015869140625,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aaf65e9a.4351f",
+ "type": "set",
+ "name": "set: service-data = preload-data",
+ "xml": "<set>\n\t<parameter name=\"vf-module-service-data.\" value=\"vf-module-preload-data.\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 443.75331687927246,
+ "y": 197.162353515625,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8fc6861.1cc4c78",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />",
+ "comments": "",
+ "x": 396.19046783447266,
+ "y": 2271.0118932724,
+ "z": "1faa4c21.138614",
+ "wires": []
+ },
+ {
+ "id": "330d0bd.ba072f4",
+ "type": "switchNode",
+ "name": "switch: preload order-status = PendingAssignment",
+ "xml": "<switch test=\"`$vf-module-preload-data.oper-status.order-status == PendingAssignment`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 500.8492126464844,
+ "y": 150.57143306732178,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "4c5e6e0b.0d9a"
+ ]
+ ]
+ },
+ {
+ "id": "471ae763.ed73c8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid preload-data order status'/>",
+ "comments": "",
+ "x": 917.7884559631348,
+ "y": 150.26844310760498,
+ "z": "1faa4c21.138614",
+ "wires": []
+ },
+ {
+ "id": "4c5e6e0b.0d9a",
+ "type": "other",
+ "name": "false",
+ "xml": "<outcome value='false'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 768.4553451538086,
+ "y": 150.2683687210083,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "471ae763.ed73c8"
+ ]
+ ]
+ },
+ {
+ "id": "3600f85a.1aec98",
+ "type": "set",
+ "name": "set: vf-module-id",
+ "xml": "<set>\n\t<parameter name=\"vf-module-service-data.vf-module-id\" value=\"`$vf-module-topology-operation-input.vf-module-request-information.vf-module-id`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 397.17071533203125,
+ "y": 283.51190757751465,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b189a42.545814",
+ "type": "for",
+ "name": "for k : SERVICE_DATA vnf-networks",
+ "xml": "<for index=\"k\" start=\"0\" end=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 774,
+ "y": 1174,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "a749d767.017348"
+ ]
+ ]
+ },
+ {
+ "id": "a749d767.017348",
+ "type": "switchNode",
+ "name": "switch: SERVICE-DATA network-role = INPUT",
+ "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-role == $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-role`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1134.9634094238281,
+ "y": 1173.099287033081,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "b3cb6d4f.0288f"
+ ]
+ ]
+ },
+ {
+ "id": "b3cb6d4f.0288f",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1414.5088195800781,
+ "y": 1173.144941329956,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "24634a0a.d7c076"
+ ]
+ ]
+ },
+ {
+ "id": "de134847.1f4e48",
+ "type": "set",
+ "name": "set: SERVICE_DATA vnf-networks = AAI DATA",
+ "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-name\" value=\"`$tmp.AnAI.l3network.network-name`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-id\" value=\"`$tmp.AnAI.l3network.network-id`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].neutron-id\" value=\"`$tmp.AnAI.l3network.neutron-network-id`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].contrail-network-fqdn\" value=\"`$tmp.AnAI.l3network.contrail-network-fqdn`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1892.982032775879,
+ "y": 1172.0794134140015,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "24634a0a.d7c076",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1574.9354400634766,
+ "y": 1172.961480140686,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "73a4d8d5.c06308",
+ "748cdef5.bc80f",
+ "de134847.1f4e48"
+ ]
+ ]
+ },
+ {
+ "id": "a8393abf.7fcee8",
+ "type": "comment",
+ "name": "Use INPUT vnf-networks to override preload",
+ "info": "",
+ "comments": "",
+ "x": 880.2924880981445,
+ "y": 1064.4257173538208,
+ "z": "1faa4c21.138614",
+ "wires": []
+ },
+ {
+ "id": "181bc12d.03d83f",
+ "type": "switchNode",
+ "name": "switch: INPUT sbunet-name != NULL",
+ "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].subnet-name != ''`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2357.911766052246,
+ "y": 1280.5684156417847,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "b1aab41.1658748"
+ ]
+ ]
+ },
+ {
+ "id": "b1aab41.1658748",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2595.1617317199707,
+ "y": 1280.3183946609497,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "ebb89f74.08857"
+ ]
+ ]
+ },
+ {
+ "id": "ce3cc9d0.4cee08",
+ "type": "set",
+ "name": "set: service-data = AnAI - subnet-id ",
+ "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3334.42374420166,
+ "y": 1393.8661336898804,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ebb89f74.08857",
+ "type": "switchNode",
+ "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
+ "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2460.923728942871,
+ "y": 1330.866021156311,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "c8277f6a.50834"
+ ]
+ ]
+ },
+ {
+ "id": "94133efa.587e1",
+ "type": "for",
+ "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2469.352195739746,
+ "y": 1395.2946138381958,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "d4e7d16e.714f7"
+ ]
+ ]
+ },
+ {
+ "id": "d4e7d16e.714f7",
+ "type": "switchNode",
+ "name": "switch: AnAI == INPUT - subnet-name",
+ "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].subnet-name`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2842.102149963379,
+ "y": 1394.5446977615356,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "cf289518.3fc368"
+ ]
+ ]
+ },
+ {
+ "id": "cf289518.3fc368",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3100.50484085083,
+ "y": 1394.4117259979248,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "ce3cc9d0.4cee08"
+ ]
+ ]
+ },
+ {
+ "id": "c8277f6a.50834",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2746.2452125549316,
+ "y": 1330.449411869049,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "94133efa.587e1"
+ ]
+ ]
+ },
+ {
+ "id": "748cdef5.bc80f",
+ "type": "switchNode",
+ "name": "switch: INPUT sbunet-id != NULL",
+ "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].subnet-id != ''`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1851.483211517334,
+ "y": 1236.8065958023071,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "87aac3bf.46e16",
+ "8c173a36.9127d8"
+ ]
+ ]
+ },
+ {
+ "id": "1bed8cec.efe9e3",
+ "type": "set",
+ "name": "set: data-data = INPUT - subnet-id ",
+ "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].subnet-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2349.7332077026367,
+ "y": 1237.0565977096558,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "87aac3bf.46e16",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2107.7331771850586,
+ "y": 1236.5565748214722,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "1bed8cec.efe9e3"
+ ]
+ ]
+ },
+ {
+ "id": "8c173a36.9127d8",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2108.9832191467285,
+ "y": 1280.5565958023071,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "181bc12d.03d83f"
+ ]
+ ]
+ },
+ {
+ "id": "12ef162a.3f441a",
+ "type": "switchNode",
+ "name": "switch: INPUT ipv6-sbunet-name != NULL",
+ "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].ipv6-subnet-name != ''`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2366.185417175293,
+ "y": 1508.7114629745483,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "f70a96da.79e438"
+ ]
+ ]
+ },
+ {
+ "id": "f70a96da.79e438",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2613.4353828430176,
+ "y": 1508.4614419937134,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "f829dcc5.c6de7"
+ ]
+ ]
+ },
+ {
+ "id": "cc6db42c.cf6378",
+ "type": "set",
+ "name": "set: service-data = AnAI - ipv6-subnet-id ",
+ "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3342.697395324707,
+ "y": 1622.009181022644,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f829dcc5.c6de7",
+ "type": "switchNode",
+ "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
+ "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2469.197380065918,
+ "y": 1559.0090684890747,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "fdeef706.829528"
+ ]
+ ]
+ },
+ {
+ "id": "4f132648.69d248",
+ "type": "for",
+ "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2477.625846862793,
+ "y": 1623.4376611709595,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "cae2d965.d355a8"
+ ]
+ ]
+ },
+ {
+ "id": "cae2d965.d355a8",
+ "type": "switchNode",
+ "name": "switch: AnAI == INPUT - ipv6-subnet-name",
+ "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].ipv6-subnet-name`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2850.375801086426,
+ "y": 1622.6877450942993,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "1d5397be.45f898"
+ ]
+ ]
+ },
+ {
+ "id": "1d5397be.45f898",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3108.778491973877,
+ "y": 1622.5547733306885,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "cc6db42c.cf6378"
+ ]
+ ]
+ },
+ {
+ "id": "fdeef706.829528",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2754.5188636779785,
+ "y": 1558.5924592018127,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "4f132648.69d248"
+ ]
+ ]
+ },
+ {
+ "id": "73a4d8d5.c06308",
+ "type": "switchNode",
+ "name": "switch: INPUT ipv6-sbunet-id != NULL",
+ "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].ipv6-subnet-id != ''`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1859.7568626403809,
+ "y": 1464.9496431350708,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "9cb75fc8.62948",
+ "64acb997.b0bf68"
+ ]
+ ]
+ },
+ {
+ "id": "ae50028d.0d9f6",
+ "type": "set",
+ "name": "set: service-data = INPUT - ipv6-subnet-id ",
+ "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].ipv6-subnet-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2367.0068588256836,
+ "y": 1465.1996450424194,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9cb75fc8.62948",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2116.0068283081055,
+ "y": 1464.6996221542358,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "ae50028d.0d9f6"
+ ]
+ ]
+ },
+ {
+ "id": "64acb997.b0bf68",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2117.2568702697754,
+ "y": 1508.6996431350708,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "12ef162a.3f441a"
+ ]
+ ]
+ },
+ {
+ "id": "df99f43a.192678",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 515.8282470703125,
+ "y": 1070.390067100525,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "44440d79.5a1ee4",
+ "5b189a42.545814"
+ ]
+ ]
+ },
+ {
+ "id": "44440d79.5a1ee4",
+ "type": "switchNode",
+ "name": "switch:vf-module-service-data...vnf-networks_length",
+ "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 831.0153274536133,
+ "y": 1124.4490270614624,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "63358e06.3f664"
+ ]
+ ]
+ },
+ {
+ "id": "63358e06.3f664",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1118.5153198242188,
+ "y": 1124.4490270614624,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "ac876566.e9a498"
+ ]
+ ]
+ },
+ {
+ "id": "ac876566.e9a498",
+ "type": "switchNode",
+ "name": "set: vf-module-service-data...vnf-networks_length = 0",
+ "xml": "<set>\n\t<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length\" value = \"0\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1417.2653198242188,
+ "y": 1124.4490270614624,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a64b9779.a71b08",
+ "type": "success",
+ "name": "not found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1339.638515472412,
+ "y": 1900.6209201812744,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "4696ff9e.15cd7"
+ ]
+ ]
+ },
+ {
+ "id": "3b397c6b.f1ef14",
+ "type": "set",
+ "name": "set: SERVICE_DATA vnf-networks = AAI DATA",
+ "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-name\" value=\"`$tmp.AnAI.l3network.network-name`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-id\" value=\"`$tmp.AnAI.l3network.network-id`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].neutron-id\" value=\"`$tmp.AnAI.l3network.neutron-network-id`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].contrail-network-fqdn\" value=\"`$tmp.AnAI.l3network.contrail-network-fqdn`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2014.0710487365723,
+ "y": 2173.3637895584106,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5d489590.345c3c",
+ "type": "save",
+ "name": "get AnAI - l3-network by name",
+ "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-name\" \n\tpfx=\"tmp.AnAI.l3network\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1116.531536102295,
+ "y": 1900.8868598937988,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "a64b9779.a71b08",
+ "96f0e56a.e21d98",
+ "1b8842da.0a0e4d"
+ ]
+ ]
+ },
+ {
+ "id": "9aecd914.8483b8",
+ "type": "block",
+ "name": "block: atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 858.0431060791016,
+ "y": 1901.1858234405518,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "5d489590.345c3c",
+ "eb351c3a.523a",
+ "a1ca6a21.36bfc8"
+ ]
+ ]
+ },
+ {
+ "id": "60582a4c.d77b14",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred while querying AnAI for l3-network with network-name = ' + $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$j].network-name`\" />\n",
+ "comments": "",
+ "x": 1486.9243507385254,
+ "y": 1938.4834985733032,
+ "z": "1faa4c21.138614",
+ "wires": []
+ },
+ {
+ "id": "96f0e56a.e21d98",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1331.7021285163032,
+ "y": 1938.4834985733032,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "60582a4c.d77b14"
+ ]
+ ]
+ },
+ {
+ "id": "4696ff9e.15cd7",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'PRELOAD network-name = ' + $vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-name + ' not found in AnAI'`\" />\n",
+ "comments": "",
+ "x": 1505.9243812561035,
+ "y": 1900.4835233688354,
+ "z": "1faa4c21.138614",
+ "wires": []
+ },
+ {
+ "id": "1f867022.29e93",
+ "type": "switchNode",
+ "name": "switch: SERVICE-DATA network-role = PRELOAD",
+ "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-role == $vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-role`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1264.674373626709,
+ "y": 2173.2336616516113,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "e72c07ef.a09cd8"
+ ]
+ ]
+ },
+ {
+ "id": "e72c07ef.a09cd8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1549.0770645141602,
+ "y": 2173.1006898880005,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "946a7c8e.c755c"
+ ]
+ ]
+ },
+ {
+ "id": "eb351c3a.523a",
+ "type": "for",
+ "name": "for k : SERVICE_DATA vnf-networks",
+ "xml": "<for index=\"k\" start=\"0\" end=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1134.4244194030762,
+ "y": 2120.483539581299,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "1f867022.29e93"
+ ]
+ ]
+ },
+ {
+ "id": "4c2a528c.ae82fc",
+ "type": "switchNode",
+ "name": "switch: tmp.AnAI.l3network.network-id == null",
+ "xml": "<switch test=\"`$tmp.AnAI.l3network.network-id == ''`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1597.317310333252,
+ "y": 1976.3764724731445,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "c00f083d.1aa798"
+ ]
+ ]
+ },
+ {
+ "id": "c00f083d.1aa798",
+ "type": "other",
+ "name": "true",
+ "xml": "<outcome value='true'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1859.567310333252,
+ "y": 1976.3764724731445,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "45a1f95e.d33e58"
+ ]
+ ]
+ },
+ {
+ "id": "45a1f95e.d33e58",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred while querying l3-network with network-name = ' + $vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-name + ' , it is likely that there are more than one l3-newtork object with the same network-name in AnAI.'`\" />\n",
+ "comments": "",
+ "x": 2013.567310333252,
+ "y": 1976.8764724731445,
+ "z": "1faa4c21.138614",
+ "wires": []
+ },
+ {
+ "id": "1b8842da.0a0e4d",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1337.317295074463,
+ "y": 1976.1264533996582,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "4c2a528c.ae82fc"
+ ]
+ ]
+ },
+ {
+ "id": "a1ca6a21.36bfc8",
+ "type": "switchNode",
+ "name": "switch: vf-module-service-data...vnf-networks_length",
+ "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1189.995891571045,
+ "y": 2071.305072784424,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "2beaa433.a0358c"
+ ]
+ ]
+ },
+ {
+ "id": "2beaa433.a0358c",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1477.4958839416504,
+ "y": 2071.305072784424,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "46d2dad3.6e7a34"
+ ]
+ ]
+ },
+ {
+ "id": "46d2dad3.6e7a34",
+ "type": "switchNode",
+ "name": "set: vf-module-service-data...vnf-networks_length = 0",
+ "xml": "<set>\n\t<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length\" value = \"0\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1776.2458839416504,
+ "y": 2071.305072784424,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "19586604.772bba",
+ "type": "switchNode",
+ "name": "switch: SERVICE-DATA sbunet-id == NULL",
+ "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-id == ''`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2000.0316200256348,
+ "y": 2225.2693090438843,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "b3750df1.dad78"
+ ]
+ ]
+ },
+ {
+ "id": "946a7c8e.c755c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1707.0316123962402,
+ "y": 2173.2693090438843,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "3b397c6b.f1ef14",
+ "19586604.772bba",
+ "a54a422d.7f289"
+ ]
+ ]
+ },
+ {
+ "id": "b3750df1.dad78",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2256.2815856933594,
+ "y": 2225.0192880630493,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "1fb12a07.945fd6"
+ ]
+ ]
+ },
+ {
+ "id": "1fb12a07.945fd6",
+ "type": "switchNode",
+ "name": "switch: SERVICE-DATA sbunet-name != NULL",
+ "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-name != ''`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2082.6267700195312,
+ "y": 2285.174117088318,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "7263aff8.1dc94"
+ ]
+ ]
+ },
+ {
+ "id": "7263aff8.1dc94",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2347.876735687256,
+ "y": 2284.924096107483,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "1e753aed.9f0f55"
+ ]
+ ]
+ },
+ {
+ "id": "1cc5f67b.c5836a",
+ "type": "set",
+ "name": "set: service-data = AnAI - subnet-id ",
+ "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3104.1387329101562,
+ "y": 2408.043137550354,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1e753aed.9f0f55",
+ "type": "switchNode",
+ "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
+ "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2201.3529663085938,
+ "y": 2346.1146154403687,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "80ab5bcc.2e28c8"
+ ]
+ ]
+ },
+ {
+ "id": "ea48a7cf.4c4df8",
+ "type": "for",
+ "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2239.067184448242,
+ "y": 2409.4716176986694,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "145c2385.46aa9c"
+ ]
+ ]
+ },
+ {
+ "id": "145c2385.46aa9c",
+ "type": "switchNode",
+ "name": "switch: AnAI == service-data - subnet-name",
+ "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-name`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2611.817138671875,
+ "y": 2408.7217016220093,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "b42e690f.505ff8"
+ ]
+ ]
+ },
+ {
+ "id": "b42e690f.505ff8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2870.219829559326,
+ "y": 2408.5887298583984,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "1cc5f67b.c5836a"
+ ]
+ ]
+ },
+ {
+ "id": "80ab5bcc.2e28c8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2486.6744499206543,
+ "y": 2345.6980061531067,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "ea48a7cf.4c4df8"
+ ]
+ ]
+ },
+ {
+ "id": "5296c6fd.9fcb48",
+ "type": "switchNode",
+ "name": "switch: SERVICE-DATA ipv6-sbunet-name != NULL",
+ "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-name != ''`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2096.4482421875,
+ "y": 2544.9955739974976,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "e32aea1f.9758e8"
+ ]
+ ]
+ },
+ {
+ "id": "e32aea1f.9758e8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2381.6982078552246,
+ "y": 2544.7455530166626,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "384e37ed.ea75c8"
+ ]
+ ]
+ },
+ {
+ "id": "13d42cf8.7179b3",
+ "type": "set",
+ "name": "set: service-data = AnAI - ipv6-subnet-id ",
+ "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3127.9600982666016,
+ "y": 2660.007555961609,
+ "z": "1faa4c21.138614",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "384e37ed.ea75c8",
+ "type": "switchNode",
+ "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
+ "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2193.7459716796875,
+ "y": 2603.7931451797485,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "21db5d22.4f1eb2"
+ ]
+ ]
+ },
+ {
+ "id": "1f1251f4.1e980e",
+ "type": "for",
+ "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2262.8885498046875,
+ "y": 2661.4360361099243,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "c4b44e57.fc7a1"
+ ]
+ ]
+ },
+ {
+ "id": "c4b44e57.fc7a1",
+ "type": "switchNode",
+ "name": "switch: AnAI == service-data - ipv6-subnet-name",
+ "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-name`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2635.6385040283203,
+ "y": 2660.686120033264,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "95800325.64ed4"
+ ]
+ ]
+ },
+ {
+ "id": "95800325.64ed4",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2894.0411949157715,
+ "y": 2660.5531482696533,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "13d42cf8.7179b3"
+ ]
+ ]
+ },
+ {
+ "id": "21db5d22.4f1eb2",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2479.067455291748,
+ "y": 2603.3765358924866,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "1f1251f4.1e980e"
+ ]
+ ]
+ },
+ {
+ "id": "b6579139.05a4d",
+ "type": "comment",
+ "name": "Use Preload Data",
+ "info": "",
+ "comments": "",
+ "x": 453.5230941772461,
+ "y": 1850.9603958129883,
+ "z": "1faa4c21.138614",
+ "wires": []
+ },
+ {
+ "id": "a54a422d.7f289",
+ "type": "switchNode",
+ "name": "switch: SERVICE-DATA ipv6-sbunet-id == NULL",
+ "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id == ''`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 2010.781494140625,
+ "y": 2492.055146217346,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "c01ff5de.4ee4b8"
+ ]
+ ]
+ },
+ {
+ "id": "c01ff5de.4ee4b8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2295.0314598083496,
+ "y": 2491.8051252365112,
+ "z": "1faa4c21.138614",
+ "wires": [
+ [
+ "5296c6fd.9fcb48"
+ ]
+ ]
+ }
+] \ No newline at end of file