public final class InterfaceServiceUtil extends Object
Modifier and Type | Method and Description |
---|---|
static ServicesInfo |
buildServiceInfo(String serviceName,
int servicePriority) |
static ServicesInfo |
buildServiceInfo(String serviceName,
short serviceIndex,
int servicePriority,
BigInteger cookie)
Deprecated.
|
static ServicesInfo |
buildServiceInfo(String serviceName,
short serviceIndex,
int servicePriority,
BigInteger cookie,
List<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> instructions)
Deprecated.
|
static BoundServices |
getBoundServices(String serviceName,
short servicePriority,
int flowPriority,
BigInteger cookie,
List<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> instructions) |
static FlowInfoKey |
getFlowStatisticsKey(BigInteger dpId,
short tableId,
List<MatchInfo> matches,
String flowId) |
static GroupInfoKey |
getGroupStatisticsKey(BigInteger dpId,
long groupId) |
static List<MatchInfo> |
getLPortDispatcherMatches(short serviceIndex,
int interfaceTag) |
static List<MatchInfo> |
getMatchInfoForVlanLPort(BigInteger dpId,
long portNo,
long vlanId,
boolean isVlanTransparent) |
static Set<Object> |
getStatRequestKeys(BigInteger dpId,
short tableId,
List<MatchInfo> matches,
String flowId,
long groupId) |
static short |
getVlanId(String interfaceName,
org.opendaylight.controller.md.sal.binding.api.DataBroker broker) |
static void |
mergeMetadataMatchsOrAdd(List<MatchInfoBase> matches,
MatchInfoBase match)
If matches contains MatchMetadata in its list and match is of type MatchMetadata, then this
function will merge the MatchMetadatas using "or" of the masks and the values, otherwise it will add
the match to the matches list.
|
@Deprecated public static ServicesInfo buildServiceInfo(String serviceName, short serviceIndex, int servicePriority, BigInteger cookie, List<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> instructions)
buildServiceInfo(String, int)
.@Deprecated public static ServicesInfo buildServiceInfo(String serviceName, short serviceIndex, int servicePriority, BigInteger cookie)
buildServiceInfo(String, int)
.public static ServicesInfo buildServiceInfo(String serviceName, int servicePriority)
public static BoundServices getBoundServices(String serviceName, short servicePriority, int flowPriority, BigInteger cookie, List<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> instructions)
public static List<MatchInfo> getMatchInfoForVlanLPort(BigInteger dpId, long portNo, long vlanId, boolean isVlanTransparent)
public static void mergeMetadataMatchsOrAdd(List<MatchInfoBase> matches, MatchInfoBase match)
matches
- - matches listmatch
- - metadata or other matchpublic static short getVlanId(String interfaceName, org.opendaylight.controller.md.sal.binding.api.DataBroker broker)
public static Set<Object> getStatRequestKeys(BigInteger dpId, short tableId, List<MatchInfo> matches, String flowId, long groupId)
public static GroupInfoKey getGroupStatisticsKey(BigInteger dpId, long groupId)
public static FlowInfoKey getFlowStatisticsKey(BigInteger dpId, short tableId, List<MatchInfo> matches, String flowId)
Copyright © 2019 OpenDaylight. All rights reserved.