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

Add support for snat, dnat and ipmc crm resources #6012

Merged
merged 1 commit into from
Dec 23, 2020

Conversation

PrabhuSreenivasan
Copy link
Contributor

Signed-off-by: Prabhu Sreenivasan prabhu.sreenivasan@broadcom

Signed-off-by: Prabhu Sreenivasan <prabhu.sreenivasan@broadcom>
@@ -10,7 +10,7 @@
"polling_interval": "300",
{%- for crm_res in ["ipv4_route", "ipv6_route", "ipv4_nexthop", "ipv6_nexthop", "ipv4_neighbor",
"ipv6_neighbor", "nexthop_group_member", "nexthop_group", "acl_table",
"acl_group", "acl_entry", "acl_counter", "fdb_entry"] %}
"acl_group", "acl_entry", "acl_counter", "fdb_entry", "snat_entry", "dnat_entry", "ipmc_entry"] %}
Copy link
Collaborator

Choose a reason for hiding this comment

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

what if snat_entry, dnat, ipmc_entry not enabled in the image? will there be any issue to have crm threshold there?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Orch will ignore these new entries on the config_db.json with a log message like the one given below.

Nov 24 15:56:48.149727 sonic ERR swss#orchagent: :- handleSetCommand: Failed to parse CRM Config configuration. Unknown attribute snat_entry_low_threshold.

@ben-gale
Copy link
Collaborator

All, @arlakshm - this has been quiet for 6 days - can we get some review input so we can move forwards please? The clock is ticking ...

@ben-gale
Copy link
Collaborator

@arlakshm , @lguohan, @rlhui - What's the next step here? This has been inactive for 13 days now - how do we move towards merge pls?

Copy link
Contributor

@arlakshm arlakshm left a comment

Choose a reason for hiding this comment

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

LGTM

@arlakshm arlakshm merged commit df13245 into sonic-net:master Dec 23, 2020
@PrabhuSreenivasan PrabhuSreenivasan deleted the crm_ipmc_nat branch December 23, 2020 15:58
arlakshm pushed a commit to sonic-net/sonic-swss that referenced this pull request Dec 29, 2020
What I did
Added support for snat, dnat and ipmc resources under CRM module.

Why I did it
New feature NAT adds new resources snat_enty and dnat_entry that needs to be monitored. ipmc_entry tracks IP multicast resources used by switch.

Associated PRs
sonic-net/sonic-utilities/pull/1258
sonic-net/sonic-buildimage#6012

Signed-off-by: Prabhu Sreenivasan <[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