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

[minigraph] For egress ACL attaching to vlan, break them into vlan members #6895

Merged
merged 4 commits into from
Feb 26, 2021

Conversation

qiluo-msft
Copy link
Collaborator

@qiluo-msft qiluo-msft commented Feb 25, 2021

Why I did it

Some platforms have difficult to attach egress ACL to vlan.

How I did it

For egress ACL attaching to vlan, break them into vlan members.

How to verify it

Unit test
Tested in DUT

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

Description for the changelog

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

@lgtm-com
Copy link

lgtm-com bot commented Feb 26, 2021

This pull request fixes 1 alert when merging 5ffc9ca into 21f5e12 - view on LGTM.com

fixed alerts:

  • 1 for Unused local variable

@qiluo-msft qiluo-msft marked this pull request as ready for review February 26, 2021 00:09
@qiluo-msft qiluo-msft merged commit 833584e into sonic-net:master Feb 26, 2021
@qiluo-msft qiluo-msft deleted the qiluo/egressvlan branch February 26, 2021 18:41
qiluo-msft added a commit that referenced this pull request Feb 28, 2021
lguohan pushed a commit that referenced this pull request Mar 5, 2021
…mbers (#6895)

#### Why I did it
Some platforms have difficult to attach egress ACL to vlan.

#### How I did it
For egress ACL attaching to vlan, break them into vlan members.

#### How to verify it
Unit test
Tested in DUT
@@ -551,7 +550,7 @@ def parse_dpg(dpg, hname):
else:
vlan_members[(sonic_vlan_member_name, vmbr_list[i])] = {'tagging_mode': 'untagged'}

vlan_attributes = {'vlanid': vlanid}
vlan_attributes = {'vlanid': vlanid, 'members': vmbr_list }
Copy link
Collaborator

Choose a reason for hiding this comment

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

members fields should be removed from the config db.

carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
…mbers (sonic-net#6895)

#### Why I did it
Some platforms have difficult to attach egress ACL to vlan.

#### How I did it
For egress ACL attaching to vlan, break them into vlan members.

#### How to verify it
Unit test
Tested in DUT
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.

3 participants