Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-27 | Merge pull request #480 from c-po/t2653 | Christian Poessinger | |
ifconfig: T2653: move macsec interface to get_config_dict() | |||
2020-06-27 | ifconfig: T2653: dummy: loopback: use same get_config() structure as MACsec | Christian Poessinger | |
2020-06-27 | ifconfig: T2653: move macsec interface to get_config_dict() | Christian Poessinger | |
2020-06-26 | T2654: Remove overzealous error checking | kroy | |
2020-06-26 | ifconfig: T2653: add common vyos.configverify helpers | Christian Poessinger | |
While moving towards a general interface abstraction based on get_config_dict() and the use of vyos.ifconfig.Interfaces().update() it also makes sense, to split out common verification code to a common util file - instead of duplicating the code, which is infact one of the main forces drivind this transition. vyos.configverify will hold common functions called via verify() from our src/conf_mode scripts so we do not need to copy/paste general verifications methods. | |||
2020-06-26 | ifconfig: T2653: move loopback interface to get_config_dict() | Christian Poessinger | |
2020-06-26 | ifconfig: T2653: move dummy interface to get_config_dict() | Christian Poessinger | |
This changes the dummy interface implementation to make use of get_config_dict() and also implement a new vyos.ifconfig.Interface().update() function to gather all the scattered calls to update common interface configuration options. Derived classes of Interface() should extend update() to their needs for their special interface type - e.g. bond or bridge. | |||
2020-06-24 | dictconfig: T2637: identify sub-interfaces (vif) to delete | Thomas Mangin | |
2020-06-23 | ssh: T2635: migrate to get_config_dict() | Christian Poessinger | |
Jinja template contains some workarounds like {% if port is string %}, this depends of the resolution of https://phabricator.vyos.net/T2636 | |||
2020-06-23 | Merge pull request #472 from thomas-mangin/T2633 | Christian Poessinger | |
tunnel: T2633: add support for ip (arp) commands | |||
2020-06-23 | wireguard: T2632: support PSK on multiple peers | Christian Poessinger | |
It was not possible to configure two WG peers with both utilized a pre-shared key. This has been corrected. WG psk can only be read from a file when starting the interface. The code for creating this temporary file has been moved into the ifconfig.WireGuardIf() class. Tested with: ============ set interfaces wireguard wg0 address '192.0.2.0/31' set interfaces wireguard wg0 peer one allowed-ips '0.0.0.0/0' set interfaces wireguard wg0 peer one preshared-key 'e+SIIUcrnrSDHhbTtpjwKhSlSdUALA5ZvoCjfQXcvmA=' set interfaces wireguard wg0 peer one pubkey '/qQGAQ2HfLSZBSCpdgps04r9wRlK7bSFraCH9+MScmw=' set interfaces wireguard wg0 peer two allowed-ips '0.0.0.0/0' set interfaces wireguard wg0 peer two pubkey '/qQGAQ2HfLSZBSCpdgfooor9wRlK7bSFraCH9+MScmw=' | |||
2020-06-23 | tunnel: T2633: add support for ip (arp) commands | Thomas Mangin | |
2020-06-22 | vpn: sstp: T2008: fix improper use of fail-time dictionary key | Christian Poessinger | |
2020-06-22 | vpn: pptp: T2351: fix improper use of fail-time dictionary key | Christian Poessinger | |
2020-06-22 | vpn: l2tp: T2264: fix improper use of fail-time dictionary key | Christian Poessinger | |
2020-06-22 | pppoe-server: T2314: fix improper use of fail-time dictionary key | Christian Poessinger | |
2020-06-22 | Merge branch 'default-dict' of github.com:c-po/vyos-1x into current | Christian Poessinger | |
* 'default-dict' of github.com:c-po/vyos-1x: console-server: T2588: migrate to defaults from XML interface definitions xml: T2588: add gitignore for generated defaults xml: T2588: code to extract defaults values from xml Debian: remove duplicate build dependency xml: ssh: fix typo in service description | |||
2020-06-22 | console-server: T2588: migrate to defaults from XML interface definitions | Christian Poessinger | |
2020-06-22 | rip: T2547: rewriten implementation in Python and XML | Viacheslav Hletenko | |
2020-06-22 | Merge pull request #452 from jjakob/T2486-dns-hostsd-fixes | Daniil Baturin | |
T2486: DNS, vyos-hostsd fixes | |||
2020-06-19 | pseudo-ethernet: T2589: fix for deleting interface(s) | Christian Poessinger | |
When deleting a peth interface the interface name was not added to the configuration dict, which lead to referencing non existent keys. | |||
2020-06-19 | console-server: T2490: add SSH support for direct device access | Christian Poessinger | |
2020-06-18 | console-server: T2490: rename CLI to console-server | Christian Poessinger | |
2020-06-18 | console-server: T2490: add SSH support | Christian Poessinger | |
A user can define a port under the SSH node per device. WHen connecting to that port and authenticating using regular credentials we will immediately drop to the serial console. This is the same as executing "connect serial-proxy <name>". | |||
2020-06-18 | console-server: T2490: log to journald | Christian Poessinger | |
2020-06-18 | console-server: T2490: move CLI parsing to get_config_dict() | Christian Poessinger | |
For more examples on the new get_config_dict() approach migrate this implementation as it is not yet in production use. Also this serves as proof of concept code for further migrations. | |||
2020-06-18 | console-server: T2490: add default CLI values | Christian Poessinger | |
2020-06-18 | console-server: T2490: rename CLI to "serial-proxy" | Christian Poessinger | |
2020-06-18 | console-server: T2490: use new USB ports "by-bus" | Christian Poessinger | |
2020-06-18 | console-server: T2490: initial support | Christian Poessinger | |
2020-06-17 | router-advert: T2609: remove debug pprint statement | Christian Poessinger | |
2020-06-17 | router-advert: T2185: migrate from SysVinit to systemd | Christian Poessinger | |
2020-06-17 | router-advert: T2609: add missing verify() for prefix lifetime | Christian Poessinger | |
radvd[31898]: AdvValidLifeTime must be greater than AdvPreferredLifetime in radvd.conf, line 19 This happens with the following configuration: vyos@vyos# show service router-advert interface eth0.20 { name-server 2001:4860:4860::8888 prefix ::/64 { valid-lifetime 7200 } } A validator is added to solve this issue and radvd will run again. | |||
2020-06-18 | T2610: fix default-lifetime typo | Shohei YOKOKAWA | |
2020-06-17 | login: radius: T2299: Implement RADIUS servers priority | DmitriyEshenko | |
2020-06-16 | Merge pull request #460 from DmitriyEshenko/1xl2tp16062020 | Christian Poessinger | |
l2tp: T2602: Delete excess characters | |||
2020-06-16 | snmp: T2321: use restart of start in systemctl | Christian Poessinger | |
For an unknown reason snmpd not always starts after reboot. | |||
2020-06-16 | syslog: T2604: remove unnecessary use of is_tag | John Estabrook | |
2020-06-16 | l2tp: T2602: Delete excess characters | DmitriyEshenko | |
2020-06-14 | console: T2569: bugfix removing entire console CLI tree | Christian Poessinger | |
2020-06-13 | snmp: T2321: add VRF support | Christian Poessinger | |
2020-06-13 | ntp: T2321: add VRF support | Christian Poessinger | |
2020-06-13 | ssh: T2321: always run "systemctl daemon-reload" | Christian Poessinger | |
2020-06-13 | ntp: T2321: remove superfluous verify() step on network addresses | Christian Poessinger | |
Only IP prefixes are allowed to be added by the CLI thus we can drop the same check inside the Python script to validate the prefix. | |||
2020-06-13 | ntp: T2321: use list over string when working with Config() | Christian Poessinger | |
2020-06-13 | ssh: T2321: fix invalid string/list assignment of default port | Christian Poessinger | |
Commit 5deb12c509be ("ssh: T2321: add VRF support") restructured the Port assignment (cleanup from the early days) but it accesses a string with methods used for a list, resulting in the funny default port 2. | |||
2020-06-11 | host_name: T2486: remove pdns-recursor restart | Jernej Jakob | |
It shouldn't be required, if necessary it should be added to vyos-hostsd apply command. | |||
2020-06-11 | host_name: T2486: configure vyos-hostsd | Jernej Jakob | |
Removes and adds all required settings. | |||
2020-06-11 | host_name: T2486: remove conf.exists calls | Jernej Jakob | |
The getter methods will return empty values if config nodes don't exist, so there's no point in checking if they exist before. | |||
2020-06-11 | host_name: T2486: move Config() call into main | Jernej Jakob | |
Init Config once in main() and pass it to both get_config() and verify(). |