diff --git a/bands.json b/bands.json
index e5d82554b1f0b64825411382c20f964fe980f3fe..59851eb21cbd17f41db74231593cf1e9e09d17a3 100644
--- a/bands.json
+++ b/bands.json
@@ -1 +1,62 @@
-{"1": {"optical_band_id": 1, "bidir": 0, "src": "R1", "dst": "R2", "flows": {"R1": {"f": {"in": "0", "out": "port-1-out"}, "b": {}}, "R2": {"f": {"in": "port-1-in", "out": "0"}, "b": {}}}, "band_type": "c_slots", "fiber_forward": {}, "fiber_backward": {}, "op-mode": 0, "n_slots": 16, "links": ["R1-R2"], "path": ["R1", "R2"], "band": 200000, "freq": 192106250, "is_active": false, "src_port": "port-1-out", "dst_port": "port-1-in", "rev_dst_port": "port-1-in", "rev_src_port": "port-1-out", "c_slots": {"1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1}, "served_lightpaths": []}, "2": {"optical_band_id": 2, "bidir": 0, "src": "R1", "dst": "R2", "flows": {"R1": {"f": {"in": "0", "out": "port-1-out"}, "b": {}}, "R2": {"f": {"in": "port-1-in", "out": "0"}, "b": {}}}, "band_type": "c_slots", "fiber_forward": {}, "fiber_backward": {}, "op-mode": 0, "n_slots": 16, "links": ["R1-R2"], "path": ["R1", "R2"], "band": 200000, "freq": 192106250, "is_active": true, "src_port": "port-1-out", "dst_port": "port-1-in", "rev_dst_port": "port-1-in", "rev_src_port": "port-1-out", "c_slots": {"1": 0, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0, "10": 0, "11": 0, "12": 0, "13": 0, "14": 0, "15": 0, "16": 0}, "served_lightpaths": [2, 3]}}
+{
+    "1": {
+        "optical_band_id": 1,
+        "bidir": 0,
+        "src": "R1",
+        "dst": "R2",
+        "flows": {
+            "R1": {
+                "f": {
+                    "in": "0",
+                    "out": "101"
+                },
+                "b": {}
+            },
+            "R2": {
+                "f": {
+                    "in": "111",
+                    "out": "0"
+                },
+                "b": {}
+            }
+        },
+        "band_type": "c_slots",
+        "fiber_forward": {},
+        "fiber_backward": {},
+        "op-mode": 0,
+        "n_slots": 16,
+        "links": [
+            "R1-R2"
+        ],
+        "path": [
+            "R1",
+            "R2"
+        ],
+        "band": 200000,
+        "freq": 192106250,
+        "is_active": false,
+        "src_port": "101",
+        "dst_port": "111",
+        "rev_dst_port": "111",
+        "rev_src_port": "101",
+        "c_slots": {
+            "1": 1,
+            "2": 1,
+            "3": 1,
+            "4": 1,
+            "5": 1,
+            "6": 1,
+            "7": 1,
+            "8": 1,
+            "9": 1,
+            "10": 1,
+            "11": 1,
+            "12": 1,
+            "13": 1,
+            "14": 1,
+            "15": 1,
+            "16": 1
+        },
+        "served_lightpaths": []
+    }
+}
\ No newline at end of file
diff --git a/lightpath.json b/lightpath.json
new file mode 100644
index 0000000000000000000000000000000000000000..3ff09b1b58ecd7e47ead8fefa1539ee06639c80f
--- /dev/null
+++ b/lightpath.json
@@ -0,0 +1 @@
+{"1": {"flow_id": 1, "src": "T1.1", "dst": "T2.1", "bitrate": 100, "bidir": 0, "flows": {"T1.1": {"f": {"in": "0", "out": "1"}, "b": {}}, "R1": {"f": {"in": "12", "out": "101"}, "b": {}}, "R2": {"f": {"in": "111", "out": "2"}, "b": {}}, "T2.1": {"f": {"in": "6", "out": "0"}, "b": {}}}, "band_type": "c_slots", "slots": [1, 2, 3, 4], "fiber_forward": {}, "fiber_backward": {}, "op-mode": 1, "n_slots": 4, "links": ["T1.1-R1", "R2-T2.1"], "path": ["R1", "R2"], "band": 50000, "freq": 192031250, "is_active": false, "parent_opt_band": 1, "new_optical_band": 1}, "2": {"flow_id": 2, "src": "T1.1", "dst": "T2.1", "bitrate": 100, "bidir": 0, "flows": {"T1.1": {"f": {"in": "0", "out": "1"}, "b": {}}, "R1": {"f": {"in": "12", "out": "101"}, "b": {}}, "R2": {"f": {"in": "111", "out": "2"}, "b": {}}, "T2.1": {"f": {"in": "6", "out": "0"}, "b": {}}}, "band_type": "c_slots", "slots": [5, 6, 7, 8], "fiber_forward": {}, "fiber_backward": {}, "op-mode": 1, "n_slots": 4, "links": ["T1.1-R1", "R2-T2.1"], "path": ["T1.1", "R1", "R2", "T2.1"], "band": 50000, "freq": 192081250, "is_active": false, "parent_opt_band": 1, "new_optical_band": 0}}
diff --git a/links.json b/links.json
index bd13886a3f39114573782e03182d146edac759f1..70b08939ac979fed8682aad7e03ea8bee6cdceec 100644
--- a/links.json
+++ b/links.json
@@ -1 +1,1712 @@
-{"optical_links": [{"name": "R2-T2.1", "optical_details": {"src_port": "port-33-out", "dst_port": "1", "local_peer_port": "port-33-in", "remote_peer_port": "1", "c_slots": {"1": 0, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1}, "l_slots": {"101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1}, "s_slots": {"501": 1, "502": 1, "503": 1, "504": 1, "505": 1, "506": 1, "507": 1, "508": 1, "509": 1, "510": 1, "511": 1, "512": 1, "513": 1, "514": 1, "515": 1, "516": 1, "517": 1, "518": 1, "519": 1, "520": 1}}, "link_id": {"link_uuid": {"uuid": "5ba1d9b6-120a-5680-b745-2ea24aec1cc3"}}, "link_endpoint_ids": [{"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "87d74166-65e3-595e-b643-122b4fd0303f"}}, "endpoint_uuid": {"uuid": "2a307a8e-d326-5ea2-9437-b0320fb4c2a6"}}, {"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"}}, "endpoint_uuid": {"uuid": "76d3c064-04eb-5edf-95ac-645cb6348b61"}}]}, {"name": "R2-T2.2", "optical_details": {"src_port": "port-34-out", "dst_port": "2", "local_peer_port": "port-34-in", "remote_peer_port": "2", "c_slots": {"1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 0, "10": 0, "11": 0, "12": 0, "13": 0, "14": 0, "15": 0, "16": 0, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1}, "l_slots": {"101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1}, "s_slots": {"501": 1, "502": 1, "503": 1, "504": 1, "505": 1, "506": 1, "507": 1, "508": 1, "509": 1, "510": 1, "511": 1, "512": 1, "513": 1, "514": 1, "515": 1, "516": 1, "517": 1, "518": 1, "519": 1, "520": 1}}, "link_id": {"link_uuid": {"uuid": "5f9f4309-d24d-52e0-9d60-ba84839a5bda"}}, "link_endpoint_ids": [{"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"}}, "endpoint_uuid": {"uuid": "5dd55ad7-b980-562e-b579-d724a3655d31"}}, {"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "012c4e67-0024-5f30-b527-55ec6daf2639"}}, "endpoint_uuid": {"uuid": "c4b8eb66-2fcf-5f66-802f-6cd9590fe70b"}}]}, {"name": "R1-T1.1", "optical_details": {"src_port": "port-33-out", "dst_port": "1", "local_peer_port": "port-33-in", "remote_peer_port": "1", "c_slots": {"1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1}, "l_slots": {"101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1}, "s_slots": {"501": 1, "502": 1, "503": 1, "504": 1, "505": 1, "506": 1, "507": 1, "508": 1, "509": 1, "510": 1, "511": 1, "512": 1, "513": 1, "514": 1, "515": 1, "516": 1, "517": 1, "518": 1, "519": 1, "520": 1}}, "link_id": {"link_uuid": {"uuid": "63c6a257-f171-59f8-b1e8-e3c4086ba36a"}}, "link_endpoint_ids": [{"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "4dbdc2d8-cbde-5e48-a3c0-5161387a58c7"}}, "endpoint_uuid": {"uuid": "5eb4f156-7811-53f3-9172-8402127cf7b9"}}, {"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"}}, "endpoint_uuid": {"uuid": "cd539095-12a6-5460-8b07-481ec1901c9a"}}]}, {"name": "T1.2-R1", "optical_details": {"src_port": "2", "dst_port": "port-34-in", "local_peer_port": "2", "remote_peer_port": "port-34-out", "c_slots": {"1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 0, "10": 0, "11": 0, "12": 0, "13": 0, "14": 0, "15": 0, "16": 0, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1}, "l_slots": {"101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1}, "s_slots": {"501": 1, "502": 1, "503": 1, "504": 1, "505": 1, "506": 1, "507": 1, "508": 1, "509": 1, "510": 1, "511": 1, "512": 1, "513": 1, "514": 1, "515": 1, "516": 1, "517": 1, "518": 1, "519": 1, "520": 1}}, "link_id": {"link_uuid": {"uuid": "817a2fcb-5dfd-55a6-b669-a141014cc38d"}}, "link_endpoint_ids": [{"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "27c2ed23-e74a-518f-820d-ae2c8ae23086"}}, "endpoint_uuid": {"uuid": "7dc65d0e-af57-5d3c-9ba6-f6ec81a354c6"}}, {"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"}}, "endpoint_uuid": {"uuid": "904c4b18-10a6-512b-9bb2-8ec81e74fda4"}}]}, {"name": "T2.2-R2", "optical_details": {"src_port": "2", "dst_port": "port-34-in", "local_peer_port": "2", "remote_peer_port": "port-34-out", "c_slots": {"1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1}, "l_slots": {"101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1}, "s_slots": {"501": 1, "502": 1, "503": 1, "504": 1, "505": 1, "506": 1, "507": 1, "508": 1, "509": 1, "510": 1, "511": 1, "512": 1, "513": 1, "514": 1, "515": 1, "516": 1, "517": 1, "518": 1, "519": 1, "520": 1}}, "link_id": {"link_uuid": {"uuid": "884c6c6a-ad1b-5228-a48f-e9db4bc174df"}}, "link_endpoint_ids": [{"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"}}, "endpoint_uuid": {"uuid": "6e9b83ef-b9a4-5898-9495-38c45635aac7"}}, {"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "012c4e67-0024-5f30-b527-55ec6daf2639"}}, "endpoint_uuid": {"uuid": "c4b8eb66-2fcf-5f66-802f-6cd9590fe70b"}}]}, {"name": "R1-T1.3", "optical_details": {"src_port": "port-35-out", "dst_port": "3", "local_peer_port": "port-35-in", "remote_peer_port": "3", "c_slots": {"1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1}, "l_slots": {"101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1}, "s_slots": {"501": 1, "502": 1, "503": 1, "504": 1, "505": 1, "506": 1, "507": 1, "508": 1, "509": 1, "510": 1, "511": 1, "512": 1, "513": 1, "514": 1, "515": 1, "516": 1, "517": 1, "518": 1, "519": 1, "520": 1}}, "link_id": {"link_uuid": {"uuid": "89e3a6c6-d613-55bf-925c-c817ee24a133"}}, "link_endpoint_ids": [{"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"}}, "endpoint_uuid": {"uuid": "b9fbeed8-e304-5bd5-90e1-3e43c6af5a16"}}, {"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "cf618e18-c0a1-58c4-9827-943a2c0523d6"}}, "endpoint_uuid": {"uuid": "bbdfc5ef-4f8b-5921-9d1f-33dd9a5f18c8"}}]}, {"name": "R1-T1.2", "optical_details": {"src_port": "port-34-out", "dst_port": "2", "local_peer_port": "port-34-in", "remote_peer_port": "2", "c_slots": {"1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1}, "l_slots": {"101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1}, "s_slots": {"501": 1, "502": 1, "503": 1, "504": 1, "505": 1, "506": 1, "507": 1, "508": 1, "509": 1, "510": 1, "511": 1, "512": 1, "513": 1, "514": 1, "515": 1, "516": 1, "517": 1, "518": 1, "519": 1, "520": 1}}, "link_id": {"link_uuid": {"uuid": "b11e2e7b-ef00-5c11-9dc6-5fd34bd11f6e"}}, "link_endpoint_ids": [{"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"}}, "endpoint_uuid": {"uuid": "12b4419f-9ae9-5839-ad52-9684b1f30878"}}, {"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "27c2ed23-e74a-518f-820d-ae2c8ae23086"}}, "endpoint_uuid": {"uuid": "7dc65d0e-af57-5d3c-9ba6-f6ec81a354c6"}}]}, {"name": "T2.3-R2", "optical_details": {"src_port": "3", "dst_port": "port-35-in", "local_peer_port": "3", "remote_peer_port": "port-35-out", "c_slots": {"1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1}, "l_slots": {"101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1}, "s_slots": {"501": 1, "502": 1, "503": 1, "504": 1, "505": 1, "506": 1, "507": 1, "508": 1, "509": 1, "510": 1, "511": 1, "512": 1, "513": 1, "514": 1, "515": 1, "516": 1, "517": 1, "518": 1, "519": 1, "520": 1}}, "link_id": {"link_uuid": {"uuid": "be7afc05-6e45-5899-896b-b331d6ab65c8"}}, "link_endpoint_ids": [{"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"}}, "endpoint_uuid": {"uuid": "5cfa4f91-cbce-5721-b612-e6b5eaa76721"}}, {"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "ce0cdfdd-2182-5027-8177-676ca3244f9d"}}, "endpoint_uuid": {"uuid": "b1acaee3-904d-5106-ac3d-5ae6c42b5333"}}]}, {"name": "R2-T2.3", "optical_details": {"src_port": "port-35-out", "dst_port": "3", "local_peer_port": "port-35-in", "remote_peer_port": "3", "c_slots": {"1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1}, "l_slots": {"101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1}, "s_slots": {"501": 1, "502": 1, "503": 1, "504": 1, "505": 1, "506": 1, "507": 1, "508": 1, "509": 1, "510": 1, "511": 1, "512": 1, "513": 1, "514": 1, "515": 1, "516": 1, "517": 1, "518": 1, "519": 1, "520": 1}}, "link_id": {"link_uuid": {"uuid": "d4e89764-11c5-5f59-b7d6-a3aa2dab43df"}}, "link_endpoint_ids": [{"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"}}, "endpoint_uuid": {"uuid": "261a53b4-d257-5f35-bf5b-b2f975d7d2ed"}}, {"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "ce0cdfdd-2182-5027-8177-676ca3244f9d"}}, "endpoint_uuid": {"uuid": "b1acaee3-904d-5106-ac3d-5ae6c42b5333"}}]}, {"name": "R1-R2", "optical_details": {"src_port": "port-1-out", "dst_port": "port-1-in", "local_peer_port": "port-1-in", "remote_peer_port": "port-1-out", "c_slots": {"1": 0, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0, "10": 0, "11": 0, "12": 0, "13": 0, "14": 0, "15": 0, "16": 0, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1}, "l_slots": {"101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1}, "s_slots": {"501": 1, "502": 1, "503": 1, "504": 1, "505": 1, "506": 1, "507": 1, "508": 1, "509": 1, "510": 1, "511": 1, "512": 1, "513": 1, "514": 1, "515": 1, "516": 1, "517": 1, "518": 1, "519": 1, "520": 1}}, "link_id": {"link_uuid": {"uuid": "e273644c-0dfa-5053-8850-0722995e7ba3"}}, "link_endpoint_ids": [{"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"}}, "endpoint_uuid": {"uuid": "77df46fd-6d6e-5726-9960-ca439c925dea"}}, {"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"}}, "endpoint_uuid": {"uuid": "bcfb768c-e8fb-5e0b-9559-821d120b5410"}}]}, {"name": "T1.1-R1", "optical_details": {"src_port": "1", "dst_port": "port-33-in", "local_peer_port": "1", "remote_peer_port": "port-33-out", "c_slots": {"1": 0, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1, "31": 1, "32": 1, "33": 1, "34": 1, "35": 1}, "l_slots": {"101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1}, "s_slots": {"501": 1, "502": 1, "503": 1, "504": 1, "505": 1, "506": 1, "507": 1, "508": 1, "509": 1, "510": 1, "511": 1, "512": 1, "513": 1, "514": 1, "515": 1, "516": 1, "517": 1, "518": 1, "519": 1, "520": 1}}, "link_id": {"link_uuid": {"uuid": "e8bd9082-ebad-55b8-b110-7c21fddaf1cf"}}, "link_endpoint_ids": [{"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"}}, "endpoint_uuid": {"uuid": "0b1c4d0e-5140-5085-ab66-2def390b650f"}}, {"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "4dbdc2d8-cbde-5e48-a3c0-5161387a58c7"}}, "endpoint_uuid": {"uuid": "5eb4f156-7811-53f3-9172-8402127cf7b9"}}]}, {"name": "R2-R1", "optical_details": {"src_port": "port-1-out", "dst_port": "port-1-in", "local_peer_port": "port-1-in", "remote_peer_port": "port-1-out", "c_slots": {"1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1}, "l_slots": {"101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1}, "s_slots": {"501": 1, "502": 1, "503": 1, "504": 1, "505": 1, "506": 1, "507": 1, "508": 1, "509": 1, "510": 1, "511": 1, "512": 1, "513": 1, "514": 1, "515": 1, "516": 1, "517": 1, "518": 1, "519": 1, "520": 1}}, "link_id": {"link_uuid": {"uuid": "eae23f48-40de-5aae-b3d1-fa3cda231678"}}, "link_endpoint_ids": [{"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"}}, "endpoint_uuid": {"uuid": "3efedbc2-7363-53cf-a0b9-fc4a2bcbd245"}}, {"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"}}, "endpoint_uuid": {"uuid": "436bb32a-c8a0-5718-bbdb-382c79d96587"}}]}, {"name": "T2.1-R2", "optical_details": {"src_port": "1", "dst_port": "port-33-in", "local_peer_port": "1", "remote_peer_port": "port-33-out", "c_slots": {"1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1}, "l_slots": {"101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1}, "s_slots": {"501": 1, "502": 1, "503": 1, "504": 1, "505": 1, "506": 1, "507": 1, "508": 1, "509": 1, "510": 1, "511": 1, "512": 1, "513": 1, "514": 1, "515": 1, "516": 1, "517": 1, "518": 1, "519": 1, "520": 1}}, "link_id": {"link_uuid": {"uuid": "ebb2ca0f-d4c1-51c4-ab41-dceea90f811f"}}, "link_endpoint_ids": [{"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "87d74166-65e3-595e-b643-122b4fd0303f"}}, "endpoint_uuid": {"uuid": "2a307a8e-d326-5ea2-9437-b0320fb4c2a6"}}, {"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"}}, "endpoint_uuid": {"uuid": "be1b3bb0-8aed-569a-be91-e888b0c0985d"}}]}, {"name": "T1.3-R1", "optical_details": {"src_port": "3", "dst_port": "port-35-in", "local_peer_port": "3", "remote_peer_port": "port-35-out", "c_slots": {"1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1}, "l_slots": {"101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1}, "s_slots": {"501": 1, "502": 1, "503": 1, "504": 1, "505": 1, "506": 1, "507": 1, "508": 1, "509": 1, "510": 1, "511": 1, "512": 1, "513": 1, "514": 1, "515": 1, "516": 1, "517": 1, "518": 1, "519": 1, "520": 1}}, "link_id": {"link_uuid": {"uuid": "f79a817c-a6a0-55d5-9398-a582a9835be9"}}, "link_endpoint_ids": [{"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"}}, "endpoint_uuid": {"uuid": "435a198b-cd6f-5d29-a72d-ea4f04cb658a"}}, {"topology_id": {"context_id": {"context_uuid": {"uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"}}, "topology_uuid": {"uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"}}, "device_id": {"device_uuid": {"uuid": "cf618e18-c0a1-58c4-9827-943a2c0523d6"}}, "endpoint_uuid": {"uuid": "bbdfc5ef-4f8b-5921-9d1f-33dd9a5f18c8"}}]}]}
+{
+    "optical_links": [
+        {
+            "name": "R2-T2.1",
+            "optical_details": {
+                "src_port": "2",
+                "dst_port": "6",
+                "local_peer_port": "12",
+                "remote_peer_port": "6",
+                "c_slots": {
+                    "1": 1,
+                    "2": 1,
+                    "3": 1,
+                    "4": 1,
+                    "5": 1,
+                    "6": 1,
+                    "7": 1,
+                    "8": 1,
+                    "9": 1,
+                    "10": 1,
+                    "11": 1,
+                    "12": 1,
+                    "13": 1,
+                    "14": 1,
+                    "15": 1,
+                    "16": 1,
+                    "17": 1,
+                    "18": 1,
+                    "19": 1,
+                    "20": 1
+                },
+                "l_slots": {
+                    "101": 1,
+                    "102": 1,
+                    "103": 1,
+                    "104": 1,
+                    "105": 1,
+                    "106": 1,
+                    "107": 1,
+                    "108": 1,
+                    "109": 1,
+                    "110": 1,
+                    "111": 1,
+                    "112": 1,
+                    "113": 1,
+                    "114": 1,
+                    "115": 1,
+                    "116": 1,
+                    "117": 1,
+                    "118": 1,
+                    "119": 1,
+                    "120": 1
+                },
+                "s_slots": {
+                    "501": 1,
+                    "502": 1,
+                    "503": 1,
+                    "504": 1,
+                    "505": 1,
+                    "506": 1,
+                    "507": 1,
+                    "508": 1,
+                    "509": 1,
+                    "510": 1,
+                    "511": 1,
+                    "512": 1,
+                    "513": 1,
+                    "514": 1,
+                    "515": 1,
+                    "516": 1,
+                    "517": 1,
+                    "518": 1,
+                    "519": 1,
+                    "520": 1
+                }
+            },
+            "link_id": {
+                "link_uuid": {
+                    "uuid": "5ba1d9b6-120a-5680-b745-2ea24aec1cc3"
+                }
+            },
+            "link_endpoint_ids": [
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "87d74166-65e3-595e-b643-122b4fd0303f"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "61fd51ea-9896-5528-bcf3-3202a7668efb"
+                    }
+                },
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "d1e7e6c7-f1d7-56f3-be32-8982a72966f6"
+                    }
+                }
+            ]
+        },
+        {
+            "name": "R2-T2.2",
+            "optical_details": {
+                "src_port": "3",
+                "dst_port": "6",
+                "local_peer_port": "13",
+                "remote_peer_port": "6",
+                "c_slots": {
+                    "1": 1,
+                    "2": 1,
+                    "3": 1,
+                    "4": 1,
+                    "5": 1,
+                    "6": 1,
+                    "7": 1,
+                    "8": 1,
+                    "9": 1,
+                    "10": 1,
+                    "11": 1,
+                    "12": 1,
+                    "13": 1,
+                    "14": 1,
+                    "15": 1,
+                    "16": 1,
+                    "17": 1,
+                    "18": 1,
+                    "19": 1,
+                    "20": 1
+                },
+                "l_slots": {
+                    "101": 1,
+                    "102": 1,
+                    "103": 1,
+                    "104": 1,
+                    "105": 1,
+                    "106": 1,
+                    "107": 1,
+                    "108": 1,
+                    "109": 1,
+                    "110": 1,
+                    "111": 1,
+                    "112": 1,
+                    "113": 1,
+                    "114": 1,
+                    "115": 1,
+                    "116": 1,
+                    "117": 1,
+                    "118": 1,
+                    "119": 1,
+                    "120": 1
+                },
+                "s_slots": {
+                    "501": 1,
+                    "502": 1,
+                    "503": 1,
+                    "504": 1,
+                    "505": 1,
+                    "506": 1,
+                    "507": 1,
+                    "508": 1,
+                    "509": 1,
+                    "510": 1,
+                    "511": 1,
+                    "512": 1,
+                    "513": 1,
+                    "514": 1,
+                    "515": 1,
+                    "516": 1,
+                    "517": 1,
+                    "518": 1,
+                    "519": 1,
+                    "520": 1
+                }
+            },
+            "link_id": {
+                "link_uuid": {
+                    "uuid": "5f9f4309-d24d-52e0-9d60-ba84839a5bda"
+                }
+            },
+            "link_endpoint_ids": [
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "463f5b52-bb8e-54e7-a63d-aeb4ad4b72bc"
+                    }
+                },
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "012c4e67-0024-5f30-b527-55ec6daf2639"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "f2c1749b-0052-5ecb-931f-1b7889d7ed4d"
+                    }
+                }
+            ]
+        },
+        {
+            "name": "R1-T1.1",
+            "optical_details": {
+                "src_port": "2",
+                "dst_port": "1",
+                "local_peer_port": "12",
+                "remote_peer_port": "1",
+                "c_slots": {
+                    "1": 1,
+                    "2": 1,
+                    "3": 1,
+                    "4": 1,
+                    "5": 1,
+                    "6": 1,
+                    "7": 1,
+                    "8": 1,
+                    "9": 1,
+                    "10": 1,
+                    "11": 1,
+                    "12": 1,
+                    "13": 1,
+                    "14": 1,
+                    "15": 1,
+                    "16": 1,
+                    "17": 1,
+                    "18": 1,
+                    "19": 1,
+                    "20": 1
+                },
+                "l_slots": {
+                    "101": 1,
+                    "102": 1,
+                    "103": 1,
+                    "104": 1,
+                    "105": 1,
+                    "106": 1,
+                    "107": 1,
+                    "108": 1,
+                    "109": 1,
+                    "110": 1,
+                    "111": 1,
+                    "112": 1,
+                    "113": 1,
+                    "114": 1,
+                    "115": 1,
+                    "116": 1,
+                    "117": 1,
+                    "118": 1,
+                    "119": 1,
+                    "120": 1
+                },
+                "s_slots": {
+                    "501": 1,
+                    "502": 1,
+                    "503": 1,
+                    "504": 1,
+                    "505": 1,
+                    "506": 1,
+                    "507": 1,
+                    "508": 1,
+                    "509": 1,
+                    "510": 1,
+                    "511": 1,
+                    "512": 1,
+                    "513": 1,
+                    "514": 1,
+                    "515": 1,
+                    "516": 1,
+                    "517": 1,
+                    "518": 1,
+                    "519": 1,
+                    "520": 1
+                }
+            },
+            "link_id": {
+                "link_uuid": {
+                    "uuid": "63c6a257-f171-59f8-b1e8-e3c4086ba36a"
+                }
+            },
+            "link_endpoint_ids": [
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "4dbdc2d8-cbde-5e48-a3c0-5161387a58c7"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "5eb4f156-7811-53f3-9172-8402127cf7b9"
+                    }
+                },
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "c7b7a565-0469-5463-809b-8ef4851d89c4"
+                    }
+                }
+            ]
+        },
+        {
+            "name": "T1.2-R1",
+            "optical_details": {
+                "src_port": "1",
+                "dst_port": "13",
+                "local_peer_port": "1",
+                "remote_peer_port": "3",
+                "c_slots": {
+                    "1": 1,
+                    "2": 1,
+                    "3": 1,
+                    "4": 1,
+                    "5": 1,
+                    "6": 1,
+                    "7": 1,
+                    "8": 1,
+                    "9": 1,
+                    "10": 1,
+                    "11": 1,
+                    "12": 1,
+                    "13": 1,
+                    "14": 1,
+                    "15": 1,
+                    "16": 1,
+                    "17": 1,
+                    "18": 1,
+                    "19": 1,
+                    "20": 1
+                },
+                "l_slots": {
+                    "101": 1,
+                    "102": 1,
+                    "103": 1,
+                    "104": 1,
+                    "105": 1,
+                    "106": 1,
+                    "107": 1,
+                    "108": 1,
+                    "109": 1,
+                    "110": 1,
+                    "111": 1,
+                    "112": 1,
+                    "113": 1,
+                    "114": 1,
+                    "115": 1,
+                    "116": 1,
+                    "117": 1,
+                    "118": 1,
+                    "119": 1,
+                    "120": 1
+                },
+                "s_slots": {
+                    "501": 1,
+                    "502": 1,
+                    "503": 1,
+                    "504": 1,
+                    "505": 1,
+                    "506": 1,
+                    "507": 1,
+                    "508": 1,
+                    "509": 1,
+                    "510": 1,
+                    "511": 1,
+                    "512": 1,
+                    "513": 1,
+                    "514": 1,
+                    "515": 1,
+                    "516": 1,
+                    "517": 1,
+                    "518": 1,
+                    "519": 1,
+                    "520": 1
+                }
+            },
+            "link_id": {
+                "link_uuid": {
+                    "uuid": "817a2fcb-5dfd-55a6-b669-a141014cc38d"
+                }
+            },
+            "link_endpoint_ids": [
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "27b6ed2a-b0d1-5be9-b9be-cc9a540ac0d1"
+                    }
+                },
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "27c2ed23-e74a-518f-820d-ae2c8ae23086"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "cef46beb-6533-5a93-8541-ed5adc875452"
+                    }
+                }
+            ]
+        },
+        {
+            "name": "T2.2-R2",
+            "optical_details": {
+                "src_port": "6",
+                "dst_port": "13",
+                "local_peer_port": "6",
+                "remote_peer_port": "3",
+                "c_slots": {
+                    "1": 1,
+                    "2": 1,
+                    "3": 1,
+                    "4": 1,
+                    "5": 1,
+                    "6": 1,
+                    "7": 1,
+                    "8": 1,
+                    "9": 1,
+                    "10": 1,
+                    "11": 1,
+                    "12": 1,
+                    "13": 1,
+                    "14": 1,
+                    "15": 1,
+                    "16": 1,
+                    "17": 1,
+                    "18": 1,
+                    "19": 1,
+                    "20": 1
+                },
+                "l_slots": {
+                    "101": 1,
+                    "102": 1,
+                    "103": 1,
+                    "104": 1,
+                    "105": 1,
+                    "106": 1,
+                    "107": 1,
+                    "108": 1,
+                    "109": 1,
+                    "110": 1,
+                    "111": 1,
+                    "112": 1,
+                    "113": 1,
+                    "114": 1,
+                    "115": 1,
+                    "116": 1,
+                    "117": 1,
+                    "118": 1,
+                    "119": 1,
+                    "120": 1
+                },
+                "s_slots": {
+                    "501": 1,
+                    "502": 1,
+                    "503": 1,
+                    "504": 1,
+                    "505": 1,
+                    "506": 1,
+                    "507": 1,
+                    "508": 1,
+                    "509": 1,
+                    "510": 1,
+                    "511": 1,
+                    "512": 1,
+                    "513": 1,
+                    "514": 1,
+                    "515": 1,
+                    "516": 1,
+                    "517": 1,
+                    "518": 1,
+                    "519": 1,
+                    "520": 1
+                }
+            },
+            "link_id": {
+                "link_uuid": {
+                    "uuid": "884c6c6a-ad1b-5228-a48f-e9db4bc174df"
+                }
+            },
+            "link_endpoint_ids": [
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "be24d4af-c784-50cc-baa4-976a499fcd5a"
+                    }
+                },
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "012c4e67-0024-5f30-b527-55ec6daf2639"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "f2c1749b-0052-5ecb-931f-1b7889d7ed4d"
+                    }
+                }
+            ]
+        },
+        {
+            "name": "R1-T1.3",
+            "optical_details": {
+                "src_port": "4",
+                "dst_port": "1",
+                "local_peer_port": "14",
+                "remote_peer_port": "1",
+                "c_slots": {
+                    "1": 1,
+                    "2": 1,
+                    "3": 1,
+                    "4": 1,
+                    "5": 1,
+                    "6": 1,
+                    "7": 1,
+                    "8": 1,
+                    "9": 1,
+                    "10": 1,
+                    "11": 1,
+                    "12": 1,
+                    "13": 1,
+                    "14": 1,
+                    "15": 1,
+                    "16": 1,
+                    "17": 1,
+                    "18": 1,
+                    "19": 1,
+                    "20": 1
+                },
+                "l_slots": {
+                    "101": 1,
+                    "102": 1,
+                    "103": 1,
+                    "104": 1,
+                    "105": 1,
+                    "106": 1,
+                    "107": 1,
+                    "108": 1,
+                    "109": 1,
+                    "110": 1,
+                    "111": 1,
+                    "112": 1,
+                    "113": 1,
+                    "114": 1,
+                    "115": 1,
+                    "116": 1,
+                    "117": 1,
+                    "118": 1,
+                    "119": 1,
+                    "120": 1
+                },
+                "s_slots": {
+                    "501": 1,
+                    "502": 1,
+                    "503": 1,
+                    "504": 1,
+                    "505": 1,
+                    "506": 1,
+                    "507": 1,
+                    "508": 1,
+                    "509": 1,
+                    "510": 1,
+                    "511": 1,
+                    "512": 1,
+                    "513": 1,
+                    "514": 1,
+                    "515": 1,
+                    "516": 1,
+                    "517": 1,
+                    "518": 1,
+                    "519": 1,
+                    "520": 1
+                }
+            },
+            "link_id": {
+                "link_uuid": {
+                    "uuid": "89e3a6c6-d613-55bf-925c-c817ee24a133"
+                }
+            },
+            "link_endpoint_ids": [
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "4fca89b8-237c-52bd-8131-9129316b524f"
+                    }
+                },
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "cf618e18-c0a1-58c4-9827-943a2c0523d6"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "dcaae3e3-42c5-50b5-bafb-d3097d567d09"
+                    }
+                }
+            ]
+        },
+        {
+            "name": "R1-T1.2",
+            "optical_details": {
+                "src_port": "3",
+                "dst_port": "1",
+                "local_peer_port": "13",
+                "remote_peer_port": "1",
+                "c_slots": {
+                    "1": 1,
+                    "2": 1,
+                    "3": 1,
+                    "4": 1,
+                    "5": 1,
+                    "6": 1,
+                    "7": 1,
+                    "8": 1,
+                    "9": 1,
+                    "10": 1,
+                    "11": 1,
+                    "12": 1,
+                    "13": 1,
+                    "14": 1,
+                    "15": 1,
+                    "16": 1,
+                    "17": 1,
+                    "18": 1,
+                    "19": 1,
+                    "20": 1
+                },
+                "l_slots": {
+                    "101": 1,
+                    "102": 1,
+                    "103": 1,
+                    "104": 1,
+                    "105": 1,
+                    "106": 1,
+                    "107": 1,
+                    "108": 1,
+                    "109": 1,
+                    "110": 1,
+                    "111": 1,
+                    "112": 1,
+                    "113": 1,
+                    "114": 1,
+                    "115": 1,
+                    "116": 1,
+                    "117": 1,
+                    "118": 1,
+                    "119": 1,
+                    "120": 1
+                },
+                "s_slots": {
+                    "501": 1,
+                    "502": 1,
+                    "503": 1,
+                    "504": 1,
+                    "505": 1,
+                    "506": 1,
+                    "507": 1,
+                    "508": 1,
+                    "509": 1,
+                    "510": 1,
+                    "511": 1,
+                    "512": 1,
+                    "513": 1,
+                    "514": 1,
+                    "515": 1,
+                    "516": 1,
+                    "517": 1,
+                    "518": 1,
+                    "519": 1,
+                    "520": 1
+                }
+            },
+            "link_id": {
+                "link_uuid": {
+                    "uuid": "b11e2e7b-ef00-5c11-9dc6-5fd34bd11f6e"
+                }
+            },
+            "link_endpoint_ids": [
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "1a8d66e2-5d94-520f-b94a-0aca4cfd891f"
+                    }
+                },
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "27c2ed23-e74a-518f-820d-ae2c8ae23086"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "cef46beb-6533-5a93-8541-ed5adc875452"
+                    }
+                }
+            ]
+        },
+        {
+            "name": "T2.3-R2",
+            "optical_details": {
+                "src_port": "6",
+                "dst_port": "14",
+                "local_peer_port": "6",
+                "remote_peer_port": "4",
+                "c_slots": {
+                    "1": 1,
+                    "2": 1,
+                    "3": 1,
+                    "4": 1,
+                    "5": 1,
+                    "6": 1,
+                    "7": 1,
+                    "8": 1,
+                    "9": 1,
+                    "10": 1,
+                    "11": 1,
+                    "12": 1,
+                    "13": 1,
+                    "14": 1,
+                    "15": 1,
+                    "16": 1,
+                    "17": 1,
+                    "18": 1,
+                    "19": 1,
+                    "20": 1
+                },
+                "l_slots": {
+                    "101": 1,
+                    "102": 1,
+                    "103": 1,
+                    "104": 1,
+                    "105": 1,
+                    "106": 1,
+                    "107": 1,
+                    "108": 1,
+                    "109": 1,
+                    "110": 1,
+                    "111": 1,
+                    "112": 1,
+                    "113": 1,
+                    "114": 1,
+                    "115": 1,
+                    "116": 1,
+                    "117": 1,
+                    "118": 1,
+                    "119": 1,
+                    "120": 1
+                },
+                "s_slots": {
+                    "501": 1,
+                    "502": 1,
+                    "503": 1,
+                    "504": 1,
+                    "505": 1,
+                    "506": 1,
+                    "507": 1,
+                    "508": 1,
+                    "509": 1,
+                    "510": 1,
+                    "511": 1,
+                    "512": 1,
+                    "513": 1,
+                    "514": 1,
+                    "515": 1,
+                    "516": 1,
+                    "517": 1,
+                    "518": 1,
+                    "519": 1,
+                    "520": 1
+                }
+            },
+            "link_id": {
+                "link_uuid": {
+                    "uuid": "be7afc05-6e45-5899-896b-b331d6ab65c8"
+                }
+            },
+            "link_endpoint_ids": [
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "ce0cdfdd-2182-5027-8177-676ca3244f9d"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "615c29eb-3528-5e70-9f43-2491aeb6478b"
+                    }
+                },
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "ac9e9079-6cf5-5d21-834d-1940c76fd78d"
+                    }
+                }
+            ]
+        },
+        {
+            "name": "R2-T2.3",
+            "optical_details": {
+                "src_port": "4",
+                "dst_port": "6",
+                "local_peer_port": "14",
+                "remote_peer_port": "6",
+                "c_slots": {
+                    "1": 1,
+                    "2": 1,
+                    "3": 1,
+                    "4": 1,
+                    "5": 1,
+                    "6": 1,
+                    "7": 1,
+                    "8": 1,
+                    "9": 1,
+                    "10": 1,
+                    "11": 1,
+                    "12": 1,
+                    "13": 1,
+                    "14": 1,
+                    "15": 1,
+                    "16": 1,
+                    "17": 1,
+                    "18": 1,
+                    "19": 1,
+                    "20": 1
+                },
+                "l_slots": {
+                    "101": 1,
+                    "102": 1,
+                    "103": 1,
+                    "104": 1,
+                    "105": 1,
+                    "106": 1,
+                    "107": 1,
+                    "108": 1,
+                    "109": 1,
+                    "110": 1,
+                    "111": 1,
+                    "112": 1,
+                    "113": 1,
+                    "114": 1,
+                    "115": 1,
+                    "116": 1,
+                    "117": 1,
+                    "118": 1,
+                    "119": 1,
+                    "120": 1
+                },
+                "s_slots": {
+                    "501": 1,
+                    "502": 1,
+                    "503": 1,
+                    "504": 1,
+                    "505": 1,
+                    "506": 1,
+                    "507": 1,
+                    "508": 1,
+                    "509": 1,
+                    "510": 1,
+                    "511": 1,
+                    "512": 1,
+                    "513": 1,
+                    "514": 1,
+                    "515": 1,
+                    "516": 1,
+                    "517": 1,
+                    "518": 1,
+                    "519": 1,
+                    "520": 1
+                }
+            },
+            "link_id": {
+                "link_uuid": {
+                    "uuid": "d4e89764-11c5-5f59-b7d6-a3aa2dab43df"
+                }
+            },
+            "link_endpoint_ids": [
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "ce0cdfdd-2182-5027-8177-676ca3244f9d"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "615c29eb-3528-5e70-9f43-2491aeb6478b"
+                    }
+                },
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "88a0bc2f-1ebf-5aca-b472-c339a1c302f9"
+                    }
+                }
+            ]
+        },
+        {
+            "name": "R1-R2",
+            "optical_details": {
+                "src_port": "101",
+                "dst_port": "111",
+                "local_peer_port": "111",
+                "remote_peer_port": "101",
+                "c_slots": {
+                    "1": 1,
+                    "2": 1,
+                    "3": 1,
+                    "4": 1,
+                    "5": 1,
+                    "6": 1,
+                    "7": 1,
+                    "8": 1,
+                    "9": 1,
+                    "10": 1,
+                    "11": 1,
+                    "12": 1,
+                    "13": 1,
+                    "14": 1,
+                    "15": 1,
+                    "16": 1,
+                    "17": 1,
+                    "18": 1,
+                    "19": 1,
+                    "20": 1
+                },
+                "l_slots": {
+                    "101": 1,
+                    "102": 1,
+                    "103": 1,
+                    "104": 1,
+                    "105": 1,
+                    "106": 1,
+                    "107": 1,
+                    "108": 1,
+                    "109": 1,
+                    "110": 1,
+                    "111": 1,
+                    "112": 1,
+                    "113": 1,
+                    "114": 1,
+                    "115": 1,
+                    "116": 1,
+                    "117": 1,
+                    "118": 1,
+                    "119": 1,
+                    "120": 1
+                },
+                "s_slots": {
+                    "501": 1,
+                    "502": 1,
+                    "503": 1,
+                    "504": 1,
+                    "505": 1,
+                    "506": 1,
+                    "507": 1,
+                    "508": 1,
+                    "509": 1,
+                    "510": 1,
+                    "511": 1,
+                    "512": 1,
+                    "513": 1,
+                    "514": 1,
+                    "515": 1,
+                    "516": 1,
+                    "517": 1,
+                    "518": 1,
+                    "519": 1,
+                    "520": 1
+                }
+            },
+            "link_id": {
+                "link_uuid": {
+                    "uuid": "e273644c-0dfa-5053-8850-0722995e7ba3"
+                }
+            },
+            "link_endpoint_ids": [
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "811b34f9-112c-5cc5-a4e0-6e5f5e0bdada"
+                    }
+                },
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "d777e553-af96-5ee7-a957-ce70b49e36ac"
+                    }
+                }
+            ]
+        },
+        {
+            "name": "T1.1-R1",
+            "optical_details": {
+                "src_port": "1",
+                "dst_port": "12",
+                "local_peer_port": "1",
+                "remote_peer_port": "2",
+                "c_slots": {
+                    "1": 1,
+                    "2": 1,
+                    "3": 1,
+                    "4": 1,
+                    "5": 1,
+                    "6": 1,
+                    "7": 1,
+                    "8": 1,
+                    "9": 1,
+                    "10": 1,
+                    "11": 1,
+                    "12": 1,
+                    "13": 1,
+                    "14": 1,
+                    "15": 1,
+                    "16": 1,
+                    "17": 1,
+                    "18": 1,
+                    "19": 1,
+                    "20": 1
+                },
+                "l_slots": {
+                    "101": 1,
+                    "102": 1,
+                    "103": 1,
+                    "104": 1,
+                    "105": 1,
+                    "106": 1,
+                    "107": 1,
+                    "108": 1,
+                    "109": 1,
+                    "110": 1,
+                    "111": 1,
+                    "112": 1,
+                    "113": 1,
+                    "114": 1,
+                    "115": 1,
+                    "116": 1,
+                    "117": 1,
+                    "118": 1,
+                    "119": 1,
+                    "120": 1
+                },
+                "s_slots": {
+                    "501": 1,
+                    "502": 1,
+                    "503": 1,
+                    "504": 1,
+                    "505": 1,
+                    "506": 1,
+                    "507": 1,
+                    "508": 1,
+                    "509": 1,
+                    "510": 1,
+                    "511": 1,
+                    "512": 1,
+                    "513": 1,
+                    "514": 1,
+                    "515": 1,
+                    "516": 1,
+                    "517": 1,
+                    "518": 1,
+                    "519": 1,
+                    "520": 1
+                }
+            },
+            "link_id": {
+                "link_uuid": {
+                    "uuid": "e8bd9082-ebad-55b8-b110-7c21fddaf1cf"
+                }
+            },
+            "link_endpoint_ids": [
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "4dbdc2d8-cbde-5e48-a3c0-5161387a58c7"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "5eb4f156-7811-53f3-9172-8402127cf7b9"
+                    }
+                },
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "690284c6-a8f7-54a0-82ed-19e721976221"
+                    }
+                }
+            ]
+        },
+        {
+            "name": "R2-R1",
+            "optical_details": {
+                "src_port": "101",
+                "dst_port": "111",
+                "local_peer_port": "111",
+                "remote_peer_port": "101",
+                "c_slots": {
+                    "1": 1,
+                    "2": 1,
+                    "3": 1,
+                    "4": 1,
+                    "5": 1,
+                    "6": 1,
+                    "7": 1,
+                    "8": 1,
+                    "9": 1,
+                    "10": 1,
+                    "11": 1,
+                    "12": 1,
+                    "13": 1,
+                    "14": 1,
+                    "15": 1,
+                    "16": 1,
+                    "17": 1,
+                    "18": 1,
+                    "19": 1,
+                    "20": 1
+                },
+                "l_slots": {
+                    "101": 1,
+                    "102": 1,
+                    "103": 1,
+                    "104": 1,
+                    "105": 1,
+                    "106": 1,
+                    "107": 1,
+                    "108": 1,
+                    "109": 1,
+                    "110": 1,
+                    "111": 1,
+                    "112": 1,
+                    "113": 1,
+                    "114": 1,
+                    "115": 1,
+                    "116": 1,
+                    "117": 1,
+                    "118": 1,
+                    "119": 1,
+                    "120": 1
+                },
+                "s_slots": {
+                    "501": 1,
+                    "502": 1,
+                    "503": 1,
+                    "504": 1,
+                    "505": 1,
+                    "506": 1,
+                    "507": 1,
+                    "508": 1,
+                    "509": 1,
+                    "510": 1,
+                    "511": 1,
+                    "512": 1,
+                    "513": 1,
+                    "514": 1,
+                    "515": 1,
+                    "516": 1,
+                    "517": 1,
+                    "518": 1,
+                    "519": 1,
+                    "520": 1
+                }
+            },
+            "link_id": {
+                "link_uuid": {
+                    "uuid": "eae23f48-40de-5aae-b3d1-fa3cda231678"
+                }
+            },
+            "link_endpoint_ids": [
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "4255273d-5038-512d-9838-d5dd921cb858"
+                    }
+                },
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "f45593bb-41b1-50af-8944-524212ca012a"
+                    }
+                }
+            ]
+        },
+        {
+            "name": "T2.1-R2",
+            "optical_details": {
+                "src_port": "6",
+                "dst_port": "12",
+                "local_peer_port": "6",
+                "remote_peer_port": "2",
+                "c_slots": {
+                    "1": 1,
+                    "2": 1,
+                    "3": 1,
+                    "4": 1,
+                    "5": 1,
+                    "6": 1,
+                    "7": 1,
+                    "8": 1,
+                    "9": 1,
+                    "10": 1,
+                    "11": 1,
+                    "12": 1,
+                    "13": 1,
+                    "14": 1,
+                    "15": 1,
+                    "16": 1,
+                    "17": 1,
+                    "18": 1,
+                    "19": 1,
+                    "20": 1
+                },
+                "l_slots": {
+                    "101": 1,
+                    "102": 1,
+                    "103": 1,
+                    "104": 1,
+                    "105": 1,
+                    "106": 1,
+                    "107": 1,
+                    "108": 1,
+                    "109": 1,
+                    "110": 1,
+                    "111": 1,
+                    "112": 1,
+                    "113": 1,
+                    "114": 1,
+                    "115": 1,
+                    "116": 1,
+                    "117": 1,
+                    "118": 1,
+                    "119": 1,
+                    "120": 1
+                },
+                "s_slots": {
+                    "501": 1,
+                    "502": 1,
+                    "503": 1,
+                    "504": 1,
+                    "505": 1,
+                    "506": 1,
+                    "507": 1,
+                    "508": 1,
+                    "509": 1,
+                    "510": 1,
+                    "511": 1,
+                    "512": 1,
+                    "513": 1,
+                    "514": 1,
+                    "515": 1,
+                    "516": 1,
+                    "517": 1,
+                    "518": 1,
+                    "519": 1,
+                    "520": 1
+                }
+            },
+            "link_id": {
+                "link_uuid": {
+                    "uuid": "ebb2ca0f-d4c1-51c4-ab41-dceea90f811f"
+                }
+            },
+            "link_endpoint_ids": [
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "1b9f85aa-8cc9-5b9d-99dc-8f0eec714d67"
+                    }
+                },
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "87d74166-65e3-595e-b643-122b4fd0303f"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "61fd51ea-9896-5528-bcf3-3202a7668efb"
+                    }
+                }
+            ]
+        },
+        {
+            "name": "T1.3-R1",
+            "optical_details": {
+                "src_port": "1",
+                "dst_port": "14",
+                "local_peer_port": "1",
+                "remote_peer_port": "4",
+                "c_slots": {
+                    "1": 1,
+                    "2": 1,
+                    "3": 1,
+                    "4": 1,
+                    "5": 1,
+                    "6": 1,
+                    "7": 1,
+                    "8": 1,
+                    "9": 1,
+                    "10": 1,
+                    "11": 1,
+                    "12": 1,
+                    "13": 1,
+                    "14": 1,
+                    "15": 1,
+                    "16": 1,
+                    "17": 1,
+                    "18": 1,
+                    "19": 1,
+                    "20": 1
+                },
+                "l_slots": {
+                    "101": 1,
+                    "102": 1,
+                    "103": 1,
+                    "104": 1,
+                    "105": 1,
+                    "106": 1,
+                    "107": 1,
+                    "108": 1,
+                    "109": 1,
+                    "110": 1,
+                    "111": 1,
+                    "112": 1,
+                    "113": 1,
+                    "114": 1,
+                    "115": 1,
+                    "116": 1,
+                    "117": 1,
+                    "118": 1,
+                    "119": 1,
+                    "120": 1
+                },
+                "s_slots": {
+                    "501": 1,
+                    "502": 1,
+                    "503": 1,
+                    "504": 1,
+                    "505": 1,
+                    "506": 1,
+                    "507": 1,
+                    "508": 1,
+                    "509": 1,
+                    "510": 1,
+                    "511": 1,
+                    "512": 1,
+                    "513": 1,
+                    "514": 1,
+                    "515": 1,
+                    "516": 1,
+                    "517": 1,
+                    "518": 1,
+                    "519": 1,
+                    "520": 1
+                }
+            },
+            "link_id": {
+                "link_uuid": {
+                    "uuid": "f79a817c-a6a0-55d5-9398-a582a9835be9"
+                }
+            },
+            "link_endpoint_ids": [
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "68741528-2e94-5274-ab3c-fddcd8dc05ef"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "dad62073-9e4f-5b05-947d-571e6c3a6068"
+                    }
+                },
+                {
+                    "topology_id": {
+                        "context_id": {
+                            "context_uuid": {
+                                "uuid": "43813baf-195e-5da6-af20-b3d0922e71a7"
+                            }
+                        },
+                        "topology_uuid": {
+                            "uuid": "c76135e3-24a8-5e92-9bed-c3c9139359c8"
+                        }
+                    },
+                    "device_id": {
+                        "device_uuid": {
+                            "uuid": "cf618e18-c0a1-58c4-9827-943a2c0523d6"
+                        }
+                    },
+                    "endpoint_uuid": {
+                        "uuid": "dcaae3e3-42c5-50b5-bafb-d3097d567d09"
+                    }
+                }
+            ]
+        }
+    ]
+}
\ No newline at end of file
diff --git a/my_deploy.sh b/my_deploy.sh
index bb78bece5387532d46ea18dea9c2972e532c0cd8..68b6bb044f25f7bdc4091327ade6850b5d6db565 100755
--- a/my_deploy.sh
+++ b/my_deploy.sh
@@ -20,7 +20,7 @@
 export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/"
 
 # Set the list of components, separated by spaces, you want to build images for, and deploy.
-export TFS_COMPONENTS="context device pathcomp opticalcontroller service slice  webui nbi "
+export TFS_COMPONENTS="context device pathcomp opticalcontroller qkd_app service slice  webui nbi "
 
 # Uncomment to activate Monitoring (old)
 #export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring"
diff --git a/src/service/service/tools/OpticalTools.py b/src/service/service/tools/OpticalTools.py
index 7b3736a3a47e92e6a9bc6e4f7d396755dfcbd37b..52bda1d5ef4fb1a89dac91830ef876ed4059c8b3 100644
--- a/src/service/service/tools/OpticalTools.py
+++ b/src/service/service/tools/OpticalTools.py
@@ -66,11 +66,11 @@ def get_optical_controller_base_url() -> str:
     return base_url
 
 opticalcontrollers_url = find_environment_variables([
-    VAR_NAME_OPTICAL_CONTROLLER_HOST,
-    VAR_NAME_OPTICAL_CONTROLLER_PORT,
+    VAR_NAME_OPTICAL_CTRL_HOST,
+    VAR_NAME_OPTICAL_CTRL_PORT,
 ])
-OPTICAL_IP   = opticalcontrollers_url.get(VAR_NAME_OPTICAL_CONTROLLER_HOST)
-OPTICAL_PORT = opticalcontrollers_url.get(VAR_NAME_OPTICAL_CONTROLLER_PORT)
+OPTICAL_IP   = opticalcontrollers_url.get(VAR_NAME_OPTICAL_CTRL_HOST)
+OPTICAL_PORT = opticalcontrollers_url.get(VAR_NAME_OPTICAL_CTRL_PORT)
 
 
 def get_uuids_from_names(devices: List[Device], device_name: str, port_name: str):
@@ -162,7 +162,7 @@ def get_optical_band(idx) -> str:
 def delete_lightpath( src, dst, bitrate, ob_id,delete_band,flow_id=None) -> str:
     reply = "200"
     delete_band=1 if delete_band else 0
-    if not testing:
+    if not TESTING:
         urlx=None
         if flow_id is not None:
            urlx = "http://{}:{}/OpticalTFS/DelFlexLightpath/{}/{}/{}/{}/{}/{}".format(OPTICAL_IP, OPTICAL_PORT, src, dst, bitrate, ob_id,delete_band,flow_id)
@@ -178,7 +178,7 @@ def delete_lightpath( src, dst, bitrate, ob_id,delete_band,flow_id=None) -> str:
 
 def DelFlexLightpath (flow_id,src,dst,bitrate,o_band_id):
     reply = "200"
-    if not testing:
+    if not TESTING:
         urlx = "http://{}:{}/OpticalTFS/DelFlexLightpath/{}/{}/{}/{}/{}".format(OPTICAL_IP, OPTICAL_PORT, flow_id, src, dst, bitrate,o_band_id)
 
         headers = {"Content-Type": "application/json"}
diff --git a/src/tests/ofc24/get_all.sh b/src/tests/ofc24/get_all.sh
old mode 100644
new mode 100755
diff --git a/src/tests/ofc24/get_bands.sh b/src/tests/ofc24/get_bands.sh
old mode 100644
new mode 100755
diff --git a/src/tests/ofc24/get_lightpath.sh b/src/tests/ofc24/get_lightpath.sh
old mode 100644
new mode 100755
diff --git a/src/tests/ofc24/get_links.sh b/src/tests/ofc24/get_links.sh
old mode 100644
new mode 100755
diff --git a/src/tests/ofc24/r_t.sh b/src/tests/ofc24/r_t.sh
old mode 100644
new mode 100755