diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-02-05 01:26:44 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-02-05 01:26:44 +0000 |
commit | 65949390762c41200ef8312ea934ae6bc630a0bd (patch) | |
tree | 6be00bbd333103b35b5a2865fb336405a8ad7541 /nova/db/sqlalchemy/models.py | |
parent | f9eb7ca2ad7828c9b5a0790718d48a69b829658a (diff) | |
parent | 250230b32364b1e36ae6d62ec4bb8c3285c59401 (diff) | |
download | nova-65949390762c41200ef8312ea934ae6bc630a0bd.tar.gz nova-65949390762c41200ef8312ea934ae6bc630a0bd.tar.xz nova-65949390762c41200ef8312ea934ae6bc630a0bd.zip |
Merge "Record instance actions and events"
Diffstat (limited to 'nova/db/sqlalchemy/models.py')
-rw-r--r-- | nova/db/sqlalchemy/models.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nova/db/sqlalchemy/models.py b/nova/db/sqlalchemy/models.py index b4c680ac0..2499b0291 100644 --- a/nova/db/sqlalchemy/models.py +++ b/nova/db/sqlalchemy/models.py @@ -1019,7 +1019,11 @@ class InstanceFault(BASE, NovaBase): class InstanceAction(BASE, NovaBase): - """Track client actions on an instance.""" + """Track client actions on an instance. + + The intention is that there will only be one of these per user request. A + lookup by (instance_uuid, request_id) should always return a single result. + """ __tablename__ = 'instance_actions' id = Column(Integer, primary_key=True, nullable=False, autoincrement=True) action = Column(String(255)) |