Hi,

I'm trying to use vpp_papi to get the bridge ID of an interface, but I'm having 
no luck.
bridge_domain_sw_if_details() seems like the relevant function, however when I 
attempt to run it, I get:

Traceback (most recent call last):
  File "./bridge_details.py", line 8, in <module>
    t = vpp.bridge_domain_sw_if_details(sw_if_index=2, shg=0)
  File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 304, in 
<lambda>
  File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 546, in 
_call_vpp
  File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 394, in 
results_wait
IOError: [Errno 3] Waiting for reply timed out

bridge_domain_dump() works fine and I can see which interfaces use a given 
bridge, however that's a backwards solution as I need to provide the bridge ID 
in that case.

Any idea why my request times out with bridge_domain_sw_if_details?

For reference, in vppctl:

vpp# show bridge
  ID   Index   Learning   U-Forwrd   UU-Flood   Flooding   ARP-Term     BVI-Intf
  11     4        on         on         on         on         off          N/A

Thanks,
Lenny


_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to