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

Update minigraph parser to support type MIRROR_DSCP #8819

Merged
merged 2 commits into from
Sep 23, 2021

Conversation

bingwang-ms
Copy link
Contributor

Why I did it

This PR is to update minigraph parser minigraph.py to support type MIRROR_DSCP.
A new section defined in minigraph.xml as below will create an ACL table with type MIRROR_DSCP.

  <AclInterfaces>
       <AclInterface>
          <AttachTo>ERSPAN_DSCP</AttachTo>
          <InAcl>Everflow_dscp</InAcl>
          <Type>Everflow_dscp</Type>
        </AclInterface>
  </AclInterfaces>

How I did it

Update minigraph.py to support parsing EVERFLOW_DSCP into config_db.

How to verify it

  1. Verified by UT
  2. Verified by updating minigraph.xml and runing config load_minigraph on device.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

Update minigraph parser to support type MIRROR_DSCP

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

@qiluo-msft
Copy link
Collaborator

This PR could not be cleanly cherry-pick to 202012. Please submit another PR.

yxieca pushed a commit that referenced this pull request Oct 2, 2021
* Update minigraph parser to support MIRROR_DSCP

Signed-off-by: bingwang <[email protected]>
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