class XrlIfConfigUpdateReporter

Class for exporting configuration events within FEA to other processes via XRL's. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Methods

Protected Members


Detailed Description

typedef IfConfigUpdateReporterBase::Update Update

Update

typedef list<string> TgtList

TgtList

 XrlIfConfigUpdateReporter (XrlRouter& rtr)

XrlIfConfigUpdateReporter

bool  add_reportee (const string& xrl_target)

add_reportee

Add an xrl target to list of those that will receive interface event notifications about configured interfaces.

Parameters:

xrl_targetthe xrl target to be added.

Returns: true on success, false if target already listed.

bool  has_reportee (const string& xrl_target)

has_reportee

[const]

Test if an xrl target is on the list of those that will receive interface event notifications about configured interfaces.

Parameters:

xrl_targetthe xrl target to be tested.

Returns: true if the xrl target is on the list, otherwise false.

bool  remove_reportee (const string& xrl_target)

remove_reportee

Remove an xrl target from the list of those that receive interface event notifications about configured interfaces.

Parameters:

xrl_targetthe xrl target to be removed.

Returns: true on success, false if target is not listed.

bool  add_system_interfaces_reportee (const string& xrl_target)

add_system_interfaces_reportee

Add an xrl target to list of those that will receive interface event notifications about all system interfaces.

Parameters:

xrl_targetthe xrl target to be added.

Returns: true on success, false if target already listed.

bool  has_system_interfaces_reportee (const string& xrl_target)

has_system_interfaces_reportee

[const]

Test if an xrl target is on the list of those that will receive interface event notifications about all system interfaces.

Parameters:

xrl_targetthe xrl target to be tested.

Returns: true if xrl target is on the list, otherwise false.

bool  remove_system_interfaces_reportee (const string& xrl_target)

remove_system_interfaces_reportee

Remove an xrl target from the list of those that receive interface event notifications about all system interfaces.

Parameters:

xrl_targetthe xrl target to be removed.

Returns: true on success, false if target is not listed.

void  interface_update (const string& ifname, const Update& u, bool is_system_interfaces_reportee)

interface_update

Send announcement of interface update.

Parameters:

ifnamethe name of the interface updated.
uthe update that occured
is_system_interfaces_reporteetrue if the update is for reportee that expect event notifications about all system interfaces.

See also: Update

Reimplemented from IfConfigUpdateReporterBase.

void  vif_update (const string& ifname, const string& vifname, const Update& u, bool is_system_interfaces_reportee)

vif_update

Send announcement of a vif update.

Parameters:

ifnamethe name of the interface associated with vif.
vifnamethe name of the vif updated.
uthe update that occured
is_system_interfaces_reporteetrue if the update is for reportee that expect event notifications about all system interfaces.

See also: Update

Reimplemented from IfConfigUpdateReporterBase.

void  vifaddr4_update (const string& ifname, const string& vifname, const IPv4& addr, const Update& u, bool is_system_interfaces_reportee)

vifaddr4_update

Send announcement of a vif address update.

Parameters:

ifnamethe name of the interface associated with vif address.
vifnamethe name of the vif associated with the address.
addrthe updated address.
uthe update that occured
is_system_interfaces_reporteetrue if the update is for reportee that expect event notifications about all system interfaces.

See also: Update

Reimplemented from IfConfigUpdateReporterBase.

void  vifaddr6_update (const string& ifname, const string& vifname, const IPv6& addr, const Update& u, bool is_system_interfaces_reportee)

vifaddr6_update

Send announcement of a vif address update.

Parameters:

ifnamethe name of the interface associated with vif address.
vifnamethe name of the vif associated with the address.
addrthe updated address.
uthe update that occured
is_system_interfaces_reporteetrue if the update is for reportee that expect event notifications about all system interfaces.

See also: Update

Reimplemented from IfConfigUpdateReporterBase.

void  updates_completed (bool is_system_interfaces_reportee)

updates_completed

Send announcement that updates have been completed.

Parameters:

is_system_interfaces_reporteetrue if the update is for reportee that expect event notifications about all system interfaces.

Reimplemented from IfConfigUpdateReporterBase.

bool  busy ()

busy

[const]

Returns: true if we have config changes in flight

void  xrl_sent (const XrlError&e, const string tgt)

xrl_sent

[protected]

 XrlIfConfigUpdateReporter (const XrlIfConfigUpdateReporter&)

XrlIfConfigUpdateReporter

[protected]

XrlIfConfigUpdateReporter&  operator= (const XrlIfConfigUpdateReporter&)

operator=

[protected]

XrlRouter& _rtr

_rtr

[protected]

TgtList _configured_interfaces_tgts

_configured_interfaces_tgts

[protected]

TgtList _system_interfaces_tgts

_system_interfaces_tgts

[protected]

uint32_t _in_flight

_in_flight

[protected]


Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:26 2004, using kdoc $.