summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Collapse)Author
2023-12-04https: T5772: remove the default API keyDaniil Baturin
2023-12-04Revert "https api: T5772: check if keys are configured unless PAM auth is ↵Daniil Baturin
enabled for GraphQL" This reverts commit 1b7e8f9ff7a86125ca7c8a2035650d5203dc54c5.
2023-12-04Revert "https api: T5772: fix Python version not supporting f-ormated ↵Daniil Baturin
strings and dict parsing" This reverts commit e7efd65483e7f6e1902a9ab88f8453d5fbb63c09.
2023-11-23https api: T5772: fix Python version not supporting f-ormated strings and ↵Christian Breunig
dict parsing cpo@LR3.wue3# commit [ service https ] At least one HTTPS API key is required! [[service https]] failed [[service https api]] failed cpo@LR3.wue3# set service https api keys id foo [edit] cpo@LR3.wue3# commit [ service https ] Missing HTTPS API key string for key id: foo
2023-11-23https api: T5772: check if keys are configured unless PAM auth is enabled ↵Daniil Baturin
for GraphQL (cherry picked from commit 8c450ea7f538beb0b2cd21d35c05d18db49a1802)
2021-07-08T3663: use inotify-based waiting for keepalived in `show vrrp`Daniil Baturin
2021-01-24T1773: add a script for converting the config to JSON.Daniil Baturin
It also exposes those functions in vyos.configtree
2020-12-04pim: igmp: igmp-proxy: T2744: Add check to prevent pimd and igmp-proxy conflictDmitriyEshenko
2020-11-30limericks: Fix typos and rhymeerkin
2020-07-26T1949: backport the IPv6 BFD validation improvements from PR#199Daniil Baturin
2020-02-07vrrp: T1884: Add mode-force for run transition-scripts without checking ↵DmitriyEshenko
previous state
2019-12-10Backport the ask_yes_no function.Daniil Baturin
2019-11-10[HTTP API] Backport config file and image management functions.Daniil Baturin
2019-09-04T1443: backport the HTTP API to crux.Daniil Baturin
Implementation by Daniil Baturin and John Estabrook.
2019-08-27T1598: add a vyos-hostsd operation for retrieving name servers by tag.Daniil Baturin
2019-08-27T1598: handle the socket timeout exception in vyos.hostsd_clientDaniil Baturin
2019-08-27T1598: initial implementation of the hosts keeper daemon.Daniil Baturin
Conflicts: debian/control
2019-07-04[vyos.config] T1505: correct return_effective_values output splitting.Daniil Baturin
2019-07-03T1503: add functions for commit lock checking and waiting.Daniil Baturin
Conflicts: python/vyos/defaults.py
2019-03-17[vyos.configtree] T1305: allow configs to end with leaf nodes.Daniil Baturin
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