NETVIRT-1188: ACL: Stats not working for ingress direction 89/70189/5
authorShashidhar Raja <shashidharr@altencalsoftlabs.com>
Thu, 29 Mar 2018 15:27:33 +0000 (20:57 +0530)
committerSam Hague <shague@redhat.com>
Wed, 4 Apr 2018 20:02:31 +0000 (20:02 +0000)
commite2eb5d9c9658be09399c65670ddf44e78eba14e0
tree57d73dad46109d7c9b56bff1f1a704ed0a1d8b7e
parent22efaa389c2662f230d132cf285bafa0d6901107
NETVIRT-1188: ACL: Stats not working for ingress direction

Fixed this problem by using lport tag in Cookie for drop flows.

Earlier, metadata matches which was available in pipeline egress side (VM
Ingress) is no longer supported. So, added lport details in Cookie itself
now to uniquely identify drop flows. Aligning with aforementioned changes,
removed metadata matches from direct stats input which only has Cookie
matches now.

Change-Id: Ifac03e75eb42b2a6f9dbd0d14579f462873d9285
Signed-off-by: Shashidhar Raja <shashidharr@altencalsoftlabs.com>
aclservice/impl/src/main/java/org/opendaylight/netvirt/aclservice/AbstractAclServiceImpl.java
aclservice/impl/src/main/java/org/opendaylight/netvirt/aclservice/stats/AclLiveStatisticsHelper.java
aclservice/impl/src/main/java/org/opendaylight/netvirt/aclservice/utils/AclServiceUtils.java
aclservice/impl/src/test/java/org/opendaylight/netvirt/aclservice/stats/TestOdlDirectStatisticsService.java
aclservice/impl/src/test/java/org/opendaylight/netvirt/aclservice/tests/FlowEntryObjectsStateful.xtend
aclservice/impl/src/test/java/org/opendaylight/netvirt/aclservice/tests/FlowEntryObjectsStatefulIPv6.xtend