Commit Graph

13 Commits

Author SHA1 Message Date
IluaAir
27d8931dee Update Mikrotik template to use 'shutdown' attribute for interface management
- Replaced 'disabled' with 'shutdown' in the Mikrotik template to align with the new interface state management.
- Updated expected configuration JSON to set 'shutdown' to true for accurate testing and validation of interface configurations.
2026-07-16 00:21:10 +03:00
IluaAir
099869ff6d Add shutdown command to Huawei interface template and update configuration files
- Included the `shutdown` command in the Huawei interface template to manage interface states.
- Added a new interface configuration in `config.conf` with the `shutdown` command.
- Updated the expected output JSON to reflect the new interface and its shutdown state for accurate testing and validation of configurations.
2026-07-15 16:26:46 +03:00
IluaAir
6846b30df0 Add shutdown command to Qtech interface template and update expected configuration files
- Included the `shutdown` command in the Qtech interface template to manage interface states.
- Updated expected output JSON files to set the `shutdown` attribute to true for accurate testing and validation of interface configurations.
2026-07-15 15:51:48 +03:00
IluaAir
6009f0bf9c Add shutdown command to H3C interface template and update related configuration files
- Included the `shutdown` command in the H3C interface template to reflect the new interface state management.
- Updated the `config.conf` file to include the `shutdown` command for the `HundredGigE1/0/3` interface.
- Modified the expected output JSON to set the `shutdown` attribute to true, ensuring accurate testing and validation of interface configurations.
2026-07-15 15:48:28 +03:00
IluaAir
a521c60d76 Add shutdown attribute to Interfaces class and update related templates
- Added a `shutdown` boolean attribute to the `Interfaces` class to manage interface states.
- Updated the `eltex.ttp` template to include the `shutdown` command based on the new attribute.
- Modified expected configuration JSON files for various devices to reflect the new `shutdown` attribute, ensuring accurate testing and validation of interface configurations.
2026-07-15 00:47:10 +03:00
IluaAir
8edd1a296c Add H3C device support with configuration and expected output files
- Introduced support for H3C devices by adding a new configuration file `config.conf` containing interface and VLAN settings.
- Created an expected output JSON file `config.expected.json` to validate the parsing of H3C configurations.
- Updated the test model cases to include H3C for comprehensive testing of device parsing functionality.
2026-06-11 16:16:14 +03:00
IluaAir
686cd6d715 Remove main execution block from Quasar model and add configuration files for testing
- Eliminated the main execution block from the Quasar model for cleaner code.
- Introduced new configuration files `config_1.conf` and `config_2.conf` for Quasar devices, detailing interface settings and IP configurations.
- Added expected output JSON files `config_1.expected.json` and `config_2.expected.json` to validate the parsing of Quasar configurations against expected results.
2026-06-07 09:12:47 +03:00
IluaAir
acb3a6291c Add expected configuration output for Mikrotik devices
- Introduced a new JSON file `config.expected.json` containing expected system and interface configurations for Mikrotik devices, including model, serial number, IP addresses, and VLAN details.
- This addition facilitates testing and validation of the parsing functionality for Mikrotik configurations.
2026-06-07 09:07:17 +03:00
IluaAir
2ea056aa17 Refactor Mikrotik model and update TTP template for improved configuration handling
- Removed unused imports and main execution block from the Mikrotik model for cleaner code.
- Updated the Mikrotik TTP template to adjust the order of parameters in the 'add' command, enhancing clarity in the generated configurations.
- Added a new configuration file `config.conf` for Mikrotik devices to facilitate testing and validation of parsing functionality.
2026-06-07 09:06:24 +03:00
IluaAir
0ef5e7798a Refactor Qtech model to utilize centralized VLAN range expansion utility
- Replaced the internal `_expand_vlan_range` function in the `Qtech` class with the new `expand_vlan_range` utility from `utils.py` for improved code maintainability.
- Added new configuration files `config_1.conf` and `config_2.conf` for Qtech devices to facilitate testing.
- Introduced expected output JSON files `config_1.expected.json` and `config_2.expected.json` to validate the parsing of Qtech configurations against expected results.
2026-06-07 08:47:08 +03:00
IluaAir
1bc01c9c1b Add Huawei configuration files for testing
- Introduced a new configuration file `config.conf` for Huawei devices, detailing interface settings and VLAN configurations.
- Added an expected output JSON file `config.expected.json` to validate the parsing of Huawei configurations against expected results, including system model, serial number, and interface details.
2026-06-07 08:44:35 +03:00
IluaAir
170a2ebf85 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.
2026-06-07 08:42:58 +03:00
IluaAir
168111e23c Refactor Keenetic model to utilize centralized UTF-8 decoding utility
- Removed the internal `_decode_utf` method from the `Keenetic` class and replaced its usage with the new `decode_utf` utility function for decoding interface descriptions.
- Added a new configuration file `config.conf` for Keenetic devices to facilitate testing.
- Introduced an expected output JSON file `config.expected.json` to validate the parsing of Keenetic configurations against expected results.
2026-06-07 08:41:59 +03:00