interface.available_fec_modes

Returns FEC modes supported by interface id.

Returns an empty list if the interface does not exist or does not support FEC.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Type: string

ID of the interface to query for supported FEC modes.

Result

Type: array of enum (of string)

List of FEC modes supported by the interface. Empty list if FEC is not supported.

  • "AUTO": Selects the best FEC mode based on cable/port capabilities
  • "RS": RS-FEC (Reed-Solomon), often used for 25GbE/100GbE+ NICs
  • "BASER": BaseR-FEC (FireCode)
  • "OFF": Disables FEC
  • "LLRS": Low Latency Reed-Solomon FEC, used for 25GBASE-KR/CR
No Additional Items
Each item of this array must be:
Type: enum (of string)
Must be one of:
  • "AUTO"
  • "OFF"
  • "RS"
  • "BASER"
  • "LLRS"


Required roles: NETWORK_INTERFACE_READ