NETVIRT-1198: Acl Stats does not support Anti Spoof drop stats. 06/70406/5
authorNishchya Gupta <nishchyag@altencalsoftlabs.com>
Thu, 5 Apr 2018 08:36:54 +0000 (14:06 +0530)
committerSam Hague <shague@redhat.com>
Tue, 1 May 2018 19:09:45 +0000 (19:09 +0000)
commit5cc1d7ffc3dffafe7183bcd8f121bec50662f2a8
tree6d91e0711312b3277a2a28a162c9fbd5d7ee0319
parent94ee991ee8794dc86bbe9a8998805cd3fc713c9a
NETVIRT-1198: Acl Stats does not support Anti Spoof drop stats.

Anti-spoofing stats support was not present currently. Support has been
added, and for implementing that all the drops from Anti Spoofing table
has been redirected to acl committer table by modifing 4th bit in
metatdata.
A new flow has been introduced in committer table with this new
match criteria and their we are dropping all the drop packets.

This new flow will contains all the anti spoof drops and using the cookie, we will
be pulling the table details and displaying anti spoof stats

Change-Id: Ia3009517136d8c00282ed78307c5bf990897e148
Signed-off-by: Nishchya Gupta <nishchyag@altencalsoftlabs.com>
aclservice/api/src/main/yang/acl-live-statistics.yang
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/stats/AclLiveStatisticsHelper.java
aclservice/impl/src/main/java/org/opendaylight/netvirt/aclservice/utils/AclConstants.java
aclservice/impl/src/main/java/org/opendaylight/netvirt/aclservice/utils/AclNodeDefaultFlowsTxBuilder.java
aclservice/impl/src/main/java/org/opendaylight/netvirt/aclservice/utils/AclServiceUtils.java
aclservice/impl/src/test/java/org/opendaylight/netvirt/aclservice/tests/FlowEntryObjectsBase.xtend
aclservice/impl/src/test/java/org/opendaylight/netvirt/aclservice/tests/FlowEntryObjectsStateful.xtend
aclservice/impl/src/test/java/org/opendaylight/netvirt/aclservice/tests/FlowEntryObjectsStatefulIPv6.xtend