Commit Graph
69 Commits
Author SHA1 Message Date
4d86beea46 Update interface_counters from develop (#96)
* adding read_timeout_override netmiko option

* adding netmiko option session_log

* Bump black from 20.8b1 to 24.3.0

Bumps [black](https://github.com/psf/black) from 20.8b1 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits/24.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* remove demjson - blocking tests

* FIX minor formating fixes raised by pylama

* FIX limit napalm and netmiko o version 3.*, soften version requirements

* FIX minor formating fixes raised by pylama

* Allow testing on all supported Py versions

* FIX add platform name to driver s350

* FIX force interface speed as a float

* Update information about required versions to Py3.8+ and napalm 3

* Add scheduled check on develop branch

* Update pkg version in setup.py

* Update PublishToPIP.yml for manual run

* Napalm 4 compatibility, newer dependencies

* Full tox testing on "develop" and "master" branch.

* Remove Py13 - too early

* Do not test on PyPy, local test with local Py version only

* CI ThoroughTest for branches develop and master

* CI FastTest for all other branches.

* CI rename legacy jobs

* CI renaname job

* Updata docs

* Shorten name of publish workflow

* Check syntax for Py3.12

* 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

---------

Signed-off-by: dependabot[bot] <support@github.com>
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 12:45:29 +02:00
Petr Klima f500ec3150 Merge branch 'develop' into interface_counters 2021-03-09 09:55:34 +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 bfe83c9c0c Merge branch 'develop' into interface_counters 2021-03-08 15:33:16 +01:00
Petr Klima 484d55867b interface status only in form 'show interfaces status' 2021-03-08 15:07:28 +01:00
Petr Klima 12e0e8b7c0 unit tests source files for get_interfaces_counters 2021-02-15 20:02:35 +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