diff options
author | Ratan Gupta <ratagupt@in.ibm.com> | 2018-03-07 12:31:05 +0530 |
---|---|---|
committer | Tom Joseph <tomjoseph@in.ibm.com> | 2018-03-20 06:02:53 +0000 |
commit | 7a7f0126a7e76d7c455b9de06135a308ac370369 (patch) | |
tree | 72495f473f863656c8ef3f1839d06887770e5cd9 /ipmid.cpp | |
parent | 32cbd65b41ffd444819c5bcf988ca1f5f1cfe415 (diff) | |
download | phosphor-host-ipmid-7a7f0126a7e76d7c455b9de06135a308ac370369.tar.gz phosphor-host-ipmid-7a7f0126a7e76d7c455b9de06135a308ac370369.zip |
SetLan: Apply the network changes once the timer expires
Start the timer once the set in progress parameter set to
set complete as part of Set LAN Configuration Parameters
command.
Resolves openbmc/openbmc#2932
Resolves openbmc/openbmc#2993
Change-Id: Ie6f3b331531da23c74fa44bb52fa1ddccffabd13
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'ipmid.cpp')
-rw-r--r-- | ipmid.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -42,6 +42,9 @@ sdbusPtr sdbusp; using cmdManagerPtr = std::unique_ptr<phosphor::host::command::Manager>; cmdManagerPtr cmdManager; +// Global timer for network changes +std::unique_ptr<phosphor::ipmi::Timer> networkTimer = nullptr; + // Command and handler tuple. Used when clients ask the command to be put // into host message queue using CommandHandler = phosphor::host::command::CommandHandler; |