Skip to content

Commit eda0db5

Browse files
committed
fix some issue
1 parent 804c6b6 commit eda0db5

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README-ZH.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ NAPALM华为S系列园区网交换机驱动,支持S5700,S6700等.
2626

2727
使用PIP来安装napalm-huawei-vrp
2828

29-
`pip install napalm napalm-huawei-vrp`
29+
`pip install napalm-huawei-vrp`
3030

3131
## 快速开始
3232

3333
```python
3434
from napalm import get_network_driver
35-
driver = get_network_driver('huawei-vrp')
35+
driver = get_network_driver('huawei_vrp')
3636
device = driver(hostname='192.168.76.10', username='admin', password='this_is_not_a_secure_password')
3737
device.open()
3838

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ The driver is functional and can be used to poll status information:
2626

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

29-
`pip install napalm napalm-huawei-vrp`
29+
`pip install napalm-huawei-vrp`
3030

3131
## Quick start
3232

3333
```python
3434
from napalm import get_network_driver
35-
driver = get_network_driver('huawei-vrp')
35+
driver = get_network_driver('huawei_vrp')
3636
device = driver(hostname='192.168.76.10', username='admin', password='this_is_not_a_secure_password')
3737
device.open()
3838

napalm_huawei_vrp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
# the License.
1414

1515
"""napalm-skeleton package."""
16-
from napalm_huawei_vrp.vrp import VRPDriver # noqa
16+
from napalm_huawei_vrp.huawei_vrp import VRPDriver
1717

1818
__all__ = ('VRPDriver',)

napalm_huawei_vrp/huawei_vrp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def __init__(self, hostname, username, password, timeout=60, optional_args=None)
100100
self.replace = False
101101
self.merge_candidate = ''
102102
self.replace_file = ''
103-
self.profile = ["vrp"]
103+
self.profile = ["huawei_vrp"]
104104

105105
# netmiko args
106106
self.netmiko_optional_args = netmiko_args(optional_args)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
setup(
1313
name="napalm-huawei-vrp",
14-
version="0.1.2",
14+
version="0.1.3",
1515
packages=find_packages(),
1616
author="Locus Li",
1717
author_email="locus@byto.top",

0 commit comments

Comments
 (0)