Page MenuHomePhabricator

Add functions for reading VyOS version data
Closed, ResolvedPublic


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>])


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
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*