Skip to main content

Network Automation and Programmability Abstraction Layer with Multi-vendor support,Driver for Huawei Campus Network Switch,VRP OS

Project description

PyPI PyPI

napalm-huawei-vrp 中文版

NAPALM driver for HUAWEI Campus Network Switch, support the S5700,S6700 etc.

Instructions

The driver is under development and iteration.

Supported

API Description
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
cli() Send any cli commands
get_facts() Return general device information
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() Get interface information
get_interfaces_ip() Get interface IP information
get_interfaces_counters() Get interface counters

Plans to develop

  • get_environment()
  • get_lldp_neighbors_detail()
  • get_snmp_information()
  • get_users()

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.

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.4.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

napalm_huawei_vrp-0.1.4-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file napalm-huawei-vrp-0.1.4.tar.gz.

File metadata

  • Download URL: napalm-huawei-vrp-0.1.4.tar.gz
  • Upload date:
  • Size: 15.1 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

Hashes for napalm-huawei-vrp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 635be34fd2a603d0677b5c0b29a025dd0bdf44210d693bba15ba00690b0ea357
MD5 b762b1af48ba85265740d3606d598749
BLAKE2b-256 ebc4856d1ef876402ac51711bce8fbf7479eb0cd3c0e106f2b8e5a1cb927c265

See more details on using hashes here.

File details

Details for the file napalm_huawei_vrp-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: napalm_huawei_vrp-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 19.0 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

Hashes for napalm_huawei_vrp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d25454a41afde707a1b38dbacfd8521fb8c440dc3c6f4e1a6b7ec9d585bcc00a
MD5 ccd7c95205c13111d3d76d772ec81f0a
BLAKE2b-256 4e0f096fc5af0502470262a6bd50d1110aae2b207f827a4eabfdc5ee92663072

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page