#NEWLINE# def add_san_manager( fcs , sanmgr , port , user , passwd , ssl ) : #NEWLINE# #INDENT# providers = fcs . get_providers ( ) #NEWLINE# for provider in providers : #NEWLINE# #INDENT# if ( provider [ 'displayName' ] == 'Brocade Network Advisor' ) : #NEWLINE# #INDENT# uri = provider [ 'deviceManagersUri' ] #NEWLINE# #UNINDENT# #UNINDENT# if ( not uri ) : #NEWLINE# #INDENT# print ( 'ERROR, Brocade Network Advisor Provider not found' ) #NEWLINE# #UNINDENT# connInfo = hpov . make_connectionInfo_dict ( sanmgr , connInfo , user , passwd , ssl ) #NEWLINE# ret = fcs . add_device_manager ( uri , connInfo ) #NEWLINE# print ( ret )