Closed joes closed 4 years ago
I second this
The Router property is set to Write in the schema, but has a [ValidateNotNullOrEmpty()] on it that generates that error message. It looks like if that is removed from the parameter the code could work without specifying Router
parameter (line 133 could pose a problem).
So either the Router
parameter should be requiredin the schema or the value should be able to be left out in a configuration.
For the meantime, what is this option meant to control? Can't find it in the documents
You are correct, it's missing there, that should be resolved too. If I'm not mistaken its used to set gateway addresses.
For those curious, the router option is a really oddly named setting which really corresponds to the default gateway for that DHCP Configuration. Why isn't this just named 'Default Gateway'
For information. @1RedOne updated the documentation in PR #42, but the main issue still need to be resolved.
The resource xDhcpServerOption
was deprecated when the resource DhcpScopeOptionValue
was released. The resource xDhcpServerOption
will be removed in the next release.
It seems that the
Router
option ofxDhcpServerOption
must always be set? Is there any way to leave it unspecified? If I leave it unspecified I get the following error: