Expand description
Typed views of common JunOS config statements, extracted from a tree parsed by
asterust::config::juniper (brace-delimited show configuration output).
JunOS nests everything under a few top-level blocks (interfaces, protocols, routing-options,
routing-instances, policy-options, firewall, system), so each module exposes a free function that reads the relevant block from a
asterust::config::Config rather than a per-block constructor. JunosDevice bundles a parsed
config with all of them as getters.
Statements deactivated with inactive: are skipped. | display set output is not supported.
Re-exports§
pub use device::JunosDevice;
Modules§
- bgp
protocols { bgp { ... } }.- device
JunosDevice: one parsed JunOS config with every supported view as a getter.- firewall
firewall { ... }: stateless filters and policers.- interface
interfaces { ... }: physical interfaces and their logical units.- isis
protocols { isis { ... } }.- ospf
protocols { ospf { ... } }.- policy_
options policy-options { ... }: policy statements, communities, prefix lists and AS paths.- routing_
instance routing-instances { ... }, including VRFs.- routing_
options routing-options { ... }.- system
system { ... }.