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.
This commit is contained in:
@@ -23,6 +23,7 @@ default_system = {
|
||||
interface {{ interface }}
|
||||
description {{ description | ORPHRASE }}
|
||||
ip address {{ ip_address }} {{ mask | to_cidr }}
|
||||
shutdown {{ shutdown | set(True) }}
|
||||
</group>
|
||||
|
||||
<group name="vlans">
|
||||
|
||||
Reference in New Issue
Block a user