Add new RHEL7 logvol objects to master
[pykickstart.git] / pykickstart / handlers / f16.py
blob45b8258f0984020340d2089072a81fae61196abc
2 # Chris Lumens <clumens@redhat.com>
4 # Copyright 2011 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__ = ["F16Handler"]
22 from pykickstart import commands
23 from pykickstart.base import BaseHandler
24 from pykickstart.version import F16
26 class F16Handler(BaseHandler):
27 version = F16
29 commandMap = {
30 "auth": commands.authconfig.FC3_Authconfig,
31 "authconfig": commands.authconfig.FC3_Authconfig,
32 "autopart": commands.autopart.F16_AutoPart,
33 "autostep": commands.autostep.FC3_AutoStep,
34 "bootloader": commands.bootloader.F15_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.F14_DriverDisk,
42 "fcoe": commands.fcoe.F13_Fcoe,
43 "firewall": commands.firewall.F14_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.F14_IgnoreDisk,
50 "install": commands.upgrade.F11_Upgrade,
51 "iscsi": commands.iscsi.F10_Iscsi,
52 "iscsiname": commands.iscsiname.FC6_IscsiName,
53 "keyboard": commands.keyboard.FC3_Keyboard,
54 "lang": commands.lang.FC3_Lang,
55 "logging": commands.logging.FC6_Logging,
56 "logvol": commands.logvol.F15_LogVol,
57 "mediacheck": commands.mediacheck.FC4_MediaCheck,
58 "method": commands.method.F14_Method,
59 "monitor": commands.monitor.F10_Monitor,
60 "multipath": commands.multipath.FC6_MultiPath,
61 "network": commands.network.F16_Network,
62 "nfs": commands.nfs.FC6_NFS,
63 "part": commands.partition.F14_Partition,
64 "partition": commands.partition.F14_Partition,
65 "poweroff": commands.reboot.FC6_Reboot,
66 "raid": commands.raid.F19_Raid,
67 "reboot": commands.reboot.FC6_Reboot,
68 "repo": commands.repo.F15_Repo,
69 "rescue": commands.rescue.F10_Rescue,
70 "rootpw": commands.rootpw.F8_RootPw,
71 "selinux": commands.selinux.FC3_SELinux,
72 "services": commands.services.FC6_Services,
73 "shutdown": commands.reboot.FC6_Reboot,
74 "skipx": commands.skipx.FC3_SkipX,
75 "sshpw": commands.sshpw.F13_SshPw,
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.F14_Url,
81 "user": commands.user.F12_User,
82 "vnc": commands.vnc.F9_Vnc,
83 "volgroup": commands.volgroup.FC16_VolGroup,
84 "xconfig": commands.xconfig.F14_XConfig,
85 "zerombr": commands.zerombr.F9_ZeroMbr,
86 "zfcp": commands.zfcp.F14_ZFCP,
89 dataMap = {
90 "DriverDiskData": commands.driverdisk.F14_DriverDiskData,
91 "DeviceData": commands.device.F8_DeviceData,
92 "DmRaidData": commands.dmraid.FC6_DmRaidData,
93 "FcoeData": commands.fcoe.F13_FcoeData,
94 "GroupData": commands.group.F12_GroupData,
95 "IscsiData": commands.iscsi.F10_IscsiData,
96 "LogVolData": commands.logvol.F17_LogVolData,
97 "MultiPathData": commands.multipath.FC6_MultiPathData,
98 "NetworkData": commands.network.F16_NetworkData,
99 "PartData": commands.partition.F17_PartData,
100 "RaidData": commands.raid.F15_RaidData,
101 "RepoData": commands.repo.F15_RepoData,
102 "SshPwData": commands.sshpw.F13_SshPwData,
103 "UserData": commands.user.F12_UserData,
104 "VolGroupData": commands.volgroup.FC16_VolGroupData,
105 "ZFCPData": commands.zfcp.F14_ZFCPData,