Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/interfaces assignments (#85)
* first draft of converge file * first draft of the molecule file * fixed typo * fixed module naming * first draft of the utils * added first draft of plugins/module_utils/interfaces_assignments_utils.py * added first draft of plugins/modules/interfaces_assignments.py * added first draft of plugins/module_utils/module_index.py * added missing function * updated interfaces_assignments.py * updated converge.yml * finished tests * updated converge.yml * updated interfaces_assignments_utils.py * added verify file * updated module_index * updated interfaces_assignments * removed old file * updated tests * updated typo in tests * updated tests * added docstring to Interface_assignment class * added docstring to Interface_assignment functions * added class- and docstring to class InterfacesSet * updated linter errors * updated linter errors * updated linter errors * some more linter erros * fixed typo * excluded tests from linter * some linter changes + comparision fixed * added full config as test xml * fixed RETURN * fixed RETURN * some more linter errors * sanity error fix * XML Utility: elements_equal (#86) * Drop ansible core devel python 3.7 support * Make dict_to_etree exception more verbose * Add elements_equal xml utility * Lint xml utils sequence bool check * Format changes * initial version of the system_settings_logging module (#61) * initial version of the system_settings_logging module --------- Co-authored-by: KiLLuuuhh <[email protected]> * updated linter errors * XML Utility: elements_equal (#86) * Drop ansible core devel python 3.7 support * Make dict_to_etree exception more verbose * Add elements_equal xml utility * Lint xml utils sequence bool check * Format changes * updated module_index * initial version of the system_settings_logging module (#61) * initial version of the system_settings_logging module --------- Co-authored-by: KiLLuuuhh <[email protected]> * updated module_index * added pylint: disable=duplicate-code * updated converge tests * updated unit tests * changed error message * added fail_json exceptions * updated utils, so that local interfaces can be queried and created logic for interface update * updated module_index * updated test contexts * refactored some code for the linter * fixed list error * black * added some tests * added new error * fixed typing issue * fixed doc issue * added fully qualified collection names * removed OPNSenseInterfaceNotFoundError * applied DonGiovannis suggestions * removed InterfaceNotFound error since it is not used * restructured get_interfaces method to not rely on removed interfaces_list module_index entry * removed unused entries * removed unused interfaces_list entry * some more module_index updates * Update plugins/modules/interfaces_assignments.py Co-authored-by: Fabio Bertagna <[email protected]> * Update plugins/module_utils/interfaces_assignments_utils.py Co-authored-by: Fabio Bertagna <[email protected]> * Update plugins/module_utils/module_index.py Co-authored-by: Fabio Bertagna <[email protected]> * Update plugins/module_utils/module_index.py Co-authored-by: Fabio Bertagna <[email protected]> * Update plugins/module_utils/module_index.py Co-authored-by: Fabio Bertagna <[email protected]> * Update plugins/module_utils/module_index.py Co-authored-by: Fabio Bertagna <[email protected]> * updated error texts * applied DonGiovanni suggestions * refactored code * reimplements configure_params * final adjustments * finalized module_index * updated get_interfaces so that it uses the newly created run_command function * updated tests * black plugins/module_utils/interfaces_assignments_utils.py * restructed module_index --------- Co-authored-by: Fabio Bertagna <[email protected]> Co-authored-by: Reto Kupferschmid <[email protected]>
- Loading branch information