Closed tylergmuir closed 9 months ago
@sdodsley I noticed this issue a few days ago. I think it should be a pretty easy fix to just check for 0.0.0.0/0
or 0.0.0.0
and see if the existing state is None
on the two options. It could be rolled into #471 if you wanted or it can be done separately but I was going to hold off on submitting a PR for this since you already have one inflight for that module.
@tylergmuir I'll roll it into the work I'm doing for VIF and LACP
@tylergmuir addressed in #474
@sdodsley It looks like it is reporting right now with the update you made to #474
Describe the bug When using
purefa_network
, if you haveaddress
set to0.0.0.0/0
orgateway
set to 0.0.0.0 to remove either of those configurations from the network on the array, it always reports backchanged
regardless of if anything was changed.To Reproduce Steps to reproduce the behavior:
purefa_network
module withstate: present
,address: 0.0.0.0/0
, andgateway: 0.0.0.0
.Expected behavior The expected behavior is that if nothing on the port is changed, the status should report
ok
instead ofchanged
.