Barefoot Runtime gRPC Helper
Contents:
Overview
Requirements
Installing
Self Contained Usage
Usage
Basic Example
Retrieving Non-P4 Configuration
Manipulating Non-Match/Action Tables
Building Documentation
Fields
Existing Fields
Defining Custom Fields
Operations on Fields
Match
Exact
Masked Matches (LPM & Ternary)
Construction
Operations
Unsupported Matches
Examples
Loading a Pipeline
API Reference
bfrt_helper.bfrt_info
BfRtInfo
BfRtInfo
bfrt_helper.bfrt
BfRtHelper
BfRtHelper
Exceptions
UnknownAction
UnknownActionParameter
UnknownTable
UnknownKeyField
MismatchedMatchType
MismatchedDataSize
InvalidActionParameter
bfrt_helper.fields
Base Fields
JSONSerialisable
Field
Predefined Fields
DevPort
DigestType
EgressSpec
IPv4Address
Layer2Port
MACAddress
MulticastGroupId
MulticastNodeId
PortId
ReplicationId
StringField
VlanID
Exceptions
MismatchedKeys
bfrt_helper.match
Base Match Type
Masked
Supported Types
Exact
LongestPrefixMatch
Ternary
Exceptions
MismatchedKeys
bfrt_helper.util
Functions
encode_number
bit_not
mask_from_prefix
Exceptions
InvalidValue
InvalidOperation
ValueOutOfRange
MatchHelper
Barefoot Runtime gRPC Helper
Join us on GitHub
Overview: module code
All modules for which code is available
bfrt_helper.bfrt
bfrt_helper.bfrt_info
bfrt_helper.fields
bfrt_helper.match
bfrt_helper.util