dedis / onet

Overlay Network for distributed protocols
GNU Lesser General Public License v3.0
50 stars 29 forks source link

Support Ubuntu 20.04 on platform mininet #665

Closed jeffallen closed 3 years ago

jeffallen commented 3 years ago

install_mininet.sh installs for 20.04 from git, because mininet releases are rarely made now, and because changes were needed in mininet itself in order to correctly install on 20.04. These changes were proposed by me and merged into mininet recently, allowing this work to proceed.

start.py has a critical simplification to use the default controller. This is required for Mininet on 20.04 to work at all, and does not stop 14.04 from working. (Others to be tested still.)

Also: Support local development/debugging with VirtualBox, via NAT port forwarding. (These changes work and are useful, but are not sufficient to run an entire simulation because the logging of monitors needs to know the real IP address of the first server.)

jeffallen commented 3 years ago

I plan one final test of this with IC Cluster machines tomorrow, including the intermediate versions of Ubuntu which I have not had a chance to test so far:

If one of the intermediate versions does not work, I might just deprecate all versions before 20.04, because it is the current LTS.

ineiti commented 3 years ago

Wow - VirtualBox support now!

jeffallen commented 3 years ago

Wow - VirtualBox support now!

Well, only useful for local hacking. Was just necessary to be able to run all the trial and error it took to find out why 20.04 didn't work.

jeffallen commented 3 years ago

This is fully tested and ready to review.

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication