FILE-SYSTEM-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, mib-2, OBJECT-TYPE, Integer32, Gauge32, Counter32, NOTIFICATION-TYPE FROM SNMPv2-SMI DisplayString FROM SNMPv2-TC MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP FROM SNMPv2-CONF dlink-common-mgmt FROM DLINK-ID-REC-MIB; swFileSystemMIB MODULE-IDENTITY LAST-UPDATED "0007150000Z" ORGANIZATION " " CONTACT-INFO " " DESCRIPTION "The MIB module for managing file system." ::= { dlink-common-mgmt 14 } swFSBasicInfo OBJECT IDENTIFIER ::= { swFileSystemMIB 1 } swFSMediaCtrl OBJECT IDENTIFIER ::= { swFileSystemMIB 2 } swFSDirectoryCtrl OBJECT IDENTIFIER ::= { swFileSystemMIB 3 } swFSFileCtrl OBJECT IDENTIFIER ::= { swFileSystemMIB 4 } swFSCopyCtrl OBJECT IDENTIFIER ::= { swFileSystemMIB 5 } --*************************************************************************** -- swFSBasicInfo --*************************************************************************** swFSBasicInfoCtrlStatus OBJECT-TYPE SYNTAX INTEGER { other(0), start(1), finish(2), in-process(3), fail(4), invalid-drive-name(5), same-file-name(6), root-area-full(7), insufficient-disk(8), invalid-directory(9), file-readonly(10), exist-same-directory(11), exist-file-in-directory(12), no-file-or-dir(13), no-format(14), no-storage-media(15), fs-no-match-media(16), error-input(17), error-char(18), error-filename(19), access-media-error(20) } MAX-ACCESS read-only STATUS current DESCRIPTION "File status about user operation. Such as media format, file copy, file delete, make directory, delete directory, file rename this object can response current status." ::= { swFSBasicInfo 1 } swFSBasicInfoCtrlProcess OBJECT-TYPE SYNTAX INTEGER (0..100) UNITS "%" MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates current process percentage about user operation." ::= { swFSBasicInfo 2 } --*************************************************************************** --swFSMediaCtrl --*************************************************************************** swFSMediaInfoTable OBJECT-TYPE SYNTAX SEQUENCE OF SwFSMediaInfoEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table indicates information about media." ::= { swFSMediaCtrl 1 } swFSMediaInfoEntry OBJECT-TYPE SYNTAX SwFSMediaInfoEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "." INDEX { swFSMediaInfoIndex} ::= { swFSMediaInfoTable 1 } SwFSMediaInfoEntry ::= SEQUENCE { swFSMediaInfoIndex INTEGER, swFSMediaInfoMediaID INTEGER, swFSMediaInfoType DisplayString, swFSMediaInfoSize Integer32, swFSMediaInfoPartition DisplayString, swFSMediaInfoFStype DisplayString } swFSMediaInfoIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS not-accessible STATUS current DESCRIPTION "The table indexes for media entry." ::= { swFSMediaInfoEntry 1 } swFSMediaInfoMediaID OBJECT-TYPE SYNTAX INTEGER { a(0), b(1), c(2), d(3), e(4), f(5) } MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates the media ID." ::= { swFSMediaInfoEntry 2 } swFSMediaInfoType OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates the media type." ::= { swFSMediaInfoEntry 3 } swFSMediaInfoSize OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates the media size." ::= { swFSMediaInfoEntry 4 } swFSMediaInfoPartition OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates the media partition." ::= { swFSMediaInfoEntry 5 } swFSMediaInfoFStype OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates the FS type." ::= { swFSMediaInfoEntry 6 } --****************************************************** -- swFSMediaFormatTable OBJECT-TYPE -- SYNTAX SEQUENCE OF SwFSMediaFormatEntry -- MAX-ACCESS not-accessible -- STATUS current -- DESCRIPTION -- "." -- ::= { swFSMediaCtrl 2 } -- swFSMediaFormatEntry OBJECT-TYPE -- SYNTAX SwFSMediaFormatEntry -- MAX-ACCESS not-accessible -- STATUS current -- DESCRIPTION -- "." -- INDEX { swFSMediaFormatMediaID} -- ::= { swFSMediaFormatTable 1 } -- SwFSMediaFormatEntry ::= SEQUENCE { -- swFSMediaFormatindex -- Integer32, -- swFSMediaFormatMediaID -- INTEGER, -- swFSMediaFormatFat -- INTEGER, -- swFSMediaFormatLabelName -- DisplayString -- } -- swFSMediaFormatindex OBJECT-TYPE -- SYNTAX Integer32 (1..2147483647) -- MAX-ACCESS not-accessible -- STATUS current -- DESCRIPTION -- "." -- ::= { swFSMediaFormatEntry 1 } -- swFSMediaFormatMediaID OBJECT-TYPE -- SYNTAX INTEGER { -- a(0), -- b(1), -- c(2), -- d(3), -- e(4), -- f(5) -- } -- MAX-ACCESS read-only -- STATUS current -- DESCRIPTION -- "." -- ::= { swFSMediaFormatEntry 2 } -- swFSMediaFormatFat OBJECT-TYPE -- SYNTAX INTEGER { -- fat16(1), -- fat32(2) -- } -- MAX-ACCESS read-write -- STATUS current -- DESCRIPTION -- "." -- ::= { swFSMediaFormatEntry 3 } -- swFSMediaFormatLabelName OBJECT-TYPE -- SYNTAX DisplayString (SIZE (0..8)) -- MAX-ACCESS read-write -- STATUS current -- DESCRIPTION -- "." -- ::= { swFSMediaFormatEntry 4 } swFSMediaFormatCtrl OBJECT IDENTIFIER ::= { swFSMediaCtrl 2 } swFSMediaFormatMediaID OBJECT-TYPE SYNTAX INTEGER { none(0), a(1), b(2), c(3), d(4), e(5), f(6) } MAX-ACCESS read-write STATUS current DESCRIPTION "Use to assign format media ID.." ::= { swFSMediaFormatCtrl 1 } swFSMediaFormatFat OBJECT-TYPE SYNTAX INTEGER { fat16(1), fat32(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "Use to assign FS type." ::= { swFSMediaFormatCtrl 2 } swFSMediaFormatLabelName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..8)) MAX-ACCESS read-write STATUS current DESCRIPTION "Use to label a name for this media." ::= { swFSMediaFormatCtrl 3 } swFSMediaFormatType OBJECT-TYPE SYNTAX INTEGER { fast(1), full(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "Use to select format type." ::= { swFSMediaFormatCtrl 4 } swFSMediaFormatActivity OBJECT-TYPE SYNTAX INTEGER { none(1), start(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "When this object is set to start(2),the device will begin format the designate media." ::= { swFSMediaFormatCtrl 5 } --*************************************************************************** --swFSDirectoryctrl --*************************************************************************** swFSDirectoryMake OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-write STATUS current DESCRIPTION "make directory (md/mkdir). Please input path and directory name." ::= { swFSDirectoryCtrl 1 } swFSDirectoryDel OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-write STATUS current DESCRIPTION "delete directory (rd/rmdir). Please input path and directory name." ::= { swFSDirectoryCtrl 2 } --****************************************************** swFSctrlDirectoryDir OBJECT IDENTIFIER ::= { swFSDirectoryCtrl 3 } swFSDirectoryPath OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-write STATUS current DESCRIPTION "control path directory." ::= { swFSctrlDirectoryDir 1 } swFSDirectoryTable OBJECT-TYPE SYNTAX SEQUENCE OF SwFSDirectoryEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table list file and directory information." ::= { swFSctrlDirectoryDir 2 } swFSDirectoryEntry OBJECT-TYPE SYNTAX SwFSDirectoryEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "." INDEX { swFSDirectoryName} ::= { swFSDirectoryTable 1 } SwFSDirectoryEntry ::= SEQUENCE { swFSDirectoryName DisplayString, swFSDirectoryAttr INTEGER, swFSDirectoryTime DisplayString } swFSDirectoryName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates file name or directory in this directory." ::= { swFSDirectoryEntry 1 } swFSDirectoryAttr OBJECT-TYPE SYNTAX INTEGER { dir(1), file(2) } MAX-ACCESS read-only STATUS current DESCRIPTION "show this item attribute. dir(1) - it's a directory. file(2) - it's a file." ::= { swFSDirectoryEntry 2 } swFSDirectoryTime OBJECT-TYPE SYNTAX DisplayString (SIZE (0..32)) MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates file or directory time." ::= { swFSDirectoryEntry 3 } --*************************************************************************** --swFSFileCtrl --*************************************************************************** swFSFileRename OBJECT IDENTIFIER ::= { swFSFileCtrl 1 } swFSFileSourceName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-write STATUS current DESCRIPTION "Use to assign the source file to copy. Please input path and filename for rename." ::= { swFSFileRename 1 } swFSFileTargetName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-write STATUS current DESCRIPTION "Use to assign the destination file to copy. Please input path and filename for rename." ::= { swFSFileRename 2 } swFSFileRenameActivity OBJECT-TYPE SYNTAX INTEGER { none(1), start(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "When this object is set to start(2), the device will begin start copy the file. " ::= { swFSFileRename 3 } --****************************************************** swFSFileDel OBJECT IDENTIFIER ::= { swFSFileCtrl 2 } swFSFileDelName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-write STATUS current DESCRIPTION "Use to delete file. Please input path and filename for delete." ::= { swFSFileDel 1 } --*************************************************************************** --swFSCopyCtrl --*************************************************************************** swFSCopySource OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-write STATUS current DESCRIPTION "Use to assign the source file to copy. Please input path and filename." ::= { swFSCopyCtrl 1 } swFSCopyDestination OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-write STATUS current DESCRIPTION "Use to assign the destination file to copy. Please input path and filename." ::= { swFSCopyCtrl 2 } swFSCopyActivity OBJECT-TYPE SYNTAX INTEGER { none(1), start(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "When this object is set to start(2), the device will begin start copy the file. " ::= { swFSCopyCtrl 3 } END