napalm-automation-community / napalm-aos

NAPALM driver for Alcatel Lucent Enterprise AOS
Apache License 2.0
11 stars 13 forks source link

Remove whitespaces in vendor and os_vendor #40

Open jefvantongerloo opened 3 years ago

jefvantongerloo commented 3 years ago

Reopend with correct username commits

Reference issues/PRs

Get_facts items contains leading and trailing whitespaces #36

Fixes

Removes heading and trailing spaces from the vendor and os_version attribute used by the get_facts module.

Example

output before: {'vendor': 'Alcatel-Lucent Enterprise ', 'os_version': ' 8.6.289.R01 GA, July 13, 2019.'} output after: {'vendor': 'Alcatel-Lucent Enterprise', 'os_version': '8.6.289.R01 GA, July 13, 2019.'}