Use PortOpt type for port options
Change-Id: Icdc27af7a10ff249235e927431a41ec0874bd154
This commit is contained in:
parent
746adc3eb3
commit
3505a8e932
@ -8,7 +8,9 @@
|
|||||||
# Deprecated group/name - [discoverd]/listen_address
|
# Deprecated group/name - [discoverd]/listen_address
|
||||||
#listen_address = 0.0.0.0
|
#listen_address = 0.0.0.0
|
||||||
|
|
||||||
# Port to listen on. (integer value)
|
# Port to listen on. (port value)
|
||||||
|
# Minimum value: 0
|
||||||
|
# Maximum value: 65535
|
||||||
# Deprecated group/name - [discoverd]/listen_port
|
# Deprecated group/name - [discoverd]/listen_port
|
||||||
#listen_port = 5050
|
#listen_port = 5050
|
||||||
|
|
||||||
@ -528,7 +530,7 @@
|
|||||||
#user_id = <None>
|
#user_id = <None>
|
||||||
|
|
||||||
# Username (unknown value)
|
# Username (unknown value)
|
||||||
# Deprecated group/name - [DEFAULT]/username
|
# Deprecated group/name - [DEFAULT]/user-name
|
||||||
#username = <None>
|
#username = <None>
|
||||||
|
|
||||||
|
|
||||||
@ -873,5 +875,5 @@
|
|||||||
#user_id = <None>
|
#user_id = <None>
|
||||||
|
|
||||||
# Username (unknown value)
|
# Username (unknown value)
|
||||||
# Deprecated group/name - [DEFAULT]/username
|
# Deprecated group/name - [DEFAULT]/user-name
|
||||||
#username = <None>
|
#username = <None>
|
||||||
|
@ -146,7 +146,7 @@ SERVICE_OPTS = [
|
|||||||
default='0.0.0.0',
|
default='0.0.0.0',
|
||||||
help='IP to listen on.',
|
help='IP to listen on.',
|
||||||
deprecated_group='discoverd'),
|
deprecated_group='discoverd'),
|
||||||
cfg.IntOpt('listen_port',
|
cfg.PortOpt('listen_port',
|
||||||
default=5050,
|
default=5050,
|
||||||
help='Port to listen on.',
|
help='Port to listen on.',
|
||||||
deprecated_group='discoverd'),
|
deprecated_group='discoverd'),
|
||||||
|
Loading…
Reference in New Issue
Block a user