Commit graph

399 commits

Author SHA1 Message Date
Felix Fontein
24caea65d1
Add REUSE badge. (#287) 2024-05-15 21:47:43 +02:00
Felix Fontein
6116cde9dd
Pass codecov token to ansible-test-gh-action. (#285) 2024-05-11 23:12:16 +02:00
Felix Fontein
3862d1cea7 Release 2.15.0. 2024-04-20 11:48:35 +02:00
Igor
4a078c5913
Add RouterOS 6.x support for '/routing filter' path (#279)
* Add RouterOS 6.x support for '/routing filter' path

* add changelogs fragments
2024-04-18 12:30:25 +02:00
Igor
9d34cca66b
Add RouterOS 6.x support for '/ip route rule' path (#278)
* Add RouterOS 6.x support for '/ip route rule' path

* add changelogs fragments
2024-04-18 12:29:58 +02:00
Igor
018125ddfa
Add support for '/routing bgp' paths (#277)
* Add support for '/routing bgp' paths

* resolve conflicts

* add changelogs fragments
2024-04-18 12:29:44 +02:00
Igor
c6be3918ec
Add support for '/ip dhcp-relay' path (#276)
* Add support for '/ip dhcp-relay' path

* add changelogs fragments
2024-04-18 12:29:25 +02:00
Felix Fontein
18deb0b46b
Include changelog in docsite. (#281) 2024-04-18 12:23:21 +02:00
Felix Fontein
55817c112a Prepare 2.15.0 release. 2024-04-18 07:57:07 +02:00
samburney
6fde8f3baf
Add support for additional '/mpls' paths (#272)
* Add support for additional '/mpls' paths
- Enable '/mpls interface' for use in api_info/api_modify and update fields.
- Add '/mpls ldp accept-filter' path.
- Add '/mpls ldp advertise-filter' path.
- Add '/mpls ldp interface' path.

* Add changelogs/fragments/272-additional_mpls_path_support.yml

* Fixed new paths in api_info.py and api_modify.py

* Remove dot.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-04-18 07:55:57 +02:00
samburney
78d2fdd0f2
Add support for '/queue type' path (#274)
* Add support for '/queue type' path

* Add changelogs/fragments/274-add_queue_type_path.yml
2024-04-17 23:30:14 +02:00
samburney
62a795f995
Add support for '/interface pppoe-server server' path (#273)
* Add support for '/interface pppoe-server server' path

* Fixed one-session-per-host default value

* Add changelogs/fragments/273-add_interface_pppoe-server_support.yml
2024-04-17 23:29:57 +02:00
samburney
59f6591621
Add RouterOS 7.x support to '/mpls ldp' path (#271)
* Added RouterOS 7.x support to '/mpls ldp' path

* Updated /mpls ldp path
- Reordered fields to match CLI
- Set 'vrf' field as primary key
- Fixed distribute-for-default field
- Added missing fields from RouterOS 7.x

* Add changelog fragment
2024-04-17 23:28:40 +02:00
samburney
99581a00f7
Fix IPv6 address 'from-pool' default value (#270)
* Fix ipv6 address 'from-pool' default value

* Add changelog fragment for #270
2024-04-17 23:28:06 +02:00
samburney
506b3eba39
Add '/queue simple' path (#269)
* Add '/queue simple' path

* Add changelogs/fragments/260-add-queue_simple-path.yml

* Updated queue-simple path:
- Updated all default values to match those from the API
- Re-ordered fields to match API output
- Target is not required; added default value

* 'target' *is* required, however it interracts strangely with values of 0.0.0.0/0 and '' (Empty string).

* Updated PR in document fragment
2024-04-17 23:27:48 +02:00
Felix Fontein
8351bff0e9
Add stable-2.17 to CI; copy 2.17 ignore.txt files to 2.18. (#275) 2024-04-03 07:59:10 +02:00
Felix Fontein
a3fbe88f2f Release 2.14.0. 2024-03-25 14:04:48 +01:00
Andrei Costescu
edcd760dbf
Add interface wifi paths (#266)
* Add interface wifi paths

* Update changelog

* Remove most defaults
2024-03-25 13:57:24 +01:00
Felix Fontein
10a419465a Prepare 2.14.0 release. 2024-03-24 22:16:24 +01:00
Felix Fontein
d8ae2f41d2
Ignore pylint warnings for construct that does not work with Python 2 (#268)
* Ignore pylint warnings for construct that does not work with Python 2.

* Revert "Ignore pylint warnings for construct that does not work with Python 2."

This reverts commit 407b2ef93a.

* Different approach: use ignore.txt since otherwise ansible-core 2.14 tests fail.
2024-03-23 12:28:34 +01:00
dependabot[bot]
3d737d679d
Bump fsfe/reuse-action from 2 to 3 (#267)
Bumps [fsfe/reuse-action](https://github.com/fsfe/reuse-action) from 2 to 3.
- [Release notes](https://github.com/fsfe/reuse-action/releases)
- [Commits](https://github.com/fsfe/reuse-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: fsfe/reuse-action
  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>
2024-03-05 07:12:46 +01:00
Felix Fontein
2ea1fef535
KeyInfo: prevent read_only usage with can_disable, remove_value, absent_value, default, or required (#265)
* Prevent read_only usage with can_disable, remove_value, absent_value, default, or required.

* Add test.
2024-03-03 09:03:25 +01:00
hansmi
84009262d0
Remove default value for "running" field in "interface wireless" (#264)
The `running` field can't be configured. By having a default value it's
written and shows up in diffs.
2024-03-03 08:32:41 +01:00
hansmi
ffd5a6370c
Add missing fields in "system package update" (#263)
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2024-03-02 12:49:37 +01:00
Felix Fontein
f616004caf Release 2.13.0. 2024-02-25 20:58:01 +01:00
Felix Fontein
afdda50ab0 Prepare 2.13.0 release. 2024-02-23 20:44:36 +01:00
Maurizio Pasquinelli
232a013c64
Fix date removal in nonverbose config (#262)
* Fix date removal in nonverbose config

As in newer versions of RouterOS the date format is 2024-10-02 and no longer 2024/10/02, the regex did no longer match all cases. This is fixed.

* Add changelog fragment
2024-02-20 20:29:41 +01:00
liquorice-head
10fbc564a7
Change ip vrf for router OS v7 (#259)
* Update api_info.py

* Update api_modify.py

* Update _api_data.py

* Update _api_data.py

* Update _api_data.py

* Update api_info.py

* Update api_modify.py

* Update api_info.py

* Update api_modify.py

* Create 259-add-routeros7-support-for-ip-vrf.yml

* Update changelogs/fragments/259-add-routeros7-support-for-ip-vrf.yml

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

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-02-17 22:49:12 +01:00
Felix Fontein
6f7abfa8bc
Add MarkDown changelog. (#261) 2024-02-11 11:41:40 +01:00
Johannes Münch
542a362cee
Fixes #256: make path user group modifiable and add comment attribute (#257)
* Fixes #256: make path `user group` modifiable and add `comment` attribute`

Add changelog fragment

* Update changelogs/fragments/257-make-user_group-modifiable.yml

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

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-02-01 18:48:14 +01:00
Felix Fontein
d1401bdb58 Release 2.12.0. 2024-01-21 08:47:39 +01:00
Felix Fontein
b56ba388f9
Simplifiy workflows. (#251) 2024-01-17 23:09:09 +01:00
Felix Fontein
3777b283b2
Use import galaxy workflow from https://github.com/ansible-collections/community.docker/pull/754. (#249) 2024-01-13 17:08:19 +01:00
Tim de Boer
d5a2686d20
Changed primary key of 'tool netwatch' (#247)
* Changed primary key of 'tool netwatch'

* Removed the primary key after discussion on PR #247

* Added changelog fragment
2024-01-07 14:04:20 +01:00
Johannes Münch
79dabbb67e
#162: Add 'routing rule' path (#246) 2024-01-06 16:52:17 +01:00
Felix Fontein
56ce47aef5
Update docs (#248)
* Add reference to module defaults groups docs.

* Fix bad quote.
2024-01-06 09:38:12 +01:00
Felix Fontein
9c75b9c5cd Fix module default group example. 2024-01-06 08:47:41 +01:00
derdeagle
1d6feda0b7
Add the 'radius' path (#245)
* Fixes #241: Add the 'radius' path

* Add changelog fragment

---------

Co-authored-by: Johannes Münch <git@washiza.eu>
2023-12-28 08:35:28 +01:00
derdeagle
e4e5f64b46
Add '/routing bgp template' path (#243)
* Add '/routing bgp template' path

* Add changelog fragment

* Update changelogs/fragments/243-add-routing-bgp-template-path.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-12-26 16:46:40 +01:00
derdeagle
4fff1f1bbb
Add '/interface ovpn-client' path (#244)
* Fixes #242: Add '/interface ovpn-client' path

* Add changelog fragment

* Update changelogs/fragments/244-add-interface-ovpn-client-path.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-12-26 16:46:21 +01:00
Felix Fontein
a1492b4405 Bump both artifact actions to v4. 2023-12-18 19:28:45 +01:00
Felix Fontein
9b1b28599f Next release will be 2.12.0. 2023-12-14 07:53:29 +01:00
hansmi
332955aff5
Add support for the "tx-power" wireless parameter (#239)
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2023-12-14 07:52:37 +01:00
Yuri Timenkov
c5e51f9a93
Support for WifiWave2. (#226)
* Support for WifiWave2.

Added configuration profiles to configure Mikrotik APs which
have only WifiWave2 package.

* Addressed review comments

1. Sorted lexicographically new entries
2. Added versioning

* Added few related paths

* Fixed typos

* Lowered min version

* Added wifiwave2 interfaces

* Added upper version limit to WifiWave2

According to the documentation, new RouterOS version uses another
package.

* Addressed review comments
2023-12-14 07:51:48 +01:00
dependabot[bot]
482e5b2b7e
Bump actions/setup-python from 4 to 5 (#240)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  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-12-12 07:14:45 +01:00
Felix Fontein
ac89aa0ab7
Allow to declare some versions as unsupported, and to provide an explicit message. (#238) 2023-12-07 08:01:47 +01:00
Felix Fontein
eda8f64e8d Release 2.11.0. 2023-12-03 13:18:18 +01:00
derdeagle
ad6faf275d
Fixes #236: Add missing parameters for the "ip firewall" subpaths and set the default value for the "disabled" parameter for most paths (#237)
* Fixes #236: Add missing parameters

The parameters "address-list", "address-list-timeout", and "realm" were
missing for some subpaths of "ip firewall" and are now added.
Additionally the default value of "False" for the "disabled" parameter
has been set so that an e.g. firewall rule, which was disabled
(disabled=True) is enabled (disabled=False) after removing the
"disabled" argument in the data.

Some more parameters can now be removed, e.g. "jump-target", "log", and "log-prefix",
which are not mandatory.

* Add missing changes for #236

Additionally fixed the PR id in the changelog fragment.

* Update changelogs/fragments/237-add-missing-ip-firewall-attributes.yml

Full stop added at the end of the changelog fragment

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

* Update changelogs/fragments/237-add-missing-ip-firewall-attributes.yml

Full stop added at the end of the changelog fragment

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

* Fix unit tests

---------

Co-authored-by: Johannes Münch <git@washiza.eu>
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-03 13:02:08 +01:00
Felix Fontein
7de154e907 Prepare 2.11.0 release. 2023-11-30 06:41:36 +01:00
derdeagle
dac3b79a17
Fixes #230: Add missing DoH parameters in the "ip dns" path (#235)
- doh-max-concurrent-queries
- doh-max-server-connections
- doh-timeout

The parameters mentioned above seem to be added in version 7.8 as far as
I could tell from the changelogs.

Co-authored-by: Johannes Münch <git@washiza.eu>
2023-11-24 21:07:40 +01:00