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 details)
Built Distribution
File details
Details for the file napalm-huawei-vrp-0.1.2.tar.gz
.
File metadata
- Download URL: napalm-huawei-vrp-0.1.2.tar.gz
- Upload date:
- Size: 14.4 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 | bd4aced3e79d4827c7b7249fb0662c08e262353ccd95d131f165ee8fbc26a748 |
|
MD5 | 9659a25289550059b89063eff91da2f5 |
|
BLAKE2b-256 | 8f2da67f115a1918a5324d488b3fa3f1cafa7c7418cd2b4a6c70467844e611de |
File details
Details for the file napalm_huawei_vrp-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: napalm_huawei_vrp-0.1.2-py3-none-any.whl
- Upload date:
- Size: 18.6 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 | 825d340fefde2d3c873fb9aa5e1253d0422a32ef9270b2dab64722a795bfcff0 |
|
MD5 | c92b2232463eb6c635f89fdf12b25e72 |
|
BLAKE2b-256 | e95233f32ea37966ab5986eb16c9546a5652ff4eebb79e188f8c88aeb1a64dc7 |