<div dir="ltr"><font face="arial, helvetica, sans-serif">Hi,</font><div><font face="arial, helvetica, sans-serif">While running a testr on test_routers I noticed failure of test cases that involved "enable_snat" attribute.</font></div>
<div><font face="arial, helvetica, sans-serif">As per neutron code, this attribute is only added to router if the plugin supports ext-gw-mode extensions. </font></div><div><font face="arial, helvetica, sans-serif"><br></font></div>
<div><font face="arial, helvetica, sans-serif">If a plugin does not support this extension, shouldnt it be skipping the test which involves enable_snat?</font></div><div><font face="arial, helvetica, sans-serif">(In tempest.conf, api_extensions = [list of extension supported by plugin])</font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Shouldnt methods involving enable_snat have following decorator?</font></div><div><font face="courier new, monospace"><span class="" style="color:rgb(51,51,51);font-size:12px;line-height:18px;white-space:pre">@test.requires_ext</span><span class="" style="color:rgb(51,51,51);font-size:12px;line-height:18px;white-space:pre">(</span><span class="" style="color:rgb(51,51,51);font-size:12px;line-height:18px;white-space:pre">extension</span><span class="" style="font-weight:bold;color:rgb(51,51,51);font-size:12px;line-height:18px;white-space:pre">=</span><span class="" style="color:rgb(221,17,68);font-size:12px;line-height:18px;white-space:pre">'ext-gw-mode'</span><span class="" style="color:rgb(51,51,51);font-size:12px;line-height:18px;white-space:pre">,</span><span style="color:rgb(51,51,51);font-size:12px;line-height:18px;white-space:pre"> </span><span class="" style="color:rgb(51,51,51);font-size:12px;line-height:18px;white-space:pre">service</span><span class="" style="font-weight:bold;color:rgb(51,51,51);font-size:12px;line-height:18px;white-space:pre">=</span><span class="" style="color:rgb(221,17,68);font-size:12px;line-height:18px;white-space:pre">'network'</span><span class="" style="color:rgb(51,51,51);font-size:12px;line-height:18px;white-space:pre">)</span></font></div>
<div><br></div><div><span style="font-family:arial,helvetica,sans-serif">Please correct me if I am wrong here.</span><br></div><div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span class="" style="color:rgb(51,51,51);line-height:18px;white-space:pre"><font face="arial, helvetica, sans-serif">Thanks,</font></span></div>
<div><span class="" style="color:rgb(51,51,51);line-height:18px;white-space:pre"><font face="arial, helvetica, sans-serif">Ronak</font></span></div></div>