main.cpp (19825057f05902e74df392b54d959551d3dcd914) | main.cpp (ff1b64f0e891de0d3cab831f6b90b52bb61de4b1) |
---|---|
1 2#include "estoraged.hpp" 3#include "getConfig.hpp" 4#include "util.hpp" 5 6#include <boost/asio/deadline_timer.hpp> 7#include <boost/asio/io_context.hpp> 8#include <boost/asio/post.hpp> --- 88 unchanged lines hidden (view full) --- 97 /* Create the storage object. */ 98 storageObjects[path] = std::make_unique<estoraged::EStoraged>( 99 objectServer, path, deviceFile, luksName, size, lifeleft, 100 partNumber, serialNumber, locationCode); 101 lg2::info("Created eStoraged object for path {PATH}", "PATH", path, 102 "REDFISH_MESSAGE_ID", 103 std::string("OpenBMC.0.1.CreateStorageObjects")); 104 } | 1 2#include "estoraged.hpp" 3#include "getConfig.hpp" 4#include "util.hpp" 5 6#include <boost/asio/deadline_timer.hpp> 7#include <boost/asio/io_context.hpp> 8#include <boost/asio/post.hpp> --- 88 unchanged lines hidden (view full) --- 97 /* Create the storage object. */ 98 storageObjects[path] = std::make_unique<estoraged::EStoraged>( 99 objectServer, path, deviceFile, luksName, size, lifeleft, 100 partNumber, serialNumber, locationCode); 101 lg2::info("Created eStoraged object for path {PATH}", "PATH", path, 102 "REDFISH_MESSAGE_ID", 103 std::string("OpenBMC.0.1.CreateStorageObjects")); 104 } |
105 }); | 105 }); |
106 getter->getConfiguration(); 107} 108 109int main(void) 110{ 111 try 112 { 113 // setup connection to dbus --- 69 unchanged lines hidden --- | 106 getter->getConfiguration(); 107} 108 109int main(void) 110{ 111 try 112 { 113 // setup connection to dbus --- 69 unchanged lines hidden --- |