[openstack-dev] [Neutron][Tempest] "enable_snat" usage within test_routers.py

Ronak Shah ronak.malav.shah at gmail.com
Fri Jan 24 06:55:11 UTC 2014


Hi,
While running a testr on test_routers I noticed failure of test cases that
involved "enable_snat" attribute.
As per neutron code, this attribute is only added to router if the plugin
supports ext-gw-mode extensions.

If a plugin does not support this extension, shouldnt it be skipping the
test which involves enable_snat?
(In tempest.conf, api_extensions = [list of extension supported by plugin])

Shouldnt methods involving enable_snat have following decorator?
@test.requires_ext(extension='ext-gw-mode', service='network')

Please correct me if I am wrong here.

Thanks,
Ronak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140123/6db6a091/attachment.html>


More information about the OpenStack-dev mailing list