-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cs_firewall: add dest cidrs #84
base: master
Are you sure you want to change the base?
Conversation
b425a2e
to
051972c
Compare
Codecov Report
@@ Coverage Diff @@
## master #84 +/- ##
==========================================
- Coverage 84.25% 84.23% -0.03%
==========================================
Files 56 56
Lines 5597 5602 +5
Branches 1255 1256 +1
==========================================
+ Hits 4716 4719 +3
- Misses 445 446 +1
- Partials 436 437 +1
Continue to review full report at Codecov.
|
051972c
to
0621d7b
Compare
0621d7b
to
f228096
Compare
hi @resmo, this is implemented but not released, right? |
hey @rvalle, yes, only testing is missing. |
ok @resmo will test it and let you know. |
@resmo, setting dest_cidr works, however, it should be called "dest_cidrs", as it takes an array of cidrs for destination, and for source, the parameter it is already called cidrs, in plural. I tested with one, and several values and they get set properly on ACS (using 4.16.x) |
ok, I can see that it is dest_cidrs, dont know where I picked dest_cidr from, which I see it works because it is an alias only. |
yeah, it was a "design decision" I made in the early development days to have an alias for lists in the "singular" form because ansible allows to use the list as "single" value: dest_cidrs: example when you would expect it should have been: dest_cidrs: [ example ] that is why a singluar alias makes sense: dest_cidr: example But the downside of it, is, you can not see anymore from the name that it the value is actually a list. |
@resmo I dont see any obvious bug with not detecting the change of dest_cidrs... any idea? |
@resmo I would suggest we release this feature in its current state. it is certainly an improvement. It does not always detect changes, but it is certainly not the only module with that issue. Perhaps we should open a different issue to deal with functionalities for which change is not detected. |
2e1f31b
to
52fcebc
Compare
closes #76
/cc @nathanmcgarvey may you have a look and test it?