@api_versions.wraps('2.8')
@utils.arg('server', metavar='<server>', help=_('Name or ID of server.'))
def do_get_mks_console(cs, args):
 server = _find_server(cs, args.server)
 data = server.get_mks_console()
 print_console(cs, data)

@ api_versions . wraps ( '2.8' ) @ utils . arg ( 'server' , metavar = '<server>' , help = _ ( 'Name or ID of server.' ) ) def do_get_mks_console ( cs , args ) : server = _find_server ( cs , args . server ) data = server . get_mks_console ( ) print_console ( cs , data )
get an mks console to a server .