amorenoz / ovs-dbg

Scripts to help debug OVS and OVN
Apache License 2.0
22 stars 8 forks source link

ovs-offline: vhost ports not working #101

Closed amorenoz closed 2 years ago

amorenoz commented 2 years ago

Vhost ports are shown as errored:

        Port vhua1332400-06                                                                                                                                                                                          
            Interface vhua1332400-06                                                                                                                                                                                 
                type: dpdkvhostuserclient                                                                                                                                                                            
                options: {vhost-server-path="/var/lib/vhost_sockets/vhua1332400-06"}                                                                                                                                 
                error: "could not open network device vhua1332400-06 (Address family not supported by protocol)"   

And they re not part of the ofproto bridge:

 ovs-appctl ofproto/trace br-int 'in_port="vhubba4c399-f7",dl_src=fa:16:3e:e1:84:3e,dl_dst=fa:16:3e:87:22:3c,ip_src=192.168.2.177,ip_dst=192.168.2.186,icmp'                                                
Bad openflow flow syntax: in_port="vhubba4c399-f7",dl_src=fa:16:3e:e1:84:3e,dl_dst=fa:16:3e:87:22:3c,ip_src=192.168.2.177,ip_dst=192.168.2.186,icmp: bad value for in_port ("vhubba4c399-f7": invalid or unknown port
 for in_port)