aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_eipam-create-network-role-pool.json
blob: 783f499da9298724305561d4928b139df1920b2a (plain)
1
[{"id":"889f3470.50cd18","type":"dgstart","name":"DGSTART","outputs":1,"x":105.31387329101562,"y":29,"z":"6dc3ee07.6f3c9","wires":[["dad41889.054d08"]]},{"id":"dad41889.054d08","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":334.2638969421387,"y":33.74525547027588,"z":"6dc3ee07.6f3c9","wires":[["dc34c18c.fe421"]]},{"id":"e9fff2b2.6dea6","type":"comment","name":"ChangeLog","info":"1.0.1: Release 1702 - add logic for vIPR & SRIOV address plans\n1.0.2: Release 1702 - Req update to change level 1 & 2 key-name & key-values\n1.0.3: Release 1707 - Add CA to map to ATM-U US/CALA or ATM-P CALA for vIPR & SRIOV\n1.0.4: Release 1702/1707 - SRIOV V6 Data Plane QIP Pool names need to be unique per region due to Regional Registry.\n\t\t\t\t\t\t- Add CA to map to ATM-U US/CALA or ATM-P CALA for V4 vIPR & SRIOV\n1.0.5: Release 1707 - Add AIM V4 Landing Network\n5/10 - 1707 - updated pool key-names for AIC_AIM_LANDING_NETWORK_V4\n6/20 - 1710 - change any underscores _  to colon : for all level 1 and level 2 Pool KeyNames\n6/21 - 1710 - Task 403314 - QIP Parent pool consolidation\n\t\t\t- New V6 plans - \n\t\t\t\tAIC_ATM_UNPROTECTED_V6\n\t\t\t\tAIC_ATM_PROTECTED_V6\n\t\t\t\tAIC_AIM_LANDING_V6\n8/27 - 1710 - QIP parent pool fix:\n\t\t\tqip parent pool initial string is specifying 'AIC-ATM-P-V6 US' instead of 'ATM-P-V6 US'\n \t\tand \n \t\t\tqip parent pool initial string is specifying 'AIC-ATM-U-V6 US' instead of 'ATM-U-V6 US'\n","comments":"","x":67,"y":58.186187744140625,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"dc34c18c.fe421","type":"method","name":"eipam-create-network-role-pool","xml":"<method rpc='eipam-create-network-role-pool' mode='sync'>\n","comments":"","outputs":1,"x":680.3625259399414,"y":32.68485069274902,"z":"6dc3ee07.6f3c9","wires":[["101acc97.442dd3"]]},{"id":"f6408602.6c6e38","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"network-topology-operation\"/>\n<parameter name=\"field3\" value=\"eipam-create-network-role-pool\"/>\n<parameter name=\"field4\" value=\"`$eipam-ip-block.plans[$eipam-ip-block.plans_length].plan-name`\"/>\n<parameter name=\"field5\" value=\"`$eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[0].key-name`\"/>\n<parameter name=\"field6\" value=\"`$eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[0].key-value`\"/>\n<parameter name=\"field7\" value=\"`$eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[1].key-name`\"/>\n<parameter name=\"field8\" value=\"`$eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[1].key-value`\"/>\n","comments":"","outputs":1,"x":1067.3235168457031,"y":889.4543533325195,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"150e6bd8.81df94","type":"set","name":"set EIPAM plan info for createPool & Level 1 pool","xml":"<set>\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].plan-name\" value=\"`$network-model.eipam-v4-address-plan`\"/>\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].allocate-subnet-flag\" value=\"N\"/>\t\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].parent-pool\" value=\"`$tmp.qip-pool`\"/>\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].requests_length\" value=\"1\"/>\n\t<!-- Number of Pool Levels -->\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools_length\" value=\"1\"/>\n\n\t<!-- Level 1 -->\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[0].key-name\" value=\"`$tmp.v4-level1-key-name`\"/>\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[0].key-value\" value=\"`$tmp.level1-key-value`\"/>\n\t<parameter name=\"tmp.create-v4-pool-flag\" value=\"Y\" />\n\t<parameter name=\"tmp.v4-qip-pool\" value=\"`$tmp.qip-pool`\" />","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","x":1177.3140258789062,"y":735.0000381469727,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"dacc275b.c28ca8","type":"execute","name":"execute EIPAM createPool","xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin\" method=\"createPool\">\n","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","outputs":1,"x":798.313835144043,"y":1851.0602111816406,"z":"6dc3ee07.6f3c9","wires":[["6f29513.87d3db","4a355dc8.b91904"]]},{"id":"101acc97.442dd3","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":115.00006103515625,"y":168.06005859375,"z":"6dc3ee07.6f3c9","wires":[["821b7075.c4a55","83965803.e534d8","b98c82b0.46b8b","d3eb1f70.63b4f","4f20cdc5.ce5d74","81702e48.02ed2","de6d3f5d.9271","9ed33bd1.14ef08"]]},{"id":"821b7075.c4a55","type":"switchNode","name":"switch: network-model.use-ipv4","xml":"<switch test=\"`$network-model.use-ipv4`\">","comments":"","outputs":1,"x":380.3138618469238,"y":459.06005859375,"z":"6dc3ee07.6f3c9","wires":[["2cdfd5c1.680e2a","90660bc9.3bdfd8","f7dde4c9.c086c8"]]},{"id":"90660bc9.3bdfd8","type":"other","name":"NULL","xml":"<outcome value=\"\">","comments":"","outputs":1,"x":592.3139228820801,"y":472.06008529663086,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"2cdfd5c1.680e2a","type":"other","name":"Y","xml":"<outcome value='Y'>","comments":"","outputs":1,"x":591.3139801025391,"y":428.06005859375,"z":"6dc3ee07.6f3c9","wires":[["fd1b4bf2.6e8168"]]},{"id":"beba6de.c13179","type":"set","name":"set EIPAM level 2 pool info for createPool","xml":"<set>\n\t<!-- Number of Pool Levels -->\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools_length\" value=\"`$eipam-ip-block.level`\"/>\n\n\t<!-- Level 2 -->\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].parent-pool\" value=\"\"/>\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[1].key-name\" value=\"`$tmp.v4-level2-key-name`\"/>\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[1].key-value\" value=\"`$tmp.level2-key-value`\"/>","comments":"","x":1520.3141250610352,"y":863.0601110458374,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"a21e5aab.edf9e8","type":"switchNode","name":"switch: eipam-ip-block.level","xml":"<switch test=\"`$eipam-ip-block.level`\">","comments":"","outputs":1,"x":1089.3139877319336,"y":815.0600280761719,"z":"6dc3ee07.6f3c9","wires":[["7656dbc4.2063f4","7c2e9c92.c4a764","4e418bcf.7dd274"]]},{"id":"7656dbc4.2063f4","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1289.3140869140625,"y":813.0600357055664,"z":"6dc3ee07.6f3c9","wires":[["7d2cc75f.256b88"]]},{"id":"7c2e9c92.c4a764","type":"other","name":"2","xml":"<outcome value='2'>","comments":"","outputs":1,"x":1293.3140869140625,"y":864.0600357055664,"z":"6dc3ee07.6f3c9","wires":[["beba6de.c13179"]]},{"id":"fd1b4bf2.6e8168","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":745.3139228820801,"y":427.06006240844727,"z":"6dc3ee07.6f3c9","wires":[["a76a1da4.57966"]]},{"id":"5be47438.2e9b1c","type":"set","name":"set: eipam-ip-block.plans[]++","xml":"<set>\n\t<parameter name=\"eipam-ip-block.plans_length\" value=\"`$eipam-ip-block.plans_length + 1`\" />","comments":"","x":1090.322998046875,"y":933.2102432250977,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"6f29513.87d3db","type":"failure","name":"failure","xml":"<outcome value='failure'>","outputs":1,"x":1008.3138809204102,"y":1852.4505767822266,"z":"6dc3ee07.6f3c9","wires":[["86b1f835.a50a48"]]},{"id":"86b1f835.a50a48","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"tmp.eipam-error\" value=\"true\" />\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"error-message\" value=\"An error occured while creating pool in EIPAM.\" />\n\t","comments":"","x":1172.3139114379883,"y":1855.4506072998047,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"83965803.e534d8","type":"set","name":"set: data initialization","xml":"<set>\n\t<parameter name=\"tmp.eipam-error\" value=\"false\" />\n\t<parameter name=\"tmp.create-v4-pool-flag\" value=\"N\" />\n\t<parameter name=\"tmp.create-v6-pool-flag\" value=\"N\" />\n\t<parameter name='eipam-ip-block.plans_length' value='0' />\n\t<parameter name=\"eipam-pool.v4.pre-existing\" value=\"false\"/>\n\t<parameter name=\"eipam-pool.v6.pre-existing\" value=\"false\"/>\n\t<parameter name=\"tmp.v4-level1-key-name\" value=\"CLLI:CLOUD_REGION\" />\n\t<parameter name=\"tmp.v4-level2-key-name\" value=\"NETWORK_ROLE:NETWORK_ID\" />\n\t<parameter name=\"tmp.v6-level1-key-name\" value=\"CLLI:CLOUD_REGION\" />\n\t<parameter name=\"tmp.v6-level2-key-name\" value=\"NETWORK_ROLE:NETWORK_ID\" />","comments":"","x":372.3430633544922,"y":177.0909013748169,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"8da006d2.7f55a8","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"network-topology-operation\"/>\n<parameter name=\"field3\" value=\"eipam-create-network-role-pool\"/>\n<parameter name=\"field4\" value=\"`$eipam-ip-block.plans[$eipam-ip-block.plans_length].plan-name`\"/>\n<parameter name=\"field5\" value=\"`$eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[0].key-name`\"/>\n<parameter name=\"field6\" value=\"`$eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[0].key-value`\"/>\n<parameter name=\"field7\" value=\"`$eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[1].key-name`\"/>\n<parameter name=\"field8\" value=\"`$eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[1].key-value`\"/>\n","comments":"","outputs":1,"x":1159.433952331543,"y":1712.0000305175781,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"dd380ea7.76015","type":"set","name":"set EIPAM plan info for createPool & Level 1 pool","xml":"<set>\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].plan-name\" value=\"`$network-model.eipam-v6-address-plan`\"/>\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].allocate-subnet-flag\" value=\"N\"/>\t\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].parent-pool\" value=\"`$tmp.qip-pool`\"/>\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].requests_length\" value=\"1\"/>\n\t<!-- Number of Pool Levels -->\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools_length\" value=\"1\"/>\n\n\t<!-- Level 1 -->\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[0].key-name\" value=\"`$tmp.v6-level1-key-name`\"/>\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[0].key-value\" value=\"`$tmp.level1-key-value`\"/>\n\t<parameter name=\"tmp.create-v6-pool-flag\" value=\"Y\" />\n\t<parameter name=\"tmp.v6-qip-pool\" value=\"`$tmp.qip-pool`\" />","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","x":1286.424674987793,"y":1557.2453918457031,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"b98c82b0.46b8b","type":"switchNode","name":"switch: network-model.use-ipv6","xml":"<switch test=\"`$network-model.use-ipv6`\">","comments":"","outputs":1,"x":358.42444610595703,"y":1127.6057434082031,"z":"6dc3ee07.6f3c9","wires":[["b12ac9c.df0b238","7329292d.e338f8","7d40e359.db691c"]]},{"id":"7329292d.e338f8","type":"other","name":"NULL","xml":"<outcome value=\"\">","comments":"","outputs":1,"x":629.4244766235352,"y":1171.6057434082031,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"b12ac9c.df0b238","type":"other","name":"Y","xml":"<outcome value='Y'>","comments":"","outputs":1,"x":634.4245834350586,"y":1126.6057434082031,"z":"6dc3ee07.6f3c9","wires":[["48e3eddd.5cf3a4"]]},{"id":"2554e31c.bafd1c","type":"set","name":"set EIPAM level 2 pool info for createPool","xml":"<set>\n\t<!-- Number of Pool Levels -->\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools_length\" value=\"`$eipam-ip-block.level`\"/>\n\n\t<!-- Level 2 -->\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].parent-pool\" value=\"\"/>\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[1].key-name\" value=\"`$tmp.v6-level2-key-name`\"/>\n\t<parameter name=\"eipam-ip-block.plans[$eipam-ip-block.plans_length].requests[0].pools[1].key-value\" value=\"`$tmp.level2-key-value`\"/>","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","x":1624.4251403808594,"y":1689.3054504394531,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"8d6278e2.6e90d8","type":"switchNode","name":"switch: eipam-ip-block.level","xml":"<switch test=\"`$eipam-ip-block.level`\">","comments":"","outputs":1,"x":1211.4247131347656,"y":1659.3054504394531,"z":"6dc3ee07.6f3c9","wires":[["ee77392f.cc70e8","51cc56d.7fcaca8","8d5048f5.5af5f8"]]},{"id":"ee77392f.cc70e8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1407.424819946289,"y":1655.3054504394531,"z":"6dc3ee07.6f3c9","wires":[["4da2c6f8.8fd8f8"]]},{"id":"51cc56d.7fcaca8","type":"other","name":"2","xml":"<outcome value='2'>","comments":"","outputs":1,"x":1409.424819946289,"y":1688.3054504394531,"z":"6dc3ee07.6f3c9","wires":[["2554e31c.bafd1c"]]},{"id":"48e3eddd.5cf3a4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":782.4245223999023,"y":1131.6057434082031,"z":"6dc3ee07.6f3c9","wires":[["5c12bfff.591ad"]]},{"id":"e1049ec5.94e4f","type":"set","name":"set: eipam-ip-block.plans[]++","xml":"<set>\n\t<parameter name=\"eipam-ip-block.plans_length\" value=\"`$eipam-ip-block.plans_length + 1`\" />","comments":"","x":1216.433723449707,"y":1761.4557189941406,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"f7dde4c9.c086c8","type":"other","name":"N","xml":"<outcome value='N'>","comments":"","outputs":1,"x":593.3139228820801,"y":509.99999618530273,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"7d40e359.db691c","type":"other","name":"N","xml":"<outcome value='N'>","comments":"","outputs":1,"x":631.3138809204102,"y":1213.0000305175781,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"4e295a6e.146bd4","type":"switchNode","name":"switch: network-model.eipam-v4-address-plan","xml":"<switch test=\"`$network-model.eipam-v4-address-plan`\">","comments":"","outputs":1,"x":1205.8667602539062,"y":485.00001525878906,"z":"6dc3ee07.6f3c9","wires":[["c7f9c5c5.984098","b8f776c8.678198","14d5ccbc.b07fc3","db5e463e.a76ce8","25ce3aeb.1c3556","1e8eee8f.1c8f41","500be3dd.629e5c"]]},{"id":"c7f9c5c5.984098","type":"other","name":"AIC_ATM_UNPROTECTED_V4","xml":"<outcome value=\"AIC_ATM_UNPROTECTED_V4\">","comments":"","outputs":1,"x":1589.8666381835938,"y":347,"z":"6dc3ee07.6f3c9","wires":[["1b50937b.47467d"]]},{"id":"1e8eee8f.1c8f41","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1458.866397857666,"y":777.9999532699585,"z":"6dc3ee07.6f3c9","wires":[["1297ddd5.55e232"]]},{"id":"b8f776c8.678198","type":"other","name":"AIC_ATM_PROTECTED_V4","xml":"<outcome value=\"AIC_ATM_PROTECTED_V4\">","comments":"","outputs":1,"x":1584.866455078125,"y":605.0000152587891,"z":"6dc3ee07.6f3c9","wires":[["a8bc86cd.e9adb8"]]},{"id":"c46ef9dd.702ad8","type":"set","name":"set ATM-U US/CALA","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"ATM-U US/CALA\"/>\n","comments":"","x":2779.616668701172,"y":339.25000381469727,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"a8bc86cd.e9adb8","type":"set","name":"set EIPAM ATM-P...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'ATM-P ' + $tmp.region`\"/>\n","comments":"","x":1814.7319641113281,"y":605.2500095367432,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"588def21.4b782","type":"set","name":"set EIPAM DP-U...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'DP-U ' + $tmp.region`\"/>\n","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","x":1894.4822120666504,"y":412.25000762939453,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"14d5ccbc.b07fc3","type":"other","name":"AIC_DATA_PLANE_UNPROTECTED_V4","xml":"<outcome value=\"AIC_DATA_PLANE_UNPROTECTED_V4\">","comments":"","outputs":1,"x":1623.482177734375,"y":411.00001525878906,"z":"6dc3ee07.6f3c9","wires":[["588def21.4b782"]]},{"id":"db5e463e.a76ce8","type":"other","name":"AIC_DATA_PLANE_PROTECTED_V4","xml":"<outcome value=\"AIC_DATA_PLANE_PROTECTED_V4\">","comments":"","outputs":1,"x":1605.482177734375,"y":671.9999771118164,"z":"6dc3ee07.6f3c9","wires":[["cc123b02.749538"]]},{"id":"25ce3aeb.1c3556","type":"other","name":"AIC_DATA_PLANE_PRIVATE_V4","xml":"<outcome value=\"AIC_DATA_PLANE_PRIVATE_V4\">","comments":"","outputs":1,"x":1596.482177734375,"y":475.00001525878906,"z":"6dc3ee07.6f3c9","wires":[["bf8177bc.929288"]]},{"id":"cc123b02.749538","type":"set","name":"set EIPAM DP-P...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'DP-P ' + $tmp.region`\"/>\n","comments":"","x":1857.4822082519531,"y":671.0000114440918,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"bf8177bc.929288","type":"set","name":"set EIPAM DP-Private...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'DP-Private ' + $tmp.region`\"/>\n","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","x":1864.2322082519531,"y":473.75000953674316,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"1297ddd5.55e232","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"tmp.eipam-error\" value=\"true\" />\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"error-message\" value=\"EIPAM Address Plan is not valid.\" />\n\t","comments":"","x":1645.4819984436035,"y":778.3002767562866,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"aede8b94.3dd928","type":"get-resource","name":"get-resource V4 - validate if level 1 pool exists already","xml":"<get-resource\n        plugin='org.onap.ccsdk.sli.adaptors.sli.resource.sql.SqlResource'\n        resource='SQL'\n        key=\"SELECT * FROM EIPAM_IP_POOLS where plan_name = $network-model.eipam-v4-address-plan and level = 1 and key_value = $tmp.level1-key-value ;\"\n        pfx='tmp.eipam-pool-row'>\n\n","comments":"","outputs":1,"x":1363.8905334472656,"y":153.00000190734863,"z":"6dc3ee07.6f3c9","wires":[["979a0232.c8ca8","d3d655a1.81da98","d0f4f252.81e2f"]]},{"id":"48b02ca2.3c15d4","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"tmp.eipam-error\" value=\"true\" />\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"error-message\" value=\"Query to DB table EIPAM_IP_POOLS failed.\" />\n\t","comments":"","x":1862.890365600586,"y":97.99999618530273,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"979a0232.c8ca8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1714.8904571533203,"y":135.99999618530273,"z":"6dc3ee07.6f3c9","wires":[["a8a45e63.55859"]]},{"id":"bd6316dd.01f488","type":"get-resource","name":"get-resource V6 - validate if level 1 pool does not exists","xml":"<get-resource\n        plugin='org.onap.ccsdk.sli.adaptors.sli.resource.sql.SqlResource'\n        resource='SQL'\n        key=\"SELECT * FROM EIPAM_IP_POOLS where plan_name = $network-model.eipam-v6-address-plan and level = 1 and key_value = $tmp.level1-key-value ;\"\n        pfx='tmp.eipam-pool-row'>\n\n","comments":"","outputs":1,"x":1437.8904113769531,"y":987.4505271911621,"z":"6dc3ee07.6f3c9","wires":[["755fa51f.051f6c","acfb8f9c.8b719","7a94d503.2b709c"]]},{"id":"755fa51f.051f6c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1786.0333633422852,"y":942.4505395889282,"z":"6dc3ee07.6f3c9","wires":[["d76959c0.6c0b08"]]},{"id":"d76959c0.6c0b08","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"tmp.eipam-error\" value=\"true\" />\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"error-message\" value=\"Query to DB table EIPAM_IP_POOLS failed.\" />\n\t","comments":"","x":1891.8904132843018,"y":973.4505271911621,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"acfb8f9c.8b719","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1731.8904132843018,"y":1016.4505271911621,"z":"6dc3ee07.6f3c9","wires":[["6d0fdc64.45e2c4"]]},{"id":"a76a1da4.57966","type":"switchNode","name":"switch: eipam-ip-block.level","xml":"<switch test=\"`$eipam-ip-block.level`\">","comments":"","outputs":1,"x":926.9715576171875,"y":153,"z":"6dc3ee07.6f3c9","wires":[["9616eb47.081718","ae32d988.98a7b8","4dfeeca6.6acf74"]]},{"id":"9616eb47.081718","type":"other","name":"1","xml":"<outcome value='1'>","comments":"","outputs":1,"x":1105.9716491699219,"y":154,"z":"6dc3ee07.6f3c9","wires":[["aede8b94.3dd928"]]},{"id":"ae32d988.98a7b8","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1109.9716796875,"y":188,"z":"6dc3ee07.6f3c9","wires":[["1d817bf1.6e6ed4"]]},{"id":"1d817bf1.6e6ed4","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"tmp.eipam-error\" value=\"true\" />\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"error-message\" value=\"Please set the eipam-ip-block.level for appropriate EIPAM request.\" />\n\t","comments":"","x":1250.9715576171875,"y":187,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"7d2cc75f.256b88","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"tmp.eipam-error\" value=\"true\" />\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"error-message\" value=\"Please set the eipam-ip-block.level for appropriate EIPAM request.\" />\n\t","comments":"","x":1435.9715881347656,"y":817.0000152587891,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"5c12bfff.591ad","type":"switchNode","name":"switch: eipam-ip-block.level","xml":"<switch test=\"`$eipam-ip-block.level`\">","comments":"","outputs":1,"x":995.0525360107422,"y":987.1502380371094,"z":"6dc3ee07.6f3c9","wires":[["3091df64.495d8","c1ccb031.3b0dd","66b6b8f5.87f508"]]},{"id":"3091df64.495d8","type":"other","name":"1","xml":"<outcome value='1'>","comments":"","outputs":1,"x":1177.0525360107422,"y":988.1502380371094,"z":"6dc3ee07.6f3c9","wires":[["bd6316dd.01f488"]]},{"id":"c1ccb031.3b0dd","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1178.0525360107422,"y":1033.1502380371094,"z":"6dc3ee07.6f3c9","wires":[["cfa3c1cf.d3542"]]},{"id":"cfa3c1cf.d3542","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"tmp.eipam-error\" value=\"true\" />\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"error-message\" value=\"Please set the eipam-ip-block.level for appropriate EIPAM request.\" />\n\t","comments":"","x":1317.0525512695312,"y":1033.1502075195312,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"d3eb1f70.63b4f","type":"switchNode","name":"switch: tmp.region","xml":"<switch test=\"`$tmp.region`\">","comments":"","outputs":1,"x":358.61720275878906,"y":327,"z":"6dc3ee07.6f3c9","wires":[["2d405261.474d8e"]]},{"id":"2d405261.474d8e","type":"other","name":"USA","xml":"<outcome value=\"USA\">","comments":"","outputs":1,"x":529.6172103881836,"y":327,"z":"6dc3ee07.6f3c9","wires":[["7d12cbbb.84e944"]]},{"id":"7d12cbbb.84e944","type":"set","name":"set: region to US","xml":"<set>\n\t<parameter name=\"tmp.region\" value=\"US\" />\n","comments":"","x":685.6172103881836,"y":327,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"6e747bb2.c77de4","type":"switchNode","name":"switch: tmp.region","xml":"<switch test=\"`$tmp.region`\">","comments":"","outputs":1,"x":1847.6450500488281,"y":283.7500057220459,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"ea6b61f4.f3c03","type":"other","name":"US","xml":"<outcome value=\"US\">","comments":"","outputs":1,"x":2588.1450576782227,"y":340.25000381469727,"z":"6dc3ee07.6f3c9","wires":[["c46ef9dd.702ad8"]]},{"id":"ec65c0d5.ad202","type":"other","name":"CALA","xml":"<outcome value=\"CALA\">","comments":"","outputs":1,"x":2588.145050048828,"y":379.25000381469727,"z":"6dc3ee07.6f3c9","wires":[["c46ef9dd.702ad8"]]},{"id":"1b50937b.47467d","type":"set","name":"set EIPAM ATM-U...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'ATM-U ' + $tmp.region`\"/>\n","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","x":1831.3718528747559,"y":348.7500057220459,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"9b8273cf.516a7","type":"other","name":"US","xml":"<outcome value=\"US\">","comments":"","outputs":1,"x":2159.6500854492188,"y":413,"z":"6dc3ee07.6f3c9","wires":[["50068753.808278"]]},{"id":"f5544ca1.d2498","type":"other","name":"CALA","xml":"<outcome value=\"CALA\">","comments":"","outputs":1,"x":2162.6500854492188,"y":445,"z":"6dc3ee07.6f3c9","wires":[["50068753.808278"]]},{"id":"df5f268.74b93d8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2164.1217651367188,"y":479,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"50068753.808278","type":"set","name":"set EIPAM DP-U US/CALA","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"DP-U US/CALA\"/>\n","comments":"","x":2352.1217651367188,"y":422,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"354f6964.9359f6","type":"other","name":"US","xml":"<outcome value=\"US\">","comments":"","outputs":1,"x":2060.1217651367188,"y":519,"z":"6dc3ee07.6f3c9","wires":[["8ed8c8a6.0a2b88"]]},{"id":"55bc8b35.36fae4","type":"other","name":"CALA","xml":"<outcome value=\"CALA\">","comments":"","outputs":1,"x":2063.1217651367188,"y":551,"z":"6dc3ee07.6f3c9","wires":[["8ed8c8a6.0a2b88"]]},{"id":"4a22e406.2769ec","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2064.5934448242188,"y":587,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"8ed8c8a6.0a2b88","type":"set","name":"set EIPAM DP-Private US/CALA","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"DP-Private US/CALA\"/>\n","comments":"","x":2262.121826171875,"y":533,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"3ea5f5f2.660d4a","type":"save","name":"insert EIPAM_IP_POOLS for level 1 V4","xml":"<save\n        plugin='org.onap.ccsdk.sli.adaptors.sli.resource.sql.SqlResource'\n        resource='SQL'\n        key=\"INSERT EIPAM_IP_POOLS\n             SET\n             key_name = $tmp.v4-level1-key-name ,\n             key_value = $tmp.level1-key-value ,\n             level = 1 ,\n             plan_name = $network-model.eipam-v4-address-plan ,\n             address_family = $network-model.ipv4-ip-version ,\n             parent_pool = $tmp.v4-qip-pool ,\n             service_instance_id = $network-topology-operation-input.service-information.service-instance-id ,\n             network_id = $tmp.network-id ; \"\n    force='true'\n        pfx='pfx.eipam-v4pool-row'>\n","comments":"","outputs":1,"x":1649.3138122558594,"y":2026.9009246826172,"z":"6dc3ee07.6f3c9","wires":[["4fc3b13.1b5e75","cb1fbb3e.9ae378","9d9c30f0.bfcd6"]]},{"id":"4f20cdc5.ce5d74","type":"switchNode","name":"switch: network-model.use-ipv4","xml":"<switch test=\"`$network-model.use-ipv4`\">","comments":"","outputs":1,"x":316.31373596191406,"y":2024.9009094238281,"z":"6dc3ee07.6f3c9","wires":[["c756b985.74f438","d7077282.32388","7dde4fe0.5fed5"]]},{"id":"d7077282.32388","type":"other","name":"NULL","xml":"<outcome value=\"\">","comments":"","outputs":1,"x":512.3137969970703,"y":2057.900909423828,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"c756b985.74f438","type":"other","name":"Y","xml":"<outcome value='Y'>","comments":"","outputs":1,"x":511.31382751464844,"y":2022.900894165039,"z":"6dc3ee07.6f3c9","wires":[["eafb15f2.ced188"]]},{"id":"54364f4e.86c9","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1045.3137664794922,"y":2025.9009094238281,"z":"6dc3ee07.6f3c9","wires":[["d1ac24b0.594b48","55c4a88b.3bbf18"]]},{"id":"7dde4fe0.5fed5","type":"other","name":"N","xml":"<outcome value='N'>","comments":"","outputs":1,"x":512.2032012939453,"y":2088.295196533203,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"d1ac24b0.594b48","type":"switchNode","name":"switch: eipam-ip-block.level","xml":"<switch test=\"`$eipam-ip-block.level`\">","comments":"","outputs":1,"x":1245.3137664794922,"y":2025.9009094238281,"z":"6dc3ee07.6f3c9","wires":[["c5a5d0d6.05f92","8c62f6ce.ae9f38"]]},{"id":"c5a5d0d6.05f92","type":"other","name":"1","xml":"<outcome value='1'>","comments":"","outputs":1,"x":1430.5239715576172,"y":2026.9009246826172,"z":"6dc3ee07.6f3c9","wires":[["3ea5f5f2.660d4a"]]},{"id":"8c62f6ce.ae9f38","type":"other","name":"2","xml":"<outcome value='2'>","comments":"","outputs":1,"x":1429.5239715576172,"y":2064.900924682617,"z":"6dc3ee07.6f3c9","wires":[["892ac8ba.478b28"]]},{"id":"ac181a44.58b678","type":"switchNode","name":"switch: network-model.eipam-v6-address-plan","xml":"<switch test=\"`$network-model.eipam-v6-address-plan`\">","comments":"","outputs":1,"x":1309.8605346679688,"y":1242.6006164550781,"z":"6dc3ee07.6f3c9","wires":[["998c14eb.3f7248","80c73b8c.18b6f8","a88b17f9.0808e8","196b5b3a.8bc225","31c46282.a455fe","f3fa83c7.d2a72","8e27759a.8d4fc8"]]},{"id":"998c14eb.3f7248","type":"other","name":"AIC_ATM_UNPROTECTED_V6","xml":"<outcome value=\"AIC_ATM_UNPROTECTED_V6\">","comments":"","outputs":1,"x":1657.8606901168823,"y":1239.6006164550781,"z":"6dc3ee07.6f3c9","wires":[["6031017.2f6c7"]]},{"id":"f3fa83c7.d2a72","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1667.8606567382812,"y":1619.6006469726562,"z":"6dc3ee07.6f3c9","wires":[["1bbf3844.a518e8"]]},{"id":"80c73b8c.18b6f8","type":"other","name":"AIC_ATM_PROTECTED_V6","xml":"<outcome value=\"AIC_ATM_PROTECTED_V6\">","comments":"","outputs":1,"x":1658.8606567382812,"y":1361.6006164550781,"z":"6dc3ee07.6f3c9","wires":[["b61678d6.a75618"]]},{"id":"2d4b0cbe.c106a4","type":"set","name":"set ATM-U US/CALA","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"ATM-U US/CALA\"/>\n","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","x":2925.861083984375,"y":1132.6006546020508,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"a88b17f9.0808e8","type":"other","name":"AIC_DATA_PLANE_UNPROTECTED_V6","xml":"<outcome value=\"AIC_DATA_PLANE_UNPROTECTED_V6\">","comments":"","outputs":1,"x":1692.4761962890625,"y":1409.6006546020508,"z":"6dc3ee07.6f3c9","wires":[["9c87b3d0.2a4ab"]]},{"id":"196b5b3a.8bc225","type":"other","name":"AIC_DATA_PLANE_PROTECTED_V6","xml":"<outcome value=\"AIC_DATA_PLANE_PROTECTED_V6\">","comments":"","outputs":1,"x":1687.4762573242188,"y":1580.6006774902344,"z":"6dc3ee07.6f3c9","wires":[["ffc23e8a.ea5e7"]]},{"id":"31c46282.a455fe","type":"other","name":"AIC_DATA_PLANE_PRIVATE_V6","xml":"<outcome value=\"AIC_DATA_PLANE_PRIVATE_V6\">","comments":"","outputs":1,"x":1672.4762573242188,"y":1514.6006164550781,"z":"6dc3ee07.6f3c9","wires":[["260b6372.66e11c"]]},{"id":"683ba220.bdfd4c","type":"set","name":"set EIPAM DP-Private...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'DP-Private ' + $tmp.region`\"/>\n","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","x":2980.4761962890625,"y":1543.6006546020508,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"1bbf3844.a518e8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"tmp.eipam-error\" value=\"true\" />\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"error-message\" value=\"EIPAM Address Plan is not valid.\" />\n\t","comments":"","x":1816.4764976501465,"y":1618.9008083343506,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"f198d989.da91f8","type":"other","name":"US","xml":"<outcome value=\"US\">","comments":"","outputs":1,"x":2734.3894119262695,"y":1133.6006546020508,"z":"6dc3ee07.6f3c9","wires":[["2d4b0cbe.c106a4"]]},{"id":"1a4744ba.b6db7b","type":"other","name":"CALA","xml":"<outcome value=\"CALA\">","comments":"","outputs":1,"x":2734.389404296875,"y":1172.6006546020508,"z":"6dc3ee07.6f3c9","wires":[["2d4b0cbe.c106a4"]]},{"id":"fe10c05f.fd8f2","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2737.1160888671875,"y":1205.6006927490234,"z":"6dc3ee07.6f3c9","wires":[["ce940217.e14ff"]]},{"id":"ce940217.e14ff","type":"set","name":"set EIPAM ATM-U...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'ATM-U ' + $tmp.region`\"/>\n","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","x":2920.1161499023438,"y":1209.6006546020508,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"1f26bc21.ed2444","type":"other","name":"US","xml":"<outcome value=\"US\">","comments":"","outputs":1,"x":2757.644287109375,"y":1332.6006546020508,"z":"6dc3ee07.6f3c9","wires":[["fa8eca78.b78638"]]},{"id":"a4b8515f.1e731","type":"other","name":"CALA","xml":"<outcome value=\"CALA\">","comments":"","outputs":1,"x":2760.644287109375,"y":1364.6006546020508,"z":"6dc3ee07.6f3c9","wires":[["fa8eca78.b78638"]]},{"id":"5d47f6cc.d34df8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2762.115966796875,"y":1398.6006546020508,"z":"6dc3ee07.6f3c9","wires":[["fc2eb964.bbd8e8"]]},{"id":"5b545946.be5228","type":"other","name":"US","xml":"<outcome value=\"US\">","comments":"","outputs":1,"x":2775.1158447265625,"y":1482.6006546020508,"z":"6dc3ee07.6f3c9","wires":[["58832e6d.14734"]]},{"id":"3fc23e86.c0b2e2","type":"other","name":"CALA","xml":"<outcome value=\"CALA\">","comments":"","outputs":1,"x":2778.1158447265625,"y":1514.6006546020508,"z":"6dc3ee07.6f3c9","wires":[["58832e6d.14734"]]},{"id":"2e39e070.22d6b","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2779.5875244140625,"y":1550.6006546020508,"z":"6dc3ee07.6f3c9","wires":[["683ba220.bdfd4c"]]},{"id":"58832e6d.14734","type":"set","name":"set EIPAM DP-Private US/CALA","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"DP-Private US/CALA\"/>\n","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","x":2977.1159057617188,"y":1496.6006546020508,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"892ac8ba.478b28","type":"save","name":"insert EIPAM_IP_POOLS for level 2 V4","xml":"<save\n        plugin='org.onap.ccsdk.sli.adaptors.sli.resource.sql.SqlResource'\n        resource='SQL'\n        key=\"INSERT EIPAM_IP_POOLS\n             SET\n             key_name = $tmp.v4-level2-key-name ,\n             key_value = $tmp.level2-key-value ,\n             level = 2 ,\n             plan_name = $network-model.eipam-v4-address-plan ,\n             address_family = $network-model.ipv4-ip-version ,\n             parent_pool = $tmp.level1-key-value ,\n             service_instance_id = $network-topology-operation-input.service-information.service-instance-id ,\n             network_id = $tmp.network-id ; \"\n    force='true'\n        pfx='pfx.eipam-v4pool-row'>\n","comments":"","outputs":1,"x":1647.8362121582031,"y":2065.7509384155273,"z":"6dc3ee07.6f3c9","wires":[["4fc3b13.1b5e75","cb1fbb3e.9ae378","9d9c30f0.bfcd6"]]},{"id":"ee635c77.3edaa","type":"save","name":"insert EIPAM_IP_POOLS for level 1 V6","xml":"<save\n        plugin='org.onap.ccsdk.sli.adaptors.sli.resource.sql.SqlResource'\n        resource='SQL'\n        key=\"INSERT EIPAM_IP_POOLS\n             SET\n             key_name = $tmp.v6-level1-key-name ,\n             key_value = $tmp.level1-key-value ,\n             level = 1 ,\n             plan_name = $network-model.eipam-v6-address-plan ,\n             address_family = $network-model.ipv6-ip-version ,\n             parent_pool = $tmp.v6-qip-pool ,\n             service_instance_id = $network-topology-operation-input.service-information.service-instance-id ,\n             network_id = $tmp.network-id ; \"\n    force='true'\n        pfx='pfx.eipam-v6pool-row'>\n","comments":"","outputs":1,"x":1646.5000305175781,"y":2187.900924682617,"z":"6dc3ee07.6f3c9","wires":[["80223e6e.1e1bc","cb1fbb3e.9ae378","9d9c30f0.bfcd6"]]},{"id":"81702e48.02ed2","type":"switchNode","name":"switch: network-model.use-ipv6","xml":"<switch test=\"`$network-model.use-ipv6`\">","comments":"","outputs":1,"x":315.4999694824219,"y":2183.900909423828,"z":"6dc3ee07.6f3c9","wires":[["4269ade.b697754","fa55f05.ad22e1","1c5e05b8.c0b46a"]]},{"id":"fa55f05.ad22e1","type":"other","name":"NULL","xml":"<outcome value=\"\">","comments":"","outputs":1,"x":511.5000305175781,"y":2216.900909423828,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"4269ade.b697754","type":"other","name":"Y","xml":"<outcome value='Y'>","comments":"","outputs":1,"x":510.50006103515625,"y":2181.900894165039,"z":"6dc3ee07.6f3c9","wires":[["ff7097a5.2445a8"]]},{"id":"75ad3e3.bae7ac","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1062.5,"y":2185.900909423828,"z":"6dc3ee07.6f3c9","wires":[["b043e234.3ccba","c7888924.cf81f8"]]},{"id":"1c5e05b8.c0b46a","type":"other","name":"N","xml":"<outcome value='N'>","comments":"","outputs":1,"x":511.3894348144531,"y":2247.295196533203,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"b043e234.3ccba","type":"switchNode","name":"switch: eipam-ip-block.level","xml":"<switch test=\"`$eipam-ip-block.level`\">","comments":"","outputs":1,"x":1265.4999694824219,"y":2159.900909423828,"z":"6dc3ee07.6f3c9","wires":[["480befa6.aff2d","843fced5.bca99"]]},{"id":"480befa6.aff2d","type":"other","name":"1","xml":"<outcome value='1'>","comments":"","outputs":1,"x":1426.7102508544922,"y":2188.900924682617,"z":"6dc3ee07.6f3c9","wires":[["ee635c77.3edaa"]]},{"id":"843fced5.bca99","type":"other","name":"2","xml":"<outcome value='2'>","comments":"","outputs":1,"x":1428.710189819336,"y":2223.900924682617,"z":"6dc3ee07.6f3c9","wires":[["682ef59d.bd6ccc"]]},{"id":"682ef59d.bd6ccc","type":"save","name":"insert EIPAM_IP_POOLS for level 2 V6","xml":"<save\n        plugin='org.onap.ccsdk.sli.adaptors.sli.resource.sql.SqlResource'\n        resource='SQL'\n        key=\"INSERT EIPAM_IP_POOLS\n             SET\n             key_name = $tmp.v6-level2-key-name ,\n             key_value = $tmp.level2-key-value ,\n             level = 2 ,\n             plan_name = $network-model.eipam-v6-address-plan ,\n             address_family = $network-model.ipv6-ip-version ,\n             parent_pool = $tmp.level1-key-value ,\n             service_instance_id = $network-topology-operation-input.service-information.service-instance-id ,\n             network_id = $tmp.network-id ; \"\n    force='true'\n        pfx='pfx.eipam-v6pool-row'>\n","comments":"","outputs":1,"x":1647.022476196289,"y":2224.750778198242,"z":"6dc3ee07.6f3c9","wires":[["80223e6e.1e1bc","cb1fbb3e.9ae378","9d9c30f0.bfcd6"]]},{"id":"94b879b3.2c6d48","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed to update EIPAM_IP_POOLS .' />\n","comments":"","x":2105.8364219665527,"y":2111.351348876953,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"80223e6e.1e1bc","type":"failure","name":"failure","xml":"<outcome value='failure'>","outputs":1,"x":1938.8364562988281,"y":2197.201202392578,"z":"6dc3ee07.6f3c9","wires":[["94b879b3.2c6d48"]]},{"id":"4fc3b13.1b5e75","type":"failure","name":"failure","xml":"<outcome value='failure'>","outputs":1,"x":1960.8364562988281,"y":2040.2012023925781,"z":"6dc3ee07.6f3c9","wires":[["94b879b3.2c6d48"]]},{"id":"d3d655a1.81da98","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1713.7522430419922,"y":99.99999618530273,"z":"6dc3ee07.6f3c9","wires":[["48b02ca2.3c15d4"]]},{"id":"d0f4f252.81e2f","type":"not-found","name":"not-found","xml":"<outcome value=\"not-found\">","comments":"","outputs":1,"x":1374.7523193359375,"y":228.99999618530273,"z":"6dc3ee07.6f3c9","wires":[["1cadfb2f.7c4855"]]},{"id":"7a94d503.2b709c","type":"not-found","name":"not-found","xml":"<outcome value=\"not-found\">","comments":"","outputs":1,"x":1496.9744873046875,"y":1077.4504699707031,"z":"6dc3ee07.6f3c9","wires":[["d4642437.67b8a8"]]},{"id":"ab1f59fa.bc8a28","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />\n","comments":"","x":2290.974609375,"y":959.4505004882812,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"de6d3f5d.9271","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />\n","comments":"","x":254.07363891601562,"y":2269.501739501953,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"4a355dc8.b91904","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1011.6351699829102,"y":1803.2012023925781,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"cb1fbb3e.9ae378","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1938.6353149414062,"y":2137.351348876953,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"9d9c30f0.bfcd6","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1939.3140258789062,"y":2093.351348876953,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"4da2c6f8.8fd8f8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"tmp.eipam-error\" value=\"true\" />\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"error-message\" value=\"Please set the eipam-ip-block.level for appropriate EIPAM request.\" />\n\t","comments":"","x":1550.3139953613281,"y":1652.6006164550781,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"4e418bcf.7dd274","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1293.401008605957,"y":898.0000381469727,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"8d5048f5.5af5f8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1412.4010314941406,"y":1724.7507629394531,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"4270a1fe.6fc57","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"network-topology-operation\"/>\n<parameter name=\"field3\" value=\"eipam-create-network-role-pool\"/>\n<parameter name=\"field4\" value=\"`$network-model.eipam-v4-address-plan`\"/>\n<parameter name=\"field5\" value=\"`$tmp.level1-key-value`\"/>\n<parameter name=\"field6\" value=\"Level 1 already exists, SKIP.\"/>\n<parameter name=\"field7\" value=\"`$tmp.eipam-pool-row.pool-id`\"/>\n","comments":"","outputs":1,"x":2029.83935546875,"y":130.99999618530273,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"1cadfb2f.7c4855","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":803.4609680175781,"y":614.0000305175781,"z":"6dc3ee07.6f3c9","wires":[["4e295a6e.146bd4","150e6bd8.81df94","a21e5aab.edf9e8","f6408602.6c6e38","5be47438.2e9b1c"]]},{"id":"4dfeeca6.6acf74","type":"other","name":"2","xml":"<outcome value='2'>","comments":"","outputs":1,"x":1109.4609375,"y":219,"z":"6dc3ee07.6f3c9","wires":[["1cadfb2f.7c4855"]]},{"id":"36e65a91.f23396","type":"switchNode","name":"switch: tmp.create-v4-pool-flag","xml":"<switch test=\"`$tmp.create-v4-pool-flag`\">","comments":"","outputs":1,"x":836.1005096435547,"y":2024.3513488769531,"z":"6dc3ee07.6f3c9","wires":[["45812ad5.8fc274","f1ff3af9.fb01b8"]]},{"id":"eafb15f2.ced188","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":652.1005096435547,"y":2071.351348876953,"z":"6dc3ee07.6f3c9","wires":[["36e65a91.f23396"]]},{"id":"ff7097a5.2445a8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":654.1005096435547,"y":2213.351348876953,"z":"6dc3ee07.6f3c9","wires":[["d466e078.d4e8b"]]},{"id":"d466e078.d4e8b","type":"switchNode","name":"switch: tmp.create-v6-pool-flag","xml":"<switch test=\"`$tmp.create-v6-pool-flag`\">","comments":"","outputs":1,"x":833.1005249023438,"y":2182.351348876953,"z":"6dc3ee07.6f3c9","wires":[["ed3cdb83.f7b648","345e8d8e.846422"]]},{"id":"45812ad5.8fc274","type":"other","name":"Y","xml":"<outcome value='Y'>","comments":"","outputs":1,"x":1020.0675659179688,"y":1978.5014953613281,"z":"6dc3ee07.6f3c9","wires":[["54364f4e.86c9"]]},{"id":"f1ff3af9.fb01b8","type":"other","name":"N","xml":"<outcome value='N'>","comments":"","outputs":1,"x":1030.0675659179688,"y":2077.501495361328,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"ed3cdb83.f7b648","type":"other","name":"Y","xml":"<outcome value='Y'>","comments":"","outputs":1,"x":1029.0675659179688,"y":2141.501495361328,"z":"6dc3ee07.6f3c9","wires":[["75ad3e3.bae7ac"]]},{"id":"345e8d8e.846422","type":"other","name":"N","xml":"<outcome value='N'>","comments":"","outputs":1,"x":1031.0675659179688,"y":2239.501495361328,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"ea8f54b6.fbc178","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"network-topology-operation\"/>\n<parameter name=\"field3\" value=\"eipam-create-network-role-pool\"/>\n<parameter name=\"field4\" value=\"`$network-model.eipam-v6-address-plan`\"/>\n<parameter name=\"field5\" value=\"`$tmp.level1-key-value`\"/>\n<parameter name=\"field6\" value=\"Level 1 already exists, SKIP.\"/>\n<parameter name=\"field7\" value=\"`$tmp.eipam-pool-row.pool-id`\"/>","comments":"","outputs":1,"x":2025.01953125,"y":1019.4505004882812,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"d4642437.67b8a8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":973.5090789794922,"y":1395.9009094238281,"z":"6dc3ee07.6f3c9","wires":[["ac181a44.58b678","dd380ea7.76015","8d6278e2.6e90d8","e1049ec5.94e4f","8da006d2.7f55a8"]]},{"id":"66b6b8f5.87f508","type":"other","name":"2","xml":"<outcome value='2'>","comments":"","outputs":1,"x":1180.8153076171875,"y":1074.4505004882812,"z":"6dc3ee07.6f3c9","wires":[["d4642437.67b8a8"]]},{"id":"9ed33bd1.14ef08","type":"switchNode","name":"switch: tmp.create-v4-pool-flag","xml":"<switch test=\"`$tmp.create-v4-pool-flag`\">","comments":"","outputs":1,"x":322.26275634765625,"y":1659.5014953613281,"z":"6dc3ee07.6f3c9","wires":[["519b37d4.1c93f8","d1d416bf.13e748"]]},{"id":"519b37d4.1c93f8","type":"other","name":"Y","xml":"<outcome value='Y'>","comments":"","outputs":1,"x":527.2627563476562,"y":1661.5014953613281,"z":"6dc3ee07.6f3c9","wires":[["dacc275b.c28ca8"]]},{"id":"d1d416bf.13e748","type":"other","name":"N","xml":"<outcome value='N'>","comments":"","outputs":1,"x":527.2627563476562,"y":1713.5014953613281,"z":"6dc3ee07.6f3c9","wires":[["191d33d1.417a7c"]]},{"id":"191d33d1.417a7c","type":"switchNode","name":"switch: tmp.create-v6-pool-flag","xml":"<switch test=\"`$tmp.create-v6-pool-flag`\">","comments":"","outputs":1,"x":391.26275634765625,"y":1823.5014953613281,"z":"6dc3ee07.6f3c9","wires":[["2675fdbd.2ff072","49ecfe56.73744"]]},{"id":"2675fdbd.2ff072","type":"other","name":"Y","xml":"<outcome value='Y'>","comments":"","outputs":1,"x":582.3138732910156,"y":1827.2012023925781,"z":"6dc3ee07.6f3c9","wires":[["dacc275b.c28ca8"]]},{"id":"55c4a88b.3bbf18","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"network-topology-operation\"/>\n<parameter name=\"field3\" value=\"eipam-create-network-role-pool\"/>\n<parameter name=\"field4\" value=\"`$network-model.eipam-v4-address-plan`\"/>\n<parameter name=\"field5\" value=\"`$tmp.v4-level1-key-name`\"/>\n<parameter name=\"field6\" value=\"`$tmp.level1-key-value`\"/>\n<parameter name=\"field7\" value=\"`$tmp.v4-level2-key-name`\"/>\n<parameter name=\"field8\" value=\"`$tmp.level2-key-value`\"/>\n<parameter name=\"field9\" value=\"`$network-model.network-role`\"/>\n<parameter name=\"field10\" value=\"`$tmp.network-id`\"/>\n<parameter name=\"field11\" value=\"Saving to EIPAM_IP_POOLS table.\"/>\n","comments":"","outputs":1,"x":1187.611171722412,"y":2070.6517515182495,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"c7888924.cf81f8","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"network-topology-operation\"/>\n<parameter name=\"field3\" value=\"eipam-create-network-role-pool\"/>\n<parameter name=\"field4\" value=\"`$network-model.eipam-v6-address-plan`\"/>\n<parameter name=\"field5\" value=\"`$tmp.v6-level1-key-name`\"/>\n<parameter name=\"field6\" value=\"`$tmp.level1-key-value`\"/>\n<parameter name=\"field7\" value=\"`$tmp.v6-level2-key-name`\"/>\n<parameter name=\"field8\" value=\"`$tmp.level2-key-value`\"/>\n<parameter name=\"field9\" value=\"`$network-model.network-role`\"/>\n<parameter name=\"field10\" value=\"`$tmp.network-id`\"/>\n<parameter name=\"field11\" value=\"Saving to EIPAM_IP_POOLS table.\"/>\n","comments":"","outputs":1,"x":1196.611083984375,"y":2241.6515197753906,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"a8a45e63.55859","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1865.590087890625,"y":135.99999618530273,"z":"6dc3ee07.6f3c9","wires":[["4270a1fe.6fc57","b85dffae.db0b"]]},{"id":"b85dffae.db0b","type":"set","name":"set eipam-pool.v4.pre-existing","xml":"<set>\n\t<parameter name=\"eipam-pool.v4.pre-existing\" value=\"true\"/>\n","comments":"","x":2068.590087890625,"y":174.99999618530273,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"3315c8cc.a1f408","type":"set","name":"set eipam-pool.v6.pre-existing","xml":"<set>\n\t<parameter name=\"eipam-pool.v6.pre-existing\" value=\"true\"/>\n","comments":"","x":2088.689208984375,"y":1065.4505004882812,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"6d0fdc64.45e2c4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1881.587158203125,"y":1015.4504699707031,"z":"6dc3ee07.6f3c9","wires":[["ea8f54b6.fbc178","3315c8cc.a1f408"]]},{"id":"49ecfe56.73744","type":"other","name":"N","xml":"<outcome value='N'>","comments":"","outputs":1,"x":581.5780639648438,"y":1880.3513488769531,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"a58ac782.1df4c8","type":"get-resource","name":"get-resource V4 - validate if level 2 pool exists already","xml":"<get-resource\n        plugin='org.onap.ccsdk.sli.adaptors.sli.resource.sql.SqlResource'\n        resource='SQL'\n        key=\"SELECT * FROM EIPAM_IP_POOLS where plan_name = $network-model.eipam-v4-address-plan and parent_pool = $tmp.v4-level1-key-value and level = 2 and key_value = $tmp.v4-level2-key-value ;\"\n        pfx='tmp.eipam-pool-row'>\n\n","comments":"","outputs":1,"x":1781.635009765625,"y":218.99999618530273,"z":"6dc3ee07.6f3c9","wires":[["d3d655a1.81da98","d441f2ab.dcc1"]]},{"id":"d441f2ab.dcc1","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2100.460693359375,"y":225.99999618530273,"z":"6dc3ee07.6f3c9","wires":[["333eed20.e7d002"]]},{"id":"5c0a8e64.9776a","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"network-topology-operation\"/>\n<parameter name=\"field3\" value=\"eipam-create-network-role-pool\"/>\n<parameter name=\"field4\" value=\"`$network-model.eipam-v4-address-plan`\"/>\n<parameter name=\"field5\" value=\"`$tmp.level1-key-value`\"/>\n<parameter name=\"field6\" value=\"Level 2 already exists, SKIP.\"/>\n<parameter name=\"field7\" value=\"`$tmp.eipam-pool-row.pool-id`\"/>\n<parameter name=\"field8\" value=\"`$tmp.level2-key-value`\"/>","comments":"","outputs":1,"x":2393.460693359375,"y":203.99999618530273,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"333eed20.e7d002","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2248.21142578125,"y":224.99999618530273,"z":"6dc3ee07.6f3c9","wires":[["5c0a8e64.9776a","ccaeba29.4acba8"]]},{"id":"ccaeba29.4acba8","type":"set","name":"set eipam-pool.v4.pre-existing","xml":"<set>\n\t<parameter name=\"eipam-pool.v4.pre-existing\" value=\"true\"/>\n\t<parameter name=\"tmp.eipam-pool-row.pool-id\" value=\"$tmp.eipam-pool-row\"/>\t\n","comments":"","x":2463.21142578125,"y":242.99999618530273,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"412eb16f.56358","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2108.7882080078125,"y":1134.6006164550781,"z":"6dc3ee07.6f3c9","wires":[["a043a4f0.fddc18"]]},{"id":"a9b4d095.e336b","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"network-topology-operation\"/>\n<parameter name=\"field3\" value=\"eipam-create-network-role-pool\"/>\n<parameter name=\"field4\" value=\"`$network-model.eipam-v6-address-plan`\"/>\n<parameter name=\"field5\" value=\"`$tmp.v6-level1-key-value`\"/>\n<parameter name=\"field6\" value=\"Level 2 already exists, SKIP.\"/>\n<parameter name=\"field7\" value=\"`$tmp.eipam-pool-row.pool-id`\"/>\n<parameter name=\"field8\" value=\"`$tmp.level2-key-value`\"/>","comments":"","outputs":1,"x":2423.7882080078125,"y":1115.6006164550781,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"a043a4f0.fddc18","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2259.5389404296875,"y":1120.6006164550781,"z":"6dc3ee07.6f3c9","wires":[["a9b4d095.e336b","48066cd9.ab0d14"]]},{"id":"48066cd9.ab0d14","type":"set","name":"set eipam-pool.v6.pre-existing","xml":"<set>\n\t<parameter name=\"eipam-pool.v6.pre-existing\" value=\"true\"/>\n","comments":"","x":2462.5389404296875,"y":1159.6006164550781,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"7999536.e89ceac","type":"get-resource","name":"get-resource V6 - validate if level 2 pool exists already","xml":"<get-resource\n        plugin='org.onap.ccsdk.sli.adaptors.sli.resource.sql.SqlResource'\n        resource='SQL'\n        key=\"SELECT * FROM EIPAM_IP_POOLS where plan_name = $network-model.eipam-v6-address-plan and parent_pool = $tmp.v6-level1-key-value and level = 2 and key_value = $tmp.v6-level2-key-value ;\"\n        pfx='tmp.eipam-pool-row'>\n\n","comments":"","outputs":1,"x":1814.7880859375,"y":1155.4504699707031,"z":"6dc3ee07.6f3c9","wires":[["755fa51f.051f6c","412eb16f.56358"]]},{"id":"d6a82de8.b3cde","type":"other","name":"CA","xml":"<outcome value=\"CA\">","comments":"","outputs":1,"x":2579.856231689453,"y":313.2612190246582,"z":"6dc3ee07.6f3c9","wires":[["c46ef9dd.702ad8"]]},{"id":"57216709.5730d8","type":"other","name":"CA","xml":"<outcome value=\"CA\">","comments":"","outputs":1,"x":2153.1062622070312,"y":384.0111999511719,"z":"6dc3ee07.6f3c9","wires":[["50068753.808278"]]},{"id":"a592aecf.0ca4f","type":"other","name":"CA","xml":"<outcome value=\"CA\">","comments":"","outputs":1,"x":2042.1062622070312,"y":496.0111389160156,"z":"6dc3ee07.6f3c9","wires":[["8ed8c8a6.0a2b88"]]},{"id":"3a2161a3.8dec4e","type":"other","name":"CA","xml":"<outcome value=\"CA\">","comments":"","outputs":1,"x":2733.1064453125,"y":1096.0111770629883,"z":"6dc3ee07.6f3c9","wires":[["2d4b0cbe.c106a4"]]},{"id":"73369c47.a3a034","type":"other","name":"CA","xml":"<outcome value=\"CA\">","comments":"","outputs":1,"x":2740.1063232421875,"y":1310.0111770629883,"z":"6dc3ee07.6f3c9","wires":[["fa8eca78.b78638"]]},{"id":"2d62d630.f2cbaa","type":"other","name":"CA","xml":"<outcome value=\"CA\">","comments":"","outputs":1,"x":2763.106201171875,"y":1460.0111770629883,"z":"6dc3ee07.6f3c9","wires":[["58832e6d.14734"]]},{"id":"fa8eca78.b78638","type":"set","name":"set EIPAM DP-U US/CALA","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"DP-U US/CALA\"/>\n","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","x":2992.1063232421875,"y":1334.0111770629883,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"fc2eb964.bbd8e8","type":"set","name":"set EIPAM DP-U...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'DP-U ' + $tmp.region`\"/>\n","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","x":2952.1063232421875,"y":1400.0111770629883,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"6031017.2f6c7","type":"set","name":"set EIPAM ATM-U-V6...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'ATM-U-V6 ' + $tmp.region`\"/>\n","comments":"","x":1920.50634765625,"y":1240.9999465942383,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"b61678d6.a75618","type":"set","name":"set EIPAM ATM-P-V6...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'ATM-P-V6 ' + $tmp.region`\"/>\n","comments":"","x":1919.5062255859375,"y":1360.9999465942383,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"9c87b3d0.2a4ab","type":"set","name":"set EIPAM AIC-DP-U-V6...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'AIC-DP-U-V6 ' + $tmp.region`\"/>\n\t<parameter name=\"tmp.v6-level1-key-name\" value=\"CLLI:CLOUD_REGION\" />\n\t<parameter name=\"tmp.v6-level2-key-name\" value=\"NETWORK_ROLE:NETWORK_ID\" />\n","comments":"","x":1993.106201171875,"y":1408.9999465942383,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"260b6372.66e11c","type":"set","name":"set EIPAM AIC-DP-PRIVATE-V6...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'AIC-DP-PRIVATE-V6 ' + $tmp.region`\"/>\n\t<parameter name=\"tmp.v6-level1-key-name\" value=\"CLLI:CLOUD_REGION\" />\n\t<parameter name=\"tmp.v6-level2-key-name\" value=\"NETWORK_ROLE:NETWORK_ID\" />\n","comments":"","x":1943.106201171875,"y":1514.9999465942383,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"ffc23e8a.ea5e7","type":"set","name":"set EIPAM AIC-DP-P-V6...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'AIC-DP-P-V6 ' + $tmp.region`\"/>\n\t<parameter name=\"tmp.v6-level1-key-name\" value=\"CLLI:CLOUD_REGION\" />\n\t<parameter name=\"tmp.v6-level2-key-name\" value=\"NETWORK_ROLE:NETWORK_ID\" />\n","comments":"","x":1974.106201171875,"y":1577.9999465942383,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"2d4ba575.af754a","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2067.106201171875,"y":739.8000411987305,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"4f23f0e5.6fcf8","type":"other","name":"CA","xml":"<outcome value=\"CA\">","comments":"","outputs":1,"x":2065.106201171875,"y":706.8000335693359,"z":"6dc3ee07.6f3c9","wires":[["b9a94ee7.e0806"]]},{"id":"b9a94ee7.e0806","type":"set","name":"set EIPAM DP-P CALA...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"DP-P CALA\"/>\n","comments":"","x":2247.3060913085938,"y":703.8000030517578,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"8ba23c37.a01ef","type":"other","name":"CA","xml":"<outcome value=\"CA\">","comments":"","outputs":1,"x":2469.5562438964844,"y":612.55002784729,"z":"6dc3ee07.6f3c9","wires":[["5eeb30ec.4871b"]]},{"id":"5eeb30ec.4871b","type":"set","name":"set EIPAM ATM-P CALA...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"ATM-P CALA\"/>\n","comments":"","x":2651.756134033203,"y":609.5499973297119,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"d6168e7a.a83d2","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2474.5562438964844,"y":648.55002784729,"z":"6dc3ee07.6f3c9","wires":[[]]},{"id":"500be3dd.629e5c","type":"other","name":"AIC_AIM_LANDING_NETWORK_V4","xml":"<outcome value=\"AIC_AIM_LANDING_NETWORK_V4\">","comments":"","outputs":1,"x":1572.5062255859375,"y":727.0000076293945,"z":"6dc3ee07.6f3c9","wires":[["8db5c326.7d3e5"]]},{"id":"8db5c326.7d3e5","type":"set","name":"set AIC-AIM-LANDING-V4...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'AIC-AIM-LANDING-V4 ' + $tmp.region`\"/>\n\t<parameter name=\"tmp.v4-level1-key-name\" value=\"CLLI:CLOUD_REGION\" />\n\t<parameter name=\"tmp.v4-level2-key-name\" value=\"NETWORK_ROLE:NETWORK_ID\" />\n","comments":"","x":1852.0062522888184,"y":727.2500114440918,"z":"6dc3ee07.6f3c9","wires":[]},{"id":"8e27759a.8d4fc8","type":"other","name":"AIC_AIM_LANDING_NETWORK_V6","xml":"<outcome value=\"AIC_AIM_LANDING_NETWORK_V6\">","comments":"","outputs":1,"x":1680,"y":1293.75,"z":"6dc3ee07.6f3c9","wires":[["915104aa.5dac18"]]},{"id":"915104aa.5dac18","type":"set","name":"set AIC-AIM-LANDING-V6...","xml":"<set>\n\t<parameter name=\"tmp.qip-pool\" value=\"`'AIC-AIM-LANDING-V6 ' + $tmp.region`\"/>\n\n","comments":"","x":1959.5000267028809,"y":1294.0000038146973,"z":"6dc3ee07.6f3c9","wires":[]}]