Skip to content

Cafy Parsers

Sriram edited this page Sep 15, 2023 · 2 revisions

Cafy Parsers & Related docs

textfsm files are present in /cafykit/lib/parsers/xr/templates path

.output and .model files are present in /cafykit/test/parsers/xr/templates path

http://cafybgl-idt-lnx:4000/dynamicfsm/

http://idt-ls-exec:8085/

TextFSM template syntax - Python for network engineers (pyneng.readthedocs.io) ( Check for textfsm parser syntax)

https://wwwin-github.cisco.com/cafy/cafykit/wiki/Parsers

https://github.com/google/textfsm/wiki/Code-Lab

https://github.com/google/textfsm/wiki/Code-Lab

When adding new parser : steps to follow https://wwwin-github.cisco.com/cafy/cafykit/commit/258f469db265eedc2ea5501f37e2515a453b7359 (refer this PR)

If you modified textfsm file like added a field, then you have to go to textfsm file location, /cafykit/test/parsers/xr/templates there you can find test_xr_templates.py

Clone this wiki locally