Class P4RuntimeReplicationGroupProgrammable

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

    public class P4RuntimeReplicationGroupProgrammable
    extends AbstractP4RuntimeHandlerBehaviour
    implements org.onosproject.net.group.GroupProgrammable
    Implementation of GroupProgrammable to handle PRE entries in P4Runtime.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Collection<org.onosproject.net.group.Group> getGroups()  
      void performGroupOperation​(org.onosproject.net.DeviceId deviceId, org.onosproject.net.group.GroupOperations groupOps)  
      protected boolean setupBehaviour​(String opName)
      Initializes this behaviour attributes.
      • Methods inherited from class org.onosproject.grpc.utils.AbstractGrpcHandlerBehaviour

        mgmtUriFromNetcfg
      • 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 interface org.onosproject.net.driver.Behaviour

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

        handler, setHandler
    • Constructor Detail

      • P4RuntimeReplicationGroupProgrammable

        public P4RuntimeReplicationGroupProgrammable()
    • 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