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.
This commit is contained in:
IluaAir
2026-07-15 15:51:48 +03:00
parent 6009f0bf9c
commit 6846b30df0
3 changed files with 3 additions and 2 deletions

View File

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

View File

@@ -7,7 +7,7 @@
"interfaces": [
{
"interface": "GigaEthernet1/0/9",
"shutdown": false,
"shutdown": true,
"ip_address": null,
"mask": null,
"description": "FREE"

View File

@@ -7,7 +7,7 @@
"interfaces": [
{
"interface": "GigaEthernet1/0/9",
"shutdown": false,
"shutdown": true,
"ip_address": null,
"mask": null,
"description": "FREE"