summaryrefslogtreecommitdiffstats
path: root/types.hpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2017-12-22 14:03:06 -0800
committerTom Joseph <tomjoseph@in.ibm.com>2018-01-17 15:05:57 +0000
commitc01edf283dca792d1eecedd5c03b69b7eebb6f23 (patch)
tree4fab333c768b575412a513ec59988d5f546769c8 /types.hpp
parenta1adb0777e370103ab9f3e7f8788f74975c69897 (diff)
downloadphosphor-host-ipmid-c01edf283dca792d1eecedd5c03b69b7eebb6f23.tar.gz
phosphor-host-ipmid-c01edf283dca792d1eecedd5c03b69b7eebb6f23.zip
multiple-channel configuration via yaml
Handles converting a yaml file mapping IPMI channel to ethernet device and using this instead of a hard-coded map. Change-Id: Iedfe7cb52a2d0663b9c8a0f6f9d37fe733b63a58 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'types.hpp')
-rw-r--r--types.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/types.hpp b/types.hpp
index a43c8c0..62f7db7 100644
--- a/types.hpp
+++ b/types.hpp
@@ -181,6 +181,7 @@ using InvObjectIDMap = std::map<InventoryPath, SelData>;
namespace network
{
+using ChannelEthMap = std::map<int, std::string>;
constexpr auto MAC_ADDRESS_FORMAT = "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx";
constexpr auto IP_ADDRESS_FORMAT = "%u.%u.%u.%u";
OpenPOWER on IntegriCloud