NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/59165: vio9p(4): expose tag through sysctl or device properties



The following reply was made to PR kern/59165; it has been noted by GNATS.

From: Christoph Badura <bad%bsd.de@localhost>
To: Ryota Ozaki <ozaki-r%netbsd.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: kern/59165: vio9p(4): expose tag through sysctl or device
 properties
Date: Wed, 9 Apr 2025 19:38:42 +0200

 Darn, I wanted to reply earlier.
 
 On Tue, Mar 25, 2025 at 04:46:28PM +0900, Ryota Ozaki wrote:
 > That reminds me of a RESTful API that requires listing up available endpoints.
 
 I was reminded of SNMP.
 
 > I agree with the demand for discoverability, but in this case (sysctl
 > MIBs) I don't
 > desire it so much because, as you said, we can know the existing of sysctl MIBs
 > by using grep, etc. The proposed MIB design may help to make scripts simple,
 > but I'm not sure if it's essential for everyone.
 
 That's fine for scripts that run infrequently.  But it doesn't really work
 for stuff like systat or node_exporter which would query the MIB
 frequently.
 
 But we can address that later if the need arrives.
 
 --chris
 


Home | Main Index | Thread Index | Old Index