diff options
author | Gaurav Agrawal <gaurav.agrawal@huawei.com> | 2017-10-05 19:55:42 +0530 |
---|---|---|
committer | Gaurav Agrawal <gaurav.agrawal@huawei.com> | 2017-10-05 14:35:45 +0000 |
commit | a26adc924eba86198fbf91e0932023fb2f79bb0d (patch) | |
tree | 774a7d766b48e272d09c76ffca4e92fc6dc08a3c /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json | |
parent | a673f0efbde4ded7a48722aaa85b01775fb2dd95 (diff) |
Deactivate flow modification for DCI
Changes includes:
1) Save network information SDNC's MD-SAL data store
2) Send network-id & network-object-path in network-topology-operation-output
3) Deactivation based on stored network-id
Change-Id: I4498d33e9e7921e047bfe9dff8c9801153f5f5f4
Issue-Id: SDNC-113
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Former-commit-id: 4d38cecf0f03e1244ca0c605c5802632b36f3b82
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json | 1224 |
1 files changed, 696 insertions, 528 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json index 358e7ec9..bcc9e0e2 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json @@ -1,20 +1,20 @@ [ { - "id":"60145acf.ac87b4", + "id":"f677edb7.5eba9", "type":"dgstart", "name":"DGSTART", "outputs":1, - "x":105.515625, - "y":47.99999809265137, - "z":"21bf7e0.d63c382", + "x":104.66666412353516, + "y":37.99999809265137, + "z":"e7b3886.bec2e78", "wires":[ [ - "4cc0f1af.f25ba" + "bda53e34.48bcb" ] ] }, { - "id":"4cc0f1af.f25ba", + "id":"bda53e34.48bcb", "type":"service-logic", "name":"GENERIC-RESOURCE-API ${project.version}", "module":"GENERIC-RESOURCE-API", @@ -22,59 +22,59 @@ "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":322.015625, - "y":110.49999809265137, - "z":"21bf7e0.d63c382", + "x":321.16666412353516, + "y":100.49999809265137, + "z":"e7b3886.bec2e78", "wires":[ [ - "27054278.56f0ce" + "33551718.9d6058" ] ] }, { - "id":"27054278.56f0ce", + "id":"33551718.9d6058", "type":"method", "name":"method dci-connects-network-topology-operation-activate", "xml":"<method rpc='dci-connects-network-topology-operation-activate' mode='sync'>\n", "comments":"", "outputs":1, - "x":230.01565551757812, - "y":205.4999828338623, - "z":"21bf7e0.d63c382", + "x":229.16669464111328, + "y":195.4999828338623, + "z":"e7b3886.bec2e78", "wires":[ [ - "17a21e32.d066f2" + "6463cc60.4f8394" ] ] }, { - "id":"17a21e32.d066f2", + "id":"6463cc60.4f8394", "type":"block", "name":"block : atomic", "xml":"<block atomic=\"true\">", "atomic":"true", "outputs":1, - "x":527.8489685058594, - "y":213.33332633972168, - "z":"21bf7e0.d63c382", + "x":527.0000076293945, + "y":203.33332633972168, + "z":"e7b3886.bec2e78", "wires":[ [ - "c2ea2a39.349028", - "c3b857dd.cdef38", - "b122986c.ea3588" + "c7522c24.5f98b", + "102b3cb5.6d7ac3", + "2ed80a33.f4c916" ] ] }, { - "id":"c3b857dd.cdef38", + "id":"102b3cb5.6d7ac3", "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":917.8489685058594, - "y":78.33332633972168, - "z":"21bf7e0.d63c382", + "x":917.0000076293945, + "y":68.33332633972168, + "z":"e7b3886.bec2e78", "wires":[ [ @@ -82,361 +82,361 @@ ] }, { - "id":"e3e1b08f.34796", + "id":"12cc8933.03f2b7", "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\n", "comments":"", "outputs":1, - "x":1435.8492584228516, - "y":351.33338713645935, - "z":"21bf7e0.d63c382", + "x":1435.0002975463867, + "y":341.33338713645935, + "z":"e7b3886.bec2e78", "wires":[ [ - "df2d225.ad706e" + "4b519ec.f2b4b6" ] ] }, { - "id":"df2d225.ad706e", + "id":"4b519ec.f2b4b6", "type":"block", "name":"block", "xml":"<block>\n", "atomic":"false", "comments":"", "outputs":1, - "x":1682.8491668701172, - "y":349.3333566188812, - "z":"21bf7e0.d63c382", + "x":1682.0002059936523, + "y":339.3333566188812, + "z":"e7b3886.bec2e78", "wires":[ [ - "3fc9d626.fd631a", - "3af822f1.512e5e", - "ba27957d.3af2a8", - "30d85a9a.81ed46", - "96ccbb3d.e35638", - "953727e3.e65d98", - "9f4099a7.cd6818", - "ecbf5185.0a283", - "366dfe39.460be2" + "32074b80.b9a384", + "448b7ef3.fc516", + "1a7f3647.3d7caa", + "59f458ff.1d73b8", + "bb7bc8f4.498f28", + "e2d9cb00.0ed418", + "6fb6ab2c.4aa5d4", + "397d3387.a8686c", + "b90eee01.f71b" ] ] }, { - "id":"3fc9d626.fd631a", + "id":"32074b80.b9a384", "type":"switchNode", "name":"switch id", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_id'`\">\n", "comments":"", "outputs":1, - "x":2169.84952545166, - "y":225.3334732055664, - "z":"21bf7e0.d63c382", + "x":2169.0005645751953, + "y":215.3334732055664, + "z":"e7b3886.bec2e78", "wires":[ [ - "2d331fe2.47fa4" + "f708b7e0.e87648" ] ] }, { - "id":"3af822f1.512e5e", + "id":"448b7ef3.fc516", "type":"switchNode", "name":"switch description", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_description'`\">\n", "comments":"", "outputs":1, - "x":2197.84952545166, - "y":279.33345890045166, - "z":"21bf7e0.d63c382", + "x":2197.0005645751953, + "y":269.33345890045166, + "z":"e7b3886.bec2e78", "wires":[ [ - "7f98b7b2.516698" + "13b7e002.7b869" ] ] }, { - "id":"ba27957d.3af2a8", + "id":"1a7f3647.3d7caa", "type":"switchNode", "name":"switch routerId", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_routerId'`\">\n", "comments":"", "outputs":1, - "x":2186.8493118286133, - "y":410.33341884613037, - "z":"21bf7e0.d63c382", + "x":2186.0003509521484, + "y":400.33341884613037, + "z":"e7b3886.bec2e78", "wires":[ [ - "c0866b21.51b018" + "b16fc128.b108e" ] ] }, { - "id":"30d85a9a.81ed46", + "id":"59f458ff.1d73b8", "type":"switchNode", "name":"switch importRT1", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_importRT1'`\">\n", "comments":"", "outputs":1, - "x":2195.1350479125977, - "y":471.61917209625244, - "z":"21bf7e0.d63c382", + "x":2194.286087036133, + "y":461.61917209625244, + "z":"e7b3886.bec2e78", "wires":[ [ - "403c9bfb.ba9f84" + "38411baa.2cca74" ] ] }, { - "id":"96ccbb3d.e35638", + "id":"bb7bc8f4.498f28", "type":"switchNode", "name":"switch exportRT1", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_exportRT1'`\">\n", "comments":"", "outputs":1, - "x":2196.135108947754, - "y":535.6191428899765, - "z":"21bf7e0.d63c382", + "x":2195.286148071289, + "y":525.6191428899765, + "z":"e7b3886.bec2e78", "wires":[ [ - "de48d13a.91b27" + "c1464a84.f3b268" ] ] }, { - "id":"953727e3.e65d98", + "id":"e2d9cb00.0ed418", "type":"switchNode", "name":"switch vni", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_vni'`\">\n", "comments":"", "outputs":1, - "x":2167.135078430176, - "y":598.6191749572754, - "z":"21bf7e0.d63c382", + "x":2166.286117553711, + "y":588.6191749572754, + "z":"e7b3886.bec2e78", "wires":[ [ - "774440d3.26232" + "a40701ca.7f71d" ] ] }, { - "id":"2d331fe2.47fa4", + "id":"f708b7e0.e87648", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2384.84952545166, - "y":224.3334732055664, - "z":"21bf7e0.d63c382", + "x":2384.0005645751953, + "y":214.3334732055664, + "z":"e7b3886.bec2e78", "wires":[ [ - "61674644.1d0558" + "3df14e3f.ff9f42" ] ] }, { - "id":"7f98b7b2.516698", + "id":"13b7e002.7b869", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2395.84952545166, - "y":279.33345890045166, - "z":"21bf7e0.d63c382", + "x":2395.0005645751953, + "y":269.33345890045166, + "z":"e7b3886.bec2e78", "wires":[ [ - "c33f05d1.922218" + "bf6e83b1.5d5aa" ] ] }, { - "id":"c0866b21.51b018", + "id":"b16fc128.b108e", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2391.8493118286133, - "y":409.33341884613037, - "z":"21bf7e0.d63c382", + "x":2391.0003509521484, + "y":399.33341884613037, + "z":"e7b3886.bec2e78", "wires":[ [ - "f941cf94.05bbe" + "762bb1f.102ee5" ] ] }, { - "id":"403c9bfb.ba9f84", + "id":"38411baa.2cca74", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2397.1350479125977, - "y":470.61917209625244, - "z":"21bf7e0.d63c382", + "x":2396.286087036133, + "y":460.61917209625244, + "z":"e7b3886.bec2e78", "wires":[ [ - "9da05058.8cf95" + "28eacd01.75bb82" ] ] }, { - "id":"de48d13a.91b27", + "id":"c1464a84.f3b268", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2392.135108947754, - "y":532.6191428899765, - "z":"21bf7e0.d63c382", + "x":2391.286148071289, + "y":522.6191428899765, + "z":"e7b3886.bec2e78", "wires":[ [ - "7e027125.8b2a2" + "54d6710.aef549" ] ] }, { - "id":"774440d3.26232", + "id":"a40701ca.7f71d", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2373.135078430176, - "y":598.6191749572754, - "z":"21bf7e0.d63c382", + "x":2372.286117553711, + "y":588.6191749572754, + "z":"e7b3886.bec2e78", "wires":[ [ - "cecc8f2e.0ca25" + "3a8b4224.49c96e" ] ] }, { - "id":"c33f05d1.922218", + "id":"bf6e83b1.5d5aa", "type":"set", "name":"set description", "xml":"<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", "comments":"", - "x":2577.84952545166, - "y":272.33345890045166, - "z":"21bf7e0.d63c382", + "x":2577.0005645751953, + "y":262.33345890045166, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"f941cf94.05bbe", + "id":"762bb1f.102ee5", "type":"set", "name":"set router_id", "xml":"<set>\n<parameter name='prop.dci-connects.router_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", "comments":"", - "x":2582.8495330810547, - "y":402.33350563049316, - "z":"21bf7e0.d63c382", + "x":2582.00057220459, + "y":392.33350563049316, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"cecc8f2e.0ca25", + "id":"3a8b4224.49c96e", "type":"set", "name":"set vni", "xml":"<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", "comments":"", - "x":2543.135078430176, - "y":590.6191749572754, - "z":"21bf7e0.d63c382", + "x":2542.286117553711, + "y":580.6191749572754, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"c2ea2a39.349028", + "id":"c7522c24.5f98b", "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":750.1347961425781, - "y":1054.0476970672607, - "z":"21bf7e0.d63c382", + "x":749.2858352661133, + "y":1044.0476970672607, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"9f4099a7.cd6818", + "id":"6fb6ab2c.4aa5d4", "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":2181.0160598754883, - "y":166.5001049041748, - "z":"21bf7e0.d63c382", + "x":2180.1670989990234, + "y":156.5001049041748, + "z":"e7b3886.bec2e78", "wires":[ [ - "2522e46d.18fb0c" + "1239b72b.2fbef9" ] ] }, { - "id":"2522e46d.18fb0c", + "id":"1239b72b.2fbef9", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2379.0160598754883, - "y":166.5001049041748, - "z":"21bf7e0.d63c382", + "x":2378.1670989990234, + "y":156.5001049041748, + "z":"e7b3886.bec2e78", "wires":[ [ - "d80dda98.56d9c8" + "11312cce.e525f3" ] ] }, { - "id":"d80dda98.56d9c8", + "id":"11312cce.e525f3", "type":"set", "name":"set name", "xml":"<set>\n<parameter name='prop.dci-connects.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", "comments":"", - "x":2561.0160598754883, - "y":159.5001049041748, - "z":"21bf7e0.d63c382", + "x":2560.1670989990234, + "y":149.5001049041748, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"ecbf5185.0a283", + "id":"397d3387.a8686c", "type":"switchNode", "name":"switch networkName", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_networkName'`\">\n", "comments":"", "outputs":1, - "x":2204.5158462524414, - "y":345.50004482269287, - "z":"21bf7e0.d63c382", + "x":2203.6668853759766, + "y":335.50004482269287, + "z":"e7b3886.bec2e78", "wires":[ [ - "6712cfa0.6da36" + "7e8f9a77.54d324" ] ] }, { - "id":"6712cfa0.6da36", + "id":"7e8f9a77.54d324", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2402.5158462524414, - "y":345.50004482269287, - "z":"21bf7e0.d63c382", + "x":2401.6668853759766, + "y":335.50004482269287, + "z":"e7b3886.bec2e78", "wires":[ [ @@ -444,317 +444,318 @@ ] }, { - "id":"b122986c.ea3588", + "id":"2ed80a33.f4c916", "type":"block", "name":"block : execute", "xml":"<block atomic=\"true\">", "atomic":"true", "comments":"", "outputs":1, - "x":751.5155563354492, - "y":586.5000438690186, - "z":"21bf7e0.d63c382", + "x":750.6665954589844, + "y":576.5000438690186, + "z":"e7b3886.bec2e78", "wires":[ [ - "7b94a84.2093158", - "ccbd6961.d40f88" + "5080dfc0.36b37", + "eb244a6f.359e28", + "ca9b0788.7f9838" ] ] }, { - "id":"7b94a84.2093158", + "id":"5080dfc0.36b37", "type":"block", "name":"block : executeSite1", "xml":"<block atomic=\"true\">", "atomic":"true", "comments":"", "outputs":1, - "x":1044.0156173706055, - "y":411.00002002716064, - "z":"21bf7e0.d63c382", + "x":1043.1666564941406, + "y":401.00002002716064, + "z":"e7b3886.bec2e78", "wires":[ [ - "e3e1b08f.34796", - "f33269f0.940878" + "12cc8933.03f2b7", + "d400e6f0.9ebae8" ] ] }, { - "id":"ccbd6961.d40f88", + "id":"eb244a6f.359e28", "type":"block", "name":"block : executeSite2", "xml":"<block atomic=\"true\">", "atomic":"true", "comments":"", "outputs":1, - "x":1061.0156631469727, - "y":927.000002861023, - "z":"21bf7e0.d63c382", + "x":1060.1667022705078, + "y":917.000002861023, + "z":"e7b3886.bec2e78", "wires":[ [ - "51a93228.f2f0fc", - "f33269f0.940878" + "89c1aab1.7bdc58", + "d400e6f0.9ebae8" ] ] }, { - "id":"5d2180aa.de0e2", + "id":"8f3fbdf6.1304f", "type":"switchNode", "name":"switch id", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_id'`\">\n", "comments":"", "outputs":1, - "x":2155.515869140625, - "y":745.9999370574951, - "z":"21bf7e0.d63c382", + "x":2154.66690826416, + "y":735.9999370574951, + "z":"e7b3886.bec2e78", "wires":[ [ - "bbb36af3.4b5978" + "a436316f.11b39" ] ] }, { - "id":"e3115059.5fca5", + "id":"87844c42.b36e3", "type":"switchNode", "name":"switch description", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_description'`\">\n", "comments":"", "outputs":1, - "x":2179.5162200927734, - "y":804.9999437332153, - "z":"21bf7e0.d63c382", + "x":2178.6672592163086, + "y":794.9999437332153, + "z":"e7b3886.bec2e78", "wires":[ [ - "b4f95f29.48041", - "50452acf.501864" + "bf81b94b.2f55a8", + "18114475.1855ec" ] ] }, { - "id":"533af772.c3eac8", + "id":"bb073e87.caa3e", "type":"switchNode", "name":"switch routerId", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_routerId'`\">\n", "comments":"", "outputs":1, - "x":2188.515609741211, - "y":1000.9999094009399, - "z":"21bf7e0.d63c382", + "x":2187.666648864746, + "y":990.9999094009399, + "z":"e7b3886.bec2e78", "wires":[ [ - "6a04a362.a162ec" + "96a4190f.73e698" ] ] }, { - "id":"e72b1110.d4d6e", + "id":"e9a9b37b.df96d", "type":"switchNode", "name":"switch importRT1", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_importRT1'`\">\n", "comments":"", "outputs":1, - "x":2196.8013458251953, - "y":1062.285662651062, - "z":"21bf7e0.d63c382", + "x":2195.9523849487305, + "y":1052.285662651062, + "z":"e7b3886.bec2e78", "wires":[ [ - "c14e7e52.9dfca" + "7988286f.daa4d8" ] ] }, { - "id":"32c0b542.9e397a", + "id":"d05e00bd.4bb1d", "type":"switchNode", "name":"switch exportRT1", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_exportRT1'`\">\n", "comments":"", "outputs":1, - "x":2197.8014068603516, - "y":1126.285633444786, - "z":"21bf7e0.d63c382", + "x":2196.9524459838867, + "y":1116.285633444786, + "z":"e7b3886.bec2e78", "wires":[ [ - "b21aa554.501138" + "4feb1f47.56d31" ] ] }, { - "id":"759ab28f.fe025c", + "id":"50846ae9.b3bb24", "type":"switchNode", "name":"switch vni", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_vni'`\">\n", "comments":"", "outputs":1, - "x":2168.8013763427734, - "y":1189.285665512085, - "z":"21bf7e0.d63c382", + "x":2167.9524154663086, + "y":1179.285665512085, + "z":"e7b3886.bec2e78", "wires":[ [ - "f68ec5ed.0e6888" + "1c48672.500ee99" ] ] }, { - "id":"bbb36af3.4b5978", + "id":"a436316f.11b39", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2370.515869140625, - "y":744.9999370574951, - "z":"21bf7e0.d63c382", + "x":2369.66690826416, + "y":734.9999370574951, + "z":"e7b3886.bec2e78", "wires":[ [ - "3b9d92a0.561cce" + "a9738af0.3c8338" ] ] }, { - "id":"b4f95f29.48041", + "id":"bf81b94b.2f55a8", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2377.5162200927734, - "y":804.9999437332153, - "z":"21bf7e0.d63c382", + "x":2376.6672592163086, + "y":794.9999437332153, + "z":"e7b3886.bec2e78", "wires":[ [ - "862e157b.103688" + "b34bd5d.abbf728" ] ] }, { - "id":"6a04a362.a162ec", + "id":"96a4190f.73e698", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2393.515609741211, - "y":999.9999094009399, - "z":"21bf7e0.d63c382", + "x":2392.666648864746, + "y":989.9999094009399, + "z":"e7b3886.bec2e78", "wires":[ [ - "6295c05a.7d32" + "74df6953.989bb8" ] ] }, { - "id":"c14e7e52.9dfca", + "id":"7988286f.daa4d8", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2398.8013458251953, - "y":1061.285662651062, - "z":"21bf7e0.d63c382", + "x":2397.9523849487305, + "y":1051.285662651062, + "z":"e7b3886.bec2e78", "wires":[ [ - "6bd3101.b6ac7f" + "87fc0003.1c83" ] ] }, { - "id":"b21aa554.501138", + "id":"4feb1f47.56d31", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2393.8014068603516, - "y":1123.285633444786, - "z":"21bf7e0.d63c382", + "x":2392.9524459838867, + "y":1113.285633444786, + "z":"e7b3886.bec2e78", "wires":[ [ - "353fa61f.c112fa" + "e1b1c41e.20d598" ] ] }, { - "id":"f68ec5ed.0e6888", + "id":"1c48672.500ee99", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2374.8013763427734, - "y":1189.285665512085, - "z":"21bf7e0.d63c382", + "x":2373.9524154663086, + "y":1179.285665512085, + "z":"e7b3886.bec2e78", "wires":[ [ - "5f4e48ea.1a8f68" + "b4378fb6.33ce7" ] ] }, { - "id":"862e157b.103688", + "id":"b34bd5d.abbf728", "type":"set", "name":"set description", "xml":"<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", "comments":"", - "x":2559.5162200927734, - "y":797.9999437332153, - "z":"21bf7e0.d63c382", + "x":2558.6672592163086, + "y":787.9999437332153, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"6295c05a.7d32", + "id":"74df6953.989bb8", "type":"set", "name":"set router_id", "xml":"<set>\n<parameter name='prop.dci-connects.router_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", "comments":"", - "x":2584.5158309936523, - "y":992.9999961853027, - "z":"21bf7e0.d63c382", + "x":2583.6668701171875, + "y":982.9999961853027, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"5f4e48ea.1a8f68", + "id":"b4378fb6.33ce7", "type":"set", "name":"set vni", "xml":"<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", "comments":"", - "x":2544.8013763427734, - "y":1181.285665512085, - "z":"21bf7e0.d63c382", + "x":2543.9524154663086, + "y":1171.285665512085, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"32050113.af315e", + "id":"d2d84b28.6524b8", "type":"switchNode", "name":"switch networkName", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_networkName'`\">\n", "comments":"", "outputs":1, - "x":2206.182144165039, - "y":936.1665353775024, - "z":"21bf7e0.d63c382", + "x":2205.333183288574, + "y":926.1665353775024, + "z":"e7b3886.bec2e78", "wires":[ [ - "ad14e7c.2778e18" + "2e52c3b.1c3fa3c" ] ] }, { - "id":"ad14e7c.2778e18", + "id":"2e52c3b.1c3fa3c", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2404.182144165039, - "y":936.1665353775024, - "z":"21bf7e0.d63c382", + "x":2403.333183288574, + "y":926.1665353775024, + "z":"e7b3886.bec2e78", "wires":[ [ @@ -762,131 +763,132 @@ ] }, { - "id":"4a12c766.428fe8", + "id":"ebb3dc82.63277", "type":"block", "name":"block", "xml":"<block>\n", "atomic":"false", "comments":"", "outputs":1, - "x":1674.5153198242188, - "y":867.9998948574066, - "z":"21bf7e0.d63c382", + "x":1673.666358947754, + "y":857.9998948574066, + "z":"e7b3886.bec2e78", "wires":[ [ - "5d2180aa.de0e2", - "e3115059.5fca5", - "533af772.c3eac8", - "e72b1110.d4d6e", - "32c0b542.9e397a", - "759ab28f.fe025c", - "32050113.af315e" + "8f3fbdf6.1304f", + "87844c42.b36e3", + "bb073e87.caa3e", + "e9a9b37b.df96d", + "d05e00bd.4bb1d", + "50846ae9.b3bb24", + "d2d84b28.6524b8" ] ] }, { - "id":"51a93228.f2f0fc", + "id":"89c1aab1.7bdc58", "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\n", "comments":"", "outputs":1, - "x":1427.5154113769531, - "y":869.9999253749847, - "z":"21bf7e0.d63c382", + "x":1426.6664505004883, + "y":859.9999253749847, + "z":"e7b3886.bec2e78", "wires":[ [ - "4a12c766.428fe8" + "ebb3dc82.63277" ] ] }, { - "id":"61674644.1d0558", + "id":"3df14e3f.ff9f42", "type":"set", "name":"set id", "xml":"<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", "comments":"", - "x":2566.5159072875977, - "y":218.0000228881836, - "z":"21bf7e0.d63c382", + "x":2565.666946411133, + "y":208.0000228881836, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"366dfe39.460be2", + "id":"b90eee01.f71b", "type":"switchNode", "name":"switch tunnelType", "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'tunnelType'`\">\n", "comments":"", "outputs":1, - "x":2186.015625, - "y":667.9999370574951, - "z":"21bf7e0.d63c382", + "x":2185.166664123535, + "y":657.9999370574951, + "z":"e7b3886.bec2e78", "wires":[ [ - "8e0c82ca.7fa6" + "49421593.ccc6fc" ] ] }, { - "id":"8e0c82ca.7fa6", + "id":"49421593.ccc6fc", "type":"outcomeTrue", "name":"true", "xml":"<outcome value='true'>\n", "comments":"", "outputs":1, - "x":2392.015625, - "y":667.9999370574951, - "z":"21bf7e0.d63c382", + "x":2391.166664123535, + "y":657.9999370574951, + "z":"e7b3886.bec2e78", "wires":[ [ - "731815b1.9879ac" + "85008c2f.e9768" ] ] }, { - "id":"731815b1.9879ac", + "id":"85008c2f.e9768", "type":"set", "name":"set tunnelType", "xml":"<set>\n<parameter name='prop.dci-connects.tunnelType' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", "comments":"", - "x":2562.015625, - "y":659.9999370574951, - "z":"21bf7e0.d63c382", + "x":2561.166664123535, + "y":649.9999370574951, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"f33269f0.940878", + "id":"d400e6f0.9ebae8", "type":"block", "name":"block : sendRequest", "xml":"<block atomic=\"true\">", "atomic":"true", "comments":"", "outputs":1, - "x":1340.0156440734863, - "y":1427.499942779541, - "z":"21bf7e0.d63c382", + "x":1339.1666831970215, + "y":1417.499942779541, + "z":"e7b3886.bec2e78", "wires":[ [ - "8a66fbcb.3a6538", - "a01675f7.06ee28", - "49f34f09.e59ea" + "4b5b64db.a6e31c", + "67106fe7.87d3f", + "e15d1e8.e713be", + "51ee7ac2.7dbfe4" ] ] }, { - "id":"8f288c1f.2ee81", + "id":"b9168ed9.b3a7b", "type":"execute", "name":"execute RestApiCallNode Activate Vxlan Tunnel", "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3-dci-connects-template.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l3-dci-connects'\"/>\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\"/>\n", "comments":"", "outputs":1, - "x":2148.0159187316895, - "y":1490.4998979568481, - "z":"21bf7e0.d63c382", + "x":2147.1669578552246, + "y":1480.4998979568481, + "z":"e7b3886.bec2e78", "wires":[ [ @@ -894,64 +896,64 @@ ] }, { - "id":"d32d9795.7e3d68", + "id":"b0137d76.ad7a2", "type":"success", "name":"success", "xml":"<outcome value='success'>\n", "comments":"", "outputs":1, - "x":1833.5154113769531, - "y":1279.4994621276855, - "z":"21bf7e0.d63c382", + "x":1825.6666412353516, + "y":1188.4995296001434, + "z":"e7b3886.bec2e78", "wires":[ [ - "2e0abdec.6b6a72" + "e0b0e9e7.f874b8" ] ] }, { - "id":"37a4ea9c.c89576", + "id":"a03a0ce7.9531c", "type":"not-found", "name":"not-found", "xml":"<outcome value='not-found'>\n", "comments":"", "outputs":1, - "x":1840.5154113769531, - "y":1317.4994621276855, - "z":"21bf7e0.d63c382", + "x":1832.6666412353516, + "y":1226.4995296001434, + "z":"e7b3886.bec2e78", "wires":[ [ - "b76645eb.106e38" + "fa707742.d53878" ] ] }, { - "id":"6bb7a3cb.5c930c", + "id":"818bf049.9d8d8", "type":"other", "name":"other", "xml":"<outcome value='Other'>\n", "comments":"", "outputs":1, - "x":1832.5154113769531, - "y":1359.4994621276855, - "z":"21bf7e0.d63c382", + "x":1824.6666412353516, + "y":1268.4995296001434, + "z":"e7b3886.bec2e78", "wires":[ [ - "db6ca063.b0c74" + "d591067c.05c108" ] ] }, { - "id":"2e0abdec.6b6a72", + "id":"e0b0e9e7.f874b8", "type":"block", "name":"block : atomic", "xml":"<block atomic=\"true\">\n", "atomic":"false", "comments":"", "outputs":1, - "x":1998.5154113769531, - "y":1268.4994621276855, - "z":"21bf7e0.d63c382", + "x":1990.6666412353516, + "y":1177.4995296001434, + "z":"e7b3886.bec2e78", "wires":[ [ @@ -959,134 +961,134 @@ ] }, { - "id":"b76645eb.106e38", + "id":"fa707742.d53878", "type":"returnFailure", "name":"return failure", "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n", "comments":"", - "x":1997.5154113769531, - "y":1321.4994621276855, - "z":"21bf7e0.d63c382", + "x":1989.6666412353516, + "y":1230.4995296001434, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"db6ca063.b0c74", + "id":"d591067c.05c108", "type":"returnFailure", "name":"return failure", "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n", "comments":"", - "x":1990.5154113769531, - "y":1368.4994621276855, - "z":"21bf7e0.d63c382", + "x":1982.6666412353516, + "y":1277.4995296001434, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"8a66fbcb.3a6538", + "id":"4b5b64db.a6e31c", "type":"get-resource", - "name":"get-resource dci-connects", + "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 = $prop.dci-connects.id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n", "comments":"", "outputs":1, - "x":1645.5155334472656, - "y":1326.4994812011719, - "z":"21bf7e0.d63c382", + "x":1637.666763305664, + "y":1235.4995486736298, + "z":"e7b3886.bec2e78", "wires":[ [ - "d32d9795.7e3d68", - "37a4ea9c.c89576", - "6bb7a3cb.5c930c" + "b0137d76.ad7a2", + "a03a0ce7.9531c", + "818bf049.9d8d8" ] ] }, { - "id":"a01675f7.06ee28", + "id":"67106fe7.87d3f", "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\n", "comments":"", - "x":1617.0153846740723, - "y":1427.9994354248047, - "z":"21bf7e0.d63c382", + "x":1609.1666145324707, + "y":1336.9995028972626, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"49f34f09.e59ea", + "id":"e15d1e8.e713be", "type":"switchNode", "name":"switch tunnelType", "xml":"<switch test=\"`$prop.dci-connects.tunnelType`\">\n", "comments":"", "outputs":1, - "x":1611.0153770446777, - "y":1514.9994087219238, - "z":"21bf7e0.d63c382", + "x":1610.166416168213, + "y":1504.9994087219238, + "z":"e7b3886.bec2e78", "wires":[ [ - "72c21633.697888", - "bc6148.3fa8ceb8" + "a7d6c612.d263a8", + "d5e95c68.c598e" ] ] }, { - "id":"72c21633.697888", + "id":"a7d6c612.d263a8", "type":"outcomeTrue", "name":"L3-DCI", "xml":"<outcome value='L3-DCI'>\n", "comments":"", "outputs":1, - "x":1824.0155067443848, - "y":1494.9994087219238, - "z":"21bf7e0.d63c382", + "x":1823.16654586792, + "y":1484.9994087219238, + "z":"e7b3886.bec2e78", "wires":[ [ - "8f288c1f.2ee81" + "b9168ed9.b3a7b" ] ] }, { - "id":"bc6148.3fa8ceb8", + "id":"d5e95c68.c598e", "type":"outcomeTrue", "name":"L2-DCI", "xml":"<outcome value='L2-DCI'>\n", "comments":"", "outputs":1, - "x":1822.0153274536133, - "y":1566.9994087219238, - "z":"21bf7e0.d63c382", + "x":1821.1663665771484, + "y":1556.9994087219238, + "z":"e7b3886.bec2e78", "wires":[ [ - "18b936e.7133ac9" + "6cf6d77.8f1d028" ] ] }, { - "id":"3b9d92a0.561cce", + "id":"a9738af0.3c8338", "type":"set", "name":"set id", "xml":"<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", "comments":"", - "x":2544.515842437744, - "y":739.9999895095825, - "z":"21bf7e0.d63c382", + "x":2543.6668815612793, + "y":729.9999895095825, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"18b936e.7133ac9", + "id":"6cf6d77.8f1d028", "type":"execute", "name":"execute RestApiCallNode Activate Vxlan Tunnel", "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l2-dci-connects-template.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l2-dci-connects'\"/>\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\"/>\n", "comments":"", "outputs":1, - "x":2142.0158729553223, - "y":1567.499834060669, - "z":"21bf7e0.d63c382", + "x":2141.1669120788574, + "y":1557.499834060669, + "z":"e7b3886.bec2e78", "wires":[ [ @@ -1094,557 +1096,723 @@ ] }, { - "id":"50452acf.501864", + "id":"18114475.1855ec", "type":"outcomeTrue", "name":"false", "xml":"<outcome value='false'>\n", "comments":"", "outputs":1, - "x":2376.015800476074, - "y":863.9999732971191, - "z":"21bf7e0.d63c382", + "x":2375.1668395996094, + "y":853.9999732971191, + "z":"e7b3886.bec2e78", "wires":[ [ - "558a5beb.808c64" + "3f1b8826.009518" ] ] }, { - "id":"558a5beb.808c64", + "id":"3f1b8826.009518", "type":"set", "name":"set description", "xml":"<set>\n<parameter name='prop.dci-connects.description' value='' />\n", "comments":"", - "x":2557.015869140625, - "y":858.9999141693115, - "z":"21bf7e0.d63c382", + "x":2556.16690826416, + "y":848.9999141693115, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"9da05058.8cf95", + "id":"28eacd01.75bb82", "type":"block", "name":"block setEvpnIrts", "xml":"<block atomic=\"true\">\n", "atomic":"false", "comments":"", "outputs":1, - "x":2579.015380859375, - "y":472.5155944824219, - "z":"21bf7e0.d63c382", + "x":2578.16641998291, + "y":462.5155944824219, + "z":"e7b3886.bec2e78", "wires":[ [ - "f59be47.2245a18", - "6fceca00.0b0b48" + "bb1cdbdd.2fff28", + "4cd550f9.8750a" ] ] }, { - "id":"f59be47.2245a18", + "id":"bb1cdbdd.2fff28", "type":"set", "name":"set evpn_irts", "xml":"<set>\n<parameter name='tmp.dci-connects.evpn_irts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", "comments":"", - "x":2825.015380859375, - "y":423.5155944824219, - "z":"21bf7e0.d63c382", + "x":2824.16641998291, + "y":413.5155944824219, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"6fceca00.0b0b48", + "id":"4cd550f9.8750a", "type":"execute", "name":"split evpn_irts", "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_irts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_irts\"/>\n", "comments":"", "outputs":1, - "x":2854.015380859375, - "y":475.5155944824219, - "z":"21bf7e0.d63c382", + "x":2853.16641998291, + "y":465.5155944824219, + "z":"e7b3886.bec2e78", "wires":[ [ - "8ac2a412.2bc7d8", - "f06f6320.a3ba5" + "599d2ef7.cc6f5", + "24f186e1.e961aa" ] ] }, { - "id":"f06f6320.a3ba5", + "id":"24f186e1.e961aa", "type":"failure", "name":"success", "xml":"<outcome value='success'>\n", "comments":"", "outputs":1, - "x":3071.015380859375, - "y":401.5155944824219, - "z":"21bf7e0.d63c382", + "x":3070.16641998291, + "y":391.5155944824219, + "z":"e7b3886.bec2e78", "wires":[ [ - "a6b39033.8c77c" + "d3a490a1.86ec7" ] ] }, { - "id":"8ac2a412.2bc7d8", + "id":"599d2ef7.cc6f5", "type":"failure", "name":"failure", "xml":"<outcome value='failure'>\n", "comments":"", "outputs":1, - "x":3072.015380859375, - "y":467.5155944824219, - "z":"21bf7e0.d63c382", + "x":3071.16641998291, + "y":457.5155944824219, + "z":"e7b3886.bec2e78", "wires":[ [ - "d4181347.bc95d" + "9d1496cd.6b6838" ] ] }, { - "id":"d4181347.bc95d", + "id":"9d1496cd.6b6838", "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":3253.015380859375, - "y":465.5155944824219, - "z":"21bf7e0.d63c382", + "x":3252.16641998291, + "y":455.5155944824219, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"d183f400.b7c7a8", + "id":"be04370c.90ae38", "type":"set", "name":"set evpn_erts", "xml":"<set>\n<parameter name='tmp.dci-connects.evpn_erts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", "comments":"", - "x":2821.515380859375, - "y":566.015625, - "z":"21bf7e0.d63c382", + "x":2820.66641998291, + "y":556.015625, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"862ad334.4820a", + "id":"46236baf.ee4334", "type":"execute", "name":"split evpn_erts", "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_erts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_erts\"/>\n", "comments":"", "outputs":1, - "x":2850.515380859375, - "y":618.015625, - "z":"21bf7e0.d63c382", + "x":2849.66641998291, + "y":608.015625, + "z":"e7b3886.bec2e78", "wires":[ [ - "c7841794.4a1558", - "96021a8.e493ee8" + "50db2b4d.65c564", + "3f72e979.616c26" ] ] }, { - "id":"96021a8.e493ee8", + "id":"3f72e979.616c26", "type":"failure", "name":"success", "xml":"<outcome value='success'>\n", "comments":"", "outputs":1, - "x":3067.515380859375, - "y":544.015625, - "z":"21bf7e0.d63c382", + "x":3066.66641998291, + "y":534.015625, + "z":"e7b3886.bec2e78", "wires":[ [ - "767a44c9.83ddec" + "33c6d394.335a0c" ] ] }, { - "id":"c7841794.4a1558", + "id":"50db2b4d.65c564", "type":"failure", "name":"failure", "xml":"<outcome value='failure'>\n", "comments":"", "outputs":1, - "x":3068.515380859375, - "y":610.015625, - "z":"21bf7e0.d63c382", + "x":3067.66641998291, + "y":600.015625, + "z":"e7b3886.bec2e78", "wires":[ [ - "f4c642e1.daf09" + "dd7bbc95.f451" ] ] }, { - "id":"f4c642e1.daf09", + "id":"dd7bbc95.f451", "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":3249.515380859375, - "y":608.015625, - "z":"21bf7e0.d63c382", + "x":3248.66641998291, + "y":598.015625, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"7e027125.8b2a2", + "id":"54d6710.aef549", "type":"block", "name":"block setEvpnErts", "xml":"<block atomic=\"true\">\n", "atomic":"false", "comments":"", "outputs":1, - "x":2572.5152740478516, - "y":528.015682220459, - "z":"21bf7e0.d63c382", + "x":2571.6663131713867, + "y":518.015682220459, + "z":"e7b3886.bec2e78", "wires":[ [ - "d183f400.b7c7a8", - "862ad334.4820a" + "be04370c.90ae38", + "46236baf.ee4334" ] ] }, { - "id":"a6b39033.8c77c", + "id":"d3a490a1.86ec7", "type":"for", "name":"for each evpn_irts", "xml":"<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n", "comments":"", "outputs":1, - "x":3273.5155448913574, - "y":401.01563453674316, - "z":"21bf7e0.d63c382", + "x":3272.6665840148926, + "y":391.01563453674316, + "z":"e7b3886.bec2e78", "wires":[ [ - "7a255963.a19a48" + "5cb80f19.64eda" ] ] }, { - "id":"7a255963.a19a48", + "id":"5cb80f19.64eda", "type":"set", "name":"set evpn_irt", "xml":"<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n", "comments":"", - "x":3485.5160369873047, - "y":401.0157871246338, - "z":"21bf7e0.d63c382", + "x":3484.66707611084, + "y":391.0157871246338, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"767a44c9.83ddec", + "id":"33c6d394.335a0c", "type":"for", "name":"for each evpn_erts", "xml":"<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n", "comments":"", "outputs":1, - "x":3267.015380859375, - "y":540.015625, - "z":"21bf7e0.d63c382", + "x":3266.16641998291, + "y":530.015625, + "z":"e7b3886.bec2e78", "wires":[ [ - "ad045a9b.36e458" + "64b16cdb.c226f4" ] ] }, { - "id":"ad045a9b.36e458", + "id":"64b16cdb.c226f4", "type":"set", "name":"set evpn_ert", "xml":"<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n", "comments":"", - "x":3479.0158729553223, - "y":540.0157775878906, - "z":"21bf7e0.d63c382", + "x":3478.1669120788574, + "y":530.0157775878906, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"e67e9dd7.989e2", + "id":"de4c08e4.779ef8", "type":"set", "name":"set evpn_irts", "xml":"<set>\n<parameter name='tmp.dci-connects.evpn_irts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", "comments":"", - "x":2838.015380859375, - "y":1006.5155639648438, - "z":"21bf7e0.d63c382", + "x":2837.16641998291, + "y":996.5155639648438, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"e44ee888.917218", + "id":"afa52494.436008", "type":"execute", "name":"split evpn_irts", "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_irts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_irts\"/>\n", "comments":"", "outputs":1, - "x":2867.015380859375, - "y":1058.5155639648438, - "z":"21bf7e0.d63c382", + "x":2866.16641998291, + "y":1048.5155639648438, + "z":"e7b3886.bec2e78", "wires":[ [ - "b3fb0522.2e1138", - "2f16c983.f313c6" + "a2faa92a.6d34c8", + "99a5d2ac.70d4e" ] ] }, { - "id":"2f16c983.f313c6", + "id":"99a5d2ac.70d4e", "type":"failure", "name":"success", "xml":"<outcome value='success'>\n", "comments":"", "outputs":1, - "x":3084.015380859375, - "y":984.5155639648438, - "z":"21bf7e0.d63c382", + "x":3083.16641998291, + "y":974.5155639648438, + "z":"e7b3886.bec2e78", "wires":[ [ - "79319086.b2f45" + "3a5f097c.aa4b76" ] ] }, { - "id":"b3fb0522.2e1138", + "id":"a2faa92a.6d34c8", "type":"failure", "name":"failure", "xml":"<outcome value='failure'>\n", "comments":"", "outputs":1, - "x":3085.015380859375, - "y":1050.5155639648438, - "z":"21bf7e0.d63c382", + "x":3084.16641998291, + "y":1040.5155639648438, + "z":"e7b3886.bec2e78", "wires":[ [ - "3e085d66.84c402" + "e3c3ecd1.1d3de" ] ] }, { - "id":"3e085d66.84c402", + "id":"e3c3ecd1.1d3de", "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":3266.015380859375, - "y":1048.5155639648438, - "z":"21bf7e0.d63c382", + "x":3265.16641998291, + "y":1038.5155639648438, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"bfc1728b.da05d", + "id":"4838fe79.9c15c", "type":"set", "name":"set evpn_erts", "xml":"<set>\n<parameter name='tmp.dci-connects.evpn_erts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n", "comments":"", - "x":2834.515380859375, - "y":1149.0155944824219, - "z":"21bf7e0.d63c382", + "x":2833.66641998291, + "y":1139.0155944824219, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"72d8e223.d0b3fc", + "id":"498325c5.0baffc", "type":"execute", "name":"split evpn_erts", "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_erts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_erts\"/>\n", "comments":"", "outputs":1, - "x":2863.515380859375, - "y":1201.0155944824219, - "z":"21bf7e0.d63c382", + "x":2862.66641998291, + "y":1191.0155944824219, + "z":"e7b3886.bec2e78", "wires":[ [ - "3bac7268.6214de", - "1921e77b.b9d069" + "252779ac.34f776", + "c60af97c.26e9a8" ] ] }, { - "id":"1921e77b.b9d069", + "id":"c60af97c.26e9a8", "type":"failure", "name":"success", "xml":"<outcome value='success'>\n", "comments":"", "outputs":1, - "x":3080.515380859375, - "y":1127.0155944824219, - "z":"21bf7e0.d63c382", + "x":3079.66641998291, + "y":1117.0155944824219, + "z":"e7b3886.bec2e78", "wires":[ [ - "596b6eff.51d1d" + "d01a6ff.a639b9" ] ] }, { - "id":"3bac7268.6214de", + "id":"252779ac.34f776", "type":"failure", "name":"failure", "xml":"<outcome value='failure'>\n", "comments":"", "outputs":1, - "x":3081.515380859375, - "y":1193.0155944824219, - "z":"21bf7e0.d63c382", + "x":3080.66641998291, + "y":1183.0155944824219, + "z":"e7b3886.bec2e78", "wires":[ [ - "a3151092.f6bfe" + "99152285.4b98e" ] ] }, { - "id":"a3151092.f6bfe", + "id":"99152285.4b98e", "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":3262.515380859375, - "y":1191.0155944824219, - "z":"21bf7e0.d63c382", + "x":3261.66641998291, + "y":1181.0155944824219, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"79319086.b2f45", + "id":"3a5f097c.aa4b76", "type":"for", "name":"for each evpn_irts", "xml":"<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n", "comments":"", "outputs":1, - "x":3286.5155448913574, - "y":984.015604019165, - "z":"21bf7e0.d63c382", + "x":3285.6665840148926, + "y":974.015604019165, + "z":"e7b3886.bec2e78", "wires":[ [ - "4e2f2b2d.1c3bc4" + "c7718a98.e04308" ] ] }, { - "id":"4e2f2b2d.1c3bc4", + "id":"c7718a98.e04308", "type":"set", "name":"set evpn_irt", "xml":"<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n", "comments":"", - "x":3498.5160369873047, - "y":984.0157566070557, - "z":"21bf7e0.d63c382", + "x":3497.66707611084, + "y":974.0157566070557, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"596b6eff.51d1d", + "id":"d01a6ff.a639b9", "type":"for", "name":"for each evpn_erts", "xml":"<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n", "comments":"", "outputs":1, - "x":3280.015380859375, - "y":1123.0155944824219, - "z":"21bf7e0.d63c382", + "x":3279.16641998291, + "y":1113.0155944824219, + "z":"e7b3886.bec2e78", "wires":[ [ - "e02fb530.a62c28" + "980d219f.1cb96" ] ] }, { - "id":"e02fb530.a62c28", + "id":"980d219f.1cb96", "type":"set", "name":"set evpn_ert", "xml":"<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n", "comments":"", - "x":3492.0158729553223, - "y":1123.0157470703125, - "z":"21bf7e0.d63c382", + "x":3491.1669120788574, + "y":1113.0157470703125, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"6bd3101.b6ac7f", + "id":"87fc0003.1c83", "type":"block", "name":"block setEvpnIrts", "xml":"<block atomic=\"true\">\n", "atomic":"false", "comments":"", "outputs":1, - "x":2592.015380859375, - "y":1055.5155639648438, - "z":"21bf7e0.d63c382", + "x":2591.16641998291, + "y":1045.5155639648438, + "z":"e7b3886.bec2e78", "wires":[ [ - "e67e9dd7.989e2", - "e44ee888.917218" + "de4c08e4.779ef8", + "afa52494.436008" ] ] }, { - "id":"353fa61f.c112fa", + "id":"e1b1c41e.20d598", "type":"block", "name":"block setEvpnErts", "xml":"<block atomic=\"true\">\n", "atomic":"false", "comments":"", "outputs":1, - "x":2585.5152740478516, - "y":1111.0156517028809, - "z":"21bf7e0.d63c382", + "x":2584.6663131713867, + "y":1101.0156517028809, + "z":"e7b3886.bec2e78", "wires":[ [ - "bfc1728b.da05d", - "72d8e223.d0b3fc" + "4838fe79.9c15c", + "498325c5.0baffc" ] ] }, { - "id":"f8d5754b.bd5668", + "id":"f43e6d50.f002a", "type":"comment", "name":"TODO", "info":"Get information from VFC team about the A&AI location where name to network mapping will be available.", "comments":"", - "x":2567.0156326293945, - "y":340.51564025878906, - "z":"21bf7e0.d63c382", + "x":2566.1666717529297, + "y":330.51564025878906, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"6f5c1ca1.701f84", + "id":"29cdd210.569a2e", "type":"comment", "name":"TODO", "info":"Store activated network information in A&AI", "comments":"", - "x":723.515625, - "y":980.0155639648438, - "z":"21bf7e0.d63c382", + "x":722.6666641235352, + "y":970.0155639648438, + "z":"e7b3886.bec2e78", "wires":[ ] }, { - "id":"30786a9a.007f16", + "id":"c1da1447.655188", "type":"comment", "name":"TODO", "info":"Get information from VFC team about teh A&AI location where name to network mapping will be available.", "comments":"", - "x":2553.515380859375, - "y":933.5155639648438, - "z":"21bf7e0.d63c382", + "x":2552.66641998291, + "y":923.5155639648438, + "z":"e7b3886.bec2e78", + "wires":[ + + ] + }, + { + "id":"e2902d00.271b2", + "type":"execute", + "name":"execute generate-overlay-network-id", + "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.dci.network-id\"/>\n", + "comments":"", + "outputs":1, + "x":1396.3333740234375, + "y":1581.333426475525, + "z":"e7b3886.bec2e78", + "wires":[ + [ + + ] + ] + }, + { + "id":"ae44dcc.ae6882", + "type":"switchNode", + "name":"switch service-data.networks_length", + "xml":"<switch test='`$service-data.networks.network_length`'>\n", + "comments":"", + "outputs":1, + "x":1388.3333892822266, + "y":1651.3334327936172, + "z":"e7b3886.bec2e78", + "wires":[ + [ + "6472b37e.9743dc", + "63aa7013.b8d94" + ] + ] + }, + { + "id":"6472b37e.9743dc", + "type":"other", + "name":"Null", + "xml":"<outcome value=''>\n", + "comments":"", + "outputs":1, + "x":1662.1429595947266, + "y":1620.2858253717422, + "z":"e7b3886.bec2e78", + "wires":[ + [ + "4d01bada.4b4734" + ] + ] + }, + { + "id":"63aa7013.b8d94", + "type":"other", + "name":"other", + "xml":"<outcome value='Other'>\n", + "comments":"", + "outputs":1, + "x":1657.0001373291016, + "y":1666.000119805336, + "z":"e7b3886.bec2e78", + "wires":[ + [ + "329b5d96.16d152" + ] + ] + }, + { + "id":"4d01bada.4b4734", + "type":"set", + "name":"set nidx", + "xml":"<set>\n<parameter name='nidx' value='0' />\n", + "comments":"", + "x":1815.1429595947266, + "y":1619.8572365045547, + "z":"e7b3886.bec2e78", + "wires":[ + + ] + }, + { + "id":"329b5d96.16d152", + "type":"set", + "name":"set nidx", + "xml":"<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n", + "comments":"", + "x":1816.571548461914, + "y":1664.857297539711, + "z":"e7b3886.bec2e78", + "wires":[ + + ] + }, + { + "id":"54770b17.566f04", + "type":"set", + "name":"set network in service-data", + "xml":"<set>\n<parameter name=\"service-data.networks.network[$nidx].network-id\" value='`$prop.dci.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<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`' />\n\n\n", + "comments":"", + "x":1360.3333740234375, + "y":1723.3334350585938, + "z":"e7b3886.bec2e78", + "wires":[ + + ] + }, + { + "id":"ca9b0788.7f9838", + "type":"block", + "name":"block : saveNetworkData", + "xml":"<block atomic=\"true\">", + "atomic":"true", + "comments":"", + "outputs":1, + "x":1056.6666259765625, + "y":1562.6666259765625, + "z":"e7b3886.bec2e78", + "wires":[ + [ + "e2902d00.271b2", + "ae44dcc.ae6882", + "54770b17.566f04", + "c62b5ead.36429" + ] + ] + }, + { + "id":"c62b5ead.36429", + "type":"set", + "name":"set networkId and network-object-path", + "xml":"<set>\n<parameter name='networkId' value='`$prop.dci.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.dci.network-id + '/network-data/'` \" />", + "comments":"", + "x":1392.6666259765625, + "y":1793, + "z":"e7b3886.bec2e78", + "wires":[ + + ] + }, + { + "id":"51ee7ac2.7dbfe4", + "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=\"dci-network-topology-operation-activate\"/>\n<parameter name=\"field3\" value=\"dci-connects.name\"/>\n<parameter name=\"field4\" value=\"$prop.dci-connects.name\" />\n<parameter name=\"field5\" value=\"dci-connects.id\"/>\n<parameter name=\"field6\" value=\"`$prop.dci-connects.id`\"/>\n<parameter name=\"field7\" value=\"dci-connects.tunnelType\" />\n<parameter name=\"field8\" value=\"`$prop.dci-connects.tunnelType`\"/>\n<parameter name=\"field9\" value=\"sdncRestApi.thirdpartySdnc.url\"/>\n<parameter name=\"field10\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url`\"/>", + "comments":"", + "outputs":1, + "x":1575.0004196166992, + "y":1421.6667108535767, + "z":"e7b3886.bec2e78", + "wires":[ + [ + + ] + ] + }, + { + "id":"f9e8ba1c.b0c118", + "type":"comment", + "name":"TODO", + "info":"Currently activate is done without assignment, later divide in two phases.", + "comments":"", + "x":1351.6666259765625, + "y":55.666664123535156, + "z":"e7b3886.bec2e78", "wires":[ ] |