class XrlPolicyV0p1Client


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

 XrlPolicyV0p1Client (XrlSender* s)

XrlPolicyV0p1Client

 ~XrlPolicyV0p1Client ()

~XrlPolicyV0p1Client

[virtual]

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

CreateTermCB

bool  send_create_term ( const char* dst_xrl_target_name, const string& policy, const string& order, const string& term, const CreateTermCB& cb )

send_create_term

Send Xrl intended to:

Create a term in a policy. The term will be the last term in the policy statement.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
policythe name of the policy.
orderposition of term.
termthe name of the term.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteTermCB

DeleteTermCB

bool  send_delete_term ( const char* dst_xrl_target_name, const string& policy, const string& term, const DeleteTermCB& cb )

send_delete_term

Send Xrl intended to:

Delete a term in a policy.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
policythe name of the policy.
termthe name of the term.
typedef XorpCallback1<void, const XrlError&>::RefPtr UpdateTermBlockCB

UpdateTermBlockCB

bool  send_update_term_block ( const char* dst_xrl_target_name, const string& policy, const string& term, const uint32_t& block, const string& order, const string& statement, const UpdateTermBlockCB& cb )

send_update_term_block

Send Xrl intended to:

Update the source/dest/action block of a term in a policy. Note: if statement is empty, the previous one in that position will be deleted.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
policythe name of the policy.
termthe name of the term.
blockthe block to update (0:source, 1:dest, 2:action).
ordernumerical position (local) of statement.
statementthe statement to insert or delete.
typedef XorpCallback1<void, const XrlError&>::RefPtr CreatePolicyCB

CreatePolicyCB

bool  send_create_policy ( const char* dst_xrl_target_name, const string& policy, const CreatePolicyCB& cb )

send_create_policy

Send Xrl intended to:

Create a policy.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
policyname of the policy.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeletePolicyCB

DeletePolicyCB

bool  send_delete_policy ( const char* dst_xrl_target_name, const string& policy, const DeletePolicyCB& cb )

send_delete_policy

Send Xrl intended to:

Delete a policy.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
policyname of the policy.
typedef XorpCallback1<void, const XrlError&>::RefPtr CreateSetCB

CreateSetCB

bool  send_create_set ( const char* dst_xrl_target_name, const string& set, const CreateSetCB& cb )

send_create_set

Send Xrl intended to:

Create a set.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
setname of the set.
typedef XorpCallback1<void, const XrlError&>::RefPtr UpdateSetCB

UpdateSetCB

bool  send_update_set ( const char* dst_xrl_target_name, const string& type, const string& set, const string& elements, const UpdateSetCB& cb )

send_update_set

Send Xrl intended to:

Replace elements in a set.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
typethe type of the set.
setname of the set.
elementscomma delimited list of set elements.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteSetCB

DeleteSetCB

bool  send_delete_set ( const char* dst_xrl_target_name, const string& set, const DeleteSetCB& cb )

send_delete_set

Send Xrl intended to:

Delete a set.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
setname of the set.
typedef XorpCallback1<void, const XrlError&>::RefPtr DoneGlobalPolicyConfCB

DoneGlobalPolicyConfCB

bool  send_done_global_policy_conf ( const char* dst_xrl_target_name, const DoneGlobalPolicyConfCB& cb )

send_done_global_policy_conf

Send Xrl intended to:

Commit the configuration.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
typedef XorpCallback1<void, const XrlError&>::RefPtr ImportCB

ImportCB

bool  send_import ( const char* dst_xrl_target_name, const string& protocol, const string& policies, const ImportCB& cb )

send_import

Send Xrl intended to:

Replace import/export policies for a protocol. Will normally cause a delayed commit.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
protocolprotocol for which policies must be replaced.
policiescomma separated list of policies.
typedef XorpCallback1<void, const XrlError&>::RefPtr ExportCB

ExportCB

bool  send_export ( const char* dst_xrl_target_name, const string& protocol, const string& policies, const ExportCB& cb )

send_export

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

AddVarmapCB

bool  send_add_varmap ( const char* dst_xrl_target_name, const string& protocol, const string& variable, const string& type, const string& access, const uint32_t& id, const AddVarmapCB& cb )

send_add_varmap

Send Xrl intended to:

Add a variable to the varmap configuration.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
protocolthe protocol this variable is available to.
variablename of the variable.
typethe type of the variable.
accessthe permissions on the variable (r/rw).
idunique id for this var. Scoped by protocol.
typedef XorpCallback2<void, const XrlError&, const string*>::RefPtr DumpStateCB

DumpStateCB

bool  send_dump_state ( const char* dst_xrl_target_name, const uint32_t& id, const DumpStateCB& cb )

send_dump_state

Send Xrl intended to:

Dump state of policy manager. To be used ONLY for debugging.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
idwhich aspect of the internal state to dump.
typedef XorpCallback1<void, const XrlError&>::RefPtr SetProtoTargetCB

SetProtoTargetCB

bool  send_set_proto_target ( const char* dst_xrl_target_name, const string& protocol, const string& target, const SetProtoTargetCB& cb )

send_set_proto_target

Send Xrl intended to:

Update the mapping from protocols to their XRL target name.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
protocolprotocol to update.
targetXRL target for the protocol.
XrlSender* _sender

_sender

[protected]


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:06 2006, using kdoc $.