Revision 4dddf578 src/Ganeti/HsConstants.hs

b/src/Ganeti/HsConstants.hs
1653 1653
   (hvPassthrough, "pci_pass"),
1654 1654
   (hvVncBindAddress, "VNC_bind_address")]
1655 1655

  
1656
hvsParameters :: FrozenSet String
1657
hvsParameters = ConstantUtils.mkSet $ Map.keys hvsParameterTypes
1658

  
1659
hvsParameterTypes :: Map String VType
1660
hvsParameterTypes = Map.fromList
1661
  [ (hvAcpi,                            VTypeBool)
1662
  , (hvBlockdevPrefix,                  VTypeString)
1663
  , (hvBootloaderArgs,                  VTypeString)
1664
  , (hvBootloaderPath,                  VTypeString)
1665
  , (hvBootOrder,                       VTypeString)
1666
  , (hvCdromImagePath,                  VTypeString)
1667
  , (hvCpuCap,                          VTypeInt)
1668
  , (hvCpuCores,                        VTypeInt)
1669
  , (hvCpuMask,                         VTypeString)
1670
  , (hvCpuSockets,                      VTypeInt)
1671
  , (hvCpuThreads,                      VTypeInt)
1672
  , (hvCpuType,                         VTypeString)
1673
  , (hvCpuWeight,                       VTypeInt)
1674
  , (hvDeviceModel,                     VTypeString)
1675
  , (hvDiskCache,                       VTypeString)
1676
  , (hvDiskType,                        VTypeString)
1677
  , (hvInitrdPath,                      VTypeString)
1678
  , (hvInitScript,                      VTypeString)
1679
  , (hvKernelArgs,                      VTypeString)
1680
  , (hvKernelPath,                      VTypeString)
1681
  , (hvKeymap,                          VTypeString)
1682
  , (hvKvmCdrom2ImagePath,              VTypeString)
1683
  , (hvKvmCdromDiskType,                VTypeString)
1684
  , (hvKvmExtra,                        VTypeString)
1685
  , (hvKvmFlag,                         VTypeString)
1686
  , (hvKvmFloppyImagePath,              VTypeString)
1687
  , (hvKvmMachineVersion,               VTypeString)
1688
  , (hvKvmPath,                         VTypeString)
1689
  , (hvKvmSpiceAudioCompr,              VTypeBool)
1690
  , (hvKvmSpiceBind,                    VTypeString)
1691
  , (hvKvmSpiceIpVersion,               VTypeInt)
1692
  , (hvKvmSpiceJpegImgCompr,            VTypeString)
1693
  , (hvKvmSpiceLosslessImgCompr,        VTypeString)
1694
  , (hvKvmSpicePasswordFile,            VTypeString)
1695
  , (hvKvmSpiceStreamingVideoDetection, VTypeString)
1696
  , (hvKvmSpiceTlsCiphers,              VTypeString)
1697
  , (hvKvmSpiceUseTls,                  VTypeBool)
1698
  , (hvKvmSpiceUseVdagent,              VTypeBool)
1699
  , (hvKvmSpiceZlibGlzImgCompr,         VTypeString)
1700
  , (hvKvmUseChroot,                    VTypeBool)
1701
  , (hvMemPath,                         VTypeString)
1702
  , (hvMigrationBandwidth,              VTypeInt)
1703
  , (hvMigrationDowntime,               VTypeInt)
1704
  , (hvMigrationMode,                   VTypeString)
1705
  , (hvMigrationPort,                   VTypeInt)
1706
  , (hvNicType,                         VTypeString)
1707
  , (hvPae,                             VTypeBool)
1708
  , (hvPassthrough,                     VTypeString)
1709
  , (hvRebootBehavior,                  VTypeString)
1710
  , (hvRootPath,                        VTypeMaybeString)
1711
  , (hvSecurityDomain,                  VTypeString)
1712
  , (hvSecurityModel,                   VTypeString)
1713
  , (hvSerialConsole,                   VTypeBool)
1714
  , (hvSerialSpeed,                     VTypeInt)
1715
  , (hvSoundhw,                         VTypeString)
1716
  , (hvUsbDevices,                      VTypeString)
1717
  , (hvUsbMouse,                        VTypeString)
1718
  , (hvUseBootloader,                   VTypeBool)
1719
  , (hvUseLocaltime,                    VTypeBool)
1720
  , (hvVga,                             VTypeString)
1721
  , (hvVhostNet,                        VTypeBool)
1722
  , (hvVifScript,                       VTypeString)
1723
  , (hvVifType,                         VTypeString)
1724
  , (hvViridian,                        VTypeBool)
1725
  , (hvVncBindAddress,                  VTypeString)
1726
  , (hvVncPasswordFile,                 VTypeString)
1727
  , (hvVncTls,                          VTypeBool)
1728
  , (hvVncX509,                         VTypeString)
1729
  , (hvVncX509Verify,                   VTypeBool)
1730
  , (hvVnetHdr,                         VTypeBool)
1731
  , (hvXenCmd,                          VTypeString)
1732
  , (hvXenCpuid,                        VTypeString)
1733
  ]
1734

  
1656 1735
-- * Migration statuses
1657 1736

  
1658 1737
hvMigrationActive :: String

Also available in: Unified diff