Add DomainEnabled property to DHCPConfiguration
Follow DHCPConfiguration in Redfish EthernetInterface specification.
Currently, bmcweb maps Redfish's UseDomainName to HostNameEnabled.
Signed-off-by: Ryon Heichelbech <ryonh@ami.com>
Change-Id: I550fcef1cdb4b9fc0299a3f48d7c59f2d4d8a55a
diff --git a/yaml/xyz/openbmc_project/Network/DHCPConfiguration.interface.yaml b/yaml/xyz/openbmc_project/Network/DHCPConfiguration.interface.yaml
index cc35446..74b7939 100644
--- a/yaml/xyz/openbmc_project/Network/DHCPConfiguration.interface.yaml
+++ b/yaml/xyz/openbmc_project/Network/DHCPConfiguration.interface.yaml
@@ -17,6 +17,12 @@
description: >
if true then the hostname received from the DHCP server
will be set as the transient hostname of the system.
+ - name: DomainEnabled
+ type: boolean
+ description: >
+ if true then the domain names received from the DHCP server
+ will be used by systemd-resolved and take precedence over any
+ statically configured ones.
- name: SendHostNameEnabled
type: boolean
description: >