src/shepp/IpNetworkFunctions.H File Reference

EPP IP Network related functions. More...

#include "SheppCommandFunctions.H"
#include "IpNetworkCheck.H"
#include "IpNetworkCreate.H"
#include "IpNetworkDelete.H"
#include "IpNetworkInfo.H"
#include "IpNetworkRenew.H"
#include "IpNetworkTransfer.H"
#include "IpNetworkUpdate.H"

Go to the source code of this file.

Functions

int cmd_ipnetwork_help (string error_msg, string specific="")
 print ipnetwork command usage info
int parse_iprange (const string &input, IpRange &ipRange)
 reads an IpRange object from args
int cmd_ipnetwork_check (vector< string > &args)
 ipnetwork check command function
int cmd_ipnetwork_create (vector< string > &args)
 ipnetwork create command function
int cmd_ipnetwork_delete (vector< string > &args)
 ipnetwork check delete function
int cmd_ipnetwork_info (vector< string > &args)
 ipnetwork info command function
int cmd_ipnetwork_renew (vector< string > &args)
 ipnetwork renew command function
int cmd_ipnetwork_transfer (vector< string > &args)
 ipnetwork transfer command function
int cmd_ipnetwork_update (vector< string > &args)
 ipnetwork update command function
int cmd_ipnetwork (vector< string > &args)
 main ipnetwork command


Detailed Description

EPP IP Network related functions.


Function Documentation

int cmd_ipnetwork ( vector< string > &  args  ) 

main ipnetwork command

Parameters:
arg command-line input arguments
Returns:
0 if ok, -1 otherwise

References cmd_ipnetwork_check(), cmd_ipnetwork_create(), cmd_ipnetwork_delete(), cmd_ipnetwork_help(), cmd_ipnetwork_info(), cmd_ipnetwork_renew(), cmd_ipnetwork_transfer(), and cmd_ipnetwork_update().

Referenced by init_commands().

int cmd_ipnetwork_check ( vector< string > &  args  ) 

ipnetwork check command function

Parameters:
args vector with command-line arguments
Returns:
0 if ok, -1 otherwise

References cmd_ipnetwork_help(), IpNetworkCheck::get_command(), IpNetworkCheckCmd::get_ipRanges(), IpNetworkCheckCmd::insert_ipRange(), parse_iprange(), and process_action().

Referenced by cmd_ipnetwork().

int cmd_ipnetwork_create ( vector< string > &  args  ) 

int cmd_ipnetwork_delete ( vector< string > &  args  ) 

ipnetwork check delete function

Parameters:
args vector with command-line arguments
Returns:
0

References cmd_ipnetwork_help(), IpNetworkDelete::get_command(), IpNetworkDeleteCmd::get_roid(), process_action(), and IpNetworkDeleteCmd::set_roid().

Referenced by cmd_ipnetwork().

int cmd_ipnetwork_help ( string  error_msg,
string  specific = "" 
)

print ipnetwork command usage info

Parameters:
error_msg error message to be printed
specific optional, choses specific sub-command
Returns:
0 if ok, -1 otherwise

Referenced by cmd_ipnetwork(), cmd_ipnetwork_check(), cmd_ipnetwork_create(), cmd_ipnetwork_delete(), cmd_ipnetwork_info(), cmd_ipnetwork_renew(), cmd_ipnetwork_transfer(), and cmd_ipnetwork_update().

int cmd_ipnetwork_info ( vector< string > &  args  ) 

ipnetwork info command function

Parameters:
args vector with command-line arguments
Returns:
0

References cmd_ipnetwork_help(), IpNetworkInfo::get_command(), IpNetworkInfoCmd::get_ipRange(), IpNetworkInfoCmd::get_roid(), parse_iprange(), process_action(), IpNetworkInfoCmd::set_ipRange(), and IpNetworkInfoCmd::set_roid().

Referenced by cmd_ipnetwork().

int cmd_ipnetwork_renew ( vector< string > &  args  ) 

int cmd_ipnetwork_transfer ( vector< string > &  args  ) 

int cmd_ipnetwork_update ( vector< string > &  args  ) 

int parse_iprange ( const string &  input,
IpRange ipRange 
)

reads an IpRange object from args

Parameters:
input IP renge command-line param
ipRange IpRange object to be filled
Returns:
0 if ok, -1 ortherwise

References SheppStrUtil::split().

Referenced by cmd_ipnetwork_check(), cmd_ipnetwork_create(), cmd_ipnetwork_info(), and cmd_ipnetwork_update().


Generated on Thu Jan 21 14:44:03 2010 for libepp_nicbr by  doxygen 1.5.9