Revision 7888a614

b/lib/constants.py
368 368
# Temporary RAPI constants until we have cluster parameters
369 369
RAPI_ENABLE = True
370 370
RAPI_PORT = 5080
371

  
372
# cluster wide default parameters
373
DEFAULT_ENABLED_HYPERVISOR = HT_XEN_PVM
374

  
375
HVC_DEFAULTS = {
376
    HT_XEN_PVM: {
377
        HV_KERNEL_PATH: "/boot/vmlinuz-2.6-xenU",
378
        HV_INITRD_PATH: None,
379
        },
380
    HT_XEN_HVM: {
381
        HV_BOOT_ORDER: "cd",
382
        HV_CDROM_IMAGE_PATH: None,
383
        HV_NIC_TYPE: HT_HVM_NIC_RTL8139,
384
        HV_DISK_TYPE: HT_HVM_DEV_PARAVIRTUAL,
385
        HV_VNC_BIND_ADDRESS: '0.0.0.0',
386
        HV_ACPI: True,
387
        HV_PAE: True,
388
        },
389
    HT_KVM: {
390
        HV_KERNEL_PATH: "/boot/vmlinuz-2.6-xenU",
391
        HV_INITRD_PATH: None,
392
        HV_ACPI: True,
393
        },
394
    HT_FAKE: {
395
        },
396
    }
397

  
398
BEC_DEFAULTS = {
399
    BE_MEMORY: 128,
400
    BE_VCPUS: 1,
401
    BE_AUTO_BALANCE: True,
402
    }

Also available in: Unified diff