p4lang / behavioral-model

The reference P4 software switch
Apache License 2.0
535 stars 328 forks source link

Issue of testing the gNMI support with simple_switch_grpc #1114

Closed MountainShan closed 2 years ago

MountainShan commented 2 years ago

Hi all, I am testing the gNMI support with simple_switch_grpc. The testbed is in the Mininet emulator with only one switch and one host. When I test the python script from the repo (gnmi_sub_once.py), it received "gRPC Error not implemented yet (UNIMPLEMENTED)". Here is my test script (It is the same code as gnmi_sub_once.py, but I updated the interface name only): image And here is the test result: image Is it gNMI supporting with simple_switch_grpc? Thanks

MountainShan commented 2 years ago

I already solved the issue by following the instructions from the PI repo (https://github.com/p4lang/PI/blob/main/proto/README.md).