VPP-1640 - Missing rules in vpp-selinux-policy
[vpp.git] / extras / vom / vom / gbp_bridge_domain.hpp
index 3fcb24c..44cf299 100644 (file)
@@ -30,7 +30,7 @@ class gbp_bridge_domain : public object_base
 {
 public:
   /**
-   * The key for a bridge_domain is the pari of EPG-IDs
+   * The key for a bridge_domain is the pair of EPG-IDs
    */
   typedef bridge_domain::key_t key_t;
 
@@ -38,6 +38,9 @@ public:
   {
     const static flags_t NONE;
     const static flags_t DO_NOT_LEARN;
+    const static flags_t UU_FWD_DROP;
+    const static flags_t MCAST_DROP;
+    const static flags_t UCAST_ARP;
 
     static const flags_t& from_vpp(int i);
 
@@ -55,14 +58,17 @@ public:
   gbp_bridge_domain(const bridge_domain& bd,
                     const interface& bvi,
                     const interface& uu_fwd,
+                    const interface& bm_flood,
                     const flags_t& flags = flags_t::NONE);
   gbp_bridge_domain(const bridge_domain& bd,
                     const std::shared_ptr<interface> bvi,
                     const std::shared_ptr<interface> uu_fwd,
+                    const std::shared_ptr<interface> bm_flood,
                     const flags_t& flags = flags_t::NONE);
   gbp_bridge_domain(const bridge_domain& bd,
                     const interface& bvi,
                     const std::shared_ptr<interface> uu_fwd,
+                    const std::shared_ptr<interface> bm_flood,
                     const flags_t& flags = flags_t::NONE);
 
   /**
@@ -188,6 +194,7 @@ private:
   std::shared_ptr<bridge_domain> m_bd;
   std::shared_ptr<interface> m_bvi;
   std::shared_ptr<interface> m_uu_fwd;
+  std::shared_ptr<interface> m_bm_flood;
   const flags_t& m_flags;
 
   /**