class XrlIfConfigUpdateReporter

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

Definition#include <xrl_ifupdate.hh>
InheritsIfConfigUpdateReporterBase [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

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  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_all_interfaces_reportee (const string& xrl_target)

add_all_interfaces_reportee

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

Parameters:
xrl_targetthe xrl target to be added.

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

bool  remove_all_interfaces_reportee (const string& xrl_target)

remove_all_interfaces_reportee

Remove an xrl target from the list of those that receive interface event notifications about all 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_all_interfaces_reportee)

interface_update

Send announcement of interface update.

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

See also: Update

Reimplemented from IfConfigUpdateReporterBase.

void  vif_update (const string& ifname, const string& vifname, const Update& u, bool is_all_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_all_interfaces_reporteetrue if the update is for reportee that expect event notifications about all interfaces.

See also: Update

Reimplemented from IfConfigUpdateReporterBase.

void  vifaddr4_update (const string& ifname, const string& vifname, const IPv4& addr, const Update& u, bool is_all_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_all_interfaces_reporteetrue if the update is for reportee that expect event notifications about all interfaces.

See also: Update

Reimplemented from IfConfigUpdateReporterBase.

void  vifaddr6_update (const string& ifname, const string& vifname, const IPv6& addr, const Update& u, bool is_all_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_all_interfaces_reporteetrue if the update is for reportee that expect event notifications about all interfaces.

See also: Update

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 _all_interfaces_tgts

_all_interfaces_tgts

[protected]

uint32_t _in_flight

_in_flight

[protected]


Generated by: pavlin on possum.icir.org on Mon Jun 9 13:23:54 2003, using kdoc 2.0a54+XORP.