]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Quota model: use HasTenantId mixin
authorSalvatore Orlando <salv.orlando@gmail.com>
Thu, 16 Apr 2015 18:57:37 +0000 (11:57 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Thu, 16 Apr 2015 19:12:47 +0000 (12:12 -0700)
commitdecdf03c61f303fcfc82fe601beb4096d3305536
treee8567d6da9b8558ec79fb813f1c3b4daedaea81d
parent8ca67832ea90b60d3b31d0a99159a0efa5f8d1ea
Quota model: use HasTenantId mixin

This change simply changes the Quota model class to obtain
the tenant_id from the mixin class. As the attribute in the
mixin is identical to that in the model there is no need for
a migration.

This patch also removes a reference to quota classes in the
docstring, as Neutron does not implement those. It is good
to be careful when copying and paste code.

Change-Id: Idab15d5ef2ddd2b830a7dcde46990506064535f7
Closes-Bug: #1445169
neutron/db/quota_db.py