network/module_utils/network_lsr
Wen Liang dfacbf72f7 arg_validator: normalize numeric value for ArgValidatorNum
In python, bool is a subclass of int. Thus,
isinstance(value, self.numeric_type) would be True, with value being a
bool and numeric_type an int.

ArgValidatorNum should normalize the input values to be of type
self.numeric_type, except the default_value, which might be None (or
anything really).

Signed-off-by: Wen Liang <liangwen12year@gmail.com>
2021-05-24 18:51:54 +08:00
..
nm fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
__init__.py fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
argument_validator.py arg_validator: normalize numeric value for ArgValidatorNum 2021-05-24 18:51:54 +08:00
ethtool.py fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
myerror.py fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
nm_provider.py Add support for ETHTOOL Ring option 2021-05-11 18:19:16 +02:00
utils.py fix python black issues 2021-05-03 18:41:05 +02:00