-
Notifications
You must be signed in to change notification settings - Fork 65
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
T6815:Fix compatibility with 1.3-1.5 of VyOS (Step 1) #352
Conversation
plugins/module_utils/network/vyos/argspec/ospf_interfaces/ospf_interfaces.py
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.
Looks good so far, I'm looking forward to the final version.
plugins/module_utils/network/vyos/argspec/ospf_interfaces/ospf_interfaces.py
Outdated
Show resolved
Hide resolved
tests/unit/modules/network/vyos/fixtures/vyos_firewall_rules_config_v14.cfg
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.
On line 439 of plugins/module_utils/network/vyos/config/firewall_rules/firewall_rules.py
, you'll want to incorporate the change I made in #354 to the _add_state
method and include tests for it, as it does not work correctly at the moment.
tests/unit/modules/network/vyos/fixtures/vyos_firewall_rules_config_v14.cfg
Show resolved
Hide resolved
Another two things that doesn't work well with 1.5-rolling right now is pretty much every part of |
appreciate the heads up. More detail on what commands you are using and seeing problems with would be helpful. Right now I’m testing on 3 virtual and 3 hardware vyos systems using a real-world configuration. However, my production systems don’t use all commands or capabilities. thanks |
For |
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.
Hi,
I have managed to review the commit related to firewall_rules and ospf_interfaces and test them against my local 1.3.4 and 1.5 vyos VMs and ansible and base and clutetrust fork.
How do we want to tackle the whole lot, by the way?
Also, are the changes/commits worth being tagged by corresponding and specific feature from https://docs.vyos.io/en/stable/changelog/1.4.html and https://docs.vyos.io/en/latest/changelog/1.5.html to track them more effeciently?
plugins/module_utils/network/vyos/config/ospf_interfaces/ospf_interfaces.py
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.
As per comment, some 1.5 implementation seems to require new details
plugins/module_utils/network/vyos/argspec/firewall_rules/firewall_rules.py
Outdated
Show resolved
Hide resolved
I finished reviewing the PR and also did some regression and progression tests against live 1.3, 1.4 and 1.5. using this PR. |
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.
It looks good to me
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.
Looks good
Change Summary
This set of changes enables compatibility with a variety of parameters that were previously only compatible with version 1.2 of VyOS. Wherever possible, configuration is backward compatible.
Types of changes
Related Task(s)
https://vyos.dev/T6815
Related PR(s)
Proposed changes
There are a couple of things I’m interested in comments on:
How to test
Tested against 1.3, and 1.5 of VyOS manually using --dry-run for both ingestion and change.
Updated and tested unit tests
Ran Sanity tests
Checklist: