-
Notifications
You must be signed in to change notification settings - Fork 91
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
routeros_facts: Allow multiple entries per iface #6
routeros_facts: Allow multiple entries per iface #6
Conversation
Well, that makes sense, as I didn't adapt them to the new format. I would like to have a confirmation that changing the format is acceptable, however, before fixing the tests. The changelog could read something like |
@jplitza Yes, that sounds about right. Here is an example of a changelog entry from my recent PR: https://github.com/ansible/ansible/pull/68554/files#diff-87566feaded5be117df64f3c01233c4b |
@jplitza could you please add a changelog fragment? |
There can be multiple addresses per interface, as well as multiple neighbors. This changes the format of "ansible_net_neighbors" to list instead of dict, because the old format could not store multiple neighbors per interface. Also, this fixes a crash when the ipv6 module is not loaded, because the error "bad command name" was being parsed with interface=None
changelogs/fragments/6-routeros_facts-multiple-entries-per-iface.yml
Outdated
Show resolved
Hide resolved
changelogs/fragments/6-routeros_facts-multiple-entries-per-iface.yml
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.
LGTM.
@heuels can you take another look?
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.
SUMMARY
There can be multiple addresses per interface, as well as multiple
neighbors.
This changes the format of "ansible_net_neighbors" to list instead of
dict, because the old format could not store multiple neighbors per
interface.
Also, this fixes a crash when the ipv6 module is not loaded, because the
error "bad command name" was being parsed with interface=None
ISSUE TYPE
COMPONENT NAME
routeros_facts
ADDITIONAL INFORMATION