Fix ACL plugin issue, release version 1.1.1
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
"""Version information for vppcfg."""
|
||||
|
||||
__version__ = "1.1.0"
|
||||
__version__ = "1.1.1"
|
||||
|
||||
@@ -203,7 +203,7 @@ class VPPApi:
|
||||
if len(self.cache["interface_addresses"][iface.sw_if_index]) > 0:
|
||||
self.logger.warning(f"Not all addresses were removed on {ifname}")
|
||||
del self.cache["interface_addresses"][iface.sw_if_index]
|
||||
del self.cache["interface_acls"][iface.sw_if_index]
|
||||
self.cache["interface_acls"].pop(iface.sw_if_index, None)
|
||||
del self.cache["interface_names"][ifname]
|
||||
|
||||
## Use my_dict.pop('key', None), as it allows 'key' to be absent
|
||||
|
||||
Reference in New Issue
Block a user