-- ***************************************************************** -- BDCOM-FLASH.my: BDCom Flash MIB file -- -- -- ***************************************************************** -- BDCOM-FLASH DEFINITIONS ::= BEGIN IMPORTS TimeTicks FROM RFC1155-SMI OBJECT-TYPE FROM RFC-1212 DisplayString FROM RFC1213-MIB bdlocal FROM BDCOM-SMI; bdlflash OBJECT IDENTIFIER ::= { bdlocal 10 } -- This group is present in all products which contain flash" bdflashSize OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Total Size in Octets of Flash memory" ::= { bdlflash 1 } bdflashFree OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Unused Size in Octets of Flash memory" ::= { bdlflash 2 } bdflashController OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "Provides the type of Flash controller (either CCTL or CCTL2) installed in the router." ::= { bdlflash 3 } bdflashCard OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "Provides the type of Flash Card installed in the router. For example, the type of Flash Card could be either CSC-MS or CSC-MC+." ::= { bdlflash 4 } bdflashVPP OBJECT-TYPE SYNTAX INTEGER { installed(1), missing(2) } ACCESS read-only STATUS mandatory DESCRIPTION "State of the VPP DIP jumper on the Flash memory card. Files can be written to the Flash memory card only if the VPP DIP jumper is turned on." ::= { bdlflash 5 } bdflashErase OBJECT-TYPE SYNTAX INTEGER ACCESS write-only STATUS mandatory DESCRIPTION "Request to erase flash memory" ::= { bdlflash 6 } bdflashEraseTime OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory DESCRIPTION "Indicates the value of sysUptime the last time Flash memory was erased. If the flash had not been erased after powerup it has a value of 0 days 00:00:00." ::= { bdlflash 7 } bdflashEraseStatus OBJECT-TYPE SYNTAX INTEGER { flashOpInProgress(1), flashOpSuccess(2), flashOpFailure(3), flashReadOnly(4), flashOpenFailure(5), bufferAllocationFailure(6), noOpAfterPowerOn(7) } ACCESS read-only STATUS mandatory DESCRIPTION "Status of current or last flash erasing" ::= { bdlflash 8 } bdflashToNet OBJECT-TYPE SYNTAX DisplayString ACCESS write-only STATUS mandatory DESCRIPTION "Write flash entry to tftp server. Value should be the name of the flash entry to send. Instance is the IP address of the tftp host." ::= { bdlflash 9 } bdflashToNetTime OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory DESCRIPTION "Indicates the value of sysUpTime the last time a file was transfered from Flash memory on the router to a TFTP host. Returns 0 days 00:00:00 if there had been no transfer since powerup." ::= { bdlflash 10 } bdflashToNetStatus OBJECT-TYPE SYNTAX INTEGER { flashOpInProgress(1), flashOpSuccess(2), flashOpFailure(3), flashReadOnly(4), flashOpenFailure(5), bufferAllocationFailure(6), noOpAfterPowerOn(7) } ACCESS read-only STATUS mandatory DESCRIPTION "Status of current or last flash to net transfer" ::= { bdlflash 11 } bdnetToFlash OBJECT-TYPE SYNTAX DisplayString ACCESS write-only STATUS mandatory DESCRIPTION "Write flash entry from tftp server. Value should be the name of the flash entry to write. Instance is the IP address of the tftp host." ::= { bdlflash 12 } bdnetToFlashTime OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory DESCRIPTION "Indicates the value of sysUpTime the last time file was copied from a Trivial File Transfer Protocol(TFTP) server to the Flash memory on the router. Returns 0 days 00:00:00 if there had been no transfers since powerup." ::= { bdlflash 13 } bdnetToFlashStatus OBJECT-TYPE SYNTAX INTEGER { flashOpInProgress(1), flashOpSuccess(2), flashOpFailure(3), flashReadOnly(4), flashOpenFailure(5), bufferAllocationFailure(6), noOpAfterPowerOn(7) } ACCESS read-only STATUS mandatory DESCRIPTION "Status of current or last net to flash transfer" ::= { bdlflash 14 } bdflashStatus OBJECT-TYPE SYNTAX INTEGER { busy(1), available(2) } ACCESS read-only STATUS mandatory DESCRIPTION "Status of the availability of flash" ::= { bdlflash 15 } bdflashEntries OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Number of entries in the flash directory" ::= { bdlflash 16 } -- Local Flash file Table -- This group contains information on a per file basis bdlflashFileDirTable OBJECT-TYPE SYNTAX SEQUENCE OF BdLflashFileDirEntry ACCESS not-accessible STATUS mandatory DESCRIPTION " A list of flash file entries." ::= { bdlflash 17 } bdlflashFileDirEntry OBJECT-TYPE SYNTAX BdLflashFileDirEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A collection of flash eprom objects" INDEX { flashEntries } ::= { bdlflashFileDirTable 1 } BdLflashFileDirEntry ::= SEQUENCE { bdflashDirName DisplayString, bdflashDirSize INTEGER, bdflashDirStatus INTEGER } -- The following section describes the components of the -- table. bdflashDirName OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "Name associated with the flash entry" ::= { bdlflashFileDirEntry 1 } bdflashDirSize OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Size in Octets of a flash entry" ::= { bdlflashFileDirEntry 2 } bdflashDirStatus OBJECT-TYPE SYNTAX INTEGER { valid(1), deleted(2) } ACCESS read-only STATUS mandatory DESCRIPTION "Indicates the status of the entry" ::= { bdlflashFileDirEntry 3 } -- End of table END