import/export: Validate remote host/port
authorMichael Hanselmann <hansmi@google.com>
Fri, 11 Jun 2010 12:07:23 +0000 (14:07 +0200)
committerMichael Hanselmann <hansmi@google.com>
Mon, 14 Jun 2010 16:56:29 +0000 (18:56 +0200)
commitacd65a16f46384639126076acdb8aa8e616ab86c
tree79afdde4074713c66ddcc54c39f5e270134ba1fe
parent28f3404879c74722674bcc1e10398f7ad6388c9a
import/export: Validate remote host/port

The hostname and port received from the remote cluster should
be validated, just in case.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
daemons/import-export
lib/cmdlib.py
lib/masterd/instance.py
test/ganeti.masterd.instance_unittest.py
test/import-export_unittest.bash