vom: Add getter for interface admin state
[vpp.git] / extras / vom / vom / interface.hpp
index 05642f0..a1098c1 100644 (file)
@@ -264,8 +264,16 @@ 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
+   *
+   * N.B. All set function change only the attibute of the object on whcih
+   * they act, they do not make changes in VPP
    */
   void set(const admin_state_t& state);