Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-23 | New verse for "run show version funny". | Daniil Baturin | |
2018-10-31 | Merge pull request #35 from ovsiannikov/componentversions | Daniil Baturin | |
T688: parsing component version string | |||
2018-10-25 | T937: proper handle IPv6 link-local addresses in vyos.validate module | Christian Poessinger | |
The problem is that some IPv6 addresses reported by the system (mainly link-local addresses) contain an interface suffix like %eth0, this was not properly handeled in the validator script. Remove any given interface attribute on passed IPv6 addresses. If no interface suffix is added - there is no problem. | |||
2018-09-11 | Add support for retrieving error messages from inside libvyosconfig. | Daniil Baturin | |
2018-09-10 | Improve error reporting in vyos.configtree | Daniil Baturin | |
2018-09-02 | T824: add Python bindings for the rename_node function to vyos.configtree | Daniil Baturin | |
2018-08-31 | vyos: package: bugfix in validate.py for is_subnet_connected() | Christian Poessinger | |
2018-08-30 | vyos: package: extend validator by is_subnet_connected() | Christian Poessinger | |
Verify given IPv4/IPv6 subnet is connected to any interface on this system. Required by e.g. DHCP server that we have for IPv4 and IPv6. | |||
2018-08-29 | vyos package: add IP address validators | Christian Poessinger | |
* is_addr_assigned(addr) - Test if address is assigned to ANY interface on the system * is_ipv4(addr) - Test if it is an IPv4 address, both network and host * is_ipv6(addr) - Test if it is an IPv6 address, both network and host | |||
2018-08-26 | T801: correct parsing of returnValues and listNodes output. | Daniil Baturin | |
2018-08-19 | T688: parsing component version string | ovsiannikov | |
2018-07-27 | T666, T616: new implementation of the VRRP CLI. | Daniil Baturin | |
2018-07-24 | Add a validator for scripts that are supposed to be in /config | Daniil Baturin | |
2018-07-23 | Add a convenience function for getting the config owners group GID. | Daniil Baturin | |
2018-07-20 | Remove a stray debug print. | Daniil Baturin | |
2018-07-20 | Add vyos.util.read_file() function. | Daniil Baturin | |
Really, how many times can we write the same thing. | |||
2018-07-20 | Add a function for converting seconds to a human readable elapsed time ↵ | Daniil Baturin | |
descriptions such as 1w3d18h42m12s. | |||
2018-07-19 | Add a function for quickly checking running processes by their PID files. | Daniil Baturin | |
2018-07-18 | T749: Add an initialsetup library with functions for setting common values ↵ | Daniil Baturin | |
in config files, such as user passwords, SSH keys etc., for use in first boot and installation scripts. | |||
2018-07-18 | Add a library for misc functions for handling passwords, SSH keys etc. | Daniil Baturin | |
2018-06-21 | Add some documentation for vyos.version | Daniil Baturin | |
2018-06-20 | Initial API documentation for vyos.config. | Daniil Baturin | |
2018-06-16 | Set the license of all vyos.* libraries to LGPLv2+. | Daniil Baturin | |
2018-06-08 | Move the version.json file used by newer code to /usr/share/vyos | Daniil Baturin | |
2018-06-08 | T689: add a basic library for working with network interfaces and support ↵ | Daniil Baturin | |
for interface types to the completion script. | |||
2018-06-08 | T689: 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-06-05 | T684: add bindings for the commands formatter and scripts for converting ↵ | Daniil Baturin | |
configs to commands. | |||
2018-05-28 | Add bindings for libvyosconfig -- the standalone config file parsing and ↵ | Daniil Baturin | |
manipulation library. | |||
2018-05-15 | Add missing vyos.base module | Yuya Kusakabe | |
2018-05-14 | Fix misplaces ConfigError exception. | Daniil Baturin | |
2018-05-14 | Move the show version command to the vyos-1x package and refactor it a bit. | Daniil Baturin | |
2018-05-14 | T633: build integration and minor fixes in the op mode command generator. | Daniil Baturin | |
2018-02-28 | Fix return_values function (return a list instead of a raw string). | Daniil Baturin | |
2017-10-26 | T433: Add "effective" observers and inSession to the vyos.config library | Taniadz | |
2017-09-21 | T401: add functions for reading VyOS version data. | Daniil Baturin | |
2017-09-08 | Separate 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. | |||
2017-09-08 | Make the vyos.config.Config's return_value(s) and list_node functions behave ↵ | Daniil Baturin | |
like their Perl counterparts. Most scripts used to do something like my $foo = $config->returnValue("system foo"); if !defined($foo) { $foo = $defaultFooValue; } In most cases values do not exist because they are optional and simply not set. In a substantial minority of cases they don't exist but are mandatory, in this case it's probably a good practice to check if it exists first. In rare but frustrating cases returnValue returns undef because the path is wrong. It was tempting but as it turns out impractical to force the user to handle every undefined value as an error, but the cost of wrapping every return_value call in a try/except block is too high. Instead we should facilitate the most common case. For this, those functions now support an optional named argument default=None so an optional value with a sensible default can be handled like $foo = config.return_value("system foo", default="bar") | |||
2017-09-08 | Automatically decode the output of cli-shell-api as ASCII | Daniil Baturin | |
to avoid having to decode it anywhere else. | |||
2017-08-17 | T353: add the Python library for reading VyOS config to the new package. | Daniil Baturin | |