-
Notifications
You must be signed in to change notification settings - Fork 46
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
Update _api_data.py #324
base: main
Are you sure you want to change the base?
Update _api_data.py #324
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.
Thanks for your contribution!
'log': KeyInfo(can_disable=True), | ||
'log-prefix': KeyInfo(can_disable=True), | ||
'log': KeyInfo(default=False), | ||
'log-prefix': KeyInfo(default=''), |
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.
What's the reason behind this change? Was the behavior always wrong, or did RouterOS's behavior change from one version to another?
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 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 can second that. It was always bugging me but I didn't have the time to investigate.
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.
Please note that the unit tests now fail, since some of them rely on the old structure of I think ip firewall filter
.
Co-authored-by: Felix Fontein <[email protected]>
SUMMARY
The behavior of the log and log-prefix fields has been changed. Previously, if these fields were not declared in the code, Ansible would attempt to delete them. Now, if the fields are not declared, Ansible will assign them the default value for the router OS
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION