Use the new type HostDomainOpt.
Use the new oslo.confg type HostDomainOpt to support underscore in the name. You can see the bugzilla[1] to have more information. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1868940 Related-Bug: #1892044 Change-Id: Ib6c8fc1e3d90b79b10066c429670fcb957bddd23
This commit is contained in:
parent
82141b12c3
commit
0d84833e96
@ -69,7 +69,7 @@ os-xenapi==0.3.4
|
||||
osc-lib==1.10.0
|
||||
oslo.cache==1.26.0
|
||||
oslo.concurrency==4.4.0
|
||||
oslo.config==6.8.0
|
||||
oslo.config==8.6.0
|
||||
oslo.context==3.1.1
|
||||
oslo.db==4.44.0
|
||||
oslo.i18n==5.0.1
|
||||
|
@ -235,7 +235,7 @@ Related options:
|
||||
* ``live_migration_uri``: If ``live_migration_uri`` value is not None, the
|
||||
scheme used for live migration is taken from ``live_migration_uri`` instead.
|
||||
"""),
|
||||
cfg.HostAddressOpt('live_migration_inbound_addr',
|
||||
cfg.HostDomainOpt('live_migration_inbound_addr',
|
||||
help="""
|
||||
IP address used as the live migration address for this host.
|
||||
|
||||
|
@ -49,7 +49,7 @@ Related options:
|
||||
|
||||
* my_ip - if my_block_storage_ip is not set, then my_ip value is used.
|
||||
"""),
|
||||
cfg.StrOpt("host",
|
||||
cfg.HostDomainOpt("host",
|
||||
default=socket.gethostname(),
|
||||
sample_default='<current_hostname>',
|
||||
help="""
|
||||
|
@ -33,7 +33,7 @@ stevedore>=1.20.0 # Apache-2.0
|
||||
websockify>=0.9.0 # LGPLv3
|
||||
oslo.cache>=1.26.0 # Apache-2.0
|
||||
oslo.concurrency>=4.4.0 # Apache-2.0
|
||||
oslo.config>=6.8.0 # Apache-2.0
|
||||
oslo.config>=8.6.0 # Apache-2.0
|
||||
oslo.context>=3.1.1 # Apache-2.0
|
||||
oslo.log>=4.4.0 # Apache-2.0
|
||||
oslo.reports>=1.18.0 # Apache-2.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user