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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file napalm-ce-0.2.0.tar.gz
.
File metadata
- Download URL: napalm-ce-0.2.0.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a3bcdf5fe634c62856020992a30f07d1978453c85d144bbd572f610d888df59 |
|
MD5 | 0086b131f22929d9641aabb3871d798e |
|
BLAKE2b-256 | 57da69cc93345e11fdfaddabef0cf02ae9f2e4b49096b8a7074a7872a116e879 |
File details
Details for the file napalm_ce-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: napalm_ce-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaf56548ce69200f22948584dc4dfe1616021a2dbb11441d246a978aaa14952b |
|
MD5 | de104a5320a1dfdb34f44380815bf9e8 |
|
BLAKE2b-256 | bcad6a9e640cef65c67f772caeda5e70473a27d0412c8b184ee12129400f9f70 |