userspace/snmp: change the order of OIDs in wrsPtpInstanceTable
Move wrsPtpInstanceName to be the first (after indexes) OID.
Thanks to this, by doing snmpwalk/snmpgetnext of OID wrsPtpInstanceName(.<n>.<m>),
the user gets in a single responce:
--n - a port number
--m - an instance nubmer
--value which is an instance name
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
Showing
- doc/wrs_failures/snmp_objects.tex 1 addition, 1 deletiondoc/wrs_failures/snmp_objects.tex
- userspace/snmpd/WR-SWITCH-MIB.txt 12 additions, 11 deletionsuserspace/snmpd/WR-SWITCH-MIB.txt
- userspace/snmpd/wrsPtpInstanceTable.c 1 addition, 1 deletionuserspace/snmpd/wrsPtpInstanceTable.c
- userspace/snmpd/wrsPtpInstanceTable.h 1 addition, 1 deletionuserspace/snmpd/wrsPtpInstanceTable.h
Please register or sign in to comment