Class FrmUtil
- java.lang.Object
-
- org.opendaylight.openflowplugin.applications.frm.util.FrmUtil
-
public final class FrmUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Group>
buildGroupInstanceIdentifier(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, org.opendaylight.yangtools.yang.common.Uint32 groupId)
static BundleId
getActiveBundle(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, ForwardingRulesManager provider)
static BigInteger
getDpnIdFromNodeName(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent)
static String
getFlowId(FlowRef flowRef)
static String
getFlowId(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> identifier)
static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId
getNodeIdFromNodeIdentifier(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent)
static String
getNodeIdValueFromNodeIdentifier(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent)
static org.opendaylight.yangtools.yang.common.Uint8
getTableId(FlowTableRef flowTableRef)
static org.opendaylight.yangtools.yang.common.Uint8
getTableId(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> identifier)
static org.opendaylight.yangtools.yang.common.Uint32
isFlowDependentOnGroup(Flow flow)
static boolean
isGroupExistsOnDevice(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, org.opendaylight.yangtools.yang.common.Uint32 groupId, ForwardingRulesManager provider)
-
-
-
Method Detail
-
getNodeIdFromNodeIdentifier
public static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId getNodeIdFromNodeIdentifier(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent)
-
getNodeIdValueFromNodeIdentifier
public static String getNodeIdValueFromNodeIdentifier(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent)
-
getFlowId
public static String getFlowId(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> identifier)
-
getTableId
public static org.opendaylight.yangtools.yang.common.Uint8 getTableId(FlowTableRef flowTableRef)
-
getTableId
public static org.opendaylight.yangtools.yang.common.Uint8 getTableId(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> identifier)
-
getDpnIdFromNodeName
public static BigInteger getDpnIdFromNodeName(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent)
-
isFlowDependentOnGroup
public static org.opendaylight.yangtools.yang.common.Uint32 isFlowDependentOnGroup(Flow flow)
-
buildGroupInstanceIdentifier
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Group> buildGroupInstanceIdentifier(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, org.opendaylight.yangtools.yang.common.Uint32 groupId)
-
getActiveBundle
public static BundleId getActiveBundle(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, ForwardingRulesManager provider)
-
isGroupExistsOnDevice
public static boolean isGroupExistsOnDevice(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, org.opendaylight.yangtools.yang.common.Uint32 groupId, ForwardingRulesManager provider)
-
-