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
commitbb3c030e25d208519d288f3b035036eaa8e175e2 (patch)
tree739eb5dc8da93efea45a228a5de633b6ac628388
parent7bb99b94d45e3fbb677dab74bdda7bd0d22391a9 (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());
}