pygui: removed edges tracking interfaces, since the link associated with them already does

This commit is contained in:
Blake Harnden 2020-10-12 22:51:15 -07:00
parent 055029e5c5
commit 053cd1da65
5 changed files with 13 additions and 17 deletions

View file

@ -910,10 +910,10 @@ class CoreClient:
src_node = canvas_src_node.core_node
dst_node = canvas_dst_node.core_node
if NodeUtils.is_container_node(src_node.type):
src_iface_id = edge.src_iface.id
src_iface_id = edge.link.iface1.id
self.iface_to_edge[(src_node.id, src_iface_id)] = edge
if NodeUtils.is_container_node(dst_node.type):
dst_iface_id = edge.dst_iface.id
dst_iface_id = edge.link.iface2.id
self.iface_to_edge[(dst_node.id, dst_iface_id)] = edge
def get_wlan_configs_proto(self) -> List[wlan_pb2.WlanConfig]: