Changes between Version 1 and Version 2 of Internal/Inventory-alternative
- Timestamp:
- Oct 17, 2007, 7:07:26 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/Inventory-alternative
v1 v2 31 31 || MAC || varchar(17) || YES || UNI || NULL || || MAC address of the interface || 32 32 || ord || int(11) || NO || || 1 || || Interface ordinal number within the node || 33 || updated_on || timestamp || NO || || CURRENT_TIMESTAMP || || || 34 || updated_by || varchar(64) || NO || || || || || 33 35 34 36 … … 43 45 || memory || int(11) || YES || || 0 || || Memory size in MB || 44 46 || HDSZ || int(11) || YES || || 0 || || Hard disk size in GB || 45 || time || timestamp || NO || || CURRENT_TIMESTAMP || || || 47 || updated_on || timestamp || NO || || CURRENT_TIMESTAMP || || || 48 || updated_by || varchar(64) || NO || || || || || 49 46 50 47 51 (NOTE: 'node_id' is NULL when this motherboard is not installed on any node, i.e. new parts that just got in, or stored extra/spare parts) 52 53 We could also move the hard-drive info in a separate table if we allow hard-drive swapping between motherboards. 48 54 49 55 === nodes table === … … 52 58 || chassis_sn || varchar(16) || NO || UNI || || || Manufacturer serial number of the node's chassis || 53 59 || location_id || varchar(64) || YES || UNI || NULL || || Link to 'id' in 'locations' table || 60 || updated_on || timestamp || NO || || CURRENT_TIMESTAMP || || || 61 || updated_by || varchar(64) || NO || || || || || 54 62 55 63 (NOTE: 'location_id' is NULL when this chassis is not installed at any location, i.e. new parts that just got in, or stored extra/spare parts) … … 64 72 || unit || int(11) || NO || || 0 || || || 65 73 || testbed_id || varchar(64) || NO || || 0 || || Link to 'id' in 'testbeds' table || 74 || updated_on || timestamp || NO || || CURRENT_TIMESTAMP || || || 75 || updated_by || varchar(64) || NO || || || || || 66 76 67 77 … … 77 87 || longitude || int(11) || NO || || 0 || || || 78 88 || elevation || int(11) || NO || || 0 || || || 89 || updated_on || timestamp || NO || || CURRENT_TIMESTAMP || || || 90 || updated_by || varchar(64) || NO || || || || || 79 91 80 92 == DESCRIPTION ==