nanog mailing list archives
Re: JunOS config yacc grammar?
From: Nick Hilliard <nick () foobar org>
Date: Mon, 21 Aug 2023 23:11:06 +0100
Lyndon Nerenberg (VE7TFX/VE6BBM) wrote on 21/08/2023 22:14:
Any chance somebody out there has a yacc grammar that will parse a Juniper config files? My immediate interest involves v19.X on our EX4300s, but anything in the ballpark would save me having to write one from scratch.
No need to reinvent that wheel: root@foo> show configuration | display xml root@foo> show configuration | display json ... then slurp into an ingestion engine in your favourite language. Nick
Current thread:
- JunOS config yacc grammar? Lyndon Nerenberg (VE7TFX/VE6BBM) (Aug 21)
- Re: JunOS config yacc grammar? Nick Hilliard (Aug 21)
- Re: JunOS config yacc grammar? Lyndon Nerenberg (VE7TFX/VE6BBM) (Aug 21)
- Re: JunOS config yacc grammar? Tom Beecher (Aug 21)
- Re: JunOS config yacc grammar? Diogo Montagner (Aug 22)
- Re: JunOS config yacc grammar? Lyndon Nerenberg (VE7TFX/VE6BBM) (Aug 21)
- Re: JunOS config yacc grammar? Saku Ytti (Aug 21)
- Re: JunOS config yacc grammar? Nick Hilliard (Aug 22)
- Message not available
- Re: JunOS config yacc grammar? Lyndon Nerenberg (VE7TFX/VE6BBM) (Aug 22)
- Re: JunOS config yacc grammar? Brent Jones (Aug 22)
- Re: JunOS config yacc grammar? Lyndon Nerenberg (VE7TFX/VE6BBM) (Aug 21)
- Re: JunOS config yacc grammar? Nick Hilliard (Aug 21)
- Re: JunOS config yacc grammar? Joe Snyder (Aug 22)
- Re: JunOS config yacc grammar? Grant Taylor via NANOG (Aug 22)