3 Lists what a user's VM's are
6 from subprocess import PIPE, Popen, call
10 from invirt import database
11 from invirt.database import Machine, MachineAccess
16 print >>sys.stderr, "usage: invirt-remote-listuser <user>"
21 machines = Machine.query().join('acl').filter_by(user=username)
27 data['contact'] = m.contact
30 print yaml.dump(output, Dumper=yaml.CSafeDumper, default_flow_style=False)
32 if __name__ == '__main__':
33 sys.exit(main(sys.argv))