Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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-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 | 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 | 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 | 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-04-29 | dhclient: T2393: switch to old configuration path to keep existing op-mode ↵ | Christian Poessinger | |
tolls intact | |||
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 | template: T2388: fix typo | John Estabrook | |
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 | template: T2388: move mkdir/chmod/chown within render() | Thomas Mangin | |
2020-04-26 | dhcp: T2379: fix dhcp stop | Thomas Mangin | |
2020-04-26 | util: T2226: a way to report noteworthy event | Thomas Mangin | |
debug.noteworthy can be used to record noteworhy event during the lifetime of the program. Should anything then cause the program to fail and cause an airbag report to the user, then this information will also be included. | |||
2020-04-26 | util: T2226: expected return code for cmd | Thomas Mangin | |
add an option to cmd() allowing to define a list of error codes which are expected when runnin the command. the default is only to expect zero (no error). | |||
2020-04-26 | util: T2226: better handle stderr | Thomas Mangin | |
Do not agreggate stderr with stdout. So if a command reports a message on stderr but does not report an error, it will not be send to the user to confuse him. Explicitely set encoding to utf-8, which does not change the code behaviour but simplify the code. | |||
2020-04-24 | log: T2377: do not modify log file if not 666 | Thomas Mangin | |
2020-04-23 | interfaces: T2362: add node to delete the default IPv6 link-local address | Jernej Jakob | |
2020-04-23 | interfaces: T2362: allow setting multiple 'ipv6 address eui64' | Jernej Jakob | |
2020-04-23 | interfaces: T2362: delete and re-add all EUI64 addresses if MAC has changed | Jernej Jakob | |
2020-04-23 | interfaces: T2362: add default IPv6 link-local address to make IPv6 work | Jernej Jakob | |
2020-04-23 | interfaces: vlan: T2362: add IPv6 EUI64 address to VLAN scripts | Jernej Jakob | |
2020-04-23 | interfaces: T2362: split set_ipv6_eui64_address into add and del functions | Jernej Jakob | |
2020-04-22 | http api: T2096: form of show/generate should be consistent with other cmds | John Estabrook | |
2020-04-22 | Merge pull request #360 from thomas-mangin/T2186-syslog | Christian Poessinger | |
airbag: T2186: generic syslog and better text | |||
2020-04-22 | Merge pull request #372 from thomas-mangin/T2354 | Christian Poessinger | |
tunnel: T2354: do not allow display as bridge option | |||
2020-04-22 | Merge pull request #370 from thomas-mangin/T2331 | Christian Poessinger | |
vrrp: T2331: fix show vrrp | |||
2020-04-21 | tunnel: T2354: do not allow display as bridge option | Thomas Mangin | |
2020-04-21 | vrrp: T2331: fix show vrrp | Thomas Mangin | |
2020-04-21 | vlan: T2361: delete VLAN but not ethernet | Thomas Mangin | |
2020-04-21 | Merge pull request #366 from thomas-mangin/T2350 | Christian Poessinger | |
geneve: T2350: fix creation of interface | |||
2020-04-21 | remote: T2270: correct use of username:password | John Estabrook | |
2020-04-21 | geneve: T2350: fix creation of interface | Thomas Mangin | |
2020-04-21 | tunnel: T2204: add source-interface | Thomas Mangin | |
2020-04-21 | macvlan: pseudo-ethernet: 2341: bugfix empty source-interface on system boot | Christian Poessinger | |
2020-04-20 | vyos.util: T2347: call will print output only if non-empty | John Estabrook | |
2020-04-20 | airbag: T2186: improve information reported | Thomas Mangin | |
2020-04-20 | airbag: T2186: generic syslog | Thomas Mangin | |
2020-04-19 | vyos.validate: remove extra print() in is_bridge_member() | Christian Poessinger | |