A few fields were missing for `interface wireless security-profiles`
(e.g. `disabled`). `default` on the other hand is a built-in property
which can't be modified.
Mark the `interface wireless security-profiles` path as fully understood
to enable its use in Ansible tasks.
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
The default values match those of RouterOS 7.11 on a Mikrotik
RB924i-2nD-BT5&BG77 ("Knot").
Upstream documentation: https://help.mikrotik.com/docs/display/ROS/PPP
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
The default values match those of RouterOS 7.11 on a Mikrotik
RB924i-2nD-BT5&BG77 ("Knot"). They're cross-checked with upstream
documentation[1].
[1] https://help.mikrotik.com/docs/display/ROS/Wireless+Interface
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
* Fixes#193: Add caps-man channel and caps-man manager interface
Adding the caps-man channel path from scratch.
Activating the caps-man manager interface path.
* Add changelog fragment and documentation for both paths
---------
Co-authored-by: Johannes Münch <git@washiza.eu>
* Fixes#191: Add path 'ip traffic-flow target'
* Fixes#191: Add changelog fragment
* Fixes#192: Change changetype from major to minor as it is only adding a path and neither breaking existing things nor adding completely new functionality
---------
Co-authored-by: Johannes Münch <git@washiza.eu>
* API update
Signed-off-by: Tomas Herfert <herfik>
* fix changelog fragment directory
Signed-off-by: Tomas Herfert <herfik>
Signed-off-by: Tomas Herfert <herfik>
Co-authored-by: Tomas Herfert <herfik>
* Add regexp field to "ip dns static"
* Change test_invalid_required_missing to use "ip dhcp-server"
"ip dns static" requires name or regexp so it cannot be used in this test.
* Add required_one_of attribute to APIData
Used by "ip dns static" which requires either "name" or "regexp.
* Add mutually_exclusive attribute to APIData
Used by "ip dns static" where only one of "name" or "regexp" can be used.
* Add changelog fragment
* support for "interface ethernet poe" and "interface vrrp"
Signed-off-by: Tomas Herfert <herfik>
* support "interface gre6" path
Signed-off-by: Tomas Herfert <herfik>
* ip dhcp-server - fix
Signed-off-by: Tomas Herfert <herfik>
* docs & changelog
Signed-off-by: Tomas Herfert <herfik>
* support for "interface ethernet poe" and "interface vrrp"
Signed-off-by: Tomas Herfert <herfik>
* support "interface gre6" path
Signed-off-by: Tomas Herfert <herfik>
* ip dhcp-server - fix
Signed-off-by: Tomas Herfert <herfik>
* docs & changelog
Signed-off-by: Tomas Herfert <herfik>
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
Signed-off-by: Tomas Herfert <herfik>
Co-authored-by: Tomas Herfert <herfik>
Co-authored-by: Felix Fontein <felix@fontein.de>
* support for new API paths and few updates
Signed-off-by: Tomas Herfert <herfik>
* changelog fix
Signed-off-by: Tomas Herfert <herfik>
* tests update
Signed-off-by: Tomas Herfert <herfik>
Signed-off-by: Tomas Herfert <herfik>
Co-authored-by: Tomas Herfert <herfik>
* adding support for api fields that can be disabled and have default value at the same time
Signed-off-by: Tomas Herfert <herfik>
* api path support: interface gre
Signed-off-by: Tomas Herfert <herfik>
* docs
Signed-off-by: Tomas Herfert <herfik>
* unit test update & yamlling fix
Signed-off-by: Tomas Herfert <herfik>
* test fix
Signed-off-by: Tomas Herfert <herfik>
* sanity fix
Signed-off-by: Tomas Herfert <herfik>
* changelog
Signed-off-by: Tomas Herfert <herfik>
* Update per suggestion
Co-authored-by: Felix Fontein <felix@fontein.de>
* api path support: interface eoip
Signed-off-by: Tomas Herfert <herfik>
* docs
Signed-off-by: Tomas Herfert <herfik>
* apply suggestion from code review
Signed-off-by: Tomas Herfert <herfik>
Signed-off-by: Tomas Herfert <herfik>
Co-authored-by: Tomas Herfert <herfik>
Co-authored-by: Felix Fontein <felix@fontein.de>
* make api_modify to ignore builtin items
Signed-off-by: Tomas Herfert <herfik>
* include_builtin parametr for api_info module
Signed-off-by: Tomas Herfert <herfik>
* api_info ignore_builtin changelog
Signed-off-by: Tomas Herfert <herfik>
* typo
Signed-off-by: Tomas Herfert <herfik>
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
Signed-off-by: Tomas Herfert <herfik>
Co-authored-by: Tomas Herfert <herfik>
Co-authored-by: Felix Fontein <felix@fontein.de>
* multiple api paths support and updates
Signed-off-by: Tomas Herfert <herfik>
* sanity fix
Signed-off-by: Tomas Herfert <herfik>
* another sanity fix
Signed-off-by: Tomas Herfert <herfik>
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
Signed-off-by: Tomas Herfert <herfik>
Co-authored-by: Tomas Herfert <herfik>
Co-authored-by: Felix Fontein <felix@fontein.de>
* api path support: system logging action
Signed-off-by: Tomas Herfert <herfik>
* api path support: system logging
Signed-off-by: Tomas Herfert <herfik>
* docs & changelog
Signed-off-by: Tomas Herfert <herfik>
* typo fix
Signed-off-by: Tomas Herfert <herfik>
Signed-off-by: Tomas Herfert <herfik>
Co-authored-by: Tomas Herfert <herfik>
* adding api path interface pppoe-client
Signed-off-by: Tomas Herfert <herfik>
* support for api path interface vlan
Signed-off-by: Tomas Herfert <herfik>
* support for api path interface bridge vlan
Signed-off-by: Tomas Herfert <herfik>
* PR ID update
Signed-off-by: Tomas Herfert <herfik>
* typo fix
Signed-off-by: Tomas Herfert <herfik>
* support for API path interface bridge and update of interface bridge port ingress-filtering to True
Signed-off-by: Tomas Herfert <herfik>
* Apply suggestion per code review
Signed-off-by: Tomas Herfert <herfik>
* Update changelogs/fragments/125-api.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
Signed-off-by: Tomas Herfert <herfik>
Co-authored-by: Tomas Herfert <herfik>
Co-authored-by: Felix Fontein <felix@fontein.de>
* interface list & member
Signed-off-by: Tomas Herfert <herfik>
* adding changelog fragment
Signed-off-by: Tomas Herfert <herfik>
* changelog fix
Signed-off-by: Tomas Herfert <herfik>
* sanity fix
Signed-off-by: Tomas Herfert <herfik>
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
Signed-off-by: Tomas Herfert <herfik>
Co-authored-by: Tomas Herfert <herfik>
Co-authored-by: Felix Fontein <felix@fontein.de>
* Add api_info and api_modify modules.
* Add documentation, and cross-references for the modules.
* Bump version added for new modules.
* Ignore dynamic entries. Allow _info module to return them.
* Document behavior for dynamic entries.
* Update license headers.
* Add disclaimer.
* Improve formulation.
* Auto-generate path list in DOCUMENTATION.
* Add test to make sure lists have been generated automatically.
* update query to accept multiple librouteros ADN parameters
* update query for new yml strucutre
* add extended_query as separate function:(code in progress)
* extended_query main code is ready for review
* add changelog #63
* small fix for code indentation
* fix pep
* clear all pep issues
* extended_query ready for review (new yml structure)
* small doc fix for std query
* Update changelogs/fragments/63-add-extended_query.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update changelogs/fragments/63-add-extended_query.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update argument spec.
* Other suggestions.
* Fix syntax errors ('is' and 'or' are keywords).
* Make everything work again.
* Add docs, simplify code.
* Add some first tests.
* Do not add fake message when there is no search result.
* Improve tests.
* Fix tests.
* update extened query docs and ros api module examples
* fix pep plugins/modules/api.py:154:1: W293: blank line contains whitespace
* fix extended query example intend
* Update plugins/modules/api.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/api.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* fix example docs
Co-authored-by: dako <dako@syslin.sof.dachev.lan>
Co-authored-by: Felix Fontein <felix@fontein.de>
* Add API docs fragment.
* Improve documentation.
* Move API code to api module_utils.
* Improve docs.
* Add api_facts module.
Does not yet support 'config'. I'm not sure whether that's actually
possible with the API.
* Convert subnet to integer if possible.
* Cleanup.
* Linting and fix tests.
* Remove things that make no sense.
* Simplify code.
* Add basic tests.
* Lint.
* fix issues #67
* fix query id check
* add changelog fragment
* fix changelog fragment new line
* fix changelog fragment new line2
* Update changelogs/fragments/68-fix-query-id-check.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
* Move splitting code to own file.
* Move list to dictionary code to quoting as well.
* Add quoting functionality.
* Add quoting filters.
* Add integration tests to CI.
* Fix bugs, increase coverage.
* Make parsing more strict.
* Extract function parse_argument_value from split_routeros_command to make proper parsing of WHERE possible.
* Adjust expected error message in integration tests.
* Simplify code and improve coverage.
* Add changelog fragment for WHERE strictness in api module.
* Add documenation.
* Fix typo.
* Add documentation references.
* Add example to api module which uses quote_argument_value.
* Fix bug, and add tests which prevent this in the future.
* Add more escape sequence tests.
* Make sure all control characters are quoted.
* fix(api): fixed a bug when splitting the argument string
* fix(api): added the shlex module for splitting
* fix(api): added the shlex module for splitting
* fix(api): moved shlex.split to self method split_params
* Fix indentation.
* Implement custom splitting algorithm.
* Raise AssertionError in case of internal error.
* Update plugins/modules/api.py
this is correct thanks !
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Nikolay Dachev <nikolay@dachev.info>
* Allow api module to fail.
* Improve error handling.
* Fix api unit tests.
* Add very basic tests of return values.
* Update api.py
fix ignoring the Fail task if we get TrapError
* Do not mangle fail result, and adjust tests.
* Improve changelog fragment.
* Reclassify changelog fragment as minor_changes, improve text.
* Mark changelog as 'breaking change'.
Co-authored-by: Nikolay Dachev <nikolay@dachev.info>
* Add options to control certificate validation for api module.
* Linting.
* Extend documentation.
* Fix validate_cert_hostname=true.
* Add documentation on setting up certificates on a RouterOS device.