Skip to content

Commit

Permalink
selftests: mlxsw: vxlan: Make the test more flexible for future use
Browse files Browse the repository at this point in the history
vxlan.sh cases are dedicated to test VxLAN with IPv4 underlay.
The main changes to test IPv6 underlay are IP addresses and some flags.

Add variables to define all the values which supposed to be different
for IPv6 testing, set them to use the existing values by default.

The next patch will define the new added variables in a separated file,
so the same tests can be used for IPv6 also.

Rename some functions to include "ipv4", so the next patch will add
equivalent functions for IPv6.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Amit Cohen authored and David S. Miller committed Dec 23, 2021
1 parent 30be455 commit 8e059d6
Showing 1 changed file with 125 additions and 99 deletions.
Loading

0 comments on commit 8e059d6

Please sign in to comment.