Ignore:
Timestamp:
Feb 27, 2009, 11:56:20 AM (15 years ago)
Author:
quentin
Message:

Add "reusable" column for nics, to avoid reusing addresses that are special in some way.

Location:
trunk/packages/invirt-database
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-database/debian/changelog

    r2200 r2211  
    1818  * make EIBTI imports
    1919
    20  -- Greg Price <price@mit.edu>  Fri, 27 Feb 2009 02:29:29 -0500
     20  [ Quentin Smith ]
     21  * Add "reusable" column for nics, to avoid reusing addresses that are
     22    special in some way.
     23
     24 -- Quentin Smith <quentin@mit.edu>  Fri, 27 Feb 2009 11:51:39 -0500
    2125
    2226invirt-database (0.1.7) unstable; urgency=low
  • trunk/packages/invirt-database/python/database/models.py

    r2200 r2211  
    5454       Column('mac_addr', String, nullable=False, primary_key=True),
    5555       Column('ip', String, nullable=False, unique=True),
    56        Column('hostname', String, nullable=True))
     56       Column('hostname', String, nullable=True),
     57       Column('reusable', Boolean, nullable=False, default=True))
    5758
    5859disk_table = Table('disks', meta,
Note: See TracChangeset for help on using the changeset viewer.