opennetworkinglab / ngsdn-tutorial

Hands-on tutorial to learn the building blocks of the Next-Gen SDN architecture
https://www.opennetworking.org/ng-sdn/
Apache License 2.0
321 stars 187 forks source link

Exercise 1 problem (Insert P4Runtime table entries) #101

Closed sinaebrahimi closed 2 years ago

sinaebrahimi commented 2 years ago

Hi,

I had some issues while doing Exercise 1 (This section) image

I don't know if this is a stupid question. But I couldn't figure out (from the p4info.txt or the main.p4) which table name and action name I should use in this pseudo-command:

P4Runtime sh >>> te = table_entry["P4INFO-TABLE-NAME"](action = "")

Can anybody help me out?

(I assume there's no problem/issue in the repo/exercise, and this is me who is having trouble!)

sinaebrahimi commented 2 years ago

I should have done the action without <>! The guide was a little misleading in this case.

image