Commit Graph
61 Commits
Author SHA1 Message Date
0c54958dbf Release 0.5.1 (#101)
* 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

* Tests for push are enought

* update CD actions

* add tests for device SG500-52

* Merge CI to develop (#95)

* Simplify CI

* CI update

* CI update

* Update CI from develop (#94)

* Add format parameter to get_config()

* Add badges

* Tests for push are enought

* update CD actions

* add tests for device SG500-52

* fetch_command_output helper (#97)

* fetch_command_output.sh tool

* Update fetch_command_update from develop (#93)

* adding read_timeout_override netmiko option

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Petr Klima <petr.klima@madeta.cz>
Co-authored-by: Dave <davama@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anton Gridnev <anton@gridnev.pro>

* Set default command timeout (#98)


* adding read_timeout_override netmiko option

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Petr Klima <petr.klima@madeta.cz>

* Fetch command output - obfuscations (#99)

* add IP and MAC obfuscation

* Add obfuscate strings

* Merge master changes back to develop (#100)

* Lift version to 0.4.1

* Adapt to napalm 4.1 tests (#90)

* 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()

---------

Co-authored-by: Dave <davama@gmail.com>
Co-authored-by: Anton Gridnev <anton@gridnev.pro>

* move version to 0.4.1.1

* 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>

* move version to 5.0.0

* move to version 0.5.0

---------

Co-authored-by: Dave <davama@gmail.com>
Co-authored-by: Anton Gridnev <anton@gridnev.pro>

* better obfuscation for fetch command output

* better obfuscation for fetch command output

* get rid of textFSM templates

* get rid of textFSM templates

* Add support and tests for SG250

* bump to version 0.5.1

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Dave <davama@gmail.com>
Co-authored-by: Anton Gridnev <anton@gridnev.pro>
Co-authored-by: Petr Klima <petr.klima@madeta.cz>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-24 17:27:22 +02:00
d76fa4cd46 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>
2024-04-22 16:08:58 +02:00
e320121d27 Adapt to napalm 4.1 tests (#90)
* 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()

---------

Co-authored-by: Dave <davama@gmail.com>
Co-authored-by: Anton Gridnev <anton@gridnev.pro>
2024-03-29 17:23:46 +01:00
Petr Klima f3d13a5e31 Napalm 4 compatibility, newer dependencies 2024-03-26 16:29:04 +01:00
Petr Klima 7929c6411c FIX force interface speed as a float 2024-03-26 14:08:17 +01:00
Petr Klima 751126a1f5 FIX add platform name to driver s350 2024-03-26 14:07:10 +01:00
Petr Klima 7023c590e4 FIX minor formating fixes raised by pylama 2024-03-26 14:00:02 +01:00
Dave a0b28c9678 adding netmiko option session_log 2023-02-16 16:19:07 -05:00
Dave c74e972691 adding read_timeout_override netmiko option 2023-01-30 08:48:15 -05:00
Petr Klima 11b518fd24 do not use abbrv 'show ip int' use 'show ip interfaces' 2021-03-08 18:13:22 +01:00
Petr Klima 4cee65a279 syntax checks applyed 2021-03-08 15:19:04 +01:00
Petr Klima 484d55867b interface status only in form 'show interfaces status' 2021-03-08 15:07:28 +01:00
Petr Klima 7ca5b3c5b4 Merge branch 'develop' of github.com:napalm-automation-community/napalm-s350 into develop 2021-03-08 14:48:14 +01:00
Petr Klima e24ba606ba syntax repair by 'black' and 'pylama' 2021-03-08 14:38:03 +01:00
Petr Klíma fac504f68a Merge pull request #78 from napalm-automation-community/force_no_enable
Force no enable
2021-03-08 14:33:06 +01:00
Petr Klima 7ef13cf947 implementation of cli() method 2021-03-08 13:44:56 +01:00
Petr Klima 88151c4d5c solving pylama lint errors 2021-02-13 21:19:54 +01:00
Petr Klima ca4b3e8a9d make interface names canonical 2021-02-13 21:09:37 +01:00
laherre 82813eb26e driver force_no_enable option 2020-11-20 13:05:04 +01:00
Petr Klima 8cace53779 typo correction 2020-11-18 11:14:49 +00:00
Petr Klima bdfbf8ba26 fixed merge conflict from main 2020-11-18 12:10:20 +01:00
Petr Klíma 9ce9af6e37 Merge pull request #60 from napalm-automation-community/f-sg300-portchannel
Fix show interfaces parsing
2020-11-18 11:57:53 +01:00
Daniel Bacher f0b360aa25 make show interfaces parser portchannel compatible 2020-11-16 10:46:54 +01:00
Petr Klíma 0cb3cbb9ea two blanklines before class 2020-11-11 20:04:17 +01:00
Petr Klima e3f760faf9 correct hostname and fqdn parsing 2020-11-11 18:58:05 +00:00
Petr Klima e3a650a0ed lint check by pylama 2020-11-11 14:20:56 +01:00
Petr Klima 6fe205de6f accept empty hostname. 2020-11-10 09:37:07 +01:00
Petr Klima 9524433f35 SG500 parsing uptime 2020-11-10 09:33:02 +01:00
Petr Klima 3f7a26fd7a SG500 has diferent field count in 'sh ip int' 2020-11-06 13:46:19 +01:00
Petr Klima ed117140cd correct parsing of interface with whitespace 2020-11-06 13:16:55 +01:00
Petr Klima fd19da1966 model is PID and not marketing descriptio 2020-11-06 08:44:05 +00:00
Petr Klima 04b3aabacb get_lldp_neighbors can detect owerflown fields 2020-11-05 17:17:52 +01:00
Petr Klima ce825d9e55 make syntax checks happy 2020-11-04 15:16:46 +00:00
Petr Klima d1de442390 corrected getters arguments 2020-11-04 13:56:43 +00:00
Petr Klima 5c7229fa14 get_config_* unit tests 2020-11-04 13:39:30 +00:00
Petr Klima 1ea7fbd241 correct parse os_version 2020-11-04 10:16:08 +01:00
Petr Klima 657bcc570d corrected flake8 - too complex on get_facts 2020-11-03 20:04:16 +01:00
Petr Klima fa989927d5 corrected flake8 - too complex on get_lldp_neighbors_detail 2020-11-03 19:58:38 +01:00
Petr Klima baf4531929 corrected flake8 lint and syntax errors 2020-11-03 19:38:42 +01:00
Daniel Bacher e74495ffb9 adjust get_ntp_servers function for compatibility with sgx00 series
include is not available on sgx00 devices
2020-11-03 16:58:12 +01:00
Daniel Bacher 711bfbc1ba adjust get_lldp_neighbors function for compatibility with sgx00 series
begin is not available on sgx00 devices
Output can contain line breaks in some columns this need to be filtered
2020-11-03 16:42:05 +01:00
Petr Klima 561c5159d6 get_ntp_servers tests for SG350X-48P 2020-11-03 16:18:30 +01:00
Petr Klima 17be10cd6a get_lldp_neighbors_detail test for SG350X-48P 2020-11-03 15:52:39 +01:00
Petr Klima 0cb23fa5de show_lldp_neighbors with long systemname test for SG350X-48P 2020-11-03 15:33:57 +01:00
Petr Klima 89c020d1d4 get_lldp_neighbours tests for SG350X-48P-K9 2020-11-03 15:22:11 +01:00
Petr Klima dc7f82cc15 get_interfaces unit test for SG350X-48P 2020-11-03 11:18:55 +00:00
Petr Klima 858636bf73 get_arp_table unit tests on SG350X-48P 2020-11-03 10:27:13 +00:00
Petr Klima e232ad1ae9 upravy commadu 2020-11-03 09:57:28 +00:00
Daniel Bacher c7d6577a2c adjust get_interfaces_ip function for compatibility with sgx00 series
include and begin are not available on sgx00 devices
2020-10-30 10:46:37 +01:00
Daniel Bacher 5a2d22302a adjust get_interfaces function for compatibility with sgx00 series
include and begin are not available on sgx00 devices
2020-10-30 10:31:42 +01:00