Skip to content

[202012][CoPP] Align entry name in copp_cfg.j2 with feature name#101

Closed
stephenxs wants to merge 1 commit into202012from
fix-copp-dhcp-relay
Closed

[202012][CoPP] Align entry name in copp_cfg.j2 with feature name#101
stephenxs wants to merge 1 commit into202012from
fix-copp-dhcp-relay

Conversation

@stephenxs
Copy link
Owner

There is a logic in copp manager which loads copp items only if the feature is enabled.
It requires the feature name aligns with copp item name otherwise the copp item can not be loaded.
Currently, dhcp copp item is used by feature dhcp_relay but the name doesn't align.
This is to fix it.

Signed-off-by: Stephen Sun [email protected]

Why I did it

How I did it

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

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

There is a logic in copp manager which loads copp items only if the feature is enabled.
It requires the feature name aligns with copp item name otherwise the copp item can not be loaded.
Currently, dhcp copp item is used by feature dhcp_relay but the name doesn't align.
This is to fix it.

Signed-off-by: Stephen Sun <[email protected]>
Copy link

@shlomibitton shlomibitton left a comment

Choose a reason for hiding this comment

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

LGTM

@stephenxs
Copy link
Owner Author

ci 1330 passed

@stephenxs stephenxs closed this Mar 21, 2022
@stephenxs stephenxs deleted the fix-copp-dhcp-relay branch March 21, 2022 05:16
stephenxs pushed a commit that referenced this pull request Mar 25, 2022
#### Why I did it
```
Update submodule sonic-restapi
bd97dfe Fix urllib3 CVE-2021-33503 issue (#104)
f159bfa Upgrade the containers to be based on Debian Buster (#103)
a1830c1 (origin/201911) Fix OpenAPI spec to be readable by autorest (#101)
```
stephenxs pushed a commit that referenced this pull request Apr 2, 2022
#### Why I did it
```
Update submodule sonic-restapi
bd97dfe Fix urllib3 CVE-2021-33503 issue (#104)
f159bfa Upgrade the containers to be based on Debian Buster (#103)
a1830c1 (origin/201911) Fix OpenAPI spec to be readable by autorest (#101)
```
stephenxs pushed a commit that referenced this pull request Apr 25, 2022
bd97dfe Fix urllib3 CVE-2021-33503 issue (#104)
f159bfa Upgrade the containers to be based on Debian Buster (#103)
a1830c1 Fix OpenAPI spec to be readable by autorest (#101)
94805a3 Identify and report Vnet GUID for conflicting VNI (#99)
4832dfd Static route expiry if not specified as persistent (#98)
5cc4358 Add support for overlay ECMP (#96)
6822a46 [CI] Set diff cover threshold to 50% (#97)
dcc826a Add PR diff coverage (#95)
stephenxs pushed a commit that referenced this pull request Jul 16, 2023
a1830c1761087bdc1f7433ebbb8d0bdc419da0d3 (HEAD -> 201911, origin/master, origin/HEAD, origin/201911) Fix OpenAPI spec to be readable by autorest (#101)
94805a39ac0712219f7dc08faa2cfdbf371dd177 Identify and report Vnet GUID for conflicting VNI (#99)
4832dfd677de72edc44d4eb8c1b60cfad79a3355 Static route expiry if not specified as persistent  (#98)
5cc4358fb67b9e2a0da9a6691064e41f97ebebc2 (master) Add support for overlay ECMP (#96)
6822a46197daef060b4d00dba5153b04b163c43f [CI] Set diff cover threshold to 50% (#97)
dcc826a1503060b9a07e4510b4f48331c49e87dd Add PR diff coverage (#95)
e842c5ff317c67919dcbcab3358143cb9a16c9dd Generate code coverage for Unit Tests (#94)
f9bbed3cb86a3bab9a07745096835dbdbe5a4db6 Convert Unit Tests from unittest framework to pytest framework (#93)

Signed-off-by: Abhishek Dosi <[email protected]>
stephenxs pushed a commit that referenced this pull request Feb 2, 2024
…utomatically (sonic-net#17850)

#### Why I did it
src/sonic-host-services
```
* 970e7b3 - (HEAD -> master, origin/master, origin/HEAD) Fix sonic host service (#101) (5 hours ago) [ganglv]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stephenxs pushed a commit that referenced this pull request Nov 19, 2025
…e latest HEAD automatically (sonic-net#24535)

#### Why I did it
src/wpasupplicant/sonic-wpa-supplicant
```
* b1699b610 - (HEAD -> master, origin/master, origin/HEAD) Automated agent pool migration for branch master (#101) (4 days ago) [yijingyan2]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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