diff --git a/module_utils/network_lsr/argument_validator.py b/module_utils/network_lsr/argument_validator.py index 7064227..55abf3f 100644 --- a/module_utils/network_lsr/argument_validator.py +++ b/module_utils/network_lsr/argument_validator.py @@ -2079,7 +2079,7 @@ class ArgValidator_ListConnections(ArgValidatorList): "type by '%s'" % (connection["controller"], c["type"]), ) if connection["type"] == "infiniband": - if c["type"] == "bond" and c["bond"]["mode"] != "active_backup": + if c["type"] == "bond" and c["bond"]["mode"] != "active-backup": raise ValidationError( name + "[" + str(idx) + "].controller", "bond only supports infiniband ports in active-backup mode",