Network Automation and Programmability Abstraction Layer with Multi-vendor support,Driver for Huawei Campus Network Switch,VRP OS
Project description
napalm-huawei-vrp 中文版
NAPALM driver for HUAWEI Campus Network Switch, support the S5700,S6700 etc.
Instructions
The driver is functional and can be used to poll status information:
- get_facts(): Return general device information
- cli(): send any cli commands
- get_lldp_neighbors(): Fetch LLDP neighbor information
- get_config(): Read config
- is_active(): get devices active status
- ping(): Ping remote ip
- get_arp_table(): Get device ARP table
- get_mac_address_table(): Get mac table of connected devices
- get_interfaces(): Get interface information
- get_interfaces_ip(): Get interface IP information
- get_interfaces_counters(): Get interface counters
How to Install
Install napalm and install napalm-huawei-vrp via pip:
pip install napalm-huawei-vrp
Quick start
from napalm import get_network_driver
driver = get_network_driver('huawei_vrp')
device = driver(hostname='192.168.76.10', username='admin', password='this_is_not_a_secure_password')
device.open()
get_facts = device.get_facts()
print(get_facts)
send_command = device.cli(['dis ver', 'dis cu'])
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
napalm-huawei-vrp-0.1.3.tar.gz
(14.6 kB
view details)
Built Distribution
File details
Details for the file napalm-huawei-vrp-0.1.3.tar.gz
.
File metadata
- Download URL: napalm-huawei-vrp-0.1.3.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8327adc4c070040c70ee7c22b8aafdd58f608344a15de62b26078983769f10d6 |
|
MD5 | 67a534685056fdb559c4035cf1cba370 |
|
BLAKE2b-256 | 596bf01bf8f9cb54b8e7db3277d670f89ce3eaffa035f180dc21c5c1d85dea07 |
File details
Details for the file napalm_huawei_vrp-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: napalm_huawei_vrp-0.1.3-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bbb328f0fdd0f588a16dadacd557709a7ce6fe09e2b83c2142b0787beb00212 |
|
MD5 | e753ef5952aadf234bba7c3bdd0c66e6 |
|
BLAKE2b-256 | 4266db3ff788a12a50dde91caf43e5d4e69cc5ffe0b913ac728a79c1d3fb7843 |