towerops/priv/mibs/dlink/DLINKSW-NETWORK-PROTOCOL-PORT-PROTECT-MIB
Graham McIntire b4f8b40b7f
Include MIB files in Docker image instead of using PVC
- Remove PVC volume mount from k8s/deployment.yaml
- Delete k8s/mib-pvc.yaml (no longer needed)
- Update .gitignore to commit MIB files to git
- Add mix import_mibs task to copy MIBs from LibreNMS
- Add all MIB files from priv/mibs/ to git

This fixes the multi-attach volume error in Kubernetes where new pods
couldn't start because the RWO (ReadWriteOnce) PVC was attached to the
old pod. MIBs are now part of the Docker image and can be used by all
pods simultaneously.
2026-01-19 14:01:03 -06:00

74 lines
2.7 KiB
Text

-- *****************************************************************
-- DLINKSW-NETWORK-PORT-PROTECT-MIB.mib : DLINK discovery protocol MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-NETWORK-PROTOCOL-PORT-PROTECT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Unsigned32
FROM SNMPv2-SMI
TruthValue
FROM SNMPv2-TC
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwNetworkProtocolPortProtectMIB MODULE-IDENTITY
LAST-UPDATED "201711270000Z"
ORGANIZATION "D-Link Corp."
CONTACT-INFO
" D-Link Corporation
Postal: No. 289, Sinhu 3rd Rd., Neihu District,
Taipei City 114, Taiwan, R.O.C
Tel: +886-2-66000123
E-mail: tsd@dlink.com.tw
"
DESCRIPTION
"This MIB module defines objects for network protocol port protect."
REVISION "201711270000Z"
DESCRIPTION
" This is the first version of the MIB file.
"
::= { dlinkIndustrialCommon 194 }
-- -----------------------------------------------------------------------------
dNetworkProtocolPortProtectObjects OBJECT IDENTIFIER ::= { dlinkSwNetworkProtocolPortProtectMIB 1 }
-- -----------------------------------------------------------------------------
-- Notifications
-- -----------------------------------------------------------------------------
-- -----------------------------------------------------------------------------
-- Objects
-- -----------------------------------------------------------------------------
dNetworkProtocolPortProtectCtrl OBJECT IDENTIFIER ::= { dNetworkProtocolPortProtectObjects 1 }
dNetworkProtocolPortProtectTCPState OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"When enable it switch will not response for the closed TCP port."
DEFVAL { true }
::= { dNetworkProtocolPortProtectCtrl 1 }
dNetworkProtocolPortProtectUDPState OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"When enable it switch will not response for the closed UDP port."
DEFVAL { true }
::= { dNetworkProtocolPortProtectCtrl 2 }
END