Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-04 | vlan: T2241: add checks for bridge membership | Jernej Jakob | |
2020-05-04 | intf_from_dict: T2241: move getting mac code so it's sorted alphabetically | Jernej Jakob | |
2020-05-04 | validate: T2241: rewrite is_bridge_member to generic is_member | Jernej Jakob | |
- rewrite the function to support both bridge and bonding interface types, if the type is passed it searches only that type, otherwise it searches both - move is_member check out of the deleted condition - move is_member check to intf_from_dict for interfaces that use it | |||
2020-05-04 | configdict: T2241: get interface name in intf/vlan_from_dict | Jernej Jakob | |
This is needed as later functions depend on it | |||
2020-05-04 | util: T2241: add func that gets interface name from current config level | Jernej Jakob | |
2020-05-04 | vlan: T2241: cleanup vlan_to_dict function | Jernej Jakob | |
Remove one unnecessary call to conf.get_level() | |||
2020-05-04 | Merge pull request #392 from DmitriyEshenko/ipoe-cur-fix01 | Christian Poessinger | |
ipoe: T2294: Fix nodes path | |||
2020-05-04 | ipoe: T2294: Fix nodes path | DmitriyEshenko | |
2020-05-03 | Merge pull request #390 from jjakob/add-del-addrs-optimise-T2367 | Christian Poessinger | |
interface: T2367: optimize flow and detriplicate add/del_addr functions | |||
2020-05-03 | interface: T2367: optimize flow and detriplicate add/del_addr functions | Jernej Jakob | |
- detriplicate list appending - detriplicate returns - use if-elif-else - move check if address is already added to beginning - move caching in variable to after address assignment so a failed assignment won't cache the address | |||
2020-05-03 | Merge pull request #352 from maplewf/current | Daniil Baturin | |
[T2311] name servers via cmdline can't take effect | |||
2020-05-02 | Merge pull request #389 from thomas-mangin/T2367 | Christian Poessinger | |
interface: T2367: code clarity | |||
2020-05-02 | interface: T2367: use self.ifname instead of self.config | Thomas Mangin | |
2020-05-02 | interface: T2367: de-imbricate the ifs | Thomas Mangin | |
2020-05-02 | Merge pull request #388 from jjakob/flush-addrs-T2367 | Christian Poessinger | |
T2367: flush addresses when adding bond/bridge members | |||
2020-05-02 | bridge: T2367: flush all addresses of member interfaces | Jernej Jakob | |
Any remaining addresses of an interface (e.g. IPv6 link-local) will be flushed when adding a member. A direct call to ip is necessary for interfaces not under the Interface class (e.g. vlan vif*) | |||
2020-05-02 | bonding: T2367: flush all addresses of member interfaces | Jernej Jakob | |
Any remaining addresses of an interface (e.g. IPv6 link-local) will be flushed when adding a member. A direct call to ip is necessary for interfaces not under the Interface class (e.g. vlan vif*) | |||
2020-05-02 | interface: T2367: add flush_addrs function | Jernej Jakob | |
Add function that flushes all addresses from an interface. | |||
2020-05-02 | interface: T2367: fix add_addr and del_addr address tracking in cache | Jernej Jakob | |
Correctly track addresses in cache _addr variable | |||
2020-05-02 | Merge pull request #387 from thomas-mangin/T2372 | Christian Poessinger | |
dictconfig: T2372: fix interfaces disable bug | |||
2020-05-02 | dictconfig: T2372: fix interfaces disable bug | Thomas Mangin | |
off-by one line where the IP were added to the add list and not the remove list | |||
2020-05-02 | Merge pull request #383 from thomas-mangin/T2372 | Christian Poessinger | |
disable :T2372: disable sub-interface if parent is | |||
2020-05-02 | peth: T2372: convert to use new configdict code | Thomas Mangin | |
use intf_to_dict and add_to_dict to correctly implement disable. keeping all interface code with VLAN the same. | |||
2020-05-02 | bonding: T2372: convert to use new configdict code | Thomas Mangin | |
use intf_to_dict and add_to_dict to correctly implement disable. keeping all interface code with VLAN the same. | |||
2020-05-02 | ethernet: T2372: deal with disabled parent intf | Thomas Mangin | |
use intf_to_dict and add_to_dict to correctly implement disable. | |||
2020-05-02 | configdict: T2372: correct disable support in vlan_to_dict | Thomas Mangin | |
implement disable_state which looks if the current node, or some designated parent node are set are 'disable' and thefore should be ignored. break down the function vlan_to_dict in it multiple components add_to_dict which can parse vif, vif-s, or vif-c and add them to the configuration dictionary intf_to_dict which setup a base configuration dictionary from the interface Config() with addresses, arp, disable, ... it is used by vlan_to_dict but can and will be used by other interfaces | |||
2020-05-02 | Merge pull request #385 from c-po/numeric-performance | Daniil Baturin | |
validators: numeric: T2414: improve runtime performance | |||
2020-05-02 | validators: numeric: T2414: improve runtime performance | Christian Poessinger | |
$ time for i in {1..1000}; do /usr/libexec/vyos/validators/numeric --range 1-9999 666; done real 0m56.933s user 0m48.045s sys 0m9.064s $ time for i in {1..1000}; do /usr/libexec/vyos/validators/numeric--range 1-9999 666; done real 0m44.552s user 0m37.760s sys 0m6.989s This is a performance improvement of 21%, running in an ESXi VM with Quad Intel(R) Xeon(R) CPU E5-2630L v3 @ 1.80GHz. | |||
2020-05-01 | op-mode: monitor: traceroute: T2411: add VRF awareness | Christian Poessinger | |
2020-05-01 | op-mode: traceroute: T2129: migrate to top level tagNode | Christian Poessinger | |
2020-04-30 | dhcpv6-server: T2406: add lease-time validator to XML | Christian Poessinger | |
2020-04-30 | dhcpv6-server: T2406: migrate from string to list when reading config | Christian Poessinger | |
2020-04-30 | dhcpv6-server: T2406: move FQDN quoting to Jinja2 template | Christian Poessinger | |
... no need to reinvent the wheel in our Python code. | |||
2020-04-30 | dhcpv6-server: T2406: merge sip-server-{address,name} to sip-server node | Christian Poessinger | |
The subnet specific nodes sip-server-address & sip-server-name do the same for the user - specify a SIP server. Only the backend is rendered in a different way, as ISC DHCPv6 expects different options. There is absolutely no need for the user to distinguish between both two nodes. | |||
2020-04-30 | dhcpv6-server: T2185: bugfix starting DHCPv6 server | Christian Poessinger | |
2020-04-29 | pppoe: template: T2388: fix unexpected keyword argument | Christian Poessinger | |
Commit 2bf12b579e0 ("template: T2388: move mkdir/chmod/chown within render()") passed an unexpected keyword to the render() function, it was simply wrongly spelled. | |||
2020-04-29 | dhclient: T2393: switch to old configuration path to keep existing op-mode ↵ | Christian Poessinger | |
tolls intact | |||
2020-04-29 | Merge branch 'systemd-dhclient' of github.com:c-po/vyos-1x into current | Christian Poessinger | |
* 'systemd-dhclient' of github.com:c-po/vyos-1x: dhclient: T2393: remove intermediate _DHCP helper class dhclient6: T2393: T2394: migrate from SysVinit to systemd dhclient: T2393: migrate from SysVinit to systemd | |||
2020-04-28 | dhclient: T2393: remove intermediate _DHCP helper class | Christian Poessinger | |
The intermedite class only held the path to the configuration files - thus its existence was doubtworthy. For better readability and a clean inheritance graph that class has been dropped. | |||
2020-04-28 | dhclient6: T2393: T2394: migrate from SysVinit to systemd | Christian Poessinger | |
2020-04-28 | dhclient: T2393: migrate from SysVinit to systemd | Christian Poessinger | |
2020-04-28 | vlan: T2372: de-indent add_vlan | Thomas Mangin | |
2020-04-27 | powerctl: T2010: bugfix "TypeError: 'NoneType' object is not subscriptable" | Christian Poessinger | |
Commit d6384b2 ("powerctl: T2010: report reboot time in current timezone") added a migrator from UTC to local timezone but reading in the base value up for conversion was done outside the proper if/else clause leading to a: TypeError: 'NoneType' object is not subscriptable | |||
2020-04-27 | template: T2388: fix typo | John Estabrook | |
2020-04-27 | Merge pull request #382 from DmitriyEshenko/fix-pppoe-sesctrl | Christian Poessinger | |
pppoe-server: T2391: Migrate single-session param to [common] section | |||
2020-04-27 | Merge pull request #381 from thomas-mangin/T2388 | Christian Poessinger | |
template: T2388: move mkdir/chmod/chown within render() | |||
2020-04-27 | Merge pull request #379 from thomas-mangin/T2226-improve | Christian Poessinger | |
util: T2226: multiple improvements | |||
2020-04-27 | Merge pull request #377 from L6NqLW/T1381 | Christian Poessinger | |
dhclient: T1381: Improved RFC3442 routes processing | |||
2020-04-27 | pppoe-server: T2391: Migrate single-session param to [common] section | DmitriyEshenko | |
2020-04-27 | template: T2388: move mkdir/chmod/chown within render() | Thomas Mangin | |