mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-25 03:47:15 +00:00
library: support sub-second precision for 'wait' property
For testing it is useful to be able to configure very short 'wait' times. Otherwise, the minimally configuable timeout is 1 second.
This commit is contained in:
parent
948d36fa42
commit
2844b3021c
1 changed files with 1 additions and 1 deletions
|
|
@ -655,7 +655,7 @@ class ArgValidator_DictConnection(ArgValidatorDict):
|
|||
nested = [
|
||||
ArgValidatorStr ('name'),
|
||||
ArgValidatorStr ('state', enum_values = ArgValidator_DictConnection.VALID_STATES),
|
||||
ArgValidatorNum ('wait', val_min = 0, val_max = 3600),
|
||||
ArgValidatorNum ('wait', val_min = 0, val_max = 3600, numeric_type = float),
|
||||
ArgValidatorStr ('type', enum_values = ArgValidator_DictConnection.VALID_TYPES),
|
||||
ArgValidatorBool('autoconnect', default_value = True),
|
||||
ArgValidatorStr ('slave_type', enum_values = ArgValidator_DictConnection.VALID_SLAVE_TYPES),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue