ntc-templates
ntc-templates copied to clipboard
Fix 1376 juniper junos show interfaces
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 ?