Fix function headers as per #38499

This commit is contained in:
Mircea Ulinic 2017-01-05 11:07:14 +00:00
parent 9a1550d336
commit 62bee3c793
No known key found for this signature in database
GPG key ID: D8D1A1F6129DCBF4
2 changed files with 3 additions and 3 deletions

View file

@ -370,7 +370,7 @@ def cli(*commands):
# in case of errors, they'll be catched in the proxy
def traceroute(destination, source='', ttl=0, timeout=0):
def traceroute(destination, source=None, ttl=None, timeout=None):
'''
Calls the method traceroute from the NAPALM driver object and returns a dictionary with the result of the traceroute
@ -400,7 +400,7 @@ def traceroute(destination, source='', ttl=0, timeout=0):
)
def ping(destination, source='', ttl=0, timeout=0, size=0, count=0):
def ping(destination, source=None, ttl=None, timeout=None, size=None, count=None):
'''
Executes a ping on the network device and returns a dictionary as a result.

View file

@ -68,7 +68,7 @@ def __virtual__():
# ----------------------------------------------------------------------------------------------------------------------
def show(destination, protocol):
def show(destination, protocol=None):
'''
Displays all details for a certain route learned via a specific protocol.