diff --git a/src/device/service/drivers/oc_driver/templates/Tools.py b/src/device/service/drivers/oc_driver/templates/Tools.py
index 9c447b9a1a26bac7ea7281f5423111d323320f51..2832b9609ed643146375b585b5ac8ba31e57c2f5 100644
--- a/src/device/service/drivers/oc_driver/templates/Tools.py
+++ b/src/device/service/drivers/oc_driver/templates/Tools.py
@@ -395,11 +395,11 @@ def roadm_values_extractor (data_xml:str,resource_keys:list,dic:dict):
     if len(ports_wb_in)>0 :
         for port in ports_wb_in:
         
-        resource_key = '/endpoints/endpoint[{:s}]'.format(port)
-        resource_value = {'uuid': port, 'type':'MG_ON_OPTICAL_PORT_WAVEBAND'}
-        ports_result.append((resource_key, resource_value))
+            resource_key = '/endpoints/endpoint[{:s}]'.format(port)
+            resource_value = {'uuid': port, 'type':'MG_ON_OPTICAL_PORT_WAVEBAND'}
+            ports_result.append((resource_key, resource_value))
       
-     return [ports_result]   
+    return [ports_result]