Changeset 2211
- Timestamp:
- Feb 27, 2009, 11:56:20 AM (16 years ago)
- Location:
- trunk/packages
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-database/debian/changelog
r2200 r2211 18 18 * make EIBTI imports 19 19 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 21 25 22 26 invirt-database (0.1.7) unstable; urgency=low -
trunk/packages/invirt-database/python/database/models.py
r2200 r2211 54 54 Column('mac_addr', String, nullable=False, primary_key=True), 55 55 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)) 57 58 58 59 disk_table = Table('disks', meta, -
trunk/packages/invirt-web/code/controls.py
r2097 r2211 97 97 disk = Disk(machine=machine, 98 98 guest_device_name='hda', size=disksize) 99 nic = NIC.query().filter_by(machine_id=None).fi rst()99 nic = NIC.query().filter_by(machine_id=None).filter_by(reusable=True).first() 100 100 if not nic: #No IPs left! 101 101 raise CodeError("No IP addresses left! " -
trunk/packages/invirt-web/debian/changelog
r2161 r2211 1 invirt-web (0.0.21) unstable; urgency=low 2 3 * Don't reuse IP addresses that are special in some way. 4 5 -- Quentin Smith <quentin@mit.edu> Fri, 27 Feb 2009 11:55:51 -0500 6 1 7 invirt-web (0.0.20) unstable; urgency=low 2 8
Note: See TracChangeset
for help on using the changeset viewer.