Class AbstractP4RuntimeHandlerBehaviour
- java.lang.Object
-
- org.onosproject.net.driver.AbstractBehaviour
-
- org.onosproject.net.driver.AbstractHandlerBehaviour
-
- org.onosproject.grpc.utils.AbstractGrpcHandlerBehaviour<org.onosproject.p4runtime.api.P4RuntimeClient,org.onosproject.p4runtime.api.P4RuntimeController>
-
- org.onosproject.drivers.p4runtime.AbstractP4RuntimeHandlerBehaviour
-
- All Implemented Interfaces:
org.onosproject.net.driver.Behaviour,org.onosproject.net.driver.HandlerBehaviour
- Direct Known Subclasses:
AbstractP4RuntimePipelineProgrammable,P4RuntimeActionGroupProgrammable,P4RuntimeDeviceDescriptionDiscovery,P4RuntimeFlowRuleProgrammable,P4RuntimeMeterProgrammable,P4RuntimePacketProgrammable,P4RuntimeReplicationGroupProgrammable,P4RuntimeTableStatisticsDiscovery
public abstract class AbstractP4RuntimeHandlerBehaviour extends org.onosproject.grpc.utils.AbstractGrpcHandlerBehaviour<org.onosproject.p4runtime.api.P4RuntimeClient,org.onosproject.p4runtime.api.P4RuntimeController>Abstract implementation of a behaviour handler for a P4Runtime device.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Longp4DeviceIdprotected org.onosproject.net.pi.model.PiPipeconfpipeconf
-
Constructor Summary
Constructors Constructor Description AbstractP4RuntimeHandlerBehaviour()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleansetupBehaviour(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
-
-
-
-
Method Detail
-
setupBehaviour
protected boolean setupBehaviour(java.lang.String opName)
Initializes this behaviour attributes. Returns true if the operation was successful, false otherwise.- Overrides:
setupBehaviourin classorg.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
-
-