def load_interface_driver(conf):
 try:
  loaded_class = neutron_utils.load_class_by_alias_or_classname(INTERFACE_NAMESPACE, conf.interface_driver)
  return loaded_class(conf)
 except ImportError:
  LOG.error(_LE("Error loading interface driver '%s'"), conf.interface_driver)
  raise SystemExit(1)

def load_interface_driver ( conf ) : try : loaded_class = neutron_utils . load_class_by_alias_or_classname ( INTERFACE_NAMESPACE , conf . interface_driver ) return loaded_class ( conf ) except ImportError : LOG . error ( _LE ( "Error loading interface driver '%s'" ) , conf . interface_driver ) raise SystemExit ( 1 )
load interface driver for agents like dhcp or l3 agent .