75 Commits
Author SHA1 Message Date
Petr Klima 7b731c0330 Add support and tests for SG250 2024-04-24 16:09:07 +02:00
Petr Klima 6342476312 better obfuscation for fetch command output 2024-04-24 14:58:59 +02:00
Petr Klima bcb1e3094f better obfuscation for fetch command output 2024-04-24 14:47:55 +02:00
Petr Klíma 092f595742 Fetch command output - obfuscations (#99)
* add IP and MAC obfuscation

* Add obfuscate strings
2024-04-24 10:06:31 +02:00
Petr KlímaandPetr Klima 6062084fb9 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>
2024-04-23 15:33:39 +02:00
ce7f542df9 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>
2024-04-23 15:06:20 +02:00
Petr Klima 08071570d2 add tests for device SG500-52 2024-04-23 09:11:35 +02:00
Petr Klima cf47f5ed1e Adapt Unit tests to canonical_interface_name() 2024-03-29 16:59:16 +01:00
Petr KlímaandAnton Gridnev c4a36239f6 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>
2024-03-29 15:51:28 +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