summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
Diffstat (limited to 'nova')
-rw-r--r--nova/apiservice.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/apiservice.py b/nova/apiservice.py
index 693bc9a63..6340e9b9b 100644
--- a/nova/apiservice.py
+++ b/nova/apiservice.py
@@ -16,9 +16,7 @@
# License for the specific language governing permissions and limitations
# under the License.
-"""
-Wrapper for API service, makes it look more like the non-WSGI services
-"""
+"""Wrapper for API service, makes it look more like the non-WSGI services"""
from nova import flags
from nova import log as logging
@@ -28,6 +26,7 @@ from nova import wsgi
LOG = logging.getLogger('nova.api')
+
FLAGS = flags.FLAGS
flags.DEFINE_string('ec2_listen', "0.0.0.0",
'IP address for EC2 API to listen')
@@ -36,6 +35,7 @@ flags.DEFINE_string('osapi_listen', "0.0.0.0",
'IP address for OpenStack API to listen')
flags.DEFINE_integer('osapi_listen_port', 8774, 'port for os api to listen')
+
API_ENDPOINTS = ['ec2', 'osapi']