arista-eosplus / rbeapi

Ruby client for Arista eAPI
BSD 3-Clause "New" or "Revised" License
16 stars 16 forks source link

Catch errors and syslog them when parsing eapi conf file. #95

Closed devrobo closed 8 years ago

devrobo commented 8 years ago

Created utils method to syslog warning messages. Updated add_connection to return nil instead of returning connection values. Updated tests to deal with add_connection return value change. Added test case for bad conf file and empty conf file. Added test case to verify EAPI_CONF path is used. Fixes issue #82