#NEWLINE# def check_mellanox_kernel_params( self , mode , mellanox , iser ) : #NEWLINE# #INDENT# self . cluster = self . create_env ( mode = mode , mellanox = mellanox , iser = iser ) #NEWLINE# serialized_cluster = prov_serializer ( self . cluster , self . cluster . nodes ) #NEWLINE# assert_method = ( self . assertIn if ( mellanox or iser ) else self . assertNotIn ) #NEWLINE# for node in serialized_cluster [ 'nodes' ] : #NEWLINE# #INDENT# assert_method ( 'intel_iommu=on' , node [ 'ks_meta' ] [ 'pm_data' ] [ 'kernel_params' ] . split ( ) )