HC2VPP-391: Fix read of oper interface state 01/19901/3
authorMichal Cmarada <[email protected]>
Fri, 31 May 2019 09:18:36 +0000 (11:18 +0200)
committerMichal Cmarada <[email protected]>
Fri, 31 May 2019 09:18:36 +0000 (11:18 +0200)
commit27c59c4083cb300f528d63b3e3924c348dd090e0
tree396a02285e760b338c01cc41289be2dba35a665b
parent5a3e5fb8c3cc9ee6f2261d747bf9633b83108adf
HC2VPP-391: Fix read of oper interface state

Several interface types that have different name in vpp
than in the model didn't load their operational state.
Since vpp supports listing interface by its index too,
this fix changes the dump interface by name to dump by
index.

Change-Id: I6c2500d2caddad58b52aaee00ed2bff0fbd9f401
Signed-off-by: Michal Cmarada <[email protected]>
v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/read/cache/InterfaceCacheDumpManagerImpl.java
v3po/v3po2vpp/src/test/java/io/fd/hc2vpp/v3po/read/cache/InterfaceCacheDumpManagerImplTest.java