Statistics
| Branch: | Tag: | Revision:

root / lib / client @ 1ce72b33

Name Size
__init__.py 789 Bytes
gnt_backup.py 4.8 kB
gnt_cluster.py 51.8 kB
gnt_debug.py 22.5 kB
gnt_group.py 11.6 kB
gnt_instance.py 59.5 kB
gnt_job.py 12.2 kB
gnt_network.py 10.5 kB
gnt_node.py 31.1 kB
gnt_os.py 8.3 kB

Latest revisions

# Date Author Comment
1ce72b33 07/14/2012 01:47 am Dimitris Aragiorgis

Support hotplug NICs

Add --hotplug option for gnt-instance modify.

Add idx slot to NIC object that represents if it has been hotpluged
or not. If -1 then has been added without hotplug. If possitive it
is used for naming virtio-net-device and netdev (passed in kvm command...

dca1f84a 07/14/2012 01:47 am Dimitris Aragiorgis

Pass netinfo in rpcs

If a nic has a network field then encapsulate a network object in
netinfo slot for every rpc. This is needed to pass network info to
scripts managing nics (kvm-vif-bridge).

Signed-off-by: Dimitris Aragiorgis <>

2d302af7 07/14/2012 01:47 am Dimitris Aragiorgis

Modify instance client to support networks

Add --no-conflicts-check option.
Modify instance query methods to return nic's network info.

Signed-off-by: Dimitris Aragiorgis <>

19ad386e 07/14/2012 01:47 am Dimitris Aragiorgis

Introduce client support for networks

gnt-network is used to manipulate and handle networks that
currently provides the following operations:

  • Add a new network:
    gnt-network add --network=1.2.3.0/28 --gateway=1.2.3.1
    --reserve-ips=1.2.3.4,1.2.3.5 testnet...
112aee5f 07/13/2012 06:00 pm Iustin Pop

Merge branch 'stable-2.6'

  • stable-2.6: (72 commits)
    Make Ganeti 2.6.0 rc3 release
    Allow reinstall even when secondaries are offline
    Prepare NEWS file for Ganeti 2.6.0 rc3
    QA updated to test instance removing when sec. is offline
    Ignore offline node errors when removing disks...
f30d8165 07/05/2012 07:11 pm Iustin Pop

Add --wait-for-sync in gnt-instance

Note that this needs (like for the opcode) a new option, with the
default reverted (False instead of True).

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

f0d22861 06/29/2012 11:38 am Constantinos Venetsanopoulos

Allow param `modify' during gnt-instance modify

With the new gnt-instance modify syntax for addition and removal of
disks/NICs on arbitrary indexes, we hit an assertion if the user
passes `modify' as one of the disk's parameters. E.g::

gnt-instance modify --disk 2:modify,size=3G instance1...
eb70f6cf 05/22/2012 10:56 am René Nussbaumer

gnt-group: Adding vcpu/spindle ratio to ipolicy flags

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

31d827d1 05/22/2012 10:56 am René Nussbaumer

gnt-cluster modify: Add ipolicy for spindle ratio opt

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

83d4ba5e 05/21/2012 12:21 pm René Nussbaumer

gnt-instance info: Rework beparams listings

This patch reworks the beparams listing to the new style. However, due
to this process the naming of the fields with mixed casing changed to
lowercase and is therefore not 100% compatible with the previous versions....

View revisions

Also available in: Atom