Skip to content

Replace scapy as the default choice in the PTF framework with alternative Apache-compatible #36

@fruffy

Description

@fruffy

Some context why this is desired: p4lang/ptf#120

Effectively, scapy has a GPL license, which is incompatible with the Apache 2.0 license P4 is using. Ideally, we should use a Apache-compatible packet sniffing framework as the default. The PTF framework has already been extended to provide support for different kind of packet frameworks. We just need to add one.

https://github.com/open-traffic-generator/snappi could be a viable alternative.

@chrispsommers how much of an drop-in replacement is snappi for scapy? What are the trade-offs? Do you know by any chance?

Metadata

Metadata

Assignees

No one assigned

    Labels

    mediumtaskA task that appears to require a medium level of work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions