osinstom/P4-OvS

Some questions about P4-OVS

Opened this issue · 1 comments

  • Each time I add a new bridge and a new port through ovs-vsctl, the command acts like waiting for something and it never stop. However, the bridge(port) is added seemingly. This question is similar to Originally posted by @fatihusta in #4 (comment)
root@P4-OVS-1 ~/P/demo# ovs-vsctl add-port br0 ovsp4-p1 -- set Interface ovsp4-p0 ofport_request=1

Ctrl C

2021-05-03T08:44:54Z|00002|fatal_signal|WARN|terminating with signal 2 (Interrupt)
root@P4-OVS-1 ~/P/demo# ovs-vsctl show
7aaba263-85b9-4ee8-add8-1c788b9935fb
    Manager "ptcp:5000"
    Bridge br0
        p4: true
        datapath_type: ubpf
        Port br0
            Interface br0
                type: internal
        Port ovsp4-p0
            Interface ovsp4-p0
        Port ovsp4-p1
            Interface ovsp4-p1

  • After Compiling with P4-OVS with all the dependencies, I have started to run the demos provided by this repo. However, I met the error shown below. Did I miss some steps before running the demos?
root@P4-OVS-1 ~/P/demo# ../../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
CRITICAL:root:P4Runtime RPC error (UNAVAILABLE): failed to connect to all addresses
CRITICAL:root:Failed to establish session with server
  • When I use ovs-p4ctl, I met the error shown below.
root@P4-OVS-1 ~/P/demo# ovs-p4ctl show
Traceback (most recent call last):
  File "/usr/local/bin/ovs-p4ctl", line 37, in <module>
    from google.rpc import status_pb2, code_pb2
ModuleNotFoundError: No module named 'google.rpc'

same issues