"""
Custom setup of IPv4 forwarding with scalability of IP routes on all
DUT nodes in 2-node / 3-node circular topology.
:param count: Number of routes to configure.
:param pfs: Number of physical interfaces to configure.
"""
Custom setup of IPv4 forwarding with scalability of IP routes on all
DUT nodes in 2-node / 3-node circular topology.
:param count: Number of routes to configure.
:param pfs: Number of physical interfaces to configure.
- topology["DUT1"], f"{i}0.0.0.0", 32, gateway=f"1.{l}.1.1",
- interface=dut1_int1, count=count
+ topology["DUT1"], f"{i}0.0.0.0", route_prefix,
+ gateway=f"1.{l}.1.1", interface=dut1_int1, count=count
- topology["DUT1"], f"{i+1}0.0.0.0", 32, gateway=f"3.{l}.3.2",
- interface=dut1_int2, count=count
+ topology["DUT1"], f"{i+1}0.0.0.0", route_prefix,
+ gateway=f"3.{l}.3.2", interface=dut1_int2, count=count
- topology["DUT2"], f"{i}0.0.0.0", 32, gateway=f"3.{l}.3.1",
- interface=dut_int1, count=count
+ topology["DUT2"], f"{i}0.0.0.0", route_prefix,
+ gateway=f"3.{l}.3.1", interface=dut_int1, count=count
- topology[dut], f"{i+1}0.0.0.0", 32, gateway=f"2.{l}.2.1",
- interface=dut_int2, count=count
+ topology[dut], f"{i+1}0.0.0.0", route_prefix,
+ gateway=f"2.{l}.2.1", interface=dut_int2, count=count
"""
Custom setup of IPv6 forwarding with scalability of IP routes on all
DUT nodes in 2-node / 3-node circular topology.
:param count: Number of routes to configure.
:param pfs: Number of physical interfaces to configure.
"""
Custom setup of IPv6 forwarding with scalability of IP routes on all
DUT nodes in 2-node / 3-node circular topology.
:param count: Number of routes to configure.
:param pfs: Number of physical interfaces to configure.
- topology["DUT1"], f"2{i}00::0", 64,
+ topology["DUT1"], f"2{i}00::0", route_prefix,
- topology["DUT1"], f"2{i+1}00::0", 64,
+ topology["DUT1"], f"2{i+1}00::0", route_prefix,
- topology["DUT2"], f"2{i}00::0", 64,
+ topology["DUT2"], f"2{i}00::0", route_prefix,
- topology[dut], f"2{i+1}00::0", 64,
+ topology[dut], f"2{i+1}00::0", route_prefix,