dev #4

Merged
gitark merged 8 commits from dev into main 2026-07-19 10:32:26 +03:00

8 Commits

Author SHA1 Message Date
IluaAir
9575450811 Update CI workflow to use custom runner and container
All checks were successful
CI / lint (pull_request) Successful in 3m11s
CI / test (3.10) (pull_request) Successful in 27s
CI / test (3.11) (pull_request) Successful in 36s
CI / test (3.12) (pull_request) Successful in 36s
CI / test (3.13) (pull_request) Successful in 37s
CI / ci-success (pull_request) Successful in 1s
- Changed the runner from `ubuntu-latest` to `rassbery` for the `ci-success` job.
- Specified a custom container `catthehacker/ubuntu:act-22.04` for the job environment, enhancing compatibility and consistency in the CI process.
2026-07-19 10:24:25 +03:00
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
da2bf2f876 Update version to 0.1.1 and add coverage file to .gitignore
- Incremented the project version in `pyproject.toml` from 0.1.0 to 0.1.1.
- Added `.coverage` to `.gitignore` to prevent tracking of coverage reports.
2026-07-15 00:47:56 +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
fb2d135187 Add CI success verification step to workflows
- Introduced a new job `ci-success` in both Gitea and GitHub CI workflows to verify that all previous jobs (lint and test) succeeded.
- The job runs on `ubuntu-latest` and exits with a failure status if any prior job has failed or been cancelled, enhancing the reliability of the CI process.
2026-06-12 20:36:27 +03:00