Commit ef80f84f authored by Pablo Armingol's avatar Pablo Armingol
Browse files

code clean up

parent 6e25d4e9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -395,8 +395,7 @@ def compute_optical_path(service: Service) -> PathCompReply:
            "src-ip-mask": str(nodes[src_name]["ip-mask"]),
            "src-vlan-id": nodes[src_name]["vlan-id"],
        }
        if device_name:
            content["device_name"] = device_name
        
        for i, dest in enumerate(dest_list):
            if dest in nodes:
                content[f"dest{i+1}-node-uuid"] = dest