class XrlRibV0p1Client


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

 XrlRibV0p1Client (XrlSender* s)

XrlRibV0p1Client

 ~XrlRibV0p1Client ()

~XrlRibV0p1Client

[virtual]

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

EnableRibCB

bool  send_enable_rib ( const char* target_name, const EnableRibCB& cb )

send_enable_rib

Send Xrl intended to:

Enable/disable/start/stop RIB.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr DisableRibCB

DisableRibCB

bool  send_disable_rib ( const char* target_name, const DisableRibCB& cb )

send_disable_rib

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

StartRibCB

bool  send_start_rib ( const char* target_name, const StartRibCB& cb )

send_start_rib

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

StopRibCB

bool  send_stop_rib ( const char* target_name, const StopRibCB& cb )

send_stop_rib

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

MakeErrorsFatalCB

bool  send_make_errors_fatal ( const char* target_name, const MakeErrorsFatalCB& cb )

send_make_errors_fatal

Send Xrl intended to:

Make errors fatal; used to detect errors we'd normally mask

Parameters:

tgt_nameXrl Target name
typedef XorpCallback5<void, const XrlError&, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*>::RefPtr GetRegisteredProtocolsCB

GetRegisteredProtocolsCB

bool  send_get_registered_protocols ( const char* target_name, const bool& ipv4, const bool& ipv6, const bool& unicast, const bool& multicast, const GetRegisteredProtocolsCB& cb )

send_get_registered_protocols

Send Xrl intended to:

Get the list of registered protocols.

Parameters:

tgt_nameXrl Target name
ipv4if true, then include the IPv4 protocols.
ipv6if true, then include the IPv6 protocols.
unicastif true, then include the protocols registered with the unicast RIB.
multicastif true, then include the protocols registered with the multicast RIB.
typedef XorpCallback1<void, const XrlError&>::RefPtr AddIgpTable4CB

AddIgpTable4CB

bool  send_add_igp_table4 ( const char* target_name, const string& protocol, const string& target_class, const string& target_instance, const bool& unicast, const bool& multicast, const AddIgpTable4CB& cb )

send_add_igp_table4

Send Xrl intended to:

Add/delete an IGP or EGP table.

Parameters:

tgt_nameXrl Target name
protocolthe name of the protocol.
target_classthe target class of the protocol.
target_instancethe target instance of the protocol.
unicasttrue if the table is for the unicast RIB.
multicasttrue if the table is for the multicast RIB.
typedef XorpCallback1<void, const XrlError&>::RefPtr AddIgpTable6CB

AddIgpTable6CB

bool  send_add_igp_table6 ( const char* target_name, const string& protocol, const string& target_class, const string& target_instance, const bool& unicast, const bool& multicast, const AddIgpTable6CB& cb )

send_add_igp_table6

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

DeleteIgpTable4CB

bool  send_delete_igp_table4 ( const char* target_name, const string& protocol, const string& target_class, const string& target_instance, const bool& unicast, const bool& multicast, const DeleteIgpTable4CB& cb )

send_delete_igp_table4

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

DeleteIgpTable6CB

bool  send_delete_igp_table6 ( const char* target_name, const string& protocol, const string& target_class, const string& target_instance, const bool& unicast, const bool& multicast, const DeleteIgpTable6CB& cb )

send_delete_igp_table6

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

AddEgpTable4CB

bool  send_add_egp_table4 ( const char* target_name, const string& protocol, const string& target_class, const string& target_instance, const bool& unicast, const bool& multicast, const AddEgpTable4CB& cb )

send_add_egp_table4

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

AddEgpTable6CB

bool  send_add_egp_table6 ( const char* target_name, const string& protocol, const string& target_class, const string& target_instance, const bool& unicast, const bool& multicast, const AddEgpTable6CB& cb )

send_add_egp_table6

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

DeleteEgpTable4CB

bool  send_delete_egp_table4 ( const char* target_name, const string& protocol, const string& target_class, const string& target_instance, const bool& unicast, const bool& multicast, const DeleteEgpTable4CB& cb )

send_delete_egp_table4

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

DeleteEgpTable6CB

bool  send_delete_egp_table6 ( const char* target_name, const string& protocol, const string& target_class, const string& target_instance, const bool& unicast, const bool& multicast, const DeleteEgpTable6CB& cb )

send_delete_egp_table6

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

AddRoute4CB

bool  send_add_route4 ( const char* target_name, const string& protocol, const bool& unicast, const bool& multicast, const IPv4Net& network, const IPv4& nexthop, const uint32_t& metric, const XrlAtomList& policytags, const AddRoute4CB& cb )

send_add_route4

Send Xrl intended to:

Add/replace/delete a route.

Parameters:

tgt_nameXrl Target name
protocolthe name of the protocol this route comes from.
unicasttrue if the route is for the unicast RIB.
multicasttrue if the route is for the multicast RIB.
networkthe network address prefix of the route.
nexthopthe address of the next-hop router toward the destination.
metricthe routing metric.
policytagsa set of policy tags used for redistribution.
typedef XorpCallback1<void, const XrlError&>::RefPtr AddRoute6CB

AddRoute6CB

bool  send_add_route6 ( const char* target_name, const string& protocol, const bool& unicast, const bool& multicast, const IPv6Net& network, const IPv6& nexthop, const uint32_t& metric, const XrlAtomList& policytags, const AddRoute6CB& cb )

send_add_route6

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

ReplaceRoute4CB

bool  send_replace_route4 ( const char* target_name, const string& protocol, const bool& unicast, const bool& multicast, const IPv4Net& network, const IPv4& nexthop, const uint32_t& metric, const XrlAtomList& policytags, const ReplaceRoute4CB& cb )

send_replace_route4

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

ReplaceRoute6CB

bool  send_replace_route6 ( const char* target_name, const string& protocol, const bool& unicast, const bool& multicast, const IPv6Net& network, const IPv6& nexthop, const uint32_t& metric, const XrlAtomList& policytags, const ReplaceRoute6CB& cb )

send_replace_route6

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

DeleteRoute4CB

bool  send_delete_route4 ( const char* target_name, const string& protocol, const bool& unicast, const bool& multicast, const IPv4Net& network, const DeleteRoute4CB& cb )

send_delete_route4

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

DeleteRoute6CB

bool  send_delete_route6 ( const char* target_name, const string& protocol, const bool& unicast, const bool& multicast, const IPv6Net& network, const DeleteRoute6CB& cb )

send_delete_route6

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

AddInterfaceRoute4CB

bool  send_add_interface_route4 ( const char* target_name, const string& protocol, const bool& unicast, const bool& multicast, const IPv4Net& network, const IPv4& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const XrlAtomList& policytags, const AddInterfaceRoute4CB& cb )

send_add_interface_route4

Send Xrl intended to:

Add/replace a route by explicitly specifying the network interface toward the destination.

Parameters:

tgt_nameXrl Target name
protocolthe name of the protocol this route comes from.
unicasttrue if the route is for the unicast RIB.
multicasttrue if the route is for the multicast RIB.
networkthe network address prefix of the route.
nexthopthe address of the next-hop router toward the destination.
ifnameof the name of the physical interface toward the destination.
vifnameof the name of the virtual interface toward the destination.
metricthe routing metric.
policytagsa set of policy tags used for redistribution.
typedef XorpCallback1<void, const XrlError&>::RefPtr AddInterfaceRoute6CB

AddInterfaceRoute6CB

bool  send_add_interface_route6 ( const char* target_name, const string& protocol, const bool& unicast, const bool& multicast, const IPv6Net& network, const IPv6& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const XrlAtomList& policytags, const AddInterfaceRoute6CB& cb )

send_add_interface_route6

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

ReplaceInterfaceRoute4CB

bool  send_replace_interface_route4 ( const char* target_name, const string& protocol, const bool& unicast, const bool& multicast, const IPv4Net& network, const IPv4& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const XrlAtomList& policytags, const ReplaceInterfaceRoute4CB& cb )

send_replace_interface_route4

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

ReplaceInterfaceRoute6CB

bool  send_replace_interface_route6 ( const char* target_name, const string& protocol, const bool& unicast, const bool& multicast, const IPv6Net& network, const IPv6& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const XrlAtomList& policytags, const ReplaceInterfaceRoute6CB& cb )

send_replace_interface_route6

typedef XorpCallback2<void, const XrlError&, const IPv4*>::RefPtr LookupRouteByDest4CB

LookupRouteByDest4CB

bool  send_lookup_route_by_dest4 ( const char* target_name, const IPv4& addr, const bool& unicast, const bool& multicast, const LookupRouteByDest4CB& cb )

send_lookup_route_by_dest4

Send Xrl intended to:

Lookup nexthop.

Parameters:

tgt_nameXrl Target name
addraddress to lookup.
unicastlook in unicast RIB.
multicastlook in multicast RIB.
typedef XorpCallback2<void, const XrlError&, const IPv6*>::RefPtr LookupRouteByDest6CB

LookupRouteByDest6CB

bool  send_lookup_route_by_dest6 ( const char* target_name, const IPv6& addr, const bool& unicast, const bool& multicast, const LookupRouteByDest6CB& cb )

send_lookup_route_by_dest6

Send Xrl intended to:

Lookup nexthop.

Parameters:

tgt_nameXrl Target name
addraddress to lookup.
unicastlook in unicast RIB.
multicastlook in multicast RIB.
typedef XorpCallback1<void, const XrlError&>::RefPtr NewVifCB

NewVifCB

bool  send_new_vif ( const char* target_name, const string& name, const NewVifCB& cb )

send_new_vif

Send Xrl intended to:

Add a vif or a vif address to the RIB. This interface should be used only for testing purpose.

Parameters:

tgt_nameXrl Target name
namethe name of the vif.
typedef XorpCallback1<void, const XrlError&>::RefPtr AddVifAddr4CB

AddVifAddr4CB

bool  send_add_vif_addr4 ( const char* target_name, const string& name, const IPv4& addr, const IPv4Net& subnet, const AddVifAddr4CB& cb )

send_add_vif_addr4

Send Xrl intended to:

Add a vif address to the RIB. This interface should be used only for testing purpose.

Parameters:

tgt_nameXrl Target name
namethe name of the vif.
addrthe address to add.
subnetthe subnet address to add.
typedef XorpCallback1<void, const XrlError&>::RefPtr AddVifAddr6CB

AddVifAddr6CB

bool  send_add_vif_addr6 ( const char* target_name, const string& name, const IPv6& addr, const IPv6Net& subnet, const AddVifAddr6CB& cb )

send_add_vif_addr6

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

RedistEnable4CB

bool  send_redist_enable4 ( const char* target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const IPv4Net& network_prefix, const string& cookie, const RedistEnable4CB& cb )

send_redist_enable4

Send Xrl intended to:

Enable route redistribution from one routing protocol to another.

Parameters:

tgt_nameXrl Target name
to_xrl_targetthe XRL Target instance name of the caller. The caller must implement redist4/0.1.
from_protocolthe name of the routing process routes are to be redistributed from.
unicastenable for unicast RIBs matching from and to.
multicastenable for multicast RIBs matching from and to.
network_prefixredistribite only the routes that fall into this prefix address.
cookiea text value passed back to creator in each call from the RIB. This allows creators to identity the source of updates it receives through the redist4/0.1 interface.
typedef XorpCallback1<void, const XrlError&>::RefPtr RedistEnable6CB

RedistEnable6CB

bool  send_redist_enable6 ( const char* target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const IPv6Net& network_prefix, const string& cookie, const RedistEnable6CB& cb )

send_redist_enable6

Send Xrl intended to:

Enable route redistribution from one routing protocol to another.

Parameters:

tgt_nameXrl Target name
to_xrl_targetthe XRL Target instance name of the caller. The caller must implement redist6/0.1.
from_protocolthe name of the routing process routes are to be redistributed from.
unicastenable for unicast RIBs matching from and to.
multicastenable for multicast RIBs matching from and to.
network_prefixredistribite only the routes that fall into this prefix address.
cookiea text value passed back to creator in each call from the RIB. This allows creators to identity the source of updates it receives through the redist6/0.1 interface.
typedef XorpCallback1<void, const XrlError&>::RefPtr RedistDisable4CB

RedistDisable4CB

bool  send_redist_disable4 ( const char* target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const string& cookie, const RedistDisable4CB& cb )

send_redist_disable4

Send Xrl intended to:

Disable route redistribution from one routing protocol to another.

Parameters:

tgt_nameXrl Target name
to_xrl_targetthe XRL Target instance name of the caller. The caller must implement redist4/0.1 and previously called redist_enable4.
unicastdisable for unicast RIBs matching from and to.
multicastdisable for multicast RIBs matching from and to.
cookiea text value passed back to creator in each call from the RIB. This allows creators to identity the source of updates it receives through the redist4/0.1 interface.
typedef XorpCallback1<void, const XrlError&>::RefPtr RedistDisable6CB

RedistDisable6CB

bool  send_redist_disable6 ( const char* target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const string& cookie, const RedistDisable6CB& cb )

send_redist_disable6

Send Xrl intended to:

Disable route redistribution from one routing protocol to another.

Parameters:

tgt_nameXrl Target name
to_xrl_targetthe XRL Target instance name of the caller. The caller must implement redist6/0.1 and previously called redist_enable6.
unicastdisable for unicast RIBs matching from and to.
multicastdisable for multicast RIBs matching from and to.
cookiea text value passed back to creator in each call from the RIB. This allows creators to identity the source of updates it receives through the redist6/0.1 interface.
typedef XorpCallback1<void, const XrlError&>::RefPtr RedistTransactionEnable4CB

RedistTransactionEnable4CB

bool  send_redist_transaction_enable4 ( const char* target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const IPv4Net& network_prefix, const string& cookie, const RedistTransactionEnable4CB& cb )

send_redist_transaction_enable4

Send Xrl intended to:

Enable transaction-based route redistribution from one routing protocol to another.

Parameters:

tgt_nameXrl Target name
to_xrl_targetthe XRL Target instance name of the caller. The caller must implement redist_transaction4/0.1.
from_protocolthe name of the routing process routes are to be redistributed from.
unicastenable for unicast RIBs matching from and to.
multicastenable for multicast RIBs matching from and to.
network_prefixredistribite only the routes that fall into this prefix address.
cookiea text value passed back to creator in each call from the RIB. This allows creators to identity the source of updates it receives through the redist_transaction4/0.1 interface.
typedef XorpCallback1<void, const XrlError&>::RefPtr RedistTransactionEnable6CB

RedistTransactionEnable6CB

bool  send_redist_transaction_enable6 ( const char* target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const IPv6Net& network_prefix, const string& cookie, const RedistTransactionEnable6CB& cb )

send_redist_transaction_enable6

Send Xrl intended to:

Enable transaction-based route redistribution from one routing protocol to another.

Parameters:

tgt_nameXrl Target name
to_xrl_targetthe XRL Target instance name of the caller. The caller must implement redist_transaction6/0.1.
from_protocolthe name of the routing process routes are to be redistributed from.
unicastenable for unicast RIBs matching from and to.
multicastenable for multicast RIBs matching from and to.
network_prefixredistribite only the routes that fall into this prefix address.
cookiea text value passed back to creator in each call from the RIB. This allows creators to identity the source of updates it receives through the redist_transaction6/0.1 interface.
typedef XorpCallback1<void, const XrlError&>::RefPtr RedistTransactionDisable4CB

RedistTransactionDisable4CB

bool  send_redist_transaction_disable4 ( const char* target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const string& cookie, const RedistTransactionDisable4CB& cb )

send_redist_transaction_disable4

Send Xrl intended to:

Disable transaction-based route redistribution from one routing protocol to another.

Parameters:

tgt_nameXrl Target name
to_xrl_targetthe XRL Target instance name of the caller. The caller must implement redist_transaction4/0.1 and previously called redist_transaction_enable4.
unicastdisable for unicast RIBs matching from and to.
multicastdisable for multicast RIBs matching from and to.
cookiea text value passed back to creator in each call from the RIB. This allows creators to identity the source of updates it receives through the redist_transaction4/0.1 interface.
typedef XorpCallback1<void, const XrlError&>::RefPtr RedistTransactionDisable6CB

RedistTransactionDisable6CB

bool  send_redist_transaction_disable6 ( const char* target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const string& cookie, const RedistTransactionDisable6CB& cb )

send_redist_transaction_disable6

Send Xrl intended to:

Disable transaction-based route redistribution from one routing protocol to another.

Parameters:

tgt_nameXrl Target name
to_xrl_targetthe XRL Target instance name of the caller. The caller must implement redist_transaction6/0.1 and previously called redist_transaction_enable6.
unicastdisable for unicast RIBs matching from and to.
multicastdisable for multicast RIBs matching from and to.
cookiea text value passed back to creator in each call from the RIB. This allows creators to identity the source of updates it receives through the redist_transaction6/0.1 interface.
typedef XorpCallback7<void, const XrlError&, const bool*, const IPv4*, const uint32_t*, const uint32_t*, const IPv4*, const uint32_t*>::RefPtr RegisterInterest4CB

RegisterInterest4CB

bool  send_register_interest4 ( const char* target_name, const string& target, const IPv4& addr, const RegisterInterest4CB& cb )

send_register_interest4

Send Xrl intended to:

Register an interest in a route.

Parameters:

tgt_nameXrl Target name
targetthe name of the XRL module to notify when the information returned by this call becomes invalid.
addraddress of interest.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeregisterInterest4CB

DeregisterInterest4CB

bool  send_deregister_interest4 ( const char* target_name, const string& target, const IPv4& addr, const uint32_t& prefix_len, const DeregisterInterest4CB& cb )

send_deregister_interest4

Send Xrl intended to:

De-register an interest in a route.

Parameters:

tgt_nameXrl Target name
targetthe name of the XRL module that registered the interest.
addrthe address of the previous registered interest. addr should be the base address of the add/prefix_len subnet.
prefix_lenthe prefix length of the registered interest, as given in the response from register_interest.
typedef XorpCallback7<void, const XrlError&, const bool*, const IPv6*, const uint32_t*, const uint32_t*, const IPv6*, const uint32_t*>::RefPtr RegisterInterest6CB

RegisterInterest6CB

bool  send_register_interest6 ( const char* target_name, const string& target, const IPv6& addr, const RegisterInterest6CB& cb )

send_register_interest6

Send Xrl intended to:

Register an interest in a route.

Parameters:

tgt_nameXrl Target name
targetthe name of the XRL module to notify when the information returned by this call becomes invalid.
addraddress of interest.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeregisterInterest6CB

DeregisterInterest6CB

bool  send_deregister_interest6 ( const char* target_name, const string& target, const IPv6& addr, const uint32_t& prefix_len, const DeregisterInterest6CB& cb )

send_deregister_interest6

Send Xrl intended to:

De-register an interest in a route.

Parameters:

tgt_nameXrl Target name
targetthe name of the XRL module that registered the interest.
addrthe address of the previous registered interest. addr should be the base address of the add/prefix_len subnet.
prefix_lenthe prefix length of the registered interest, as given in the response from register_interest.
typedef XorpCallback1<void, const XrlError&>::RefPtr InsertPolicyRedistTagsCB

InsertPolicyRedistTagsCB

bool  send_insert_policy_redist_tags ( const char* target_name, const string& protocol, const XrlAtomList& policytags, const InsertPolicyRedistTagsCB& cb )

send_insert_policy_redist_tags

Send Xrl intended to:

Add policy tags for a specific protcol in the redistribution map.

Parameters:

tgt_nameXrl Target name
protocolThe destination protocol of the redistribution.
policytagsThe set of policytags of interest for the protocol.
typedef XorpCallback1<void, const XrlError&>::RefPtr ResetPolicyRedistTagsCB

ResetPolicyRedistTagsCB

bool  send_reset_policy_redist_tags ( const char* target_name, const ResetPolicyRedistTagsCB& cb )

send_reset_policy_redist_tags

Send Xrl intended to:

Reset the policy redistribution map. No policy based route redistribution will be available at this point.

Parameters:

tgt_nameXrl Target name
XrlSender* _sender

_sender

[protected]


Generated by: pavlin on possum.icir.org on Thu Mar 9 04:42:40 2006, using kdoc $.