1 ##############################################################################
2 # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
12 from vstf.agent.env.plugins.model import EnvBuilderPlugin
13 from vstf.agent.env.driver_plugins.manager import DriverPluginManager
15 LOG = logging.getLogger(__name__)
18 class Plugin(EnvBuilderPlugin):
20 super(Plugin, self).__init__()
21 self.dr_mgr = DriverPluginManager()
29 def load_drivers(self):
30 drivers = self.host_cfg['drivers']
31 self.dr_mgr.load(drivers)
36 def config_br_ports(self):
45 def check_vm_connectivity(self):