VOM: NAT updates
[vpp.git] / src / vpp-api / vom / nat_static.hpp
index 1560968..4c2dab1 100644 (file)
@@ -59,6 +59,16 @@ public:
    */
   ~nat_static();
 
+  /**
+   * Comparison operator - for UT
+   */
+  bool operator==(const nat_static& n) const;
+
+  /**
+   * Return the object's key
+   */
+  const key_t key() const;
+
   /**
    * Return the matching 'singular instance'
    */
@@ -67,7 +77,7 @@ public:
   /**
    * Find the instnace of the bridge_domain domain in the OM
    */
-  static std::shared_ptr<nat_static> find(const nat_static& temp);
+  static std::shared_ptr<nat_static> find(const key_t& key);
 
   /**
    * Dump all bridge_domain-doamin into the stream provided