Class BulkOMaticUtils
- java.lang.Object
-
- org.opendaylight.openflowplugin.applications.bulk.o.matic.BulkOMaticUtils
-
public final class BulkOMaticUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static long
DEFAULT_COMPLETION_TIME
static int
DEFAULT_FLOW_COUNT
static int
DEFAULT_TABLE_COUNT
static String
DEFAULT_UNITS
static int
DEFUALT_STATUS
static String
DEVICE_TYPE_PREFIX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Flow
buildFlow(short tableId, String flowId, Match match)
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Node>
getFlowCapableNodeId(String dpId)
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow>
getFlowId(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Table> tablePath, String flowId)
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow>
getFlowInstanceIdentifier(short tableId, String flowId, String dpId)
static Match
getMatch(int sourceIp)
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Table>
getTableId(short tableId, String dpId)
static String
ipIntToStr(int number)
-
-
-
Field Detail
-
DEFUALT_STATUS
public static final int DEFUALT_STATUS
-
DEFAULT_FLOW_COUNT
public static final int DEFAULT_FLOW_COUNT
- See Also:
- Constant Field Values
-
DEFAULT_TABLE_COUNT
public static final int DEFAULT_TABLE_COUNT
- See Also:
- Constant Field Values
-
DEFAULT_COMPLETION_TIME
public static final long DEFAULT_COMPLETION_TIME
- See Also:
- Constant Field Values
-
DEFAULT_UNITS
public static final String DEFAULT_UNITS
- See Also:
- Constant Field Values
-
DEVICE_TYPE_PREFIX
public static final String DEVICE_TYPE_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
ipIntToStr
public static String ipIntToStr(int number)
-
getMatch
public static Match getMatch(int sourceIp)
-
getFlowInstanceIdentifier
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> getFlowInstanceIdentifier(short tableId, String flowId, String dpId)
-
getFlowCapableNodeId
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Node> getFlowCapableNodeId(String dpId)
-
getTableId
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Table> getTableId(short tableId, String dpId)
-
-