-
Notifications
You must be signed in to change notification settings - Fork 67
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
T6817 & T6825 & T7004 updates - fw_rules override and replaced fixes #368
Conversation
You'll need to add the changelog file (note: you can't just amend another file, it needs a new file to pass the tests). |
- Added func to compare r_sets - Added code to isolate r_set changes to only targeted - Fixed parsers for packet_length_exclude - started to troubleshoot filter processing
plugins/module_utils/network/vyos/config/firewall_rules/firewall_rules.py
Outdated
Show resolved
Hide resolved
plugins/module_utils/network/vyos/config/firewall_rules/firewall_rules.py
Outdated
Show resolved
Hide resolved
tests/integration/targets/vyos_firewall_rules/tests/cli/parsed.yaml
Outdated
Show resolved
Hide resolved
tests/integration/targets/vyos_firewall_rules/tests/cli/overridden.yaml
Outdated
Show resolved
Hide resolved
tests/integration/targets/vyos_firewall_rules/tests/cli/deleted_afi.yaml
Outdated
Show resolved
Hide resolved
tests/integration/targets/vyos_firewall_rules/tests/cli/_remove_config.yaml
Outdated
Show resolved
Hide resolved
tests/integration/targets/vyos_firewall_rules/tests/cli/_populate.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extremely close. There are a couple of yaml syntax changes and a couple of disabled tests we should look at and one new line of code that isn't being tested with either unit or integration tests.
Code coverage in the main modules changed here are over 80% and every new line (except the one above) is covered in either integration or unit, so that's great!
plugins/module_utils/network/vyos/config/firewall_rules/firewall_rules.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go
Change Summary
Types of changes
Related Task(s)
Related PR(s)
Component(s) name
Proposed changes
How to test
Test results
Tested against VyOS versions:
Checklist:
changelogs/fragments
to describe the changes