GBP V2
[vpp.git] / src / vpp-api / vom / bridge_domain_cmds.hpp
index c6226fd..0216236 100644 (file)
@@ -34,7 +34,11 @@ public:
   /**
    * Constructor
    */
-  create_cmd(HW::item<uint32_t>& item);
+  create_cmd(HW::item<uint32_t>& item,
+             const bridge_domain::learning_mode_t& lmode,
+             const bridge_domain::arp_term_mode_t& amode,
+             const bridge_domain::flood_mode_t& fmode,
+             const bridge_domain::mac_age_mode_t& mmode);
 
   /**
    * Issue the command to VPP/HW
@@ -49,6 +53,24 @@ public:
    * Comparison operator - only used for UT
    */
   bool operator==(const create_cmd& i) const;
+
+private:
+  /**
+   * the learning mode for the bridge
+   */
+  bridge_domain::learning_mode_t m_learning_mode;
+  /**
+   * the learning mode for the bridge
+   */
+  bridge_domain::arp_term_mode_t m_arp_term_mode;
+  /**
+   * the flood mode for the bridge
+   */
+  bridge_domain::flood_mode_t m_flood_mode;
+  /**
+   * the flood mode for the bridge
+   */
+  bridge_domain::mac_age_mode_t m_mac_age_mode;
 };
 
 /**