Skip to content

Commit

Permalink
fix some issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tkspuk committed Apr 25, 2020
1 parent 804c6b6 commit eda0db5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ NAPALM华为S系列园区网交换机驱动,支持S5700,S6700等.

使用PIP来安装napalm-huawei-vrp

`pip install napalm napalm-huawei-vrp`
`pip install napalm-huawei-vrp`

## 快速开始

```python
from napalm import get_network_driver
driver = get_network_driver('huawei-vrp')
driver = get_network_driver('huawei_vrp')
device = driver(hostname='192.168.76.10', username='admin', password='this_is_not_a_secure_password')
device.open()

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ The driver is functional and can be used to poll status information:

Install napalm and install napalm-huawei-vrp via pip:

`pip install napalm napalm-huawei-vrp`
`pip install napalm-huawei-vrp`

## Quick start

```python
from napalm import get_network_driver
driver = get_network_driver('huawei-vrp')
driver = get_network_driver('huawei_vrp')
device = driver(hostname='192.168.76.10', username='admin', password='this_is_not_a_secure_password')
device.open()

Expand Down
2 changes: 1 addition & 1 deletion napalm_huawei_vrp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
# the License.

"""napalm-skeleton package."""
from napalm_huawei_vrp.vrp import VRPDriver # noqa
from napalm_huawei_vrp.huawei_vrp import VRPDriver

__all__ = ('VRPDriver',)
2 changes: 1 addition & 1 deletion napalm_huawei_vrp/huawei_vrp.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def __init__(self, hostname, username, password, timeout=60, optional_args=None)
self.replace = False
self.merge_candidate = ''
self.replace_file = ''
self.profile = ["vrp"]
self.profile = ["huawei_vrp"]

# netmiko args
self.netmiko_optional_args = netmiko_args(optional_args)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name="napalm-huawei-vrp",
version="0.1.2",
version="0.1.3",
packages=find_packages(),
author="Locus Li",
author_email="locus@byto.top",
Expand Down

0 comments on commit eda0db5

Please sign in to comment.