¡@

Home 

OpenStack Study: driver.py

OpenStack Index

**** CubicPower OpenStack Study ****

def load_network_driver(network_driver=None):

    if not network_driver:

        network_driver = CONF.network_driver

    if not network_driver:

        LOG.error(_("Network driver option required, but not specified"))

        sys.exit(1)

    LOG.info(_("Loading network driver '%s'") % network_driver)

    return importutils.import_module(network_driver)