pykickstart.handlers.control | index /usr/lib/python2.6/site-packages/pykickstart/handlers/control.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.
#
Data | ||
DEVEL = 11000 F10 = 8000 F11 = 9000 F12 = 10000 F13 = 11000 F7 = 5000 F8 = 6000 F9 = 7000 FC3 = 1000 FC4 = 2000 FC5 = 3000 FC6 = 4000 RHEL3 = 900 RHEL4 = 1100 RHEL5 = 4100 RHEL6 = 11100 commandMap = {900: {'auth': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'authconfig': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'autopart': <class 'pykickstart.commands.autopart.FC3_AutoPart'>, 'autostep': <class 'pykickstart.commands.autostep.FC3_AutoStep'>, 'bootloader': <class 'pykickstart.commands.bootloader.FC3_Bootloader'>, 'cdrom': <class 'pykickstart.commands.method.FC3_Method'>, 'clearpart': <class 'pykickstart.commands.clearpart.FC3_ClearPart'>, 'cmdline': <class 'pykickstart.commands.displaymode.FC3_DisplayMode'>, 'device': <class 'pykickstart.commands.device.FC3_Device'>, 'deviceprobe': <class 'pykickstart.commands.deviceprobe.FC3_DeviceProbe'>, ...}, 1000: {'auth': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'authconfig': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'autopart': <class 'pykickstart.commands.autopart.FC3_AutoPart'>, 'autostep': <class 'pykickstart.commands.autostep.FC3_AutoStep'>, 'bootloader': <class 'pykickstart.commands.bootloader.FC3_Bootloader'>, 'cdrom': <class 'pykickstart.commands.method.FC3_Method'>, 'clearpart': <class 'pykickstart.commands.clearpart.FC3_ClearPart'>, 'cmdline': <class 'pykickstart.commands.displaymode.FC3_DisplayMode'>, 'device': <class 'pykickstart.commands.device.FC3_Device'>, 'deviceprobe': <class 'pykickstart.commands.deviceprobe.FC3_DeviceProbe'>, ...}, 1100: {'auth': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'authconfig': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'autopart': <class 'pykickstart.commands.autopart.FC3_AutoPart'>, 'autostep': <class 'pykickstart.commands.autostep.FC3_AutoStep'>, 'bootloader': <class 'pykickstart.commands.bootloader.FC3_Bootloader'>, 'cdrom': <class 'pykickstart.commands.method.FC3_Method'>, 'clearpart': <class 'pykickstart.commands.clearpart.FC3_ClearPart'>, 'cmdline': <class 'pykickstart.commands.displaymode.FC3_DisplayMode'>, 'device': <class 'pykickstart.commands.device.FC3_Device'>, 'deviceprobe': <class 'pykickstart.commands.deviceprobe.FC3_DeviceProbe'>, ...}, 2000: {'auth': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'authconfig': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'autopart': <class 'pykickstart.commands.autopart.FC3_AutoPart'>, 'autostep': <class 'pykickstart.commands.autostep.FC3_AutoStep'>, 'bootloader': <class 'pykickstart.commands.bootloader.FC4_Bootloader'>, 'cdrom': <class 'pykickstart.commands.method.FC3_Method'>, 'clearpart': <class 'pykickstart.commands.clearpart.FC3_ClearPart'>, 'cmdline': <class 'pykickstart.commands.displaymode.FC3_DisplayMode'>, 'device': <class 'pykickstart.commands.device.FC3_Device'>, 'deviceprobe': <class 'pykickstart.commands.deviceprobe.FC3_DeviceProbe'>, ...}, 3000: {'auth': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'authconfig': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'autopart': <class 'pykickstart.commands.autopart.FC3_AutoPart'>, 'autostep': <class 'pykickstart.commands.autostep.FC3_AutoStep'>, 'bootloader': <class 'pykickstart.commands.bootloader.FC4_Bootloader'>, 'cdrom': <class 'pykickstart.commands.method.FC3_Method'>, 'clearpart': <class 'pykickstart.commands.clearpart.FC3_ClearPart'>, 'cmdline': <class 'pykickstart.commands.displaymode.FC3_DisplayMode'>, 'device': <class 'pykickstart.commands.device.FC3_Device'>, 'deviceprobe': <class 'pykickstart.commands.deviceprobe.FC3_DeviceProbe'>, ...}, 4000: {'auth': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'authconfig': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'autopart': <class 'pykickstart.commands.autopart.FC3_AutoPart'>, 'autostep': <class 'pykickstart.commands.autostep.FC3_AutoStep'>, 'bootloader': <class 'pykickstart.commands.bootloader.FC4_Bootloader'>, 'cdrom': <class 'pykickstart.commands.method.FC6_Method'>, 'clearpart': <class 'pykickstart.commands.clearpart.FC3_ClearPart'>, 'cmdline': <class 'pykickstart.commands.displaymode.FC3_DisplayMode'>, 'device': <class 'pykickstart.commands.device.FC3_Device'>, 'deviceprobe': <class 'pykickstart.commands.deviceprobe.FC3_DeviceProbe'>, ...}, 4100: {'auth': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'authconfig': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'autopart': <class 'pykickstart.commands.autopart.F9_AutoPart'>, 'autostep': <class 'pykickstart.commands.autostep.FC3_AutoStep'>, 'bootloader': <class 'pykickstart.commands.bootloader.RHEL5_Bootloader'>, 'cdrom': <class 'pykickstart.commands.method.FC6_Method'>, 'clearpart': <class 'pykickstart.commands.clearpart.FC3_ClearPart'>, 'cmdline': <class 'pykickstart.commands.displaymode.FC3_DisplayMode'>, 'device': <class 'pykickstart.commands.device.FC3_Device'>, 'deviceprobe': <class 'pykickstart.commands.deviceprobe.FC3_DeviceProbe'>, ...}, 5000: {'auth': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'authconfig': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'autopart': <class 'pykickstart.commands.autopart.FC3_AutoPart'>, 'autostep': <class 'pykickstart.commands.autostep.FC3_AutoStep'>, 'bootloader': <class 'pykickstart.commands.bootloader.FC4_Bootloader'>, 'cdrom': <class 'pykickstart.commands.method.FC6_Method'>, 'clearpart': <class 'pykickstart.commands.clearpart.FC3_ClearPart'>, 'cmdline': <class 'pykickstart.commands.displaymode.FC3_DisplayMode'>, 'device': <class 'pykickstart.commands.device.FC3_Device'>, 'deviceprobe': <class 'pykickstart.commands.deviceprobe.FC3_DeviceProbe'>, ...}, 6000: {'auth': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'authconfig': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'autopart': <class 'pykickstart.commands.autopart.FC3_AutoPart'>, 'autostep': <class 'pykickstart.commands.autostep.FC3_AutoStep'>, 'bootloader': <class 'pykickstart.commands.bootloader.F8_Bootloader'>, 'cdrom': <class 'pykickstart.commands.method.FC6_Method'>, 'clearpart': <class 'pykickstart.commands.clearpart.FC3_ClearPart'>, 'cmdline': <class 'pykickstart.commands.displaymode.FC3_DisplayMode'>, 'device': <class 'pykickstart.commands.device.F8_Device'>, 'deviceprobe': <class 'pykickstart.commands.deviceprobe.FC3_DeviceProbe'>, ...}, 7000: {'auth': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'authconfig': <class 'pykickstart.commands.authconfig.FC3_Authconfig'>, 'autopart': <class 'pykickstart.commands.autopart.F9_AutoPart'>, 'autostep': <class 'pykickstart.commands.autostep.FC3_AutoStep'>, 'bootloader': <class 'pykickstart.commands.bootloader.F8_Bootloader'>, 'cdrom': <class 'pykickstart.commands.method.FC6_Method'>, 'clearpart': <class 'pykickstart.commands.clearpart.FC3_ClearPart'>, 'cmdline': <class 'pykickstart.commands.displaymode.FC3_DisplayMode'>, 'device': <class 'pykickstart.commands.device.F8_Device'>, 'deviceprobe': <class 'pykickstart.commands.deviceprobe.FC3_DeviceProbe'>, ...}, ...} dataMap = {900: {'DriverDiskData': <class 'pykickstart.commands.driverdisk.FC3_DriverDiskData'>, 'LogVolData': <class 'pykickstart.commands.logvol.FC3_LogVolData'>, 'NetworkData': <class 'pykickstart.commands.network.RHEL4_NetworkData'>, 'PartData': <class 'pykickstart.commands.partition.FC3_PartData'>, 'RaidData': <class 'pykickstart.commands.raid.FC3_RaidData'>, 'VolGroupData': <class 'pykickstart.commands.volgroup.FC3_VolGroupData'>, 'ZFCPData': <class 'pykickstart.commands.zfcp.FC3_ZFCPData'>}, 1000: {'DriverDiskData': <class 'pykickstart.commands.driverdisk.FC3_DriverDiskData'>, 'LogVolData': <class 'pykickstart.commands.logvol.FC3_LogVolData'>, 'NetworkData': <class 'pykickstart.commands.network.FC3_NetworkData'>, 'PartData': <class 'pykickstart.commands.partition.FC3_PartData'>, 'RaidData': <class 'pykickstart.commands.raid.FC3_RaidData'>, 'VolGroupData': <class 'pykickstart.commands.volgroup.FC3_VolGroupData'>, 'ZFCPData': <class 'pykickstart.commands.zfcp.FC3_ZFCPData'>}, 1100: {'DriverDiskData': <class 'pykickstart.commands.driverdisk.FC4_DriverDiskData'>, 'LogVolData': <class 'pykickstart.commands.logvol.FC3_LogVolData'>, 'NetworkData': <class 'pykickstart.commands.network.RHEL4_NetworkData'>, 'PartData': <class 'pykickstart.commands.partition.FC3_PartData'>, 'RaidData': <class 'pykickstart.commands.raid.FC3_RaidData'>, 'VolGroupData': <class 'pykickstart.commands.volgroup.FC3_VolGroupData'>, 'ZFCPData': <class 'pykickstart.commands.zfcp.FC3_ZFCPData'>}, 2000: {'DriverDiskData': <class 'pykickstart.commands.driverdisk.FC4_DriverDiskData'>, 'LogVolData': <class 'pykickstart.commands.logvol.FC4_LogVolData'>, 'NetworkData': <class 'pykickstart.commands.network.FC4_NetworkData'>, 'PartData': <class 'pykickstart.commands.partition.FC4_PartData'>, 'RaidData': <class 'pykickstart.commands.raid.FC4_RaidData'>, 'VolGroupData': <class 'pykickstart.commands.volgroup.FC3_VolGroupData'>, 'ZFCPData': <class 'pykickstart.commands.zfcp.FC3_ZFCPData'>}, 3000: {'DriverDiskData': <class 'pykickstart.commands.driverdisk.FC4_DriverDiskData'>, 'LogVolData': <class 'pykickstart.commands.logvol.FC4_LogVolData'>, 'NetworkData': <class 'pykickstart.commands.network.FC4_NetworkData'>, 'PartData': <class 'pykickstart.commands.partition.FC4_PartData'>, 'RaidData': <class 'pykickstart.commands.raid.FC5_RaidData'>, 'VolGroupData': <class 'pykickstart.commands.volgroup.FC3_VolGroupData'>, 'ZFCPData': <class 'pykickstart.commands.zfcp.FC3_ZFCPData'>}, 4000: {'DmRaidData': <class 'pykickstart.commands.dmraid.FC6_DmRaidData'>, 'DriverDiskData': <class 'pykickstart.commands.driverdisk.FC4_DriverDiskData'>, 'IscsiData': <class 'pykickstart.commands.iscsi.FC6_IscsiData'>, 'LogVolData': <class 'pykickstart.commands.logvol.FC4_LogVolData'>, 'MultiPathData': <class 'pykickstart.commands.multipath.FC6_MultiPathData'>, 'NetworkData': <class 'pykickstart.commands.network.FC6_NetworkData'>, 'PartData': <class 'pykickstart.commands.partition.FC4_PartData'>, 'RaidData': <class 'pykickstart.commands.raid.FC5_RaidData'>, 'RepoData': <class 'pykickstart.commands.repo.FC6_RepoData'>, 'UserData': <class 'pykickstart.commands.user.FC6_UserData'>, ...}, 4100: {'DmRaidData': <class 'pykickstart.commands.dmraid.FC6_DmRaidData'>, 'DriverDiskData': <class 'pykickstart.commands.driverdisk.F12_DriverDiskData'>, 'IscsiData': <class 'pykickstart.commands.iscsi.FC6_IscsiData'>, 'LogVolData': <class 'pykickstart.commands.logvol.RHEL5_LogVolData'>, 'MultiPathData': <class 'pykickstart.commands.multipath.FC6_MultiPathData'>, 'NetworkData': <class 'pykickstart.commands.network.FC6_NetworkData'>, 'PartData': <class 'pykickstart.commands.partition.RHEL5_PartData'>, 'RaidData': <class 'pykickstart.commands.raid.RHEL5_RaidData'>, 'RepoData': <class 'pykickstart.commands.repo.FC6_RepoData'>, 'UserData': <class 'pykickstart.commands.user.FC6_UserData'>, ...}, 5000: {'DmRaidData': <class 'pykickstart.commands.dmraid.FC6_DmRaidData'>, 'DriverDiskData': <class 'pykickstart.commands.driverdisk.FC4_DriverDiskData'>, 'IscsiData': <class 'pykickstart.commands.iscsi.FC6_IscsiData'>, 'LogVolData': <class 'pykickstart.commands.logvol.FC4_LogVolData'>, 'MultiPathData': <class 'pykickstart.commands.multipath.FC6_MultiPathData'>, 'NetworkData': <class 'pykickstart.commands.network.FC6_NetworkData'>, 'PartData': <class 'pykickstart.commands.partition.FC4_PartData'>, 'RaidData': <class 'pykickstart.commands.raid.FC5_RaidData'>, 'RepoData': <class 'pykickstart.commands.repo.FC6_RepoData'>, 'UserData': <class 'pykickstart.commands.user.FC6_UserData'>, ...}, 6000: {'DeviceData': <class 'pykickstart.commands.device.F8_DeviceData'>, 'DmRaidData': <class 'pykickstart.commands.dmraid.FC6_DmRaidData'>, 'DriverDiskData': <class 'pykickstart.commands.driverdisk.FC4_DriverDiskData'>, 'IscsiData': <class 'pykickstart.commands.iscsi.FC6_IscsiData'>, 'LogVolData': <class 'pykickstart.commands.logvol.FC4_LogVolData'>, 'MultiPathData': <class 'pykickstart.commands.multipath.FC6_MultiPathData'>, 'NetworkData': <class 'pykickstart.commands.network.F8_NetworkData'>, 'PartData': <class 'pykickstart.commands.partition.FC4_PartData'>, 'RaidData': <class 'pykickstart.commands.raid.FC5_RaidData'>, 'RepoData': <class 'pykickstart.commands.repo.F8_RepoData'>, ...}, 7000: {'DeviceData': <class 'pykickstart.commands.device.F8_DeviceData'>, 'DmRaidData': <class 'pykickstart.commands.dmraid.FC6_DmRaidData'>, 'DriverDiskData': <class 'pykickstart.commands.driverdisk.FC4_DriverDiskData'>, 'IscsiData': <class 'pykickstart.commands.iscsi.FC6_IscsiData'>, 'LogVolData': <class 'pykickstart.commands.logvol.F9_LogVolData'>, 'MultiPathData': <class 'pykickstart.commands.multipath.FC6_MultiPathData'>, 'NetworkData': <class 'pykickstart.commands.network.F8_NetworkData'>, 'PartData': <class 'pykickstart.commands.partition.F9_PartData'>, 'RaidData': <class 'pykickstart.commands.raid.F9_RaidData'>, 'RepoData': <class 'pykickstart.commands.repo.F8_RepoData'>, ...}, ...} versionMap = {'DEVEL': 11000, 'F10': 8000, 'F11': 9000, 'F12': 10000, 'F13': 11000, 'F7': 5000, 'F8': 6000, 'F9': 7000, 'FC3': 1000, 'FC4': 2000, ...} |