Public Methods
- MasterConfigTree (const string& config_file, MasterTemplateTree* tt,
ModuleManager& mmgr, XorpClient& xclient,
bool global_do_exec, bool verbose)
- MasterConfigTree (TemplateTree* tt, bool verbose)
- MasterConfigTree& operator= (const MasterConfigTree& orig_tree)
- ~MasterConfigTree ()
- bool read_file (string& configuration, const string& config_file,
string& errmsg)
- bool parse (const string& configuration, const string& config_file,
string& errmsg)
- void execute ()
- void config_done (bool success, string errmsg)
- virtual ConfigTreeNode* create_node (const string& segment,
const string& path,
const TemplateTreeNode* ttn,
ConfigTreeNode* parent_node,
uid_t user_id, bool verbose)
- virtual ConfigTree* create_tree (TemplateTree *tt, bool verbose)
- void commit_changes_pass1 (CallBack cb)
- void commit_pass1_done (bool success, string errmsg)
- void commit_changes_pass2 ()
- void commit_pass2_done (bool success, string errmsg)
- bool commit_in_progress () const
- bool config_failed () const
- const string& config_failed_msg () const
- bool check_commit_status (string& response)
- string discard_changes ()
- string mark_subtree_for_deletion (const list<string>& path_segments,
uid_t user_id)
- void delete_entire_config ()
- bool lock_node (const string& node, uid_t user_id, uint32_t timeout,
uint32_t& holder)
- bool unlock_node (const string& node, uid_t user_id)
- bool save_to_file (const string& filename, uid_t user_id,
const string& save_hook, string& errmsg)
- bool load_from_file (const string& filename, uid_t user_id, string& errmsg,
string& deltas, string& deletions)
- ModuleManager& module_manager () const
- virtual ConfigTreeNode& root_node ()
- virtual const ConfigTreeNode& const_root_node () const
- inline MasterConfigTreeNode& master_root_node () const
- inline const MasterConfigTreeNode& const_master_root_node () const
- inline MasterConfigTreeNode* find_node (const list<string>& path)
- inline MasterConfigTreeNode* find_config_module (const string& module_name)
MasterConfigTree (TemplateTree* tt, bool verbose)
| MasterConfigTree |
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 config_done (bool success, string errmsg)
| config_done |
[virtual]
Reimplemented from ConfigTree.
[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 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 |
[const]
[virtual]
Reimplemented from ConfigTree.
[const virtual]
Reimplemented from ConfigTree.
[const]
[const]
Reimplemented from ConfigTree.
Reimplemented from ConfigTree.
Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:23 2005, using kdoc $.