class MasterConfigTree


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 MasterConfigTree (const string& config_file, TemplateTree* tt, ModuleManager& mmgr, XorpClient& xclient, bool global_do_exec, bool verbose)
throw (InitError)

MasterConfigTree

bool  read_file (string& configuration, const string& config_file, string& errmsg)

read_file

bool  parse (const string& configuration, const string& config_file, string& errmsg)

parse

Reimplemented from ConfigTree.

void  execute ()

execute

void  config_done (bool success, string errmsg)

config_done

void  commit_changes_pass1 (CallBack cb)

commit_changes_pass1

void  commit_pass1_done (bool success, string errmsg)

commit_pass1_done

void  commit_changes_pass2 ()

commit_changes_pass2

void  commit_pass2_done (bool success, string errmsg)

commit_pass2_done

bool  commit_in_progress ()

commit_in_progress

[const]

bool  config_failed ()

config_failed

[const]

const string&  config_failed_msg ()

config_failed_msg

[const]

bool  check_commit_status (string& response)

check_commit_status

string  discard_changes ()

discard_changes

string  mark_subtree_for_deletion (const list<string>& path_segments, uid_t user_id)

mark_subtree_for_deletion

void  delete_entire_config ()

delete_entire_config

bool  lock_node (const string& node, uid_t user_id, uint32_t timeout, uint32_t& holder)

lock_node

bool  unlock_node (const string& node, uid_t user_id)

unlock_node

bool  save_to_file (const string& filename, uid_t user_id, const string& save_hook, string& errmsg)

save_to_file

bool  load_from_file (const string& filename, uid_t user_id, string& errmsg, string& deltas, string& deletions)

load_from_file


Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:41 2004, using kdoc $.