config options: Make noVNC proxy into vnc group

Migrate all noVNC configuration into [vnc] group.

Change-Id: I91a8d14a43571351b016d13700ca552826ad08ef
This commit is contained in:
Stephen Finucane 2016-01-19 13:03:45 +00:00
parent 11dfd9def3
commit 11a42d4030
2 changed files with 11 additions and 5 deletions

View File

@ -29,16 +29,18 @@ from nova import config
opts = [
cfg.StrOpt('novncproxy_host',
default='0.0.0.0',
help='Host on which to listen for incoming requests'),
help='Host on which to listen for incoming requests',
deprecated_group='DEFAULT'),
cfg.IntOpt('novncproxy_port',
default=6080,
min=1,
max=65535,
help='Port on which to listen for incoming requests'),
help='Port on which to listen for incoming requests',
deprecated_group='DEFAULT'),
]
CONF = cfg.CONF
CONF.register_cli_opts(opts)
CONF.register_cli_opts(opts, 'vnc')
def main():
@ -47,5 +49,5 @@ def main():
config.parse_args(sys.argv)
baseproxy.proxy(
host=CONF.novncproxy_host,
port=CONF.novncproxy_port)
host=CONF.vnc.novncproxy_host,
port=CONF.vnc.novncproxy_port)

View File

@ -0,0 +1,4 @@
---
upgrade:
- All noVNC proxy configuration options have been added to the 'vnc'
group. They should no longer be included in the 'DEFAULT' group.