[P4-dev] switch.p4 - how to ping
avinash.herle at barefootnetworks.com
Thu Apr 20 13:12:09 EDT 2017
Here are a few sample test scripts
<https://github.com/p4lang/switch/tree/master/tests/ntf-tests> available in
the p4lang switch <https://github.com/p4lang/switch> repo. Follow the
instructions to run switch ntf-tests. You can use the tests as reference to
create your own tests with different topologies as well.
On Thu, Apr 20, 2017 at 4:42 AM, Regis Martins <regisftm at gmail.com> wrote:
> Hiya fellas!
> I'm new with P4 and I'm trying to make a very simple scenario to work:
> My mission now is, from host 1, ping host 2. (but using switch.p4)
> I cloned, at first, the behavioral-model and the p4c-bm and ran the
> l2_switch, and after configuring the correct mc_mgrp, I could ping h1 to h2.
> Then, I cloned the switch (switch.p4), compiled it with no erros and tried
> to run it.
> It seems fine, but no ping.
> I also tried cloning the whole p4factory, same result.
> I can imagine that I'm missing a lot of information here. But, please, let
> me know what else is important and I will provide.
> Thanks first!
> *Regis Martins*
> P4-dev mailing list
> P4-dev at lists.p4.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-dev