diff options
| author | Nataliia Solomko <natalirs1985@gmail.com> | 2026-03-02 11:42:17 +0200 |
|---|---|---|
| committer | Nataliia Solomko <natalirs1985@gmail.com> | 2026-03-02 19:27:55 +0200 |
| commit | 99f617c88e57453315ee97cba88d3de1a24a5f01 (patch) | |
| tree | 9101e996fd134a83cb2708e104bcdd7a85caa197 /src/migration-scripts | |
| parent | c5c5021aed8ac1baaaf0896193e1c89f125c2103 (diff) | |
| download | vyos-1x-99f617c88e57453315ee97cba88d3de1a24a5f01.tar.gz vyos-1x-99f617c88e57453315ee97cba88d3de1a24a5f01.zip | |
vpp: T8327: Remove support for GRE "point-to-multipoint" mode
Disabled "point-to-multipoint" mode for GRE interfaces, along with related "mode" node.
This mode relies on the 'teib' feature, which is not implemented yet.
Diffstat (limited to 'src/migration-scripts')
| -rw-r--r-- | src/migration-scripts/vpp/5-to-6 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/migration-scripts/vpp/5-to-6 b/src/migration-scripts/vpp/5-to-6 index ed043de03..03c20d970 100644 --- a/src/migration-scripts/vpp/5-to-6 +++ b/src/migration-scripts/vpp/5-to-6 @@ -45,7 +45,7 @@ # # Migrate loopback interface from vpp section to 'interfaces vpp loopback' (T8324) # -# Migrate gre interface to 'interfaces vpp gre' (T8325) +# Migrate gre interface to 'interfaces vpp gre', remove interfaces with mode "point-to-multipoint" (T8325) # from vyos.configtree import ConfigTree @@ -476,6 +476,12 @@ def _migrate_vpp_gre_interface(config: ConfigTree) -> None: config.set(new_base) for ifname in config.list_nodes(base): + if config.exists(base + [ifname, 'mode']): + if config.return_value(base + [ifname, 'mode']) == 'point-to-multipoint': + config.delete(base + [ifname]) + continue + config.delete(base + [ifname, 'mode']) + _migrate_interface(config, 'gre', ifname) _migrate_members_bridge(config, ifname) |
