We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in IOS XE the static route is not rendered correctly in some cases. Have a look at the following output:
{ "dest": "192.0.2.1/32", "next_hops": [ { "forward_router_address": "2", "interface": "Null0", "name": "remote_blackhole_route", "tag": 666 } ] }
This is returned by the device after pushing a route with a higher distance_metric
{ "dest": "{{ entry.prefix }}", "next_hops": [ { "interface": "Null0", "name": "generated_from_{{ item.description | lower | replace(' ', '_') | default('Unknown') }}", "distance_metric": "2", "tag": "301" } ]
cisco.ios.ios_static_routes
ansible [core 2.13.7] configured module search path = ['/Users/dimitry.kuijpers/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.10/site-packages/ansible ansible collection location = /Users/dimitry.kuijpers/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible python version = 3.10.11 (main, Apr 7 2023, 07:31:31) [Clang 14.0.0 (clang-1400.0.29.202)] jinja version = 3.1.2 libyaml = True
cisco.ios 5.0.0
MACOS
Push static route (or configure manual)
collect facts
cisco.ios.ios_facts: gather_subset: - "!all" gather_network_resources: - all
Push AD and then it should be reflected in the facts return (also module idempotency)
it is rendering forward address instead of AD in this case
The text was updated successfully, but these errors were encountered:
KB-perByte
No branches or pull requests
SUMMARY
in IOS XE the static route is not rendered correctly in some cases. Have a look at the following output:
This is returned by the device after pushing a route with a higher distance_metric
ISSUE TYPE
COMPONENT NAME
cisco.ios.ios_static_routes
ANSIBLE VERSION
COLLECTION VERSION
OS / ENVIRONMENT
MACOS
STEPS TO REPRODUCE
Push static route (or configure manual)
collect facts
cisco.ios.ios_facts:
gather_subset:
- "!all"
gather_network_resources:
- all
EXPECTED RESULTS
Push AD and then it should be reflected in the facts return (also module idempotency)
ACTUAL RESULTS
it is rendering forward address instead of AD in this case
The text was updated successfully, but these errors were encountered: