[P4-dev] extern module
mbudiu at vmware.com
Fri Oct 20 11:35:19 EDT 2017
This depends on the particular target and compiler you are using.
For example, if your target is an ASIC then you probably cannot extend the functionality; each extern describes an existing hardware unit.
I believe that the software switch simulator BMv2 and its associated compiler p4c-bm2-ss allows this capability.
From: P4-dev [mailto:p4-dev-bounces at lists.p4.org] On Behalf Of mostafa ammar
Sent: Friday, October 20, 2017 1:38 AM
To: p4-dev <p4-dev at lists.p4.org>
Subject: [P4-dev] extern module
I want to implement an extern module for payload matching to be integrated to the switch . I revised the P4 specs for P4 14 and P4 16 I understood that extern modules may be written in other language and can integrate with P4 but this will be added and explained in a future work.
IS that correct or I can create a pattern matching block using python that can integrate with P4 switch to take input the packet and send signal to switch to block malicious packets.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-dev