Statistics
| Branch: | Tag: | Revision:

root / lib / hypervisor @ 46952329

Name Size
__init__.py 1.7 kB
hv_base.py 11 kB
hv_chroot.py 8.5 kB
hv_fake.py 5.7 kB
hv_kvm.py 24.9 kB
hv_xen.py 19.1 kB

Latest revisions

# Date Author Comment
46952329 05/22/2009 05:32 pm Guido Trotter

hv_chroot: update PARAMETERS value

In the new branch-2.1 PARAMETERS must be a dict rather than a list. In
the hv_chroot case though we can just check that the path is absolute
and normal, and not its existence, because it's inside the target
chroot.

Signed-off-by: Guido Trotter <>...

5c3b5f99 05/22/2009 04:00 pm Guido Trotter

Merge branch 'branch-2.1' into feature/containers

  • branch-2.1:
    Hypervisors: make absolute path checking strict
    Add utils.IsNormAbsPath function
    Convert instance reinstall to multi instance model
    gnt-instance batch-create: use the job executor
    Modify cli.JobExecutor to use SubmitManyJobs...
4f5277e7 05/22/2009 03:58 pm Guido Trotter

Hypervisors: make absolute path checking strict

Use the new utils.IsAbsNormPath function, rather than just os.path.isabs

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

64bfbc08 05/22/2009 01:02 pm Guido Trotter

KVM: add the network script to the ancillary files

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

e1b8653f 05/22/2009 01:01 pm Guido Trotter

_RedistributeAncillaryFiles: add hypervisor files

Each hypervisor can declare additional files to be shipped to all nodes.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

3680f662 05/22/2009 01:01 pm Guido Trotter

Xen: add ancillary files

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

5420ffc9 05/22/2009 01:01 pm Guido Trotter

KVM: replace hardcoded network script path

Currently the kvm automatic network scripts accepts to be overridden by
an user supplied /etc/ganeti/kvm-vif-bridge script. We keep this
functionality but move the hardcoded path to a constant, dependent also
on SYSCONFDIR....

615dc49b 05/21/2009 04:09 pm Iustin Pop

Merge branch 'branch-2.1' into feature/containers

  • branch-2.1: (48 commits)
    Doc fixes for RAPI
    Release 2.0rc5
    Move to data-based hvparam checks instead of code
    Move more hypervisor strings into constants
    watcher: try to restart the master if down...
c1be3f59 05/20/2009 04:16 pm Guido Trotter

Merge branch 'master' into branch-2.1

205ab586 05/19/2009 06:17 pm Iustin Pop

Move to data-based hvparam checks instead of code

Currently the hypervisor parameters are checked using hard-coded snippets in
each hypervisor. However, most parameter checks fall into three cases:
- file check
- directory check
- string value in a set...

View revisions

Also available in: Atom