Esempio n. 1
0
File: utils.py Progetto: 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)
Esempio n. 2
0
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)
Esempio n. 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)
Esempio n. 4
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)