From e61bfd7bb4d3fd7b0d4d86a3b99250dbd884d3a4 Mon Sep 17 00:00:00 2001 From: AmitKaushik7 <52193450+AmitKaushik7@users.noreply.github.com> Date: Fri, 27 May 2022 00:20:07 +0530 Subject: [PATCH] Add crm sample data for snat/dnat/ipmc entries for Yang Model (#10865) #### Why I did it For yang model, sample_config_db.json file was missing Sample data for the features SNAT/DNAT/IPMC #### How I did it Added the SNAT,DNAT,IPMC(low Threshold/high threshold/threshold_type)entries in CRM table. #### How to verify it With sanity Build/test only. --- src/sonic-yang-models/tests/files/sample_config_db.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/sonic-yang-models/tests/files/sample_config_db.json b/src/sonic-yang-models/tests/files/sample_config_db.json index e284794616a7..01bcf4ecf18c 100644 --- a/src/sonic-yang-models/tests/files/sample_config_db.json +++ b/src/sonic-yang-models/tests/files/sample_config_db.json @@ -1112,12 +1112,21 @@ "acl_counter_high_threshold": "85", "acl_counter_low_threshold": "70", "acl_counter_threshold_type": "percentage", + "dnat_entry_threshold_type": "percentage", + "dnat_entry_high_threshold": "85", + "dnat_entry_low_threshold": "70", + "ipmc_entry_threshold_type": "percentage", + "ipmc_entry_high_threshold": "85", + "ipmc_entry_low_threshold": "70", "ipv6_neighbor_high_threshold": "67", "ipv6_neighbor_low_threshold": "56", "ipv6_neighbor_threshold_type": "percentage", "nexthop_group_high_threshold": "67", "nexthop_group_low_threshold": "56", "nexthop_group_threshold_type": "percentage", + "snat_entry_threshold_type": "percentage", + "snat_entry_high_threshold": "85", + "snat_entry_low_threshold": "70", "polling_interval": "0" } },