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

dockers/docker-sonic-mgmt/Dockerfile.js: Add keysight ixnetwork-open-… #5762

Merged
merged 13 commits into from
Nov 9, 2020
Merged

Conversation

ajbalogh
Copy link
Contributor

*Why I did it
Provide access to the ixnetwork-open-traffic-generator pypi package

*How I did it
Added a pip install entry for the package in the Dockerfile.j2

*How to verify it
pip show ixnetwork-open-traffic-generator

*Which release branch to backport (provide reason below if selected)
N/A

*Description for the changelog
Install of ixnetwork-open-traffic-generator pypi package is required for proposed rdma tests.

- A picture of a cute animal (not mandatory but encouraged)

…traffic-generator pypi package * pip install of ixnetwork-open-traffic-generator pypi package version 0.0.29 for open-traffic-generator based tests Signed-off-by: [email protected]
Copy link

@winstonliu1111 winstonliu1111 left a comment

Choose a reason for hiding this comment

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

@yxieca @neethajohn @baiwei0427 please review this PR. Thanks.

@neethajohn neethajohn requested a review from baiwei0427 November 2, 2020 18:55
@neethajohn
Copy link
Contributor

@baiwei0427 , can you check if the testcases work with this version?

@ajbalogh
Copy link
Contributor Author

ajbalogh commented Nov 2, 2020

@baiwei0427 @neethajohn
In order to use ixnetwork-open-traffic-generator version 0.0.32 there is
refactoring required in tests/pfc/files/configs/pfc.py

from this

l1_oneHundredGbe = OneHundredGbe(link_training=True,
                                 ieee_media_defaults=False,
                                 auto_negotiate=False,
                                 speed='one_hundred_gbps',
                                 flow_control=flow_ctl,
                                 rs_fec=True)

common_l1_config = Layer1(name='common L1 config',
                          choice=l1_oneHundredGbe,
                          port_names=[tx.name, rx.name])

to this

Individual speed containers have been removed and speed is now an enum on the Layer1 class.

auto_negotiation = AutoNegotiation(link_training=True,
                                   rs_fec=True)

common_l1_config = Layer1(name='common L1 config',
                            speed='speed_100_gbps',
                            auto_negotiate=False,
                            auto_negotiation=auto_negotiation,
                            flow_control=flow_ctl,
                            port_names=[tx.name, rx.name])

Copy link
Collaborator

@baiwei0427 baiwei0427 left a comment

Choose a reason for hiding this comment

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

I have tested this package in my testbed using both 40G and 100G links

@ajbalogh
Copy link
Contributor Author

ajbalogh commented Nov 6, 2020

Hi @neethajohn, @baiwei0427 has tested the package using both 40G and 100G links and indicated that you would merge the PR?

@baiwei0427
Copy link
Collaborator

retest this please

@neethajohn neethajohn merged commit a9fc866 into sonic-net:master Nov 9, 2020
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
sonic-net#5762)

*Why I did it
Provide access to the ixnetwork-open-traffic-generator pypi package

*How I did it
Added a pip install entry for the package in the Dockerfile.j2

*How to verify it
pip show ixnetwork-open-traffic-generator

*Description for the changelog
Install of ixnetwork-open-traffic-generator pypi package is required for proposed rdma tests.
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.

4 participants