aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_cnat.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_cnat.py')
-rw-r--r--test/test_cnat.py18
1 files changed, 5 insertions, 13 deletions
diff --git a/test/test_cnat.py b/test/test_cnat.py
index a7f949db799..ff8e1ebbbbb 100644
--- a/test/test_cnat.py
+++ b/test/test_cnat.py
@@ -2,27 +2,19 @@
import unittest
-from framework import VppTestCase, VppTestRunner
-from vpp_ip import DpoProto, INVALID_INDEX
+from framework import VppTestCase
+from asfframework import VppTestRunner
+from vpp_ip import INVALID_INDEX
from itertools import product
from scapy.packet import Raw
from scapy.layers.l2 import Ether
from scapy.layers.inet import IP, UDP, TCP, ICMP
-from scapy.layers.inet import IPerror, TCPerror, UDPerror, ICMPerror
+from scapy.layers.inet import IPerror, TCPerror, UDPerror
from scapy.layers.inet6 import IPv6, IPerror6, ICMPv6DestUnreach
from scapy.layers.inet6 import ICMPv6EchoRequest, ICMPv6EchoReply
-import struct
-
-from ipaddress import (
- ip_address,
- ip_network,
- IPv4Address,
- IPv6Address,
- IPv4Network,
- IPv6Network,
-)
+from ipaddress import ip_network
from vpp_object import VppObject
from vpp_papi import VppEnum