summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/interface.hpp
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2017-11-15 02:52:13 -0800
committerDamjan Marion <dmarion.lists@gmail.com>2017-11-15 13:43:29 +0000
commit263f955e81033b41336fbd49a087f82d3b7b80a7 (patch)
tree616ca00b57a9d480fed5988a5ad05e52c5bd1fbd /src/vpp-api/vom/interface.hpp
parent352ea0c4931b54012ce8d55634e3dd3f6ee6802b (diff)
VOM: interface's handle() retreives from singular instance
Change-Id: I262f2113f5805c0f89b615a0383efa8520184dd1 Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vpp-api/vom/interface.hpp')
-rw-r--r--src/vpp-api/vom/interface.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vpp-api/vom/interface.hpp b/src/vpp-api/vom/interface.hpp
index f11e3591a44..181e76dad69 100644
--- a/src/vpp-api/vom/interface.hpp
+++ b/src/vpp-api/vom/interface.hpp
@@ -518,6 +518,11 @@ private:
void update(const interface& obj);
/*
+ * return the interface's handle in the singular instance
+ */
+ const handle_t& handle_i() const;
+
+ /*
* It's the OM class that calls singular()
*/
friend class OM;