-
Notifications
You must be signed in to change notification settings - Fork 46
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
routeros_snmp_community Addresses Doesn't Accept Multiple Addresses #495
Comments
johnelliott
added a commit
to johnelliott/terraform-provider-routeros
that referenced
this issue
Jun 22, 2024
johnelliott
added a commit
to johnelliott/terraform-provider-routeros
that referenced
this issue
Jun 22, 2024
vaerh
added a commit
that referenced
this issue
Jun 27, 2024
vaerh
added a commit
that referenced
this issue
Jun 27, 2024
🎉 This issue has been resolved in version 1.54.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
routeros_snmp_community
addresses
doesn't allow multiple address.To Reproduce
Fails validation
Expected behavior
Should yeild
Debug Information
Stack Trace
Additional context
Thanks so much for all this work. I would like to submit a patch but I'm a newbie to Terraform and provider development, see below.
ROS v7.15: I went to do an SNMP community setup and realized the config with comma-separated ips in cidr notation doesn't work e.g.
"1.1.1.1,8.8.8.8"
or"1.1.1.1/8,8.8.8.8/32"
doesn't work. It seems like it's accepting a string, which is fine, but because it's using the ip address validator, the comma-separated list fails.I did manage to set up a basic dev environment and tried to steal some of the
snmp-trap
schema that uses a list of addresses into theaddress
part of therouteros_snmp_community
definition and a full test with hardware did work, but I wasn't able to figure out how to address theDefault
value and didn't see any default values with lists or sets in the project.Anyway, I'd love to contribute but may need a little help on-boarding.
The text was updated successfully, but these errors were encountered: