VOM: child accessors on GBP route domain

Change-Id: I7b74b0b98b2c427bf29bb1d2932044d9924588cb
Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:
Neale Ranns
2019-02-28 00:41:26 -08:00
parent b9625cbdb1
commit 8b409635b4
2 changed files with 17 additions and 0 deletions

View File

@ -89,6 +89,18 @@ gbp_route_domain::get_route_domain() const
return m_rd;
}
const std::shared_ptr<interface>
gbp_route_domain::get_ip4_uu_fwd() const
{
return m_ip4_uu_fwd;
}
const std::shared_ptr<interface>
gbp_route_domain::get_ip6_uu_fwd() const
{
return m_ip6_uu_fwd;
}
bool
gbp_route_domain::operator==(const gbp_route_domain& b) const
{

View File

@ -96,7 +96,12 @@ public:
*/
std::string to_string() const;
/**
* Accessors for children
*/
const std::shared_ptr<route_domain> get_route_domain() const;
const std::shared_ptr<interface> get_ip4_uu_fwd() const;
const std::shared_ptr<interface> get_ip6_uu_fwd() const;
private:
/**