Skip to content
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

QEMU Networking using slirp and vdeplug4 #235

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from
Draft

Conversation

raghav-g13
Copy link
Collaborator

No description provided.

@raghav-g13 raghav-g13 self-assigned this Mar 25, 2022
@raghav-g13 raghav-g13 changed the title QEMU Networking using slirp and vde-2 QEMU Networking using slirp and ~vde-2~ vdeplug4 Mar 25, 2022
@raghav-g13 raghav-g13 changed the title QEMU Networking using slirp and ~vde-2~ vdeplug4 QEMU Networking using slirp and vdeplug4 Mar 25, 2022
Copy link
Contributor

@NathanTP NathanTP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some high level stuff:

  • The IP addresses aren't quite right. They need to precisely match what FireSim would give.
    • Jobs should start at 172.16.0.2, the gateway should be at 172.16.0.1. We need to figure out how to configure the DNS. I think we can use a public DNS server instead of hosting our own (8.8.8.8 is Google's).
    • All this needs to be tested with FireSim eventually.
  • We shouldn't commit binaries for client and server in the buildroot and fedora NW tests. Those should get built from source in a host-init script.
  • You should merge in main to get the multi-job stuff in there. I think some of that is being duplicated here which is making it hard to review.

FireMarshal does not currently support running networked jobs concurrently.
However, you can run multiple jobs in a single launch command, they will be run
sequentially. Jobs are identified by their ``name`` attribute. Multiple ``-j``
FireMarshal supports running multiple jobs concurrently but does not support networked jobs yet. Jobs are identified by their ``name`` attribute. Multiple ``-j``
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it does now!

test/fed-nw-internet/overlay/root/test-client-2-copy.sh Outdated Show resolved Hide resolved
wlutil/launch.py Outdated Show resolved Hide resolved
wlutil/launch.py Outdated Show resolved Hide resolved
wlutil/launch.py Show resolved Hide resolved
wlutil/launch.py Outdated Show resolved Hide resolved
Merging final parallelJobs files in to avoid duplicate commits + other master changes
Copy link
Contributor

@NathanTP NathanTP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems pretty good now. I think the only problems are formatting. The C files have some funny tab sizes going on and the automatic lint checks seem to be failing.


int t = 0;
while(1){

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consistent tab size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants