pykickstart.commands.raid
index
/usr/lib/python2.6/site-packages/pykickstart/commands/raid.py

# Chris Lumens <clumens@redhat.com>
#
# Copyright 2005, 2006, 2007, 2008 Red Hat, Inc.
#
# This copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the GNU
# General Public License v.2.  This program is distributed in the hope that it
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
# implied warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  Any Red Hat
# trademarks that are incorporated in the source code or documentation are not
# subject to the GNU General Public License and may only be used or replicated
# with the express permission of Red Hat, Inc. 
#

 
Modules
       
gettext
imputil
re
string
sys
warnings

 
Classes
       
pykickstart.base.BaseData(pykickstart.ko.KickstartObject)
FC3_RaidData
FC4_RaidData
FC5_RaidData
F9_RaidData
F12_RaidData
RHEL5_RaidData
FC5_RaidData
F9_RaidData
F12_RaidData
RHEL5_RaidData
pykickstart.base.KickstartCommand(pykickstart.ko.KickstartObject)
FC3_Raid
FC4_Raid
FC5_Raid
F7_Raid
F9_Raid
F12_Raid
RHEL5_Raid

 
class F12_Raid(F9_Raid)
    
Method resolution order:
F12_Raid
F9_Raid
F7_Raid
FC5_Raid
FC4_Raid
FC3_Raid
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from F7_Raid:
__init__(self, writePriority=131, *args, **kwargs)

Methods inherited from FC3_Raid:
__str__(self)
dataList(self)
parse(self, args)

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class F12_RaidData(F9_RaidData)
    
Method resolution order:
F12_RaidData
F9_RaidData
FC5_RaidData
FC4_RaidData
FC3_RaidData
pykickstart.base.BaseData
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, *args, **kwargs)

Data and other attributes defined here:
removedAttrs = ['bytesPerInode']
removedKeywords = ['bytesPerInode']

Methods inherited from FC3_RaidData:
__eq__(self, y)
__str__(self)

Methods inherited from pykickstart.base.BaseData:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of BaseData at once via
keyword arguments.  Valid attributes are anything specified in a
subclass, but unknown attributes will be ignored.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class F7_Raid(FC5_Raid)
    
Method resolution order:
F7_Raid
FC5_Raid
FC4_Raid
FC3_Raid
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, writePriority=131, *args, **kwargs)

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from FC3_Raid:
__str__(self)
dataList(self)
parse(self, args)

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
F7_RaidData = class FC5_RaidData(FC4_RaidData)
    
Method resolution order:
FC5_RaidData
FC4_RaidData
FC3_RaidData
pykickstart.base.BaseData
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, *args, **kwargs)

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from FC3_RaidData:
__eq__(self, y)
__str__(self)

Methods inherited from pykickstart.base.BaseData:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of BaseData at once via
keyword arguments.  Valid attributes are anything specified in a
subclass, but unknown attributes will be ignored.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class F9_Raid(F7_Raid)
    
Method resolution order:
F9_Raid
F7_Raid
FC5_Raid
FC4_Raid
FC3_Raid
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from F7_Raid:
__init__(self, writePriority=131, *args, **kwargs)

Methods inherited from FC3_Raid:
__str__(self)
dataList(self)
parse(self, args)

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class F9_RaidData(FC5_RaidData)
    
Method resolution order:
F9_RaidData
FC5_RaidData
FC4_RaidData
FC3_RaidData
pykickstart.base.BaseData
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, *args, **kwargs)

Data and other attributes defined here:
removedAttrs = ['bytesPerInode']
removedKeywords = ['bytesPerInode']

Methods inherited from FC3_RaidData:
__eq__(self, y)
__str__(self)

Methods inherited from pykickstart.base.BaseData:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of BaseData at once via
keyword arguments.  Valid attributes are anything specified in a
subclass, but unknown attributes will be ignored.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FC3_Raid(pykickstart.base.KickstartCommand)
    
Method resolution order:
FC3_Raid
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, writePriority=131, *args, **kwargs)
__str__(self)
dataList(self)
parse(self, args)

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FC3_RaidData(pykickstart.base.BaseData)
    
Method resolution order:
FC3_RaidData
pykickstart.base.BaseData
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__eq__(self, y)
__init__(self, *args, **kwargs)
__str__(self)

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from pykickstart.base.BaseData:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of BaseData at once via
keyword arguments.  Valid attributes are anything specified in a
subclass, but unknown attributes will be ignored.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FC4_Raid(FC3_Raid)
    
Method resolution order:
FC4_Raid
FC3_Raid
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from FC3_Raid:
__init__(self, writePriority=131, *args, **kwargs)
__str__(self)
dataList(self)
parse(self, args)

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FC4_RaidData(FC3_RaidData)
    
Method resolution order:
FC4_RaidData
FC3_RaidData
pykickstart.base.BaseData
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, *args, **kwargs)

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from FC3_RaidData:
__eq__(self, y)
__str__(self)

Methods inherited from pykickstart.base.BaseData:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of BaseData at once via
keyword arguments.  Valid attributes are anything specified in a
subclass, but unknown attributes will be ignored.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FC5_Raid(FC4_Raid)
    
Method resolution order:
FC5_Raid
FC4_Raid
FC3_Raid
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from FC3_Raid:
__init__(self, writePriority=131, *args, **kwargs)
__str__(self)
dataList(self)
parse(self, args)

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FC5_RaidData(FC4_RaidData)
    
Method resolution order:
FC5_RaidData
FC4_RaidData
FC3_RaidData
pykickstart.base.BaseData
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, *args, **kwargs)

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from FC3_RaidData:
__eq__(self, y)
__str__(self)

Methods inherited from pykickstart.base.BaseData:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of BaseData at once via
keyword arguments.  Valid attributes are anything specified in a
subclass, but unknown attributes will be ignored.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class RHEL5_Raid(FC5_Raid)
    
Method resolution order:
RHEL5_Raid
FC5_Raid
FC4_Raid
FC3_Raid
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, writePriority=131, *args, **kwargs)

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from FC3_Raid:
__str__(self)
dataList(self)
parse(self, args)

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class RHEL5_RaidData(FC5_RaidData)
    
Method resolution order:
RHEL5_RaidData
FC5_RaidData
FC4_RaidData
FC3_RaidData
pykickstart.base.BaseData
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, *args, **kwargs)

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from FC3_RaidData:
__eq__(self, y)
__str__(self)

Methods inherited from pykickstart.base.BaseData:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of BaseData at once via
keyword arguments.  Valid attributes are anything specified in a
subclass, but unknown attributes will be ignored.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        BOOTPROTO_BOOTP = 'bootp'
BOOTPROTO_DHCP = 'dhcp'
BOOTPROTO_QUERY = 'query'
BOOTPROTO_STATIC = 'static'
CLEARPART_TYPE_ALL = 1
CLEARPART_TYPE_LINUX = 0
CLEARPART_TYPE_NONE = 2
DEVEL = 11000
DISPLAY_MODE_CMDLINE = 0
DISPLAY_MODE_GRAPHICAL = 1
DISPLAY_MODE_TEXT = 2
F10 = 8000
F11 = 9000
F12 = 10000
F13 = 11000
F7 = 5000
F8 = 6000
F9 = 7000
FC3 = 1000
FC4 = 2000
FC5 = 3000
FC6 = 4000
FIRSTBOOT_DEFAULT = 0
FIRSTBOOT_RECONFIG = 2
FIRSTBOOT_SKIP = 1
GROUP_ALL = 2
GROUP_DEFAULT = 1
GROUP_REQUIRED = 0
KS_INSTKEY_SKIP = -99
KS_MISSING_IGNORE = 1
KS_MISSING_PROMPT = 0
KS_REBOOT = 1
KS_SCRIPT_POST = 1
KS_SCRIPT_PRE = 0
KS_SCRIPT_TRACEBACK = 2
KS_SHUTDOWN = 2
KS_WAIT = 0
RHEL3 = 900
RHEL4 = 1100
RHEL5 = 4100
RHEL6 = 11100
SELINUX_DISABLED = 0
SELINUX_ENFORCING = 1
SELINUX_PERMISSIVE = 2
SUPPRESS_HELP = 'SUPPRESSHELP'
SUPPRESS_USAGE = 'SUPPRESSUSAGE'
versionMap = {'DEVEL': 11000, 'F10': 8000, 'F11': 9000, 'F12': 10000, 'F13': 11000, 'F7': 5000, 'F8': 6000, 'F9': 7000, 'FC3': 1000, 'FC4': 2000, ...}