Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-28 | vyos.ifconfig: T1579: remove calls to vyos.ifconfig.Interface.get_config() | Christian Poessinger | |
Interface.get_config() was always a pure helper which exposed a "per interface type" dictionary which was then fed by the caller to create interfaces by iproute2 which required additional options during creation time. Such interfaces had been: * tunnel * vxlan * geneve * macsec * wifi * macvlan / pseudo-ethernet The code was always duplicated to convert from the VyOS CLI based get_config_dict() to a dict which can be used to feed iproute2. This path has been removed and we now always feed in the entire dictionary retrieved by get_config_dict() or in the interfaces case, it's high-level wrapper get_interface_dict() to the interface we wan't to create. This also adds the - personally long awaited - possibility to get rid of the derived tunnel classes for e.g. GRE, IPIP, IPIP6 and so on. | |||
2021-02-22 | tunnel: T3072: remove duplicate key from mapping dict used in apply() | Christian Poessinger | |
2021-02-02 | tunnel: T3030: Modify the command line to streamline configuration (support ↵ | jack9603301 | |
package type automatic detection) | |||
2021-01-21 | xml: T3239: override default mtu values and remove workarounds | John Estabrook | |
2021-01-15 | tunnel: T3173: path MTU discovery option should be valueless | Christian Poessinger | |
2021-01-10 | tunnel: T3173: Add nopmtudisc parameter for tunnels conf-mode | sever-sever | |
2021-01-07 | vyos.configverify: provide generic helper to check for interface existence | Christian Poessinger | |
2020-11-20 | tunnel: T3072: bugfix KeyError for IPv6 GRE verify code | Christian Poessinger | |
2020-11-20 | tunnel: T3072: support changing tunnel encapsulation on-the-fly | Christian Poessinger | |
2020-11-20 | tunnel: T3072: interfaces used for NHRP can not be deleted | Christian Poessinger | |
2020-11-20 | tunnel: T3072: migrate to get_config_dict() | Christian Poessinger | |
2020-11-13 | vyos.template: provide general is_ip(v4|v6) helpers | Christian Poessinger | |
We had two places were the is_ip, is_ipv4 and is_ipv6 helpers had been defined. All places now have been converged into vyos.template as they are used both in the Jinja2 templates and also in our scripts. | |||
2020-10-17 | ifconfig: T2985: support on demand bridge creation | Christian Poessinger | |
The current implementation for bridge based interfaces has an issue which is caused by priority inheritance. We always assumed that the bridge interface will be created last, but this may not be true in all cases, where some interfaces will be created "on demand" - e.g. OpenVPN or late (VXLAN, GENEVE). As we already have a bunch of verify steps in place we should not see a bridge interface leak to the underlaying infrastructure code. This means, whenever an interface will be member of a bridge, and the bridge does yet not exist, we will create it in advance in the interface context, as the bridge code will be run in the same commit but maybe sooner or later. This will also be the solution for T2924. | |||
2020-09-22 | ifconfig: T2653: move is_member() from vyos.vylidate to vyos.configdict | Christian Poessinger | |
2020-08-31 | configd: T2582: add scripts to include list for daemon | John Estabrook | |
2020-06-29 | tunnel: T2649: ConfigurationState, do not inherit from Config | Thomas Mangin | |
2020-06-23 | tunnel: T2633: add support for ip (arp) commands | Thomas Mangin | |
2020-05-29 | airbag: T2088: explicit enabling of the feature | Thomas Mangin | |
airbag must now be explicitly installed. the patch also allow to fully disables the installation of the logging code at setup (and not just installing and doing nothing) | |||
2020-05-18 | flake8: T2475: fix a number of issue reported by flake8 | Thomas Mangin | |
2020-05-12 | T2449: Fixing key to appropriate one | kroy-the-rabbit | |
2020-05-12 | tunnel: T2449: bugfix KeyError 'address' | Christian Poessinger | |
Commit 9e5c6a935e2f55 ("tunnel: T2449: set accept_ra=2 if ipv6 address autoconf or dhcpv6 is set") referenced wrong key in dict. | |||
2020-05-11 | tunnel: T2449: set accept_ra=2 if ipv6 address autoconf or dhcpv6 is set | Jernej Jakob | |
To make SLAAC and DHCPv6 work when forwarding=1, accept_ra must be 2 (default for accept_ra is 1). | |||
2020-05-04 | tunnel: T2241: cleanup verify section | Jernej Jakob | |
- make error output more user friendly - replace .format with f-strings - split into lines less than ~80 characters long | |||
2020-05-04 | tunnel: 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 | |||
2020-05-04 | tunnel: T2241: make address and bridge membership mutually exclusive | Jernej Jakob | |
Bridge members should not have any addresses assigned. | |||
2020-05-04 | tunnel: T2241: make VRF and bridge membership mutually exclusive | 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-04-23 | tunnel: 2374: fix use of disable | Thomas Mangin | |
2020-04-21 | tunnel: T2204: add source-interface | Thomas Mangin | |
2020-04-20 | bridge: T2320: fix to tunnel | Thomas Mangin | |
2020-04-20 | bridge: T2320: add to tunnel | Thomas Mangin | |
2020-04-15 | tunnel: T31: check that the assigned VRF exists | Thomas Mangin | |
2020-04-12 | tunnel: T2028: fix issue when booting without gre remote | Thomas Mangin | |
2020-04-11 | dhcp: T2265: refactor DHCP class | Thomas Mangin | |
Break the code between v4 and v6, remove need for getter/setter as they are just exposing the underlying dict. Move FixedDict from tunnel code and expose it to other part so it can be used to prevent accidental change to the dhcp option if no default exists already. | |||
2020-04-09 | Revert "tunnel: T2028: prevent single 'remote' keyword" | Christian Poessinger | |
This reverts commit 37973a13bbc168c09e5f4d1e606f91fd7ffbb41a. | |||
2020-04-09 | Merge pull request #317 from thomas-mangin/T2028-remote | Christian Poessinger | |
tunnel: T2028: fix remote and registration | |||
2020-04-08 | tunnel: T2028: prevent single 'remote' keyword | Thomas Mangin | |
When the remote keywrod is ommited, the default value of '' is still set, therefore the ip command will include it. Remote is now removed if unset. | |||
2020-04-08 | Merge pull request #313 from DmitriyEshenko/dmvpn-fix1 | Christian Poessinger | |
tunnel: T2236: Add additional check for type change | |||
2020-04-08 | tunnel: T2236: Add additional check for type change | DmitriyEshenko | |
2020-04-08 | tunnel: T2028: document the classes created | Thomas Mangin | |
2020-04-03 | ipv6: T1831: add autoconf/eui64 addressing to interfaces | Christian Poessinger | |
2020-03-28 | ifconfig: T2057: explicity name state functions | Thomas Mangin | |
The Interface get_state/set_state were not clear about if they edited the admin or operational state. functions are now using admin_state and oper_state for clarity. | |||
2020-03-23 | Merge pull request #258 from thomas-mangin/31-vrf | Christian Poessinger | |
tunnel: T31: fix vrf deletion, add support for vrf on tunnels | |||
2020-03-23 | tunnel: T31: add support for vrf on tunnels | Thomas Mangin | |
2020-03-23 | tunnel: T2028: fix wrongly block interface change | Thomas Mangin | |
2020-03-22 | tunnel: T2028: move interface tunnel to XML/Python | Thomas Mangin | |
This patch migrates the "interface tunnel" section to xml/python |