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,
const ConfigNodeId& node_id,
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 change_config (uid_t user_id, CallBack cb, string& errmsg)
- bool apply_config_change (uid_t user_id, string& errmsg,
const string& deltas,
const string& deletions,
ConfigChangeCallBack cb)
- bool save_config (const string& filename, uid_t user_id,
string& errmsg, ConfigSaveCallBack cb)
- bool load_config (const string& filename, uid_t user_id, string& errmsg,
ConfigLoadCallBack cb)
- void set_config_directory (const string& config_directory)
- ModuleManager& module_manager () const
- virtual ConfigTreeNode& root_node ()
- virtual const ConfigTreeNode& const_root_node () const
- inline MasterConfigTreeNode& master_root_node ()
- 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 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 |
[const]
[virtual]
Reimplemented from ConfigTree.
[const virtual]
Reimplemented from ConfigTree.
[const]
Reimplemented from ConfigTree.
Reimplemented from ConfigTree.
Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:46 2006, using kdoc $.