Add functions for reading VyOS version data
Closed, ResolvedPublic

Description

There are quite a few scripts that read the version apart from the one used by "run show version", in particular, the scripts for LLDP and SNMP. They should not need to duplicate this functionality.

I suggest:

vyos.util.get_version_data([file=<version file>])

vyos.util.get_version([file=<version file>])

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
This request is:
Service Request
dmbaturin created this object with visibility "Public (No Login Required)".
dmbaturin closed this task as Resolved.May 15 2018, 2:55 AM

They are now vyos.version.get_version*