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

@@ -29,7 +29,7 @@ def initConfig(controllerObject):
"USAGE" : "The IP address of the server on which to install Glance",
"PROMPT" : "The IP address of the server on which to install Glance",
"OPTION_LIST" : [],
"VALIDATION_FUNC" : validate.validatePing,
"VALIDATION_FUNC" : validate.validateSSH,
"DEFAULT_VALUE" : "127.0.0.1",
"PROCESSOR_ARGS" : {"allow_localhost": True},
"PROCESSOR_FUNC" : process.processHost,