Cisco ASA driver for NAPALM
Project description
napalm-asa
This is a NAPALM community driver for the Cisco ASA platform.
Minimum Requirements
This driver makes use of the Cisco ASA REST API. The REST API is only available from software version 9.3.2 and up, and on the 5500-X series, ASAv, ASA on Firepower and ISA 3000 platforms.
For latest information on the ASA REST API Compatibility check the compatibility matrix(PDF)
Quick start
pip install napalm-asa
from napalm import get_network_driver
driver = get_network_driver("asa")
device = driver(hostname='192.168.1.1', username='cisco', password="cisco", optional_args = {'port': 8443})
device.open()
facts = device.get_facts()
device.close()
Check the full NAPALM Docs for more detailed instructions.
Supported Getters
| Getter | Support |
|---|---|
| get_arp_table | ✅ |
| get_bgp_config | ❌ |
| get_bgp_neighbors | ❌ |
| get_bgp_neighbors_detail | ❌ |
| get_config | ✅ |
| get_environment | ❌ |
| get_facts | ✅ |
| get_firewall_policies | ❌ |
| get_interfaces | ✅ |
| get_interfaces_counters | ❌ |
| get_interfaces_ip | ✅ |
| get_ipv6_neighbors_table | ❌ |
| get_lldp_neighbors | ❌ |
| get_lldp_neighbors_detail | ❌ |
| get_mac_address_table | ❌ |
| get_network_instances | ❌ |
| get_ntp_peers | ❌ |
| get_ntp_servers | ❌ |
| get_ntp_stats | ❌ |
| get_optics | ❌ |
| get_probes_config | ❌ |
| get_probes_results | ❌ |
| get_route_to | ❌ |
| get_snmp_information | ❌ |
| get_users | ❌ |
| is_alive | ✅ |
| ping | ❌ |
| traceroute | ❌ |
Setting up a Lab Environment
Mock tests are usefull for quickly iterating when writing a new getter of fixing a bug, but you do want to test on a 'real' device to make sure everything works as expected. One of the most convenient ways is to use an ASAv running on Virtualbox + Vagrant. @bobthebutcher has a nice write up on how to setup an ASAv with Vagrant.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file napalm-asa-0.1.4.tar.gz.
File metadata
- Download URL: napalm-asa-0.1.4.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e487c45552caec29a1f7fd58c0b79dab3a0ca23b16e444573a0e0c2881b6bfd
|
|
| MD5 |
9e6d6dcdc60cbd822b08334229febdbd
|
|
| BLAKE2b-256 |
f8152aa78fc3e815dd673c15ab036f23a552bde01a087532fa036b1d8d5eccd9
|
File details
Details for the file napalm_asa-0.1.4-py2.py3-none-any.whl.
File metadata
- Download URL: napalm_asa-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb514d17ce5dee5563f5a437d14634b15aae770b4a6fff63275a4a9ad59a8e6d
|
|
| MD5 |
4fc007d65196301ac7b95ca73d04b2dd
|
|
| BLAKE2b-256 |
b2edc09b8eeb3fb108a56c81cf73fc65b867c21234d63d3aaf54635273de2861
|