@utils.arg('server', metavar='<server>', help=_('Name or ID of server.'))
def do_list_secgroup(cs, args):
 server = _find_server(cs, args.server)
 groups = server.list_security_group()
 _print_secgroups(groups)

@ utils . arg ( 'server' , metavar = '<server>' , help = _ ( 'Name or ID of server.' ) ) def do_list_secgroup ( cs , args ) : server = _find_server ( cs , args . server ) groups = server . list_security_group ( ) _print_secgroups ( groups )
list security group(s) of a server .