class MasterConfigTree


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

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

MasterConfigTree

 MasterConfigTree (TemplateTree* tt, bool verbose)

MasterConfigTree

MasterConfigTree&  operator= (const MasterConfigTree& orig_tree)

operator=

Reimplemented from ConfigTree.

 ~MasterConfigTree ()

~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

ConfigTreeNode*  create_node (const string& segment, const string& path, const TemplateTreeNode* ttn, ConfigTreeNode* parent_node, const ConfigNodeId& node_id, uid_t user_id, bool verbose)

create_node

[virtual]

Reimplemented from ConfigTree.

ConfigTree*  create_tree (TemplateTree *tt, bool verbose)

create_tree

[virtual]

Reimplemented from ConfigTree.

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  change_config (uid_t user_id, CallBack cb, string& errmsg)

change_config

bool  apply_config_change (uid_t user_id, string& errmsg, const string& deltas, const string& deletions, ConfigChangeCallBack cb)

apply_config_change

bool  save_config (const string& filename, uid_t user_id, string& errmsg, ConfigSaveCallBack cb)

save_config

bool  load_config (const string& filename, uid_t user_id, string& errmsg, ConfigLoadCallBack cb)

load_config

void  set_config_directory (const string& config_directory)

set_config_directory

ModuleManager&  module_manager ()

module_manager

[const]

ConfigTreeNode&  root_node ()

root_node

[virtual]

Reimplemented from ConfigTree.

const ConfigTreeNode&  const_root_node ()

const_root_node

[const virtual]

Reimplemented from ConfigTree.

inline MasterConfigTreeNode&  master_root_node ()

master_root_node

inline const MasterConfigTreeNode&  const_master_root_node ()

const_master_root_node

[const]

inline MasterConfigTreeNode*  find_node (const list<string>& path)

find_node

Reimplemented from ConfigTree.

inline MasterConfigTreeNode*  find_config_module (const string& module_name)

find_config_module

Reimplemented from ConfigTree.


Generated by: pavlin on possum.icir.org on Wed Mar 21 11:24:12 2007, using kdoc $.