¡@

Home 

OpenStack Study: api_os_compute.py

OpenStack Index

**** CubicPower OpenStack Study ****

def main():

    config.parse_args(sys.argv)

    logging.setup("nova")

    utils.monkey_patch()

    gmr.TextGuruMeditation.setup_autorun(version)

    should_use_ssl = 'osapi_compute' in CONF.enabled_ssl_apis

    server = service.WSGIService('osapi_compute', use_ssl=should_use_ssl)

    service.serve(server, workers=server.workers)

    service.wait()