Skip to content
Snippets Groups Projects
Commit 1e93daad authored by Mohammad Ismaeel's avatar Mohammad Ismaeel
Browse files

indentation

parent 55dee759
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!284Resolve: "(CNIT) Multi-Granular Optical Nodes and Optical Transpoders management"
...@@ -395,11 +395,11 @@ def roadm_values_extractor (data_xml:str,resource_keys:list,dic:dict): ...@@ -395,11 +395,11 @@ def roadm_values_extractor (data_xml:str,resource_keys:list,dic:dict):
if len(ports_wb_in)>0 : if len(ports_wb_in)>0 :
for port in ports_wb_in: for port in ports_wb_in:
resource_key = '/endpoints/endpoint[{:s}]'.format(port) resource_key = '/endpoints/endpoint[{:s}]'.format(port)
resource_value = {'uuid': port, 'type':'MG_ON_OPTICAL_PORT_WAVEBAND'} resource_value = {'uuid': port, 'type':'MG_ON_OPTICAL_PORT_WAVEBAND'}
ports_result.append((resource_key, resource_value)) ports_result.append((resource_key, resource_value))
return [ports_result] return [ports_result]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment