diff options
Diffstat (limited to 'test/vpp_udp_decap.py')
-rw-r--r-- | test/vpp_udp_decap.py | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/test/vpp_udp_decap.py b/test/vpp_udp_decap.py index 2bd03ce75c0..3231826f31b 100644 --- a/test/vpp_udp_decap.py +++ b/test/vpp_udp_decap.py @@ -8,19 +8,10 @@ from socket import inet_pton, inet_ntop, AF_INET, AF_INET6 class VppUdpDecap(VppObject): - - def __init__(self, - test, - is_ip4, - dst_port, - next_proto): + def __init__(self, test, is_ip4, dst_port, next_proto): self._test = test self.active = False - self.udp_decap = { - 'is_ip4': is_ip4, - 'port': dst_port, - 'next_proto': next_proto - } + self.udp_decap = {"is_ip4": is_ip4, "port": dst_port, "next_proto": next_proto} def add_vpp_config(self): self._test.vapi.udp_decap_add_del(True, self.udp_decap) |