[P4-dev] Generating packets using switch target
antonin at barefootnetworks.com
Fri May 19 12:47:18 EDT 2017
There is no packet generator in v1model.p4 or in bmv2 simple_switch, so you
cannot generate packets in the dataplane using these. This is outside of
the scope of the P4 spec and depends on the architecture you are using.
There have been talks of exposing a packet generator extern in the Portable
Switch Architecture (PSA), but I do not know if it will be part of the
initial PSA release. If you are using a P4 API that supports packet-in /
packet-out, you could inject these probes from the control-plane, which may
be sufficient for you.
On Fri, May 19, 2017 at 3:28 AM, Hassan Ali Khan <18100116 at lums.edu.pk>
> We are trying to implement HULA using P4 and need to generate probe
> packets using switch targets.We don't have any idea how to do that. If
> someone could help us, we would be grateful
> Hassan Ali Khan
> P4-dev mailing list
> P4-dev at lists.p4.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-dev