nexthop_group_tunnel_impl¶
Warning
doxygenfile: Cannot find file “eos/nexthop_group_tunnel_impl.h
Type definitions in nexthop_group_tunnel_impl¶
-
namespace
eos -
class
nexthop_group_tunnel_impl_t - #include <nexthop_group_tunnel_impl.h>
An IP nexthop group tunnel.
An IP nexthop group tunnel represents a tunnel over a nexthop-group.
Public Functions
-
nexthop_group_tunnel_impl_t() Default constructor.
-
nexthop_group_tunnel_impl_t(ip_prefix_t const & tunnel_endpoint, std::string const & nhg_name) Creates an ip nexthop group tunnel for a given tunnel endpoint prefix and nexthop-group.
-
ip_prefix_t
tunnel_endpoint() const Getter for ‘tunnel_endpoint’: IP v4/v6 prefix.
-
void
tunnel_endpoint_is(ip_prefix_t const & tunnel_endpoint) Setter for ‘tunnel_endpoint’.
-
std::string
nhg_name() const Getter for ‘nhg_name’: nexthop group name.
-
void
nhg_name_is(std::string const & nhg_name) Setter for ‘nhg_name’.
-
uint8_t
igp_pref() const Getter for ‘igp_pref’: the IGP preference of the tunnel endpoint.
-
void
igp_pref_is(uint8_t igp_pref) Setter for ‘igp_pref’.
-
uint32_t
igp_metric() const Getter for ‘igp_metric’: the IGP metric of the tunnel endpoint.
-
void
igp_metric_is(uint32_t igp_metric) Setter for ‘igp_metric’.
-
bool
operator==(nexthop_group_tunnel_impl_t const & other) const
-
bool
operator!=(nexthop_group_tunnel_impl_t const & other) const
-
uint32_t
hash() const The hash function for type nexthop_group_tunnel_t.
-
void
mix_me(hash_mix & h) const The hash mix function for type nexthop_group_tunnel_t.
-
std::string
to_string() const Returns a string representation of the current object’s values.
Private Members
-
ip_prefix_t
tunnel_endpoint_
-
std::string
nhg_name_
-
uint8_t
igp_pref_
-
uint32_t
igp_metric_
Friends
-
friend std::ostream &
operator<< A utility stream operator that adds a string representation of nexthop_group_tunnel_t to the ostream.
-
-
class