Class AclLiveStatisticsHelper
- java.lang.Object
-
- org.opendaylight.netvirt.aclservice.stats.AclLiveStatisticsHelper
-
public final class AclLiveStatisticsHelper extends java.lang.Object
The helper class for ACL live statistics.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.Match
buildMetadataMatch(java.lang.Integer lportTag)
Builds the metadata match.static java.util.List<AclPortStats>
getAclPortStats(Direction direction, @NonNull java.util.List<java.lang.String> interfaceNames, org.opendaylight.yang.gen.v1.urn.opendaylight.direct.statistics.rev160511.OpendaylightDirectStatisticsService odlDirectStatsService, org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
Gets the acl port stats.
-
-
-
Method Detail
-
getAclPortStats
public static java.util.List<AclPortStats> getAclPortStats(Direction direction, @NonNull java.util.List<java.lang.String> interfaceNames, org.opendaylight.yang.gen.v1.urn.opendaylight.direct.statistics.rev160511.OpendaylightDirectStatisticsService odlDirectStatsService, org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
Gets the acl port stats.- Parameters:
direction
- the directioninterfaceNames
- the interface namesodlDirectStatsService
- the odl direct stats servicedataBroker
- the data broker- Returns:
- the acl port stats
-
buildMetadataMatch
protected static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.Match buildMetadataMatch(java.lang.Integer lportTag)
Builds the metadata match.- Parameters:
lportTag
- the lport tag- Returns:
- the match
-
-