Open chris-sanders opened 2 weeks ago
Hello @chris-sanders,
Thank you for taking the time to contribute to this project.
You're absolutely right about this.
We've already investigated the issue and have a few suspicions about the cause: It seems that FirewallRule
does not take any arguments other than those defined in the class into account and needs to handle extra_attributes as seen in other modules: https://github.com/puzzle/puzzle.opnsense/issues/111.
We will fix this in the next release.
Describe the bug When using a firewall rule that use the advanced option "reply-to" the firewall module fails to parse existing rules and errors. Here is an example of the error:
To Reproduce Steps to reproduce the behavior:
Expected behavior Unexpected fields should maybe just be a warning and proceed if they aren't yet supported. Ideally, all of the advanced fields would be added as known fields.
Desktop (please complete the following information):
Additional context I set
reply-to
back todefault
and was able to successfully run the module and add my new rule.