summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/interface_cmds.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom/interface_cmds.hpp')
-rw-r--r--src/vpp-api/vom/interface_cmds.hpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/vpp-api/vom/interface_cmds.hpp b/src/vpp-api/vom/interface_cmds.hpp
index 41ec5caf0e3..7a0040deb0a 100644
--- a/src/vpp-api/vom/interface_cmds.hpp
+++ b/src/vpp-api/vom/interface_cmds.hpp
@@ -484,6 +484,16 @@ public:
std::string to_string() const;
/**
+ * (re)set status
+ */
+ void set(const rc_t& rc);
+
+ /**
+ * get listener
+ */
+ interface::stat_listener& listener() const;
+
+ /**
* Comparison operator - only used for UT
*/
bool operator==(const stats_enable_cmd& i) const;
@@ -502,7 +512,7 @@ private:
/**
* The interface on which we are enabling states
*/
- handle_t m_swifindex;
+ const handle_t& m_swifindex;
};
/**