Interface FlowRuleProgrammable

    • Method Detail

      • getFlowEntries

        java.util.Collection<FlowEntry> getFlowEntries()
        Retrieves the collection of flow rule entries currently installed on the device.
        Returns:
        collection of flow rules
      • applyFlowRules

        java.util.Collection<FlowRule> applyFlowRules​(java.util.Collection<FlowRule> rules)
        Applies the specified collection of flow rules to the device.
        Parameters:
        rules - flow rules to be added
        Returns:
        collection of flow rules that were added successfully
      • removeFlowRules

        java.util.Collection<FlowRule> removeFlowRules​(java.util.Collection<FlowRule> rules)
        Removes the specified collection of flow rules from the device.
        Parameters:
        rules - flow rules to be removed
        Returns:
        collection of flow rules that were removed successfully