p4runtime-shell
p4runtime-shell copied to clipboard
An interactive Python shell for P4Runtime
I insert a entry into table successfully, And I want to get entry info :  but I get the follow errors:  I don't know where the problem is...
I built the docker image and tried to run `p4runtime-shell` with the provided python script `p4runtime-sh-docker`. The script generates the following error and does not start `p4runtime-shell`. ``` Traceback (most...
Hi I am trying to run the commands in their order in [https://github.com/p4lang/p4pi/wiki/Example-%231---Simple-L2-switch-(default-program)](url) and I have met this error Launching P4Runtime-shell... CRITICAL:root:StreamChannel error, closing stream CRITICAL:root:P4Runtime RPC error (UNAVAILABLE): failed...
The pip package available via "pip install" still has old code. Please create a mechanism via PR build or periodically to update the packages in the pip repository.
Currently, the shell does not allow to construct and send wildcard reads for all tables (`table_id = 0`, [spec](https://s3-us-west-2.amazonaws.com/p4runtime/docs/master/P4Runtime-Spec.html#sec-table-wildcard-reads)). Examples: ```python P4Runtime sh >>> te = TableEntry() Please provide name...
hello, I pull the docker from dockerhub `docker pull p4lang/p4runtime-sh`, and run with the instruction of [P4-OVS](https://github.com/osinstom/P4-OvS/blob/p4/Documentation/topics/p4/getting-started.md#demo-2---run-p4-ovs-with-dynamically-configured-p4-program-via-p4runtime) ```shell > ./p4runtime-sh-docker --grpc-addr 172.17.0.1:50051 --device-id 0 --config demo.p4info.txt,demo.o CRITICAL:root:StreamChannel error, closing stream...
Hi everyone, I have some issues when trying to run the p4runtime shell, as shown in the following figure:  I have used the following command: _sudo ./p4runtime-sh-docker --grpc-addr 0.0.0.0:50001...
Not sure if it is an issue, but I how do I read a register value outside the p4 program? Is it possible to do it from the p4runtime?
`p4runtime-shell` does not require exact versions of other Python packages to work. `setup.py` should only contain actual version requirements, which (if any) are likely minimum versions that provide an API...
 The scenario I want to achieve is: execute p4runtime-shell in the ubuntu virtual machine to achieve normal communication with the P4 commercial switch (the switch has been installed...