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

[copp] add dhcpv6 copp rules #1979

Merged
merged 1 commit into from
Oct 23, 2021
Merged

[copp] add dhcpv6 copp rules #1979

merged 1 commit into from
Oct 23, 2021

Conversation

yxieca
Copy link
Contributor

@yxieca yxieca commented Oct 23, 2021

What I did
Add secondary COPP config file to enable DHCP V6

Why I did it
Need to enable DHCP V6

How I verified it
Warm reboot from a version without it to a version with it.
Warm reboot from a version with it to same version.
Cold reboot.

In all 3 cases, dhcp v6 rules are correctly installed.

Signed-off-by: Ying Xie [email protected]

@yxieca yxieca merged commit a9fa76e into sonic-net:201811 Oct 23, 2021
@yxieca yxieca deleted the copp branch October 23, 2021 05:19
lguohan pushed a commit that referenced this pull request Oct 24, 2021
What I did
Add secondary COPP config file to enable DHCP V6

(1) need to create a new table,
(2) so that the warm reboot asic config checker won't flag it as a configuration change and prevent warm reboot.
(3) warm reboot finalizer can selectively just apply the second file.

Why I did it
Need to enable DHCP V6

How I verified it
Warm reboot from a version without it to a version with it.
Warm reboot from a version with it to same version.
Cold reboot.

In all 3 cases, dhcp v6 rules are correctly installed.

Signed-off-by: Ying Xie <[email protected]>
yxieca added a commit that referenced this pull request Oct 25, 2021
What I did
Add secondary COPP config file to enable DHCP V6

Why I did it
Need to enable DHCP V6

Create separate file because:
- The new COPP rule needs to be in a separate table so that it
  could applied individually after warm reboot.
- The warm reboot has asic config checker, keeping the config
  in a separate file could avoid the checker flag it as a config
  change therefore stop warm reboot.
- Make it convenient for warm reboot finalizer to apply this
  config individually.

How I verified it
Warm reboot from a version without it to a version with it.
Warm reboot from a version with it to same version.
Cold reboot.

In all 3 cases, dhcp v6 rules are correctly installed.

Signed-off-by: Ying Xie <[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.

2 participants