Public Methods
- XrlRtrmgrInterface (XrlRouter& r, UserDB& db, EventLoop& eventloop,
RandomGen& randgen, Rtrmgr& rtrmgr)
- ~XrlRtrmgrInterface ()
- void set_master_config_tree (MasterConfigTree* v)
- XrlCmdError common_0_1_get_target_name (
string& name)
- XrlCmdError common_0_1_get_version (
string& version)
- XrlCmdError common_0_1_get_status (
uint32_t& status,
string& reason)
- XrlCmdError common_0_1_shutdown ()
- XrlCmdError rtrmgr_0_1_get_pid (
uint32_t& pid)
- XrlCmdError rtrmgr_0_1_register_client (
const uint32_t& user_id,
const string& clientname,
string& filename,
uint32_t& pid,
uint32_t& clientid)
- XrlCmdError rtrmgr_0_1_unregister_client (
const string& token)
- XrlCmdError rtrmgr_0_1_authenticate_client (
const uint32_t& user_id,
const string& clientname,
const string& token)
- XrlCmdError rtrmgr_0_1_enter_config_mode (
const string& token,
const bool& exclusive)
- XrlCmdError rtrmgr_0_1_leave_config_mode (
const string& token)
- XrlCmdError rtrmgr_0_1_get_config_users (
const string& token,
XrlAtomList& users)
- XrlCmdError rtrmgr_0_1_get_running_config (
const string& token,
bool& ready,
string& config)
- XrlCmdError rtrmgr_0_1_apply_config_change (
const string& token,
const string& target,
const string& deltas,
const string& deletions)
- void apply_config_change_done (bool success, string error_msg,
string deltas, string deletions,
uid_t user_id, string target)
- void config_saved_done_cb (const XrlError&)
- void apply_config_change_done_cb (const XrlError&)
- void client_updated (const XrlError& e, uid_t user_id, UserInstance* user)
- void module_status_changed (const string& modname,
GenericModule::ModuleStatus status)
- XrlCmdError rtrmgr_0_1_lock_config (
const string& token,
const uint32_t& timeout,
bool& success,
uint32_t& holder)
- XrlCmdError rtrmgr_0_1_unlock_config (
const string& token)
- XrlCmdError rtrmgr_0_1_lock_node (
const string& token,
const string& node,
const uint32_t& timeout,
bool& success,
uint32_t& holder)
- XrlCmdError rtrmgr_0_1_unlock_node (
const string& token,
const string& node)
- XrlCmdError rtrmgr_0_1_save_config (
const string& token,
const string& target,
const string& filename)
- XrlCmdError rtrmgr_0_1_load_config (
const string& token,
const string& target,
const string& filename)
- XrlCmdError rtrmgr_0_1_set_config_directory (
const string& config_directory)
- XrlCmdError finder_event_observer_0_1_xrl_target_birth (
const string& target_class,
const string& target_instance)
- XrlCmdError finder_event_observer_0_1_xrl_target_death (
const string& target_class,
const string& target_instance)
- void finder_register_done (const XrlError& e, string clientname)
~XrlRtrmgrInterface ()
| ~XrlRtrmgrInterface |
XrlCmdError common_0_1_get_target_name (
string& name)
| common_0_1_get_target_name |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError common_0_1_get_version (
string& version)
| common_0_1_get_version |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError common_0_1_get_status (
uint32_t& status,
string& reason)
| common_0_1_get_status |
Get status from Xrl Target
Reimplemented from XrlRtrmgrTargetBase.
Request clean shutdown.
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_get_pid (
uint32_t& pid)
| rtrmgr_0_1_get_pid |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_register_client (
const uint32_t& user_id,
const string& clientname,
string& filename,
uint32_t& pid,
uint32_t& clientid)
| rtrmgr_0_1_register_client |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_unregister_client (
const string& token)
| rtrmgr_0_1_unregister_client |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_authenticate_client (
const uint32_t& user_id,
const string& clientname,
const string& token)
| rtrmgr_0_1_authenticate_client |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_enter_config_mode (
const string& token,
const bool& exclusive)
| rtrmgr_0_1_enter_config_mode |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_leave_config_mode (
const string& token)
| rtrmgr_0_1_leave_config_mode |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_get_config_users (
const string& token,
XrlAtomList& users)
| rtrmgr_0_1_get_config_users |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_get_running_config (
const string& token,
bool& ready,
string& config)
| rtrmgr_0_1_get_running_config |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_apply_config_change (
const string& token,
const string& target,
const string& deltas,
const string& deletions)
| rtrmgr_0_1_apply_config_change |
Reimplemented from XrlRtrmgrTargetBase.
void apply_config_change_done (bool success, string error_msg,
string deltas, string deletions,
uid_t user_id, string target)
| apply_config_change_done |
void config_saved_done_cb (const XrlError&)
| config_saved_done_cb |
void apply_config_change_done_cb (const XrlError&)
| apply_config_change_done_cb |
XrlCmdError rtrmgr_0_1_lock_config (
const string& token,
const uint32_t& timeout,
bool& success,
uint32_t& holder)
| rtrmgr_0_1_lock_config |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_unlock_config (
const string& token)
| rtrmgr_0_1_unlock_config |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_lock_node (
const string& token,
const string& node,
const uint32_t& timeout,
bool& success,
uint32_t& holder)
| rtrmgr_0_1_lock_node |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_unlock_node (
const string& token,
const string& node)
| rtrmgr_0_1_unlock_node |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_save_config (
const string& token,
const string& target,
const string& filename)
| rtrmgr_0_1_save_config |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_load_config (
const string& token,
const string& target,
const string& filename)
| rtrmgr_0_1_load_config |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError rtrmgr_0_1_set_config_directory (
const string& config_directory)
| rtrmgr_0_1_set_config_directory |
Set the name of the directory with the configuration files.
Parameters:
config_directory | the name of the directory with the
configuration files.
|
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError finder_event_observer_0_1_xrl_target_birth (
const string& target_class,
const string& target_instance)
| finder_event_observer_0_1_xrl_target_birth |
Reimplemented from XrlRtrmgrTargetBase.
XrlCmdError finder_event_observer_0_1_xrl_target_death (
const string& target_class,
const string& target_instance)
| finder_event_observer_0_1_xrl_target_death |
Reimplemented from XrlRtrmgrTargetBase.
void finder_register_done (const XrlError& e, string clientname)
| finder_register_done |
Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:11:12 2009, using kdoc 2.0a54+XORP.