From d838bd26551157c0649b05e2fe321a8c62c098c4 Mon Sep 17 00:00:00 2001 From: Dmytro Shevchuk Date: Thu, 10 Dec 2020 08:20:48 -0800 Subject: [PATCH] [DPB] update flex counter yang model, fix BUFFER_POOL_WATERMARK --- src/sonic-yang-models/tests/yang_model_tests/yangTest.json | 4 ++-- src/sonic-yang-models/yang-models/sonic-flex_counter.yang | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sonic-yang-models/tests/yang_model_tests/yangTest.json b/src/sonic-yang-models/tests/yang_model_tests/yangTest.json index 90d748309dca..527b528332fe 100644 --- a/src/sonic-yang-models/tests/yang_model_tests/yangTest.json +++ b/src/sonic-yang-models/tests/yang_model_tests/yangTest.json @@ -850,7 +850,7 @@ "PORT_BUFFER_DROP": { "FLEX_COUNTER_STATUS": "enable" }, - "BUFFER_POOL_WATERMARK_KEY": { + "BUFFER_POOL_WATERMARK": { "FLEX_COUNTER_STATUS": "enable" }, "QUEUE": { @@ -1689,7 +1689,7 @@ "PORT_BUFFER_DROP": { "FLEX_COUNTER_STATUS": "enable" }, - "BUFFER_POOL_WATERMARK_KEY": { + "BUFFER_POOL_WATERMARK": { "FLEX_COUNTER_STATUS": "enable" }, "QUEUE": { diff --git a/src/sonic-yang-models/yang-models/sonic-flex_counter.yang b/src/sonic-yang-models/yang-models/sonic-flex_counter.yang index 83b0512aeb21..dbafc33bae2d 100644 --- a/src/sonic-yang-models/yang-models/sonic-flex_counter.yang +++ b/src/sonic-yang-models/yang-models/sonic-flex_counter.yang @@ -27,7 +27,7 @@ module sonic-flex_counter { /* below are in alphabetical order */ - container BUFFER_POOL_WATERMARK_KEY { + container BUFFER_POOL_WATERMARK { /* BUFFER_POOL_WATERMARK_STAT_COUNTER_FLEX_COUNTER_GROUP */ leaf FLEX_COUNTER_STATUS { type flex_status;