@Beta
public interface PiTranslationService
| Modifier and Type | Interface and Description |
|---|---|
static class |
PiTranslationService.PiTranslationException
Signals that an error was encountered while translating an entity.
|
| Modifier and Type | Method and Description |
|---|---|
PiTableEntry |
translateFlowRule(FlowRule rule,
PiPipeconf pipeconf)
Returns a PI table entry equivalent to the given flow rule for the given protocol-independent pipeline
configuration.
|
PiActionGroup |
translateGroup(Group group,
PiPipeconf pipeconf)
Returns a PI action group equivalent to the given group for the given protocol-independent pipeline
configuration.
|
PiTableEntry translateFlowRule(FlowRule rule, PiPipeconf pipeconf) throws PiTranslationService.PiTranslationException
rule - a flow rulepipeconf - a pipeline configurationPiTranslationService.PiTranslationException - if the flow rule cannot be translatedPiActionGroup translateGroup(Group group, PiPipeconf pipeconf) throws PiTranslationService.PiTranslationException
group - a grouppipeconf - a pipeline configurationPiTranslationService.PiTranslationException - if the group cannot be translated