Lines Matching refs:ns
34 def __init__(self, comm, shell=True, fail=True, ns=None, background=False, argument
36 if ns:
114 def __init__(self, comm, shell=True, fail=None, ns=None, host=None, argument
117 shell=shell, fail=fail, ns=ns, host=host,
167 def tool(name, args, json=None, ns=None, host=None): argument
172 cmd_obj = cmd(cmd_str, ns=ns, host=host)
178 def bpftool(args, json=None, ns=None, host=None): argument
179 return tool('bpftool', args, json=json, ns=ns, host=host)
182 def ip(args, json=None, ns=None, host=None): argument
183 if ns:
188 def ethtool(args, json=None, ns=None, host=None): argument
189 return tool('ethtool', args, json=json, ns=ns, host=host)
192 def bpftrace(expr, json=None, ns=None, host=None, timeout=None): argument
209 cmd_obj = cmd(cmd_arr, ns=ns, host=host, shell=False)
236 def wait_port_listen(port, proto="tcp", ns=None, host=None, sleep=0.005, deadline=5): argument
245 data = cmd(f'cat /proc/net/{proto}*', ns=ns, host=host, shell=True).stdout