xenserver: Validate controller IP address in xsconsole
authorJustin Pettit <jpettit@nicira.com>
Thu, 25 Jun 2009 04:52:34 +0000 (21:52 -0700)
committerJustin Pettit <jpettit@nicira.com>
Thu, 25 Jun 2009 04:52:34 +0000 (21:52 -0700)
commit3dc6fca88bf43eceda6fe62c2f70eb5ec92ddd46
treecae6034f409178ee81cb484a429d2311f906fe4b
parent7c77c24dbd2563df398ae15f04304fe7a2f3c659
xenserver: Validate controller IP address in xsconsole

When a switch is using in-band control, the controller must be specified
in dotted quad format, since DNS names cannot be resolved until a
connection to the controller has been established.  This commit
validates the user input in the xsconsole plugin.
xenserver/usr_lib_xsconsole_plugins-base_XSFeatureVSwitch.py