Test hosts by attempting to connect to ssh port

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=888281

This test replaces the ping test we were doing
This commit is contained in:
Derek Higgins
2012-12-18 19:16:57 -05:00
parent 02ae338d73
commit 8d3d008e03
11 changed files with 54 additions and 14 deletions

View File

@@ -30,7 +30,7 @@ def initConfig(controllerObject):
"USAGE" : "A comma seperated list of IP addresses on which to install the Swift proxy services",
"PROMPT" : "A comma seperated list of IP addresses on which to install the Swift proxy services",
"OPTION_LIST" : [],
"VALIDATION_FUNC" : validate.validatePing,
"VALIDATION_FUNC" : validate.validateSSH,
"DEFAULT_VALUE" : "127.0.0.1",
"MASK_INPUT" : False,
"LOOSE_VALIDATION": True,