Hyunsun Moon
Committed by Gerrit Code Review

Check doNotFlushFlows flag in initilizeFlowRules

Change-Id: I7ce74d5194a1d20f55af11749f11f9983308bb71
......@@ -278,7 +278,9 @@ public class OpenstackSwitchingManager implements OpenstackSwitchingService {
.forEach(vmPort -> {
OpenstackPort osPort = rulePopulator.openstackPort(vmPort);
if (osPort != null) {
if (!doNotPushFlows) {
rulePopulator.populateSwitchingRules(device, vmPort);
}
registerDhcpInfo(osPort);
} else {
log.warn("No openstackPort information for port {}", vmPort);
......