Collapse the error messages to force consistency
This commit is contained in:
@ -381,7 +381,8 @@ class VPPApi:
|
||||
self.logger.warning(
|
||||
f"MPLS state retrieval requires https://gerrit.fd.io/r/c/vpp/+/39022"
|
||||
)
|
||||
=======
|
||||
|
||||
try:
|
||||
self.logger.debug("Retrieving ACLs")
|
||||
api_response = self.vpp.api.acl_dump(acl_index=0xFFFFFFFF)
|
||||
for acl in api_response:
|
||||
@ -392,7 +393,8 @@ class VPPApi:
|
||||
)
|
||||
return False
|
||||
self.cache["acl_tags"][acl.tag] = acl.acl_index
|
||||
>>>>>>> ace08ac (Refuse to work with ACLs if there are duplicate tags -- it means something/somebody has been inserting them outside of vppcfg, and this breaks the requirement that vppcfg.acls. is the same uniquely identified vpp.acl.tag)
|
||||
except AttributeError as err:
|
||||
self.logger.warning(f"ACL API not found - missing plugin: {err}")
|
||||
|
||||
try:
|
||||
self.logger.debug("Retrieving ACLs")
|
||||
|
Reference in New Issue
Block a user