Statistics
| Branch: | Tag: | Revision:

root / lib / cmdlib @ 5af46db3

Name Size
__init__.py 3.2 kB
backup.py 18 kB
base.py 17.5 kB
cluster.py 104.7 kB
common.py 34.8 kB
group.py 31.5 kB
instance.py 141.1 kB
instance_migration.py 36 kB
instance_operation.py 17.7 kB
instance_query.py 15 kB
instance_storage.py 93.5 kB
instance_utils.py 20.1 kB
misc.py 13.8 kB
network.py 21.3 kB
node.py 56.4 kB
operating_system.py 6.1 kB
query.py 2.8 kB
tags.py 5.9 kB
test.py 11.9 kB

Latest revisions

# Date Author Comment
5af46db3 12/16/2013 01:52 pm Dimitris Aragiorgis

(ipfix) Allow NICs with mode=routed and ip=none

This allows us to define an IPv6 only network (currently with a
dummy IPv4 network) with connectivity mode 'routed' and let
the NICs inside this network have only IPv6 address (auto-generated
from their MAC and the network's prefix)....

a8deb185 12/11/2013 02:54 pm Dimitris Aragiorgis

(ext) Do not remove disks if --keep-disks and DT_EXT

Signed-off-by: Dimitris Aragiorgis <>

5d2cbf27 12/11/2013 02:54 pm Dimitris Aragiorgis

(ext) Export logical_id info to hooks env

DISK_ID as the second part of logical_id

Signed-off-by: Dimitris Aragiorgis <>

d2e0774d 12/11/2013 02:54 pm Dimitris Aragiorgis

(snap) Snapshot support for ExtStorage

Extend existing RPC params with the snapshot name and
add allow snapshot not only for LVM but also for EXT.

Signed-off-by: Dimitris Aragiorgis <>

fc01b92b 12/11/2013 02:53 pm Dimitris Aragiorgis

(2.10) Introduce --hotplug-if-possible option

This will be useful for an external entity using RAPI that
wants to modify devices of instances.

The common use case for that is:
"I want to add a NIC/disk to an instance. If it is running
then try to hotplug the device. If not, then just add it to config."...

03b3659a 12/11/2013 02:53 pm Dimitris Aragiorgis

(2.10) Allow instances to obtain externally reserved IPs

The administrator should be able to assign an externally reserved IP
to a Ganeti instance manually, if desired. Currently this is not
supported. External reservations should act as holes in the pool and...

5a3b0421 12/11/2013 02:53 pm Dimitris Aragiorgis

(2.10) Mark cluster's IPs as externally reserved

Currently, upon network creation, nodes' and master's IPs
are reserved in the pool.

This leads to pool reservations ('X' in map) that cannot be changed
afterwards, although they may need to (e.g. in case of node...

254d4709 12/11/2013 02:53 pm Dimitris Aragiorgis

(2.10) Check if hotplug is supported in CheckPrereq

Introduce new RPC hotplug_supported that invokes the corresponding
hypervisor's method which checks if hotplug is generally
supported. Call this RPC early in CheckPrereq() and abort if
hotplug is not supported. Currently only KVM hypervisor with...

bbafd35f 12/11/2013 02:53 pm Dimitris Aragiorgis

(2.10) Minor changes regarding hotplug support

  • Mention restrictions in NEWS
    - RBD userspace access mode
    - In case of a downgrade instances should suffer a reboot to be migrateable
  • Bypass interactive verification in NIC modifications via --force option...
1e79d5de 12/11/2013 02:53 pm Dimitris Aragiorgis

(2.10) Fix in RPC

Use _SingleDiskDictDP() instead of _ObjectDict() for serializing
a disk.

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Thomas Thrainer <>
Reviewed-by: Thomas Thrainer <>

In stable-2.10 rpc methods take node as first argument....

View revisions

Also available in: Atom