package
0.0.0-20230427104512-41059d1a9aa8
Repository: https://github.com/vishala-r/p4runtime-dev.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author

# Constants

Default behaviour.
Reply by setting only the cookie field, omitting all other fields.
Reply by setting the p4_device_config and cookie fields.
Reply by setting the p4info and cookie fields.
0xfffffffd: Send to CPU.
0xfffffeff: The maximum value of an SDN port (physical or logical).
SDN ports are numbered starting form 1.
Reserved SDN port numbers (0xffffff00 - 0xffffffff) 0xfffffffa: Recirculate the packet back to ingress.
No description provided by the author
Realize the last saved, but not yet committed, config.
Verify, save and realize the given config, while preserving the forwarding state in the target.
No description provided by the author
Verify that the target can realize the given config.
Verify, save and realize the given config.
Save the config if the target can realize it.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Required.
Optional.
Optional.

# Variables

No description provided by the author
No description provided by the author
Enum value maps for GetForwardingPipelineConfigRequest_ResponseType.
Enum value maps for GetForwardingPipelineConfigRequest_ResponseType.
P4Runtime_ServiceDesc is the grpc.ServiceDesc for P4Runtime service.
Enum value maps for SdnPort.
Enum value maps for SdnPort.
Enum value maps for SetForwardingPipelineConfigRequest_Action.
Enum value maps for SetForwardingPipelineConfigRequest_Action.
Enum value maps for Update_Type.
Enum value maps for Update_Type.
Enum value maps for WriteRequest_Atomicity.
Enum value maps for WriteRequest_Atomicity.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
------------------------------------------------------------------------------.
No description provided by the author
No description provided by the author
No description provided by the author
------------------------------------------------------------------------------.
------------------------------------------------------------------------------.
No description provided by the author
A packet may be cloned by setting the clone_session_id field of PSA ingress/egress output metadata to session_id of a programmed clone session entry.
No description provided by the author
------------------------------------------------------------------------------ For WriteRequest, Update.Type must be MODIFY.
------------------------------------------------------------------------------ Used to configure the digest extern only, not to stream digests or acks.
a DigestList message is streamed when the following conditions are met: - there is at least one digest ready - the oldest digest in the list has been waiting for at least max_timeout_ns nanoseconds or we have gathered max_list_size digests already.
No description provided by the author
Used by the controller to ack a DigestList message.
No description provided by the author
------------------------------------------------------------------------------ For WriteRequest, Update.Type must be MODIFY.
------------------------------------------------------------------------------ For WriteRequest, Update.Type must be MODIFY.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Error message used to report a single P4-entity error for a Write RPC.
No description provided by the author
field_match_type ::= exact | ternary | lpm | range | optional.
Matches can be performed on arbitrarily-large inputs; the protobuf type 'bytes' is used to model arbitrarily-large values.
No description provided by the author
No description provided by the author
No description provided by the author
If the Optional match should be a wildcard, the FieldMatch must be omitted.
No description provided by the author
No description provided by the author
A Range is logically a set that contains all values numerically between 'low' and 'high' inclusively.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Metadata (cookie) opaque to the target.
No description provided by the author
No description provided by the author
No description provided by the author
An index as a protobuf message.
No description provided by the author
Modeled as RFC 2698: A Two Rate Three Color Marker (trTCM) The trTCM meters a packet stream and marks its packets based on two rates, Peak Information Rate (PIR) and Committed Information Rate (CIR), and their associated burst sizes to be either green, yellow, or red.
No description provided by the author
------------------------------------------------------------------------------ For WriteRequest, Update.Type must be MODIFY.
The (egress_port, instance) pair must be unique for each replica in a given multicast group entry.
MatchValueLookupTable.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Packet sent from the switch to the controller.
Any metadata associated with Packet-IO (controller Packet-In or Packet-Out) needs to be modeled as P4 headers carrying special annotations @controller_header("packet_out") and @controller_header("packet_in") respectively.
Packet sent from the controller to the switch.
No description provided by the author
------------------------------------------------------------------------------ Only one instance of a Packet Replication Engine (PRE) is expected in the P4 pipeline.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
------------------------------------------------------------------------------.
Used for replicas created for cloning and multicasting actions.
No description provided by the author
------------------------------------------------------------------------------.
No description provided by the author
Used by the server to asynchronously report errors which occur when processing StreamMessageRequest messages.
No description provided by the author
No description provided by the author
No description provided by the author
------------------------------------------------------------------------------.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
table_actions ::= action_specification | action_profile_specification.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedP4RuntimeServer must be embedded to have forward compatible implementations.
No description provided by the author
------------------------------------------------------------------------------ For writing and reading matches in a parser value set.
A member in a P4 value set.
------------------------------------------------------------------------------.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
P4RuntimeClient is the client API for P4Runtime service.
P4RuntimeServer is the server API for P4Runtime service.
UnsafeP4RuntimeServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

Specifies the fields to populate in the response.
------------------------------------------------------------------------------ Reserved controller-specified SDN port numbers for reference.
No description provided by the author
No description provided by the author
No description provided by the author