Class FrmUtil
- java.lang.Object
-
- org.opendaylight.openflowplugin.applications.frm.util.FrmUtil
-
public final class FrmUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
OPENFLOW_PREFIX
-
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 org.opendaylight.yangtools.yang.common.Uint64
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 String
getInventoryConfigDataStoreStatus()
static 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)
-
-
-
Field Detail
-
OPENFLOW_PREFIX
public static final String OPENFLOW_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNodeIdFromNodeIdentifier
public static 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 org.opendaylight.yangtools.yang.common.Uint64 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)
-
getInventoryConfigDataStoreStatus
public static String getInventoryConfigDataStoreStatus()
-
-