D | test_offload.py | 143 def tool(name, args, flags, JSON=True, ns="", fail=True, include_stderr=False): argument 145 if JSON: 158 if JSON and len(stdout.strip()) != 0: 168 def bpftool(args, JSON=True, ns="", fail=True, include_stderr=False): argument 169 return tool("bpftool", args, {"json":"-p"}, JSON=JSON, ns=ns, 173 _, progs = bpftool("prog show", JSON=True, ns=ns, fail=True) 185 _, maps = bpftool("map show", JSON=True, ns=ns, fail=True) 225 def ip(args, force=False, JSON=True, ns="", fail=True, include_stderr=False): argument 228 return tool("ip", args, {"json":"-j"}, JSON=JSON, ns=ns, 231 def tc(args, JSON=True, ns="", fail=True, include_stderr=False): argument [all …]
|