Table 246 flow was getting programmed from different thread than the other
flows. This was resulting in different remote group id cache sometimes.
Different cache details was the reason for not programming table 246 flows
all the time.
Table 246 flow programming is done alone with other flows in same thread
now to resolve this issue.
Change-Id: I93bacc68a63c924036c7649f3f5a0e09a872b298
Signed-off-by: Shashidhar Raja <shashidharr@altencalsoftlabs.com>
remoteAclId, portId);
return;
}
remoteAclId, portId);
return;
}
- jobCoordinator.enqueueJob(remoteAclId.getValue().intern(), () -> {
- List<FlowEntity> flowEntries = new ArrayList<>();
- syncRemoteAclTableFromOtherDpns(flowEntries, port, remoteAclId, addOrRemove);
- programFlows(AclConstants.ACL_JOB_KEY_PREFIX + remoteAclId.getValue(), flowEntries, addOrRemove);
- return Collections.emptyList();
- });
+ List<FlowEntity> flowEntries = new ArrayList<>();
+ syncRemoteAclTableFromOtherDpns(flowEntries, port, remoteAclId, addOrRemove);
+ programFlows(AclConstants.ACL_JOB_KEY_PREFIX + remoteAclId.getValue(), flowEntries, addOrRemove);