diff --git a/src/sonic-yang-models/tests/yang_model_tests/tests_config/flex_counter.json b/src/sonic-yang-models/tests/yang_model_tests/tests_config/flex_counter.json index 6665659392d9..25a0c73b5ff6 100644 --- a/src/sonic-yang-models/tests/yang_model_tests/tests_config/flex_counter.json +++ b/src/sonic-yang-models/tests/yang_model_tests/tests_config/flex_counter.json @@ -120,7 +120,7 @@ } }, "sonic-flex_counter:sonic-flex_counter": { - "sonic-flex_counter:FLOW_COUNTER_ROUTE_PATTERN_TABLE": { + "sonic-flex_counter:FLOW_COUNTER_ROUTE_PATTERN": { "PATTERN_LIST": [ { "vrf_name": "Vrf1", @@ -138,7 +138,7 @@ }, "FLOW_COUNTER_ROUTE_PATTERN_TABLE_WITH_DEFAULT_VRF": { "sonic-flex_counter:sonic-flex_counter": { - "sonic-flex_counter:FLOW_COUNTER_ROUTE_PATTERN_TABLE": { + "sonic-flex_counter:FLOW_COUNTER_ROUTE_PATTERN": { "PATTERN_LIST": [ { "vrf_name": "", @@ -165,7 +165,7 @@ } }, "sonic-flex_counter:sonic-flex_counter": { - "sonic-flex_counter:FLOW_COUNTER_ROUTE_PATTERN_TABLE": { + "sonic-flex_counter:FLOW_COUNTER_ROUTE_PATTERN": { "PATTERN_LIST": [ { "vrf_name": "Vrf1", 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 17af7676df14..bb26ddcc2b5f 100644 --- a/src/sonic-yang-models/yang-models/sonic-flex_counter.yang +++ b/src/sonic-yang-models/yang-models/sonic-flex_counter.yang @@ -227,7 +227,7 @@ module sonic-flex_counter { } /* end of container FLEX_COUNTER_TABLE */ - container FLOW_COUNTER_ROUTE_PATTERN_TABLE { + container FLOW_COUNTER_ROUTE_PATTERN { description "Flow counter route pattern of config_db.json"; list PATTERN_LIST {