Registry / devops / napalm-huawei-vrp

napalm-huawei-vrp

JSON →
library1.2.0pypypiunverified

Driver for Huawei VRP (Versatile Routing Platform) devices under the NAPALM automation framework. Version 1.2.0 provides multi-vendor network automation with getters like get_facts, get_interfaces, get_bgp_neighbors, and configuration management. Releases are irregular, with v1.2.0 from April 2024.

pip install napalm-huawei-vrp
INSTALL
IMPORT
SIG · NAPALM-HUAWEI-VRP
N
napalm-huawei-vrp
devopspythonv1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HuaweiVRP
from napalm_huawei_vrp import HuaweiVRPDriver

Basic usage: instantiate driver with hostname and credentials, open connection, fetch facts.

from napalm import get_network_driver import os driver = get_network_driver('huawei_vrp') device = driver( hostname='192.0.2.1', username=os.environ.get('USER', 'admin'), password=os.environ.get('PASSWORD', 'admin'), optional_args={'port': 22} ) device.open() print(device.get_facts()) device.close()
napalm --version
Debug
Known issues
breakingv1.0.0 dropped support for NAPALM <3.0 and changed driver name from 'huawei_vrp' (case-sensitive).
fix
Use exact string 'huawei_vrp' in get_network_driver().
affects: >=1.0.0
gotchaOptional_args like 'port' must be integers, not strings.
fix
Pass port=22 (int) instead of port='22'.
affects: all
deprecatedNAPALM v3+ deprecated napalm_base; import from napalm directly.
fix
Install napalm>=3.0 and use 'from napalm import get_network_driver'.
affects: napalm>=3.0
Upgrade
Version history
1.2.0latest on PyPI · released Apr 6, 2024
Audit
Dependencies
napalmrequiredCore framework required
ncclientoptionalNETCONF transport (if used)
scraplioptionalAlternative transport (if used)
Agent activity
2 hits · last 30 days
node
2
Resources
napalm-huawei-vrp — pip install napalm-huawei-vrp · libregistry