When a port is updated with allowed_address_pairs, a WARNING message is
logged in karaf eventhough the necessary ACL flows are programmed on
the port. This patch fixes this issue.
Warning logs seen in karaf:
Acl action UPDATE invoking listener org.opendaylight.netvirt.
aclservice.StatefulIngressAclServiceImpl failed
Change-Id: I5e3b20032ecd32b52d55995bad98253990e2858a
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
@Override
public boolean updateAcl(AclInterface portBefore, AclInterface portAfter) {
- boolean result = false;
+ boolean result = true;
boolean isPortSecurityEnable = portAfter.getPortSecurityEnabled();
boolean isPortSecurityEnableBefore = portBefore.getPortSecurityEnabled();
// if port security is changed, apply/remove Acls