p4runtime-shell
p4runtime-shell copied to clipboard
Can't do a wildcard read for all tables
Currently, the shell does not allow to construct and send wildcard reads for all tables (table_id = 0, spec).
Examples:
P4Runtime sh >>> te = TableEntry()
Please provide name for table
P4Runtime sh >>> te = table_entry[""]
table '' does not exist
P4Runtime sh >>> te = table_entry[]
File "<ipython-input-11-f60488650eb6>", line 1
te = table_entry[]
^
SyntaxError: invalid syntax
Hi,
to list all the tables type tables within the shell.

Once you have all the tables listed, you can run a te.info() command for the table you're interested in.
Edit: I may have misinterpreted your issue.