Skip to main content

NAPALM driver for Huawei CloudEngine switches

Project description

napalm-ce

This is a NAPALM community driver for the Huawei CloudEngine Switch.

Requirements

Python 3.6+, napalm 3+

Quick start

pip install -i https://test.pypi.org/simple/ napalm-ce
from napalm import get_network_driver

driver = get_network_driver("ce")
device = driver(hostname='192.168.1.1', username='admin', password="Huawei123", optional_args = {'port': 22})
device.open()
facts = device.get_facts()
device.close()

Check the full NAPALM Docs for more detailed instructions.

Implemented API

  • cli(commands)
  • close()
  • commit_config()
  • compare_config()
  • discard_config()
  • get_arp_table(vrf='')
  • get_config(retrieve='all', full=False, sanitized=False)
  • get_environment()
  • get_facts()
  • get_interfaces()
  • get_interfaces_counters()
  • get_interfaces_ip()
  • get_lldp_neighbors()
  • get_mac_address_table()
  • get_users()
  • is_alive()
  • load_merge_candidate(filename=None, config=None)
  • load_replace_candidate(filename=None, config=None)
  • open()
  • ping(destination, source=u'', ttl=255, timeout=2, size=100, count=5, vrf=u'')
  • rollback()

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-ce-0.2.0.tar.gz (17.5 kB view hashes)

Uploaded Source

Built Distribution

napalm_ce-0.2.0-py2.py3-none-any.whl (17.4 kB view hashes)

Uploaded Python 2 Python 3

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