Statistics
| Branch: | Tag: | Revision:

root / lib @ 16687b98

Name Size
Makefile.am 1.2 kB
__init__.py 791 Bytes
backend.py 48.9 kB
bdev.py 73 kB
cli.py 17.4 kB
cmdlib.py 149.6 kB
config.py 20.9 kB
constants.py 4.7 kB
errors.py 4.3 kB
hypervisor.py 21.1 kB
jqueue.py 3.2 kB
locking.py 29 kB
logger.py 5.8 kB
luxi.py 7 kB
mcpu.py 10 kB
objects.py 20.6 kB
opcodes.py 11 kB
rpc.py 16.5 kB
ssconf.py 5.1 kB
ssh.py 6.7 kB
utils.py 28.5 kB

Latest revisions

# Date Author Comment
16687b98 04/10/2008 12:12 pm Manuel Franceschini

Small code style fix

Reviewed-by: imsnah

2c313123 04/09/2008 08:45 pm Manuel Franceschini

Bugfix instance create when file-storage-dir None

os.path.join does not like None as argument and fails with
AttributeError: 'NoneType' object has no attribute 'startswith'.

This patch makes sure the passed argument is a string in any case.

Reviewed-by: iustinp

1c6e3627 04/08/2008 07:28 pm Manuel Franceschini

Two small code style fixes

Reviewed-by: imsnah

dc936b49 04/08/2008 07:01 pm Manuel Franceschini

Add file_storage_dir,file_driver to OpCreateInstance

Reviewed-by: ultrotter, iustinp

b23c4333 04/08/2008 07:00 pm Manuel Franceschini

Modify LURenameInstance to support file backend

This patch does two things:
- Modify LURenameInstance.Exec to rename directory
when a file-based instance is renamed
- Modify config.RenameInstance() to replace the directory name in
config.data for file devices...

0f1a06e3 04/08/2008 07:00 pm Manuel Franceschini

Modify LUCreateInstance to support file backend

- Modfiy _GenerateDiskTemplate to support file-based disk template
- Modify _CreateDisks to create directory needed for file-based
instances before creating the actual files
- Modify _RemoveDisks to delete directory for file-based instances...

d5fd92ed 04/08/2008 06:04 pm Michael Hanselmann

Provide more flexible version numbers to the code

Having the individual parts in the code allows us to build version
numbers like "1.2" while leaving "3" out in a clean fashion, that is
without regular expressions or the like. This might be used together...

e994fcba 04/08/2008 05:04 pm Manuel Franceschini

Modify hypervisor to support file backend

The driver in the xen config file needs to be changed when dealing with
files rather then bdevs.

This patch does two things:
- Add _GetConfigFileDiskData to XenHypervisor which returns the correct
disk xen config line. This function checks the logical disk type of...

283439c9 04/07/2008 02:18 pm Iustin Pop

Implement selective job query

This patch implements query-ing of only selected jobs instead of all.

Reviewed-by: ultrotter

a14a17fc 04/07/2008 02:15 pm Iustin Pop

Move some checks from cli.py to luxi.py

The idea of cli.py and luxi.py is that all protocol checks should be in
luxi, and cli.py should just offer some helpful shortcuts for the
command line scripts.

This patch removes the result checks from cli and adds some other checks...

View revisions

Also available in: Atom