exec_cmd_no_error(node, command, timeout=30, sudo=True)
@staticmethod
exec_cmd_no_error(node, command, timeout=30, sudo=True)
@staticmethod
version = ('VPP version: {ver}\n'.
format(ver=data['version'].rstrip('\0x00')))
if verbose:
version += ('Compile date: {date}\n'
version = ('VPP version: {ver}\n'.
format(ver=data['version'].rstrip('\0x00')))
if verbose:
version += ('Compile date: {date}\n'
- resp = papi_exec.add('show_threads').execute_should_pass()
- return resp.reply[0]['api_reply']['show_threads_reply']['thread_data']
+ return papi_exec.add('show_threads').execute_should_pass().\
+ verify_reply()["thread_data"]