Merge pull request #38577 from cloudflare/PREP-2016.11.2

Fix function headers as per #38499
This commit is contained in:
Mike Place 2017-01-05 11:41:33 -07:00 committed by GitHub
commit 0706cde626
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.