blob: 1789e10b50cf0710556f0a27c74792e41e58e9f6 [file] [log] [blame]
mblighdcd57a82007-07-11 23:06:47 +00001#
2# Copyright 2007 Google Inc. Released under the GPL v2
3
4"""This is a convenience module to import all available types of hosts.
5
6Implementation details:
7You should 'import hosts' instead of importing every available host module.
8"""
9
mblighdcd57a82007-07-11 23:06:47 +000010
11# host abstract classes
12from base_classes import Host
jadmanski1c5e3a12008-08-15 23:08:20 +000013from remote import RemoteHost
mblighdcd57a82007-07-11 23:06:47 +000014
15# host implementation classes
Simran Basi431010f2013-09-04 10:42:41 -070016from adb_host import ADBHost
mblighdcd57a82007-07-11 23:06:47 +000017from ssh_host import SSHHost
Fang Deng0ca40e22013-08-27 17:47:44 -070018from cros_host import CrosHost
Tom Wai-Hong Tamefe1c7f2014-01-02 14:00:11 +080019from chameleon_host import ChameleonHost
Fang Deng5d518f42013-08-02 14:04:32 -070020from servo_host import ServoHost
mblighdcd57a82007-07-11 23:06:47 +000021
jadmanski635b06f2008-09-05 20:26:44 +000022# factory function
23from factory import create_host
Kevin Cheng3b111812015-12-15 11:52:08 -080024from factory import create_target_machine
Prathmesh Prabhuc2c6d542018-04-20 14:28:45 -070025
26# Many host creation sites only import the package, so also provide useful
27# methods associated with host creation.
28from base_classes import send_creation_metric