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

power over ethernet (POE) #585

Open
tofkamp opened this issue Oct 13, 2024 · 4 comments
Open

power over ethernet (POE) #585

tofkamp opened this issue Oct 13, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@tofkamp
Copy link

tofkamp commented Oct 13, 2024

Is your feature request related to a problem? Please describe.
My company bought 10 switches with POE, and now I want to manage them, but I could not find the Power Over Ethernet commands

Describe the solution you'd like
Have a resource for control, and maybe a datasource of a POE interface

Documentation
(https://help.mikrotik.com/docs/display/ROS/PoE-Out)

Additional context
This is not so common. If you don't have access to a POE switch, I can give you some sample data.

@tofkamp tofkamp added the enhancement New feature or request label Oct 13, 2024
@durandguru
Copy link
Contributor

You can already define POE settings on interfaces. See https://registry.terraform.io/providers/terraform-routeros/routeros/latest/docs/resources/interface_ethernet I use this to enable/disable POE on an interface. Is there something else missing?

@vaerh
Copy link
Collaborator

vaerh commented Oct 13, 2024

@durandguru Thanks, I was going to answer the same thing!

@tofkamp Can you please tell me what you expect to see in the data source?

@tofkamp
Copy link
Author

tofkamp commented Oct 13, 2024

Thank you for pointing that out. I will use that.

For the datasource, you might be able to get the voltage, current and power. I think the power is the most important one. With this datasource, we could detect if something is connected (using power), and then config it in a way.
On the webpage I provided, you can find the term "poe-out-voltage". If it is difficult to implement, don't bother.

@vaerh
Copy link
Collaborator

vaerh commented Oct 14, 2024

Perhaps it makes sense to create a data source with a single field that specifies whether or not there is power consumption?

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

No branches or pull requests

3 participants