ios-config
Cisco IOS configuration parser, built on netconv-core.
Parses show running-config output into a typed NetworkConfig IR, with
per-line unrecognized-command reporting via ConversionReport so that
callers can tell what was and wasn't understood, rather than having
unknown lines silently dropped.
use ConfigParser;
use IosParser;
let = IosParser.parse.unwrap;
Upgrading from 0.1.x
0.2.0 is a breaking release. The old free function
// 0.1.x — gone
parse
is replaced by the ConfigParser trait impl shown above, which returns
the parsed config alongside a ConversionReport of anything the parser
didn't recognize, instead of silently dropping it. ios-config-core is
no longer a separate dependency — the IR now comes from netconv-core.
Part of the netconv project — see the main repository for the CLI, web UI, and full documentation.
License
MIT