[P4-dev] Reg: Execution Error P4 program
antonin at barefootnetworks.com
Tue Mar 22 21:08:30 EDT 2016
This is because you are using the simple_router target, instead of the
simple_switch target. The simple_router target was added as an example and
includes only one pipeline (i.e. no "egress"), no multicast capabilities
and fewer primitive actions.
simple_switch is the "official" target and ill support most P4 programs
On Tue, Mar 22, 2016 at 6:27 AM, Mohan Krishna <mohankrishna290787 at gmail.com
> I am getting this particular issue during the time of execution, when i
> try to use primitive actions such such as add_header, remove_header, add
> etc. I have compiled the code for bmv2.
> modify_field, add_to_field and other existing
> root at p4:/opt/p4/bmv2/targets/simple_router# ./simple_router --log-console
> -i 0 at veth0 -i 1 at veth2 -i 2 at veth4 -i 3 at veth6 -i 4 at veth8 -i 5 at veth10 -i
> 6 at veth12 -i 7 at veth14 -i 8 at veth16 -i 64 at veth250 --thrift-port 9091 --pcap
> $* --nanolog ipc:///tmp/bmv2-1-notifications.ipc simple_router.json
> *Unknown primitive action: add*
> Seems strange, and might be trivial. Can anyone please suggest what could
> be wrong ?
> Thanks & Regards,
> P4-dev mailing list
> P4-dev at lists.p4.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-dev