OpenSDN source code
BgpGlobalSystemConfig Class Reference

#include <bgp_config.h>

Public Member Functions

 BgpGlobalSystemConfig ()
 
 ~BgpGlobalSystemConfig ()
 
uint16_t gr_time () const
 
void set_gr_time (uint16_t gr_time)
 
uint32_t llgr_time () const
 
void set_llgr_time (uint64_t llgr_time)
 
uint32_t last_change_at () const
 
void set_last_change_at (uint32_t tstamp) const
 
uint16_t end_of_rib_timeout () const
 
void set_end_of_rib_timeout (uint16_t time)
 
bool gr_bgp_helper () const
 
void set_gr_bgp_helper (bool helper)
 
bool gr_xmpp_helper () const
 
void set_gr_xmpp_helper (bool helper)
 
bool gr_enable () const
 
void set_gr_enable (bool enable)
 
bool enable_4byte_as () const
 
void set_enable_4byte_as (bool as_4byte)
 
bool fc_enabled () const
 
void set_fc_enabled (bool enable)
 
bool nh_check_enabled () const
 
void set_nh_check_enabled (bool enable)
 
bool always_compare_med () const
 
void set_always_compare_med (bool always_compare_med)
 
uint8_t xmpp_hold_time () const
 
void set_xmpp_hold_time (uint8_t hold_time)
 
uint16_t rd_cluster_seed () const
 
void set_rd_cluster_seed (uint16_t seed)
 
uint16_t bgpaas_port_start () const
 
void set_bgpaas_port_start (uint16_t bgpaas_port_start)
 
uint16_t bgpaas_port_end () const
 
void set_bgpaas_port_end (uint16_t bgpaas_port_end)
 
bool all_tags_are_global () const
 
void set_all_tags_are_global (bool all_tags_are_global)
 

Static Public Attributes

static const int kEndOfRibTime = 300
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (BgpGlobalSystemConfig)
 

Private Attributes

uint64_t last_change_at_
 
uint16_t gr_time_
 
uint32_t llgr_time_
 
uint16_t end_of_rib_timeout_
 
bool gr_enable_
 
bool gr_bgp_helper_
 
bool gr_xmpp_helper_
 
bool enable_4byte_as_
 
uint16_t bgpaas_port_start_
 
uint16_t bgpaas_port_end_
 
bool fc_enabled_
 
bool nh_check_enabled_
 
bool always_compare_med_
 
uint16_t rd_cluster_seed_
 
uint8_t xmpp_hold_time_
 
bool all_tags_are_global_
 

Detailed Description

Definition at line 613 of file bgp_config.h.

Constructor & Destructor Documentation

◆ BgpGlobalSystemConfig()

BgpGlobalSystemConfig::BgpGlobalSystemConfig ( )
inline

Definition at line 616 of file bgp_config.h.

◆ ~BgpGlobalSystemConfig()

BgpGlobalSystemConfig::~BgpGlobalSystemConfig ( )
inline

Definition at line 630 of file bgp_config.h.

Member Function Documentation

◆ all_tags_are_global()

bool BgpGlobalSystemConfig::all_tags_are_global ( ) const
inline

Definition at line 684 of file bgp_config.h.

◆ always_compare_med()

bool BgpGlobalSystemConfig::always_compare_med ( ) const
inline

Definition at line 660 of file bgp_config.h.

◆ bgpaas_port_end()

uint16_t BgpGlobalSystemConfig::bgpaas_port_end ( ) const
inline

Definition at line 680 of file bgp_config.h.

◆ bgpaas_port_start()

uint16_t BgpGlobalSystemConfig::bgpaas_port_start ( ) const
inline

Definition at line 676 of file bgp_config.h.

◆ DISALLOW_COPY_AND_ASSIGN()

BgpGlobalSystemConfig::DISALLOW_COPY_AND_ASSIGN ( BgpGlobalSystemConfig  )
private

◆ enable_4byte_as()

bool BgpGlobalSystemConfig::enable_4byte_as ( ) const
inline

Definition at line 646 of file bgp_config.h.

◆ end_of_rib_timeout()

uint16_t BgpGlobalSystemConfig::end_of_rib_timeout ( ) const
inline

Definition at line 638 of file bgp_config.h.

◆ fc_enabled()

bool BgpGlobalSystemConfig::fc_enabled ( ) const
inline

Definition at line 648 of file bgp_config.h.

◆ gr_bgp_helper()

bool BgpGlobalSystemConfig::gr_bgp_helper ( ) const
inline

Definition at line 640 of file bgp_config.h.

◆ gr_enable()

bool BgpGlobalSystemConfig::gr_enable ( ) const
inline

Definition at line 644 of file bgp_config.h.

◆ gr_time()

uint16_t BgpGlobalSystemConfig::gr_time ( ) const
inline

Definition at line 632 of file bgp_config.h.

◆ gr_xmpp_helper()

bool BgpGlobalSystemConfig::gr_xmpp_helper ( ) const
inline

Definition at line 642 of file bgp_config.h.

◆ last_change_at()

uint32_t BgpGlobalSystemConfig::last_change_at ( ) const
inline

Definition at line 636 of file bgp_config.h.

◆ llgr_time()

uint32_t BgpGlobalSystemConfig::llgr_time ( ) const
inline

Definition at line 634 of file bgp_config.h.

◆ nh_check_enabled()

bool BgpGlobalSystemConfig::nh_check_enabled ( ) const
inline

Definition at line 654 of file bgp_config.h.

◆ rd_cluster_seed()

uint16_t BgpGlobalSystemConfig::rd_cluster_seed ( ) const
inline

Definition at line 670 of file bgp_config.h.

◆ set_all_tags_are_global()

void BgpGlobalSystemConfig::set_all_tags_are_global ( bool  all_tags_are_global)
inline

Definition at line 685 of file bgp_config.h.

Here is the call graph for this function:

◆ set_always_compare_med()

void BgpGlobalSystemConfig::set_always_compare_med ( bool  always_compare_med)
inline

Definition at line 661 of file bgp_config.h.

Here is the call graph for this function:

◆ set_bgpaas_port_end()

void BgpGlobalSystemConfig::set_bgpaas_port_end ( uint16_t  bgpaas_port_end)
inline

Definition at line 681 of file bgp_config.h.

Here is the call graph for this function:

◆ set_bgpaas_port_start()

void BgpGlobalSystemConfig::set_bgpaas_port_start ( uint16_t  bgpaas_port_start)
inline

Definition at line 677 of file bgp_config.h.

Here is the call graph for this function:

◆ set_enable_4byte_as()

void BgpGlobalSystemConfig::set_enable_4byte_as ( bool  as_4byte)
inline

Definition at line 647 of file bgp_config.h.

◆ set_end_of_rib_timeout()

void BgpGlobalSystemConfig::set_end_of_rib_timeout ( uint16_t  time)
inline

Definition at line 639 of file bgp_config.h.

◆ set_fc_enabled()

void BgpGlobalSystemConfig::set_fc_enabled ( bool  enable)
inline

Definition at line 651 of file bgp_config.h.

◆ set_gr_bgp_helper()

void BgpGlobalSystemConfig::set_gr_bgp_helper ( bool  helper)
inline

Definition at line 641 of file bgp_config.h.

◆ set_gr_enable()

void BgpGlobalSystemConfig::set_gr_enable ( bool  enable)
inline

Definition at line 645 of file bgp_config.h.

◆ set_gr_time()

void BgpGlobalSystemConfig::set_gr_time ( uint16_t  gr_time)
inline

Definition at line 633 of file bgp_config.h.

Here is the call graph for this function:

◆ set_gr_xmpp_helper()

void BgpGlobalSystemConfig::set_gr_xmpp_helper ( bool  helper)
inline

Definition at line 643 of file bgp_config.h.

◆ set_last_change_at()

void BgpGlobalSystemConfig::set_last_change_at ( uint32_t  tstamp) const
inline

Definition at line 637 of file bgp_config.h.

◆ set_llgr_time()

void BgpGlobalSystemConfig::set_llgr_time ( uint64_t  llgr_time)
inline

Definition at line 635 of file bgp_config.h.

Here is the call graph for this function:

◆ set_nh_check_enabled()

void BgpGlobalSystemConfig::set_nh_check_enabled ( bool  enable)
inline

Definition at line 657 of file bgp_config.h.

◆ set_rd_cluster_seed()

void BgpGlobalSystemConfig::set_rd_cluster_seed ( uint16_t  seed)
inline

Definition at line 673 of file bgp_config.h.

◆ set_xmpp_hold_time()

void BgpGlobalSystemConfig::set_xmpp_hold_time ( uint8_t  hold_time)
inline

Definition at line 667 of file bgp_config.h.

◆ xmpp_hold_time()

uint8_t BgpGlobalSystemConfig::xmpp_hold_time ( ) const
inline

Definition at line 664 of file bgp_config.h.

Member Data Documentation

◆ all_tags_are_global_

bool BgpGlobalSystemConfig::all_tags_are_global_
private

Definition at line 704 of file bgp_config.h.

◆ always_compare_med_

bool BgpGlobalSystemConfig::always_compare_med_
private

Definition at line 701 of file bgp_config.h.

◆ bgpaas_port_end_

uint16_t BgpGlobalSystemConfig::bgpaas_port_end_
private

Definition at line 698 of file bgp_config.h.

◆ bgpaas_port_start_

uint16_t BgpGlobalSystemConfig::bgpaas_port_start_
private

Definition at line 697 of file bgp_config.h.

◆ enable_4byte_as_

bool BgpGlobalSystemConfig::enable_4byte_as_
private

Definition at line 696 of file bgp_config.h.

◆ end_of_rib_timeout_

uint16_t BgpGlobalSystemConfig::end_of_rib_timeout_
private

Definition at line 692 of file bgp_config.h.

◆ fc_enabled_

bool BgpGlobalSystemConfig::fc_enabled_
private

Definition at line 699 of file bgp_config.h.

◆ gr_bgp_helper_

bool BgpGlobalSystemConfig::gr_bgp_helper_
private

Definition at line 694 of file bgp_config.h.

◆ gr_enable_

bool BgpGlobalSystemConfig::gr_enable_
private

Definition at line 693 of file bgp_config.h.

◆ gr_time_

uint16_t BgpGlobalSystemConfig::gr_time_
private

Definition at line 690 of file bgp_config.h.

◆ gr_xmpp_helper_

bool BgpGlobalSystemConfig::gr_xmpp_helper_
private

Definition at line 695 of file bgp_config.h.

◆ kEndOfRibTime

const int BgpGlobalSystemConfig::kEndOfRibTime = 300
static

Definition at line 615 of file bgp_config.h.

◆ last_change_at_

uint64_t BgpGlobalSystemConfig::last_change_at_
mutableprivate

Definition at line 689 of file bgp_config.h.

◆ llgr_time_

uint32_t BgpGlobalSystemConfig::llgr_time_
private

Definition at line 691 of file bgp_config.h.

◆ nh_check_enabled_

bool BgpGlobalSystemConfig::nh_check_enabled_
private

Definition at line 700 of file bgp_config.h.

◆ rd_cluster_seed_

uint16_t BgpGlobalSystemConfig::rd_cluster_seed_
private

Definition at line 702 of file bgp_config.h.

◆ xmpp_hold_time_

uint8_t BgpGlobalSystemConfig::xmpp_hold_time_
private

Definition at line 703 of file bgp_config.h.


The documentation for this class was generated from the following file: