68 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
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 5049dcdfd6 FIX minor formating fixes raised by pylama 2024-03-26 14:04:04 +01:00
Petr Klima ab67b55421 Support for CBS350-24P-4G 2021-03-09 08:39:01 +01:00
Petr Klima 6c21879bc4 unit test mocked_data for CSB350-24P-4G 2021-03-08 18:15:47 +01: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 8228244ceb add command outputs for CBS350-24P-4G 2021-03-08 17:52:40 +01:00
Petr Klima d203db5eba move command outputs outside of mocked_data dir 2021-03-08 17:51:44 +01:00
Petr Klima 484d55867b interface status only in form 'show interfaces status' 2021-03-08 15:07:28 +01:00
Petr Klima 9361455cbd adjust tests for canonial names 2021-02-13 21:12:48 +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 a431aaa8a8 add portchannel test for SG300 2020-11-16 10:31:15 +01:00
Daniel Bacher 90f47dd86f add domainname tests for SG500 and SG300
see #58
2020-11-13 14:33:27 +01:00
Petr Klima 3e97500230 hostname parsing - correct unittests 2020-11-11 19:56:49 +01:00
Petr Klima b6f723bbfa complete unit tests for SG550 2020-11-10 17:19:17 +01:00
Petr Klima 31f5ea8737 Merge branch 'develop' into SG550 2020-11-10 17:00:39 +01:00
Petr Klima 9716b24907 creating/checking results files of unit tests 2020-11-10 16:59:26 +01:00
Petr Klima 22c02e3924 base set of unit test input files 2020-11-10 16:23:02 +01:00
Petr Klima 31392339e2 typo in SG500 test 2020-11-10 09:54:27 +01:00
Petr Klima ae846f4132 Merge branch 'develop' into SG500 2020-11-10 09:48:19 +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
Daniel Bacher 3a37f845e4 add test case get_ntp_server for SG500-28-K9
closes #38
2020-11-09 16:02:46 +01:00
Daniel Bacher e4eb128151 add test case get_lldp_neighbors_detail for SG500-28-K9
see #38
2020-11-09 15:53:59 +01:00
Daniel Bacher 18eaf8423a Merge changes from develop 2020-11-09 15:41:39 +01:00
Daniel Bacher daeb208fe7 add test case get_lldp_neighbors for SG500-28-K9
see #38
2020-11-09 15:40:47 +01:00
Petr Klíma cf22f58baf Merge pull request #44 from KIT-IAI/f-test-sg500-28-K9 2020-11-06 13:31:38 +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 Klíma cfcb69a7ca Merge pull request #36 from KIT-IAI/f-tests-sx300
add missing tests for sg300-10
2020-11-06 07:42:35 +01:00
Daniel Bacher 7111ebac20 add test case get_interfaces_ip for sg500-28-k9
see #38 and #40
2020-11-05 17:41:16 +01:00
Daniel Bacher 94ad15b919 add test case get_interfaces for SG500-28-K9
see #38
2020-11-05 17:31:30 +01:00
Daniel Bacher fe2eff45f3 add test case get_facts for sg500-28-K9
see #38 and #37
2020-11-05 17:20:44 +01:00
Petr Klima 04b3aabacb get_lldp_neighbors can detect owerflown fields 2020-11-05 17:17:52 +01:00
Daniel Bacher 394adfbe8f add test case get_config_sanitized for SG500-28-K9
see #38
2020-11-05 17:13:31 +01:00
Daniel Bacher 563ddeb822 add test case get_config_filtered for SG500-28-K9
see #38
2020-11-05 17:08:46 +01:00
Daniel Bacher 6068f692a2 add test case get_config for SG500-28-K9
see #38
2020-11-05 17:07:12 +01:00
Daniel Bacher a90fe86d45 add test case get_arp_table_with_vrf for SG500-28-K9
see #38
2020-11-05 16:56:35 +01:00
Daniel Bacher f3c13514b5 add test case get_arp for SG500-28-K9
see #38
2020-11-05 16:52:34 +01:00
Daniel Bacher 186e507379 add example output from sg500-28-K9 2020-11-05 16:33:08 +01:00
Daniel Bacher aadfe73b5d add test case get_facts for sg300-10 2020-11-05 15:14:20 +01:00
Daniel Bacher d628f22d81 add test case get_ntp_servers for sg300-10 2020-11-05 15:08:50 +01:00
Daniel Bacher bc9cb759fd add test case get_lldp_neighbors_detail for sg300-10 2020-11-05 13:43:58 +01:00
Daniel Bacher 0703a071ef add test case get_lldp_neighbors with long port id 2020-11-05 13:05:02 +01:00
Daniel Bacher 9b12ae976b add test case get_lldp_neighbors for sg300-10 2020-11-05 13:04:11 +01:00
Daniel Bacher 019970ecae add test case get_interfaces_ip for sg300-10 2020-11-05 12:52:34 +01:00
Daniel Bacher cf02548619 add test case get_interfaces for sg300-10 2020-11-05 12:48:57 +01:00
Daniel Bacher 1c4040325e document missing command and add example for sg300-10 2020-11-05 12:46:34 +01:00
Daniel Bacher e15b56f4d8 add tests for get_config cases for sg300-10 2020-11-05 12:23:31 +01:00
Daniel Bacher 4d083d1e6e add test case get_arp_table_with_vrf for sg300-10 2020-11-05 11:21:13 +01:00