tests: handle removed interface 65/35965/2
authorKlement Sekera <klement.sekera@gmail.com>
Thu, 14 Apr 2022 14:29:07 +0000 (16:29 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Tue, 3 May 2022 15:07:41 +0000 (15:07 +0000)
commit77c821ccc6b72d18a247e95816ac1013b4dc664d
tree06028c888750ca5181e5468443f2c5b3d8e05f14
parent2ca88ff97884ec9ed20a853b13cee6d86f9c9d0f
tests: handle removed interface

Catch exception if sw_if_index is invalid when querying interface
binding config. If the interface is not there, it's surely not bound to
any table ...

Type: improvement
Change-Id: I1f3e04a631653feb5c2350662b6a041adccefa1f
Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
test/vpp_ip_route.py
test/vpp_papi_exceptions.py [new file with mode: 0644]
test/vpp_papi_provider.py