@Beta
public interface PiFlowRuleTranslationService
| Modifier and Type | Interface and Description |
|---|---|
static class |
PiFlowRuleTranslationService.PiFlowRuleTranslationException
Signals that an error was encountered while translating flow rule.
|
| Modifier and Type | Method and Description |
|---|---|
PiTableEntry |
translate(FlowRule rule,
PiPipeconf pipeconf)
Returns a table entry equivalent to the given flow rule for the given protocol-independent
pipeline configuration.
|
PiTableEntry translate(FlowRule rule, PiPipeconf pipeconf) throws PiFlowRuleTranslationService.PiFlowRuleTranslationException
rule - a flow rulepipeconf - a pipeline configurationPiFlowRuleTranslationService.PiFlowRuleTranslationException - if the flow rule cannot be translated