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 | |
| 5 | """This module defines the Kernel class |
| 6 | |
| 7 | Kernel: an os kernel |
| 8 | """ |
| 9 | |
| 10 | __author__ = """mbligh@google.com (Martin J. Bligh), |
| 11 | poirier@google.com (Benjamin Poirier), |
| 12 | stutsman@google.com (Ryan Stutsman)""" |
| 13 | |
| 14 | |
| 15 | import installable_object |
| 16 | |
| 17 | |
| 18 | class Kernel(installable_object.InstallableObject): |
| 19 | """This class represents a kernel. |
| 20 | |
| 21 | It is used to obtain a built kernel or create one from source and |
| 22 | install it on a Host. |
| 23 | |
| 24 | Implementation details: |
| 25 | This is an abstract class, leaf subclasses must implement the methods |
| 26 | listed here and in parent classes which have no implementation. They |
| 27 | may reimplement methods which already have an implementation. You |
| 28 | must not instantiate this class but should instantiate one of those |
| 29 | leaf subclasses.""" |
| 30 | |
mbligh | 6a64126 | 2007-07-23 23:33:31 +0000 | [diff] [blame^] | 31 | def get_version(): |
| 32 | pass |
| 33 | |
| 34 | def get_image_name(): |
| 35 | pass |
| 36 | |
| 37 | def get_initrd_name(): |
| 38 | pass |