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 |
| 16 | from ssh_host import SSHHost |
mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame] | 17 | from guest import Guest |
| 18 | from kvm_guest import KVMGuest |
Fang Deng | 0ca40e2 | 2013-08-27 17:47:44 -0700 | [diff] [blame^] | 19 | from cros_host import CrosHost |
mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame] | 20 | |
jadmanski | c533bd1 | 2008-09-03 20:48:51 +0000 | [diff] [blame] | 21 | # extra logger classes |
| 22 | from serial import SerialHost |
| 23 | from netconsole import NetconsoleHost |
| 24 | |
mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame] | 25 | # bootloader classes |
| 26 | from bootloader import Bootloader |
jadmanski | 1c5e3a1 | 2008-08-15 23:08:20 +0000 | [diff] [blame] | 27 | |
jadmanski | 635b06f | 2008-09-05 20:26:44 +0000 | [diff] [blame] | 28 | # factory function |
| 29 | from factory import create_host |