VOM: child accessors on GBP route domain
Change-Id: I7b74b0b98b2c427bf29bb1d2932044d9924588cb Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:
@ -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
|
||||
{
|
||||
|
@ -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:
|
||||
/**
|
||||
|
Reference in New Issue
Block a user