[ { "id": "b815bf6b.f806", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 149.00390625, "y": 66.99999904632568, "z": "1907a3e8.ef01ec", "wires": [ [ "e3536c87.13bbe" ] ] }, { "id": "e3536c87.13bbe", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 295.2419891357422, "y": 141.952392578125, "z": "1907a3e8.ef01ec", "wires": [ [ "32e23dff.190972" ] ] }, { "id": "32e23dff.190972", "type": "method", "name": "contrail-route-topology-operation-deactivate", "xml": "\n", "comments": "", "outputs": 1, "x": 375.1587562561035, "y": 211.1904411315918, "z": "1907a3e8.ef01ec", "wires": [ [ "c4f5eee9.6967e" ] ] }, { "id": "c4f5eee9.6967e", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 283.4800910949707, "y": 354.5237832069397, "z": "1907a3e8.ef01ec", "wires": [ [ "a3036c42.f5314", "86e70516.39d8f8", "600fb8be.00cd98", "e41af924.acac48", "ec5ab69c.960248", "a3185364.e3557", "c2196657.5c5568", "c89d538f.9aa9d", "485d44b.3f22bbc", "df7e9878.bf2438", "cadfd5a3.bfaee8", "58da4328.00307c", "7b764332.cfbc8c", "e7206768.0e4798", "bcbcae69.e41a6", "ac156492.2e6298", "a041f2a.fea5e1", "25a06dee.1913e2", "316bd14d.1e3f7e", "7f032d3b.5762a4", "735dd19a.3e195", "61e59930.9891c8" ] ] }, { "id": "86e70516.39d8f8", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 546.003978729248, "y": 2280.548007965088, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "a3036c42.f5314", "type": "set", "name": "set output to api handler", "xml": "\n\n\n\n \n", "comments": "", "x": 574.757884979248, "y": 2243.003801345825, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "df7e9878.bf2438", "type": "set", "name": "set allotted-resource-oper-status", "xml": "\n\n\n\n\n\n", "comments": "", "x": 609.7580490112305, "y": 2103.717960357666, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "e41af924.acac48", "type": "set", "name": "set tmp.ar.self-link", "xml": "\n\n\n", "comments": "", "x": 545.7419624328613, "y": 328.3333206176758, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "600fb8be.00cd98", "type": "set", "name": "set tmp.ar.allotted-resource-id,etc", "xml": "\n\n\n\n\n\n", "comments": "", "x": 593.0012245178223, "y": 294.592586517334, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "ec5ab69c.960248", "type": "execute", "name": "execute Properties - pull properties file", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 615.9973220825195, "y": 364.2315492630005, "z": "1907a3e8.ef01ec", "wires": [ [] ] }, { "id": "c2196657.5c5568", "type": "execute", "name": "execute RestApiCallNode - Get AR by id", "xml": "\n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 622.5226516723633, "y": 532.4595079421997, "z": "1907a3e8.ef01ec", "wires": [ [ "c4a17fbb.5689e", "18d8cd61.df5a73" ] ] }, { "id": "a3185364.e3557", "type": "execute", "name": "generate allotted-resource url", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 580.0687522888184, "y": 424.0172243118286, "z": "1907a3e8.ef01ec", "wires": [ [] ] }, { "id": "c4a17fbb.5689e", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 867.8187561035156, "y": 533.2673215866089, "z": "1907a3e8.ef01ec", "wires": [ [ "cac5050.acefef8" ] ] }, { "id": "c89d538f.9aa9d", "type": "execute", "name": "execute RestApiCallNode - PUT AR by id", "xml": "\n \n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 637.8665161132812, "y": 2177.7674798965454, "z": "1907a3e8.ef01ec", "wires": [ [ "143ba41d.04eb0c", "b003cfcf.73519", "cffa818d.e26b9" ] ] }, { "id": "143ba41d.04eb0c", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 908.1745338439941, "y": 2230.76568069309, "z": "1907a3e8.ef01ec", "wires": [ [ "f851a353.e9aa2" ] ] }, { "id": "b003cfcf.73519", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 899.1745834350586, "y": 2199.2657064422965, "z": "1907a3e8.ef01ec", "wires": [ [ "f851a353.e9aa2" ] ] }, { "id": "cffa818d.e26b9", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 902.9246215820312, "y": 2169.622811317444, "z": "1907a3e8.ef01ec", "wires": [ [ "94b3659a.a43058" ] ] }, { "id": "f851a353.e9aa2", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1068.9246215820312, "y": 2200.0157302841544, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "cac5050.acefef8", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1036.818759918213, "y": 531.76722240448, "z": "1907a3e8.ef01ec", "wires": [ [ "4b3e1791.ede978" ] ] }, { "id": "4b3e1791.ede978", "type": "switchNode", "name": "switch cr length", "xml": "\n", "comments": "", "outputs": 1, "x": 1247.6760025024414, "y": 531.3863515853882, "z": "1907a3e8.ef01ec", "wires": [ [ "308a03ed.e1727c", "47b8a1d5.c5ec" ] ] }, { "id": "308a03ed.e1727c", "type": "other", "name": "outcome 1", "xml": "\n", "comments": "", "outputs": 1, "x": 1437.0093078613281, "y": 531.3863096237183, "z": "1907a3e8.ef01ec", "wires": [ [ "c91abe4f.2358d" ] ] }, { "id": "e2e2a405.0fa288", "type": "set", "name": "set ar from get", "xml": "\n\n", "comments": "", "x": 1910.2001266479492, "y": 494.62452507019043, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "c91abe4f.2358d", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1621.533197402954, "y": 528.2911434173584, "z": "1907a3e8.ef01ec", "wires": [ [ "e2e2a405.0fa288", "e450a5fc.4f5528", "a38edad2.503f08" ] ] }, { "id": "e450a5fc.4f5528", "type": "set", "name": "set oper-status", "xml": "\n\n\n\n\n", "comments": "", "x": 1918.2000541687012, "y": 558.7196683883667, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "e509658b.31b9c8", "type": "comment", "name": "GET security-zone-allotted-resource from mdsal", "info": "", "comments": "", "x": 635.8186988830566, "y": 499.7672109603882, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "63c12cc3.289684", "type": "switchNode", "name": "switch order-status", "xml": "\n", "comments": "", "outputs": 1, "x": 1926.199909210205, "y": 525.6244802474976, "z": "1907a3e8.ef01ec", "wires": [ [ "9249324b.98c72", "34ad81d1.e734ae" ] ] }, { "id": "9249324b.98c72", "type": "outcome", "name": "outcome Other", "xml": "\n", "comments": "", "outputs": 1, "x": 2161.8475799560547, "y": 540.0531892776489, "z": "1907a3e8.ef01ec", "wires": [ [ "7a2c59b1.1ae928" ] ] }, { "id": "7a2c59b1.1ae928", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 2402.466329574585, "y": 542.9577789306641, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "58da4328.00307c", "type": "set", "name": "unset ar-assignments.vlan-tag", "xml": "\n\n\n\n\n", "comments": "", "x": 583.866325378418, "y": 1641.053183555603, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "a38edad2.503f08", "type": "set", "name": "save backup copy of mdsal-ar for rollback", "xml": "\n\n", "comments": "", "x": 1998.0571784973145, "y": 461.4340171813965, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "a821712b.17818", "type": "comment", "name": "Create urls for restapi", "info": "", "comments": "", "x": 550.9615592956543, "y": 393.62435150146484, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "94b3659a.a43058", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1044.5805892944336, "y": 2165.814980506897, "z": "1907a3e8.ef01ec", "wires": [ [] ] }, { "id": "485d44b.3f22bbc", "type": "execute", "name": "execute getTime", "xml": "\n \n\n", "comments": "", "outputs": 1, "x": 560.5806350708008, "y": 2070.1481189727783, "z": "1907a3e8.ef01ec", "wires": [ [] ] }, { "id": "67e85008.65268", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 1620.670904159546, "y": 644.333384513855, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "18d8cd61.df5a73", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 859.6705589294434, "y": 568.3334064483643, "z": "1907a3e8.ef01ec", "wires": [ [ "91ff2ac7.39d1e8" ] ] }, { "id": "91ff2ac7.39d1e8", "type": "block", "name": "block: atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1039.670509338379, "y": 568.9999570846558, "z": "1907a3e8.ef01ec", "wires": [ [ "67e85008.65268" ] ] }, { "id": "cadfd5a3.bfaee8", "type": "set", "name": "set ar data", "xml": "\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 531.670524597168, "y": 564.6666212081909, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "47b8a1d5.c5ec", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1425.3372611999512, "y": 568.666669845581, "z": "1907a3e8.ef01ec", "wires": [ [ "67e85008.65268" ] ] }, { "id": "54b8535a.8e269c", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2386.337375640869, "y": 508.6666965484619, "z": "1907a3e8.ef01ec", "wires": [ [] ] }, { "id": "616e5aa8.bace14", "type": "comment", "name": "Call contrail api here", "info": "", "comments": "", "x": 561.8610305786133, "y": 631.2857141494751, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "2c80a456.b1f4cc", "type": "comment", "name": "Need to rollback aai here", "info": "", "comments": "", "x": 1295.0038833618164, "y": 2199.3333253860474, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "46f742ec.a9b84c", "type": "comment", "name": "Create network policy in AAI", "info": "", "comments": "", "x": 594.337158203125, "y": 2019.333212852478, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "34ad81d1.e734ae", "type": "outcome", "name": "outcome Active", "xml": "\n", "comments": "", "outputs": 1, "x": 2176.6092224121094, "y": 508.2912006378174, "z": "1907a3e8.ef01ec", "wires": [ [ "54b8535a.8e269c" ] ] }, { "id": "7b764332.cfbc8c", "type": "update", "name": "update AAI allotted-resource", "xml": "\n\t\n", "comments": "", "outputs": 1, "x": 582.3372192382812, "y": 1797.6666612625122, "z": "1907a3e8.ef01ec", "wires": [ [ "90496b8f.cd3e48", "17738c07.d91474" ] ] }, { "id": "90496b8f.cd3e48", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 838.0991516113281, "y": 1774.9048357009888, "z": "1907a3e8.ef01ec", "wires": [ [ "61ddf82d.16ddf8" ] ] }, { "id": "17738c07.d91474", "type": "failure", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 843.4085807800293, "y": 1810.4762535095215, "z": "1907a3e8.ef01ec", "wires": [ [ "61ddf82d.16ddf8" ] ] }, { "id": "61ddf82d.16ddf8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1053.1943664550781, "y": 1776.5238800048828, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "f9c0d920.6a3758", "type": "comment", "name": "Update AAI AR", "info": "", "comments": "", "x": 545.6800765991211, "y": 1761.0951051712036, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "e7206768.0e4798", "type": "set", "name": "set ar-assignments", "xml": "\n\n\n\n\n", "comments": "", "x": 560.00390625, "y": 596.9999990463257, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "2ef8c27b.c719fe", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n \n", "comments": "", "x": 1606.575590133667, "y": 743.6666250228882, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "895fb59c.cb29c8", "type": "not-found", "name": "not found", "xml": "\n", "comments": "", "outputs": 1, "x": 860.1942520141602, "y": 897.0476351976395, "z": "1907a3e8.ef01ec", "wires": [ [ "8e996274.f6a77" ] ] }, { "id": "ac156492.2e6298", "type": "get-resource", "name": "get AnAI - l3-network by network-id", "xml": "\n", "comments": "", "outputs": 1, "x": 583.3925933837891, "y": 908.2941522598267, "z": "1907a3e8.ef01ec", "wires": [ [ "c50e7042.f8b7", "895fb59c.cb29c8", "8bf1acb1.85f35" ] ] }, { "id": "c50e7042.f8b7", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 852.9163589477539, "y": 931.5322390794754, "z": "1907a3e8.ef01ec", "wires": [ [ "8e996274.f6a77" ] ] }, { "id": "8e996274.f6a77", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t", "comments": "", "x": 1005.0273208618164, "y": 927.7544680833817, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "8bf1acb1.85f35", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 858.1943130493164, "y": 963.0476351976395, "z": "1907a3e8.ef01ec", "wires": [ [ "6b62a765.1e4e88" ] ] }, { "id": "6b62a765.1e4e88", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1010.8608779907227, "y": 961.3809634447098, "z": "1907a3e8.ef01ec", "wires": [ [] ] }, { "id": "b5253c8d.7010d", "type": "comment", "name": "GET source network from AAI", "info": "", "comments": "", "x": 561.6228103637695, "y": 877.0476293563843, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "d8c05d1d.86ab3", "type": "not-found", "name": "not found", "xml": "\n", "comments": "", "outputs": 1, "x": 877.9085922241211, "y": 1160.7619490623474, "z": "1907a3e8.ef01ec", "wires": [ [ "b6770bb6.5606e8" ] ] }, { "id": "7f032d3b.5762a4", "type": "get-resource", "name": "get AnAI - l3-network by network-id", "xml": "\n", "comments": "", "outputs": 1, "x": 606.535514831543, "y": 1168.2942099571228, "z": "1907a3e8.ef01ec", "wires": [ [ "ceac0fa8.21cc", "d8c05d1d.86ab3", "db0f5df8.46428" ] ] }, { "id": "ceac0fa8.21cc", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 870.6306991577148, "y": 1195.2465529441833, "z": "1907a3e8.ef01ec", "wires": [ [ "b6770bb6.5606e8" ] ] }, { "id": "b6770bb6.5606e8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t", "comments": "", "x": 1022.7416610717773, "y": 1191.4687819480896, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "db0f5df8.46428", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 880.4801025390625, "y": 1229.6190176010132, "z": "1907a3e8.ef01ec", "wires": [ [ "7a8602cf.c3ed2c" ] ] }, { "id": "7a8602cf.c3ed2c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1033.1466674804688, "y": 1227.9523458480835, "z": "1907a3e8.ef01ec", "wires": [ [] ] }, { "id": "dc7abd78.211da", "type": "comment", "name": "GET dest network from AAI", "info": "", "comments": "", "x": 579.3371353149414, "y": 1136.4762020111084, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "a041f2a.fea5e1", "type": "set", "name": "set policy fq-name", "xml": "\n\n", "comments": "", "x": 532.3372192382812, "y": 954.190390586853, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "25a06dee.1913e2", "type": "set", "name": "set cloud-region-id for input to contrail", "xml": "\n\n", "comments": "", "x": 594.331901550293, "y": 988.2802381515503, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "316bd14d.1e3f7e", "type": "execute", "name": "execute Contrail API apply network policy to source network", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 670.5224227905273, "y": 1061.280436038971, "z": "1907a3e8.ef01ec", "wires": [ [ "c0fb54dc.a8e1a8", "4b7ba790.40c118" ] ] }, { "id": "c0fb54dc.a8e1a8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1026.1889190673828, "y": 1061.7086629867554, "z": "1907a3e8.ef01ec", "wires": [ [ "130dd766.3e4979" ] ] }, { "id": "4b7ba790.40c118", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1024.2842407226562, "y": 1094.7086027525365, "z": "1907a3e8.ef01ec", "wires": [ [ "b56db03.6e1275" ] ] }, { "id": "b56db03.6e1275", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1184.1890106201172, "y": 1094.0419692993164, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "130dd766.3e4979", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1178.3794021606445, "y": 1062.3753879927099, "z": "1907a3e8.ef01ec", "wires": [ [] ] }, { "id": "bcbcae69.e41a6", "type": "switchNode", "name": "switch source-network.network-id", "xml": "\n\n", "comments": "", "outputs": 1, "x": 586.9085922241211, "y": 833.3332395553589, "z": "1907a3e8.ef01ec", "wires": [ [ "a8cf0dfe.c0676", "b0bcf579.d52d48" ] ] }, { "id": "a8cf0dfe.c0676", "type": "other", "name": "Other", "xml": "", "comments": "", "outputs": 1, "x": 942.9088096618652, "y": 831.9996190071106, "z": "1907a3e8.ef01ec", "wires": [ [ "e4489b27.0ab3d8" ] ] }, { "id": "b0bcf579.d52d48", "type": "other", "name": "NULL", "xml": "", "comments": "", "outputs": 1, "x": 938.575626373291, "y": 794.9994192123413, "z": "1907a3e8.ef01ec", "wires": [ [ "e8402b5f.bacaf8" ] ] }, { "id": "4a3cc27f.d1207c", "type": "switchNode", "name": "switch service-data.networks.network_length", "xml": "\n", "comments": "", "outputs": 1, "x": 1334.734245300293, "y": 832.0154461860657, "z": "1907a3e8.ef01ec", "wires": [ [ "ced5ea6e.50d148", "4e2e2769.bc7988" ] ] }, { "id": "ced5ea6e.50d148", "type": "other", "name": "outcome Null", "xml": "\n", "comments": "", "outputs": 1, "x": 1623.734245300293, "y": 834.0155072212219, "z": "1907a3e8.ef01ec", "wires": [ [ "7df1b688.54eb98" ] ] }, { "id": "4e2e2769.bc7988", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1603.734245300293, "y": 869.0155072212219, "z": "1907a3e8.ef01ec", "wires": [ [ "7f100db9.54a9d4" ] ] }, { "id": "e4489b27.0ab3d8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1077.0200653076172, "y": 832.4440236091614, "z": "1907a3e8.ef01ec", "wires": [ [ "4a3cc27f.d1207c" ] ] }, { "id": "e8402b5f.bacaf8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1092.7090911865234, "y": 795.6663217544556, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "ea7023cf.b9d96", "type": "comment", "name": "Find tenant id/cloud region from source network", "info": "", "comments": "", "x": 624.3089141845703, "y": 799.9995555877686, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "c37f3483.2bbfa8", "type": "for", "name": "for nidx..service-data.networks.network[]", "xml": "\n", "comments": "", "outputs": 1, "x": 2066.9086532592773, "y": 869.3332624435425, "z": "1907a3e8.ef01ec", "wires": [ [ "64560a.8f1f79f8" ] ] }, { "id": "7f100db9.54a9d4", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1792.892692565918, "y": 869.4592623710632, "z": "1907a3e8.ef01ec", "wires": [ [ "c37f3483.2bbfa8" ] ] }, { "id": "7df1b688.54eb98", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1805.3973922729492, "y": 833.8888330459595, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "64560a.8f1f79f8", "type": "switchNode", "name": "switch networkid found", "xml": "\n\n", "comments": "", "outputs": 1, "x": 2359.46346282959, "y": 866.2223892211914, "z": "1907a3e8.ef01ec", "wires": [ [ "7342e4d1.67d22c", "a2517fec.05268" ] ] }, { "id": "6f43e020.46433", "type": "set", "name": "set cloud region id", "xml": "\n\n\n\n", "comments": "", "x": 2946.130142211914, "y": 868.2223949432373, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "ba9643b0.6b37d", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2709.1965770721436, "y": 869.2223777770996, "z": "1907a3e8.ef01ec", "wires": [ [ "6f43e020.46433" ] ] }, { "id": "7342e4d1.67d22c", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2553.729953765869, "y": 869.222240447998, "z": "1907a3e8.ef01ec", "wires": [ [ "ba9643b0.6b37d" ] ] }, { "id": "a2517fec.05268", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2554.5295639038086, "y": 907.222243309021, "z": "1907a3e8.ef01ec", "wires": [ [ "b1867f01.f4838" ] ] }, { "id": "b1867f01.f4838", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 2732.5297203063965, "y": 907.2223091125488, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "b3a00b12.59bf18", "type": "comment", "name": "Apply the policy to source network", "info": "", "comments": "", "x": 588.9086074829102, "y": 1029.3332681655884, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "735dd19a.3e195", "type": "execute", "name": "execute Contrail API apply network policy to destination network", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 694.9086532592773, "y": 1313.333275794983, "z": "1907a3e8.ef01ec", "wires": [ [ "b28c1bec.d5a608", "7421f45.064d50c" ] ] }, { "id": "b28c1bec.d5a608", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1030.5750885009766, "y": 1313.7614665031433, "z": "1907a3e8.ef01ec", "wires": [ [ "f586735b.d7b1f" ] ] }, { "id": "7421f45.064d50c", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1028.67041015625, "y": 1346.7614062689245, "z": "1907a3e8.ef01ec", "wires": [ [ "3ac5d5d2.c2451a" ] ] }, { "id": "3ac5d5d2.c2451a", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1188.575180053711, "y": 1346.0947728157043, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "f586735b.d7b1f", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1182.7655715942383, "y": 1314.4281915090978, "z": "1907a3e8.ef01ec", "wires": [ [] ] }, { "id": "ad4f0026.b8dda", "type": "comment", "name": "Apply the policy to dest network", "info": "", "comments": "", "x": 593.2947769165039, "y": 1281.3860716819763, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "7882567f.5f5408", "type": "comment", "name": "Update network policy in AAI - relationship to networks", "info": "", "comments": "", "x": 656.9086608886719, "y": 1423.3332471847534, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "61e59930.9891c8", "type": "save", "name": "delete AnAI - network-policy relationship to source/dest network", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 694.2855682373047, "y": 1456.4009218215942, "z": "1907a3e8.ef01ec", "wires": [ [ "bef2cc41.3ba14", "82796ef8.27467" ] ] }, { "id": "c3e7254d.3fafa8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1242.6310081481934, "y": 1450.6824344396591, "z": "1907a3e8.ef01ec", "wires": [] }, { "id": "bef2cc41.3ba14", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1014.0596160888672, "y": 1453.6981719732285, "z": "1907a3e8.ef01ec", "wires": [ [ "c3e7254d.3fafa8" ] ] }, { "id": "82796ef8.27467", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 1017.8691139221191, "y": 1483.174588561058, "z": "1907a3e8.ef01ec", "wires": [ [ "c3e7254d.3fafa8" ] ] } ]