#include <IpNetworkUpdateCmd.H>
Public Member Functions | |
IpNetworkUpdateCmd (bool reset=true) | |
Default constructor. | |
void | set_roid (const string &roid) |
Sets repository object ID. | |
string | get_roid () const |
Returns repository object ID. | |
void | set_organization (const string &organization) |
Sets organization. | |
string | get_organization () const |
Returns organization associated with the ip network. | |
void | set_allocType (const string &allocType) |
Sets allocation type. | |
string | get_allocType () const |
Returns allocation type. | |
void | insert_reverseDNS_add (const ReverseDns &reverseDns) |
Inserts a reverse DNS to be added. | |
vector< ReverseDns > | get_reverseDns_add () const |
Returns all the reverse DNS to be added. | |
void | insert_reverseDNS_rem (const ReverseDns &reverseDns) |
Inserts a reverse DNS to be removed. | |
vector< ReverseDns > | get_reverseDns_rem () const |
Returns all the reverse DNS to be removed. | |
void | insert_contact_add (const string &type, const string &identification) |
Inserts a contact to be added. | |
map< string, string, less < string > > | get_contacts_add () const |
Returns map of other contacts to be added. | |
void | insert_contact_rem (const string &type, const string &identification) |
Inserts a contact to be removed. | |
map< string, string, less < string > > | get_contacts_rem () const |
Returns map of other contacts to be removed. | |
void | reset () |
Reset object attributes. | |
Protected Attributes | |
string | _roid |
server-unique id for the created IP network | |
vector< ReverseDns > | _reverseDNS_add |
Reverses DNS to be added. | |
vector< ReverseDns > | _reverseDNS_rem |
Reverses DNS to be removed. | |
map< string, string, less < string > > | _contacts_add |
contacts to be added | |
map< string, string, less < string > > | _contacts_rem |
contacts to be removed | |
string | _organization |
organization associated with the ip network | |
string | _allocType |
allocation type associated with the ip network |
string IpNetworkUpdateCmd::get_allocType | ( | ) | const [inline] |
Returns allocation type.
References _allocType.
Referenced by cmd_ipnetwork_update().
map< string, string, less<string> > IpNetworkUpdateCmd::get_contacts_add | ( | ) | const [inline] |
Returns map of other contacts to be added.
References _contacts_add.
Referenced by cmd_ipnetwork_update().
map< string, string, less<string> > IpNetworkUpdateCmd::get_contacts_rem | ( | ) | const [inline] |
Returns map of other contacts to be removed.
References _contacts_rem.
Referenced by cmd_ipnetwork_update().
string IpNetworkUpdateCmd::get_organization | ( | ) | const [inline] |
Returns organization associated with the ip network.
References _organization.
Referenced by cmd_ipnetwork_update().
vector<ReverseDns> IpNetworkUpdateCmd::get_reverseDns_add | ( | ) | const [inline] |
Returns all the reverse DNS to be added.
References _reverseDNS_add.
Referenced by cmd_ipnetwork_update().
vector<ReverseDns> IpNetworkUpdateCmd::get_reverseDns_rem | ( | ) | const [inline] |
Returns all the reverse DNS to be removed.
References _reverseDNS_rem.
Referenced by cmd_ipnetwork_update().
string IpNetworkUpdateCmd::get_roid | ( | ) | const [inline] |
Returns repository object ID.
References _roid.
Referenced by cmd_ipnetwork_update().
void IpNetworkUpdateCmd::insert_contact_add | ( | const string & | type, | |
const string & | identification | |||
) | [inline] |
Inserts a contact to be added.
type | contact type | |
identification | contact identification |
References _contacts_add.
Referenced by cmd_ipnetwork_update().
void IpNetworkUpdateCmd::insert_contact_rem | ( | const string & | type, | |
const string & | identification | |||
) | [inline] |
Inserts a contact to be removed.
type | contact type | |
identification | contact identification |
References _contacts_rem.
Referenced by cmd_ipnetwork_update().
void IpNetworkUpdateCmd::insert_reverseDNS_add | ( | const ReverseDns & | reverseDns | ) | [inline] |
Inserts a reverse DNS to be added.
reverseDns | reverse DNS object |
References _reverseDNS_add.
Referenced by cmd_ipnetwork_update().
void IpNetworkUpdateCmd::insert_reverseDNS_rem | ( | const ReverseDns & | reverseDns | ) | [inline] |
Inserts a reverse DNS to be removed.
reverseDns | reverse DNS object |
References _reverseDNS_rem.
Referenced by cmd_ipnetwork_update().
void IpNetworkUpdateCmd::reset | ( | ) | [inline] |
Reset object attributes.
reset attributes
Reimplemented from Command.
References _allocType, _contacts_add, _contacts_rem, _organization, _reverseDNS_add, _reverseDNS_rem, and _roid.
Referenced by IpNetworkUpdateCmd().
void IpNetworkUpdateCmd::set_allocType | ( | const string & | allocType | ) | [inline] |
Sets allocation type.
allocType | ip range allocation type |
References _allocType.
Referenced by cmd_ipnetwork_update().
void IpNetworkUpdateCmd::set_organization | ( | const string & | organization | ) | [inline] |
Sets organization.
organization | organization to be associated with the asn |
References _organization.
Referenced by cmd_ipnetwork_update().
void IpNetworkUpdateCmd::set_roid | ( | const string & | roid | ) | [inline] |
Sets repository object ID.
roid | contains the server-unique id for the created IP network |
References _roid.
Referenced by cmd_ipnetwork_update().