p4lang / p4app

Apache License 2.0
112 stars 58 forks source link

RuntimeCmd: Error: Table has no action _drop() #92

Open raghu-d32 opened 1 year ago

raghu-d32 commented 1 year ago

Hi, We are experimenting with P4app and P4 programming. Even though the default action is set to _drop(), the packets won't be dropped and we get this in the console:

RuntimeCmd: Error: Table send_frame has no action _drop
RuntimeCmd: Error: Table forward has no action _drop
RuntimeCmd: Error: Table ipv4_lpm has no action _drop

Please let us know the right way to use _drop() and make it the default action. We are trying this in multiswitch.p4app.

image

Also, can someone please let us know where to find these CLI table_add, table_set, etc. commands in files (if they are stored somewhere) and change the required actions accordingly: image

Thanks in advance.