- 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.
89 lines
2.8 KiB
Text
89 lines
2.8 KiB
Text
VLAN DEFINITIONS ::= BEGIN
|
|
IMPORTS
|
|
MODULE-IDENTITY, OBJECT-TYPE, OBJECT-IDENTITY, Integer32
|
|
FROM SNMPv2-SMI
|
|
|
|
VlanStatusT, VlanGroupT
|
|
FROM ExaltComm
|
|
|
|
interface
|
|
FROM ExaltComProducts
|
|
|
|
OBJECT-GROUP
|
|
FROM SNMPv2-CONF
|
|
|
|
DisplayString
|
|
FROM SNMPv2-TC;
|
|
|
|
|
|
vlan OBJECT-IDENTITY
|
|
STATUS current
|
|
DESCRIPTION "VLAN interfaces."
|
|
::= { interface 3 }
|
|
|
|
vlanStatus OBJECT-TYPE
|
|
SYNTAX VlanStatusT
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION "This setting enables or disables VLAN support."
|
|
::= { vlan 1 }
|
|
|
|
vlanDefaultMgmtId OBJECT-TYPE
|
|
SYNTAX Integer32 (1..4095)
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION "This is the Default management VLAN ID for all Ethernet
|
|
Interface."
|
|
::= { vlan 5 }
|
|
|
|
vlanInterfaces OBJECT-TYPE
|
|
SYNTAX SEQUENCE OF VlanInterfacesEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION "This is a table of Vlan interface configurations."
|
|
::= { vlan 6 }
|
|
|
|
vlanInterfacesEntry OBJECT-TYPE
|
|
SYNTAX VlanInterfacesEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION "This is a Vlan table entry."
|
|
INDEX {
|
|
vlanDefaultId
|
|
}
|
|
::= { vlanInterfaces 1 }
|
|
|
|
VlanInterfacesEntry ::= SEQUENCE {
|
|
vlanDefaultId
|
|
Integer32,
|
|
vlanID
|
|
DisplayString
|
|
}
|
|
|
|
vlanDefaultId OBJECT-TYPE
|
|
SYNTAX Integer32 (1..4095)
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION "This is the default VLAN ID for the ETH2 Ethernet
|
|
Interface."
|
|
::= { vlanInterfacesEntry 1 }
|
|
|
|
vlanID OBJECT-TYPE
|
|
SYNTAX DisplayString (SIZE(0..1024))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION "This is the list of Vlan ID in comma seperated format. For
|
|
example, 2,10-20,2000."
|
|
::= { vlanInterfacesEntry 2 }
|
|
|
|
commitVlanSettings OBJECT-TYPE
|
|
SYNTAX DisplayString (SIZE(4..200))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION "This command allows saving, or resetting Vlan
|
|
parameters to factory original. Options are:
|
|
save, clear, reset; where clear will abandon
|
|
unsaved changes."
|
|
::= { vlan 1000 }
|
|
|
|
END
|