diff options
author | Maros Marsalek <mmarsale@cisco.com> | 2016-07-04 16:55:22 +0200 |
---|---|---|
committer | Maros Marsalek <mmarsale@cisco.com> | 2016-07-13 11:43:31 +0200 |
commit | 7bb99b94d45e3fbb677dab74bdda7bd0d22391a9 (patch) | |
tree | 124077b880b1ec2f6b4adc07be65228332cabf13 /v3po/v3po2vpp/src/main/java/io | |
parent | 40da600c311b18c628410af5f795c25c6e248cf6 (diff) |
HONEYCOMB-81 Fix v3po2vpp writer order
Now fully persisted configuration can be restored when VPP and HC restart
Change-Id: I6ad146da004044f643925208f8951e8eb8e87627
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/v3po2vpp/src/main/java/io')
-rw-r--r-- | v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/vppstate/L2FibEntryCustomizer.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/vppstate/L2FibEntryCustomizer.java b/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/vppstate/L2FibEntryCustomizer.java index 93cc9e448..dcd9c7341 100644 --- a/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/vppstate/L2FibEntryCustomizer.java +++ b/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/vppstate/L2FibEntryCustomizer.java @@ -133,8 +133,9 @@ public final class L2FibEntryCustomizer extends FutureJVppCustomizer LOG.debug("Reading L2 FIB for bridge domain {} (bdId={})", bridgeDomainKey, bdId); try { return dumpL2Fibs(id, bdId).stream() - .map(entry -> new L2FibEntryKey(new PhysAddress(vppPhysAddrToYang(Longs.toByteArray(entry.mac), 2))) - ).collect(Collectors.toList()); + .map(entry -> new L2FibEntryKey( + new PhysAddress(vppPhysAddrToYang(Longs.toByteArray(entry.mac), 2)))) + .collect(Collectors.toList()); } catch (VppBaseCallException e) { throw new ReadFailedException(id, e); } |