diff options
author | Maros Marsalek <mmarsale@cisco.com> | 2016-02-18 17:20:44 +0100 |
---|---|---|
committer | Maros Marsalek <mmarsale@cisco.com> | 2016-02-18 17:21:43 +0100 |
commit | 7ed7491932e1181f6781883b5da1aabe799a87bb (patch) | |
tree | e56224901bc11d4ec84ad3a9cfa6dec62b105bc0 | |
parent | 73353537994c067cd6eea24545efc53df08b4a1a (diff) |
Fix - creating parent node at VPP
Change-Id: Ib32d8b344fd3a8d2a14f31e9e6fad6099b0e731e
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
-rw-r--r-- | vbd/impl/src/main/java/io/fd/honeycomb/vbd/impl/VppModifier.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vbd/impl/src/main/java/io/fd/honeycomb/vbd/impl/VppModifier.java b/vbd/impl/src/main/java/io/fd/honeycomb/vbd/impl/VppModifier.java index 3378e6817..00cd3012b 100644 --- a/vbd/impl/src/main/java/io/fd/honeycomb/vbd/impl/VppModifier.java +++ b/vbd/impl/src/main/java/io/fd/honeycomb/vbd/impl/VppModifier.java @@ -212,7 +212,7 @@ public class VppModifier { InstanceIdentifier<L2> iiToV3poL2 = iiToVpp.augmentation(VppInterfaceAugmentation.class).child(L2.class); LOG.debug("Writing L2 data to configuration DS to concrete interface."); final WriteTransaction wTx = vppDataBroker.newWriteOnlyTransaction(); - wTx.put(LogicalDatastoreType.CONFIGURATION, iiToV3poL2, prepareL2Data()); + wTx.put(LogicalDatastoreType.CONFIGURATION, iiToV3poL2, prepareL2Data(), true); wTx.submit(); } } @@ -221,7 +221,7 @@ public class VppModifier { final DataBroker vppDataBroker = VbdUtil.resolveDataBrokerForMountPoint(iiToVpp, mountService); if (vppDataBroker != null) { final WriteTransaction wTx = vppDataBroker.newWriteOnlyTransaction(); - wTx.put(LogicalDatastoreType.CONFIGURATION, iiBridgeDomainOnVPP, prepareNewBridgeDomainData()); + wTx.put(LogicalDatastoreType.CONFIGURATION, iiBridgeDomainOnVPP, prepareNewBridgeDomainData(), true); return wTx.submit(); } return Futures.immediateFailedFuture(new IllegalStateException("Data broker for vpp is missing")); |