Skip to content

pfc tests migrated to snappi#9

Open
ANISH-GOTTAPU wants to merge 4 commits into
masterfrom
pfc_snappi_migrate
Open

pfc tests migrated to snappi#9
ANISH-GOTTAPU wants to merge 4 commits into
masterfrom
pfc_snappi_migrate

Conversation

@ANISH-GOTTAPU

Copy link
Copy Markdown
Owner

Description of PR

Migration of PFC tests from abstract open traffic generator to snappi

Summary:
Test case(new/improvement)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • [x ] Test case(new/improvement)

Approach

What is the motivation for this PR?

The motivation for this PR is to migrate the tests that are written with abstract open traffic generator to snappi

How did you do it?

Replaced the code where abstract is used to snappi

How did you verify/test it?

verified all the tests in sonic-mgmt using pytest with DUT and IXIA connections
snappi version used for the development of tests snappi[ixnetwork]==0.4.0

Comment thread tests/common/fixtures/snappi_fixtures.py Outdated
Comment thread tests/common/fixtures/snappi_fixtures.py Outdated
"""
duthost = duthosts[rand_one_dut_hostname]
return (duthost.host.options['variable_manager'].
_hostvars[duthost.hostname]['secret_group_vars']

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why do we have secret_group_vars ? doesn't seem to be used in ixia_api_serv_port

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

there is some update in the library end, have to add this to ixia_api_serv_port also..I will add that in separate PR and same is informed to Wei

Comment thread tests/common/fixtures/snappi_fixtures.py Outdated
Comment thread tests/common/fixtures/snappi_fixtures.py
Comment thread tests/common/fixtures/snappi_fixtures.py Outdated
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