diff --git a/tests/test_bfd.py b/tests/test_bfd.py index e16dabbba5..5add329278 100644 --- a/tests/test_bfd.py +++ b/tests/test_bfd.py @@ -103,7 +103,7 @@ def test_addRemoveBfdSession_ipv6(self, dvs): "SAI_BFD_SESSION_ATTR_SRC_IP_ADDRESS": "2000::1", "SAI_BFD_SESSION_ATTR_DST_IP_ADDRESS": "2000::2", "SAI_BFD_SESSION_ATTR_TYPE": "SAI_BFD_SESSION_TYPE_ASYNC_ACTIVE", - "SAI_BFD_SESSION_ATTR_TOS": "184", + "SAI_BFD_SESSION_ATTR_TOS": "192", "SAI_BFD_SESSION_ATTR_IPHDR_VERSION": "6" } self.check_asic_bfd_session_value(session, expected_adb_values) @@ -144,7 +144,7 @@ def test_addRemoveBfdSession_interface(self, dvs): "SAI_BFD_SESSION_ATTR_SRC_IP_ADDRESS": "10.0.0.1", "SAI_BFD_SESSION_ATTR_DST_IP_ADDRESS": "10.0.0.2", "SAI_BFD_SESSION_ATTR_TYPE": "SAI_BFD_SESSION_TYPE_ASYNC_ACTIVE", - "SAI_BFD_SESSION_ATTR_TOS": "184", + "SAI_BFD_SESSION_ATTR_TOS": "192", "SAI_BFD_SESSION_ATTR_IPHDR_VERSION": "4", "SAI_BFD_SESSION_ATTR_HW_LOOKUP_VALID": "false", "SAI_BFD_SESSION_ATTR_DST_MAC_ADDRESS": "00:02:03:04:05:06" @@ -187,7 +187,7 @@ def test_addRemoveBfdSession_txrx_interval(self, dvs): "SAI_BFD_SESSION_ATTR_SRC_IP_ADDRESS": "10.0.0.1", "SAI_BFD_SESSION_ATTR_DST_IP_ADDRESS": "10.0.0.2", "SAI_BFD_SESSION_ATTR_TYPE": "SAI_BFD_SESSION_TYPE_ASYNC_ACTIVE", - "SAI_BFD_SESSION_ATTR_TOS": "184", + "SAI_BFD_SESSION_ATTR_TOS": "192", "SAI_BFD_SESSION_ATTR_IPHDR_VERSION": "4", "SAI_BFD_SESSION_ATTR_MIN_TX": "300000", "SAI_BFD_SESSION_ATTR_MIN_RX": "500000", @@ -230,7 +230,7 @@ def test_addRemoveBfdSession_multiplier(self, dvs): "SAI_BFD_SESSION_ATTR_SRC_IP_ADDRESS": "10.0.0.1", "SAI_BFD_SESSION_ATTR_DST_IP_ADDRESS": "10.0.0.2", "SAI_BFD_SESSION_ATTR_TYPE": "SAI_BFD_SESSION_TYPE_ASYNC_ACTIVE", - "SAI_BFD_SESSION_ATTR_TOS": "184", + "SAI_BFD_SESSION_ATTR_TOS": "192", "SAI_BFD_SESSION_ATTR_IPHDR_VERSION": "4", "SAI_BFD_SESSION_ATTR_MULTIPLIER": "5" } @@ -272,7 +272,7 @@ def test_addRemoveBfdSession_multihop(self, dvs): "SAI_BFD_SESSION_ATTR_SRC_IP_ADDRESS": "10.0.0.1", "SAI_BFD_SESSION_ATTR_DST_IP_ADDRESS": "10.0.0.2", "SAI_BFD_SESSION_ATTR_TYPE": "SAI_BFD_SESSION_TYPE_ASYNC_ACTIVE", - "SAI_BFD_SESSION_ATTR_TOS": "184", + "SAI_BFD_SESSION_ATTR_TOS": "192", "SAI_BFD_SESSION_ATTR_IPHDR_VERSION": "4", "SAI_BFD_SESSION_ATTR_MULTIHOP": "true" } @@ -314,7 +314,7 @@ def test_addRemoveBfdSession_type(self, dvs): "SAI_BFD_SESSION_ATTR_SRC_IP_ADDRESS": "10.0.0.1", "SAI_BFD_SESSION_ATTR_DST_IP_ADDRESS": "10.0.0.2", "SAI_BFD_SESSION_ATTR_TYPE": "SAI_BFD_SESSION_TYPE_DEMAND_ACTIVE", - "SAI_BFD_SESSION_ATTR_TOS": "184", + "SAI_BFD_SESSION_ATTR_TOS": "192", "SAI_BFD_SESSION_ATTR_IPHDR_VERSION": "4" } self.check_asic_bfd_session_value(session, expected_adb_values) @@ -357,7 +357,7 @@ def test_multipleBfdSessions(self, dvs): "SAI_BFD_SESSION_ATTR_SRC_IP_ADDRESS": "10.0.0.1", "SAI_BFD_SESSION_ATTR_DST_IP_ADDRESS": "10.0.0.2", "SAI_BFD_SESSION_ATTR_TYPE": "SAI_BFD_SESSION_TYPE_ASYNC_ACTIVE", - "SAI_BFD_SESSION_ATTR_TOS": "184", + "SAI_BFD_SESSION_ATTR_TOS": "192", "SAI_BFD_SESSION_ATTR_IPHDR_VERSION": "4" } self.check_asic_bfd_session_value(session1, expected_adb_values) @@ -384,7 +384,7 @@ def test_multipleBfdSessions(self, dvs): "SAI_BFD_SESSION_ATTR_SRC_IP_ADDRESS": "10.0.0.1", "SAI_BFD_SESSION_ATTR_DST_IP_ADDRESS": "10.0.1.2", "SAI_BFD_SESSION_ATTR_TYPE": "SAI_BFD_SESSION_TYPE_ASYNC_ACTIVE", - "SAI_BFD_SESSION_ATTR_TOS": "184", + "SAI_BFD_SESSION_ATTR_TOS": "192", "SAI_BFD_SESSION_ATTR_IPHDR_VERSION": "4", "SAI_BFD_SESSION_ATTR_MIN_TX": "300000", "SAI_BFD_SESSION_ATTR_MIN_RX": "500000", @@ -413,7 +413,7 @@ def test_multipleBfdSessions(self, dvs): "SAI_BFD_SESSION_ATTR_SRC_IP_ADDRESS": "2000::1", "SAI_BFD_SESSION_ATTR_DST_IP_ADDRESS": "2000::2", "SAI_BFD_SESSION_ATTR_TYPE": "SAI_BFD_SESSION_TYPE_DEMAND_ACTIVE", - "SAI_BFD_SESSION_ATTR_TOS": "184", + "SAI_BFD_SESSION_ATTR_TOS": "192", "SAI_BFD_SESSION_ATTR_IPHDR_VERSION": "6" } self.check_asic_bfd_session_value(session3, expected_adb_values) @@ -440,7 +440,7 @@ def test_multipleBfdSessions(self, dvs): "SAI_BFD_SESSION_ATTR_SRC_IP_ADDRESS": "3000::1", "SAI_BFD_SESSION_ATTR_DST_IP_ADDRESS": "3000::2", "SAI_BFD_SESSION_ATTR_TYPE": "SAI_BFD_SESSION_TYPE_ASYNC_ACTIVE", - "SAI_BFD_SESSION_ATTR_TOS": "184", + "SAI_BFD_SESSION_ATTR_TOS": "192", "SAI_BFD_SESSION_ATTR_IPHDR_VERSION": "6" } self.check_asic_bfd_session_value(session4, expected_adb_values)