# Functions
No description provided by the author
No description provided by the author
# Constants
HW component is set to be in diag mode.
HW component is set to be disabled.
HW component is set to be enabled.
Default/invalid admin state.
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
Packets sent to the controller.
Packets sent to the sflow agent.
Default.
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
16 MSBs of Ethernet CRC32.
16 LSBs of Ethernet CRC32.
16 MSBs of computed CRC32.
16 MSBs of Koopman CRC32.
16 LSBs of Koopman CRC32.
16 LSBs of computed CRC32.
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
The HW component is unhealthy.
The HW component is healthy.
Default/invalid health state.
Hardware is operational, but configured off.
Hardware is in a diagnostic mode.
A hardware failure has been detected.
No hardware is present.
Hardware is present, but not powered on.
Hardware is present, but not yet operational.
Hardware is present, configured, and operational.
Hardware is present, but details (type/state) are unknown.
No description provided by the author
No description provided by the author
No description provided by the author
e.g.
No description provided by the author
Used when the color is undetermined.
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
e.g.
No description provided by the author
Used when the state is undetermined.
Green/Red non-blinking LEDs (Front Panel, PSU, Fan).
Non-blinking Green LED and Red LED.
Non-blinking Green, Red LEDs controlled by multiple GPIO pins.
Green/Amber solid/blinking LEDs (10G interfaces).
Non-blinking Green, Red, and Yellow LEDs.
Non-blinking Green/Red and Green/Yellow LEDs.
Solid/blinking Green/Red and solid Yellow LED.
Unknown led type is regard as an config error.
No description provided by the author
New CFP adapter type used in UTP.
No description provided by the author
No description provided by the author
No description provided by the author
used by OCS like Palomar.
100G copper.
Google custom LR optics (non-IEEE LR).
IEEE LR4.
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
round robin.
strict priority.
unknown (default).
weighted deficit round robin.
weighted round robin.
Stratum running as part of Sandcastle.
Stratum running in sim mode.
Standalone Stratum.
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
TODO(aghaffar): Add all the BCM and MLNX based platforms.
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
default.
No description provided by the author
No description provided by the author
No description provided by the author
Port is down, which also means the link that the port is part is down as well.
Port has indicated some low-level failures.
Default/invalid oper state.
Port is up, which also means the link that the port is part is up as well.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BIND: Default Action.
This is the default device init mode.
Device incurs a hitless warm init.
RECONCILE_AND_WARM_INIT_END(Master): Try and reconcile with the.
VERIFY(Master): Verifies whether this config is valid or not.
VERIFY_AND_WARM_INIT_BEGIN(Master): Verifies the config and then.
VERIFY_AND_WARM_INIT_BEGIN_AND_END(Master): Verifies, starts.
WARM_INIT_END(Master): Issues a warm_init_end.
WARM_INIT_FINISHED indicates a successful.
WARM_INIT_STARTED indicates a successful.
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
Enum to add the given data incrementally to the exising table entry.
Enum to delete the given data from the exising table entry.
Assured forwarding priority 1.
Assured forwarding priority 2.
Assured forwarding priority 3.
Assured forwarding priority 4.
Best effort at high packet loss.
Best effort.
Low-latency congestion-control queue (go/llq).
Low-latency congestion-control queue (go/llq).
Network control.
Network control.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The trunk member port may be up and receiving traffic, but egress traffic is blocked.
The trunk member port is up and forwarding traffic normally.
Default/invalid blocking state.
No description provided by the author
No description provided by the author
No description provided by the author
Trunk is empty or all the members of the trunk are either down or blocked.
Default/invalid trunk state.
Trunk is not empty and at least one member of the trunk is up and forwarding traffic (i.e.
No description provided by the author
No description provided by the author
No description provided by the author
MODIFY_INC is used to add/delete the given data to/from the existing table entry incrementally.
No description provided by the author
Required.
Optional.
Optional.
# Variables
Enum value maps for AdminState.
Enum value maps for AdminState.
Enum value maps for Alarm_Severity.
Enum value maps for Alarm_Severity.
Enum value maps for ChassisConfigParams_TuntapConfig_Mode.
Enum value maps for ChassisConfigParams_TuntapConfig_Mode.
Enum value maps for FanDir.
Enum value maps for FanDir.
Enum value maps for FecMode.
Enum value maps for FecMode.
No description provided by the author
No description provided by the author
Enum value maps for GoogleConfig_BcmKnetIntfPurpose.
Enum value maps for GoogleConfig_BcmKnetIntfPurpose.
Enum value maps for GoogleConfig_BcmRtag7HashConfig_HashBlock.
Enum value maps for GoogleConfig_BcmRtag7HashConfig_HashBlock.
Enum value maps for GoogleConfig_BcmRtag7HashConfig_HashField.
Enum value maps for GoogleConfig_BcmRtag7HashConfig_HashField.
Enum value maps for GoogleConfig_BcmRtag7HashConfig_HashSubBlock.
Enum value maps for GoogleConfig_BcmRtag7HashConfig_HashSubBlock.
Enum value maps for GoogleConfig_BcmRtag7HashConfig_Polynomial.
Enum value maps for GoogleConfig_BcmRtag7HashConfig_Polynomial.
Enum value maps for HealthState.
Enum value maps for HealthState.
Enum value maps for HwState.
Enum value maps for HwState.
Enum value maps for IdleTable_IdleTableMode.
Enum value maps for IdleTable_IdleTableMode.
Enum value maps for LedColor.
Enum value maps for LedColor.
Enum value maps for LedMode.
Enum value maps for LedMode.
Enum value maps for LedState.
Enum value maps for LedState.
Enum value maps for LedType.
Enum value maps for LedType.
Enum value maps for MediaType.
Enum value maps for MediaType.
Enum value maps for Mode_PredefinedMode.
Enum value maps for Mode_PredefinedMode.
Enum value maps for NodeConfigParams_QosConfig_SchedulingMode.
Enum value maps for NodeConfigParams_QosConfig_SchedulingMode.
Enum value maps for OperationMode.
Enum value maps for OperationMode.
Enum value maps for PhysicalPortType.
Enum value maps for PhysicalPortType.
Enum value maps for Platform.
Enum value maps for Platform.
Enum value maps for PortConfigParams_ModulationType.
Enum value maps for PortConfigParams_ModulationType.
Enum value maps for PortState.
Enum value maps for PortState.
Enum value maps for PsuType.
Enum value maps for PsuType.
Enum value maps for SetForwardingPipelineConfigRequest_Action.
Enum value maps for SetForwardingPipelineConfigRequest_Action.
Enum value maps for SetForwardingPipelineConfigRequest_DevInitMode.
Enum value maps for SetForwardingPipelineConfigRequest_DevInitMode.
Enum value maps for SetForwardingPipelineConfigResponseType.
Enum value maps for SetForwardingPipelineConfigResponseType.
Enum value maps for SfpModuleType.
Enum value maps for SfpModuleType.
Enum value maps for SfpType.
Enum value maps for SfpType.
Enum value maps for TableModIncFlag_Type.
Enum value maps for TableModIncFlag_Type.
Enum value maps for TrafficClass.
Enum value maps for TrafficClass.
Enum value maps for TriState.
Enum value maps for TriState.
Enum value maps for TrunkMemberBlockState.
Enum value maps for TrunkMemberBlockState.
Enum value maps for TrunkPort_TrunkType.
Enum value maps for TrunkPort_TrunkType.
Enum value maps for TrunkState.
Enum value maps for TrunkState.
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
Wrapper around admin state of a HW component.
Wrapper around all the alarm related data.
Wrapper around the autoneg status of a port.
No description provided by the author
Chassis uniquely identifies a switch with a single management interface, one or more slots (aka linecards), and one or more switching nodes (aka chips) on each linecard.
ChassisConfig is the internal data structure that encapsulates the so called "config" pushed to the entire chassis.
Config-related parameters for the entire chassis.
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
DataRequest is a message used internally to request data about a component or a set of components through SwitchInterface.
No description provided by the author
No description provided by the author
No description provided by the author
Defined the data required to get a data for a chassis.
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
Defines the data required to get a data for a node.
No description provided by the author
No description provided by the author
Defines the data required to get a data for a port.
No description provided by the author
No description provided by the author
Defined the data required to get a data for a queue of a port.
No description provided by the author
DataResponse is a message used internally to return data about a component or a set of components, requested by DataRequest through SwitchInterface, to It is specifically used in ConfigMonitoringService.
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
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.
Possible capabilities for a fan module.
Wrapper around the FEC mode.
This message contains config of a SINGLE program.
No description provided by the author
Wrapper around the forwarding viability of a trunk member.
Frontpanel port info.
Request to get config of the entire device.
Config of the entire device.
Config specific to Google-build chassis.
BcmBufferConfig defines the buffer carving config for a BCM unit.
No description provided by the author
No description provided by the author
No description provided by the author
This message encapsulates all the info required to setup KNET interfaces on a specific node.
KNET config for a single KNET interface on a node.
BcmRateLimitConfig specifies rate limit settings for a unit.
Specifies rate limit settings for a COS.
BcmRtag7HashConfig defines RTAG7 hash config for a unit.
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
BcmRxConfig encapsulates all the data required to fully configure RX on a unit.
BcmDmaChannelConfig encapsulates all the data required to configure an RX DMA channel.
No description provided by the author
Wrapper around the hardware port.
Wrapper around the health indicator (usally translated to LED state) of a port.
No description provided by the author
No description provided by the author
No description provided by the author
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
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
Possible capabilities for a LED module.
Wrapper around mac address (for example LACP router MAC).
No description provided by the author
No description provided by the author
No description provided by the author
Node uniquely identifies a single switching node (aka chip) on a chassis linecard and all its flow-related and config-related parameters.
Config-related parameters for switching nodes (aka chips).
Per node L2-related configs.
Per node QoS configuration.
Internal priority to the egress CoS queue number map entry.
802.1p priority to internal priority map entry.
DSCP range to internal priority map entry.
Egress CoS queue number to egress service pool map entry.
Ingress priority group number to the ingress service pool map entry.
Internal priority to the ingress priority group number map entry.
Per internal priority scheduling config.
Internal priority to the traffic class map entry.
Per-VLAN configuration.
Wrapper around an optional debug info for a node/chip.
Flow-related parameters for for switching nodes (aka chips).
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
Wrapper around oper state of a port.
Config-related parameters for the ports (singleton and trunk ports).
Per port hash config.
Wrapper around all the per port counters.
Flow-related parameters for the ports (singleton and trunk ports).
PortGroup uniquely identifies an ECMP/WCMP port group.
No description provided by the author
Wrapper around per port per queue counters.
Wrapper around port speed of the port.
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
Possible Capabilities for a PSU.
No description provided by the author
No description provided by the author
----------------------------------------------------------------------------- SetForwardingPipelineConfig RPC takes in this message.
No description provided by the author
A message requesting changing configuration parameters inside the HAL.
No description provided by the author
Data required to set info for a specific chassis.
No description provided by the author
Data required to set info for a specific node.
No description provided by the author
Data required to set info for a specific port.
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
The module speed capability for a frontpanel port.
SingletonPort uniquely identifies a single physical port on a single chassis and all its flow-related and config-related parameters.
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
Wrapper around LACP system priority.
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
Possible capabilities for a thermal sensor module.
TrunkPort uniquely identifies a single trunk port on a single chassis and all its flow-related and config-related parameters.
UnimplementedBfRuntimeServer can be embedded to have forward compatible implementations.
No description provided by the author
No description provided by the author
------------------------------------------------------------------------------.
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
BfRuntimeClient is the client API for BfRuntime service.
BfRuntimeServer is the server API for BfRuntime service.
# Type aliases
A generic enum for describing the administrative state (aka admin state) of a HW component.
No description provided by the author
No description provided by the author
Possible directions for a fan module.
FEC operational mode for a singleton port.
BcmKnetIntfPurpose defines which application will supposed to use a KNET interface defined on a unit and CPU queue.
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 generic enum for describing the health state of a HW component, as seen by a remote telemetry agent or set by an SDN controller.
A generic enum for describing the state of HW components (e.g.
No description provided by the author
Possible color for LED lights.
Possible modes for a LED module.
Possible state for LED lights.
Different type of LED has different possible color & state conbination and different number & control value of control path.
The media type for a frontpanel port.
No description provided by the author
Scheduling mode.
Mode of operation of the stack.
Possible physcial types for a frontpanel port.
Target platforms (aka the type of the switch/chassis).
Modulation type for ports.
A enum for describing the operational state (aka oper state) of a singleton port.
Possible types for a PSU.
No description provided by the author
No description provided by the author
No description provided by the author
TODO(unknown): revise these enum as needed per ASIC integration currently maps to sff_module_type_t defined in sff.h.
TODO(unknown): revise these enum as needed per ASIC integration currently maps to sff_sfp_type_t defined in sff.h.
No description provided by the author
List of traffic classes (aka class of services).
Tri-state boolean for the case 'false' is not a default.
An enum for describing the traffic block state of a singleton port that is part of a trunk.
No description provided by the author
A enum for describing the operational state (aka oper state) of a trunk port.
No description provided by the author
No description provided by the author