def brick_get_connector(protocol, driver=None, use_multipath=False, device_scan_attempts=3, *args, **kwargs):
 root_helper = get_root_helper()
 return connector.InitiatorConnector.factory(protocol, root_helper, driver=driver, use_multipath=use_multipath, device_scan_attempts=device_scan_attempts, *args, **kwargs)

def brick_get_connector ( protocol , driver = None , use_multipath = False , device_scan_attempts = 3 , * args , ** kwargs ) : root_helper = get_root_helper ( ) return connector . InitiatorConnector . factory ( protocol , root_helper , driver = driver , use_multipath = use_multipath , device_scan_attempts = device_scan_attempts , * args , ** kwargs )
wrapper to get a brick connector object .