-- $Id: device_module.sql,v 1.2 2009/03/06 22:07:34 fenner Exp $

DROP TABLE device_module;

CREATE TABLE device_module (
    ip            inet not null,
    index         integer,
    description   text,
    type          text,
    parent        integer,
    name          text,
    class         text,
    pos           integer,
    hw_ver        text,
    fw_ver        text,
    sw_ver        text,
    serial        text,
    model         text,
    fru           boolean,
    creation      TIMESTAMP DEFAULT now(),
    last_discover TIMESTAMP,
    PRIMARY KEY(ip,index)
    );
