Skip to main content

NAPALM driver for OpenGear Linux

Project description

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

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-opengear-0.3.6.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

napalm_opengear-0.3.6-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file napalm-opengear-0.3.6.tar.gz.

File metadata

  • Download URL: napalm-opengear-0.3.6.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for napalm-opengear-0.3.6.tar.gz
Algorithm Hash digest
SHA256 91e8454c3365976eab7bbfc99f6051763247b1e2b3fb764f768f0381d587cdb5
MD5 f8bc3b9ec63059d91c2423264c8c18c9
BLAKE2b-256 915ee55849ae6e80a87ff58d464a560379ca6ceac6e0e7186e56417d340b998e

See more details on using hashes here.

File details

Details for the file napalm_opengear-0.3.6-py3-none-any.whl.

File metadata

File hashes

Hashes for napalm_opengear-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4e7c9ab393e75e174a198642941bf90313302c0c9a346685ac5af52d41c82a09
MD5 bc6ec5985d64a394dc2c9b91e458ed0d
BLAKE2b-256 2ffc85dda2cff1f1d10e22fb51b3478652156234bb8e2289c7c8232e82e37976

See more details on using hashes here.

Supported by

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