Resource DhcpServerDnsDynamicUpdates
Pull Request (PR) description
Add resources:
DhcpServerv4DnsDynamicUpdatesDhcpServerv6DnsDynamicUpdates
This Pull Request (PR) fixes the following issues
- Fixes #65
Task list
- [ ] Added an entry to the change log under the Unreleased section of the file CHANGELOG.md. Entry should say what was changed and how that affects users (if applicable), and reference the issue being resolved (if applicable).
- [ ] Resource documentation added/updated in README.md.
- [ ] Resource parameter descriptions added/updated in README.md, schema.mof and comment-based help.
- [ ] Comment-based help added/updated.
- [ ] Localization strings added/updated in all localization files as appropriate.
- [ ] Examples appropriately added/updated.
- [ ] Unit tests added/updated. See DSC Community Testing Guidelines.
- [ ] Integration tests added/updated (where possible). See DSC Community Testing Guidelines.
- [ ] New/changed code adheres to DSC Community Style Guidelines.
Blocked by #94
@johlju, thought's on IPv4 and IPv6 functionality being in the same module? It's a lot less complex in this case to separate them as both don't use the same parameters.
Can we move those parameters that are equal to a parent class? Similar to SqlResourceBase but maybe call it something like DhcpServerDnsDynamicUpdatesBase unless the parameters can be used for even more resources then maybe a more generic name, but might be hard to know now π€
Also, is it possible to use an enum as datatype for a key property? I did not know that.
thought's on IPv4 and IPv6 functionality being in the same module?
Didn't answer your actual question. π Assuming you mean same resource. I have no issue with them being separated as long as the properties of one cannot be enforced by the other. If they can then there could be a "ping-pong" behavior if they were to be in the same configuration with different values. Then I would recommend them to be in the same resource π€
Correct, I did mean resource.
I think this case it's easier to keep separate, I may look at a base class though as it will reduce some duplication.
[!IMPORTANT]
Review skipped
Draft detected.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands and usage tips.
@dan-hughes is this ready to be revied if the tests passes?
No, needs more tests I think.
And testing on a real system.