fortinet-ansible-dev / ansible-galaxy-fortios-collection

GNU General Public License v3.0
84 stars 47 forks source link

Adding new router_static with seq_num=0 does not work since 2.3.1 #278

Closed jplitza closed 3 months ago

jplitza commented 8 months ago

Since release 2.3.1, there is some code that first looks for the given static route on the device, and fails when i pass seq_num=0. In release 2.3.0, this still works, but I have to specify seq_num=0 explicitly (compared to earlier versions where 0 was the implicit default).

(I know the implications of using seq_num=0 and explicitly want to add a new entry without caring about what ID it is assigned.)

MaxxLiu22 commented 8 months ago

Hi @jplitza ,

Thank you for raising this issue, I can reproduce and have reported it to the development team to check if they did this on purpose.

Thanks, Maxx

JieX19 commented 3 months ago

Hi @jplitza

Please try the latest version 2.3.6 and try this module again. I'll proceed to close this ticket as it has been fixed.

Thanks, Jie