Modifier and Type | Method and Description |
---|---|
Set<OfmFlowMod> |
adjustFlowMod(OfmFlowMod flow)
Adjusts the given FlowMod based on the table properties of this device.
|
Set<OfmFlowMod> |
generateDefaultFlows()
Create a set of default flows for a particular device.
|
ProtocolVersion |
getVersion()
Return the protocol version registered with the facet.
|
void |
setTableProperties(PipelineDefinition tableProps,
ProtocolVersion pv,
boolean isHybrid)
Sets the Pipeline Definition from which the facet will retrieve
information about the table properties on the device for which the flow
mods are being generated.
|
getContext, getTypeName
void setTableProperties(PipelineDefinition tableProps, ProtocolVersion pv, boolean isHybrid)
tableProps
- specifying capabilities of the devicepv
- indicates the Openflow version running on the deviceisHybrid
- indicates whether the controller is in hybrid modeProtocolVersion getVersion()
Set<OfmFlowMod> adjustFlowMod(OfmFlowMod flow)
flow
- the FlowMod object to be sentFlowUnsupportedException
- if it is an unsupported flowDuplicateFlowException
- if it is a duplicate of a default flowSet<OfmFlowMod> generateDefaultFlows()
FlowUnsupportedException
- if default flow cannot be handledCopyright © 2015. All Rights Reserved.