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

const AsNum&  get_as ()

get_as

[const]

Returns: This routers AS number.

void  set_as (const AsNum& a)

set_as

Set this routers AS number.

inline bool  use_4byte_asnums ()

use_4byte_asnums

[const]

Returns: true if we use 4 byte AS numbers.

inline void  set_use_4byte_asnums (bool use_4byte_asnums)

set_use_4byte_asnums

Set whether to send 2 or 4 byte AS numbers

const IPv4&  get_id ()

get_id

[const]

Returns: This routers ID.

void  set_id (const IPv4& i)

set_id

Set this routers ID.

const AsNum&  get_confed_id ()

get_confed_id

[const]

Returns: the confederation ID of this router if set.

void  set_confed_id (const AsNum& confed_id)

set_confed_id

Set this routers confederation ID.

const IPv4&  get_cluster_id ()

get_cluster_id

[const]

Returns: the cluster ID of this router.

void  set_cluster_id (const IPv4& cluster_id)

set_cluster_id

Set this routers cluster ID.

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: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:06:01 2008, using kdoc 2.0a54+XORP.