Tool versions:

Linux:
Redhat 6.2
(note: this release was used due to a kernel problem between
Redhat 7.0 and Oracle 8i)
2.2.14 kernel release
sshd enabled
bastille linux used to tighten machine
aside from those, I believe it to be a rather vanilla install

Perl:
perl version 5.00503
Oracle DBD version 1.06
DBI version 1.14

Oracle:
Oracle 8i ver 8.1.6 for Redhat
(note: this version was used due to jre problems with
Oracle 8.1.5)

Script files:

-rwxr-xr-x    1 jaguar   users         298 Jan 29 21:50 add_column.pl
-rwxr-xr-x    1 jaguar   users        7247 Jan 24 07:26 create_database.pl
-rwxr-xr-x    1 jaguar   users         991 Jan 29 20:49 general_query.pl
-rwxr-xr-x    1 jaguar   users         495 Jan 22 07:55 insert_benchmarks.pl
-rwxr-xr-x    1 jaguar   users         235 Jan 29 21:01 insert_datasources.pl
-rwxr-xr-x    1 jaguar   users         271 Jan 29 21:00 insert_endpointdata.pl
-rwxr-xr-x    1 jaguar   users         229 Jan 29 21:01 insert_endpoints.pl
-rwxr-xr-x    1 jaguar   users         246 Jan 29 21:03 insert_flowsources.pl
-rwxr-xr-x    1 jaguar   users         347 Jan 29 21:12 insert_hostbenchmarks.pl
-rwxr-xr-x    1 jaguar   users         327 Jan 29 21:09 insert_hostdata.pl
-rwxr-xr-x    1 jaguar   users         217 Jan 29 21:07 insert_hosts.pl
-rwxr-xr-x    1 jaguar   users         291 Jan 29 21:13 insert_hostspecificbenchmarks.pl
-rwxr-xr-x    1 jaguar   users         288 Jan 29 21:23 insert_linkbenchmarks.pl
-rwxr-xr-x    1 jaguar   users         279 Jan 29 21:06 insert_moduleexecs.pl
-rwxr-xr-x    1 jaguar   users         235 Jan 29 21:06 insert_modules.pl
-rwxr-xr-x    1 jaguar   users         238 Jan 29 21:23 insert_networklinks.pl
-rwxr-xr-x    1 jaguar   users         238 Jan 29 21:24 insert_networknodes.pl
-rwxr-xr-x    1 jaguar   users         238 Jan 29 21:22 insert_networkpaths.pl
-rwxr-xr-x    1 jaguar   users         232 Jan 29 21:04 insert_nodesource.pl
-rwxr-xr-x    1 jaguar   users         288 Jan 29 21:21 insert_pathbenchmarks.pl
-rwxr-xr-x    1 jaguar   users         273 Jan 29 21:19 insert_switchbenchmarks.pl
-rwxr-xr-x    1 jaguar   users         255 Jan 29 21:18 insert_switchdata.pl
-rwxr-xr-x    1 jaguar   users         226 Jan 29 21:17 insert_switches.pl
-rwxr-xr-x    1 jaguar   users         235 Jan 29 21:16 insert_switchports.pl
-rwxr-xr-x    1 jaguar   users         297 Jan 29 21:20 insert_switchspecificbenchmarks.pl
-rwxr-xr-x    1 jaguar   users         238 Jan 29 21:15 insert_uniqueifiers.pl

add_column syntax: ./add_column "<table>" "<column>" "<type>"

create_database script can be run as is and will generate a complete database (schema) for the project.

general_query syntax: ./general_query.pl "<select>" "<from>" "<where>" "<group by>" "<order by>"
	"" are needed for null command argument

tables and schema:

Switchspecificbenchmarks

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 BT                                                 NUMBER(10)
 IP                                                 NUMBER(12)
 PERF                                               NUMBER(10)
 PERFBLOB                                           BLOB
 ID                                        NOT NULL NUMBER(12)

Switchbenchmarks

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 BT                                                 NUMBER(10)
 IP                                                 NUMBER(12)
 PERF                                               NUMBER(10)
 PERFBLOB                                           BLOB
 ID                                        NOT NULL NUMBER(12)

Switchdata

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 IP                                                 NUMBER(12)
 TYPE                                               NUMBER(10)
 LOC                                                VARCHAR2(255)
 USR                                                VARCHAR2(255)
 ID                                        NOT NULL NUMBER(12)

Switches

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 IP                                                 NUMBER(12)
 NAME                                               VARCHAR2(255)
 ID                                        NOT NULL NUMBER(12)

Switchports

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 IP                                                 NUMBER(12)
 PORTIP                                             NUMBER(10)
 ID                                        NOT NULL NUMBER(12)

Networknodes

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 IP                                                 NUMBER(12)
 HORS                                               CHAR(1)
 ID                                        NOT NULL NUMBER(12)

Networklinks

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 IP1                                                NUMBER(12)
 IP2                                                NUMBER(12)
 ID                                        NOT NULL NUMBER(12)

Linkbenchmarks

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 BT                                                 NUMBER(10)
 IP1                                                NUMBER(12)
 IP2                                                NUMBER(12)
 TYPE                                               NUMBER(10)
 PERF                                               NUMBER(10)
 PERFBLOB                                           BLOB
 ID                                        NOT NULL NUMBER(12)

Networkpaths

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 IP1                                                NUMBER(12)
 IP2                                                NUMBER(12)
 ID                                        NOT NULL NUMBER(12)

Pathbenchmarks

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 BT                                                 NUMBER(10)
 IP1                                                NUMBER(12)
 IP2                                                NUMBER(12)
 TYPE                                               NUMBER(10)
 PERF                                               NUMBER(10)
 PERFBLOB                                           BLOB
 ID                                        NOT NULL NUMBER(12)

Hostspecificbenchmarks

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 BT                                                 NUMBER(10)
 IP                                                 NUMBER(12)
 PERF                                               NUMBER(10)
 PERFBLOB                                           BLOB
 ID                                        NOT NULL NUMBER(12)

Hostbenchmarks

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 BT                                                 NUMBER(10)
 NUMPROC                                            NUMBER(10)
 MHZ                                                NUMBER(10)
 ARCH                                               CHAR(16)
 OS                                                 CHAR(16)
 OSV                                                NUMBER(10)
 MEM                                                NUMBER(10)
 VMEM                                               NUMBER(10)
 DASD                                               NUMBER(10)
 PERF                                               NUMBER(10)
 PERFBLOB                                           BLOB
 ID                                        NOT NULL NUMBER(12)

Hostdata

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 IP                                                 NUMBER(12)
 NUMPROC                                            NUMBER(10)
 MHZ                                                NUMBER(10)
 ARCH                                               CHAR(16)
 OS                                                 CHAR(16)
 OSV                                                NUMBER(10)
 MEM                                                NUMBER(10)
 VMEM                                               NUMBER(10)
 DASD                                               NUMBER(10)
 LOC                                                VARCHAR2(256)
 USR                                                VARCHAR2(256)
 ID                                        NOT NULL NUMBER(12)

Hosts

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 IP                                                 NUMBER(12)
 NAME                                               VARCHAR2(256)
 ID                                        NOT NULL NUMBER(12)

Uniqueifiers

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 ID                                        NOT NULL NUMBER(12)
 TS                                                 CHAR(15)
 NOTE                                               VARCHAR2(255)

Datasources

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 DSID                                               NUMBER(10)
 DST                                                NUMBER(10)
 ID                                        NOT NULL NUMBER(12)

Flowsources

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 DSID                                               NUMBER(10)
 IP1                                                NUMBER(12)
 IP2                                                NUMBER(12)
 ID                                        NOT NULL NUMBER(12)

Nodesources

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 DSID                                               NUMBER(10)
 IP                                                 NUMBER(12)
 ID                                        NOT NULL NUMBER(12)

Modules

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 MID                                                NUMBER(10)
 MT                                                 NUMBER(10)
 DSID                                               NUMBER(10)
 ID                                        NOT NULL NUMBER(12)

Moduleexecs

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 MT                                                 NUMBER(10)
 ARCH                                               CHAR(16)
 OS                                                 CHAR(16)
 MINOSV                                             NUMBER(10)
 VER                                                NUMBER(10)
 EXECBLOB                                           BLOB
 ID                                        NOT NULL NUMBER(12)

Endpoints

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 MID                                                NUMBER(10)
 EPID                                               NUMBER(10)
 ID                                        NOT NULL NUMBER(12)

Endpointdata

 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 EPID                                               NUMBER(10)
 CT                                                 NUMBER(10)
 IP                                                 NUMBER(12)
 PORT                                               NUMBER(10)
 FN                                                 VARCHAR2(256)
 ID                                        NOT NULL NUMBER(12)







