summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2020-11-19 08:31:54 -0600
committerJeff Hatch <jhatch@multitech.com>2020-11-19 08:31:54 -0600
commit017da704da12e73f2ef0a19f57bd740318f9e053 (patch)
treedc3dbf15ec2ec88d943133d839a097a50714b5a6 /include
parentff2949b92db803f04cb056f8b4f83d28db4faa07 (diff)
parentb796b36ddbec332c7e6a6a16694370404946a29b (diff)
downloadmts-io-sysfs-017da704da12e73f2ef0a19f57bd740318f9e053.tar.gz
mts-io-sysfs-017da704da12e73f2ef0a19f57bd740318f9e053.tar.bz2
mts-io-sysfs-017da704da12e73f2ef0a19f57bd740318f9e053.zip
Merge branch 'vp/switch_node' into 'master'
Add "ethSwitch" node See merge request !1
Diffstat (limited to 'include')
-rw-r--r--include/Device/Device.h2
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;