v1.3.2
Pre-release
Pre-release
Version 1.3.2
Features
- Counters for front panel ports (in
eth_phy_intf.h
) - Most enums now have an externally defined
<<
operator which converts their value to string form. - Update
fib.h
to support reading the FIB (only supported in certain releases). - Automatically detect the running process's name so users do not have to set
AGENT_PROCESS_NAME
when running their agent manually - Introduction of a few new example libraries, including one for reading a TCP stream and one to handle server events on a file descriptor.
API Changes
- Breaking change:
eos::sdk
'sget_name()
method has been renamed toname()
- Convert more modules to our type generation system, so they can access the various
hash()
,to_string()
and operator functions. The following modules have value classes defined in theireos/types/
file:aresolve.h
,directflow.h
,eth.h
, andip.h
agent_option()
now returns""
if no option is configured, instead of panic-ing- The SDK's base exception,
eos::error
now inherits from std::exception - Feature-specific exceptions have been moved to their corresponding module.
- nexthop groups now use a
uint16_t
instead of auint8_t
to denote the size. - Add
gre_key_type
attribute toeos::nexthop_group_t
for future releases - Handle user-supplied command line arguments properly.
Bugs and Fixes
- Allow a nexthop-group IP route via to be replaced by a forward one
- Improved error messages
- Usability improvements to the build.sh script, including a --force flag to force rebuilding the stub library.
- SWIG updates to support gcc versions >= 4.6
- Various python usability updates (i.e. better error reasons, docstrings)
- Improved comments
- Internal tracing added on some modules to ease debugging