tests: output raw packet data when decoding pcap files 67/41267/3
authorDave Wallace <[email protected]>
Tue, 16 Jul 2024 16:36:38 +0000 (12:36 -0400)
committerDamjan Marion <[email protected]>
Thu, 18 Jul 2024 14:45:49 +0000 (14:45 +0000)
Type: test

Change-Id: I4e945b2bd067466afdaa58a6f07a1ab2c567bc2b
Signed-off-by: Dave Wallace <[email protected]>
test/vpp_pg_interface.py

index cdb91ed..1e02801 100644 (file)
@@ -187,7 +187,7 @@ class VppPGInterface(VppInterface):
         self.test.logger.debug(
             f"Generating testcase pg streams decode file: {pg_decode}"
         )
-        ts_opts = "-Vr"
+        ts_opts = "-Vxr"
         for p in sorted(Path(pcap_dir).glob(f"{filename_prefix}*.pcap")):
             self.test.logger.debug(f"Decoding {p}")
             with open(f"{pg_decode}", "a", buffering=1) as f: