-
Notifications
You must be signed in to change notification settings - Fork 316
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
T6536: nat: add migration script that replaces wildcard charater #3749
Conversation
👍 |
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.
I wonder if this should be done in a new migration script with a new version number.
TL;DR;
please move the migration code to nat/6-to-7
As with the original bug report it seems that the NAT config is "lost in migration" I see no reason for a bump of the version number as the actual migrator nat/6-to-7
seems to have the issue and should get the fix.
One can not upgrade from 1.4.0 -> 1.4.1 to restore the behavior which would be the only reason for a new migration version, but the user should rather re-upgrade form 1.3.x -> 1.4.1 or re-load the configuration from his 1.3.x installation on the upgraded 1.4.1 image.
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.
There is another place in the CLI where the plus-notation for wildcard interfaces was supported: set zone-policy zone Foo interface 'vti+'
.
From my look in the firewall migration scripts, we don't have a similar migration there. Am I missing anything? If not, I think we need a firewall counterpart to the NAT script as well.
b6fb5b1
to
aad123a
Compare
…orted in 1.3 <+> with character supported in latest version <*>
…es defined in zone policy.
aad123a
to
66ec278
Compare
@Mergifyio backport circinus sagitta |
✅ Backports have been created
|
CI integration ❌ failed! Details
|
Change Summary
Change wildcard character from + to *
Types of changes
Related Task(s)
Related PR(s)
Component(s) name
nat
Proposed changes
How to test
Config valid an running on 1.3:
And after upgrade:
Smoketest result
Checklist: