Fix gnt-network info
authorDimitris Aragiorgis <dimara@grnet.gr>
Wed, 3 Jul 2013 11:49:37 +0000 (14:49 +0300)
committerKlaus Aehlig <aehlig@google.com>
Wed, 3 Jul 2013 16:35:58 +0000 (18:35 +0200)
commit49bea583c9268e9229b29be479db47de9a188c39
tree7c3be48bb95db9691b4f186702c6b89508d38df8
parente78a8c0b0da83c96738b5494ea0d9e31d2de2e93
Fix gnt-network info

QueryNetworks() returns the uuids of the instances that are
inside a network. Since QueryInstances() uses names and not uuids
for search, we create a uuid2name dict to get each instance name
and then retrieve its nics and networks.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
lib/client/gnt_network.py