Changeset 1627
- Timestamp:
- Nov 12, 2008, 10:38:39 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/xvm-migrate-machine
r1626 r1627 27 27 machine.acl = [] 28 28 dev_sess.update(machine) 29 30 print 'VM Info:' 31 print ' name: %s' % machine.name 32 print ' description: %s' % machine.description 33 print ' cpus: %s' % machine.cpus 34 print ' memory: %s' % machine.memory 35 print ' owner: %s' % machine.owner 36 print ' contact: %s' % machine.contact 37 print ' administrator: %s' % machine.administrator 38 print ' uuid: %s' % machine.uuid 39 print ' type: %s' % machine.type.type_id 40 print ' autorestart: %s' % machine.autorestart 41 print ' adminable: %s' % machine.adminable 42 print ' Disks:' 43 for disk in machine.disks: 44 print ' - %s (%s)' % (disk.guest_device_name, disk.size) 45 print ' NICs:' 46 for nic in machine.nics: 47 print ' - %s, %s, %s' % (nic.mac_addr, nic.ip, nic.hostname) 48 print '===============================================' 49 print 29 50 30 51 disks = machine.disks
Note: See TracChangeset
for help on using the changeset viewer.