| H A D | utils.py | 3 import json as _json 202 def tool(name, args, json=None, ns=None, host=None): argument 204 if json: 208 if json: 213 def bpftool(args, json=None, ns=None, host=None): argument 214 return tool('bpftool', args, json=json, ns=ns, host=host) 217 def ip(args, json=None, ns=None, host=None): argument 220 return tool('ip', args, json=json, host=host) 223 def ethtool(args, json=None, ns=None, host=None): argument 224 return tool('ethtool', args, json=json, ns=ns, host=host) [all …]
|