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
Index
Index
_
|
B
|
C
|
D
|
E
|
F
|
G
|
I
|
J
|
L
|
M
|
O
|
P
|
R
|
S
|
T
|
U
|
V
_
__and__() (Masked method)
__eq__() (Masked method)
__ge__() (Masked method)
__gt__() (Masked method)
__iter__() (Masked method)
__le__() (Masked method)
__lt__() (Masked method)
__or__() (Masked method)
B
BfRtHelper (class in bfrt_helper.bfrt)
BfRtInfo (class in bfrt_helper.bfrt_info)
bit_not() (in module bfrt_helper.util)
bitwidth (DevPort attribute)
(DigestType attribute)
(EgressSpec attribute)
(IPv4Address attribute)
(Layer2Port attribute)
(MACAddress attribute)
(MulticastGroupId attribute)
(MulticastNodeId attribute)
(PortId attribute)
(ReplicationId attribute)
(VlanID attribute)
C
create_copy_to_cpu() (BfRtHelper method)
create_get_pipeline_request() (BfRtHelper method)
create_key_field() (BfRtHelper method)
create_set_pipeline_request() (BfRtHelper method)
create_subscribe_request() (BfRtHelper method)
create_table_data_write() (BfRtHelper method)
create_table_read() (BfRtHelper method)
create_table_write() (BfRtHelper method)
create_write_request() (BfRtHelper method)
D
DevPort (class in bfrt_helper.fields)
DigestType (class in bfrt_helper.fields)
dont_care() (Ternary class method)
E
EgressSpec (class in bfrt_helper.fields)
encode_number() (in module bfrt_helper.util)
Exact (class in bfrt_helper.match)
F
Field (class in bfrt_helper.fields)
from_bytes() (Field class method)
G
get_action_field() (BfRtInfo method)
get_action_field_id() (BfRtInfo method)
get_action_spec() (BfRtInfo method)
get_action_spec_id() (BfRtInfo method)
get_data_field() (BfRtInfo method)
get_data_field_id() (BfRtInfo method)
get_key() (BfRtInfo method)
get_key_id() (BfRtInfo method)
get_table() (BfRtInfo method)
get_table_id() (BfRtInfo method)
I
intersection() (Masked method)
InvalidActionParameter (class in bfrt_helper.bfrt)
InvalidOperation (class in bfrt_helper.util)
InvalidValue (class in bfrt_helper.util)
IPv4Address (class in bfrt_helper.fields)
J
json() (JSONSerialisable method)
JSONSerialisable (class in bfrt_helper.fields)
L
Layer2Port (class in bfrt_helper.fields)
LongestPrefixMatch (class in bfrt_helper.match)
M
MACAddress (class in bfrt_helper.fields)
mask_bytes() (Ternary method)
mask_from_prefix() (in module bfrt_helper.util)
Masked (class in bfrt_helper.match)
MatchHelper (class in bfrt_helper.util)
max_value() (Field class method)
merged() (Masked method)
MismatchedDataSize (class in bfrt_helper.bfrt)
MismatchedKeys (class in bfrt_helper.match)
MismatchedMatchType (class in bfrt_helper.bfrt)
MismatchedTypes (class in bfrt_helper.fields)
MulticastGroupId (class in bfrt_helper.fields)
MulticastNodeId (class in bfrt_helper.fields)
O
overlaps() (Masked method)
P
PortId (class in bfrt_helper.fields)
proper_subset_of() (Masked method)
proper_superset_of() (Masked method)
R
ReplicationId (class in bfrt_helper.fields)
S
serialise() (JSONSerialisable static method)
StringField (class in bfrt_helper.fields)
subset_of() (Masked method)
superset_of() (Masked method)
T
Ternary (class in bfrt_helper.match)
to_bytes() (Field method)
U
UnknownAction (class in bfrt_helper.bfrt)
UnknownActionParameter (class in bfrt_helper.bfrt)
UnknownKeyField (class in bfrt_helper.bfrt)
UnknownTable (class in bfrt_helper.bfrt)
V
value_bytes() (Exact method)
(LongestPrefixMatch method)
(Ternary method)
ValueOutOfRange (class in bfrt_helper.util)
VlanID (class in bfrt_helper.fields)