summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Collapse)Author
2019-06-16T1432: inject VyOS-specific environment variables into the session environment.Daniil Baturin
They are widely referenced by command templates, but a process started as a service doesn't automatically get them.
2019-06-16T1432: add a finalizer to vyos.configsession to avoid leaking sessions.Daniil Baturin
2019-06-16T1432: add a discard function to vyos.configsessionDaniil Baturin
2019-06-13Merge branch 'current' of https://github.com/vyos/vyos-1x into currentDaniil Baturin
2019-06-13T1431: make it possible to obtain session environment and run vyos.config ↵Daniil Baturin
functions under it. This is required for programs running outside a CLI session, like the future API daemon.
2019-06-12T1397: use revised migration methodJohn Estabrook
2019-06-12T1432: correct the ConfigSessionError exception name.Daniil Baturin
2019-06-12T1432: initial implementation of the config write API.Daniil Baturin
2019-06-05T1334: Migration script runner rewriteJohn Estabrook
Python script and support code to replace the vyatta_config_migrate.pl script.
2019-06-03T1423: Create known_hosts file if not presentJohn Estabrook
In the recent rewrite of the config merge script, support for merging remote config files checks and adds the host key in known_hosts; however, this function fails if known_hosts is not present. Fix.
2019-05-29T1397: Rewrite the config merge scriptJohn Estabrook
Add the script vyos-merge-config.py to separate the merge function from the config load script and remove dependency on XorpConfigParser.
2019-05-28T1397: Rewrite the config merge scriptJohn Estabrook
Add vyos.config.show_config to show working configuration. Add vyos.remote.get_config_remote() for obtaining remote config files.
2019-03-17[vyos.configtree] T1305: allow configs to end with leaf nodes.Daniil Baturin
2019-02-14[vyos.configtree] T1248: add a function for node copyingDaniil Baturin
Also improve sanity checks in the rename function and add unit tests for copy and rename.
2019-01-02Initial implementation of declarative config dict retrieval library.Daniil Baturin
2018-11-23New verse for "run show version funny".Daniil Baturin
2018-10-31Merge pull request #35 from ovsiannikov/componentversionsDaniil Baturin
T688: parsing component version string
2018-10-25T937: proper handle IPv6 link-local addresses in vyos.validate moduleChristian 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-11Add support for retrieving error messages from inside libvyosconfig.Daniil Baturin
2018-09-10Improve error reporting in vyos.configtreeDaniil Baturin
2018-09-02T824: add Python bindings for the rename_node function to vyos.configtreeDaniil Baturin
2018-08-31vyos: package: bugfix in validate.py for is_subnet_connected()Christian Poessinger
2018-08-30vyos: 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-29vyos package: add IP address validatorsChristian 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-26T801: correct parsing of returnValues and listNodes output.Daniil Baturin
2018-08-19T688: parsing component version stringovsiannikov
2018-07-27T666, T616: new implementation of the VRRP CLI.Daniil Baturin
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-07-18T749: 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-18Add a library for misc functions for handling passwords, SSH keys etc.Daniil Baturin
2018-06-21Add some documentation for vyos.versionDaniil Baturin
2018-06-20Initial API documentation for vyos.config.Daniil Baturin
2018-06-16Set the license of all vyos.* libraries to LGPLv2+.Daniil Baturin
2018-06-08Move the version.json file used by newer code to /usr/share/vyosDaniil Baturin
2018-06-08T689: add a basic library for working with network interfaces and support ↵Daniil Baturin
for interface types to the completion script.
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-06-05T684: add bindings for the commands formatter and scripts for converting ↵Daniil Baturin
configs to commands.
2018-05-28Add bindings for libvyosconfig -- the standalone config file parsing and ↵Daniil Baturin
manipulation library.
2018-05-15Add missing vyos.base moduleYuya Kusakabe
2018-05-14Fix misplaces ConfigError exception.Daniil Baturin
2018-05-14Move the show version command to the vyos-1x package and refactor it a bit.Daniil Baturin
2018-05-14T633: build integration and minor fixes in the op mode command generator.Daniil Baturin
2018-02-28Fix return_values function (return a list instead of a raw string).Daniil Baturin
2017-10-26T433: Add "effective" observers and inSession to the vyos.config libraryTaniadz
2017-09-21T401: add functions for reading VyOS version data.Daniil Baturin