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.
This commit is contained in:
IluaAir
2026-07-15 16:26:46 +03:00
parent 6846b30df0
commit 099869ff6d
3 changed files with 19 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ default_system = {
<group name="interfaces">
interface {{ interface }}
description {{ description | ORPHRASE }}
shutdown {{ shutdown | set(True) }}
ip address {{ ip_address }} {{ mask | to_cidr }}
</group>
<group name="vlans">