Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.7.0, 4.8.0, 4.9.0
-
Security Level: Public (Anyone can view this level - this is the default.)
-
None
Description
In the CsInterface class in CsAddress.py on the virtual router there's a function
def ip_in_subnet(self, ip): ipo = IPAddress(ip) net = IPNetwork("%s/%s" % (self.get_ip(), self.get_size())) return ipo in list(net)
Skipping the list conversion and using "return ipo in net" is much faster and the functionality is the same. It can prevent a router timeout when attaching or detaching multiple IPs.
Attachments
Issue Links
- links to