fixed edge refactoring issue when finding next subnet
This commit is contained in:
parent
05d3b58c5f
commit
105825808d
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ class InterfaceManager:
|
|||
def next_subnet(self):
|
||||
# define currently used subnets
|
||||
used_subnets = set()
|
||||
for link in self.app.core.links.values():
|
||||
for edge in self.app.core.links.values():
|
||||
link = edge.link
|
||||
if link.HasField("interface_one"):
|
||||
subnet = self.get_subnet(link.interface_one)
|
||||
used_subnets.add(subnet)
|
||||
|
|
Loading…
Reference in a new issue