Add support for specifying thin pool profile
[pykickstart.git] / pykickstart / handlers / f21.py
blobb1c2de5226c9903ca2c6483a686905365b7730ca
2 # Chris Lumens <clumens@redhat.com>
4 # Copyright 2014 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__ = ["F21Handler"]
22 from pykickstart import commands
23 from pykickstart.base import BaseHandler
24 from pykickstart.version import F21
26 class F21Handler(BaseHandler):
27 version = F21
29 commandMap = {
30 "auth": commands.authconfig.FC3_Authconfig,
31 "authconfig": commands.authconfig.FC3_Authconfig,
32 "autopart": commands.autopart.F21_AutoPart,
33 "autostep": commands.autostep.FC3_AutoStep,
34 "bootloader": commands.bootloader.F21_Bootloader,
35 "btrfs": commands.btrfs.F17_BTRFS,
36 "cdrom": commands.cdrom.FC3_Cdrom,
37 "clearpart": commands.clearpart.F21_ClearPart,
38 "cmdline": commands.displaymode.FC3_DisplayMode,
39 "device": commands.device.F8_Device,
40 "deviceprobe": commands.deviceprobe.FC3_DeviceProbe,
41 "dmraid": commands.dmraid.FC6_DmRaid,
42 "driverdisk": commands.driverdisk.F14_DriverDisk,
43 "eula": commands.eula.F20_Eula,
44 "fcoe": commands.fcoe.F13_Fcoe,
45 "firewall": commands.firewall.F20_Firewall,
46 "firstboot": commands.firstboot.FC3_Firstboot,
47 "graphical": commands.displaymode.FC3_DisplayMode,
48 "group": commands.group.F12_Group,
49 "halt": commands.reboot.F18_Reboot,
50 "harddrive": commands.harddrive.FC3_HardDrive,
51 "ignoredisk": commands.ignoredisk.F14_IgnoreDisk,
52 "install": commands.upgrade.F11_Upgrade,
53 "iscsi": commands.iscsi.F17_Iscsi,
54 "iscsiname": commands.iscsiname.FC6_IscsiName,
55 "keyboard": commands.keyboard.F18_Keyboard,
56 "lang": commands.lang.F19_Lang,
57 "liveimg": commands.liveimg.F19_Liveimg,
58 "logging": commands.logging.FC6_Logging,
59 "logvol": commands.logvol.F21_LogVol,
60 "mediacheck": commands.mediacheck.FC4_MediaCheck,
61 "method": commands.method.F19_Method,
62 "multipath": commands.multipath.FC6_MultiPath,
63 "network": commands.network.F21_Network,
64 "nfs": commands.nfs.FC6_NFS,
65 "ostreesetup": commands.ostreesetup.F21_OSTreeSetup,
66 "part": commands.partition.F20_Partition,
67 "partition": commands.partition.F20_Partition,
68 "poweroff": commands.reboot.F18_Reboot,
69 "raid": commands.raid.F20_Raid,
70 "realm": commands.realm.F19_Realm,
71 "reboot": commands.reboot.F18_Reboot,
72 "repo": commands.repo.F21_Repo,
73 "rescue": commands.rescue.F10_Rescue,
74 "rootpw": commands.rootpw.F18_RootPw,
75 "selinux": commands.selinux.FC3_SELinux,
76 "services": commands.services.FC6_Services,
77 "shutdown": commands.reboot.F18_Reboot,
78 "skipx": commands.skipx.FC3_SkipX,
79 "sshpw": commands.sshpw.F13_SshPw,
80 "text": commands.displaymode.FC3_DisplayMode,
81 "timezone": commands.timezone.F18_Timezone,
82 "updates": commands.updates.F7_Updates,
83 "upgrade": commands.upgrade.F20_Upgrade,
84 "url": commands.url.F18_Url,
85 "user": commands.user.F19_User,
86 "vnc": commands.vnc.F9_Vnc,
87 "volgroup": commands.volgroup.F21_VolGroup,
88 "xconfig": commands.xconfig.F14_XConfig,
89 "zerombr": commands.zerombr.F9_ZeroMbr,
90 "zfcp": commands.zfcp.F14_ZFCP,
93 dataMap = {
94 "BTRFSData": commands.btrfs.F17_BTRFSData,
95 "DriverDiskData": commands.driverdisk.F14_DriverDiskData,
96 "DeviceData": commands.device.F8_DeviceData,
97 "DmRaidData": commands.dmraid.FC6_DmRaidData,
98 "FcoeData": commands.fcoe.F13_FcoeData,
99 "GroupData": commands.group.F12_GroupData,
100 "IscsiData": commands.iscsi.F17_IscsiData,
101 "LogVolData": commands.logvol.F21_LogVolData,
102 "MultiPathData": commands.multipath.FC6_MultiPathData,
103 "NetworkData": commands.network.F21_NetworkData,
104 "PartData": commands.partition.F18_PartData,
105 "RaidData": commands.raid.F18_RaidData,
106 "RepoData": commands.repo.F21_RepoData,
107 "SshPwData": commands.sshpw.F13_SshPwData,
108 "UserData": commands.user.F19_UserData,
109 "VolGroupData": commands.volgroup.F21_VolGroupData,
110 "ZFCPData": commands.zfcp.F14_ZFCPData,