| H A D | utils.py | 3 import json as _json 244 def tool(name, args, json=None, ns=None, host=None): argument 246 if json: 253 if json: 258 def bpftool(args, json=None, ns=None, host=None): argument 259 return tool('bpftool', args, json=json, ns=ns, host=host) 262 def ip(args, json=None, ns=None, host=None): argument 265 return tool('ip', args, json=json, host=host) 268 def tc(args, json=None, ns=None, host=None): argument 272 return tool('tc', args, json=json, host=host) [all …]
|