bgp_impl

Warning

doxygenfile: Cannot find file “eos/bgp_impl.h

Type definitions in bgp_impl

namespace eos
class bgp_peer_key_impl_t
#include <bgp_impl.h>

The BGP peer key which consists of the peer address and the VRF itresides in.

Public Functions

bgp_peer_key_impl_t()
bgp_peer_key_impl_t(std::string const & vrf_name, ip_addr_t const & peer_addr)
std::string vrf_name() const

Getter for ‘vrf_name’: VRF name.

void vrf_name_is(std::string const & vrf_name)

Setter for ‘vrf_name’.

ip_addr_t peer_addr() const

Getter for ‘peer_addr’: BGP peer address.

void peer_addr_is(ip_addr_t const & peer_addr)

Setter for ‘peer_addr’.

bool operator==(bgp_peer_key_impl_t const & other) const
bool operator!=(bgp_peer_key_impl_t const & other) const
bool operator<(bgp_peer_key_impl_t const & other) const
uint32_t hash() const

The hash function for type bgp_peer_key_t.

void mix_me(hash_mix & h) const

The hash mix function for type bgp_peer_key_t.

std::string to_string() const

Returns a string representation of the current object’s values.

Private Members

std::string vrf_name_
ip_addr_t peer_addr_

Friends

friend std::ostream & operator<<

A utility stream operator that adds a string representation of bgp_peer_key_t to the ostream.