6ed3bd2b24
Use the new oslo.report config option for specifying a log_dir in which the GMR reports can be generated in. consolidate the gmr related setup code in config.py Introduced in oslo.reports change id: I9ed0191628f2d552acd8130687b636671bc07a3e Change-Id: Ib5edf65fd33ce86757f7cb1a6546a6f00738c9a3
34 lines
987 B
Python
34 lines
987 B
Python
# Copyright (c) 2010 OpenStack Foundation
|
|
# All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
"""XVP VNC Console Proxy Server."""
|
|
|
|
import sys
|
|
|
|
from oslo_log import log as logging
|
|
|
|
from nova import config
|
|
from nova import service
|
|
from nova.vnc import xvp_proxy
|
|
|
|
|
|
def main():
|
|
config.parse_args(sys.argv)
|
|
logging.setup(config.CONF, "nova")
|
|
|
|
wsgi_server = xvp_proxy.get_wsgi_server()
|
|
service.serve(wsgi_server)
|
|
service.wait()
|