XrlRedistTransaction4V0p1Client (XrlSender* s)
| XrlRedistTransaction4V0p1Client |
~XrlRedistTransaction4V0p1Client ()
| ~XrlRedistTransaction4V0p1Client |
[virtual]
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr StartTransactionCB | StartTransactionCB |
bool send_start_transaction (
const char* target_name,
const StartTransactionCB& cb
)
| send_start_transaction |
Send Xrl intended to:
Start transaction.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback1<void, const XrlError&>::RefPtr CommitTransactionCB | CommitTransactionCB |
bool send_commit_transaction (
const char* target_name,
const uint32_t& tid,
const CommitTransactionCB& cb
)
| send_commit_transaction |
Send Xrl intended to:
Commit transaction.
Parameters:
tgt_name | Xrl Target name |
tid | the transaction ID of this transaction. |
typedef XorpCallback1<void, const XrlError&>::RefPtr AbortTransactionCB | AbortTransactionCB |
bool send_abort_transaction (
const char* target_name,
const uint32_t& tid,
const AbortTransactionCB& cb
)
| send_abort_transaction |
Send Xrl intended to:
Abort transaction.
Parameters:
tgt_name | Xrl Target name |
tid | the transaction ID of this transaction. |
typedef XorpCallback1<void, const XrlError&>::RefPtr AddRouteCB | AddRouteCB |
bool send_add_route (
const char* target_name,
const uint32_t& tid,
const IPv4Net& dst,
const IPv4& nexthop,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& cookie,
const string& protocol_origin,
const AddRouteCB& cb
)
| send_add_route |
Send Xrl intended to:
Add/delete a routing entry.
Parameters:
tgt_name | Xrl Target name |
tid | the transaction ID of this transaction. |
dst | destination network. |
nexthop | nexthop router address. |
ifname | interface name associated with nexthop. |
vifname | virtual interface name with nexthop. |
metric | origin routing protocol metric for route. |
admin_distance | administrative distance of origin routing protocol. |
cookie | value set by the requestor to identify redistribution source. Typical value is the originating protocol name. |
protocol_origin | the name of the protocol that originated this routing entry. |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteRouteCB | DeleteRouteCB |
bool send_delete_route (
const char* target_name,
const uint32_t& tid,
const IPv4Net& network,
const string& cookie,
const string& protocol_origin,
const DeleteRouteCB& cb
)
| send_delete_route |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAllRoutesCB | DeleteAllRoutesCB |
bool send_delete_all_routes (
const char* target_name,
const uint32_t& tid,
const string& cookie,
const DeleteAllRoutesCB& cb
)
| send_delete_all_routes |
Send Xrl intended to:
Delete all routing entries.
Parameters:
tgt_name | Xrl Target name |
tid | the transaction ID of this transaction. |
cookie | value set by the requestor to identify redistribution source. Typical value is the originating protocol name. |
XrlSender* _sender | _sender |
[protected]