OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BgpRouter Class Reference

#include <bgp_router.h>

Collaboration diagram for BgpRouter:

Public Member Functions

 BgpRouter (const std::string &name, const std::string &ipv4_address, const uint32_t &port, autogen::BgpRouterParams &params)
 
 ~BgpRouter ()
 
void set_ip_address_port (const std::string &ip_address, const uint32_t &port)
 
void set_control_node_zone_name (const std::string &contol_node_zone_name)
 
const std::string & name () const
 
const Ip4Addressipv4_address () const
 
const uint32_t & port () const
 
const std::string & control_node_zone_name () const
 
void set_inet_labeled_af (const autogen::BgpRouterParams params)
 
bool get_inet_labeled_af ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (BgpRouter)
 

Private Attributes

std::string name_
 
Ip4Address ipv4_address_
 
uint32_t port_
 
bool inet_labeled_af_enable_
 
std::string control_node_zone_name_
 
autogen::BgpRouterParams params_
 

Detailed Description

Definition at line 26 of file bgp_router.h.

Constructor & Destructor Documentation

BgpRouter::BgpRouter ( const std::string &  name,
const std::string &  ipv4_address,
const uint32_t &  port,
autogen::BgpRouterParams &  params 
)

Definition at line 29 of file bgp_router.cc.

BgpRouter::~BgpRouter ( )

Definition at line 73 of file bgp_router.cc.

Member Function Documentation

const std::string& BgpRouter::control_node_zone_name ( ) const
inline

Definition at line 39 of file bgp_router.h.

BgpRouter::DISALLOW_COPY_AND_ASSIGN ( BgpRouter  )
private
bool BgpRouter::get_inet_labeled_af ( )
inline

Definition at line 43 of file bgp_router.h.

const Ip4Address& BgpRouter::ipv4_address ( ) const
inline

Definition at line 37 of file bgp_router.h.

const std::string& BgpRouter::name ( ) const
inline

Definition at line 36 of file bgp_router.h.

const uint32_t& BgpRouter::port ( ) const
inline

Definition at line 38 of file bgp_router.h.

void BgpRouter::set_control_node_zone_name ( const std::string &  contol_node_zone_name)

Definition at line 57 of file bgp_router.cc.

Here is the call graph for this function:

void BgpRouter::set_inet_labeled_af ( const autogen::BgpRouterParams  params)

Definition at line 62 of file bgp_router.cc.

void BgpRouter::set_ip_address_port ( const std::string &  ip_address,
const uint32_t &  port 
)

Definition at line 47 of file bgp_router.cc.

Here is the call graph for this function:

Member Data Documentation

std::string BgpRouter::control_node_zone_name_
private

Definition at line 50 of file bgp_router.h.

bool BgpRouter::inet_labeled_af_enable_
private

Definition at line 49 of file bgp_router.h.

Ip4Address BgpRouter::ipv4_address_
private

Definition at line 47 of file bgp_router.h.

std::string BgpRouter::name_
private

Definition at line 46 of file bgp_router.h.

autogen::BgpRouterParams BgpRouter::params_
private

Definition at line 51 of file bgp_router.h.

uint32_t BgpRouter::port_
private

Definition at line 48 of file bgp_router.h.


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