@utils.arg('server', metavar='<server>', help=_('Name or ID of server.'))
def do_interface_list(cs, args):
 server = _find_server(cs, args.server)
 res = server.interface_list()
 if isinstance(res, list):
  _print_interfaces(res)

@ utils . arg ( 'server' , metavar = '<server>' , help = _ ( 'Name or ID of server.' ) ) def do_interface_list ( cs , args ) : server = _find_server ( cs , args . server ) res = server . interface_list ( ) if isinstance ( res , list ) : _print_interfaces ( res )
list interfaces attached to a server .