summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorJustin Santa Barbara <justin@fathomdb.com>2011-02-22 18:59:23 -0800
committerJustin Santa Barbara <justin@fathomdb.com>2011-02-22 18:59:23 -0800
commit50e71cef14c3bd079fbc2d2c203b0e0f76ee869e (patch)
treeb5dbe2bd868600b0b610f77a3861c854f9e635bb /nova
parentdd6b9c21d3ad493051f25ce632fb327ed7fc7b73 (diff)
Removed unused import & formatting cleanups
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']