You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an issue when we try to apply a remediation configuration to a cisco XR with command use neighbor-group TEMPLATE. We have multiple prefixes which use a neighbor-group but only the first prefix is apply. The output commands from iosxr_config remove use neighbor-group TEMPLATE but we don't know why.
So use neighbor-group is removed when it's not the first neighbor. We try with few verions, it's the same (3.3.1 and 5.0.1). This works well if we apply all configuration in one time (but we want to change few line by few lines so it's important for us)
All use neighbor-group peer-leaf-overlay lines except the first have indeed vanished from the configuration. This seems to boil down to this specific line in NetworkConfig. The add method simply disregards "duplicate" lines, no matter where they appear (within the same block or any other block, so long as the indent is the same)
SUMMARY
Hello,
We have an issue when we try to apply a remediation configuration to a cisco XR with command
use neighbor-group TEMPLATE
. We have multiple prefixes which use a neighbor-group but only the first prefix is apply. The output commands from iosxr_config removeuse neighbor-group TEMPLATE
but we don't know why.Example for remediation_config:
Output commands:
So
use neighbor-group
is removed when it's not the first neighbor. We try with few verions, it's the same (3.3.1 and 5.0.1). This works well if we apply all configuration in one time (but we want to change few line by few lines so it's important for us)ISSUE TYPE
COMPONENT NAME
cisco.iosxr.iosxr_config
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
debian/11
STEPS TO REPRODUCE
Example for remediation_config:
EXPECTED RESULTS
Output commands:
ACTUAL RESULTS
Output commands:
If you want more informations, don't hesitate.
The text was updated successfully, but these errors were encountered: