pykickstart.commands.logvol
index
/usr/lib/python2.6/site-packages/pykickstart/commands/logvol.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
sys
warnings

 
Classes
       
pykickstart.base.BaseData(pykickstart.ko.KickstartObject)
FC3_LogVolData
FC4_LogVolData
F9_LogVolData
F12_LogVolData
RHEL5_LogVolData
pykickstart.base.KickstartCommand(pykickstart.ko.KickstartObject)
FC3_LogVol
FC4_LogVol
F9_LogVol
F12_LogVol
RHEL5_LogVol

 
class F12_LogVol(F9_LogVol)
    
Method resolution order:
F12_LogVol
F9_LogVol
FC4_LogVol
FC3_LogVol
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

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

Methods inherited from FC3_LogVol:
__init__(self, writePriority=133, *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 F12_LogVolData(F9_LogVolData)
    
Method resolution order:
F12_LogVolData
F9_LogVolData
FC4_LogVolData
FC3_LogVolData
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_LogVolData:
__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_LogVol(FC4_LogVol)
    
Method resolution order:
F9_LogVol
FC4_LogVol
FC3_LogVol
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

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

Methods inherited from FC3_LogVol:
__init__(self, writePriority=133, *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 F9_LogVolData(FC4_LogVolData)
    
Method resolution order:
F9_LogVolData
FC4_LogVolData
FC3_LogVolData
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_LogVolData:
__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_LogVol(pykickstart.base.KickstartCommand)
    
Method resolution order:
FC3_LogVol
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, writePriority=133, *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_LogVolData(pykickstart.base.BaseData)
    
Method resolution order:
FC3_LogVolData
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_LogVol(FC3_LogVol)
    
Method resolution order:
FC4_LogVol
FC3_LogVol
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

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

Methods inherited from FC3_LogVol:
__init__(self, writePriority=133, *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_LogVolData(FC3_LogVolData)
    
Method resolution order:
FC4_LogVolData
FC3_LogVolData
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_LogVolData:
__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_LogVol(FC4_LogVol)
    
Method resolution order:
RHEL5_LogVol
FC4_LogVol
FC3_LogVol
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

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

Methods inherited from FC3_LogVol:
__init__(self, writePriority=133, *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 RHEL5_LogVolData(FC4_LogVolData)
    
Method resolution order:
RHEL5_LogVolData
FC4_LogVolData
FC3_LogVolData
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_LogVolData:
__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, ...}