From fc3f3527d9140562f42c70e7cb95c4a058163cf4 Mon Sep 17 00:00:00 2001 From: Nazarii Hnydyn Date: Tue, 4 Oct 2022 11:00:25 +0300 Subject: [PATCH] [watermarkstat] Increase UT code coverage Signed-off-by: Nazarii Hnydyn --- scripts/watermarkstat | 10 +- tests/watermarkstat_test.py | 13 + tests/wm_input/mock_db/counters_db.json | 1246 +++++++++++++++++++++++ tests/wm_input/wm_test_vectors.py | 8 + 4 files changed, 1276 insertions(+), 1 deletion(-) create mode 100644 tests/wm_input/mock_db/counters_db.json diff --git a/scripts/watermarkstat b/scripts/watermarkstat index ef5b8bc8cb..cf2bfd06d5 100755 --- a/scripts/watermarkstat +++ b/scripts/watermarkstat @@ -21,8 +21,16 @@ try: tests_path = os.path.join(modules_path, "tests") sys.path.insert(0, modules_path) sys.path.insert(0, tests_path) - import mock_tables.dbconnector + from mock_tables import dbconnector + if os.environ["WATERMARKSTAT_UNIT_TESTING"] == "1": + input_path = os.path.join(tests_path, "wm_input") + mock_db_path = os.path.join(input_path, "mock_db") + + for mock_db in os.listdir(mock_db_path): + name, ext = os.path.splitext(mock_db) + if ext == ".json": + dbconnector.dedicated_dbs[name.upper()] = os.path.join(mock_db_path, name) except KeyError: pass diff --git a/tests/watermarkstat_test.py b/tests/watermarkstat_test.py index cd4eae00a3..dc419ae3b9 100644 --- a/tests/watermarkstat_test.py +++ b/tests/watermarkstat_test.py @@ -1,5 +1,6 @@ import os import sys +import pytest import show.main as show from click.testing import CliRunner @@ -13,6 +14,15 @@ sys.path.insert(0, modules_path) +@pytest.fixture(scope="function") +def q_multicast_wm_neg(): + print("Setup watermarkstat sample data: no queue multicast watermark counters") + os.environ['WATERMARKSTAT_UNIT_TESTING'] = "1" + yield + del os.environ['WATERMARKSTAT_UNIT_TESTING'] + print("Teardown watermarkstat sample data: no queue multicast watermark counters") + + class TestWatermarkstat(object): @classmethod def setup_class(cls): @@ -32,6 +42,9 @@ def test_show_queue_unicast_wm(self): def test_show_queue_multicast_wm(self): self.executor(testData['show_q_wm_multicast']) + def test_show_queue_multicast_wm_neg(self, q_multicast_wm_neg): + self.executor(testData['show_q_wm_multicast_neg']) + def test_show_queue_all_wm(self): self.executor(testData['show_q_wm_all']) diff --git a/tests/wm_input/mock_db/counters_db.json b/tests/wm_input/mock_db/counters_db.json new file mode 100644 index 0000000000..443b84bf7c --- /dev/null +++ b/tests/wm_input/mock_db/counters_db.json @@ -0,0 +1,1246 @@ +{ + "COUNTERS:oid:0x1000000000012": { + "SAI_PORT_STAT_IF_IN_UCAST_PKTS": "8", + "SAI_PORT_STAT_IF_IN_NON_UCAST_PKTS": "0", + "SAI_PORT_STAT_IF_IN_OCTETS" : "800", + "SAI_PORT_STAT_IF_OUT_UCAST_PKTS": "10", + "SAI_PORT_STAT_IF_OUT_NON_UCAST_PKTS" : "0", + "SAI_PORT_STAT_IF_OUT_OCTETS" : "1000", + "SAI_PORT_STAT_IF_IN_ERRORS": "10", + "SAI_PORT_STAT_IF_IN_DISCARDS": "100", + "SAI_PORT_STAT_IN_DROP_REASON_RANGE_BASE": "80", + "SAI_PORT_STAT_OUT_CONFIGURED_DROP_REASONS_1_DROPPED_PKTS": "20", + "SAI_PORT_STAT_PFC_0_RX_PKTS": "1200", + "SAI_PORT_STAT_PFC_1_RX_PKTS": "201", + "SAI_PORT_STAT_PFC_2_RX_PKTS": "202", + "SAI_PORT_STAT_PFC_3_RX_PKTS": "203", + "SAI_PORT_STAT_PFC_4_RX_PKTS": "204", + "SAI_PORT_STAT_PFC_5_RX_PKTS": "205", + "SAI_PORT_STAT_PFC_6_RX_PKTS": "206", + "SAI_PORT_STAT_PFC_7_RX_PKTS": "207", + "SAI_PORT_STAT_PFC_0_TX_PKTS": "1210", + "SAI_PORT_STAT_PFC_1_TX_PKTS": "211", + "SAI_PORT_STAT_PFC_2_TX_PKTS": "212", + "SAI_PORT_STAT_PFC_3_TX_PKTS": "213", + "SAI_PORT_STAT_PFC_4_TX_PKTS": "214", + "SAI_PORT_STAT_PFC_5_TX_PKTS": "215", + "SAI_PORT_STAT_PFC_6_TX_PKTS": "216", + "SAI_PORT_STAT_PFC_7_TX_PKTS": "217", + "SAI_PORT_STAT_IF_IN_BROADCAST_PKTS": "0", + "SAI_PORT_STAT_IF_IN_MULTICAST_PKTS": "0", + "SAI_PORT_STAT_IP_IN_UCAST_PKTS": "0", + "SAI_PORT_STAT_IP_IN_RECEIVES": "0", + "SAI_PORT_STAT_IF_OUT_MULTICAST_PKTS": "0", + "SAI_PORT_STAT_IF_OUT_BROADCAST_PKTS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_64_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_65_TO_127_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_128_TO_255_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_256_TO_511_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_512_TO_1023_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_1024_TO_1518_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_1519_TO_2047_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_2048_TO_4095_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_4096_TO_9216_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_9217_TO_16383_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_64_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_65_TO_127_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_128_TO_255_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_256_TO_511_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_512_TO_1023_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_1024_TO_1518_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_1519_TO_2047_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_2048_TO_4095_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_4096_TO_9216_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_9217_TO_16383_OCTETS": "0", + "SAI_PORT_STAT_ETHER_STATS_FRAGMENTS": "0", + "SAI_PORT_STAT_ETHER_STATS_UNDERSIZE_PKTS": "0", + "SAI_PORT_STAT_ETHER_STATS_JABBERS": "0" + }, + "COUNTERS:oid:0x1000000000013": { + "SAI_PORT_STAT_IF_IN_UCAST_PKTS": "4", + "SAI_PORT_STAT_IF_IN_NON_UCAST_PKTS": "0", + "SAI_PORT_STAT_IF_IN_OCTETS" : "400", + "SAI_PORT_STAT_IF_OUT_UCAST_PKTS": "40", + "SAI_PORT_STAT_IF_OUT_NON_UCAST_PKTS" : "0", + "SAI_PORT_STAT_IF_OUT_OCTETS" : "4000", + "SAI_PORT_STAT_IF_IN_ERRORS": "0", + "SAI_PORT_STAT_IF_IN_DISCARDS": "1000", + "SAI_PORT_STAT_IN_DROP_REASON_RANGE_BASE": "800", + "SAI_PORT_STAT_OUT_CONFIGURED_DROP_REASONS_1_DROPPED_PKTS": "100", + "SAI_PORT_STAT_PFC_0_RX_PKTS": "1400", + "SAI_PORT_STAT_PFC_1_RX_PKTS": "401", + "SAI_PORT_STAT_PFC_2_RX_PKTS": "402", + "SAI_PORT_STAT_PFC_3_RX_PKTS": "403", + "SAI_PORT_STAT_PFC_4_RX_PKTS": "404", + "SAI_PORT_STAT_PFC_5_RX_PKTS": "405", + "SAI_PORT_STAT_PFC_6_RX_PKTS": "406", + "SAI_PORT_STAT_PFC_7_RX_PKTS": "407", + "SAI_PORT_STAT_PFC_0_TX_PKTS": "1410", + "SAI_PORT_STAT_PFC_1_TX_PKTS": "411", + "SAI_PORT_STAT_PFC_2_TX_PKTS": "412", + "SAI_PORT_STAT_PFC_3_TX_PKTS": "413", + "SAI_PORT_STAT_PFC_4_TX_PKTS": "414", + "SAI_PORT_STAT_PFC_5_TX_PKTS": "415", + "SAI_PORT_STAT_PFC_6_TX_PKTS": "416", + "SAI_PORT_STAT_PFC_7_TX_PKTS": "417", + "SAI_PORT_STAT_IF_IN_BROADCAST_PKTS": "0", + "SAI_PORT_STAT_IF_IN_MULTICAST_PKTS": "0", + "SAI_PORT_STAT_IP_IN_UCAST_PKTS": "0", + "SAI_PORT_STAT_IP_IN_RECEIVES": "0", + "SAI_PORT_STAT_IF_OUT_MULTICAST_PKTS": "0", + "SAI_PORT_STAT_IF_OUT_BROADCAST_PKTS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_64_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_65_TO_127_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_128_TO_255_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_256_TO_511_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_512_TO_1023_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_1024_TO_1518_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_1519_TO_2047_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_2048_TO_4095_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_4096_TO_9216_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_9217_TO_16383_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_64_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_65_TO_127_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_128_TO_255_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_256_TO_511_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_512_TO_1023_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_1024_TO_1518_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_1519_TO_2047_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_2048_TO_4095_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_4096_TO_9216_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_9217_TO_16383_OCTETS": "0", + "SAI_PORT_STAT_ETHER_STATS_FRAGMENTS": "0", + "SAI_PORT_STAT_ETHER_STATS_UNDERSIZE_PKTS": "0", + "SAI_PORT_STAT_ETHER_STATS_JABBERS": "0" + }, + "COUNTERS:oid:0x1000000000014": { + "SAI_PORT_STAT_IF_IN_UCAST_PKTS": "6", + "SAI_PORT_STAT_IF_IN_NON_UCAST_PKTS": "0", + "SAI_PORT_STAT_IF_IN_OCTETS" : "600", + "SAI_PORT_STAT_IF_OUT_UCAST_PKTS": "60", + "SAI_PORT_STAT_IF_OUT_NON_UCAST_PKTS" : "0", + "SAI_PORT_STAT_IF_OUT_OCTETS" : "6000", + "SAI_PORT_STAT_IF_IN_ERRORS": "100", + "SAI_PORT_STAT_IF_IN_DISCARDS": "10", + "SAI_PORT_STAT_IN_DROP_REASON_RANGE_BASE": "10", + "SAI_PORT_STAT_OUT_CONFIGURED_DROP_REASONS_1_DROPPED_PKTS": "0", + "SAI_PORT_STAT_PFC_0_RX_PKTS": "1800", + "SAI_PORT_STAT_PFC_1_RX_PKTS": "801", + "SAI_PORT_STAT_PFC_2_RX_PKTS": "802", + "SAI_PORT_STAT_PFC_3_RX_PKTS": "803", + "SAI_PORT_STAT_PFC_4_RX_PKTS": "804", + "SAI_PORT_STAT_PFC_5_RX_PKTS": "805", + "SAI_PORT_STAT_PFC_6_RX_PKTS": "806", + "SAI_PORT_STAT_PFC_7_RX_PKTS": "807", + "SAI_PORT_STAT_PFC_0_TX_PKTS": "1810", + "SAI_PORT_STAT_PFC_1_TX_PKTS": "811", + "SAI_PORT_STAT_PFC_2_TX_PKTS": "812", + "SAI_PORT_STAT_PFC_3_TX_PKTS": "813", + "SAI_PORT_STAT_PFC_4_TX_PKTS": "814", + "SAI_PORT_STAT_PFC_5_TX_PKTS": "815", + "SAI_PORT_STAT_PFC_6_TX_PKTS": "816", + "SAI_PORT_STAT_PFC_7_TX_PKTS": "817", + "SAI_PORT_STAT_IF_IN_BROADCAST_PKTS": "0", + "SAI_PORT_STAT_IF_IN_MULTICAST_PKTS": "0", + "SAI_PORT_STAT_IP_IN_UCAST_PKTS": "0", + "SAI_PORT_STAT_IP_IN_RECEIVES": "0", + "SAI_PORT_STAT_IF_OUT_MULTICAST_PKTS": "0", + "SAI_PORT_STAT_IF_OUT_BROADCAST_PKTS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_64_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_65_TO_127_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_128_TO_255_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_256_TO_511_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_512_TO_1023_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_1024_TO_1518_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_1519_TO_2047_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_2048_TO_4095_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_4096_TO_9216_OCTETS": "0", + "SAI_PORT_STAT_ETHER_IN_PKTS_9217_TO_16383_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_64_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_65_TO_127_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_128_TO_255_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_256_TO_511_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_512_TO_1023_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_1024_TO_1518_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_1519_TO_2047_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_2048_TO_4095_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_4096_TO_9216_OCTETS": "0", + "SAI_PORT_STAT_ETHER_OUT_PKTS_9217_TO_16383_OCTETS": "0", + "SAI_PORT_STAT_ETHER_STATS_FRAGMENTS": "0", + "SAI_PORT_STAT_ETHER_STATS_UNDERSIZE_PKTS": "0", + "SAI_PORT_STAT_ETHER_STATS_JABBERS": "0" + }, + "COUNTERS:oid:0x15000000000357": { + "SAI_QUEUE_STAT_BYTES": "30", + "SAI_QUEUE_STAT_DROPPED_BYTES": "74", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "56", + "SAI_QUEUE_STAT_PACKETS": "68", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "61" + }, + "COUNTERS:oid:0x15000000000358": { + "SAI_QUEUE_STAT_BYTES": "43", + "SAI_QUEUE_STAT_DROPPED_BYTES": "1", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "39", + "SAI_QUEUE_STAT_PACKETS": "60", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "88" + }, + "COUNTERS:oid:0x15000000000359": { + "SAI_QUEUE_STAT_BYTES": "7", + "SAI_QUEUE_STAT_DROPPED_BYTES": "21", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "39", + "SAI_QUEUE_STAT_PACKETS": "82", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "4" + }, + "COUNTERS:oid:0x1500000000035b": { + "SAI_QUEUE_STAT_BYTES": "59", + "SAI_QUEUE_STAT_DROPPED_BYTES": "94", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "12", + "SAI_QUEUE_STAT_PACKETS": "11", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "15" + }, + "COUNTERS:oid:0x1500000000035c": { + "SAI_QUEUE_STAT_BYTES": "62", + "SAI_QUEUE_STAT_DROPPED_BYTES": "40", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "35", + "SAI_QUEUE_STAT_PACKETS": "36", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "18" + }, + "COUNTERS:oid:0x1500000000035d": { + "SAI_QUEUE_STAT_BYTES": "91", + "SAI_QUEUE_STAT_DROPPED_BYTES": "88", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "2", + "SAI_QUEUE_STAT_PACKETS": "49", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "73" + }, + "COUNTERS:oid:0x1500000000035e": { + "SAI_QUEUE_STAT_BYTES": "17", + "SAI_QUEUE_STAT_DROPPED_BYTES": "74", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "94", + "SAI_QUEUE_STAT_PACKETS": "33", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "98" + }, + "COUNTERS:oid:0x1500000000035f": { + "SAI_QUEUE_STAT_BYTES": "71", + "SAI_QUEUE_STAT_DROPPED_BYTES": "33", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "95", + "SAI_QUEUE_STAT_PACKETS": "40", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "81" + }, + "COUNTERS:oid:0x15000000000360": { + "SAI_QUEUE_STAT_BYTES": "8", + "SAI_QUEUE_STAT_DROPPED_BYTES": "78", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "93", + "SAI_QUEUE_STAT_PACKETS": "54", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "59" + }, + "COUNTERS:oid:0x1500000000037f": { + "SAI_QUEUE_STAT_BYTES": "96", + "SAI_QUEUE_STAT_DROPPED_BYTES": "98", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "70", + "SAI_QUEUE_STAT_PACKETS": "41", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "46" + }, + "COUNTERS:oid:0x15000000000380": { + "SAI_QUEUE_STAT_BYTES": "49", + "SAI_QUEUE_STAT_DROPPED_BYTES": "36", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "63", + "SAI_QUEUE_STAT_PACKETS": "18", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "18" + }, + "COUNTERS:oid:0x15000000000381": { + "SAI_QUEUE_STAT_BYTES": "90", + "SAI_QUEUE_STAT_DROPPED_BYTES": "15", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "3", + "SAI_QUEUE_STAT_PACKETS": "99", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "15" + }, + "COUNTERS:oid:0x15000000000383": { + "SAI_QUEUE_STAT_BYTES": "84", + "SAI_QUEUE_STAT_DROPPED_BYTES": "94", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "82", + "SAI_QUEUE_STAT_PACKETS": "8", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "17" + }, + "COUNTERS:oid:0x15000000000384": { + "SAI_QUEUE_STAT_BYTES": "15", + "SAI_QUEUE_STAT_DROPPED_BYTES": "92", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "75", + "SAI_QUEUE_STAT_PACKETS": "83", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "42" + }, + "COUNTERS:oid:0x15000000000385": { + "SAI_QUEUE_STAT_BYTES": "26", + "SAI_QUEUE_STAT_DROPPED_BYTES": "71", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "50", + "SAI_QUEUE_STAT_PACKETS": "84", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "31" + }, + "COUNTERS:oid:0x15000000000386": { + "SAI_QUEUE_STAT_BYTES": "19", + "SAI_QUEUE_STAT_DROPPED_BYTES": "80", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "49", + "SAI_QUEUE_STAT_PACKETS": "27", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "4" + }, + "COUNTERS:oid:0x15000000000387": { + "SAI_QUEUE_STAT_BYTES": "89", + "SAI_QUEUE_STAT_DROPPED_BYTES": "33", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "13", + "SAI_QUEUE_STAT_PACKETS": "13", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "45" + }, + "COUNTERS:oid:0x15000000000388": { + "SAI_QUEUE_STAT_BYTES": "48", + "SAI_QUEUE_STAT_DROPPED_BYTES": "31", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "86", + "SAI_QUEUE_STAT_PACKETS": "43", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "6" + }, + "COUNTERS:oid:0x150000000003a7": { + "SAI_QUEUE_STAT_BYTES": "5", + "SAI_QUEUE_STAT_DROPPED_BYTES": "56", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "36", + "SAI_QUEUE_STAT_PACKETS": "19", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "65" + }, + "COUNTERS:oid:0x150000000003a8": { + "SAI_QUEUE_STAT_BYTES": "17", + "SAI_QUEUE_STAT_DROPPED_BYTES": "91", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "68", + "SAI_QUEUE_STAT_PACKETS": "38", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "94" + }, + "COUNTERS:oid:0x150000000003a9": { + "SAI_QUEUE_STAT_BYTES": "65", + "SAI_QUEUE_STAT_DROPPED_BYTES": "51", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "79", + "SAI_QUEUE_STAT_PACKETS": "16", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "71" + }, + "COUNTERS:oid:0x150000000003aa": { + "SAI_QUEUE_STAT_BYTES": "97", + "SAI_QUEUE_STAT_DROPPED_BYTES": "72", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "63", + "SAI_QUEUE_STAT_PACKETS": "11", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "51" + }, + "COUNTERS:oid:0x150000000003ac": { + "SAI_QUEUE_STAT_BYTES": "84", + "SAI_QUEUE_STAT_DROPPED_BYTES": "59", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "30", + "SAI_QUEUE_STAT_PACKETS": "13", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "47" + }, + "COUNTERS:oid:0x150000000003ad": { + "SAI_QUEUE_STAT_BYTES": "67", + "SAI_QUEUE_STAT_DROPPED_BYTES": "85", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "99", + "SAI_QUEUE_STAT_PACKETS": "49", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "86" + }, + "COUNTERS:oid:0x150000000003ae": { + "SAI_QUEUE_STAT_BYTES": "63", + "SAI_QUEUE_STAT_DROPPED_BYTES": "88", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "38", + "SAI_QUEUE_STAT_PACKETS": "2", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "98" + }, + "COUNTERS:oid:0x150000000003af": { + "SAI_QUEUE_STAT_BYTES": "82", + "SAI_QUEUE_STAT_DROPPED_BYTES": "43", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "93", + "SAI_QUEUE_STAT_PACKETS": "0", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "50" + }, + "COUNTERS:oid:0x150000000003b0": { + "SAI_QUEUE_STAT_BYTES": "17", + "SAI_QUEUE_STAT_DROPPED_BYTES": "61", + "SAI_QUEUE_STAT_DROPPED_PACKETS": "91", + "SAI_QUEUE_STAT_PACKETS": "80", + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "91" + }, + "COUNTERS:oid:0x1a00000000034f": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "800" + }, + "COUNTERS:oid:0x1a000000000350" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "801" + }, + "COUNTERS:oid:0x1a000000000351" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "802" + }, + "COUNTERS:oid:0x1a000000000352" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "803" + }, + "COUNTERS:oid:0x1a000000000353" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "804" + }, + "COUNTERS:oid:0x1a000000000354" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "805" + }, + "COUNTERS:oid:0x1a000000000355" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "806" + }, + "COUNTERS:oid:0x1a000000000356" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "807" + }, + "COUNTERS:oid:0x1a000000000377" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "400" + }, + "COUNTERS:oid:0x1a000000000378" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "401" + }, + "COUNTERS:oid:0x1a000000000379" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "402" + }, + "COUNTERS:oid:0x1a00000000037a" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "403" + }, + "COUNTERS:oid:0x1a00000000037b" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "404" + }, + "COUNTERS:oid:0x1a00000000037c" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "405" + }, + "COUNTERS:oid:0x1a00000000037d" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "406" + }, + "COUNTERS:oid:0x1a00000000037e" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "407" + }, + "COUNTERS:oid:0x1a00000000039f" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "100" + }, + "COUNTERS:oid:0x1a0000000003a0" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "101" + }, + "COUNTERS:oid:0x1a0000000003a1" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "102" + }, + "COUNTERS:oid:0x1a0000000003a2" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "103" + }, + "COUNTERS:oid:0x1a0000000003a3" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "104" + }, + "COUNTERS:oid:0x1a0000000003a4" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "105" + }, + "COUNTERS:oid:0x1a0000000003a5" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "106" + }, + "COUNTERS:oid:0x1a0000000003a6" : { + "SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS" : "107" + }, + "COUNTERS_PORT_NAME_MAP": { + "Ethernet0": "oid:0x1000000000012", + "Ethernet4": "oid:0x1000000000013", + "Ethernet8": "oid:0x1000000000014" + }, + "COUNTERS_BUFFER_POOL_NAME_MAP": { + "egress_lossless_pool": "oid:0x18000000000b64", + "egress_lossy_pool": "oid:0x18000000000b65", + "ingress_lossless_pool": "oid:0x18000000000b66" + }, + "COUNTERS_PG_NAME_MAP": { + "Ethernet0:0": "oid:0x1a00000000034f", + "Ethernet0:1": "oid:0x1a000000000350", + "Ethernet0:2": "oid:0x1a000000000351", + "Ethernet0:3": "oid:0x1a000000000352", + "Ethernet0:4": "oid:0x1a000000000353", + "Ethernet0:5": "oid:0x1a000000000354", + "Ethernet0:6": "oid:0x1a000000000355", + "Ethernet0:7": "oid:0x1a000000000356", + "Ethernet4:0": "oid:0x1a000000000377", + "Ethernet4:1": "oid:0x1a000000000378", + "Ethernet4:2": "oid:0x1a000000000379", + "Ethernet4:3": "oid:0x1a00000000037a", + "Ethernet4:4": "oid:0x1a00000000037b", + "Ethernet4:5": "oid:0x1a00000000037c", + "Ethernet4:6": "oid:0x1a00000000037d", + "Ethernet4:7": "oid:0x1a00000000037e", + "Ethernet8:0": "oid:0x1a00000000039f", + "Ethernet8:1": "oid:0x1a0000000003a0", + "Ethernet8:2": "oid:0x1a0000000003a1", + "Ethernet8:3": "oid:0x1a0000000003a2", + "Ethernet8:4": "oid:0x1a0000000003a3", + "Ethernet8:5": "oid:0x1a0000000003a4", + "Ethernet8:6": "oid:0x1a0000000003a5", + "Ethernet8:7": "oid:0x1a0000000003a6" + }, + "COUNTERS_PG_PORT_MAP": { + "oid:0x1a00000000034f": "oid:0x1000000000012", + "oid:0x1a000000000350": "oid:0x1000000000012", + "oid:0x1a000000000351": "oid:0x1000000000012", + "oid:0x1a000000000352": "oid:0x1000000000012", + "oid:0x1a000000000353": "oid:0x1000000000012", + "oid:0x1a000000000354": "oid:0x1000000000012", + "oid:0x1a000000000355": "oid:0x1000000000012", + "oid:0x1a000000000356": "oid:0x1000000000012", + "oid:0x1a000000000377": "oid:0x1000000000013", + "oid:0x1a000000000378": "oid:0x1000000000013", + "oid:0x1a000000000379": "oid:0x1000000000013", + "oid:0x1a00000000037a": "oid:0x1000000000013", + "oid:0x1a00000000037b": "oid:0x1000000000013", + "oid:0x1a00000000037c": "oid:0x1000000000013", + "oid:0x1a00000000037d": "oid:0x1000000000013", + "oid:0x1a00000000037e": "oid:0x1000000000013", + "oid:0x1a00000000039f": "oid:0x1000000000014", + "oid:0x1a0000000003a0": "oid:0x1000000000014", + "oid:0x1a0000000003a1": "oid:0x1000000000014", + "oid:0x1a0000000003a2": "oid:0x1000000000014", + "oid:0x1a0000000003a3": "oid:0x1000000000014", + "oid:0x1a0000000003a4": "oid:0x1000000000014", + "oid:0x1a0000000003a5": "oid:0x1000000000014", + "oid:0x1a0000000003a6": "oid:0x1000000000014" + }, + "COUNTERS_QUEUE_NAME_MAP": { + "Ethernet0:0": "oid:0x15000000000357", + "Ethernet0:1": "oid:0x15000000000358", + "Ethernet0:2": "oid:0x15000000000359", + "Ethernet0:3": "oid:0x1500000000035a", + "Ethernet0:4": "oid:0x1500000000035b", + "Ethernet0:5": "oid:0x1500000000035c", + "Ethernet0:6": "oid:0x1500000000035d", + "Ethernet0:7": "oid:0x1500000000035e", + "Ethernet0:8": "oid:0x1500000000035f", + "Ethernet0:9": "oid:0x15000000000360", + "Ethernet0:20": "oid:0x1500000000036d", + "Ethernet0:21": "oid:0x1500000000036e", + "Ethernet0:22": "oid:0x1500000000036f", + "Ethernet0:23": "oid:0x15000000000370", + "Ethernet0:24": "oid:0x15000000000371", + "Ethernet0:25": "oid:0x15000000000372", + "Ethernet0:26": "oid:0x15000000000373", + "Ethernet0:27": "oid:0x15000000000374", + "Ethernet0:28": "oid:0x15000000000375", + "Ethernet0:29": "oid:0x15000000000376", + "Ethernet4:0": "oid:0x1500000000037f", + "Ethernet4:1": "oid:0x15000000000380", + "Ethernet4:2": "oid:0x15000000000381", + "Ethernet4:3": "oid:0x15000000000382", + "Ethernet4:4": "oid:0x15000000000383", + "Ethernet4:5": "oid:0x15000000000384", + "Ethernet4:6": "oid:0x15000000000385", + "Ethernet4:7": "oid:0x15000000000386", + "Ethernet4:8": "oid:0x15000000000387", + "Ethernet4:9": "oid:0x15000000000388", + "Ethernet4:20": "oid:0x15000000000395", + "Ethernet4:21": "oid:0x15000000000396", + "Ethernet4:22": "oid:0x15000000000397", + "Ethernet4:23": "oid:0x15000000000398", + "Ethernet4:24": "oid:0x15000000000399", + "Ethernet4:25": "oid:0x1500000000039a", + "Ethernet4:26": "oid:0x1500000000039b", + "Ethernet4:27": "oid:0x1500000000039c", + "Ethernet4:28": "oid:0x1500000000039d", + "Ethernet4:29": "oid:0x1500000000039e", + "Ethernet8:0": "oid:0x150000000003a7", + "Ethernet8:1": "oid:0x150000000003a8", + "Ethernet8:2": "oid:0x150000000003a9", + "Ethernet8:3": "oid:0x150000000003aa", + "Ethernet8:4": "oid:0x150000000003ab", + "Ethernet8:5": "oid:0x150000000003ac", + "Ethernet8:6": "oid:0x150000000003ad", + "Ethernet8:7": "oid:0x150000000003ae", + "Ethernet8:8": "oid:0x150000000003af", + "Ethernet8:9": "oid:0x150000000003b0", + "Ethernet8:20": "oid:0x150000000003bd", + "Ethernet8:21": "oid:0x150000000003be", + "Ethernet8:22": "oid:0x150000000003bf", + "Ethernet8:23": "oid:0x150000000003c0", + "Ethernet8:24": "oid:0x150000000003c1", + "Ethernet8:25": "oid:0x150000000003c2", + "Ethernet8:26": "oid:0x150000000003c3", + "Ethernet8:27": "oid:0x150000000003c4", + "Ethernet8:28": "oid:0x150000000003c5", + "Ethernet8:29": "oid:0x150000000003c6" + }, + "COUNTERS_QUEUE_PORT_MAP": { + "oid:0x15000000000357": "oid:0x1000000000012", + "oid:0x15000000000358": "oid:0x1000000000012", + "oid:0x15000000000359": "oid:0x1000000000012", + "oid:0x1500000000035a": "oid:0x1000000000012", + "oid:0x1500000000035b": "oid:0x1000000000012", + "oid:0x1500000000035c": "oid:0x1000000000012", + "oid:0x1500000000035d": "oid:0x1000000000012", + "oid:0x1500000000035e": "oid:0x1000000000012", + "oid:0x1500000000035f": "oid:0x1000000000012", + "oid:0x15000000000360": "oid:0x1000000000012", + "oid:0x1500000000036d": "oid:0x1000000000012", + "oid:0x1500000000036e": "oid:0x1000000000012", + "oid:0x1500000000036f": "oid:0x1000000000012", + "oid:0x15000000000370": "oid:0x1000000000012", + "oid:0x15000000000371": "oid:0x1000000000012", + "oid:0x15000000000372": "oid:0x1000000000012", + "oid:0x15000000000373": "oid:0x1000000000012", + "oid:0x15000000000374": "oid:0x1000000000012", + "oid:0x15000000000375": "oid:0x1000000000012", + "oid:0x15000000000376": "oid:0x1000000000012", + "oid:0x1500000000037f": "oid:0x1000000000013", + "oid:0x15000000000380": "oid:0x1000000000013", + "oid:0x15000000000381": "oid:0x1000000000013", + "oid:0x15000000000382": "oid:0x1000000000013", + "oid:0x15000000000383": "oid:0x1000000000013", + "oid:0x15000000000384": "oid:0x1000000000013", + "oid:0x15000000000385": "oid:0x1000000000013", + "oid:0x15000000000386": "oid:0x1000000000013", + "oid:0x15000000000387": "oid:0x1000000000013", + "oid:0x15000000000388": "oid:0x1000000000013", + "oid:0x15000000000395": "oid:0x1000000000013", + "oid:0x15000000000396": "oid:0x1000000000013", + "oid:0x15000000000397": "oid:0x1000000000013", + "oid:0x15000000000398": "oid:0x1000000000013", + "oid:0x15000000000399": "oid:0x1000000000013", + "oid:0x1500000000039a": "oid:0x1000000000013", + "oid:0x1500000000039b": "oid:0x1000000000013", + "oid:0x1500000000039c": "oid:0x1000000000013", + "oid:0x1500000000039d": "oid:0x1000000000013", + "oid:0x1500000000039e": "oid:0x1000000000013", + "oid:0x150000000003a7": "oid:0x1000000000014", + "oid:0x150000000003a8": "oid:0x1000000000014", + "oid:0x150000000003a9": "oid:0x1000000000014", + "oid:0x150000000003aa": "oid:0x1000000000014", + "oid:0x150000000003ab": "oid:0x1000000000014", + "oid:0x150000000003ac": "oid:0x1000000000014", + "oid:0x150000000003ad": "oid:0x1000000000014", + "oid:0x150000000003ae": "oid:0x1000000000014", + "oid:0x150000000003af": "oid:0x1000000000014", + "oid:0x150000000003b0": "oid:0x1000000000014", + "oid:0x150000000003bd": "oid:0x1000000000014", + "oid:0x150000000003be": "oid:0x1000000000014", + "oid:0x150000000003bf": "oid:0x1000000000014", + "oid:0x150000000003c0": "oid:0x1000000000014", + "oid:0x150000000003c1": "oid:0x1000000000014", + "oid:0x150000000003c2": "oid:0x1000000000014", + "oid:0x150000000003c3": "oid:0x1000000000014", + "oid:0x150000000003c4": "oid:0x1000000000014", + "oid:0x150000000003c5": "oid:0x1000000000014", + "oid:0x150000000003c6": "oid:0x1000000000014" + }, + "COUNTERS_QUEUE_INDEX_MAP": { + "oid:0x15000000000357": "0", + "oid:0x15000000000358": "1", + "oid:0x15000000000359": "2", + "oid:0x1500000000035a": "3", + "oid:0x1500000000035b": "4", + "oid:0x1500000000035c": "5", + "oid:0x1500000000035d": "6", + "oid:0x1500000000035e": "7", + "oid:0x1500000000035f": "8", + "oid:0x15000000000360": "9", + "oid:0x1500000000036d": "20", + "oid:0x1500000000036e": "21", + "oid:0x1500000000036f": "22", + "oid:0x15000000000370": "23", + "oid:0x15000000000371": "24", + "oid:0x15000000000372": "25", + "oid:0x15000000000373": "26", + "oid:0x15000000000374": "27", + "oid:0x15000000000375": "28", + "oid:0x15000000000376": "29", + "oid:0x1500000000037f": "0", + "oid:0x15000000000380": "1", + "oid:0x15000000000381": "2", + "oid:0x15000000000382": "3", + "oid:0x15000000000383": "4", + "oid:0x15000000000384": "5", + "oid:0x15000000000385": "6", + "oid:0x15000000000386": "7", + "oid:0x15000000000387": "8", + "oid:0x15000000000388": "9", + "oid:0x15000000000395": "20", + "oid:0x15000000000396": "21", + "oid:0x15000000000397": "22", + "oid:0x15000000000398": "23", + "oid:0x15000000000399": "24", + "oid:0x1500000000039a": "25", + "oid:0x1500000000039b": "26", + "oid:0x1500000000039c": "27", + "oid:0x1500000000039d": "28", + "oid:0x1500000000039e": "29", + "oid:0x150000000003a7": "0", + "oid:0x150000000003a8": "1", + "oid:0x150000000003a9": "2", + "oid:0x150000000003aa": "3", + "oid:0x150000000003ab": "4", + "oid:0x150000000003ac": "5", + "oid:0x150000000003ad": "6", + "oid:0x150000000003ae": "7", + "oid:0x150000000003af": "8", + "oid:0x150000000003b0": "9", + "oid:0x150000000003bd": "20", + "oid:0x150000000003be": "21", + "oid:0x150000000003bf": "22", + "oid:0x150000000003c0": "23", + "oid:0x150000000003c1": "24", + "oid:0x150000000003c2": "25", + "oid:0x150000000003c3": "26", + "oid:0x150000000003c4": "27", + "oid:0x150000000003c5": "28", + "oid:0x150000000003c6": "29" + }, + "COUNTERS_QUEUE_TYPE_MAP": { + "oid:0x15000000000357": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x15000000000358": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x15000000000359": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x1500000000035a": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x1500000000035b": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x1500000000035c": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x1500000000035d": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x1500000000035e": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x1500000000035f": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x15000000000360": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x1500000000036d": "SAI_QUEUE_TYPE_ALL", + "oid:0x1500000000036e": "SAI_QUEUE_TYPE_ALL", + "oid:0x1500000000036f": "SAI_QUEUE_TYPE_ALL", + "oid:0x15000000000370": "SAI_QUEUE_TYPE_ALL", + "oid:0x15000000000371": "SAI_QUEUE_TYPE_ALL", + "oid:0x15000000000372": "SAI_QUEUE_TYPE_ALL", + "oid:0x15000000000373": "SAI_QUEUE_TYPE_ALL", + "oid:0x15000000000374": "SAI_QUEUE_TYPE_ALL", + "oid:0x15000000000375": "SAI_QUEUE_TYPE_ALL", + "oid:0x15000000000376": "SAI_QUEUE_TYPE_ALL", + "oid:0x1500000000037f": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x15000000000380": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x15000000000381": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x15000000000382": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x15000000000383": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x15000000000384": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x15000000000385": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x15000000000386": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x15000000000387": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x15000000000388": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x15000000000395": "SAI_QUEUE_TYPE_ALL", + "oid:0x15000000000396": "SAI_QUEUE_TYPE_ALL", + "oid:0x15000000000397": "SAI_QUEUE_TYPE_ALL", + "oid:0x15000000000398": "SAI_QUEUE_TYPE_ALL", + "oid:0x15000000000399": "SAI_QUEUE_TYPE_ALL", + "oid:0x1500000000039a": "SAI_QUEUE_TYPE_ALL", + "oid:0x1500000000039b": "SAI_QUEUE_TYPE_ALL", + "oid:0x1500000000039c": "SAI_QUEUE_TYPE_ALL", + "oid:0x1500000000039d": "SAI_QUEUE_TYPE_ALL", + "oid:0x1500000000039e": "SAI_QUEUE_TYPE_ALL", + "oid:0x150000000003a7": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x150000000003a8": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x150000000003a9": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x150000000003aa": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x150000000003ab": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x150000000003ac": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x150000000003ad": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x150000000003ae": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x150000000003af": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x150000000003b0": "SAI_QUEUE_TYPE_UNICAST", + "oid:0x150000000003bd": "SAI_QUEUE_TYPE_ALL", + "oid:0x150000000003be": "SAI_QUEUE_TYPE_ALL", + "oid:0x150000000003bf": "SAI_QUEUE_TYPE_ALL", + "oid:0x150000000003c0": "SAI_QUEUE_TYPE_ALL", + "oid:0x150000000003c1": "SAI_QUEUE_TYPE_ALL", + "oid:0x150000000003c2": "SAI_QUEUE_TYPE_ALL", + "oid:0x150000000003c3": "SAI_QUEUE_TYPE_ALL", + "oid:0x150000000003c4": "SAI_QUEUE_TYPE_ALL", + "oid:0x150000000003c5": "SAI_QUEUE_TYPE_ALL", + "oid:0x150000000003c6": "SAI_QUEUE_TYPE_ALL" + }, + "USER_WATERMARKS:oid:0x1a00000000034f": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "100", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "100" + }, + "USER_WATERMARKS:oid:0x1a000000000350": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "101", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "101" + }, + "USER_WATERMARKS:oid:0x1a000000000351": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "102", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "102" + }, + "USER_WATERMARKS:oid:0x1a000000000352": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "103", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "103" + }, + "USER_WATERMARKS:oid:0x1a000000000353": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "104", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "104" + }, + "USER_WATERMARKS:oid:0x1a000000000354": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "105", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "105" + }, + "USER_WATERMARKS:oid:0x1a000000000355": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "106", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "106" + }, + "USER_WATERMARKS:oid:0x1a000000000356": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "107", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "107" + }, + "USER_WATERMARKS:oid:0x1a000000000377": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "400", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "400" + }, + "USER_WATERMARKS:oid:0x1a000000000378": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "401", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "401" + }, + "USER_WATERMARKS:oid:0x1a000000000379": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "402", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "402" + }, + "USER_WATERMARKS:oid:0x1a00000000037a": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "403", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "403" + }, + "USER_WATERMARKS:oid:0x1a00000000037b": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "404", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "404" + }, + "USER_WATERMARKS:oid:0x1a00000000037c": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "405", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "405" + }, + "USER_WATERMARKS:oid:0x1a00000000037d": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "406", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "406" + }, + "USER_WATERMARKS:oid:0x1a00000000037e": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "407", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "407" + }, + "USER_WATERMARKS:oid:0x1a00000000039f": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "800", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "800" + }, + "USER_WATERMARKS:oid:0x1a0000000003a0": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "801", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "801" + }, + "USER_WATERMARKS:oid:0x1a0000000003a1": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "802", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "802" + }, + "USER_WATERMARKS:oid:0x1a0000000003a2": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "803", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "803" + }, + "USER_WATERMARKS:oid:0x1a0000000003a3": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "804", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "804" + }, + "USER_WATERMARKS:oid:0x1a0000000003a4": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "805", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "805" + }, + "USER_WATERMARKS:oid:0x1a0000000003a5": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "806", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "806" + }, + "USER_WATERMARKS:oid:0x1a0000000003a6": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "807", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "807" + }, + "PERSISTENT_WATERMARKS:oid:0x1a00000000034f": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "200", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "200" + }, + "PERSISTENT_WATERMARKS:oid:0x1a000000000350": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "201", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "201" + }, + "PERSISTENT_WATERMARKS:oid:0x1a000000000351": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "202", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "202" + }, + "PERSISTENT_WATERMARKS:oid:0x1a000000000352": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "203", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "203" + }, + "PERSISTENT_WATERMARKS:oid:0x1a000000000353": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "204", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "204" + }, + "PERSISTENT_WATERMARKS:oid:0x1a000000000354": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "205", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "205" + }, + "PERSISTENT_WATERMARKS:oid:0x1a000000000355": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "206", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "206" + }, + "PERSISTENT_WATERMARKS:oid:0x1a000000000356": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "207", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "207" + }, + "PERSISTENT_WATERMARKS:oid:0x1a000000000377": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "500", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "500" + }, + "PERSISTENT_WATERMARKS:oid:0x1a000000000378": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "501", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "501" + }, + "PERSISTENT_WATERMARKS:oid:0x1a000000000379": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "502", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "502" + }, + "PERSISTENT_WATERMARKS:oid:0x1a00000000037a": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "503", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "503" + }, + "PERSISTENT_WATERMARKS:oid:0x1a00000000037b": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "504", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "504" + }, + "PERSISTENT_WATERMARKS:oid:0x1a00000000037c": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "505", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "505" + }, + "PERSISTENT_WATERMARKS:oid:0x1a00000000037d": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "506", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "506" + }, + "PERSISTENT_WATERMARKS:oid:0x1a00000000037e": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "507", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "507" + }, + "PERSISTENT_WATERMARKS:oid:0x1a00000000039f": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "900", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "900" + }, + "PERSISTENT_WATERMARKS:oid:0x1a0000000003a0": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "901", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "901" + }, + "PERSISTENT_WATERMARKS:oid:0x1a0000000003a1": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "902", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "902" + }, + "PERSISTENT_WATERMARKS:oid:0x1a0000000003a2": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "903", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "903" + }, + "PERSISTENT_WATERMARKS:oid:0x1a0000000003a3": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "904", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "904" + }, + "PERSISTENT_WATERMARKS:oid:0x1a0000000003a4": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "905", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "905" + }, + "PERSISTENT_WATERMARKS:oid:0x1a0000000003a5": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "906", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "906" + }, + "PERSISTENT_WATERMARKS:oid:0x1a0000000003a6": { + "SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES": "907", + "SAI_INGRESS_PRIORITY_GROUP_STAT_XOFF_ROOM_WATERMARK_BYTES": "907" + }, + "USER_WATERMARKS:oid:0x15000000000357": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "2057328" + }, + "USER_WATERMARKS:oid:0x15000000000358": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "2056704" + }, + "USER_WATERMARKS:oid:0x15000000000359": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x1500000000035a": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x1500000000035b": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x1500000000035c": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x1500000000035d": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x1500000000035e": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "2704" + }, + "USER_WATERMARKS:oid:0x1500000000035f": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "416" + }, + "USER_WATERMARKS:oid:0x15000000000360": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "20" + }, + "USER_WATERMARKS:oid:0x1500000000036d": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "1234567" + }, + "USER_WATERMARKS:oid:0x1500000000036e": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "7654321" + }, + "USER_WATERMARKS:oid:0x1500000000036f": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000370": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000371": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000372": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "20" + }, + "USER_WATERMARKS:oid:0x15000000000373": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "500" + }, + "USER_WATERMARKS:oid:0x15000000000374": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "200" + }, + "USER_WATERMARKS:oid:0x15000000000375": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000376": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "10" + }, + "USER_WATERMARKS:oid:0x1500000000037f": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000380": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000381": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000382": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "1986" + }, + "USER_WATERMARKS:oid:0x15000000000383": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "2567" + }, + "USER_WATERMARKS:oid:0x15000000000384": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000385": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000386": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000387": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000388": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000395": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000396": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000397": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x15000000000398": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "1986" + }, + "USER_WATERMARKS:oid:0x15000000000399": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "2567" + }, + "USER_WATERMARKS:oid:0x1500000000039a": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x1500000000039b": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x1500000000039c": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x1500000000039d": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x1500000000039e": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x150000000003a7": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x150000000003a8": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x150000000003a9": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "1040" + }, + "USER_WATERMARKS:oid:0x150000000003aa": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x150000000003ab": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x150000000003ac": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x150000000003ad": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x150000000003ae": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x150000000003af": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "8528" + }, + "USER_WATERMARKS:oid:0x150000000003b0": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "7696" + }, + "USER_WATERMARKS:oid:0x150000000003bd": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "20" + }, + "USER_WATERMARKS:oid:0x150000000003be": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "5" + }, + "USER_WATERMARKS:oid:0x150000000003bf": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "1998" + }, + "USER_WATERMARKS:oid:0x150000000003c0": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x150000000003c1": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x150000000003c2": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x150000000003c3": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x150000000003c4": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "USER_WATERMARKS:oid:0x150000000003c5": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "8528" + }, + "USER_WATERMARKS:oid:0x150000000003c6": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "7696" + }, + "PERSISTENT_WATERMARKS:oid:0x15000000000357": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "3057328" + }, + "PERSISTENT_WATERMARKS:oid:0x15000000000358": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "3056704" + }, + "PERSISTENT_WATERMARKS:oid:0x15000000000359": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x1500000000035a": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x1500000000035b": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x1500000000035c": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x1500000000035d": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x1500000000035e": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "3704" + }, + "PERSISTENT_WATERMARKS:oid:0x1500000000035f": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "516" + }, + "PERSISTENT_WATERMARKS:oid:0x15000000000360": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "30" + }, + "PERSISTENT_WATERMARKS:oid:0x1500000000037f": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x15000000000380": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x15000000000381": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x15000000000382": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "2986" + }, + "PERSISTENT_WATERMARKS:oid:0x15000000000383": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "3567" + }, + "PERSISTENT_WATERMARKS:oid:0x15000000000384": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x15000000000385": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x15000000000386": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x15000000000387": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x15000000000388": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x150000000003a7": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x150000000003a8": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x150000000003a9": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "2040" + }, + "PERSISTENT_WATERMARKS:oid:0x150000000003aa": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x150000000003ab": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x150000000003ac": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x150000000003ad": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x150000000003ae": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "0" + }, + "PERSISTENT_WATERMARKS:oid:0x150000000003af": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "9528" + }, + "PERSISTENT_WATERMARKS:oid:0x150000000003b0": { + "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES": "8696" + }, + "USER_WATERMARKS:oid:0x18000000000b64": { + "SAI_BUFFER_POOL_STAT_WATERMARK_BYTES": "1000" + }, + "USER_WATERMARKS:oid:0x18000000000b65": { + "SAI_BUFFER_POOL_STAT_WATERMARK_BYTES": "2000" + }, + "USER_WATERMARKS:oid:0x18000000000b66": { + "SAI_BUFFER_POOL_STAT_WATERMARK_BYTES": "3000", + "SAI_BUFFER_POOL_STAT_XOFF_ROOM_WATERMARK_BYTES": "432640" + }, + "PERSISTENT_WATERMARKS:oid:0x18000000000b64": { + "SAI_BUFFER_POOL_STAT_WATERMARK_BYTES": "2000" + }, + "PERSISTENT_WATERMARKS:oid:0x18000000000b65": { + "SAI_BUFFER_POOL_STAT_WATERMARK_BYTES": "3000" + }, + "PERSISTENT_WATERMARKS:oid:0x18000000000b66": { + "SAI_BUFFER_POOL_STAT_WATERMARK_BYTES": "4000", + "SAI_BUFFER_POOL_STAT_XOFF_ROOM_WATERMARK_BYTES": "863616" + }, + "COUNTERS:oid:0x1500000000034e":{ + "SAI_COUNTER_STAT_PACKETS": 100, + "SAI_COUNTER_STAT_BYTES": 2000 + }, + "COUNTERS:oid:0x1600000000034e":{ + "SAI_COUNTER_STAT_PACKETS": 100, + "SAI_COUNTER_STAT_BYTES": 2000 + }, + "COUNTERS:oid:0x1600000000034f":{ + "SAI_COUNTER_STAT_PACKETS": 1000, + "SAI_COUNTER_STAT_BYTES": 2000 + }, + "COUNTERS:oid:0x1600000000035e":{ + "SAI_COUNTER_STAT_PACKETS": 50, + "SAI_COUNTER_STAT_BYTES": 1000 + }, + "COUNTERS:oid:0x1600000000035f":{ + "SAI_COUNTER_STAT_PACKETS": 1000, + "SAI_COUNTER_STAT_BYTES": 25000 + } +} diff --git a/tests/wm_input/wm_test_vectors.py b/tests/wm_input/wm_test_vectors.py index 336afdc42a..93d9faa4cb 100644 --- a/tests/wm_input/wm_test_vectors.py +++ b/tests/wm_input/wm_test_vectors.py @@ -61,6 +61,10 @@ Ethernet8 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A """ +show_queue_wm_multicast_neg_output="""\ +Object map from the COUNTERS_DB is empty because the multicast queues are not configured in the CONFIG_DB! +""" + show_queue_wm_all_output="""\ Egress shared pool occupancy per all queues: Port ALL20 ALL21 ALL22 ALL23 ALL24 ALL25 ALL26 ALL27 ALL28 ALL29 @@ -140,6 +144,10 @@ 'rc_output': show_queue_wm_multicast_output } ], + 'show_q_wm_multicast_neg' : [ { 'cmd' : ['queue', 'watermark', 'multicast'], + 'rc_output': show_queue_wm_multicast_neg_output + } + ], 'show_q_pwm_multicast' : [ {'cmd' : ['queue', 'persistent-watermark', 'multicast'], 'rc_output': show_queue_wm_multicast_output }