Refactor Qtech model and update TTP template

- Removed the `interfaces` method from the `Qtech` model, simplifying the interface processing.
- Updated the TTP template to use `mask` instead of `netmask` for IP address configuration, enhancing clarity in CIDR notation.
This commit is contained in:
IluaAir
2026-02-28 10:44:20 +03:00
parent c382627f9f
commit bf6dd0c189
2 changed files with 2 additions and 13 deletions

View File

@@ -16,7 +16,7 @@ default_system = {
<group name="interfaces">
interface {{ interface }}
description {{ description | ORPHRASE }}
ip address {{ ip_address }} {{ netmask }}
ip address {{ ip_address }} {{ mask | to_cidr }}
</group>
<group name="vlans">