diff options
Diffstat (limited to 'extras')
-rw-r--r-- | extras/vom/vom/gbp_route_domain.cpp | 12 | ||||
-rw-r--r-- | extras/vom/vom/gbp_route_domain.hpp | 5 |
2 files changed, 17 insertions, 0 deletions
diff --git a/extras/vom/vom/gbp_route_domain.cpp b/extras/vom/vom/gbp_route_domain.cpp index b2ddaaeaa9c..8f0eae3b3aa 100644 --- a/extras/vom/vom/gbp_route_domain.cpp +++ b/extras/vom/vom/gbp_route_domain.cpp @@ -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 { diff --git a/extras/vom/vom/gbp_route_domain.hpp b/extras/vom/vom/gbp_route_domain.hpp index 432f0b31afe..3d877d47e57 100644 --- a/extras/vom/vom/gbp_route_domain.hpp +++ b/extras/vom/vom/gbp_route_domain.hpp @@ -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: /** |