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_name | the Xrl target name of the destination. |
ifname | the interface name. |
vifname | the vif name. |
vrid | the 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_name | the Xrl target name of the destination. |
ifname | the interface name. |
vifname | the vif name. |
vrid | the 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_name | the Xrl target name of the destination. |
ifname | the interface on which VRRP is running. |
vifname | the vif on which VRRP is running. |
vrid | the VRRP router ID. |
priority | the 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_name | the Xrl target name of the destination. |
ifname | the interface on which VRRP is running. |
vifname | the vif on which VRRP is running. |
vrid | the VRRP router ID. |
interval | the 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_name | the Xrl target name of the destination. |
ifname | the interface on which VRRP is running. |
vifname | the vif on which VRRP is running. |
vrid | the VRRP router ID. |
preempt | true 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_name | the Xrl target name of the destination. |
ifname | the interface on which VRRP is running. |
vifname | the vif on which VRRP is running. |
vrid | the VRRP router ID. |
disable | if 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_name | the Xrl target name of the destination. |
ifname | the interface on which VRRP is running. |
vifname | the vif on which VRRP is running. |
vrid | the VRRP router ID. |
ip | the 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_name | the Xrl target name of the destination. |
ifname | the interface on which VRRP is running. |
vifname | the vif on which VRRP is running. |
vrid | the VRRP router ID. |
ip | the 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_name | the 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_name | the Xrl target name of the destination. |
ifname | the 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_name | the Xrl target name of the destination. |
ifname | the physical interface name. |
vifname | the 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_name | the Xrl target name of the destination. |
ifname | the interface on which the VRRP instance is running. |
vifname | the vif on which the instance is running. |
vrid | the virtual router ID of the VRRP instance. |
XrlSender* _sender | _sender |
[protected]