Commit c1a97af3 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add ntpdrift value to nodes table.

Add ntpinfo table for storing server/peer IPs for each node.
These values are to be returned by tmcd.
parent 060b1649
......@@ -563,6 +563,7 @@ CREATE TABLE nodes (
next_op_mode varchar(20) default NULL,
ipodhash varchar(64) default NULL,
osid varchar(35) NOT NULL default '',
ntpdrift float default NULL,
PRIMARY KEY (node_id)
......@@ -620,6 +621,17 @@ CREATE TABLE nsfiles (
PRIMARY KEY (eid,pid)
# Table structure for table 'ntpinfo'
CREATE TABLE ntpinfo (
node_id varchar(10) NOT NULL default '',
IP varchar(15) NOT NULL default '',
type enum('server','peer') NOT NULL default 'peer',
PRIMARY KEY (node_id,IP,type)
# Table structure for table 'os_info'
Supports Markdown
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