Changeset 243 for trunk/web/xen-ips
- Timestamp:
- Nov 12, 2007, 5:05:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/xen-ips
r113 r243 38 38 39 39 def addip(ip): 40 n = NIC( None, randomMAC(), ip,None)40 n = NIC(machine_id=None, mac_addr=randomMAC(), ip=ip, hostname=None) 41 41 ctx.current.save(n) 42 42 ctx.current.flush()
Note: See TracChangeset
for help on using the changeset viewer.