{"id":27979,"library":"napalm-huawei-vrp","title":"NAPALM Huawei VRP driver","description":"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.","status":"active","version":"1.2.0","language":"python","source_language":"en","source_url":"https://github.com/napalm-automation-community/napalm-huawei-vrp","tags":["network","automation","napalm","huawei","vrp"],"install":[{"cmd":"pip install napalm-huawei-vrp","lang":"bash","label":"PyPI"}],"dependencies":[{"reason":"Core framework required","package":"napalm","optional":false},{"reason":"NETCONF transport (if used)","package":"ncclient","optional":true},{"reason":"Alternative transport (if used)","package":"scrapli","optional":true}],"imports":[{"note":"","wrong":null,"symbol":"HuaweiVRP","correct":"from napalm_huawei_vrp import HuaweiVRPDriver"}],"quickstart":{"code":"from napalm import get_network_driver\nimport os\n\ndriver = get_network_driver('huawei_vrp')\ndevice = driver(\n    hostname='192.0.2.1',\n    username=os.environ.get('USER', 'admin'),\n    password=os.environ.get('PASSWORD', 'admin'),\n    optional_args={'port': 22}\n)\ndevice.open()\nprint(device.get_facts())\ndevice.close()","lang":"python","description":"Basic usage: instantiate driver with hostname and credentials, open connection, fetch facts."},"warnings":[{"fix":"Use exact string 'huawei_vrp' in get_network_driver().","message":"v1.0.0 dropped support for NAPALM <3.0 and changed driver name from 'huawei_vrp' (case-sensitive).","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Pass port=22 (int) instead of port='22'.","message":"Optional_args like 'port' must be integers, not strings.","severity":"gotcha","affected_versions":"all"},{"fix":"Install napalm>=3.0 and use 'from napalm import get_network_driver'.","message":"NAPALM v3+ deprecated napalm_base; import from napalm directly.","severity":"deprecated","affected_versions":"napalm>=3.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Run 'pip install napalm-huawei-vrp'.","cause":"Package not installed.","error":"ModuleNotFoundError: No module named 'napalm_huawei_vrp'"},{"fix":"Check hostname, port (default 22), username/password, and that device is reachable.","cause":"Wrong SSH port, credentials, or connectivity.","error":"napalm.base.exceptions.ConnectionException: Could not open connection to ..."}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}