[FEATURE REQUEST] Allow `firewalld.present` to change zone interface
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
Is your feature request related to a problem? Please describe.
firewalld.present state allows to bind interface to given zone.
However if the interface is already bound to some other zone, calling add_interface will not change rebind the interface but report error.
Option change_interface however can rebind the interface from one zone to another.
Describe the solution you'd like
Add support for change_interface. See implementation at https://github.com/saltstack/salt/pull/52743
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the firewalld.present state implementation and compare its existing add_interface handling with the change_interface implementation described in Salt pull request 52743. Confirm that an interface already bound to one zone can be rebound to another and that the state reports the expected result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- infrastructure, security
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100