Add netmask and IP version to master IP hooks env
authorAndrea Spadaccini <spadaccio@google.com>
Wed, 2 Nov 2011 11:47:28 +0000 (11:47 +0000)
committerAndrea Spadaccini <spadaccio@google.com>
Wed, 2 Nov 2011 13:18:04 +0000 (13:18 +0000)
commit3a3e4f1ed0edaa5122b5bcf2319faf7b0a01bbeb
tree0fc2cac9bd89adf20da0d7a797482dd6ad4d8af3
parent41e079ce36d9b91ce9c0ee18688f35f188801901
Add netmask and IP version to master IP hooks env

Add the master netmask and master IP version parameters to the hooks and
document them. In this way, the hook environment building function can
be reused for the planned master IP turnup changes.

Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
doc/hooks.rst
lib/backend.py