[P4-dev] P4-mininet caching?

Roshan sedar at oasis.uclouvain.be
Tue Nov 14 11:09:39 EST 2017

Hi Antonin,

thanks. It fixed the problem. I only had disabled ipv6 on mininet p4-hosts.

I thought that when I restart switches, switches could keep some sort of 

Like in OpenFlow+Mininet, controller instance could be cached, so need 
to perform "mn -c" every restart to clear the cache.

On 2017-11-13 22:33, Antonin Bas wrote:
> 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 
> <mailto: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 <mailto:P4-dev at lists.p4.org>
>     http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org
>     <http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org>
> -- 
> Antonin
> _______________________________________________
> P4-dev mailing list
> P4-dev at lists.p4.org
> http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20171114/8685ff07/attachment-0002.html>

More information about the P4-dev mailing list