aristanetworks / goeapi

Go library for Arista's eAPI command API implementation
BSD 3-Clause "New" or "Revised" License
46 stars 31 forks source link

Add IPRoute module #24

Closed zlesnr closed 6 years ago

zlesnr commented 6 years ago

Without this change, there is not an easy show module for getting the routes from a device. Here we implement the minimum feature set for using the show module.

codecov-io commented 6 years ago

Codecov Report

Merging #24 into master will increase coverage by 0.04%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   88.99%   89.04%   +0.04%     
==========================================
  Files          16       17       +1     
  Lines        2026     2035       +9     
==========================================
+ Hits         1803     1812       +9     
  Misses        186      186              
  Partials       37       37
Impacted Files Coverage Δ
module/iproute.go 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dae6627...3d7687b. Read the comment docs.

zlesnr commented 6 years ago

Tests might even pass now.