xorp

XrlCliManagerV0p1Client Class Reference

List of all members.

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
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 Member Functions

 XrlCliManagerV0p1Client (XrlSender *s)
bool send_enable_cli (const char *dst_xrl_target_name, const bool &enable, const EnableCliCB &cb)
 Send Xrl intended to:
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)
 Send Xrl intended to:
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)
 Send Xrl intended to:
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)
 Send Xrl intended to:
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)
 Send Xrl intended to:
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)
 Send Xrl intended to:
bool send_delete_cli_command (const char *dst_xrl_target_name, const string &processor_name, const string &command_name, const DeleteCliCommandCB &cb)
 Send Xrl intended to:
 XrlCliManagerV0p1Client (XrlSender *s)
bool send_enable_cli (const char *dst_xrl_target_name, const bool &enable, const EnableCliCB &cb)
 Send Xrl intended to:
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)
 Send Xrl intended to:
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)
 Send Xrl intended to:
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)
 Send Xrl intended to:
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)
 Send Xrl intended to:
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)
 Send Xrl intended to:
bool send_delete_cli_command (const char *dst_xrl_target_name, const string &processor_name, const string &command_name, const DeleteCliCommandCB &cb)
 Send Xrl intended to:

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_enable_cli (const XrlError &e, XrlArgs *a, EnableCliCB cb)
static void unmarshall_start_cli (const XrlError &e, XrlArgs *a, StartCliCB cb)
static void unmarshall_stop_cli (const XrlError &e, XrlArgs *a, StopCliCB cb)
static void unmarshall_add_enable_cli_access_from_subnet4 (const XrlError &e, XrlArgs *a, AddEnableCliAccessFromSubnet4CB cb)
static void unmarshall_add_enable_cli_access_from_subnet6 (const XrlError &e, XrlArgs *a, AddEnableCliAccessFromSubnet6CB cb)
static void unmarshall_delete_enable_cli_access_from_subnet4 (const XrlError &e, XrlArgs *a, DeleteEnableCliAccessFromSubnet4CB cb)
static void unmarshall_delete_enable_cli_access_from_subnet6 (const XrlError &e, XrlArgs *a, DeleteEnableCliAccessFromSubnet6CB cb)
static void unmarshall_add_disable_cli_access_from_subnet4 (const XrlError &e, XrlArgs *a, AddDisableCliAccessFromSubnet4CB cb)
static void unmarshall_add_disable_cli_access_from_subnet6 (const XrlError &e, XrlArgs *a, AddDisableCliAccessFromSubnet6CB cb)
static void unmarshall_delete_disable_cli_access_from_subnet4 (const XrlError &e, XrlArgs *a, DeleteDisableCliAccessFromSubnet4CB cb)
static void unmarshall_delete_disable_cli_access_from_subnet6 (const XrlError &e, XrlArgs *a, DeleteDisableCliAccessFromSubnet6CB cb)
static void unmarshall_add_cli_command (const XrlError &e, XrlArgs *a, AddCliCommandCB cb)
static void unmarshall_delete_cli_command (const XrlError &e, XrlArgs *a, DeleteCliCommandCB cb)
static void unmarshall_enable_cli (const XrlError &e, XrlArgs *a, EnableCliCB cb)
static void unmarshall_start_cli (const XrlError &e, XrlArgs *a, StartCliCB cb)
static void unmarshall_stop_cli (const XrlError &e, XrlArgs *a, StopCliCB cb)
static void unmarshall_add_enable_cli_access_from_subnet4 (const XrlError &e, XrlArgs *a, AddEnableCliAccessFromSubnet4CB cb)
static void unmarshall_add_enable_cli_access_from_subnet6 (const XrlError &e, XrlArgs *a, AddEnableCliAccessFromSubnet6CB cb)
static void unmarshall_delete_enable_cli_access_from_subnet4 (const XrlError &e, XrlArgs *a, DeleteEnableCliAccessFromSubnet4CB cb)
static void unmarshall_delete_enable_cli_access_from_subnet6 (const XrlError &e, XrlArgs *a, DeleteEnableCliAccessFromSubnet6CB cb)
static void unmarshall_add_disable_cli_access_from_subnet4 (const XrlError &e, XrlArgs *a, AddDisableCliAccessFromSubnet4CB cb)
static void unmarshall_add_disable_cli_access_from_subnet6 (const XrlError &e, XrlArgs *a, AddDisableCliAccessFromSubnet6CB cb)
static void unmarshall_delete_disable_cli_access_from_subnet4 (const XrlError &e, XrlArgs *a, DeleteDisableCliAccessFromSubnet4CB cb)
static void unmarshall_delete_disable_cli_access_from_subnet6 (const XrlError &e, XrlArgs *a, DeleteDisableCliAccessFromSubnet6CB cb)
static void unmarshall_add_cli_command (const XrlError &e, XrlArgs *a, AddCliCommandCB cb)
static void unmarshall_delete_cli_command (const XrlError &e, XrlArgs *a, DeleteCliCommandCB cb)

Private Attributes

auto_ptr< Xrlap_xrl_enable_cli
auto_ptr< Xrlap_xrl_start_cli
auto_ptr< Xrlap_xrl_stop_cli
auto_ptr< Xrlap_xrl_add_enable_cli_access_from_subnet4
auto_ptr< Xrlap_xrl_add_enable_cli_access_from_subnet6
auto_ptr< Xrlap_xrl_delete_enable_cli_access_from_subnet4
auto_ptr< Xrlap_xrl_delete_enable_cli_access_from_subnet6
auto_ptr< Xrlap_xrl_add_disable_cli_access_from_subnet4
auto_ptr< Xrlap_xrl_add_disable_cli_access_from_subnet6
auto_ptr< Xrlap_xrl_delete_disable_cli_access_from_subnet4
auto_ptr< Xrlap_xrl_delete_disable_cli_access_from_subnet6
auto_ptr< Xrlap_xrl_add_cli_command
auto_ptr< Xrlap_xrl_delete_cli_command

Member Function Documentation

bool XrlCliManagerV0p1Client::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 Xrl intended to:

Add a CLI command to the CLI manager

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
processor_namethe name of the module that will process that command.
command_namethe name of the command to add.
command_helpthe help for the command to add.
is_command_cdis true, the string that will replace the CLI prompt after we "cd" to that level of the CLI command-tree.
command_cd_promptif
is_command_processorif true, this is a processing command that would be performed by processor_name.
bool XrlCliManagerV0p1Client::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 Xrl intended to:

Add a CLI command to the CLI manager

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
processor_namethe name of the module that will process that command.
command_namethe name of the command to add.
command_helpthe help for the command to add.
is_command_cdis true, the string that will replace the CLI prompt after we "cd" to that level of the CLI command-tree.
command_cd_promptif
is_command_processorif true, this is a processing command that would be performed by processor_name.
bool XrlCliManagerV0p1Client::send_add_disable_cli_access_from_subnet4 ( const char *  dst_xrl_target_name,
const IPv4Net subnet_addr,
const AddDisableCliAccessFromSubnet4CB &  cb 
)

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_namethe Xrl target name of the destination.
subnet_addrthe subnet address to add.
bool XrlCliManagerV0p1Client::send_add_disable_cli_access_from_subnet4 ( const char *  dst_xrl_target_name,
const IPv4Net subnet_addr,
const AddDisableCliAccessFromSubnet4CB &  cb 
)

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_namethe Xrl target name of the destination.
subnet_addrthe subnet address to add.
bool XrlCliManagerV0p1Client::send_add_enable_cli_access_from_subnet4 ( const char *  dst_xrl_target_name,
const IPv4Net subnet_addr,
const AddEnableCliAccessFromSubnet4CB &  cb 
)

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_namethe Xrl target name of the destination.
subnet_addrthe subnet address to add.
bool XrlCliManagerV0p1Client::send_add_enable_cli_access_from_subnet4 ( const char *  dst_xrl_target_name,
const IPv4Net subnet_addr,
const AddEnableCliAccessFromSubnet4CB &  cb 
)

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_namethe Xrl target name of the destination.
subnet_addrthe subnet address to add.
bool XrlCliManagerV0p1Client::send_delete_cli_command ( const char *  dst_xrl_target_name,
const string &  processor_name,
const string &  command_name,
const DeleteCliCommandCB &  cb 
)

Send Xrl intended to:

Delete a CLI command from the CLI manager

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
processor_namethe name of the module that sends the request.
command_namethe name of the command to delete.
bool XrlCliManagerV0p1Client::send_delete_cli_command ( const char *  dst_xrl_target_name,
const string &  processor_name,
const string &  command_name,
const DeleteCliCommandCB &  cb 
)

Send Xrl intended to:

Delete a CLI command from the CLI manager

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
processor_namethe name of the module that sends the request.
command_namethe name of the command to delete.
bool XrlCliManagerV0p1Client::send_delete_disable_cli_access_from_subnet4 ( const char *  dst_xrl_target_name,
const IPv4Net subnet_addr,
const DeleteDisableCliAccessFromSubnet4CB &  cb 
)

Send Xrl intended to:

Delete a subnet address from the list of subnet addresses disabled for CLI access.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
subnet_addrthe subnet address to delete.
bool XrlCliManagerV0p1Client::send_delete_disable_cli_access_from_subnet4 ( const char *  dst_xrl_target_name,
const IPv4Net subnet_addr,
const DeleteDisableCliAccessFromSubnet4CB &  cb 
)

Send Xrl intended to:

Delete a subnet address from the list of subnet addresses disabled for CLI access.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
subnet_addrthe subnet address to delete.
bool XrlCliManagerV0p1Client::send_delete_enable_cli_access_from_subnet4 ( const char *  dst_xrl_target_name,
const IPv4Net subnet_addr,
const DeleteEnableCliAccessFromSubnet4CB &  cb 
)

Send Xrl intended to:

Delete a subnet address from the list of subnet addresses enabled for CLI access.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
subnet_addrthe subnet address to delete.
bool XrlCliManagerV0p1Client::send_delete_enable_cli_access_from_subnet4 ( const char *  dst_xrl_target_name,
const IPv4Net subnet_addr,
const DeleteEnableCliAccessFromSubnet4CB &  cb 
)

Send Xrl intended to:

Delete a subnet address from the list of subnet addresses enabled for CLI access.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
subnet_addrthe subnet address to delete.
bool XrlCliManagerV0p1Client::send_enable_cli ( const char *  dst_xrl_target_name,
const bool &  enable,
const EnableCliCB &  cb 
)

Send Xrl intended to:

Enable/disable/start/stop the CLI.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
enableif true, then enable the CLI, otherwise disable it.
bool XrlCliManagerV0p1Client::send_enable_cli ( const char *  dst_xrl_target_name,
const bool &  enable,
const EnableCliCB &  cb 
)

Send Xrl intended to:

Enable/disable/start/stop the CLI.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
enableif true, then enable the CLI, otherwise disable it.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations