class OpenmanoCliAPI(object):
""" This class implements the necessary funtionality to interact with """
- CMD_TIMEOUT = 30
+ CMD_TIMEOUT = 120
def __init__(self, log, host, port, tenant):
self._log = log
if proc.returncode != 0:
self._log.error(
- "Openmano command failed (rc=%s) with stdout: %s",
- proc.returncode, stdout
+ "Openmano command %s failed (rc=%s) with stdout: %s",
+ cmd_args[1], proc.returncode, stdout
)
raise OpenmanoCommandFailed(stdout)