All Projects → napalm-automation-community → napalm-huawei-vrp

napalm-automation-community / napalm-huawei-vrp

Licence: Apache-2.0 license
NAPALM Driver for Huawei VRP5/VRP8 Routers and Switches

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to napalm-huawei-vrp

net-api
A documented REST API which returns structured data from network devices
Stars: ✭ 73 (+46%)
Mutual labels:  napalm, netmiko
netascode
This repo contains an example of the virtual network of a fictitious company which you can use to play and to learn network automation. Public repository for Network as Code. NaC model.
Stars: ✭ 36 (-28%)
Mutual labels:  netmiko, network-automation
hms-health-demo-java
HMS Health demo code provides demo programs for your reference or usage. Developers can access the Huawei Health Platform and obtain sports & health data by integrating HUAWEI Health.
Stars: ✭ 37 (-26%)
Mutual labels:  huawei
appsflyer-oaid
AppsFlyer OAID collection
Stars: ✭ 20 (-60%)
Mutual labels:  huawei
solar-logger
A datalogger for a solar inverter. Stores data in influxdb and displays it in grafana. Has load diverting capability, to use the inverter's excess power
Stars: ✭ 53 (+6%)
Mutual labels:  huawei
Huawei2019CodeCraft
2019年华为软件精英挑战赛代码仓储,最美代码奖,初赛复赛西北第一,决赛32强
Stars: ✭ 36 (-28%)
Mutual labels:  huawei
napalm-logs
Cross-vendor normalisation for network syslog messages, following the OpenConfig and IETF YANG models
Stars: ✭ 131 (+162%)
Mutual labels:  napalm
huawei solar
Home Assistant integration for Huawei Solar inverters via Modbus
Stars: ✭ 126 (+152%)
Mutual labels:  huawei
gomiko
multi-vendor networking SDK.
Stars: ✭ 46 (-8%)
Mutual labels:  netmiko
huawei-account-demo
Sample code for quickly integrate Huawei ID. HUAWEI Account Kit provides developers with simple, secure, and quick sign-in and authorization functions.
Stars: ✭ 39 (-22%)
Mutual labels:  huawei
Network-Automation
Cisco ACI, Firepower, Meraki, NETCONF, and SQL Python Programs
Stars: ✭ 47 (-6%)
Mutual labels:  netmiko
Huawei-Bootloader-Unlocker
This little tool let you unlock your bootloader of your huawei family device easily
Stars: ✭ 176 (+252%)
Mutual labels:  huawei
ansible-openwrt
Ansible collection to configure your OpenWrt devices more quickly and automatically (without Python)
Stars: ✭ 34 (-32%)
Mutual labels:  network-automation
community.network
Ansible Community Network Collection
Stars: ✭ 85 (+70%)
Mutual labels:  network-automation
hms-health-demo-kotlin
HMS Health demo code provides demo programs for your reference or usage. Developers can access the Huawei Health Platform and obtain sports & health data by integrating HUAWEI Health.
Stars: ✭ 21 (-58%)
Mutual labels:  huawei
hms-push-serverdemo-csharp
C# sample code encapsulates APIs of the HUAWEI Push Kit server. It provides many sample programs for your reference or usage.
Stars: ✭ 25 (-50%)
Mutual labels:  huawei
hms-cordova-plugin
This repo contains all of Cordova HMS plugins.
Stars: ✭ 78 (+56%)
Mutual labels:  huawei
hms-av-pipeline-demo
HUAWEI AV Pipeline Kit sample code project, which contains the Java sample code to implement functions like video playback, video super-resolution and media asset management. C++ sample code is contained for calling MediaFilter to use the sound event detection plugin.
Stars: ✭ 14 (-72%)
Mutual labels:  huawei
hms-location-demo
HUAWEI Location Kit sample code encapsulates APIs of the HUAWEI Location Kit. It provides many sample programs for your reference or usage.
Stars: ✭ 32 (-36%)
Mutual labels:  huawei
HUAWEI-STORE-GO
华为商城抢购手机的Python脚本 Python script of Huawei Store snapping up mobile phones
Stars: ✭ 110 (+120%)
Mutual labels:  huawei

PyPI PyPI

NAPALM Huawei VRP

It's a NAPALM Community Driver for Huawei VRP5/VRP8 Enterprise/Service Provider Routers and Switches.

This repository is reference NAPALM-CE and Cisco IOS code, thanks for thdDaniel's contribution 中文版

Supported Huawei Network Devices

  • NE Series:
    • 40E, 8000
  • AR Series:
    • 2200
  • ATN 900 Series:
    • 910B, 910C and 910D
  • S Switch Series:
    • S5700, S6700

This driver is not limited to these models and series, these are just devices where the driver have been tested.

Instructions

The driver is under development and iteration.

Get info

API Description
get_facts() Return general device information
get_config() Read config
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
get_lldp_neighbors() Fetch LLDP neighbor information

Config

API Description
cli() Send any cli commands
load_merge_candidate() Load config
compare_config() A string showing the difference between the running configuration and the candidate configuration
discard_config() Discards the configuration loaded into the candidate
commit_config() Commits the changes requested by the method load_replace_candidate or load_merge_candidate

Other tools

API Description
is_active() get devices active status
ping() Ping remote ip

Plans to develop

  • get_bgp_config
  • get_bgp_neighbors
  • get_bgp_neighbors_detail
  • get_environment
  • get_ipv6_neighbors_table
  • get_lldp_neighbors_detail
  • get_network_instances
  • get_ntp_peers
  • get_ntp_servers
  • get_ntp_stats
  • get_optics
  • get_route_to
  • get_snmp_information
  • get_users
  • get_vlans

How to Install

You can install napalm-huawei-vrp with pip:

pip install napalm-huawei-vrp

That will install napalm and huawei_vrp driver currently available.

How to upgrade

You can upgrade napalm-huawei-vrp with pip once the new version released:

pip install --upgrade napalm-huawei-vrp

check the package version.

pip list | grep 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()

# Send Any CLI command
send_command = device.cli(['dis version'])

#  Return general device information
get_facts = device.get_facts()
print(get_facts)

# other API
device.get_config()
device.get_arp_table()
device.get_mac_address_table()
device.get_interfaces()
device.get_interfaces_ip()
device.get_interfaces_counters()
device.get_lldp_neighbors()

Contact

Slack

Slack is probably the easiest way to get help with NAPALM. You can find us in the channel napalm on the network.toCode() team.

News

YouTube Videos

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].