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 hashes)
Built Distribution
Close
Hashes for napalm_huawei_vrp-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bbb328f0fdd0f588a16dadacd557709a7ce6fe09e2b83c2142b0787beb00212 |
|
MD5 | e753ef5952aadf234bba7c3bdd0c66e6 |
|
BLAKE2b-256 | 4266db3ff788a12a50dde91caf43e5d4e69cc5ffe0b913ac728a79c1d3fb7843 |