opencomputeproject / HWMgmt-OCP-Profiles

A place where all the OCP profiles are a placed. Issues can be submitted/resolved and modifications can be reviewed/merged
Apache License 2.0
17 stars 17 forks source link

OCPBaselineHardwareManagement DNS settings may be reversed #37

Open pjonason opened 2 years ago

pjonason commented 2 years ago

Baseline profile, under the EthernetInterface resource, has

"NameServers": { "ReadRequirement": "Recommended", "ConditionalRequirements": [{ "SubordinateToResource": ["Manager", "EthernetInterfaceCollection"], "ReadRequirement": "Mandatory", "WriteRequirement": "Mandatory" }]

and

"StaticNameServers": { "ReadRequirement": "Recommended" }

But according to the spec document pp. 402-403, and this forum discussion, it should be StaticNameServers that are writable, and NameServers should be read-only.

jcleung5549 commented 2 years ago

From the 'forum discussion'...

"Use the property StaticNameServers, which is read-write, to allow users to specify a set of name servers. The NameServers array contains the ones actually in use by the interface, which could be obtained via DHCP or from the StaticNameServers, depending on the interface configuration."

jcleung5549 commented 1 year ago

Propose change

"StaticNameServers": {
   "ReadRequirement": "Mandatory",
   "WriteRequirement": "Mandatory"
}