Class P4RuntimeActionGroupProgrammable

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

    public class P4RuntimeActionGroupProgrammable
    extends AbstractP4RuntimeHandlerBehaviour
    implements org.onosproject.net.group.GroupProgrammable
    Implementation of GroupProgrammable to handle action profile groups in P4Runtime.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.onosproject.net.group.GroupStore groupStore  
      • Fields inherited from class org.onosproject.grpc.utils.AbstractGrpcHandlerBehaviour

        client, deviceId, deviceService, log
    • 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
    • Field Detail

      • groupStore

        protected org.onosproject.net.group.GroupStore groupStore
    • Constructor Detail

      • P4RuntimeActionGroupProgrammable

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