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 #98 from napalm-automation/develop
Browse files Browse the repository at this point in the history
Release 0.6.0
  • Loading branch information
mirceaulinic committed Aug 1, 2017
2 parents f3b0e9c + 8e6cd55 commit 2780510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion napalm_nxos/nxos.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def __init__(self, hostname, username, password, timeout=60, optional_args=None)
if optional_args is None:
optional_args = {}

self.transport = optional_args.get('nxos_protocol', 'http')
# nxos_protocol is there for backwards compatibility, transport is the preferred method
self.transport = optional_args.get('transport', optional_args.get('nxos_protocol', 'https'))

if self.transport == 'https':
self.port = optional_args.get('port', 443)
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-nxos",
version="0.5.3",
version="0.6.0",
packages=find_packages(exclude=["test", "test.*"]),
author="David Barroso",
author_email="dbarrosop@dravetech.com",
Expand Down

0 comments on commit 2780510

Please sign in to comment.