Hi neutrinos,

I reported a bug in plugin been sending stale data to mechanism driver [1].
Which was fixed by [2].  I am trying to write a test case as well, but seems 
like
I am unable to see success for enabling qos service properly in test environment

In neutron/tests/unit/plugins/ml2/test_plugin.TestMl2NetworksV2

What I did to enable it was, in setup() I've added.
              config.cfg.CONF.set_override('service_plugins', ['qos'])
              config.cfg.CONF.set_override('extension_drivers',
                                                                    ['qos', 
'port_security'], 'ml2')


When I create network without qos_policy_id in data, the request 
self.new_create_request('networks',  data)
Does not show qos_policy_id in it, but when I call 
self.new_create_request('networks',  data) and data
has qos_policy_id from policy created via QoSPlugin it returns response bad 
request 400.

I believe it is because of qos not being enabled in test environment properly ? 
any idea what is wrong with
Enabling qos ? or anything I am missing to enable it in test env ?


[1]. https://bugs.launchpad.net/neutron/+bug/1675135
[2]. https://review.openstack.org/#/c/448754/

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to