X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fl3xc%2Ftest%2Ftest_l3xc.py;h=d7a82976cf57fa7196aca40d638d500e586f3146;hb=cbe25aab3be72154f2c706c39eeba6a77f34450f;hp=696e23507aca30c925d90869ffd3f9ebc29eddb7;hpb=a43c93f8554ad7418e31be3791b3fb71232f60ac;p=vpp.git diff --git a/src/plugins/l3xc/test/test_l3xc.py b/src/plugins/l3xc/test/test_l3xc.py index 696e23507ac..d7a82976cf5 100644 --- a/src/plugins/l3xc/test/test_l3xc.py +++ b/src/plugins/l3xc/test/test_l3xc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from socket import inet_pton, inet_ntop, AF_INET, AF_INET6 import unittest @@ -87,7 +87,6 @@ class TestL3xc(VppTestCase): for i in self.pg_interfaces: i.unconfig_ip4() i.unconfig_ip6() - i.ip6_disable() i.admin_down() super(TestL3xc, self).tearDown() @@ -132,7 +131,7 @@ class TestL3xc(VppTestCase): dst=self.pg0.local_mac) / IP(src="1.1.1.1", dst="1.1.1.2") / UDP(sport=1234, dport=1234) / - Raw('\xa5' * 100)) + Raw(b'\xa5' * 100)) # self.send_and_expect(self.pg0, p_1*NUM_PKTS, self.pg1) p_2 = [] @@ -141,7 +140,7 @@ class TestL3xc(VppTestCase): dst=self.pg0.local_mac) / IP(src="1.1.1.1", dst="1.1.1.2") / UDP(sport=1000 + ii, dport=1234) / - Raw('\xa5' * 100)) + Raw(b'\xa5' * 100)) self.send_and_expect_load_balancing(self.pg2, p_2, [self.pg3, self.pg4, self.pg5])