Skip to content

Commit

Permalink
Merge pull request #14 from napalm-automation/develop
Browse files Browse the repository at this point in the history
Release 0.1.3
  • Loading branch information
mirceaulinic authored Feb 8, 2017
2 parents b397bb2 + cc98324 commit 347d6a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion napalm_vyos/vyos.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
from netmiko import SCPConn

# NAPALM base
import napalm_base.constants as C
from napalm_base.utils import py23_compat
from napalm_base.base import NetworkDriver
from napalm_base.exceptions import ConnectionException, \
Expand Down Expand Up @@ -782,7 +783,14 @@ def get_users(self):

return user_auth

def ping(self, destination, source='', ttl=255, timeout=2, size=100, count=5):
def ping(self,
destination,
source=C.PING_SOURCE,
ttl=C.PING_TTL,
timeout=C.PING_TIMEOUT,
size=C.PING_SIZE,
count=C.PING_COUNT,
vrf=C.PING_VRF):
# does not support multiple destination yet

deadline = timeout * count
Expand Down
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-vyos",
version="0.1.2",
version="0.1.3",
packages=find_packages(),
author="Piotr Pieprzycki",
author_email="piotr.pieprzycki@dreamlab.pl",
Expand Down

0 comments on commit 347d6a6

Please sign in to comment.