genieparser icon indicating copy to clipboard operation
genieparser copied to clipboard

Added commands in ShowRunInterface

Open jmdilly opened this issue 4 years ago • 1 comments

Description

Many commands added in ShowRunInterface.

Motivation and Context

Commands used on PE and CPE in SP environment

Impact (If any)

The encapsulation dot1Q VLAN ID is now saved twice. One time in encapsulation_dot1q key for backward compatibility and one time in the more generic encapsulation dict to have something more consistent with ShowInterfaces schema. Of course, I am opened to suggestions and change requests if this is not the best way to do it.

I also renamed to unittest in a separate commit to have something consistent.

Screenshots:

image

Checklist:

  • [x] I have updated the changelog.
  • [ ] I have updated the documentation (If applicable).
  • [x] I have added tests to cover my changes (If applicable).
  • [x] All new and existing tests passed.
  • [ ] All new code passed compilation.

jmdilly avatar Oct 13 '21 16:10 jmdilly

Hello,

I addressed all your suggestions I believe.

Tests are still OK. image

jmdilly avatar Oct 19 '21 08:10 jmdilly