ntc-templates icon indicating copy to clipboard operation
ntc-templates copied to clipboard

Fix 1376 juniper junos show interfaces

Open diepes opened this issue 1 year ago • 0 comments

Fix #1376 , Fixs_1376, Fix_1376

tasks.py add alias test to tests

juniper junos_show_interfaces

  • tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.yml Sort current test yaml and verify it did not change.

  • tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces2.raw add new test file

  • ntc_templates/templates/juniper_junos_show_interfaces.textfsm Update template. match all values in 2 tests and end on "-> Error"

It seems a bit brittle as Juniper has so many settings that seem to be uniq to each interface type. Suggest we comment the last line ? (" ^. -> Error") Probably need more test examples.

the records are generated on blank lines, couldn't see a better way ?

diepes avatar Jun 29 '23 09:06 diepes