java.lang.Object
org.opendaylight.openflowplugin.applications.frm.util.FrmUtil

public final class FrmUtil extends Object
  • Field Details

  • Method Details

    • 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(FlowRef flowRef)
    • 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)