vom: Add getter for interface admin state
[vpp.git] / extras / vom / vom / interface.hpp
index 0b2d907..a1098c1 100644 (file)
@@ -264,6 +264,11 @@ public:
    */
   const l2_address_t& l2_address() const;
 
+  /**
+   * Return the admin state
+   */
+  const admin_state_t& admin_state() const;
+
   /**
    * Set the admin state of the interface
    *