Skip to content

[nic_simulator] Add missing attribute in the slot#11006

Merged
StormLiangMS merged 1 commit intosonic-net:masterfrom
lolyu:add_missing_attr_nic_simulator
Dec 14, 2023
Merged

[nic_simulator] Add missing attribute in the slot#11006
StormLiangMS merged 1 commit intosonic-net:masterfrom
lolyu:add_missing_attr_nic_simulator

Conversation

@lolyu
Copy link
Collaborator

@lolyu lolyu commented Dec 13, 2023

Description of PR

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205
  • 202305

Approach

What is the motivation for this PR?

As the subject.

How did you do it?

Add packet_filter and drop to the attribute list.

How did you verify/test it?

Run nic_simulator

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@yxieca
Copy link
Collaborator

yxieca commented Dec 13, 2023

What problem are you fixing? Can you add more details regarding the consequences of not having these attributes?

@lolyu
Copy link
Collaborator Author

lolyu commented Dec 14, 2023

What problem are you fixing? Can you add more details regarding the consequences of not having these attributes?

@yxieca, all member attributes should be listed in __slots__, this is to add back those missing attributes which is introduced by my previous PRs.

@StormLiangMS StormLiangMS merged commit 74b3548 into sonic-net:master Dec 14, 2023
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Dec 14, 2023
What is the motivation for this PR?
As the subject.

How did you do it?
Add packet_filter and drop to the attribute list.

How did you verify/test it?
Run nic_simulator

Any platform specific information?
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #11014

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Dec 14, 2023
What is the motivation for this PR?
As the subject.

How did you do it?
Add packet_filter and drop to the attribute list.

How did you verify/test it?
Run nic_simulator

Any platform specific information?
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202205: #11015

mssonicbld pushed a commit that referenced this pull request Jan 26, 2024
What is the motivation for this PR?
As the subject.

How did you do it?
Add packet_filter and drop to the attribute list.

How did you verify/test it?
Run nic_simulator

Any platform specific information?
mssonicbld pushed a commit that referenced this pull request Jan 26, 2024
What is the motivation for this PR?
As the subject.

How did you do it?
Add packet_filter and drop to the attribute list.

How did you verify/test it?
Run nic_simulator

Any platform specific information?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants