+invirt-remote (0.3.5) unstable; urgency=low
+
+ * updated quota support to refer to renamed owner table columns
+
+ -- Peter A. Iannucci <iannucci@mit.edu> Tue, 17 Feb 2009 02:13:44 -0500
+
invirt-remote (0.3.4) unstable; urgency=low
* modified host/usr/sbin/invirt-availability and invirt-vmcontrol to stat
active_machines = [m for m in machines if m.name in xmlist]
mem_usage = sum([x.memory for x in active_machines])
- return min(quota_single, quota_total-mem_usage)
+ return min(quota_single, quota_total - mem_usage)
def choose_host():
# Query each of the hosts.
operation = argv[1]
machine_name = argv[2]
args = argv[3:]
-
+
+ invirt.database.connect()
+
if operation == 'install':
options = dict(arg.split('=', 1) for arg in args)
valid_keys = set(('mirror', 'dist', 'arch', 'imagesize', 'noinstall'))
return 1
if operation == "create":
- invirt.database.connect()
machine = invirt.database.Machine.query().filter_by(name=machine_name).first()
owner = machine.owner