|
|
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_target | the 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_target | the 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_target | the 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_target | the 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_target | the 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_target | the 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:
ifname | the name of the interface updated. |
u | the update that occured |
is_system_interfaces_reportee | true 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:
ifname | the name of the interface associated with vif. |
vifname | the name of the vif updated. |
u | the update that occured |
is_system_interfaces_reportee | true 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:
ifname | the name of the interface associated with vif address. |
vifname | the name of the vif associated with the address. |
addr | the updated address. |
u | the update that occured |
is_system_interfaces_reportee | true 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:
ifname | the name of the interface associated with vif address. |
vifname | the name of the vif associated with the address. |
addr | the updated address. |
u | the update that occured |
is_system_interfaces_reportee | true 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_reportee | true 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]