Refactor Eltex model to use centralized VLAN range expansion utility

- Replaced the internal `_expand_vlan_range` function in the `Eltex` class with the new `expand_vlan_range` utility from `utils.py` for improved code maintainability.
- Added a new configuration file `config.conf` for Eltex devices to facilitate testing.
- Introduced an expected output JSON file `config.expected.json` to validate the parsing of Eltex configurations against expected results.
This commit is contained in:
IluaAir
2026-06-07 08:42:41 +03:00
parent 168111e23c
commit 170a2ebf85
4 changed files with 195 additions and 32 deletions

1
tests/fixtures/eltex/not_found.conf vendored Normal file
View File

@@ -0,0 +1 @@
node not found