This patch series extends the ENRT test recipe set with additional
tunnel recipes.
The series also includes updates to VxlanDevice and a bug fix for Device
class required by VxlanGpeTunnelRecipe.
v2:
- added a patch that enables use of individual HWConfigMixins
- added config mixins to the tunnel recipe classes
Jan Tluka (14):
Recipes.ENRT.ConfigMixins: enable usage of individual HWConfigMixins
Recipes.ENRT: add GeneveLwtTunnelRecipe
Recipes.ENRT: add GreLwtTunnelRecipe
Recipes.ENRT: add VxlanLwtTunnelRecipe
Recipes.ENRT: add GreOvsTunnelRecipe
Recipes.ENRT: add GeneveOvsTunnelRecipe
Recipes.ENRT: add VxlanOvsTunnelRecipe
Recipes.ENRT: add GreTunnelOverVlanRecipe
Recipes.ENRT: add GreTunnelOverMacvlanRecipe
Recipes.ENRT: add VxlanNetnsTunnelRecipe
Devices.VxlanDevice: add gpe property
Devices.VxlanDevice: add learning property
Devices.Device: handle RTM_NEWLINK messages without any IFLA_ADDRESS
Recipes.ENRT: add VxlanGpeTunnelRecipe
docs/source/geneve_lwt_tunnel_recipe.rst | 6 +
docs/source/geneve_ovs_tunnel_recipe.rst | 6 +
docs/source/gre_lwt_tunnel_recipe.rst | 6 +
docs/source/gre_ovs_tunnel_recipe.rst | 6 +
.../source/gre_tunnel_over_macvlan_recipe.rst | 6 +
docs/source/gre_tunnel_over_vlan_recipe.rst | 6 +
docs/source/specific_scenarios.rst | 10 +
docs/source/vxlan_gpe_tunnel_recipe.rst | 6 +
docs/source/vxlan_lwt_tunnel_recipe.rst | 6 +
docs/source/vxlan_netns_tunnel_recipe.rst | 6 +
docs/source/vxlan_ovs_tunnel_recipe.rst | 6 +
lnst/Devices/Device.py | 5 +-
lnst/Devices/VxlanDevice.py | 19 ++
.../ENRT/ConfigMixins/BaseHWConfigMixin.py | 17 +-
.../ConfigMixins/CommonHWSubConfigMixin.py | 16 +-
lnst/Recipes/ENRT/GeneveLwtTunnelRecipe.py | 228 ++++++++++++++++
lnst/Recipes/ENRT/GeneveOvsTunnelRecipe.py | 166 ++++++++++++
lnst/Recipes/ENRT/GreLwtTunnelRecipe.py | 233 +++++++++++++++++
lnst/Recipes/ENRT/GreOvsTunnelRecipe.py | 174 +++++++++++++
.../ENRT/GreTunnelOverMacvlanRecipe.py | 211 +++++++++++++++
lnst/Recipes/ENRT/GreTunnelOverVlanRecipe.py | 212 +++++++++++++++
lnst/Recipes/ENRT/VxlanGpeTunnelRecipe.py | 227 ++++++++++++++++
lnst/Recipes/ENRT/VxlanLwtTunnelRecipe.py | 227 ++++++++++++++++
lnst/Recipes/ENRT/VxlanNetnsTunnelRecipe.py | 245 ++++++++++++++++++
lnst/Recipes/ENRT/VxlanOvsTunnelRecipe.py | 185 +++++++++++++
lnst/Recipes/ENRT/__init__.py | 10 +
26 files changed, 2228 insertions(+), 17 deletions(-)
create mode 100644 docs/source/geneve_lwt_tunnel_recipe.rst
create mode 100644 docs/source/geneve_ovs_tunnel_recipe.rst
create mode 100644 docs/source/gre_lwt_tunnel_recipe.rst
create mode 100644 docs/source/gre_ovs_tunnel_recipe.rst
create mode 100644 docs/source/gre_tunnel_over_macvlan_recipe.rst
create mode 100644 docs/source/gre_tunnel_over_vlan_recipe.rst
create mode 100644 docs/source/vxlan_gpe_tunnel_recipe.rst
create mode 100644 docs/source/vxlan_lwt_tunnel_recipe.rst
create mode 100644 docs/source/vxlan_netns_tunnel_recipe.rst
create mode 100644 docs/source/vxlan_ovs_tunnel_recipe.rst
create mode 100644 lnst/Recipes/ENRT/GeneveLwtTunnelRecipe.py
create mode 100644 lnst/Recipes/ENRT/GeneveOvsTunnelRecipe.py
create mode 100644 lnst/Recipes/ENRT/GreLwtTunnelRecipe.py
create mode 100644 lnst/Recipes/ENRT/GreOvsTunnelRecipe.py
create mode 100644 lnst/Recipes/ENRT/GreTunnelOverMacvlanRecipe.py
create mode 100644 lnst/Recipes/ENRT/GreTunnelOverVlanRecipe.py
create mode 100644 lnst/Recipes/ENRT/VxlanGpeTunnelRecipe.py
create mode 100644 lnst/Recipes/ENRT/VxlanLwtTunnelRecipe.py
create mode 100644 lnst/Recipes/ENRT/VxlanNetnsTunnelRecipe.py
create mode 100644 lnst/Recipes/ENRT/VxlanOvsTunnelRecipe.py
--
2.26.3