- t.put(LogicalDatastoreType.CONFIGURATION, intfId, entryBuilder.build(), true);
+ BatchingUtils.write(intfId, entryBuilder.build(), BatchingUtils.EntityType.DEFAULT_CONFIG);
+ }
+
+ public static void deleteInterfaceChildEntry(String parentInterface, String childInterface) {
+ InterfaceParentEntryKey interfaceParentEntryKey = new InterfaceParentEntryKey(parentInterface);
+ InterfaceChildEntryKey interfaceChildEntryKey = new InterfaceChildEntryKey(childInterface);
+ InstanceIdentifier<InterfaceChildEntry> intfId = InterfaceMetaUtils
+ .getInterfaceChildEntryIdentifier(interfaceParentEntryKey, interfaceChildEntryKey);
+ BatchingUtils.delete(intfId, BatchingUtils.EntityType.DEFAULT_CONFIG);