Skip to content

QEMU Networking using slirp and vdeplug4#235

Draft
raghav-g13 wants to merge 17 commits into
masterfrom
qemu-network
Draft

QEMU Networking using slirp and vdeplug4#235
raghav-g13 wants to merge 17 commits into
masterfrom
qemu-network

Conversation

@raghav-g13

Copy link
Copy Markdown
Collaborator

No description provided.

@raghav-g13 raghav-g13 requested a review from NathanTP March 25, 2022 22:33
@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

@NathanTP NathanTP left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread docs/source/commands.rst Outdated
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
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

it does now!

Comment thread test/fed-nw-internet/overlay/root/test-client-1.sh
Comment thread test/fed-nw-internet/overlay/root/test-client-2-copy.sh Outdated
Comment thread wlutil/launch.py Outdated
Comment thread boards/firechip/base-workloads/br-base/overlay/etc/network/interfaces Outdated
Comment thread wlutil/launch.py Outdated
Comment thread wlutil/launch.py
Comment thread wlutil/launch.py Outdated
Merging final parallelJobs files in to avoid duplicate commits + other master changes

@NathanTP NathanTP left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread test/fed-nw-internet/client.c Outdated

int t = 0;
while(1){

Copy link
Copy Markdown
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