OS environment: add network information
authorGuido Trotter <ultrotter@google.com>
Thu, 7 Feb 2013 13:30:38 +0000 (14:30 +0100)
committerGuido Trotter <ultrotter@google.com>
Fri, 8 Feb 2013 11:40:13 +0000 (12:40 +0100)
commitd89168ffd5c5519c66f37e713bcfbc98c2b4e454
tree6065c473c145332eb61e64634a167d50160443a4
parentee9516c87345c4f5edf5e9722bd4cabeaf704f98
OS environment: add network information

1) Move the hooks environment dict generator inside the object. This
also adds missing values such as network family and uuid.
2) Use the same generator both for the os environment and for the
instance hooks.
3) Update manpage and hooks documentation.

Also update a forgotten docstring about a tuple's content.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
doc/hooks.rst
lib/backend.py
lib/cmdlib.py
lib/objects.py
man/ganeti-os-interface.rst