commit | 65265369af5efb7b2cfa3b8820d58889240b875b | [log] [tgz] |
---|---|---|
author | Johnathan Mantey <johnathanx.mantey@intel.com> | Thu Nov 14 11:24:19 2019 -0800 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Tue Jun 30 18:47:07 2020 +0000 |
tree | e83127af5ea09c398615eb480938ac2dc05bad08 | |
parent | 84c49dc17fecc69bdb88dbc7cfb4b67eff81a4e6 [diff] |
Modify Get Lan Configuration IP Address Source to use correct DBus DHCPEnabled type The Get/Set Lan Configuration "IP Address Source" subcommand got broken by phosphor-dbus-interfaces commit 12162be 12162be changed the DBus DHCPEnabled type from boolean to enum type. The Get LAN Configuration IP address Source IPMI command did not get changed to an enum type prior to 12162be being merged. This commit retroactively updates the boolean type to enum type. Tested: ipmitool raw 0xc 2 3 4 0 0 # returns correct state ipmitool raw 0xc 1 3 4 1 # changes DCHP to Static ipmitool raw 0xc 1 3 4 2 # returns Static to DHCP Assigned a static address via Redfish and tested using: ipmitool raw 0xc 2 3 4 0 0 # returns correct state Returned the NIC to use DHCP via Redfish and tested using: ipmitool raw 0xc 2 3 4 0 0 # returns correct state Change-Id: Ia66f7fcf3d5ad0a383b06658b18e8ce2b282e052 Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.