diff options
author | Neale Ranns <nranns@cisco.com> | 2019-06-19 06:25:56 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-07-01 08:37:53 +0000 |
commit | 160c923f99c2adc103495fab1bfcefe965fe7fb8 (patch) | |
tree | a3b33e764c9ec138d519a5a2b4001bdf63eb8dba /extras/vom/vom/gbp_bridge_domain.hpp | |
parent | 5770c916c0cf110ced690ff128b065bbb2c827ca (diff) |
gbp: VRF scoped contracts
Type: feature
Change-Id: I01772cfc3a0118a5c49bf346339788824e6931b2
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'extras/vom/vom/gbp_bridge_domain.hpp')
-rw-r--r-- | extras/vom/vom/gbp_bridge_domain.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/extras/vom/vom/gbp_bridge_domain.hpp b/extras/vom/vom/gbp_bridge_domain.hpp index 44cf29956ef..264f8b3c031 100644 --- a/extras/vom/vom/gbp_bridge_domain.hpp +++ b/extras/vom/vom/gbp_bridge_domain.hpp @@ -17,9 +17,9 @@ #define __VOM_GBP_BRIDGE_DOMAIN_H__ #include "vom/bridge_domain.hpp" +#include "vom/gbp_route_domain.hpp" #include "vom/interface.hpp" #include "vom/singular_db.hpp" -#include "vom/types.hpp" namespace VOM { @@ -53,19 +53,23 @@ public: * Construct a GBP bridge_domain */ gbp_bridge_domain(const bridge_domain& bd, + const gbp_route_domain& rd, const interface& bvi, const flags_t& flags = flags_t::NONE); gbp_bridge_domain(const bridge_domain& bd, + const gbp_route_domain& rd, 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 gbp_route_domain& rd, 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 gbp_route_domain& rd, const interface& bvi, const std::shared_ptr<interface> uu_fwd, const std::shared_ptr<interface> bm_flood, @@ -192,6 +196,7 @@ private: HW::item<uint32_t> m_id; std::shared_ptr<bridge_domain> m_bd; + std::shared_ptr<gbp_route_domain> m_rd; std::shared_ptr<interface> m_bvi; std::shared_ptr<interface> m_uu_fwd; std::shared_ptr<interface> m_bm_flood; |