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 |
EPP IP Network related functions.
int cmd_ipnetwork | ( | vector< string > & | args | ) |
main ipnetwork command
arg | command-line input arguments |
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
args | vector with command-line arguments |
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 | ) |
ipnetwork create command function
args | vector with command-line arguments |
References cmd_ipnetwork_help(), IpNetworkCreateCmd::get_allocType(), IpNetworkCreateCmd::get_asn(), IpNetworkCreate::get_command(), IpNetworkCreateCmd::get_contacts(), IpNetworkCreateCmd::get_ipRange(), IpNetworkCreateCmd::get_organization(), IpNetworkCreateCmd::get_reversesDns(), IpNetworkCreateCmd::insert_contact(), IpNetworkCreateCmd::insert_reverseDns(), parse_iprange(), process_action(), IpNetworkCreateCmd::set_allocType(), IpNetworkCreateCmd::set_asn(), IpNetworkCreateCmd::set_ipRange(), IpNetworkCreateCmd::set_organization(), and SheppStrUtil::split().
Referenced by cmd_ipnetwork().
int cmd_ipnetwork_delete | ( | vector< string > & | args | ) |
ipnetwork check delete function
args | vector with command-line arguments |
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
error_msg | error message to be printed | |
specific | optional, choses specific sub-command |
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
args | vector with command-line arguments |
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 | ) |
ipnetwork renew command function
args | vector with command-line arguments |
References cmd_ipnetwork_help(), IpNetworkRenew::get_command(), IpNetworkRenewCmd::get_expDate(), IpNetworkRenewCmd::get_period(), IpNetworkRenewCmd::get_roid(), process_action(), IpNetworkRenewCmd::set_expDate(), IpNetworkRenewCmd::set_period(), IpNetworkRenewCmd::set_roid(), and SheppStrUtil::split().
Referenced by cmd_ipnetwork().
int cmd_ipnetwork_transfer | ( | vector< string > & | args | ) |
ipnetwork transfer command function
args | vector with command-line arguments |
References cmd_ipnetwork_help(), IpNetworkTransfer::get_command(), IpNetworkTransferCmd::get_operation(), IpNetworkTransferCmd::get_roid(), process_action(), IpNetworkTransferCmd::set_operation(), and IpNetworkTransferCmd::set_roid().
Referenced by cmd_ipnetwork().
int cmd_ipnetwork_update | ( | vector< string > & | args | ) |
ipnetwork update command function
args | vector with command-line arguments |
References cmd_ipnetwork_help(), IpNetworkUpdateCmd::get_allocType(), IpNetworkUpdate::get_command(), IpNetworkUpdateCmd::get_contacts_add(), IpNetworkUpdateCmd::get_contacts_rem(), IpNetworkUpdateCmd::get_organization(), IpNetworkUpdateCmd::get_reverseDns_add(), IpNetworkUpdateCmd::get_reverseDns_rem(), IpNetworkUpdateCmd::get_roid(), IpNetworkUpdateCmd::insert_contact_add(), IpNetworkUpdateCmd::insert_contact_rem(), IpNetworkUpdateCmd::insert_reverseDNS_add(), IpNetworkUpdateCmd::insert_reverseDNS_rem(), parse_iprange(), process_action(), IpNetworkUpdateCmd::set_allocType(), IpNetworkUpdateCmd::set_organization(), IpNetworkUpdateCmd::set_roid(), and SheppStrUtil::split().
Referenced by cmd_ipnetwork().
int parse_iprange | ( | const string & | input, | |
IpRange & | ipRange | |||
) |
reads an IpRange object from args
input | IP renge command-line param | |
ipRange | IpRange object to be filled |
References SheppStrUtil::split().
Referenced by cmd_ipnetwork_check(), cmd_ipnetwork_create(), cmd_ipnetwork_info(), and cmd_ipnetwork_update().