Add gnt-cluster commands to toggle the master IP
authorAndrea Spadaccini <spadaccio@google.com>
Thu, 29 Sep 2011 18:48:18 +0000 (19:48 +0100)
committerAndrea Spadaccini <spadaccio@google.com>
Fri, 30 Sep 2011 11:06:12 +0000 (12:06 +0100)
commitfb926117f623a61776b90e992126f953679ca066
tree3cde2e745db0bc24df532a59f66da3f6ba1e8754
parentfb460cf7e9bda225e4f1c070cd6b4fac1b3f6696
Add gnt-cluster commands to toggle the master IP

lib/client/gnt_cluster.py:
* Add activate-master-ip and deactivate-master-ip commands

man/gnt-cluster.rst:
* Document the new commands

lib/opcodes.py lib/cmdlib.py
* Add two opcodes and the LU that call the relevant RPCs

test/docs_unittest.py
* Silence an error about RAPI not implemented for the two new opcodes

Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/client/gnt_cluster.py
lib/cmdlib.py
lib/opcodes.py
man/gnt-cluster.rst
test/docs_unittest.py