Make it napalm 5 compliant (#92)
* use netmiko_args * Add changes for 4.1.0 (#89) * Update requirements.txt * Typpo in requirements * _send_command has only two parameters * Adapt to stricter Unit tests --------- Co-authored-by: Anton Gridnev <anton@gridnev.pro> * Remove s350_base_interfaces custom map - it is allready in napalm base * Adapt Unit tests to canonical_interface_name() * Add format parameter to get_config() * Add badges --------- Co-authored-by: Dave <davama@gmail.com> Co-authored-by: Anton Gridnev <anton@gridnev.pro>
This commit is contained in:
2 files changed
+11
-4
No files matched your search
@@ -3,11 +3,12 @@
|
|||||||
NAPALM driver for Cisco SMB switches (SF3xx, SF5xx, SG3xx, SG5xx, CBS35x).
|
NAPALM driver for Cisco SMB switches (SF3xx, SF5xx, SG3xx, SG5xx, CBS35x).
|
||||||
|
|
||||||
## Status
|
## Status
|
||||||
Master: 
|
|
||||||
|
|
||||||
Develop: 
|
Master: [](https://github.com/napalm-automation-community/napalm-s350/actions/workflows/ThoroughTest.yml)
|
||||||
|
|
||||||
PyPi: [](https://github.com/napalm-automation-community/napalm-s350/actions?query=workflow%3A%22Upload+Python+Package+to+PyPi.org%22)
|
Develop: [](https://github.com/napalm-automation-community/napalm-s350/actions/workflows/ThoroughTest.yml)
|
||||||
|
|
||||||
|
PyPi.org: [](https://github.com/napalm-automation-community/napalm-s350/actions/workflows/PublishToPIP.yml)
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
|
|||||||
+7
-1
@@ -157,7 +157,13 @@ class S350Driver(NetworkDriver):
|
|||||||
|
|
||||||
return arp_table
|
return arp_table
|
||||||
|
|
||||||
def get_config(self, retrieve="all", full=False, sanitized=False):
|
def get_config(
|
||||||
|
self,
|
||||||
|
retrieve="all",
|
||||||
|
full=False,
|
||||||
|
sanitized=False,
|
||||||
|
format: str = "text",
|
||||||
|
):
|
||||||
"""
|
"""
|
||||||
get_config for S350. Since this firmware doesn't support a candidate
|
get_config for S350. Since this firmware doesn't support a candidate
|
||||||
configuration we leave it empty.
|
configuration we leave it empty.
|
||||||
|
|||||||
Reference in new issue
Block a user