Skip to main content

Crate netform_dialect_eos

Crate netform_dialect_eos 

Source
Expand description

Arista EOS-oriented dialect profile for netform_ir.

This crate re-exports IosLikeDialect parameterised to "eos" and provides the parse_eos convenience function.

§Example

use netform_dialect_eos::parse_eos;

let cfg = "interface Ethernet1\n   description \"Uplink\"\n";
let doc = parse_eos(cfg);
assert_eq!(doc.render(), cfg);

Constants§

EOS_DIALECT
Pre-built EOS dialect instance.

Functions§

parse_eos
Parse text using the EOS dialect.

Type Aliases§

EosDialect
Backward-compatible type alias for the EOS dialect.