Changeset 243 for trunk/web/xen-ips


Ignore:
Timestamp:
Nov 12, 2007, 5:05:26 AM (16 years ago)
Author:
quentin
Message:

Remove unnecessary constructors

Rename disk to disk_size in some (but not all!) places

Added MachineAccess? to all

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/xen-ips

    r113 r243  
    3838
    3939def addip(ip):
    40     n = NIC(None, randomMAC(), ip, None)
     40    n = NIC(machine_id=None, mac_addr=randomMAC(), ip=ip, hostname=None)
    4141    ctx.current.save(n)
    4242    ctx.current.flush()
Note: See TracChangeset for help on using the changeset viewer.