Page MenuHomeVyOS Platform

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

Event Timeline

dmbaturin created this object with visibility "Public (No Login Required)".

They are now vyos.version.get_version*