]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix creation of trusted queues for the NVP plugin.
authorarmando-migliaccio <amigliaccio@nicira.com>
Tue, 23 Jul 2013 21:19:27 +0000 (14:19 -0700)
committerarmando-migliaccio <amigliaccio@nicira.com>
Fri, 26 Jul 2013 23:04:49 +0000 (16:04 -0700)
commit2be27ae096104f9340e7a73a3d519c338c821234
tree3cfd18d513236fe33ce6e80f94840851f902bfbc
parent52e06310257c175ba77da1254319408d4821e3bf
Fix creation of trusted queues for the NVP plugin.

Currently if an admin tries to create a trusted queue, Neutron will
fail with MissingDSCPForTrusted exception. However, the NVP semantic
is exactly the opposite, namely the DSCP field must be specified for
untrusted queues and omitted trusted ones.

Fixes bug #1204256

Change-Id: I935fab45fc811a296411283a641b66c5ca96264d
neutron/plugins/nicira/dbexts/nicira_qos_db.py
neutron/plugins/nicira/extensions/nvp_qos.py
neutron/tests/unit/nicira/test_nicira_plugin.py