Replies: 1 comment 2 replies
-
You should ask this question to the NAPALM folks. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Guys,
I am using nornir together with the napalm connection plugin to modifiy access-lists and service-policys on Cisco IOS-XR ASR9k routers.
Everything is working fine so far, but I encounted a behavior when updating Access lists that I want to change to my liking.
For example I want to add the following ACL:
Using nornir+napalm it is no effort to add this acl to the router config. But if I want to rerun this 'add acl githubtest'-Task, the diff between running config and new config shows the following:
Meaning that it would add the already exisiting network to the same ACL. My expectation is that it is detected that this acl with the very same network already exisists on the router and no change is required.
The workflow is as follows
I guess it has to do something with the napalm run task replace=True/False parameter. But I could not figure it out, yet.
When I set replace=True, nornir/napalm wants to completely erase the complete router config with the exception being the ACL o.O
I am using nornir 3.1.1 with the default inventory plugin, napalm 3.3.1, python3 3.7.3 and the router is running IOS-XR 6.6.3 64-bit.
Do you know how to fix this?
Thanks in advance for your help!
With best regards,
Gummidude
Beta Was this translation helpful? Give feedback.
All reactions