summaryrefslogtreecommitdiff
path: root/python/vyos/opmode.py
AgeCommit message (Collapse)Author
2022-12-12opmode: T4770: add CommitInProgess errorJohn Estabrook
2022-11-18IPsec: T4828: raise op-mode error on incorrect valueJohn Estabrook
2022-11-01op-mode: T4791: decamelize raw output of 'show_*' before normalizationJohn Estabrook
2022-10-28T4765: handle non-string fields in the raw op mode output normalizerDaniil Baturin
2022-10-21T4765: support list and primitives in op mode output normalizationcreate with ansible
2022-10-20T4765: normalize fields only if 'raw' is true; output must be dictJohn Estabrook
2022-10-20T4765: normalize dict fields in op mode ouputsDaniil Baturin
2022-08-30opmode: T4657: fixed opmode with return type hintszsdc
This commit excludes `return` from `typing.get_type_hints()` output, which allows generate argparse arguments for function properly.
2022-08-04T2719: add an exception hierarchy for op mode errorsDaniil Baturin
2022-07-20T2719: fix indentation in vyos.opmodeDaniil Baturin
2022-07-19T2719: patch for general support for boolean optionsJohn Estabrook
Signed-off-by: Daniil Baturin <daniil@vyos.io>
2022-07-05T2719: add general support for boolean options to generative op modeDaniil Baturin
Since Python as of 3.9 doesn't give us an option to look up argument's default value by its name, this implementation requires that all boolean options must default to false.
2022-06-20T2719: use _is_show for detecting show functionsDaniil Baturin
2022-06-16T2719: make re functions usage in vyos.opmode more consistentDaniil Baturin
2022-06-15T2719: correctly handle the raw argument for all show_* commandsDaniil Baturin
2022-06-15T2719: handle the case when script subcommand is not givenDaniil Baturin
2022-06-09T2719: prototype of an op mode command runnerDaniil Baturin
based on type hints and introspection