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 #204 from napalm-automation/develop
Browse files Browse the repository at this point in the history
Release 0.23.0
  • Loading branch information
mirceaulinic authored Feb 8, 2017
2 parents 86340ea + 4e34e05 commit 0d769be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions napalm_base/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ def get_probes_results(self):
raise NotImplementedError

def ping(self, destination, source=c.PING_SOURCE, ttl=c.PING_TTL, timeout=c.PING_TIMEOUT,
size=c.PING_SIZE, count=c.PING_COUNT):
size=c.PING_SIZE, count=c.PING_COUNT, vrf=c.PING_VRF):
"""
Executes ping on the device and returns a dictionary with the result
Expand Down Expand Up @@ -1178,7 +1178,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):
"""
Executes traceroute on the device and returns a dictionary with the result.
Expand Down
2 changes: 2 additions & 0 deletions napalm_base/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
TRACEROUTE_TIMEOUT = 2
TRACEROUTE_NULL_HOST_NAME = '*'
TRACEROUTE_NULL_IP_ADDRESS = '*'
TRACEROUTE_VRF = ''

OPTICS_NULL_LEVEL = '-Inf'

Expand All @@ -64,3 +65,4 @@
PING_TIMEOUT = 2
PING_SIZE = 100
PING_COUNT = 5
PING_VRF = ''
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name="napalm-base",
version='0.22.0',
version='0.23.0',
packages=find_packages(),
author="David Barroso",
author_email="[email protected]",
Expand Down

0 comments on commit 0d769be

Please sign in to comment.