summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-07-06 08:52:14 +0200
committerMaros Marsalek <mmarsale@cisco.com>2016-07-13 09:44:30 +0000
commitf33e134ef09c074525df1e62f1f76f98e34bca38 (patch)
tree02751522fb00d843fc52b09e0a9d9ce5b8e7527a
parentcaddf5c3db4eab8adb358ff8138a2f193d310fd3 (diff)
Fix l2fib initializer
Change-Id: I2ae8bfd01e455dcdcb891db7653578943180e20b Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
-rw-r--r--v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/initializers/VppInitializer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/initializers/VppInitializer.java b/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/initializers/VppInitializer.java
index c9ecee3af..8c90c5051 100644
--- a/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/initializers/VppInitializer.java
+++ b/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/initializers/VppInitializer.java
@@ -90,7 +90,7 @@ public class VppInitializer extends AbstractDataTreeConverter<VppState, Vpp> {
.setL2FibEntry(
l2FibTable.getL2FibEntry().stream()
// Convert operational object to config. VPP does not support setting BVI (see v3po.yang)
- .map(oper -> new L2FibEntryBuilder().setBridgedVirtualInterface(null).build())
+ .map(oper -> new L2FibEntryBuilder(oper).setBridgedVirtualInterface(null).build())
.collect(Collectors.toList()));
builder.setL2FibTable(tableBuilder.build());
}