Define interface for DHCP options
Resolves openbmc/openbmc#1685
Change-Id: I24e3b9757eed523240c65823952c4dcee24f329d
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/xyz/openbmc_project/Network/DHCPConfiguration.interface.yaml b/xyz/openbmc_project/Network/DHCPConfiguration.interface.yaml
new file mode 100644
index 0000000..b89b492
--- /dev/null
+++ b/xyz/openbmc_project/Network/DHCPConfiguration.interface.yaml
@@ -0,0 +1,19 @@
+description: >
+ This defines DHCP client configuration.
+properties:
+ - name: DNSEnabled
+ type: boolean
+ description: >
+ if true then the DNS servers received from the DHCP server
+ will be used and take precedence over any statically configured ones.
+ - name: NTPEnabled
+ type: boolean
+ description: >
+ if true then the NTP servers received from the DHCP server
+ will be used by systemd-timesyncd and take precedence over any
+ statically configured ones.
+ - name: HostNameEnabled
+ type: boolean
+ description: >
+ if true then the hostname received from the DHCP server
+ will be set as the transient hostname of the system.