示例#1
0
    def setUp(self):
        ip_ext_manager = (ip_ext.Manager(
            cfg.CONF, 'conductor.inventory_provider.plugin'))
        vc_ext_manager = (vc_ext.Manager(cfg.CONF,
                                         'conductor.vim_controller.plugin'))
        sc_ext_manager = (sc_ext.Manager(
            cfg.CONF, 'conductor.service_controller.plugin'))

        self.data_ep = DataEndpoint(ip_ext_manager, vc_ext_manager,
                                    sc_ext_manager)
示例#2
0
 def init_extension_managers(self, conf):
     """Initialize extension managers."""
     self.ip_ext_manager = (ip_ext.Manager(
         conf, 'conductor.inventory_provider.plugin'))
     self.ip_ext_manager.initialize()
     self.vc_ext_manager = (vc_ext.Manager(
         conf, 'conductor.vim_controller.plugin'))
     self.vc_ext_manager.initialize()
     self.sc_ext_manager = (sc_ext.Manager(
         conf, 'conductor.service_controller.plugin'))
     self.sc_ext_manager.initialize()