Class GroupUtil
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.util.GroupUtil
-
public final class GroupUtil extends Object
Provides group util methods.
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.base.Function<org.apache.commons.lang3.tuple.Pair<org.opendaylight.yangtools.yang.common.RpcResult<AddGroupsBatchOutput>,org.opendaylight.yangtools.yang.common.RpcResult<SendBarrierOutput>>,org.opendaylight.yangtools.yang.common.RpcResult<AddGroupsBatchOutput>>
GROUP_ADD_COMPOSING_TRANSFORM
static com.google.common.base.Function<org.opendaylight.yangtools.yang.common.RpcResult<List<BatchFailedGroupsOutput>>,org.opendaylight.yangtools.yang.common.RpcResult<AddGroupsBatchOutput>>
GROUP_ADD_TRANSFORM
static com.google.common.base.Function<org.apache.commons.lang3.tuple.Pair<org.opendaylight.yangtools.yang.common.RpcResult<RemoveGroupsBatchOutput>,org.opendaylight.yangtools.yang.common.RpcResult<SendBarrierOutput>>,org.opendaylight.yangtools.yang.common.RpcResult<RemoveGroupsBatchOutput>>
GROUP_REMOVE_COMPOSING_TRANSFORM
static com.google.common.base.Function<org.opendaylight.yangtools.yang.common.RpcResult<List<BatchFailedGroupsOutput>>,org.opendaylight.yangtools.yang.common.RpcResult<RemoveGroupsBatchOutput>>
GROUP_REMOVE_TRANSFORM
static com.google.common.base.Function<org.apache.commons.lang3.tuple.Pair<org.opendaylight.yangtools.yang.common.RpcResult<UpdateGroupsBatchOutput>,org.opendaylight.yangtools.yang.common.RpcResult<SendBarrierOutput>>,org.opendaylight.yangtools.yang.common.RpcResult<UpdateGroupsBatchOutput>>
GROUP_UPDATE_COMPOSING_TRANSFORM
static com.google.common.base.Function<org.opendaylight.yangtools.yang.common.RpcResult<List<BatchFailedGroupsOutput>>,org.opendaylight.yangtools.yang.common.RpcResult<UpdateGroupsBatchOutput>>
GROUP_UPDATE_TRANSFORM
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GroupRef
buildGroupPath(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Node> nodePath, GroupId groupId)
Method build the group path.static <O> com.google.common.base.Function<List<org.opendaylight.yangtools.yang.common.RpcResult<O>>,org.opendaylight.yangtools.yang.common.RpcResult<List<BatchFailedGroupsOutput>>>
createCumulatingFunction(Iterable<? extends Group> inputBatchGroups)
static <O> com.google.common.base.Function<List<org.opendaylight.yangtools.yang.common.RpcResult<O>>,org.opendaylight.yangtools.yang.common.RpcResult<List<BatchFailedGroupsOutput>>>
createCumulatingFunction(Iterable<? extends Group> inputBatchGroups, int sizeOfInputBatch)
static List<org.opendaylight.yangtools.yang.common.Uint32>
extractGroupActionsSupportBitmap(List<ActionType> actionsSupported)
-
-
-
Field Detail
-
GROUP_ADD_TRANSFORM
public static final com.google.common.base.Function<org.opendaylight.yangtools.yang.common.RpcResult<List<BatchFailedGroupsOutput>>,org.opendaylight.yangtools.yang.common.RpcResult<AddGroupsBatchOutput>> GROUP_ADD_TRANSFORM
-
GROUP_ADD_COMPOSING_TRANSFORM
public static final com.google.common.base.Function<org.apache.commons.lang3.tuple.Pair<org.opendaylight.yangtools.yang.common.RpcResult<AddGroupsBatchOutput>,org.opendaylight.yangtools.yang.common.RpcResult<SendBarrierOutput>>,org.opendaylight.yangtools.yang.common.RpcResult<AddGroupsBatchOutput>> GROUP_ADD_COMPOSING_TRANSFORM
-
GROUP_REMOVE_TRANSFORM
public static final com.google.common.base.Function<org.opendaylight.yangtools.yang.common.RpcResult<List<BatchFailedGroupsOutput>>,org.opendaylight.yangtools.yang.common.RpcResult<RemoveGroupsBatchOutput>> GROUP_REMOVE_TRANSFORM
-
GROUP_REMOVE_COMPOSING_TRANSFORM
public static final com.google.common.base.Function<org.apache.commons.lang3.tuple.Pair<org.opendaylight.yangtools.yang.common.RpcResult<RemoveGroupsBatchOutput>,org.opendaylight.yangtools.yang.common.RpcResult<SendBarrierOutput>>,org.opendaylight.yangtools.yang.common.RpcResult<RemoveGroupsBatchOutput>> GROUP_REMOVE_COMPOSING_TRANSFORM
-
GROUP_UPDATE_TRANSFORM
public static final com.google.common.base.Function<org.opendaylight.yangtools.yang.common.RpcResult<List<BatchFailedGroupsOutput>>,org.opendaylight.yangtools.yang.common.RpcResult<UpdateGroupsBatchOutput>> GROUP_UPDATE_TRANSFORM
-
GROUP_UPDATE_COMPOSING_TRANSFORM
public static final com.google.common.base.Function<org.apache.commons.lang3.tuple.Pair<org.opendaylight.yangtools.yang.common.RpcResult<UpdateGroupsBatchOutput>,org.opendaylight.yangtools.yang.common.RpcResult<SendBarrierOutput>>,org.opendaylight.yangtools.yang.common.RpcResult<UpdateGroupsBatchOutput>> GROUP_UPDATE_COMPOSING_TRANSFORM
-
-
Method Detail
-
buildGroupPath
public static GroupRef buildGroupPath(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Node> nodePath, GroupId groupId)
Method build the group path.- Parameters:
nodePath
- - node pathgroupId
- - group Id- Returns:
- instance identifier assembled for given node and group
-
createCumulatingFunction
public static <O> com.google.common.base.Function<List<org.opendaylight.yangtools.yang.common.RpcResult<O>>,org.opendaylight.yangtools.yang.common.RpcResult<List<BatchFailedGroupsOutput>>> createCumulatingFunction(Iterable<? extends Group> inputBatchGroups)
-
createCumulatingFunction
public static <O> com.google.common.base.Function<List<org.opendaylight.yangtools.yang.common.RpcResult<O>>,org.opendaylight.yangtools.yang.common.RpcResult<List<BatchFailedGroupsOutput>>> createCumulatingFunction(Iterable<? extends Group> inputBatchGroups, int sizeOfInputBatch)
-
extractGroupActionsSupportBitmap
public static List<org.opendaylight.yangtools.yang.common.Uint32> extractGroupActionsSupportBitmap(List<ActionType> actionsSupported)
-
-