class LocalData

Data that applies to all BGP peerings. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

Data that applies to all BGP peerings. Currently this is just our AS number and router ID.

 LocalData (EventLoop& eventloop)

LocalData

inline const AsNum&  get_as ()

get_as

[const]

Returns: This routers AS number.

inline void  set_as (const AsNum& a)

set_as

Set this routers AS number.

inline const IPv4&  get_id ()

get_id

[const]

Returns: This routers ID.

void  set_id (const IPv4& i)

set_id

Set this routers ID.

inline const AsNum&  get_confed_id ()

get_confed_id

[const]

Returns: the confederation ID of this router if set.

inline void  set_confed_id (const AsNum& confed_id)

set_confed_id

Set this routers confederation ID.

inline const IPv4&  get_cluster_id ()

get_cluster_id

[const]

Returns: the cluster ID of this router.

inline void  set_cluster_id (const IPv4& cluster_id)

set_cluster_id

Set this routers cluster ID.

inline const bool&  get_route_reflector ()

get_route_reflector

[const]

Get the route reflection status.

void  set_route_reflector (const bool route_reflector)

set_route_reflector

Set the route reflection status.

Damping&  get_damping ()

get_damping

Return all the route flap damping state.

void  set_jitter (bool jitter)

set_jitter

bool  get_jitter ()

get_jitter

[const]


Generated by: pavlin on possum.icir.org on Wed Mar 21 11:23:48 2007, using kdoc $.