Bug fix for default network ACL entries (#2056)
* Fixed a bug where default network ACL entries could not be deleted. * Implemented throwing error when a network entry with the same rule number and egress value already exists. * Fixed syntax errors. * Added socket.timeout to possibly raised exceptions in wait_for for Python 3.
This commit is contained in:
parent
7271fb9391
commit
21917c4b93
4 changed files with 55 additions and 6 deletions
|
|
@ -12,8 +12,9 @@ except ImportError:
|
|||
# py3
|
||||
import urllib.request as urllib
|
||||
from urllib.error import URLError
|
||||
import socket
|
||||
|
||||
EXCEPTIONS = (URLError, ConnectionResetError)
|
||||
EXCEPTIONS = (URLError, socket.timeout, ConnectionResetError)
|
||||
|
||||
|
||||
start_ts = time.time()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue