예제 #1
0
파일: utils.py 프로젝트: e0ne/brick
def brick_get_connector_properties():
    """wrapper for the brick calls to automatically set
    the root_helper needed for brick.
    """

    root_helper = get_root_helper()
    return connector.get_connector_properties(root_helper, CONF.my_ip)
예제 #2
0
파일: utils.py 프로젝트: Thingee/brick
def brick_get_connector_properties():
    """wrapper for the brick calls to automatically set
    the root_helper needed for brick.
    """

    root_helper = get_root_helper()
    return connector.get_connector_properties(root_helper,
                                              CONF.my_ip)
예제 #3
0
 def get_connector(self):
     """Fetch the initiator side connection information."""
     root_helper = utils.get_root_helper()
     return connector.get_connector_properties(root_helper,
                                               self.configuration.my_ip)
예제 #4
0
파일: manager.py 프로젝트: e0ne/brick
 def get_connector(self):
     """Fetch the initiator side connection information."""
     root_helper = utils.get_root_helper()
     return connector.get_connector_properties(root_helper,
                                               self.configuration.my_ip)