26/04/2023 07:47, David Marchand: > On Wed, Apr 26, 2023 at 6:47 AM Cliff Burdick <shakl...@gmail.com> wrote: > > > > Does anyone know if a generic parser for flow strings exists anywhere? The > > one inside of testpmd is ideal, but unfortunately it's self-contained and > > not distributed as part of a normal DPDK install. This seems like something > > that is likely reinvented over and over and it would be useful if there was > > a single API to take in strings and generate flows. > > I heard this same question in the past, but I don't remember the answer. > Copying Thomas and Ori who might know.
I'm not sure how the testpmd code could help another application. And in general, if your application has a CLI, you need to integrate the flow commands in a broader context.