Commit Graph

2010 Commits

Author SHA1 Message Date
lantz ec2d93d482 2.3.0b2 (#1022)
+ text file updates
2.3.0b2
2021-01-30 15:41:20 -08:00
lantz dffddc338f Install python3 mn last in install-mininet-vm.sh (#1021)
This means that 'mn' will run be default in python3.

For python2, run

    sudo python2 `which mn`

Also:

- change mn execution line to /usr/bin/python
  (install seems to change it to python2 or python3)

- don't install python-is-python3 package
2021-01-29 22:39:19 -08:00
lantz b6ad3a1619 Mininet 2.3.0b1 (#1019)
Also tweak README.md, INSTALL, and CONTRIBUTORS
2.3.0b1
2021-01-29 16:15:39 -08:00
lantz 96ac94a985 fix session typo
thanks to Vintas Avinash
closes #1011
2021-01-29 15:47:47 -08:00
lantz 715db45b9d more logging fixes (#1018)
- call getLogger( "mininet" ) to set lg properly
- support warning() as well as (deprecated) warn()
- rearrange initialization slightly
2021-01-28 18:48:45 -08:00
lantz e07a29b4e6 fix make develop: --no-binary :all: (#1017) 2021-01-28 16:04:39 -08:00
lantz 2255bc7da3 Fix/clean up setLogLevel (#1016)
Sometimes we got no output with python 3 on ubuntu 20
This simplifies setLogLevel slightly and should work
on python 2 and python 3.
2021-01-27 18:27:22 -08:00
lantz 12f4d5b8ae Fetch older version of get-pip.py for python 2 (#1015)
fixes #1014
2021-01-26 00:18:54 -08:00
lantz f9d5ef3461 remove .travis.yml and travis badge from README.md (#1013)
Thanks to travis.org for the CI support for many years.
2021-01-25 14:56:05 -08:00
lantz dad451bf8f Pass code check with pylint=2.4.4 (#1012) 2021-01-25 14:00:53 -08:00
lantz 77938e0a85 Increase timeout for emulated build (#1009) 2021-01-16 19:21:00 -08:00
lantz e4003290e0 Try to install python2 and python3 mininet (#1008) 2021-01-13 23:24:06 -08:00
lantz 9517f6c197 Build script for 20.04 (#1004)
Should be able to build 16.04, 18.04 and 20.04,
as well as branch builds.
2021-01-13 19:36:18 -08:00
lantz d8c30910cb ubuntu 14 code check fixes so travis can pass (#1006) 2021-01-09 21:15:27 -08:00
lantz 53975940de Test fixes and debugging (#1005)
test_controlnet: log to stdout for now
test_walkthrough: wait for http server connection
2021-01-09 18:53:50 -08:00
lantz 77c473687e Wait for exit to avoid leftover dp0 (#1002)
In certain cases, dp0 and its interfaces were not
being cleaned up, probably due to scratchnet.py being
killed before it terminated. This in turn caused the
natnet test to fail.
2021-01-05 17:01:35 -08:00
lantz 0847991030 Install pip for debian/ubuntu (#1001) 2021-01-04 22:14:10 -08:00
lantz 462929b3af Run full core test suite (#1000)
also remove unneeded rm -f pexpect.out since we are not
generating that at the moment
2021-01-04 19:12:43 -08:00
lantz 26c7c70024 use pip for make {install,develop} (#999) 2021-01-04 18:51:54 -08:00
lantz 942745e91f Fix tree1024.py (#995) 2021-01-04 18:35:42 -08:00
lantz dcc39a7b25 Loosen test_intfoptions tolerance to 25% for CI (#998)
Adjusting the tolerance for this test to compensate
for apparent performance variation when running as
part of github actions CI builds/tests.
2021-01-04 18:25:35 -08:00
Giuseppe Di Lena ebdb3a5107 Fix a small typo error in clusterdemo.py (#945) 2021-01-04 14:14:44 -08:00
lantz 6def304585 Remove long tests from travis (#993) 2021-01-04 13:53:30 -08:00
lantz e02e338e3c intfoptions and test adjustments (#992)
* 2.3.0a1

* intfoptions and test_intfoptions tweaks

also added cleanup() to test_walkthrough fixture
2021-01-03 22:24:28 -08:00
lantz b7c412073a CI matrix build + 20.04 fixes (#990)
Ubuntu 20.04 fixes:
- fixes sshd test
- speeds up examples/{treeping64,tree1024}.py
- debugging hacks/output for testLinkChange
- removes cfs from examples/popen.py
- improves nat in nodelib (netplan fixes?)
- makes some tests executable
- waits for switches to connect in tests to
  avoid race conditions
-- adds mn -w option and wait CLI command
Changes:
- REMOVES default "-v" argument for Controller()
  and adds verbose(=False) option; avoiding logging
  makes it faster
- CHANGES waitConnected to wait for 5 seconds
  as documented; we may wish to implement an argument
  to -w to set this timeout
Issues?
- There may still be an issue with the ovs-netplan-clean
  service causing the boot to hang ;-(
2021-01-03 20:00:33 -08:00
lantz afdf9fd571 Update for python 2.x and 3.x builds (#988) 2020-12-19 18:06:52 -08:00
lantz 336b01ae34 Add matrix build for ubuntu-16.04 and ubuntu-18.04 (#987) 2020-12-13 19:14:26 -08:00
Jeff R. Allen 537e8242fc Install correctly on Ubuntu 20.04 (#980)
* Install correctly on Ubuntu 20.04

Main changes are to avoid pulling in python2 by mistake, and then to make sure to install only python3 packages.

Also: Add net-tools which is needed to get ifconfig on newer Ubuntu releases.

(admin note: there are still a couple of remaining 20.04 issues but this is helpful)
2020-12-13 19:00:20 -08:00
lantz cab8970b0a Update run-tests.yaml 2020-12-13 18:13:27 -08:00
lantz 3625149356 Update run-tests.yaml 2020-12-13 18:00:44 -08:00
lantz fd9e011277 Merge pull request #986 from lantz/github-actions
Initial support for github actions CI builds
2020-12-13 17:57:48 -08:00
Bob Lantz 591a961762 Initial support for github actions CI builds 2020-12-13 17:15:11 -08:00
lantz bfc42f6d02 Merge pull request #921 from timgates42/bugfix/typo_updates
Fix simple typo: udpates -> updates
2020-04-15 18:22:28 -07:00
lantz 458d20e3fd Merge pull request #928 from JuFil/master
Fix install.sh on Ubuntu 19.10: substitute cgroup-bin with cgroup-too…
2020-04-15 18:18:06 -07:00
lantz 73b2ecc5fe Merge pull request #934 from ssikdar1/flake8-octal-number-positions
change to use 0o for octal numbers w/ file permissons for python2/3 compatibility
2020-04-15 18:17:19 -07:00
lantz 6a5adb48d2 Merge pull request #938 from JuFil/fix-poll
Fix usage of poll in mininet.utils.errRun
2020-04-15 18:13:39 -07:00
julian.filter 5f69bf0ade Add unit tests for util 2020-04-09 18:16:13 +02:00
julian.filter d5b4aa829b Improve util.pmonitor 2020-04-09 17:10:52 +02:00
julian.filter 1704541cc9 fix util.errRun 2020-04-09 17:05:06 +02:00
Shan Sikdar f56a12a1ab change permissons to use octal for rest of file 2020-04-05 10:50:58 -04:00
Shan Sikdar 70c643f8de change to use 0o for octal numbers w/ file permissons 2020-04-05 10:42:31 -04:00
lantz fa9fd770ca Merge pull request #932 from ssikdar1/flake8-F632
change to fix flake8 F632 issues
2020-04-03 19:34:45 -07:00
Shan Sikdar dd41ecaae4 change to fix flake8 F632 issues 2020-04-03 11:43:23 -04:00
julian.filter 287c1fb154 Fix install.sh on Ubuntu 19.10: substitute cgroup-bin with cgroup-tools for Debian/Ubuntu 2020-02-15 19:09:13 +01:00
Tim Gates 1c268e7667 Fix simple typo: udpates -> updates
Closes #920
2020-01-05 20:13:36 +11:00
lantz 2b8d254cc0 Merge pull request #873 from raingloom/patch-1
make it easier to set the compiler
2019-12-01 15:36:48 -08:00
lantz 8fc867b1f4 Merge pull request #897 from jadinm/fix-cli-stdin
Fix CLI constructor: stdin parameter was replaced
2019-12-01 15:34:08 -08:00
Mathieu Jadin 6af291c968 Fix CLI constructor: stdin parameter was replaced
This also enables CLI users to pass parameters to its superclass: Cmd.
2019-12-01 08:45:43 +01:00
lantz c0582b9c5e Merge pull request #895 from jadinm/fix-topo-addLink
Return the new link key in Topo.addLink()
2019-11-29 16:00:38 -08:00
lantz 023c53aec6 Merge pull request #912 from lantz/fix-1604-install
Check for non-functional 'python'
2019-11-29 15:59:55 -08:00