Merge "Use HostAddressOpt for opts that accept IP and hostnames"

This commit is contained in:
Jenkins 2017-04-04 09:00:57 +00:00 committed by Gerrit Code Review
commit d8c646ab2a
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ from fuxi.i18n import _
from fuxi.version import version_info
default_opts = [
cfg.StrOpt('my_ip',
help=_('IP address of this machine.')),
cfg.HostAddressOpt('my_ip',
help=_('IP address of this machine.')),
cfg.IntOpt('fuxi_port',
default=7879,
help=_('Port for fuxi volume driver server.')),