Skip to content

EOS SDK v1.10.0

Compare
Choose a tag to compare
@avi-kumar avi-kumar released this 22 Sep 23:01
· 146 commits to master since this release

Resources

Features

  • New method register_vrf() for VRF-awareness in the Forwarding Information Base fib.h module.
  • New system_mac() method in system.h to retrieve the system MAC address of the device.
  • intf.h now provides new methods to translate between kernel and EOS interface names.
  • In multithreaded applications, EOS SDK will now throw an exception if the agent does not grab a scoped lock before making an SDK call. This prevents race conditions when multiple threads attempt to use the SDK simultaneously.

Bugs fixes and improvements

  • API Change: bfd.h
    • New BFD_SESSION_TYPE_MICRORFC7130 value for bfd_session_type_t enumerated type.
  • API Change: mac_table.h
    • New MAC_ENTRY_EVPN_REMOTE_MAC and MAC_ENTRY_PEER_EVPN_REMOTE_MAC values for mac_entry_type_t enumerated type.
  • API Change: nexthop_group.h
    • New NEXTHOP_GROUP_IP value for nexthop_group_encap_t enumerated type, for IP type with no encapsulation.
  • ACLs that have not been committed are now no longer deleted when enabling counters or fragments with acl_counters_enabled_set() or acl_fragments_enabled_set() in acl.h
  • class_map.h now handles IPv6 match rules.
  • ip_route.h We now set the Nexthop Group name attribute of an ip_route_t in ip_route_set() if the route is already programmed with an existing
    ip_route_t if the Nexthop Group via ip_route_via_t exists. This reduces update churn.
  • ip_addr_mask_ts now print in a consistent format for both IPv4 and IPv6 address masks.
  • All SDK custom types now have hash functions.
  • Examples:
    • PolicyDemo.cpp has been cleaned up to use the API properly when setting class-maps and policy-maps via use of the persistent flag attribute.
  • Improvements to the API’s documentation.