mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame] | 1 | #!/usr/bin/python |
| 2 | # |
| 3 | # Copyright 2007 Google Inc. Released under the GPL v2 |
| 4 | |
mbligh | dc735a2 | 2007-08-02 16:54:37 +0000 | [diff] [blame] | 5 | """ |
| 6 | This module defines the Kernel class |
mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame] | 7 | |
| 8 | Kernel: an os kernel |
| 9 | """ |
| 10 | |
mbligh | dc735a2 | 2007-08-02 16:54:37 +0000 | [diff] [blame] | 11 | __author__ = """ |
| 12 | mbligh@google.com (Martin J. Bligh), |
mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame] | 13 | poirier@google.com (Benjamin Poirier), |
mbligh | dc735a2 | 2007-08-02 16:54:37 +0000 | [diff] [blame] | 14 | stutsman@google.com (Ryan Stutsman) |
| 15 | """ |
mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame] | 16 | |
| 17 | |
| 18 | import installable_object |
| 19 | |
| 20 | |
| 21 | class Kernel(installable_object.InstallableObject): |
mbligh | dc735a2 | 2007-08-02 16:54:37 +0000 | [diff] [blame] | 22 | """ |
| 23 | This class represents a kernel. |
mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame] | 24 | |
| 25 | It is used to obtain a built kernel or create one from source and |
| 26 | install it on a Host. |
| 27 | |
| 28 | Implementation details: |
| 29 | This is an abstract class, leaf subclasses must implement the methods |
| 30 | listed here and in parent classes which have no implementation. They |
| 31 | may reimplement methods which already have an implementation. You |
| 32 | must not instantiate this class but should instantiate one of those |
mbligh | dc735a2 | 2007-08-02 16:54:37 +0000 | [diff] [blame] | 33 | leaf subclasses. |
| 34 | """ |
mbligh | dcd57a8 | 2007-07-11 23:06:47 +0000 | [diff] [blame] | 35 | |
mbligh | 6a64126 | 2007-07-23 23:33:31 +0000 | [diff] [blame] | 36 | def get_version(): |
| 37 | pass |
mbligh | dc735a2 | 2007-08-02 16:54:37 +0000 | [diff] [blame] | 38 | |
| 39 | |
mbligh | 6a64126 | 2007-07-23 23:33:31 +0000 | [diff] [blame] | 40 | def get_image_name(): |
| 41 | pass |
mbligh | dc735a2 | 2007-08-02 16:54:37 +0000 | [diff] [blame] | 42 | |
| 43 | |
mbligh | 6a64126 | 2007-07-23 23:33:31 +0000 | [diff] [blame] | 44 | def get_initrd_name(): |
| 45 | pass |