Add new RHEL7 logvol objects to master
[pykickstart.git] / pykickstart / handlers / f7.py
blob007c6eaceefcb8ea151968a429b1dc217b88dbc5
2 # Chris Lumens <clumens@redhat.com>
4 # Copyright 2007 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__ = ["F7Handler"]
22 from pykickstart import commands
23 from pykickstart.base import BaseHandler
24 from pykickstart.version import F7
26 class F7Handler(BaseHandler):
27 version = F7
29 commandMap = {
30 "auth": commands.authconfig.FC3_Authconfig,
31 "authconfig": commands.authconfig.FC3_Authconfig,
32 "autopart": commands.autopart.FC3_AutoPart,
33 "autostep": commands.autostep.FC3_AutoStep,
34 "bootloader": commands.bootloader.FC4_Bootloader,
35 "cdrom": commands.cdrom.FC3_Cdrom,
36 "clearpart": commands.clearpart.FC3_ClearPart,
37 "cmdline": commands.displaymode.FC3_DisplayMode,
38 "device": commands.device.FC3_Device,
39 "deviceprobe": commands.deviceprobe.FC3_DeviceProbe,
40 "dmraid": commands.dmraid.FC6_DmRaid,
41 "driverdisk": commands.driverdisk.FC4_DriverDisk,
42 "firewall": commands.firewall.FC3_Firewall,
43 "firstboot": commands.firstboot.FC3_Firstboot,
44 "graphical": commands.displaymode.FC3_DisplayMode,
45 "halt": commands.reboot.FC6_Reboot,
46 "harddrive": commands.harddrive.FC3_HardDrive,
47 "ignoredisk": commands.ignoredisk.FC3_IgnoreDisk,
48 "install": commands.upgrade.FC3_Upgrade,
49 "interactive": commands.interactive.FC3_Interactive,
50 "iscsi": commands.iscsi.FC6_Iscsi,
51 "iscsiname": commands.iscsiname.FC6_IscsiName,
52 "keyboard": commands.keyboard.FC3_Keyboard,
53 "lang": commands.lang.FC3_Lang,
54 "logging": commands.logging.FC6_Logging,
55 "logvol": commands.logvol.FC4_LogVol,
56 "mediacheck": commands.mediacheck.FC4_MediaCheck,
57 "method": commands.method.FC6_Method,
58 "monitor": commands.monitor.FC6_Monitor,
59 "multipath": commands.multipath.FC6_MultiPath,
60 "network": commands.network.FC6_Network,
61 "nfs": commands.nfs.FC6_NFS,
62 "part": commands.partition.FC4_Partition,
63 "partition": commands.partition.FC4_Partition,
64 "poweroff": commands.reboot.FC6_Reboot,
65 "raid": commands.raid.F7_Raid,
66 "reboot": commands.reboot.FC6_Reboot,
67 "repo": commands.repo.FC6_Repo,
68 "rootpw": commands.rootpw.FC3_RootPw,
69 "selinux": commands.selinux.FC3_SELinux,
70 "services": commands.services.FC6_Services,
71 "shutdown": commands.reboot.FC6_Reboot,
72 "skipx": commands.skipx.FC3_SkipX,
73 "text": commands.displaymode.FC3_DisplayMode,
74 "timezone": commands.timezone.FC6_Timezone,
75 "updates": commands.updates.F7_Updates,
76 "upgrade": commands.upgrade.FC3_Upgrade,
77 "url": commands.url.FC3_Url,
78 "user": commands.user.FC6_User,
79 "vnc": commands.vnc.FC6_Vnc,
80 "volgroup": commands.volgroup.FC3_VolGroup,
81 "xconfig": commands.xconfig.FC6_XConfig,
82 "zerombr": commands.zerombr.FC3_ZeroMbr,
83 "zfcp": commands.zfcp.FC3_ZFCP,
86 dataMap = {
87 "DriverDiskData": commands.driverdisk.FC4_DriverDiskData,
88 "DmRaidData": commands.dmraid.FC6_DmRaidData,
89 "IscsiData": commands.iscsi.FC6_IscsiData,
90 "LogVolData": commands.logvol.FC4_LogVolData,
91 "MultiPathData": commands.multipath.FC6_MultiPathData,
92 "NetworkData": commands.network.FC6_NetworkData,
93 "PartData": commands.partition.FC4_PartData,
94 "RaidData": commands.raid.F7_RaidData,
95 "RepoData": commands.repo.FC6_RepoData,
96 "UserData": commands.user.FC6_UserData,
97 "VolGroupData": commands.volgroup.FC3_VolGroupData,
98 "ZFCPData": commands.zfcp.FC3_ZFCPData,