ciscoconfparse
ciscoconfparse copied to clipboard
Parse, Audit, Query, Build, and Modify Cisco IOS-style configurations.
### Contact Details [email protected] ### What happened? loaded config: [ "interface GigabitEthernet1", " description Test1", "interface GigabitEthernet2", " description Test2" ] reference_config = [ "interface GigabitEthernet1", " description Test1-New", "interface...
Here is a simple addition to BaseIOSIntfLine for voice VLANs. It is pretty much copied from access_vlan. I'm not sure about the behaviour in the case of it not being...
### Contact Details [email protected] ### What happened? I couldn't get this to work, then attempted the example that's in the source code: ` >>> config2 = [ '!', 'interface Serial1/0',...
### Contact Details [email protected] ### What happened? ` Could not parse 'ipv6 route testnetz_transfer aaaa:aaaa:aaaa:bbbb::/64 aaaa:aaaa:aaaa:aaaa::2'` It looks like that the regex in modesl_cisco.py line 63864 is not detecting this...
Fixes two issues with delete_children_matching as reported on #241 that I just ran into myself as well. Casts the resulting iterable from filter into a list. Since it's consumed by...
**Method CiscoConfParse.sync_diff prepends "no " to unconfigure interfaces.** This is correct for logical interfaces (sub-interfaces, loopbacks, tunnel, ...) but wrong for physical installed interfaces (Ethernet, Serial, ...). **Current behavior:** loaded...
### Contact Details [email protected] ### What happened? Would it be possible to re-add the `tests/` directory to the sdist, which is distributed at PyPI? The `tests` directory is missing from...
The examples provided via the `examples/` directory are very useful to get started quickly with `ciscoconfparse`, IMHO. Would it be possible to add the `examples/` directory with its contents to...
Obfuscate subnets, addresses, secrets, ACL names, vlan numbers, slot numbers, interface descriptions, etc... the specifics of what should be obfuscated must be available via CLI arguments.
IOS XR uses different syntax and there needs to be a unique `syntax="iosxr"` keyword; one example: Github Issue #291 Add a `syntax="iosxr"` keyword and initial factory parsing for IOS XR....