summaryrefslogtreecommitdiff
path: root/python/vyos/util.py
AgeCommit message (Collapse)Author
2018-07-24Add a validator for scripts that are supposed to be in /configDaniil Baturin
2018-07-23Add a convenience function for getting the config owners group GID.Daniil Baturin
2018-07-20Remove a stray debug print.Daniil Baturin
2018-07-20Add vyos.util.read_file() function.Daniil Baturin
Really, how many times can we write the same thing.
2018-07-20Add a function for converting seconds to a human readable elapsed time ↵Daniil Baturin
descriptions such as 1w3d18h42m12s.
2018-07-19Add a function for quickly checking running processes by their PID files.Daniil Baturin
2018-06-16Set the license of all vyos.* libraries to LGPLv2+.Daniil Baturin
2018-06-08T689: add a new script for 'show hardware cpu summary'.Daniil Baturin
Since the format is common in /proc, make parsing the data a library function.
2018-05-14T633: build integration and minor fixes in the op mode command generator.Daniil Baturin
2017-09-21T401: add functions for reading VyOS version data.Daniil Baturin
2017-09-08Separate VyOSError and ConfigError.Daniil Baturin
VyOSError is now only raised on improper config operations and internal errors, such as trying to use a function on a wrong kind of node. ConfigError should be used by scripts to indicate configuration mistakes and error conditions.