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

# Chris Lumens <clumens@redhat.com>
#
# Copyright 2007, 2008, 2009 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)
FC6_RepoData
F8_RepoData
F11_RepoData
F13_RepoData
pykickstart.base.KickstartCommand(pykickstart.ko.KickstartObject)
FC6_Repo
F8_Repo
F11_Repo
F13_Repo

 
class F11_Repo(F8_Repo)
    
Method resolution order:
F11_Repo
F8_Repo
FC6_Repo
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

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

Methods inherited from F8_Repo:
__str__(self)
methodToRepo(self)

Methods inherited from FC6_Repo:
__init__(self, writePriority=0, *args, **kwargs)
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 F11_RepoData(F8_RepoData)
    
Method resolution order:
F11_RepoData
F8_RepoData
FC6_RepoData
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 FC6_RepoData:
__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 F13_Repo(F11_Repo)
    
Method resolution order:
F13_Repo
F11_Repo
F8_Repo
FC6_Repo
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

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

Methods inherited from F8_Repo:
__str__(self)
methodToRepo(self)

Methods inherited from FC6_Repo:
__init__(self, writePriority=0, *args, **kwargs)
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 F13_RepoData(F11_RepoData)
    
Method resolution order:
F13_RepoData
F11_RepoData
F8_RepoData
FC6_RepoData
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 FC6_RepoData:
__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 F8_Repo(FC6_Repo)
    
Method resolution order:
F8_Repo
FC6_Repo
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__str__(self)
methodToRepo(self)

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

Methods inherited from FC6_Repo:
__init__(self, writePriority=0, *args, **kwargs)
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 F8_RepoData(FC6_RepoData)
    
Method resolution order:
F8_RepoData
FC6_RepoData
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 FC6_RepoData:
__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 FC6_Repo(pykickstart.base.KickstartCommand)
    
Method resolution order:
FC6_Repo
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, writePriority=0, *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 FC6_RepoData(pykickstart.base.BaseData)
    
Method resolution order:
FC6_RepoData
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)

 
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, ...}