XrlRipV0p1Client (XrlSender* s)
| XrlRipV0p1Client |
~XrlRipV0p1Client ()
| ~XrlRipV0p1Client |
[virtual]
typedef XorpCallback1<void, const XrlError&>::RefPtr AddRipAddressCB | AddRipAddressCB |
bool send_add_rip_address (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const AddRipAddressCB& cb
)
| send_add_rip_address |
Send Xrl intended to:
Add an address to run RIP process on. The addition of address is not instantaneous, RIP has to instantiate state in the FEA to send and receive packets. Once instantiated the address must be explicitly enabled with set_rip_address_enabled.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
ifname | the interface that owns vif that has address. |
vifname | virtual interface owning address. |
addr | the address to be added. |
typedef XorpCallback1<void, const XrlError&>::RefPtr RemoveRipAddressCB | RemoveRipAddressCB |
bool send_remove_rip_address (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const RemoveRipAddressCB& cb
)
| send_remove_rip_address |
Send Xrl intended to:
Remove an address RIP process is running on.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
ifname | the interface that owns vif that has address. |
vifname | virtual interface owning address. |
addr | the address to be removed. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetRipAddressEnabledCB | SetRipAddressEnabledCB |
bool send_set_rip_address_enabled (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const bool& enabled,
const SetRipAddressEnabledCB& cb
)
| send_set_rip_address_enabled |
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr RipAddressEnabledCB | RipAddressEnabledCB |
bool send_rip_address_enabled (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const RipAddressEnabledCB& cb
)
| send_rip_address_enabled |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetCostCB | SetCostCB |
bool send_set_cost (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& cost,
const SetCostCB& cb
)
| send_set_cost |
Send Xrl intended to:
Set cost metric associated with address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr CostCB | CostCB |
bool send_cost (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const CostCB& cb
)
| send_cost |
Send Xrl intended to:
Get cost metric associated with address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetHorizonCB | SetHorizonCB |
bool send_set_horizon (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const string& horizon,
const SetHorizonCB& cb
)
| send_set_horizon |
Send Xrl intended to:
Set horizon type applied to routes advertised from address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
horizon | name of horizon type. Permitted values: "none", "poison-reverse" "split-horizon-poison-reverse" |
typedef XorpCallback2<void, const XrlError&, const string*>::RefPtr HorizonCB | HorizonCB |
bool send_horizon (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const HorizonCB& cb
)
| send_horizon |
Send Xrl intended to:
Get horizon type applied to routes advertised from address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetPassiveCB | SetPassiveCB |
bool send_set_passive (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const bool& passive,
const SetPassiveCB& cb
)
| send_set_passive |
Send Xrl intended to:
Make RIP passive (receive only) on interface/vif/address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr PassiveCB | PassiveCB |
bool send_passive (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const PassiveCB& cb
)
| send_passive |
Send Xrl intended to:
Get value indicating whether RIP is passive (receive only) on interface/vif/address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetAcceptNonRipRequestsCB | SetAcceptNonRipRequestsCB |
bool send_set_accept_non_rip_requests (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const bool& accept,
const SetAcceptNonRipRequestsCB& cb
)
| send_set_accept_non_rip_requests |
Send Xrl intended to:
Accept and respond to non-RIP requests.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr AcceptNonRipRequestsCB | AcceptNonRipRequestsCB |
bool send_accept_non_rip_requests (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const AcceptNonRipRequestsCB& cb
)
| send_accept_non_rip_requests |
Send Xrl intended to:
Get value indicating whether non-RIP requests are accepted and responded to on interface/vif/address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetAcceptDefaultRouteCB | SetAcceptDefaultRouteCB |
bool send_set_accept_default_route (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const bool& accept,
const SetAcceptDefaultRouteCB& cb
)
| send_set_accept_default_route |
Send Xrl intended to:
Accept default route from peers.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr AcceptDefaultRouteCB | AcceptDefaultRouteCB |
bool send_accept_default_route (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const AcceptDefaultRouteCB& cb
)
| send_accept_default_route |
Send Xrl intended to:
Accessor for whether default route is accepted from peers.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetAdvertiseDefaultRouteCB | SetAdvertiseDefaultRouteCB |
bool send_set_advertise_default_route (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const bool& advertise,
const SetAdvertiseDefaultRouteCB& cb
)
| send_set_advertise_default_route |
Send Xrl intended to:
Advertise default route (if present).
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr AdvertiseDefaultRouteCB | AdvertiseDefaultRouteCB |
bool send_advertise_default_route (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const AdvertiseDefaultRouteCB& cb
)
| send_advertise_default_route |
Send Xrl intended to:
Accessor for whether default route is advertised.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetRouteTimeoutCB | SetRouteTimeoutCB |
bool send_set_route_timeout (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_secs,
const SetRouteTimeoutCB& cb
)
| send_set_route_timeout |
Send Xrl intended to:
Set period that routes associated with reception address will expire in the absence of updates.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr RouteTimeoutCB | RouteTimeoutCB |
bool send_route_timeout (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const RouteTimeoutCB& cb
)
| send_route_timeout |
Send Xrl intended to:
Get period that routes associated with reception address will expire in the absence of updates.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetDeletionDelayCB | SetDeletionDelayCB |
bool send_set_deletion_delay (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_secs,
const SetDeletionDelayCB& cb
)
| send_set_deletion_delay |
Send Xrl intended to:
Set period that routes associated with reception address will be deleted after they've expired.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr DeletionDelayCB | DeletionDelayCB |
bool send_deletion_delay (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const DeletionDelayCB& cb
)
| send_deletion_delay |
Send Xrl intended to:
Get period that routes associated with reception address will be deleted after they've expired.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetRequestIntervalCB | SetRequestIntervalCB |
bool send_set_request_interval (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_secs,
const SetRequestIntervalCB& cb
)
| send_set_request_interval |
Send Xrl intended to:
Set period that route table requests should be sent from address when no peers are associated with it.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr RequestIntervalCB | RequestIntervalCB |
bool send_request_interval (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const RequestIntervalCB& cb
)
| send_request_interval |
Send Xrl intended to:
Set period that route table requests should be sent from address when no peers are associated with it.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetUpdateIntervalCB | SetUpdateIntervalCB |
bool send_set_update_interval (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_secs,
const SetUpdateIntervalCB& cb
)
| send_set_update_interval |
Send Xrl intended to:
Set period between the unsolicited sending of the routing table from address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr UpdateIntervalCB | UpdateIntervalCB |
bool send_update_interval (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const UpdateIntervalCB& cb
)
| send_update_interval |
Send Xrl intended to:
Get period between the unsolicited sending of the routing table from address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetUpdateJitterCB | SetUpdateJitterCB |
bool send_set_update_jitter (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_jitter,
const SetUpdateJitterCB& cb
)
| send_set_update_jitter |
Send Xrl intended to:
Set jitter between the unsolicited sending of the routing table from address (in percents of the period).
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr UpdateJitterCB | UpdateJitterCB |
bool send_update_jitter (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const UpdateJitterCB& cb
)
| send_update_jitter |
Send Xrl intended to:
Get jitter between the unsolicited sending of the routing table from address (in percents of the period).
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetTriggeredUpdateDelayCB | SetTriggeredUpdateDelayCB |
bool send_set_triggered_update_delay (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_secs,
const SetTriggeredUpdateDelayCB& cb
)
| send_set_triggered_update_delay |
Send Xrl intended to:
Set period between sending triggered updates from address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr TriggeredUpdateDelayCB | TriggeredUpdateDelayCB |
bool send_triggered_update_delay (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const TriggeredUpdateDelayCB& cb
)
| send_triggered_update_delay |
Send Xrl intended to:
Get period between sending triggered updates from address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetTriggeredUpdateJitterCB | SetTriggeredUpdateJitterCB |
bool send_set_triggered_update_jitter (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_jitter,
const SetTriggeredUpdateJitterCB& cb
)
| send_set_triggered_update_jitter |
Send Xrl intended to:
Set jitter between sending triggered updates from address (in percents of the period).
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr TriggeredUpdateJitterCB | TriggeredUpdateJitterCB |
bool send_triggered_update_jitter (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const TriggeredUpdateJitterCB& cb
)
| send_triggered_update_jitter |
Send Xrl intended to:
Get jitter between sending triggered updates from address (in percents of the period).
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetInterpacketDelayCB | SetInterpacketDelayCB |
bool send_set_interpacket_delay (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_msecs,
const SetInterpacketDelayCB& cb
)
| send_set_interpacket_delay |
Send Xrl intended to:
Set the inter-packet delay between the output of packets from address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr InterpacketDelayCB | InterpacketDelayCB |
bool send_interpacket_delay (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const InterpacketDelayCB& cb
)
| send_interpacket_delay |
Send Xrl intended to:
Get the inter-packet delay between the output of packets from address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetSimpleAuthenticationKeyCB | SetSimpleAuthenticationKeyCB |
bool send_set_simple_authentication_key (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const string& password,
const SetSimpleAuthenticationKeyCB& cb
)
| send_set_simple_authentication_key |
Send Xrl intended to:
Set simple password authentication key.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
ifname | the interface name. |
vifname | the vif name. |
addr | the address. |
password | the authentication password. |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteSimpleAuthenticationKeyCB | DeleteSimpleAuthenticationKeyCB |
bool send_delete_simple_authentication_key (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const DeleteSimpleAuthenticationKeyCB& cb
)
| send_delete_simple_authentication_key |
Send Xrl intended to:
Delete simple password authentication key.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
ifname | the interface name. |
vifname | the vif name. |
addr | the address. |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetMd5AuthenticationKeyCB | SetMd5AuthenticationKeyCB |
bool send_set_md5_authentication_key (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& key_id,
const string& password,
const string& start_time,
const string& end_time,
const SetMd5AuthenticationKeyCB& cb
)
| send_set_md5_authentication_key |
Send Xrl intended to:
Set MD5 authentication key.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
ifname | the interface name. |
vifname | the vif name. |
addr | the address. |
key_id | the key ID (must be an integer in the interval [0, 255]). |
password | the authentication password. |
start_time | the authentication start time (YYYY-MM-DD.HH:MM). |
end_time | the authentication end time (YYYY-MM-DD.HH:MM). |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteMd5AuthenticationKeyCB | DeleteMd5AuthenticationKeyCB |
bool send_delete_md5_authentication_key (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& key_id,
const DeleteMd5AuthenticationKeyCB& cb
)
| send_delete_md5_authentication_key |
Send Xrl intended to:
Delete MD5 authentication key.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
ifname | the interface name. |
vifname | the vif name. |
addr | the address. |
key_id | the key ID (must be an integer in the interval [0, 255]). |
typedef XorpCallback2<void, const XrlError&, const string*>::RefPtr RipAddressStatusCB | RipAddressStatusCB |
bool send_rip_address_status (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const RipAddressStatusCB& cb
)
| send_rip_address_status |
Send Xrl intended to:
Get a textual description of the status of address RIP is running upon.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
ifname | the interface that owns vif that has the address. |
vifname | virtual interface owns the address. |
addr | the address to query. |
typedef XorpCallback4<void, const XrlError&, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*>::RefPtr GetAllAddressesCB | GetAllAddressesCB |
bool send_get_all_addresses (
const char* dst_xrl_target_name,
const GetAllAddressesCB& cb
)
| send_get_all_addresses |
Send Xrl intended to:
Get addresses running RIP.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback3<void, const XrlError&, const XrlAtomList*, const XrlAtomList*>::RefPtr GetCountersCB | GetCountersCB |
bool send_get_counters (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const GetCountersCB& cb
)
| send_get_counters |
Send Xrl intended to:
Get counters associated with interface / vif /address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetPeersCB | GetPeersCB |
bool send_get_peers (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const GetPeersCB& cb
)
| send_get_peers |
Send Xrl intended to:
Get the list of peers associated with interface / vif / address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback5<void, const XrlError&, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*>::RefPtr GetAllPeersCB | GetAllPeersCB |
bool send_get_all_peers (
const char* dst_xrl_target_name,
const GetAllPeersCB& cb
)
| send_get_all_peers |
Send Xrl intended to:
Get list of all peers known to RIP. There is a 1-to-1 correspondence between the items in the lists of peers, ifnames, vifnames, addrs.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback4<void, const XrlError&, const XrlAtomList*, const XrlAtomList*, const uint32_t*>::RefPtr GetPeerCountersCB | GetPeerCountersCB |
bool send_get_peer_counters (
const char* dst_xrl_target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const IPv4& peer,
const GetPeerCountersCB& cb
)
| send_get_peer_counters |
Send Xrl intended to:
Get counters associated with peer of interface / vif /address.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
typedef XorpCallback1<void, const XrlError&>::RefPtr TraceCB | TraceCB |
bool send_trace (
const char* dst_xrl_target_name,
const string& tvar,
const bool& enable,
const TraceCB& cb
)
| send_trace |
Send Xrl intended to:
Enable/Disable tracing.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
tvar | trace variable. |
enable | set to true to enable false to disable. |
XrlSender* _sender | _sender |
[protected]