blob: 998eae9d474ec0a800b214712d9a9a4f336f936b [file] [log] [blame]
mblighdcd57a82007-07-11 23:06:47 +00001#!/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),
11poirier@google.com (Benjamin Poirier),
12stutsman@google.com (Ryan Stutsman)"""
13
14
15import installable_object
16
17
18class 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
mbligh6a641262007-07-23 23:33:31 +000031 def get_version():
32 pass
33
34 def get_image_name():
35 pass
36
37 def get_initrd_name():
38 pass