#NEWLINE# def _server_get( s_name , **connection_args ) : #NEWLINE# #INDENT# nitro = _connect ( ** connection_args ) #NEWLINE# if ( nitro is None ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# server = NSServer ( ) #NEWLINE# server . set_name ( s_name ) #NEWLINE# try : #NEWLINE# #INDENT# server = NSServer . get ( nitro , server ) #NEWLINE# #UNINDENT# except NSNitroError as error : #NEWLINE# #INDENT# log . debug ( 'netscaler module error - NSServer.get() failed: {0}' . format ( error ) ) #NEWLINE# server = None #NEWLINE# #UNINDENT# _disconnect ( nitro ) #NEWLINE# return server