Statistics
| Branch: | Tag: | Revision:

mininet / util / vm / build.py @ 86af067e

History | View | Annotate | Download (35.7 KB)

# Date Author Comment
86af067e 07/15/2015 05:40 PM Jonathan Hart

Add option for number of CPU cores to use for VM builds

8daa4193 04/15/2015 11:21 PM Bob Lantz

Fix typo

5a530af1 12/01/2014 11:39 PM Bob Lantz

Remove trailing whitespace. ;-/

e4db6981 11/19/2014 01:58 PM Bob Lantz

Fix indentation error so we don't wait forever.

9e0c1549 11/19/2014 12:59 PM Bob Lantz

Only uninstall ntpd on COW disk.

55b455e9 11/19/2014 11:20 AM Bob Lantz

Fix typo in depend()

6be4bfd0 11/11/2014 07:31 AM Bob Lantz

Avoid mirrors.kernel.org for now

2059786f 11/11/2014 06:45 AM Bob Lantz

Use sudo -n when talking to VM

635e8f11 11/11/2014 03:37 AM Bob Lantz

Add -q option to apt-get for quieter logging

abcdf185 11/10/2014 10:09 PM Bob Lantz

Uninstall ntpd to disable it more reliably

060d46a2 11/06/2014 12:18 AM Bob Lantz

Set VM date based on host date.

This should fix #398 for real; note that if we try to shut down ntpd
right at boot, it doesn't work! ;-(

However, setting the Unix time in the traditional manner using seconds
since 1970 should do the trick!

6159e923 10/09/2014 09:30 PM Bob Lantz

Add VM port forwarding option: --forward tcp:2222:22

629e58ca 10/03/2014 01:45 AM Bob Lantz

Add 'use' test for using VM interactively

d6da13d4 10/02/2014 12:32 AM Bob Lantz

ntpd doesn't take a server argument

92a4f2dd 10/02/2014 12:29 AM Bob Lantz

Try using ntpd since ntpdate doesn't always work

ded25a9e 10/01/2014 09:42 PM Bob Lantz

disableNtpd: wait 1 second and print out date just to be sure

1bae1aab 10/01/2014 09:20 PM Bob Lantz

Turn of ntpd and set date manually before tests

This should fix the problem where we see the first test
taking negative time, as well as possibly other issues
with performance tests which may be sensitive to changes
in wall clock time.

Fixes #398

dedb06b2 09/26/2014 01:43 AM Bob Lantz

Wait for crlf after OK/FAILED for better -v output

61760eab 09/24/2014 06:57 PM Bob Lantz

Make sure we 'sudo kill' our sudo pexpect process in close().

This should more reliably shut down pexpect subprocesses when
build.py exits before completion.

0333d3db 09/05/2014 04:51 AM Bob Lantz

qcow2size(): use qemu-image instead of file

file no longer returns image size on 14.04
fixes #373

f2458d1d 09/04/2014 01:50 PM Bob Lantz

Accept 'ISO' or 'boot' in file *.iso command output

Fixes #372

1285fb22 08/14/2014 10:38 PM Brian O'Connor

updaing build.py to use 12.04.5 and extract kernel using noload

29350004 07/15/2014 11:32 AM Bob Lantz

Add utopic/Ubuntu 14.10

e49c9d26 06/07/2014 04:21 AM Brian O'Connor

build.py: making ovf generation more generic

8b215af8 05/29/2014 05:22 AM Brian O'Connor

slight refactoring of util/vm/build.py to make it more extensible

c3bf407a 04/23/2014 09:28 PM Bob Lantz

Added Ubuntu 14.04.

2286ef4b 01/24/2014 11:44 PM Bob Lantz

Remove GRUB_TERMINAL=serial from /etc/default/grub

This is added because we install Ubuntu from a serial console.
Fixes #265

dfd79bde 01/15/2014 06:47 PM Bob Lantz

Add OperatingSystemSection to OVF template
should facilitate importing 64-bit image

317d6482 01/15/2014 04:26 AM Bob Lantz

Fix typo/minor error.

5f51abd1 01/15/2014 04:08 AM Bob Lantz

Allow -b to specify install or test branch

c90fb34d 01/14/2014 07:35 AM Bob Lantz

If specified, add Branch to build dir name

75abd94b 01/11/2014 02:07 AM Bob Lantz

Add #streamOptimized to fix .ovf for VirtualBox 4.3.2
fixes #261

55e48112 01/11/2014 02:06 AM Bob Lantz

Remove trailing spaces

fb51cdac 12/13/2013 02:38 AM Brian O'Connor

adding output file to build.py

49994c89 12/12/2013 11:38 PM Brian O'Connor

adding noneTest to Mininet vm build script

5da93762 11/21/2013 06:15 AM Bob Lantz

Depend: add dnsmasq (needed), remove landscape-client (not)

3151804c 09/19/2013 09:02 AM Bob Lantz

Add option to set pexpect timeout

700c5bf5 09/19/2013 04:39 AM Bob Lantz

Add date to ovf name

568f6424 09/19/2013 01:49 AM Bob Lantz

Add --memory option for VM memory size (for large tests)

f5985854 09/18/2013 07:44 PM Bob Lantz

Fix walkthrough test path

e0b50c8a 09/18/2013 07:04 AM Bob Lantz

Fix var name change

0294f5ec 09/18/2013 07:03 AM Bob Lantz

Add options to run commands before or after tests

4ccfe242 09/18/2013 01:02 AM Bob Lantz

Remove extra expect (paste error) that broke bootAndRunTests()

2ca1ea92 09/17/2013 10:56 PM Bob Lantz

Clarify log message

8f546d89 09/17/2013 10:40 PM Bob Lantz

Backing out attempt to identify kernel binary format

6d3cb5bc 09/17/2013 09:50 PM Bob Lantz

Add arch to vm name, and check kernel for boot arch

b7548e68 09/16/2013 06:22 PM Bob Lantz

Add walkthrough test and log build exceptions

2f3e8c2b 09/16/2013 06:06 PM Bob Lantz

Log failed test output.

fce7f5c5 09/16/2013 02:45 PM Bob Lantz

Add --zip option to archive VM.

4e242e92 09/12/2013 09:14 PM Bob Lantz

Add -v so that we can see exampletest results

7bd9a79b 09/12/2013 05:59 AM Bob Lantz

Add --test {test} and --branch {branch} options, and exampletest

501a164e 09/11/2013 07:00 PM Bob Lantz

Added --test option to boot and test a VM

9e725cb2 09/11/2013 07:00 PM Bob Lantz

Add 'mininet' prefix to output files

e02cdc0c 09/11/2013 07:00 PM Bob Lantz

XML file cannot begin with a newline :(

0038720c 09/11/2013 07:00 PM Bob Lantz

Add generateOVF to finally create the OVF descriptor file!

d4279559 09/11/2013 07:00 PM Bob Lantz

Add options; generate virtimage file (in progress)

d82e0ef5 09/11/2013 07:00 PM Bob Lantz

Add mtools to dependencies

662f2447 09/11/2013 07:00 PM Bob Lantz

Flush log file output to avoid slow buffering

20005f5b 09/11/2013 07:00 PM Bob Lantz

Add a space

803a1a54 09/11/2013 07:00 PM Bob Lantz

Write build log to file, and detect installation failure

20ba2959 09/11/2013 07:00 PM Bob Lantz

Add 13.10 (won't work until final)

b79ce2a5 09/11/2013 07:00 PM Bob Lantz

Clarify actual testing in module comment

a1557958 09/11/2013 07:00 PM Bob Lantz

quetzal -> quantal

ad5a0e42 09/11/2013 07:00 PM Bob Lantz

Explicitly create a qcow2 image

d2762938 09/11/2013 07:00 PM Bob Lantz

Increase timeout (for lengthy hifi test)

67f9d8f6 08/26/2013 06:46 PM Bob Lantz

Remove qcow2 post conversion; drop unused etree dep

c353e609 08/26/2013 01:06 AM Bob Lantz

correction: pexpect.timeout -> TIMEOUT

662fb712 08/26/2013 12:42 AM Bob Lantz

Detect failed iso download; begin virt-image support

28165f7b 08/25/2013 11:27 PM Bob Lantz

Check `make test` results

dbcfda77 08/25/2013 10:51 PM Bob Lantz

Update release URLS - should probably clean this up.

1dfa7776 08/25/2013 10:25 PM Bob Lantz

Change to extract kernel and initrd

3dc3e066 08/24/2013 08:57 PM Bob Lantz

Update build directory name to include date.

bbf808c3 08/24/2013 04:27 AM Bob Lantz

Get rid of unused pexpect import.

4556e06f 08/24/2013 04:25 AM Bob Lantz

Fix erroneous tab hit before commit.

f605a4e4 08/24/2013 03:33 AM Bob Lantz

Works, more or less.

fa1758b9 08/24/2013 12:26 AM Bob Lantz

First draft of new world order (create build image from iso)

14903d6a 08/23/2013 01:40 AM Bob Lantz

Final gasp of cloud image version.

94954177 08/22/2013 04:18 AM Bob Lantz

Added support for creating a volume rather than a raw partition.

85dfac5c 08/20/2013 08:31 PM Bob Lantz

Many more improvements.

860bcc02 08/20/2013 08:31 PM Bob Lantz

Minor changes and script evolution.

4daeeff0 08/20/2013 08:31 PM Bob Lantz

Created first revision of VM build script.