networktocode / ntc-rosetta

The missing bridge between industry standard CLIs and YANG
https://ntc-rosetta.readthedocs.io/en/latest/index.html
Apache License 2.0
103 stars 23 forks source link

Interface description not implemented for Junos parser/translator #43

Open rdpravin1895 opened 4 years ago

rdpravin1895 commented 4 years ago

Not a major issue, but interface description has not been implemented for Junos parser and translator. Only the subinterfaces have description implemented.

Parser: https://github.com/networktocode/ntc-rosetta/blob/fac7086c460a2c68c769879930b74c05ed89b1f4/ntc_rosetta/parsers/openconfig/junos/openconfig_interfaces/interfaces.py#L45

Translator: https://github.com/networktocode/ntc-rosetta/blob/fac7086c460a2c68c769879930b74c05ed89b1f4/ntc_rosetta/translators/openconfig/junos/openconfig_interfaces/interfaces.py#L60

Logically its possible to assign a description for interface in Junos.