Add checks for master IP in cluster verify
This also updates a comment in the unittest for utils.py. We unittest the new function for two things: correct reporting on real case (for localhost), and correct reporting with a mocked-out TcpPing that returns false. Signed-off-by:Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
Showing
- Makefile.am 1 addition, 0 deletionsMakefile.am
- lib/backend.py 13 additions, 2 deletionslib/backend.py
- lib/cmdlib.py 15 additions, 1 deletionlib/cmdlib.py
- lib/constants.py 1 addition, 0 deletionslib/constants.py
- test/ganeti.backend_unittest.py 61 additions, 0 deletionstest/ganeti.backend_unittest.py
- test/ganeti.utils_unittest.py 2 additions, 2 deletionstest/ganeti.utils_unittest.py
Loading
Please register or sign in to comment