Statistics
| Branch: | Tag: | Revision:

root / lib / client @ 6a2c20f2

Name Size
__init__.py 789 Bytes
gnt_backup.py 4.8 kB
gnt_cluster.py 52 kB
gnt_debug.py 22.9 kB
gnt_group.py 11.7 kB
gnt_instance.py 56.6 kB
gnt_job.py 15.9 kB
gnt_network.py 11.5 kB
gnt_node.py 37.5 kB
gnt_os.py 8.3 kB
gnt_storage.py 5.5 kB

Latest revisions

# Date Author Comment
6a2c20f2 03/18/2013 04:45 am Dimitris Aragiorgis

Make --network optional

To this end one can define solely collision domains (Ethernet
networks), IPv4 Address Pools, and IPv6 networks and all these
combined.

Make network slot optionalField in Haskell too. This is the only
change needed.

Signed-off-by: Dimitris Aragiorgis <>

e648cea4 03/18/2013 04:42 am Dimitris Aragiorgis

Hotplug: client support

Add --hotplug option. Only used in OpInstanceSetParams.
If this is omitted modifications become effective after
reboot.

Signed-off-by: Dimitris Aragiorgis <>

160cd941 03/18/2013 03:42 am Christos Stavrakakis

Display UUIDs and names in gnt-instance info

Modify gnt-instance client to display the UUID and name
fields of instances disks and NICs.

Signed-off-by: Christos Stavrakakis <>
Signed-off-by: Dimitris Aragiorgis <>

845c573d 03/18/2013 03:42 am Christos Stavrakakis

Support UUIDs and names when refering to a device

Modify _ApplyContainerMods function to lookup NICs/Disks not only by their
index inside the container, but also by their UUID or name. Abstract the
lookup code in new GetItemFromContainer function.

Make type of identifier in "opcode._TestInstSetParamsModList" to be...

9394f4d1 02/19/2013 07:21 pm Dimitris Aragiorgis

Minor fixes regarding nic.network change

Make LookupNetwork() return None in case target is None. This fixes
Issue 380. Rapi passes network=None and the lookup should not fail.

Make network client aware of new nic.network.gnt-network info shows
the IPs of each instance inside the network. It parses nic.networks...

c8f4e425 02/19/2013 06:07 pm Dimitris Aragiorgis

Fix issue 378

In case a NIC is not inside a network then netinfo None. Thus
netinfo["name"] fails.

Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Helga Velroyen <>

68c13560 02/18/2013 12:05 pm Dimitris Aragiorgis

Show network name and not uuid in instance info

This was before the case too. Now is bit trickier because nic.network
is uuid. Info must derive from nic.netinfo.

Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Helga Velroyen <>

37a978e7 02/12/2013 03:39 pm Helga Velroyen

Force conflicts check in LUNetworkDisconnect

Until now if one disconnects a network with --no-conflicts-check
and then remove it, there is a possibility to leave instances with NICs
referencing non-existing networks. This causes network queries,
instance removal and modification to fail....

5cfa6c37 02/11/2013 05:31 pm Dimitris Aragiorgis

Remove network_type slot (Issue 363)

This slot was not used by Ganeti so the same info can be
provided via tags. In order not to break configuration data
we add a FromDict() method in Network config object that
removes the deprecated network_type (if found) and then invoke...

58bc8fbc 02/08/2013 12:04 pm Iustin Pop

Make gnt-os list work with no OSes

When absolutely no OSes are present on the cluster, the result of
OpOsDiagnose is an empty list. This is currently handled in gnt-os as
an error condition, probably due to how OpOsDiagnose used to return
errors in the past....

View revisions

Also available in: Atom