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>
Showing
- lib/client/gnt_cluster.py 31 additions, 0 deletionslib/client/gnt_cluster.py
- lib/cmdlib.py 24 additions, 0 deletionslib/cmdlib.py
- lib/opcodes.py 12 additions, 0 deletionslib/opcodes.py
- man/gnt-cluster.rst 19 additions, 0 deletionsman/gnt-cluster.rst
- test/docs_unittest.py 2 additions, 0 deletionstest/docs_unittest.py
Loading
Please register or sign in to comment