diff --git a/src/device/service/drivers/oc_driver/templates/VPN/physical.py b/src/device/service/drivers/oc_driver/templates/VPN/physical.py
index f368ca10e52d36292b1751b7338b068fde177f12..9c894b1607c2bde5e8665dc02f9d19e79aa02817 100644
--- a/src/device/service/drivers/oc_driver/templates/VPN/physical.py
+++ b/src/device/service/drivers/oc_driver/templates/VPN/physical.py
@@ -61,6 +61,13 @@ def create_optical_channel(resources):
                     with tag('config'):
                         for resource in config:
                             with tag(resource['resource_key']):text(resource['value'])
+        with tag('terminal-device', xmlns="http://openconfig.net/yang/terminal-device"):
+            with tag('logical-channels'):
+                with tag('channel'):
+                    with tag('index'):text("{}".format(port_val))
+                    with tag('config'):
+                        with tag('index'):text("{}".format(port_val))
+                        with tag('admin-state'):text("ENABLED")
     result = indent(
         doc.getvalue(),
         indentation = ' '*2,
diff --git a/src/opticalcontroller/OpticalController.py b/src/opticalcontroller/OpticalController.py
index 0a8a56264be5c7a3d270f8244e63d39ed4499647..5a31441c1742c5329d3882795747107a8fb0cb09 100644
--- a/src/opticalcontroller/OpticalController.py
+++ b/src/opticalcontroller/OpticalController.py
@@ -113,7 +113,7 @@ class DelFLightpath(Resource):
                     #    rsa.optical_bands[rev_ob_id]["served_lightpaths"].remove(flow_id)
 
                     if debug:
-                        print(links_dict)
+                        print(rsa.links_dict)
                     return "flow {} deleted".format(flow_id), 200
                 else:
                     return "flow {} not matching".format(flow_id), 404
@@ -147,7 +147,7 @@ class DelLightpath(Resource):
                 rsa.del_flow(flow)
                 rsa.db_flows[flow_id]["is_active"] = False
                 if debug:
-                    print(links_dict)
+                    print(rsa.links_dict)
                 return "flow {} deleted".format(flow_id), 200
             else:
                 return "flow {} not matching".format(flow_id), 404