napalm-opengear
NAPALM driver for Opengear Linux
Your Jinja2 might look like:
config.system.name {{ inventory_hostname }}
This is turned into
sudo config -s config.system.name=...
Anything without a value (just a key like config.delayed) will be deleted via config -d $key.
We use cp to store a state between "running" and "startup". Diffs are created by moving config.xml around and seeing what changed.
Do not edit config.xml outside of NAPALM or you will be missing changes.
Editing the XML or diffing the XML is not supported, this may limit the amount of configuration we can provide in a 2-dimensional "set" like structure.
Implemented APIs
- close
- get_arp_table
- get_config
- is_alive
- open
- get_facts
- get_interfaces
- get_interfaces_ip
- commit_config
- compare_config
- discard_config
- rollback
- load_merge_candidate
- get_users
- cli
Missing APIs.
- compliance_report
- connection_tests
- get_bgp_config
- get_bgp_neighbors
- get_firewall_policies
- get_ipv6_neighbors_table
- get_network_instances
- get_optics
- get_probes_config
- get_probes_results
- get_route_to
- load_replace_candidate
- load_template
- post_connection_tests
- pre_connection_tests
- ping
- traceroute
- get_bgp_neighbors_detail
- get_environment
- get_interfaces_counters
- get_lldp_neighbors
- get_lldp_neighbors_detail
- get_mac_address_table
- get_ntp_peers
- get_ntp_servers
- get_ntp_stats
- get_snmp_information
- [...]
How to release
git tag v0.3.2 <commit hash>
git push --tags
Actions should take care of the rest and cut a release and push it to pypi
Release files for napalm-opengear 0.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| napalm-opengear-0.3.6.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| napalm_opengear-0.3.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.6 kB
Release files / napalm-opengear-0.3.6.tar.gz
| Download URL | napalm-opengear-0.3.6.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91e8454c3365976eab7bbfc99f6051763247b1e2b3fb764f768f0381d587cdb5
|
|
BLAKE2b-256 checksum How to use checksums |
915ee55849ae6e80a87ff58d464a560379ca6ceac6e0e7186e56417d340b998e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / napalm_opengear-0.3.6-py3-none-any.whl
| Download URL | napalm_opengear-0.3.6-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e7c9ab393e75e174a198642941bf90313302c0c9a346685ac5af52d41c82a09
|
|
BLAKE2b-256 checksum How to use checksums |
2ffc85dda2cff1f1d10e22fb51b3478652156234bb8e2289c7c8232e82e37976
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|