Class P4RuntimeFlowRuleProgrammable

  • All Implemented Interfaces:
    org.onosproject.net.driver.Behaviour, org.onosproject.net.driver.HandlerBehaviour, org.onosproject.net.flow.FlowRuleProgrammable

    public class P4RuntimeFlowRuleProgrammable
    extends AbstractP4RuntimeHandlerBehaviour
    implements org.onosproject.net.flow.FlowRuleProgrammable
    Implementation of the flow rule programmable behaviour for P4Runtime.
    • Constructor Detail

      • P4RuntimeFlowRuleProgrammable

        public P4RuntimeFlowRuleProgrammable()
    • Method Detail

      • getFlowEntries

        public Collection<org.onosproject.net.flow.FlowEntry> getFlowEntries()
        Specified by:
        getFlowEntries in interface org.onosproject.net.flow.FlowRuleProgrammable
      • applyFlowRules

        public Collection<org.onosproject.net.flow.FlowRule> applyFlowRules​(Collection<org.onosproject.net.flow.FlowRule> rules)
        Specified by:
        applyFlowRules in interface org.onosproject.net.flow.FlowRuleProgrammable
      • removeFlowRules

        public Collection<org.onosproject.net.flow.FlowRule> removeFlowRules​(Collection<org.onosproject.net.flow.FlowRule> rules)
        Specified by:
        removeFlowRules in interface org.onosproject.net.flow.FlowRuleProgrammable