Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-04 | validate: T2241: add func that checks if an interface has a configured address | Jernej Jakob | |
2020-05-04 | vlan: T2241: make address and bridge membership mutually exclusive | Jernej Jakob | |
Bridge members should not have addresses assigned. | |||
2020-05-04 | configdict: T2241: don't add default IPv6 EUI64 if member of a bridge | Jernej Jakob | |
Bridge members should not have addresses assigned. | |||
2020-05-04 | vlan: T2241: fix falling out of bridge when changing settings | Jernej Jakob | |
Previously, set_vrf was always called, which uses the same master and nomaster commands as bridge, so it removed the interface from the bridge. - add checks to make VRF and bridge membership mutually exclusive - always re-add the interface back to any bridge it is part of in case it is deleted and recreated (e.g. changing egress/ingress-qos) | |||
2020-05-04 | interface: T2241: add function to add self to bridge | Jernej Jakob | |
Will be called by all interface scripts to re-add themselves to a bridge after deleting and recreating themselves. | |||
2020-05-04 | util: T2241: add get_bridge_member_config function | Jernej Jakob | |
Function that parses the config of a bridge member into a dict that is needed to apply all port config when adding a port to a bridge. Needed because other interfaces will be adding themselves to the bridge outside of the bridge conf_mode script and they need a common place to get their config. Can't be put as method of BridgeIf as we can't invoke it without it creating the bridge (create=False raises an exception), we need to get the configuration before we create the interface. | |||
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-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 | |