ACL: Handle AAP update 98/68498/2
authorSomashekar Byrappa <somashekar.b@altencalsoftlabs.com>
Thu, 22 Feb 2018 15:07:28 +0000 (20:37 +0530)
committerSam Hague <shague@redhat.com>
Sat, 24 Feb 2018 02:29:53 +0000 (02:29 +0000)
commite64c27a6cc94dfa446bedf4340e8123a946370cb
tree8b68b27fdbaee8976ee578344daa210919f7d721
parented5c7039dcb67a5085f913282b2926fa6cf97de9
ACL: Handle AAP update

During port-update with add of allowed-address-pair (IP/MAC),
corresponding flows were not added in table=210 for egressAclDhcpAllowClientTraffic()
and egressAclDhcpv6AllowClientTraffic(). This issue is addressed with the
patch.

Also, avoided configuring flows related AAPs with multicast addresses in
VM egress anti-spoofing table (table=210) as the source address will never be
multicast address.

Change-Id: Ibe66cc65a484864c53a085b70d2aa37486e662d4
Signed-off-by: Somashekar Byrappa <somashekar.b@altencalsoftlabs.com>
aclservice/impl/src/main/java/org/opendaylight/netvirt/aclservice/AbstractAclServiceImpl.java
aclservice/impl/src/main/java/org/opendaylight/netvirt/aclservice/EgressAclServiceImpl.java
aclservice/impl/src/main/java/org/opendaylight/netvirt/aclservice/IngressAclServiceImpl.java
aclservice/impl/src/main/java/org/opendaylight/netvirt/aclservice/utils/AclServiceUtils.java
aclservice/impl/src/test/java/org/opendaylight/netvirt/aclservice/utils/AclServiceUtilsTest.java [new file with mode: 0644]