return False
def set_unnumbered(self, ip_sw_if_index, is_add=True):
- res = self._test.vapi.sw_interface_set_unnumbered(
- self.east, ip_sw_if_index, is_add)
- res = self._test.vapi.sw_interface_set_unnumbered(
- self.west, ip_sw_if_index, is_add)
+ res = self._test.vapi.sw_interface_set_unnumbered(ip_sw_if_index,
+ self.east, is_add)
+ res = self._test.vapi.sw_interface_set_unnumbered(ip_sw_if_index,
+ self.west, is_add)
class TestPipe(VppTestCase):
self.pg1.sw_if_index,
enable=1)
- # test bi-drectional L2 flow pg0<->pg1
+ # test bi-directional L2 flow pg0<->pg1
p = (Ether(src=self.pg0.remote_mac,
dst=self.pg1.remote_mac) /
IP(src="1.1.1.1",