OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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)
 

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_
 

Detailed Description

Definition at line 605 of file bgp_config.h.

Constructor & Destructor Documentation

BgpGlobalSystemConfig::BgpGlobalSystemConfig ( )
inline

Definition at line 608 of file bgp_config.h.

BgpGlobalSystemConfig::~BgpGlobalSystemConfig ( )
inline

Definition at line 621 of file bgp_config.h.

Member Function Documentation

bool BgpGlobalSystemConfig::always_compare_med ( ) const
inline

Definition at line 651 of file bgp_config.h.

uint16_t BgpGlobalSystemConfig::bgpaas_port_end ( ) const
inline

Definition at line 671 of file bgp_config.h.

uint16_t BgpGlobalSystemConfig::bgpaas_port_start ( ) const
inline

Definition at line 667 of file bgp_config.h.

BgpGlobalSystemConfig::DISALLOW_COPY_AND_ASSIGN ( BgpGlobalSystemConfig  )
private
bool BgpGlobalSystemConfig::enable_4byte_as ( ) const
inline

Definition at line 637 of file bgp_config.h.

uint16_t BgpGlobalSystemConfig::end_of_rib_timeout ( ) const
inline

Definition at line 629 of file bgp_config.h.

bool BgpGlobalSystemConfig::fc_enabled ( ) const
inline

Definition at line 639 of file bgp_config.h.

bool BgpGlobalSystemConfig::gr_bgp_helper ( ) const
inline

Definition at line 631 of file bgp_config.h.

bool BgpGlobalSystemConfig::gr_enable ( ) const
inline

Definition at line 635 of file bgp_config.h.

uint16_t BgpGlobalSystemConfig::gr_time ( ) const
inline

Definition at line 623 of file bgp_config.h.

bool BgpGlobalSystemConfig::gr_xmpp_helper ( ) const
inline

Definition at line 633 of file bgp_config.h.

uint32_t BgpGlobalSystemConfig::last_change_at ( ) const
inline

Definition at line 627 of file bgp_config.h.

uint32_t BgpGlobalSystemConfig::llgr_time ( ) const
inline

Definition at line 625 of file bgp_config.h.

bool BgpGlobalSystemConfig::nh_check_enabled ( ) const
inline

Definition at line 645 of file bgp_config.h.

uint16_t BgpGlobalSystemConfig::rd_cluster_seed ( ) const
inline

Definition at line 661 of file bgp_config.h.

void BgpGlobalSystemConfig::set_always_compare_med ( bool  always_compare_med)
inline

Definition at line 652 of file bgp_config.h.

Here is the call graph for this function:

void BgpGlobalSystemConfig::set_bgpaas_port_end ( uint16_t  bgpaas_port_end)
inline

Definition at line 672 of file bgp_config.h.

Here is the call graph for this function:

void BgpGlobalSystemConfig::set_bgpaas_port_start ( uint16_t  bgpaas_port_start)
inline

Definition at line 668 of file bgp_config.h.

Here is the call graph for this function:

void BgpGlobalSystemConfig::set_enable_4byte_as ( bool  as_4byte)
inline

Definition at line 638 of file bgp_config.h.

void BgpGlobalSystemConfig::set_end_of_rib_timeout ( uint16_t  time)
inline

Definition at line 630 of file bgp_config.h.

void BgpGlobalSystemConfig::set_fc_enabled ( bool  enable)
inline

Definition at line 642 of file bgp_config.h.

void BgpGlobalSystemConfig::set_gr_bgp_helper ( bool  helper)
inline

Definition at line 632 of file bgp_config.h.

void BgpGlobalSystemConfig::set_gr_enable ( bool  enable)
inline

Definition at line 636 of file bgp_config.h.

void BgpGlobalSystemConfig::set_gr_time ( uint16_t  gr_time)
inline

Definition at line 624 of file bgp_config.h.

Here is the call graph for this function:

void BgpGlobalSystemConfig::set_gr_xmpp_helper ( bool  helper)
inline

Definition at line 634 of file bgp_config.h.

void BgpGlobalSystemConfig::set_last_change_at ( uint32_t  tstamp) const
inline

Definition at line 628 of file bgp_config.h.

void BgpGlobalSystemConfig::set_llgr_time ( uint64_t  llgr_time)
inline

Definition at line 626 of file bgp_config.h.

Here is the call graph for this function:

void BgpGlobalSystemConfig::set_nh_check_enabled ( bool  enable)
inline

Definition at line 648 of file bgp_config.h.

void BgpGlobalSystemConfig::set_rd_cluster_seed ( uint16_t  seed)
inline

Definition at line 664 of file bgp_config.h.

void BgpGlobalSystemConfig::set_xmpp_hold_time ( uint8_t  hold_time)
inline

Definition at line 658 of file bgp_config.h.

uint8_t BgpGlobalSystemConfig::xmpp_hold_time ( ) const
inline

Definition at line 655 of file bgp_config.h.

Member Data Documentation

bool BgpGlobalSystemConfig::always_compare_med_
private

Definition at line 688 of file bgp_config.h.

uint16_t BgpGlobalSystemConfig::bgpaas_port_end_
private

Definition at line 685 of file bgp_config.h.

uint16_t BgpGlobalSystemConfig::bgpaas_port_start_
private

Definition at line 684 of file bgp_config.h.

bool BgpGlobalSystemConfig::enable_4byte_as_
private

Definition at line 683 of file bgp_config.h.

uint16_t BgpGlobalSystemConfig::end_of_rib_timeout_
private

Definition at line 679 of file bgp_config.h.

bool BgpGlobalSystemConfig::fc_enabled_
private

Definition at line 686 of file bgp_config.h.

bool BgpGlobalSystemConfig::gr_bgp_helper_
private

Definition at line 681 of file bgp_config.h.

bool BgpGlobalSystemConfig::gr_enable_
private

Definition at line 680 of file bgp_config.h.

uint16_t BgpGlobalSystemConfig::gr_time_
private

Definition at line 677 of file bgp_config.h.

bool BgpGlobalSystemConfig::gr_xmpp_helper_
private

Definition at line 682 of file bgp_config.h.

const int BgpGlobalSystemConfig::kEndOfRibTime = 300
static

Definition at line 607 of file bgp_config.h.

uint64_t BgpGlobalSystemConfig::last_change_at_
mutableprivate

Definition at line 676 of file bgp_config.h.

uint32_t BgpGlobalSystemConfig::llgr_time_
private

Definition at line 678 of file bgp_config.h.

bool BgpGlobalSystemConfig::nh_check_enabled_
private

Definition at line 687 of file bgp_config.h.

uint16_t BgpGlobalSystemConfig::rd_cluster_seed_
private

Definition at line 689 of file bgp_config.h.

uint8_t BgpGlobalSystemConfig::xmpp_hold_time_
private

Definition at line 690 of file bgp_config.h.


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