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

Commit 0d769be

Browse files
authored
Merge pull request #204 from napalm-automation/develop
Release 0.23.0
2 parents 86340ea + 4e34e05 commit 0d769be

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

napalm_base/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ def get_probes_results(self):
11111111
raise NotImplementedError
11121112

11131113
def ping(self, destination, source=c.PING_SOURCE, ttl=c.PING_TTL, timeout=c.PING_TIMEOUT,
1114-
size=c.PING_SIZE, count=c.PING_COUNT):
1114+
size=c.PING_SIZE, count=c.PING_COUNT, vrf=c.PING_VRF):
11151115
"""
11161116
Executes ping on the device and returns a dictionary with the result
11171117
@@ -1178,7 +1178,8 @@ def traceroute(self,
11781178
destination,
11791179
source=c.TRACEROUTE_SOURCE,
11801180
ttl=c.TRACEROUTE_TTL,
1181-
timeout=c.TRACEROUTE_TIMEOUT):
1181+
timeout=c.TRACEROUTE_TIMEOUT,
1182+
vrf=c.TRACEROUTE_VRF):
11821183
"""
11831184
Executes traceroute on the device and returns a dictionary with the result.
11841185

napalm_base/constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
TRACEROUTE_TIMEOUT = 2
5757
TRACEROUTE_NULL_HOST_NAME = '*'
5858
TRACEROUTE_NULL_IP_ADDRESS = '*'
59+
TRACEROUTE_VRF = ''
5960

6061
OPTICS_NULL_LEVEL = '-Inf'
6162

@@ -64,3 +65,4 @@
6465
PING_TIMEOUT = 2
6566
PING_SIZE = 100
6667
PING_COUNT = 5
68+
PING_VRF = ''

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name="napalm-base",
15-
version='0.22.0',
15+
version='0.23.0',
1616
packages=find_packages(),
1717
author="David Barroso",
1818
author_email="[email protected]",

0 commit comments

Comments
 (0)