From 3738b8d600a6bfb27e7d9d6ca374c5582aeea3f1 Mon Sep 17 00:00:00 2001 From: Andrea Spadaccini <spadaccio@google.com> Date: Tue, 11 Oct 2011 12:20:44 +0100 Subject: [PATCH] Add documentation for the master IP hooks Reviewed-by: Michael Hanselmann <hansmi@google.com> Signed-off-by: Andrea Spadaccini <spadaccio@google.com> --- doc/hooks.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/doc/hooks.rst b/doc/hooks.rst index d9f09f2b4..aa934f550 100644 --- a/doc/hooks.rst +++ b/doc/hooks.rst @@ -472,6 +472,26 @@ Modifies the cluster parameters. :pre-execution: master node :post-execution: master node +:pyeval:`constants.FAKE_OP_MASTER_TURNUP` ++++++++++++++++++++++++++++++++++++++++++ + +Called when the master IP is activated. + +:directory: master-ip-turnup +:env. vars: MASTER_NETDEV, MASTER_IP +:pre-execution: master node +:post-execution: master node + +:pyeval:`constants.FAKE_OP_MASTER_TURNDOWN` ++++++++++++++++++++++++++++++++++++++++++++ + +Called when the master IP is deactivated. + +:directory: master-ip-turndown +:env. vars: MASTER_NETDEV, MASTER_IP +:pre-execution: master node +:post-execution: master node + Obsolete operations ~~~~~~~~~~~~~~~~~~~ @@ -601,6 +621,12 @@ MASTER_CAPABLE VM_CAPABLE Whether the node can host instances. +MASTER_NETDEV + Network device of the master IP + +MASTER_IP + The master IP + INSTANCE_TAGS A space-delimited list of the instance's tags. -- GitLab