Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Merge pull request #71 from napalm-automation/solves-70
Browse files Browse the repository at this point in the history
Traceroute: add vrf arg
  • Loading branch information
mirceaulinic committed Feb 20, 2017
2 parents be729f6 + 6505242 commit 346cdbd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions napalm_nxos/nxos.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def _load_config(self):
except ConnectionError:
# requests will raise an error with verbose warning output
return True
except:
except Exception:
return False
return True

Expand Down Expand Up @@ -825,7 +825,8 @@ def traceroute(self,
destination,
source=c.TRACEROUTE_SOURCE,
ttl=c.TRACEROUTE_TTL,
timeout=c.TRACEROUTE_TIMEOUT):
timeout=c.TRACEROUTE_TIMEOUT,
vrf=c.TRACEROUTE_VRF):
_HOP_ENTRY_PROBE = [
'\s+',
'(', # beginning of host_name (ip_address) RTT group
Expand Down

0 comments on commit 346cdbd

Please sign in to comment.