summaryrefslogtreecommitdiffstats
path: root/nova/db
diff options
context:
space:
mode:
authorjaypipes@gmail.com <>2010-12-21 10:25:39 -0500
committerjaypipes@gmail.com <>2010-12-21 10:25:39 -0500
commit887ee0aae54fc51124bb869af2bfee055a46d27a (patch)
tree3554feb1fba402ad064a4ac0b154d34f998040ff /nova/db
parent1b4b36cec4d82009d595a601c408e2f582ef790c (diff)
parent086f2d87be3c56ac8dafaf4551096868d57454db (diff)
Merge trunk and resolve conflicts
Diffstat (limited to 'nova/db')
-rw-r--r--nova/db/sqlalchemy/api.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/db/sqlalchemy/api.py b/nova/db/sqlalchemy/api.py
index 4bae170a9..c26ccfc16 100644
--- a/nova/db/sqlalchemy/api.py
+++ b/nova/db/sqlalchemy/api.py
@@ -528,6 +528,8 @@ def fixed_ip_update(context, address, values):
#TODO(gundlach): instance_create and volume_create are nearly identical
#and should be refactored. I expect there are other copy-and-paste
#functions between the two of them as well.
+
+
@require_context
def instance_create(context, values):
"""Create a new Instance record in the database.
@@ -913,6 +915,8 @@ def network_get(context, network_id, session=None):
# NOTE(vish): pylint complains because of the long method name, but
# it fits with the names of the rest of the methods
# pylint: disable-msg=C0103
+
+
@require_admin_context
def network_get_associated_fixed_ips(context, network_id):
session = get_session()