#NEWLINE# def _set_controller( self , ctx , br_name , controller_names ) : #NEWLINE# #INDENT# ctx . populate_cache ( ) #NEWLINE# ovsrec_bridge = ctx . find_real_bridge ( br_name , True ) . br_cfg #NEWLINE# self . _verify_controllers ( ovsrec_bridge ) #NEWLINE# self . _delete_controllers ( ovsrec_bridge . controller ) #NEWLINE# controllers = self . _insert_controllers ( controller_names ) #NEWLINE# ovsrec_bridge . controller = controllers