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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<org.onosproject.net.group.Group> getGroups()  
      void performGroupOperation​(org.onosproject.net.DeviceId deviceId, org.onosproject.net.group.GroupOperations groupOps)  
      • Methods inherited from class org.onosproject.net.driver.AbstractHandlerBehaviour

        handler, setHandler
      • Methods inherited from class org.onosproject.net.driver.AbstractBehaviour

        data, setData
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.onosproject.net.driver.Behaviour

        data, setData
      • Methods inherited from interface org.onosproject.net.driver.HandlerBehaviour

        handler, setHandler
    • 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 java.util.Collection<org.onosproject.net.group.Group> getGroups()
        Specified by:
        getGroups in interface org.onosproject.net.group.GroupProgrammable