Commit graph

298 commits

Author SHA1 Message Date
hansmi
479f3106bf
Make wireless parameter "running" read-only (#233)
Commit e4a21311 added API data for the "interface wireless" path. It
contained the read-only "running" parameter. Writing to the parameter
fails:

  Error while modifying for name="…" (ID *3): unknown parameter running

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-11-11 23:10:10 +01:00
Felix Fontein
1beddb5854
Fix CI. (#232) 2023-11-07 22:57:17 +01:00
Felix Fontein
a823d66b33
Fix typos, improve markup (#231)
* Fix typos.

* Improve markup.
2023-10-29 08:28:00 +01:00
Felix Fontein
8a4b37c909 Next expected release is 2.11.0. 2023-10-08 12:45:40 +02:00
Felix Fontein
46d77ccc5c Release 2.10.0. 2023-10-08 12:15:04 +02:00
Felix Fontein
6a68469209
Add some read-only values to the user path. (#228) 2023-10-07 14:38:54 +02:00
Andrei Costescu
a6979c7f3d
Support routing id and bgp connection (#220)
* Support "/routing id"

https://help.mikrotik.com/docs/pages/viewpage.action?pageId=59965506

* Support "/routing bgp connection"

https://help.mikrotik.com/docs/display/ROS/BGP#BGP-ConnectionMenu

* Add changelog fragment

* Add period.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-10-07 14:38:37 +02:00
Andrei Costescu
226649ac13
Add upnp interfaces, graphing interface and resource (#227)
* Add ip upnp interfaces

* Add tool graphing interface and resource

* Update changelog
2023-10-07 14:25:52 +02:00
hansmi
9b4774c78d
Add support for the "port remote-access" path (#224)
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-10-07 14:25:11 +02:00
hansmi
29a01ea240
Add support for the "ip dhcp-server option" path (#223)
Make it possible to manage IPv4 DHCP server options.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-10-07 14:24:56 +02:00
Felix Fontein
efbc05ef73
Fix typo in changelog. (#225) 2023-09-28 21:13:47 +02:00
Felix Fontein
dc110500db
Fix snmp path's engine-id/engine-id-suffix for ROS 7.10+. (#218) 2023-09-19 18:02:26 +02:00
Felix Fontein
170240480c
Add ansible-core 2.16 to the matrix. (#222) 2023-09-19 17:51:13 +02:00
hansmi
d235437f8f
Add support for the "user" path (#211)
Make it possible to manage users via the `user` path.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-09-18 06:48:13 +02:00
hansmi
f6ed27c588
Fix for "'VersionedAPIData' object has no attribute 'fully_supported'" (#219)
Commit 4b09951 added code looking for a non-existent `fully_supported`
attribute.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-09-18 06:45:08 +02:00
Felix Fontein
81c4186497 Prepare 2.10.0 release. 2023-09-17 14:53:06 +02:00
hansmi
d601e10e22
Add support for "tool netwatch" (#216)
Upstream documentation:
https://help.mikrotik.com/docs/display/ROS/Netwatch

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-09-17 14:37:54 +02:00
hansmi
2bbaf26484
Finalize fields for "ppp profile" (#217)
A few defaults were missing for `ppp profile`. Mark the path as fully
understood to enable its use in Ansible tasks.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-09-17 14:37:29 +02:00
Felix Fontein
cf6c79e1b3
Implement basic support for read-only and write-only keys in api_info and api_modify (#213)
* Implement basic support for read-only and write-only keys in api_info and api_modify.

* Do not show write-only fields as 'disabled'.
2023-09-17 14:34:09 +02:00
hansmi
4d8ebaeb8d
Add support for "routing table" (#215)
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-09-10 21:46:14 +02:00
dependabot[bot]
2350913075
Bump actions/checkout from 3 to 4 (#214)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 12:27:04 +02:00
Felix Fontein
dcc1cf441d
Allow to differ on API paths based on RouterOS version (2/2) (#212)
* Allow to add versioned field for paths.

* The field added in 1aa41ad375 is RouterOS 7.7+.

* The fields added in 2e1159b4c4 are RouterOS 7.5+.
2023-09-01 23:17:47 +02:00
Felix Fontein
4b0995135c
Allow to differ on API paths based on RouterOS version (1/2) (#209)
* Allow to provide definition for path based on API version.

* The paths added in 343c4883c0 are RouterOS 7+.
2023-09-01 22:27:18 +02:00
hansmi
1ed4690240
Support "date", "time" and "gmt-offset" in "system clock" (#210)
These properties are necessary to read and set the time as seen by
RouterOS.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-09-01 22:02:11 +02:00
Przemysław Sztoch
38ac303f93
Update ssh-guide.rst (#206)
* Update ssh-guide.rst

User is not allowed to login via SSH by password to Mikrotik if SSH key for the user is added!

* Update previous note as it is no longer the last one.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-08-26 11:49:20 +02:00
hansmi
193218446a
Add support for "iot modbus" (#205)
The default values match those of RouterOS 7.11 on a Mikrotik
RB924i-2nD-BT5&BG77 ("Knot").

Upstream documentation:
https://help.mikrotik.com/docs/pages/viewpage.action?pageId=61046813

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-08-26 11:23:14 +02:00
hansmi
b7569b9dfd
Add support for "ipv6 firewall nat" (#204)
RouterOS supports NAT for IPv6 under the `ipv6 firewall nat` path.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-08-26 11:23:00 +02:00
hansmi
adff9bbf8c
Finalize fields for "interface wireless security-profiles" (#203)
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>
2023-08-21 21:32:43 +02:00
hansmi
11d83bffe6
Add "apn", remove "running" property for ppp-client interfaces (#202)
Commit 2164261 added support for `interface ppp-client`. It missed the
`apn` property and added the runtime-only `running` property.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-08-20 21:25:33 +02:00
hansmi
b0a4743de8
Add support for "user settings" (#201)
The `user settings` path contains settings related to passwords.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-08-20 14:20:16 +02:00
hansmi
343c4883c0
Add support for "routing filter {rule|select-rule}" (#200)
RouterOS 7 added route selections and filters
(https://help.mikrotik.com/docs/display/ROS/Route+Selection+and+Filters).

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-08-20 14:19:11 +02:00
hansmi
2164261e09
Add "interface ppp-client" to API data (#199)
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>
2023-08-20 14:17:49 +02:00
hansmi
1aa41ad375
Support "mode" in IPv4 neighbor discovery configuration (#198)
RouterOS 7.7 added a `mode` parameter to the IPv4 neighbor discovery
configuration.

Changelog: https://forum.mikrotik.com/viewtopic.php?t=192427

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-08-20 14:17:14 +02:00
hansmi
e4a21311a1
Add "interface wireless" to API data (#195)
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>
2023-08-20 14:15:38 +02:00
hansmi
2e1159b4c4
Support "address-list" and "match-subdomain" in static DNS records (#197)
RouterOS 7.5 added `address-list` and `match-subdomain` as fields for
static DNS records.

Changelog: https://forum.mikrotik.com/viewtopic.php?t=188851

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-08-20 14:11:04 +02:00
hansmi
3b127b12fa
Sort "interface wireless security-profiles" with other wireless paths (#196)
Move the API data for `interface wireless security-profiles` to be in
order with the other entries for `interface wireless …`.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-08-16 22:44:59 +02:00
Felix Fontein
ed2f326a6a Release 2.9.0. 2023-08-15 07:10:11 +02:00
derdeagle
53bb84ba2a
Fixes #193: Add caps-man channel and caps-man manager interface (#194)
* 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>
2023-08-12 15:57:00 +02:00
Felix Fontein
d6f90e6937 Prepare 2.9.0 release. 2023-07-23 21:49:31 +02:00
derdeagle
6e62283120
Fixes #191: Add path 'ip traffic-flow target' (#192)
* 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>
2023-07-23 21:27:32 +02:00
derdeagle
e570c582d0
Fixes #189: Add missing /snmp parameter "engine-id-suffix" (#190)
* Fixes #189: Add missing /snmp parameter "engine-id-suffix"

* Fixes #189: Add changelog fragment after getting PR ID

* Update changelogs/fragments/180-fix-engine-id-suffix-in-snmp.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Johannes Münch <git@washiza.eu>
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-07-16 21:15:48 +02:00
Felix Fontein
553a77aa91
Install and use Python 3.11 on RHEL UBI 9. (#188) 2023-07-12 19:24:44 +02:00
Felix Fontein
13e68fc906
Disable EE with ansible-core devel for now until UBI 9 has Python 3.10 support. (#187) 2023-07-12 08:12:37 +02:00
Felix Fontein
61c6b1dca8 Release 2.8.3. 2023-06-27 07:19:22 +02:00
Felix Fontein
ce7b2ef144 Prepare 2.8.3. 2023-06-22 21:24:40 +02:00
Felix Fontein
9d505ce903 Fix docs. 2023-06-22 20:56:51 +02:00
Felix Fontein
2333efcf0f Be lenient. 2023-06-22 20:42:09 +02:00
Felix Fontein
2e78a207e9
Use semantic markup (#185)
* Enable semantic markup.

* Use semantic markup.

* Break long lines.

* Add ignore entries.

* Ignore docs build error.
2023-06-22 13:18:08 +02:00
Felix Fontein
08c8c7ecc8
CI: Bump hard-coded Python versions to 3.11; drop Python 3.9 with devel. (#183) 2023-06-21 08:19:31 +02:00
Felix Fontein
1fb6915819 Release 2.8.2. 2023-06-19 16:42:18 +02:00