-[{"id":"cb36df78.f09e28","type":"dgstart","name":"DGSTART","outputs":1,"x":106.5,"y":39,"z":"d42722f8.3eccb8","wires":[["6b493f20.dd05b8"]]},{"id":"6b493f20.dd05b8","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>","outputs":1,"x":318.50000381469727,"y":111.0000171661377,"z":"d42722f8.3eccb8","wires":[["d4f64c43.9c54f8"]]},{"id":"d4f64c43.9c54f8","type":"method","name":"method network-topology-operation-create","xml":"<method rpc='network-topology-operation-create' mode='sync'>\n","comments":"","outputs":1,"x":306.5001220703125,"y":199,"z":"d42722f8.3eccb8","wires":[["99d71b60.bc486"]]},{"id":"99d71b60.bc486","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":582.5000305175781,"y":207.00001335144043,"z":"d42722f8.3eccb8","wires":[["5ed245d4.4281d4","e7933c58.1edee","975efc4b.99298","8ceec6eb.76071","31aa6d85.42f682","afab8693.c68c8","2004d097.f3cbc"]]},{"id":"e7933c58.1edee","type":"execute","name":"execute REST NETCONF MOUNT CREATE VPN","xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smvpntemplate.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services'\"/>\n<parameter name=\"restapiUser\" value=\"$prop.sdncRestApi.thirdpartySdnc.user\"/>\n<parameter name=\"restapiPassword\" value=\"$prop.sdncRestApi.thirdpartySdnc.password\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>","comments":"","outputs":1,"x":898.5001831054688,"y":552,"z":"d42722f8.3eccb8","wires":[[]]},{"id":"5ed245d4.4281d4","type":"set","name":"set controller data","xml":"<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.serviceUrl`\" />\n<parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.password`\" />\n","comments":"","x":810.5000610351562,"y":279,"z":"d42722f8.3eccb8","wires":[]},{"id":"2004d097.f3cbc","type":"for","name":"for each network-input-parameters","xml":"<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n","comments":"","outputs":1,"x":868.1666259765625,"y":375.6666564941406,"z":"d42722f8.3eccb8","wires":[["3cc59ee4.5e9a4a"]]},{"id":"975efc4b.99298","type":"execute","name":"execute REST NETCONF MOUNT CREATE SITE","xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smsitetemplate.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/sites'\"/>\n<parameter name=\"restapiUser\" value=\"$prop.sdncRestApi.thirdpartySdnc.user\"/>\n<parameter name=\"restapiPassword\" value=\"$prop.sdncRestApi.thirdpartySdnc.password\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>","comments":"","outputs":1,"x":902.1668510437012,"y":606.6666851043701,"z":"d42722f8.3eccb8","wires":[[]]},{"id":"afab8693.c68c8","type":"execute","name":"execute vpn-policy-id","xml":"<execute plugin='com.att.sdnctl.sli.SliPluginUtils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vpn-policy-id\"/>\n","comments":"","outputs":1,"x":834.1666259765625,"y":470.66668701171875,"z":"d42722f8.3eccb8","wires":[["6d3b3d21.9f9b94"]]},{"id":"6d3b3d21.9f9b94","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1053.1666316986084,"y":469.6666669845581,"z":"d42722f8.3eccb8","wires":[["77780ce8.b6a42c"]]},{"id":"77780ce8.b6a42c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation vpn policy ID\" />\n","comments":"","x":1238.1666412353516,"y":469.66667079925537,"z":"d42722f8.3eccb8","wires":[]},{"id":"8ceec6eb.76071","type":"call","name":"call GENERIC-RESOURCE-API:validate-network-input-parameters","xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n","comments":"","outputs":1,"x":880,"y":76,"z":"d42722f8.3eccb8","wires":[[]]},{"id":"31aa6d85.42f682","type":"get-resource","name":"get-resource esr-thirdparty-sdnc","xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.thirdparty-sdnc-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n","comments":"","outputs":1,"x":850,"y":193,"z":"d42722f8.3eccb8","wires":[["2c613739.98afa8","1da11a52.1c786e","969f047a.9bdca"]]},{"id":"2c613739.98afa8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1175,"y":124,"z":"d42722f8.3eccb8","wires":[["a9af7dde.3eae3"]]},{"id":"1da11a52.1c786e","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1178.490966796875,"y":171.57403564453125,"z":"d42722f8.3eccb8","wires":[["9fcc2997.c4db48"]]},{"id":"969f047a.9bdca","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1173.823974609375,"y":212.9073486328125,"z":"d42722f8.3eccb8","wires":[["b55105c.cece0f8"]]},{"id":"9fcc2997.c4db48","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Network model is_bound_to_vpn=true but no vpn_binding is present\" />\n\n","comments":"","x":1355.0623779296875,"y":159.85977172851562,"z":"d42722f8.3eccb8","wires":[]},{"id":"b55105c.cece0f8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Unexpected error retrieving vpn binding\" />\n\n","comments":"","x":1361.5965309143066,"y":208.34654140472412,"z":"d42722f8.3eccb8","wires":[]},{"id":"a9af7dde.3eae3","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1353.205322265625,"y":116.57403564453125,"z":"d42722f8.3eccb8","wires":[[]]},{"id":"3cc59ee4.5e9a4a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1354,"y":340,"z":"d42722f8.3eccb8","wires":[["88aa924c.540ec8","bb5cb51b.59506","2544c74d.97ee18","b7871d3d.25fad8","fe408f02.5f753","a83a85a7.171548","24a49d0f.d882f2","6e6d25b6.396474","631fc211.5012a4","6118a340.6202bc","36b08791.59ad9","34e1c7d4.0648","b6ef6a39.4f99a","57ff81fd.d7eb5","45e9f15b.b00ef","f194b0b0.06c4a","db1b22e2.44ac28","40dbf064.599ad8","f83e78ff.bcb19","953ea88f.9f4a18","1b0d7ad2.7c73cd","503fb0c2.118f08","abda3944.6cc14"]]},{"id":"88aa924c.540ec8","type":"switchNode","name":"switch name","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n","comments":"","outputs":1,"x":1600,"y":150.00003051757812,"z":"d42722f8.3eccb8","wires":[["f6a31b1b.e5d5"]]},{"id":"bb5cb51b.59506","type":"switchNode","name":"switch service-type","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'service-type'`\">\n","comments":"","outputs":1,"x":1603.9999389648438,"y":211.60000610351562,"z":"d42722f8.3eccb8","wires":[["b138ae61.44dfc"]]},{"id":"f6a31b1b.e5d5","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1787,"y":150.00003051757812,"z":"d42722f8.3eccb8","wires":[["4d5c9007.14735"]]},{"id":"b138ae61.44dfc","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1788.9999389648438,"y":209.60000610351562,"z":"d42722f8.3eccb8","wires":[["6c1d6803.8f8aa8"]]},{"id":"4d5c9007.14735","type":"set","name":"set name","xml":"<set>\n<parameter name='prop.l3vpn.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1955,"y":150.60003662109375,"z":"d42722f8.3eccb8","wires":[]},{"id":"6c1d6803.8f8aa8","type":"set","name":"set service-type","xml":"<set>\n<parameter name='prop.l3vpn.service-type' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1957.9999389648438,"y":207.60000610351562,"z":"d42722f8.3eccb8","wires":[]},{"id":"2544c74d.97ee18","type":"switchNode","name":"switch topology","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'topology'`\">\n","comments":"","outputs":1,"x":1603,"y":273,"z":"d42722f8.3eccb8","wires":[["67a5441.72b6abc"]]},{"id":"b7871d3d.25fad8","type":"switchNode","name":"switch technology","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'technology'`\">\n","comments":"","outputs":1,"x":1606,"y":326,"z":"d42722f8.3eccb8","wires":[["b0d9aff3.b00fa8"]]},{"id":"fe408f02.5f753","type":"switchNode","name":"switch site1_name","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_name'`\">\n","comments":"","outputs":1,"x":1611,"y":388,"z":"d42722f8.3eccb8","wires":[["4d154733.c71d7"]]},{"id":"a83a85a7.171548","type":"switchNode","name":"switch site2_name","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_name'`\">\n","comments":"","outputs":1,"x":1606,"y":451,"z":"d42722f8.3eccb8","wires":[["a3d4aaaa.5e75f8"]]},{"id":"24a49d0f.d882f2","type":"switchNode","name":"switch sna1_name","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'sna1_name'`\">\n","comments":"","outputs":1,"x":1611,"y":511,"z":"d42722f8.3eccb8","wires":[["ee77e877.444dc"]]},{"id":"6e6d25b6.396474","type":"switchNode","name":"switch sna2_name","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'sna2_name'`\">\n","comments":"","outputs":1,"x":1606,"y":575,"z":"d42722f8.3eccb8","wires":[["177ebd38.639203"]]},{"id":"631fc211.5012a4","type":"switchNode","name":"switch pe1_id","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'pe1_id'`\">\n","comments":"","outputs":1,"x":1611,"y":637,"z":"d42722f8.3eccb8","wires":[["bc4514aa.bff8b"]]},{"id":"6118a340.6202bc","type":"switchNode","name":"switch pe2_id","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'pe2_id'`\">\n","comments":"","outputs":1,"x":1626,"y":697,"z":"d42722f8.3eccb8","wires":[["1007421c.7d0e8e"]]},{"id":"36b08791.59ad9","type":"switchNode","name":"switch ac1_id","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_id'`\">\n","comments":"","outputs":1,"x":1621,"y":769,"z":"d42722f8.3eccb8","wires":[["a19c0d54.dae6"]]},{"id":"34e1c7d4.0648","type":"switchNode","name":"switch ac2_id","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_id'`\">\n","comments":"","outputs":1,"x":1620,"y":828,"z":"d42722f8.3eccb8","wires":[["84e52060.75ef7"]]},{"id":"b6ef6a39.4f99a","type":"switchNode","name":"switch ac1_ip","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_ip'`\">\n","comments":"","outputs":1,"x":1621,"y":879,"z":"d42722f8.3eccb8","wires":[["2bc62aa7.ef22ee"]]},{"id":"57ff81fd.d7eb5","type":"switchNode","name":"switch ac2_ip","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_ip'`\">\n","comments":"","outputs":1,"x":1624,"y":936,"z":"d42722f8.3eccb8","wires":[["99127b02.b296b8"]]},{"id":"45e9f15b.b00ef","type":"switchNode","name":"switch ac1_peer_ip","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_peer_ip'`\">\n","comments":"","outputs":1,"x":1630,"y":988,"z":"d42722f8.3eccb8","wires":[["99742acf.29058"]]},{"id":"f194b0b0.06c4a","type":"switchNode","name":"switch ac2_peer_ip","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_peer_ip'`\">\n","comments":"","outputs":1,"x":1631,"y":1043,"z":"d42722f8.3eccb8","wires":[["80ed9287.14c0b"]]},{"id":"db1b22e2.44ac28","type":"switchNode","name":"switch ac1_svlan","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_svlan'`\">\n","comments":"","outputs":1,"x":1643,"y":1092,"z":"d42722f8.3eccb8","wires":[["7e8264fe.9a4184"]]},{"id":"40dbf064.599ad8","type":"switchNode","name":"switch ac2_svlan","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_svlan'`\">\n","comments":"","outputs":1,"x":1636,"y":1143,"z":"d42722f8.3eccb8","wires":[["b90636ea.ed4c38"]]},{"id":"f83e78ff.bcb19","type":"switchNode","name":"switch ac1_protocol","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_protocol'`\">\n","comments":"","outputs":1,"x":1629,"y":1201,"z":"d42722f8.3eccb8","wires":[["bacf2339.37a91"]]},{"id":"953ea88f.9f4a18","type":"switchNode","name":"switch ac2_protocol","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_protocol'`\">\n","comments":"","outputs":1,"x":1630,"y":1261,"z":"d42722f8.3eccb8","wires":[["97f3e1d.1c8072"]]},{"id":"1b0d7ad2.7c73cd","type":"switchNode","name":"switch ac1_protocol_bgp_as","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_protocol_bgp_as'`\">\n","comments":"","outputs":1,"x":1631,"y":1307,"z":"d42722f8.3eccb8","wires":[["e29f2e84.29cc98"]]},{"id":"503fb0c2.118f08","type":"switchNode","name":"switch ac2_protocol_bgp_as","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_protocol_bgp_as'`\">\n","comments":"","outputs":1,"x":1637,"y":1358,"z":"d42722f8.3eccb8","wires":[["cba6eaf7.a3e0f"]]},{"id":"abda3944.6cc14","type":"switchNode","name":"switch af_type","xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'af_type'`\">\n","comments":"","outputs":1,"x":1628,"y":1412,"z":"d42722f8.3eccb8","wires":[["285638b5.acb86"]]},{"id":"67a5441.72b6abc","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1778,"y":269,"z":"d42722f8.3eccb8","wires":[["db3c5d8c.944588"]]},{"id":"b0d9aff3.b00fa8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1784,"y":322,"z":"d42722f8.3eccb8","wires":[["e1dcf81.cf81f08"]]},{"id":"4d154733.c71d7","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1793,"y":384,"z":"d42722f8.3eccb8","wires":[["88926751.4fb388"]]},{"id":"a3d4aaaa.5e75f8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1791,"y":447,"z":"d42722f8.3eccb8","wires":[["b6c53efa.cf8ae"]]},{"id":"ee77e877.444dc","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1796,"y":509,"z":"d42722f8.3eccb8","wires":[["d30f9440.cd7a9"]]},{"id":"177ebd38.639203","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1788,"y":567,"z":"d42722f8.3eccb8","wires":[["9cf0b05d.8daa98"]]},{"id":"bc4514aa.bff8b","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1789,"y":630,"z":"d42722f8.3eccb8","wires":[["68b22e8f.d45fc"]]},{"id":"1007421c.7d0e8e","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1788,"y":699,"z":"d42722f8.3eccb8","wires":[["ae6ba13f.09e0d"]]},{"id":"a19c0d54.dae6","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1785,"y":767,"z":"d42722f8.3eccb8","wires":[["8027371b.40f6c8"]]},{"id":"84e52060.75ef7","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1784,"y":831,"z":"d42722f8.3eccb8","wires":[["327b55cc.8c9f6a"]]},{"id":"2bc62aa7.ef22ee","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1781,"y":877,"z":"d42722f8.3eccb8","wires":[["456d6e39.b277b"]]},{"id":"99127b02.b296b8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1783,"y":934,"z":"d42722f8.3eccb8","wires":[["ba2a56e4.37da1"]]},{"id":"99742acf.29058","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1819,"y":985,"z":"d42722f8.3eccb8","wires":[["8b3ca584.be477"]]},{"id":"80ed9287.14c0b","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1824,"y":1048,"z":"d42722f8.3eccb8","wires":[["5e28eb3d.fcfbfc"]]},{"id":"7e8264fe.9a4184","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1820,"y":1097,"z":"d42722f8.3eccb8","wires":[["9799c154.0a7f08"]]},{"id":"b90636ea.ed4c38","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1804,"y":1146,"z":"d42722f8.3eccb8","wires":[["d9366dce.978858"]]},{"id":"bacf2339.37a91","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1801,"y":1199,"z":"d42722f8.3eccb8","wires":[["d0174fbe.4dfc9"]]},{"id":"97f3e1d.1c8072","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1814,"y":1258,"z":"d42722f8.3eccb8","wires":[["cdf18661.8284a"]]},{"id":"e29f2e84.29cc98","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1839,"y":1304,"z":"d42722f8.3eccb8","wires":[["c85e7fd9.cd69c"]]},{"id":"cba6eaf7.a3e0f","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1846,"y":1354,"z":"d42722f8.3eccb8","wires":[["2c7d8d12.1b8f3a"]]},{"id":"285638b5.acb86","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1814,"y":1413,"z":"d42722f8.3eccb8","wires":[["541bf067.78e77"]]},{"id":"db3c5d8c.944588","type":"set","name":"set topology","xml":"<set>\n<parameter name='prop.l3vpn.topology' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1973,"y":270,"z":"d42722f8.3eccb8","wires":[]},{"id":"e1dcf81.cf81f08","type":"set","name":"set technology","xml":"<set>\n<parameter name='prop.l3vpn.technology' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1963,"y":324,"z":"d42722f8.3eccb8","wires":[]},{"id":"88926751.4fb388","type":"set","name":"set site1_name","xml":"<set>\n<parameter name='prop.l3vpn.site1_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1967,"y":381,"z":"d42722f8.3eccb8","wires":[]},{"id":"b6c53efa.cf8ae","type":"set","name":"set site2_name","xml":"<set>\n<parameter name='prop.l3vpn.site2_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1970,"y":440,"z":"d42722f8.3eccb8","wires":[]},{"id":"d30f9440.cd7a9","type":"set","name":"set sna1_name","xml":"<set>\n<parameter name='prop.l3vpn.sna1_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1978,"y":502,"z":"d42722f8.3eccb8","wires":[]},{"id":"9cf0b05d.8daa98","type":"set","name":"set sna2_name","xml":"<set>\n<parameter name='prop.l3vpn.sna2_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1970,"y":562,"z":"d42722f8.3eccb8","wires":[]},{"id":"68b22e8f.d45fc","type":"set","name":"set pe1_id","xml":"<set>\n<parameter name='prop.l3vpn.pe1_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1967,"y":622,"z":"d42722f8.3eccb8","wires":[]},{"id":"ae6ba13f.09e0d","type":"set","name":"set pe2_id","xml":"<set>\n<parameter name='prop.l3vpn.pe2_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1963,"y":693,"z":"d42722f8.3eccb8","wires":[]},{"id":"8027371b.40f6c8","type":"set","name":"set ac1_id","xml":"<set>\n<parameter name='prop.l3vpn.ac1_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1956,"y":759,"z":"d42722f8.3eccb8","wires":[]},{"id":"327b55cc.8c9f6a","type":"set","name":"set ac2_id","xml":"<set>\n<parameter name='prop.l3vpn.ac2_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1959,"y":826,"z":"d42722f8.3eccb8","wires":[]},{"id":"456d6e39.b277b","type":"set","name":"set ac1_ip","xml":"<set>\n<parameter name='prop.l3vpn.ac1_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1959,"y":880,"z":"d42722f8.3eccb8","wires":[]},{"id":"ba2a56e4.37da1","type":"set","name":"set ac2_ip","xml":"<set>\n<parameter name='prop.l3vpn.ac2_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1963,"y":934,"z":"d42722f8.3eccb8","wires":[]},{"id":"8b3ca584.be477","type":"set","name":"set ac1_peer_ip","xml":"<set>\n<parameter name='prop.l3vpn.ac1_peer_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":2011,"y":989,"z":"d42722f8.3eccb8","wires":[]},{"id":"5e28eb3d.fcfbfc","type":"set","name":"set ac2_peer_ip","xml":"<set>\n<parameter name='prop.l3vpn.ac2_peer_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":2007,"y":1044,"z":"d42722f8.3eccb8","wires":[]},{"id":"9799c154.0a7f08","type":"set","name":"set ac1_svlan","xml":"<set>\n<parameter name='prop.l3vpn.ac1_svlan' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":2001,"y":1099,"z":"d42722f8.3eccb8","wires":[]},{"id":"d9366dce.978858","type":"set","name":"set ac2_svlan","xml":"<set>\n<parameter name='prop.l3vpn.ac2_svlan' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1998,"y":1152,"z":"d42722f8.3eccb8","wires":[]},{"id":"d0174fbe.4dfc9","type":"set","name":"set ac1_protocol","xml":"<set>\n<parameter name='prop.l3vpn.ac1_protocol' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":1996,"y":1209,"z":"d42722f8.3eccb8","wires":[]},{"id":"cdf18661.8284a","type":"set","name":"set ac2_protocol","xml":"<set>\n<parameter name='prop.l3vpn.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":2005,"y":1261,"z":"d42722f8.3eccb8","wires":[]},{"id":"c85e7fd9.cd69c","type":"set","name":"set ac1_protocol_bgp_as","xml":"<set>\n<parameter name='prop.l3vpn.ac1_protocol_bgp_as' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":2016,"y":1312,"z":"d42722f8.3eccb8","wires":[]},{"id":"2c7d8d12.1b8f3a","type":"set","name":"set ac1_protocol_bgp_as","xml":"<set>\n<parameter name='prop.l3vpn.ac1_protocol_bgp_as' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":2021,"y":1367,"z":"d42722f8.3eccb8","wires":[]},{"id":"541bf067.78e77","type":"set","name":"set af_type","xml":"<set>\n<parameter name='prop.l3vpn.af_type' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n","comments":"","x":2019,"y":1425,"z":"d42722f8.3eccb8","wires":[]}]
\ No newline at end of file
+[
+ {
+ "id": "2d119cf9.da55d4",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 89,
+ "y": 66.99996948242188,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "a281a341.cee95"
+ ]
+ ]
+ },
+ {
+ "id": "a281a341.cee95",
+ "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": 301.00000381469727,
+ "y": 138.99998664855957,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "f765e2a8.07eac"
+ ]
+ ]
+ },
+ {
+ "id": "f765e2a8.07eac",
+ "type": "method",
+ "name": "method network-topology-operation-create",
+ "xml": "<method rpc='network-topology-operation-create' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 289.0001220703125,
+ "y": 226.99996948242188,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "ba8938ef.875328"
+ ]
+ ]
+ },
+ {
+ "id": "ba8938ef.875328",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 365,
+ "y": 625,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "e2f31eb5.a183e",
+ "ade3e35c.b5b59",
+ "7c2f72f7.87d2ac",
+ "8d5aeff7.32c67",
+ "d96cca8b.aef998",
+ "38000c67.90cd64",
+ "496a2fd4.025b58",
+ "7637caf4.d6c8f4",
+ "a2fb9e2f.a93ff8",
+ "fb6e4c2e.3cc6e8",
+ "f086eb6d.36e988",
+ "fb5a457c.e3d938",
+ "7b0c7c0c.cadfec",
+ "aec2b21c.351b48",
+ "fd85e187.c7dde",
+ "4308a2c5.6e7bac",
+ "8381990.da591e8"
+ ]
+ ]
+ },
+ {
+ "id": "f1c4e62c.acf5f",
+ "type": "execute",
+ "name": "execute RestApiCallNode Create IPWAN L3VPN",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smvpntemplate.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services'\"/>\n<parameter name=\"restapiUser\" value=\"$prop.sdncRestApi.thirdpartySdnc.user\"/>\n<parameter name=\"restapiPassword\" value=\"$prop.sdncRestApi.thirdpartySdnc.password\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1167.0001831054688,
+ "y": 997.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e2f31eb5.a183e",
+ "type": "set",
+ "name": "set controller data",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.serviceUrl`\" />\n<parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.password`\" />\n",
+ "comments": "",
+ "x": 790.0000610351562,
+ "y": 281.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "d96cca8b.aef998",
+ "type": "for",
+ "name": "for each network-input-parameters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 850.6666259765625,
+ "y": 403.6666259765625,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "22c32b46.de62ec"
+ ]
+ ]
+ },
+ {
+ "id": "2bd25145.a5e5d6",
+ "type": "execute",
+ "name": "execute RestApiCallNode Create SPTN L3VPN",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smsitetemplate.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url\"/>\n<parameter name=\"restapiUser\" value=\"$prop.sdncRestApi.thirdpartySdnc.user\"/>\n<parameter name=\"restapiPassword\" value=\"$prop.sdncRestApi.thirdpartySdnc.password\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1138.6668701171875,
+ "y": 1200.6666564941406,
+ "z": "afcbb687.85236",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8d5aeff7.32c67",
+ "type": "execute",
+ "name": "execute vpn-policy1-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vpn-policy1-id\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 810.6666259765625,
+ "y": 460.6666564941406,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "f683f47d.fcccc8"
+ ]
+ ]
+ },
+ {
+ "id": "f683f47d.fcccc8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1035.6666259765625,
+ "y": 463.6666259765625,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "64dcb25e.cfa1dc"
+ ]
+ ]
+ },
+ {
+ "id": "64dcb25e.cfa1dc",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation vpn policy ID\" />\n",
+ "comments": "",
+ "x": 1216.6666259765625,
+ "y": 461.6666259765625,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "ade3e35c.b5b59",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:validate-network-input-parameters",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 862.5,
+ "y": 103.99996948242188,
+ "z": "afcbb687.85236",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7c2f72f7.87d2ac",
+ "type": "get-resource",
+ "name": "get-resource esr-thirdparty-sdnc",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.thirdparty-sdnc-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 832.5,
+ "y": 220.99996948242188,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "7c3121a2.590238",
+ "78ce712c.ccd01",
+ "cd33fdee.3222d"
+ ]
+ ]
+ },
+ {
+ "id": "7c3121a2.590238",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1157.5,
+ "y": 151.99996948242188,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "9cd190ea.6976c8"
+ ]
+ ]
+ },
+ {
+ "id": "78ce712c.ccd01",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1160.990966796875,
+ "y": 199.57400512695312,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "3b83df46.29f0f"
+ ]
+ ]
+ },
+ {
+ "id": "cd33fdee.3222d",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1156.323974609375,
+ "y": 240.90731811523438,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "767371f2.e9e528"
+ ]
+ ]
+ },
+ {
+ "id": "3b83df46.29f0f",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
+ "comments": "",
+ "x": 1337.5623779296875,
+ "y": 187.8597412109375,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "767371f2.e9e528",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
+ "comments": "",
+ "x": 1344.0965309143066,
+ "y": 236.346510887146,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "9cd190ea.6976c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1335.705322265625,
+ "y": 144.57400512695312,
+ "z": "afcbb687.85236",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "22c32b46.de62ec",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1249.5,
+ "y": 409.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "ff55b388.99abf8",
+ "38873b05.a3c454",
+ "9175a87c.a6aee",
+ "c55257b2.b8e8",
+ "75421ae0.2f14a4",
+ "8d568c42.a5a6b",
+ "c77b0665.1769f8",
+ "9a8d8afe.f563a",
+ "88904f93.c66ce8",
+ "6e84728c.673824",
+ "1d735f8b.a0bda8",
+ "e368f329.6d7548",
+ "a3622b1.27cced8",
+ "abae0359.a1f078",
+ "68ac49c7.06602",
+ "5e346a8c.2e71cc",
+ "d1e7e706.64fca8",
+ "bac90fd8.5903c8",
+ "5b9e96bc.f4818",
+ "ec98c6d8.1a97c",
+ "2e62b281.5fb4be",
+ "aedad5e0.0eea1",
+ "c0968178.a081f",
+ "b0b0d932.2b92c",
+ "6df47e7a.007368"
+ ]
+ ]
+ },
+ {
+ "id": "ff55b388.99abf8",
+ "type": "switchNode",
+ "name": "switch name",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1600.5,
+ "y": 34,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "f559aca3.91e3"
+ ]
+ ]
+ },
+ {
+ "id": "38873b05.a3c454",
+ "type": "switchNode",
+ "name": "switch service-type",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'service-type'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1604.4999389648438,
+ "y": 95.5999755859375,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "401247a1.5ff7d"
+ ]
+ ]
+ },
+ {
+ "id": "f559aca3.91e3",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1787.5,
+ "y": 34,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "79625ec4.855a18"
+ ]
+ ]
+ },
+ {
+ "id": "401247a1.5ff7d",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1789.4999389648438,
+ "y": 93.5999755859375,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "6a87bf48.abeba"
+ ]
+ ]
+ },
+ {
+ "id": "79625ec4.855a18",
+ "type": "set",
+ "name": "set name",
+ "xml": "<set>\n<parameter name='prop.l3vpn.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1955.5,
+ "y": 34.600006103515625,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "6a87bf48.abeba",
+ "type": "set",
+ "name": "set service-type",
+ "xml": "<set>\n<parameter name='prop.l3vpn.service-type' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1958.4999389648438,
+ "y": 91.5999755859375,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "9175a87c.a6aee",
+ "type": "switchNode",
+ "name": "switch topology",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'topology'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1603.5,
+ "y": 156.99996948242188,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "a64e4877.40f2a8"
+ ]
+ ]
+ },
+ {
+ "id": "c55257b2.b8e8",
+ "type": "switchNode",
+ "name": "switch technology",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'technology'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1606.5,
+ "y": 209.99996948242188,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "9ba6f7b3.df8438"
+ ]
+ ]
+ },
+ {
+ "id": "75421ae0.2f14a4",
+ "type": "switchNode",
+ "name": "switch site1_name",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1611.5,
+ "y": 271.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "3fe3c429.54f524"
+ ]
+ ]
+ },
+ {
+ "id": "8d568c42.a5a6b",
+ "type": "switchNode",
+ "name": "switch site2_name",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1606.5,
+ "y": 334.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "4b788419.283d84"
+ ]
+ ]
+ },
+ {
+ "id": "c77b0665.1769f8",
+ "type": "switchNode",
+ "name": "switch sna1_name",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'sna1_name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1611.5,
+ "y": 394.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "df5a50d3.c67ae"
+ ]
+ ]
+ },
+ {
+ "id": "9a8d8afe.f563a",
+ "type": "switchNode",
+ "name": "switch sna2_name",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'sna2_name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1606.5,
+ "y": 458.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "8824fdd5.acc64"
+ ]
+ ]
+ },
+ {
+ "id": "88904f93.c66ce8",
+ "type": "switchNode",
+ "name": "switch pe1_id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'pe1_id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1611.5,
+ "y": 520.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "11f03ae0.763e8d"
+ ]
+ ]
+ },
+ {
+ "id": "6e84728c.673824",
+ "type": "switchNode",
+ "name": "switch pe2_id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'pe2_id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1626.5,
+ "y": 580.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "62aa94da.25d62c"
+ ]
+ ]
+ },
+ {
+ "id": "1d735f8b.a0bda8",
+ "type": "switchNode",
+ "name": "switch ac1_id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1621.5,
+ "y": 652.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "a020360c.e4bb5"
+ ]
+ ]
+ },
+ {
+ "id": "e368f329.6d7548",
+ "type": "switchNode",
+ "name": "switch ac2_id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1620.5,
+ "y": 711.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "8fc6e5e2.e24288"
+ ]
+ ]
+ },
+ {
+ "id": "a3622b1.27cced8",
+ "type": "switchNode",
+ "name": "switch ac1_ip",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_ip'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1597.5,
+ "y": 774.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "e82a870c.b39b28"
+ ]
+ ]
+ },
+ {
+ "id": "abae0359.a1f078",
+ "type": "switchNode",
+ "name": "switch ac2_ip",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_ip'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1600.5,
+ "y": 831.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "47898e68.b0462"
+ ]
+ ]
+ },
+ {
+ "id": "68ac49c7.06602",
+ "type": "switchNode",
+ "name": "switch ac1_peer_ip",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_peer_ip'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1606.5,
+ "y": 883.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "eaea8bad.5cf788"
+ ]
+ ]
+ },
+ {
+ "id": "5e346a8c.2e71cc",
+ "type": "switchNode",
+ "name": "switch ac2_peer_ip",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_peer_ip'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1607.5,
+ "y": 938.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "54e08fc1.717778"
+ ]
+ ]
+ },
+ {
+ "id": "d1e7e706.64fca8",
+ "type": "switchNode",
+ "name": "switch ac1_svlan",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_svlan'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1619.5,
+ "y": 987.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "c485c539.43b58"
+ ]
+ ]
+ },
+ {
+ "id": "bac90fd8.5903c8",
+ "type": "switchNode",
+ "name": "switch ac2_svlan",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_svlan'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1612.5,
+ "y": 1038.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "dc18349.f485ec8"
+ ]
+ ]
+ },
+ {
+ "id": "5b9e96bc.f4818",
+ "type": "switchNode",
+ "name": "switch ac1_protocol",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_protocol'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1605.5,
+ "y": 1096.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "a2803a12.7713d8"
+ ]
+ ]
+ },
+ {
+ "id": "ec98c6d8.1a97c",
+ "type": "switchNode",
+ "name": "switch ac2_protocol",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_protocol'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1606.5,
+ "y": 1156.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "596f6089.d1edf8"
+ ]
+ ]
+ },
+ {
+ "id": "2e62b281.5fb4be",
+ "type": "switchNode",
+ "name": "switch ac1_protocol_bgp_as",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_protocol_bgp_as'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1600.5,
+ "y": 1342.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "6e2cd8be.f3048"
+ ]
+ ]
+ },
+ {
+ "id": "aedad5e0.0eea1",
+ "type": "switchNode",
+ "name": "switch ac2_protocol_bgp_as",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_protocol_bgp_as'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1606.5,
+ "y": 1393.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "d0f887af.29671"
+ ]
+ ]
+ },
+ {
+ "id": "c0968178.a081f",
+ "type": "switchNode",
+ "name": "switch af_type",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'af_type'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1573.5,
+ "y": 1484.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "82ff06f7.d0d528"
+ ]
+ ]
+ },
+ {
+ "id": "a64e4877.40f2a8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1778.5,
+ "y": 152.99996948242188,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "da8c11e9.9cbec8"
+ ]
+ ]
+ },
+ {
+ "id": "9ba6f7b3.df8438",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1784.5,
+ "y": 205.99996948242188,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "ccc7b6d7.c058c8"
+ ]
+ ]
+ },
+ {
+ "id": "3fe3c429.54f524",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1793.5,
+ "y": 267.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "e5bd3aa8.87da7"
+ ]
+ ]
+ },
+ {
+ "id": "4b788419.283d84",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1791.5,
+ "y": 330.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "bd7f255d.5699f"
+ ]
+ ]
+ },
+ {
+ "id": "df5a50d3.c67ae",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1796.5,
+ "y": 392.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "f25f5.2f7afa0c"
+ ]
+ ]
+ },
+ {
+ "id": "8824fdd5.acc64",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1788.5,
+ "y": 450.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "901b9d66.12536"
+ ]
+ ]
+ },
+ {
+ "id": "11f03ae0.763e8d",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1789.5,
+ "y": 513.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "95a707d1.9e9078"
+ ]
+ ]
+ },
+ {
+ "id": "62aa94da.25d62c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1788.5,
+ "y": 582.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "3501cf57.589d68"
+ ]
+ ]
+ },
+ {
+ "id": "a020360c.e4bb5",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1785.5,
+ "y": 650.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "c6cf31c5.5d1aa"
+ ]
+ ]
+ },
+ {
+ "id": "8fc6e5e2.e24288",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1784.5,
+ "y": 714.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "6265cd27.81f2dc"
+ ]
+ ]
+ },
+ {
+ "id": "e82a870c.b39b28",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1757.5,
+ "y": 772.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "6e17c55d.2a19a4"
+ ]
+ ]
+ },
+ {
+ "id": "47898e68.b0462",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1759.5,
+ "y": 829.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "7924cc2a.35fc2c"
+ ]
+ ]
+ },
+ {
+ "id": "eaea8bad.5cf788",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1795.5,
+ "y": 880.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "3e869a26.2e7586"
+ ]
+ ]
+ },
+ {
+ "id": "54e08fc1.717778",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1800.5,
+ "y": 943.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "9886630f.778418"
+ ]
+ ]
+ },
+ {
+ "id": "c485c539.43b58",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1796.5,
+ "y": 992.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "78c58e8a.23d18"
+ ]
+ ]
+ },
+ {
+ "id": "dc18349.f485ec8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1780.5,
+ "y": 1041.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "69f6023e.41e15c"
+ ]
+ ]
+ },
+ {
+ "id": "a2803a12.7713d8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1777.5,
+ "y": 1094.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "2df41f91.eb242"
+ ]
+ ]
+ },
+ {
+ "id": "596f6089.d1edf8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1790.5,
+ "y": 1153.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "e6263a0e.005cf8"
+ ]
+ ]
+ },
+ {
+ "id": "6e2cd8be.f3048",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1808.5,
+ "y": 1339.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "84d5b1db.9b60d8"
+ ]
+ ]
+ },
+ {
+ "id": "d0f887af.29671",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1815.5,
+ "y": 1389.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "a8af002f.68a168"
+ ]
+ ]
+ },
+ {
+ "id": "82ff06f7.d0d528",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1777.5,
+ "y": 1493.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "849d8b1.9052178"
+ ]
+ ]
+ },
+ {
+ "id": "da8c11e9.9cbec8",
+ "type": "set",
+ "name": "set topology",
+ "xml": "<set>\n<parameter name='prop.l3vpn.topology' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1973.5,
+ "y": 153.99996948242188,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "ccc7b6d7.c058c8",
+ "type": "set",
+ "name": "set technology",
+ "xml": "<set>\n<parameter name='prop.l3vpn.technology' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1963.5,
+ "y": 207.99996948242188,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "e5bd3aa8.87da7",
+ "type": "set",
+ "name": "set site1_name",
+ "xml": "<set>\n<parameter name='prop.l3vpn.site1_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1967.5,
+ "y": 264.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "bd7f255d.5699f",
+ "type": "set",
+ "name": "set site2_name",
+ "xml": "<set>\n<parameter name='prop.l3vpn.site2_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1970.5,
+ "y": 323.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "f25f5.2f7afa0c",
+ "type": "set",
+ "name": "set sna1_name",
+ "xml": "<set>\n<parameter name='prop.l3vpn.sna1_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1978.5,
+ "y": 385.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "901b9d66.12536",
+ "type": "set",
+ "name": "set sna2_name",
+ "xml": "<set>\n<parameter name='prop.l3vpn.sna2_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1970.5,
+ "y": 445.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "95a707d1.9e9078",
+ "type": "set",
+ "name": "set pe1_id",
+ "xml": "<set>\n<parameter name='prop.l3vpn.pe1_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1967.5,
+ "y": 505.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "3501cf57.589d68",
+ "type": "set",
+ "name": "set pe2_id",
+ "xml": "<set>\n<parameter name='prop.l3vpn.pe2_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1963.5,
+ "y": 576.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "c6cf31c5.5d1aa",
+ "type": "set",
+ "name": "set ac1_id",
+ "xml": "<set>\n<parameter name='prop.l3vpn.ac1_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1956.5,
+ "y": 642.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "6265cd27.81f2dc",
+ "type": "set",
+ "name": "set ac2_id",
+ "xml": "<set>\n<parameter name='prop.l3vpn.ac2_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1959.5,
+ "y": 709.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "6e17c55d.2a19a4",
+ "type": "set",
+ "name": "set ac1_ip",
+ "xml": "<set>\n<parameter name='prop.l3vpn.ac1_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1935.5,
+ "y": 775.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "7924cc2a.35fc2c",
+ "type": "set",
+ "name": "set ac2_ip",
+ "xml": "<set>\n<parameter name='prop.l3vpn.ac2_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1939.5,
+ "y": 829.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "3e869a26.2e7586",
+ "type": "set",
+ "name": "set ac1_peer_ip",
+ "xml": "<set>\n<parameter name='prop.l3vpn.ac1_peer_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1987.5,
+ "y": 884.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "9886630f.778418",
+ "type": "set",
+ "name": "set ac2_peer_ip",
+ "xml": "<set>\n<parameter name='prop.l3vpn.ac2_peer_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1983.5,
+ "y": 939.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "78c58e8a.23d18",
+ "type": "set",
+ "name": "set ac1_svlan",
+ "xml": "<set>\n<parameter name='prop.l3vpn.ac1_svlan' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1977.5,
+ "y": 994.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "69f6023e.41e15c",
+ "type": "set",
+ "name": "set ac2_svlan",
+ "xml": "<set>\n<parameter name='prop.l3vpn.ac2_svlan' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1974.5,
+ "y": 1047.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "2df41f91.eb242",
+ "type": "set",
+ "name": "set ac1_protocol",
+ "xml": "<set>\n<parameter name='prop.l3vpn.ac1_protocol' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1972.5,
+ "y": 1104.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "e6263a0e.005cf8",
+ "type": "set",
+ "name": "set ac2_protocol",
+ "xml": "<set>\n<parameter name='prop.l3vpn.ac2_protocol' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1981.5,
+ "y": 1156.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "84d5b1db.9b60d8",
+ "type": "set",
+ "name": "set ac1_protocol_bgp_as",
+ "xml": "<set>\n<parameter name='prop.l3vpn.ac1_protocol_bgp_as' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n<parameter name='prop.l3vpn.peer1-ip' value='`$prop.l3vpn.ac1_ip`' />\n",
+ "comments": "",
+ "x": 2075.5,
+ "y": 1360.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "a8af002f.68a168",
+ "type": "set",
+ "name": "set ac2_protocol_bgp_as",
+ "xml": "<set>\n<parameter name='prop.l3vpn.ac2_protocol_bgp_as' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n<parameter name='prop.l3vpn.peer2-ip' value='`$prop.l3vpn.ac2_ip`' />\n",
+ "comments": "",
+ "x": 2087.5,
+ "y": 1409.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "849d8b1.9052178",
+ "type": "set",
+ "name": "set af_type",
+ "xml": "<set>\n<parameter name='prop.l3vpn.af_type' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1971.5,
+ "y": 1503.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "38000c67.90cd64",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"Time\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"Method\" value=\"network-topology-operation-create\"/>\n<parameter name=\"SubMethod\" value=\"L3VPN-Config\"/>\n<parameter name=\"l3vpn_name\" value=\"`$prop.l3vpn.name`\"/>\n<parameter name=\"topology\" value=\"`$prop.l3vpn.topology`\"/>\n<parameter name=\"site1_name\" value=\"`$prop.l3vpn.site1_name`\"/>\n<parameter name=\"vpn-policy1-id\" value=\"`$prop.l3vpn.vpn-policy1-id`\"/>\n<parameter name=\"l3vpn.entry1-id\" value=\"`$prop.l3vpn.entry1-id`\"/>\n<parameter name=\"sna1_name\" value=\"`$prop.l3vpn.sna1_name`\"/>\n<parameter name=\"pe1_id\" value=\"`$prop.l3vpn.pe1_id`\"/>\n<parameter name=\"ac1_id\" value=\"`$prop.l3vpn.ac1_id`\"/>\n<parameter name=\"sna1_svlan\" value=\"`$prop.l3vpn.sna1_svlan`\"/>\n<parameter name=\"ac1-peer-ip\" value=\"`$prop.l3vpn.ac1-peer-ip`\"/>\n<parameter name=\"ac1-ip\" value=\"`$prop.l3vpn.ac1-ip`\"/>\n<parameter name=\"ac1_protocol\" value=\"`$prop.l3vpn.ac1_protocol`\"/>\n<parameter name=\"sna1-route-ip-prefix\" value=\"`$prop.l3vpn.sna1-route-ip-prefix`\"/>\n<parameter name=\"sna1-route-next-hop\" value=\"`$prop.l3vpn.sna1-route-next-hop`\"/>\n<parameter name=\"peer1-ip\" value=\"`$prop.l3vpn.peer1-ip`\"/>\n<parameter name=\"ac1_protocol_bgp_as\" value=\"`$prop.l3vpn.ac1_protocol_bgp_as`\"/>\n<parameter name=\"vrf1-id\" value=\"`$prop.l3vpn.vrf1-id`\"/>\n<parameter name=\"site2_name\" value=\"`$prop.l3vpn.site2_name`\"/>\n<parameter name=\"vpn-policy2-id\" value=\"`$prop.l3vpn.vpn-policy2-id`\"/>\n<parameter name=\"l3vpn.entry2-id\" value=\"`$prop.l3vpn.entry2-id`\"/>\n<parameter name=\"sna2_name\" value=\"`$prop.l3vpn.sna2_name`\"/>\n<parameter name=\"pe2_id\" value=\"`$prop.l3vpn.pe2_id`\"/>\n<parameter name=\"ac2_id\" value=\"`$prop.l3vpn.ac2_id`\"/>\n<parameter name=\"sna2_svlan\" value=\"`$prop.l3vpn.sna2_svlan`\"/>\n<parameter name=\"ac2-peer-ip\" value=\"`$prop.l3vpn.ac2-peer-ip`\"/>\n<parameter name=\"ac2-ip\" value=\"`$prop.l3vpn.ac2-ip`\"/>\n<parameter name=\"ac2_protocol\" value=\"`$prop.l3vpn.ac2_protocol`\"/>\n<parameter name=\"sna2-route-ip-prefix\" value=\"`$prop.l3vpn.sna2-route-ip-prefix`\"/>\n<parameter name=\"sna2-route-next-hop\" value=\"`$prop.l3vpn.sna2-route-next-hop`\"/>\n<parameter name=\"peer2-ip\" value=\"`$prop.l3vpn.peer2-ip`\"/>\n<parameter name=\"ac2_protocol_bgp_as\" value=\"`$prop.l3vpn.ac2_protocol_bgp_as`\"/>\n<parameter name=\"vrf2-id\" value=\"`$prop.l3vpn.vrf2-id`\"/>\n<parameter name=\"af_type\" value=\"`$prop.l3vpn.af_type`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 722,
+ "y": 995,
+ "z": "afcbb687.85236",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "496a2fd4.025b58",
+ "type": "switchNode",
+ "name": "switch service-type",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'service-type'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 703,
+ "y": 1141,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "42648755.1a8ba8",
+ "902f9c3b.315d",
+ "a37f7e10.357a9"
+ ]
+ ]
+ },
+ {
+ "id": "42648755.1a8ba8",
+ "type": "outcomeTrue",
+ "name": "l3vpn-ipwan",
+ "xml": "<outcome value='l3vpn-ipwan'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 689,
+ "y": 1066,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "490fa182.d51e38"
+ ]
+ ]
+ },
+ {
+ "id": "902f9c3b.315d",
+ "type": "outcomeTrue",
+ "name": "l3vpn-sptn",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 845,
+ "y": 1209.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "2bd25145.a5e5d6"
+ ]
+ ]
+ },
+ {
+ "id": "a37f7e10.357a9",
+ "type": "outcomeTrue",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 843,
+ "y": 1288.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "33c3396f.7705ae"
+ ]
+ ]
+ },
+ {
+ "id": "33c3396f.7705ae",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Unexpected error retrieving vpn binding\" />\n\n",
+ "comments": "",
+ "x": 1026,
+ "y": 1287.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "7637caf4.d6c8f4",
+ "type": "execute",
+ "name": "execute vpn-policy2-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vpn-policy2-id\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 811,
+ "y": 518.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "79569ec3.085fc8"
+ ]
+ ]
+ },
+ {
+ "id": "79569ec3.085fc8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1036,
+ "y": 521.9999389648438,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "7d3a2bea.3c871c"
+ ]
+ ]
+ },
+ {
+ "id": "7d3a2bea.3c871c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation vpn policy ID\" />\n",
+ "comments": "",
+ "x": 1217,
+ "y": 519.9999389648438,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "a2fb9e2f.a93ff8",
+ "type": "set",
+ "name": "set policy entry",
+ "xml": "<set>\n<parameter name='prop.l3vpn.entry1-id' value='1' />\n<parameter name='prop.l3vpn.entry2-id' value='1' />\n\n",
+ "comments": "",
+ "x": 797,
+ "y": 566.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "f9dfb478.509fa",
+ "type": "execute",
+ "name": "execute split ac1-route",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.l3vpn.ac1-route`'/>\n<parameter name=\"regex\" value=\" ## \"/>\n<parameter name=\"ctx_memory_result_key\" value=\"route1\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2201,
+ "y": 1216.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "b38bd339.2df29",
+ "1e11b04b.0ff178"
+ ]
+ ]
+ },
+ {
+ "id": "6df47e7a.007368",
+ "type": "switchNode",
+ "name": "switch ac2_route",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_route'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1602,
+ "y": 1264.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "ee5731bf.7a59"
+ ]
+ ]
+ },
+ {
+ "id": "b0b0d932.2b92c",
+ "type": "switchNode",
+ "name": "switch ac1_route",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_route'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1603,
+ "y": 1215.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "8155aba.b3b4b58"
+ ]
+ ]
+ },
+ {
+ "id": "8155aba.b3b4b58",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1775,
+ "y": 1213.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "416ea37c.b615f4"
+ ]
+ ]
+ },
+ {
+ "id": "ee5731bf.7a59",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1788,
+ "y": 1272.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "8a2c10ff.716378"
+ ]
+ ]
+ },
+ {
+ "id": "ab97d7c6.69d6c8",
+ "type": "set",
+ "name": "set ac1_route",
+ "xml": "<set>\n<parameter name='prop.l3vpn.ac1_route' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2172,
+ "y": 1164.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "9bb53e2e.efe8e8",
+ "type": "set",
+ "name": "set ac2_route",
+ "xml": "<set>\n<parameter name='prop.l3vpn.ac2_route' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2170,
+ "y": 1264.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "35d0769.4fc008a",
+ "type": "execute",
+ "name": "execute split ac2-route",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.l3vpn.ac2-route`'/>\n<parameter name=\"regex\" value=\" ## \"/>\n<parameter name=\"ctx_memory_result_key\" value=\"route2\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2194,
+ "y": 1309.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "7c6566d5.b2a9b",
+ "90dfb534.cb1ad8"
+ ]
+ ]
+ },
+ {
+ "id": "416ea37c.b615f4",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1926,
+ "y": 1213.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "ab97d7c6.69d6c8",
+ "f9dfb478.509fa"
+ ]
+ ]
+ },
+ {
+ "id": "8a2c10ff.716378",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1927,
+ "y": 1272.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "9bb53e2e.efe8e8",
+ "35d0769.4fc008a"
+ ]
+ ]
+ },
+ {
+ "id": "fb6e4c2e.3cc6e8",
+ "type": "execute",
+ "name": "execute vrf1-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vrf1-id\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 796,
+ "y": 620,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "6687816c.51c6a"
+ ]
+ ]
+ },
+ {
+ "id": "f086eb6d.36e988",
+ "type": "execute",
+ "name": "execute vrf2-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vrf2-id\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 793.3333740234375,
+ "y": 677.333251953125,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "ef8aa3a.49722e"
+ ]
+ ]
+ },
+ {
+ "id": "ef8aa3a.49722e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1043.3333740234375,
+ "y": 683.333251953125,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "7888c7c1.9e6b28"
+ ]
+ ]
+ },
+ {
+ "id": "6687816c.51c6a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1043,
+ "y": 624.9999389648438,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "75199177.ec8fa"
+ ]
+ ]
+ },
+ {
+ "id": "75199177.ec8fa",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation vpn policy ID\" />\n",
+ "comments": "",
+ "x": 1224,
+ "y": 622.9999389648438,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "7888c7c1.9e6b28",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation vpn policy ID\" />\n",
+ "comments": "",
+ "x": 1224.3333740234375,
+ "y": 681.333251953125,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "490fa182.d51e38",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 868,
+ "y": 1066,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "f1c4e62c.acf5f",
+ "edbfaa69.4481f",
+ "660c6e65.05f44"
+ ]
+ ]
+ },
+ {
+ "id": "edbfaa69.4481f",
+ "type": "execute",
+ "name": "execute RestApiCallNode IPWAN Site Config",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smvpntemplate.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services'\"/>\n<parameter name=\"restapiUser\" value=\"$prop.sdncRestApi.thirdpartySdnc.user\"/>\n<parameter name=\"restapiPassword\" value=\"$prop.sdncRestApi.thirdpartySdnc.password\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1174,
+ "y": 1061.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "660c6e65.05f44",
+ "type": "execute",
+ "name": "execute RestApiCallNode IPWAN VRF Config",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smvpntemplate.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services'\"/>\n<parameter name=\"restapiUser\" value=\"$prop.sdncRestApi.thirdpartySdnc.user\"/>\n<parameter name=\"restapiPassword\" value=\"$prop.sdncRestApi.thirdpartySdnc.password\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1172,
+ "y": 1132.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b38bd339.2df29",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2419,
+ "y": 1208.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "91359bf2.ca7a7"
+ ]
+ ]
+ },
+ {
+ "id": "91359bf2.ca7a7",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 2600,
+ "y": 1206.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "7c6566d5.b2a9b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2417,
+ "y": 1310.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "f6d0c6a9.1391a8"
+ ]
+ ]
+ },
+ {
+ "id": "f6d0c6a9.1391a8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 2598,
+ "y": 1308.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "1e11b04b.0ff178",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2418,
+ "y": 1142.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "55f4fd6f.ed453c"
+ ]
+ ]
+ },
+ {
+ "id": "90dfb534.cb1ad8",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2414,
+ "y": 1262.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "58f0e3b1.633ccc"
+ ]
+ ]
+ },
+ {
+ "id": "55f4fd6f.ed453c",
+ "type": "set",
+ "name": "set route1 ip-prefix next-hop",
+ "xml": "<set>\n<parameter name='prop.l3vpn.sna1-route.ip-prefix' value='`$route1[0]`' />\n<parameter name='prop.l3vpn.sna1-route.next-hop' value='`$route1[1]`' />\n",
+ "comments": "",
+ "x": 2625,
+ "y": 1136.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "58f0e3b1.633ccc",
+ "type": "set",
+ "name": "set route2 ip-prefix next-hop",
+ "xml": "<set>\n<parameter name='prop.l3vpn.sna2-route.ip-prefix' value='`$route2[0]`' />\n<parameter name='prop.l3vpn.sna2-route.next-hop' value='`$route2[1]`' />",
+ "comments": "",
+ "x": 2625,
+ "y": 1255.9999694824219,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "fb5a457c.e3d938",
+ "type": "execute",
+ "name": "execute generate-underlay-network-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.network-id\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 852,
+ "y": 771,
+ "z": "afcbb687.85236",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7b0c7c0c.cadfec",
+ "type": "switchNode",
+ "name": "switch service-data.networks_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 810,
+ "y": 852,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "3f9ab1b0.ebe9de",
+ "3e9e6437.52d94c"
+ ]
+ ]
+ },
+ {
+ "id": "3f9ab1b0.ebe9de",
+ "type": "other",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1083.8095703125,
+ "y": 820.952392578125,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "29d18753.fcaf7"
+ ]
+ ]
+ },
+ {
+ "id": "3e9e6437.52d94c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1078.666748046875,
+ "y": 866.6666870117188,
+ "z": "afcbb687.85236",
+ "wires": [
+ [
+ "81dbeda3.9b8ed8"
+ ]
+ ]
+ },
+ {
+ "id": "29d18753.fcaf7",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='0' />\n",
+ "comments": "",
+ "x": 1236.8095703125,
+ "y": 820.5238037109375,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "81dbeda3.9b8ed8",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
+ "comments": "",
+ "x": 1238.2381591796875,
+ "y": 865.5238647460938,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "aec2b21c.351b48",
+ "type": "set",
+ "name": "set network in service-data",
+ "xml": "<set>\n<parameter name=\"service-data.networks.network[$nidx].network-id\" value='`$prop.l3vpn.network-id`' />\n<parameter name='service-data.networks.network[$nidx].network-data.sdnc-request-header.' value='`$network-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.request-information.' value='`$network-topology-operation-input.request-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.service-information.' value='`$network-topology-operation-input.service-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-information.' value='`$network-topology-operation-input.network-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-request-input.' value='`$network-topology-operation-input.network-request-input.`' />\n<parameter name=\"service-data.networks.network_length\" value='`$nidx+1`' />\n\n",
+ "comments": "",
+ "x": 792,
+ "y": 915,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "fd85e187.c7dde",
+ "type": "set",
+ "name": "set networkId and network-object-path",
+ "xml": "<set>\n<parameter name='networkId' value='`$prop.l3vpn.network-id`' />\n<parameter name=\"network-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.l3vpn.network-id + '/network-data/'` \" />",
+ "comments": "",
+ "x": 776,
+ "y": 1345,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "4308a2c5.6e7bac",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 691,
+ "y": 1470,
+ "z": "afcbb687.85236",
+ "wires": []
+ },
+ {
+ "id": "8381990.da591e8",
+ "type": "set",
+ "name": "set network-level-oper-status",
+ "xml": "<set>\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />",
+ "comments": "",
+ "x": 748,
+ "y": 1404,
+ "z": "afcbb687.85236",
+ "wires": []
+ }
+]