Add new RHEL7 logvol objects to master
[pykickstart.git] / pykickstart / handlers / f12.py
bloba4304fd24755a1c02ac596a5de8f2f6becb8d6c0
2 # Chris Lumens <clumens@redhat.com>
4 # Copyright 2009 Red Hat, Inc.
6 # This copyrighted material is made available to anyone wishing to use, modify,
7 # copy, or redistribute it subject to the terms and conditions of the GNU
8 # General Public License v.2. This program is distributed in the hope that it
9 # will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
10 # implied warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11 # See the GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License along with
14 # this program; if not, write to the Free Software Foundation, Inc., 51
15 # Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
16 # trademarks that are incorporated in the source code or documentation are not
17 # subject to the GNU General Public License and may only be used or replicated
18 # with the express permission of Red Hat, Inc.
20 __all__ = ["F12Handler"]
22 from pykickstart import commands
23 from pykickstart.base import BaseHandler
24 from pykickstart.version import F12
26 class F12Handler(BaseHandler):
27 version = F12
29 commandMap = {
30 "auth": commands.authconfig.FC3_Authconfig,
31 "authconfig": commands.authconfig.FC3_Authconfig,
32 "autopart": commands.autopart.F12_AutoPart,
33 "autostep": commands.autostep.FC3_AutoStep,
34 "bootloader": commands.bootloader.F12_Bootloader,
35 "cdrom": commands.cdrom.FC3_Cdrom,
36 "clearpart": commands.clearpart.FC3_ClearPart,
37 "cmdline": commands.displaymode.FC3_DisplayMode,
38 "device": commands.device.F8_Device,
39 "deviceprobe": commands.deviceprobe.FC3_DeviceProbe,
40 "dmraid": commands.dmraid.FC6_DmRaid,
41 "driverdisk": commands.driverdisk.F12_DriverDisk,
42 "fcoe": commands.fcoe.F12_Fcoe,
43 "firewall": commands.firewall.F10_Firewall,
44 "firstboot": commands.firstboot.FC3_Firstboot,
45 "graphical": commands.displaymode.FC3_DisplayMode,
46 "group": commands.group.F12_Group,
47 "halt": commands.reboot.FC6_Reboot,
48 "harddrive": commands.harddrive.FC3_HardDrive,
49 "ignoredisk": commands.ignoredisk.F8_IgnoreDisk,
50 "install": commands.upgrade.F11_Upgrade,
51 "interactive": commands.interactive.FC3_Interactive,
52 "iscsi": commands.iscsi.F10_Iscsi,
53 "iscsiname": commands.iscsiname.FC6_IscsiName,
54 "keyboard": commands.keyboard.FC3_Keyboard,
55 "lang": commands.lang.FC3_Lang,
56 "logging": commands.logging.FC6_Logging,
57 "logvol": commands.logvol.F12_LogVol,
58 "mediacheck": commands.mediacheck.FC4_MediaCheck,
59 "method": commands.method.FC6_Method,
60 "monitor": commands.monitor.F10_Monitor,
61 "multipath": commands.multipath.FC6_MultiPath,
62 "network": commands.network.F9_Network,
63 "nfs": commands.nfs.FC6_NFS,
64 "part": commands.partition.F12_Partition,
65 "partition": commands.partition.F12_Partition,
66 "poweroff": commands.reboot.FC6_Reboot,
67 "raid": commands.raid.F12_Raid,
68 "reboot": commands.reboot.FC6_Reboot,
69 "repo": commands.repo.F11_Repo,
70 "rescue": commands.rescue.F10_Rescue,
71 "rootpw": commands.rootpw.F8_RootPw,
72 "selinux": commands.selinux.FC3_SELinux,
73 "services": commands.services.FC6_Services,
74 "shutdown": commands.reboot.FC6_Reboot,
75 "skipx": commands.skipx.FC3_SkipX,
76 "text": commands.displaymode.FC3_DisplayMode,
77 "timezone": commands.timezone.FC6_Timezone,
78 "updates": commands.updates.F7_Updates,
79 "upgrade": commands.upgrade.F11_Upgrade,
80 "url": commands.url.FC3_Url,
81 "user": commands.user.F12_User,
82 "vnc": commands.vnc.F9_Vnc,
83 "volgroup": commands.volgroup.FC3_VolGroup,
84 "xconfig": commands.xconfig.F10_XConfig,
85 "zerombr": commands.zerombr.F9_ZeroMbr,
86 "zfcp": commands.zfcp.F12_ZFCP,
89 dataMap = {
90 "DriverDiskData": commands.driverdisk.F12_DriverDiskData,
91 "DeviceData": commands.device.F8_DeviceData,
92 "DmRaidData": commands.dmraid.FC6_DmRaidData,
93 "FcoeData": commands.fcoe.F12_FcoeData,
94 "GroupData": commands.group.F12_GroupData,
95 "IscsiData": commands.iscsi.F10_IscsiData,
96 "LogVolData": commands.logvol.F12_LogVolData,
97 "MultiPathData": commands.multipath.FC6_MultiPathData,
98 "NetworkData": commands.network.F8_NetworkData,
99 "PartData": commands.partition.F12_PartData,
100 "RaidData": commands.raid.F12_RaidData,
101 "RepoData": commands.repo.F11_RepoData,
102 "UserData": commands.user.F12_UserData,
103 "VolGroupData": commands.volgroup.FC3_VolGroupData,
104 "ZFCPData": commands.zfcp.F12_ZFCPData,