@api_versions.wraps('2.26')
@utils.arg('server', metavar='<server>', help=_('Name or ID of server.'))
def do_server_tag_list(cs, args):
 server = _find_server(cs, args.server)
 tags = server.tag_list()
 formatters = {'Tag': (lambda o: o)}
 utils.print_list(tags, ['Tag'], formatters=formatters)

@ api_versions . wraps ( '2.26' ) @ utils . arg ( 'server' , metavar = '<server>' , help = _ ( 'Name or ID of server.' ) ) def do_server_tag_list ( cs , args ) : server = _find_server ( cs , args . server ) tags = server . tag_list ( ) formatters = { 'Tag' : ( lambda o : o ) } utils . print_list ( tags , [ 'Tag' ] , formatters = formatters )
get list of tags from a server .