Merge "Change PTL informatin in INFO"
[bottlenecks.git] / testsuites / vstf / vstf_scripts / vstf / agent / env / plugins / tester_env_plugin.py
1 ##############################################################################
2 # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
3 #
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 ##############################################################################
9
10 import logging
11
12 from vstf.agent.env.plugins.model import EnvBuilderPlugin
13 from vstf.agent.env.driver_plugins.manager import DriverPluginManager
14
15 LOG = logging.getLogger(__name__)
16
17
18 class Plugin(EnvBuilderPlugin):
19
20     def __init__(self):
21         super(Plugin, self).__init__()
22         self.dr_mgr = DriverPluginManager()
23
24     def clean(self):
25         self.dr_mgr.clean()
26
27     def install(self):
28         pass
29
30     def load_drivers(self):
31         drivers = self.host_cfg['drivers']
32         self.dr_mgr.load(drivers)
33
34     def create_brs(self):
35         pass
36
37     def config_br_ports(self):
38         pass
39
40     def create_vms(self):
41         pass
42
43     def wait_vms(self):
44         pass
45
46     def check_vm_connectivity(self):
47         pass