-
Notifications
You must be signed in to change notification settings - Fork 90
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
Discussion: Deprecate WeakHostSend, WeakHostRecieve and DHCPClient #360
Comments
I suggest deprecate the resource, merging them into the new resource - and in a later PR (maybe when doing another breaking change) remove them. |
Cool. That what I was thinking. I'll leave this issue open for a while before doing anything on it to give community time to provide feedback. |
This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 10 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close. |
Bumping to keep this open for now. |
This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 10 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close. |
I will plan to implement this change over the next few weeks. |
BREAKING CHANGE: Added Dhcp, WeakHostReceive and WeakHostSend parameters to NetIPInterface and deprecates MSFT_DHCPClient, MSFT_WeakHostReceive, MSFT_WeakHostSend - Fixes #360
The
WeakHostSend
,WeakHostRecieve
andDHCPClient
resources all configure properties on the*-NetIPInterface
. They are "single purpose" resources that result in a lot of duplicated code/function. E.g. the resources are practically identical (duplicated code, tests etc).I'm currently implementing a more generic
NetIPInterface
resource that can be used to configure properties on the*-NetIPInterface
as part of #355. I'm excluding theWeakHostSend
,WeakHostRecieve
andDHCPClient
properties as they are covered by these other resources.But it seems to me to be non-trivial duplication of function/tests. This would reduce the amount of code and tests needing to be maintained and also simplify configurations - but of course would be a BREAKING CHANGE.
For example, the following current config:
Would be changed to:
@tysonjhayes , @johlju - what are your thoughts on this?
The text was updated successfully, but these errors were encountered: