Merge "Monkey patch nova-ec2 api"

This commit is contained in:
Jenkins
2015-10-15 22:48:18 +00:00
committed by Gerrit Code Review

View File

@@ -16,6 +16,8 @@ EXPERIMENTAL support script for running Nova EC2 API under Apache2 etc.
"""
import eventlet
from oslo_config import cfg
from oslo_log import log as logging
from paste import deploy
@@ -36,6 +38,7 @@ utils.monkey_patch()
objects.register_all()
conf = config_files[0]
eventlet.monkey_patch(os=False, thread=False)
name = "ec2"
options = deploy.appconfig('config:%s' % conf, name=name)