Class AbstractP4RuntimeHandlerBehaviour

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Long p4DeviceId  
      protected org.onosproject.net.pi.model.PiPipeconf pipeconf  
      • 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
      protected boolean setupBehaviour​(java.lang.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 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
    • Field Detail

      • p4DeviceId

        protected java.lang.Long p4DeviceId
      • pipeconf

        protected org.onosproject.net.pi.model.PiPipeconf pipeconf
    • Constructor Detail

      • AbstractP4RuntimeHandlerBehaviour

        public AbstractP4RuntimeHandlerBehaviour()
    • Method Detail

      • setupBehaviour

        protected boolean setupBehaviour​(java.lang.String opName)
        Initializes this behaviour attributes. Returns true if the operation was successful, false otherwise.
        Overrides:
        setupBehaviour in class org.onosproject.grpc.utils.AbstractGrpcHandlerBehaviour<org.onosproject.p4runtime.api.P4RuntimeClient,​org.onosproject.p4runtime.api.P4RuntimeController>
        Parameters:
        opName - name of the operation
        Returns:
        true if successful, false otherwise