[P4-dev] P4 CLI for P4_2016
grigorg at clarkson.edu
Tue Aug 29 10:29:52 EDT 2017
Thank you, it worked!
I ran these commands:
* p4c-bm2-ss -o ipv4_forward.json ipv4_forward.p4
* sudo ~/p4lang/tutorials/examples/veth_setup.sh
* sudo simple_switch --log-console --dump-packet-data 64 -i 0 at veth0 -i
1 at veth2 ipv4_forward.json
Now, how can I run mininet on this simple_switch using *.json file
describing the topology?
On Mon, Aug 28, 2017 at 10:14 PM, Nate Foster <jnfoster at cs.cornell.edu>
> And if you forget the precise incantations (as I always do), typing "help"
> at the "RuntimeCmd:" prompt will list all commands and "help <cmd>" will
> give you details on each command.
> On Mon, Aug 28, 2017 at 8:51 PM, Vladimir Gurevich <vladimir.gurevich@
> barefootnetworks.com> wrote:
>> Hello Garegin,
>> For general guidance on running the model and the CLI I would recommend
>> looking at the P4 Tutorial Presentation http://p4.org/wp-content/uplo
>> ads/2017/05/p4_d2_2017_p4_16_tutorial.pdf, specifically slides 81-88.
>> Happy hacking,
>> On Mon, Aug 28, 2017 at 4:42 PM, Garegin Grigoryan <grigorg at clarkson.edu>
>>> I am playing with p4 code from this tutorial: https://github.com/p
>>> How can I run P4 CLI while the P4 program is in operation? I want to run
>>> the following commands in the CLI while the switch is operating:
>>> - table_add ipv4_lpm <action name> <match fields> => <action
>>> parameters> [priority]
>>> - table_delete ipv4_lpm <entry handle>
>>> - table_dump ipv4_lpm.
>>> I am sorry if the question has been answered before, I couldn't find it
>>> in my emails.
>>> Garegin Grigoryan
>>> P4-dev mailing list
>>> P4-dev at lists.p4.org
>> *Vladimir Gurevich*
>> *Barefoot Networks*
>> *Technical Lead, Customer Engineering*
>> Email: vag at barefootnetworks.com
>> Phone: (408) 833-4505
>> P4-dev mailing list
>> P4-dev at lists.p4.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-dev