Advertisement
Guest User

Untitled

a guest
Jul 18th, 2012
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.00 KB | None | 0 0
  1. UNHANDLED EXCEPTION (2012-07-18 17:01:32.150108)
  2. Working directory: /opt/noc
  3. <class 'noc.fm.models.OIDCollision'>
  4. Cannot resolve OID 1.3.6.1.4.1.2011.6.10 collision between HUAWEI-CONFIG-MAN-MIB::hwConfig and HUAWEI-MIB::hwConfig. No preference for HUAWEI-CONFIG-MAN-MIB
  5. START OF TRACEBACK
  6. ------------------------------------------------------------------------
  7. File: /opt/noc/fm/models.py (Line: 370)
  8. Function: load_data
  9. 363 # Same oid, same name: duplicated declaration.
  10. 364 # Silently skip
  11. 365 continue
  12. 366 # Try to resolve collision
  13. 367 if not mib_preference:
  14. 368 # No preference for target MIB
  15. 369 raise OIDCollision(oid, oid_name, o.name,
  16. 370 ==> "No preference for %s" % self.name)
  17. 371 o_mib = o.name.split("::")[0]
  18. 372 if o_mib not in prefs:
  19. 373 mp = MIBPreference.objects.filter(
  20. 374 mib=o_mib).first()
  21. 375 if not mp:
  22. 376 # No preference for destination MIB
  23. Variables:
  24. description = None
  25. self = <MIB: HUAWEI-CONFIG-MAN-MIB>
  26. oid = '1.3.6.1.4.1.2011.6.10'
  27. o = <MIBData: HUAWEI-MIB::hwConfig>
  28. syntax = {'base_type': 'Integer32'}
  29. mp = None
  30. v = {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwConfig', 'description': None}
  31. oid_name = 'HUAWEI-CONFIG-MAN-MIB::hwConfig'
  32. prefs = {}
  33. data = [{'syntax': {'ranges': [{'max': '10', 'min': '1'}], 'range': {'max': '10', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateGlobalEntryLimit', 'description': 'The maximum number of copy entries that may be held\nin hwCfgOperateTable. A particular setting does not guarantee \nthat much data can be held.'}, {'syntax': {'name': 'TruthValue', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.8', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateEndNotificationSwitch', 'description': 'Specifies whether or not a notification should be \nissued on the completion of the operation.'}, {'syntax': {'name': 'IpAddress', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.10', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogCmdSrcAddress', 'description': " \nThe address from which a request comes when the value of hwCfgLogSrcCmd is 'snmp(2)'. \n\nThe ip address of the remote system connected when the value of hwCfgLogTerminalType\nis 'virtual'.\n \nOtherwise, the value of the object is 0.0.0.0."}, {'syntax': {'ranges': [{'max': '43200', 'min': '30'}], 'range': {'max': '43200', 'min': '30'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgSaveAutoNoCfgInterval', 'description': 'This object indicates the interval from the time configurations are automatically \nsaved to now.If the function of saving configuration automatically is not enabled, \nthe value is insignificant. Default value is 30.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogTable', 'description': 'A table of configuration log on this device.'}, {'syntax': {'name': 'DateAndTime', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgSaveManualTime', 'description': 'The object records the latest date and time when the current \nconfigurations were saved manually in the system.'}, {'syntax': {'name': 'TimeTicks', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgRunModifiedLast', 'description': 'The object records the value of sysUpTime when the current configuration\nrunning in the system was last modified.'}, {'syntax': {'ranges': [{'max': '50', 'min': '1'}], 'range': {'max': '50', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateResultGlobalEntryLimit', 'description': 'The maximum number of copy entries that may be held\nin hwCfgOperateResultTable. A particular setting does not guarantee \nthat much data can be held. Default value is 5.'}, {'syntax': {'name': 'RowStatus', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.7', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupRowStatus', 'description': ' '}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateTable', 'description': 'A table of config-operation requests.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersTable', 'description': 'Table on users of configuration lock or level.'}, {'syntax': {'name': 'TimeTicks', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5.1.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateEndTime', 'description': 'The value of sysUpTime when the configuration operation is finished.'}, {'syntax': {'name': 'DisplayString', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersLastCfgTime', 'description': 'The last configurate Time of users who have the configuration level or have locked the configuration.'}, {'syntax': {'ranges': [{'max': '20', 'min': '0'}], 'range': {'max': '20', 'min': '0'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.16', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogCfgBaselineTime', 'description': 'Specifies the time of system confiuration was baseline. '}, {'syntax': {'name': 'IpAddress', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateServerAddress', 'description': 'When the operation type is running2Net,net2Running,net2Startup\nor startup2net , the ip address of the FTP/TFTP/SFTP server from/to \nwhich to download/upload must be specified. \nValues of 0.0.0.0 or FF.FF.FF.FF are not permitted.'}, {'syntax': {'ranges': [{'max': '2147483647', 'min': '-1'}], 'range': {'max': '2147483647', 'min': '-1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersSessionID', 'description': 'SessionID of users who have the configuration level or have locked the configuration.'}, {'syntax': {'ranges': [{'max': '65535', 'min': '1'}], 'range': {'max': '65535', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.10', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateServerPort', 'description': 'This object specifies the SFTP/FTP server port that is used for file transfer \nonly if the value of hwCfgOperateProtocol is sftp/ftp. \nThe default SFTP server port is 22 if no port is specified. \nThe default FTP server port is 21 if no port is specified. \nIf the value of hwCfgOperateProtocol is not sftp/ftp, this object is ignored by the \nimplementation. '}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwConfig', 'description': None}, {'syntax': {'ranges': [{'max': '85', 'min': '0'}], 'range': {'max': '85', 'min': '0'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.7', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogTerminalUser', 'description': "\nThe name of a logging user which is available when hwCfgLogSrcCmd \nis 'cmdLine'. When hwCfgLogTerminalType is 'virtual' and user login\nin authentication, the object will be the name of the user. \nOtherwise, it is a zero length string."}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.3.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwConfigManCompliances', 'description': None}, {'syntax': {'name': 'TimeTicks', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.6.1.11', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgModuleChangeTime', 'description': 'Time on changes of the module.'}, {'syntax': {'active': {'nodetype': 'namednumber', 'number': '2'}, 'inactive': {'nodetype': 'namednumber', 'number': '1'}, 'basetype': 'Enumeration'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLockConfigDataStore', 'description': 'Config data unit lock/unlock controller,if set active(2),the lock will be locked if no one locked it before.\nif set inactive(1),the lock will be unlocked if the currunt user locked it before.'}, {'syntax': {'ranges': [{'max': '0', 'min': '0'}, {'max': '43200', 'min': '30'}], 'range': {'max': '43200', 'min': '0'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgSaveAutoInterval', 'description': 'The object records the interval minute of saving configuration automatically.\nIf the value of interval is zero,the function of saving configuration \nautomatically is disable,else the function of saving configuration \nautomatically is enable. Default value is 0.'}, {'syntax': {'ranges': [{'max': '64', 'min': '1'}], 'range': {'max': '64', 'min': '1'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.8', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupResult', 'description': ''}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.6.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgModuleChangeTimeEntry', 'description': 'Time entity on changes of the configuration module.'}, {'syntax': {'name': 'IpAddress', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupServerIp', 'description': 'The ip address of the FTP/TFTP/SFTP server to \nwhich to the device backup configuration automatically. \nValues of 0.0.0.0 or FF.FF.FF.FF are not permitted.'}, {'syntax': {'ranges': [{'max': '2147483647', 'min': '1'}], 'range': {'max': '2147483647', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateResultIndex', 'description': '\nThe index of Table, which is an incremental integer.\nThe maximum value of the node is 2147483647.The agent should wrap the\nvalue to 1 and flush all the existing entries when the maximum value\nis reached.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateResultEntry', 'description': 'The result entries of configuration operation requests.'}, {'syntax': {'name': 'DisplayString', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersIPAddr', 'description': 'IP Address of users who have the configuration level or have locked the configuration.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateEntry', 'description': 'An operate request entry.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.3.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwConfigManGroups', 'description': None}, {'syntax': {'name': 'DisplayString', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersSessionDesc', 'description': 'Description of users who have the configuration level or have locked the configuration.'}, {'syntax': {'name': 'ConfigOperationType', 'module': 'HUAWEI-CONFIG-MAN-MIB'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5.1.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateResultOpType', 'description': 'The operation type in the hwCfgOperateTable.'}, {'syntax': {'ranges': [{'max': '4', 'min': '0'}], 'range': {'max': '4', 'min': '0'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupIndex', 'description': 'The unique index value of a row in this table.'}, {'syntax': {'ranges': [{'max': '64', 'min': '1'}], 'range': {'max': '64', 'min': '1'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupServerPath', 'description': ''}, {'syntax': {'ftp': {'nodetype': 'namednumber', 'number': '1'}, 'tftp': {'nodetype': 'namednumber', 'number': '2'}, 'sftp': {'nodetype': 'namednumber', 'number': '3'}, 'basetype': 'Enumeration'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateProtocol', 'description': 'If the value of hwCfgOperateType is running2Net,net2Running,net2Startup\nor startup2net, this object specifies the protocol which is \nused for file transfer . \nThe default protocol is ftp if no protocol is specified. \nAnd for other value of hwCfgOperateType , this object may \nbe ignored by the implementation. '}, {'syntax': {'ranges': [{'max': '64', 'min': '0'}], 'range': {'max': '64', 'min': '0'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.14', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogFile', 'description': "The remote file name when hwCfgLogSrcData or hwCfgLogDesData has\nthe value of 'netFtp'.\nOtherwise, the value of the object is a zero length string."}, {'syntax': {'name': 'TimeTicks', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgStartModifiedLast', 'description': 'The object records the value of sysUpTime when the saved configuration \nused currently was last modified. It may have been changed by a save of the \ncurrent configuration running in the system or other methods such as copy.'}, {'syntax': {'name': 'Counter32', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogDeletedEntries', 'description': 'The total number of rows deleted from hwCfgLogTable. '}, {'syntax': {'name': 'TimeTicks', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgRunSavedLast', 'description': 'The object records the value of sysUpTime when the current configuration\nrunning in the system was last saved.\n \nIf the value of the object is smaller than\nhwCfgRunModifiedLast, the current configuration has been\nmodified but not saved.'}, {'syntax': {'ranges': [{'max': '40', 'min': '1'}], 'range': {'max': '40', 'min': '1'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.7', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateUserPassword', 'description': "When the operation type is running2Net,net2Running,net2Startup\nor startup2net , the user \npassword for the FTP/SFTP server from/to which to download/upload\nshould be specified. The object must be created if hwCfgOperateProtocol\nhas the value of 'ftp'. "}, {'syntax': {'ranges': [{'max': '2147483647', 'min': '0'}], 'range': {'max': '2147483647', 'min': '0'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogLimitedEntries', 'description': 'The object shows the maximum number of rows in\nhwCfgLogTable. The value supported by the system is 10.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwConfigManObjects', 'description': None}, {'syntax': {'name': 'TimeTicks', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogTime', 'description': 'Specifies the sysUpTime when the configuration log was generated.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackup2ServerEntry', 'description': 'An operate request entry.'}, {'syntax': {'name': 'Integer32', 'module': ''}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.8', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogTerminalNum', 'description': "Specifies the terminal number.\n\nIf hwCfgLogSrcCmd variable is not 'cmdLine'(such as 'snmp'or 'other'), the value of the object is '-1'.\nIf hwCfgLogSrcCmd variable is 'cmdLine', the value '-1' means that it is not the active terminal user."}, {'syntax': {'name': 'IpAddress', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.11', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateSourceAddress', 'description': 'The source IP address. When the operation type is running2Net,\nnet2Running, net2Startup or startup2net, the source IP address \nof the client may be specified or not. Default is 0.0.0.0 .\nIf the source type is set to both of IP address and interface, \nthe former has the priority.'}, {'syntax': {'ranges': [{'max': '16', 'min': '1'}, {'max': '24', 'min': '24'}], 'range': {'max': '24', 'min': '1'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupPassword', 'description': 'The length of password should be in 0-16 when password is not be encrypted.If a password is encrypted, its length should be 24'}, {'syntax': {'ranges': [{'max': '64', 'min': '0'}], 'range': {'max': '64', 'min': '0'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.11', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogVirHost', 'description': "The available host name of the remote system connected if \nhwCfgLogTerminalType has the value of 'virtual'.\nOtherwise, the value of the object is a zero length string."}, {'syntax': {'name': 'DisplayString', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersName', 'description': 'UserName of users who have the configuration level or have locked the configuration.'}, {'syntax': {'startupData': {'nodetype': 'namednumber', 'number': '4'}, 'commandSource': {'nodetype': 'namednumber', 'number': '3'}, 'netkFtp': {'nodetype': 'namednumber', 'number': '6'}, 'runningData': {'nodetype': 'namednumber', 'number': '2'}, 'basetype': 'Enumeration', 'unknown': {'nodetype': 'namednumber', 'number': '1'}, 'hotPlugging': {'nodetype': 'namednumber', 'number': '7'}, 'local': {'nodetype': 'namednumber', 'number': '5'}}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogDesData', 'description': 'The configuration data destination for the event.\nunknown unknown \nrunning operational data alive\ncommandSource the command source itself\nstartup what the system will use next reboot\nlocal local NVRAM or flash\nnetFtp FTP network transfer\nhotPlugging board is inserted or pulled out on line'}, {'syntax': {'ranges': [{'max': '2147483647', 'min': '1'}], 'range': {'max': '2147483647', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5.1.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateResultOptIndex', 'description': 'The operation index in the hwCfgOperateTable.'}, {'syntax': {'name': 'DisplayString', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersLockedTime', 'description': 'LoginTime of users who have the configuration level or have locked the configuration.'}, {'syntax': {'ranges': [{'max': '2147483647', 'min': '1'}], 'range': {'max': '2147483647', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.6.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgModuleId', 'description': 'Module index. It is an integer without enumeration. This is because the enumeration may expose the classification methods of modules. In addition, this field is uncertain in the beginning stage and once the value is determined, it cannot be modified.'}, {'syntax': {'name': 'TimeTicks', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5.1.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateTime', 'description': 'Records the time taken for the operation. This object will\nbe like a stopwatch, starting when the operation\nstarts, and stopping when the operation completes.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLog', 'description': None}, {'syntax': {'name': 'DateAndTime', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgSaveAutoTime', 'description': 'The object records the latest date and time when the current \nconfigurations were saved automatically in the system.'}, {'syntax': {'name': 'TruthValue', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogWantBackup', 'description': 'Decides whether or not to backup the configuration log information.\nIf the value is true, the data of configuration log on the master \nwill be sent to slave. Otherwise the data of log will be lost when \nmaster switches to slave. Default value is true.'}, {'syntax': {'ranges': [{'max': '64', 'min': '0'}], 'range': {'max': '64', 'min': '0'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.9', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogTerminalLocation', 'description': "The available location of the terminal when hwCfgLogSrcCmd \nis 'cmdLine'. Otherwise, it is a zero length string."}, {'syntax': {'ranges': [{'max': '60', 'min': '1'}], 'range': {'max': '60', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateEntryAgeOutTime', 'description': 'This value indicates the primary reference time of the hwCfgOperateEntry \nsaved in the hwCfgOperateTable.This value is not valid if there is extra \nspace in the hwCfgOperateTable, that is, the hwCfgOperateEntry is not deleted\nperiodically. \nIf there is no space in the hwCfgOperateTable to save a new hwCfgOperateEntry,\nthe expired hwCfgOperateEntry that is unactivated or the hwCfgOperateEntry \nthat is processed may be deleted. Default value is 5.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogEntry', 'description': 'Information about a configuration log in this system.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgSave', 'description': None}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackup2ServerTable', 'description': 'A table of config-operation requests.'}, {'syntax': {'name': 'RowStatus', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.9', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateRowStatus', 'description': 'The status of this table entry. \nWhen the status is active : \n(1) In the situation that the specified transfer operation by \nftp/tftp is in progress, the transfer operation will be aborted \nif the status is set to notInService. \n(2) In any other situations, the specified operation will not be \naborted even if the status is set to notInService. '}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLock', 'description': None}, {'syntax': {'ranges': [{'max': '40', 'min': '1'}], 'range': {'max': '40', 'min': '1'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateUserName', 'description': "When the operation type is running2Net,net2Running,net2Startup\nor startup2net , the user \nname for the FTP/SFTP server from/to which to download/upload\nshould be specified. The object must be created if hwCfgOperateProtocol\nhas the value of 'ftp'. "}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwConfigManNotifications', 'description': None}, {'syntax': {'netconf': {'nodetype': 'namednumber', 'number': '3'}, 'cmdLine': {'nodetype': 'namednumber', 'number': '1'}, 'other': {'nodetype': 'namednumber', 'number': '4'}, 'snmp': {'nodetype': 'namednumber', 'number': '2'}, 'basetype': 'Enumeration'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogSrcCmd', 'description': 'Specifies the source command resulting in the log.\nCurrently we provide the types of source:\n1.cmdLine(1):configuration log instigated by command line.\n2.snmp(2):configuration log instigated by snmp.\n3.other(3):configuration log instigated by other source unknown.'}, {'syntax': {'ranges': [{'max': '7200', 'min': '1'}], 'range': {'max': '7200', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1.7', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersTimeout', 'description': 'Unlock without configuration seconds, 1-7200, the default is 30'}, {'syntax': {'ranges': [{'max': '60', 'min': '1'}], 'range': {'max': '60', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgSaveAutoCpuLimit', 'description': 'This object indicates the upper limit of the CPU usage when configurations are \nautomatically saved.If the function of saving configuration automatically is not \nenabled, the value is insignificant. Default value is 50.'}, {'syntax': {'ranges': [{'max': '2147483647', 'min': '1'}], 'range': {'max': '2147483647', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogIndex', 'description': '\nThe index of hwCfgLogTable, which is a incremental integer.\nThe maximum value of the node is 2147483647.The table should wrap the\nvalue to 1 and flush all the existing entries when the maximum value\nis reached.'}, {'syntax': {'different': {'nodetype': 'namednumber', 'number': '2'}, 'initial': {'nodetype': 'namednumber', 'number': '0'}, 'same': {'nodetype': 'namednumber', 'number': '1'}, 'basetype': 'Enumeration'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.7', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateCompareConfig', 'description': 'compare configuration of the files'}, {'syntax': {'ranges': [{'max': '128', 'min': '1'}], 'range': {'max': '128', 'min': '1'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateFileName', 'description': 'When the object of hwCfgOperateType has the value of net2Startup, net2running or \nrunning2Net,the value must be specified. The file name may include the path if\napplicable.\nIf the value of hwCfgOperateType is net2Startup or net2running, this node specifies the\nsource file name of transfers.If the value of hwCfgOperateType is running2Net , \nthis node specify the destination file name of transfers.\nWhen hwCfgOperateType has the value of startup2net,the object may not be\ncreated instead of using the file name of startup configuration file.'}, {'syntax': {'startupData': {'nodetype': 'namednumber', 'number': '4'}, 'commandSource': {'nodetype': 'namednumber', 'number': '3'}, 'erase': {'nodetype': 'namednumber', 'number': '1'}, 'runningData': {'nodetype': 'namednumber', 'number': '2'}, 'basetype': 'Enumeration', 'hotPlugging': {'nodetype': 'namednumber', 'number': '7'}, 'local': {'nodetype': 'namednumber', 'number': '5'}, 'netFtp': {'nodetype': 'namednumber', 'number': '6'}}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogSrcData', 'description': 'The configuration data source for the event.\nerase erasing destination \nrunning operational data alive\ncommandSource the command source itself\nstartup what the system will use next reboot\nlocal local NVRAM or flash\nnetFtp FTP network transfer\nhotPlugging board is inserted or pulled out on line '}, {'syntax': {'ranges': [{'max': '47', 'min': '1'}], 'range': {'max': '47', 'min': '1'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.12', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateSourceInterface', 'description': 'The name of the interface.When the operation type is running2Net,\nnet2Running,net2Startup or startup2net, the source interface \nof the FTP/TFTP client may be specified or not. If the source \ntype is set to both of IP address and interface,the former has \nthe priority.'}, {'syntax': {'ranges': [{'max': '64', 'min': '1'}], 'range': {'max': '64', 'min': '1'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupUser', 'description': ''}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwConfigManConformance', 'description': None}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperate', 'description': None}, {'syntax': {'console': {'nodetype': 'namednumber', 'number': '3'}, 'auxiliary': {'nodetype': 'namednumber', 'number': '6'}, 'basetype': 'Enumeration', 'unknown': {'nodetype': 'namednumber', 'number': '2'}, 'virtual': {'nodetype': 'namednumber', 'number': '5'}, 'terminal': {'nodetype': 'namednumber', 'number': '4'}, 'notApplicable': {'nodetype': 'namednumber', 'number': '1'}}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogTerminalType', 'description': "Specifies the terminal type.\n\nIf hwCfgLogSrcData is not 'cmdLine', the value of the object is 'notApplicable'.\n\nThe value list:\nnotApplicable(1): no meaning at this time.\nunknown(2): unknown terminal type.\nconsole(3):\nterminal(4)\nvirtual(5)\nauxiliary(6)"}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersEntry', 'description': 'Users entity on lock or level of the configuration module.'}, {'syntax': {'name': 'ConfigOperationType', 'module': 'HUAWEI-CONFIG-MAN-MIB'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateType', 'description': 'Specifies the type of an operation on configuration.\nFor detailed information, please see the ConfigOperationType \ndefinition.'}, {'syntax': {'ranges': [{'max': '60', 'min': '1'}], 'range': {'max': '60', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgSaveAutoDelay', 'description': 'This object indicates the delay minute after some configurations change happens \nthen configurations are automatically saved.If the function of saving configuration \nautomatically is not enabled, the value is insignificant. Default value is 5.'}, {'syntax': {'ranges': [{'max': '64', 'min': '0'}], 'range': {'max': '64', 'min': '0'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.12', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogUserName', 'description': "The user name used when hwCfgLogSrcData or hwCfgLogDesData has \nthe value of 'netFtp'.\nOtherwise, the value of the object is a zero length string."}, {'syntax': {'ranges': [{'max': '2147483647', 'min': '1'}], 'range': {'max': '2147483647', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateIndex', 'description': 'The unique index value of a row in this table.'}, {'syntax': {'ranges': [{'max': '4294967294', 'min': '0'}], 'range': {'max': '4294967294', 'min': '0'}, 'basetype': 'Unsigned32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.15', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogConfigChangeId', 'description': 'This is the sequence ID of configuration. When configuration is changed, ID is added. '}, {'syntax': {'ftp': {'nodetype': 'namednumber', 'number': '1'}, 'tftp': {'nodetype': 'namednumber', 'number': '2'}, 'sftp': {'nodetype': 'namednumber', 'number': '3'}, 'basetype': 'Enumeration'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupProtocol', 'description': 'The default protocol is ftp if no protocol is specified. \nAnd for other value of hwCfgOperateType, this object may \nbe ignored by the implementation. '}, {'syntax': {'name': 'IpAddress', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.13', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogServerAddress', 'description': "The remote server address when hwCfgLogSrcData or hwCfgLogDesData \nhas the value of 'netFtp'.\nOtherwise, the value of the object is 0.0.0.0."}, {'syntax': {'opDeviceBusy': {'nodetype': 'namednumber', 'number': '8'}, 'opDeviceFull': {'nodetype': 'namednumber', 'number': '12'}, 'opDeviceNotProgrammable': {'nodetype': 'namednumber', 'number': '11'}, 'opInvalidSourceName': {'nodetype': 'namednumber', 'number': '5'}, 'opDeviceError': {'nodetype': 'namednumber', 'number': '10'}, 'opNoMemory': {'nodetype': 'namednumber', 'number': '16'}, 'opSuccess': {'nodetype': 'namednumber', 'number': '2'}, 'opInvalidSourceAddress': {'nodetype': 'namednumber', 'number': '21'}, 'opInProgress': {'nodetype': 'namednumber', 'number': '1'}, 'opInvalidOperation': {'nodetype': 'namednumber', 'number': '3'}, 'basetype': 'Enumeration', 'opAuthFail': {'nodetype': 'namednumber', 'number': '17'}, 'opAbort': {'nodetype': 'namednumber', 'number': '20'}, 'opInvalidProtocol': {'nodetype': 'namednumber', 'number': '4'}, 'opTimeOut': {'nodetype': 'namednumber', 'number': '18'}, 'opUnknownFailure': {'nodetype': 'namednumber', 'number': '19'}, 'opFileOpenError': {'nodetype': 'namednumber', 'number': '13'}, 'opInvalidDestName': {'nodetype': 'namednumber', 'number': '6'}, 'opFileTransferError': {'nodetype': 'namednumber', 'number': '14'}, 'opInvalidServerAddress': {'nodetype': 'namednumber', 'number': '7'}, 'opInvalidSourceInterface': {'nodetype': 'namednumber', 'number': '22'}, 'opDeviceOpenError': {'nodetype': 'namednumber', 'number': '9'}, 'opFileChecksumError': {'nodetype': 'namednumber', 'number': '15'}}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5.1.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateState', 'description': 'The status of the specified operation.\n\nopInProgress : \n specified operation is active\n\nopOperationSuccess : \n specified operation is supported and\n completed successfully\n\nopInvalidOperation : \n command invalid or command/protocol/device \n combination unsupported\n\nopInvalidProtocol :\n invalid protocol specified\n\nopInvalidSourceName :\n invalid source file name specified.\n \n\nopInvalidDestName :\n invalid target name specified.\n \n\nopInvalidServerAddress :\n invalid server address specified\n\nopDeviceBusy :\n specified device is in use and locked by \n another process\n\nopDeviceOpenError :\n invalid device name\n\nopDeviceError :\n device read, write or erase error\n\nopDeviceNotProgrammable :\n device is read-only but a write or erase \n operation was specified\n\nopDeviceFull :\n device is filled to capacity\n\nopFileOpenError :\n invalid file name; file not found in partition\n\nopFileTransferError :\n file transfer was unsuccessfull; network failure\n\nopFileChecksumError :\n file checksum in Flash failed\n\nopNoMemory :\n system running low on memory\n\nopAuthFail:\n invalid user name or password\n \nopTimeOut :\n file transfer was timeout\n\nopUnknownFailure :\n failure unknown\n\nopAbort :\n transfer operation has been aborted\n\nopInvalidSourceAdress :\n invalid source address specified.\n\nopInvalidSourceInterface :\n invalid source interface specified. \n '}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateResultTable', 'description': 'A table of config-operation requests result.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgModuleChangeTimeTable', 'description': 'Table on changes of configuration.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.2.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgInconsistentResume', 'description': 'When the system automatically detects \nthat configurations of the AMB and the SMB change \nfrom inconsistent to consistent, \nthe trap is generated.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.2.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgManEventlog', 'description': 'If the system configuration is changed,\na notification is generated.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.2.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgInconsistent', 'description': 'When the system automatically detects \nthat configurations of the AMB and the SMB are inconsistent, \nthe trap is generated.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.2.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateCompletion', 'description': 'When a configuration operation has been done, a \nnotification may be generated.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.2.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgB2STransferFail', 'description': 'When the system failed to backup current configuration to\nspecified server, this trap will generate to indicates the\ndetails information.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.2.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgB2SOperate', 'description': 'When the system begin to backup current configuration to\nservers, this trap will generate.'}]
  34. mib_preference = None
  35. ------------------------------------------------------------------------
  36. File: /opt/noc/fm/models.py (Line: 328)
  37. Function: load
  38. 321 data += [
  39. 322 {
  40. 323 "name": "%s::%s" % (mib_name, node),
  41. 324 "oid": v["oid"],
  42. 325 "description": v.get("description"),
  43. 326 "syntax": v["syntax"]["type"] if "syntax" in v else None
  44. 327 } for node, v in m.MIB[i].items()]
  45. 328 ==> mib.load_data(data)
  46. 329 # Save MIB to cache if not uploaded from cache
  47. 330 lcd = os.path.join("local", "share", "mibs")
  48. 331 if not os.path.isdir(lcd): # Ensure directory exists
  49. 332 os.makedirs(os.path.join("local", "share", "mibs"))
  50. 333 local_cache_path = os.path.join(lcd, "%s.mib" % mib_name)
  51. 334 cache_path = os.path.join("share", "mibs", "%s.mib" % mib_name)
  52. Variables:
  53. force = False
  54. depends_on = {'SNMPv2-CONF': <MIB: SNMPv2-CONF>, 'SNMPv2-SMI': <MIB: SNMPv2-SMI>, 'HUAWEI-MIB': <MIB: HUAWEI-MIB>, 'SNMPv2-TC': <MIB: SNMPv2-TC>, 'INET-ADDRESS-MIB': <MIB: INET-ADDRESS-MIB>}
  55. last_updated = datetime.datetime(2006, 8, 22, 22, 30)
  56. mib = <MIB: HUAWEI-CONFIG-MAN-MIB>
  57. rm = 'SNMPv2-TC'
  58. match = None
  59. smipath = ['share/mibs', 'local/share/mibs']
  60. node = 'hwCfgB2SOperate'
  61. m = <module 'mib' from '/tmp/tmprD6rMS'>
  62. typedefs = {'ConfigOperationType': {'enum_map': {'1': 'running2Startup', '3': 'running2Net', '2': 'startup2Running', '5': 'net2Startup', '4': 'net2Running', '6': 'startup2Net'}, 'base_type': 'Enumeration'}}
  63. path = '/tmp/tmpgm_qUP'
  64. mib_name = 'HUAWEI-CONFIG-MAN-MIB'
  65. data = [{'syntax': {'ranges': [{'max': '10', 'min': '1'}], 'range': {'max': '10', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateGlobalEntryLimit', 'description': 'The maximum number of copy entries that may be held\nin hwCfgOperateTable. A particular setting does not guarantee \nthat much data can be held.'}, {'syntax': {'name': 'TruthValue', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.8', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateEndNotificationSwitch', 'description': 'Specifies whether or not a notification should be \nissued on the completion of the operation.'}, {'syntax': {'name': 'IpAddress', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.10', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogCmdSrcAddress', 'description': " \nThe address from which a request comes when the value of hwCfgLogSrcCmd is 'snmp(2)'. \n\nThe ip address of the remote system connected when the value of hwCfgLogTerminalType\nis 'virtual'.\n \nOtherwise, the value of the object is 0.0.0.0."}, {'syntax': {'ranges': [{'max': '43200', 'min': '30'}], 'range': {'max': '43200', 'min': '30'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgSaveAutoNoCfgInterval', 'description': 'This object indicates the interval from the time configurations are automatically \nsaved to now.If the function of saving configuration automatically is not enabled, \nthe value is insignificant. Default value is 30.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogTable', 'description': 'A table of configuration log on this device.'}, {'syntax': {'name': 'DateAndTime', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgSaveManualTime', 'description': 'The object records the latest date and time when the current \nconfigurations were saved manually in the system.'}, {'syntax': {'name': 'TimeTicks', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgRunModifiedLast', 'description': 'The object records the value of sysUpTime when the current configuration\nrunning in the system was last modified.'}, {'syntax': {'ranges': [{'max': '50', 'min': '1'}], 'range': {'max': '50', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateResultGlobalEntryLimit', 'description': 'The maximum number of copy entries that may be held\nin hwCfgOperateResultTable. A particular setting does not guarantee \nthat much data can be held. Default value is 5.'}, {'syntax': {'name': 'RowStatus', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.7', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupRowStatus', 'description': ' '}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateTable', 'description': 'A table of config-operation requests.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersTable', 'description': 'Table on users of configuration lock or level.'}, {'syntax': {'name': 'TimeTicks', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5.1.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateEndTime', 'description': 'The value of sysUpTime when the configuration operation is finished.'}, {'syntax': {'name': 'DisplayString', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersLastCfgTime', 'description': 'The last configurate Time of users who have the configuration level or have locked the configuration.'}, {'syntax': {'ranges': [{'max': '20', 'min': '0'}], 'range': {'max': '20', 'min': '0'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.16', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogCfgBaselineTime', 'description': 'Specifies the time of system confiuration was baseline. '}, {'syntax': {'name': 'IpAddress', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateServerAddress', 'description': 'When the operation type is running2Net,net2Running,net2Startup\nor startup2net , the ip address of the FTP/TFTP/SFTP server from/to \nwhich to download/upload must be specified. \nValues of 0.0.0.0 or FF.FF.FF.FF are not permitted.'}, {'syntax': {'ranges': [{'max': '2147483647', 'min': '-1'}], 'range': {'max': '2147483647', 'min': '-1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersSessionID', 'description': 'SessionID of users who have the configuration level or have locked the configuration.'}, {'syntax': {'ranges': [{'max': '65535', 'min': '1'}], 'range': {'max': '65535', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.10', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateServerPort', 'description': 'This object specifies the SFTP/FTP server port that is used for file transfer \nonly if the value of hwCfgOperateProtocol is sftp/ftp. \nThe default SFTP server port is 22 if no port is specified. \nThe default FTP server port is 21 if no port is specified. \nIf the value of hwCfgOperateProtocol is not sftp/ftp, this object is ignored by the \nimplementation. '}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwConfig', 'description': None}, {'syntax': {'ranges': [{'max': '85', 'min': '0'}], 'range': {'max': '85', 'min': '0'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.7', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogTerminalUser', 'description': "\nThe name of a logging user which is available when hwCfgLogSrcCmd \nis 'cmdLine'. When hwCfgLogTerminalType is 'virtual' and user login\nin authentication, the object will be the name of the user. \nOtherwise, it is a zero length string."}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.3.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwConfigManCompliances', 'description': None}, {'syntax': {'name': 'TimeTicks', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.6.1.11', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgModuleChangeTime', 'description': 'Time on changes of the module.'}, {'syntax': {'active': {'nodetype': 'namednumber', 'number': '2'}, 'inactive': {'nodetype': 'namednumber', 'number': '1'}, 'basetype': 'Enumeration'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLockConfigDataStore', 'description': 'Config data unit lock/unlock controller,if set active(2),the lock will be locked if no one locked it before.\nif set inactive(1),the lock will be unlocked if the currunt user locked it before.'}, {'syntax': {'ranges': [{'max': '0', 'min': '0'}, {'max': '43200', 'min': '30'}], 'range': {'max': '43200', 'min': '0'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgSaveAutoInterval', 'description': 'The object records the interval minute of saving configuration automatically.\nIf the value of interval is zero,the function of saving configuration \nautomatically is disable,else the function of saving configuration \nautomatically is enable. Default value is 0.'}, {'syntax': {'ranges': [{'max': '64', 'min': '1'}], 'range': {'max': '64', 'min': '1'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.8', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupResult', 'description': ''}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.6.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgModuleChangeTimeEntry', 'description': 'Time entity on changes of the configuration module.'}, {'syntax': {'name': 'IpAddress', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupServerIp', 'description': 'The ip address of the FTP/TFTP/SFTP server to \nwhich to the device backup configuration automatically. \nValues of 0.0.0.0 or FF.FF.FF.FF are not permitted.'}, {'syntax': {'ranges': [{'max': '2147483647', 'min': '1'}], 'range': {'max': '2147483647', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateResultIndex', 'description': '\nThe index of Table, which is an incremental integer.\nThe maximum value of the node is 2147483647.The agent should wrap the\nvalue to 1 and flush all the existing entries when the maximum value\nis reached.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateResultEntry', 'description': 'The result entries of configuration operation requests.'}, {'syntax': {'name': 'DisplayString', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersIPAddr', 'description': 'IP Address of users who have the configuration level or have locked the configuration.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateEntry', 'description': 'An operate request entry.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.3.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwConfigManGroups', 'description': None}, {'syntax': {'name': 'DisplayString', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersSessionDesc', 'description': 'Description of users who have the configuration level or have locked the configuration.'}, {'syntax': {'name': 'ConfigOperationType', 'module': 'HUAWEI-CONFIG-MAN-MIB'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5.1.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateResultOpType', 'description': 'The operation type in the hwCfgOperateTable.'}, {'syntax': {'ranges': [{'max': '4', 'min': '0'}], 'range': {'max': '4', 'min': '0'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupIndex', 'description': 'The unique index value of a row in this table.'}, {'syntax': {'ranges': [{'max': '64', 'min': '1'}], 'range': {'max': '64', 'min': '1'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupServerPath', 'description': ''}, {'syntax': {'ftp': {'nodetype': 'namednumber', 'number': '1'}, 'tftp': {'nodetype': 'namednumber', 'number': '2'}, 'sftp': {'nodetype': 'namednumber', 'number': '3'}, 'basetype': 'Enumeration'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateProtocol', 'description': 'If the value of hwCfgOperateType is running2Net,net2Running,net2Startup\nor startup2net, this object specifies the protocol which is \nused for file transfer . \nThe default protocol is ftp if no protocol is specified. \nAnd for other value of hwCfgOperateType , this object may \nbe ignored by the implementation. '}, {'syntax': {'ranges': [{'max': '64', 'min': '0'}], 'range': {'max': '64', 'min': '0'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.14', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogFile', 'description': "The remote file name when hwCfgLogSrcData or hwCfgLogDesData has\nthe value of 'netFtp'.\nOtherwise, the value of the object is a zero length string."}, {'syntax': {'name': 'TimeTicks', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgStartModifiedLast', 'description': 'The object records the value of sysUpTime when the saved configuration \nused currently was last modified. It may have been changed by a save of the \ncurrent configuration running in the system or other methods such as copy.'}, {'syntax': {'name': 'Counter32', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogDeletedEntries', 'description': 'The total number of rows deleted from hwCfgLogTable. '}, {'syntax': {'name': 'TimeTicks', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgRunSavedLast', 'description': 'The object records the value of sysUpTime when the current configuration\nrunning in the system was last saved.\n \nIf the value of the object is smaller than\nhwCfgRunModifiedLast, the current configuration has been\nmodified but not saved.'}, {'syntax': {'ranges': [{'max': '40', 'min': '1'}], 'range': {'max': '40', 'min': '1'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.7', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateUserPassword', 'description': "When the operation type is running2Net,net2Running,net2Startup\nor startup2net , the user \npassword for the FTP/SFTP server from/to which to download/upload\nshould be specified. The object must be created if hwCfgOperateProtocol\nhas the value of 'ftp'. "}, {'syntax': {'ranges': [{'max': '2147483647', 'min': '0'}], 'range': {'max': '2147483647', 'min': '0'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogLimitedEntries', 'description': 'The object shows the maximum number of rows in\nhwCfgLogTable. The value supported by the system is 10.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwConfigManObjects', 'description': None}, {'syntax': {'name': 'TimeTicks', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogTime', 'description': 'Specifies the sysUpTime when the configuration log was generated.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackup2ServerEntry', 'description': 'An operate request entry.'}, {'syntax': {'name': 'Integer32', 'module': ''}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.8', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogTerminalNum', 'description': "Specifies the terminal number.\n\nIf hwCfgLogSrcCmd variable is not 'cmdLine'(such as 'snmp'or 'other'), the value of the object is '-1'.\nIf hwCfgLogSrcCmd variable is 'cmdLine', the value '-1' means that it is not the active terminal user."}, {'syntax': {'name': 'IpAddress', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.11', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateSourceAddress', 'description': 'The source IP address. When the operation type is running2Net,\nnet2Running, net2Startup or startup2net, the source IP address \nof the client may be specified or not. Default is 0.0.0.0 .\nIf the source type is set to both of IP address and interface, \nthe former has the priority.'}, {'syntax': {'ranges': [{'max': '16', 'min': '1'}, {'max': '24', 'min': '24'}], 'range': {'max': '24', 'min': '1'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupPassword', 'description': 'The length of password should be in 0-16 when password is not be encrypted.If a password is encrypted, its length should be 24'}, {'syntax': {'ranges': [{'max': '64', 'min': '0'}], 'range': {'max': '64', 'min': '0'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.11', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogVirHost', 'description': "The available host name of the remote system connected if \nhwCfgLogTerminalType has the value of 'virtual'.\nOtherwise, the value of the object is a zero length string."}, {'syntax': {'name': 'DisplayString', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersName', 'description': 'UserName of users who have the configuration level or have locked the configuration.'}, {'syntax': {'startupData': {'nodetype': 'namednumber', 'number': '4'}, 'commandSource': {'nodetype': 'namednumber', 'number': '3'}, 'netkFtp': {'nodetype': 'namednumber', 'number': '6'}, 'runningData': {'nodetype': 'namednumber', 'number': '2'}, 'basetype': 'Enumeration', 'unknown': {'nodetype': 'namednumber', 'number': '1'}, 'hotPlugging': {'nodetype': 'namednumber', 'number': '7'}, 'local': {'nodetype': 'namednumber', 'number': '5'}}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogDesData', 'description': 'The configuration data destination for the event.\nunknown unknown \nrunning operational data alive\ncommandSource the command source itself\nstartup what the system will use next reboot\nlocal local NVRAM or flash\nnetFtp FTP network transfer\nhotPlugging board is inserted or pulled out on line'}, {'syntax': {'ranges': [{'max': '2147483647', 'min': '1'}], 'range': {'max': '2147483647', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5.1.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateResultOptIndex', 'description': 'The operation index in the hwCfgOperateTable.'}, {'syntax': {'name': 'DisplayString', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersLockedTime', 'description': 'LoginTime of users who have the configuration level or have locked the configuration.'}, {'syntax': {'ranges': [{'max': '2147483647', 'min': '1'}], 'range': {'max': '2147483647', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.6.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgModuleId', 'description': 'Module index. It is an integer without enumeration. This is because the enumeration may expose the classification methods of modules. In addition, this field is uncertain in the beginning stage and once the value is determined, it cannot be modified.'}, {'syntax': {'name': 'TimeTicks', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5.1.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateTime', 'description': 'Records the time taken for the operation. This object will\nbe like a stopwatch, starting when the operation\nstarts, and stopping when the operation completes.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLog', 'description': None}, {'syntax': {'name': 'DateAndTime', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgSaveAutoTime', 'description': 'The object records the latest date and time when the current \nconfigurations were saved automatically in the system.'}, {'syntax': {'name': 'TruthValue', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogWantBackup', 'description': 'Decides whether or not to backup the configuration log information.\nIf the value is true, the data of configuration log on the master \nwill be sent to slave. Otherwise the data of log will be lost when \nmaster switches to slave. Default value is true.'}, {'syntax': {'ranges': [{'max': '64', 'min': '0'}], 'range': {'max': '64', 'min': '0'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.9', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogTerminalLocation', 'description': "The available location of the terminal when hwCfgLogSrcCmd \nis 'cmdLine'. Otherwise, it is a zero length string."}, {'syntax': {'ranges': [{'max': '60', 'min': '1'}], 'range': {'max': '60', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateEntryAgeOutTime', 'description': 'This value indicates the primary reference time of the hwCfgOperateEntry \nsaved in the hwCfgOperateTable.This value is not valid if there is extra \nspace in the hwCfgOperateTable, that is, the hwCfgOperateEntry is not deleted\nperiodically. \nIf there is no space in the hwCfgOperateTable to save a new hwCfgOperateEntry,\nthe expired hwCfgOperateEntry that is unactivated or the hwCfgOperateEntry \nthat is processed may be deleted. Default value is 5.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogEntry', 'description': 'Information about a configuration log in this system.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgSave', 'description': None}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackup2ServerTable', 'description': 'A table of config-operation requests.'}, {'syntax': {'name': 'RowStatus', 'module': 'SNMPv2-TC'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.9', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateRowStatus', 'description': 'The status of this table entry. \nWhen the status is active : \n(1) In the situation that the specified transfer operation by \nftp/tftp is in progress, the transfer operation will be aborted \nif the status is set to notInService. \n(2) In any other situations, the specified operation will not be \naborted even if the status is set to notInService. '}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLock', 'description': None}, {'syntax': {'ranges': [{'max': '40', 'min': '1'}], 'range': {'max': '40', 'min': '1'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateUserName', 'description': "When the operation type is running2Net,net2Running,net2Startup\nor startup2net , the user \nname for the FTP/SFTP server from/to which to download/upload\nshould be specified. The object must be created if hwCfgOperateProtocol\nhas the value of 'ftp'. "}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwConfigManNotifications', 'description': None}, {'syntax': {'netconf': {'nodetype': 'namednumber', 'number': '3'}, 'cmdLine': {'nodetype': 'namednumber', 'number': '1'}, 'other': {'nodetype': 'namednumber', 'number': '4'}, 'snmp': {'nodetype': 'namednumber', 'number': '2'}, 'basetype': 'Enumeration'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogSrcCmd', 'description': 'Specifies the source command resulting in the log.\nCurrently we provide the types of source:\n1.cmdLine(1):configuration log instigated by command line.\n2.snmp(2):configuration log instigated by snmp.\n3.other(3):configuration log instigated by other source unknown.'}, {'syntax': {'ranges': [{'max': '7200', 'min': '1'}], 'range': {'max': '7200', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1.7', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersTimeout', 'description': 'Unlock without configuration seconds, 1-7200, the default is 30'}, {'syntax': {'ranges': [{'max': '60', 'min': '1'}], 'range': {'max': '60', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgSaveAutoCpuLimit', 'description': 'This object indicates the upper limit of the CPU usage when configurations are \nautomatically saved.If the function of saving configuration automatically is not \nenabled, the value is insignificant. Default value is 50.'}, {'syntax': {'ranges': [{'max': '2147483647', 'min': '1'}], 'range': {'max': '2147483647', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogIndex', 'description': '\nThe index of hwCfgLogTable, which is a incremental integer.\nThe maximum value of the node is 2147483647.The table should wrap the\nvalue to 1 and flush all the existing entries when the maximum value\nis reached.'}, {'syntax': {'different': {'nodetype': 'namednumber', 'number': '2'}, 'initial': {'nodetype': 'namednumber', 'number': '0'}, 'same': {'nodetype': 'namednumber', 'number': '1'}, 'basetype': 'Enumeration'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.7', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateCompareConfig', 'description': 'compare configuration of the files'}, {'syntax': {'ranges': [{'max': '128', 'min': '1'}], 'range': {'max': '128', 'min': '1'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateFileName', 'description': 'When the object of hwCfgOperateType has the value of net2Startup, net2running or \nrunning2Net,the value must be specified. The file name may include the path if\napplicable.\nIf the value of hwCfgOperateType is net2Startup or net2running, this node specifies the\nsource file name of transfers.If the value of hwCfgOperateType is running2Net , \nthis node specify the destination file name of transfers.\nWhen hwCfgOperateType has the value of startup2net,the object may not be\ncreated instead of using the file name of startup configuration file.'}, {'syntax': {'startupData': {'nodetype': 'namednumber', 'number': '4'}, 'commandSource': {'nodetype': 'namednumber', 'number': '3'}, 'erase': {'nodetype': 'namednumber', 'number': '1'}, 'runningData': {'nodetype': 'namednumber', 'number': '2'}, 'basetype': 'Enumeration', 'hotPlugging': {'nodetype': 'namednumber', 'number': '7'}, 'local': {'nodetype': 'namednumber', 'number': '5'}, 'netFtp': {'nodetype': 'namednumber', 'number': '6'}}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogSrcData', 'description': 'The configuration data source for the event.\nerase erasing destination \nrunning operational data alive\ncommandSource the command source itself\nstartup what the system will use next reboot\nlocal local NVRAM or flash\nnetFtp FTP network transfer\nhotPlugging board is inserted or pulled out on line '}, {'syntax': {'ranges': [{'max': '47', 'min': '1'}], 'range': {'max': '47', 'min': '1'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.12', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateSourceInterface', 'description': 'The name of the interface.When the operation type is running2Net,\nnet2Running,net2Startup or startup2net, the source interface \nof the FTP/TFTP client may be specified or not. If the source \ntype is set to both of IP address and interface,the former has \nthe priority.'}, {'syntax': {'ranges': [{'max': '64', 'min': '1'}], 'range': {'max': '64', 'min': '1'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupUser', 'description': ''}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwConfigManConformance', 'description': None}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperate', 'description': None}, {'syntax': {'console': {'nodetype': 'namednumber', 'number': '3'}, 'auxiliary': {'nodetype': 'namednumber', 'number': '6'}, 'basetype': 'Enumeration', 'unknown': {'nodetype': 'namednumber', 'number': '2'}, 'virtual': {'nodetype': 'namednumber', 'number': '5'}, 'terminal': {'nodetype': 'namednumber', 'number': '4'}, 'notApplicable': {'nodetype': 'namednumber', 'number': '1'}}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogTerminalType', 'description': "Specifies the terminal type.\n\nIf hwCfgLogSrcData is not 'cmdLine', the value of the object is 'notApplicable'.\n\nThe value list:\nnotApplicable(1): no meaning at this time.\nunknown(2): unknown terminal type.\nconsole(3):\nterminal(4)\nvirtual(5)\nauxiliary(6)"}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.4.2.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateLevelUsersEntry', 'description': 'Users entity on lock or level of the configuration module.'}, {'syntax': {'name': 'ConfigOperationType', 'module': 'HUAWEI-CONFIG-MAN-MIB'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateType', 'description': 'Specifies the type of an operation on configuration.\nFor detailed information, please see the ConfigOperationType \ndefinition.'}, {'syntax': {'ranges': [{'max': '60', 'min': '1'}], 'range': {'max': '60', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgSaveAutoDelay', 'description': 'This object indicates the delay minute after some configurations change happens \nthen configurations are automatically saved.If the function of saving configuration \nautomatically is not enabled, the value is insignificant. Default value is 5.'}, {'syntax': {'ranges': [{'max': '64', 'min': '0'}], 'range': {'max': '64', 'min': '0'}, 'parent module': {'type': 'DisplayString', 'name': 'SNMPv2-TC'}, 'basetype': 'OctetString'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.12', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogUserName', 'description': "The user name used when hwCfgLogSrcData or hwCfgLogDesData has \nthe value of 'netFtp'.\nOtherwise, the value of the object is a zero length string."}, {'syntax': {'ranges': [{'max': '2147483647', 'min': '1'}], 'range': {'max': '2147483647', 'min': '1'}, 'basetype': 'Integer32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.4.1.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateIndex', 'description': 'The unique index value of a row in this table.'}, {'syntax': {'ranges': [{'max': '4294967294', 'min': '0'}], 'range': {'max': '4294967294', 'min': '0'}, 'basetype': 'Unsigned32'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.15', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogConfigChangeId', 'description': 'This is the sequence ID of configuration. When configuration is changed, ID is added. '}, {'syntax': {'ftp': {'nodetype': 'namednumber', 'number': '1'}, 'tftp': {'nodetype': 'namednumber', 'number': '2'}, 'sftp': {'nodetype': 'namednumber', 'number': '3'}, 'basetype': 'Enumeration'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.3.7.1.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgBackupProtocol', 'description': 'The default protocol is ftp if no protocol is specified. \nAnd for other value of hwCfgOperateType, this object may \nbe ignored by the implementation. '}, {'syntax': {'name': 'IpAddress', 'module': 'SNMPv2-SMI'}, 'oid': '1.3.6.1.4.1.2011.6.10.1.1.7.1.13', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgLogServerAddress', 'description': "The remote server address when hwCfgLogSrcData or hwCfgLogDesData \nhas the value of 'netFtp'.\nOtherwise, the value of the object is 0.0.0.0."}, {'syntax': {'opDeviceBusy': {'nodetype': 'namednumber', 'number': '8'}, 'opDeviceFull': {'nodetype': 'namednumber', 'number': '12'}, 'opDeviceNotProgrammable': {'nodetype': 'namednumber', 'number': '11'}, 'opInvalidSourceName': {'nodetype': 'namednumber', 'number': '5'}, 'opDeviceError': {'nodetype': 'namednumber', 'number': '10'}, 'opNoMemory': {'nodetype': 'namednumber', 'number': '16'}, 'opSuccess': {'nodetype': 'namednumber', 'number': '2'}, 'opInvalidSourceAddress': {'nodetype': 'namednumber', 'number': '21'}, 'opInProgress': {'nodetype': 'namednumber', 'number': '1'}, 'opInvalidOperation': {'nodetype': 'namednumber', 'number': '3'}, 'basetype': 'Enumeration', 'opAuthFail': {'nodetype': 'namednumber', 'number': '17'}, 'opAbort': {'nodetype': 'namednumber', 'number': '20'}, 'opInvalidProtocol': {'nodetype': 'namednumber', 'number': '4'}, 'opTimeOut': {'nodetype': 'namednumber', 'number': '18'}, 'opUnknownFailure': {'nodetype': 'namednumber', 'number': '19'}, 'opFileOpenError': {'nodetype': 'namednumber', 'number': '13'}, 'opInvalidDestName': {'nodetype': 'namednumber', 'number': '6'}, 'opFileTransferError': {'nodetype': 'namednumber', 'number': '14'}, 'opInvalidServerAddress': {'nodetype': 'namednumber', 'number': '7'}, 'opInvalidSourceInterface': {'nodetype': 'namednumber', 'number': '22'}, 'opDeviceOpenError': {'nodetype': 'namednumber', 'number': '9'}, 'opFileChecksumError': {'nodetype': 'namednumber', 'number': '15'}}, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5.1.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateState', 'description': 'The status of the specified operation.\n\nopInProgress : \n specified operation is active\n\nopOperationSuccess : \n specified operation is supported and\n completed successfully\n\nopInvalidOperation : \n command invalid or command/protocol/device \n combination unsupported\n\nopInvalidProtocol :\n invalid protocol specified\n\nopInvalidSourceName :\n invalid source file name specified.\n \n\nopInvalidDestName :\n invalid target name specified.\n \n\nopInvalidServerAddress :\n invalid server address specified\n\nopDeviceBusy :\n specified device is in use and locked by \n another process\n\nopDeviceOpenError :\n invalid device name\n\nopDeviceError :\n device read, write or erase error\n\nopDeviceNotProgrammable :\n device is read-only but a write or erase \n operation was specified\n\nopDeviceFull :\n device is filled to capacity\n\nopFileOpenError :\n invalid file name; file not found in partition\n\nopFileTransferError :\n file transfer was unsuccessfull; network failure\n\nopFileChecksumError :\n file checksum in Flash failed\n\nopNoMemory :\n system running low on memory\n\nopAuthFail:\n invalid user name or password\n \nopTimeOut :\n file transfer was timeout\n\nopUnknownFailure :\n failure unknown\n\nopAbort :\n transfer operation has been aborted\n\nopInvalidSourceAdress :\n invalid source address specified.\n\nopInvalidSourceInterface :\n invalid source interface specified. \n '}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateResultTable', 'description': 'A table of config-operation requests result.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.1.2.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgModuleChangeTimeTable', 'description': 'Table on changes of configuration.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.2.4', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgInconsistentResume', 'description': 'When the system automatically detects \nthat configurations of the AMB and the SMB change \nfrom inconsistent to consistent, \nthe trap is generated.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.2.1', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgManEventlog', 'description': 'If the system configuration is changed,\na notification is generated.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.2.3', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgInconsistent', 'description': 'When the system automatically detects \nthat configurations of the AMB and the SMB are inconsistent, \nthe trap is generated.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.2.2', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgOperateCompletion', 'description': 'When a configuration operation has been done, a \nnotification may be generated.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.2.5', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgB2STransferFail', 'description': 'When the system failed to backup current configuration to\nspecified server, this trap will generate to indicates the\ndetails information.'}, {'syntax': None, 'oid': '1.3.6.1.4.1.2011.6.10.2.6', 'name': 'HUAWEI-CONFIG-MAN-MIB::hwCfgB2SOperate', 'description': 'When the system begin to backup current configuration to\nservers, this trap will generate.'}]
  66. md = <MIB: SNMPv2-TC>
  67. f = <closed file '/tmp/tmprD6rMS', mode 'w' at 0x5289ed0>
  68. i = 'notifications'
  69. mib_description = 'The HUAWEI-CONFIG-MAN-MIB contains objects to manage the system configuration. \nIt defines the model used to represent configuration data that exists elsewhere \nin the system and in peripheral devices. The MIB is proper for system configuration.\nNMS can query configuration change log information and operate configuration.\nThere are no constraints on this MIB.'
  70. l = "/tmp/tmpgm_qUP:21: {import-unused} warning: identifier `InetAddress' imported from module `INET-ADDRESS-MIB' is never used\n"
  71. p = '/tmp/tmprD6rMS'
  72. t = 'ConfigOperationType'
  73. v = {'status': 'current', 'moduleName': 'HUAWEI-CONFIG-MAN-MIB', 'nodetype': 'notification', 'description': 'When the system begin to backup current configuration to\nservers, this trap will generate.', 'oid': '1.3.6.1.4.1.2011.6.10.2.6', 'objects': {}}
  74. x = {'date': '2006-08-22 22:30', 'description': 'The initial revision of this MIB module .'}
  75. cls = <class 'noc.fm.models.MIB'>
  76. ------------------------------------------------------------------------
  77. File: /opt/noc/fm/apps/mib/views.py (Line: 148)
  78. Function: view_add
  79. 141 uploaded = set()
  80. 142 while len(left) > 0:
  81. 143 n = len(left)
  82. 144 for form in left.keys():
  83. 145 # Try to upload MIB
  84. 146 with temporary_file(form.cleaned_data["file"].read()) as path:
  85. 147 try:
  86. 148 ==> mib = MIB.load(path)
  87. 149 uploaded.add(mib.name)
  88. 150 del left[form]
  89. 151 except MIBRequiredException, x:
  90. 152 left[form] = "%s requires %s" % (x.mib,
  91. 153 x.requires_mib)
  92. 154 nn = len(left)
  93. Variables:
  94. uploaded = set([])
  95. form = <noc.fm.apps.mib.views.MIBUploadForm object at 0x52c7150>
  96. self = <noc.fm.apps.mib.views.MIBApplication object at 0x4789fd0>
  97. request = <WSGIRequest
  98. GET:<QueryDict: {}>,
  99. POST:<QueryDict: {u'form-9-file': [u''], u'form-5-file': [u''], u'form-2-file': [u''], u'form-6-file': [u''], u'form-MAX_NUM_FORMS': [u''], u'form-8-file': [u''], u'form-TOTAL_FORMS': [u'10'], u'form-1-file': [u''], u'form-7-file': [u''], u'form-3-file': [u''], u'form-INITIAL_FORMS': [u'0'], u'form-4-file': [u'']}>,
  100. COOKIES:{'csrftoken': 'ee6dc74f3589c341446639d0d332b23f',
  101. 'sessionid': '436f110b2ee050f5d54a9923f9dd22f7'},
  102. META:{'CONTENT_LENGTH': '55347',
  103. 'CONTENT_TYPE': 'multipart/form-data; boundary=----WebKitFormBoundary2vAimy6Z5NQSdlG0',
  104. 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  105. 'HTTP_ACCEPT_CHARSET': 'windows-1251,utf-8;q=0.7,*;q=0.3',
  106. 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
  107. 'HTTP_ACCEPT_LANGUAGE': 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4',
  108. 'HTTP_CACHE_CONTROL': 'max-age=0',
  109. 'HTTP_CONNECTION': 'close',
  110. 'HTTP_COOKIE': 'csrftoken=ee6dc74f3589c341446639d0d332b23f; sessionid=436f110b2ee050f5d54a9923f9dd22f7',
  111. 'HTTP_HOST': 'nocproject.tsua.net',
  112. 'HTTP_ORIGIN': 'http://nocproject.tsua.net',
  113. 'HTTP_REFERER': 'http://nocproject.tsua.net/fm/mib/add/',
  114. 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11',
  115. 'HTTP_X_FORWARDED_FOR': '212.40.49.30',
  116. 'HTTP_X_REAL_IP': '212.40.49.30',
  117. 'PATH_INFO': u'/fm/mib/add/',
  118. 'QUERY_STRING': '',
  119. 'REMOTE_ADDR': '127.0.0.1',
  120. 'REQUEST_METHOD': 'POST',
  121. 'SCRIPT_NAME': u'',
  122. 'SERVER_NAME': 'nocproject.tsua.net',
  123. 'SERVER_PORT': '80',
  124. 'SERVER_PROTOCOL': 'HTTP/1.0',
  125. 'wsgi.errors': <open file '/dev/null', mode 'a+' at 0x235a1e0>,
  126. 'wsgi.input': <io.BytesIO object at 0x4f39110>,
  127. 'wsgi.multiprocess': True,
  128. 'wsgi.multithread': False,
  129. 'wsgi.run_once': False,
  130. 'wsgi.url_scheme': 'http',
  131. 'wsgi.version': (1, 0)}>
  132. n = 1
  133. upload_formset = <class 'django.forms.formsets.MIBUploadFormFormSet'>
  134. path = '/tmp/tmpgm_qUP'
  135. formset = <django.forms.formsets.MIBUploadFormFormSet object at 0x5472f90>
  136. left = {<noc.fm.apps.mib.views.MIBUploadForm object at 0x52c7150>: None}
  137. ------------------------------------------------------------------------
  138. File: /opt/noc/lib/app/site.py (Line: 226)
  139. Function: inner
  140. 219 for k, v in request.POST.lists())
  141. 220 elif request.method == "GET":
  142. 221 a = dict((k, v[0] if len(v) == 1 else v)
  143. 222 for k, v in request.GET.lists())
  144. 223 logging.debug("API %s %s %s" % (request.method,
  145. 224 request.path, a))
  146. 225 # Call handler
  147. 226 ==> r = v(request, *args, **kwargs)
  148. 227 # Dump SQL statements
  149. 228 if self.log_sql_statements:
  150. 229 from django.db import connections
  151. 230 tsc = 0
  152. 231 sc = defaultdict(int)
  153. 232 for conn in connections.all():
  154. Variables:
  155. args = ()
  156. view_map = {'PUT': <bound method MIBApplication.view_add of <noc.fm.apps.mib.views.MIBApplication object at 0x4789fd0>>, 'POST': <bound method MIBApplication.view_add of <noc.fm.apps.mib.views.MIBApplication object at 0x4789fd0>>, 'GET': <bound method MIBApplication.view_add of <noc.fm.apps.mib.views.MIBApplication object at 0x4789fd0>>, 'DELETE': <bound method MIBApplication.view_add of <noc.fm.apps.mib.views.MIBApplication object at 0x4789fd0>>}
  157. Form = <class 'django.forms.forms.Form'>
  158. DictParameter = <class 'noc.sa.interfaces.base.DictParameter'>
  159. self = <noc.lib.app.site.Site object at 0x2da05d0>
  160. v = <bound method MIBApplication.view_add of <noc.fm.apps.mib.views.MIBApplication object at 0x4789fd0>>
  161. request = <WSGIRequest
  162. GET:<QueryDict: {}>,
  163. POST:<QueryDict: {u'form-9-file': [u''], u'form-5-file': [u''], u'form-2-file': [u''], u'form-6-file': [u''], u'form-MAX_NUM_FORMS': [u''], u'form-8-file': [u''], u'form-TOTAL_FORMS': [u'10'], u'form-1-file': [u''], u'form-7-file': [u''], u'form-3-file': [u''], u'form-INITIAL_FORMS': [u'0'], u'form-4-file': [u'']}>,
  164. COOKIES:{'csrftoken': 'ee6dc74f3589c341446639d0d332b23f',
  165. 'sessionid': '436f110b2ee050f5d54a9923f9dd22f7'},
  166. META:{'CONTENT_LENGTH': '55347',
  167. 'CONTENT_TYPE': 'multipart/form-data; boundary=----WebKitFormBoundary2vAimy6Z5NQSdlG0',
  168. 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  169. 'HTTP_ACCEPT_CHARSET': 'windows-1251,utf-8;q=0.7,*;q=0.3',
  170. 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
  171. 'HTTP_ACCEPT_LANGUAGE': 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4',
  172. 'HTTP_CACHE_CONTROL': 'max-age=0',
  173. 'HTTP_CONNECTION': 'close',
  174. 'HTTP_COOKIE': 'csrftoken=ee6dc74f3589c341446639d0d332b23f; sessionid=436f110b2ee050f5d54a9923f9dd22f7',
  175. 'HTTP_HOST': 'nocproject.tsua.net',
  176. 'HTTP_ORIGIN': 'http://nocproject.tsua.net',
  177. 'HTTP_REFERER': 'http://nocproject.tsua.net/fm/mib/add/',
  178. 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11',
  179. 'HTTP_X_FORWARDED_FOR': '212.40.49.30',
  180. 'HTTP_X_REAL_IP': '212.40.49.30',
  181. 'PATH_INFO': u'/fm/mib/add/',
  182. 'QUERY_STRING': '',
  183. 'REMOTE_ADDR': '127.0.0.1',
  184. 'REQUEST_METHOD': 'POST',
  185. 'SCRIPT_NAME': u'',
  186. 'SERVER_NAME': 'nocproject.tsua.net',
  187. 'SERVER_PORT': '80',
  188. 'SERVER_PROTOCOL': 'HTTP/1.0',
  189. 'wsgi.errors': <open file '/dev/null', mode 'a+' at 0x235a1e0>,
  190. 'wsgi.input': <io.BytesIO object at 0x4f39110>,
  191. 'wsgi.multiprocess': True,
  192. 'wsgi.multithread': False,
  193. 'wsgi.run_once': False,
  194. 'wsgi.url_scheme': 'http',
  195. 'wsgi.version': (1, 0)}>
  196. to_log_api_call = False
  197. InterfaceTypeError = <class 'noc.sa.interfaces.base.InterfaceTypeError'>
  198. PermissionDenied = <class 'noc.lib.app.access.PermissionDenied'>
  199. kwargs = {}
  200. app = <noc.fm.apps.mib.views.MIBApplication object at 0x4789fd0>
  201. ------------------------------------------------------------------------
  202. END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement