class XrlCliManagerV0p1Client
|
|
|
|
Public Types
- typedef XorpCallback1<void, const XrlError&>::RefPtr EnableCliCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StartCliCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StopCliCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddEnableCliAccessFromSubnet4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddEnableCliAccessFromSubnet6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteEnableCliAccessFromSubnet4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteEnableCliAccessFromSubnet6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddDisableCliAccessFromSubnet4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddDisableCliAccessFromSubnet6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteDisableCliAccessFromSubnet4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteDisableCliAccessFromSubnet6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddCliCommandCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteCliCommandCB
Public Methods
- XrlCliManagerV0p1Client (XrlSender* s)
- virtual ~XrlCliManagerV0p1Client ()
- bool send_enable_cli (
const char* dst_xrl_target_name,
const bool& enable,
const EnableCliCB& cb
)
- bool send_start_cli (
const char* dst_xrl_target_name,
const StartCliCB& cb
)
- bool send_stop_cli (
const char* dst_xrl_target_name,
const StopCliCB& cb
)
- bool send_add_enable_cli_access_from_subnet4 (
const char* dst_xrl_target_name,
const IPv4Net& subnet_addr,
const AddEnableCliAccessFromSubnet4CB& cb
)
- bool send_add_enable_cli_access_from_subnet6 (
const char* dst_xrl_target_name,
const IPv6Net& subnet_addr,
const AddEnableCliAccessFromSubnet6CB& cb
)
- bool send_delete_enable_cli_access_from_subnet4 (
const char* dst_xrl_target_name,
const IPv4Net& subnet_addr,
const DeleteEnableCliAccessFromSubnet4CB& cb
)
- bool send_delete_enable_cli_access_from_subnet6 (
const char* dst_xrl_target_name,
const IPv6Net& subnet_addr,
const DeleteEnableCliAccessFromSubnet6CB& cb
)
- bool send_add_disable_cli_access_from_subnet4 (
const char* dst_xrl_target_name,
const IPv4Net& subnet_addr,
const AddDisableCliAccessFromSubnet4CB& cb
)
- bool send_add_disable_cli_access_from_subnet6 (
const char* dst_xrl_target_name,
const IPv6Net& subnet_addr,
const AddDisableCliAccessFromSubnet6CB& cb
)
- bool send_delete_disable_cli_access_from_subnet4 (
const char* dst_xrl_target_name,
const IPv4Net& subnet_addr,
const DeleteDisableCliAccessFromSubnet4CB& cb
)
- bool send_delete_disable_cli_access_from_subnet6 (
const char* dst_xrl_target_name,
const IPv6Net& subnet_addr,
const DeleteDisableCliAccessFromSubnet6CB& cb
)
- bool send_add_cli_command (
const char* dst_xrl_target_name,
const string& processor_name,
const string& command_name,
const string& command_help,
const bool& is_command_cd,
const string& command_cd_prompt,
const bool& is_command_processor,
const AddCliCommandCB& cb
)
- bool send_delete_cli_command (
const char* dst_xrl_target_name,
const string& processor_name,
const string& command_name,
const DeleteCliCommandCB& cb
)
Protected Members
XrlCliManagerV0p1Client (XrlSender* s)
| XrlCliManagerV0p1Client |
~XrlCliManagerV0p1Client ()
| ~XrlCliManagerV0p1Client |
[virtual]
bool send_enable_cli (
const char* dst_xrl_target_name,
const bool& enable,
const EnableCliCB& cb
)
| send_enable_cli |
Send Xrl intended to:
Enable/disable/start/stop the CLI.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
enable | if true, then enable the CLI, otherwise disable it.
|
bool send_start_cli (
const char* dst_xrl_target_name,
const StartCliCB& cb
)
| send_start_cli |
bool send_stop_cli (
const char* dst_xrl_target_name,
const StopCliCB& cb
)
| send_stop_cli |
typedef XorpCallback1<void, const XrlError&>::RefPtr AddEnableCliAccessFromSubnet4CB | AddEnableCliAccessFromSubnet4CB |
bool send_add_enable_cli_access_from_subnet4 (
const char* dst_xrl_target_name,
const IPv4Net& subnet_addr,
const AddEnableCliAccessFromSubnet4CB& cb
)
| send_add_enable_cli_access_from_subnet4 |
Send Xrl intended to:
Add a subnet address to the list of subnet addresses enabled for CLI
access. This method can be called more than once to add a number of
subnet addresses.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
subnet_addr | the subnet address to add.
|
typedef XorpCallback1<void, const XrlError&>::RefPtr AddEnableCliAccessFromSubnet6CB | AddEnableCliAccessFromSubnet6CB |
bool send_add_enable_cli_access_from_subnet6 (
const char* dst_xrl_target_name,
const IPv6Net& subnet_addr,
const AddEnableCliAccessFromSubnet6CB& cb
)
| send_add_enable_cli_access_from_subnet6 |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteEnableCliAccessFromSubnet4CB | DeleteEnableCliAccessFromSubnet4CB |
bool send_delete_enable_cli_access_from_subnet4 (
const char* dst_xrl_target_name,
const IPv4Net& subnet_addr,
const DeleteEnableCliAccessFromSubnet4CB& cb
)
| send_delete_enable_cli_access_from_subnet4 |
Send Xrl intended to:
Delete a subnet address from the list of subnet addresses enabled for
CLI access.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
subnet_addr | the subnet address to delete.
|
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteEnableCliAccessFromSubnet6CB | DeleteEnableCliAccessFromSubnet6CB |
bool send_delete_enable_cli_access_from_subnet6 (
const char* dst_xrl_target_name,
const IPv6Net& subnet_addr,
const DeleteEnableCliAccessFromSubnet6CB& cb
)
| send_delete_enable_cli_access_from_subnet6 |
typedef XorpCallback1<void, const XrlError&>::RefPtr AddDisableCliAccessFromSubnet4CB | AddDisableCliAccessFromSubnet4CB |
bool send_add_disable_cli_access_from_subnet4 (
const char* dst_xrl_target_name,
const IPv4Net& subnet_addr,
const AddDisableCliAccessFromSubnet4CB& cb
)
| send_add_disable_cli_access_from_subnet4 |
Send Xrl intended to:
Add a subnet address to the list of subnet addresses disabled for CLI
access. This method can be called more than once to add a number of
subnet addresses.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
subnet_addr | the subnet address to add.
|
typedef XorpCallback1<void, const XrlError&>::RefPtr AddDisableCliAccessFromSubnet6CB | AddDisableCliAccessFromSubnet6CB |
bool send_add_disable_cli_access_from_subnet6 (
const char* dst_xrl_target_name,
const IPv6Net& subnet_addr,
const AddDisableCliAccessFromSubnet6CB& cb
)
| send_add_disable_cli_access_from_subnet6 |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteDisableCliAccessFromSubnet4CB | DeleteDisableCliAccessFromSubnet4CB |
bool send_delete_disable_cli_access_from_subnet4 (
const char* dst_xrl_target_name,
const IPv4Net& subnet_addr,
const DeleteDisableCliAccessFromSubnet4CB& cb
)
| send_delete_disable_cli_access_from_subnet4 |
Send Xrl intended to:
Delete a subnet address from the list of subnet addresses disabled for
CLI access.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
subnet_addr | the subnet address to delete.
|
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteDisableCliAccessFromSubnet6CB | DeleteDisableCliAccessFromSubnet6CB |
bool send_delete_disable_cli_access_from_subnet6 (
const char* dst_xrl_target_name,
const IPv6Net& subnet_addr,
const DeleteDisableCliAccessFromSubnet6CB& cb
)
| send_delete_disable_cli_access_from_subnet6 |
bool send_add_cli_command (
const char* dst_xrl_target_name,
const string& processor_name,
const string& command_name,
const string& command_help,
const bool& is_command_cd,
const string& command_cd_prompt,
const bool& is_command_processor,
const AddCliCommandCB& cb
)
| send_add_cli_command |
Send Xrl intended to:
Add a CLI command to the CLI manager
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
processor_name | the name of the module that will process that
command.
|
command_name | the name of the command to add.
|
command_help | the help for the command to add.
|
is_command_cd | is true, the string that will replace the CLI
prompt after we "cd" to that level of the CLI command-tree.
|
command_cd_prompt | if
|
is_command_processor | if true, this is a processing command that
would be performed by processor_name.
|
bool send_delete_cli_command (
const char* dst_xrl_target_name,
const string& processor_name,
const string& command_name,
const DeleteCliCommandCB& cb
)
| send_delete_cli_command |
Send Xrl intended to:
Delete a CLI command from the CLI manager
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
processor_name | the name of the module that sends the request.
|
command_name | the name of the command to delete.
|
[protected]
Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:05:41 2008, using kdoc 2.0a54+XORP.