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_ip(): Get interface IP
- get_interfaces_counters(): Get interface counters
How to Install
Install napalm and install napalm-huawei-vrp via pip:
pip install napalm 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.2.tar.gz
(14.4 kB
view hashes)
Built Distribution
Close
Hashes for napalm_huawei_vrp-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 825d340fefde2d3c873fb9aa5e1253d0422a32ef9270b2dab64722a795bfcff0 |
|
MD5 | c92b2232463eb6c635f89fdf12b25e72 |
|
BLAKE2b-256 | e95233f32ea37966ab5986eb16c9546a5652ff4eebb79e188f8c88aeb1a64dc7 |