-
Notifications
You must be signed in to change notification settings - Fork 64
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
Add support for interface/ethernet/switch/* #325
Comments
🎉 This issue has been resolved in version 1.32.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Thanks for creating the code! I'm testing it and when i create an switch vlan everything is working. Removing the switch vlan. the provider sees it as an system object and only deletes it from the state and not from routeros. Create: Remove: |
🎉 This issue has been resolved in version 1.32.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
I made a mistake with the deletion procedure. In the new release everything should be deleted normally. Unfortunately I didn't have time to fully test everything, so please write me if you have any errors. Creating rules was not tested at all, because the test router does not support it. |
routeros_interface_ethernet_switch_vlan is now working fine. routeros_interface_ethernet_switch_port_isolation creation is fine. Delete does not return the value as before. In this case setting on ether5 a override. Deletion in terraform only removes from state. leaves the value for the override to ether5 For routeros_interface_ethernet_switch_host gives error about vlanid. Default in winbox is 0. Creation with the option vlan_id = "0" works without an problem. Also for this deletion does not work because of error about Delete operation on a system object. And this is an user created object. Error: strconv.Atoi: parsing "auto": invalid syntax for 'vlan_id' field |
For routeros_interface_ethernet_switch_rule ports must be string: And should be list. And also error about system object for deletion, this also an user object. Gives : After apply and missing field: |
I've fixed the bugs, I'll put out a new release now. Please test it. |
🎉 This issue has been resolved in version 1.32.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Is your feature request related to a problem? Please describe.
Could you add support for the following:?
interface/ethernet/switch/host
interface/ethernet/switch/port
interface/ethernet/switch/port-isolation
interface/ethernet/switch/rule
interface/ethernet/switch/vlan
Describe the solution you'd like
interface/ethernet/switch/port and interface/ethernet/switch/vlan are needed to hardware offload switching on some models
Additional context
interface/ethernet/switch is already implemented
The text was updated successfully, but these errors were encountered: