management: ChannelDataset
refs #3329
Change-Id: Ie11a19b4d3178f8e33b47557e3720ecc5c9b4e6e
diff --git a/src/management/nfd-status-dataset.cpp b/src/management/nfd-status-dataset.cpp
index 2409254..9516e85 100644
--- a/src/management/nfd-status-dataset.cpp
+++ b/src/management/nfd-status-dataset.cpp
@@ -114,6 +114,17 @@
name.append(m_filter.wireEncode());
}
+ChannelDataset::ChannelDataset()
+ : StatusDataset("faces/channels")
+{
+}
+
+ChannelDataset::ResultType
+ChannelDataset::parseResult(ConstBufferPtr payload) const
+{
+ return parseDatasetVector<ChannelStatus>(payload);
+}
+
FibDataset::FibDataset()
: StatusDataset("fib/list")
{