* Allow to restrict api_info output.
* Allow to restrict what api_modify modifies.
* Add changelog.
* Fix docs.
* Move shared code/docs to module utils and doc fragments.
* Refactor and allow to match by regex.
* Simplify rules, allow to invert rule matcher.
* Add more tests.
* Add new option force_no_cert
Connect to a router without a certificate by using ADH ciphers.
This can be useful when setting up a device.
* Changelog
* Update plugins/doc_fragments/api.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update changelogs/fragments/124-api.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
* Added timeout setting for api.
* Added changelog fragment
* Added "version_added" to api doc
* Added "," for better diff
* Fixed case and punctuation in changelog
Co-authored-by: Felix Fontein <felix@fontein.de>
* Fixed url in changelog fragment
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.