Defines | |
#define | EXTERN_CONFDB |
Functions | |
EXTERN_CONFDB int | DBConnexion (char *server, char *usr, char *pwd, char *ErrMess) |
EXTERN_CONFDB int | DBDeconnexion (char *ErrMess) |
EXTERN_CONFDB int | GetDeviceTypeRow (char *systemname, char *devitype, int &len_devtype, char *devtype_result, char *ErrMess) |
EXTERN_CONFDB int | GetDeviceRow_devicename (char *systemname, char *deviname, int &len_device, char *device_result, char *ErrMess) |
EXTERN_CONFDB int | GetDeviceRow_devid (char *systemname, int deviceID, int &len_device, char *device_result, char *ErrMess) |
EXTERN_CONFDB int | GetPortRow_pid (char *systemname, int portID, int &len_port, char *port_row_result, char *ErrMess) |
EXTERN_CONFDB int | GetPortRow_devid (char *systemname, int deviceID, int port_nbr, int &len_port, char *port_row_result, char *ErrMess) |
EXTERN_CONFDB int | GetConnectivityRow_lkid (char *systemname, int lkID, int &len_conn, char *Conn_row, char *ErrMess) |
EXTERN_CONFDB int | GetConnectivityRow_node (char *systemname, int node_name, int port_nb, int way, int &len_conn, char *Conn_row, char *ErrMess) |
EXTERN_CONFDB int | GetMacIPRow (char *systemname, char *Mac_address, int &len_mac, char *MacIP_row, char *ErrMess) |
EXTERN_CONFDB int | GetLkTypeRow_lkname (char *systemname, char *lktype_name, int &len_lktype, char *LkType_row, char *ErrMess) |
EXTERN_CONFDB int | GetLkTypeRow_lknb (char *systemname, int lktype_nbr, int &len_lktype, char *LkType_row, char *ErrMess) |
EXTERN_CONFDB int | GetDeviceNamesPerType (char *systemname, char *devitype, int &len_array, char *devIDs_list, char *ErrMess) |
EXTERN_CONFDB int | GetLkFromDevID (char *systemname, int node_from, int &len_array, int *lkfrom_list, char *ErrMess) |
EXTERN_CONFDB int | GetLkToDevID (char *systemname, int node_to, int &len_array, int *lkfrom_list, char *ErrMess) |
EXTERN_CONFDB int | GetPortIDPerDevID (char *systemname, int devID, int &len_array, int *portID_list, char *ErrMess) |
EXTERN_CONFDB int | GetDeviceIDsPerType (char *systemname, char *devitype, int &len_array, int *devIDs_list, char *ErrMess) |
EXTERN_CONFDB int | GetMacAddPerDevID (char *systemname, int devID, int &len_mac, char *MacAdd_list, char *ErrMess) |
EXTERN_CONFDB int | GetDestinationNamePerDevPort (char *systemname, char *devname, int port_nb, int &len_mac, char *Destin_list, char *ErrMess) |
EXTERN_CONFDB int | GetFreeDeviceNamesPerType (char *systemname, char *devitype, int &len_array, char *devIDs_list, char *ErrMess) |
EXTERN_CONFDB int | InsertMultipleDeviceTypes (char *systemname, char *devicetype, int nbrofinput, int nbrofoutput, char *description, int first_time, int last_rows, char *ErrMess) |
EXTERN_CONFDB int | InsertMultipleDevices (char *systemname, char *devicename, char *devicetype, int node, int promiscuous_mode, int nodeused, char *uuid, char *bar_code, int first_time, int last_rows, char *ErrMess) |
EXTERN_CONFDB int | InsertMultipleSimpleLinkTypes (char *systemname, char *link_name, int first_time, int last_rows, char *ErrMess) |
EXTERN_CONFDB int | InsertMultipleCompositeLinkTypes (char *systemname, char *link_name, char *simple_lk_list, int first_time, int last_rows, char *ErrMess) |
EXTERN_CONFDB int | InsertMultipleLinks (char *systemname, char *node_from, char *node_to, int port_nbrfrom, int port_nbrto, int lkused, char *link_type, int bidirectional_link_used, char *trunk_lkadd, int trunk_lk, int first_time, int last_rows, char *ErrMess) |
EXTERN_CONFDB int | InsertMultiplePorts (char *systemname, char *devicename, int port_nbr, int rxfc, int txfc, int speed1, int speed2, int speed3, int port_management, char *wire_sense, char *phy, int force_speed, int bmc_booting, int primary_interface, int traffic_type_supported, int first_time, int last_rows, char *ErrMess) |
EXTERN_CONFDB int | InsertMultipleMacIPs (char *systemname, char *ethernet_add, char *ip_add, char *subnet_mask, char *vlan_prefix, char *ipname, int lkaggreg, char *devicename, int port_nb, int first_time, int last_rows, char *ErrMess) |
EXTERN_CONFDB int | InsertDeviceType (char *systemname, char *devicetype, int nbrfofinput, int nbrofoutput, char *description, int last_rows, char *ErrMess) |
EXTERN_CONFDB int | InsertDevice (char *systemname, char *devicename, char *devicetype, int node, int promiscuous_mode, int nodeused, char *uuid, char *bar_code, int last_rows, char *ErrMess) |
EXTERN_CONFDB int | InsertSimpleLinkType (char *systemname, char *link_name, int last_rows, char *ErrMess) |
EXTERN_CONFDB int | InsertCompositeLinkType (char *systemname, char *link_name, char *simple_lk_list, int last_rows, char *ErrMess) |
EXTERN_CONFDB int | InsertPort (char *systemname, char *devicename, int port_nbr, int rxfc, int txfc, int speed1, int speed2, int speed3, int port_management, char *wire_sense, char *phy, int force_speed, int bmc_booting, int primary_interface, int traffic_type_supported, int last_rows, char *ErrMess) |
EXTERN_CONFDB int | InsertMacIP (char *systemname, char *ETHERNET_ADD, char *ip_add, char *subnet_mask, char *vlan_prefix, char *ipname, int lkaggreg, char *devicename, int port_nb, int last_rows, char *ErrMess) |
EXTERN_CONFDB int | InsertLink (char *systemname, char *node_from, char *node_to, int port_nbrfrom, int port_nbrto, int lkused, char *link_type, int bidirectional_link_used, char *trunk_lkadd, int trunk_lk, int last_rows, char *ErrMess) |
EXTERN_CONFDB int | GetDeviceName_deviceid (char *systemname, int deviceID, char *devicename, char *ErrMess) |
EXTERN_CONFDB int | GetDeviceID_devicename (char *systemname, char *deviname, int &deviceID, char *ErrMess) |
EXTERN_CONFDB int | GetDetailedConnectivityBetweenDevices (char *systemname, char *dev_from, char *dev_to, char *nfrom_list, int &len_array, int &nfrom_arraylen, int &nto_arraylen, int *pfrom_list, int *pto_list, char *nto_list, int *pathid_list, int *link_pos_list, char *ErrMess) |
EXTERN_CONFDB int | GetConnectivityBetweenDevices (char *systemname, char *dev_from, char *dev_to, int &len_array, int *pfrom_list, int *pto_list, int *pathid_list, char *ErrMess) |
EXTERN_CONFDB int | GetConnOutBetweenDeviceDeviceType (char *systemname, char *dev_from, char *devtype, int &len_array, int *pfrom_list, char *ErrMess) |
EXTERN_CONFDB int | GetDetailedConnBetweenDeviceDevType (char *systemname, char *dev_from, char *devto_type, int devto_type_given, char *nfrom_list, int &len_array, int &nfrom_arraylen, int &nto_arraylen, int *pfrom_list, int *pto_list, char *nto_list, int *pathid_list, int *link_pos_list, char *ErrMess) |
EXTERN_CONFDB int | CreateDestinationTable (char *systemname, char *devicename, int round_trip_max, char *ErrMess) |
EXTERN_CONFDB int | CreateRoutingTable (char *systemname, char *devicename, int round_trip_max, char *ErrMess) |
EXTERN_CONFDB int | MatchDeviceIDDeviceName (char *systemname, int &len_did, int *devid_list, int &len_dname, char *devname_list, char *ErrMess) |
EXTERN_CONFDB int | CreateTableSchema (char *systemname, int mac_table, int port_table, int boot_image_table, int generic_schema, char *ErrMess) |
EXTERN_CONFDB int | DropTableSchema (char *systemname, char *ErrMess) |
EXTERN_CONFDB int | GetAllPathsPerDevice (char *systemname, char *devicename, int &len_array, int *lkid_list, int *pathid_list, int *link_pos_list, char *ErrMess) |
EXTERN_CONFDB int | LoadConnectivityTable (char *systemname, int &len_array, int *lkid_list, int *node_from_list, int *node_to_list, int *port_nbrfrom_list, int *port_nbrto_list, int *bidirectional_list, int *lkused_list, int *lktype_list, char *ErrMess) |
EXTERN_CONFDB int | GetCPUDBTime (char *servicename, int &len_statres, double *statname_result) |
EXTERN_CONFDB int | LoadDeviceTypeTable (char *systemname, int &len_did, char *devtypename_list, char *ErrMess) |
EXTERN_CONFDB int | LoadLinkTypeTable (char *systemname, int &len_lkid, int *lkid_list, int &len_lkname, char *lktypename_list, char *ErrMess) |
|
|
|
create the destination table (IP,MAC table ) of the given device in your DB schema, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
create the forwarding table (IP,MAC table ) of the given device in your DB schema, returning an integer value. The user should manage the memory : there is no memory allocation. you need a mac and a port table to use this function.
|
|
create the tables, indexes and constraints in your DB schema, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Connect to the database returning an integer value.
|
|
Disconnect from the database returning an integer value.
|
|
drop the tables, indexes and constraints in your DB schema, returning an integer value. The user should manage the memory : there is no memory allocation. you need grant execute if you have your own db account once the schema is dropped you will loose all your data: to use with precaution
|
|
Get the path going through a given device returning an integer value. The user should manage the memory : there is no memory allocation. you need grant execute if you have your own db account
|
|
Get the path (just the first and last link details) between dev_from and dev_to, returning an integer value. The user should manage the memory : there is no memory allocation. you need grant execute if you have your own db account
|
|
Get the link row in Conn_row, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the link row in Conn_row, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the port nbs out between dev_from and devtype, returning an integer value. The user should manage the memory : there is no memory allocation. you need grant execute if you have your own db account
|
|
|
|
Get the list of possible destination by devicename,port_nb, returning an integer value. The user should manage the memory : there is no memory allocation. case sensitive
|
|
Get the path details between dev_from and dev_to, returning an integer value. The user should manage the memory : there is no memory allocation. you need grant execute if you have your own db account
|
|
Get the path details between dev_from and dev_to, returning an integer value. The user should manage the memory : there is no memory allocation. you need grant execute if you have your own db account
|
|
Get the deviceid of the given device name in deviceID, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the list of deviceIDs of the given device type, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the devicename corresponding to the given deviceID in devicename, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the list of devicename of the given device type, and returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the row of the given device name in device_result, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the row of the given deviceID of the device in device_result, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the row of the given device type in devtype_result, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the list of free devices of the given device type, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the list of LkID which start from the given deviceID, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the list of LkID which end at the given deviceID, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the link type row in LkType_row, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the link type row in LkType_row,returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the list of ethernet of the given deviceID, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the mac row in MacIP_row, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the list of portID of the given deviceID, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the port row in port_row_result, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Get the port row in port_row_result, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Insert a Composite Link Type, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Insert a device returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Insert a device type , returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Insert a Link returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Insert a MAC entry, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Insert a Composite Link Type, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Insert a device returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Insert a device type , returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Insert Multiple Link returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Insert a MAC entry, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Insert Multiple Ports, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Insert a Simple Link Type, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Insert a Port, returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Insert a Simple Link Type, and returning an integer value. The user should manage the memory : there is no memory allocation.
|
|
Load the link type table of a given system , returning a int
|
|
Load the link type table of a given system , returning a int
|
|
Match the lkid lktypename table of a given system , returning a int
|
|
Match the deviceid devicename table of a given system , returning a int
|