-
Notifications
You must be signed in to change notification settings - Fork 59
QEMU Networking using slirp and vdeplug4 #235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
raghav-g13
wants to merge
17
commits into
master
Choose a base branch
from
qemu-network
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
0b767a3
setup VDE
raghav-g13 7f3727b
Marshal Integration v1 works!
raghav-g13 b7ccd93
Internet test + Network test needs better test harness
raghav-g13 c6b8fa7
network test works, all jobs launch concurrently during testing
raghav-g13 c5de29e
VDE Integration with vde-2 complete
raghav-g13 3eeec62
VDE Integration with vdeplug4 complete
raghav-g13 1233cd9
PR changes
raghav-g13 c2d06a4
Merge branch 'master' into qemu-network
raghav-g13 a5e391c
Updated tutorial to include networking
raghav-g13 606416a
Updated centos/ubuntu reqs + created marshal-dependencies script + ad…
raghav-g13 f81a346
fixed tab + lint errors
raghav-g13 66ba53b
modified README.md
raghav-g13 1306aae
Updated README.md
raghav-g13 f5f0a1d
Updated docs for getting started section
raghav-g13 c78d62c
Moved scripts to install directory + single script for complete insta…
raghav-g13 34b7866
Switch to sourcing scl enable rather than using the scl command (it
dc69137
fixed centos py38 issue + bug fix
raghav-g13 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ wlutil/_command.sh | |
.doit.db* | ||
marshal-config.yaml | ||
.ropeproject | ||
dependencies |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
boards/default/distros/fedora/overlay/etc/systemd/system/firesim.service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Requires=multi-user.target | ||
After=multi-user.target | ||
Requires=network-online.target | ||
After=network-online.target | ||
Before=firesim.target | ||
Wants=firesim.target | ||
|
||
[Service] | ||
ExecStart=/etc/firesim/firesim.sh | ||
StandardOutput=journal+console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 7 additions & 1 deletion
8
boards/firechip/base-workloads/br-base/overlay/etc/network/interfaces
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
|
||
# marshal requires eth0 to be the first interface in this file, please add other interfaces below it | ||
auto lo | ||
iface lo inet loopback | ||
|
||
auto eth0 | ||
iface eth0 inet static | ||
address firemarshal_ip_addr_uninitialized | ||
netmask 255.255.0.0 | ||
gateway 172.16.0.1 | ||
dns-nameservers 172.16.1.3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ DEVICE=eth0 | |
BOOTPROTO=static | ||
ONBOOT=on | ||
PREFIX=16 | ||
PEERDNS=yes | ||
DNS1=172.16.1.3 |
3 changes: 3 additions & 0 deletions
3
boards/firechip/base-workloads/fedora-base/overlay/etc/firesim/network-static
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
NETWORKING=yes | ||
NETWORKING_IPV6=no | ||
GATEWAY=172.16.0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.