]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
ml2: don't consider drivers with no bind_port for qos supported rule types
authorIhar Hrachyshka <ihrachys@redhat.com>
Thu, 17 Sep 2015 17:13:22 +0000 (19:13 +0200)
committerMiguel Angel Ajo <mangelajo@redhat.com>
Tue, 22 Sep 2015 12:38:59 +0000 (14:38 +0200)
commit0cdb46b2030ed5b61098ca43662cb5b9ff855613
treebdb246b994d5fe649a85d5e435025f911a260556
parent693db7cf7cac4c0fc4aeaffd113b9d833a950a52
ml2: don't consider drivers with no bind_port for qos supported rule types

If the driver is not going to bind a port, we should not use it as
justification to limit the subset of rule types available for the user.

The most common scenario for that would be l2pop, that does not handle port
binding, but merely modifies the implementation details of node
interconnection.

Change-Id: Iba0f3530deff3bb2871ebf893c43ef628a80c7c0
Closes-Bug: #1488996
neutron/plugins/ml2/driver_api.py
neutron/plugins/ml2/managers.py
neutron/tests/fullstack/test_qos.py
neutron/tests/unit/plugins/ml2/test_plugin.py