class XrlVrrpV0p1Client


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

 XrlVrrpV0p1Client (XrlSender* s)

XrlVrrpV0p1Client

 ~XrlVrrpV0p1Client ()

~XrlVrrpV0p1Client

[virtual]

typedef XorpCallback1<void, const XrlError&>::RefPtr AddVridCB

AddVridCB

bool  send_add_vrid ( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const uint32_t& vrid, const AddVridCB& cb )

send_add_vrid

Send Xrl intended to:

Create a VRRP instance.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
ifnamethe interface name.
vifnamethe vif name.
vridthe VRRP router ID.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteVridCB

DeleteVridCB

bool  send_delete_vrid ( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const uint32_t& vrid, const DeleteVridCB& cb )

send_delete_vrid

Send Xrl intended to:

Remove a VRRP instance.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
ifnamethe interface name.
vifnamethe vif name.
vridthe VRRP router ID.
typedef XorpCallback1<void, const XrlError&>::RefPtr SetPriorityCB

SetPriorityCB

bool  send_set_priority ( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const uint32_t& vrid, const uint32_t& priority, const SetPriorityCB& cb )

send_set_priority

Send Xrl intended to:

Set the router's priority.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
ifnamethe interface on which VRRP is running.
vifnamethe vif on which VRRP is running.
vridthe VRRP router ID.
prioritythe new priority value.
typedef XorpCallback1<void, const XrlError&>::RefPtr SetIntervalCB

SetIntervalCB

bool  send_set_interval ( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const uint32_t& vrid, const uint32_t& interval, const SetIntervalCB& cb )

send_set_interval

Send Xrl intended to:

Set the advertisement interval.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
ifnamethe interface on which VRRP is running.
vifnamethe vif on which VRRP is running.
vridthe VRRP router ID.
intervalthe new advertisement interval.
typedef XorpCallback1<void, const XrlError&>::RefPtr SetPreemptCB

SetPreemptCB

bool  send_set_preempt ( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const uint32_t& vrid, const bool& preempt, const SetPreemptCB& cb )

send_set_preempt

Send Xrl intended to:

Set whether a high priority backup router should preempt a low priority router that is acting as a master.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
ifnamethe interface on which VRRP is running.
vifnamethe vif on which VRRP is running.
vridthe VRRP router ID.
preempttrue if preemption should occur.
typedef XorpCallback1<void, const XrlError&>::RefPtr SetDisableCB

SetDisableCB

bool  send_set_disable ( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const uint32_t& vrid, const bool& disable, const SetDisableCB& cb )

send_set_disable

Send Xrl intended to:

Start or stop a VRRP instance.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
ifnamethe interface on which VRRP is running.
vifnamethe vif on which VRRP is running.
vridthe VRRP router ID.
disableif true, stop VRRP. Start it otherwise.
typedef XorpCallback1<void, const XrlError&>::RefPtr AddIpCB

AddIpCB

bool  send_add_ip ( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const uint32_t& vrid, const IPv4& ip, const AddIpCB& cb )

send_add_ip

Send Xrl intended to:

Add an IP to the virtual router.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
ifnamethe interface on which VRRP is running.
vifnamethe vif on which VRRP is running.
vridthe VRRP router ID.
ipthe IP address to add.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteIpCB

DeleteIpCB

bool  send_delete_ip ( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const uint32_t& vrid, const IPv4& ip, const DeleteIpCB& cb )

send_delete_ip

Send Xrl intended to:

Remove an IP from the virtual router.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
ifnamethe interface on which VRRP is running.
vifnamethe vif on which VRRP is running.
vridthe VRRP router ID.
ipthe IP address to remove.
typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetIfsCB

GetIfsCB

bool  send_get_ifs ( const char* dst_xrl_target_name, const GetIfsCB& cb )

send_get_ifs

Send Xrl intended to:

Get the physical interfaces on which VRRP is running.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetVifsCB

GetVifsCB

bool  send_get_vifs ( const char* dst_xrl_target_name, const string& ifname, const GetVifsCB& cb )

send_get_vifs

Send Xrl intended to:

For a given physical interface, get the virtual interfaces on which VRRP is running.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
ifnamethe physical interface name.
typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetVridsCB

GetVridsCB

bool  send_get_vrids ( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const GetVridsCB& cb )

send_get_vrids

Send Xrl intended to:

Get the virtual router IDs of all the VRRP instances running on a network interface.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
ifnamethe physical interface name.
vifnamethe logical interface name.
typedef XorpCallback3<void, const XrlError&, const string*, const IPv4*>::RefPtr GetVridInfoCB

GetVridInfoCB

bool  send_get_vrid_info ( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const uint32_t& vrid, const GetVridInfoCB& cb )

send_get_vrid_info

Send Xrl intended to:

Get state information from a particular VRRP instance.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
ifnamethe interface on which the VRRP instance is running.
vifnamethe vif on which the instance is running.
vridthe virtual router ID of the VRRP instance.
XrlSender* _sender

_sender

[protected]


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:10:48 2009, using kdoc 2.0a54+XORP.