Fixed issue with missing group flows in POC. No need to reset connection between
ovs switches and controller anymore.
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
ReadOnlyTransaction t = ctx.getDataBroker().newReadOnlyTransaction();
InstanceIdentifier<Node> niid = createNodePath(nodeId);
Optional<Node> r =
- t.read(LogicalDatastoreType.CONFIGURATION, niid).get();
+ t.read(LogicalDatastoreType.OPERATIONAL, niid).get();
if (!r.isPresent())
return;
FlowCapableNode fcn = r.get().getAugmentation(FlowCapableNode.class);
.build());
wrote = true;
wt.merge(LogicalDatastoreType.CONFIGURATION,
- giid, gb.build());
+ giid, gb.build(), true);
}
}
}