X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fvpp_udp_decap.py;h=3231826f31b1f799c46ee7ab2cc43b7a22bb45ae;hb=d9b0c6fbf7aa5bd9af84264105b39c82028a4a29;hp=2bd03ce75c0c03e8d8e80af35305742fa3e36666;hpb=f90348bcb4afd0af2611cefc43b17ef3042b511c;p=vpp.git 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)