[ { "id": "139a6e7f.35f132", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 103.01040649414062, "y": 78.2888806159608, "z": "13b9846a.014e4c", "wires": [ [ "5165cd92.df7bd4" ] ] }, { "id": "5165cd92.df7bd4", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 357.5104064941406, "y": 78.2888806159608, "z": "13b9846a.014e4c", "wires": [ [ "a7444b33.7d1f48" ] ] }, { "id": "a7444b33.7d1f48", "type": "method", "name": "sotn-network-topology-operation-create", "xml": "\n", "comments": "", "outputs": 1, "x": 356.5104064941406, "y": 178.2888806159608, "z": "13b9846a.014e4c", "wires": [ [ "a19a8247.a1622" ] ] }, { "id": "a19a8247.a1622", "type": "block", "name": "block : atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 496.5104064941406, "y": 278.2888806159608, "z": "13b9846a.014e4c", "wires": [ [ "9690673f.c35c38", "9090896d.431318", "1b9ab03d.d8994", "611901b5.6b6e9", "64f0eb98.ddb424", "22fd42de.86c53e", "cc42b05c.ab9b4", "b37c9027.58eb3", "3085f08f.eacbb", "27379959.fccb76", "2ad70cde.edce44", "3e882683.7d50ea" ] ] }, { "id": "9690673f.c35c38", "type": "call", "name": "call GENERIC-RESOURCE-API:validate-sotn-network-input-parameters", "xml": "\n", "comments": "", "outputs": 1, "x": 926.5104179382324, "y": 96.06663253856823, "z": "13b9846a.014e4c", "wires": [ [ ] ] }, { "id": "9090896d.431318", "type": "record", "name": "record", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 720.0660629272461, "y": 273.5110924243927, "z": "13b9846a.014e4c", "wires": [ [ ] ] }, { "id": "1b9ab03d.d8994", "type": "execute", "name": "execute generate-sotn-vpn-network-id", "xml": "\n\n", "comments": "", "outputs": 1, "x": 820.5104179382324, "y": 136.06663253856823, "z": "13b9846a.014e4c", "wires": [ [ ] ] }, { "id": "611901b5.6b6e9", "type": "switchNode", "name": "switch service-data.networks_length", "xml": "\n", "comments": "", "outputs": 1, "x": 811.0660629272461, "y": 233.5110924243927, "z": "13b9846a.014e4c", "wires": [ [ "6504f13e.cb942", "f06b01d1.5ae64" ] ] }, { "id": "6504f13e.cb942", "type": "other", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, "x": 1040.066062927246, "y": 213.5110924243927, "z": "13b9846a.014e4c", "wires": [ [ "80cc460d.6062a8" ] ] }, { "id": "f06b01d1.5ae64", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1040.066062927246, "y": 253.5110924243927, "z": "13b9846a.014e4c", "wires": [ [ "cc9b4b29.340cf8" ] ] }, { "id": "80cc460d.6062a8", "type": "set", "name": "set nidx", "xml": "\n\n", "comments": "", "x": 1182.566062927246, "y": 213.5110924243927, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "8ea707fc.e9fc98", "type": "set", "name": "set nidx", "xml": "\n\n", "comments": "", "x": 1316.12158203125, "y": 215.06670212745667, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "64f0eb98.ddb424", "type": "set", "name": "set network in service-data", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "x": 781.5660629272461, "y": 313.5110924243927, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "22fd42de.86c53e", "type": "set", "name": "set networkId and network-object-path", "xml": "\n\n", "comments": "", "x": 817.0660629272461, "y": 353.5110924243927, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "cc42b05c.ab9b4", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 743.7329025268555, "y": 580.1777954101562, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "b37c9027.58eb3", "type": "set", "name": "set network-level-oper-status", "xml": "\n\n\n", "comments": "", "x": 788.5660629272461, "y": 393.5110924243927, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "3085f08f.eacbb", "type": "save", "name": "save SOTN connectivity resource in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 821.0660629272461, "y": 440.1777813434601, "z": "13b9846a.014e4c", "wires": [ [ ] ] }, { "id": "27379959.fccb76", "type": "save", "name": "save service relationship in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 796.0660743713379, "y": 477.9555332660675, "z": "13b9846a.014e4c", "wires": [ [ ] ] }, { "id": "56dd0abe.1511b4", "type": "for", "name": "for each existing network", "xml": "\n", "comments": "", "outputs": 1, "x": 1185.5501251220703, "y": 358.28884431766346, "z": "13b9846a.014e4c", "wires": [ [ "a637d096.3728c" ] ] }, { "id": "cc9b4b29.340cf8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1184.4231071472168, "y": 253.4476044178009, "z": "13b9846a.014e4c", "wires": [ [ "56dd0abe.1511b4", "8ea707fc.e9fc98" ] ] }, { "id": "a637d096.3728c", "type": "switchNode", "name": "switch networkid found", "xml": "\n", "comments": "", "outputs": 1, "x": 1460.8358459472656, "y": 357.86034700321034, "z": "13b9846a.014e4c", "wires": [ [ "29edb34.33bc74c" ] ] }, { "id": "29edb34.33bc74c", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1361.5660438537598, "y": 416.4317781631835, "z": "13b9846a.014e4c", "wires": [ [ "fb222058.5489a" ] ] }, { "id": "e2502908.30a4f8", "type": "comment", "name": "make sure this network doesn't exist already", "info": "", "comments": "", "x": 1409.200855255127, "y": 316.5429017250426, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "fb222058.5489a", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1509.316146850586, "y": 416.2889702320099, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "5c98a39b.1a248c", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1475.9676399230957, "y": 186.06668972969055, "z": "13b9846a.014e4c", "wires": [ [ "eb10737a.973ea", "20241118.87993e", "8f9a601f.f6c31", "2f4693cf.5c48bc", "a92d3efb.9a862", "8921689e.0cc458", "23d4de8a.cdb1a2", "c9294e5e.af421", "f05d31ef.6d9f2", "3ac5e719.7cdd08", "36127ed4.d4df92", "f5195bd8.3c84a8", "ef3f5059.2d4ea", "cd1b68b3.245ce8", "43611249.362dac", "c4de2cef.1053e" ] ] }, { "id": "eb10737a.973ea", "type": "switchNode", "name": "switch name", "xml": "\n", "comments": "", "outputs": 1, "x": 1734.1893844604492, "y": 43.39999318122864, "z": "13b9846a.014e4c", "wires": [ [ "d0562182.0b394" ] ] }, { "id": "d0562182.0b394", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1921.1893844604492, "y": 39.39999318122864, "z": "13b9846a.014e4c", "wires": [ [ "85ea5b3a.80fc78" ] ] }, { "id": "85ea5b3a.80fc78", "type": "set", "name": "set name", "xml": "\n\n", "comments": "", "x": 2071.1895141601562, "y": 37.99999976158142, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "20241118.87993e", "type": "switchNode", "name": "switch description", "xml": "\n", "comments": "", "outputs": 1, "x": 1745.0290451049805, "y": 83.39999127388, "z": "13b9846a.014e4c", "wires": [ [ "aec8775b.d30d08" ] ] }, { "id": "aec8775b.d30d08", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1915.0290451049805, "y": 79.39999127388, "z": "13b9846a.014e4c", "wires": [ [ "6a968958.282fd8" ] ] }, { "id": "6a968958.282fd8", "type": "set", "name": "set etht-svc-descr", "xml": "\n\n", "comments": "", "x": 2102.36248588562, "y": 77.86114811897278, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "2ad70cde.edce44", "type": "for", "name": "for loop i - Network input parameters", "xml": "\n", "comments": "", "outputs": 1, "x": 813.7448043823242, "y": 183.844420671463, "z": "13b9846a.014e4c", "wires": [ [ "5c98a39b.1a248c" ] ] }, { "id": "8f9a601f.f6c31", "type": "switchNode", "name": "switch tenantId", "xml": "\n", "comments": "", "outputs": 1, "x": 1735.4114265441895, "y": 126.733318567276, "z": "13b9846a.014e4c", "wires": [ [ "bc2214ce.6d70f8" ] ] }, { "id": "bc2214ce.6d70f8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1922.4114265441895, "y": 122.733318567276, "z": "13b9846a.014e4c", "wires": [ [ "46fa1cce.7d92e4" ] ] }, { "id": "46fa1cce.7d92e4", "type": "set", "name": "set tenantId", "xml": "\n\n", "comments": "", "x": 2090.4114265441895, "y": 123.33332467079163, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "2f4693cf.5c48bc", "type": "switchNode", "name": "switch CIR", "xml": "\n", "comments": "", "outputs": 1, "x": 1717.2510833740234, "y": 216.7333767414093, "z": "13b9846a.014e4c", "wires": [ [ "6dc3af21.b1bfa" ] ] }, { "id": "6dc3af21.b1bfa", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1925.2511520385742, "y": 212.73339009284973, "z": "13b9846a.014e4c", "wires": [ [ "8bfeab9d.acab98" ] ] }, { "id": "8bfeab9d.acab98", "type": "set", "name": "set cir", "xml": "\n\n", "comments": "", "x": 2074.58447265625, "y": 211.19453740119934, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "a92d3efb.9a862", "type": "switchNode", "name": "switch vpnType", "xml": "\n", "comments": "", "outputs": 1, "x": 1736.559555053711, "y": 170.5110957622528, "z": "13b9846a.014e4c", "wires": [ [ "4f2e612c.866ed" ] ] }, { "id": "4f2e612c.866ed", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1923.559555053711, "y": 166.5110957622528, "z": "13b9846a.014e4c", "wires": [ [ "a5f469fe.1f7fb8" ] ] }, { "id": "a5f469fe.1f7fb8", "type": "set", "name": "set vpnType", "xml": "\n\n", "comments": "", "x": 2092.8931884765625, "y": 163.97226071357727, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "8921689e.0cc458", "type": "switchNode", "name": "switch access-provider-id", "xml": "\n", "comments": "", "outputs": 1, "x": 1758.0411911010742, "y": 492.9556143283844, "z": "13b9846a.014e4c", "wires": [ [ "db262e87.3b64a" ] ] }, { "id": "23d4de8a.cdb1a2", "type": "switchNode", "name": "switch access-client-id", "xml": "\n", "comments": "", "outputs": 1, "x": 1750.5966720581055, "y": 538.288943529129, "z": "13b9846a.014e4c", "wires": [ [ "fd7a8c1c.3cc36" ] ] }, { "id": "c9294e5e.af421", "type": "switchNode", "name": "switch access-topology-id", "xml": "\n", "comments": "", "outputs": 1, "x": 1755.041130065918, "y": 577.1778290271759, "z": "13b9846a.014e4c", "wires": [ [ "131fe813.7d7c68" ] ] }, { "id": "db262e87.3b64a", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1942.0411911010742, "y": 491.95562958717346, "z": "13b9846a.014e4c", "wires": [ [ "34d62c4c.27c844" ] ] }, { "id": "fd7a8c1c.3cc36", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1937.5966720581055, "y": 534.288943529129, "z": "13b9846a.014e4c", "wires": [ [ "98f0aeff.0649d" ] ] }, { "id": "131fe813.7d7c68", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1942.041130065918, "y": 573.1778290271759, "z": "13b9846a.014e4c", "wires": [ [ "7da4534a.aa3dbc" ] ] }, { "id": "34d62c4c.27c844", "type": "set", "name": "set access-provider-id", "xml": "\n\n", "comments": "", "x": 2125.2635498046875, "y": 491.0668137073517, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "98f0aeff.0649d", "type": "set", "name": "set access-client-id", "xml": "\n\n", "comments": "", "x": 2114.152587890625, "y": 532.2994201183319, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "7da4534a.aa3dbc", "type": "set", "name": "set access-topology-id", "xml": "\n\n", "comments": "", "x": 2124.04150390625, "y": 571.1882765293121, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "f05d31ef.6d9f2", "type": "switchNode", "name": "switch access-node-id", "xml": "\n", "comments": "", "outputs": 1, "x": 1755.8558883666992, "y": 623.8444726467133, "z": "13b9846a.014e4c", "wires": [ [ "b31c7b7f.9ced68" ] ] }, { "id": "b31c7b7f.9ced68", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1942.8558883666992, "y": 619.8444726467133, "z": "13b9846a.014e4c", "wires": [ [ "76abc59c.8e0adc" ] ] }, { "id": "3ac5e719.7cdd08", "type": "switchNode", "name": "switch access-ltp-id", "xml": "\n", "comments": "", "outputs": 1, "x": 1752.633659362793, "y": 666.2889492511749, "z": "13b9846a.014e4c", "wires": [ [ "848bd038.a1fd2" ] ] }, { "id": "848bd038.a1fd2", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1939.633659362793, "y": 662.2889492511749, "z": "13b9846a.014e4c", "wires": [ [ "33b13d79.1d69b2" ] ] }, { "id": "76abc59c.8e0adc", "type": "set", "name": "set access-node-id", "xml": "\n\n", "comments": "", "x": 2114.856201171875, "y": 618.5216066837311, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "33b13d79.1d69b2", "type": "set", "name": "set access-ltp-id", "xml": "\n\n", "comments": "", "x": 2105.3003540039062, "y": 661.2993786334991, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "3e882683.7d50ea", "type": "set", "name": "set unique-src-ltpId", "xml": "\n", "comments": "", "x": 758.670768737793, "y": 525.39999127388, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "36127ed4.d4df92", "type": "switchNode", "name": "switch EIR", "xml": "\n", "comments": "", "outputs": 1, "x": 1718.5415344238281, "y": 259.43124318122864, "z": "13b9846a.014e4c", "wires": [ [ "f8180ca.c5aedf" ] ] }, { "id": "f8180ca.c5aedf", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1920.5414962768555, "y": 254.43126320838928, "z": "13b9846a.014e4c", "wires": [ [ "5b0895e4.66408c" ] ] }, { "id": "5b0895e4.66408c", "type": "set", "name": "set eir", "xml": "\n\n", "comments": "", "x": 2076.875, "y": 253.8923990726471, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "f5195bd8.3c84a8", "type": "switchNode", "name": "switch CBS", "xml": "\n", "comments": "", "outputs": 1, "x": 1718.5415344238281, "y": 308.43124318122864, "z": "13b9846a.014e4c", "wires": [ [ "c725a9a8.031f88" ] ] }, { "id": "c725a9a8.031f88", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1917.5414962768555, "y": 304.43124985694885, "z": "13b9846a.014e4c", "wires": [ [ "9ce1ba29.f6ec68" ] ] }, { "id": "9ce1ba29.f6ec68", "type": "set", "name": "set cbs", "xml": "\n\n", "comments": "", "x": 2075.8750610351562, "y": 302.8924095630646, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "ef3f5059.2d4ea", "type": "switchNode", "name": "switch PBS", "xml": "\n", "comments": "", "outputs": 1, "x": 1718.5415344238281, "y": 353.43124318122864, "z": "13b9846a.014e4c", "wires": [ [ "205ee4a2.b994ec" ] ] }, { "id": "205ee4a2.b994ec", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1917.5414962768555, "y": 346.43125081062317, "z": "13b9846a.014e4c", "wires": [ [ "547b372e.cb4fb8" ] ] }, { "id": "547b372e.cb4fb8", "type": "set", "name": "set pbs", "xml": "\n\n", "comments": "", "x": 2078.8750610351562, "y": 347.8924095630646, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "cd1b68b3.245ce8", "type": "switchNode", "name": "switch color-aware", "xml": "\n", "comments": "", "outputs": 1, "x": 1740.541618347168, "y": 400.43126034736633, "z": "13b9846a.014e4c", "wires": [ [ "5d9f9f32.e6f9f" ] ] }, { "id": "5d9f9f32.e6f9f", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1918.5416221618652, "y": 394.4312527179718, "z": "13b9846a.014e4c", "wires": [ [ "38ebf92a.f170a6" ] ] }, { "id": "38ebf92a.f170a6", "type": "set", "name": "set colorAware", "xml": "\n\n", "comments": "", "x": 2099.875, "y": 393.8924114704132, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "43611249.362dac", "type": "switchNode", "name": "switch coupling-flag", "xml": "\n", "comments": "", "outputs": 1, "x": 1740.5416259765625, "y": 446.43128514289856, "z": "13b9846a.014e4c", "wires": [ [ "bd25ef93.0d4f4" ] ] }, { "id": "bd25ef93.0d4f4", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1918.541618347168, "y": 438.4312536716461, "z": "13b9846a.014e4c", "wires": [ [ "fd007702.45b298" ] ] }, { "id": "fd007702.45b298", "type": "set", "name": "set couplingFlag", "xml": "\n\n", "comments": "", "x": 2103.875, "y": 438.89243626594543, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "c4de2cef.1053e", "type": "switchNode", "name": "switch cVLAN", "xml": "\n", "comments": "", "outputs": 1, "x": 1731.5415649414062, "y": 711.4312927722931, "z": "13b9846a.014e4c", "wires": [ [ "2a41f958.80fe56" ] ] }, { "id": "2a41f958.80fe56", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1936.5415344238281, "y": 712.4312431812286, "z": "13b9846a.014e4c", "wires": [ [ "3e76d5dc.97935a" ] ] }, { "id": "3e76d5dc.97935a", "type": "set", "name": "set cVLAN", "xml": "\n\n", "comments": "", "x": 2090.2083740234375, "y": 711.4417145252228, "z": "13b9846a.014e4c", "wires": [ ] }, { "id": "97828cf6.96e35", "type": "comment", "name": "TODO: Recheck AAI schemas", "info": "", "comments": "", "x": 785.0416870117188, "y": 42.43131947517395, "z": "13b9846a.014e4c", "wires": [ ] } ]