Class P4RuntimeGroupProgrammable

  • All Implemented Interfaces:
    org.onosproject.net.driver.Behaviour, org.onosproject.net.driver.HandlerBehaviour, org.onosproject.net.group.GroupProgrammable

    public class P4RuntimeGroupProgrammable
    extends org.onosproject.net.driver.AbstractHandlerBehaviour
    implements org.onosproject.net.group.GroupProgrammable
    Implementation of GroupProgrammable for P4Runtime devices that uses two different implementation of the same behavior to handle both action profile groups and PRE entries.
    • Constructor Detail

      • P4RuntimeGroupProgrammable

        public P4RuntimeGroupProgrammable()
    • Method Detail

      • performGroupOperation

        public void performGroupOperation​(org.onosproject.net.DeviceId deviceId,
                                          org.onosproject.net.group.GroupOperations groupOps)
        Specified by:
        performGroupOperation in interface org.onosproject.net.group.GroupProgrammable
      • getGroups

        public Collection<org.onosproject.net.group.Group> getGroups()
        Specified by:
        getGroups in interface org.onosproject.net.group.GroupProgrammable