]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
objects.qos: fixed create and update for QosBandwidthLimitRule
authorIhar Hrachyshka <ihrachys@redhat.com>
Thu, 2 Jul 2015 22:57:03 +0000 (01:57 +0300)
committerIhar Hrachyshka <ihrachys@redhat.com>
Fri, 10 Jul 2015 17:59:19 +0000 (17:59 +0000)
commita71cb067d0100a1ec3f6df037c6c4740a6b2771a
tree0b5853752ae6601094a3d3890b0f9435c1451c64
parent65d5a9401470c5a67be46d28aad56cd287013d13
objects.qos: fixed create and update for QosBandwidthLimitRule

To simplify Qos*Rule object type implementation, renamed 'qos_rule_id'
field for qos_bandwidth_limit_rule table into 'id'.

Also added unit test coverage for the object type.

Change-Id: Id6bc992af9f1ab46c022d3c88aa66a0f3bb7f227
neutron/db/migration/alembic_migrations/versions/48153cb5f051_qos_db_changes.py
neutron/db/qos/models.py
neutron/objects/qos/rule.py
neutron/tests/unit/objects/qos/test_rule.py [new file with mode: 0644]
neutron/tests/unit/objects/test_base.py