XrlRipV0p1Client (XrlSender* s)
| XrlRipV0p1Client |
~XrlRipV0p1Client ()
| ~XrlRipV0p1Client |
[virtual]
typedef XorpCallback1<void, const XrlError&>::RefPtr AddRipAddressCB | AddRipAddressCB |
bool send_add_rip_address (
const char* 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:
tgt_name | Xrl Target name |
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* 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:
tgt_name | Xrl Target name |
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* 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* 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* 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:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr CostCB | CostCB |
bool send_cost (
const char* 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:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetHorizonCB | SetHorizonCB |
bool send_set_horizon (
const char* 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:
tgt_name | Xrl Target name |
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* 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:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetPassiveCB | SetPassiveCB |
bool send_set_passive (
const char* 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:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr PassiveCB | PassiveCB |
bool send_passive (
const char* 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:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetAcceptNonRipRequestsCB | SetAcceptNonRipRequestsCB |
bool send_set_accept_non_rip_requests (
const char* 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:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr AcceptNonRipRequestsCB | AcceptNonRipRequestsCB |
bool send_accept_non_rip_requests (
const char* 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:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetAcceptDefaultRouteCB | SetAcceptDefaultRouteCB |
bool send_set_accept_default_route (
const char* 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:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr AcceptDefaultRouteCB | AcceptDefaultRouteCB |
bool send_accept_default_route (
const char* 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:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetAdvertiseDefaultRouteCB | SetAdvertiseDefaultRouteCB |
bool send_set_advertise_default_route (
const char* 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:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr AdvertiseDefaultRouteCB | AdvertiseDefaultRouteCB |
bool send_advertise_default_route (
const char* 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:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetRouteExpirySecondsCB | SetRouteExpirySecondsCB |
bool send_set_route_expiry_seconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_secs,
const SetRouteExpirySecondsCB& cb
)
| send_set_route_expiry_seconds |
Send Xrl intended to:
Set period that routes associated with reception address will expire in the absence of updates.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr RouteExpirySecondsCB | RouteExpirySecondsCB |
bool send_route_expiry_seconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const RouteExpirySecondsCB& cb
)
| send_route_expiry_seconds |
Send Xrl intended to:
Get period that routes associated with reception address will expire in the absence of updates.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetRouteDeletionSecondsCB | SetRouteDeletionSecondsCB |
bool send_set_route_deletion_seconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_secs,
const SetRouteDeletionSecondsCB& cb
)
| send_set_route_deletion_seconds |
Send Xrl intended to:
Set period that routes associated with reception address will be deleted after they've expired.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr RouteDeletionSecondsCB | RouteDeletionSecondsCB |
bool send_route_deletion_seconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const RouteDeletionSecondsCB& cb
)
| send_route_deletion_seconds |
Send Xrl intended to:
Get period that routes associated with reception address will be deleted after they've expired.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetTableRequestSecondsCB | SetTableRequestSecondsCB |
bool send_set_table_request_seconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_secs,
const SetTableRequestSecondsCB& cb
)
| send_set_table_request_seconds |
Send Xrl intended to:
Set period that route table requests should be sent from address when no peers are associated with it.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr TableRequestSecondsCB | TableRequestSecondsCB |
bool send_table_request_seconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const TableRequestSecondsCB& cb
)
| send_table_request_seconds |
Send Xrl intended to:
Set period that route table requests should be sent from address when no peers are associated with it.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetUnsolicitedResponseMinSecondsCB | SetUnsolicitedResponseMinSecondsCB |
bool send_set_unsolicited_response_min_seconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_secs,
const SetUnsolicitedResponseMinSecondsCB& cb
)
| send_set_unsolicited_response_min_seconds |
Send Xrl intended to:
Set minimum period between the unsolicited sending of the routing table from address.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr UnsolicitedResponseMinSecondsCB | UnsolicitedResponseMinSecondsCB |
bool send_unsolicited_response_min_seconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const UnsolicitedResponseMinSecondsCB& cb
)
| send_unsolicited_response_min_seconds |
Send Xrl intended to:
Get minimum period between the unsolicited sending of the routing table from address.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetUnsolicitedResponseMaxSecondsCB | SetUnsolicitedResponseMaxSecondsCB |
bool send_set_unsolicited_response_max_seconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_secs,
const SetUnsolicitedResponseMaxSecondsCB& cb
)
| send_set_unsolicited_response_max_seconds |
Send Xrl intended to:
Set maximum period between the unsolicited sending of the routing table from address.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr UnsolicitedResponseMaxSecondsCB | UnsolicitedResponseMaxSecondsCB |
bool send_unsolicited_response_max_seconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const UnsolicitedResponseMaxSecondsCB& cb
)
| send_unsolicited_response_max_seconds |
Send Xrl intended to:
Get maximum period between the unsolicited sending of the routing table from address.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetTriggeredUpdateMinSecondsCB | SetTriggeredUpdateMinSecondsCB |
bool send_set_triggered_update_min_seconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_secs,
const SetTriggeredUpdateMinSecondsCB& cb
)
| send_set_triggered_update_min_seconds |
Send Xrl intended to:
Set minimum period between sending triggered updates from address.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr TriggeredUpdateMinSecondsCB | TriggeredUpdateMinSecondsCB |
bool send_triggered_update_min_seconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const TriggeredUpdateMinSecondsCB& cb
)
| send_triggered_update_min_seconds |
Send Xrl intended to:
Get minimum period between sending triggered updates from address.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetTriggeredUpdateMaxSecondsCB | SetTriggeredUpdateMaxSecondsCB |
bool send_set_triggered_update_max_seconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_secs,
const SetTriggeredUpdateMaxSecondsCB& cb
)
| send_set_triggered_update_max_seconds |
Send Xrl intended to:
Set maximum period between sending triggered updates from address.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr TriggeredUpdateMaxSecondsCB | TriggeredUpdateMaxSecondsCB |
bool send_triggered_update_max_seconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const TriggeredUpdateMaxSecondsCB& cb
)
| send_triggered_update_max_seconds |
Send Xrl intended to:
Get maximum period between sending triggered updates from address.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetInterpacketDelayMillisecondsCB | SetInterpacketDelayMillisecondsCB |
bool send_set_interpacket_delay_milliseconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& t_msecs,
const SetInterpacketDelayMillisecondsCB& cb
)
| send_set_interpacket_delay_milliseconds |
Send Xrl intended to:
Set the inter-packet delay between the output of packets from address.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr InterpacketDelayMillisecondsCB | InterpacketDelayMillisecondsCB |
bool send_interpacket_delay_milliseconds (
const char* target_name,
const string& ifname,
const string& vifname,
const IPv4& addr,
const InterpacketDelayMillisecondsCB& cb
)
| send_interpacket_delay_milliseconds |
Send Xrl intended to:
Get the inter-packet delay between the output of packets from address.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr SetSimpleAuthenticationKeyCB | SetSimpleAuthenticationKeyCB |
bool send_set_simple_authentication_key (
const char* 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:
tgt_name | Xrl Target name |
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* 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:
tgt_name | Xrl Target name |
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* 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:
tgt_name | Xrl Target name |
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* 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:
tgt_name | Xrl Target name |
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* 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:
tgt_name | Xrl Target name |
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* target_name,
const GetAllAddressesCB& cb
)
| send_get_all_addresses |
Send Xrl intended to:
Get addresses running RIP.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback3<void, const XrlError&, const XrlAtomList*, const XrlAtomList*>::RefPtr GetCountersCB | GetCountersCB |
bool send_get_counters (
const char* 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:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetPeersCB | GetPeersCB |
bool send_get_peers (
const char* 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:
tgt_name | Xrl Target name |
typedef XorpCallback5<void, const XrlError&, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*>::RefPtr GetAllPeersCB | GetAllPeersCB |
bool send_get_all_peers (
const char* 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:
tgt_name | Xrl Target name |
typedef XorpCallback4<void, const XrlError&, const XrlAtomList*, const XrlAtomList*, const uint32_t*>::RefPtr GetPeerCountersCB | GetPeerCountersCB |
bool send_get_peer_counters (
const char* 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:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr RedistProtocolRoutesCB | RedistProtocolRoutesCB |
bool send_redist_protocol_routes (
const char* target_name,
const string& protocol_name,
const uint32_t& cost,
const uint32_t& tag,
const RedistProtocolRoutesCB& cb
)
| send_redist_protocol_routes |
Send Xrl intended to:
Configure protocol route redistribution.
Parameters:
tgt_name | Xrl Target name |
protocol_name | name of protocol to redistribute routes from. |
cost | RIP cost metric to assign to protocol routes. |
tag | RIP tag to associate with protocol routes. |
typedef XorpCallback1<void, const XrlError&>::RefPtr NoRedistProtocolRoutesCB | NoRedistProtocolRoutesCB |
bool send_no_redist_protocol_routes (
const char* target_name,
const string& protocol_name,
const NoRedistProtocolRoutesCB& cb
)
| send_no_redist_protocol_routes |
Send Xrl intended to:
Remove protocol route redistribution.
Parameters:
tgt_name | Xrl Target name |
protocol_name | name of protocol to stop redistribution of routes from. |
XrlSender* _sender | _sender |
[protected]