Config Diff showing multiple filtered lines as mismatched
NetBox version v4.0.6
Describe the bug On many devices I am showing large blocks of empty lines that are marked as diffed updated module to 2.8.0, no change
To Reproduce Steps to reproduce the behavior:
Go to ConfigDiffScript
Click on 'Run script'
Then go to 'Config Compliances'
See results in diff
Expected behavior Diff only for lines containing config
Screenshots
Additional context Filters are applied on the Platform settings
Hi @Dz3015 thanks for opening the issue
tell me more please about your exclude regexes in Platform settings
- How many regexes are set in platform settings?
- Do your regexes match different parts of the config or sequential sections?
- Can you provide your regex and examples of actual and rendered configurations? so I can test the plugin with your data because on my data I don't catch this behavior
Hello and sorry for the delay in response!
- I have about 14 regex statements in the platform settings (I could probably clean these up into less statements
- Both, some are sequential to each other and some are in different parts of the config.
- Below are the regex statements, I will work on providing config samples
set version.* set poe.* set interfaces interface-range.* set interfaces ge.* set interfaces et.* set interfaces xe.* set interfaces ae.* set interfaces vlan.* set interfaces vme.* set interfaces me0.* set interfaces lo0 unit 0 family inet address .* set virtual-chassis member.* set virtual-chassis preprovisioned