A bit of buffer metadata reshuffling to accommodate flow_id
[vpp.git] / src / vpp-api / vom / route_domain.hpp
index 516271f..19a3c18 100644 (file)
@@ -53,6 +53,11 @@ public:
    */
   ~route_domain();
 
+  /**
+   * comparison operator - for UT
+   */
+  bool operator==(const route_domain& r) const;
+
   /**
    * Return the matching 'singular instance'
    */
@@ -76,7 +81,7 @@ public:
   /**
    * Find the instnace of the route domain in the OM
    */
-  static std::shared_ptr<route_domain> find(const route_domain& temp);
+  static std::shared_ptr<route_domain> find(const key_t& temp);
 
   /**
    * Dump all route-doamin into the stream provided