@@ -45,6 +45,7 @@ def dvs_api(request, dvs_pbh, dvs_acl):
4545
4646@pytest .mark .usefixtures ("dvs_lag_manager" )
4747class TestPbhInterfaceBinding :
48+ @pytest .mark .skipif ("PBH_SUPPORT" not in os .environ , reason = "Disable since we remove pbhorch." )
4849 def test_PbhTablePortBinding (self , testlog ):
4950 try :
5051 port_list = ["Ethernet0" , "Ethernet4" ]
@@ -68,6 +69,7 @@ def test_PbhTablePortBinding(self, testlog):
6869 self .dvs_pbh .remove_pbh_table (PBH_TABLE_NAME )
6970 self .dvs_acl .verify_acl_table_count (0 )
7071
72+ @pytest .mark .skipif ("PBH_SUPPORT" not in os .environ , reason = "Disable since we remove pbhorch." )
7173 def test_PbhTablePortChannelBinding (self , testlog ):
7274 try :
7375 # PortChannel0001
@@ -132,6 +134,7 @@ def test_PbhTablePortChannelBinding(self, testlog):
132134
133135@pytest .mark .usefixtures ("dvs_hash_manager" )
134136class TestPbhBasicFlows :
137+ @pytest .mark .skipif ("PBH_SUPPORT" not in os .environ , reason = "Disable since we remove pbhorch." )
135138 def test_PbhHashFieldCreationDeletion (self , testlog ):
136139 try :
137140 pbhlogger .info ("Create PBH hash field: {}" .format (PBH_HASH_FIELD_NAME ))
@@ -146,6 +149,7 @@ def test_PbhHashFieldCreationDeletion(self, testlog):
146149 self .dvs_pbh .remove_pbh_hash_field (PBH_HASH_FIELD_NAME )
147150 self .dvs_pbh .verify_pbh_hash_field_count (0 )
148151
152+ @pytest .mark .skipif ("PBH_SUPPORT" not in os .environ , reason = "Disable since we remove pbhorch." )
149153 def test_PbhHashCreationDeletion (self , testlog ):
150154 try :
151155 # PBH hash field
@@ -175,6 +179,7 @@ def test_PbhHashCreationDeletion(self, testlog):
175179 self .dvs_pbh .remove_pbh_hash_field (PBH_HASH_FIELD_NAME )
176180 self .dvs_pbh .verify_pbh_hash_field_count (0 )
177181
182+ @pytest .mark .skipif ("PBH_SUPPORT" not in os .environ , reason = "Disable since we remove pbhorch." )
178183 def test_PbhTableCreationDeletion (self , testlog ):
179184 try :
180185 pbhlogger .info ("Create PBH table: {}" .format (PBH_TABLE_NAME ))
@@ -189,6 +194,7 @@ def test_PbhTableCreationDeletion(self, testlog):
189194 self .dvs_pbh .remove_pbh_table (PBH_TABLE_NAME )
190195 self .dvs_acl .verify_acl_table_count (0 )
191196
197+ @pytest .mark .skipif ("PBH_SUPPORT" not in os .environ , reason = "Disable since we remove pbhorch." )
192198 def test_PbhRuleCreationDeletion (self , testlog ):
193199 try :
194200 # PBH hash field
@@ -259,6 +265,7 @@ def test_PbhRuleCreationDeletion(self, testlog):
259265@pytest .mark .usefixtures ("dvs_hash_manager" )
260266@pytest .mark .xfail (reason = "Failing after Bookworm/libnl 3.7.0 upgrade" )
261267class TestPbhBasicEditFlows :
268+ @pytest .mark .skipif ("PBH_SUPPORT" not in os .environ , reason = "Disable since we remove pbhorch." )
262269 def test_PbhRuleUpdate (self , testlog ):
263270 try :
264271 # PBH hash field
@@ -362,7 +369,7 @@ def test_PbhRuleUpdate(self, testlog):
362369 self .dvs_pbh .remove_pbh_hash_field (PBH_HASH_FIELD_NAME )
363370 self .dvs_pbh .verify_pbh_hash_field_count (0 )
364371
365-
372+ @ pytest . mark . skipif ( "PBH_SUPPORT" not in os . environ , reason = "Disable since we remove pbhorch." )
366373 def test_PbhRuleUpdateFlowCounter (self , dvs , testlog ):
367374 try :
368375 # PBH hash field
@@ -909,12 +916,14 @@ def pbh_vxlan(
909916 finally :
910917 self .remove_rule (meta_dict , pbh_ref_count )
911918
919+ @pytest .mark .skipif ("PBH_SUPPORT" not in os .environ , reason = "Disable since we remove pbhorch." )
912920 def test_PbhNvgreVxlanConfiguration (self , testlog , pbh_nvgre , pbh_vxlan ):
913921 pass
914922
915923
916924@pytest .mark .usefixtures ("dvs_hash_manager" )
917925class TestPbhDependencyFlows :
926+ @pytest .mark .skipif ("PBH_SUPPORT" not in os .environ , reason = "Disable since we remove pbhorch." )
918927 def test_PbhHashCreationDeletionWithDependencies (self , testlog ):
919928 try :
920929 # PBH hash
@@ -946,6 +955,7 @@ def test_PbhHashCreationDeletionWithDependencies(self, testlog):
946955 self .dvs_hash .verify_hash_count (0 )
947956 self .dvs_pbh .verify_pbh_hash_field_count (0 )
948957
958+ @pytest .mark .skipif ("PBH_SUPPORT" not in os .environ , reason = "Disable since we remove pbhorch." )
949959 def test_PbhRuleCreationDeletionWithDependencies (self , testlog ):
950960 try :
951961 # PBH hash
0 commit comments