Commit 4a18895e authored by Robert Ricci's avatar Robert Ricci

Added port_counters table, which will get used by scripts that

want to report switch activity since a certain time (say, experiment
swapin.)
parent 37cbb3e8
......@@ -619,6 +619,28 @@ CREATE TABLE partitions (
PRIMARY KEY (node_id,partition)
) TYPE=MyISAM;
#
# Table structure for table 'port_counters'
#
CREATE TABLE port_counters (
node_id char(10) default NULL,
card tinyint(3) unsigned default NULL,
port tinyint(3) unsigned default NULL,
ifInOctets int(10) unsigned default NULL,
ifInUcastPkts int(10) unsigned default NULL,
ifInNUcastPkts int(10) unsigned default NULL,
ifInDiscards int(10) unsigned default NULL,
ifInErrors int(10) unsigned default NULL,
ifInUnknownProtos int(10) unsigned default NULL,
ifOutOctets int(10) unsigned default NULL,
ifOutUcastPkts int(10) unsigned default NULL,
ifOutNUcastPkts int(10) unsigned default NULL,
ifOutDiscards int(10) unsigned default NULL,
ifOutErrors int(10) unsigned default NULL,
ifOutQLen int(10) unsigned default NULL
) TYPE=MyISAM;
#
# Table structure for table 'portmap'
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment