mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame] | 1 | # |
| 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 | |
| 6 | Implementation details: |
| 7 | You should 'import hosts' instead of importing every available host module. |
| 8 | """ |
| 9 | |
mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame] | 10 | |
| 11 | # host abstract classes |
| 12 | from base_classes import Host |
jadmanski | 1c5e3a1 | 2008-08-15 23:08:20 +0000 | [diff] [blame] | 13 | from remote import RemoteHost |
mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame] | 14 | |
| 15 | # host implementation classes |
Simran Basi | 431010f | 2013-09-04 10:42:41 -0700 | [diff] [blame] | 16 | from adb_host import ADBHost |
mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame] | 17 | from ssh_host import SSHHost |
Fang Deng | 0ca40e2 | 2013-08-27 17:47:44 -0700 | [diff] [blame] | 18 | from cros_host import CrosHost |
Tom Wai-Hong Tam | efe1c7f | 2014-01-02 14:00:11 +0800 | [diff] [blame] | 19 | from chameleon_host import ChameleonHost |
Fang Deng | 5d518f4 | 2013-08-02 14:04:32 -0700 | [diff] [blame] | 20 | from servo_host import ServoHost |
mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame] | 21 | |
jadmanski | 635b06f | 2008-09-05 20:26:44 +0000 | [diff] [blame] | 22 | # factory function |
| 23 | from factory import create_host |
Kevin Cheng | 3b11181 | 2015-12-15 11:52:08 -0800 | [diff] [blame] | 24 | from factory import create_target_machine |
Prathmesh Prabhu | c2c6d54 | 2018-04-20 14:28:45 -0700 | [diff] [blame] | 25 | |
| 26 | # Many host creation sites only import the package, so also provide useful |
| 27 | # methods associated with host creation. |
| 28 | from base_classes import send_creation_metric |