diff options
author | Vyacheslav Pedash <vyacheslav.pedash@globallogic.com> | 2020-11-18 23:42:37 +0200 |
---|---|---|
committer | Vyacheslav Pedash <vyacheslav.pedash@globallogic.com> | 2020-11-19 00:06:16 +0200 |
commit | b796b36ddbec332c7e6a6a16694370404946a29b (patch) | |
tree | d8877adf1dad431ea449bfb0a264f4e94ca1179f /include | |
parent | c730b023549d32899e2831ac6ca03ce91d34201a (diff) | |
download | mts-io-sysfs-b796b36ddbec332c7e6a6a16694370404946a29b.tar.gz mts-io-sysfs-b796b36ddbec332c7e6a6a16694370404946a29b.tar.bz2 mts-io-sysfs-b796b36ddbec332c7e6a6a16694370404946a29b.zip |
Add "ethSwitch" node
Diffstat (limited to 'include')
-rw-r--r-- | include/Device/Device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Device/Device.h b/include/Device/Device.h index 3bea375..198cc67 100644 --- a/include/Device/Device.h +++ b/include/Device/Device.h @@ -10,6 +10,7 @@ class Device { bool verbose ; bool isRoot; rapidjson::Document capabilities; + rapidjson::Document ethSwitch; rapidjson::Document deviceInfo; static const std::vector<std::string> apIdentifiers; rapidjson::Document accessoryCards; @@ -17,6 +18,7 @@ class Device { rapidjson::Document::AllocatorType& alloc = deviceInfo.GetAllocator(); rapidjson::Document::AllocatorType& accessoryCardsAlloc = accessoryCards.GetAllocator(); static std::map<std::string, bool> capabilityList; + static std::map<std::string, std::string> ethSwitchList; static std::map<std::string, std::string> deviceInfoList; static const std::regex apFilters; |