Skip to content

EOS SDK v2.23.1 (EOS 4.32.2F)

Latest
Compare
Choose a tag to compare
@ruferp ruferp released this 21 Aug 05:41

Resources

Bug fixes and Improvements

  • eth_lag_intf

    • eth_lag_intf_t: min_speed getter/setter: returns the minimum speed in Mbps required before this LAG interface is considered OPER_STATUS_UP. If the LAG interface does not exist, 0 will be returned.
      uint64_t min_speed(intf_id_t eth_lag_intf_id)
      min_speed_is(intf_id_t eth_lag_intf_id, uint64_t min_speed)
  • mpls_route

    • mpls_route_t: version_id (the MPLS route version) getter/setter
      uint32_t version_id()
      version_id_is(uint32_t version_id)
  • nexthop_group

    • nexthop_group_programmed_status_t: hw_state getter: the status of the hardware programmed entries for this nexthop group. Programmed HW State is a summary of the entire nexthop group and will not note which specific entry is in the provided state.
      nexthop_group_programmed_hw_state_t hw_state()
      NEXTHOP_GROUP_HW_DROP: All nexthop group entries are not programmed in hardware.
      NEXTHOP_GROUP_HW_PARTIALLY_PROGRAMMED: At least one nexthop group entry is programmed in hardware.
      NEXTHOP_GROUP_HW_ALL_PROGRAMMED: All nexthop group entries are programmed in hardware.
      The hw state enum values will be printed as numbers is debug logs (string is too long).
  • Support for move constructors: you can now pass rvalues (std::move) to apis, thus skipping the extra copy that would otherwise happen.

  • Dockerfile: reworked to pull the cross-compiler from github (was already part of 2.23.0, but overwritten in a re-publish, unfortunately).

  • build.sh: small fix for 32 bit build, change shell so things work in a docker container.