Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-20 | vyos.configtree: add help for set method | Christian Poessinger | |
2019-08-19 | Python: configinterface: remove debug print() statements | Christian Poessinger | |
2019-08-19 | dummy: T1580: Python: support {add,remove}_interface in vyos.configinterface | Christian Poessinger | |
2019-08-14 | [service https] T1443: add self-signed TLS certificate | John Estabrook | |
2019-08-14 | [service https] T1443: move https and api default data to vyos.defaults | John Estabrook | |
2019-08-09 | [config] - T1557: setting object properties for the class | hagbard | |
2019-08-08 | [config] - T1557: Create generic abstraction for configuring interfaces e.g. ↵ | hagbard | |
IP address | |||
2019-08-05 | T1431: add showConfig operation to the HTTP API. | Daniil Baturin | |
2019-08-05 | [vyos.configsession] Return the output of the external process from ↵ | Daniil Baturin | |
__run_command. | |||
2019-08-05 | [bridge] T1156: support adding interface addresses | Christian Poessinger | |
2019-08-05 | Python/VyOS validate: extend is_intf_addr_assigned() | Christian Poessinger | |
Verify if the given IPv4/IPv6 address is assigned to specific interface. It can check both a single IP address (e.g. 192.0.2.1 or a assigned CIDR address 192.0.2.1/24. Used testbench: =============== 20: br0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 inet 192.0.2.1/24 brd 192.0.2.255 scope global br0 inet 192.0.3.1/24 brd 192.0.3.255 scope global br0 inet6 2001:db8:2::ffff/64 scope global tentative inet6 2001:db8:1::ffff/64 scope global tentative is_intf_addr_assigned('br0', '192.0.2.1/24') -> True is_intf_addr_assigned('br0', '192.0.2.1') -> True is_intf_addr_assigned('br0', '2001:db8:2::ffff/64') -> True is_intf_addr_assigned('br0', '2001:db8:2::ffff') -> True is_intf_addr_assigned('br0', '192.0.100.1/24') -> False is_intf_addr_assigned('br0', '192.0.100.1') -> False is_intf_addr_assigned('br0', '2001:db8:100::ffff/64') -> False is_intf_addr_assigned('br0', '2001:db8:100::ffff') -> False | |||
2019-08-05 | Python/VyOS validate: add helper to check if an address belongs to a given ↵ | Christian Poessinger | |
interface | |||
2019-08-04 | Python/VyOS validate: improve logic on is_ipv4() and is_ipv6() | Christian Poessinger | |
Previosly the check failed when a network statement was passed which contained host bits set e.g. 192.0.2.1/24. This no longer is an issue b/c this is a valid v4 address. Address is now split on / and validated. | |||
2019-08-04 | [bridge] T1156: add missing 'pass' statements | Christian Poessinger | |
2019-08-04 | [bridge] T1156: validate if supplied MAC address is valid | Christian Poessinger | |
2019-08-03 | [bridge] T1156: support adding and removing bridge member interfaces | Christian Poessinger | |
This is the new syntax bridge br0 { member { interface eth0 { cost 10 } interface eth1 { cost 11 } } } | |||
2019-08-02 | [bridge] T1156: first working implementation using Python and XML | Christian Poessinger | |
2019-07-03 | [vyos.config] T1505: correct return_effective_values output splitting. | Daniil Baturin | |
2019-07-03 | T1503: add functions for commit lock checking and waiting. | Daniil Baturin | |
2019-07-01 | [service https] T1443: add service https and service https api | John Estabrook | |
2019-06-16 | T1432: 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-16 | T1432: add a finalizer to vyos.configsession to avoid leaking sessions. | Daniil Baturin | |
2019-06-16 | T1432: add a discard function to vyos.configsession | Daniil Baturin | |
2019-06-13 | Merge branch 'current' of https://github.com/vyos/vyos-1x into current | Daniil Baturin | |
2019-06-13 | T1431: 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-12 | T1397: use revised migration method | John Estabrook | |
2019-06-12 | T1432: correct the ConfigSessionError exception name. | Daniil Baturin | |
2019-06-12 | T1432: initial implementation of the config write API. | Daniil Baturin | |
2019-06-05 | T1334: Migration script runner rewrite | John Estabrook | |
Python script and support code to replace the vyatta_config_migrate.pl script. | |||
2019-06-03 | T1423: Create known_hosts file if not present | John 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-29 | T1397: Rewrite the config merge script | John 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-28 | T1397: Rewrite the config merge script | John 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 copying | Daniil Baturin | |
Also improve sanity checks in the rename function and add unit tests for copy and rename. | |||
2019-01-02 | Initial implementation of declarative config dict retrieval library. | Daniil Baturin | |
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 | |