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

External.TRex.UDPSimple: use src/dst mac and ip addresses #363

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

olichtne
Copy link
Collaborator

Description

The default trex packet stream generator didn't correctly use the provided source and destination ip and mac addresses.

This wasn't noticed until now because the test is typically run in a lab where multiple machine pairs were isolated from eachother.

This however isn't MANDATORY and so to avoid conflicts on a shared network we should respect the provided values.

Tests

(Please provide a list of tests that prove that the pull
request doesn't break the stable state of the master branch. This should
include test runs with valid results for all of critical workflows.)

Reviews

(Please add a list of reviewers that should check the validity and sanity of
this merge request before it's accepted. Use the @username syntax. If you
don't know who to mention just link @all.)

Closes: #

The default trex packet stream generator didn't correctly use the
provided source and destination ip and mac addresses.

This wasn't noticed until now because the test is typically run in a
lab where multiple machine pairs were isolated from eachother.

This however isn't MANDATORY and so to avoid conflicts on a shared
network we should respect the provided values.

Signed-off-by: Ondrej Lichtner <[email protected]>
@olichtne olichtne requested a review from jtluka February 21, 2024 14:55
@olichtne olichtne self-assigned this Feb 21, 2024
Copy link
Collaborator

@jtluka jtluka left a comment

Choose a reason for hiding this comment

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

Besides the only comment, looks ok.

lnst/External/TRex/UDPSimple.py Show resolved Hide resolved
@olichtne olichtne merged commit f64f845 into LNST-project:master Feb 22, 2024
3 checks passed
@olichtne olichtne deleted the fix-trex-pkt-generation branch February 27, 2024 12:20
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