Skip to content

Commit 26c947d

Browse files
author
alexquali
committed
Fix interface current configuration verification
1 parent 2cf1d7a commit 26c947d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudshell/networking/huawei/huawei_command_actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def verify_interface_configured(vlan_range, current_config):
481481
:return: True or False
482482
"""
483483

484-
return str(vlan_range) in current_config
484+
return "vlan {vlan_range}".format(vlan_range=vlan_range) in current_config
485485

486486

487487
def enable_snmp(session, snmp_community, action_map=None, error_map=None):

0 commit comments

Comments
 (0)