Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please provide a /system/routerboard datasource #588

Closed
tofkamp opened this issue Nov 4, 2024 · 3 comments
Closed

Please provide a /system/routerboard datasource #588

tofkamp opened this issue Nov 4, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request released

Comments

@tofkamp
Copy link

tofkamp commented Nov 4, 2024

Is your feature request related to a problem? Please describe.
The new firmware of mikrotik changed something with sfp's. It is important to upgrade the "current firmware" of a routerboard system.
It took two days to figure out why a switch had some issues, while others are working fine.
I forgot to add the routeros_system_routerboard_settings auto-upgrade=true terraform resource.
In the output of a terraform run, I output the "upgrade-firmware", architect and modelnr of every switch.
If I had a way to report the /system/routerboard properties, I had noticed it directly.

Describe the solution you'd like
Have a datasource about /system/routerboard

Documentation
https://help.mikrotik.com/docs/spaces/ROS/pages/40992878/RouterBOARD

Additional context

admin@xxxxxxx] /system/routerboard> print
       routerboard: yes
             model: CRS354-48P-4S+2Q+
          revision: r3
     serial-number: xxxxxxxxxx
     firmware-type: qca9531L
  factory-firmware: 7.14.3
  current-firmware: 7.16.1
  upgrade-firmware: 7.16.1
@tofkamp tofkamp added the enhancement New feature or request label Nov 4, 2024
@tofkamp
Copy link
Author

tofkamp commented Nov 8, 2024

{"current-firmware":"7.11.2","factory-firmware":"6.48.6","firmware-type":"qca9531L","model":"CRS312-4C+8XG","revision":"r2","routerboard":"true","serial-number":"XXXXXXXXXX","upgrade-firmware":"7.11.2"}

@vaerh vaerh self-assigned this Nov 10, 2024
@vaerh vaerh closed this as completed in 2f78e94 Nov 10, 2024
@vaerh
Copy link
Collaborator

vaerh commented Nov 10, 2024

🎉 This issue has been resolved in version 1.67.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@vaerh vaerh added the released label Nov 10, 2024
@tofkamp
Copy link
Author

tofkamp commented Nov 19, 2024

I get the warning:
│ Warning: Field 'revision' not found in the schema

│ with module.mikrotik_xxxx.data.routeros_system_routerboard.data,
│ on mikrotik\main.tf line 347, in data "routeros_system_routerboard" "data":
│ 347: data "routeros_system_routerboard" "data" {}

│ [MikrotikResourceDataToTerraformDatasource] the field was lost during the Schema development: ▷ 'revision': 'r2' ◁

│ (and 11 more similar warnings elsewhere)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

No branches or pull requests

2 participants