summaryrefslogtreecommitdiff
path: root/python/vyos/opmode.py
AgeCommit message (Collapse)Author
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