From 9f42416c15d0a8e2dbb2af73d712879ce1538a9f Mon Sep 17 00:00:00 2001 From: Agustin Carranza Date: Thu, 13 Oct 2022 13:26:41 -0300 Subject: [PATCH] Remove orphan node OID definitions from mibs Apparently the changes introduced by https://review.opendev.org/c/starlingx/snmp-armada-app/+/814634 requires not only to remove the top node for the TMS MIB structure but also the child node OID definitions. If not, several warnings are returned when issuing any tipe of snmp commands. Test Plan PASS: Install mibs on user host. Issue snmpget/snmpwalk/snmpgetnext/snmpbulkget commands to a deployment with snmp application uploaded and applied. No warnings related to OID parent 'TMS' are shown. Closes-bug: 1992826 Signed-off-by: Agustin Carranza Change-Id: Ib9553b74e8afcc4b7d40ae8d78158c63cb08618d --- .../stx-snmp/mibs/wrsEnterpriseReg.mib.txt | 32 ------------------- 1 file changed, 32 deletions(-) diff --git a/stx-snmp-helm/docker/stx-snmp/mibs/wrsEnterpriseReg.mib.txt b/stx-snmp-helm/docker/stx-snmp/mibs/wrsEnterpriseReg.mib.txt index 6c909e1..44b3099 100755 --- a/stx-snmp-helm/docker/stx-snmp/mibs/wrsEnterpriseReg.mib.txt +++ b/stx-snmp-helm/docker/stx-snmp/mibs/wrsEnterpriseReg.mib.txt @@ -70,38 +70,6 @@ IMPORTS - ---------------------------------------------------------------------------- --- TMS OID Definitions --- - --- TMS Major MIB Categories - idb OBJECT IDENTIFIER ::= { tms 1 } -- IDB MIBs - tmsGeneric OBJECT IDENTIFIER ::= { tms 2 } -- TMS Generic MIBs - oemSwapi OBJECT IDENTIFIER ::= { tms 3 } -- OEM swAPI MIBs - oemProd OBJECT IDENTIFIER ::= { tms 4 } -- OEM Product MIBs - --- TMS IDB Internal Module MIBs - rmonMib OBJECT IDENTIFIER ::= { idb 1 } --- garpMib OBJECT IDENTIFIER ::= { idb 2 } SMIv2 --- stpMib OBJECT IDENTIFIER ::= { idb 3 } SMIv2 - --- TMS Generic MIBs --- tmsCommonMib OBJECT IDENTIFIER ::= { tmsGeneric 1 } SMIv2 --- tmsL3Mib OBJECT IDENTIFIER ::= { tmsGeneric 2 } SMIv2 - --- OEM swAPI MIBs --- pmSwapi OBJECT IDENTIFIER ::= { oemSwapi 1 } SMIv2 --- bcmSwapi OBJECT IDENTIFIER ::= { oemSwapi 2 } SMIv2 --- pcSwapi OBJECT IDENTIFIER ::= { oemSwapi 3 } SMIv2 - --- OEM Product MIBs --- pm3575 OBJECT IDENTIFIER ::= { oemProd 1 } SMIv2 --- bcm5600 OBJECT IDENTIFIER ::= { oemProd 2 } SMIv2 --- pcSwitch OBJECT IDENTIFIER ::= { oemProd 3 } SMIv2 - - - --------------------------------------------------------------------------- -- General Textual Conventions --