X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_abf.py;h=cff56c4d3092fbf00d1930f54dc4af06d4c848d3;hb=a279d9cf615bd60439085ba103125e6f2fa3b27c;hp=fb30fc3018ceb412062c89eddbf5d49cac18f356;hpb=e8fece85e2b6190a1ebdc05c10cd79e43f385918;p=vpp.git diff --git a/test/test_abf.py b/test/test_abf.py index fb30fc3018c..cff56c4d309 100644 --- a/test/test_abf.py +++ b/test/test_abf.py @@ -1,18 +1,18 @@ #!/usr/bin/env python +from socket import inet_pton, inet_ntop, AF_INET, AF_INET6 +import unittest + from framework import VppTestCase, VppTestRunner -from vpp_udp_encap import * from vpp_ip import DpoProto -from vpp_ip_route import VppIpRoute, VppRoutePath, VppIpTable +from vpp_ip_route import VppIpRoute, VppRoutePath, VppMplsLabel from scapy.packet import Raw -from scapy.layers.l2 import Ether, ARP +from scapy.layers.l2 import Ether from scapy.layers.inet import IP, UDP from scapy.layers.inet6 import IPv6 -from scapy.contrib.mpls import MPLS -from vpp_object import * -from socket import inet_pton, inet_ntop, AF_INET, AF_INET6 +from vpp_object import VppObject def find_abf_policy(test, id):