@classmethod
def create_gtpu_flood_test_bd(cls, teid, n_ucast_tunnels):
    ip_range_start = 10
    ip_range_end = (ip_range_start + n_ucast_tunnels)
    next_hop_address = cls.pg0.remote_ip4
    for dest_ip4 in ip4_range(next_hop_address, ip_range_start, ip_range_end):
        rip = VppIpRoute(cls, dest_ip4, 32, [VppRoutePath(next_hop_address, INVALID_INDEX)], register=False)
        rip.add_vpp_config()
        r = cls.vapi.gtpu_add_del_tunnel(is_add=True, mcast_sw_if_index=4294967295, decap_next_index=4294967295, src_address=cls.pg0.local_ip4, dst_address=dest_ip4, teid=teid)
        cls.vapi.sw_interface_set_l2_bridge(rx_sw_if_index=r.sw_if_index, bd_id=teid)
@classmethod
def create_gtpu_flood_test_bd(cls, teid, n_ucast_tunnels):
    ip_range_start = 10
    ip_range_end = (ip_range_start + n_ucast_tunnels)
    next_hop_address = cls.pg0.remote_ip4
    for dest_ip4 in ip4_range(next_hop_address, ip_range_start, ip_range_end):
        rip = VppIpRoute(cls, dest_ip4, 32, [VppRoutePath(next_hop_address, INVALID_INDEX)], register=False)
        rip.add_vpp_config()
        r = cls.vapi.gtpu_add_del_tunnel(is_add=True, mcast_sw_if_index=4294967295, decap_next_index=4294967295, src_address=cls.pg0.local_ip4, dst_address=dest_ip4, teid=teid)
        cls.vapi.sw_interface_set_l2_bridge(rx_sw_if_index=r.sw_if_index, bd_id=teid)