| OLD | NEW |
| 1 from boto.manage.server import Server | 1 from boto.manage.server import Server |
| 2 from boto.manage.volume import Volume | 2 from boto.manage.volume import Volume |
| 3 import time | 3 import time |
| 4 | 4 |
| 5 print '--> Creating New Volume' | 5 print '--> Creating New Volume' |
| 6 volume = Volume.create() | 6 volume = Volume.create() |
| 7 print volume | 7 print volume |
| 8 | 8 |
| 9 print '--> Creating New Server' | 9 print '--> Creating New Server' |
| 10 server_list = Server.create() | 10 server_list = Server.create() |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 volume.make_ready(server) | 25 volume.make_ready(server) |
| 26 | 26 |
| 27 print '--> Run "df -k" on Server' | 27 print '--> Run "df -k" on Server' |
| 28 status = server.run('df -k') | 28 status = server.run('df -k') |
| 29 print status[1] | 29 print status[1] |
| 30 | 30 |
| 31 print '--> Do an "ls -al" on the new filesystem' | 31 print '--> Do an "ls -al" on the new filesystem' |
| 32 status = server.run('ls -al %s' % volume.mount_point) | 32 status = server.run('ls -al %s' % volume.mount_point) |
| 33 print status[1] | 33 print status[1] |
| 34 | 34 |
| OLD | NEW |