Revision 4e6f1cde src/Ganeti/HsConstants.hs

b/src/Ganeti/HsConstants.hs
1601 1601
   (hvPassthrough, "pci_pass"),
1602 1602
   (hvVncBindAddress, "VNC_bind_address")]
1603 1603

  
1604
-- | Converted from Python list or set @HVS_PARAMETERS@
1605
hvsParameters :: FrozenSet String
1606
hvsParameters = ConstantUtils.mkSet $ Map.keys hvsParameterTypes
1607

  
1608
-- | Converted from Python list or set @HVS_PARAMETER_TYPES@
1609
hvsParameterTypes :: Map String VType
1610
hvsParameterTypes = Map.fromList
1611
  [ (hvAcpi,                            VTypeBool)
1612
  , (hvBlockdevPrefix,                  VTypeString)
1613
  , (hvBootloaderArgs,                  VTypeString)
1614
  , (hvBootloaderPath,                  VTypeString)
1615
  , (hvBootOrder,                       VTypeString)
1616
  , (hvCdromImagePath,                  VTypeString)
1617
  , (hvCpuCap,                          VTypeInt)
1618
  , (hvCpuCores,                        VTypeInt)
1619
  , (hvCpuMask,                         VTypeString)
1620
  , (hvCpuSockets,                      VTypeInt)
1621
  , (hvCpuThreads,                      VTypeInt)
1622
  , (hvCpuType,                         VTypeString)
1623
  , (hvCpuWeight,                       VTypeInt)
1624
  , (hvDeviceModel,                     VTypeString)
1625
  , (hvDiskCache,                       VTypeString)
1626
  , (hvDiskType,                        VTypeString)
1627
  , (hvInitrdPath,                      VTypeString)
1628
  , (hvInitScript,                      VTypeString)
1629
  , (hvKernelArgs,                      VTypeString)
1630
  , (hvKernelPath,                      VTypeString)
1631
  , (hvKeymap,                          VTypeString)
1632
  , (hvKvmCdrom2ImagePath,              VTypeString)
1633
  , (hvKvmCdromDiskType,                VTypeString)
1634
  , (hvKvmExtra,                        VTypeString)
1635
  , (hvKvmFlag,                         VTypeString)
1636
  , (hvKvmFloppyImagePath,              VTypeString)
1637
  , (hvKvmMachineVersion,               VTypeString)
1638
  , (hvKvmPath,                         VTypeString)
1639
  , (hvKvmSpiceAudioCompr,              VTypeBool)
1640
  , (hvKvmSpiceBind,                    VTypeString)
1641
  , (hvKvmSpiceIpVersion,               VTypeInt)
1642
  , (hvKvmSpiceJpegImgCompr,            VTypeString)
1643
  , (hvKvmSpiceLosslessImgCompr,        VTypeString)
1644
  , (hvKvmSpicePasswordFile,            VTypeString)
1645
  , (hvKvmSpiceStreamingVideoDetection, VTypeString)
1646
  , (hvKvmSpiceTlsCiphers,              VTypeString)
1647
  , (hvKvmSpiceUseTls,                  VTypeBool)
1648
  , (hvKvmSpiceUseVdagent,              VTypeBool)
1649
  , (hvKvmSpiceZlibGlzImgCompr,         VTypeString)
1650
  , (hvKvmUseChroot,                    VTypeBool)
1651
  , (hvMemPath,                         VTypeString)
1652
  , (hvMigrationBandwidth,              VTypeInt)
1653
  , (hvMigrationDowntime,               VTypeInt)
1654
  , (hvMigrationMode,                   VTypeString)
1655
  , (hvMigrationPort,                   VTypeInt)
1656
  , (hvNicType,                         VTypeString)
1657
  , (hvPae,                             VTypeBool)
1658
  , (hvPassthrough,                     VTypeString)
1659
  , (hvRebootBehavior,                  VTypeString)
1660
  , (hvRootPath,                        VTypeMaybeString)
1661
  , (hvSecurityDomain,                  VTypeString)
1662
  , (hvSecurityModel,                   VTypeString)
1663
  , (hvSerialConsole,                   VTypeBool)
1664
  , (hvSerialSpeed,                     VTypeInt)
1665
  , (hvSoundhw,                         VTypeString)
1666
  , (hvUsbDevices,                      VTypeString)
1667
  , (hvUsbMouse,                        VTypeString)
1668
  , (hvUseBootloader,                   VTypeBool)
1669
  , (hvUseLocaltime,                    VTypeBool)
1670
  , (hvVga,                             VTypeString)
1671
  , (hvVhostNet,                        VTypeBool)
1672
  , (hvVifScript,                       VTypeString)
1673
  , (hvVifType,                         VTypeString)
1674
  , (hvViridian,                        VTypeBool)
1675
  , (hvVncBindAddress,                  VTypeString)
1676
  , (hvVncPasswordFile,                 VTypeString)
1677
  , (hvVncTls,                          VTypeString)
1678
  , (hvVncX509,                         VTypeString)
1679
  , (hvVncX509Verify,                   VTypeBool)
1680
  , (hvVnetHdr,                         VTypeBool)
1681
  , (hvXenCmd,                          VTypeString)
1682
  , (hvXenCpuid,                        VTypeString)
1683
  ]
1684

  
1604 1685
-- * Migration statuses
1605 1686

  
1606 1687
hvMigrationActive :: String

Also available in: Unified diff