[P4-dev] P4-mininet caching?

Antonin Bas antonin at barefootnetworks.com
Mon Nov 13 16:33:48 EST 2017


Hi Roshan,

I am not sure what you mean by caching. This just looks like IPv6 lldp
packets, etc being automatically generated by the Mininet hosts and
switches when they come up. It is a very well-known "issue".
Because bmv2 switches are run in the host network namespace this line is
not enough:
https://github.com/p4lang/behavioral-model/blob/master/mininet/p4_mininet.py#L36
You also need to disable IPv6 in your host machine (the system you are
running Mininet from). See https://github.com/mininet/mininet/issues/454.

On Sun, Nov 12, 2017 at 1:11 PM, Roshan <sedar at oasis.uclouvain.be> wrote:

> Hi,
>
> When I start mininet switches (p4-bmv2), they automatically start ingress
> control flow, start sending packets (nanomsg_client logs show it). Even
> before I start send/receive using p4-hosts. I delete all the files in /tmp
> before starts (and restarts) and I do sudo mn -c to make sure no caching
> stored.
>
> Is it possible to initialize metadata before send/receive trigger
> manually? Any help would be great.
>
>
> Thanks!
>
> Roshan.
>
>
> _______________________________________________
> P4-dev mailing list
> P4-dev at lists.p4.org
> http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org
>



-- 
Antonin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20171113/283ef981/attachment-0002.html>


More information about the P4-dev mailing list