confparser
confparser copied to clipboard
Parse Cisco-like configuration files into a JSON-formattable structure using YAML-defined dissectors
How could one separate peer groups from peers in a config section where they are similarly declared (neighbor ...) and at the same level of the hierarchy. With a parser...
when parsing an interface where exact one vlan is not allowed, i got a huge list of vlans which blows up the json file. ### cfg interface GigabitEthernet3 description LAN-Link-Customer...
Hi @tdorssers , I am getting this error When parsing: **This is python script:** import confparser doc = ''' - match: interface (\S+) parent: interface child: - match: ip address...
Do you provide for a pypi module? A module with code and yaml configuration files would be nice.