Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/napalm-automation-community/napalm-ce
NAPALM driver for Huawei CloudEngine switch.
https://github.com/napalm-automation-community/napalm-ce
Last synced: about 2 months ago
JSON representation
NAPALM driver for Huawei CloudEngine switch.
- Host: GitHub
- URL: https://github.com/napalm-automation-community/napalm-ce
- Owner: napalm-automation-community
- License: apache-2.0
- Created: 2018-06-04T10:30:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-17T09:02:01.000Z (about 1 year ago)
- Last Synced: 2024-11-03T12:02:25.517Z (2 months ago)
- Language: Python
- Homepage:
- Size: 109 KB
- Stars: 37
- Watchers: 10
- Forks: 25
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING
- License: LICENSE
Awesome Lists containing this project
README
[![PyPI](https://img.shields.io/pypi/v/napalm-ce.svg)](https://pypi.python.org/pypi/napalm-ce)
[![PyPI versions](https://img.shields.io/pypi/pyversions/napalm-ce.svg)](https://pypi.python.org/pypi/napalm-ce)# napalm-ce
This is a [NAPALM](https://github.com/napalm-automation/napalm) community driver for the Huawei CloudEngine Switch.
## Requirements
Python 3.6+, napalm 3+
## Install
```shell
pip install napalm-ce
```## Upgrading
```
pip install napalm-ce -U
```## Quick start
```python
from napalm import get_network_driverdriver = 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](https://napalm.readthedocs.io/en/latest/index.html) 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()