summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2017-06-14 12:20:25 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-06-27 19:47:00 +0000
commit97d995d8c93a8e1c1ab959ae259f95d3651806b7 (patch)
tree4342d802949f7f3a6ae9b0c0e2bcea406cccd133
parent34e3b09b3b81958b77cfec4d42e7d9954a119d9c (diff)
downloadphosphor-dbus-interfaces-97d995d8c93a8e1c1ab959ae259f95d3651806b7.zip
phosphor-dbus-interfaces-97d995d8c93a8e1c1ab959ae259f95d3651806b7.tar.gz
Define interface for DHCP options
Resolves openbmc/openbmc#1685 Change-Id: I24e3b9757eed523240c65823952c4dcee24f329d Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
-rw-r--r--xyz/openbmc_project/Network/DHCPConfiguration.interface.yaml19
1 files changed, 19 insertions, 0 deletions
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.
OpenPOWER on IntegriCloud