content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
var.nexus_allowAllDigitNames = True # put it somewhere else var.doCheckForDuplicateSequences = False t = var.trees[0] a = var.alignments[0] t.data = Data() t.model.dump() print('\nAfter optimizing, the composition of the model for the non-root nodes is:') print(t.model.parts[0].comps[0].val) print('...and:') print(t.model.parts[0].comps[1].val) print('and ...') print(t.model.parts[0].comps[2].val) print('and root comp...') print(t.model.parts[0].comps[3].val) t.write() t.draw() print(dir(t.model.parts[0])) print(t.model.parts[0].ndch2_writeComps) func.reseedCRandomizer(os.getpid()) print (t.model.parts[0]) # The char "symbols", AAs in this case, are available as a.symbols; that is why # I gave a name to var.alignments[0]. Also available as # d.parts[partNum].symbols, so d.parts[0].symbols are also 'arndcqeghilkmfpstwyv' print(a.symbols) counts = [0] * 2 for rep in range(1000): ancSt = t.ancestralStateDraw() for i in range(2): ch = a.symbols[i] # '01' cnt = ancSt.count(ch) counts[i] += cnt mySum = float(sum(counts)) print("\nsymbol optimized draws") for i in range(2): print(" %s %.5f %.4f" % (a.symbols[i], t.model.parts[0].comps[2].val[i], counts[i]/mySum)) #calculate predicted OGT according to Zeldovich for i in range(4): print("For composition " + str(i)) print(t.model.parts[0].comps[i].nNodes) f_ivywrel = 0 f_ivywrel = t.model.parts[0].comps[i].val[1] print("F(IVYWREL) = " + str(f_ivywrel)) print("T_opt estimate according to Zeldovich: " + str(937.0*float(f_ivywrel) - 335.0))
var.nexus_allowAllDigitNames = True var.doCheckForDuplicateSequences = False t = var.trees[0] a = var.alignments[0] t.data = data() t.model.dump() print('\nAfter optimizing, the composition of the model for the non-root nodes is:') print(t.model.parts[0].comps[0].val) print('...and:') print(t.model.parts[0].comps[1].val) print('and ...') print(t.model.parts[0].comps[2].val) print('and root comp...') print(t.model.parts[0].comps[3].val) t.write() t.draw() print(dir(t.model.parts[0])) print(t.model.parts[0].ndch2_writeComps) func.reseedCRandomizer(os.getpid()) print(t.model.parts[0]) print(a.symbols) counts = [0] * 2 for rep in range(1000): anc_st = t.ancestralStateDraw() for i in range(2): ch = a.symbols[i] cnt = ancSt.count(ch) counts[i] += cnt my_sum = float(sum(counts)) print('\nsymbol optimized draws') for i in range(2): print(' %s %.5f %.4f' % (a.symbols[i], t.model.parts[0].comps[2].val[i], counts[i] / mySum)) for i in range(4): print('For composition ' + str(i)) print(t.model.parts[0].comps[i].nNodes) f_ivywrel = 0 f_ivywrel = t.model.parts[0].comps[i].val[1] print('F(IVYWREL) = ' + str(f_ivywrel)) print('T_opt estimate according to Zeldovich: ' + str(937.0 * float(f_ivywrel) - 335.0))
# # PySNMP MIB module HUAWEI-DATASYNC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-DATASYNC-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:43:58 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsUnion, ValueSizeConstraint, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsIntersection") hwDatacomm, = mibBuilder.importSymbols("HUAWEI-MIB", "hwDatacomm") NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup") Integer32, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Unsigned32, Counter64, MibIdentifier, NotificationType, Gauge32, IpAddress, ModuleIdentity, iso, Bits, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Unsigned32", "Counter64", "MibIdentifier", "NotificationType", "Gauge32", "IpAddress", "ModuleIdentity", "iso", "Bits", "ObjectIdentity") RowStatus, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "DisplayString") hwDataSync = ModuleIdentity((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191)) hwDataSync.setRevisions(('2015-07-16 13:49', '2014-09-04 17:10', '2009-03-17 10:27',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hwDataSync.setRevisionsDescriptions(('Add hwCfgLastSaveFailNotify .', 'The MIB module for Data sync between host and netmanager.', 'The initial revision of this MIB module .',)) if mibBuilder.loadTexts: hwDataSync.setLastUpdated('201507161349Z') if mibBuilder.loadTexts: hwDataSync.setOrganization('Huawei Technologies Co.,Ltd.') if mibBuilder.loadTexts: hwDataSync.setContactInfo("Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://www.huawei.com Email: support@huawei.com ") if mibBuilder.loadTexts: hwDataSync.setDescription('Modified hwCfgChgTerminalID.') class DateAndTime(TextualConvention, OctetString): description = "A date-time specification. field octets contents range ----- ------ -------- ----- 1 1-2 year* 0..65536 2 3 month 1..12 3 4 day 1..31 4 5 hour 0..23 5 6 minutes 0..59 6 7 seconds 0..60 (use 60 for leap-second) 7 8 deci-seconds 0..9 8 9 direction from UTC '+' / '-' 9 10 hours from UTC* 0..13 10 11 minutes from UTC 0..59 * Notes: - the value of year is in network-byte order - daylight saving time in New Zealand is +13 For example, Tuesday May 26, 1992 at 1:30:15 PM EDT would be displayed as: 1992-5-26,13:30:15.0,-4:0 Note that if only local time is known, then timezone information (fields 8-10) is not present." status = 'current' displayHint = '2d-1d-1d,1d:1d:1d.1d,1a1d:1d' subtypeSpec = OctetString.subtypeSpec + ConstraintsUnion(ValueSizeConstraint(8, 8), ValueSizeConstraint(11, 11), ) hwDataSyncScalarObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 1)) hwDataSyncTableObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2)) hwDataSyncNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 3)) hwDataSyncConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 4)) hwCurrentCfgChgSeqID = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCurrentCfgChgSeqID.setStatus('current') if mibBuilder.loadTexts: hwCurrentCfgChgSeqID.setDescription('The value of this object identifies the ID of the current configuration change. The value ranges from 0 to 65535. After the ID of the configuration change reaches the maximum value, the value of the ID starts from 1 again. After the device is restarted, the value of the ID becomes 0.') hwCfgChgSeqIDReveralCount = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCfgChgSeqIDReveralCount.setStatus('current') if mibBuilder.loadTexts: hwCfgChgSeqIDReveralCount.setDescription('The value of this object identifies the cycle count of the index of configuration change table.') hwCfgChgTableMaxItem = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCfgChgTableMaxItem.setStatus('current') if mibBuilder.loadTexts: hwCfgChgTableMaxItem.setDescription('The value of this object identifies the maximum number of entries in hwCfgChgTable. ') hwCfgBaselineTime = MibScalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCfgBaselineTime.setStatus('current') if mibBuilder.loadTexts: hwCfgBaselineTime.setDescription('Specifies the time of system confiuration was baseline.') hwDataSyncGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 4, 1)) hwDataSyncScalarObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 4, 1, 1)).setObjects(("HUAWEI-DATASYNC-MIB", "hwCurrentCfgChgSeqID"), ("HUAWEI-DATASYNC-MIB", "hwCfgChgSeqIDReveralCount"), ("HUAWEI-DATASYNC-MIB", "hwCfgChgTableMaxItem"), ("HUAWEI-DATASYNC-MIB", "hwCfgBaselineTime")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwDataSyncScalarObjectsGroup = hwDataSyncScalarObjectsGroup.setStatus('current') if mibBuilder.loadTexts: hwDataSyncScalarObjectsGroup.setDescription('A collection of objects on DataSync ScalarObjects Information.') hwCfgChgNotifyGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 4, 1, 2)).setObjects(("HUAWEI-DATASYNC-MIB", "hwCfgChgNotify")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwCfgChgNotifyGroup = hwCfgChgNotifyGroup.setStatus('current') if mibBuilder.loadTexts: hwCfgChgNotifyGroup.setDescription('A collection of objects on Configuration Change Information.') hwDataSyncNotifyGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 4, 1, 3)).setObjects(("HUAWEI-DATASYNC-MIB", "hwCfgLastSaveFailNotify")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwDataSyncNotifyGroup = hwDataSyncNotifyGroup.setStatus('current') if mibBuilder.loadTexts: hwDataSyncNotifyGroup.setDescription('A collection of objects on synchronization Configuration Notify Information.') hwDataSyncCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 4, 2)) hwDataSyncCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 4, 2, 1)).setObjects() if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwDataSyncCompliance = hwDataSyncCompliance.setStatus('current') if mibBuilder.loadTexts: hwDataSyncCompliance.setDescription('The compliance statement for entities that support the huawei DataSync MIB.') hwCfgChgTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1), ) if mibBuilder.loadTexts: hwCfgChgTable.setStatus('current') if mibBuilder.loadTexts: hwCfgChgTable.setDescription('This table is used to record configuration changes. In this table, you can find the configuration change based on the specific index.') hwCfgChgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1), ).setIndexNames((0, "HUAWEI-DATASYNC-MIB", "hwCfgChgSeqID")) if mibBuilder.loadTexts: hwCfgChgEntry.setStatus('current') if mibBuilder.loadTexts: hwCfgChgEntry.setDescription('Entry of hwCfgChgTable.') hwCfgChgSeqID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCfgChgSeqID.setStatus('current') if mibBuilder.loadTexts: hwCfgChgSeqID.setDescription('The value of this object identifies the configuration change ID. When configuration is changed, the sequence id will plus 1.') hwCfgChgTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 2), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCfgChgTime.setStatus('current') if mibBuilder.loadTexts: hwCfgChgTime.setDescription('This object indicates the configuration change time.') hwCfgChgTerminalType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("snmp", 1), ("telnet", 2), ("netconf", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCfgChgTerminalType.setStatus('current') if mibBuilder.loadTexts: hwCfgChgTerminalType.setDescription('This object indicates the type of the terminal.') hwCfgChgTerminalID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCfgChgTerminalID.setStatus('current') if mibBuilder.loadTexts: hwCfgChgTerminalID.setDescription('The value of this object identifies the terminal ID.') hwCfgChgType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("create", 1), ("modify", 2), ("delete", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCfgChgType.setStatus('current') if mibBuilder.loadTexts: hwCfgChgType.setDescription('This object indicates the configuration change type.') hwCfgChgViewName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 6), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCfgChgViewName.setStatus('current') if mibBuilder.loadTexts: hwCfgChgViewName.setDescription('This object indicates the name of the view in which the configuration change occurs. For the command operation, the object is the name of the view in which the command is run. For the SNMP operation, the object is the OID of the MIB table or the scalar object.') hwCfgChgCmdID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCfgChgCmdID.setStatus('current') if mibBuilder.loadTexts: hwCfgChgCmdID.setDescription('The value of this object identifies the ID of the configuration change command. For the SNMP operation, the value is 0.') hwCfgChgDetailInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 8), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCfgChgDetailInfo.setStatus('current') if mibBuilder.loadTexts: hwCfgChgDetailInfo.setDescription('This object indicates detailed configuration change information. For the command operation, the object is the command line. For the SNMP operation, the object is the index of the MIB table. When there are multiple indexes, the format of index1.index2.index3 is adopted.') hwCollectTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2), ) if mibBuilder.loadTexts: hwCollectTable.setStatus('current') if mibBuilder.loadTexts: hwCollectTable.setDescription('This table is used to enable the NMS to send the collecting script to the device to trigger the collection, and then monitor the collection status.') hwCollectEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1), ).setIndexNames((0, "HUAWEI-DATASYNC-MIB", "hwCollectIndex")) if mibBuilder.loadTexts: hwCollectEntry.setStatus('current') if mibBuilder.loadTexts: hwCollectEntry.setDescription('Entry of hwCollectTable.') hwCollectIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1, 1), Integer32()) if mibBuilder.loadTexts: hwCollectIndex.setStatus('current') if mibBuilder.loadTexts: hwCollectIndex.setDescription('The value of this object identifies the collection index.') hwCollectNetManageId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwCollectNetManageId.setStatus('current') if mibBuilder.loadTexts: hwCollectNetManageId.setDescription('The value of this object identifies the NMS ID.') hwCollectOperation = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("begin", 1), ("stop", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwCollectOperation.setStatus('current') if mibBuilder.loadTexts: hwCollectOperation.setDescription('This object indicates the instruction for the collection operation. Default value is stop.') hwCollectInScriptFile = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwCollectInScriptFile.setStatus('current') if mibBuilder.loadTexts: hwCollectInScriptFile.setDescription('This object indicates the name of the script file. T he length of the file name ranges from 1 character to 255 characters.') hwCollectInResultFile = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwCollectInResultFile.setStatus('current') if mibBuilder.loadTexts: hwCollectInResultFile.setDescription('This object indicates the name of the result file. The length of the file name ranges from 1 character to 255 characters.') hwCollectState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("idle", 1), ("collecting", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCollectState.setStatus('current') if mibBuilder.loadTexts: hwCollectState.setDescription('This object indicates the collection status.') hwCollectRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwCollectRowStatus.setStatus('current') if mibBuilder.loadTexts: hwCollectRowStatus.setDescription('This object indicates the row status.') hwCfgChgNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 3, 1)).setObjects(("HUAWEI-DATASYNC-MIB", "hwCurrentCfgChgSeqID"), ("HUAWEI-DATASYNC-MIB", "hwCfgChgSeqIDReveralCount"), ("HUAWEI-DATASYNC-MIB", "hwCfgChgTableMaxItem"), ("HUAWEI-DATASYNC-MIB", "hwCfgBaselineTime")) if mibBuilder.loadTexts: hwCfgChgNotify.setStatus('current') if mibBuilder.loadTexts: hwCfgChgNotify.setDescription('This trap is generated when a configuration change occurs on the device within a specified period.') hwCfgLastSaveFailNotify = NotificationType((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 3, 2)) if mibBuilder.loadTexts: hwCfgLastSaveFailNotify.setStatus('current') if mibBuilder.loadTexts: hwCfgLastSaveFailNotify.setDescription('The last save operation failed, please check the configuration.') mibBuilder.exportSymbols("HUAWEI-DATASYNC-MIB", hwDataSyncNotifications=hwDataSyncNotifications, hwCfgChgNotifyGroup=hwCfgChgNotifyGroup, DateAndTime=DateAndTime, hwDataSync=hwDataSync, hwCollectIndex=hwCollectIndex, hwDataSyncScalarObjectsGroup=hwDataSyncScalarObjectsGroup, hwCfgChgSeqID=hwCfgChgSeqID, hwCollectState=hwCollectState, hwCfgBaselineTime=hwCfgBaselineTime, hwCfgChgViewName=hwCfgChgViewName, hwDataSyncScalarObjects=hwDataSyncScalarObjects, hwCfgChgType=hwCfgChgType, hwCfgChgCmdID=hwCfgChgCmdID, hwCfgChgEntry=hwCfgChgEntry, hwCollectTable=hwCollectTable, hwDataSyncConformance=hwDataSyncConformance, hwCfgChgTerminalID=hwCfgChgTerminalID, hwCurrentCfgChgSeqID=hwCurrentCfgChgSeqID, hwCollectEntry=hwCollectEntry, hwCollectNetManageId=hwCollectNetManageId, hwCfgChgDetailInfo=hwCfgChgDetailInfo, hwCollectInScriptFile=hwCollectInScriptFile, hwCfgChgTable=hwCfgChgTable, hwCollectInResultFile=hwCollectInResultFile, PYSNMP_MODULE_ID=hwDataSync, hwDataSyncNotifyGroup=hwDataSyncNotifyGroup, hwDataSyncTableObjects=hwDataSyncTableObjects, hwCfgChgNotify=hwCfgChgNotify, hwCollectOperation=hwCollectOperation, hwCfgChgSeqIDReveralCount=hwCfgChgSeqIDReveralCount, hwCfgLastSaveFailNotify=hwCfgLastSaveFailNotify, hwCfgChgTableMaxItem=hwCfgChgTableMaxItem, hwDataSyncCompliance=hwDataSyncCompliance, hwDataSyncCompliances=hwDataSyncCompliances, hwCfgChgTime=hwCfgChgTime, hwCfgChgTerminalType=hwCfgChgTerminalType, hwDataSyncGroups=hwDataSyncGroups, hwCollectRowStatus=hwCollectRowStatus)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_union, value_size_constraint, value_range_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection') (hw_datacomm,) = mibBuilder.importSymbols('HUAWEI-MIB', 'hwDatacomm') (notification_group, module_compliance, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance', 'ObjectGroup') (integer32, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, unsigned32, counter64, mib_identifier, notification_type, gauge32, ip_address, module_identity, iso, bits, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'Unsigned32', 'Counter64', 'MibIdentifier', 'NotificationType', 'Gauge32', 'IpAddress', 'ModuleIdentity', 'iso', 'Bits', 'ObjectIdentity') (row_status, textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'TextualConvention', 'DisplayString') hw_data_sync = module_identity((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191)) hwDataSync.setRevisions(('2015-07-16 13:49', '2014-09-04 17:10', '2009-03-17 10:27')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hwDataSync.setRevisionsDescriptions(('Add hwCfgLastSaveFailNotify .', 'The MIB module for Data sync between host and netmanager.', 'The initial revision of this MIB module .')) if mibBuilder.loadTexts: hwDataSync.setLastUpdated('201507161349Z') if mibBuilder.loadTexts: hwDataSync.setOrganization('Huawei Technologies Co.,Ltd.') if mibBuilder.loadTexts: hwDataSync.setContactInfo("Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://www.huawei.com Email: support@huawei.com ") if mibBuilder.loadTexts: hwDataSync.setDescription('Modified hwCfgChgTerminalID.') class Dateandtime(TextualConvention, OctetString): description = "A date-time specification. field octets contents range ----- ------ -------- ----- 1 1-2 year* 0..65536 2 3 month 1..12 3 4 day 1..31 4 5 hour 0..23 5 6 minutes 0..59 6 7 seconds 0..60 (use 60 for leap-second) 7 8 deci-seconds 0..9 8 9 direction from UTC '+' / '-' 9 10 hours from UTC* 0..13 10 11 minutes from UTC 0..59 * Notes: - the value of year is in network-byte order - daylight saving time in New Zealand is +13 For example, Tuesday May 26, 1992 at 1:30:15 PM EDT would be displayed as: 1992-5-26,13:30:15.0,-4:0 Note that if only local time is known, then timezone information (fields 8-10) is not present." status = 'current' display_hint = '2d-1d-1d,1d:1d:1d.1d,1a1d:1d' subtype_spec = OctetString.subtypeSpec + constraints_union(value_size_constraint(8, 8), value_size_constraint(11, 11)) hw_data_sync_scalar_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 1)) hw_data_sync_table_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2)) hw_data_sync_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 3)) hw_data_sync_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 4)) hw_current_cfg_chg_seq_id = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCurrentCfgChgSeqID.setStatus('current') if mibBuilder.loadTexts: hwCurrentCfgChgSeqID.setDescription('The value of this object identifies the ID of the current configuration change. The value ranges from 0 to 65535. After the ID of the configuration change reaches the maximum value, the value of the ID starts from 1 again. After the device is restarted, the value of the ID becomes 0.') hw_cfg_chg_seq_id_reveral_count = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCfgChgSeqIDReveralCount.setStatus('current') if mibBuilder.loadTexts: hwCfgChgSeqIDReveralCount.setDescription('The value of this object identifies the cycle count of the index of configuration change table.') hw_cfg_chg_table_max_item = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCfgChgTableMaxItem.setStatus('current') if mibBuilder.loadTexts: hwCfgChgTableMaxItem.setDescription('The value of this object identifies the maximum number of entries in hwCfgChgTable. ') hw_cfg_baseline_time = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCfgBaselineTime.setStatus('current') if mibBuilder.loadTexts: hwCfgBaselineTime.setDescription('Specifies the time of system confiuration was baseline.') hw_data_sync_groups = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 4, 1)) hw_data_sync_scalar_objects_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 4, 1, 1)).setObjects(('HUAWEI-DATASYNC-MIB', 'hwCurrentCfgChgSeqID'), ('HUAWEI-DATASYNC-MIB', 'hwCfgChgSeqIDReveralCount'), ('HUAWEI-DATASYNC-MIB', 'hwCfgChgTableMaxItem'), ('HUAWEI-DATASYNC-MIB', 'hwCfgBaselineTime')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_data_sync_scalar_objects_group = hwDataSyncScalarObjectsGroup.setStatus('current') if mibBuilder.loadTexts: hwDataSyncScalarObjectsGroup.setDescription('A collection of objects on DataSync ScalarObjects Information.') hw_cfg_chg_notify_group = notification_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 4, 1, 2)).setObjects(('HUAWEI-DATASYNC-MIB', 'hwCfgChgNotify')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_cfg_chg_notify_group = hwCfgChgNotifyGroup.setStatus('current') if mibBuilder.loadTexts: hwCfgChgNotifyGroup.setDescription('A collection of objects on Configuration Change Information.') hw_data_sync_notify_group = notification_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 4, 1, 3)).setObjects(('HUAWEI-DATASYNC-MIB', 'hwCfgLastSaveFailNotify')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_data_sync_notify_group = hwDataSyncNotifyGroup.setStatus('current') if mibBuilder.loadTexts: hwDataSyncNotifyGroup.setDescription('A collection of objects on synchronization Configuration Notify Information.') hw_data_sync_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 4, 2)) hw_data_sync_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 4, 2, 1)).setObjects() if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_data_sync_compliance = hwDataSyncCompliance.setStatus('current') if mibBuilder.loadTexts: hwDataSyncCompliance.setDescription('The compliance statement for entities that support the huawei DataSync MIB.') hw_cfg_chg_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1)) if mibBuilder.loadTexts: hwCfgChgTable.setStatus('current') if mibBuilder.loadTexts: hwCfgChgTable.setDescription('This table is used to record configuration changes. In this table, you can find the configuration change based on the specific index.') hw_cfg_chg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1)).setIndexNames((0, 'HUAWEI-DATASYNC-MIB', 'hwCfgChgSeqID')) if mibBuilder.loadTexts: hwCfgChgEntry.setStatus('current') if mibBuilder.loadTexts: hwCfgChgEntry.setDescription('Entry of hwCfgChgTable.') hw_cfg_chg_seq_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCfgChgSeqID.setStatus('current') if mibBuilder.loadTexts: hwCfgChgSeqID.setDescription('The value of this object identifies the configuration change ID. When configuration is changed, the sequence id will plus 1.') hw_cfg_chg_time = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 2), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCfgChgTime.setStatus('current') if mibBuilder.loadTexts: hwCfgChgTime.setDescription('This object indicates the configuration change time.') hw_cfg_chg_terminal_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('snmp', 1), ('telnet', 2), ('netconf', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCfgChgTerminalType.setStatus('current') if mibBuilder.loadTexts: hwCfgChgTerminalType.setDescription('This object indicates the type of the terminal.') hw_cfg_chg_terminal_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCfgChgTerminalID.setStatus('current') if mibBuilder.loadTexts: hwCfgChgTerminalID.setDescription('The value of this object identifies the terminal ID.') hw_cfg_chg_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('create', 1), ('modify', 2), ('delete', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCfgChgType.setStatus('current') if mibBuilder.loadTexts: hwCfgChgType.setDescription('This object indicates the configuration change type.') hw_cfg_chg_view_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 6), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCfgChgViewName.setStatus('current') if mibBuilder.loadTexts: hwCfgChgViewName.setDescription('This object indicates the name of the view in which the configuration change occurs. For the command operation, the object is the name of the view in which the command is run. For the SNMP operation, the object is the OID of the MIB table or the scalar object.') hw_cfg_chg_cmd_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCfgChgCmdID.setStatus('current') if mibBuilder.loadTexts: hwCfgChgCmdID.setDescription('The value of this object identifies the ID of the configuration change command. For the SNMP operation, the value is 0.') hw_cfg_chg_detail_info = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 1, 1, 8), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCfgChgDetailInfo.setStatus('current') if mibBuilder.loadTexts: hwCfgChgDetailInfo.setDescription('This object indicates detailed configuration change information. For the command operation, the object is the command line. For the SNMP operation, the object is the index of the MIB table. When there are multiple indexes, the format of index1.index2.index3 is adopted.') hw_collect_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2)) if mibBuilder.loadTexts: hwCollectTable.setStatus('current') if mibBuilder.loadTexts: hwCollectTable.setDescription('This table is used to enable the NMS to send the collecting script to the device to trigger the collection, and then monitor the collection status.') hw_collect_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1)).setIndexNames((0, 'HUAWEI-DATASYNC-MIB', 'hwCollectIndex')) if mibBuilder.loadTexts: hwCollectEntry.setStatus('current') if mibBuilder.loadTexts: hwCollectEntry.setDescription('Entry of hwCollectTable.') hw_collect_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1, 1), integer32()) if mibBuilder.loadTexts: hwCollectIndex.setStatus('current') if mibBuilder.loadTexts: hwCollectIndex.setDescription('The value of this object identifies the collection index.') hw_collect_net_manage_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1, 2), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwCollectNetManageId.setStatus('current') if mibBuilder.loadTexts: hwCollectNetManageId.setDescription('The value of this object identifies the NMS ID.') hw_collect_operation = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('begin', 1), ('stop', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwCollectOperation.setStatus('current') if mibBuilder.loadTexts: hwCollectOperation.setDescription('This object indicates the instruction for the collection operation. Default value is stop.') hw_collect_in_script_file = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwCollectInScriptFile.setStatus('current') if mibBuilder.loadTexts: hwCollectInScriptFile.setDescription('This object indicates the name of the script file. T he length of the file name ranges from 1 character to 255 characters.') hw_collect_in_result_file = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwCollectInResultFile.setStatus('current') if mibBuilder.loadTexts: hwCollectInResultFile.setDescription('This object indicates the name of the result file. The length of the file name ranges from 1 character to 255 characters.') hw_collect_state = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('idle', 1), ('collecting', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCollectState.setStatus('current') if mibBuilder.loadTexts: hwCollectState.setDescription('This object indicates the collection status.') hw_collect_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 2, 2, 1, 7), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwCollectRowStatus.setStatus('current') if mibBuilder.loadTexts: hwCollectRowStatus.setDescription('This object indicates the row status.') hw_cfg_chg_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 3, 1)).setObjects(('HUAWEI-DATASYNC-MIB', 'hwCurrentCfgChgSeqID'), ('HUAWEI-DATASYNC-MIB', 'hwCfgChgSeqIDReveralCount'), ('HUAWEI-DATASYNC-MIB', 'hwCfgChgTableMaxItem'), ('HUAWEI-DATASYNC-MIB', 'hwCfgBaselineTime')) if mibBuilder.loadTexts: hwCfgChgNotify.setStatus('current') if mibBuilder.loadTexts: hwCfgChgNotify.setDescription('This trap is generated when a configuration change occurs on the device within a specified period.') hw_cfg_last_save_fail_notify = notification_type((1, 3, 6, 1, 4, 1, 2011, 5, 25, 191, 3, 2)) if mibBuilder.loadTexts: hwCfgLastSaveFailNotify.setStatus('current') if mibBuilder.loadTexts: hwCfgLastSaveFailNotify.setDescription('The last save operation failed, please check the configuration.') mibBuilder.exportSymbols('HUAWEI-DATASYNC-MIB', hwDataSyncNotifications=hwDataSyncNotifications, hwCfgChgNotifyGroup=hwCfgChgNotifyGroup, DateAndTime=DateAndTime, hwDataSync=hwDataSync, hwCollectIndex=hwCollectIndex, hwDataSyncScalarObjectsGroup=hwDataSyncScalarObjectsGroup, hwCfgChgSeqID=hwCfgChgSeqID, hwCollectState=hwCollectState, hwCfgBaselineTime=hwCfgBaselineTime, hwCfgChgViewName=hwCfgChgViewName, hwDataSyncScalarObjects=hwDataSyncScalarObjects, hwCfgChgType=hwCfgChgType, hwCfgChgCmdID=hwCfgChgCmdID, hwCfgChgEntry=hwCfgChgEntry, hwCollectTable=hwCollectTable, hwDataSyncConformance=hwDataSyncConformance, hwCfgChgTerminalID=hwCfgChgTerminalID, hwCurrentCfgChgSeqID=hwCurrentCfgChgSeqID, hwCollectEntry=hwCollectEntry, hwCollectNetManageId=hwCollectNetManageId, hwCfgChgDetailInfo=hwCfgChgDetailInfo, hwCollectInScriptFile=hwCollectInScriptFile, hwCfgChgTable=hwCfgChgTable, hwCollectInResultFile=hwCollectInResultFile, PYSNMP_MODULE_ID=hwDataSync, hwDataSyncNotifyGroup=hwDataSyncNotifyGroup, hwDataSyncTableObjects=hwDataSyncTableObjects, hwCfgChgNotify=hwCfgChgNotify, hwCollectOperation=hwCollectOperation, hwCfgChgSeqIDReveralCount=hwCfgChgSeqIDReveralCount, hwCfgLastSaveFailNotify=hwCfgLastSaveFailNotify, hwCfgChgTableMaxItem=hwCfgChgTableMaxItem, hwDataSyncCompliance=hwDataSyncCompliance, hwDataSyncCompliances=hwDataSyncCompliances, hwCfgChgTime=hwCfgChgTime, hwCfgChgTerminalType=hwCfgChgTerminalType, hwDataSyncGroups=hwDataSyncGroups, hwCollectRowStatus=hwCollectRowStatus)
def main(name="User", name2="Your Pal"): print(f"Hello, {name}! I am {name2}!") if __name__=="__main__": main()
def main(name='User', name2='Your Pal'): print(f'Hello, {name}! I am {name2}!') if __name__ == '__main__': main()
class PeekableIterator: def __init__(self, nums): self.nums = nums self.i = 0 def peek(self): return self.nums[self.i] def next(self): self.i += 1 return self.nums[self.i-1] def hasnext(self): return self.i < len(self.nums)
class Peekableiterator: def __init__(self, nums): self.nums = nums self.i = 0 def peek(self): return self.nums[self.i] def next(self): self.i += 1 return self.nums[self.i - 1] def hasnext(self): return self.i < len(self.nums)
_champernownes_constant = "" def _calculate_champernownes_nth_decimal(length): res = [] curr_length = 0 i = 1 while curr_length < length: res += [str(i)] curr_length += len(res[-1]) i += 1 return "".join(res) def champernownes_nth_decimal(n): global _champernownes_constant if len(_champernownes_constant) >= n: return int(_champernownes_constant[n - 1]) _champernownes_constant = _calculate_champernownes_nth_decimal(2 * n) return champernownes_nth_decimal(n)
_champernownes_constant = '' def _calculate_champernownes_nth_decimal(length): res = [] curr_length = 0 i = 1 while curr_length < length: res += [str(i)] curr_length += len(res[-1]) i += 1 return ''.join(res) def champernownes_nth_decimal(n): global _champernownes_constant if len(_champernownes_constant) >= n: return int(_champernownes_constant[n - 1]) _champernownes_constant = _calculate_champernownes_nth_decimal(2 * n) return champernownes_nth_decimal(n)
class Solution: solution = [] def inorderTraversal(self, root: TreeNode) -> List[int]: if (root == None): return self.solution = [] self.inorderHelper(root) return self.solution def inorderHelper(self, root: TreeNode): if (root == None): return self.inorderHelper(root.left) self.solution.append(root.val) self.inorderHelper(root.right)
class Solution: solution = [] def inorder_traversal(self, root: TreeNode) -> List[int]: if root == None: return self.solution = [] self.inorderHelper(root) return self.solution def inorder_helper(self, root: TreeNode): if root == None: return self.inorderHelper(root.left) self.solution.append(root.val) self.inorderHelper(root.right)
winClass = window.get_active_class() if winClass not in ("code.Code", "emacs.Emacs"): # Regular window keyboard.send_keys('<home>') else: # VS Code keyboard.send_keys('<alt>+a')
win_class = window.get_active_class() if winClass not in ('code.Code', 'emacs.Emacs'): keyboard.send_keys('<home>') else: keyboard.send_keys('<alt>+a')
# GYP project file for TDesktop { 'targets': [ { 'target_name': 'libtgvoip', 'type': 'static_library', 'dependencies': [], 'defines': [ 'WEBRTC_APM_DEBUG_DUMP=0', 'TGVOIP_USE_DESKTOP_DSP', 'WEBRTC_NS_FLOAT', ], 'variables': { 'tgvoip_src_loc': '.', 'official_build_target%': '', 'linux_path_opus_include%': '<(DEPTH)/../../../Libraries/opus/include', }, 'include_dirs': [ '<(tgvoip_src_loc)/webrtc_dsp', '<(linux_path_opus_include)', ], 'direct_dependent_settings': { 'include_dirs': [ '<(tgvoip_src_loc)', ], }, 'export_dependent_settings': [], 'sources': [ '<(tgvoip_src_loc)/BlockingQueue.cpp', '<(tgvoip_src_loc)/BlockingQueue.h', '<(tgvoip_src_loc)/Buffers.cpp', '<(tgvoip_src_loc)/Buffers.h', '<(tgvoip_src_loc)/CongestionControl.cpp', '<(tgvoip_src_loc)/CongestionControl.h', '<(tgvoip_src_loc)/EchoCanceller.cpp', '<(tgvoip_src_loc)/EchoCanceller.h', '<(tgvoip_src_loc)/JitterBuffer.cpp', '<(tgvoip_src_loc)/JitterBuffer.h', '<(tgvoip_src_loc)/logging.cpp', '<(tgvoip_src_loc)/logging.h', '<(tgvoip_src_loc)/MediaStreamItf.cpp', '<(tgvoip_src_loc)/MediaStreamItf.h', '<(tgvoip_src_loc)/OpusDecoder.cpp', '<(tgvoip_src_loc)/OpusDecoder.h', '<(tgvoip_src_loc)/OpusEncoder.cpp', '<(tgvoip_src_loc)/OpusEncoder.h', '<(tgvoip_src_loc)/threading.h', '<(tgvoip_src_loc)/VoIPController.cpp', '<(tgvoip_src_loc)/VoIPGroupController.cpp', '<(tgvoip_src_loc)/VoIPController.h', '<(tgvoip_src_loc)/PrivateDefines.h', '<(tgvoip_src_loc)/VoIPServerConfig.cpp', '<(tgvoip_src_loc)/VoIPServerConfig.h', '<(tgvoip_src_loc)/audio/AudioInput.cpp', '<(tgvoip_src_loc)/audio/AudioInput.h', '<(tgvoip_src_loc)/audio/AudioOutput.cpp', '<(tgvoip_src_loc)/audio/AudioOutput.h', '<(tgvoip_src_loc)/audio/Resampler.cpp', '<(tgvoip_src_loc)/audio/Resampler.h', '<(tgvoip_src_loc)/NetworkSocket.cpp', '<(tgvoip_src_loc)/NetworkSocket.h', '<(tgvoip_src_loc)/PacketReassembler.cpp', '<(tgvoip_src_loc)/PacketReassembler.h', '<(tgvoip_src_loc)/MessageThread.cpp', '<(tgvoip_src_loc)/MessageThread.h', '<(tgvoip_src_loc)/audio/AudioIO.cpp', '<(tgvoip_src_loc)/audio/AudioIO.h', '<(tgvoip_src_loc)/video/ScreamCongestionController.cpp', '<(tgvoip_src_loc)/video/ScreamCongestionController.h', '<(tgvoip_src_loc)/video/VideoSource.cpp', '<(tgvoip_src_loc)/video/VideoSource.h', '<(tgvoip_src_loc)/video/VideoRenderer.cpp', '<(tgvoip_src_loc)/video/VideoRenderer.h', '<(tgvoip_src_loc)/video/VideoPacketSender.cpp', '<(tgvoip_src_loc)/video/VideoPacketSender.h', '<(tgvoip_src_loc)/video/VideoFEC.cpp', '<(tgvoip_src_loc)/video/VideoFEC.h', '<(tgvoip_src_loc)/json11.cpp', '<(tgvoip_src_loc)/json11.hpp', # Windows '<(tgvoip_src_loc)/os/windows/NetworkSocketWinsock.cpp', '<(tgvoip_src_loc)/os/windows/NetworkSocketWinsock.h', '<(tgvoip_src_loc)/os/windows/AudioInputWave.cpp', '<(tgvoip_src_loc)/os/windows/AudioInputWave.h', '<(tgvoip_src_loc)/os/windows/AudioOutputWave.cpp', '<(tgvoip_src_loc)/os/windows/AudioOutputWave.h', '<(tgvoip_src_loc)/os/windows/AudioOutputWASAPI.cpp', '<(tgvoip_src_loc)/os/windows/AudioOutputWASAPI.h', '<(tgvoip_src_loc)/os/windows/AudioInputWASAPI.cpp', '<(tgvoip_src_loc)/os/windows/AudioInputWASAPI.h', '<(tgvoip_src_loc)/os/windows/WindowsSpecific.cpp', '<(tgvoip_src_loc)/os/windows/WindowsSpecific.h', # macOS '<(tgvoip_src_loc)/os/darwin/AudioInputAudioUnit.cpp', '<(tgvoip_src_loc)/os/darwin/AudioInputAudioUnit.h', '<(tgvoip_src_loc)/os/darwin/AudioOutputAudioUnit.cpp', '<(tgvoip_src_loc)/os/darwin/AudioOutputAudioUnit.h', '<(tgvoip_src_loc)/os/darwin/AudioInputAudioUnitOSX.cpp', '<(tgvoip_src_loc)/os/darwin/AudioInputAudioUnitOSX.h', '<(tgvoip_src_loc)/os/darwin/AudioOutputAudioUnitOSX.cpp', '<(tgvoip_src_loc)/os/darwin/AudioOutputAudioUnitOSX.h', '<(tgvoip_src_loc)/os/darwin/AudioUnitIO.cpp', '<(tgvoip_src_loc)/os/darwin/AudioUnitIO.h', '<(tgvoip_src_loc)/os/darwin/DarwinSpecific.mm', '<(tgvoip_src_loc)/os/darwin/DarwinSpecific.h', # Linux '<(tgvoip_src_loc)/os/linux/AudioInputALSA.cpp', '<(tgvoip_src_loc)/os/linux/AudioInputALSA.h', '<(tgvoip_src_loc)/os/linux/AudioOutputALSA.cpp', '<(tgvoip_src_loc)/os/linux/AudioOutputALSA.h', '<(tgvoip_src_loc)/os/linux/AudioOutputPulse.cpp', '<(tgvoip_src_loc)/os/linux/AudioOutputPulse.h', '<(tgvoip_src_loc)/os/linux/AudioInputPulse.cpp', '<(tgvoip_src_loc)/os/linux/AudioInputPulse.h', '<(tgvoip_src_loc)/os/linux/AudioPulse.cpp', '<(tgvoip_src_loc)/os/linux/AudioPulse.h', # POSIX '<(tgvoip_src_loc)/os/posix/NetworkSocketPosix.cpp', '<(tgvoip_src_loc)/os/posix/NetworkSocketPosix.h', # WebRTC APM '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/include/field_trial.h', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/include/cpu_features_wrapper.h', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/include/asm_defines.h', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/include/metrics.h', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/include/compile_assert_c.h', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/source/field_trial.cc', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/source/metrics.cc', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/source/cpu_features.cc', '<(tgvoip_src_loc)/webrtc_dsp/typedefs.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/strings/internal/memutil.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/strings/internal/memutil.cc', '<(tgvoip_src_loc)/webrtc_dsp/absl/strings/string_view.cc', '<(tgvoip_src_loc)/webrtc_dsp/absl/strings/ascii.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/strings/ascii.cc', '<(tgvoip_src_loc)/webrtc_dsp/absl/strings/string_view.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/types/optional.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/types/bad_optional_access.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/types/bad_optional_access.cc', '<(tgvoip_src_loc)/webrtc_dsp/absl/types/optional.cc', '<(tgvoip_src_loc)/webrtc_dsp/absl/memory/memory.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/meta/type_traits.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/algorithm/algorithm.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/container/inlined_vector.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/policy_checks.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/port.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/config.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/raw_logging.cc', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/throw_delegate.cc', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/invoke.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/inline_variable.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/atomic_hook.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/identity.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/raw_logging.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/throw_delegate.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/attributes.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/macros.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/optimization.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/log_severity.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/utility/utility.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/string_to_number.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/constructormagic.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/race_checker.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/strings/string_builder.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/strings/string_builder.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/event_tracer.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/stringencode.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/memory/aligned_malloc.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/memory/aligned_malloc.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/timeutils.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/event.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/ignore_wundef.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/stringutils.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/arraysize.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/platform_file.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/swap_queue.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/string_to_number.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/trace_event.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/checks.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/deprecation.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/thread_checker_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/sanitizer.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/scoped_ref_ptr.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/logging.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/timeutils.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/atomicops.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/stringencode.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/stringutils.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/checks.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/numerics/safe_minmax.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/numerics/safe_conversions.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/numerics/safe_conversions_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/numerics/safe_compare.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/system/unused.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/system/inline.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/system/ignore_warnings.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/system/asm_defines.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/system/rtc_export.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/system/arch.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/platform_thread.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/platform_thread.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/platform_thread_types.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/protobuf_utils.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/thread_annotations.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/gtest_prod_util.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/function_view.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/criticalsection.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/criticalsection.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/platform_thread_types.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/refcount.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/event.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/thread_checker_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/event_tracer.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/compile_assert_c.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/logging_webrtc.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/type_traits.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/platform_file.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/refcounter.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/logging_mac.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/thread_checker.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/race_checker.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/refcountedobject.h', '<(tgvoip_src_loc)/webrtc_dsp/third_party/rnnoise/src/rnn_vad_weights.cc', '<(tgvoip_src_loc)/webrtc_dsp/third_party/rnnoise/src/rnn_activations.h', '<(tgvoip_src_loc)/webrtc_dsp/third_party/rnnoise/src/kiss_fft.h', '<(tgvoip_src_loc)/webrtc_dsp/third_party/rnnoise/src/kiss_fft.cc', '<(tgvoip_src_loc)/webrtc_dsp/third_party/rnnoise/src/rnn_vad_weights.h', '<(tgvoip_src_loc)/webrtc_dsp/api/audio/audio_frame.cc', '<(tgvoip_src_loc)/webrtc_dsp/api/audio/echo_canceller3_config.h', '<(tgvoip_src_loc)/webrtc_dsp/api/audio/echo_control.h', '<(tgvoip_src_loc)/webrtc_dsp/api/audio/audio_frame.h', '<(tgvoip_src_loc)/webrtc_dsp/api/audio/echo_canceller3_config.cc', '<(tgvoip_src_loc)/webrtc_dsp/api/audio/echo_canceller3_factory.h', '<(tgvoip_src_loc)/webrtc_dsp/api/audio/echo_canceller3_factory.cc', '<(tgvoip_src_loc)/webrtc_dsp/api/array_view.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/third_party/fft/fft.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/third_party/fft/fft.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/bandwidth_info.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/include/isac.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_estimator.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_shape_swb16_tables.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_gain_tables.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/arith_routines_logist.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/os_specific_inline.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/filterbanks.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/entropy_coding.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/isac_vad.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/settings.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/transform.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_shape_swb12_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/arith_routines.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/crc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_filter.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/encode_lpc_swb.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/filter_functions.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/decode.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lattice.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/intialize.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_tables.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_gain_swb_tables.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/bandwidth_estimator.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/isac_float_type.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_lag_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/encode.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_analysis.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/spectrum_ar_model_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/arith_routines_hist.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/codec.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_gain_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_shape_swb16_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/entropy_coding.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/isac_vad.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/structs.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/filter_functions.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/encode_lpc_swb.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/arith_routines.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/crc.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_shape_swb12_tables.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_analysis.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/decode_bwe.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/spectrum_ar_model_tables.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/bandwidth_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_lag_tables.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/isac.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_gain_swb_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/rms_level.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/moving_max.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/circular_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/normalized_covariance_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/normalized_covariance_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/moving_max.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/circular_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/mean_variance_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/mean_variance_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/gain_control_for_experimental_agc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/splitting_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/gain_control_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/rms_level.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/ns_core.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/nsx_core.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/noise_suppression_x.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/nsx_core_c.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/defines.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/noise_suppression.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/ns_core.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/nsx_core.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/windows_private.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/noise_suppression_x.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/noise_suppression.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/nsx_defines.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/residual_echo_detector.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/audio_processing_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/audio_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/typing_detection.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/render_queue_item_verifier.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_generator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/config.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_frame_view.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/mock_audio_processing.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/gain_control.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_generator_factory.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_processing_statistics.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_generator_factory.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/aec_dump.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/aec_dump.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_processing_statistics.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_processing.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_processing.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/config.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/interpolated_gain_curve.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/biquad_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/interpolated_gain_curve.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/agc2_common.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/agc2_testing_common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_mode_level_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/gain_applier.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/signal_classifier.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_agc.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_digital_gain_applier.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/limiter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/saturation_protector.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/vector_float_frame.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/spectral_features_internal.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/sequence_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/rnn.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/rnn.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/test_utils.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/pitch_info.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/lp_residual.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/ring_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/pitch_search_internal.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/symmetric_matrix_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/spectral_features.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/features_extraction.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/spectral_features_internal.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/fft_util.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/spectral_features.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/pitch_search_internal.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/pitch_search.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/pitch_search.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/features_extraction.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/fft_util.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/lp_residual.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/fixed_gain_controller.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_mode_level_estimator_agc.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/vector_float_frame.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/down_sampler.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/noise_level_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/agc2_testing_common.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/fixed_digital_level_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/fixed_gain_controller.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/saturation_protector.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/vad_with_level.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/limiter_db_gain_curve.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/agc2_common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_mode_level_estimator_agc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_digital_gain_applier.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/vad_with_level.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/limiter_db_gain_curve.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/fixed_digital_level_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_agc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/gain_applier.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/down_sampler.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/noise_level_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/signal_classifier.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/noise_spectrum_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/compute_interpolated_gain_curve.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/compute_interpolated_gain_curve.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/biquad_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/noise_spectrum_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/limiter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_mode_level_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/moving_moments.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/transient_detector.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/wpd_tree.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/transient_suppressor.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/daubechies_8_wavelet_coeffs.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/wpd_node.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/moving_moments.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/wpd_tree.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/wpd_node.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/transient_suppressor.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/transient_detector.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/dyadic_decimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/low_cut_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/noise_suppression_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/level_estimator_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/three_band_filter_bank.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/echo_cancellation.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_resampler.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_resampler.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/echo_cancellation.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_core.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_core.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_core_optimized_methods.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_core_sse2.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/voice_detection_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/voice_detection_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_cancellation_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/gain_control_for_experimental_agc.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/agc.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/loudness_histogram.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/agc_manager_direct.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/legacy/analog_agc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/legacy/gain_control.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/legacy/digital_agc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/legacy/analog_agc.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/legacy/digital_agc.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/utility.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/mock_agc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/loudness_histogram.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/gain_map_internal.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/utility.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/agc_manager_direct.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/agc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/audio_processing_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/audio_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_control_mobile_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/splitting_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/low_cut_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/audio_generator/file_audio_generator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/audio_generator/file_audio_generator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/gain_controller2.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/three_band_filter_bank.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/residual_echo_detector.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_cancellation_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/noise_suppression_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/level_estimator_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/gain_controller2.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aecm/aecm_core.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aecm/aecm_defines.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aecm/aecm_core.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aecm/aecm_core_c.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aecm/echo_control_mobile.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aecm/echo_control_mobile.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_reverb_model.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/downsampled_render_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subtractor_output_analyzer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_model_fallback.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/residual_echo_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/shadow_filter_update_gain.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_remover_metrics.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/matched_filter_lag_aggregator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_buffer2.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/aec_state.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/suppression_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_path_variability.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/frame_blocker.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subtractor.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_delay_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/adaptive_fir_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/cascaded_biquad_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/matched_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subtractor_output.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_signal_analyzer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/aec3_fft.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/aec3_fft.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_remover_metrics.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/fullband_erle_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/suppression_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_processor.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/filter_analyzer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subtractor.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_path_delay_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subband_erle_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_controller_metrics.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_processor_metrics.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/vector_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/erl_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/aec_state.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/adaptive_fir_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/fft_data.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_controller.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/skew_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_controller_metrics.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/comfort_noise_generator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_path_delay_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/erl_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_remover.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_framer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/erle_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_model.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/cascaded_biquad_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/matrix_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_model_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subtractor_output.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/stationarity_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_signal_analyzer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_path_variability.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/moving_average.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_reverb_model.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subtractor_output_analyzer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/suppression_gain.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_audibility.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_processor_metrics.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_controller.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/suppression_gain.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/moving_average.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/erle_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subband_erle_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_model_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/aec3_common.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/residual_echo_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_processor.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/fullband_erle_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/matched_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/stationarity_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_canceller3.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/skew_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_decay_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_controller2.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/suppression_gain_limiter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/main_filter_update_gain.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_remover.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_model_fallback.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/downsampled_render_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/vector_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/matrix_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_frequency_response.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_audibility.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/fft_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_processor2.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_canceller3.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_delay_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/aec3_common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/fft_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/vector_math.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/decimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/frame_blocker.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_framer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/suppression_gain_limiter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/delay_estimate.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/comfort_noise_generator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_model.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/main_filter_update_gain.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/matched_filter_lag_aggregator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/shadow_filter_update_gain.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/filter_analyzer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_decay_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_frequency_response.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/decimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_control_mobile_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/gain_control_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/typing_detection.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/logging/apm_data_dumper.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/logging/apm_data_dumper.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/voice_activity_detector.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/standalone_vad.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/vad_audio_proc_internal.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/pitch_internal.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/vad_circular_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/vad_circular_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/pitch_based_vad.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/vad_audio_proc.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/pole_zero_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/pole_zero_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/pitch_based_vad.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/gmm.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/vad_audio_proc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/voice_gmm_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/noise_gmm_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/pitch_internal.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/gmm.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/standalone_vad.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/voice_activity_detector.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/delay_estimator_internal.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/ooura_fft.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/ooura_fft.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/delay_estimator_wrapper.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/ooura_fft_sse2.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/delay_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/block_mean_calculator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/block_mean_calculator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/delay_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/ooura_fft_tables_common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/delay_estimator_wrapper.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/mocks/mock_smoothing_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/wav_file.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/window_generator.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/channel_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter_factory.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/sparse_fir_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter_sse.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/window_generator.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/ring_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/include/audio_util.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/wav_header.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/real_fourier_ooura.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/audio_util.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/real_fourier_ooura.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter_sse.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/smoothing_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/push_sinc_resampler.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/sinc_resampler.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/resampler.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/sinc_resampler_sse.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/include/push_resampler.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/include/resampler.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/push_sinc_resampler.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/push_resampler.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/sinusoidal_linear_chirp_source.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/sinc_resampler.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/sinusoidal_linear_chirp_source.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter_factory.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/audio_converter.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/wav_file.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/third_party/fft4g/fft4g.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/third_party/fft4g/fft4g.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/audio_converter.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/real_fourier.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/channel_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/real_fourier.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/sparse_fir_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/smoothing_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter_c.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/ring_buffer.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter_c.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/complex_fft_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/complex_fft.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/filter_ma_fast_q12.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/levinson_durbin.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/dot_product_with_scale.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/auto_corr_to_refl_coef.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/resample_by_2_internal.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/energy.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/sqrt_of_one_minus_x_squared.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/downsample_fast.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/splitting_filter1.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/filter_ar_fast_q12.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/spl_init.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/lpc_to_refl_coef.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/cross_correlation.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/include/signal_processing_library.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/include/real_fft.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/include/spl_inl.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/division_operations.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/auto_correlation.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/get_scaling_square.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/dot_product_with_scale.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/resample_by_2_internal.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/resample.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/min_max_operations.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/refl_coef_to_lpc.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/filter_ar.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/vector_scaling_operations.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/resample_fractional.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/real_fft.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/ilbc_specific_functions.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/complex_bit_reverse.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/randomization_functions.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/copy_set_operations.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/resample_by_2.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/get_hanning_window.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/resample_48khz.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/spl_inl.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/spl_sqrt.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/wav_header.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_sp.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/webrtc_vad.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_core.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/include/vad.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/include/webrtc_vad.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_gmm.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_filterbank.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_core.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_sp.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_filterbank.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_gmm.c', # ARM/NEON sources # TODO check if there's a good way to make these compile with ARM ports of TDesktop #'<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/nsx_core_neon.c', #'<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_core_neon.cc', #'<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aecm/aecm_core_neon.cc', #'<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/ooura_fft_tables_neon_sse2.h', #'<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/ooura_fft_neon.cc', #'<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter_neon.cc', #'<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/sinc_resampler_neon.cc', #'<(tgvoip_src_loc)/webrtc_dsp/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_arm.S', #'<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter_neon.h', #'<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/downsample_fast_neon.c', #'<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/complex_bit_reverse_arm.S', #'<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/include/spl_inl_armv7.h', #'<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/min_max_operations_neon.c', #'<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/cross_correlation_neon.c', #'<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/filter_ar_fast_q12_armv7.S', ], 'libraries': [], 'configurations': { 'Debug': {}, 'Release': {}, }, 'conditions': [ [ '"<(OS)" != "win"', { 'sources/': [['exclude', '<(tgvoip_src_loc)/os/windows/']], }, { 'sources/': [['exclude', '<(tgvoip_src_loc)/os/posix/']], }, ], [ '"<(OS)" != "mac"', { 'sources/': [['exclude', '<(tgvoip_src_loc)/os/darwin/']], }, ], [ '"<(OS)" != "linux"', { 'sources/': [['exclude', '<(tgvoip_src_loc)/os/linux/']], }, ], [ '"<(OS)" == "mac"', { 'xcode_settings': { 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', 'ALWAYS_SEARCH_USER_PATHS': 'NO', }, 'defines': [ 'WEBRTC_POSIX', 'WEBRTC_MAC', 'TARGET_OS_OSX', ], 'sources': [ '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/logging_mac.mm', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/logging_mac.h', ], 'conditions': [ [ '"<(official_build_target)" == "mac32"', { 'xcode_settings': { 'MACOSX_DEPLOYMENT_TARGET': '10.6', 'OTHER_CPLUSPLUSFLAGS': [ '-nostdinc++' ], }, 'include_dirs': [ '/usr/local/macold/include/c++/v1', '<(DEPTH)/../../../Libraries/macold/openssl/include', ], 'defines': [ 'TARGET_OSX32', ], }, { 'xcode_settings': { 'MACOSX_DEPLOYMENT_TARGET': '10.8', 'CLANG_CXX_LIBRARY': 'libc++', }, 'include_dirs': [ '<(DEPTH)/../../../Libraries/openssl/include', ], 'direct_dependent_settings': { 'linkflags': [ '-framework VideoToolbox', ], }, 'sources': [ '<(tgvoip_src_loc)/os/darwin/TGVVideoRenderer.mm', '<(tgvoip_src_loc)/os/darwin/TGVVideoRenderer.h', '<(tgvoip_src_loc)/os/darwin/TGVVideoSource.mm', '<(tgvoip_src_loc)/os/darwin/TGVVideoSource.h', '<(tgvoip_src_loc)/os/darwin/VideoToolboxEncoderSource.mm', '<(tgvoip_src_loc)/os/darwin/VideoToolboxEncoderSource.h', '<(tgvoip_src_loc)/os/darwin/SampleBufferDisplayLayerRenderer.mm', '<(tgvoip_src_loc)/os/darwin/SampleBufferDisplayLayerRenderer.h', ], }], ['"<(official_build_target)" == "macstore"', { 'defines': [ 'TGVOIP_NO_OSX_PRIVATE_API', ], }], ], }, ], [ '"<(OS)" == "win"', { 'msbuild_toolset': 'v141', 'defines': [ 'NOMINMAX', '_USING_V110_SDK71_', 'TGVOIP_WINXP_COMPAT', 'WEBRTC_WIN', ], 'libraries': [ 'winmm', 'ws2_32', 'kernel32', 'user32', ], 'msvs_cygwin_shell': 0, 'msvs_settings': { 'VCCLCompilerTool': { 'ProgramDataBaseFileName': '$(OutDir)\\$(ProjectName).pdb', 'DebugInformationFormat': '3', # Program Database (/Zi) 'AdditionalOptions': [ '/MP', # Enable multi process build. '/EHsc', # Catch C++ exceptions only, extern C functions never throw a C++ exception. '/wd4068', # Disable "warning C4068: unknown pragma" ], 'TreatWChar_tAsBuiltInType': 'false', }, }, 'msvs_external_builder_build_cmd': [ 'ninja.exe', '-C', '$(OutDir)', '-k0', '$(ProjectName)', ], 'configurations': { 'Debug': { 'defines': [ '_DEBUG', ], 'include_dirs': [ '<(DEPTH)/../../../Libraries/openssl/Debug/include', ], 'msvs_settings': { 'VCCLCompilerTool': { 'Optimization': '0', # Disabled (/Od) 'RuntimeLibrary': '1', # Multi-threaded Debug (/MTd) 'RuntimeTypeInfo': 'true', }, 'VCLibrarianTool': { 'AdditionalOptions': [ '/NODEFAULTLIB:LIBCMT' ] } }, }, 'Release': { 'defines': [ 'NDEBUG', ], 'include_dirs': [ '<(DEPTH)/../../../Libraries/openssl/Release/include', ], 'msvs_settings': { 'VCCLCompilerTool': { 'Optimization': '2', # Maximize Speed (/O2) 'InlineFunctionExpansion': '2', # Any suitable (/Ob2) 'EnableIntrinsicFunctions': 'true', # Yes (/Oi) 'FavorSizeOrSpeed': '1', # Favor fast code (/Ot) 'RuntimeLibrary': '0', # Multi-threaded (/MT) 'EnableEnhancedInstructionSet': '2', # Streaming SIMD Extensions 2 (/arch:SSE2) 'WholeProgramOptimization': 'true', # /GL }, 'VCLibrarianTool': { 'AdditionalOptions': [ '/LTCG', ] }, }, }, }, }, ], [ '"<(OS)" == "linux"', { 'defines': [ 'WEBRTC_POSIX', 'WEBRTC_LINUX', ], 'conditions': [ [ '"<!(uname -m)" == "i686"', { 'cflags_cc': [ '-msse2', ], }] ], 'direct_dependent_settings': { 'libraries': [ ], }, }, ], ], }, ], }
{'targets': [{'target_name': 'libtgvoip', 'type': 'static_library', 'dependencies': [], 'defines': ['WEBRTC_APM_DEBUG_DUMP=0', 'TGVOIP_USE_DESKTOP_DSP', 'WEBRTC_NS_FLOAT'], 'variables': {'tgvoip_src_loc': '.', 'official_build_target%': '', 'linux_path_opus_include%': '<(DEPTH)/../../../Libraries/opus/include'}, 'include_dirs': ['<(tgvoip_src_loc)/webrtc_dsp', '<(linux_path_opus_include)'], 'direct_dependent_settings': {'include_dirs': ['<(tgvoip_src_loc)']}, 'export_dependent_settings': [], 'sources': ['<(tgvoip_src_loc)/BlockingQueue.cpp', '<(tgvoip_src_loc)/BlockingQueue.h', '<(tgvoip_src_loc)/Buffers.cpp', '<(tgvoip_src_loc)/Buffers.h', '<(tgvoip_src_loc)/CongestionControl.cpp', '<(tgvoip_src_loc)/CongestionControl.h', '<(tgvoip_src_loc)/EchoCanceller.cpp', '<(tgvoip_src_loc)/EchoCanceller.h', '<(tgvoip_src_loc)/JitterBuffer.cpp', '<(tgvoip_src_loc)/JitterBuffer.h', '<(tgvoip_src_loc)/logging.cpp', '<(tgvoip_src_loc)/logging.h', '<(tgvoip_src_loc)/MediaStreamItf.cpp', '<(tgvoip_src_loc)/MediaStreamItf.h', '<(tgvoip_src_loc)/OpusDecoder.cpp', '<(tgvoip_src_loc)/OpusDecoder.h', '<(tgvoip_src_loc)/OpusEncoder.cpp', '<(tgvoip_src_loc)/OpusEncoder.h', '<(tgvoip_src_loc)/threading.h', '<(tgvoip_src_loc)/VoIPController.cpp', '<(tgvoip_src_loc)/VoIPGroupController.cpp', '<(tgvoip_src_loc)/VoIPController.h', '<(tgvoip_src_loc)/PrivateDefines.h', '<(tgvoip_src_loc)/VoIPServerConfig.cpp', '<(tgvoip_src_loc)/VoIPServerConfig.h', '<(tgvoip_src_loc)/audio/AudioInput.cpp', '<(tgvoip_src_loc)/audio/AudioInput.h', '<(tgvoip_src_loc)/audio/AudioOutput.cpp', '<(tgvoip_src_loc)/audio/AudioOutput.h', '<(tgvoip_src_loc)/audio/Resampler.cpp', '<(tgvoip_src_loc)/audio/Resampler.h', '<(tgvoip_src_loc)/NetworkSocket.cpp', '<(tgvoip_src_loc)/NetworkSocket.h', '<(tgvoip_src_loc)/PacketReassembler.cpp', '<(tgvoip_src_loc)/PacketReassembler.h', '<(tgvoip_src_loc)/MessageThread.cpp', '<(tgvoip_src_loc)/MessageThread.h', '<(tgvoip_src_loc)/audio/AudioIO.cpp', '<(tgvoip_src_loc)/audio/AudioIO.h', '<(tgvoip_src_loc)/video/ScreamCongestionController.cpp', '<(tgvoip_src_loc)/video/ScreamCongestionController.h', '<(tgvoip_src_loc)/video/VideoSource.cpp', '<(tgvoip_src_loc)/video/VideoSource.h', '<(tgvoip_src_loc)/video/VideoRenderer.cpp', '<(tgvoip_src_loc)/video/VideoRenderer.h', '<(tgvoip_src_loc)/video/VideoPacketSender.cpp', '<(tgvoip_src_loc)/video/VideoPacketSender.h', '<(tgvoip_src_loc)/video/VideoFEC.cpp', '<(tgvoip_src_loc)/video/VideoFEC.h', '<(tgvoip_src_loc)/json11.cpp', '<(tgvoip_src_loc)/json11.hpp', '<(tgvoip_src_loc)/os/windows/NetworkSocketWinsock.cpp', '<(tgvoip_src_loc)/os/windows/NetworkSocketWinsock.h', '<(tgvoip_src_loc)/os/windows/AudioInputWave.cpp', '<(tgvoip_src_loc)/os/windows/AudioInputWave.h', '<(tgvoip_src_loc)/os/windows/AudioOutputWave.cpp', '<(tgvoip_src_loc)/os/windows/AudioOutputWave.h', '<(tgvoip_src_loc)/os/windows/AudioOutputWASAPI.cpp', '<(tgvoip_src_loc)/os/windows/AudioOutputWASAPI.h', '<(tgvoip_src_loc)/os/windows/AudioInputWASAPI.cpp', '<(tgvoip_src_loc)/os/windows/AudioInputWASAPI.h', '<(tgvoip_src_loc)/os/windows/WindowsSpecific.cpp', '<(tgvoip_src_loc)/os/windows/WindowsSpecific.h', '<(tgvoip_src_loc)/os/darwin/AudioInputAudioUnit.cpp', '<(tgvoip_src_loc)/os/darwin/AudioInputAudioUnit.h', '<(tgvoip_src_loc)/os/darwin/AudioOutputAudioUnit.cpp', '<(tgvoip_src_loc)/os/darwin/AudioOutputAudioUnit.h', '<(tgvoip_src_loc)/os/darwin/AudioInputAudioUnitOSX.cpp', '<(tgvoip_src_loc)/os/darwin/AudioInputAudioUnitOSX.h', '<(tgvoip_src_loc)/os/darwin/AudioOutputAudioUnitOSX.cpp', '<(tgvoip_src_loc)/os/darwin/AudioOutputAudioUnitOSX.h', '<(tgvoip_src_loc)/os/darwin/AudioUnitIO.cpp', '<(tgvoip_src_loc)/os/darwin/AudioUnitIO.h', '<(tgvoip_src_loc)/os/darwin/DarwinSpecific.mm', '<(tgvoip_src_loc)/os/darwin/DarwinSpecific.h', '<(tgvoip_src_loc)/os/linux/AudioInputALSA.cpp', '<(tgvoip_src_loc)/os/linux/AudioInputALSA.h', '<(tgvoip_src_loc)/os/linux/AudioOutputALSA.cpp', '<(tgvoip_src_loc)/os/linux/AudioOutputALSA.h', '<(tgvoip_src_loc)/os/linux/AudioOutputPulse.cpp', '<(tgvoip_src_loc)/os/linux/AudioOutputPulse.h', '<(tgvoip_src_loc)/os/linux/AudioInputPulse.cpp', '<(tgvoip_src_loc)/os/linux/AudioInputPulse.h', '<(tgvoip_src_loc)/os/linux/AudioPulse.cpp', '<(tgvoip_src_loc)/os/linux/AudioPulse.h', '<(tgvoip_src_loc)/os/posix/NetworkSocketPosix.cpp', '<(tgvoip_src_loc)/os/posix/NetworkSocketPosix.h', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/include/field_trial.h', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/include/cpu_features_wrapper.h', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/include/asm_defines.h', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/include/metrics.h', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/include/compile_assert_c.h', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/source/field_trial.cc', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/source/metrics.cc', '<(tgvoip_src_loc)/webrtc_dsp/system_wrappers/source/cpu_features.cc', '<(tgvoip_src_loc)/webrtc_dsp/typedefs.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/strings/internal/memutil.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/strings/internal/memutil.cc', '<(tgvoip_src_loc)/webrtc_dsp/absl/strings/string_view.cc', '<(tgvoip_src_loc)/webrtc_dsp/absl/strings/ascii.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/strings/ascii.cc', '<(tgvoip_src_loc)/webrtc_dsp/absl/strings/string_view.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/types/optional.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/types/bad_optional_access.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/types/bad_optional_access.cc', '<(tgvoip_src_loc)/webrtc_dsp/absl/types/optional.cc', '<(tgvoip_src_loc)/webrtc_dsp/absl/memory/memory.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/meta/type_traits.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/algorithm/algorithm.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/container/inlined_vector.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/policy_checks.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/port.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/config.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/raw_logging.cc', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/throw_delegate.cc', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/invoke.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/inline_variable.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/atomic_hook.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/identity.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/raw_logging.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/internal/throw_delegate.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/attributes.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/macros.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/optimization.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/base/log_severity.h', '<(tgvoip_src_loc)/webrtc_dsp/absl/utility/utility.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/string_to_number.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/constructormagic.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/race_checker.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/strings/string_builder.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/strings/string_builder.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/event_tracer.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/stringencode.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/memory/aligned_malloc.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/memory/aligned_malloc.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/timeutils.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/event.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/ignore_wundef.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/stringutils.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/arraysize.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/platform_file.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/swap_queue.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/string_to_number.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/trace_event.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/checks.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/deprecation.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/thread_checker_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/sanitizer.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/scoped_ref_ptr.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/logging.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/timeutils.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/atomicops.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/stringencode.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/stringutils.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/checks.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/numerics/safe_minmax.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/numerics/safe_conversions.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/numerics/safe_conversions_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/numerics/safe_compare.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/system/unused.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/system/inline.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/system/ignore_warnings.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/system/asm_defines.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/system/rtc_export.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/system/arch.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/platform_thread.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/platform_thread.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/platform_thread_types.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/protobuf_utils.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/thread_annotations.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/gtest_prod_util.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/function_view.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/criticalsection.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/criticalsection.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/platform_thread_types.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/refcount.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/event.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/thread_checker_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/event_tracer.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/compile_assert_c.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/logging_webrtc.cc', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/type_traits.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/platform_file.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/refcounter.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/logging_mac.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/thread_checker.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/race_checker.h', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/refcountedobject.h', '<(tgvoip_src_loc)/webrtc_dsp/third_party/rnnoise/src/rnn_vad_weights.cc', '<(tgvoip_src_loc)/webrtc_dsp/third_party/rnnoise/src/rnn_activations.h', '<(tgvoip_src_loc)/webrtc_dsp/third_party/rnnoise/src/kiss_fft.h', '<(tgvoip_src_loc)/webrtc_dsp/third_party/rnnoise/src/kiss_fft.cc', '<(tgvoip_src_loc)/webrtc_dsp/third_party/rnnoise/src/rnn_vad_weights.h', '<(tgvoip_src_loc)/webrtc_dsp/api/audio/audio_frame.cc', '<(tgvoip_src_loc)/webrtc_dsp/api/audio/echo_canceller3_config.h', '<(tgvoip_src_loc)/webrtc_dsp/api/audio/echo_control.h', '<(tgvoip_src_loc)/webrtc_dsp/api/audio/audio_frame.h', '<(tgvoip_src_loc)/webrtc_dsp/api/audio/echo_canceller3_config.cc', '<(tgvoip_src_loc)/webrtc_dsp/api/audio/echo_canceller3_factory.h', '<(tgvoip_src_loc)/webrtc_dsp/api/audio/echo_canceller3_factory.cc', '<(tgvoip_src_loc)/webrtc_dsp/api/array_view.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/third_party/fft/fft.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/third_party/fft/fft.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/bandwidth_info.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/include/isac.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_estimator.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_shape_swb16_tables.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_gain_tables.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/arith_routines_logist.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/os_specific_inline.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/filterbanks.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/entropy_coding.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/isac_vad.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/settings.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/transform.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_shape_swb12_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/arith_routines.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/crc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_filter.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/encode_lpc_swb.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/filter_functions.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/decode.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lattice.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/intialize.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_tables.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_gain_swb_tables.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/bandwidth_estimator.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/isac_float_type.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_lag_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/encode.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_analysis.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/spectrum_ar_model_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/arith_routines_hist.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/codec.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_gain_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_shape_swb16_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/entropy_coding.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/isac_vad.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/structs.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/filter_functions.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/encode_lpc_swb.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/arith_routines.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/crc.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_shape_swb12_tables.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_analysis.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/decode_bwe.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/spectrum_ar_model_tables.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/bandwidth_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_lag_tables.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/isac.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_gain_swb_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_coding/codecs/isac/main/source/lpc_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/rms_level.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/moving_max.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/circular_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/normalized_covariance_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/normalized_covariance_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/moving_max.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/circular_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/mean_variance_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_detector/mean_variance_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/gain_control_for_experimental_agc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/splitting_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/gain_control_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/rms_level.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/ns_core.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/nsx_core.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/noise_suppression_x.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/nsx_core_c.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/defines.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/noise_suppression.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/ns_core.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/nsx_core.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/windows_private.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/noise_suppression_x.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/noise_suppression.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/ns/nsx_defines.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/residual_echo_detector.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/audio_processing_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/audio_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/typing_detection.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/render_queue_item_verifier.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_generator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/config.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_frame_view.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/mock_audio_processing.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/gain_control.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_generator_factory.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_processing_statistics.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_generator_factory.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/aec_dump.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/aec_dump.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_processing_statistics.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_processing.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/audio_processing.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/include/config.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/interpolated_gain_curve.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/biquad_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/interpolated_gain_curve.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/agc2_common.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/agc2_testing_common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_mode_level_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/gain_applier.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/signal_classifier.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_agc.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_digital_gain_applier.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/limiter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/saturation_protector.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/vector_float_frame.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/spectral_features_internal.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/sequence_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/rnn.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/rnn.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/test_utils.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/pitch_info.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/lp_residual.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/ring_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/pitch_search_internal.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/symmetric_matrix_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/spectral_features.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/features_extraction.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/spectral_features_internal.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/fft_util.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/spectral_features.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/pitch_search_internal.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/pitch_search.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/pitch_search.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/features_extraction.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/fft_util.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/rnn_vad/lp_residual.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/fixed_gain_controller.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_mode_level_estimator_agc.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/vector_float_frame.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/down_sampler.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/noise_level_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/agc2_testing_common.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/fixed_digital_level_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/fixed_gain_controller.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/saturation_protector.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/vad_with_level.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/limiter_db_gain_curve.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/agc2_common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_mode_level_estimator_agc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_digital_gain_applier.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/vad_with_level.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/limiter_db_gain_curve.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/fixed_digital_level_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_agc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/gain_applier.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/down_sampler.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/noise_level_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/signal_classifier.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/noise_spectrum_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/compute_interpolated_gain_curve.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/compute_interpolated_gain_curve.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/biquad_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/noise_spectrum_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/limiter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc2/adaptive_mode_level_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/moving_moments.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/transient_detector.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/wpd_tree.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/transient_suppressor.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/daubechies_8_wavelet_coeffs.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/wpd_node.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/moving_moments.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/wpd_tree.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/wpd_node.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/transient_suppressor.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/transient_detector.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/transient/dyadic_decimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/low_cut_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/noise_suppression_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/level_estimator_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/three_band_filter_bank.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/echo_cancellation.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_resampler.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_resampler.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/echo_cancellation.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_core.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_core.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_core_optimized_methods.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_core_sse2.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec/aec_common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/voice_detection_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/voice_detection_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_cancellation_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/gain_control_for_experimental_agc.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/agc.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/loudness_histogram.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/agc_manager_direct.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/legacy/analog_agc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/legacy/gain_control.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/legacy/digital_agc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/legacy/analog_agc.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/legacy/digital_agc.c', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/utility.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/mock_agc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/loudness_histogram.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/gain_map_internal.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/utility.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/agc_manager_direct.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/agc/agc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/audio_processing_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/audio_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_control_mobile_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/splitting_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/low_cut_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/audio_generator/file_audio_generator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/audio_generator/file_audio_generator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/gain_controller2.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/three_band_filter_bank.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/residual_echo_detector.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_cancellation_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/noise_suppression_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/level_estimator_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/gain_controller2.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aecm/aecm_core.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aecm/aecm_defines.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aecm/aecm_core.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aecm/aecm_core_c.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aecm/echo_control_mobile.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aecm/echo_control_mobile.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_reverb_model.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/downsampled_render_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subtractor_output_analyzer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_model_fallback.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/residual_echo_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/shadow_filter_update_gain.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_remover_metrics.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/matched_filter_lag_aggregator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_buffer2.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/aec_state.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/suppression_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_path_variability.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/frame_blocker.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subtractor.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_delay_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/adaptive_fir_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/cascaded_biquad_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/matched_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subtractor_output.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_signal_analyzer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/aec3_fft.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/aec3_fft.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_remover_metrics.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/fullband_erle_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/suppression_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_processor.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/filter_analyzer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subtractor.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_path_delay_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subband_erle_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_controller_metrics.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_processor_metrics.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/vector_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/erl_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/aec_state.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/adaptive_fir_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/fft_data.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_controller.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/skew_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_controller_metrics.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/comfort_noise_generator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_path_delay_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/erl_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_remover.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_framer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/erle_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_model.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/cascaded_biquad_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/matrix_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_model_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subtractor_output.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/stationarity_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_signal_analyzer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_path_variability.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/moving_average.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_reverb_model.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subtractor_output_analyzer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/suppression_gain.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_audibility.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_processor_metrics.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_controller.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/suppression_gain.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/moving_average.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/erle_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/subband_erle_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_model_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/aec3_common.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/residual_echo_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_processor.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/fullband_erle_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/matched_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/stationarity_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_canceller3.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/skew_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_decay_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_controller2.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/suppression_gain_limiter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/main_filter_update_gain.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_remover.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_model_fallback.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/downsampled_render_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/vector_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/matrix_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_frequency_response.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_audibility.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/fft_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_processor2.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/echo_canceller3.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_delay_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/aec3_common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/fft_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/vector_math.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/decimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/frame_blocker.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/block_framer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/suppression_gain_limiter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/delay_estimate.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/comfort_noise_generator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_model.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/main_filter_update_gain.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/matched_filter_lag_aggregator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/shadow_filter_update_gain.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/filter_analyzer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_decay_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/reverb_frequency_response.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/decimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/aec3/render_delay_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/echo_control_mobile_impl.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/gain_control_impl.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/typing_detection.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/logging/apm_data_dumper.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/logging/apm_data_dumper.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/voice_activity_detector.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/standalone_vad.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/vad_audio_proc_internal.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/pitch_internal.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/vad_circular_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/vad_circular_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/pitch_based_vad.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/vad_audio_proc.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/pole_zero_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/pole_zero_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/pitch_based_vad.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/gmm.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/vad_audio_proc.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/voice_gmm_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/noise_gmm_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/pitch_internal.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/gmm.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/standalone_vad.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/vad/voice_activity_detector.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/delay_estimator_internal.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/ooura_fft.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/ooura_fft.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/delay_estimator_wrapper.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/ooura_fft_sse2.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/delay_estimator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/block_mean_calculator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/block_mean_calculator.cc', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/delay_estimator.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/ooura_fft_tables_common.h', '<(tgvoip_src_loc)/webrtc_dsp/modules/audio_processing/utility/delay_estimator_wrapper.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/mocks/mock_smoothing_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/wav_file.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/window_generator.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/channel_buffer.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter_factory.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/sparse_fir_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter_sse.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/window_generator.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/ring_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/include/audio_util.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/wav_header.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/real_fourier_ooura.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/audio_util.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/real_fourier_ooura.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter_sse.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/smoothing_filter.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/push_sinc_resampler.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/sinc_resampler.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/resampler.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/sinc_resampler_sse.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/include/push_resampler.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/include/resampler.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/push_sinc_resampler.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/push_resampler.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/sinusoidal_linear_chirp_source.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/sinc_resampler.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/resampler/sinusoidal_linear_chirp_source.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter_factory.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/audio_converter.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/wav_file.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/third_party/fft4g/fft4g.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/third_party/fft4g/fft4g.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/audio_converter.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/real_fourier.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/channel_buffer.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/real_fourier.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/sparse_fir_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/smoothing_filter.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter_c.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/ring_buffer.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/fir_filter_c.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/complex_fft_tables.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/complex_fft.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/filter_ma_fast_q12.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/levinson_durbin.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/dot_product_with_scale.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/auto_corr_to_refl_coef.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/resample_by_2_internal.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/energy.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/sqrt_of_one_minus_x_squared.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/downsample_fast.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/splitting_filter1.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/filter_ar_fast_q12.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/spl_init.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/lpc_to_refl_coef.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/cross_correlation.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/include/signal_processing_library.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/include/real_fft.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/include/spl_inl.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/division_operations.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/auto_correlation.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/get_scaling_square.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/dot_product_with_scale.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/resample_by_2_internal.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/resample.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/min_max_operations.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/refl_coef_to_lpc.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/filter_ar.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/vector_scaling_operations.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/resample_fractional.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/real_fft.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/ilbc_specific_functions.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/complex_bit_reverse.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/randomization_functions.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/copy_set_operations.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/resample_by_2.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/get_hanning_window.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/resample_48khz.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/spl_inl.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/signal_processing/spl_sqrt.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/wav_header.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_sp.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad.cc', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/webrtc_vad.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_core.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/include/vad.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/include/webrtc_vad.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_gmm.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_filterbank.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_core.c', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_sp.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_filterbank.h', '<(tgvoip_src_loc)/webrtc_dsp/common_audio/vad/vad_gmm.c'], 'libraries': [], 'configurations': {'Debug': {}, 'Release': {}}, 'conditions': [['"<(OS)" != "win"', {'sources/': [['exclude', '<(tgvoip_src_loc)/os/windows/']]}, {'sources/': [['exclude', '<(tgvoip_src_loc)/os/posix/']]}], ['"<(OS)" != "mac"', {'sources/': [['exclude', '<(tgvoip_src_loc)/os/darwin/']]}], ['"<(OS)" != "linux"', {'sources/': [['exclude', '<(tgvoip_src_loc)/os/linux/']]}], ['"<(OS)" == "mac"', {'xcode_settings': {'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', 'ALWAYS_SEARCH_USER_PATHS': 'NO'}, 'defines': ['WEBRTC_POSIX', 'WEBRTC_MAC', 'TARGET_OS_OSX'], 'sources': ['<(tgvoip_src_loc)/webrtc_dsp/rtc_base/logging_mac.mm', '<(tgvoip_src_loc)/webrtc_dsp/rtc_base/logging_mac.h'], 'conditions': [['"<(official_build_target)" == "mac32"', {'xcode_settings': {'MACOSX_DEPLOYMENT_TARGET': '10.6', 'OTHER_CPLUSPLUSFLAGS': ['-nostdinc++']}, 'include_dirs': ['/usr/local/macold/include/c++/v1', '<(DEPTH)/../../../Libraries/macold/openssl/include'], 'defines': ['TARGET_OSX32']}, {'xcode_settings': {'MACOSX_DEPLOYMENT_TARGET': '10.8', 'CLANG_CXX_LIBRARY': 'libc++'}, 'include_dirs': ['<(DEPTH)/../../../Libraries/openssl/include'], 'direct_dependent_settings': {'linkflags': ['-framework VideoToolbox']}, 'sources': ['<(tgvoip_src_loc)/os/darwin/TGVVideoRenderer.mm', '<(tgvoip_src_loc)/os/darwin/TGVVideoRenderer.h', '<(tgvoip_src_loc)/os/darwin/TGVVideoSource.mm', '<(tgvoip_src_loc)/os/darwin/TGVVideoSource.h', '<(tgvoip_src_loc)/os/darwin/VideoToolboxEncoderSource.mm', '<(tgvoip_src_loc)/os/darwin/VideoToolboxEncoderSource.h', '<(tgvoip_src_loc)/os/darwin/SampleBufferDisplayLayerRenderer.mm', '<(tgvoip_src_loc)/os/darwin/SampleBufferDisplayLayerRenderer.h']}], ['"<(official_build_target)" == "macstore"', {'defines': ['TGVOIP_NO_OSX_PRIVATE_API']}]]}], ['"<(OS)" == "win"', {'msbuild_toolset': 'v141', 'defines': ['NOMINMAX', '_USING_V110_SDK71_', 'TGVOIP_WINXP_COMPAT', 'WEBRTC_WIN'], 'libraries': ['winmm', 'ws2_32', 'kernel32', 'user32'], 'msvs_cygwin_shell': 0, 'msvs_settings': {'VCCLCompilerTool': {'ProgramDataBaseFileName': '$(OutDir)\\$(ProjectName).pdb', 'DebugInformationFormat': '3', 'AdditionalOptions': ['/MP', '/EHsc', '/wd4068'], 'TreatWChar_tAsBuiltInType': 'false'}}, 'msvs_external_builder_build_cmd': ['ninja.exe', '-C', '$(OutDir)', '-k0', '$(ProjectName)'], 'configurations': {'Debug': {'defines': ['_DEBUG'], 'include_dirs': ['<(DEPTH)/../../../Libraries/openssl/Debug/include'], 'msvs_settings': {'VCCLCompilerTool': {'Optimization': '0', 'RuntimeLibrary': '1', 'RuntimeTypeInfo': 'true'}, 'VCLibrarianTool': {'AdditionalOptions': ['/NODEFAULTLIB:LIBCMT']}}}, 'Release': {'defines': ['NDEBUG'], 'include_dirs': ['<(DEPTH)/../../../Libraries/openssl/Release/include'], 'msvs_settings': {'VCCLCompilerTool': {'Optimization': '2', 'InlineFunctionExpansion': '2', 'EnableIntrinsicFunctions': 'true', 'FavorSizeOrSpeed': '1', 'RuntimeLibrary': '0', 'EnableEnhancedInstructionSet': '2', 'WholeProgramOptimization': 'true'}, 'VCLibrarianTool': {'AdditionalOptions': ['/LTCG']}}}}}], ['"<(OS)" == "linux"', {'defines': ['WEBRTC_POSIX', 'WEBRTC_LINUX'], 'conditions': [['"<!(uname -m)" == "i686"', {'cflags_cc': ['-msse2']}]], 'direct_dependent_settings': {'libraries': []}}]]}]}
print("####################################################") print("#FILENAME:\t\ta1p3.py\t\t\t #") print("#ASSIGNMENT:\t\tHomework Assignment 1 Pt. 3#") print("#COURSE/SECTION:\tCIS 3389.251\t\t #") print("#DUE DATE:\t\tWednesday, 12.February 2020#") print("####################################################\n\n\n") sum = 0 for i in range(1,6): print("\nMONTH ", i, "\n--------") sum += float(input("Enter rainfall for month: ")) print("\n\n") if sum >= 20: print(sum, " inches:\nPLENTY RAINFALL") elif sum >= 15: print(sum, " inches:\nMODERATELY HIGH RAINFALL") elif sum >= 10: print(sum, " inches:\nMODERATELY LOW RAINFALL") else: print(sum, " inches:\nLOW RAINFALL") print("\n\n") #add blank line before return to prompt
print('####################################################') print('#FILENAME:\t\ta1p3.py\t\t\t #') print('#ASSIGNMENT:\t\tHomework Assignment 1 Pt. 3#') print('#COURSE/SECTION:\tCIS 3389.251\t\t #') print('#DUE DATE:\t\tWednesday, 12.February 2020#') print('####################################################\n\n\n') sum = 0 for i in range(1, 6): print('\nMONTH ', i, '\n--------') sum += float(input('Enter rainfall for month: ')) print('\n\n') if sum >= 20: print(sum, ' inches:\nPLENTY RAINFALL') elif sum >= 15: print(sum, ' inches:\nMODERATELY HIGH RAINFALL') elif sum >= 10: print(sum, ' inches:\nMODERATELY LOW RAINFALL') else: print(sum, ' inches:\nLOW RAINFALL') print('\n\n')
description = '' pages = ['header', 'checkout'] def setup(data): pass def test(data): navigate('http://store.demoqa.com/') click(header.go_to_checkout) verify_text_in_element(checkout.title, 'Checkout') capture('Checkout page is displayed') def teardown(data): pass
description = '' pages = ['header', 'checkout'] def setup(data): pass def test(data): navigate('http://store.demoqa.com/') click(header.go_to_checkout) verify_text_in_element(checkout.title, 'Checkout') capture('Checkout page is displayed') def teardown(data): pass
# ENUM definitions # Symbol type SYMBOL_TYPE_SPOT = 'SPOT' # Order status ORDER_STATUS_NEW = 'NEW' ORDER_STATUS_PARTIALLY_FILLED = 'PARTIALLY_FILLED' ORDER_STATUS_FILLED = 'FILLED' ORDER_STATUS_CANCELED = 'CANCELED' ORDER_STATUS_PENDING_CANCEL = 'PENDING_CANCEL' ORDER_STATUS_REJECTED = 'REJECTED' ORDER_STATUS_EXPIRED = 'EXPIRED' # Order types ORDER_TYPE_LIMIT = 'LIMIT' ORDER_TYPE_MARKET = 'MARKET' # Order side ORDER_SIDE_BUY = 'BUY' ORDER_SIDE_SELL = 'SELL' # Time in force TIME_IN_FORCE_GTC = 'GTC' TIME_IN_FORCE_IOC = 'IOC' # Kline intervals # m -> minutes; h -> hours; d -> days; w -> weeks; M -> months KLINE_INTERVAL_1MINUTE = '1m' KLINE_INTERVAL_3MINUTE = '3m' KLINE_INTERVAL_5MINUTE = '5m' KLINE_INTERVAL_15MINUTE = '15m' KLINE_INTERVAL_30MINUTE = '30m' KLINE_INTERVAL_1HOUR = '1h' KLINE_INTERVAL_2HOUR = '2h' KLINE_INTERVAL_4HOUR = '4h' KLINE_INTERVAL_6HOUR = '6h' KLINE_INTERVAL_8HOUR = '8h' KLINE_INTERVAL_12HOUR = '12h' KLINE_INTERVAL_1DAY = '1d' KLINE_INTERVAL_3DAY = '3d' KLINE_INTERVAL_1WEEK = '1w' KLINE_INTERVAL_1MONTH = '1M'
symbol_type_spot = 'SPOT' order_status_new = 'NEW' order_status_partially_filled = 'PARTIALLY_FILLED' order_status_filled = 'FILLED' order_status_canceled = 'CANCELED' order_status_pending_cancel = 'PENDING_CANCEL' order_status_rejected = 'REJECTED' order_status_expired = 'EXPIRED' order_type_limit = 'LIMIT' order_type_market = 'MARKET' order_side_buy = 'BUY' order_side_sell = 'SELL' time_in_force_gtc = 'GTC' time_in_force_ioc = 'IOC' kline_interval_1_minute = '1m' kline_interval_3_minute = '3m' kline_interval_5_minute = '5m' kline_interval_15_minute = '15m' kline_interval_30_minute = '30m' kline_interval_1_hour = '1h' kline_interval_2_hour = '2h' kline_interval_4_hour = '4h' kline_interval_6_hour = '6h' kline_interval_8_hour = '8h' kline_interval_12_hour = '12h' kline_interval_1_day = '1d' kline_interval_3_day = '3d' kline_interval_1_week = '1w' kline_interval_1_month = '1M'
# cases where DictAchievement should unlock # >> CASE {'name': 'John Doe', 'age': 24} # >> CASE { 'name': 'John Doe', 'age': 24 } # >> CASE func({'name': 'John Doe', 'age': 24})
{'name': 'John Doe', 'age': 24} {'name': 'John Doe', 'age': 24} func({'name': 'John Doe', 'age': 24})
#!/usr/bin/env python3 # default arguments, assume a default value if one is not provided def display_info(name, age='42'): print('Name: ', name, 'Age', age) display_info(age='56', name='Marc Wilson') display_info(name='Marc Wilson')
def display_info(name, age='42'): print('Name: ', name, 'Age', age) display_info(age='56', name='Marc Wilson') display_info(name='Marc Wilson')
#!/usr/bin/env python ''' Copyright (C) 2019, WAFW00F Developers. See the LICENSE file for copying permission. ''' NAME = 'Malcare (Inactiv)' def is_waf(self): schemes = [ self.matchContent(r'firewall.{0,15}?powered.by.{0,15}?malcare.{0,15}?pro'), self.matchContent('blocked because of malicious activities') ] if any(i for i in schemes): return True return False
""" Copyright (C) 2019, WAFW00F Developers. See the LICENSE file for copying permission. """ name = 'Malcare (Inactiv)' def is_waf(self): schemes = [self.matchContent('firewall.{0,15}?powered.by.{0,15}?malcare.{0,15}?pro'), self.matchContent('blocked because of malicious activities')] if any((i for i in schemes)): return True return False
n,k=map(int,input().split()) if k<n//2 or (n==1 and k!=0): print(-1) else: if n==1: print(1) else: x=r=k-(n-2)//2 while r<=x+n: r+=x ans=[r,x] for i in range(2,n): ans.append(ans[1]+i-1) print(*ans)
(n, k) = map(int, input().split()) if k < n // 2 or (n == 1 and k != 0): print(-1) elif n == 1: print(1) else: x = r = k - (n - 2) // 2 while r <= x + n: r += x ans = [r, x] for i in range(2, n): ans.append(ans[1] + i - 1) print(*ans)
class news_source: ''' News Source Class to define News Source Objects ''' def __init__(self, id, name, homepage_url, description): self.id = id self.name = name self.homepage_url = homepage_url self.description = description # self.logo = logo class Articles: ''' Articles class to define Source's Articles Objects ''' def __init__(self, author, title, description, article_url, logo, publishedAt): # self.source_id = source self.author = author self.title = title self.description = description self.article_url = article_url self.logo = logo self.publishedAt = publishedAt
class News_Source: """ News Source Class to define News Source Objects """ def __init__(self, id, name, homepage_url, description): self.id = id self.name = name self.homepage_url = homepage_url self.description = description class Articles: """ Articles class to define Source's Articles Objects """ def __init__(self, author, title, description, article_url, logo, publishedAt): self.author = author self.title = title self.description = description self.article_url = article_url self.logo = logo self.publishedAt = publishedAt
class MarkerPosition: def __init__(self, markers_points, rotation_vector, translation_vector): self.markers_points = markers_points self.rotation_vector = rotation_vector self.translation_vector = translation_vector def set_markers_points(self, markers_points): self.markers_points = markers_points def set_rotation_vector(self, rotation_vector): self.rotation_vector = rotation_vector def get_markers_points(self): return self.markers_points def get_rotation_vector(self): return self.rotation_vector def get_translation_vector(self): return self.translation_vector
class Markerposition: def __init__(self, markers_points, rotation_vector, translation_vector): self.markers_points = markers_points self.rotation_vector = rotation_vector self.translation_vector = translation_vector def set_markers_points(self, markers_points): self.markers_points = markers_points def set_rotation_vector(self, rotation_vector): self.rotation_vector = rotation_vector def get_markers_points(self): return self.markers_points def get_rotation_vector(self): return self.rotation_vector def get_translation_vector(self): return self.translation_vector
#import formatter #import htmllib url="http://www.cnn.com" filehandle = urllib.urlopen(url) #w = formatter.DumbWriter() # plain text #f = formatter.AbstractFormatter(w) #p = htmllib.HTMLParser(f) #p.feed(filehandle.read()) #p.close() #filehandle.close() fromaddr = "ahouman2@hatswitch.crhc.illinois.edu" msg = MIMEMultipart() msg['From'] = "amir" msg['To'] = "asdsadad" msg['Date'] = formatdate(localtime=True) msg['Subject'] = "salam" text = "saaalaaam" msg.attach( MIMEText(text) ) part = MIMEBase('application', "octet-stream") part.set_payload( filehandle.read() ) Encoders.encode_base64(part) part.add_header('Content-Disposition', 'attachment; filename="file.html"') msg.attach(part) smtp = smtplib.SMTP("localhost") smtp.sendmail("amir@localhost", "freeman77200@gmail.com", msg.as_string() ) smtp.close()
url = 'http://www.cnn.com' filehandle = urllib.urlopen(url) fromaddr = 'ahouman2@hatswitch.crhc.illinois.edu' msg = mime_multipart() msg['From'] = 'amir' msg['To'] = 'asdsadad' msg['Date'] = formatdate(localtime=True) msg['Subject'] = 'salam' text = 'saaalaaam' msg.attach(mime_text(text)) part = mime_base('application', 'octet-stream') part.set_payload(filehandle.read()) Encoders.encode_base64(part) part.add_header('Content-Disposition', 'attachment; filename="file.html"') msg.attach(part) smtp = smtplib.SMTP('localhost') smtp.sendmail('amir@localhost', 'freeman77200@gmail.com', msg.as_string()) smtp.close()
class WebPageCssSelect: def __init__(self, url, ua_type, selector_name, value): self.url = url self.ua_type = ua_type self.selector_name = selector_name self.value = value def output(self): return self.url + ',' + self.ua_type + ',' + self.selector_name + ',' + self.value
class Webpagecssselect: def __init__(self, url, ua_type, selector_name, value): self.url = url self.ua_type = ua_type self.selector_name = selector_name self.value = value def output(self): return self.url + ',' + self.ua_type + ',' + self.selector_name + ',' + self.value
num = 10 num1 = 10 num2 = 20 num3 = 30
num = 10 num1 = 10 num2 = 20 num3 = 30
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # class Context: def __init__(self): self.containers = [] def push(self, o): self.containers.append(o) def pop(self): return self.containers.pop() class Values: def __init__(self, *values): self.values = values def validate(self, o, ctx): if not o in self.values: return "%s not in %s" % (o, self.values) def __str__(self): return self.value class Types: def __init__(self, *types): self.types = types def validate(self, o, ctx): for t in self.types: if isinstance(o, t): return if len(self.types) == 1: return "%s is not a %s" % (o, self.types[0].__name__) else: return "%s is not one of: %s" % (o, ", ".join([t.__name__ for t in self.types])) class List: def __init__(self, condition): self.condition = condition def validate(self, o, ctx): if not isinstance(o, list): return "%s is not a list" % o ctx.push(o) for v in o: err = self.condition.validate(v, ctx) if err: return err class Map: def __init__(self, map, restricted=True): self.map = map self.restricted = restricted def validate(self, o, ctx): errors = [] if not hasattr(o, "get"): return "%s is not a map" % o ctx.push(o) for k, t in self.map.items(): v = o.get(k) if v is not None: err = t.validate(v, ctx) if err: errors.append("%s: %s" % (k, err)) if self.restricted: for k in o: if not k in self.map: errors.append("%s: illegal key" % k) ctx.pop() if errors: return ", ".join(errors) class And: def __init__(self, *conditions): self.conditions = conditions def validate(self, o, ctx): for c in self.conditions: err = c.validate(o, ctx) if err: return err
class Context: def __init__(self): self.containers = [] def push(self, o): self.containers.append(o) def pop(self): return self.containers.pop() class Values: def __init__(self, *values): self.values = values def validate(self, o, ctx): if not o in self.values: return '%s not in %s' % (o, self.values) def __str__(self): return self.value class Types: def __init__(self, *types): self.types = types def validate(self, o, ctx): for t in self.types: if isinstance(o, t): return if len(self.types) == 1: return '%s is not a %s' % (o, self.types[0].__name__) else: return '%s is not one of: %s' % (o, ', '.join([t.__name__ for t in self.types])) class List: def __init__(self, condition): self.condition = condition def validate(self, o, ctx): if not isinstance(o, list): return '%s is not a list' % o ctx.push(o) for v in o: err = self.condition.validate(v, ctx) if err: return err class Map: def __init__(self, map, restricted=True): self.map = map self.restricted = restricted def validate(self, o, ctx): errors = [] if not hasattr(o, 'get'): return '%s is not a map' % o ctx.push(o) for (k, t) in self.map.items(): v = o.get(k) if v is not None: err = t.validate(v, ctx) if err: errors.append('%s: %s' % (k, err)) if self.restricted: for k in o: if not k in self.map: errors.append('%s: illegal key' % k) ctx.pop() if errors: return ', '.join(errors) class And: def __init__(self, *conditions): self.conditions = conditions def validate(self, o, ctx): for c in self.conditions: err = c.validate(o, ctx) if err: return err
''' https://leetcode.com/problems/longest-valid-parentheses/ ''' class Solution: def longestValidParentheses(self, s: str) -> int: stack=[-1] maxValid=0 for i in range(0,len(s)): if s[i]=="(": stack.append(i) else: stack.pop() if stack==[]: stack.append(i) else: maxValid=max(maxValid,i-stack[-1]) return maxValid
""" https://leetcode.com/problems/longest-valid-parentheses/ """ class Solution: def longest_valid_parentheses(self, s: str) -> int: stack = [-1] max_valid = 0 for i in range(0, len(s)): if s[i] == '(': stack.append(i) else: stack.pop() if stack == []: stack.append(i) else: max_valid = max(maxValid, i - stack[-1]) return maxValid
class Response: def __init__(self, inst): self.instance = inst @property def id(self): return self.instance['status'] @property def status(self): return self.instance['status']
class Response: def __init__(self, inst): self.instance = inst @property def id(self): return self.instance['status'] @property def status(self): return self.instance['status']
NUM_ROWS = 10 NUM_COLS = 10 with open('input.txt') as file: octopi = [] num_flashes = 0 for row in range(NUM_ROWS): line = file.readline() octopi.append([]) for col in range(NUM_COLS): octopi[row].append(int(line[col])) for step in range(100): flashes = [] for row in range(NUM_ROWS): for col in range(NUM_COLS): octopi[row][col] += 1 check = [(row, col)] while (len(check) > 0): this = check.pop() r, c = this[0], this[1] if this in flashes: continue if octopi[r][c] > 9: # flashes flashes.append(this) # check clearances north = r > 0 west = c > 0 south = r < (NUM_ROWS - 1) east = c < (NUM_COLS - 1) # add 1 to all nearby and check them too if north: check.append((r-1,c)) octopi[r-1][c] += 1 if west: check.append((r-1,c-1)) octopi[r-1][c-1] += 1 if east: check.append((r-1,c+1)) octopi[r-1][c+1] += 1 if south: check.append((r+1,c)) octopi[r+1][c] += 1 if west: check.append((r+1,c-1)) octopi[r+1][c-1] += 1 if east: check.append((r+1,c+1)) octopi[r+1][c+1] += 1 if west: check.append((r,c-1)) octopi[r][c-1] += 1 if east: check.append((r,c+1)) octopi[r][c+1] += 1 for point in flashes: row, col = point[0], point[1] octopi[row][col] = 0 num_flashes += len(flashes) print(num_flashes)
num_rows = 10 num_cols = 10 with open('input.txt') as file: octopi = [] num_flashes = 0 for row in range(NUM_ROWS): line = file.readline() octopi.append([]) for col in range(NUM_COLS): octopi[row].append(int(line[col])) for step in range(100): flashes = [] for row in range(NUM_ROWS): for col in range(NUM_COLS): octopi[row][col] += 1 check = [(row, col)] while len(check) > 0: this = check.pop() (r, c) = (this[0], this[1]) if this in flashes: continue if octopi[r][c] > 9: flashes.append(this) north = r > 0 west = c > 0 south = r < NUM_ROWS - 1 east = c < NUM_COLS - 1 if north: check.append((r - 1, c)) octopi[r - 1][c] += 1 if west: check.append((r - 1, c - 1)) octopi[r - 1][c - 1] += 1 if east: check.append((r - 1, c + 1)) octopi[r - 1][c + 1] += 1 if south: check.append((r + 1, c)) octopi[r + 1][c] += 1 if west: check.append((r + 1, c - 1)) octopi[r + 1][c - 1] += 1 if east: check.append((r + 1, c + 1)) octopi[r + 1][c + 1] += 1 if west: check.append((r, c - 1)) octopi[r][c - 1] += 1 if east: check.append((r, c + 1)) octopi[r][c + 1] += 1 for point in flashes: (row, col) = (point[0], point[1]) octopi[row][col] = 0 num_flashes += len(flashes) print(num_flashes)
FILTERS_KEY = 'FILTERS' SAMPLE_RATE_METRIC_KEY = '_sample_rate' SAMPLING_PRIORITY_KEY = '_sampling_priority_v1' ANALYTICS_SAMPLE_RATE_KEY = '_dd1.sr.eausr' ORIGIN_KEY = '_dd.origin' HOSTNAME_KEY = '_dd.hostname' ENV_KEY = 'env' NUMERIC_TAGS = (ANALYTICS_SAMPLE_RATE_KEY, ) MANUAL_DROP_KEY = 'manual.drop' MANUAL_KEEP_KEY = 'manual.keep'
filters_key = 'FILTERS' sample_rate_metric_key = '_sample_rate' sampling_priority_key = '_sampling_priority_v1' analytics_sample_rate_key = '_dd1.sr.eausr' origin_key = '_dd.origin' hostname_key = '_dd.hostname' env_key = 'env' numeric_tags = (ANALYTICS_SAMPLE_RATE_KEY,) manual_drop_key = 'manual.drop' manual_keep_key = 'manual.keep'
def init(bot, data): @bot.command() async def add(ctx): await ctx.send("Add Ludus to your server: <https://discordapp.com/api/oauth2/authorize?client_id=593828724001079297&permissions=124992&scope=bot>") @bot.command() async def github(ctx): await ctx.send("Ludus is open source! You can find the source code here: https://github.com/mninc/ludus") @bot.command() async def server(ctx): await ctx.send("You can join the official Ludus discord server here: https://discord.gg/qZQN53p") @bot.command() async def contributors(ctx): await ctx.send("Ludus was developed by <@156895789795246081> and <@197059070740398080>, with art from <@253584079113551873>.") @bot.command() async def website(ctx): await ctx.send("Visit our website: https://mninc.github.io/ludus/")
def init(bot, data): @bot.command() async def add(ctx): await ctx.send('Add Ludus to your server: <https://discordapp.com/api/oauth2/authorize?client_id=593828724001079297&permissions=124992&scope=bot>') @bot.command() async def github(ctx): await ctx.send('Ludus is open source! You can find the source code here: https://github.com/mninc/ludus') @bot.command() async def server(ctx): await ctx.send('You can join the official Ludus discord server here: https://discord.gg/qZQN53p') @bot.command() async def contributors(ctx): await ctx.send('Ludus was developed by <@156895789795246081> and <@197059070740398080>, with art from <@253584079113551873>.') @bot.command() async def website(ctx): await ctx.send('Visit our website: https://mninc.github.io/ludus/')
#! /usr/bin/env zxpy ~'echo Hello world!' def print_file_count(): file_count = ~'ls -1 | wc -l' ~"echo -n 'file count is: '" print(file_count) print_file_count()
~'echo Hello world!' def print_file_count(): file_count = ~'ls -1 | wc -l' ~"echo -n 'file count is: '" print(file_count) print_file_count()
## Capitalizes the first letter of a string. ## Capitalizes the fist letter of the sring and then adds it with rest of the string. Omit the lower_rest parameter to keep the rest of the string intact, or set it to true to convert to lowercase. def capitalize(string, lower_rest=False): return string[:1].upper() + (string[1:].lower() if lower_rest else string[1:]) # capitalize('fooBar') # 'FooBar' # capitalize('fooBar', True) # 'Foobar'
def capitalize(string, lower_rest=False): return string[:1].upper() + (string[1:].lower() if lower_rest else string[1:])
# Rock, paper, scissors game print("--------------------------------") print(" Rock, Paper, Scissors v1") print("--------------------------------") player1 = input("Player 1, enter your name: ") player2 = input("Player 2, enter your name: ") rolls = ["rock", "paper", "scissors"] roll1 = input(f"{player1}, enter your roll [rock, paper, scissors]: ") roll1 = roll1.lower().strip() if roll1 not in rolls: print(f"Sorry {player1}, {roll1} is not a valid roll.") roll2 = input(f"{player2}, enter your roll [rock, paper, scissors]: ") roll2 = roll2.lower().strip() if roll2 not in rolls: print(f"Sorry {player2}, {roll2} is not a valid roll.") print(f"{player1} rolls {roll1}.") print(f"{player2} rolls {roll2}.") # Win conditions winner = None if roll1 == roll2: winner = None elif roll1 == 'rock': if roll2 == 'paper': winner = player2 elif roll2 == 'scissors': winner = player1 elif roll1 == 'paper': if roll2 == 'rock': winner = player1 elif roll2 == 'scissors': winner = player2 elif roll1 == 'scissors': if roll2 == 'paper': winner = player1 elif roll2 == 'rock': winner = player2 print("The game is over!") if winner is None: print("It was a tie!") else: print(f"{winner} takes the game!")
print('--------------------------------') print(' Rock, Paper, Scissors v1') print('--------------------------------') player1 = input('Player 1, enter your name: ') player2 = input('Player 2, enter your name: ') rolls = ['rock', 'paper', 'scissors'] roll1 = input(f'{player1}, enter your roll [rock, paper, scissors]: ') roll1 = roll1.lower().strip() if roll1 not in rolls: print(f'Sorry {player1}, {roll1} is not a valid roll.') roll2 = input(f'{player2}, enter your roll [rock, paper, scissors]: ') roll2 = roll2.lower().strip() if roll2 not in rolls: print(f'Sorry {player2}, {roll2} is not a valid roll.') print(f'{player1} rolls {roll1}.') print(f'{player2} rolls {roll2}.') winner = None if roll1 == roll2: winner = None elif roll1 == 'rock': if roll2 == 'paper': winner = player2 elif roll2 == 'scissors': winner = player1 elif roll1 == 'paper': if roll2 == 'rock': winner = player1 elif roll2 == 'scissors': winner = player2 elif roll1 == 'scissors': if roll2 == 'paper': winner = player1 elif roll2 == 'rock': winner = player2 print('The game is over!') if winner is None: print('It was a tie!') else: print(f'{winner} takes the game!')
class VkError(Exception): def __init__(self, code, message, request_params): super(VkError, self).__init__() self.code = code self.message = message self.request_params = request_params def __str__(self): return 'VkError {}: {} (request_params: {})'.format(self.code, self.message, self.request_params) class VkWallAccessDeniedError(VkError): def __init__(self, code, message, request_params): super(VkWallAccessDeniedError, self).__init__(code, message, request_params)
class Vkerror(Exception): def __init__(self, code, message, request_params): super(VkError, self).__init__() self.code = code self.message = message self.request_params = request_params def __str__(self): return 'VkError {}: {} (request_params: {})'.format(self.code, self.message, self.request_params) class Vkwallaccessdeniederror(VkError): def __init__(self, code, message, request_params): super(VkWallAccessDeniedError, self).__init__(code, message, request_params)
#!/usr/bin/env python # -*- coding: utf-8 -*- print(''' .intel_syntax noprefix .extern isr_common ''') print('// Interrupt Service Routines') for i in range(255): print('''isr{0}: cli {1} push {0} jmp isr_common '''.format(i, 'push 0' if i not in [8, 10, 11, 12, 13, 14, 17] else 'nop')) print(''' // Vector table .section .data .global isr_table isr_table: ''') for i in range(255): print(' .quad isr{}'.format(i))
print('\n.intel_syntax noprefix\n.extern isr_common\n') print('// Interrupt Service Routines') for i in range(255): print('isr{0}:\n cli\n {1}\n push {0}\n jmp isr_common\n '.format(i, 'push 0' if i not in [8, 10, 11, 12, 13, 14, 17] else 'nop')) print('\n\n// Vector table\n\n.section .data\n.global isr_table\nisr_table:\n') for i in range(255): print(' .quad isr{}'.format(i))
# This sample tests the logic that infers parameter types based on # default argument values or annotated base class methods. class Parent: def func1(self, a: int, b: str) -> float: ... class Child(Parent): def func1(self, a, b): reveal_type(self, expected_text="Self@Child") reveal_type(a, expected_text="int") reveal_type(b, expected_text="str") return a def func2(a, b=0, c=None): reveal_type(a, expected_text="Unknown") reveal_type(b, expected_text="int") reveal_type(c, expected_text="Unknown | None") def func3(a=(1, 2), b=[1,2], c={1: 2}): reveal_type(a, expected_text="Unknown") reveal_type(b, expected_text="Unknown") reveal_type(c, expected_text="Unknown")
class Parent: def func1(self, a: int, b: str) -> float: ... class Child(Parent): def func1(self, a, b): reveal_type(self, expected_text='Self@Child') reveal_type(a, expected_text='int') reveal_type(b, expected_text='str') return a def func2(a, b=0, c=None): reveal_type(a, expected_text='Unknown') reveal_type(b, expected_text='int') reveal_type(c, expected_text='Unknown | None') def func3(a=(1, 2), b=[1, 2], c={1: 2}): reveal_type(a, expected_text='Unknown') reveal_type(b, expected_text='Unknown') reveal_type(c, expected_text='Unknown')
#!/usr/bin/python3 class Solution: def isPalindrome(self, x: int) -> bool: if x < 0: return False s = str(x) for i in range(int(len(s)/2)): last = len(s) - i - 1 if s[i] != s[last]: return False return True if __name__ == "__main__": solution = Solution() print(solution.isPalindrome(121))
class Solution: def is_palindrome(self, x: int) -> bool: if x < 0: return False s = str(x) for i in range(int(len(s) / 2)): last = len(s) - i - 1 if s[i] != s[last]: return False return True if __name__ == '__main__': solution = solution() print(solution.isPalindrome(121))
# *** DEFINE CONSTANTS *** # DO NOT ADD TO VERSION CONTROL AFTER ENTERING PERSONAL INFO # LOCATION WHERE BLOTTER FILE IS LOCATED (INPUT) SRCPATH = "D:/financial/" SRCFILE = "blotter.xlsx" # OUTPUT DATA DESTINATION (WINDOWS FORMAT) outpath = "D://financial//" outpath_linux = "/mnt/d/financial/" # OUTPUT FILE NAMES outfile = "stock_data_output.xlsx" out_screener = "screener_output.xlsx" # **ROBOADVISOR DEFAULTS (OVERRIDDEN IN APP) # DATABASE FOR HISTORICAL STOCK INFO (USED BY stock_analysisPME) HIST_DB_SERVER = "sqlite" HIST_DB_NAME = "hist.db" HIST_DB_SCHEMA = "db_schema.sql" # RULES FOR DIVERSIFICATION & RISK (AS PERCENTAGE OF TOTAL PORTFOLIO) max_sector_pct = 0.2 max_stock_pct = 0.1 # INTERNAL DISCOUNT RATE (WHAT OPPORTUNITY COST OF INVESTED FUNDS) discount_rate = 0.12
srcpath = 'D:/financial/' srcfile = 'blotter.xlsx' outpath = 'D://financial//' outpath_linux = '/mnt/d/financial/' outfile = 'stock_data_output.xlsx' out_screener = 'screener_output.xlsx' hist_db_server = 'sqlite' hist_db_name = 'hist.db' hist_db_schema = 'db_schema.sql' max_sector_pct = 0.2 max_stock_pct = 0.1 discount_rate = 0.12
def get_num(capacity, p): cell = [] for i in range(len(p) + 1): cell.append([]) for j in range(capacity + 1): cell[i].append(0) for i in range(1, len(p) + 1): for j in range(1, capacity + 1): if p[i - 1] <= i: cell[i][j] = max(p[i -1], cell[i][j-1]) if j - p[i - 1] >= 0: cell[i][j] = max(cell[i-1][j], p[i - 1] + cell[i - 1][j - p[i - 1]]) else: cell[i][j] = cell[i - 1][j] # for i in range(len(p) + 1): # for j in range(capacity + 1): # print(cell[i][j], end=' ') # print() # print() # print() if cell[len(p)][capacity] != capacity: return [] k = capacity t = len(p) ans = [] while k > 0: for el in p[::-1]: if k - el >= 0 and t - 1 >= 0 : if cell[t][k] - el == cell[t][k - el]: ans.append(el) k -= el elif cell[t][k] - el == cell[t - 1][k - el]: ans.append(el) t -= 1 k -= el return ans n =int(input()) p = list(map(int, input().split())) p.sort() if sum(p) % 3 == 0: capacity = sum(p) // 3 for i in range(3): k = get_num(capacity, p) if sum(k) != capacity: break for el in k: p.pop(p.index(el)) else: print(1) exit() print(0) # 11 # 17 59 34 57 17 23 67 1 18 2 59 # 11 2 # 21 10 1
def get_num(capacity, p): cell = [] for i in range(len(p) + 1): cell.append([]) for j in range(capacity + 1): cell[i].append(0) for i in range(1, len(p) + 1): for j in range(1, capacity + 1): if p[i - 1] <= i: cell[i][j] = max(p[i - 1], cell[i][j - 1]) if j - p[i - 1] >= 0: cell[i][j] = max(cell[i - 1][j], p[i - 1] + cell[i - 1][j - p[i - 1]]) else: cell[i][j] = cell[i - 1][j] if cell[len(p)][capacity] != capacity: return [] k = capacity t = len(p) ans = [] while k > 0: for el in p[::-1]: if k - el >= 0 and t - 1 >= 0: if cell[t][k] - el == cell[t][k - el]: ans.append(el) k -= el elif cell[t][k] - el == cell[t - 1][k - el]: ans.append(el) t -= 1 k -= el return ans n = int(input()) p = list(map(int, input().split())) p.sort() if sum(p) % 3 == 0: capacity = sum(p) // 3 for i in range(3): k = get_num(capacity, p) if sum(k) != capacity: break for el in k: p.pop(p.index(el)) else: print(1) exit() print(0)
#!/usr/bin/env python # examples of Church numerals zero = lambda f: lambda x: x one = lambda f: lambda x: f(x) two = lambda f: lambda x: f(f(x)) three = lambda f: lambda x: f(f(f(x))) four = lambda f: lambda x: f(f(f(f(x)))) five = lambda f: lambda x: f(f(f(f(f(x))))) def to_intp(f): print (f(lambda x: x + 1)(0)) def to_int(f): return (f(lambda x: x + 1)(0)) # boolean TRUE = lambda x: lambda y: x FALSE = lambda x: lambda y: y # logic operators AND = lambda x: lambda y: x(y)(x) OR = lambda x: lambda y: x(x)(y) NOT = lambda p: p(FALSE)(TRUE) XOR = lambda x: lambda y: x(NOT(y))(y) def to_boolp(f): print (f(True)(False)) def to_bool(f): return (f(True)(False)) # incrementation n+1 inc = lambda n: lambda f: lambda x: f(n(f)(x)) # decrementation n-1 dec = lambda n: lambda f: lambda x: n(lambda g: lambda h: h(g(f)))(lambda y: x)(lambda y: y) # addition n+m add = lambda n: lambda m: m(inc)(n) # subtraction n-m sub = lambda n: lambda m: m(dec)(n) # multiplying n*m mul = lambda n: lambda m: (m(add(n))(zero)) # exponentiation n^m pow = lambda n: lambda m: (m(mul(n))(one)) # if f.e. IF(TRUE)(one)(two)->one, IF(FALSE)(one)(two) -> two IF = lambda n: lambda x: lambda y: n(x)(y) # checking if the numeral equals ZERO is_zero = lambda n: n(lambda x: (FALSE))(TRUE) # checking if m<=n ? less_or_equal = lambda m: lambda n: is_zero(sub(m)(n)) # checking if m==n equal = lambda m: lambda n: AND(less_or_equal(m)(n))(less_or_equal(n)(m)) # Z_combinator is needed for recursion Z = lambda f: (lambda x: (f(lambda y: x(x)(y))))(lambda x: f(lambda y: (x(x)(y)))) # modulo m%n mod = Z(lambda f: lambda m: lambda n: IF(less_or_equal(n)(m))(lambda x: f(sub(m)(n))(n)(x))(m)) # pairs PAIR = lambda x: lambda y: lambda f: f(x)(y) LEFT = lambda p: p(lambda x: lambda y: x) RIGHT = lambda p: p(lambda x: lambda y: y) # list EMPTY = PAIR(TRUE)(TRUE) NEW = lambda l: lambda x: PAIR(FALSE)(PAIR(x)(l)) IS_EMPTY = LEFT FIRST = lambda l: (LEFT(RIGHT(l))) REST = lambda l: (RIGHT(RIGHT(l))) def to_int_array(k): array = [] while not to_bool(IS_EMPTY(k)): array.append(to_int(FIRST(k))) k = REST(k) return array # range(making list of range [m,n]) RANGE = Z(lambda f: lambda m: lambda n: IF(less_or_equal(m)(n))(lambda x: NEW(f(inc(m))(n))(m)(x))(EMPTY)) # fold FOLD = Z(lambda f: lambda l: lambda x: lambda g: IF(IS_EMPTY(l))(x)(lambda y: g(f(REST(l))(x)(g))(FIRST(l))(y))) # mapping function on the list MAP = lambda k: lambda f: FOLD(k)(EMPTY)(lambda l: lambda x: NEW(l)(f(x))) # gcd gcd = Z(lambda f: lambda m: lambda n: IF(is_zero(n))(m)(lambda x: f(n)(mod(m)(n))(x))) # program which for numbers from 1 to 50 puts gcd of this number and 54 in array ten = mul(two)(five) fifty = mul(ten)(five) fifty_four = add(fifty)(four) list = MAP(RANGE(one)(fifty))(lambda n: gcd(fifty_four)(n)) print(to_int_array(list))
zero = lambda f: lambda x: x one = lambda f: lambda x: f(x) two = lambda f: lambda x: f(f(x)) three = lambda f: lambda x: f(f(f(x))) four = lambda f: lambda x: f(f(f(f(x)))) five = lambda f: lambda x: f(f(f(f(f(x))))) def to_intp(f): print(f(lambda x: x + 1)(0)) def to_int(f): return f(lambda x: x + 1)(0) true = lambda x: lambda y: x false = lambda x: lambda y: y and = lambda x: lambda y: x(y)(x) or = lambda x: lambda y: x(x)(y) not = lambda p: p(FALSE)(TRUE) xor = lambda x: lambda y: x(not(y))(y) def to_boolp(f): print(f(True)(False)) def to_bool(f): return f(True)(False) inc = lambda n: lambda f: lambda x: f(n(f)(x)) dec = lambda n: lambda f: lambda x: n(lambda g: lambda h: h(g(f)))(lambda y: x)(lambda y: y) add = lambda n: lambda m: m(inc)(n) sub = lambda n: lambda m: m(dec)(n) mul = lambda n: lambda m: m(add(n))(zero) pow = lambda n: lambda m: m(mul(n))(one) if = lambda n: lambda x: lambda y: n(x)(y) is_zero = lambda n: n(lambda x: FALSE)(TRUE) less_or_equal = lambda m: lambda n: is_zero(sub(m)(n)) equal = lambda m: lambda n: and(less_or_equal(m)(n))(less_or_equal(n)(m)) z = lambda f: (lambda x: f(lambda y: x(x)(y)))(lambda x: f(lambda y: x(x)(y))) mod = z(lambda f: lambda m: lambda n: if(less_or_equal(n)(m))(lambda x: f(sub(m)(n))(n)(x))(m)) pair = lambda x: lambda y: lambda f: f(x)(y) left = lambda p: p(lambda x: lambda y: x) right = lambda p: p(lambda x: lambda y: y) empty = pair(TRUE)(TRUE) new = lambda l: lambda x: pair(FALSE)(pair(x)(l)) is_empty = LEFT first = lambda l: left(right(l)) rest = lambda l: right(right(l)) def to_int_array(k): array = [] while not to_bool(is_empty(k)): array.append(to_int(first(k))) k = rest(k) return array range = z(lambda f: lambda m: lambda n: if(less_or_equal(m)(n))(lambda x: new(f(inc(m))(n))(m)(x))(EMPTY)) fold = z(lambda f: lambda l: lambda x: lambda g: if(is_empty(l))(x)(lambda y: g(f(rest(l))(x)(g))(first(l))(y))) map = lambda k: lambda f: fold(k)(EMPTY)(lambda l: lambda x: new(l)(f(x))) gcd = z(lambda f: lambda m: lambda n: if(is_zero(n))(m)(lambda x: f(n)(mod(m)(n))(x))) ten = mul(two)(five) fifty = mul(ten)(five) fifty_four = add(fifty)(four) list = map(range(one)(fifty))(lambda n: gcd(fifty_four)(n)) print(to_int_array(list))
#!/usr/bin/env python3 # https://arc098.contest.atcoder.jp/tasks/arc098_a n = int(input()) s = input() a = [0] * n if s[0] == 'W': a[0] = 1 for i in range(1, n): c = s[i] if c == 'E': a[i] = a[i - 1] else: a[i] = a[i - 1] + 1 b = [0] * n if s[n - 1] == 'E': b[n - 1] = 1 for i in range(n - 2, -1, -1): c = s[i] if c == 'W': b[i] = b[i + 1] else: b[i] = b[i + 1] + 1 m = n for i in range(n): m = min(m, a[i] + b[i]) print(m - 1)
n = int(input()) s = input() a = [0] * n if s[0] == 'W': a[0] = 1 for i in range(1, n): c = s[i] if c == 'E': a[i] = a[i - 1] else: a[i] = a[i - 1] + 1 b = [0] * n if s[n - 1] == 'E': b[n - 1] = 1 for i in range(n - 2, -1, -1): c = s[i] if c == 'W': b[i] = b[i + 1] else: b[i] = b[i + 1] + 1 m = n for i in range(n): m = min(m, a[i] + b[i]) print(m - 1)
def reverse_string(string): reverse = '' for char in range(len(string) - 1, -1, -1): reverse += string[char] print(reverse)
def reverse_string(string): reverse = '' for char in range(len(string) - 1, -1, -1): reverse += string[char] print(reverse)
class RestException(Exception): pass class ResourceException(RestException): pass class RestServerException(RestException): pass
class Restexception(Exception): pass class Resourceexception(RestException): pass class Restserverexception(RestException): pass
class CreateAuth: def __init__(self, repository): self.auth_repository = repository async def create(self): return await self.auth_repository.create()
class Createauth: def __init__(self, repository): self.auth_repository = repository async def create(self): return await self.auth_repository.create()
length = int( input("Enter the length of rectagle: ") ) width = int( input("Enter the width of rectange: ") ) perimeter = 2 * (length + width) area = length * width print("Area: ", area, "square cm") print("Perimeter:", perimeter, "cm")
length = int(input('Enter the length of rectagle: ')) width = int(input('Enter the width of rectange: ')) perimeter = 2 * (length + width) area = length * width print('Area: ', area, 'square cm') print('Perimeter:', perimeter, 'cm')
def read_matrix(): (rows, columns) = map(int, input().split(" ")) matrix = [] for r in range(rows): row = input().split(" ") matrix.append(row) return matrix, rows, columns def subsqares_count(matrix,subsquare, rows, columns): count = 0 for r in range(rows - (subsquare - 1)): for c in range(columns - (subsquare - 1)): data = set() for r2 in range(0, subsquare): for c2 in range(0, subsquare): data.add(matrix[r + r2][c + c2]) if len(data) == 1: count += 1 return count matrix, rows, columns = read_matrix() subsquare = 2 print(subsqares_count(matrix, subsquare, rows, columns))
def read_matrix(): (rows, columns) = map(int, input().split(' ')) matrix = [] for r in range(rows): row = input().split(' ') matrix.append(row) return (matrix, rows, columns) def subsqares_count(matrix, subsquare, rows, columns): count = 0 for r in range(rows - (subsquare - 1)): for c in range(columns - (subsquare - 1)): data = set() for r2 in range(0, subsquare): for c2 in range(0, subsquare): data.add(matrix[r + r2][c + c2]) if len(data) == 1: count += 1 return count (matrix, rows, columns) = read_matrix() subsquare = 2 print(subsqares_count(matrix, subsquare, rows, columns))
DEBUG = True APP_DIR = '/home/harish/django_projects/cinepura/' STATIC_MEDIA_PREFIX = '/static_media/cinepura'
debug = True app_dir = '/home/harish/django_projects/cinepura/' static_media_prefix = '/static_media/cinepura'
def reverse_num(x: int) -> int : if x == 0: return 0 else: num_temp = str(x) tam = len(num_temp) num_zeros = 0 if num_temp[0] == "-": if num_temp[tam - 1] == "0": dici = {"0": 0} for value in num_temp[:1:-1]: if value in dici: dici[value] += 1 num_zeros += 1 else: break num_temp = num_temp[tam-num_zeros:0:-1] x = (int(num_temp)) * -1 else: num_temp = num_temp[:0:-1] x = (int(num_temp)) * -1 else: if num_temp[tam - 1] == "0": dici = {"0": 0} for value in num_temp[::-1]: if value in dici: dici[value] += 1 num_zeros += 1 else: break num_temp = num_temp[tam-num_zeros::-1] x = (int(num_temp)) else: x = int(num_temp[::-1]) if x > (2 ** 31 - 1) or x < (-2 ** 31): return 0 else: return x if __name__ == "__main__": print(reverse_num(65090))
def reverse_num(x: int) -> int: if x == 0: return 0 else: num_temp = str(x) tam = len(num_temp) num_zeros = 0 if num_temp[0] == '-': if num_temp[tam - 1] == '0': dici = {'0': 0} for value in num_temp[:1:-1]: if value in dici: dici[value] += 1 num_zeros += 1 else: break num_temp = num_temp[tam - num_zeros:0:-1] x = int(num_temp) * -1 else: num_temp = num_temp[:0:-1] x = int(num_temp) * -1 elif num_temp[tam - 1] == '0': dici = {'0': 0} for value in num_temp[::-1]: if value in dici: dici[value] += 1 num_zeros += 1 else: break num_temp = num_temp[tam - num_zeros::-1] x = int(num_temp) else: x = int(num_temp[::-1]) if x > 2 ** 31 - 1 or x < -2 ** 31: return 0 else: return x if __name__ == '__main__': print(reverse_num(65090))
class BasicPagination: items_per_page = 1 max_items_per_page = 100 def __init__(self, pagination: dict = None, items_per_page: int = None, max_items_per_page: int = None): pagination = pagination or {} self.page = pagination.get('page', 0) self.max_items_per_page = max_items_per_page self.items_per_page = min( pagination.get('items_per_page', items_per_page), self.max_items_per_page ) self.limit = (self.page + 1) * self.items_per_page self.offset = self.page * self.items_per_page self.next = False def paginate(self, query): return query.limit(self.limit).offset(self.offset) @property def result(self): # TODO next page return { 'page': self.page }
class Basicpagination: items_per_page = 1 max_items_per_page = 100 def __init__(self, pagination: dict=None, items_per_page: int=None, max_items_per_page: int=None): pagination = pagination or {} self.page = pagination.get('page', 0) self.max_items_per_page = max_items_per_page self.items_per_page = min(pagination.get('items_per_page', items_per_page), self.max_items_per_page) self.limit = (self.page + 1) * self.items_per_page self.offset = self.page * self.items_per_page self.next = False def paginate(self, query): return query.limit(self.limit).offset(self.offset) @property def result(self): return {'page': self.page}
''' This problem was recently asked by Apple: You are given two singly linked lists. The lists intersect at some node. Find, and return the node. Note: the lists are non-cyclical. Example: A = 1 -> 2 -> 3 -> 4 B = 6 -> 3 -> 4 This should return 3 (you may assume that any nodes with the same value are the same node). ''' def intersection(a, b): def findlength(node): if not node: return 0 return findlength(node.next) + 1 if not a or not b: return None asize, bsize = findlength(a), findlength(b) diffsize = abs(asize - bsize) while diffsize > 0: if asize > bsize: a = a.next else: b = b.next diffsize -= 1 while a: if a == b: return a a = a.next b = b.next return None class Node(object): def __init__(self, val): self.val = val self.next = None def prettyPrint(self): c = self while c: print(c.val,) c = c.next a = Node(1) a.next = Node(2) a.next.next = Node(3) a.next.next.next = Node(4) b = Node(6) b.next = a.next.next c = intersection(a, b) c.prettyPrint() # 3 4
""" This problem was recently asked by Apple: You are given two singly linked lists. The lists intersect at some node. Find, and return the node. Note: the lists are non-cyclical. Example: A = 1 -> 2 -> 3 -> 4 B = 6 -> 3 -> 4 This should return 3 (you may assume that any nodes with the same value are the same node). """ def intersection(a, b): def findlength(node): if not node: return 0 return findlength(node.next) + 1 if not a or not b: return None (asize, bsize) = (findlength(a), findlength(b)) diffsize = abs(asize - bsize) while diffsize > 0: if asize > bsize: a = a.next else: b = b.next diffsize -= 1 while a: if a == b: return a a = a.next b = b.next return None class Node(object): def __init__(self, val): self.val = val self.next = None def pretty_print(self): c = self while c: print(c.val) c = c.next a = node(1) a.next = node(2) a.next.next = node(3) a.next.next.next = node(4) b = node(6) b.next = a.next.next c = intersection(a, b) c.prettyPrint()
WELCOME_DIALOG_TEXT = ( "Welcome to NVDA dialog Welcome to NVDA! Most commands for controlling NVDA require you to hold " "down the NVDA key while pressing other keys. By default, the numpad Insert and main Insert keys " "may both be used as the NVDA key. You can also configure NVDA to use the Caps Lock as the NVDA " "key. Press NVDA plus n at any time to activate the NVDA menu. From this menu, you can configure " "NVDA, get help and access other NVDA functions. \n" "Options grouping \n" "Keyboard layout: combo box desktop collapsed Alt plus k" ) QUIT_DIALOG_TEXT = ( "Exit NVDA dialog \n" "What would you like to do? combo box Exit collapsed Alt plus d" )
welcome_dialog_text = 'Welcome to NVDA dialog Welcome to NVDA! Most commands for controlling NVDA require you to hold down the NVDA key while pressing other keys. By default, the numpad Insert and main Insert keys may both be used as the NVDA key. You can also configure NVDA to use the Caps Lock as the NVDA key. Press NVDA plus n at any time to activate the NVDA menu. From this menu, you can configure NVDA, get help and access other NVDA functions. \nOptions grouping \nKeyboard layout: combo box desktop collapsed Alt plus k' quit_dialog_text = 'Exit NVDA dialog \nWhat would you like to do? combo box Exit collapsed Alt plus d'
__author__ = "NuoDB, Inc." __copyright__ = "(C) Copyright NuoDB, Inc. 2019" __license__ = "MIT" __version__ = "1.0" __maintainer__ = "NuoDB Drivers" __email__ = "drivers@nuodb.com" __status__ = "Production"
__author__ = 'NuoDB, Inc.' __copyright__ = '(C) Copyright NuoDB, Inc. 2019' __license__ = 'MIT' __version__ = '1.0' __maintainer__ = 'NuoDB Drivers' __email__ = 'drivers@nuodb.com' __status__ = 'Production'
class Jaro: def similarity(self, s, t): if not s and not t: return 1 if not s or not t: return 0 if len(s) > len(t): s, t = t, s max_dist = (len(t) // 2) - 1 s_matched = [] t_matched = [] matches = 0 for i, c in enumerate(s): for j in range(max(0, i-max_dist), min(len(t), i+max_dist+1)): if c == t[j]: matches += 1 s_matched.append(c) t_matched.insert(j, c) break transpositions = 0 for m in range(0, len(s_matched)): if(s_matched[m] != t_matched[m]): transpositions += 1 return (matches/len(s) + matches / len(t) + (matches-(transpositions//2)) / matches) / 3 def dissimilarity(self, s, t): return 1 - self.similarity(s, t) def __repr__(self): return 'Jaro'
class Jaro: def similarity(self, s, t): if not s and (not t): return 1 if not s or not t: return 0 if len(s) > len(t): (s, t) = (t, s) max_dist = len(t) // 2 - 1 s_matched = [] t_matched = [] matches = 0 for (i, c) in enumerate(s): for j in range(max(0, i - max_dist), min(len(t), i + max_dist + 1)): if c == t[j]: matches += 1 s_matched.append(c) t_matched.insert(j, c) break transpositions = 0 for m in range(0, len(s_matched)): if s_matched[m] != t_matched[m]: transpositions += 1 return (matches / len(s) + matches / len(t) + (matches - transpositions // 2) / matches) / 3 def dissimilarity(self, s, t): return 1 - self.similarity(s, t) def __repr__(self): return 'Jaro'
class Smartphone: def gallary(self): print("Gallary") def browser(self): print("Browser") def app_store(self): print("App Store") x = Smartphone() x.gallary() x.browser() x.gallary()
class Smartphone: def gallary(self): print('Gallary') def browser(self): print('Browser') def app_store(self): print('App Store') x = smartphone() x.gallary() x.browser() x.gallary()
''' @file ion/core/__init__.py @mainpage Overview @section intro Introduction This is the repository that defines the COI services. @note Initially, all ION services are defined here and later moved to subsystem repositories. COI services are intended to be deployed as part of the ION system launch. Services are deployed in pyon capability containers. @see Architecture page at https://confluence.oceanobservatories.org/display/syseng/CIAD+COI+Common+Operating+Infrastructure @see COI Services definition at https://confluence.oceanobservatories.org/display/syseng/CIAD+OV+Services ''' __author__ = 'mmeisinger'
""" @file ion/core/__init__.py @mainpage Overview @section intro Introduction This is the repository that defines the COI services. @note Initially, all ION services are defined here and later moved to subsystem repositories. COI services are intended to be deployed as part of the ION system launch. Services are deployed in pyon capability containers. @see Architecture page at https://confluence.oceanobservatories.org/display/syseng/CIAD+COI+Common+Operating+Infrastructure @see COI Services definition at https://confluence.oceanobservatories.org/display/syseng/CIAD+OV+Services """ __author__ = 'mmeisinger'
PATH_IMAGE = "img" BACKGROUND_IMAGE = 'background' LOOT_IMAGE = 'point_5' GHOST_RED_IMAGE = 'ghost_red_30' GHOST_BLUE_IMAGE = 'ghost_blue_30' GHOST_PINK_IMAGE = 'ghost_pink_30' GHOST_ORANGE_IMAGE = 'ghost_orange_30' FONT_REGULAR = 'couriernew_regular.ttf' FONT_BOLD = 'couriernew_bold.ttf' PACMAN_SIZE = (30, 30) GHOST_SIZE = (30, 30) LOOT_VERTICAL_SPACE = 18 LOOT_HORIZONTAL_SPACE = 22.5 SCREEN_SIZE = (700, 700)
path_image = 'img' background_image = 'background' loot_image = 'point_5' ghost_red_image = 'ghost_red_30' ghost_blue_image = 'ghost_blue_30' ghost_pink_image = 'ghost_pink_30' ghost_orange_image = 'ghost_orange_30' font_regular = 'couriernew_regular.ttf' font_bold = 'couriernew_bold.ttf' pacman_size = (30, 30) ghost_size = (30, 30) loot_vertical_space = 18 loot_horizontal_space = 22.5 screen_size = (700, 700)
''' Created on Sat 04/04/2020 11:55:38 99 Bottles of Beer @author: MarsCandyBars ''' class BottlesOfBeer(): def __init__(self): ''' Description: This method provides attributes for the main lyrics of the song to make looping cleaner. Args: None. Returns: Attributes for the lyrics of '99 Bottles of Beer' up to the last bottle. ''' lyric1 = ('bottles of beer on the wall,') self.lyric1 = lyric1 lyric2 = ('bottles of beer. Take one down and pass it around,') self.lyric2 = lyric2 lyric3 = ('bottles of beer on the wall.\n') self.lyric3 = lyric3 def lyric_print(): ''' Description: This function provides looping for the main song and adds the last 2 lines. Args: None. Returns: Prints the lyrics for the entire song. ''' #Calling class BottlesOfBeer() call = BottlesOfBeer() #Setting counter for loop beer_count = 99 for i in range(99, -1, -1): if beer_count > 1: print(beer_count, call.lyric1, beer_count, call.lyric2, (beer_count - 1), call.lyric3) beer_count -= 1 #Exits if-statement in order to provide the last two lines of the song, whose format #is different from the rest of the song. else: print(beer_count, 'bottle of beer on the wall,', beer_count, 'bottle of beer.', 'Take one down and pass it around, no more bottles of beer on the wall.\n') beer_count = 99 print('No more bottles of beer on the wall, no more bottles of beer. Go to the', 'store and buy some more,', beer_count, 'bottles of beer on the wall.') #Breaks from the loop at the end of the song. break #Calling lyric_print() function. lyric_print()
""" Created on Sat 04/04/2020 11:55:38 99 Bottles of Beer @author: MarsCandyBars """ class Bottlesofbeer: def __init__(self): """ Description: This method provides attributes for the main lyrics of the song to make looping cleaner. Args: None. Returns: Attributes for the lyrics of '99 Bottles of Beer' up to the last bottle. """ lyric1 = 'bottles of beer on the wall,' self.lyric1 = lyric1 lyric2 = 'bottles of beer. Take one down and pass it around,' self.lyric2 = lyric2 lyric3 = 'bottles of beer on the wall.\n' self.lyric3 = lyric3 def lyric_print(): """ Description: This function provides looping for the main song and adds the last 2 lines. Args: None. Returns: Prints the lyrics for the entire song. """ call = bottles_of_beer() beer_count = 99 for i in range(99, -1, -1): if beer_count > 1: print(beer_count, call.lyric1, beer_count, call.lyric2, beer_count - 1, call.lyric3) beer_count -= 1 else: print(beer_count, 'bottle of beer on the wall,', beer_count, 'bottle of beer.', 'Take one down and pass it around, no more bottles of beer on the wall.\n') beer_count = 99 print('No more bottles of beer on the wall, no more bottles of beer. Go to the', 'store and buy some more,', beer_count, 'bottles of beer on the wall.') break lyric_print()
class Library: def __init__(self, id, books, signup_days, book_p_day): self.id = id self.books = books self.signup_days = signup_days self.book_p_day = book_p_day def score(self, books_so_far): possible_reward = sum([self.books[id] for id in self.books.keys() if id not in books_so_far]) return possible_reward * self.book_p_day / self.signup_days def score4(self, books_so_far): possible_reward = sum([self.books[id] for id in self.books.keys() if id not in books_so_far]) return possible_reward * self.book_p_day / self.signup_days**3 def score2(self, books_so_far, days_left): books = sorted(self.books.items(), key=lambda x: x[1], reverse=True) n_books = int(days_left / self.book_p_day) selected = [] i = 0 while n_books > 0 and i < len(books): if books[i][0] not in books_so_far: selected.append(books[i][1]) n_books -= 1 i += 1 return sum(selected) * self.book_p_day / self.signup_days def score3(self, books_so_far): possible_reward = sum([self.books[id] for id in self.books.keys() if id not in books_so_far]) return possible_reward * self.book_p_day / self.signup_days**6 def score5(self, books_so_far): scores = [self.books[id] for id in self.books.keys() if id not in books_so_far] possible_reward = sum(scores) return 0 if len(scores)==0 else possible_reward * (len(scores) - self.signup_days) / len(scores)
class Library: def __init__(self, id, books, signup_days, book_p_day): self.id = id self.books = books self.signup_days = signup_days self.book_p_day = book_p_day def score(self, books_so_far): possible_reward = sum([self.books[id] for id in self.books.keys() if id not in books_so_far]) return possible_reward * self.book_p_day / self.signup_days def score4(self, books_so_far): possible_reward = sum([self.books[id] for id in self.books.keys() if id not in books_so_far]) return possible_reward * self.book_p_day / self.signup_days ** 3 def score2(self, books_so_far, days_left): books = sorted(self.books.items(), key=lambda x: x[1], reverse=True) n_books = int(days_left / self.book_p_day) selected = [] i = 0 while n_books > 0 and i < len(books): if books[i][0] not in books_so_far: selected.append(books[i][1]) n_books -= 1 i += 1 return sum(selected) * self.book_p_day / self.signup_days def score3(self, books_so_far): possible_reward = sum([self.books[id] for id in self.books.keys() if id not in books_so_far]) return possible_reward * self.book_p_day / self.signup_days ** 6 def score5(self, books_so_far): scores = [self.books[id] for id in self.books.keys() if id not in books_so_far] possible_reward = sum(scores) return 0 if len(scores) == 0 else possible_reward * (len(scores) - self.signup_days) / len(scores)
#Write a program that prompts for a file name, then opens that file and reads through the file, looking for lines of the form: #X-DSPAM-Confidence: 0.8475 #Count these lines and extract the floating point values from each of the lines and compute the average of those values #and produce an output as shown below. Do not use the sum() function or a variable named sum in your solution. #You can download the sample data at http://www.py4e.com/code3/mbox-short.txt when you are testing below enter mbox-short.txt as the file name # Use the file name mbox-short.txt as the file name fname = input("Enter file name: ") fh = open(fname) count = 0 add = 0 for line in fh: if not line.startswith("X-DSPAM-Confidence:") : continue bnpos = line.find('0') host = line[bnpos:] fhost = float(host) count = count +1 add = add + fhost print("Average spam confidence",add/count)
fname = input('Enter file name: ') fh = open(fname) count = 0 add = 0 for line in fh: if not line.startswith('X-DSPAM-Confidence:'): continue bnpos = line.find('0') host = line[bnpos:] fhost = float(host) count = count + 1 add = add + fhost print('Average spam confidence', add / count)
''' ''' __version__ = '0.1-dev' device_config_name = 'Devices' exp_config_name = 'experiment'
""" """ __version__ = '0.1-dev' device_config_name = 'Devices' exp_config_name = 'experiment'
# Python code to demonstrate naive # method to compute gcd ( Euclidean algo ) def computeGCD(x, y): while(y): x, y = y, x % y return x a = 60 b= 48 # prints 12 print ("The gcd of 60 and 48 is : ",end="") print (computeGCD(60,48))
def compute_gcd(x, y): while y: (x, y) = (y, x % y) return x a = 60 b = 48 print('The gcd of 60 and 48 is : ', end='') print(compute_gcd(60, 48))
# URI Online Judge 2787 L = int(input()) C = int(input()) if L % 2 == 0: if C % 2 == 0: print(1) else: print(0) else: if C % 2 == 0: print(0) else: print(1)
l = int(input()) c = int(input()) if L % 2 == 0: if C % 2 == 0: print(1) else: print(0) elif C % 2 == 0: print(0) else: print(1)
def convert_string_to_int(list_a): new_list = [] for item in list_a: num = int(item) new_list.append(num) return new_list str_num_list = input().split(",") rotate_times = int(input()) int_list = convert_string_to_int(str_num_list) len_of_list = len(int_list) val = rotate_times % len_of_list first_part = int_list[0:val] second_part = int_list[val:] second_part.extend(first_part) print(second_part)
def convert_string_to_int(list_a): new_list = [] for item in list_a: num = int(item) new_list.append(num) return new_list str_num_list = input().split(',') rotate_times = int(input()) int_list = convert_string_to_int(str_num_list) len_of_list = len(int_list) val = rotate_times % len_of_list first_part = int_list[0:val] second_part = int_list[val:] second_part.extend(first_part) print(second_part)
class Publisher: def __init__(self): self.observers = [] def add(self, observer): if observer not in self.observers: self.observers.append(observer) else: print('Failed to add: {}'.format(observer)) def remove(self, observer): try: self.observers.remove(observer) except ValueError: print('Failed to remove: {}'.format(observer)) def notify(self): [o.notify(self) for o in self.observers] class DefaultFormatter(Publisher): def __init__(self, name): Publisher.__init__(self) self.name = name self._data = 0 def __str__(self): return "{}: '{}' has data = {}".format(type(self).__name__, self.name, self._data) @property def data(self): return self._data @data.setter def data(self, new_value): try: self._data = int(new_value) except ValueError as e: print('Error: {}'.format(e)) self.notify() class HexFormatter: def notify(self, publisher): print("{}: '{}' has now hex data = {}".format(type(self).__name__, publisher.name, hex(publisher.data))) class BinaryFormatter: def notify(self, publisher): print("{}: '{}' has now bin data = {}".format(type(self).__name__, publisher.name, bin(publisher.data))) def main(): df = DefaultFormatter('test1') print(df) print() hf = HexFormatter() df.add(hf) df.data = 3 print(df) print() bf = BinaryFormatter() df.add(bf) df.data = 21 print(df) print() df.remove(hf) df.data = 40 print(df) print() df.remove(hf) df.add(bf) df.data = 'hello' print(df) print() df.data = 15.8 print(df) if __name__ == '__main__': main()
class Publisher: def __init__(self): self.observers = [] def add(self, observer): if observer not in self.observers: self.observers.append(observer) else: print('Failed to add: {}'.format(observer)) def remove(self, observer): try: self.observers.remove(observer) except ValueError: print('Failed to remove: {}'.format(observer)) def notify(self): [o.notify(self) for o in self.observers] class Defaultformatter(Publisher): def __init__(self, name): Publisher.__init__(self) self.name = name self._data = 0 def __str__(self): return "{}: '{}' has data = {}".format(type(self).__name__, self.name, self._data) @property def data(self): return self._data @data.setter def data(self, new_value): try: self._data = int(new_value) except ValueError as e: print('Error: {}'.format(e)) self.notify() class Hexformatter: def notify(self, publisher): print("{}: '{}' has now hex data = {}".format(type(self).__name__, publisher.name, hex(publisher.data))) class Binaryformatter: def notify(self, publisher): print("{}: '{}' has now bin data = {}".format(type(self).__name__, publisher.name, bin(publisher.data))) def main(): df = default_formatter('test1') print(df) print() hf = hex_formatter() df.add(hf) df.data = 3 print(df) print() bf = binary_formatter() df.add(bf) df.data = 21 print(df) print() df.remove(hf) df.data = 40 print(df) print() df.remove(hf) df.add(bf) df.data = 'hello' print(df) print() df.data = 15.8 print(df) if __name__ == '__main__': main()
Version = "5.6.5" if __name__ == "__main__": print (Version)
version = '5.6.5' if __name__ == '__main__': print(Version)
'''Implements /src/Resource/index.ts''' class Resource: ''' Enum implemenation ''' class Types: WOOD = 'wood' COAL = 'coal' URANIUM = 'uranium' def __init__(self, type, amount) -> None: self.type = type self.amount = amount
"""Implements /src/Resource/index.ts""" class Resource: """ Enum implemenation """ class Types: wood = 'wood' coal = 'coal' uranium = 'uranium' def __init__(self, type, amount) -> None: self.type = type self.amount = amount
t = int(input()) i=0 while i < t: st = str(input()) length = len(st) j = 0 cnt = 0 while j < length: num = int(st[j]) #print(num) if num == 4: cnt = cnt + 1 j=j+1 print(cnt) i=i+1
t = int(input()) i = 0 while i < t: st = str(input()) length = len(st) j = 0 cnt = 0 while j < length: num = int(st[j]) if num == 4: cnt = cnt + 1 j = j + 1 print(cnt) i = i + 1
# # @lc app=leetcode id=693 lang=python3 # # [693] Binary Number with Alternating Bits # # https://leetcode.com/problems/binary-number-with-alternating-bits/description/ # # algorithms # Easy (58.47%) # Likes: 359 # Dislikes: 74 # Total Accepted: 52.4K # Total Submissions: 89.1K # Testcase Example: '5' # # Given a positive integer, check whether it has alternating bits: namely, if # two adjacent bits will always have different values. # # Example 1: # # Input: 5 # Output: True # Explanation: # The binary representation of 5 is: 101 # # # # Example 2: # # Input: 7 # Output: False # Explanation: # The binary representation of 7 is: 111. # # # # Example 3: # # Input: 11 # Output: False # Explanation: # The binary representation of 11 is: 1011. # # # # Example 4: # # Input: 10 # Output: True # Explanation: # The binary representation of 10 is: 1010. # # # # @lc code=start class Solution: def hasAlternatingBits(self, n: int) -> bool: b = list(bin(n)[2:]) if len(b)<2: return True else: return b[0]!=b[1] and len(set(b[::2]))==1 and len(set(b[1::2]))==1 # @lc code=end
class Solution: def has_alternating_bits(self, n: int) -> bool: b = list(bin(n)[2:]) if len(b) < 2: return True else: return b[0] != b[1] and len(set(b[::2])) == 1 and (len(set(b[1::2])) == 1)
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [ { 'target_name': 'memconsumer', 'type': 'none', 'dependencies': [ 'memconsumer_apk', ], }, { 'target_name': 'memconsumer_apk', 'type': 'none', 'variables': { 'apk_name': 'MemConsumer', 'java_in_dir': 'java', 'resource_dir': 'java/res', 'native_lib_target': 'libmemconsumer', }, 'dependencies': [ 'libmemconsumer', ], 'includes': [ '../../../build/java_apk.gypi' ], }, { 'target_name': 'libmemconsumer', 'type': 'shared_library', 'sources': [ 'memconsumer_hook.cc', ], 'libraries': [ '-llog', ], }, ], }
{'targets': [{'target_name': 'memconsumer', 'type': 'none', 'dependencies': ['memconsumer_apk']}, {'target_name': 'memconsumer_apk', 'type': 'none', 'variables': {'apk_name': 'MemConsumer', 'java_in_dir': 'java', 'resource_dir': 'java/res', 'native_lib_target': 'libmemconsumer'}, 'dependencies': ['libmemconsumer'], 'includes': ['../../../build/java_apk.gypi']}, {'target_name': 'libmemconsumer', 'type': 'shared_library', 'sources': ['memconsumer_hook.cc'], 'libraries': ['-llog']}]}
# https://leetcode.com/problems/contains-duplicate class Solution: def containsDuplicate(self, nums): hs = set() for num in nums: hs.add(num) return len(hs) != len(nums)
class Solution: def contains_duplicate(self, nums): hs = set() for num in nums: hs.add(num) return len(hs) != len(nums)
#!/usr/bin/env python3 # # Author: # Tamas Jos (@skelsec) # class CommentStreamA: def __init__(self): self.data = None @staticmethod def parse(dir, buff): csa = CommentStreamA() buff.seek(dir.Location.Rva) csa.data = buff.read(dir.Location.DataSize).decode() return csa def __str__(self): return 'CommentA: %s' % self.data
class Commentstreama: def __init__(self): self.data = None @staticmethod def parse(dir, buff): csa = comment_stream_a() buff.seek(dir.Location.Rva) csa.data = buff.read(dir.Location.DataSize).decode() return csa def __str__(self): return 'CommentA: %s' % self.data
# # PySNMP MIB module Nortel-MsCarrier-MscPassport-DataCollectionMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-DataCollectionMIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:20:12 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsIntersection") DisplayString, Integer32, RowStatus, Gauge32, Counter32, Unsigned32, StorageType = mibBuilder.importSymbols("Nortel-MsCarrier-MscPassport-StandardTextualConventionsMIB", "DisplayString", "Integer32", "RowStatus", "Gauge32", "Counter32", "Unsigned32", "StorageType") AsciiString, EnterpriseDateAndTime, NonReplicated = mibBuilder.importSymbols("Nortel-MsCarrier-MscPassport-TextualConventionsMIB", "AsciiString", "EnterpriseDateAndTime", "NonReplicated") mscPassportMIBs, mscComponents = mibBuilder.importSymbols("Nortel-MsCarrier-MscPassport-UsefulDefinitionsMIB", "mscPassportMIBs", "mscComponents") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Integer32, Counter64, MibIdentifier, NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ModuleIdentity, IpAddress, iso, Gauge32, Counter32, Bits, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "Counter64", "MibIdentifier", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "ModuleIdentity", "IpAddress", "iso", "Gauge32", "Counter32", "Bits", "Unsigned32") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") dataCollectionMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14)) mscCol = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21)) mscColRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 1), ) if mibBuilder.loadTexts: mscColRowStatusTable.setStatus('mandatory') mscColRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColIndex")) if mibBuilder.loadTexts: mscColRowStatusEntry.setStatus('mandatory') mscColRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscColRowStatus.setStatus('mandatory') mscColComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColComponentName.setStatus('mandatory') mscColStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColStorageType.setStatus('mandatory') mscColIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("accounting", 0), ("alarm", 1), ("log", 2), ("debug", 3), ("scn", 4), ("trap", 5), ("stats", 6)))) if mibBuilder.loadTexts: mscColIndex.setStatus('mandatory') mscColProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 10), ) if mibBuilder.loadTexts: mscColProvTable.setStatus('mandatory') mscColProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColIndex")) if mibBuilder.loadTexts: mscColProvEntry.setStatus('mandatory') mscColAgentQueueSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(20, 10000), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscColAgentQueueSize.setStatus('obsolete') mscColStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 11), ) if mibBuilder.loadTexts: mscColStatsTable.setStatus('mandatory') mscColStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 11, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColIndex")) if mibBuilder.loadTexts: mscColStatsEntry.setStatus('mandatory') mscColCurrentQueueSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 11, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColCurrentQueueSize.setStatus('mandatory') mscColRecordsRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColRecordsRx.setStatus('mandatory') mscColRecordsDiscarded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 11, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColRecordsDiscarded.setStatus('mandatory') mscColTimesTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 266), ) if mibBuilder.loadTexts: mscColTimesTable.setStatus('mandatory') mscColTimesEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 266, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColIndex"), (0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColTimesValue")) if mibBuilder.loadTexts: mscColTimesEntry.setStatus('mandatory') mscColTimesValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 266, 1, 1), EnterpriseDateAndTime().subtype(subtypeSpec=ValueSizeConstraint(5, 5)).setFixedLength(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscColTimesValue.setStatus('mandatory') mscColTimesRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 266, 1, 2), RowStatus()).setMaxAccess("writeonly") if mibBuilder.loadTexts: mscColTimesRowStatus.setStatus('mandatory') mscColLastTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 275), ) if mibBuilder.loadTexts: mscColLastTable.setStatus('obsolete') mscColLastEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 275, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColIndex"), (0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColLastValue")) if mibBuilder.loadTexts: mscColLastEntry.setStatus('obsolete') mscColLastValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 275, 1, 1), EnterpriseDateAndTime().subtype(subtypeSpec=ValueSizeConstraint(19, 19)).setFixedLength(19)).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColLastValue.setStatus('obsolete') mscColPeakTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 279), ) if mibBuilder.loadTexts: mscColPeakTable.setStatus('mandatory') mscColPeakEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 279, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColIndex"), (0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColPeakValue")) if mibBuilder.loadTexts: mscColPeakEntry.setStatus('mandatory') mscColPeakValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 279, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscColPeakValue.setStatus('mandatory') mscColPeakRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 279, 1, 2), RowStatus()).setMaxAccess("writeonly") if mibBuilder.loadTexts: mscColPeakRowStatus.setStatus('mandatory') mscColSp = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2)) mscColSpRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 1), ) if mibBuilder.loadTexts: mscColSpRowStatusTable.setStatus('mandatory') mscColSpRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColIndex"), (0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColSpIndex")) if mibBuilder.loadTexts: mscColSpRowStatusEntry.setStatus('mandatory') mscColSpRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpRowStatus.setStatus('mandatory') mscColSpComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpComponentName.setStatus('mandatory') mscColSpStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpStorageType.setStatus('mandatory') mscColSpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: mscColSpIndex.setStatus('mandatory') mscColSpProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 10), ) if mibBuilder.loadTexts: mscColSpProvTable.setStatus('mandatory') mscColSpProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColIndex"), (0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColSpIndex")) if mibBuilder.loadTexts: mscColSpProvEntry.setStatus('mandatory') mscColSpSpooling = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscColSpSpooling.setStatus('mandatory') mscColSpMaximumNumberOfFiles = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 200))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mscColSpMaximumNumberOfFiles.setStatus('mandatory') mscColSpStateTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11), ) if mibBuilder.loadTexts: mscColSpStateTable.setStatus('mandatory') mscColSpStateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColIndex"), (0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColSpIndex")) if mibBuilder.loadTexts: mscColSpStateEntry.setStatus('mandatory') mscColSpAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("locked", 0), ("unlocked", 1), ("shuttingDown", 2))).clone('unlocked')).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpAdminState.setStatus('mandatory') mscColSpOperationalState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpOperationalState.setStatus('mandatory') mscColSpUsageState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("idle", 0), ("active", 1), ("busy", 2))).clone('idle')).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpUsageState.setStatus('mandatory') mscColSpAvailabilityStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpAvailabilityStatus.setStatus('mandatory') mscColSpProceduralStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpProceduralStatus.setStatus('mandatory') mscColSpControlStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpControlStatus.setStatus('mandatory') mscColSpAlarmStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpAlarmStatus.setStatus('mandatory') mscColSpStandbyStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 15))).clone(namedValues=NamedValues(("hotStandby", 0), ("coldStandby", 1), ("providingService", 2), ("notSet", 15))).clone('notSet')).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpStandbyStatus.setStatus('mandatory') mscColSpUnknownStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1))).clone('false')).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpUnknownStatus.setStatus('mandatory') mscColSpOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 12), ) if mibBuilder.loadTexts: mscColSpOperTable.setStatus('mandatory') mscColSpOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 12, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColIndex"), (0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColSpIndex")) if mibBuilder.loadTexts: mscColSpOperEntry.setStatus('mandatory') mscColSpSpoolingFileName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 12, 1, 1), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpSpoolingFileName.setStatus('mandatory') mscColSpStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 13), ) if mibBuilder.loadTexts: mscColSpStatsTable.setStatus('mandatory') mscColSpStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 13, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColIndex"), (0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColSpIndex")) if mibBuilder.loadTexts: mscColSpStatsEntry.setStatus('mandatory') mscColSpCurrentQueueSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 13, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpCurrentQueueSize.setStatus('mandatory') mscColSpRecordsRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 13, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpRecordsRx.setStatus('mandatory') mscColSpRecordsDiscarded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 13, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColSpRecordsDiscarded.setStatus('mandatory') mscColAg = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3)) mscColAgRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 1), ) if mibBuilder.loadTexts: mscColAgRowStatusTable.setStatus('mandatory') mscColAgRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 1, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColIndex"), (0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColAgIndex")) if mibBuilder.loadTexts: mscColAgRowStatusEntry.setStatus('mandatory') mscColAgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColAgRowStatus.setStatus('mandatory') mscColAgComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColAgComponentName.setStatus('mandatory') mscColAgStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColAgStorageType.setStatus('mandatory') mscColAgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))) if mibBuilder.loadTexts: mscColAgIndex.setStatus('mandatory') mscColAgStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 10), ) if mibBuilder.loadTexts: mscColAgStatsTable.setStatus('mandatory') mscColAgStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 10, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColIndex"), (0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColAgIndex")) if mibBuilder.loadTexts: mscColAgStatsEntry.setStatus('mandatory') mscColAgCurrentQueueSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 10, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColAgCurrentQueueSize.setStatus('mandatory') mscColAgRecordsRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 10, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColAgRecordsRx.setStatus('mandatory') mscColAgRecordsDiscarded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 10, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColAgRecordsDiscarded.setStatus('mandatory') mscColAgAgentStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 11), ) if mibBuilder.loadTexts: mscColAgAgentStatsTable.setStatus('mandatory') mscColAgAgentStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 11, 1), ).setIndexNames((0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColIndex"), (0, "Nortel-MsCarrier-MscPassport-DataCollectionMIB", "mscColAgIndex")) if mibBuilder.loadTexts: mscColAgAgentStatsEntry.setStatus('mandatory') mscColAgRecordsNotGenerated = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 11, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mscColAgRecordsNotGenerated.setStatus('mandatory') dataCollectionGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 1)) dataCollectionGroupCA = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 1, 1)) dataCollectionGroupCA02 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 1, 1, 3)) dataCollectionGroupCA02A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 1, 1, 3, 2)) dataCollectionCapabilities = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 3)) dataCollectionCapabilitiesCA = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 3, 1)) dataCollectionCapabilitiesCA02 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 3, 1, 3)) dataCollectionCapabilitiesCA02A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 3, 1, 3, 2)) mibBuilder.exportSymbols("Nortel-MsCarrier-MscPassport-DataCollectionMIB", mscColProvEntry=mscColProvEntry, mscColSpUsageState=mscColSpUsageState, mscColAgRowStatus=mscColAgRowStatus, mscColIndex=mscColIndex, mscColSpProvEntry=mscColSpProvEntry, mscColSpStandbyStatus=mscColSpStandbyStatus, mscColAgComponentName=mscColAgComponentName, mscColCurrentQueueSize=mscColCurrentQueueSize, mscColAgCurrentQueueSize=mscColAgCurrentQueueSize, mscColStatsEntry=mscColStatsEntry, mscColStatsTable=mscColStatsTable, mscColSpSpoolingFileName=mscColSpSpoolingFileName, mscColAgStorageType=mscColAgStorageType, mscColAgRecordsRx=mscColAgRecordsRx, mscColPeakTable=mscColPeakTable, mscColSpRecordsDiscarded=mscColSpRecordsDiscarded, mscColSpControlStatus=mscColSpControlStatus, dataCollectionGroupCA02=dataCollectionGroupCA02, dataCollectionCapabilitiesCA02A=dataCollectionCapabilitiesCA02A, mscColAgAgentStatsEntry=mscColAgAgentStatsEntry, mscColSpOperTable=mscColSpOperTable, mscColSpOperationalState=mscColSpOperationalState, mscColAgRowStatusTable=mscColAgRowStatusTable, dataCollectionMIB=dataCollectionMIB, mscColAgRowStatusEntry=mscColAgRowStatusEntry, mscColAgRecordsDiscarded=mscColAgRecordsDiscarded, mscColSpAdminState=mscColSpAdminState, mscColAgStatsTable=mscColAgStatsTable, mscColSpAlarmStatus=mscColSpAlarmStatus, mscColTimesValue=mscColTimesValue, mscColAgAgentStatsTable=mscColAgAgentStatsTable, mscColTimesRowStatus=mscColTimesRowStatus, mscColTimesTable=mscColTimesTable, mscColAgIndex=mscColAgIndex, mscColLastEntry=mscColLastEntry, mscColPeakValue=mscColPeakValue, dataCollectionGroupCA=dataCollectionGroupCA, mscColSpSpooling=mscColSpSpooling, dataCollectionCapabilitiesCA02=dataCollectionCapabilitiesCA02, mscColSpMaximumNumberOfFiles=mscColSpMaximumNumberOfFiles, mscColSpProvTable=mscColSpProvTable, mscColSpAvailabilityStatus=mscColSpAvailabilityStatus, mscColSpCurrentQueueSize=mscColSpCurrentQueueSize, mscColSpStorageType=mscColSpStorageType, dataCollectionGroupCA02A=dataCollectionGroupCA02A, mscColAg=mscColAg, mscColSpUnknownStatus=mscColSpUnknownStatus, mscColAgStatsEntry=mscColAgStatsEntry, dataCollectionGroup=dataCollectionGroup, mscCol=mscCol, mscColSpOperEntry=mscColSpOperEntry, mscColSpRowStatusEntry=mscColSpRowStatusEntry, mscColSpStateEntry=mscColSpStateEntry, mscColAgRecordsNotGenerated=mscColAgRecordsNotGenerated, mscColSpStateTable=mscColSpStateTable, mscColSpRecordsRx=mscColSpRecordsRx, mscColSpRowStatusTable=mscColSpRowStatusTable, mscColSpComponentName=mscColSpComponentName, mscColSpProceduralStatus=mscColSpProceduralStatus, mscColRowStatusTable=mscColRowStatusTable, mscColPeakEntry=mscColPeakEntry, mscColLastValue=mscColLastValue, mscColRowStatusEntry=mscColRowStatusEntry, mscColAgentQueueSize=mscColAgentQueueSize, mscColLastTable=mscColLastTable, mscColRowStatus=mscColRowStatus, mscColTimesEntry=mscColTimesEntry, mscColSp=mscColSp, mscColPeakRowStatus=mscColPeakRowStatus, mscColStorageType=mscColStorageType, dataCollectionCapabilitiesCA=dataCollectionCapabilitiesCA, mscColSpRowStatus=mscColSpRowStatus, mscColComponentName=mscColComponentName, mscColSpIndex=mscColSpIndex, mscColRecordsRx=mscColRecordsRx, mscColSpStatsTable=mscColSpStatsTable, mscColProvTable=mscColProvTable, mscColSpStatsEntry=mscColSpStatsEntry, dataCollectionCapabilities=dataCollectionCapabilities, mscColRecordsDiscarded=mscColRecordsDiscarded)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, single_value_constraint, value_range_constraint, value_size_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsIntersection') (display_string, integer32, row_status, gauge32, counter32, unsigned32, storage_type) = mibBuilder.importSymbols('Nortel-MsCarrier-MscPassport-StandardTextualConventionsMIB', 'DisplayString', 'Integer32', 'RowStatus', 'Gauge32', 'Counter32', 'Unsigned32', 'StorageType') (ascii_string, enterprise_date_and_time, non_replicated) = mibBuilder.importSymbols('Nortel-MsCarrier-MscPassport-TextualConventionsMIB', 'AsciiString', 'EnterpriseDateAndTime', 'NonReplicated') (msc_passport_mi_bs, msc_components) = mibBuilder.importSymbols('Nortel-MsCarrier-MscPassport-UsefulDefinitionsMIB', 'mscPassportMIBs', 'mscComponents') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (integer32, counter64, mib_identifier, notification_type, object_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, module_identity, ip_address, iso, gauge32, counter32, bits, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'Counter64', 'MibIdentifier', 'NotificationType', 'ObjectIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'ModuleIdentity', 'IpAddress', 'iso', 'Gauge32', 'Counter32', 'Bits', 'Unsigned32') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') data_collection_mib = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14)) msc_col = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21)) msc_col_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 1)) if mibBuilder.loadTexts: mscColRowStatusTable.setStatus('mandatory') msc_col_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColIndex')) if mibBuilder.loadTexts: mscColRowStatusEntry.setStatus('mandatory') msc_col_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscColRowStatus.setStatus('mandatory') msc_col_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColComponentName.setStatus('mandatory') msc_col_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColStorageType.setStatus('mandatory') msc_col_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('accounting', 0), ('alarm', 1), ('log', 2), ('debug', 3), ('scn', 4), ('trap', 5), ('stats', 6)))) if mibBuilder.loadTexts: mscColIndex.setStatus('mandatory') msc_col_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 10)) if mibBuilder.loadTexts: mscColProvTable.setStatus('mandatory') msc_col_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColIndex')) if mibBuilder.loadTexts: mscColProvEntry.setStatus('mandatory') msc_col_agent_queue_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 10, 1, 1), unsigned32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(20, 10000)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscColAgentQueueSize.setStatus('obsolete') msc_col_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 11)) if mibBuilder.loadTexts: mscColStatsTable.setStatus('mandatory') msc_col_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 11, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColIndex')) if mibBuilder.loadTexts: mscColStatsEntry.setStatus('mandatory') msc_col_current_queue_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 11, 1, 1), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColCurrentQueueSize.setStatus('mandatory') msc_col_records_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 11, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColRecordsRx.setStatus('mandatory') msc_col_records_discarded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 11, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColRecordsDiscarded.setStatus('mandatory') msc_col_times_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 266)) if mibBuilder.loadTexts: mscColTimesTable.setStatus('mandatory') msc_col_times_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 266, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColIndex'), (0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColTimesValue')) if mibBuilder.loadTexts: mscColTimesEntry.setStatus('mandatory') msc_col_times_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 266, 1, 1), enterprise_date_and_time().subtype(subtypeSpec=value_size_constraint(5, 5)).setFixedLength(5)).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscColTimesValue.setStatus('mandatory') msc_col_times_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 266, 1, 2), row_status()).setMaxAccess('writeonly') if mibBuilder.loadTexts: mscColTimesRowStatus.setStatus('mandatory') msc_col_last_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 275)) if mibBuilder.loadTexts: mscColLastTable.setStatus('obsolete') msc_col_last_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 275, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColIndex'), (0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColLastValue')) if mibBuilder.loadTexts: mscColLastEntry.setStatus('obsolete') msc_col_last_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 275, 1, 1), enterprise_date_and_time().subtype(subtypeSpec=value_size_constraint(19, 19)).setFixedLength(19)).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColLastValue.setStatus('obsolete') msc_col_peak_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 279)) if mibBuilder.loadTexts: mscColPeakTable.setStatus('mandatory') msc_col_peak_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 279, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColIndex'), (0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColPeakValue')) if mibBuilder.loadTexts: mscColPeakEntry.setStatus('mandatory') msc_col_peak_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 279, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 15))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscColPeakValue.setStatus('mandatory') msc_col_peak_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 279, 1, 2), row_status()).setMaxAccess('writeonly') if mibBuilder.loadTexts: mscColPeakRowStatus.setStatus('mandatory') msc_col_sp = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2)) msc_col_sp_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 1)) if mibBuilder.loadTexts: mscColSpRowStatusTable.setStatus('mandatory') msc_col_sp_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColIndex'), (0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColSpIndex')) if mibBuilder.loadTexts: mscColSpRowStatusEntry.setStatus('mandatory') msc_col_sp_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpRowStatus.setStatus('mandatory') msc_col_sp_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpComponentName.setStatus('mandatory') msc_col_sp_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpStorageType.setStatus('mandatory') msc_col_sp_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: mscColSpIndex.setStatus('mandatory') msc_col_sp_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 10)) if mibBuilder.loadTexts: mscColSpProvTable.setStatus('mandatory') msc_col_sp_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColIndex'), (0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColSpIndex')) if mibBuilder.loadTexts: mscColSpProvEntry.setStatus('mandatory') msc_col_sp_spooling = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscColSpSpooling.setStatus('mandatory') msc_col_sp_maximum_number_of_files = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 200))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mscColSpMaximumNumberOfFiles.setStatus('mandatory') msc_col_sp_state_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11)) if mibBuilder.loadTexts: mscColSpStateTable.setStatus('mandatory') msc_col_sp_state_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColIndex'), (0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColSpIndex')) if mibBuilder.loadTexts: mscColSpStateEntry.setStatus('mandatory') msc_col_sp_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('locked', 0), ('unlocked', 1), ('shuttingDown', 2))).clone('unlocked')).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpAdminState.setStatus('mandatory') msc_col_sp_operational_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpOperationalState.setStatus('mandatory') msc_col_sp_usage_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('idle', 0), ('active', 1), ('busy', 2))).clone('idle')).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpUsageState.setStatus('mandatory') msc_col_sp_availability_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpAvailabilityStatus.setStatus('mandatory') msc_col_sp_procedural_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpProceduralStatus.setStatus('mandatory') msc_col_sp_control_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpControlStatus.setStatus('mandatory') msc_col_sp_alarm_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpAlarmStatus.setStatus('mandatory') msc_col_sp_standby_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 15))).clone(namedValues=named_values(('hotStandby', 0), ('coldStandby', 1), ('providingService', 2), ('notSet', 15))).clone('notSet')).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpStandbyStatus.setStatus('mandatory') msc_col_sp_unknown_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 11, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1))).clone('false')).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpUnknownStatus.setStatus('mandatory') msc_col_sp_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 12)) if mibBuilder.loadTexts: mscColSpOperTable.setStatus('mandatory') msc_col_sp_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 12, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColIndex'), (0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColSpIndex')) if mibBuilder.loadTexts: mscColSpOperEntry.setStatus('mandatory') msc_col_sp_spooling_file_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 12, 1, 1), ascii_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpSpoolingFileName.setStatus('mandatory') msc_col_sp_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 13)) if mibBuilder.loadTexts: mscColSpStatsTable.setStatus('mandatory') msc_col_sp_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 13, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColIndex'), (0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColSpIndex')) if mibBuilder.loadTexts: mscColSpStatsEntry.setStatus('mandatory') msc_col_sp_current_queue_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 13, 1, 1), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpCurrentQueueSize.setStatus('mandatory') msc_col_sp_records_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 13, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpRecordsRx.setStatus('mandatory') msc_col_sp_records_discarded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 2, 13, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColSpRecordsDiscarded.setStatus('mandatory') msc_col_ag = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3)) msc_col_ag_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 1)) if mibBuilder.loadTexts: mscColAgRowStatusTable.setStatus('mandatory') msc_col_ag_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 1, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColIndex'), (0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColAgIndex')) if mibBuilder.loadTexts: mscColAgRowStatusEntry.setStatus('mandatory') msc_col_ag_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColAgRowStatus.setStatus('mandatory') msc_col_ag_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColAgComponentName.setStatus('mandatory') msc_col_ag_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColAgStorageType.setStatus('mandatory') msc_col_ag_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 15))) if mibBuilder.loadTexts: mscColAgIndex.setStatus('mandatory') msc_col_ag_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 10)) if mibBuilder.loadTexts: mscColAgStatsTable.setStatus('mandatory') msc_col_ag_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 10, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColIndex'), (0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColAgIndex')) if mibBuilder.loadTexts: mscColAgStatsEntry.setStatus('mandatory') msc_col_ag_current_queue_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 10, 1, 1), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColAgCurrentQueueSize.setStatus('mandatory') msc_col_ag_records_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 10, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColAgRecordsRx.setStatus('mandatory') msc_col_ag_records_discarded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 10, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColAgRecordsDiscarded.setStatus('mandatory') msc_col_ag_agent_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 11)) if mibBuilder.loadTexts: mscColAgAgentStatsTable.setStatus('mandatory') msc_col_ag_agent_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 11, 1)).setIndexNames((0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColIndex'), (0, 'Nortel-MsCarrier-MscPassport-DataCollectionMIB', 'mscColAgIndex')) if mibBuilder.loadTexts: mscColAgAgentStatsEntry.setStatus('mandatory') msc_col_ag_records_not_generated = mib_table_column((1, 3, 6, 1, 4, 1, 562, 36, 2, 1, 21, 3, 11, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mscColAgRecordsNotGenerated.setStatus('mandatory') data_collection_group = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 1)) data_collection_group_ca = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 1, 1)) data_collection_group_ca02 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 1, 1, 3)) data_collection_group_ca02_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 1, 1, 3, 2)) data_collection_capabilities = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 3)) data_collection_capabilities_ca = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 3, 1)) data_collection_capabilities_ca02 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 3, 1, 3)) data_collection_capabilities_ca02_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 36, 2, 2, 14, 3, 1, 3, 2)) mibBuilder.exportSymbols('Nortel-MsCarrier-MscPassport-DataCollectionMIB', mscColProvEntry=mscColProvEntry, mscColSpUsageState=mscColSpUsageState, mscColAgRowStatus=mscColAgRowStatus, mscColIndex=mscColIndex, mscColSpProvEntry=mscColSpProvEntry, mscColSpStandbyStatus=mscColSpStandbyStatus, mscColAgComponentName=mscColAgComponentName, mscColCurrentQueueSize=mscColCurrentQueueSize, mscColAgCurrentQueueSize=mscColAgCurrentQueueSize, mscColStatsEntry=mscColStatsEntry, mscColStatsTable=mscColStatsTable, mscColSpSpoolingFileName=mscColSpSpoolingFileName, mscColAgStorageType=mscColAgStorageType, mscColAgRecordsRx=mscColAgRecordsRx, mscColPeakTable=mscColPeakTable, mscColSpRecordsDiscarded=mscColSpRecordsDiscarded, mscColSpControlStatus=mscColSpControlStatus, dataCollectionGroupCA02=dataCollectionGroupCA02, dataCollectionCapabilitiesCA02A=dataCollectionCapabilitiesCA02A, mscColAgAgentStatsEntry=mscColAgAgentStatsEntry, mscColSpOperTable=mscColSpOperTable, mscColSpOperationalState=mscColSpOperationalState, mscColAgRowStatusTable=mscColAgRowStatusTable, dataCollectionMIB=dataCollectionMIB, mscColAgRowStatusEntry=mscColAgRowStatusEntry, mscColAgRecordsDiscarded=mscColAgRecordsDiscarded, mscColSpAdminState=mscColSpAdminState, mscColAgStatsTable=mscColAgStatsTable, mscColSpAlarmStatus=mscColSpAlarmStatus, mscColTimesValue=mscColTimesValue, mscColAgAgentStatsTable=mscColAgAgentStatsTable, mscColTimesRowStatus=mscColTimesRowStatus, mscColTimesTable=mscColTimesTable, mscColAgIndex=mscColAgIndex, mscColLastEntry=mscColLastEntry, mscColPeakValue=mscColPeakValue, dataCollectionGroupCA=dataCollectionGroupCA, mscColSpSpooling=mscColSpSpooling, dataCollectionCapabilitiesCA02=dataCollectionCapabilitiesCA02, mscColSpMaximumNumberOfFiles=mscColSpMaximumNumberOfFiles, mscColSpProvTable=mscColSpProvTable, mscColSpAvailabilityStatus=mscColSpAvailabilityStatus, mscColSpCurrentQueueSize=mscColSpCurrentQueueSize, mscColSpStorageType=mscColSpStorageType, dataCollectionGroupCA02A=dataCollectionGroupCA02A, mscColAg=mscColAg, mscColSpUnknownStatus=mscColSpUnknownStatus, mscColAgStatsEntry=mscColAgStatsEntry, dataCollectionGroup=dataCollectionGroup, mscCol=mscCol, mscColSpOperEntry=mscColSpOperEntry, mscColSpRowStatusEntry=mscColSpRowStatusEntry, mscColSpStateEntry=mscColSpStateEntry, mscColAgRecordsNotGenerated=mscColAgRecordsNotGenerated, mscColSpStateTable=mscColSpStateTable, mscColSpRecordsRx=mscColSpRecordsRx, mscColSpRowStatusTable=mscColSpRowStatusTable, mscColSpComponentName=mscColSpComponentName, mscColSpProceduralStatus=mscColSpProceduralStatus, mscColRowStatusTable=mscColRowStatusTable, mscColPeakEntry=mscColPeakEntry, mscColLastValue=mscColLastValue, mscColRowStatusEntry=mscColRowStatusEntry, mscColAgentQueueSize=mscColAgentQueueSize, mscColLastTable=mscColLastTable, mscColRowStatus=mscColRowStatus, mscColTimesEntry=mscColTimesEntry, mscColSp=mscColSp, mscColPeakRowStatus=mscColPeakRowStatus, mscColStorageType=mscColStorageType, dataCollectionCapabilitiesCA=dataCollectionCapabilitiesCA, mscColSpRowStatus=mscColSpRowStatus, mscColComponentName=mscColComponentName, mscColSpIndex=mscColSpIndex, mscColRecordsRx=mscColRecordsRx, mscColSpStatsTable=mscColSpStatsTable, mscColProvTable=mscColProvTable, mscColSpStatsEntry=mscColSpStatsEntry, dataCollectionCapabilities=dataCollectionCapabilities, mscColRecordsDiscarded=mscColRecordsDiscarded)
for i in range(1,101) : if(i % 2 != 0): pass else: print(i,"is even number")
for i in range(1, 101): if i % 2 != 0: pass else: print(i, 'is even number')
class PriorityQueueBase: ''' abstract base class for a priority queue ''' class _Item: __slots_ = '_key', '_value' def __init__(self, k, v): self._key = k self._value = v def __lt__(self, other): return self._key < other._key def is_empty(self): return len(self) == 0 class UnsortedPriorityQueue(PriorityQueueBase): ''' a min-oriented priority queue implemented with unsorted list ''' def _find_min(self): ''' private function. Finds position holding smallest element in the queue''' if self.is_empty(): raise ValueError('priority queue is empty') small = self._data.first() walk = self._data.after(small) while walk is not None: if walk.element() < small.element(): small = walk walk = self._data.after(walk) return small def __init__(self): self._data = PositionalList() def __len__(self): return len(self._data) def add(self, key, value): ''' adds a key-value pair ''' self._data.add_last(self._Item(key, value)) def min(self): ''' inspect min key-value pair ''' if self.is_empty(): raise ValueError('empty') p = self._find_min() item = p.element() return (item._key, item._value) def remove_min(self): ''' remove and return min key-value pair ''' if self.is_empty(): raise ValueError('empty') p = self._find_min() item = self._data.delete(p) return (item._key, item._value) class SortedPriorityQueue(PriorityQueueBase): def __init__(self): self._data = PositionalList() def __len__(self): return len(self._data) def add(self, key, value): ''' add a key-value pair ''' newest = self._Item(key, value) walk = self._data.last() while walk is not None and newest < walk.element(): walk = self._data.before(walk) if walk is None: self._data.add_first(newest) else: self._data.add_after(newest, walk) def min(self): ''' inspects minimum key-value pair ''' if self.is_empty(): raise ValueError('empty') item = self._data.first().element() return (item._key, item._value) def remove_min(self): ''' removes and returns min key-value pair ''' if self.is_empty(): raise ValueError('empty') p = self._data.first() item = self._data.delete(p) return (item._key, item._value) class MaxPriorityQueue(PriorityQueueBase): def _left(self, j): return 2 * j + 1 def _right(self, j): return 2 * j + 2 def _parent(self, j): return (j - 1) // 2 def _swap(self, i, j): self._data[i], self._data[j] = self._data[j], self._data[i] def _upheap(self, j): parent = self._parent(j) if parent >= 0 and self._data[j] > self._data[parent]: self._swap(j, parent) self._upheap(parent) def _downheap(self, j): left = self._left(j) if left < len(self._data): big = left right = self._right(j) if right < len(self._data) and self._data[right] > self._data[left]: big = right if self._data[big] > self._data[j]: self._swap(big, j) self._downheap(big) def __len__(self): return len(self._data) def __init__(self, contents=()): self._data = [self._Item(k, v) for k, v in contents] if len(self._data) > 1: self._heapify() def _heapify(self): ''' private function. Finds first non-leaf element and performs down heap for each element from first non-leaf to root ''' first_non_leaf = self._parent(len(self._data) - 1) for i in range(first_non_leaf, -1, -1): self._downheap(i) def add(self, key, value): ''' adds key-value pair''' self._data.append(self._Item(key, value)) self._upheap(len(self._data) - 1) def max(self): ''' inspects head of the queue Head of the queue is the minimum element heap ''' if self.is_empty(): raise ValueError('empty') item = self._data[0] return (item._key, item._value) def remove_max(self): ''' removes and returns head of the queue head of the queue is the minimum element in the heap ''' if self.is_empty(): raise ValueError('empty') self._swap(0, len(self._data) - 1) item = self._data.pop() self._downheap(0) return (item._key, item._value) class MinPriorityQueue(PriorityQueueBase): def _left(self, j): return 2 * j + 1 def _right(self, j): return 2 * j + 2 def _parent(self, j): return (j - 1) // 2 def _swap(self, i, j): self._data[i], self._data[j] = self._data[j], self._data[i] def _upheap(self, j): parent = self._parent(j) if parent >= 0 and self._data[j] < self._data[parent]: self._swap(j, parent) self._upheap(parent) def _downheap(self, j): left = self._left(j) if left < len(self._data): small = left right = self._right(j) if right < len(self._data) and self._data[right] < self._data[left]: small = right if self._data[small] < self._data[j]: self._swap(small, j) self._downheap(small) def __len__(self): return len(self._data) def __init__(self, contents=()): self._data = [self._Item(k, v) for k, v in contents] if len(self._data) > 1: self._heapify() def _heapify(self): ''' private function. Finds first non-leaf element and performs down heap for each element from first non-leaf to root ''' first_non_leaf = self._parent(len(self._data) - 1) for i in range(first_non_leaf, -1, -1): self._downheap(i) def add(self, key, value): ''' adds key-value pair''' self._data.append(self._Item(key, value)) self._upheap(len(self._data) - 1) def min(self): ''' inspects head of the queue Head of the queue is the minimum element heap ''' if self.is_empty(): raise ValueError('empty') item = self._data[0] return (item._key, item._value) def remove_min(self): ''' removes and returns head of the queue head of the queue is the minimum element in the heap ''' if self.is_empty(): raise ValueError('empty') self._swap(0, len(self._data) - 1) item = self._data.pop() self._downheap(0) return (item._key, item._value) class AdaptableMinPriorityQueue(MinPriorityQueue): class Locator(MinPriorityQueue._Item): __slots_ = '_index' def __init__(self, k, v, j): super().__init__(k, v) self._index = j def _swap(self, i, j): super()._swap(i, j) self._data[i]._index = i # reset locator index, post-swap self._data[j]._index = j # reset locator index, post-swap def _validate_loc(self, loc): if not type(loc) is self.Locator: raise TypeError('not locator') j = loc._index if not (0 <= j < len(self._data) and self._data[j] is loc): raise ValueError('invalid locator') return j def _bubble(self, j): if j > 0 and self._data[j] < self._data[self._parent(j)]: self._upheap(j) else: self._downheap(j) def add(self, key, value): ''' Add a key,value pair and returns Locator for new entry ''' token = self.Locator(key, value, len(self._data)) self._data.append(token) self._upheap(len(self._data) - 1) return token def update(self, loc, newkey, newvalue): ''' Updates key and value for the entry identified by Locator loc ''' j = self._validate_loc(loc) loc._key = newkey loc._value = newvalue self._bubble(j) def remove(self, loc): ''' Remove and return (k,v) pair identified by Locator loc ''' j = self._validate_loc(loc) if j == len(self._data) - 1: self._data.pop() else: self._swap(j, len(self._data) - 1) self._data.pop() self._bubble(j) return (loc._key, loc._value) class AdaptableMaxPriorityQueue(MaxPriorityQueue): class Locator(MaxPriorityQueue._Item): __slots_ = '_index' def __init__(self, k, v, j): super().__init__(k, v) self._index = j def _swap(self, i, j): super()._swap(i, j) self._data[i]._index = i # reset locator index, post-swap self._data[j]._index = j # reset locator index, post-swap def _validate_loc(self, loc): if not type(loc) is self.Locator: raise TypeError('not locator') j = loc._index if not (0 <= j < len(self._data) and self._data[j] is loc): raise ValueError('invalid locator') return j def _bubble(self, j): if j > 0 and self._data[j] > self._data[self._parent(j)]: self._upheap(j) else: self._downheap(j) def add(self, key, value): ''' Add a key,value pair and returns Locator for new entry ''' token = self.Locator(key, value, len(self._data)) self._data.append(token) self._upheap(len(self._data) - 1) return token def update(self, loc, newkey, newvalue): ''' Updates key and value for the entry identified by Locator loc ''' j = self._validate_loc(loc) loc._key = newkey loc._value = newvalue self._bubble(j) def remove(self, loc): ''' Remove and return (k,v) pair identified by Locator loc ''' j = self._validate_loc(loc) if j == len(self._data) - 1: self._data.pop() else: self._swap(j, len(self._data) - 1) self._data.pop() self._bubble(j) return (loc._key, loc._value) class Graph: ''' representation of simple graph ( no self cycles and parallel edges ) using and adjacency map ''' def __init__(self, directed=False): self._outgoing = {} self._incoming = {} if directed else self._outgoing def is_directed(self): ''' return True if graph is directed, False otherwise ''' return self._incoming is not self._outgoing def vertex_count(self): ''' return count of all vertices in the graph ''' return len(self._outgoing) def vertices(self): ''' return iteration over all vertices in the graph ''' return self._outgoing.keys() def edge_count(self): ''' return count of all edges off the graph ''' total = sum(len(self._outgoing[v]) for v in self._outgoing) return total if self.is_directed() else total // 2 def edges(self): ''' return a set of all edges of the graph ''' result = set() for secondary_map in self._outgoing.values(): result.update(secondary_map.values()) return result def get_edge(self, u, v): ''' return the edge from u to v, or None if not adjacent. ''' return self._outgoing[u].get(v) # returns None if not adjacent def degree(self, v, outgoing=True): ''' Return number of (outgoing) edges incident to vertex v in the graph If graph is directed, optional paramter used to count incoming edges ''' adj = self._outgoing if outgoing else self._incoming return len(adj[v]) def incident_edges(self, v, outgoing=True): ''' Return all (outgoing) edges incident to vertex v in the graph. If graph is directed, optional parameter used to request incoming edges. ''' adj = self._outgoing if outgoing else self._incoming for vertex in adj[v]: yield vertex def insert_edge(self, u, v, x): ''' insert and return new edge from u to v with auxiliary element x ''' if u not in self._outgoing: self._outgoing[u] = {} if v not in self._outgoing: self._outgoing[v] = {} if u not in self._incoming: self._incoming[u] = {} if v not in self._incoming: self._incoming[v] = {} self._outgoing[u][v] = x self._incoming[v][u] = x def remove_node(self, x): del self._incoming[x] for v in self.vertices(): if x in self._outgoing[v]: del self._outgoing[v][x] def farthest(self, s): d = {} cloud = {} pq = AdaptableMaxPriorityQueue() pqlocator = {} for v in self.vertices(): if v is s: d[v] = 0 else: d[v] = -1 pqlocator[v] = pq.add(d[v], v) while not pq.is_empty(): key, u = pq.remove_max() cloud[u] = key del pqlocator[u] for v in self.incident_edges(u): if v not in cloud: wgt = self._outgoing[u][v] if d[u] + wgt > d[v]: d[v] = d[u] + wgt pq.update(pqlocator[v], d[v], v) max = 0 retnode = None for node, cost in cloud.items(): if max < cost: max = cost retnode = node return retnode def distance(self, s, y): d = {} cloud = {} pq = AdaptableMinPriorityQueue() pqlocator = {} for v in self.vertices(): if v is s: d[v] = 0 else: d[v] = float('inf') pqlocator[v] = pq.add(d[v], v) while not pq.is_empty(): key, u = pq.remove_min() cloud[u] = key del pqlocator[u] for v in self.incident_edges(u): if v not in cloud: wgt = self._outgoing[u][v] if d[u] + wgt < d[v]: d[v] = d[u] + wgt pq.update(pqlocator[v], d[v], v) return cloud[y] def dijkstra(g, s): d = {} cloud = {} pq = AdaptableMinPriorityQueue() pqlocator = {} for v in g.vertices(): if v is s: d[v] = 0 else: d[v] = float('inf') pqlocator[v] = pq.add(d[v], v) while not pq.is_empty(): key, u = pq.remove_min() cloud[u] = key del pqlocator[u] for e in g.incident_edges(u): v = e.opposite(u) if v not in cloud: wgt = e.element() if d[u] + wgt < d[v]: d[v] = d[u] + wgt pq.update(pqlocator[v], d[v], v) return cloud def query_one(g, x, w): y = g.farthest(x) n = g.vertex_count() g.insert_edge(y, n+1, w) def query_two(g, x, w): n = g.vertex_count() g.insert_edge(x, n+1, w) def query_three(g, x): y = g.farthest(x) g.remove_node(y) def query_four(g, x): y = g.farthest(x) return g.distance(x, y) def cyclicalQueries(w, m): g = Graph(directed=True) n = len(w) for i in range(n): g.insert_edge((i+1) % n+1, (i+2) % n+1, w[i]) queries = [] for _ in range(m): query = list(map(int, input().rstrip().split())) queries.append(query) result = [] for query in queries: qtype = query[0] if qtype == 1: query_one(g, query[1], query[2]) elif qtype == 2: query_two(g, query[1], query[2]) elif qtype == 3: query_three(g, query[1]) elif qtype == 4: result.append(query_four(g, query[1])) else: raise ValueError('input error') return result if __name__ == '__main__': n = int(input()) w = list(map(int, input().rstrip().split())) m = int(input()) result = cyclicalQueries(w, m) print('\n'.join(map(str, result)))
class Priorityqueuebase: """ abstract base class for a priority queue """ class _Item: __slots_ = ('_key', '_value') def __init__(self, k, v): self._key = k self._value = v def __lt__(self, other): return self._key < other._key def is_empty(self): return len(self) == 0 class Unsortedpriorityqueue(PriorityQueueBase): """ a min-oriented priority queue implemented with unsorted list """ def _find_min(self): """ private function. Finds position holding smallest element in the queue""" if self.is_empty(): raise value_error('priority queue is empty') small = self._data.first() walk = self._data.after(small) while walk is not None: if walk.element() < small.element(): small = walk walk = self._data.after(walk) return small def __init__(self): self._data = positional_list() def __len__(self): return len(self._data) def add(self, key, value): """ adds a key-value pair """ self._data.add_last(self._Item(key, value)) def min(self): """ inspect min key-value pair """ if self.is_empty(): raise value_error('empty') p = self._find_min() item = p.element() return (item._key, item._value) def remove_min(self): """ remove and return min key-value pair """ if self.is_empty(): raise value_error('empty') p = self._find_min() item = self._data.delete(p) return (item._key, item._value) class Sortedpriorityqueue(PriorityQueueBase): def __init__(self): self._data = positional_list() def __len__(self): return len(self._data) def add(self, key, value): """ add a key-value pair """ newest = self._Item(key, value) walk = self._data.last() while walk is not None and newest < walk.element(): walk = self._data.before(walk) if walk is None: self._data.add_first(newest) else: self._data.add_after(newest, walk) def min(self): """ inspects minimum key-value pair """ if self.is_empty(): raise value_error('empty') item = self._data.first().element() return (item._key, item._value) def remove_min(self): """ removes and returns min key-value pair """ if self.is_empty(): raise value_error('empty') p = self._data.first() item = self._data.delete(p) return (item._key, item._value) class Maxpriorityqueue(PriorityQueueBase): def _left(self, j): return 2 * j + 1 def _right(self, j): return 2 * j + 2 def _parent(self, j): return (j - 1) // 2 def _swap(self, i, j): (self._data[i], self._data[j]) = (self._data[j], self._data[i]) def _upheap(self, j): parent = self._parent(j) if parent >= 0 and self._data[j] > self._data[parent]: self._swap(j, parent) self._upheap(parent) def _downheap(self, j): left = self._left(j) if left < len(self._data): big = left right = self._right(j) if right < len(self._data) and self._data[right] > self._data[left]: big = right if self._data[big] > self._data[j]: self._swap(big, j) self._downheap(big) def __len__(self): return len(self._data) def __init__(self, contents=()): self._data = [self._Item(k, v) for (k, v) in contents] if len(self._data) > 1: self._heapify() def _heapify(self): """ private function. Finds first non-leaf element and performs down heap for each element from first non-leaf to root """ first_non_leaf = self._parent(len(self._data) - 1) for i in range(first_non_leaf, -1, -1): self._downheap(i) def add(self, key, value): """ adds key-value pair""" self._data.append(self._Item(key, value)) self._upheap(len(self._data) - 1) def max(self): """ inspects head of the queue Head of the queue is the minimum element heap """ if self.is_empty(): raise value_error('empty') item = self._data[0] return (item._key, item._value) def remove_max(self): """ removes and returns head of the queue head of the queue is the minimum element in the heap """ if self.is_empty(): raise value_error('empty') self._swap(0, len(self._data) - 1) item = self._data.pop() self._downheap(0) return (item._key, item._value) class Minpriorityqueue(PriorityQueueBase): def _left(self, j): return 2 * j + 1 def _right(self, j): return 2 * j + 2 def _parent(self, j): return (j - 1) // 2 def _swap(self, i, j): (self._data[i], self._data[j]) = (self._data[j], self._data[i]) def _upheap(self, j): parent = self._parent(j) if parent >= 0 and self._data[j] < self._data[parent]: self._swap(j, parent) self._upheap(parent) def _downheap(self, j): left = self._left(j) if left < len(self._data): small = left right = self._right(j) if right < len(self._data) and self._data[right] < self._data[left]: small = right if self._data[small] < self._data[j]: self._swap(small, j) self._downheap(small) def __len__(self): return len(self._data) def __init__(self, contents=()): self._data = [self._Item(k, v) for (k, v) in contents] if len(self._data) > 1: self._heapify() def _heapify(self): """ private function. Finds first non-leaf element and performs down heap for each element from first non-leaf to root """ first_non_leaf = self._parent(len(self._data) - 1) for i in range(first_non_leaf, -1, -1): self._downheap(i) def add(self, key, value): """ adds key-value pair""" self._data.append(self._Item(key, value)) self._upheap(len(self._data) - 1) def min(self): """ inspects head of the queue Head of the queue is the minimum element heap """ if self.is_empty(): raise value_error('empty') item = self._data[0] return (item._key, item._value) def remove_min(self): """ removes and returns head of the queue head of the queue is the minimum element in the heap """ if self.is_empty(): raise value_error('empty') self._swap(0, len(self._data) - 1) item = self._data.pop() self._downheap(0) return (item._key, item._value) class Adaptableminpriorityqueue(MinPriorityQueue): class Locator(MinPriorityQueue._Item): __slots_ = '_index' def __init__(self, k, v, j): super().__init__(k, v) self._index = j def _swap(self, i, j): super()._swap(i, j) self._data[i]._index = i self._data[j]._index = j def _validate_loc(self, loc): if not type(loc) is self.Locator: raise type_error('not locator') j = loc._index if not (0 <= j < len(self._data) and self._data[j] is loc): raise value_error('invalid locator') return j def _bubble(self, j): if j > 0 and self._data[j] < self._data[self._parent(j)]: self._upheap(j) else: self._downheap(j) def add(self, key, value): """ Add a key,value pair and returns Locator for new entry """ token = self.Locator(key, value, len(self._data)) self._data.append(token) self._upheap(len(self._data) - 1) return token def update(self, loc, newkey, newvalue): """ Updates key and value for the entry identified by Locator loc """ j = self._validate_loc(loc) loc._key = newkey loc._value = newvalue self._bubble(j) def remove(self, loc): """ Remove and return (k,v) pair identified by Locator loc """ j = self._validate_loc(loc) if j == len(self._data) - 1: self._data.pop() else: self._swap(j, len(self._data) - 1) self._data.pop() self._bubble(j) return (loc._key, loc._value) class Adaptablemaxpriorityqueue(MaxPriorityQueue): class Locator(MaxPriorityQueue._Item): __slots_ = '_index' def __init__(self, k, v, j): super().__init__(k, v) self._index = j def _swap(self, i, j): super()._swap(i, j) self._data[i]._index = i self._data[j]._index = j def _validate_loc(self, loc): if not type(loc) is self.Locator: raise type_error('not locator') j = loc._index if not (0 <= j < len(self._data) and self._data[j] is loc): raise value_error('invalid locator') return j def _bubble(self, j): if j > 0 and self._data[j] > self._data[self._parent(j)]: self._upheap(j) else: self._downheap(j) def add(self, key, value): """ Add a key,value pair and returns Locator for new entry """ token = self.Locator(key, value, len(self._data)) self._data.append(token) self._upheap(len(self._data) - 1) return token def update(self, loc, newkey, newvalue): """ Updates key and value for the entry identified by Locator loc """ j = self._validate_loc(loc) loc._key = newkey loc._value = newvalue self._bubble(j) def remove(self, loc): """ Remove and return (k,v) pair identified by Locator loc """ j = self._validate_loc(loc) if j == len(self._data) - 1: self._data.pop() else: self._swap(j, len(self._data) - 1) self._data.pop() self._bubble(j) return (loc._key, loc._value) class Graph: """ representation of simple graph ( no self cycles and parallel edges ) using and adjacency map """ def __init__(self, directed=False): self._outgoing = {} self._incoming = {} if directed else self._outgoing def is_directed(self): """ return True if graph is directed, False otherwise """ return self._incoming is not self._outgoing def vertex_count(self): """ return count of all vertices in the graph """ return len(self._outgoing) def vertices(self): """ return iteration over all vertices in the graph """ return self._outgoing.keys() def edge_count(self): """ return count of all edges off the graph """ total = sum((len(self._outgoing[v]) for v in self._outgoing)) return total if self.is_directed() else total // 2 def edges(self): """ return a set of all edges of the graph """ result = set() for secondary_map in self._outgoing.values(): result.update(secondary_map.values()) return result def get_edge(self, u, v): """ return the edge from u to v, or None if not adjacent. """ return self._outgoing[u].get(v) def degree(self, v, outgoing=True): """ Return number of (outgoing) edges incident to vertex v in the graph If graph is directed, optional paramter used to count incoming edges """ adj = self._outgoing if outgoing else self._incoming return len(adj[v]) def incident_edges(self, v, outgoing=True): """ Return all (outgoing) edges incident to vertex v in the graph. If graph is directed, optional parameter used to request incoming edges. """ adj = self._outgoing if outgoing else self._incoming for vertex in adj[v]: yield vertex def insert_edge(self, u, v, x): """ insert and return new edge from u to v with auxiliary element x """ if u not in self._outgoing: self._outgoing[u] = {} if v not in self._outgoing: self._outgoing[v] = {} if u not in self._incoming: self._incoming[u] = {} if v not in self._incoming: self._incoming[v] = {} self._outgoing[u][v] = x self._incoming[v][u] = x def remove_node(self, x): del self._incoming[x] for v in self.vertices(): if x in self._outgoing[v]: del self._outgoing[v][x] def farthest(self, s): d = {} cloud = {} pq = adaptable_max_priority_queue() pqlocator = {} for v in self.vertices(): if v is s: d[v] = 0 else: d[v] = -1 pqlocator[v] = pq.add(d[v], v) while not pq.is_empty(): (key, u) = pq.remove_max() cloud[u] = key del pqlocator[u] for v in self.incident_edges(u): if v not in cloud: wgt = self._outgoing[u][v] if d[u] + wgt > d[v]: d[v] = d[u] + wgt pq.update(pqlocator[v], d[v], v) max = 0 retnode = None for (node, cost) in cloud.items(): if max < cost: max = cost retnode = node return retnode def distance(self, s, y): d = {} cloud = {} pq = adaptable_min_priority_queue() pqlocator = {} for v in self.vertices(): if v is s: d[v] = 0 else: d[v] = float('inf') pqlocator[v] = pq.add(d[v], v) while not pq.is_empty(): (key, u) = pq.remove_min() cloud[u] = key del pqlocator[u] for v in self.incident_edges(u): if v not in cloud: wgt = self._outgoing[u][v] if d[u] + wgt < d[v]: d[v] = d[u] + wgt pq.update(pqlocator[v], d[v], v) return cloud[y] def dijkstra(g, s): d = {} cloud = {} pq = adaptable_min_priority_queue() pqlocator = {} for v in g.vertices(): if v is s: d[v] = 0 else: d[v] = float('inf') pqlocator[v] = pq.add(d[v], v) while not pq.is_empty(): (key, u) = pq.remove_min() cloud[u] = key del pqlocator[u] for e in g.incident_edges(u): v = e.opposite(u) if v not in cloud: wgt = e.element() if d[u] + wgt < d[v]: d[v] = d[u] + wgt pq.update(pqlocator[v], d[v], v) return cloud def query_one(g, x, w): y = g.farthest(x) n = g.vertex_count() g.insert_edge(y, n + 1, w) def query_two(g, x, w): n = g.vertex_count() g.insert_edge(x, n + 1, w) def query_three(g, x): y = g.farthest(x) g.remove_node(y) def query_four(g, x): y = g.farthest(x) return g.distance(x, y) def cyclical_queries(w, m): g = graph(directed=True) n = len(w) for i in range(n): g.insert_edge((i + 1) % n + 1, (i + 2) % n + 1, w[i]) queries = [] for _ in range(m): query = list(map(int, input().rstrip().split())) queries.append(query) result = [] for query in queries: qtype = query[0] if qtype == 1: query_one(g, query[1], query[2]) elif qtype == 2: query_two(g, query[1], query[2]) elif qtype == 3: query_three(g, query[1]) elif qtype == 4: result.append(query_four(g, query[1])) else: raise value_error('input error') return result if __name__ == '__main__': n = int(input()) w = list(map(int, input().rstrip().split())) m = int(input()) result = cyclical_queries(w, m) print('\n'.join(map(str, result)))
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"example_func": "00_core.ipynb", "process_data": "01_cli.ipynb", "train": "01_cli.ipynb", "evaluate": "01_cli.ipynb", "reproduce": "01_cli.ipynb"} modules = ["core.py", "cli.py"] doc_url = "https://wm-semeru.github.io/mlproj_template/" git_url = "https://github.com/wm-semeru/mlproj_template/tree/main/" def custom_doc_links(name): return None
__all__ = ['index', 'modules', 'custom_doc_links', 'git_url'] index = {'example_func': '00_core.ipynb', 'process_data': '01_cli.ipynb', 'train': '01_cli.ipynb', 'evaluate': '01_cli.ipynb', 'reproduce': '01_cli.ipynb'} modules = ['core.py', 'cli.py'] doc_url = 'https://wm-semeru.github.io/mlproj_template/' git_url = 'https://github.com/wm-semeru/mlproj_template/tree/main/' def custom_doc_links(name): return None
class RPGinfo(): author = 'BigBoi' def __init__(self,name): self.title = name def welcome(self): print("Welcome to " + self.title) @staticmethod def info(): print("Made using my amazing powers and Raseberry Pi's awesome team") @classmethod def credits(cls,name): print("Thanks for playing "+str(name)) print("Created by "+cls.author)
class Rpginfo: author = 'BigBoi' def __init__(self, name): self.title = name def welcome(self): print('Welcome to ' + self.title) @staticmethod def info(): print("Made using my amazing powers and Raseberry Pi's awesome team") @classmethod def credits(cls, name): print('Thanks for playing ' + str(name)) print('Created by ' + cls.author)
def previous_answer(): #1. num1 = int(input("Please enter your number!")) if num1 % 2 == 0: print("Your number is EVEN number!") else: print("Your number is ODD number!") #2. num2 = int(input("Please enter second number!")) num3 = int(input("Please enter third number!")) if num2 % num3 == 0: print("second number is divisible by third number perfectly!") else: print("Second number is not divisible by third number!") # Current answer starts here. num = int(input('Please enter your number')) if num % 2 == 0: if num % 4 == 0: print('It is an even number and also a multiple of 4') else: print('It is an even number') else: print('It is an odd number')
def previous_answer(): num1 = int(input('Please enter your number!')) if num1 % 2 == 0: print('Your number is EVEN number!') else: print('Your number is ODD number!') num2 = int(input('Please enter second number!')) num3 = int(input('Please enter third number!')) if num2 % num3 == 0: print('second number is divisible by third number perfectly!') else: print('Second number is not divisible by third number!') num = int(input('Please enter your number')) if num % 2 == 0: if num % 4 == 0: print('It is an even number and also a multiple of 4') else: print('It is an even number') else: print('It is an odd number')
merge_tags = { "StudyDate": 0x00080020, "StudyTime": 0x00080030, "AccessionNumber": 0x00080050, "ReferringPhysicianName": 0x00080090, "StudyInstanceUID": 0x0020000D, "StudyID": 0x00200010, "Modality": 0x00080060, # "ModalitiesInStudy": , "SeriesInstanceUID": 0x0020000E, "SeriesNumber": 0x00200011, "SOPClassUID": 0x00080016, "SOPInstanceUID": 0x00080018, # "InstanceNumber": , "PatientAge": 0x00101010, "PatientName": 0x00100010, "PatientID": 0x00100020, "PatientSex": 0x00100040, "StudyDate": 0x00080020, "NumberOfStudyRelatedSeries": 0x00201206, "NumberOfStudyRelatedInstances": 0x00201208, "BodyPartExamined": 0x00180015, } class InstanceExistedException(Exception): pass
merge_tags = {'StudyDate': 524320, 'StudyTime': 524336, 'AccessionNumber': 524368, 'ReferringPhysicianName': 524432, 'StudyInstanceUID': 2097165, 'StudyID': 2097168, 'Modality': 524384, 'SeriesInstanceUID': 2097166, 'SeriesNumber': 2097169, 'SOPClassUID': 524310, 'SOPInstanceUID': 524312, 'PatientAge': 1052688, 'PatientName': 1048592, 'PatientID': 1048608, 'PatientSex': 1048640, 'StudyDate': 524320, 'NumberOfStudyRelatedSeries': 2101766, 'NumberOfStudyRelatedInstances': 2101768, 'BodyPartExamined': 1572885} class Instanceexistedexception(Exception): pass
APP_V1 = '1.0' APP_V2 = '2.0' MAJOR_RELEASE_TO_VERSION = { "1": APP_V1, "2": APP_V2, } CAREPLAN_GOAL = 'careplan_goal' CAREPLAN_TASK = 'careplan_task' CAREPLAN_CASE_NAMES = { CAREPLAN_GOAL: 'Goal', CAREPLAN_TASK: 'Task' } CT_REQUISITION_MODE_3 = '3-step' CT_REQUISITION_MODE_4 = '4-step' CT_REQUISITION_MODES = [CT_REQUISITION_MODE_3, CT_REQUISITION_MODE_4] CT_LEDGER_PREFIX = 'ledger:' CT_LEDGER_STOCK = 'stock' CT_LEDGER_REQUESTED = 'ct-requested' CT_LEDGER_APPROVED = 'ct-approved' SCHEDULE_PHASE = 'current_schedule_phase' SCHEDULE_LAST_VISIT = 'last_visit_number_{}' SCHEDULE_LAST_VISIT_DATE = 'last_visit_date_{}' ATTACHMENT_PREFIX = 'attachment:'
app_v1 = '1.0' app_v2 = '2.0' major_release_to_version = {'1': APP_V1, '2': APP_V2} careplan_goal = 'careplan_goal' careplan_task = 'careplan_task' careplan_case_names = {CAREPLAN_GOAL: 'Goal', CAREPLAN_TASK: 'Task'} ct_requisition_mode_3 = '3-step' ct_requisition_mode_4 = '4-step' ct_requisition_modes = [CT_REQUISITION_MODE_3, CT_REQUISITION_MODE_4] ct_ledger_prefix = 'ledger:' ct_ledger_stock = 'stock' ct_ledger_requested = 'ct-requested' ct_ledger_approved = 'ct-approved' schedule_phase = 'current_schedule_phase' schedule_last_visit = 'last_visit_number_{}' schedule_last_visit_date = 'last_visit_date_{}' attachment_prefix = 'attachment:'
'''4. Write a Python program to concatenate elements of a list. ''' num = ['1', '2', '3', '4', '5'] print('-'.join(num)) print(''.join(num))
"""4. Write a Python program to concatenate elements of a list. """ num = ['1', '2', '3', '4', '5'] print('-'.join(num)) print(''.join(num))
print ("Hello World") n = int(input("numero: ")) print(type(n)) print(bin(3))
print('Hello World') n = int(input('numero: ')) print(type(n)) print(bin(3))
d, m = map(int, input().split()) month = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] days = ['Thursday', 'Friday', 'Saturday', 'Sunday', 'Monday', 'Tuesday', 'Wednesday'] sumOfMonths = 0 for i in range(m - 1): sumOfMonths += month[i] result = sumOfMonths + d - 1 print(days[result % 7])
(d, m) = map(int, input().split()) month = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] days = ['Thursday', 'Friday', 'Saturday', 'Sunday', 'Monday', 'Tuesday', 'Wednesday'] sum_of_months = 0 for i in range(m - 1): sum_of_months += month[i] result = sumOfMonths + d - 1 print(days[result % 7])
# # PySNMP MIB module HM2-PLATFORM-SWITCHING-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HM2-PLATFORM-SWITCHING-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:19:34 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint") dot1dBasePortEntry, = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dBasePortEntry") hm2PlatformMibs, HmEnabledStatus = mibBuilder.importSymbols("HM2-TC-MIB", "hm2PlatformMibs", "HmEnabledStatus") ifIndex, InterfaceIndex, InterfaceIndexOrZero = mibBuilder.importSymbols("IF-MIB", "ifIndex", "InterfaceIndex", "InterfaceIndexOrZero") InetAddress, InetAddressType = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") dot1dPortGmrpEntry, = mibBuilder.importSymbols("P-BRIDGE-MIB", "dot1dPortGmrpEntry") VlanId, PortList, dot1qPortVlanEntry, dot1qFdbId, VlanIndex, dot1qVlanIndex = mibBuilder.importSymbols("Q-BRIDGE-MIB", "VlanId", "PortList", "dot1qPortVlanEntry", "dot1qFdbId", "VlanIndex", "dot1qVlanIndex") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") ObjectIdentity, Counter64, Gauge32, Bits, Unsigned32, TimeTicks, Integer32, MibIdentifier, IpAddress, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Counter32, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "Counter64", "Gauge32", "Bits", "Unsigned32", "TimeTicks", "Integer32", "MibIdentifier", "IpAddress", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Counter32", "NotificationType") TruthValue, RowStatus, DisplayString, MacAddress, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue", "RowStatus", "DisplayString", "MacAddress", "TextualConvention") hm2PlatformSwitching = ModuleIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1)) hm2PlatformSwitching.setRevisions(('2011-04-12 00:00',)) if mibBuilder.loadTexts: hm2PlatformSwitching.setLastUpdated('201104120000Z') if mibBuilder.loadTexts: hm2PlatformSwitching.setOrganization('Hirschmann Automation and Control GmbH') class Hm2AgentPortMask(TextualConvention, OctetString): status = 'current' class LagList(TextualConvention, OctetString): status = 'current' class VlanList(TextualConvention, OctetString): status = 'current' class Ipv6Address(TextualConvention, OctetString): status = 'current' displayHint = '2x:' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(16, 16) fixedLength = 16 class Ipv6AddressPrefix(TextualConvention, OctetString): status = 'current' displayHint = '2x:' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(0, 16) class Ipv6AddressIfIdentifier(TextualConvention, OctetString): status = 'current' displayHint = '2x:' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(0, 8) class Ipv6IfIndex(TextualConvention, Integer32): status = 'current' displayHint = 'd' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(1, 2147483647) class Ipv6IfIndexOrZero(TextualConvention, Integer32): status = 'current' displayHint = 'd' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 2147483647) hm2AgentConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2)) hm2AgentLagConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2)) hm2AgentLagConfigCreate = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 1), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(1, 15), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentLagConfigCreate.setStatus('current') hm2AgentLagSummaryConfigTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2), ) if mibBuilder.loadTexts: hm2AgentLagSummaryConfigTable.setStatus('current') hm2AgentLagSummaryConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentLagSummaryLagIndex")) if mibBuilder.loadTexts: hm2AgentLagSummaryConfigEntry.setStatus('current') hm2AgentLagSummaryLagIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentLagSummaryLagIndex.setStatus('current') hm2AgentLagSummaryName = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentLagSummaryName.setStatus('current') hm2AgentLagSummaryFlushTimer = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 3), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentLagSummaryFlushTimer.setStatus('obsolete') hm2AgentLagSummaryLinkTrap = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 4), HmEnabledStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentLagSummaryLinkTrap.setStatus('current') hm2AgentLagSummaryAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 5), HmEnabledStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentLagSummaryAdminMode.setStatus('current') hm2AgentLagSummaryStpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 6), HmEnabledStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentLagSummaryStpMode.setStatus('current') hm2AgentLagSummaryAddPort = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 7), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentLagSummaryAddPort.setStatus('current') hm2AgentLagSummaryDeletePort = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 8), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentLagSummaryDeletePort.setStatus('current') hm2AgentLagSummaryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentLagSummaryStatus.setStatus('current') hm2AgentLagSummaryType = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("static", 1), ("dynamic", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentLagSummaryType.setStatus('current') hm2AgentLagSummaryStaticCapability = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 11), HmEnabledStatus().clone('disable')).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentLagSummaryStaticCapability.setStatus('current') hm2AgentLagSummaryHashOption = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("sourceMacVlan", 1), ("destMacVlan", 2), ("sourceDestMacVlan", 3), ("sourceIPsourcePort", 4), ("destIPdestPort", 5), ("sourceDestIPPort", 6), ("enhanced", 7)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentLagSummaryHashOption.setStatus('current') hm2AgentLagSummaryMinimumActiveLinks = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentLagSummaryMinimumActiveLinks.setStatus('current') hm2AgentLagSummaryMaxFrameSizeLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 248), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentLagSummaryMaxFrameSizeLimit.setStatus('current') hm2AgentLagSummaryMaxFrameSize = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 249), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentLagSummaryMaxFrameSize.setStatus('current') hm2AgentLagDetailedConfigTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 3), ) if mibBuilder.loadTexts: hm2AgentLagDetailedConfigTable.setStatus('current') hm2AgentLagDetailedConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 3, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentLagDetailedLagIndex"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentLagDetailedIfIndex")) if mibBuilder.loadTexts: hm2AgentLagDetailedConfigEntry.setStatus('current') hm2AgentLagDetailedLagIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentLagDetailedLagIndex.setStatus('current') hm2AgentLagDetailedIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentLagDetailedIfIndex.setStatus('current') hm2AgentLagDetailedPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 3, 1, 3), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentLagDetailedPortSpeed.setStatus('current') hm2AgentLagDetailedPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentLagDetailedPortStatus.setStatus('current') hm2AgentLagConfigStaticCapability = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 4), HmEnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentLagConfigStaticCapability.setStatus('obsolete') hm2AgentLagConfigGroupHashOption = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("sourceMacVlan", 1), ("destMacVlan", 2), ("sourceDestMacVlan", 3), ("sourceIPsourcePort", 4), ("destIPdestPort", 5), ("sourceDestIPPort", 6), ("enhanced", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentLagConfigGroupHashOption.setStatus('current') hm2AgentLagConfigGroupMaxNumPortsPerLag = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 248), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentLagConfigGroupMaxNumPortsPerLag.setStatus('current') hm2AgentLagConfigGroupMaxNumOfLags = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 249), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentLagConfigGroupMaxNumOfLags.setStatus('current') hm2AgentLagConfigGroupNumOfLagsConfigured = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 250), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentLagConfigGroupNumOfLagsConfigured.setStatus('current') hm2AgentLagConfigGroupLagsConfigured = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 251), LagList()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentLagConfigGroupLagsConfigured.setStatus('current') hm2AgentLagConfigSNMPExtensionGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 260)) hm2AgentLagConfigGroupPortIsLagMemberErrorReturn = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 260, 1)) if mibBuilder.loadTexts: hm2AgentLagConfigGroupPortIsLagMemberErrorReturn.setStatus('current') hm2AgentLagMirrorProbePortLagMemberErrorReturn = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 260, 2)) if mibBuilder.loadTexts: hm2AgentLagMirrorProbePortLagMemberErrorReturn.setStatus('current') hm2AgentSwitchConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8)) hm2AgentSwitchAddressAgingTimeoutTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 4), ) if mibBuilder.loadTexts: hm2AgentSwitchAddressAgingTimeoutTable.setStatus('current') hm2AgentSwitchAddressAgingTimeoutEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 4, 1), ).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qFdbId")) if mibBuilder.loadTexts: hm2AgentSwitchAddressAgingTimeoutEntry.setStatus('current') hm2AgentSwitchAddressAgingTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 500000)).clone(30)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchAddressAgingTimeout.setStatus('current') hm2AgentSwitchStaticMacFilteringTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 5), ) if mibBuilder.loadTexts: hm2AgentSwitchStaticMacFilteringTable.setStatus('current') hm2AgentSwitchStaticMacFilteringEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 5, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchStaticMacFilteringVlanId"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchStaticMacFilteringAddress")) if mibBuilder.loadTexts: hm2AgentSwitchStaticMacFilteringEntry.setStatus('current') hm2AgentSwitchStaticMacFilteringVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchStaticMacFilteringVlanId.setStatus('current') hm2AgentSwitchStaticMacFilteringAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 5, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchStaticMacFilteringAddress.setStatus('current') hm2AgentSwitchStaticMacFilteringSourcePortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 5, 1, 3), Hm2AgentPortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchStaticMacFilteringSourcePortMask.setStatus('current') hm2AgentSwitchStaticMacFilteringDestPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 5, 1, 4), Hm2AgentPortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchStaticMacFilteringDestPortMask.setStatus('current') hm2AgentSwitchStaticMacFilteringStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 5, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentSwitchStaticMacFilteringStatus.setStatus('current') hm2AgentSwitchSnoopingGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 6)) hm2AgentSwitchSnoopingCfgTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 6, 1), ) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingCfgTable.setStatus('current') hm2AgentSwitchSnoopingCfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 6, 1, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchSnoopingProtocol")) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingCfgEntry.setStatus('current') hm2AgentSwitchSnoopingProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 6, 1, 1, 1), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingProtocol.setStatus('current') hm2AgentSwitchSnoopingAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 6, 1, 1, 2), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingAdminMode.setStatus('current') hm2AgentSwitchSnoopingPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 6, 1, 1, 3), Hm2AgentPortMask().clone(hexValue="000000000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingPortMask.setStatus('current') hm2AgentSwitchSnoopingMulticastControlFramesProcessed = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 6, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingMulticastControlFramesProcessed.setStatus('current') hm2AgentSwitchSnoopingIntfGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7)) hm2AgentSwitchSnoopingIntfTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1), ) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfTable.setStatus('current') hm2AgentSwitchSnoopingIntfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchSnoopingProtocol")) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfEntry.setStatus('current') hm2AgentSwitchSnoopingIntfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfIndex.setStatus('current') hm2AgentSwitchSnoopingIntfAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 2), HmEnabledStatus().clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfAdminMode.setStatus('current') hm2AgentSwitchSnoopingIntfGroupMembershipInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 3600)).clone(260)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfGroupMembershipInterval.setStatus('current') hm2AgentSwitchSnoopingIntfMaxResponseTime = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 4), Integer32().clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfMaxResponseTime.setStatus('current') hm2AgentSwitchSnoopingIntfMRPExpirationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600)).clone(260)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfMRPExpirationTime.setStatus('current') hm2AgentSwitchSnoopingIntfFastLeaveAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 6), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfFastLeaveAdminMode.setStatus('current') hm2AgentSwitchSnoopingIntfMulticastRouterMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 7), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfMulticastRouterMode.setStatus('current') hm2AgentSwitchSnoopingIntfVlanIDs = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 8), VlanList()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfVlanIDs.setStatus('current') hm2AgentSwitchSnoopingVlanGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8)) hm2AgentSwitchSnoopingVlanTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1), ) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanTable.setStatus('current') hm2AgentSwitchSnoopingVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1, 1), ).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qVlanIndex"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchSnoopingProtocol")) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanEntry.setStatus('current') hm2AgentSwitchSnoopingVlanAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1, 1, 1), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanAdminMode.setStatus('current') hm2AgentSwitchSnoopingVlanGroupMembershipInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 3600)).clone(260)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanGroupMembershipInterval.setStatus('current') hm2AgentSwitchSnoopingVlanMaxResponseTime = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1, 1, 3), Integer32().clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanMaxResponseTime.setStatus('current') hm2AgentSwitchSnoopingVlanFastLeaveAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1, 1, 4), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanFastLeaveAdminMode.setStatus('current') hm2AgentSwitchSnoopingVlanMRPExpirationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600)).clone(260)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanMRPExpirationTime.setStatus('current') hm2AgentSwitchSnoopingVlanReportSuppMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1, 1, 6), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanReportSuppMode.setStatus('current') hm2AgentSwitchVlanStaticMrouterGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 9)) hm2AgentSwitchVlanStaticMrouterTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 9, 1), ) if mibBuilder.loadTexts: hm2AgentSwitchVlanStaticMrouterTable.setStatus('current') hm2AgentSwitchVlanStaticMrouterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 9, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "Q-BRIDGE-MIB", "dot1qVlanIndex"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchSnoopingProtocol")) if mibBuilder.loadTexts: hm2AgentSwitchVlanStaticMrouterEntry.setStatus('current') hm2AgentSwitchVlanStaticMrouterAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 9, 1, 1, 1), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchVlanStaticMrouterAdminMode.setStatus('current') hm2AgentSwitchMFDBGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10)) hm2AgentSwitchMFDBTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1), ) if mibBuilder.loadTexts: hm2AgentSwitchMFDBTable.setStatus('current') hm2AgentSwitchMFDBEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchMFDBVlanId"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchMFDBMacAddress"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchMFDBProtocolType")) if mibBuilder.loadTexts: hm2AgentSwitchMFDBEntry.setStatus('current') hm2AgentSwitchMFDBVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1, 1), VlanIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchMFDBVlanId.setStatus('current') hm2AgentSwitchMFDBMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchMFDBMacAddress.setStatus('current') hm2AgentSwitchMFDBProtocolType = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 248))).clone(namedValues=NamedValues(("static", 1), ("gmrp", 2), ("igmp", 3), ("mld", 4), ("mrp-mmrp", 248)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchMFDBProtocolType.setStatus('current') hm2AgentSwitchMFDBType = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("static", 1), ("dynamic", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchMFDBType.setStatus('current') hm2AgentSwitchMFDBDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchMFDBDescription.setStatus('current') hm2AgentSwitchMFDBForwardingPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1, 6), Hm2AgentPortMask()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchMFDBForwardingPortMask.setStatus('current') hm2AgentSwitchMFDBFilteringPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1, 7), Hm2AgentPortMask()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchMFDBFilteringPortMask.setStatus('current') hm2AgentSwitchMFDBSummaryTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 2), ) if mibBuilder.loadTexts: hm2AgentSwitchMFDBSummaryTable.setStatus('current') hm2AgentSwitchMFDBSummaryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 2, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchMFDBSummaryVlanId"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchMFDBSummaryMacAddress")) if mibBuilder.loadTexts: hm2AgentSwitchMFDBSummaryEntry.setStatus('current') hm2AgentSwitchMFDBSummaryVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 2, 1, 1), VlanIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchMFDBSummaryVlanId.setStatus('current') hm2AgentSwitchMFDBSummaryMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 2, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchMFDBSummaryMacAddress.setStatus('current') hm2AgentSwitchMFDBSummaryForwardingPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 2, 1, 3), Hm2AgentPortMask()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchMFDBSummaryForwardingPortMask.setStatus('current') hm2AgentSwitchMFDBMaxTableEntries = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchMFDBMaxTableEntries.setStatus('current') hm2AgentSwitchMFDBMostEntriesUsed = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchMFDBMostEntriesUsed.setStatus('current') hm2AgentSwitchMFDBCurrentEntries = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchMFDBCurrentEntries.setStatus('current') hm2AgentSwitchStaticMacStatsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 248)) hm2AgentSwitchStaticMacEntries = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 248, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchStaticMacEntries.setStatus('current') hm2AgentSwitchGARPGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249)) hm2AgentSwitchGmrpUnknownMulticastFilterMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("flood", 1), ("discard", 2))).clone('flood')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchGmrpUnknownMulticastFilterMode.setStatus('current') hm2AgentSwitchGmrpPortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 10), ) if mibBuilder.loadTexts: hm2AgentSwitchGmrpPortTable.setStatus('current') hm2AgentSwitchGmrpPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 10, 1), ) dot1dBasePortEntry.registerAugmentions(("HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchGmrpPortEntry")) hm2AgentSwitchGmrpPortEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames()) if mibBuilder.loadTexts: hm2AgentSwitchGmrpPortEntry.setStatus('current') hm2AgentSwitchGmrpPortPktRx = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 10, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchGmrpPortPktRx.setStatus('current') hm2AgentSwitchGmrpPortPktTx = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 10, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchGmrpPortPktTx.setStatus('current') hm2AgentSwitchGvrpPortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 15), ) if mibBuilder.loadTexts: hm2AgentSwitchGvrpPortTable.setStatus('current') hm2AgentSwitchGvrpPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 15, 1), ) dot1dBasePortEntry.registerAugmentions(("HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchGvrpPortEntry")) hm2AgentSwitchGvrpPortEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames()) if mibBuilder.loadTexts: hm2AgentSwitchGvrpPortEntry.setStatus('current') hm2AgentSwitchGvrpPortPktRx = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 15, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchGvrpPortPktRx.setStatus('current') hm2AgentSwitchGvrpPortPktTx = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 15, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchGvrpPortPktTx.setStatus('current') hm2AgentSwitchVlanMacAssociationGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 17)) hm2AgentSwitchVlanMacAssociationTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 17, 1), ) if mibBuilder.loadTexts: hm2AgentSwitchVlanMacAssociationTable.setStatus('current') hm2AgentSwitchVlanMacAssociationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 17, 1, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchVlanMacAssociationMacAddress"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchVlanMacAssociationVlanId")) if mibBuilder.loadTexts: hm2AgentSwitchVlanMacAssociationEntry.setStatus('current') hm2AgentSwitchVlanMacAssociationMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 17, 1, 1, 1), MacAddress()) if mibBuilder.loadTexts: hm2AgentSwitchVlanMacAssociationMacAddress.setStatus('current') hm2AgentSwitchVlanMacAssociationVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 17, 1, 1, 2), VlanIndex()) if mibBuilder.loadTexts: hm2AgentSwitchVlanMacAssociationVlanId.setStatus('current') hm2AgentSwitchVlanMacAssociationRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 17, 1, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentSwitchVlanMacAssociationRowStatus.setStatus('current') hm2AgentSwitchProtectedPortConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 18)) hm2AgentSwitchProtectedPortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 18, 1), ) if mibBuilder.loadTexts: hm2AgentSwitchProtectedPortTable.setStatus('current') hm2AgentSwitchProtectedPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 18, 1, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchProtectedPortGroupId")) if mibBuilder.loadTexts: hm2AgentSwitchProtectedPortEntry.setStatus('current') hm2AgentSwitchProtectedPortGroupId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 18, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))) if mibBuilder.loadTexts: hm2AgentSwitchProtectedPortGroupId.setStatus('current') hm2AgentSwitchProtectedPortGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 18, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchProtectedPortGroupName.setStatus('current') hm2AgentSwitchProtectedPortPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 18, 1, 1, 3), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchProtectedPortPortList.setStatus('current') hm2AgentSwitchVlanSubnetAssociationGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 19)) hm2AgentSwitchVlanSubnetAssociationTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 19, 1), ) if mibBuilder.loadTexts: hm2AgentSwitchVlanSubnetAssociationTable.setStatus('current') hm2AgentSwitchVlanSubnetAssociationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 19, 1, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchVlanSubnetAssociationIPAddress"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchVlanSubnetAssociationSubnetMask"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchVlanSubnetAssociationVlanId")) if mibBuilder.loadTexts: hm2AgentSwitchVlanSubnetAssociationEntry.setStatus('current') hm2AgentSwitchVlanSubnetAssociationIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 19, 1, 1, 1), IpAddress()) if mibBuilder.loadTexts: hm2AgentSwitchVlanSubnetAssociationIPAddress.setStatus('current') hm2AgentSwitchVlanSubnetAssociationSubnetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 19, 1, 1, 2), IpAddress()) if mibBuilder.loadTexts: hm2AgentSwitchVlanSubnetAssociationSubnetMask.setStatus('current') hm2AgentSwitchVlanSubnetAssociationVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 19, 1, 1, 3), VlanIndex()) if mibBuilder.loadTexts: hm2AgentSwitchVlanSubnetAssociationVlanId.setStatus('current') hm2AgentSwitchVlanSubnetAssociationRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 19, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentSwitchVlanSubnetAssociationRowStatus.setStatus('current') hm2AgentSwitchSnoopingQuerierGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20)) hm2AgentSwitchSnoopingQuerierCfgTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 1), ) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierCfgTable.setStatus('current') hm2AgentSwitchSnoopingQuerierCfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 1, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchSnoopingProtocol")) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierCfgEntry.setStatus('current') hm2AgentSwitchSnoopingQuerierAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 1, 1, 1), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierAdminMode.setStatus('current') hm2AgentSwitchSnoopingQuerierVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 1, 1, 2), Integer32().clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierVersion.setStatus('current') hm2AgentSwitchSnoopingQuerierQueryInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1800)).clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierQueryInterval.setStatus('current') hm2AgentSwitchSnoopingQuerierExpiryInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 300)).clone(125)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierExpiryInterval.setStatus('current') hm2AgentSwitchSnoopingQuerierVlanTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2), ) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierVlanTable.setStatus('current') hm2AgentSwitchSnoopingQuerierVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1), ).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qVlanIndex"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchSnoopingProtocol")) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierVlanEntry.setStatus('current') hm2AgentSwitchSnoopingQuerierVlanAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 1), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierVlanAdminMode.setStatus('current') hm2AgentSwitchSnoopingQuerierVlanOperMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disabled", 0), ("querier", 1), ("non-querier", 2))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierVlanOperMode.setStatus('current') hm2AgentSwitchSnoopingQuerierElectionParticipateMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 3), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierElectionParticipateMode.setStatus('deprecated') hm2AgentSwitchSnoopingQuerierVlanAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 4), InetAddress().clone(hexValue="00000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierVlanAddress.setStatus('current') hm2AgentSwitchSnoopingQuerierOperVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierOperVersion.setStatus('current') hm2AgentSwitchSnoopingQuerierOperMaxResponseTime = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 2147483647), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierOperMaxResponseTime.setStatus('current') hm2AgentSwitchSnoopingQuerierLastQuerierAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 7), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierLastQuerierAddress.setStatus('current') hm2AgentSwitchSnoopingQuerierLastQuerierVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierLastQuerierVersion.setStatus('current') hm2AgentPortMirroringGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10)) hm2AgentPortMirrorTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4), ) if mibBuilder.loadTexts: hm2AgentPortMirrorTable.setStatus('current') hm2AgentPortMirrorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentPortMirrorSessionNum")) if mibBuilder.loadTexts: hm2AgentPortMirrorEntry.setStatus('current') hm2AgentPortMirrorSessionNum = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 1), Unsigned32()) if mibBuilder.loadTexts: hm2AgentPortMirrorSessionNum.setStatus('current') hm2AgentPortMirrorDestinationPort = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 2), InterfaceIndexOrZero()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMirrorDestinationPort.setStatus('current') hm2AgentPortMirrorSourcePortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 3), Hm2AgentPortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMirrorSourcePortMask.setStatus('current') hm2AgentPortMirrorAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMirrorAdminMode.setStatus('current') hm2AgentPortMirrorSourceVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4042))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMirrorSourceVlan.setStatus('current') hm2AgentPortMirrorRemoteSourceVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 6), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2, 4042), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMirrorRemoteSourceVlan.setStatus('current') hm2AgentPortMirrorRemoteDestinationVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 7), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2, 4042), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMirrorRemoteDestinationVlan.setStatus('current') hm2AgentPortMirrorReflectorPort = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 8), InterfaceIndexOrZero()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMirrorReflectorPort.setStatus('current') hm2AgentPortMirrorAllowMgmtMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 9), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMirrorAllowMgmtMode.setStatus('current') hm2AgentPortMirrorReset = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 248), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("other", 1), ("reset", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMirrorReset.setStatus('current') hm2AgentPortMirrorTypeTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 5), ) if mibBuilder.loadTexts: hm2AgentPortMirrorTypeTable.setStatus('current') hm2AgentPortMirrorTypeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 5, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentPortMirrorSessionNum"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentPortMirrorTypeSourcePort")) if mibBuilder.loadTexts: hm2AgentPortMirrorTypeEntry.setStatus('current') hm2AgentPortMirrorTypeSourcePort = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 5, 1, 1), Unsigned32()) if mibBuilder.loadTexts: hm2AgentPortMirrorTypeSourcePort.setStatus('current') hm2AgentPortMirrorTypeType = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("none", 0), ("tx", 1), ("rx", 2), ("txrx", 3))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMirrorTypeType.setStatus('current') hm2AgentPortMirrorRemoteVlan = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 6), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMirrorRemoteVlan.setStatus('current') hm2AgentPortMirrorSNMPExtensionGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248)) hm2AgentPortMirrorVlanMirrorPortConflict = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 1)) if mibBuilder.loadTexts: hm2AgentPortMirrorVlanMirrorPortConflict.setStatus('current') hm2AgentPortMirrorPortVlanMirrorConflict = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 2)) if mibBuilder.loadTexts: hm2AgentPortMirrorPortVlanMirrorConflict.setStatus('current') hm2AgentPortMirrorProbePortAlreadySet = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 3)) if mibBuilder.loadTexts: hm2AgentPortMirrorProbePortAlreadySet.setStatus('current') hm2AgentPortMirrorProbePortVlanConflict = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 4)) if mibBuilder.loadTexts: hm2AgentPortMirrorProbePortVlanConflict.setStatus('current') hm2AgentPortMirrorVlanNotCreated = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 5)) if mibBuilder.loadTexts: hm2AgentPortMirrorVlanNotCreated.setStatus('current') hm2AgentPortMirrorInvalidSourcePort = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 6)) if mibBuilder.loadTexts: hm2AgentPortMirrorInvalidSourcePort.setStatus('current') hm2AgentPortMirrorSourcePortDestinationPortConflict = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 7)) if mibBuilder.loadTexts: hm2AgentPortMirrorSourcePortDestinationPortConflict.setStatus('current') hm2AgentPortMirrorDestinationPortInvalid = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 8)) if mibBuilder.loadTexts: hm2AgentPortMirrorDestinationPortInvalid.setStatus('current') hm2AgentPortMirrorVlanRspanVlanConflict = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 9)) if mibBuilder.loadTexts: hm2AgentPortMirrorVlanRspanVlanConflict.setStatus('current') hm2AgentPortMirrorRemoteSourceRemoteDestinationConflict = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 10)) if mibBuilder.loadTexts: hm2AgentPortMirrorRemoteSourceRemoteDestinationConflict.setStatus('current') hm2AgentPortMirrorReflectorPortInvalid = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 11)) if mibBuilder.loadTexts: hm2AgentPortMirrorReflectorPortInvalid.setStatus('current') hm2AgentPortMirrorSourcePortReflectorPortConflict = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 12)) if mibBuilder.loadTexts: hm2AgentPortMirrorSourcePortReflectorPortConflict.setStatus('current') hm2AgentPortMirrorReflectorPortVlanConflict = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 13)) if mibBuilder.loadTexts: hm2AgentPortMirrorReflectorPortVlanConflict.setStatus('current') hm2AgentPortMirrorPrivateVlanConfigured = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 14)) if mibBuilder.loadTexts: hm2AgentPortMirrorPrivateVlanConfigured.setStatus('current') hm2AgentPortMirrorDestinationRemotePortNotSet = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 15)) if mibBuilder.loadTexts: hm2AgentPortMirrorDestinationRemotePortNotSet.setStatus('current') hm2AgentPortMirrorRspanVlanInconsistent = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 16)) if mibBuilder.loadTexts: hm2AgentPortMirrorRspanVlanInconsistent.setStatus('current') hm2AgentPortMirrorRspanVlanIdInvalid = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 17)) if mibBuilder.loadTexts: hm2AgentPortMirrorRspanVlanIdInvalid.setStatus('current') hm2AgentDot3adAggPortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 12), ) if mibBuilder.loadTexts: hm2AgentDot3adAggPortTable.setStatus('current') hm2AgentDot3adAggPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 12, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentDot3adAggPort")) if mibBuilder.loadTexts: hm2AgentDot3adAggPortEntry.setStatus('current') hm2AgentDot3adAggPort = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 12, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDot3adAggPort.setStatus('current') hm2AgentDot3adAggPortLACPMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 12, 1, 2), HmEnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDot3adAggPortLACPMode.setStatus('current') hm2AgentPortConfigTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13), ) if mibBuilder.loadTexts: hm2AgentPortConfigTable.setStatus('current') hm2AgentPortConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentPortDot1dBasePort")) if mibBuilder.loadTexts: hm2AgentPortConfigEntry.setStatus('current') hm2AgentPortDot1dBasePort = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentPortDot1dBasePort.setStatus('current') hm2AgentPortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentPortIfIndex.setStatus('current') hm2AgentPortClearStats = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 10), HmEnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortClearStats.setStatus('current') hm2AgentPortDot3FlowControlMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("symmetric", 1), ("asymmetric", 2), ("disable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortDot3FlowControlMode.setStatus('current') hm2AgentPortMaxFrameSizeLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentPortMaxFrameSizeLimit.setStatus('current') hm2AgentPortMaxFrameSize = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 19), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMaxFrameSize.setStatus('current') hm2AgentPortBroadcastControlMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 20), HmEnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortBroadcastControlMode.setStatus('current') hm2AgentPortBroadcastControlThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 14880000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortBroadcastControlThreshold.setStatus('current') hm2AgentPortMulticastControlMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 22), HmEnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMulticastControlMode.setStatus('current') hm2AgentPortMulticastControlThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 14880000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMulticastControlThreshold.setStatus('current') hm2AgentPortUnicastControlMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 24), HmEnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortUnicastControlMode.setStatus('current') hm2AgentPortUnicastControlThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 14880000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortUnicastControlThreshold.setStatus('current') hm2AgentPortBroadcastControlThresholdUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("percent", 1), ("pps", 2))).clone('percent')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortBroadcastControlThresholdUnit.setStatus('current') hm2AgentPortMulticastControlThresholdUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("percent", 1), ("pps", 2))).clone('percent')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortMulticastControlThresholdUnit.setStatus('current') hm2AgentPortUnicastControlThresholdUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("percent", 1), ("pps", 2))).clone('percent')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortUnicastControlThresholdUnit.setStatus('current') hm2AgentPortVoiceVlanMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("none", 1), ("vlanid", 2), ("dot1p", 3), ("vlanidanddot1p", 4), ("untagged", 5), ("disable", 6)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortVoiceVlanMode.setStatus('current') hm2AgentPortVoiceVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4093))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortVoiceVlanID.setStatus('current') hm2AgentPortVoiceVlanPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortVoiceVlanPriority.setStatus('current') hm2AgentPortVoiceVlanDataPriorityMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("trust", 1), ("untrust", 2))).clone('trust')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortVoiceVlanDataPriorityMode.setStatus('current') hm2AgentPortVoiceVlanOperationalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentPortVoiceVlanOperationalStatus.setStatus('current') hm2AgentPortVoiceVlanUntagged = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1))).clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortVoiceVlanUntagged.setStatus('current') hm2AgentPortVoiceVlanNoneMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1))).clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortVoiceVlanNoneMode.setStatus('current') hm2AgentPortVoiceVlanDSCP = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 36), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortVoiceVlanDSCP.setStatus('current') hm2AgentPortVoiceVlanAuthMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 37), HmEnabledStatus().clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortVoiceVlanAuthMode.setStatus('current') hm2AgentPortDot3FlowControlOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 38), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentPortDot3FlowControlOperStatus.setStatus('current') hm2AgentPortSfpLinkLossAlert = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 248), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentPortSfpLinkLossAlert.setStatus('current') hm2AgentProtocolConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14)) hm2AgentProtocolGroupTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 2), ) if mibBuilder.loadTexts: hm2AgentProtocolGroupTable.setStatus('current') hm2AgentProtocolGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 2, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentProtocolGroupId")) if mibBuilder.loadTexts: hm2AgentProtocolGroupEntry.setStatus('current') hm2AgentProtocolGroupId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))) if mibBuilder.loadTexts: hm2AgentProtocolGroupId.setStatus('current') hm2AgentProtocolGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 2, 1, 2), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(1, 16), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentProtocolGroupName.setStatus('current') hm2AgentProtocolGroupVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4093))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentProtocolGroupVlanId.setStatus('current') hm2AgentProtocolGroupStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentProtocolGroupStatus.setStatus('current') hm2AgentProtocolGroupPortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 3), ) if mibBuilder.loadTexts: hm2AgentProtocolGroupPortTable.setStatus('current') hm2AgentProtocolGroupPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 3, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentProtocolGroupId"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentProtocolGroupPortIfIndex")) if mibBuilder.loadTexts: hm2AgentProtocolGroupPortEntry.setStatus('current') hm2AgentProtocolGroupPortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentProtocolGroupPortIfIndex.setStatus('current') hm2AgentProtocolGroupPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 3, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentProtocolGroupPortStatus.setStatus('current') hm2AgentProtocolGroupProtocolTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 4), ) if mibBuilder.loadTexts: hm2AgentProtocolGroupProtocolTable.setStatus('current') hm2AgentProtocolGroupProtocolEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 4, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentProtocolGroupId"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentProtocolGroupProtocolID")) if mibBuilder.loadTexts: hm2AgentProtocolGroupProtocolEntry.setStatus('current') hm2AgentProtocolGroupProtocolID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1536, 65535))) if mibBuilder.loadTexts: hm2AgentProtocolGroupProtocolID.setStatus('current') hm2AgentProtocolGroupProtocolStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 4, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentProtocolGroupProtocolStatus.setStatus('current') hm2AgentStpSwitchConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15)) hm2AgentStpConfigDigestKey = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpConfigDigestKey.setStatus('current') hm2AgentStpConfigFormatSelector = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpConfigFormatSelector.setStatus('current') hm2AgentStpConfigName = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpConfigName.setStatus('current') hm2AgentStpConfigRevision = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpConfigRevision.setStatus('current') hm2AgentStpForceVersion = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("stp", 1), ("rstp", 2), ("mstp", 3))).clone('rstp')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpForceVersion.setStatus('current') hm2AgentStpAdminMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 6), HmEnabledStatus().clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpAdminMode.setStatus('current') hm2AgentStpPortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7), ) if mibBuilder.loadTexts: hm2AgentStpPortTable.setStatus('current') hm2AgentStpPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hm2AgentStpPortEntry.setStatus('current') hm2AgentStpPortState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 1), HmEnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpPortState.setStatus('current') hm2AgentStpPortStatsMstpBpduRx = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpPortStatsMstpBpduRx.setStatus('current') hm2AgentStpPortStatsMstpBpduTx = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpPortStatsMstpBpduTx.setStatus('current') hm2AgentStpPortStatsRstpBpduRx = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpPortStatsRstpBpduRx.setStatus('current') hm2AgentStpPortStatsRstpBpduTx = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpPortStatsRstpBpduTx.setStatus('current') hm2AgentStpPortStatsStpBpduRx = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpPortStatsStpBpduRx.setStatus('current') hm2AgentStpPortStatsStpBpduTx = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpPortStatsStpBpduTx.setStatus('current') hm2AgentStpPortUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpPortUpTime.setStatus('current') hm2AgentStpPortMigrationCheck = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpPortMigrationCheck.setStatus('current') hm2AgentStpCstConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8)) hm2AgentStpCstHelloTime = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstHelloTime.setStatus('current') hm2AgentStpCstMaxAge = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstMaxAge.setStatus('current') hm2AgentStpCstRegionalRootId = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstRegionalRootId.setStatus('current') hm2AgentStpCstRegionalRootPathCost = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstRegionalRootPathCost.setStatus('current') hm2AgentStpCstRootFwdDelay = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstRootFwdDelay.setStatus('current') hm2AgentStpCstBridgeFwdDelay = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(4, 30)).clone(15)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstBridgeFwdDelay.setStatus('current') hm2AgentStpCstBridgeHelloTime = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2)).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstBridgeHelloTime.setStatus('current') hm2AgentStpCstBridgeHoldTime = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstBridgeHoldTime.setStatus('current') hm2AgentStpCstBridgeMaxAge = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(6, 40)).clone(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstBridgeMaxAge.setStatus('current') hm2AgentStpCstBridgeMaxHops = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(6, 40)).clone(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstBridgeMaxHops.setStatus('current') hm2AgentStpCstBridgePriority = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 61440)).clone(32768)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstBridgePriority.setStatus('current') hm2AgentStpCstBridgeHoldCount = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 40)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstBridgeHoldCount.setStatus('current') hm2AgentStpCstPortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9), ) if mibBuilder.loadTexts: hm2AgentStpCstPortTable.setStatus('current') hm2AgentStpCstPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hm2AgentStpCstPortEntry.setStatus('current') hm2AgentStpCstPortOperEdge = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 1), HmEnabledStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstPortOperEdge.setStatus('current') hm2AgentStpCstPortOperPointToPoint = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstPortOperPointToPoint.setStatus('current') hm2AgentStpCstPortTopologyChangeAck = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstPortTopologyChangeAck.setStatus('current') hm2AgentStpCstPortEdge = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 4), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstPortEdge.setStatus('current') hm2AgentStpCstPortForwardingState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("discarding", 1), ("learning", 2), ("forwarding", 3), ("disabled", 4), ("manualFwd", 5), ("notParticipate", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstPortForwardingState.setStatus('current') hm2AgentStpCstPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstPortId.setStatus('current') hm2AgentStpCstPortPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 200000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstPortPathCost.setStatus('current') hm2AgentStpCstPortPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 240)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstPortPriority.setStatus('current') hm2AgentStpCstDesignatedBridgeId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstDesignatedBridgeId.setStatus('current') hm2AgentStpCstDesignatedCost = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstDesignatedCost.setStatus('current') hm2AgentStpCstDesignatedPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstDesignatedPortId.setStatus('current') hm2AgentStpCstExtPortPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 200000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstExtPortPathCost.setStatus('current') hm2AgentStpCstPortBpduGuardEffect = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 13), HmEnabledStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstPortBpduGuardEffect.setStatus('current') hm2AgentStpCstPortBpduFilter = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 14), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstPortBpduFilter.setStatus('current') hm2AgentStpCstPortBpduFlood = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 15), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstPortBpduFlood.setStatus('current') hm2AgentStpCstPortAutoEdge = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 16), HmEnabledStatus().clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstPortAutoEdge.setStatus('current') hm2AgentStpCstPortRootGuard = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 17), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstPortRootGuard.setStatus('current') hm2AgentStpCstPortTCNGuard = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 18), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstPortTCNGuard.setStatus('current') hm2AgentStpCstPortLoopGuard = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 19), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpCstPortLoopGuard.setStatus('current') hm2AgentStpMstTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10), ) if mibBuilder.loadTexts: hm2AgentStpMstTable.setStatus('current') hm2AgentStpMstEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentStpMstId")) if mibBuilder.loadTexts: hm2AgentStpMstEntry.setStatus('current') hm2AgentStpMstId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstId.setStatus('current') hm2AgentStpMstBridgePriority = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 61440)).clone(32768)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpMstBridgePriority.setStatus('current') hm2AgentStpMstBridgeIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstBridgeIdentifier.setStatus('current') hm2AgentStpMstDesignatedRootId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstDesignatedRootId.setStatus('current') hm2AgentStpMstRootPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstRootPathCost.setStatus('current') hm2AgentStpMstRootPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstRootPortId.setStatus('current') hm2AgentStpMstTimeSinceTopologyChange = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 7), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstTimeSinceTopologyChange.setStatus('current') hm2AgentStpMstTopologyChangeCount = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstTopologyChangeCount.setStatus('current') hm2AgentStpMstTopologyChangeParm = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstTopologyChangeParm.setStatus('current') hm2AgentStpMstRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentStpMstRowStatus.setStatus('current') hm2AgentStpMstPortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11), ) if mibBuilder.loadTexts: hm2AgentStpMstPortTable.setStatus('current') hm2AgentStpMstPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentStpMstId"), (0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hm2AgentStpMstPortEntry.setStatus('current') hm2AgentStpMstPortForwardingState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("discarding", 1), ("learning", 2), ("forwarding", 3), ("disabled", 4), ("manualFwd", 5), ("notParticipate", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstPortForwardingState.setStatus('current') hm2AgentStpMstPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstPortId.setStatus('current') hm2AgentStpMstPortPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 200000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpMstPortPathCost.setStatus('current') hm2AgentStpMstPortPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 240)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpMstPortPriority.setStatus('current') hm2AgentStpMstDesignatedBridgeId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstDesignatedBridgeId.setStatus('current') hm2AgentStpMstDesignatedCost = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstDesignatedCost.setStatus('current') hm2AgentStpMstDesignatedPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstDesignatedPortId.setStatus('current') hm2AgentStpMstPortLoopInconsistentState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstPortLoopInconsistentState.setStatus('current') hm2AgentStpMstPortTransitionsIntoLoopInconsistentState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstPortTransitionsIntoLoopInconsistentState.setStatus('current') hm2AgentStpMstPortTransitionsOutOfLoopInconsistentState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstPortTransitionsOutOfLoopInconsistentState.setStatus('current') hm2AgentStpMstPortRole = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 248), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("root", 1), ("alternate", 2), ("designated", 3), ("backup", 4), ("master", 5), ("disabled", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstPortRole.setStatus('current') hm2AgentStpCstAutoPortPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 249), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpCstAutoPortPathCost.setStatus('current') hm2AgentStpMstPortReceivedBridgeId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 250), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstPortReceivedBridgeId.setStatus('current') hm2AgentStpMstPortReceivedRPC = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 251), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstPortReceivedRPC.setStatus('current') hm2AgentStpMstPortReceivedPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 252), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstPortReceivedPortId.setStatus('current') hm2AgentStpMstAutoPortPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 253), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstAutoPortPathCost.setStatus('current') hm2AgentStpMstPortReceivedRegionalRPC = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 254), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStpMstPortReceivedRegionalRPC.setStatus('current') hm2AgentStpMstVlanTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 12), ) if mibBuilder.loadTexts: hm2AgentStpMstVlanTable.setStatus('current') hm2AgentStpMstVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 12, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentStpMstId"), (0, "Q-BRIDGE-MIB", "dot1qVlanIndex")) if mibBuilder.loadTexts: hm2AgentStpMstVlanEntry.setStatus('current') hm2AgentStpMstVlanRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 12, 1, 1), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentStpMstVlanRowStatus.setStatus('current') hm2AgentStpBpduGuardMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 13), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpBpduGuardMode.setStatus('current') hm2AgentStpBpduFilterDefault = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 14), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpBpduFilterDefault.setStatus('current') hm2AgentStpRingOnlyMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 248), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpRingOnlyMode.setStatus('current') hm2AgentStpRingOnlyModeIntfOne = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 249), InterfaceIndexOrZero()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpRingOnlyModeIntfOne.setStatus('current') hm2AgentStpRingOnlyModeIntfTwo = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 250), InterfaceIndexOrZero()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentStpRingOnlyModeIntfTwo.setStatus('current') hm2AgentStpMstSNMPExtensionGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 260)) hm2AgentStpMstInstanceVlanErrorReturn = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 260, 1)) if mibBuilder.loadTexts: hm2AgentStpMstInstanceVlanErrorReturn.setStatus('current') hm2AgentStpCstFwdDelayErrorReturn = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 260, 2)) if mibBuilder.loadTexts: hm2AgentStpCstFwdDelayErrorReturn.setStatus('current') hm2AgentStpMstSwitchVersionConflict = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 260, 3)) if mibBuilder.loadTexts: hm2AgentStpMstSwitchVersionConflict.setStatus('current') hm2AgentClassOfServiceGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 17)) hm2AgentClassOfServicePortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 17, 1), ) if mibBuilder.loadTexts: hm2AgentClassOfServicePortTable.setStatus('current') hm2AgentClassOfServicePortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 17, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentClassOfServicePortPriority")) if mibBuilder.loadTexts: hm2AgentClassOfServicePortEntry.setStatus('current') hm2AgentClassOfServicePortPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 17, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))) if mibBuilder.loadTexts: hm2AgentClassOfServicePortPriority.setStatus('current') hm2AgentClassOfServicePortClass = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 17, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentClassOfServicePortClass.setStatus('current') hm2AgentSystemGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 3)) hm2AgentClearVlan = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 3, 9), HmEnabledStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentClearVlan.setStatus('current') hm2AgentDaiConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21)) hm2AgentDaiSrcMacValidate = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDaiSrcMacValidate.setStatus('current') hm2AgentDaiDstMacValidate = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDaiDstMacValidate.setStatus('current') hm2AgentDaiIPValidate = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 3), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDaiIPValidate.setStatus('current') hm2AgentDaiVlanConfigTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4), ) if mibBuilder.loadTexts: hm2AgentDaiVlanConfigTable.setStatus('current') hm2AgentDaiVlanConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentDaiVlanIndex")) if mibBuilder.loadTexts: hm2AgentDaiVlanConfigEntry.setStatus('current') hm2AgentDaiVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4, 1, 1), VlanIndex()) if mibBuilder.loadTexts: hm2AgentDaiVlanIndex.setStatus('current') hm2AgentDaiVlanDynArpInspEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDaiVlanDynArpInspEnable.setStatus('current') hm2AgentDaiVlanLoggingEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4, 1, 3), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDaiVlanLoggingEnable.setStatus('current') hm2AgentDaiVlanArpAclName = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDaiVlanArpAclName.setStatus('current') hm2AgentDaiVlanArpAclStaticFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4, 1, 5), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDaiVlanArpAclStaticFlag.setStatus('current') hm2AgentDaiVlanBindingCheckEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4, 1, 248), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDaiVlanBindingCheckEnable.setStatus('current') hm2AgentDaiStatsReset = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDaiStatsReset.setStatus('current') hm2AgentDaiVlanStatsTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6), ) if mibBuilder.loadTexts: hm2AgentDaiVlanStatsTable.setStatus('current') hm2AgentDaiVlanStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentDaiVlanStatsIndex")) if mibBuilder.loadTexts: hm2AgentDaiVlanStatsEntry.setStatus('current') hm2AgentDaiVlanStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 1), VlanIndex()) if mibBuilder.loadTexts: hm2AgentDaiVlanStatsIndex.setStatus('current') hm2AgentDaiVlanPktsForwarded = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDaiVlanPktsForwarded.setStatus('current') hm2AgentDaiVlanPktsDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDaiVlanPktsDropped.setStatus('current') hm2AgentDaiVlanDhcpDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDaiVlanDhcpDrops.setStatus('current') hm2AgentDaiVlanDhcpPermits = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDaiVlanDhcpPermits.setStatus('current') hm2AgentDaiVlanAclDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDaiVlanAclDrops.setStatus('current') hm2AgentDaiVlanAclPermits = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDaiVlanAclPermits.setStatus('current') hm2AgentDaiVlanSrcMacFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDaiVlanSrcMacFailures.setStatus('current') hm2AgentDaiVlanDstMacFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDaiVlanDstMacFailures.setStatus('current') hm2AgentDaiVlanIpValidFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDaiVlanIpValidFailures.setStatus('current') hm2AgentDaiIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 7), ) if mibBuilder.loadTexts: hm2AgentDaiIfConfigTable.setStatus('current') hm2AgentDaiIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hm2AgentDaiIfConfigEntry.setStatus('current') hm2AgentDaiIfTrustEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 7, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDaiIfTrustEnable.setStatus('current') hm2AgentDaiIfRateLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 7, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 300), )).clone(-1)).setUnits('packets per second').setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDaiIfRateLimit.setStatus('current') hm2AgentDaiIfBurstInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 7, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDaiIfBurstInterval.setStatus('current') hm2AgentDaiIfAutoDisable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 7, 1, 248), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDaiIfAutoDisable.setStatus('current') hm2AgentArpAclGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22)) hm2AgentArpAclTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 1), ) if mibBuilder.loadTexts: hm2AgentArpAclTable.setStatus('current') hm2AgentArpAclEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 1, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentArpAclName")) if mibBuilder.loadTexts: hm2AgentArpAclEntry.setStatus('current') hm2AgentArpAclName = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentArpAclName.setStatus('current') hm2AgentArpAclRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 1, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentArpAclRowStatus.setStatus('current') hm2AgentArpAclRuleTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 2), ) if mibBuilder.loadTexts: hm2AgentArpAclRuleTable.setStatus('current') hm2AgentArpAclRuleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 2, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentArpAclName"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentArpAclRuleMatchSenderIpAddr"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentArpAclRuleMatchSenderMacAddr")) if mibBuilder.loadTexts: hm2AgentArpAclRuleEntry.setStatus('current') hm2AgentArpAclRuleMatchSenderIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 2, 1, 1), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentArpAclRuleMatchSenderIpAddr.setStatus('current') hm2AgentArpAclRuleMatchSenderMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 2, 1, 2), MacAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentArpAclRuleMatchSenderMacAddr.setStatus('current') hm2AgentArpAclRuleRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentArpAclRuleRowStatus.setStatus('current') hm2AgentDhcpSnoopingConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23)) hm2AgentDhcpSnoopingAdminMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingAdminMode.setStatus('current') hm2AgentDhcpSnoopingVerifyMac = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingVerifyMac.setStatus('current') hm2AgentDhcpSnoopingVlanConfigTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 3), ) if mibBuilder.loadTexts: hm2AgentDhcpSnoopingVlanConfigTable.setStatus('current') hm2AgentDhcpSnoopingVlanConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 3, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentDhcpSnoopingVlanIndex")) if mibBuilder.loadTexts: hm2AgentDhcpSnoopingVlanConfigEntry.setStatus('current') hm2AgentDhcpSnoopingVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 3, 1, 1), VlanIndex()) if mibBuilder.loadTexts: hm2AgentDhcpSnoopingVlanIndex.setStatus('current') hm2AgentDhcpSnoopingVlanEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 3, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingVlanEnable.setStatus('current') hm2AgentDhcpSnoopingIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 4), ) if mibBuilder.loadTexts: hm2AgentDhcpSnoopingIfConfigTable.setStatus('current') hm2AgentDhcpSnoopingIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hm2AgentDhcpSnoopingIfConfigEntry.setStatus('current') hm2AgentDhcpSnoopingIfTrustEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 4, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingIfTrustEnable.setStatus('current') hm2AgentDhcpSnoopingIfLogEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 4, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingIfLogEnable.setStatus('current') hm2AgentDhcpSnoopingIfRateLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 150), )).clone(-1)).setUnits('packets per second').setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingIfRateLimit.setStatus('current') hm2AgentDhcpSnoopingIfBurstInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingIfBurstInterval.setStatus('current') hm2AgentDhcpSnoopingIfAutoDisable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 4, 1, 248), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingIfAutoDisable.setStatus('current') hm2AgentIpsgIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 5), ) if mibBuilder.loadTexts: hm2AgentIpsgIfConfigTable.setStatus('current') hm2AgentIpsgIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 5, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hm2AgentIpsgIfConfigEntry.setStatus('current') hm2AgentIpsgIfVerifySource = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 5, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentIpsgIfVerifySource.setStatus('current') hm2AgentIpsgIfPortSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 5, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentIpsgIfPortSecurity.setStatus('current') hm2AgentDhcpSnoopingStatsReset = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingStatsReset.setStatus('current') hm2AgentDhcpSnoopingStatsTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 7), ) if mibBuilder.loadTexts: hm2AgentDhcpSnoopingStatsTable.setStatus('current') hm2AgentDhcpSnoopingStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hm2AgentDhcpSnoopingStatsEntry.setStatus('current') hm2AgentDhcpSnoopingMacVerifyFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 7, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingMacVerifyFailures.setStatus('current') hm2AgentDhcpSnoopingInvalidClientMessages = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 7, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingInvalidClientMessages.setStatus('current') hm2AgentDhcpSnoopingInvalidServerMessages = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 7, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingInvalidServerMessages.setStatus('current') hm2AgentStaticIpsgBindingTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8), ) if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingTable.setStatus('current') hm2AgentStaticIpsgBindingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentStaticIpsgBindingIfIndex"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentStaticIpsgBindingVlanId"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentStaticIpsgBindingMacAddr"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentStaticIpsgBindingIpAddr")) if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingEntry.setStatus('current') hm2AgentStaticIpsgBindingIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8, 1, 1), InterfaceIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingIfIndex.setStatus('current') hm2AgentStaticIpsgBindingVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8, 1, 2), VlanIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingVlanId.setStatus('current') hm2AgentStaticIpsgBindingMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8, 1, 3), MacAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingMacAddr.setStatus('current') hm2AgentStaticIpsgBindingIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8, 1, 4), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingIpAddr.setStatus('current') hm2AgentStaticIpsgBindingRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingRowStatus.setStatus('current') hm2AgentStaticIpsgBindingHwStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8, 1, 248), TruthValue().clone('false')).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingHwStatus.setStatus('current') hm2AgentDynamicIpsgBindingTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 9), ) if mibBuilder.loadTexts: hm2AgentDynamicIpsgBindingTable.setStatus('current') hm2AgentDynamicIpsgBindingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 9, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentDynamicIpsgBindingIfIndex"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentDynamicIpsgBindingVlanId"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentDynamicIpsgBindingMacAddr"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentDynamicIpsgBindingIpAddr")) if mibBuilder.loadTexts: hm2AgentDynamicIpsgBindingEntry.setStatus('current') hm2AgentDynamicIpsgBindingIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 9, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDynamicIpsgBindingIfIndex.setStatus('current') hm2AgentDynamicIpsgBindingVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 9, 1, 2), VlanIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDynamicIpsgBindingVlanId.setStatus('current') hm2AgentDynamicIpsgBindingMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 9, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDynamicIpsgBindingMacAddr.setStatus('current') hm2AgentDynamicIpsgBindingIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 9, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDynamicIpsgBindingIpAddr.setStatus('current') hm2AgentDynamicIpsgBindingHwStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 9, 1, 248), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDynamicIpsgBindingHwStatus.setStatus('current') hm2AgentStaticDsBindingTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 10), ) if mibBuilder.loadTexts: hm2AgentStaticDsBindingTable.setStatus('current') hm2AgentStaticDsBindingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 10, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentStaticDsBindingMacAddr")) if mibBuilder.loadTexts: hm2AgentStaticDsBindingEntry.setStatus('current') hm2AgentStaticDsBindingIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 10, 1, 1), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentStaticDsBindingIfIndex.setStatus('current') hm2AgentStaticDsBindingVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 10, 1, 2), VlanId().clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentStaticDsBindingVlanId.setStatus('current') hm2AgentStaticDsBindingMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 10, 1, 3), MacAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentStaticDsBindingMacAddr.setStatus('current') hm2AgentStaticDsBindingIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 10, 1, 4), IpAddress().clone(hexValue="00000000")).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentStaticDsBindingIpAddr.setStatus('current') hm2AgentStaticDsBindingRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 10, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hm2AgentStaticDsBindingRowStatus.setStatus('current') hm2AgentDynamicDsBindingTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 11), ) if mibBuilder.loadTexts: hm2AgentDynamicDsBindingTable.setStatus('current') hm2AgentDynamicDsBindingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 11, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentDynamicDsBindingMacAddr")) if mibBuilder.loadTexts: hm2AgentDynamicDsBindingEntry.setStatus('current') hm2AgentDynamicDsBindingIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 11, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDynamicDsBindingIfIndex.setStatus('current') hm2AgentDynamicDsBindingVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 11, 1, 2), VlanIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDynamicDsBindingVlanId.setStatus('current') hm2AgentDynamicDsBindingMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 11, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDynamicDsBindingMacAddr.setStatus('current') hm2AgentDynamicDsBindingIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 11, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDynamicDsBindingIpAddr.setStatus('current') hm2AgentDynamicDsBindingLeaseRemainingTime = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 11, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDynamicDsBindingLeaseRemainingTime.setStatus('current') hm2AgentDhcpSnoopingRemoteFileName = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingRemoteFileName.setStatus('current') hm2AgentDhcpSnoopingRemoteIpAddr = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 13), IpAddress().clone(hexValue="00000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingRemoteIpAddr.setStatus('current') hm2AgentDhcpSnoopingStoreInterval = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(15, 86400)).clone(300)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpSnoopingStoreInterval.setStatus('current') hm2AgentDhcpL2RelayConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24)) hm2AgentDhcpL2RelayAdminMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpL2RelayAdminMode.setStatus('current') hm2AgentDhcpL2RelayIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 2), ) if mibBuilder.loadTexts: hm2AgentDhcpL2RelayIfConfigTable.setStatus('current') hm2AgentDhcpL2RelayIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hm2AgentDhcpL2RelayIfConfigEntry.setStatus('current') hm2AgentDhcpL2RelayIfEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 2, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpL2RelayIfEnable.setStatus('current') hm2AgentDhcpL2RelayIfTrustEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 2, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpL2RelayIfTrustEnable.setStatus('current') hm2AgentDhcpL2RelayVlanConfigTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 3), ) if mibBuilder.loadTexts: hm2AgentDhcpL2RelayVlanConfigTable.setStatus('current') hm2AgentDhcpL2RelayVlanConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 3, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentDhcpL2RelayVlanIndex")) if mibBuilder.loadTexts: hm2AgentDhcpL2RelayVlanConfigEntry.setStatus('current') hm2AgentDhcpL2RelayVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 3, 1, 1), VlanIndex()) if mibBuilder.loadTexts: hm2AgentDhcpL2RelayVlanIndex.setStatus('current') hm2AgentDhcpL2RelayVlanEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 3, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpL2RelayVlanEnable.setStatus('current') hm2AgentDhcpL2RelayCircuitIdVlanEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 3, 1, 3), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpL2RelayCircuitIdVlanEnable.setStatus('current') hm2AgentDhcpL2RelayRemoteIdVlanEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 3, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpL2RelayRemoteIdVlanEnable.setStatus('current') hm2AgentDhcpL2RelayVlanRemoteIdType = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 3, 1, 248), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("ip", 1), ("mac", 2), ("client-id", 3), ("other", 4))).clone('mac')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpL2RelayVlanRemoteIdType.setStatus('current') hm2AgentDhcpL2RelayStatsReset = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentDhcpL2RelayStatsReset.setStatus('current') hm2AgentDhcpL2RelayStatsTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 7), ) if mibBuilder.loadTexts: hm2AgentDhcpL2RelayStatsTable.setStatus('current') hm2AgentDhcpL2RelayStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hm2AgentDhcpL2RelayStatsEntry.setStatus('current') hm2AgentDhcpL2RelayUntrustedSrvrMsgsWithOptn82 = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 7, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDhcpL2RelayUntrustedSrvrMsgsWithOptn82.setStatus('current') hm2AgentDhcpL2RelayUntrustedClntMsgsWithOptn82 = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 7, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDhcpL2RelayUntrustedClntMsgsWithOptn82.setStatus('current') hm2AgentDhcpL2RelayTrustedSrvrMsgsWithoutOptn82 = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 7, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDhcpL2RelayTrustedSrvrMsgsWithoutOptn82.setStatus('current') hm2AgentDhcpL2RelayTrustedClntMsgsWithoutOptn82 = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 7, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentDhcpL2RelayTrustedClntMsgsWithoutOptn82.setStatus('current') hm2AgentSwitchVoiceVLANGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 25)) hm2AgentSwitchVoiceVLANAdminMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 25, 1), HmEnabledStatus().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSwitchVoiceVLANAdminMode.setStatus('current') hm2AgentSwitchVoiceVlanDeviceTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 25, 2), ) if mibBuilder.loadTexts: hm2AgentSwitchVoiceVlanDeviceTable.setStatus('current') hm2AgentSwitchVoiceVlanDeviceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 25, 2, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchVoiceVlanInterfaceNum"), (0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSwitchVoiceVlanDeviceMacAddress")) if mibBuilder.loadTexts: hm2AgentSwitchVoiceVlanDeviceEntry.setStatus('current') hm2AgentSwitchVoiceVlanInterfaceNum = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 25, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchVoiceVlanInterfaceNum.setStatus('current') hm2AgentSwitchVoiceVlanDeviceMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 25, 2, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSwitchVoiceVlanDeviceMacAddress.setStatus('current') hm2AgentSdmPreferConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 27)) hm2AgentSdmPreferCurrentTemplate = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 27, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3, 10, 11))).clone(namedValues=NamedValues(("ipv4RoutingDefault", 2), ("ipv4DataCenter", 3), ("ipv4RoutingUnicast", 10), ("ipv4RoutingMulticast", 11)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentSdmPreferCurrentTemplate.setStatus('current') hm2AgentSdmPreferNextTemplate = MibScalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 27, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 2, 3, 10, 11))).clone(namedValues=NamedValues(("default", 0), ("ipv4RoutingDefault", 2), ("ipv4DataCenter", 3), ("ipv4RoutingUnicast", 10), ("ipv4RoutingMulticast", 11)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hm2AgentSdmPreferNextTemplate.setStatus('current') hm2AgentSdmTemplateSummaryTable = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28)) hm2AgentSdmTemplateTable = MibTable((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1), ) if mibBuilder.loadTexts: hm2AgentSdmTemplateTable.setStatus('current') hm2AgentSdmTemplateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1), ).setIndexNames((0, "HM2-PLATFORM-SWITCHING-MIB", "hm2AgentSdmTemplateId")) if mibBuilder.loadTexts: hm2AgentSdmTemplateEntry.setStatus('current') hm2AgentSdmTemplateId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3, 10, 11))).clone(namedValues=NamedValues(("ipv4RoutingDefault", 2), ("ipv4DataCenter", 3), ("ipv4RoutingUnicast", 10), ("ipv4RoutingMulticast", 11)))) if mibBuilder.loadTexts: hm2AgentSdmTemplateId.setStatus('current') hm2AgentArpEntries = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentArpEntries.setStatus('current') hm2AgentIPv4UnicastRoutes = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentIPv4UnicastRoutes.setStatus('current') hm2AgentIPv6NdpEntries = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentIPv6NdpEntries.setStatus('current') hm2AgentIPv6UnicastRoutes = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentIPv6UnicastRoutes.setStatus('current') hm2AgentEcmpNextHops = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentEcmpNextHops.setStatus('current') hm2AgentIPv4MulticastRoutes = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentIPv4MulticastRoutes.setStatus('current') hm2AgentIPv6MulticastRoutes = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hm2AgentIPv6MulticastRoutes.setStatus('current') hm2PlatformSwitchingTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 0)) hm2PlatformStpInstanceNewRootTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 12, 1, 0, 10)).setObjects(("HM2-PLATFORM-SWITCHING-MIB", "hm2AgentStpMstId")) if mibBuilder.loadTexts: hm2PlatformStpInstanceNewRootTrap.setStatus('current') hm2PlatformStpInstanceTopologyChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 12, 1, 0, 11)).setObjects(("HM2-PLATFORM-SWITCHING-MIB", "hm2AgentStpMstId")) if mibBuilder.loadTexts: hm2PlatformStpInstanceTopologyChangeTrap.setStatus('current') hm2PlatformDaiIntfErrorDisabledTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 12, 1, 0, 15)).setObjects(("IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hm2PlatformDaiIntfErrorDisabledTrap.setStatus('current') hm2PlatformStpInstanceLoopInconsistentStartTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 12, 1, 0, 16)).setObjects(("HM2-PLATFORM-SWITCHING-MIB", "hm2AgentStpMstId"), ("IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hm2PlatformStpInstanceLoopInconsistentStartTrap.setStatus('current') hm2PlatformStpInstanceLoopInconsistentEndTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 12, 1, 0, 17)).setObjects(("HM2-PLATFORM-SWITCHING-MIB", "hm2AgentStpMstId"), ("IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hm2PlatformStpInstanceLoopInconsistentEndTrap.setStatus('current') hm2PlatformDhcpSnoopingIntfErrorDisabledTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 12, 1, 0, 18)).setObjects(("IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hm2PlatformDhcpSnoopingIntfErrorDisabledTrap.setStatus('current') hm2PlatformStpCstBpduGuardTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 12, 1, 0, 248)).setObjects(("IF-MIB", "ifIndex"), ("HM2-PLATFORM-SWITCHING-MIB", "hm2AgentStpCstPortEdge"), ("HM2-PLATFORM-SWITCHING-MIB", "hm2AgentStpCstPortBpduGuardEffect")) if mibBuilder.loadTexts: hm2PlatformStpCstBpduGuardTrap.setStatus('current') mibBuilder.exportSymbols("HM2-PLATFORM-SWITCHING-MIB", hm2AgentStpSwitchConfigGroup=hm2AgentStpSwitchConfigGroup, Hm2AgentPortMask=Hm2AgentPortMask, hm2AgentProtocolGroupPortIfIndex=hm2AgentProtocolGroupPortIfIndex, hm2AgentSwitchProtectedPortGroupName=hm2AgentSwitchProtectedPortGroupName, hm2AgentSdmPreferConfigGroup=hm2AgentSdmPreferConfigGroup, hm2AgentDhcpL2RelayVlanRemoteIdType=hm2AgentDhcpL2RelayVlanRemoteIdType, hm2AgentSwitchSnoopingQuerierCfgTable=hm2AgentSwitchSnoopingQuerierCfgTable, hm2AgentStpMstTopologyChangeCount=hm2AgentStpMstTopologyChangeCount, hm2AgentDhcpL2RelayCircuitIdVlanEnable=hm2AgentDhcpL2RelayCircuitIdVlanEnable, hm2AgentSwitchMFDBType=hm2AgentSwitchMFDBType, hm2AgentSwitchProtectedPortPortList=hm2AgentSwitchProtectedPortPortList, hm2AgentDhcpSnoopingInvalidClientMessages=hm2AgentDhcpSnoopingInvalidClientMessages, hm2AgentClassOfServiceGroup=hm2AgentClassOfServiceGroup, hm2AgentProtocolGroupProtocolStatus=hm2AgentProtocolGroupProtocolStatus, hm2AgentPortMirrorRspanVlanIdInvalid=hm2AgentPortMirrorRspanVlanIdInvalid, hm2AgentIpsgIfPortSecurity=hm2AgentIpsgIfPortSecurity, hm2AgentSwitchSnoopingCfgEntry=hm2AgentSwitchSnoopingCfgEntry, hm2AgentDhcpSnoopingStatsReset=hm2AgentDhcpSnoopingStatsReset, hm2AgentSwitchStaticMacFilteringSourcePortMask=hm2AgentSwitchStaticMacFilteringSourcePortMask, hm2AgentStpPortStatsMstpBpduRx=hm2AgentStpPortStatsMstpBpduRx, hm2AgentDynamicDsBindingTable=hm2AgentDynamicDsBindingTable, hm2AgentSwitchMFDBGroup=hm2AgentSwitchMFDBGroup, hm2AgentDhcpL2RelayIfConfigTable=hm2AgentDhcpL2RelayIfConfigTable, hm2AgentSwitchMFDBFilteringPortMask=hm2AgentSwitchMFDBFilteringPortMask, hm2AgentDhcpL2RelayStatsEntry=hm2AgentDhcpL2RelayStatsEntry, hm2AgentStaticIpsgBindingIpAddr=hm2AgentStaticIpsgBindingIpAddr, hm2AgentStpMstTimeSinceTopologyChange=hm2AgentStpMstTimeSinceTopologyChange, hm2PlatformStpCstBpduGuardTrap=hm2PlatformStpCstBpduGuardTrap, hm2AgentDhcpSnoopingVlanIndex=hm2AgentDhcpSnoopingVlanIndex, hm2AgentPortMirrorTypeSourcePort=hm2AgentPortMirrorTypeSourcePort, hm2AgentProtocolGroupStatus=hm2AgentProtocolGroupStatus, hm2AgentPortMirrorInvalidSourcePort=hm2AgentPortMirrorInvalidSourcePort, hm2AgentSwitchMFDBCurrentEntries=hm2AgentSwitchMFDBCurrentEntries, hm2AgentDhcpL2RelayStatsReset=hm2AgentDhcpL2RelayStatsReset, hm2AgentLagSummaryAdminMode=hm2AgentLagSummaryAdminMode, hm2AgentStpCstPortForwardingState=hm2AgentStpCstPortForwardingState, hm2AgentPortMirrorProbePortAlreadySet=hm2AgentPortMirrorProbePortAlreadySet, hm2AgentClassOfServicePortTable=hm2AgentClassOfServicePortTable, hm2AgentStaticIpsgBindingVlanId=hm2AgentStaticIpsgBindingVlanId, hm2AgentArpAclRuleTable=hm2AgentArpAclRuleTable, hm2AgentArpEntries=hm2AgentArpEntries, hm2AgentLagConfigGroup=hm2AgentLagConfigGroup, hm2AgentStpConfigName=hm2AgentStpConfigName, hm2AgentStpRingOnlyModeIntfTwo=hm2AgentStpRingOnlyModeIntfTwo, hm2AgentStpMstPortReceivedRPC=hm2AgentStpMstPortReceivedRPC, hm2AgentDhcpSnoopingIfConfigEntry=hm2AgentDhcpSnoopingIfConfigEntry, hm2AgentDhcpL2RelayIfConfigEntry=hm2AgentDhcpL2RelayIfConfigEntry, hm2AgentLagSummaryDeletePort=hm2AgentLagSummaryDeletePort, hm2AgentSwitchVlanSubnetAssociationGroup=hm2AgentSwitchVlanSubnetAssociationGroup, hm2AgentStpMstSNMPExtensionGroup=hm2AgentStpMstSNMPExtensionGroup, hm2AgentStpCstBridgeHoldCount=hm2AgentStpCstBridgeHoldCount, hm2AgentPortMulticastControlThreshold=hm2AgentPortMulticastControlThreshold, hm2AgentDhcpSnoopingConfigGroup=hm2AgentDhcpSnoopingConfigGroup, hm2AgentSwitchProtectedPortEntry=hm2AgentSwitchProtectedPortEntry, hm2AgentSwitchStaticMacEntries=hm2AgentSwitchStaticMacEntries, hm2AgentDynamicDsBindingIfIndex=hm2AgentDynamicDsBindingIfIndex, hm2AgentStpCstPortEntry=hm2AgentStpCstPortEntry, hm2AgentLagSummaryStatus=hm2AgentLagSummaryStatus, hm2AgentSwitchProtectedPortGroupId=hm2AgentSwitchProtectedPortGroupId, hm2AgentLagSummaryConfigEntry=hm2AgentLagSummaryConfigEntry, hm2AgentSwitchVlanSubnetAssociationVlanId=hm2AgentSwitchVlanSubnetAssociationVlanId, hm2AgentStaticIpsgBindingEntry=hm2AgentStaticIpsgBindingEntry, hm2AgentArpAclGroup=hm2AgentArpAclGroup, hm2AgentDhcpSnoopingStoreInterval=hm2AgentDhcpSnoopingStoreInterval, hm2AgentSwitchSnoopingVlanMRPExpirationTime=hm2AgentSwitchSnoopingVlanMRPExpirationTime, hm2AgentSwitchMFDBSummaryTable=hm2AgentSwitchMFDBSummaryTable, hm2AgentStpCstPortBpduFilter=hm2AgentStpCstPortBpduFilter, hm2AgentPortMaxFrameSize=hm2AgentPortMaxFrameSize, hm2AgentSwitchStaticMacFilteringDestPortMask=hm2AgentSwitchStaticMacFilteringDestPortMask, hm2AgentDaiIfTrustEnable=hm2AgentDaiIfTrustEnable, hm2AgentLagDetailedConfigTable=hm2AgentLagDetailedConfigTable, hm2AgentSwitchAddressAgingTimeoutEntry=hm2AgentSwitchAddressAgingTimeoutEntry, hm2AgentStpMstPortReceivedBridgeId=hm2AgentStpMstPortReceivedBridgeId, hm2AgentDhcpL2RelayIfEnable=hm2AgentDhcpL2RelayIfEnable, hm2AgentDhcpL2RelayVlanIndex=hm2AgentDhcpL2RelayVlanIndex, hm2AgentSwitchSnoopingIntfMaxResponseTime=hm2AgentSwitchSnoopingIntfMaxResponseTime, hm2AgentSwitchProtectedPortConfigGroup=hm2AgentSwitchProtectedPortConfigGroup, hm2AgentDynamicIpsgBindingIpAddr=hm2AgentDynamicIpsgBindingIpAddr, hm2AgentStpMstPortPathCost=hm2AgentStpMstPortPathCost, hm2AgentSwitchSnoopingGroup=hm2AgentSwitchSnoopingGroup, hm2AgentStpConfigFormatSelector=hm2AgentStpConfigFormatSelector, hm2AgentStpCstBridgeMaxAge=hm2AgentStpCstBridgeMaxAge, hm2AgentDaiSrcMacValidate=hm2AgentDaiSrcMacValidate, hm2AgentSwitchSnoopingVlanTable=hm2AgentSwitchSnoopingVlanTable, hm2AgentSwitchGARPGroup=hm2AgentSwitchGARPGroup, hm2AgentArpAclRuleRowStatus=hm2AgentArpAclRuleRowStatus, hm2AgentDaiIfAutoDisable=hm2AgentDaiIfAutoDisable, hm2AgentStpMstPortTable=hm2AgentStpMstPortTable, hm2AgentLagDetailedLagIndex=hm2AgentLagDetailedLagIndex, hm2AgentSwitchMFDBProtocolType=hm2AgentSwitchMFDBProtocolType, hm2AgentLagDetailedPortSpeed=hm2AgentLagDetailedPortSpeed, hm2AgentStpCstPortTable=hm2AgentStpCstPortTable, hm2AgentStaticIpsgBindingIfIndex=hm2AgentStaticIpsgBindingIfIndex, hm2AgentSwitchSnoopingVlanEntry=hm2AgentSwitchSnoopingVlanEntry, hm2AgentSwitchStaticMacFilteringAddress=hm2AgentSwitchStaticMacFilteringAddress, hm2AgentStpForceVersion=hm2AgentStpForceVersion, hm2AgentDynamicIpsgBindingTable=hm2AgentDynamicIpsgBindingTable, hm2AgentClassOfServicePortEntry=hm2AgentClassOfServicePortEntry, hm2AgentDynamicIpsgBindingHwStatus=hm2AgentDynamicIpsgBindingHwStatus, hm2AgentPortVoiceVlanNoneMode=hm2AgentPortVoiceVlanNoneMode, hm2AgentPortMulticastControlMode=hm2AgentPortMulticastControlMode, hm2AgentStpCstAutoPortPathCost=hm2AgentStpCstAutoPortPathCost, hm2AgentPortMirrorTypeTable=hm2AgentPortMirrorTypeTable, hm2AgentDhcpSnoopingIfLogEnable=hm2AgentDhcpSnoopingIfLogEnable, hm2AgentStpPortStatsRstpBpduTx=hm2AgentStpPortStatsRstpBpduTx, hm2AgentDhcpSnoopingMacVerifyFailures=hm2AgentDhcpSnoopingMacVerifyFailures, Ipv6AddressPrefix=Ipv6AddressPrefix, hm2AgentSwitchSnoopingQuerierVlanEntry=hm2AgentSwitchSnoopingQuerierVlanEntry, hm2AgentProtocolConfigGroup=hm2AgentProtocolConfigGroup, hm2AgentStpMstRootPathCost=hm2AgentStpMstRootPathCost, hm2AgentSwitchVlanSubnetAssociationTable=hm2AgentSwitchVlanSubnetAssociationTable, hm2AgentStpCstRegionalRootId=hm2AgentStpCstRegionalRootId, hm2AgentSwitchSnoopingQuerierElectionParticipateMode=hm2AgentSwitchSnoopingQuerierElectionParticipateMode, hm2AgentStpCstBridgeFwdDelay=hm2AgentStpCstBridgeFwdDelay, hm2AgentPortMirrorReflectorPortInvalid=hm2AgentPortMirrorReflectorPortInvalid, hm2AgentPortMirrorSourcePortDestinationPortConflict=hm2AgentPortMirrorSourcePortDestinationPortConflict, hm2AgentPortDot3FlowControlMode=hm2AgentPortDot3FlowControlMode, hm2AgentStpMstDesignatedPortId=hm2AgentStpMstDesignatedPortId, hm2AgentProtocolGroupPortStatus=hm2AgentProtocolGroupPortStatus, hm2AgentProtocolGroupProtocolID=hm2AgentProtocolGroupProtocolID, hm2AgentSwitchVoiceVlanDeviceTable=hm2AgentSwitchVoiceVlanDeviceTable, hm2AgentDaiVlanLoggingEnable=hm2AgentDaiVlanLoggingEnable, hm2AgentSwitchSnoopingQuerierOperVersion=hm2AgentSwitchSnoopingQuerierOperVersion, hm2AgentDaiVlanSrcMacFailures=hm2AgentDaiVlanSrcMacFailures, hm2AgentPortIfIndex=hm2AgentPortIfIndex, hm2AgentStpMstPortLoopInconsistentState=hm2AgentStpMstPortLoopInconsistentState, hm2AgentSwitchMFDBMacAddress=hm2AgentSwitchMFDBMacAddress, hm2AgentSwitchSnoopingIntfIndex=hm2AgentSwitchSnoopingIntfIndex, hm2AgentDynamicDsBindingIpAddr=hm2AgentDynamicDsBindingIpAddr, hm2AgentPortVoiceVlanPriority=hm2AgentPortVoiceVlanPriority, hm2AgentPortConfigTable=hm2AgentPortConfigTable, hm2AgentSwitchStaticMacFilteringTable=hm2AgentSwitchStaticMacFilteringTable, hm2AgentSystemGroup=hm2AgentSystemGroup, hm2AgentSwitchSnoopingQuerierVlanOperMode=hm2AgentSwitchSnoopingQuerierVlanOperMode, hm2AgentSdmPreferNextTemplate=hm2AgentSdmPreferNextTemplate, hm2AgentSwitchSnoopingIntfVlanIDs=hm2AgentSwitchSnoopingIntfVlanIDs, hm2AgentSwitchSnoopingIntfTable=hm2AgentSwitchSnoopingIntfTable, hm2AgentDhcpL2RelayStatsTable=hm2AgentDhcpL2RelayStatsTable, hm2AgentStpMstId=hm2AgentStpMstId, hm2AgentStpCstPortLoopGuard=hm2AgentStpCstPortLoopGuard, hm2AgentProtocolGroupEntry=hm2AgentProtocolGroupEntry, hm2AgentPortMirrorSourcePortMask=hm2AgentPortMirrorSourcePortMask, hm2AgentDhcpSnoopingRemoteIpAddr=hm2AgentDhcpSnoopingRemoteIpAddr, hm2AgentDhcpSnoopingIfAutoDisable=hm2AgentDhcpSnoopingIfAutoDisable, hm2AgentStpMstRootPortId=hm2AgentStpMstRootPortId, hm2AgentStpMstPortPriority=hm2AgentStpMstPortPriority, hm2AgentPortMirrorPortVlanMirrorConflict=hm2AgentPortMirrorPortVlanMirrorConflict, hm2AgentPortVoiceVlanAuthMode=hm2AgentPortVoiceVlanAuthMode, hm2AgentSwitchVlanMacAssociationRowStatus=hm2AgentSwitchVlanMacAssociationRowStatus, hm2AgentDaiVlanPktsForwarded=hm2AgentDaiVlanPktsForwarded, hm2AgentSwitchSnoopingQuerierCfgEntry=hm2AgentSwitchSnoopingQuerierCfgEntry, hm2AgentSwitchSnoopingVlanAdminMode=hm2AgentSwitchSnoopingVlanAdminMode, hm2AgentStpCstPortTopologyChangeAck=hm2AgentStpCstPortTopologyChangeAck, hm2AgentPortMirrorReset=hm2AgentPortMirrorReset, hm2PlatformDaiIntfErrorDisabledTrap=hm2PlatformDaiIntfErrorDisabledTrap, hm2PlatformSwitchingTraps=hm2PlatformSwitchingTraps, hm2AgentArpAclRuleMatchSenderIpAddr=hm2AgentArpAclRuleMatchSenderIpAddr, hm2AgentPortMaxFrameSizeLimit=hm2AgentPortMaxFrameSizeLimit, hm2AgentStpMstPortId=hm2AgentStpMstPortId, hm2AgentStpCstDesignatedBridgeId=hm2AgentStpCstDesignatedBridgeId, hm2AgentDot3adAggPortEntry=hm2AgentDot3adAggPortEntry, hm2AgentSwitchSnoopingQuerierQueryInterval=hm2AgentSwitchSnoopingQuerierQueryInterval, hm2AgentStpCstPortId=hm2AgentStpCstPortId, hm2AgentPortMirrorAdminMode=hm2AgentPortMirrorAdminMode, hm2AgentSwitchSnoopingQuerierVlanAdminMode=hm2AgentSwitchSnoopingQuerierVlanAdminMode, hm2AgentArpAclRowStatus=hm2AgentArpAclRowStatus, hm2AgentSwitchGmrpPortPktRx=hm2AgentSwitchGmrpPortPktRx, hm2AgentStpMstAutoPortPathCost=hm2AgentStpMstAutoPortPathCost, hm2AgentPortVoiceVlanDSCP=hm2AgentPortVoiceVlanDSCP, hm2AgentStpPortMigrationCheck=hm2AgentStpPortMigrationCheck, hm2AgentDaiVlanDynArpInspEnable=hm2AgentDaiVlanDynArpInspEnable, hm2AgentSwitchVoiceVLANAdminMode=hm2AgentSwitchVoiceVLANAdminMode, hm2AgentStpCstBridgeHoldTime=hm2AgentStpCstBridgeHoldTime, hm2AgentStpConfigDigestKey=hm2AgentStpConfigDigestKey, hm2AgentSwitchGmrpUnknownMulticastFilterMode=hm2AgentSwitchGmrpUnknownMulticastFilterMode, Ipv6IfIndexOrZero=Ipv6IfIndexOrZero, hm2AgentDhcpL2RelayTrustedClntMsgsWithoutOptn82=hm2AgentDhcpL2RelayTrustedClntMsgsWithoutOptn82, hm2AgentSwitchSnoopingAdminMode=hm2AgentSwitchSnoopingAdminMode, hm2AgentSwitchVlanSubnetAssociationIPAddress=hm2AgentSwitchVlanSubnetAssociationIPAddress, hm2AgentPortSfpLinkLossAlert=hm2AgentPortSfpLinkLossAlert, hm2AgentStpConfigRevision=hm2AgentStpConfigRevision, hm2AgentStpMstTopologyChangeParm=hm2AgentStpMstTopologyChangeParm, hm2AgentPortVoiceVlanOperationalStatus=hm2AgentPortVoiceVlanOperationalStatus, hm2AgentDaiVlanDhcpDrops=hm2AgentDaiVlanDhcpDrops, hm2AgentSwitchSnoopingQuerierVlanAddress=hm2AgentSwitchSnoopingQuerierVlanAddress, hm2PlatformDhcpSnoopingIntfErrorDisabledTrap=hm2PlatformDhcpSnoopingIntfErrorDisabledTrap, hm2AgentPortVoiceVlanDataPriorityMode=hm2AgentPortVoiceVlanDataPriorityMode, hm2AgentStpMstPortRole=hm2AgentStpMstPortRole, hm2AgentSwitchVlanMacAssociationGroup=hm2AgentSwitchVlanMacAssociationGroup, hm2AgentSwitchAddressAgingTimeout=hm2AgentSwitchAddressAgingTimeout, hm2AgentDaiVlanArpAclStaticFlag=hm2AgentDaiVlanArpAclStaticFlag, hm2AgentDhcpSnoopingStatsEntry=hm2AgentDhcpSnoopingStatsEntry, hm2AgentStpPortState=hm2AgentStpPortState, hm2AgentPortMirrorSessionNum=hm2AgentPortMirrorSessionNum, hm2AgentDhcpL2RelayConfigGroup=hm2AgentDhcpL2RelayConfigGroup, hm2AgentSwitchSnoopingQuerierGroup=hm2AgentSwitchSnoopingQuerierGroup, hm2AgentSwitchMFDBTable=hm2AgentSwitchMFDBTable, hm2AgentPortMirrorDestinationPort=hm2AgentPortMirrorDestinationPort, hm2AgentDaiVlanPktsDropped=hm2AgentDaiVlanPktsDropped, hm2AgentPortMirrorSourcePortReflectorPortConflict=hm2AgentPortMirrorSourcePortReflectorPortConflict, hm2AgentDynamicIpsgBindingMacAddr=hm2AgentDynamicIpsgBindingMacAddr, hm2AgentSwitchVlanStaticMrouterTable=hm2AgentSwitchVlanStaticMrouterTable, hm2AgentStpMstPortEntry=hm2AgentStpMstPortEntry, hm2AgentSwitchMFDBSummaryVlanId=hm2AgentSwitchMFDBSummaryVlanId, hm2AgentDaiVlanAclDrops=hm2AgentDaiVlanAclDrops, hm2AgentStpMstPortReceivedPortId=hm2AgentStpMstPortReceivedPortId, hm2AgentPortBroadcastControlThresholdUnit=hm2AgentPortBroadcastControlThresholdUnit, hm2AgentSwitchVlanStaticMrouterAdminMode=hm2AgentSwitchVlanStaticMrouterAdminMode, hm2AgentStaticDsBindingEntry=hm2AgentStaticDsBindingEntry, hm2AgentLagDetailedIfIndex=hm2AgentLagDetailedIfIndex, hm2AgentArpAclRuleEntry=hm2AgentArpAclRuleEntry, hm2AgentSwitchSnoopingCfgTable=hm2AgentSwitchSnoopingCfgTable, hm2AgentSwitchSnoopingQuerierLastQuerierAddress=hm2AgentSwitchSnoopingQuerierLastQuerierAddress, LagList=LagList, hm2AgentSwitchMFDBEntry=hm2AgentSwitchMFDBEntry, hm2AgentIPv6NdpEntries=hm2AgentIPv6NdpEntries, hm2AgentStpCstPortOperPointToPoint=hm2AgentStpCstPortOperPointToPoint, hm2AgentStpMstRowStatus=hm2AgentStpMstRowStatus, Ipv6Address=Ipv6Address, hm2AgentStaticIpsgBindingRowStatus=hm2AgentStaticIpsgBindingRowStatus, hm2AgentPortMirrorEntry=hm2AgentPortMirrorEntry, hm2AgentStaticDsBindingRowStatus=hm2AgentStaticDsBindingRowStatus, hm2AgentSwitchSnoopingQuerierVlanTable=hm2AgentSwitchSnoopingQuerierVlanTable, hm2AgentSwitchSnoopingQuerierLastQuerierVersion=hm2AgentSwitchSnoopingQuerierLastQuerierVersion, hm2AgentStpCstRootFwdDelay=hm2AgentStpCstRootFwdDelay, hm2AgentStpCstDesignatedCost=hm2AgentStpCstDesignatedCost, hm2AgentProtocolGroupProtocolTable=hm2AgentProtocolGroupProtocolTable, hm2AgentLagSummaryConfigTable=hm2AgentLagSummaryConfigTable, hm2AgentSwitchSnoopingQuerierAdminMode=hm2AgentSwitchSnoopingQuerierAdminMode, hm2AgentSwitchSnoopingVlanGroup=hm2AgentSwitchSnoopingVlanGroup, VlanList=VlanList, hm2AgentSwitchVlanMacAssociationVlanId=hm2AgentSwitchVlanMacAssociationVlanId, hm2AgentSwitchVoiceVLANGroup=hm2AgentSwitchVoiceVLANGroup, hm2AgentSwitchGvrpPortPktTx=hm2AgentSwitchGvrpPortPktTx, hm2AgentSwitchSnoopingPortMask=hm2AgentSwitchSnoopingPortMask, hm2AgentPortVoiceVlanMode=hm2AgentPortVoiceVlanMode, hm2AgentStaticIpsgBindingMacAddr=hm2AgentStaticIpsgBindingMacAddr, hm2AgentPortBroadcastControlThreshold=hm2AgentPortBroadcastControlThreshold, hm2AgentSwitchSnoopingIntfMulticastRouterMode=hm2AgentSwitchSnoopingIntfMulticastRouterMode, hm2AgentSwitchStaticMacFilteringEntry=hm2AgentSwitchStaticMacFilteringEntry, hm2AgentSwitchMFDBSummaryForwardingPortMask=hm2AgentSwitchMFDBSummaryForwardingPortMask, hm2AgentDaiVlanStatsIndex=hm2AgentDaiVlanStatsIndex, hm2AgentStpCstPortTCNGuard=hm2AgentStpCstPortTCNGuard, hm2AgentSwitchSnoopingProtocol=hm2AgentSwitchSnoopingProtocol, hm2AgentPortMirrorVlanMirrorPortConflict=hm2AgentPortMirrorVlanMirrorPortConflict, hm2AgentDaiConfigGroup=hm2AgentDaiConfigGroup, hm2AgentLagSummaryStpMode=hm2AgentLagSummaryStpMode, hm2AgentDhcpSnoopingVlanConfigEntry=hm2AgentDhcpSnoopingVlanConfigEntry, hm2AgentIPv6MulticastRoutes=hm2AgentIPv6MulticastRoutes, hm2AgentLagConfigSNMPExtensionGroup=hm2AgentLagConfigSNMPExtensionGroup, hm2AgentClassOfServicePortPriority=hm2AgentClassOfServicePortPriority, hm2AgentSwitchSnoopingIntfAdminMode=hm2AgentSwitchSnoopingIntfAdminMode, hm2AgentSwitchGvrpPortPktRx=hm2AgentSwitchGvrpPortPktRx, hm2AgentStpMstPortForwardingState=hm2AgentStpMstPortForwardingState) mibBuilder.exportSymbols("HM2-PLATFORM-SWITCHING-MIB", hm2AgentStpMstVlanTable=hm2AgentStpMstVlanTable, hm2AgentSdmTemplateSummaryTable=hm2AgentSdmTemplateSummaryTable, hm2AgentPortUnicastControlMode=hm2AgentPortUnicastControlMode, hm2AgentSwitchMFDBSummaryEntry=hm2AgentSwitchMFDBSummaryEntry, hm2AgentStpMstPortReceivedRegionalRPC=hm2AgentStpMstPortReceivedRegionalRPC, hm2AgentStaticDsBindingIpAddr=hm2AgentStaticDsBindingIpAddr, hm2AgentStaticDsBindingVlanId=hm2AgentStaticDsBindingVlanId, hm2AgentSwitchMFDBForwardingPortMask=hm2AgentSwitchMFDBForwardingPortMask, hm2AgentIpsgIfConfigEntry=hm2AgentIpsgIfConfigEntry, hm2AgentDaiVlanAclPermits=hm2AgentDaiVlanAclPermits, hm2AgentSwitchSnoopingIntfGroupMembershipInterval=hm2AgentSwitchSnoopingIntfGroupMembershipInterval, hm2AgentDaiIfConfigTable=hm2AgentDaiIfConfigTable, hm2AgentStpMstTable=hm2AgentStpMstTable, hm2AgentArpAclEntry=hm2AgentArpAclEntry, hm2AgentSwitchSnoopingVlanMaxResponseTime=hm2AgentSwitchSnoopingVlanMaxResponseTime, hm2AgentSwitchMFDBVlanId=hm2AgentSwitchMFDBVlanId, hm2AgentDhcpSnoopingStatsTable=hm2AgentDhcpSnoopingStatsTable, hm2AgentLagSummaryFlushTimer=hm2AgentLagSummaryFlushTimer, hm2AgentSdmTemplateId=hm2AgentSdmTemplateId, hm2AgentSwitchVlanSubnetAssociationEntry=hm2AgentSwitchVlanSubnetAssociationEntry, hm2PlatformSwitching=hm2PlatformSwitching, hm2AgentLagSummaryMinimumActiveLinks=hm2AgentLagSummaryMinimumActiveLinks, hm2AgentPortMirrorDestinationPortInvalid=hm2AgentPortMirrorDestinationPortInvalid, hm2AgentStpCstHelloTime=hm2AgentStpCstHelloTime, hm2AgentPortConfigEntry=hm2AgentPortConfigEntry, hm2AgentStpMstSwitchVersionConflict=hm2AgentStpMstSwitchVersionConflict, hm2AgentDaiVlanBindingCheckEnable=hm2AgentDaiVlanBindingCheckEnable, hm2AgentStpMstVlanRowStatus=hm2AgentStpMstVlanRowStatus, hm2AgentStpPortTable=hm2AgentStpPortTable, hm2AgentStpCstPortOperEdge=hm2AgentStpCstPortOperEdge, hm2AgentDynamicDsBindingEntry=hm2AgentDynamicDsBindingEntry, hm2AgentSwitchVlanMacAssociationTable=hm2AgentSwitchVlanMacAssociationTable, hm2AgentDhcpSnoopingInvalidServerMessages=hm2AgentDhcpSnoopingInvalidServerMessages, hm2AgentPortClearStats=hm2AgentPortClearStats, hm2AgentDaiDstMacValidate=hm2AgentDaiDstMacValidate, hm2AgentLagConfigGroupPortIsLagMemberErrorReturn=hm2AgentLagConfigGroupPortIsLagMemberErrorReturn, hm2AgentDhcpL2RelayUntrustedSrvrMsgsWithOptn82=hm2AgentDhcpL2RelayUntrustedSrvrMsgsWithOptn82, hm2AgentStpBpduFilterDefault=hm2AgentStpBpduFilterDefault, hm2AgentDaiVlanStatsEntry=hm2AgentDaiVlanStatsEntry, hm2AgentDhcpSnoopingVlanConfigTable=hm2AgentDhcpSnoopingVlanConfigTable, hm2AgentPortDot3FlowControlOperStatus=hm2AgentPortDot3FlowControlOperStatus, hm2AgentSwitchConfigGroup=hm2AgentSwitchConfigGroup, hm2AgentDynamicIpsgBindingIfIndex=hm2AgentDynamicIpsgBindingIfIndex, hm2AgentLagConfigCreate=hm2AgentLagConfigCreate, hm2PlatformStpInstanceTopologyChangeTrap=hm2PlatformStpInstanceTopologyChangeTrap, hm2AgentDaiVlanDhcpPermits=hm2AgentDaiVlanDhcpPermits, hm2AgentSwitchSnoopingQuerierVersion=hm2AgentSwitchSnoopingQuerierVersion, hm2AgentSwitchMFDBSummaryMacAddress=hm2AgentSwitchMFDBSummaryMacAddress, hm2AgentDaiIPValidate=hm2AgentDaiIPValidate, hm2AgentSwitchVlanStaticMrouterEntry=hm2AgentSwitchVlanStaticMrouterEntry, hm2AgentDhcpSnoopingIfBurstInterval=hm2AgentDhcpSnoopingIfBurstInterval, hm2AgentDhcpL2RelayRemoteIdVlanEnable=hm2AgentDhcpL2RelayRemoteIdVlanEnable, hm2AgentProtocolGroupPortTable=hm2AgentProtocolGroupPortTable, hm2AgentLagSummaryMaxFrameSize=hm2AgentLagSummaryMaxFrameSize, hm2AgentLagConfigGroupMaxNumPortsPerLag=hm2AgentLagConfigGroupMaxNumPortsPerLag, hm2AgentSdmTemplateEntry=hm2AgentSdmTemplateEntry, hm2AgentLagConfigGroupHashOption=hm2AgentLagConfigGroupHashOption, hm2PlatformStpInstanceLoopInconsistentStartTrap=hm2PlatformStpInstanceLoopInconsistentStartTrap, hm2AgentStpCstPortAutoEdge=hm2AgentStpCstPortAutoEdge, hm2AgentProtocolGroupPortEntry=hm2AgentProtocolGroupPortEntry, hm2AgentDhcpSnoopingIfTrustEnable=hm2AgentDhcpSnoopingIfTrustEnable, hm2AgentConfigGroup=hm2AgentConfigGroup, hm2AgentSwitchGmrpPortEntry=hm2AgentSwitchGmrpPortEntry, hm2AgentSwitchVoiceVlanInterfaceNum=hm2AgentSwitchVoiceVlanInterfaceNum, hm2AgentStpMstPortTransitionsOutOfLoopInconsistentState=hm2AgentStpMstPortTransitionsOutOfLoopInconsistentState, hm2AgentSwitchSnoopingIntfFastLeaveAdminMode=hm2AgentSwitchSnoopingIntfFastLeaveAdminMode, hm2AgentDynamicDsBindingMacAddr=hm2AgentDynamicDsBindingMacAddr, hm2AgentDhcpL2RelayVlanConfigTable=hm2AgentDhcpL2RelayVlanConfigTable, hm2AgentDhcpSnoopingRemoteFileName=hm2AgentDhcpSnoopingRemoteFileName, hm2AgentStpCstPortEdge=hm2AgentStpCstPortEdge, hm2AgentStaticIpsgBindingTable=hm2AgentStaticIpsgBindingTable, PYSNMP_MODULE_ID=hm2PlatformSwitching, hm2AgentStpCstRegionalRootPathCost=hm2AgentStpCstRegionalRootPathCost, hm2AgentLagConfigGroupNumOfLagsConfigured=hm2AgentLagConfigGroupNumOfLagsConfigured, hm2AgentIPv4MulticastRoutes=hm2AgentIPv4MulticastRoutes, hm2AgentPortMirrorPrivateVlanConfigured=hm2AgentPortMirrorPrivateVlanConfigured, hm2AgentPortMirrorRemoteVlan=hm2AgentPortMirrorRemoteVlan, hm2AgentPortMirrorRemoteDestinationVlan=hm2AgentPortMirrorRemoteDestinationVlan, hm2AgentDot3adAggPortTable=hm2AgentDot3adAggPortTable, hm2AgentClearVlan=hm2AgentClearVlan, hm2AgentDaiIfConfigEntry=hm2AgentDaiIfConfigEntry, hm2AgentSwitchVoiceVlanDeviceMacAddress=hm2AgentSwitchVoiceVlanDeviceMacAddress, hm2AgentPortMirrorDestinationRemotePortNotSet=hm2AgentPortMirrorDestinationRemotePortNotSet, hm2AgentArpAclRuleMatchSenderMacAddr=hm2AgentArpAclRuleMatchSenderMacAddr, hm2AgentDaiVlanIndex=hm2AgentDaiVlanIndex, hm2AgentSwitchGmrpPortTable=hm2AgentSwitchGmrpPortTable, hm2AgentProtocolGroupName=hm2AgentProtocolGroupName, hm2AgentDhcpL2RelayVlanConfigEntry=hm2AgentDhcpL2RelayVlanConfigEntry, hm2AgentIPv6UnicastRoutes=hm2AgentIPv6UnicastRoutes, hm2AgentStpMstDesignatedRootId=hm2AgentStpMstDesignatedRootId, hm2AgentDaiStatsReset=hm2AgentDaiStatsReset, hm2AgentSwitchAddressAgingTimeoutTable=hm2AgentSwitchAddressAgingTimeoutTable, hm2AgentProtocolGroupTable=hm2AgentProtocolGroupTable, hm2AgentStpMstPortTransitionsIntoLoopInconsistentState=hm2AgentStpMstPortTransitionsIntoLoopInconsistentState, hm2PlatformStpInstanceLoopInconsistentEndTrap=hm2PlatformStpInstanceLoopInconsistentEndTrap, hm2AgentIpsgIfVerifySource=hm2AgentIpsgIfVerifySource, hm2AgentStaticDsBindingIfIndex=hm2AgentStaticDsBindingIfIndex, hm2AgentPortMirrorReflectorPortVlanConflict=hm2AgentPortMirrorReflectorPortVlanConflict, hm2AgentDynamicIpsgBindingEntry=hm2AgentDynamicIpsgBindingEntry, hm2AgentPortUnicastControlThreshold=hm2AgentPortUnicastControlThreshold, hm2AgentSwitchGmrpPortPktTx=hm2AgentSwitchGmrpPortPktTx, hm2AgentDhcpSnoopingIfConfigTable=hm2AgentDhcpSnoopingIfConfigTable, hm2AgentPortMirrorRemoteSourceVlan=hm2AgentPortMirrorRemoteSourceVlan, hm2AgentIPv4UnicastRoutes=hm2AgentIPv4UnicastRoutes, hm2AgentSwitchStaticMacFilteringVlanId=hm2AgentSwitchStaticMacFilteringVlanId, hm2AgentPortMirrorVlanNotCreated=hm2AgentPortMirrorVlanNotCreated, hm2AgentSwitchSnoopingVlanReportSuppMode=hm2AgentSwitchSnoopingVlanReportSuppMode, hm2AgentDaiVlanConfigTable=hm2AgentDaiVlanConfigTable, hm2AgentPortUnicastControlThresholdUnit=hm2AgentPortUnicastControlThresholdUnit, hm2AgentStpCstPortPathCost=hm2AgentStpCstPortPathCost, hm2AgentSwitchVoiceVlanDeviceEntry=hm2AgentSwitchVoiceVlanDeviceEntry, hm2AgentDhcpL2RelayAdminMode=hm2AgentDhcpL2RelayAdminMode, hm2AgentPortMirrorSourceVlan=hm2AgentPortMirrorSourceVlan, hm2AgentSwitchMFDBMostEntriesUsed=hm2AgentSwitchMFDBMostEntriesUsed, hm2AgentStpCstBridgeMaxHops=hm2AgentStpCstBridgeMaxHops, hm2AgentStpCstBridgeHelloTime=hm2AgentStpCstBridgeHelloTime, hm2AgentSwitchVlanMacAssociationEntry=hm2AgentSwitchVlanMacAssociationEntry, hm2AgentDaiIfRateLimit=hm2AgentDaiIfRateLimit, hm2AgentSwitchGvrpPortEntry=hm2AgentSwitchGvrpPortEntry, hm2AgentPortMirroringGroup=hm2AgentPortMirroringGroup, Ipv6AddressIfIdentifier=Ipv6AddressIfIdentifier, hm2AgentStpCstFwdDelayErrorReturn=hm2AgentStpCstFwdDelayErrorReturn, hm2AgentSwitchVlanStaticMrouterGroup=hm2AgentSwitchVlanStaticMrouterGroup, hm2AgentProtocolGroupVlanId=hm2AgentProtocolGroupVlanId, hm2AgentStpAdminMode=hm2AgentStpAdminMode, hm2AgentSdmPreferCurrentTemplate=hm2AgentSdmPreferCurrentTemplate, hm2AgentDaiVlanDstMacFailures=hm2AgentDaiVlanDstMacFailures, hm2AgentDynamicDsBindingVlanId=hm2AgentDynamicDsBindingVlanId, hm2AgentLagSummaryName=hm2AgentLagSummaryName, hm2AgentSwitchStaticMacStatsGroup=hm2AgentSwitchStaticMacStatsGroup, hm2AgentStpCstMaxAge=hm2AgentStpCstMaxAge, hm2AgentStaticDsBindingTable=hm2AgentStaticDsBindingTable, hm2AgentStpPortUpTime=hm2AgentStpPortUpTime, hm2AgentLagMirrorProbePortLagMemberErrorReturn=hm2AgentLagMirrorProbePortLagMemberErrorReturn, hm2AgentPortMirrorAllowMgmtMode=hm2AgentPortMirrorAllowMgmtMode, hm2AgentSwitchGvrpPortTable=hm2AgentSwitchGvrpPortTable, hm2AgentStpCstConfigGroup=hm2AgentStpCstConfigGroup, hm2AgentStpCstPortPriority=hm2AgentStpCstPortPriority, hm2AgentClassOfServicePortClass=hm2AgentClassOfServicePortClass, hm2AgentStpPortStatsStpBpduTx=hm2AgentStpPortStatsStpBpduTx, hm2AgentSwitchProtectedPortTable=hm2AgentSwitchProtectedPortTable, hm2AgentLagDetailedConfigEntry=hm2AgentLagDetailedConfigEntry, hm2AgentDaiIfBurstInterval=hm2AgentDaiIfBurstInterval, hm2AgentLagConfigStaticCapability=hm2AgentLagConfigStaticCapability, hm2AgentStaticIpsgBindingHwStatus=hm2AgentStaticIpsgBindingHwStatus, hm2AgentPortMirrorReflectorPort=hm2AgentPortMirrorReflectorPort, Ipv6IfIndex=Ipv6IfIndex, hm2AgentLagSummaryStaticCapability=hm2AgentLagSummaryStaticCapability, hm2AgentDynamicDsBindingLeaseRemainingTime=hm2AgentDynamicDsBindingLeaseRemainingTime, hm2AgentDaiVlanStatsTable=hm2AgentDaiVlanStatsTable, hm2AgentSwitchSnoopingVlanGroupMembershipInterval=hm2AgentSwitchSnoopingVlanGroupMembershipInterval, hm2AgentStpCstBridgePriority=hm2AgentStpCstBridgePriority, hm2AgentDaiVlanIpValidFailures=hm2AgentDaiVlanIpValidFailures, hm2AgentStpBpduGuardMode=hm2AgentStpBpduGuardMode, hm2AgentStpMstInstanceVlanErrorReturn=hm2AgentStpMstInstanceVlanErrorReturn, hm2AgentDhcpL2RelayUntrustedClntMsgsWithOptn82=hm2AgentDhcpL2RelayUntrustedClntMsgsWithOptn82, hm2AgentLagSummaryMaxFrameSizeLimit=hm2AgentLagSummaryMaxFrameSizeLimit, hm2AgentPortMirrorRspanVlanInconsistent=hm2AgentPortMirrorRspanVlanInconsistent, hm2AgentDot3adAggPort=hm2AgentDot3adAggPort, hm2AgentSwitchSnoopingIntfGroup=hm2AgentSwitchSnoopingIntfGroup, hm2AgentStpRingOnlyMode=hm2AgentStpRingOnlyMode, hm2AgentPortMirrorProbePortVlanConflict=hm2AgentPortMirrorProbePortVlanConflict, hm2AgentStpPortStatsRstpBpduRx=hm2AgentStpPortStatsRstpBpduRx, hm2AgentLagSummaryLagIndex=hm2AgentLagSummaryLagIndex, hm2AgentPortMirrorSNMPExtensionGroup=hm2AgentPortMirrorSNMPExtensionGroup, hm2AgentStpCstPortBpduFlood=hm2AgentStpCstPortBpduFlood, hm2AgentSwitchSnoopingIntfEntry=hm2AgentSwitchSnoopingIntfEntry, hm2AgentPortDot1dBasePort=hm2AgentPortDot1dBasePort, hm2AgentPortMirrorVlanRspanVlanConflict=hm2AgentPortMirrorVlanRspanVlanConflict, hm2AgentStpPortStatsStpBpduRx=hm2AgentStpPortStatsStpBpduRx, hm2AgentProtocolGroupProtocolEntry=hm2AgentProtocolGroupProtocolEntry, hm2AgentStpPortStatsMstpBpduTx=hm2AgentStpPortStatsMstpBpduTx, hm2AgentSwitchSnoopingMulticastControlFramesProcessed=hm2AgentSwitchSnoopingMulticastControlFramesProcessed, hm2AgentDhcpSnoopingIfRateLimit=hm2AgentDhcpSnoopingIfRateLimit, hm2AgentStpMstVlanEntry=hm2AgentStpMstVlanEntry, hm2AgentSwitchMFDBDescription=hm2AgentSwitchMFDBDescription, hm2AgentSwitchMFDBMaxTableEntries=hm2AgentSwitchMFDBMaxTableEntries, hm2AgentLagSummaryType=hm2AgentLagSummaryType, hm2AgentDot3adAggPortLACPMode=hm2AgentDot3adAggPortLACPMode, hm2AgentEcmpNextHops=hm2AgentEcmpNextHops, hm2AgentDhcpL2RelayIfTrustEnable=hm2AgentDhcpL2RelayIfTrustEnable, hm2AgentStaticDsBindingMacAddr=hm2AgentStaticDsBindingMacAddr, hm2AgentDynamicIpsgBindingVlanId=hm2AgentDynamicIpsgBindingVlanId, hm2AgentStpCstDesignatedPortId=hm2AgentStpCstDesignatedPortId, hm2AgentStpCstPortRootGuard=hm2AgentStpCstPortRootGuard, hm2AgentStpMstDesignatedCost=hm2AgentStpMstDesignatedCost, hm2AgentArpAclTable=hm2AgentArpAclTable, hm2AgentDaiVlanConfigEntry=hm2AgentDaiVlanConfigEntry, hm2AgentSwitchVlanSubnetAssociationSubnetMask=hm2AgentSwitchVlanSubnetAssociationSubnetMask, hm2AgentStpRingOnlyModeIntfOne=hm2AgentStpRingOnlyModeIntfOne, hm2AgentLagSummaryAddPort=hm2AgentLagSummaryAddPort, hm2AgentSdmTemplateTable=hm2AgentSdmTemplateTable, hm2AgentSwitchSnoopingVlanFastLeaveAdminMode=hm2AgentSwitchSnoopingVlanFastLeaveAdminMode, hm2AgentStpCstPortBpduGuardEffect=hm2AgentStpCstPortBpduGuardEffect, hm2AgentStpMstBridgeIdentifier=hm2AgentStpMstBridgeIdentifier, hm2AgentPortVoiceVlanUntagged=hm2AgentPortVoiceVlanUntagged, hm2AgentSwitchStaticMacFilteringStatus=hm2AgentSwitchStaticMacFilteringStatus, hm2AgentSwitchSnoopingQuerierOperMaxResponseTime=hm2AgentSwitchSnoopingQuerierOperMaxResponseTime, hm2AgentStpPortEntry=hm2AgentStpPortEntry, hm2AgentStpMstBridgePriority=hm2AgentStpMstBridgePriority, hm2AgentDaiVlanArpAclName=hm2AgentDaiVlanArpAclName, hm2AgentLagSummaryLinkTrap=hm2AgentLagSummaryLinkTrap, hm2AgentSwitchVlanMacAssociationMacAddress=hm2AgentSwitchVlanMacAssociationMacAddress, hm2AgentPortMirrorTypeType=hm2AgentPortMirrorTypeType, hm2AgentSwitchVlanSubnetAssociationRowStatus=hm2AgentSwitchVlanSubnetAssociationRowStatus, hm2AgentDhcpL2RelayTrustedSrvrMsgsWithoutOptn82=hm2AgentDhcpL2RelayTrustedSrvrMsgsWithoutOptn82, hm2AgentPortVoiceVlanID=hm2AgentPortVoiceVlanID, hm2AgentLagConfigGroupMaxNumOfLags=hm2AgentLagConfigGroupMaxNumOfLags, hm2AgentStpMstEntry=hm2AgentStpMstEntry, hm2AgentStpMstDesignatedBridgeId=hm2AgentStpMstDesignatedBridgeId, hm2AgentLagConfigGroupLagsConfigured=hm2AgentLagConfigGroupLagsConfigured, hm2AgentLagSummaryHashOption=hm2AgentLagSummaryHashOption, hm2AgentSwitchSnoopingQuerierExpiryInterval=hm2AgentSwitchSnoopingQuerierExpiryInterval, hm2AgentLagDetailedPortStatus=hm2AgentLagDetailedPortStatus, hm2AgentPortMirrorTable=hm2AgentPortMirrorTable, hm2AgentPortMirrorRemoteSourceRemoteDestinationConflict=hm2AgentPortMirrorRemoteSourceRemoteDestinationConflict, hm2AgentDhcpSnoopingAdminMode=hm2AgentDhcpSnoopingAdminMode, hm2AgentArpAclName=hm2AgentArpAclName, hm2AgentDhcpSnoopingVlanEnable=hm2AgentDhcpSnoopingVlanEnable, hm2AgentDhcpSnoopingVerifyMac=hm2AgentDhcpSnoopingVerifyMac, hm2AgentStpCstExtPortPathCost=hm2AgentStpCstExtPortPathCost, hm2AgentSwitchSnoopingIntfMRPExpirationTime=hm2AgentSwitchSnoopingIntfMRPExpirationTime, hm2PlatformStpInstanceNewRootTrap=hm2PlatformStpInstanceNewRootTrap, hm2AgentPortMulticastControlThresholdUnit=hm2AgentPortMulticastControlThresholdUnit, hm2AgentProtocolGroupId=hm2AgentProtocolGroupId, hm2AgentDhcpL2RelayVlanEnable=hm2AgentDhcpL2RelayVlanEnable, hm2AgentPortBroadcastControlMode=hm2AgentPortBroadcastControlMode, hm2AgentIpsgIfConfigTable=hm2AgentIpsgIfConfigTable, hm2AgentPortMirrorTypeEntry=hm2AgentPortMirrorTypeEntry)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, value_range_constraint, constraints_intersection, value_size_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint', 'SingleValueConstraint') (dot1d_base_port_entry,) = mibBuilder.importSymbols('BRIDGE-MIB', 'dot1dBasePortEntry') (hm2_platform_mibs, hm_enabled_status) = mibBuilder.importSymbols('HM2-TC-MIB', 'hm2PlatformMibs', 'HmEnabledStatus') (if_index, interface_index, interface_index_or_zero) = mibBuilder.importSymbols('IF-MIB', 'ifIndex', 'InterfaceIndex', 'InterfaceIndexOrZero') (inet_address, inet_address_type) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddress', 'InetAddressType') (dot1d_port_gmrp_entry,) = mibBuilder.importSymbols('P-BRIDGE-MIB', 'dot1dPortGmrpEntry') (vlan_id, port_list, dot1q_port_vlan_entry, dot1q_fdb_id, vlan_index, dot1q_vlan_index) = mibBuilder.importSymbols('Q-BRIDGE-MIB', 'VlanId', 'PortList', 'dot1qPortVlanEntry', 'dot1qFdbId', 'VlanIndex', 'dot1qVlanIndex') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (object_identity, counter64, gauge32, bits, unsigned32, time_ticks, integer32, mib_identifier, ip_address, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, iso, counter32, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'ObjectIdentity', 'Counter64', 'Gauge32', 'Bits', 'Unsigned32', 'TimeTicks', 'Integer32', 'MibIdentifier', 'IpAddress', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso', 'Counter32', 'NotificationType') (truth_value, row_status, display_string, mac_address, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'TruthValue', 'RowStatus', 'DisplayString', 'MacAddress', 'TextualConvention') hm2_platform_switching = module_identity((1, 3, 6, 1, 4, 1, 248, 12, 1)) hm2PlatformSwitching.setRevisions(('2011-04-12 00:00',)) if mibBuilder.loadTexts: hm2PlatformSwitching.setLastUpdated('201104120000Z') if mibBuilder.loadTexts: hm2PlatformSwitching.setOrganization('Hirschmann Automation and Control GmbH') class Hm2Agentportmask(TextualConvention, OctetString): status = 'current' class Laglist(TextualConvention, OctetString): status = 'current' class Vlanlist(TextualConvention, OctetString): status = 'current' class Ipv6Address(TextualConvention, OctetString): status = 'current' display_hint = '2x:' subtype_spec = OctetString.subtypeSpec + value_size_constraint(16, 16) fixed_length = 16 class Ipv6Addressprefix(TextualConvention, OctetString): status = 'current' display_hint = '2x:' subtype_spec = OctetString.subtypeSpec + value_size_constraint(0, 16) class Ipv6Addressifidentifier(TextualConvention, OctetString): status = 'current' display_hint = '2x:' subtype_spec = OctetString.subtypeSpec + value_size_constraint(0, 8) class Ipv6Ifindex(TextualConvention, Integer32): status = 'current' display_hint = 'd' subtype_spec = Integer32.subtypeSpec + value_range_constraint(1, 2147483647) class Ipv6Ifindexorzero(TextualConvention, Integer32): status = 'current' display_hint = 'd' subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 2147483647) hm2_agent_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2)) hm2_agent_lag_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2)) hm2_agent_lag_config_create = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 1), display_string().subtype(subtypeSpec=constraints_union(value_size_constraint(0, 0), value_size_constraint(1, 15)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentLagConfigCreate.setStatus('current') hm2_agent_lag_summary_config_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2)) if mibBuilder.loadTexts: hm2AgentLagSummaryConfigTable.setStatus('current') hm2_agent_lag_summary_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentLagSummaryLagIndex')) if mibBuilder.loadTexts: hm2AgentLagSummaryConfigEntry.setStatus('current') hm2_agent_lag_summary_lag_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentLagSummaryLagIndex.setStatus('current') hm2_agent_lag_summary_name = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 15))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentLagSummaryName.setStatus('current') hm2_agent_lag_summary_flush_timer = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 3), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentLagSummaryFlushTimer.setStatus('obsolete') hm2_agent_lag_summary_link_trap = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 4), hm_enabled_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentLagSummaryLinkTrap.setStatus('current') hm2_agent_lag_summary_admin_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 5), hm_enabled_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentLagSummaryAdminMode.setStatus('current') hm2_agent_lag_summary_stp_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 6), hm_enabled_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentLagSummaryStpMode.setStatus('current') hm2_agent_lag_summary_add_port = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 7), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentLagSummaryAddPort.setStatus('current') hm2_agent_lag_summary_delete_port = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 8), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentLagSummaryDeletePort.setStatus('current') hm2_agent_lag_summary_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 9), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentLagSummaryStatus.setStatus('current') hm2_agent_lag_summary_type = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('static', 1), ('dynamic', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentLagSummaryType.setStatus('current') hm2_agent_lag_summary_static_capability = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 11), hm_enabled_status().clone('disable')).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentLagSummaryStaticCapability.setStatus('current') hm2_agent_lag_summary_hash_option = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('sourceMacVlan', 1), ('destMacVlan', 2), ('sourceDestMacVlan', 3), ('sourceIPsourcePort', 4), ('destIPdestPort', 5), ('sourceDestIPPort', 6), ('enhanced', 7)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentLagSummaryHashOption.setStatus('current') hm2_agent_lag_summary_minimum_active_links = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(1, 8)).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentLagSummaryMinimumActiveLinks.setStatus('current') hm2_agent_lag_summary_max_frame_size_limit = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 248), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentLagSummaryMaxFrameSizeLimit.setStatus('current') hm2_agent_lag_summary_max_frame_size = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 2, 1, 249), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentLagSummaryMaxFrameSize.setStatus('current') hm2_agent_lag_detailed_config_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 3)) if mibBuilder.loadTexts: hm2AgentLagDetailedConfigTable.setStatus('current') hm2_agent_lag_detailed_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 3, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentLagDetailedLagIndex'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentLagDetailedIfIndex')) if mibBuilder.loadTexts: hm2AgentLagDetailedConfigEntry.setStatus('current') hm2_agent_lag_detailed_lag_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentLagDetailedLagIndex.setStatus('current') hm2_agent_lag_detailed_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentLagDetailedIfIndex.setStatus('current') hm2_agent_lag_detailed_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 3, 1, 3), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentLagDetailedPortSpeed.setStatus('current') hm2_agent_lag_detailed_port_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('active', 1), ('inactive', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentLagDetailedPortStatus.setStatus('current') hm2_agent_lag_config_static_capability = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 4), hm_enabled_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentLagConfigStaticCapability.setStatus('obsolete') hm2_agent_lag_config_group_hash_option = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('sourceMacVlan', 1), ('destMacVlan', 2), ('sourceDestMacVlan', 3), ('sourceIPsourcePort', 4), ('destIPdestPort', 5), ('sourceDestIPPort', 6), ('enhanced', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentLagConfigGroupHashOption.setStatus('current') hm2_agent_lag_config_group_max_num_ports_per_lag = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 248), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentLagConfigGroupMaxNumPortsPerLag.setStatus('current') hm2_agent_lag_config_group_max_num_of_lags = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 249), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentLagConfigGroupMaxNumOfLags.setStatus('current') hm2_agent_lag_config_group_num_of_lags_configured = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 250), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentLagConfigGroupNumOfLagsConfigured.setStatus('current') hm2_agent_lag_config_group_lags_configured = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 251), lag_list()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentLagConfigGroupLagsConfigured.setStatus('current') hm2_agent_lag_config_snmp_extension_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 260)) hm2_agent_lag_config_group_port_is_lag_member_error_return = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 260, 1)) if mibBuilder.loadTexts: hm2AgentLagConfigGroupPortIsLagMemberErrorReturn.setStatus('current') hm2_agent_lag_mirror_probe_port_lag_member_error_return = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 2, 260, 2)) if mibBuilder.loadTexts: hm2AgentLagMirrorProbePortLagMemberErrorReturn.setStatus('current') hm2_agent_switch_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8)) hm2_agent_switch_address_aging_timeout_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 4)) if mibBuilder.loadTexts: hm2AgentSwitchAddressAgingTimeoutTable.setStatus('current') hm2_agent_switch_address_aging_timeout_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 4, 1)).setIndexNames((0, 'Q-BRIDGE-MIB', 'dot1qFdbId')) if mibBuilder.loadTexts: hm2AgentSwitchAddressAgingTimeoutEntry.setStatus('current') hm2_agent_switch_address_aging_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(10, 500000)).clone(30)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchAddressAgingTimeout.setStatus('current') hm2_agent_switch_static_mac_filtering_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 5)) if mibBuilder.loadTexts: hm2AgentSwitchStaticMacFilteringTable.setStatus('current') hm2_agent_switch_static_mac_filtering_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 5, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchStaticMacFilteringVlanId'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchStaticMacFilteringAddress')) if mibBuilder.loadTexts: hm2AgentSwitchStaticMacFilteringEntry.setStatus('current') hm2_agent_switch_static_mac_filtering_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchStaticMacFilteringVlanId.setStatus('current') hm2_agent_switch_static_mac_filtering_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 5, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchStaticMacFilteringAddress.setStatus('current') hm2_agent_switch_static_mac_filtering_source_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 5, 1, 3), hm2_agent_port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchStaticMacFilteringSourcePortMask.setStatus('current') hm2_agent_switch_static_mac_filtering_dest_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 5, 1, 4), hm2_agent_port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchStaticMacFilteringDestPortMask.setStatus('current') hm2_agent_switch_static_mac_filtering_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 5, 1, 5), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentSwitchStaticMacFilteringStatus.setStatus('current') hm2_agent_switch_snooping_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 6)) hm2_agent_switch_snooping_cfg_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 6, 1)) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingCfgTable.setStatus('current') hm2_agent_switch_snooping_cfg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 6, 1, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchSnoopingProtocol')) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingCfgEntry.setStatus('current') hm2_agent_switch_snooping_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 6, 1, 1, 1), inet_address_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingProtocol.setStatus('current') hm2_agent_switch_snooping_admin_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 6, 1, 1, 2), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingAdminMode.setStatus('current') hm2_agent_switch_snooping_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 6, 1, 1, 3), hm2_agent_port_mask().clone(hexValue='000000000000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingPortMask.setStatus('current') hm2_agent_switch_snooping_multicast_control_frames_processed = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 6, 1, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingMulticastControlFramesProcessed.setStatus('current') hm2_agent_switch_snooping_intf_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7)) hm2_agent_switch_snooping_intf_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1)) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfTable.setStatus('current') hm2_agent_switch_snooping_intf_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchSnoopingProtocol')) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfEntry.setStatus('current') hm2_agent_switch_snooping_intf_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfIndex.setStatus('current') hm2_agent_switch_snooping_intf_admin_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 2), hm_enabled_status().clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfAdminMode.setStatus('current') hm2_agent_switch_snooping_intf_group_membership_interval = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(2, 3600)).clone(260)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfGroupMembershipInterval.setStatus('current') hm2_agent_switch_snooping_intf_max_response_time = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 4), integer32().clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfMaxResponseTime.setStatus('current') hm2_agent_switch_snooping_intf_mrp_expiration_time = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 3600)).clone(260)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfMRPExpirationTime.setStatus('current') hm2_agent_switch_snooping_intf_fast_leave_admin_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 6), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfFastLeaveAdminMode.setStatus('current') hm2_agent_switch_snooping_intf_multicast_router_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 7), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfMulticastRouterMode.setStatus('current') hm2_agent_switch_snooping_intf_vlan_i_ds = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 7, 1, 1, 8), vlan_list()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingIntfVlanIDs.setStatus('current') hm2_agent_switch_snooping_vlan_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8)) hm2_agent_switch_snooping_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1)) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanTable.setStatus('current') hm2_agent_switch_snooping_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1, 1)).setIndexNames((0, 'Q-BRIDGE-MIB', 'dot1qVlanIndex'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchSnoopingProtocol')) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanEntry.setStatus('current') hm2_agent_switch_snooping_vlan_admin_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1, 1, 1), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanAdminMode.setStatus('current') hm2_agent_switch_snooping_vlan_group_membership_interval = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(2, 3600)).clone(260)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanGroupMembershipInterval.setStatus('current') hm2_agent_switch_snooping_vlan_max_response_time = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1, 1, 3), integer32().clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanMaxResponseTime.setStatus('current') hm2_agent_switch_snooping_vlan_fast_leave_admin_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1, 1, 4), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanFastLeaveAdminMode.setStatus('current') hm2_agent_switch_snooping_vlan_mrp_expiration_time = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 3600)).clone(260)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanMRPExpirationTime.setStatus('current') hm2_agent_switch_snooping_vlan_report_supp_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 8, 1, 1, 6), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingVlanReportSuppMode.setStatus('current') hm2_agent_switch_vlan_static_mrouter_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 9)) hm2_agent_switch_vlan_static_mrouter_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 9, 1)) if mibBuilder.loadTexts: hm2AgentSwitchVlanStaticMrouterTable.setStatus('current') hm2_agent_switch_vlan_static_mrouter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 9, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'Q-BRIDGE-MIB', 'dot1qVlanIndex'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchSnoopingProtocol')) if mibBuilder.loadTexts: hm2AgentSwitchVlanStaticMrouterEntry.setStatus('current') hm2_agent_switch_vlan_static_mrouter_admin_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 9, 1, 1, 1), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchVlanStaticMrouterAdminMode.setStatus('current') hm2_agent_switch_mfdb_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10)) hm2_agent_switch_mfdb_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1)) if mibBuilder.loadTexts: hm2AgentSwitchMFDBTable.setStatus('current') hm2_agent_switch_mfdb_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchMFDBVlanId'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchMFDBMacAddress'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchMFDBProtocolType')) if mibBuilder.loadTexts: hm2AgentSwitchMFDBEntry.setStatus('current') hm2_agent_switch_mfdb_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1, 1), vlan_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchMFDBVlanId.setStatus('current') hm2_agent_switch_mfdb_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchMFDBMacAddress.setStatus('current') hm2_agent_switch_mfdb_protocol_type = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 248))).clone(namedValues=named_values(('static', 1), ('gmrp', 2), ('igmp', 3), ('mld', 4), ('mrp-mmrp', 248)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchMFDBProtocolType.setStatus('current') hm2_agent_switch_mfdb_type = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('static', 1), ('dynamic', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchMFDBType.setStatus('current') hm2_agent_switch_mfdb_description = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchMFDBDescription.setStatus('current') hm2_agent_switch_mfdb_forwarding_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1, 6), hm2_agent_port_mask()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchMFDBForwardingPortMask.setStatus('current') hm2_agent_switch_mfdb_filtering_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 1, 1, 7), hm2_agent_port_mask()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchMFDBFilteringPortMask.setStatus('current') hm2_agent_switch_mfdb_summary_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 2)) if mibBuilder.loadTexts: hm2AgentSwitchMFDBSummaryTable.setStatus('current') hm2_agent_switch_mfdb_summary_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 2, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchMFDBSummaryVlanId'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchMFDBSummaryMacAddress')) if mibBuilder.loadTexts: hm2AgentSwitchMFDBSummaryEntry.setStatus('current') hm2_agent_switch_mfdb_summary_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 2, 1, 1), vlan_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchMFDBSummaryVlanId.setStatus('current') hm2_agent_switch_mfdb_summary_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 2, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchMFDBSummaryMacAddress.setStatus('current') hm2_agent_switch_mfdb_summary_forwarding_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 2, 1, 3), hm2_agent_port_mask()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchMFDBSummaryForwardingPortMask.setStatus('current') hm2_agent_switch_mfdb_max_table_entries = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 3), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchMFDBMaxTableEntries.setStatus('current') hm2_agent_switch_mfdb_most_entries_used = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchMFDBMostEntriesUsed.setStatus('current') hm2_agent_switch_mfdb_current_entries = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 10, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchMFDBCurrentEntries.setStatus('current') hm2_agent_switch_static_mac_stats_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 248)) hm2_agent_switch_static_mac_entries = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 248, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchStaticMacEntries.setStatus('current') hm2_agent_switch_garp_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249)) hm2_agent_switch_gmrp_unknown_multicast_filter_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('flood', 1), ('discard', 2))).clone('flood')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchGmrpUnknownMulticastFilterMode.setStatus('current') hm2_agent_switch_gmrp_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 10)) if mibBuilder.loadTexts: hm2AgentSwitchGmrpPortTable.setStatus('current') hm2_agent_switch_gmrp_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 10, 1)) dot1dBasePortEntry.registerAugmentions(('HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchGmrpPortEntry')) hm2AgentSwitchGmrpPortEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames()) if mibBuilder.loadTexts: hm2AgentSwitchGmrpPortEntry.setStatus('current') hm2_agent_switch_gmrp_port_pkt_rx = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 10, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchGmrpPortPktRx.setStatus('current') hm2_agent_switch_gmrp_port_pkt_tx = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 10, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchGmrpPortPktTx.setStatus('current') hm2_agent_switch_gvrp_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 15)) if mibBuilder.loadTexts: hm2AgentSwitchGvrpPortTable.setStatus('current') hm2_agent_switch_gvrp_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 15, 1)) dot1dBasePortEntry.registerAugmentions(('HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchGvrpPortEntry')) hm2AgentSwitchGvrpPortEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames()) if mibBuilder.loadTexts: hm2AgentSwitchGvrpPortEntry.setStatus('current') hm2_agent_switch_gvrp_port_pkt_rx = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 15, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchGvrpPortPktRx.setStatus('current') hm2_agent_switch_gvrp_port_pkt_tx = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 249, 15, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchGvrpPortPktTx.setStatus('current') hm2_agent_switch_vlan_mac_association_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 17)) hm2_agent_switch_vlan_mac_association_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 17, 1)) if mibBuilder.loadTexts: hm2AgentSwitchVlanMacAssociationTable.setStatus('current') hm2_agent_switch_vlan_mac_association_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 17, 1, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchVlanMacAssociationMacAddress'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchVlanMacAssociationVlanId')) if mibBuilder.loadTexts: hm2AgentSwitchVlanMacAssociationEntry.setStatus('current') hm2_agent_switch_vlan_mac_association_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 17, 1, 1, 1), mac_address()) if mibBuilder.loadTexts: hm2AgentSwitchVlanMacAssociationMacAddress.setStatus('current') hm2_agent_switch_vlan_mac_association_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 17, 1, 1, 2), vlan_index()) if mibBuilder.loadTexts: hm2AgentSwitchVlanMacAssociationVlanId.setStatus('current') hm2_agent_switch_vlan_mac_association_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 17, 1, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentSwitchVlanMacAssociationRowStatus.setStatus('current') hm2_agent_switch_protected_port_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 18)) hm2_agent_switch_protected_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 18, 1)) if mibBuilder.loadTexts: hm2AgentSwitchProtectedPortTable.setStatus('current') hm2_agent_switch_protected_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 18, 1, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchProtectedPortGroupId')) if mibBuilder.loadTexts: hm2AgentSwitchProtectedPortEntry.setStatus('current') hm2_agent_switch_protected_port_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 18, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))) if mibBuilder.loadTexts: hm2AgentSwitchProtectedPortGroupId.setStatus('current') hm2_agent_switch_protected_port_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 18, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchProtectedPortGroupName.setStatus('current') hm2_agent_switch_protected_port_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 18, 1, 1, 3), port_list()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchProtectedPortPortList.setStatus('current') hm2_agent_switch_vlan_subnet_association_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 19)) hm2_agent_switch_vlan_subnet_association_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 19, 1)) if mibBuilder.loadTexts: hm2AgentSwitchVlanSubnetAssociationTable.setStatus('current') hm2_agent_switch_vlan_subnet_association_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 19, 1, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchVlanSubnetAssociationIPAddress'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchVlanSubnetAssociationSubnetMask'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchVlanSubnetAssociationVlanId')) if mibBuilder.loadTexts: hm2AgentSwitchVlanSubnetAssociationEntry.setStatus('current') hm2_agent_switch_vlan_subnet_association_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 19, 1, 1, 1), ip_address()) if mibBuilder.loadTexts: hm2AgentSwitchVlanSubnetAssociationIPAddress.setStatus('current') hm2_agent_switch_vlan_subnet_association_subnet_mask = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 19, 1, 1, 2), ip_address()) if mibBuilder.loadTexts: hm2AgentSwitchVlanSubnetAssociationSubnetMask.setStatus('current') hm2_agent_switch_vlan_subnet_association_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 19, 1, 1, 3), vlan_index()) if mibBuilder.loadTexts: hm2AgentSwitchVlanSubnetAssociationVlanId.setStatus('current') hm2_agent_switch_vlan_subnet_association_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 19, 1, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentSwitchVlanSubnetAssociationRowStatus.setStatus('current') hm2_agent_switch_snooping_querier_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20)) hm2_agent_switch_snooping_querier_cfg_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 1)) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierCfgTable.setStatus('current') hm2_agent_switch_snooping_querier_cfg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 1, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchSnoopingProtocol')) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierCfgEntry.setStatus('current') hm2_agent_switch_snooping_querier_admin_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 1, 1, 1), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierAdminMode.setStatus('current') hm2_agent_switch_snooping_querier_version = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 1, 1, 2), integer32().clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierVersion.setStatus('current') hm2_agent_switch_snooping_querier_query_interval = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 1800)).clone(60)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierQueryInterval.setStatus('current') hm2_agent_switch_snooping_querier_expiry_interval = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(60, 300)).clone(125)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierExpiryInterval.setStatus('current') hm2_agent_switch_snooping_querier_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2)) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierVlanTable.setStatus('current') hm2_agent_switch_snooping_querier_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1)).setIndexNames((0, 'Q-BRIDGE-MIB', 'dot1qVlanIndex'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchSnoopingProtocol')) if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierVlanEntry.setStatus('current') hm2_agent_switch_snooping_querier_vlan_admin_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 1), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierVlanAdminMode.setStatus('current') hm2_agent_switch_snooping_querier_vlan_oper_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disabled', 0), ('querier', 1), ('non-querier', 2))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierVlanOperMode.setStatus('current') hm2_agent_switch_snooping_querier_election_participate_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 3), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierElectionParticipateMode.setStatus('deprecated') hm2_agent_switch_snooping_querier_vlan_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 4), inet_address().clone(hexValue='00000000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierVlanAddress.setStatus('current') hm2_agent_switch_snooping_querier_oper_version = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierOperVersion.setStatus('current') hm2_agent_switch_snooping_querier_oper_max_response_time = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-1, -1), value_range_constraint(0, 2147483647)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierOperMaxResponseTime.setStatus('current') hm2_agent_switch_snooping_querier_last_querier_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 7), inet_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierLastQuerierAddress.setStatus('current') hm2_agent_switch_snooping_querier_last_querier_version = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 20, 2, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchSnoopingQuerierLastQuerierVersion.setStatus('current') hm2_agent_port_mirroring_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10)) hm2_agent_port_mirror_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4)) if mibBuilder.loadTexts: hm2AgentPortMirrorTable.setStatus('current') hm2_agent_port_mirror_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentPortMirrorSessionNum')) if mibBuilder.loadTexts: hm2AgentPortMirrorEntry.setStatus('current') hm2_agent_port_mirror_session_num = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 1), unsigned32()) if mibBuilder.loadTexts: hm2AgentPortMirrorSessionNum.setStatus('current') hm2_agent_port_mirror_destination_port = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 2), interface_index_or_zero()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMirrorDestinationPort.setStatus('current') hm2_agent_port_mirror_source_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 3), hm2_agent_port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMirrorSourcePortMask.setStatus('current') hm2_agent_port_mirror_admin_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMirrorAdminMode.setStatus('current') hm2_agent_port_mirror_source_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4042))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMirrorSourceVlan.setStatus('current') hm2_agent_port_mirror_remote_source_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 6), unsigned32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2, 4042)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMirrorRemoteSourceVlan.setStatus('current') hm2_agent_port_mirror_remote_destination_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 7), unsigned32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2, 4042)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMirrorRemoteDestinationVlan.setStatus('current') hm2_agent_port_mirror_reflector_port = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 8), interface_index_or_zero()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMirrorReflectorPort.setStatus('current') hm2_agent_port_mirror_allow_mgmt_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 9), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMirrorAllowMgmtMode.setStatus('current') hm2_agent_port_mirror_reset = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 4, 1, 248), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('other', 1), ('reset', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMirrorReset.setStatus('current') hm2_agent_port_mirror_type_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 5)) if mibBuilder.loadTexts: hm2AgentPortMirrorTypeTable.setStatus('current') hm2_agent_port_mirror_type_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 5, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentPortMirrorSessionNum'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentPortMirrorTypeSourcePort')) if mibBuilder.loadTexts: hm2AgentPortMirrorTypeEntry.setStatus('current') hm2_agent_port_mirror_type_source_port = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 5, 1, 1), unsigned32()) if mibBuilder.loadTexts: hm2AgentPortMirrorTypeSourcePort.setStatus('current') hm2_agent_port_mirror_type_type = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 5, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('none', 0), ('tx', 1), ('rx', 2), ('txrx', 3))).clone('none')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMirrorTypeType.setStatus('current') hm2_agent_port_mirror_remote_vlan = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 6), unsigned32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMirrorRemoteVlan.setStatus('current') hm2_agent_port_mirror_snmp_extension_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248)) hm2_agent_port_mirror_vlan_mirror_port_conflict = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 1)) if mibBuilder.loadTexts: hm2AgentPortMirrorVlanMirrorPortConflict.setStatus('current') hm2_agent_port_mirror_port_vlan_mirror_conflict = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 2)) if mibBuilder.loadTexts: hm2AgentPortMirrorPortVlanMirrorConflict.setStatus('current') hm2_agent_port_mirror_probe_port_already_set = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 3)) if mibBuilder.loadTexts: hm2AgentPortMirrorProbePortAlreadySet.setStatus('current') hm2_agent_port_mirror_probe_port_vlan_conflict = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 4)) if mibBuilder.loadTexts: hm2AgentPortMirrorProbePortVlanConflict.setStatus('current') hm2_agent_port_mirror_vlan_not_created = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 5)) if mibBuilder.loadTexts: hm2AgentPortMirrorVlanNotCreated.setStatus('current') hm2_agent_port_mirror_invalid_source_port = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 6)) if mibBuilder.loadTexts: hm2AgentPortMirrorInvalidSourcePort.setStatus('current') hm2_agent_port_mirror_source_port_destination_port_conflict = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 7)) if mibBuilder.loadTexts: hm2AgentPortMirrorSourcePortDestinationPortConflict.setStatus('current') hm2_agent_port_mirror_destination_port_invalid = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 8)) if mibBuilder.loadTexts: hm2AgentPortMirrorDestinationPortInvalid.setStatus('current') hm2_agent_port_mirror_vlan_rspan_vlan_conflict = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 9)) if mibBuilder.loadTexts: hm2AgentPortMirrorVlanRspanVlanConflict.setStatus('current') hm2_agent_port_mirror_remote_source_remote_destination_conflict = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 10)) if mibBuilder.loadTexts: hm2AgentPortMirrorRemoteSourceRemoteDestinationConflict.setStatus('current') hm2_agent_port_mirror_reflector_port_invalid = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 11)) if mibBuilder.loadTexts: hm2AgentPortMirrorReflectorPortInvalid.setStatus('current') hm2_agent_port_mirror_source_port_reflector_port_conflict = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 12)) if mibBuilder.loadTexts: hm2AgentPortMirrorSourcePortReflectorPortConflict.setStatus('current') hm2_agent_port_mirror_reflector_port_vlan_conflict = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 13)) if mibBuilder.loadTexts: hm2AgentPortMirrorReflectorPortVlanConflict.setStatus('current') hm2_agent_port_mirror_private_vlan_configured = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 14)) if mibBuilder.loadTexts: hm2AgentPortMirrorPrivateVlanConfigured.setStatus('current') hm2_agent_port_mirror_destination_remote_port_not_set = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 15)) if mibBuilder.loadTexts: hm2AgentPortMirrorDestinationRemotePortNotSet.setStatus('current') hm2_agent_port_mirror_rspan_vlan_inconsistent = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 16)) if mibBuilder.loadTexts: hm2AgentPortMirrorRspanVlanInconsistent.setStatus('current') hm2_agent_port_mirror_rspan_vlan_id_invalid = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 10, 248, 17)) if mibBuilder.loadTexts: hm2AgentPortMirrorRspanVlanIdInvalid.setStatus('current') hm2_agent_dot3ad_agg_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 12)) if mibBuilder.loadTexts: hm2AgentDot3adAggPortTable.setStatus('current') hm2_agent_dot3ad_agg_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 12, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentDot3adAggPort')) if mibBuilder.loadTexts: hm2AgentDot3adAggPortEntry.setStatus('current') hm2_agent_dot3ad_agg_port = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 12, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDot3adAggPort.setStatus('current') hm2_agent_dot3ad_agg_port_lacp_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 12, 1, 2), hm_enabled_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDot3adAggPortLACPMode.setStatus('current') hm2_agent_port_config_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13)) if mibBuilder.loadTexts: hm2AgentPortConfigTable.setStatus('current') hm2_agent_port_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentPortDot1dBasePort')) if mibBuilder.loadTexts: hm2AgentPortConfigEntry.setStatus('current') hm2_agent_port_dot1d_base_port = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentPortDot1dBasePort.setStatus('current') hm2_agent_port_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentPortIfIndex.setStatus('current') hm2_agent_port_clear_stats = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 10), hm_enabled_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortClearStats.setStatus('current') hm2_agent_port_dot3_flow_control_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('symmetric', 1), ('asymmetric', 2), ('disable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortDot3FlowControlMode.setStatus('current') hm2_agent_port_max_frame_size_limit = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 18), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentPortMaxFrameSizeLimit.setStatus('current') hm2_agent_port_max_frame_size = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 19), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMaxFrameSize.setStatus('current') hm2_agent_port_broadcast_control_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 20), hm_enabled_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortBroadcastControlMode.setStatus('current') hm2_agent_port_broadcast_control_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 14880000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortBroadcastControlThreshold.setStatus('current') hm2_agent_port_multicast_control_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 22), hm_enabled_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMulticastControlMode.setStatus('current') hm2_agent_port_multicast_control_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 23), integer32().subtype(subtypeSpec=value_range_constraint(0, 14880000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMulticastControlThreshold.setStatus('current') hm2_agent_port_unicast_control_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 24), hm_enabled_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortUnicastControlMode.setStatus('current') hm2_agent_port_unicast_control_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 25), integer32().subtype(subtypeSpec=value_range_constraint(0, 14880000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortUnicastControlThreshold.setStatus('current') hm2_agent_port_broadcast_control_threshold_unit = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('percent', 1), ('pps', 2))).clone('percent')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortBroadcastControlThresholdUnit.setStatus('current') hm2_agent_port_multicast_control_threshold_unit = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('percent', 1), ('pps', 2))).clone('percent')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortMulticastControlThresholdUnit.setStatus('current') hm2_agent_port_unicast_control_threshold_unit = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('percent', 1), ('pps', 2))).clone('percent')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortUnicastControlThresholdUnit.setStatus('current') hm2_agent_port_voice_vlan_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 29), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('none', 1), ('vlanid', 2), ('dot1p', 3), ('vlanidanddot1p', 4), ('untagged', 5), ('disable', 6)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortVoiceVlanMode.setStatus('current') hm2_agent_port_voice_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 30), integer32().subtype(subtypeSpec=value_range_constraint(0, 4093))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortVoiceVlanID.setStatus('current') hm2_agent_port_voice_vlan_priority = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 31), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortVoiceVlanPriority.setStatus('current') hm2_agent_port_voice_vlan_data_priority_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 32), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('trust', 1), ('untrust', 2))).clone('trust')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortVoiceVlanDataPriorityMode.setStatus('current') hm2_agent_port_voice_vlan_operational_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentPortVoiceVlanOperationalStatus.setStatus('current') hm2_agent_port_voice_vlan_untagged = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 34), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1))).clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortVoiceVlanUntagged.setStatus('current') hm2_agent_port_voice_vlan_none_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 35), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1))).clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortVoiceVlanNoneMode.setStatus('current') hm2_agent_port_voice_vlan_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 36), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortVoiceVlanDSCP.setStatus('current') hm2_agent_port_voice_vlan_auth_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 37), hm_enabled_status().clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortVoiceVlanAuthMode.setStatus('current') hm2_agent_port_dot3_flow_control_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 38), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('active', 1), ('inactive', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentPortDot3FlowControlOperStatus.setStatus('current') hm2_agent_port_sfp_link_loss_alert = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 13, 1, 248), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentPortSfpLinkLossAlert.setStatus('current') hm2_agent_protocol_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14)) hm2_agent_protocol_group_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 2)) if mibBuilder.loadTexts: hm2AgentProtocolGroupTable.setStatus('current') hm2_agent_protocol_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 2, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentProtocolGroupId')) if mibBuilder.loadTexts: hm2AgentProtocolGroupEntry.setStatus('current') hm2_agent_protocol_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))) if mibBuilder.loadTexts: hm2AgentProtocolGroupId.setStatus('current') hm2_agent_protocol_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 2, 1, 2), display_string().subtype(subtypeSpec=constraints_union(value_size_constraint(0, 0), value_size_constraint(1, 16)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentProtocolGroupName.setStatus('current') hm2_agent_protocol_group_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4093))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentProtocolGroupVlanId.setStatus('current') hm2_agent_protocol_group_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 2, 1, 7), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentProtocolGroupStatus.setStatus('current') hm2_agent_protocol_group_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 3)) if mibBuilder.loadTexts: hm2AgentProtocolGroupPortTable.setStatus('current') hm2_agent_protocol_group_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 3, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentProtocolGroupId'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentProtocolGroupPortIfIndex')) if mibBuilder.loadTexts: hm2AgentProtocolGroupPortEntry.setStatus('current') hm2_agent_protocol_group_port_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentProtocolGroupPortIfIndex.setStatus('current') hm2_agent_protocol_group_port_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 3, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentProtocolGroupPortStatus.setStatus('current') hm2_agent_protocol_group_protocol_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 4)) if mibBuilder.loadTexts: hm2AgentProtocolGroupProtocolTable.setStatus('current') hm2_agent_protocol_group_protocol_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 4, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentProtocolGroupId'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentProtocolGroupProtocolID')) if mibBuilder.loadTexts: hm2AgentProtocolGroupProtocolEntry.setStatus('current') hm2_agent_protocol_group_protocol_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1536, 65535))) if mibBuilder.loadTexts: hm2AgentProtocolGroupProtocolID.setStatus('current') hm2_agent_protocol_group_protocol_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 14, 4, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentProtocolGroupProtocolStatus.setStatus('current') hm2_agent_stp_switch_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15)) hm2_agent_stp_config_digest_key = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 1), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpConfigDigestKey.setStatus('current') hm2_agent_stp_config_format_selector = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpConfigFormatSelector.setStatus('current') hm2_agent_stp_config_name = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 3), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpConfigName.setStatus('current') hm2_agent_stp_config_revision = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpConfigRevision.setStatus('current') hm2_agent_stp_force_version = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('stp', 1), ('rstp', 2), ('mstp', 3))).clone('rstp')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpForceVersion.setStatus('current') hm2_agent_stp_admin_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 6), hm_enabled_status().clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpAdminMode.setStatus('current') hm2_agent_stp_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7)) if mibBuilder.loadTexts: hm2AgentStpPortTable.setStatus('current') hm2_agent_stp_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hm2AgentStpPortEntry.setStatus('current') hm2_agent_stp_port_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 1), hm_enabled_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpPortState.setStatus('current') hm2_agent_stp_port_stats_mstp_bpdu_rx = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpPortStatsMstpBpduRx.setStatus('current') hm2_agent_stp_port_stats_mstp_bpdu_tx = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpPortStatsMstpBpduTx.setStatus('current') hm2_agent_stp_port_stats_rstp_bpdu_rx = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpPortStatsRstpBpduRx.setStatus('current') hm2_agent_stp_port_stats_rstp_bpdu_tx = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpPortStatsRstpBpduTx.setStatus('current') hm2_agent_stp_port_stats_stp_bpdu_rx = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpPortStatsStpBpduRx.setStatus('current') hm2_agent_stp_port_stats_stp_bpdu_tx = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpPortStatsStpBpduTx.setStatus('current') hm2_agent_stp_port_up_time = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 8), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpPortUpTime.setStatus('current') hm2_agent_stp_port_migration_check = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 7, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpPortMigrationCheck.setStatus('current') hm2_agent_stp_cst_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8)) hm2_agent_stp_cst_hello_time = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 1), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstHelloTime.setStatus('current') hm2_agent_stp_cst_max_age = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 2), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstMaxAge.setStatus('current') hm2_agent_stp_cst_regional_root_id = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 3), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstRegionalRootId.setStatus('current') hm2_agent_stp_cst_regional_root_path_cost = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstRegionalRootPathCost.setStatus('current') hm2_agent_stp_cst_root_fwd_delay = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstRootFwdDelay.setStatus('current') hm2_agent_stp_cst_bridge_fwd_delay = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(4, 30)).clone(15)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstBridgeFwdDelay.setStatus('current') hm2_agent_stp_cst_bridge_hello_time = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 2)).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstBridgeHelloTime.setStatus('current') hm2_agent_stp_cst_bridge_hold_time = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 8), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstBridgeHoldTime.setStatus('current') hm2_agent_stp_cst_bridge_max_age = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 9), unsigned32().subtype(subtypeSpec=value_range_constraint(6, 40)).clone(20)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstBridgeMaxAge.setStatus('current') hm2_agent_stp_cst_bridge_max_hops = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 10), unsigned32().subtype(subtypeSpec=value_range_constraint(6, 40)).clone(20)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstBridgeMaxHops.setStatus('current') hm2_agent_stp_cst_bridge_priority = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 11), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 61440)).clone(32768)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstBridgePriority.setStatus('current') hm2_agent_stp_cst_bridge_hold_count = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 8, 12), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 40)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstBridgeHoldCount.setStatus('current') hm2_agent_stp_cst_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9)) if mibBuilder.loadTexts: hm2AgentStpCstPortTable.setStatus('current') hm2_agent_stp_cst_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hm2AgentStpCstPortEntry.setStatus('current') hm2_agent_stp_cst_port_oper_edge = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 1), hm_enabled_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstPortOperEdge.setStatus('current') hm2_agent_stp_cst_port_oper_point_to_point = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstPortOperPointToPoint.setStatus('current') hm2_agent_stp_cst_port_topology_change_ack = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstPortTopologyChangeAck.setStatus('current') hm2_agent_stp_cst_port_edge = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 4), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstPortEdge.setStatus('current') hm2_agent_stp_cst_port_forwarding_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('discarding', 1), ('learning', 2), ('forwarding', 3), ('disabled', 4), ('manualFwd', 5), ('notParticipate', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstPortForwardingState.setStatus('current') hm2_agent_stp_cst_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstPortId.setStatus('current') hm2_agent_stp_cst_port_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 200000000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstPortPathCost.setStatus('current') hm2_agent_stp_cst_port_priority = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 240)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstPortPriority.setStatus('current') hm2_agent_stp_cst_designated_bridge_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 9), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstDesignatedBridgeId.setStatus('current') hm2_agent_stp_cst_designated_cost = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 10), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstDesignatedCost.setStatus('current') hm2_agent_stp_cst_designated_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 11), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstDesignatedPortId.setStatus('current') hm2_agent_stp_cst_ext_port_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 12), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 200000000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstExtPortPathCost.setStatus('current') hm2_agent_stp_cst_port_bpdu_guard_effect = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 13), hm_enabled_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstPortBpduGuardEffect.setStatus('current') hm2_agent_stp_cst_port_bpdu_filter = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 14), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstPortBpduFilter.setStatus('current') hm2_agent_stp_cst_port_bpdu_flood = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 15), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstPortBpduFlood.setStatus('current') hm2_agent_stp_cst_port_auto_edge = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 16), hm_enabled_status().clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstPortAutoEdge.setStatus('current') hm2_agent_stp_cst_port_root_guard = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 17), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstPortRootGuard.setStatus('current') hm2_agent_stp_cst_port_tcn_guard = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 18), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstPortTCNGuard.setStatus('current') hm2_agent_stp_cst_port_loop_guard = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 9, 1, 19), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpCstPortLoopGuard.setStatus('current') hm2_agent_stp_mst_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10)) if mibBuilder.loadTexts: hm2AgentStpMstTable.setStatus('current') hm2_agent_stp_mst_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentStpMstId')) if mibBuilder.loadTexts: hm2AgentStpMstEntry.setStatus('current') hm2_agent_stp_mst_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 1), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstId.setStatus('current') hm2_agent_stp_mst_bridge_priority = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 61440)).clone(32768)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpMstBridgePriority.setStatus('current') hm2_agent_stp_mst_bridge_identifier = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstBridgeIdentifier.setStatus('current') hm2_agent_stp_mst_designated_root_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstDesignatedRootId.setStatus('current') hm2_agent_stp_mst_root_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstRootPathCost.setStatus('current') hm2_agent_stp_mst_root_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstRootPortId.setStatus('current') hm2_agent_stp_mst_time_since_topology_change = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 7), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstTimeSinceTopologyChange.setStatus('current') hm2_agent_stp_mst_topology_change_count = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstTopologyChangeCount.setStatus('current') hm2_agent_stp_mst_topology_change_parm = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstTopologyChangeParm.setStatus('current') hm2_agent_stp_mst_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 10, 1, 10), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentStpMstRowStatus.setStatus('current') hm2_agent_stp_mst_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11)) if mibBuilder.loadTexts: hm2AgentStpMstPortTable.setStatus('current') hm2_agent_stp_mst_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentStpMstId'), (0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hm2AgentStpMstPortEntry.setStatus('current') hm2_agent_stp_mst_port_forwarding_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('discarding', 1), ('learning', 2), ('forwarding', 3), ('disabled', 4), ('manualFwd', 5), ('notParticipate', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstPortForwardingState.setStatus('current') hm2_agent_stp_mst_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstPortId.setStatus('current') hm2_agent_stp_mst_port_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 200000000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpMstPortPathCost.setStatus('current') hm2_agent_stp_mst_port_priority = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 240)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpMstPortPriority.setStatus('current') hm2_agent_stp_mst_designated_bridge_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstDesignatedBridgeId.setStatus('current') hm2_agent_stp_mst_designated_cost = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 6), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstDesignatedCost.setStatus('current') hm2_agent_stp_mst_designated_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstDesignatedPortId.setStatus('current') hm2_agent_stp_mst_port_loop_inconsistent_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstPortLoopInconsistentState.setStatus('current') hm2_agent_stp_mst_port_transitions_into_loop_inconsistent_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstPortTransitionsIntoLoopInconsistentState.setStatus('current') hm2_agent_stp_mst_port_transitions_out_of_loop_inconsistent_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstPortTransitionsOutOfLoopInconsistentState.setStatus('current') hm2_agent_stp_mst_port_role = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 248), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('root', 1), ('alternate', 2), ('designated', 3), ('backup', 4), ('master', 5), ('disabled', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstPortRole.setStatus('current') hm2_agent_stp_cst_auto_port_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 249), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpCstAutoPortPathCost.setStatus('current') hm2_agent_stp_mst_port_received_bridge_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 250), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstPortReceivedBridgeId.setStatus('current') hm2_agent_stp_mst_port_received_rpc = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 251), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstPortReceivedRPC.setStatus('current') hm2_agent_stp_mst_port_received_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 252), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstPortReceivedPortId.setStatus('current') hm2_agent_stp_mst_auto_port_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 253), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstAutoPortPathCost.setStatus('current') hm2_agent_stp_mst_port_received_regional_rpc = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 11, 1, 254), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStpMstPortReceivedRegionalRPC.setStatus('current') hm2_agent_stp_mst_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 12)) if mibBuilder.loadTexts: hm2AgentStpMstVlanTable.setStatus('current') hm2_agent_stp_mst_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 12, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentStpMstId'), (0, 'Q-BRIDGE-MIB', 'dot1qVlanIndex')) if mibBuilder.loadTexts: hm2AgentStpMstVlanEntry.setStatus('current') hm2_agent_stp_mst_vlan_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 12, 1, 1), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentStpMstVlanRowStatus.setStatus('current') hm2_agent_stp_bpdu_guard_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 13), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpBpduGuardMode.setStatus('current') hm2_agent_stp_bpdu_filter_default = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 14), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpBpduFilterDefault.setStatus('current') hm2_agent_stp_ring_only_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 248), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpRingOnlyMode.setStatus('current') hm2_agent_stp_ring_only_mode_intf_one = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 249), interface_index_or_zero()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpRingOnlyModeIntfOne.setStatus('current') hm2_agent_stp_ring_only_mode_intf_two = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 250), interface_index_or_zero()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentStpRingOnlyModeIntfTwo.setStatus('current') hm2_agent_stp_mst_snmp_extension_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 260)) hm2_agent_stp_mst_instance_vlan_error_return = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 260, 1)) if mibBuilder.loadTexts: hm2AgentStpMstInstanceVlanErrorReturn.setStatus('current') hm2_agent_stp_cst_fwd_delay_error_return = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 260, 2)) if mibBuilder.loadTexts: hm2AgentStpCstFwdDelayErrorReturn.setStatus('current') hm2_agent_stp_mst_switch_version_conflict = object_identity((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 15, 260, 3)) if mibBuilder.loadTexts: hm2AgentStpMstSwitchVersionConflict.setStatus('current') hm2_agent_class_of_service_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 17)) hm2_agent_class_of_service_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 17, 1)) if mibBuilder.loadTexts: hm2AgentClassOfServicePortTable.setStatus('current') hm2_agent_class_of_service_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 17, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentClassOfServicePortPriority')) if mibBuilder.loadTexts: hm2AgentClassOfServicePortEntry.setStatus('current') hm2_agent_class_of_service_port_priority = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 17, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))) if mibBuilder.loadTexts: hm2AgentClassOfServicePortPriority.setStatus('current') hm2_agent_class_of_service_port_class = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 17, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentClassOfServicePortClass.setStatus('current') hm2_agent_system_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 3)) hm2_agent_clear_vlan = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 3, 9), hm_enabled_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentClearVlan.setStatus('current') hm2_agent_dai_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21)) hm2_agent_dai_src_mac_validate = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 1), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDaiSrcMacValidate.setStatus('current') hm2_agent_dai_dst_mac_validate = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 2), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDaiDstMacValidate.setStatus('current') hm2_agent_dai_ip_validate = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 3), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDaiIPValidate.setStatus('current') hm2_agent_dai_vlan_config_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4)) if mibBuilder.loadTexts: hm2AgentDaiVlanConfigTable.setStatus('current') hm2_agent_dai_vlan_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentDaiVlanIndex')) if mibBuilder.loadTexts: hm2AgentDaiVlanConfigEntry.setStatus('current') hm2_agent_dai_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4, 1, 1), vlan_index()) if mibBuilder.loadTexts: hm2AgentDaiVlanIndex.setStatus('current') hm2_agent_dai_vlan_dyn_arp_insp_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4, 1, 2), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDaiVlanDynArpInspEnable.setStatus('current') hm2_agent_dai_vlan_logging_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4, 1, 3), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDaiVlanLoggingEnable.setStatus('current') hm2_agent_dai_vlan_arp_acl_name = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 31))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDaiVlanArpAclName.setStatus('current') hm2_agent_dai_vlan_arp_acl_static_flag = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4, 1, 5), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDaiVlanArpAclStaticFlag.setStatus('current') hm2_agent_dai_vlan_binding_check_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 4, 1, 248), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDaiVlanBindingCheckEnable.setStatus('current') hm2_agent_dai_stats_reset = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('none', 0), ('reset', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDaiStatsReset.setStatus('current') hm2_agent_dai_vlan_stats_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6)) if mibBuilder.loadTexts: hm2AgentDaiVlanStatsTable.setStatus('current') hm2_agent_dai_vlan_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentDaiVlanStatsIndex')) if mibBuilder.loadTexts: hm2AgentDaiVlanStatsEntry.setStatus('current') hm2_agent_dai_vlan_stats_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 1), vlan_index()) if mibBuilder.loadTexts: hm2AgentDaiVlanStatsIndex.setStatus('current') hm2_agent_dai_vlan_pkts_forwarded = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDaiVlanPktsForwarded.setStatus('current') hm2_agent_dai_vlan_pkts_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDaiVlanPktsDropped.setStatus('current') hm2_agent_dai_vlan_dhcp_drops = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDaiVlanDhcpDrops.setStatus('current') hm2_agent_dai_vlan_dhcp_permits = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDaiVlanDhcpPermits.setStatus('current') hm2_agent_dai_vlan_acl_drops = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDaiVlanAclDrops.setStatus('current') hm2_agent_dai_vlan_acl_permits = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDaiVlanAclPermits.setStatus('current') hm2_agent_dai_vlan_src_mac_failures = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDaiVlanSrcMacFailures.setStatus('current') hm2_agent_dai_vlan_dst_mac_failures = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDaiVlanDstMacFailures.setStatus('current') hm2_agent_dai_vlan_ip_valid_failures = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 6, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDaiVlanIpValidFailures.setStatus('current') hm2_agent_dai_if_config_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 7)) if mibBuilder.loadTexts: hm2AgentDaiIfConfigTable.setStatus('current') hm2_agent_dai_if_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 7, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hm2AgentDaiIfConfigEntry.setStatus('current') hm2_agent_dai_if_trust_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 7, 1, 1), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDaiIfTrustEnable.setStatus('current') hm2_agent_dai_if_rate_limit = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 7, 1, 2), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-1, -1), value_range_constraint(0, 300))).clone(-1)).setUnits('packets per second').setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDaiIfRateLimit.setStatus('current') hm2_agent_dai_if_burst_interval = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 7, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDaiIfBurstInterval.setStatus('current') hm2_agent_dai_if_auto_disable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 21, 7, 1, 248), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDaiIfAutoDisable.setStatus('current') hm2_agent_arp_acl_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22)) hm2_agent_arp_acl_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 1)) if mibBuilder.loadTexts: hm2AgentArpAclTable.setStatus('current') hm2_agent_arp_acl_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 1, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentArpAclName')) if mibBuilder.loadTexts: hm2AgentArpAclEntry.setStatus('current') hm2_agent_arp_acl_name = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentArpAclName.setStatus('current') hm2_agent_arp_acl_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 1, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentArpAclRowStatus.setStatus('current') hm2_agent_arp_acl_rule_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 2)) if mibBuilder.loadTexts: hm2AgentArpAclRuleTable.setStatus('current') hm2_agent_arp_acl_rule_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 2, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentArpAclName'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentArpAclRuleMatchSenderIpAddr'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentArpAclRuleMatchSenderMacAddr')) if mibBuilder.loadTexts: hm2AgentArpAclRuleEntry.setStatus('current') hm2_agent_arp_acl_rule_match_sender_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 2, 1, 1), ip_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentArpAclRuleMatchSenderIpAddr.setStatus('current') hm2_agent_arp_acl_rule_match_sender_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 2, 1, 2), mac_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentArpAclRuleMatchSenderMacAddr.setStatus('current') hm2_agent_arp_acl_rule_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 22, 2, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentArpAclRuleRowStatus.setStatus('current') hm2_agent_dhcp_snooping_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23)) hm2_agent_dhcp_snooping_admin_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 1), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingAdminMode.setStatus('current') hm2_agent_dhcp_snooping_verify_mac = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 2), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingVerifyMac.setStatus('current') hm2_agent_dhcp_snooping_vlan_config_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 3)) if mibBuilder.loadTexts: hm2AgentDhcpSnoopingVlanConfigTable.setStatus('current') hm2_agent_dhcp_snooping_vlan_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 3, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentDhcpSnoopingVlanIndex')) if mibBuilder.loadTexts: hm2AgentDhcpSnoopingVlanConfigEntry.setStatus('current') hm2_agent_dhcp_snooping_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 3, 1, 1), vlan_index()) if mibBuilder.loadTexts: hm2AgentDhcpSnoopingVlanIndex.setStatus('current') hm2_agent_dhcp_snooping_vlan_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 3, 1, 2), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingVlanEnable.setStatus('current') hm2_agent_dhcp_snooping_if_config_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 4)) if mibBuilder.loadTexts: hm2AgentDhcpSnoopingIfConfigTable.setStatus('current') hm2_agent_dhcp_snooping_if_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 4, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hm2AgentDhcpSnoopingIfConfigEntry.setStatus('current') hm2_agent_dhcp_snooping_if_trust_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 4, 1, 1), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingIfTrustEnable.setStatus('current') hm2_agent_dhcp_snooping_if_log_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 4, 1, 2), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingIfLogEnable.setStatus('current') hm2_agent_dhcp_snooping_if_rate_limit = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 4, 1, 3), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(-1, -1), value_range_constraint(0, 150))).clone(-1)).setUnits('packets per second').setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingIfRateLimit.setStatus('current') hm2_agent_dhcp_snooping_if_burst_interval = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingIfBurstInterval.setStatus('current') hm2_agent_dhcp_snooping_if_auto_disable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 4, 1, 248), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingIfAutoDisable.setStatus('current') hm2_agent_ipsg_if_config_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 5)) if mibBuilder.loadTexts: hm2AgentIpsgIfConfigTable.setStatus('current') hm2_agent_ipsg_if_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 5, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hm2AgentIpsgIfConfigEntry.setStatus('current') hm2_agent_ipsg_if_verify_source = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 5, 1, 1), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentIpsgIfVerifySource.setStatus('current') hm2_agent_ipsg_if_port_security = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 5, 1, 2), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentIpsgIfPortSecurity.setStatus('current') hm2_agent_dhcp_snooping_stats_reset = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('none', 0), ('reset', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingStatsReset.setStatus('current') hm2_agent_dhcp_snooping_stats_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 7)) if mibBuilder.loadTexts: hm2AgentDhcpSnoopingStatsTable.setStatus('current') hm2_agent_dhcp_snooping_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 7, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hm2AgentDhcpSnoopingStatsEntry.setStatus('current') hm2_agent_dhcp_snooping_mac_verify_failures = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 7, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingMacVerifyFailures.setStatus('current') hm2_agent_dhcp_snooping_invalid_client_messages = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 7, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingInvalidClientMessages.setStatus('current') hm2_agent_dhcp_snooping_invalid_server_messages = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 7, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingInvalidServerMessages.setStatus('current') hm2_agent_static_ipsg_binding_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8)) if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingTable.setStatus('current') hm2_agent_static_ipsg_binding_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentStaticIpsgBindingIfIndex'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentStaticIpsgBindingVlanId'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentStaticIpsgBindingMacAddr'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentStaticIpsgBindingIpAddr')) if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingEntry.setStatus('current') hm2_agent_static_ipsg_binding_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8, 1, 1), interface_index()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingIfIndex.setStatus('current') hm2_agent_static_ipsg_binding_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8, 1, 2), vlan_index()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingVlanId.setStatus('current') hm2_agent_static_ipsg_binding_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8, 1, 3), mac_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingMacAddr.setStatus('current') hm2_agent_static_ipsg_binding_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8, 1, 4), ip_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingIpAddr.setStatus('current') hm2_agent_static_ipsg_binding_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8, 1, 5), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingRowStatus.setStatus('current') hm2_agent_static_ipsg_binding_hw_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 8, 1, 248), truth_value().clone('false')).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentStaticIpsgBindingHwStatus.setStatus('current') hm2_agent_dynamic_ipsg_binding_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 9)) if mibBuilder.loadTexts: hm2AgentDynamicIpsgBindingTable.setStatus('current') hm2_agent_dynamic_ipsg_binding_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 9, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentDynamicIpsgBindingIfIndex'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentDynamicIpsgBindingVlanId'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentDynamicIpsgBindingMacAddr'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentDynamicIpsgBindingIpAddr')) if mibBuilder.loadTexts: hm2AgentDynamicIpsgBindingEntry.setStatus('current') hm2_agent_dynamic_ipsg_binding_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 9, 1, 1), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDynamicIpsgBindingIfIndex.setStatus('current') hm2_agent_dynamic_ipsg_binding_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 9, 1, 2), vlan_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDynamicIpsgBindingVlanId.setStatus('current') hm2_agent_dynamic_ipsg_binding_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 9, 1, 3), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDynamicIpsgBindingMacAddr.setStatus('current') hm2_agent_dynamic_ipsg_binding_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 9, 1, 4), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDynamicIpsgBindingIpAddr.setStatus('current') hm2_agent_dynamic_ipsg_binding_hw_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 9, 1, 248), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDynamicIpsgBindingHwStatus.setStatus('current') hm2_agent_static_ds_binding_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 10)) if mibBuilder.loadTexts: hm2AgentStaticDsBindingTable.setStatus('current') hm2_agent_static_ds_binding_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 10, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentStaticDsBindingMacAddr')) if mibBuilder.loadTexts: hm2AgentStaticDsBindingEntry.setStatus('current') hm2_agent_static_ds_binding_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 10, 1, 1), interface_index_or_zero()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentStaticDsBindingIfIndex.setStatus('current') hm2_agent_static_ds_binding_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 10, 1, 2), vlan_id().clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentStaticDsBindingVlanId.setStatus('current') hm2_agent_static_ds_binding_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 10, 1, 3), mac_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentStaticDsBindingMacAddr.setStatus('current') hm2_agent_static_ds_binding_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 10, 1, 4), ip_address().clone(hexValue='00000000')).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentStaticDsBindingIpAddr.setStatus('current') hm2_agent_static_ds_binding_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 10, 1, 5), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hm2AgentStaticDsBindingRowStatus.setStatus('current') hm2_agent_dynamic_ds_binding_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 11)) if mibBuilder.loadTexts: hm2AgentDynamicDsBindingTable.setStatus('current') hm2_agent_dynamic_ds_binding_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 11, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentDynamicDsBindingMacAddr')) if mibBuilder.loadTexts: hm2AgentDynamicDsBindingEntry.setStatus('current') hm2_agent_dynamic_ds_binding_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 11, 1, 1), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDynamicDsBindingIfIndex.setStatus('current') hm2_agent_dynamic_ds_binding_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 11, 1, 2), vlan_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDynamicDsBindingVlanId.setStatus('current') hm2_agent_dynamic_ds_binding_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 11, 1, 3), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDynamicDsBindingMacAddr.setStatus('current') hm2_agent_dynamic_ds_binding_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 11, 1, 4), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDynamicDsBindingIpAddr.setStatus('current') hm2_agent_dynamic_ds_binding_lease_remaining_time = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 11, 1, 5), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDynamicDsBindingLeaseRemainingTime.setStatus('current') hm2_agent_dhcp_snooping_remote_file_name = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 12), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingRemoteFileName.setStatus('current') hm2_agent_dhcp_snooping_remote_ip_addr = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 13), ip_address().clone(hexValue='00000000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingRemoteIpAddr.setStatus('current') hm2_agent_dhcp_snooping_store_interval = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 23, 14), unsigned32().subtype(subtypeSpec=value_range_constraint(15, 86400)).clone(300)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpSnoopingStoreInterval.setStatus('current') hm2_agent_dhcp_l2_relay_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24)) hm2_agent_dhcp_l2_relay_admin_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 1), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpL2RelayAdminMode.setStatus('current') hm2_agent_dhcp_l2_relay_if_config_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 2)) if mibBuilder.loadTexts: hm2AgentDhcpL2RelayIfConfigTable.setStatus('current') hm2_agent_dhcp_l2_relay_if_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hm2AgentDhcpL2RelayIfConfigEntry.setStatus('current') hm2_agent_dhcp_l2_relay_if_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 2, 1, 1), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpL2RelayIfEnable.setStatus('current') hm2_agent_dhcp_l2_relay_if_trust_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 2, 1, 2), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpL2RelayIfTrustEnable.setStatus('current') hm2_agent_dhcp_l2_relay_vlan_config_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 3)) if mibBuilder.loadTexts: hm2AgentDhcpL2RelayVlanConfigTable.setStatus('current') hm2_agent_dhcp_l2_relay_vlan_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 3, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentDhcpL2RelayVlanIndex')) if mibBuilder.loadTexts: hm2AgentDhcpL2RelayVlanConfigEntry.setStatus('current') hm2_agent_dhcp_l2_relay_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 3, 1, 1), vlan_index()) if mibBuilder.loadTexts: hm2AgentDhcpL2RelayVlanIndex.setStatus('current') hm2_agent_dhcp_l2_relay_vlan_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 3, 1, 2), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpL2RelayVlanEnable.setStatus('current') hm2_agent_dhcp_l2_relay_circuit_id_vlan_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 3, 1, 3), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpL2RelayCircuitIdVlanEnable.setStatus('current') hm2_agent_dhcp_l2_relay_remote_id_vlan_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 3, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpL2RelayRemoteIdVlanEnable.setStatus('current') hm2_agent_dhcp_l2_relay_vlan_remote_id_type = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 3, 1, 248), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('ip', 1), ('mac', 2), ('client-id', 3), ('other', 4))).clone('mac')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpL2RelayVlanRemoteIdType.setStatus('current') hm2_agent_dhcp_l2_relay_stats_reset = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('none', 0), ('reset', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentDhcpL2RelayStatsReset.setStatus('current') hm2_agent_dhcp_l2_relay_stats_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 7)) if mibBuilder.loadTexts: hm2AgentDhcpL2RelayStatsTable.setStatus('current') hm2_agent_dhcp_l2_relay_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 7, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hm2AgentDhcpL2RelayStatsEntry.setStatus('current') hm2_agent_dhcp_l2_relay_untrusted_srvr_msgs_with_optn82 = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 7, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDhcpL2RelayUntrustedSrvrMsgsWithOptn82.setStatus('current') hm2_agent_dhcp_l2_relay_untrusted_clnt_msgs_with_optn82 = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 7, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDhcpL2RelayUntrustedClntMsgsWithOptn82.setStatus('current') hm2_agent_dhcp_l2_relay_trusted_srvr_msgs_without_optn82 = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 7, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDhcpL2RelayTrustedSrvrMsgsWithoutOptn82.setStatus('current') hm2_agent_dhcp_l2_relay_trusted_clnt_msgs_without_optn82 = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 24, 7, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentDhcpL2RelayTrustedClntMsgsWithoutOptn82.setStatus('current') hm2_agent_switch_voice_vlan_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 25)) hm2_agent_switch_voice_vlan_admin_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 25, 1), hm_enabled_status().clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSwitchVoiceVLANAdminMode.setStatus('current') hm2_agent_switch_voice_vlan_device_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 25, 2)) if mibBuilder.loadTexts: hm2AgentSwitchVoiceVlanDeviceTable.setStatus('current') hm2_agent_switch_voice_vlan_device_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 25, 2, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchVoiceVlanInterfaceNum'), (0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSwitchVoiceVlanDeviceMacAddress')) if mibBuilder.loadTexts: hm2AgentSwitchVoiceVlanDeviceEntry.setStatus('current') hm2_agent_switch_voice_vlan_interface_num = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 25, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchVoiceVlanInterfaceNum.setStatus('current') hm2_agent_switch_voice_vlan_device_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 25, 2, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSwitchVoiceVlanDeviceMacAddress.setStatus('current') hm2_agent_sdm_prefer_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 27)) hm2_agent_sdm_prefer_current_template = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 27, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(2, 3, 10, 11))).clone(namedValues=named_values(('ipv4RoutingDefault', 2), ('ipv4DataCenter', 3), ('ipv4RoutingUnicast', 10), ('ipv4RoutingMulticast', 11)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentSdmPreferCurrentTemplate.setStatus('current') hm2_agent_sdm_prefer_next_template = mib_scalar((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 27, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 2, 3, 10, 11))).clone(namedValues=named_values(('default', 0), ('ipv4RoutingDefault', 2), ('ipv4DataCenter', 3), ('ipv4RoutingUnicast', 10), ('ipv4RoutingMulticast', 11)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hm2AgentSdmPreferNextTemplate.setStatus('current') hm2_agent_sdm_template_summary_table = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28)) hm2_agent_sdm_template_table = mib_table((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1)) if mibBuilder.loadTexts: hm2AgentSdmTemplateTable.setStatus('current') hm2_agent_sdm_template_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1)).setIndexNames((0, 'HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentSdmTemplateId')) if mibBuilder.loadTexts: hm2AgentSdmTemplateEntry.setStatus('current') hm2_agent_sdm_template_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(2, 3, 10, 11))).clone(namedValues=named_values(('ipv4RoutingDefault', 2), ('ipv4DataCenter', 3), ('ipv4RoutingUnicast', 10), ('ipv4RoutingMulticast', 11)))) if mibBuilder.loadTexts: hm2AgentSdmTemplateId.setStatus('current') hm2_agent_arp_entries = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentArpEntries.setStatus('current') hm2_agent_i_pv4_unicast_routes = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentIPv4UnicastRoutes.setStatus('current') hm2_agent_i_pv6_ndp_entries = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentIPv6NdpEntries.setStatus('current') hm2_agent_i_pv6_unicast_routes = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentIPv6UnicastRoutes.setStatus('current') hm2_agent_ecmp_next_hops = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentEcmpNextHops.setStatus('current') hm2_agent_i_pv4_multicast_routes = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentIPv4MulticastRoutes.setStatus('current') hm2_agent_i_pv6_multicast_routes = mib_table_column((1, 3, 6, 1, 4, 1, 248, 12, 1, 2, 8, 28, 1, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hm2AgentIPv6MulticastRoutes.setStatus('current') hm2_platform_switching_traps = mib_identifier((1, 3, 6, 1, 4, 1, 248, 12, 1, 0)) hm2_platform_stp_instance_new_root_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 12, 1, 0, 10)).setObjects(('HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentStpMstId')) if mibBuilder.loadTexts: hm2PlatformStpInstanceNewRootTrap.setStatus('current') hm2_platform_stp_instance_topology_change_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 12, 1, 0, 11)).setObjects(('HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentStpMstId')) if mibBuilder.loadTexts: hm2PlatformStpInstanceTopologyChangeTrap.setStatus('current') hm2_platform_dai_intf_error_disabled_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 12, 1, 0, 15)).setObjects(('IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hm2PlatformDaiIntfErrorDisabledTrap.setStatus('current') hm2_platform_stp_instance_loop_inconsistent_start_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 12, 1, 0, 16)).setObjects(('HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentStpMstId'), ('IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hm2PlatformStpInstanceLoopInconsistentStartTrap.setStatus('current') hm2_platform_stp_instance_loop_inconsistent_end_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 12, 1, 0, 17)).setObjects(('HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentStpMstId'), ('IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hm2PlatformStpInstanceLoopInconsistentEndTrap.setStatus('current') hm2_platform_dhcp_snooping_intf_error_disabled_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 12, 1, 0, 18)).setObjects(('IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hm2PlatformDhcpSnoopingIntfErrorDisabledTrap.setStatus('current') hm2_platform_stp_cst_bpdu_guard_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 12, 1, 0, 248)).setObjects(('IF-MIB', 'ifIndex'), ('HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentStpCstPortEdge'), ('HM2-PLATFORM-SWITCHING-MIB', 'hm2AgentStpCstPortBpduGuardEffect')) if mibBuilder.loadTexts: hm2PlatformStpCstBpduGuardTrap.setStatus('current') mibBuilder.exportSymbols('HM2-PLATFORM-SWITCHING-MIB', hm2AgentStpSwitchConfigGroup=hm2AgentStpSwitchConfigGroup, Hm2AgentPortMask=Hm2AgentPortMask, hm2AgentProtocolGroupPortIfIndex=hm2AgentProtocolGroupPortIfIndex, hm2AgentSwitchProtectedPortGroupName=hm2AgentSwitchProtectedPortGroupName, hm2AgentSdmPreferConfigGroup=hm2AgentSdmPreferConfigGroup, hm2AgentDhcpL2RelayVlanRemoteIdType=hm2AgentDhcpL2RelayVlanRemoteIdType, hm2AgentSwitchSnoopingQuerierCfgTable=hm2AgentSwitchSnoopingQuerierCfgTable, hm2AgentStpMstTopologyChangeCount=hm2AgentStpMstTopologyChangeCount, hm2AgentDhcpL2RelayCircuitIdVlanEnable=hm2AgentDhcpL2RelayCircuitIdVlanEnable, hm2AgentSwitchMFDBType=hm2AgentSwitchMFDBType, hm2AgentSwitchProtectedPortPortList=hm2AgentSwitchProtectedPortPortList, hm2AgentDhcpSnoopingInvalidClientMessages=hm2AgentDhcpSnoopingInvalidClientMessages, hm2AgentClassOfServiceGroup=hm2AgentClassOfServiceGroup, hm2AgentProtocolGroupProtocolStatus=hm2AgentProtocolGroupProtocolStatus, hm2AgentPortMirrorRspanVlanIdInvalid=hm2AgentPortMirrorRspanVlanIdInvalid, hm2AgentIpsgIfPortSecurity=hm2AgentIpsgIfPortSecurity, hm2AgentSwitchSnoopingCfgEntry=hm2AgentSwitchSnoopingCfgEntry, hm2AgentDhcpSnoopingStatsReset=hm2AgentDhcpSnoopingStatsReset, hm2AgentSwitchStaticMacFilteringSourcePortMask=hm2AgentSwitchStaticMacFilteringSourcePortMask, hm2AgentStpPortStatsMstpBpduRx=hm2AgentStpPortStatsMstpBpduRx, hm2AgentDynamicDsBindingTable=hm2AgentDynamicDsBindingTable, hm2AgentSwitchMFDBGroup=hm2AgentSwitchMFDBGroup, hm2AgentDhcpL2RelayIfConfigTable=hm2AgentDhcpL2RelayIfConfigTable, hm2AgentSwitchMFDBFilteringPortMask=hm2AgentSwitchMFDBFilteringPortMask, hm2AgentDhcpL2RelayStatsEntry=hm2AgentDhcpL2RelayStatsEntry, hm2AgentStaticIpsgBindingIpAddr=hm2AgentStaticIpsgBindingIpAddr, hm2AgentStpMstTimeSinceTopologyChange=hm2AgentStpMstTimeSinceTopologyChange, hm2PlatformStpCstBpduGuardTrap=hm2PlatformStpCstBpduGuardTrap, hm2AgentDhcpSnoopingVlanIndex=hm2AgentDhcpSnoopingVlanIndex, hm2AgentPortMirrorTypeSourcePort=hm2AgentPortMirrorTypeSourcePort, hm2AgentProtocolGroupStatus=hm2AgentProtocolGroupStatus, hm2AgentPortMirrorInvalidSourcePort=hm2AgentPortMirrorInvalidSourcePort, hm2AgentSwitchMFDBCurrentEntries=hm2AgentSwitchMFDBCurrentEntries, hm2AgentDhcpL2RelayStatsReset=hm2AgentDhcpL2RelayStatsReset, hm2AgentLagSummaryAdminMode=hm2AgentLagSummaryAdminMode, hm2AgentStpCstPortForwardingState=hm2AgentStpCstPortForwardingState, hm2AgentPortMirrorProbePortAlreadySet=hm2AgentPortMirrorProbePortAlreadySet, hm2AgentClassOfServicePortTable=hm2AgentClassOfServicePortTable, hm2AgentStaticIpsgBindingVlanId=hm2AgentStaticIpsgBindingVlanId, hm2AgentArpAclRuleTable=hm2AgentArpAclRuleTable, hm2AgentArpEntries=hm2AgentArpEntries, hm2AgentLagConfigGroup=hm2AgentLagConfigGroup, hm2AgentStpConfigName=hm2AgentStpConfigName, hm2AgentStpRingOnlyModeIntfTwo=hm2AgentStpRingOnlyModeIntfTwo, hm2AgentStpMstPortReceivedRPC=hm2AgentStpMstPortReceivedRPC, hm2AgentDhcpSnoopingIfConfigEntry=hm2AgentDhcpSnoopingIfConfigEntry, hm2AgentDhcpL2RelayIfConfigEntry=hm2AgentDhcpL2RelayIfConfigEntry, hm2AgentLagSummaryDeletePort=hm2AgentLagSummaryDeletePort, hm2AgentSwitchVlanSubnetAssociationGroup=hm2AgentSwitchVlanSubnetAssociationGroup, hm2AgentStpMstSNMPExtensionGroup=hm2AgentStpMstSNMPExtensionGroup, hm2AgentStpCstBridgeHoldCount=hm2AgentStpCstBridgeHoldCount, hm2AgentPortMulticastControlThreshold=hm2AgentPortMulticastControlThreshold, hm2AgentDhcpSnoopingConfigGroup=hm2AgentDhcpSnoopingConfigGroup, hm2AgentSwitchProtectedPortEntry=hm2AgentSwitchProtectedPortEntry, hm2AgentSwitchStaticMacEntries=hm2AgentSwitchStaticMacEntries, hm2AgentDynamicDsBindingIfIndex=hm2AgentDynamicDsBindingIfIndex, hm2AgentStpCstPortEntry=hm2AgentStpCstPortEntry, hm2AgentLagSummaryStatus=hm2AgentLagSummaryStatus, hm2AgentSwitchProtectedPortGroupId=hm2AgentSwitchProtectedPortGroupId, hm2AgentLagSummaryConfigEntry=hm2AgentLagSummaryConfigEntry, hm2AgentSwitchVlanSubnetAssociationVlanId=hm2AgentSwitchVlanSubnetAssociationVlanId, hm2AgentStaticIpsgBindingEntry=hm2AgentStaticIpsgBindingEntry, hm2AgentArpAclGroup=hm2AgentArpAclGroup, hm2AgentDhcpSnoopingStoreInterval=hm2AgentDhcpSnoopingStoreInterval, hm2AgentSwitchSnoopingVlanMRPExpirationTime=hm2AgentSwitchSnoopingVlanMRPExpirationTime, hm2AgentSwitchMFDBSummaryTable=hm2AgentSwitchMFDBSummaryTable, hm2AgentStpCstPortBpduFilter=hm2AgentStpCstPortBpduFilter, hm2AgentPortMaxFrameSize=hm2AgentPortMaxFrameSize, hm2AgentSwitchStaticMacFilteringDestPortMask=hm2AgentSwitchStaticMacFilteringDestPortMask, hm2AgentDaiIfTrustEnable=hm2AgentDaiIfTrustEnable, hm2AgentLagDetailedConfigTable=hm2AgentLagDetailedConfigTable, hm2AgentSwitchAddressAgingTimeoutEntry=hm2AgentSwitchAddressAgingTimeoutEntry, hm2AgentStpMstPortReceivedBridgeId=hm2AgentStpMstPortReceivedBridgeId, hm2AgentDhcpL2RelayIfEnable=hm2AgentDhcpL2RelayIfEnable, hm2AgentDhcpL2RelayVlanIndex=hm2AgentDhcpL2RelayVlanIndex, hm2AgentSwitchSnoopingIntfMaxResponseTime=hm2AgentSwitchSnoopingIntfMaxResponseTime, hm2AgentSwitchProtectedPortConfigGroup=hm2AgentSwitchProtectedPortConfigGroup, hm2AgentDynamicIpsgBindingIpAddr=hm2AgentDynamicIpsgBindingIpAddr, hm2AgentStpMstPortPathCost=hm2AgentStpMstPortPathCost, hm2AgentSwitchSnoopingGroup=hm2AgentSwitchSnoopingGroup, hm2AgentStpConfigFormatSelector=hm2AgentStpConfigFormatSelector, hm2AgentStpCstBridgeMaxAge=hm2AgentStpCstBridgeMaxAge, hm2AgentDaiSrcMacValidate=hm2AgentDaiSrcMacValidate, hm2AgentSwitchSnoopingVlanTable=hm2AgentSwitchSnoopingVlanTable, hm2AgentSwitchGARPGroup=hm2AgentSwitchGARPGroup, hm2AgentArpAclRuleRowStatus=hm2AgentArpAclRuleRowStatus, hm2AgentDaiIfAutoDisable=hm2AgentDaiIfAutoDisable, hm2AgentStpMstPortTable=hm2AgentStpMstPortTable, hm2AgentLagDetailedLagIndex=hm2AgentLagDetailedLagIndex, hm2AgentSwitchMFDBProtocolType=hm2AgentSwitchMFDBProtocolType, hm2AgentLagDetailedPortSpeed=hm2AgentLagDetailedPortSpeed, hm2AgentStpCstPortTable=hm2AgentStpCstPortTable, hm2AgentStaticIpsgBindingIfIndex=hm2AgentStaticIpsgBindingIfIndex, hm2AgentSwitchSnoopingVlanEntry=hm2AgentSwitchSnoopingVlanEntry, hm2AgentSwitchStaticMacFilteringAddress=hm2AgentSwitchStaticMacFilteringAddress, hm2AgentStpForceVersion=hm2AgentStpForceVersion, hm2AgentDynamicIpsgBindingTable=hm2AgentDynamicIpsgBindingTable, hm2AgentClassOfServicePortEntry=hm2AgentClassOfServicePortEntry, hm2AgentDynamicIpsgBindingHwStatus=hm2AgentDynamicIpsgBindingHwStatus, hm2AgentPortVoiceVlanNoneMode=hm2AgentPortVoiceVlanNoneMode, hm2AgentPortMulticastControlMode=hm2AgentPortMulticastControlMode, hm2AgentStpCstAutoPortPathCost=hm2AgentStpCstAutoPortPathCost, hm2AgentPortMirrorTypeTable=hm2AgentPortMirrorTypeTable, hm2AgentDhcpSnoopingIfLogEnable=hm2AgentDhcpSnoopingIfLogEnable, hm2AgentStpPortStatsRstpBpduTx=hm2AgentStpPortStatsRstpBpduTx, hm2AgentDhcpSnoopingMacVerifyFailures=hm2AgentDhcpSnoopingMacVerifyFailures, Ipv6AddressPrefix=Ipv6AddressPrefix, hm2AgentSwitchSnoopingQuerierVlanEntry=hm2AgentSwitchSnoopingQuerierVlanEntry, hm2AgentProtocolConfigGroup=hm2AgentProtocolConfigGroup, hm2AgentStpMstRootPathCost=hm2AgentStpMstRootPathCost, hm2AgentSwitchVlanSubnetAssociationTable=hm2AgentSwitchVlanSubnetAssociationTable, hm2AgentStpCstRegionalRootId=hm2AgentStpCstRegionalRootId, hm2AgentSwitchSnoopingQuerierElectionParticipateMode=hm2AgentSwitchSnoopingQuerierElectionParticipateMode, hm2AgentStpCstBridgeFwdDelay=hm2AgentStpCstBridgeFwdDelay, hm2AgentPortMirrorReflectorPortInvalid=hm2AgentPortMirrorReflectorPortInvalid, hm2AgentPortMirrorSourcePortDestinationPortConflict=hm2AgentPortMirrorSourcePortDestinationPortConflict, hm2AgentPortDot3FlowControlMode=hm2AgentPortDot3FlowControlMode, hm2AgentStpMstDesignatedPortId=hm2AgentStpMstDesignatedPortId, hm2AgentProtocolGroupPortStatus=hm2AgentProtocolGroupPortStatus, hm2AgentProtocolGroupProtocolID=hm2AgentProtocolGroupProtocolID, hm2AgentSwitchVoiceVlanDeviceTable=hm2AgentSwitchVoiceVlanDeviceTable, hm2AgentDaiVlanLoggingEnable=hm2AgentDaiVlanLoggingEnable, hm2AgentSwitchSnoopingQuerierOperVersion=hm2AgentSwitchSnoopingQuerierOperVersion, hm2AgentDaiVlanSrcMacFailures=hm2AgentDaiVlanSrcMacFailures, hm2AgentPortIfIndex=hm2AgentPortIfIndex, hm2AgentStpMstPortLoopInconsistentState=hm2AgentStpMstPortLoopInconsistentState, hm2AgentSwitchMFDBMacAddress=hm2AgentSwitchMFDBMacAddress, hm2AgentSwitchSnoopingIntfIndex=hm2AgentSwitchSnoopingIntfIndex, hm2AgentDynamicDsBindingIpAddr=hm2AgentDynamicDsBindingIpAddr, hm2AgentPortVoiceVlanPriority=hm2AgentPortVoiceVlanPriority, hm2AgentPortConfigTable=hm2AgentPortConfigTable, hm2AgentSwitchStaticMacFilteringTable=hm2AgentSwitchStaticMacFilteringTable, hm2AgentSystemGroup=hm2AgentSystemGroup, hm2AgentSwitchSnoopingQuerierVlanOperMode=hm2AgentSwitchSnoopingQuerierVlanOperMode, hm2AgentSdmPreferNextTemplate=hm2AgentSdmPreferNextTemplate, hm2AgentSwitchSnoopingIntfVlanIDs=hm2AgentSwitchSnoopingIntfVlanIDs, hm2AgentSwitchSnoopingIntfTable=hm2AgentSwitchSnoopingIntfTable, hm2AgentDhcpL2RelayStatsTable=hm2AgentDhcpL2RelayStatsTable, hm2AgentStpMstId=hm2AgentStpMstId, hm2AgentStpCstPortLoopGuard=hm2AgentStpCstPortLoopGuard, hm2AgentProtocolGroupEntry=hm2AgentProtocolGroupEntry, hm2AgentPortMirrorSourcePortMask=hm2AgentPortMirrorSourcePortMask, hm2AgentDhcpSnoopingRemoteIpAddr=hm2AgentDhcpSnoopingRemoteIpAddr, hm2AgentDhcpSnoopingIfAutoDisable=hm2AgentDhcpSnoopingIfAutoDisable, hm2AgentStpMstRootPortId=hm2AgentStpMstRootPortId, hm2AgentStpMstPortPriority=hm2AgentStpMstPortPriority, hm2AgentPortMirrorPortVlanMirrorConflict=hm2AgentPortMirrorPortVlanMirrorConflict, hm2AgentPortVoiceVlanAuthMode=hm2AgentPortVoiceVlanAuthMode, hm2AgentSwitchVlanMacAssociationRowStatus=hm2AgentSwitchVlanMacAssociationRowStatus, hm2AgentDaiVlanPktsForwarded=hm2AgentDaiVlanPktsForwarded, hm2AgentSwitchSnoopingQuerierCfgEntry=hm2AgentSwitchSnoopingQuerierCfgEntry, hm2AgentSwitchSnoopingVlanAdminMode=hm2AgentSwitchSnoopingVlanAdminMode, hm2AgentStpCstPortTopologyChangeAck=hm2AgentStpCstPortTopologyChangeAck, hm2AgentPortMirrorReset=hm2AgentPortMirrorReset, hm2PlatformDaiIntfErrorDisabledTrap=hm2PlatformDaiIntfErrorDisabledTrap, hm2PlatformSwitchingTraps=hm2PlatformSwitchingTraps, hm2AgentArpAclRuleMatchSenderIpAddr=hm2AgentArpAclRuleMatchSenderIpAddr, hm2AgentPortMaxFrameSizeLimit=hm2AgentPortMaxFrameSizeLimit, hm2AgentStpMstPortId=hm2AgentStpMstPortId, hm2AgentStpCstDesignatedBridgeId=hm2AgentStpCstDesignatedBridgeId, hm2AgentDot3adAggPortEntry=hm2AgentDot3adAggPortEntry, hm2AgentSwitchSnoopingQuerierQueryInterval=hm2AgentSwitchSnoopingQuerierQueryInterval, hm2AgentStpCstPortId=hm2AgentStpCstPortId, hm2AgentPortMirrorAdminMode=hm2AgentPortMirrorAdminMode, hm2AgentSwitchSnoopingQuerierVlanAdminMode=hm2AgentSwitchSnoopingQuerierVlanAdminMode, hm2AgentArpAclRowStatus=hm2AgentArpAclRowStatus, hm2AgentSwitchGmrpPortPktRx=hm2AgentSwitchGmrpPortPktRx, hm2AgentStpMstAutoPortPathCost=hm2AgentStpMstAutoPortPathCost, hm2AgentPortVoiceVlanDSCP=hm2AgentPortVoiceVlanDSCP, hm2AgentStpPortMigrationCheck=hm2AgentStpPortMigrationCheck, hm2AgentDaiVlanDynArpInspEnable=hm2AgentDaiVlanDynArpInspEnable, hm2AgentSwitchVoiceVLANAdminMode=hm2AgentSwitchVoiceVLANAdminMode, hm2AgentStpCstBridgeHoldTime=hm2AgentStpCstBridgeHoldTime, hm2AgentStpConfigDigestKey=hm2AgentStpConfigDigestKey, hm2AgentSwitchGmrpUnknownMulticastFilterMode=hm2AgentSwitchGmrpUnknownMulticastFilterMode, Ipv6IfIndexOrZero=Ipv6IfIndexOrZero, hm2AgentDhcpL2RelayTrustedClntMsgsWithoutOptn82=hm2AgentDhcpL2RelayTrustedClntMsgsWithoutOptn82, hm2AgentSwitchSnoopingAdminMode=hm2AgentSwitchSnoopingAdminMode, hm2AgentSwitchVlanSubnetAssociationIPAddress=hm2AgentSwitchVlanSubnetAssociationIPAddress, hm2AgentPortSfpLinkLossAlert=hm2AgentPortSfpLinkLossAlert, hm2AgentStpConfigRevision=hm2AgentStpConfigRevision, hm2AgentStpMstTopologyChangeParm=hm2AgentStpMstTopologyChangeParm, hm2AgentPortVoiceVlanOperationalStatus=hm2AgentPortVoiceVlanOperationalStatus, hm2AgentDaiVlanDhcpDrops=hm2AgentDaiVlanDhcpDrops, hm2AgentSwitchSnoopingQuerierVlanAddress=hm2AgentSwitchSnoopingQuerierVlanAddress, hm2PlatformDhcpSnoopingIntfErrorDisabledTrap=hm2PlatformDhcpSnoopingIntfErrorDisabledTrap, hm2AgentPortVoiceVlanDataPriorityMode=hm2AgentPortVoiceVlanDataPriorityMode, hm2AgentStpMstPortRole=hm2AgentStpMstPortRole, hm2AgentSwitchVlanMacAssociationGroup=hm2AgentSwitchVlanMacAssociationGroup, hm2AgentSwitchAddressAgingTimeout=hm2AgentSwitchAddressAgingTimeout, hm2AgentDaiVlanArpAclStaticFlag=hm2AgentDaiVlanArpAclStaticFlag, hm2AgentDhcpSnoopingStatsEntry=hm2AgentDhcpSnoopingStatsEntry, hm2AgentStpPortState=hm2AgentStpPortState, hm2AgentPortMirrorSessionNum=hm2AgentPortMirrorSessionNum, hm2AgentDhcpL2RelayConfigGroup=hm2AgentDhcpL2RelayConfigGroup, hm2AgentSwitchSnoopingQuerierGroup=hm2AgentSwitchSnoopingQuerierGroup, hm2AgentSwitchMFDBTable=hm2AgentSwitchMFDBTable, hm2AgentPortMirrorDestinationPort=hm2AgentPortMirrorDestinationPort, hm2AgentDaiVlanPktsDropped=hm2AgentDaiVlanPktsDropped, hm2AgentPortMirrorSourcePortReflectorPortConflict=hm2AgentPortMirrorSourcePortReflectorPortConflict, hm2AgentDynamicIpsgBindingMacAddr=hm2AgentDynamicIpsgBindingMacAddr, hm2AgentSwitchVlanStaticMrouterTable=hm2AgentSwitchVlanStaticMrouterTable, hm2AgentStpMstPortEntry=hm2AgentStpMstPortEntry, hm2AgentSwitchMFDBSummaryVlanId=hm2AgentSwitchMFDBSummaryVlanId, hm2AgentDaiVlanAclDrops=hm2AgentDaiVlanAclDrops, hm2AgentStpMstPortReceivedPortId=hm2AgentStpMstPortReceivedPortId, hm2AgentPortBroadcastControlThresholdUnit=hm2AgentPortBroadcastControlThresholdUnit, hm2AgentSwitchVlanStaticMrouterAdminMode=hm2AgentSwitchVlanStaticMrouterAdminMode, hm2AgentStaticDsBindingEntry=hm2AgentStaticDsBindingEntry, hm2AgentLagDetailedIfIndex=hm2AgentLagDetailedIfIndex, hm2AgentArpAclRuleEntry=hm2AgentArpAclRuleEntry, hm2AgentSwitchSnoopingCfgTable=hm2AgentSwitchSnoopingCfgTable, hm2AgentSwitchSnoopingQuerierLastQuerierAddress=hm2AgentSwitchSnoopingQuerierLastQuerierAddress, LagList=LagList, hm2AgentSwitchMFDBEntry=hm2AgentSwitchMFDBEntry, hm2AgentIPv6NdpEntries=hm2AgentIPv6NdpEntries, hm2AgentStpCstPortOperPointToPoint=hm2AgentStpCstPortOperPointToPoint, hm2AgentStpMstRowStatus=hm2AgentStpMstRowStatus, Ipv6Address=Ipv6Address, hm2AgentStaticIpsgBindingRowStatus=hm2AgentStaticIpsgBindingRowStatus, hm2AgentPortMirrorEntry=hm2AgentPortMirrorEntry, hm2AgentStaticDsBindingRowStatus=hm2AgentStaticDsBindingRowStatus, hm2AgentSwitchSnoopingQuerierVlanTable=hm2AgentSwitchSnoopingQuerierVlanTable, hm2AgentSwitchSnoopingQuerierLastQuerierVersion=hm2AgentSwitchSnoopingQuerierLastQuerierVersion, hm2AgentStpCstRootFwdDelay=hm2AgentStpCstRootFwdDelay, hm2AgentStpCstDesignatedCost=hm2AgentStpCstDesignatedCost, hm2AgentProtocolGroupProtocolTable=hm2AgentProtocolGroupProtocolTable, hm2AgentLagSummaryConfigTable=hm2AgentLagSummaryConfigTable, hm2AgentSwitchSnoopingQuerierAdminMode=hm2AgentSwitchSnoopingQuerierAdminMode, hm2AgentSwitchSnoopingVlanGroup=hm2AgentSwitchSnoopingVlanGroup, VlanList=VlanList, hm2AgentSwitchVlanMacAssociationVlanId=hm2AgentSwitchVlanMacAssociationVlanId, hm2AgentSwitchVoiceVLANGroup=hm2AgentSwitchVoiceVLANGroup, hm2AgentSwitchGvrpPortPktTx=hm2AgentSwitchGvrpPortPktTx, hm2AgentSwitchSnoopingPortMask=hm2AgentSwitchSnoopingPortMask, hm2AgentPortVoiceVlanMode=hm2AgentPortVoiceVlanMode, hm2AgentStaticIpsgBindingMacAddr=hm2AgentStaticIpsgBindingMacAddr, hm2AgentPortBroadcastControlThreshold=hm2AgentPortBroadcastControlThreshold, hm2AgentSwitchSnoopingIntfMulticastRouterMode=hm2AgentSwitchSnoopingIntfMulticastRouterMode, hm2AgentSwitchStaticMacFilteringEntry=hm2AgentSwitchStaticMacFilteringEntry, hm2AgentSwitchMFDBSummaryForwardingPortMask=hm2AgentSwitchMFDBSummaryForwardingPortMask, hm2AgentDaiVlanStatsIndex=hm2AgentDaiVlanStatsIndex, hm2AgentStpCstPortTCNGuard=hm2AgentStpCstPortTCNGuard, hm2AgentSwitchSnoopingProtocol=hm2AgentSwitchSnoopingProtocol, hm2AgentPortMirrorVlanMirrorPortConflict=hm2AgentPortMirrorVlanMirrorPortConflict, hm2AgentDaiConfigGroup=hm2AgentDaiConfigGroup, hm2AgentLagSummaryStpMode=hm2AgentLagSummaryStpMode, hm2AgentDhcpSnoopingVlanConfigEntry=hm2AgentDhcpSnoopingVlanConfigEntry, hm2AgentIPv6MulticastRoutes=hm2AgentIPv6MulticastRoutes, hm2AgentLagConfigSNMPExtensionGroup=hm2AgentLagConfigSNMPExtensionGroup, hm2AgentClassOfServicePortPriority=hm2AgentClassOfServicePortPriority, hm2AgentSwitchSnoopingIntfAdminMode=hm2AgentSwitchSnoopingIntfAdminMode, hm2AgentSwitchGvrpPortPktRx=hm2AgentSwitchGvrpPortPktRx, hm2AgentStpMstPortForwardingState=hm2AgentStpMstPortForwardingState) mibBuilder.exportSymbols('HM2-PLATFORM-SWITCHING-MIB', hm2AgentStpMstVlanTable=hm2AgentStpMstVlanTable, hm2AgentSdmTemplateSummaryTable=hm2AgentSdmTemplateSummaryTable, hm2AgentPortUnicastControlMode=hm2AgentPortUnicastControlMode, hm2AgentSwitchMFDBSummaryEntry=hm2AgentSwitchMFDBSummaryEntry, hm2AgentStpMstPortReceivedRegionalRPC=hm2AgentStpMstPortReceivedRegionalRPC, hm2AgentStaticDsBindingIpAddr=hm2AgentStaticDsBindingIpAddr, hm2AgentStaticDsBindingVlanId=hm2AgentStaticDsBindingVlanId, hm2AgentSwitchMFDBForwardingPortMask=hm2AgentSwitchMFDBForwardingPortMask, hm2AgentIpsgIfConfigEntry=hm2AgentIpsgIfConfigEntry, hm2AgentDaiVlanAclPermits=hm2AgentDaiVlanAclPermits, hm2AgentSwitchSnoopingIntfGroupMembershipInterval=hm2AgentSwitchSnoopingIntfGroupMembershipInterval, hm2AgentDaiIfConfigTable=hm2AgentDaiIfConfigTable, hm2AgentStpMstTable=hm2AgentStpMstTable, hm2AgentArpAclEntry=hm2AgentArpAclEntry, hm2AgentSwitchSnoopingVlanMaxResponseTime=hm2AgentSwitchSnoopingVlanMaxResponseTime, hm2AgentSwitchMFDBVlanId=hm2AgentSwitchMFDBVlanId, hm2AgentDhcpSnoopingStatsTable=hm2AgentDhcpSnoopingStatsTable, hm2AgentLagSummaryFlushTimer=hm2AgentLagSummaryFlushTimer, hm2AgentSdmTemplateId=hm2AgentSdmTemplateId, hm2AgentSwitchVlanSubnetAssociationEntry=hm2AgentSwitchVlanSubnetAssociationEntry, hm2PlatformSwitching=hm2PlatformSwitching, hm2AgentLagSummaryMinimumActiveLinks=hm2AgentLagSummaryMinimumActiveLinks, hm2AgentPortMirrorDestinationPortInvalid=hm2AgentPortMirrorDestinationPortInvalid, hm2AgentStpCstHelloTime=hm2AgentStpCstHelloTime, hm2AgentPortConfigEntry=hm2AgentPortConfigEntry, hm2AgentStpMstSwitchVersionConflict=hm2AgentStpMstSwitchVersionConflict, hm2AgentDaiVlanBindingCheckEnable=hm2AgentDaiVlanBindingCheckEnable, hm2AgentStpMstVlanRowStatus=hm2AgentStpMstVlanRowStatus, hm2AgentStpPortTable=hm2AgentStpPortTable, hm2AgentStpCstPortOperEdge=hm2AgentStpCstPortOperEdge, hm2AgentDynamicDsBindingEntry=hm2AgentDynamicDsBindingEntry, hm2AgentSwitchVlanMacAssociationTable=hm2AgentSwitchVlanMacAssociationTable, hm2AgentDhcpSnoopingInvalidServerMessages=hm2AgentDhcpSnoopingInvalidServerMessages, hm2AgentPortClearStats=hm2AgentPortClearStats, hm2AgentDaiDstMacValidate=hm2AgentDaiDstMacValidate, hm2AgentLagConfigGroupPortIsLagMemberErrorReturn=hm2AgentLagConfigGroupPortIsLagMemberErrorReturn, hm2AgentDhcpL2RelayUntrustedSrvrMsgsWithOptn82=hm2AgentDhcpL2RelayUntrustedSrvrMsgsWithOptn82, hm2AgentStpBpduFilterDefault=hm2AgentStpBpduFilterDefault, hm2AgentDaiVlanStatsEntry=hm2AgentDaiVlanStatsEntry, hm2AgentDhcpSnoopingVlanConfigTable=hm2AgentDhcpSnoopingVlanConfigTable, hm2AgentPortDot3FlowControlOperStatus=hm2AgentPortDot3FlowControlOperStatus, hm2AgentSwitchConfigGroup=hm2AgentSwitchConfigGroup, hm2AgentDynamicIpsgBindingIfIndex=hm2AgentDynamicIpsgBindingIfIndex, hm2AgentLagConfigCreate=hm2AgentLagConfigCreate, hm2PlatformStpInstanceTopologyChangeTrap=hm2PlatformStpInstanceTopologyChangeTrap, hm2AgentDaiVlanDhcpPermits=hm2AgentDaiVlanDhcpPermits, hm2AgentSwitchSnoopingQuerierVersion=hm2AgentSwitchSnoopingQuerierVersion, hm2AgentSwitchMFDBSummaryMacAddress=hm2AgentSwitchMFDBSummaryMacAddress, hm2AgentDaiIPValidate=hm2AgentDaiIPValidate, hm2AgentSwitchVlanStaticMrouterEntry=hm2AgentSwitchVlanStaticMrouterEntry, hm2AgentDhcpSnoopingIfBurstInterval=hm2AgentDhcpSnoopingIfBurstInterval, hm2AgentDhcpL2RelayRemoteIdVlanEnable=hm2AgentDhcpL2RelayRemoteIdVlanEnable, hm2AgentProtocolGroupPortTable=hm2AgentProtocolGroupPortTable, hm2AgentLagSummaryMaxFrameSize=hm2AgentLagSummaryMaxFrameSize, hm2AgentLagConfigGroupMaxNumPortsPerLag=hm2AgentLagConfigGroupMaxNumPortsPerLag, hm2AgentSdmTemplateEntry=hm2AgentSdmTemplateEntry, hm2AgentLagConfigGroupHashOption=hm2AgentLagConfigGroupHashOption, hm2PlatformStpInstanceLoopInconsistentStartTrap=hm2PlatformStpInstanceLoopInconsistentStartTrap, hm2AgentStpCstPortAutoEdge=hm2AgentStpCstPortAutoEdge, hm2AgentProtocolGroupPortEntry=hm2AgentProtocolGroupPortEntry, hm2AgentDhcpSnoopingIfTrustEnable=hm2AgentDhcpSnoopingIfTrustEnable, hm2AgentConfigGroup=hm2AgentConfigGroup, hm2AgentSwitchGmrpPortEntry=hm2AgentSwitchGmrpPortEntry, hm2AgentSwitchVoiceVlanInterfaceNum=hm2AgentSwitchVoiceVlanInterfaceNum, hm2AgentStpMstPortTransitionsOutOfLoopInconsistentState=hm2AgentStpMstPortTransitionsOutOfLoopInconsistentState, hm2AgentSwitchSnoopingIntfFastLeaveAdminMode=hm2AgentSwitchSnoopingIntfFastLeaveAdminMode, hm2AgentDynamicDsBindingMacAddr=hm2AgentDynamicDsBindingMacAddr, hm2AgentDhcpL2RelayVlanConfigTable=hm2AgentDhcpL2RelayVlanConfigTable, hm2AgentDhcpSnoopingRemoteFileName=hm2AgentDhcpSnoopingRemoteFileName, hm2AgentStpCstPortEdge=hm2AgentStpCstPortEdge, hm2AgentStaticIpsgBindingTable=hm2AgentStaticIpsgBindingTable, PYSNMP_MODULE_ID=hm2PlatformSwitching, hm2AgentStpCstRegionalRootPathCost=hm2AgentStpCstRegionalRootPathCost, hm2AgentLagConfigGroupNumOfLagsConfigured=hm2AgentLagConfigGroupNumOfLagsConfigured, hm2AgentIPv4MulticastRoutes=hm2AgentIPv4MulticastRoutes, hm2AgentPortMirrorPrivateVlanConfigured=hm2AgentPortMirrorPrivateVlanConfigured, hm2AgentPortMirrorRemoteVlan=hm2AgentPortMirrorRemoteVlan, hm2AgentPortMirrorRemoteDestinationVlan=hm2AgentPortMirrorRemoteDestinationVlan, hm2AgentDot3adAggPortTable=hm2AgentDot3adAggPortTable, hm2AgentClearVlan=hm2AgentClearVlan, hm2AgentDaiIfConfigEntry=hm2AgentDaiIfConfigEntry, hm2AgentSwitchVoiceVlanDeviceMacAddress=hm2AgentSwitchVoiceVlanDeviceMacAddress, hm2AgentPortMirrorDestinationRemotePortNotSet=hm2AgentPortMirrorDestinationRemotePortNotSet, hm2AgentArpAclRuleMatchSenderMacAddr=hm2AgentArpAclRuleMatchSenderMacAddr, hm2AgentDaiVlanIndex=hm2AgentDaiVlanIndex, hm2AgentSwitchGmrpPortTable=hm2AgentSwitchGmrpPortTable, hm2AgentProtocolGroupName=hm2AgentProtocolGroupName, hm2AgentDhcpL2RelayVlanConfigEntry=hm2AgentDhcpL2RelayVlanConfigEntry, hm2AgentIPv6UnicastRoutes=hm2AgentIPv6UnicastRoutes, hm2AgentStpMstDesignatedRootId=hm2AgentStpMstDesignatedRootId, hm2AgentDaiStatsReset=hm2AgentDaiStatsReset, hm2AgentSwitchAddressAgingTimeoutTable=hm2AgentSwitchAddressAgingTimeoutTable, hm2AgentProtocolGroupTable=hm2AgentProtocolGroupTable, hm2AgentStpMstPortTransitionsIntoLoopInconsistentState=hm2AgentStpMstPortTransitionsIntoLoopInconsistentState, hm2PlatformStpInstanceLoopInconsistentEndTrap=hm2PlatformStpInstanceLoopInconsistentEndTrap, hm2AgentIpsgIfVerifySource=hm2AgentIpsgIfVerifySource, hm2AgentStaticDsBindingIfIndex=hm2AgentStaticDsBindingIfIndex, hm2AgentPortMirrorReflectorPortVlanConflict=hm2AgentPortMirrorReflectorPortVlanConflict, hm2AgentDynamicIpsgBindingEntry=hm2AgentDynamicIpsgBindingEntry, hm2AgentPortUnicastControlThreshold=hm2AgentPortUnicastControlThreshold, hm2AgentSwitchGmrpPortPktTx=hm2AgentSwitchGmrpPortPktTx, hm2AgentDhcpSnoopingIfConfigTable=hm2AgentDhcpSnoopingIfConfigTable, hm2AgentPortMirrorRemoteSourceVlan=hm2AgentPortMirrorRemoteSourceVlan, hm2AgentIPv4UnicastRoutes=hm2AgentIPv4UnicastRoutes, hm2AgentSwitchStaticMacFilteringVlanId=hm2AgentSwitchStaticMacFilteringVlanId, hm2AgentPortMirrorVlanNotCreated=hm2AgentPortMirrorVlanNotCreated, hm2AgentSwitchSnoopingVlanReportSuppMode=hm2AgentSwitchSnoopingVlanReportSuppMode, hm2AgentDaiVlanConfigTable=hm2AgentDaiVlanConfigTable, hm2AgentPortUnicastControlThresholdUnit=hm2AgentPortUnicastControlThresholdUnit, hm2AgentStpCstPortPathCost=hm2AgentStpCstPortPathCost, hm2AgentSwitchVoiceVlanDeviceEntry=hm2AgentSwitchVoiceVlanDeviceEntry, hm2AgentDhcpL2RelayAdminMode=hm2AgentDhcpL2RelayAdminMode, hm2AgentPortMirrorSourceVlan=hm2AgentPortMirrorSourceVlan, hm2AgentSwitchMFDBMostEntriesUsed=hm2AgentSwitchMFDBMostEntriesUsed, hm2AgentStpCstBridgeMaxHops=hm2AgentStpCstBridgeMaxHops, hm2AgentStpCstBridgeHelloTime=hm2AgentStpCstBridgeHelloTime, hm2AgentSwitchVlanMacAssociationEntry=hm2AgentSwitchVlanMacAssociationEntry, hm2AgentDaiIfRateLimit=hm2AgentDaiIfRateLimit, hm2AgentSwitchGvrpPortEntry=hm2AgentSwitchGvrpPortEntry, hm2AgentPortMirroringGroup=hm2AgentPortMirroringGroup, Ipv6AddressIfIdentifier=Ipv6AddressIfIdentifier, hm2AgentStpCstFwdDelayErrorReturn=hm2AgentStpCstFwdDelayErrorReturn, hm2AgentSwitchVlanStaticMrouterGroup=hm2AgentSwitchVlanStaticMrouterGroup, hm2AgentProtocolGroupVlanId=hm2AgentProtocolGroupVlanId, hm2AgentStpAdminMode=hm2AgentStpAdminMode, hm2AgentSdmPreferCurrentTemplate=hm2AgentSdmPreferCurrentTemplate, hm2AgentDaiVlanDstMacFailures=hm2AgentDaiVlanDstMacFailures, hm2AgentDynamicDsBindingVlanId=hm2AgentDynamicDsBindingVlanId, hm2AgentLagSummaryName=hm2AgentLagSummaryName, hm2AgentSwitchStaticMacStatsGroup=hm2AgentSwitchStaticMacStatsGroup, hm2AgentStpCstMaxAge=hm2AgentStpCstMaxAge, hm2AgentStaticDsBindingTable=hm2AgentStaticDsBindingTable, hm2AgentStpPortUpTime=hm2AgentStpPortUpTime, hm2AgentLagMirrorProbePortLagMemberErrorReturn=hm2AgentLagMirrorProbePortLagMemberErrorReturn, hm2AgentPortMirrorAllowMgmtMode=hm2AgentPortMirrorAllowMgmtMode, hm2AgentSwitchGvrpPortTable=hm2AgentSwitchGvrpPortTable, hm2AgentStpCstConfigGroup=hm2AgentStpCstConfigGroup, hm2AgentStpCstPortPriority=hm2AgentStpCstPortPriority, hm2AgentClassOfServicePortClass=hm2AgentClassOfServicePortClass, hm2AgentStpPortStatsStpBpduTx=hm2AgentStpPortStatsStpBpduTx, hm2AgentSwitchProtectedPortTable=hm2AgentSwitchProtectedPortTable, hm2AgentLagDetailedConfigEntry=hm2AgentLagDetailedConfigEntry, hm2AgentDaiIfBurstInterval=hm2AgentDaiIfBurstInterval, hm2AgentLagConfigStaticCapability=hm2AgentLagConfigStaticCapability, hm2AgentStaticIpsgBindingHwStatus=hm2AgentStaticIpsgBindingHwStatus, hm2AgentPortMirrorReflectorPort=hm2AgentPortMirrorReflectorPort, Ipv6IfIndex=Ipv6IfIndex, hm2AgentLagSummaryStaticCapability=hm2AgentLagSummaryStaticCapability, hm2AgentDynamicDsBindingLeaseRemainingTime=hm2AgentDynamicDsBindingLeaseRemainingTime, hm2AgentDaiVlanStatsTable=hm2AgentDaiVlanStatsTable, hm2AgentSwitchSnoopingVlanGroupMembershipInterval=hm2AgentSwitchSnoopingVlanGroupMembershipInterval, hm2AgentStpCstBridgePriority=hm2AgentStpCstBridgePriority, hm2AgentDaiVlanIpValidFailures=hm2AgentDaiVlanIpValidFailures, hm2AgentStpBpduGuardMode=hm2AgentStpBpduGuardMode, hm2AgentStpMstInstanceVlanErrorReturn=hm2AgentStpMstInstanceVlanErrorReturn, hm2AgentDhcpL2RelayUntrustedClntMsgsWithOptn82=hm2AgentDhcpL2RelayUntrustedClntMsgsWithOptn82, hm2AgentLagSummaryMaxFrameSizeLimit=hm2AgentLagSummaryMaxFrameSizeLimit, hm2AgentPortMirrorRspanVlanInconsistent=hm2AgentPortMirrorRspanVlanInconsistent, hm2AgentDot3adAggPort=hm2AgentDot3adAggPort, hm2AgentSwitchSnoopingIntfGroup=hm2AgentSwitchSnoopingIntfGroup, hm2AgentStpRingOnlyMode=hm2AgentStpRingOnlyMode, hm2AgentPortMirrorProbePortVlanConflict=hm2AgentPortMirrorProbePortVlanConflict, hm2AgentStpPortStatsRstpBpduRx=hm2AgentStpPortStatsRstpBpduRx, hm2AgentLagSummaryLagIndex=hm2AgentLagSummaryLagIndex, hm2AgentPortMirrorSNMPExtensionGroup=hm2AgentPortMirrorSNMPExtensionGroup, hm2AgentStpCstPortBpduFlood=hm2AgentStpCstPortBpduFlood, hm2AgentSwitchSnoopingIntfEntry=hm2AgentSwitchSnoopingIntfEntry, hm2AgentPortDot1dBasePort=hm2AgentPortDot1dBasePort, hm2AgentPortMirrorVlanRspanVlanConflict=hm2AgentPortMirrorVlanRspanVlanConflict, hm2AgentStpPortStatsStpBpduRx=hm2AgentStpPortStatsStpBpduRx, hm2AgentProtocolGroupProtocolEntry=hm2AgentProtocolGroupProtocolEntry, hm2AgentStpPortStatsMstpBpduTx=hm2AgentStpPortStatsMstpBpduTx, hm2AgentSwitchSnoopingMulticastControlFramesProcessed=hm2AgentSwitchSnoopingMulticastControlFramesProcessed, hm2AgentDhcpSnoopingIfRateLimit=hm2AgentDhcpSnoopingIfRateLimit, hm2AgentStpMstVlanEntry=hm2AgentStpMstVlanEntry, hm2AgentSwitchMFDBDescription=hm2AgentSwitchMFDBDescription, hm2AgentSwitchMFDBMaxTableEntries=hm2AgentSwitchMFDBMaxTableEntries, hm2AgentLagSummaryType=hm2AgentLagSummaryType, hm2AgentDot3adAggPortLACPMode=hm2AgentDot3adAggPortLACPMode, hm2AgentEcmpNextHops=hm2AgentEcmpNextHops, hm2AgentDhcpL2RelayIfTrustEnable=hm2AgentDhcpL2RelayIfTrustEnable, hm2AgentStaticDsBindingMacAddr=hm2AgentStaticDsBindingMacAddr, hm2AgentDynamicIpsgBindingVlanId=hm2AgentDynamicIpsgBindingVlanId, hm2AgentStpCstDesignatedPortId=hm2AgentStpCstDesignatedPortId, hm2AgentStpCstPortRootGuard=hm2AgentStpCstPortRootGuard, hm2AgentStpMstDesignatedCost=hm2AgentStpMstDesignatedCost, hm2AgentArpAclTable=hm2AgentArpAclTable, hm2AgentDaiVlanConfigEntry=hm2AgentDaiVlanConfigEntry, hm2AgentSwitchVlanSubnetAssociationSubnetMask=hm2AgentSwitchVlanSubnetAssociationSubnetMask, hm2AgentStpRingOnlyModeIntfOne=hm2AgentStpRingOnlyModeIntfOne, hm2AgentLagSummaryAddPort=hm2AgentLagSummaryAddPort, hm2AgentSdmTemplateTable=hm2AgentSdmTemplateTable, hm2AgentSwitchSnoopingVlanFastLeaveAdminMode=hm2AgentSwitchSnoopingVlanFastLeaveAdminMode, hm2AgentStpCstPortBpduGuardEffect=hm2AgentStpCstPortBpduGuardEffect, hm2AgentStpMstBridgeIdentifier=hm2AgentStpMstBridgeIdentifier, hm2AgentPortVoiceVlanUntagged=hm2AgentPortVoiceVlanUntagged, hm2AgentSwitchStaticMacFilteringStatus=hm2AgentSwitchStaticMacFilteringStatus, hm2AgentSwitchSnoopingQuerierOperMaxResponseTime=hm2AgentSwitchSnoopingQuerierOperMaxResponseTime, hm2AgentStpPortEntry=hm2AgentStpPortEntry, hm2AgentStpMstBridgePriority=hm2AgentStpMstBridgePriority, hm2AgentDaiVlanArpAclName=hm2AgentDaiVlanArpAclName, hm2AgentLagSummaryLinkTrap=hm2AgentLagSummaryLinkTrap, hm2AgentSwitchVlanMacAssociationMacAddress=hm2AgentSwitchVlanMacAssociationMacAddress, hm2AgentPortMirrorTypeType=hm2AgentPortMirrorTypeType, hm2AgentSwitchVlanSubnetAssociationRowStatus=hm2AgentSwitchVlanSubnetAssociationRowStatus, hm2AgentDhcpL2RelayTrustedSrvrMsgsWithoutOptn82=hm2AgentDhcpL2RelayTrustedSrvrMsgsWithoutOptn82, hm2AgentPortVoiceVlanID=hm2AgentPortVoiceVlanID, hm2AgentLagConfigGroupMaxNumOfLags=hm2AgentLagConfigGroupMaxNumOfLags, hm2AgentStpMstEntry=hm2AgentStpMstEntry, hm2AgentStpMstDesignatedBridgeId=hm2AgentStpMstDesignatedBridgeId, hm2AgentLagConfigGroupLagsConfigured=hm2AgentLagConfigGroupLagsConfigured, hm2AgentLagSummaryHashOption=hm2AgentLagSummaryHashOption, hm2AgentSwitchSnoopingQuerierExpiryInterval=hm2AgentSwitchSnoopingQuerierExpiryInterval, hm2AgentLagDetailedPortStatus=hm2AgentLagDetailedPortStatus, hm2AgentPortMirrorTable=hm2AgentPortMirrorTable, hm2AgentPortMirrorRemoteSourceRemoteDestinationConflict=hm2AgentPortMirrorRemoteSourceRemoteDestinationConflict, hm2AgentDhcpSnoopingAdminMode=hm2AgentDhcpSnoopingAdminMode, hm2AgentArpAclName=hm2AgentArpAclName, hm2AgentDhcpSnoopingVlanEnable=hm2AgentDhcpSnoopingVlanEnable, hm2AgentDhcpSnoopingVerifyMac=hm2AgentDhcpSnoopingVerifyMac, hm2AgentStpCstExtPortPathCost=hm2AgentStpCstExtPortPathCost, hm2AgentSwitchSnoopingIntfMRPExpirationTime=hm2AgentSwitchSnoopingIntfMRPExpirationTime, hm2PlatformStpInstanceNewRootTrap=hm2PlatformStpInstanceNewRootTrap, hm2AgentPortMulticastControlThresholdUnit=hm2AgentPortMulticastControlThresholdUnit, hm2AgentProtocolGroupId=hm2AgentProtocolGroupId, hm2AgentDhcpL2RelayVlanEnable=hm2AgentDhcpL2RelayVlanEnable, hm2AgentPortBroadcastControlMode=hm2AgentPortBroadcastControlMode, hm2AgentIpsgIfConfigTable=hm2AgentIpsgIfConfigTable, hm2AgentPortMirrorTypeEntry=hm2AgentPortMirrorTypeEntry)
def pytest_addoption(parser): # Where to find curl-impersonate's binaries parser.addoption("--install-dir", action="store", default="/usr/local") parser.addoption("--capture-interface", action="store", default="eth0")
def pytest_addoption(parser): parser.addoption('--install-dir', action='store', default='/usr/local') parser.addoption('--capture-interface', action='store', default='eth0')
#INPUT lines = open('input.txt').read().split() dummy = ['forward', '5', 'down', '5', 'forward', '8', 'up', '3', 'down', '8', 'forward', '2'] #FIRST PROBLEM def problemPart1(data): horizontal = 0 depth = 0 for i in range(0, len(data), 2): if data[i] == 'down': depth += int(data[i+1]) elif data[i] == 'up': depth -= int(data[i+1]) else: horizontal += int(data[i+1]) return(horizontal*depth) #SECOND PROBLEM def problemPart2(data): horizontal = 0 depth = 0 aim = 0 for i in range(0, len(data), 2): num = data[i+1] if data[i] == 'down': aim += int(num) elif data[i] == 'up': aim -= int(num) else: horizontal += int(num) depth = depth + (aim*int(num)) return(horizontal*depth) print(problemPart1(lines)) print(problemPart2(lines))
lines = open('input.txt').read().split() dummy = ['forward', '5', 'down', '5', 'forward', '8', 'up', '3', 'down', '8', 'forward', '2'] def problem_part1(data): horizontal = 0 depth = 0 for i in range(0, len(data), 2): if data[i] == 'down': depth += int(data[i + 1]) elif data[i] == 'up': depth -= int(data[i + 1]) else: horizontal += int(data[i + 1]) return horizontal * depth def problem_part2(data): horizontal = 0 depth = 0 aim = 0 for i in range(0, len(data), 2): num = data[i + 1] if data[i] == 'down': aim += int(num) elif data[i] == 'up': aim -= int(num) else: horizontal += int(num) depth = depth + aim * int(num) return horizontal * depth print(problem_part1(lines)) print(problem_part2(lines))
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. class HlsColor: def __init__(self, hue, luminance, saturation): self.hue = hue self.luminance = luminance self.saturation = saturation def Lighten(self, percent): self.luminance *= (1.0 + percent) if self.luminance > 1.0: self.luminance = 1.0 def Darken(self, percent): self.luminance *= (1.0 - percent) def ToHLS(self, red, green, blue): minval = min(red, min(green, blue)) maxval = max(red, max(green, blue)) mdiff = float(maxval - minval) msum = float(maxval + minval) self.luminance = msum / 510.0 if maxval == minval: self.saturation = 0.0 self.hue = 0.0 else: rnorm = (maxval - red) / mdiff gnorm = (maxval - green) / mdiff bnorm = (maxval - blue) / mdiff if self.luminance <= 0.5: self.saturation = mdiff / msum else: self.saturation = mdiff / (510.0 - msum) if red == maxval: self.hue = 60.0 * (6.0 + bnorm - gnorm) if green == maxval: self.hue = 60.0 * (2.0 + rnorm - bnorm) if blue == maxval: self.hue = 60.0 * (4.0 + gnorm - rnorm) if self.hue > 360.0: self.hue = self.hue - 360.0 def ToRGB(self): red = 0 green = 0 blue = 0 if self.saturation == 0.0: red = int(self.luminance * 255) green = red blue = red else: rm1 = 0.0 rm2 = 0.0 if self.luminance <= 0.5: rm2 = self.luminance + self.luminance * self.saturation else: rm2 = self.luminance + self.saturation - self.luminance * self.saturation rm1 = 2.0 * self.luminance - rm2 red = self.ToRGB1(rm1, rm2, self.hue + 120.0) green = self.ToRGB1(rm1, rm2, self.hue) blue = self.ToRGB1(rm1, rm2, self.hue - 120.0) return [red, green, blue] def ToRGB1(rm1, rm2, rh): if (rh > 360.0): rh -= 360.0 elif rh < 0.0: rh += 360.0 if rh < 60.0: rm1 = rm1 + (rm2 - rm1) * rh / 60.0 elif rh < 180.0: rm1 = rm2 elif rh < 240.0: rm1 = rm1 + (rm2 - rm1) * (240.0 - rh) / 60.0 return int(rm1 * 255)
class Hlscolor: def __init__(self, hue, luminance, saturation): self.hue = hue self.luminance = luminance self.saturation = saturation def lighten(self, percent): self.luminance *= 1.0 + percent if self.luminance > 1.0: self.luminance = 1.0 def darken(self, percent): self.luminance *= 1.0 - percent def to_hls(self, red, green, blue): minval = min(red, min(green, blue)) maxval = max(red, max(green, blue)) mdiff = float(maxval - minval) msum = float(maxval + minval) self.luminance = msum / 510.0 if maxval == minval: self.saturation = 0.0 self.hue = 0.0 else: rnorm = (maxval - red) / mdiff gnorm = (maxval - green) / mdiff bnorm = (maxval - blue) / mdiff if self.luminance <= 0.5: self.saturation = mdiff / msum else: self.saturation = mdiff / (510.0 - msum) if red == maxval: self.hue = 60.0 * (6.0 + bnorm - gnorm) if green == maxval: self.hue = 60.0 * (2.0 + rnorm - bnorm) if blue == maxval: self.hue = 60.0 * (4.0 + gnorm - rnorm) if self.hue > 360.0: self.hue = self.hue - 360.0 def to_rgb(self): red = 0 green = 0 blue = 0 if self.saturation == 0.0: red = int(self.luminance * 255) green = red blue = red else: rm1 = 0.0 rm2 = 0.0 if self.luminance <= 0.5: rm2 = self.luminance + self.luminance * self.saturation else: rm2 = self.luminance + self.saturation - self.luminance * self.saturation rm1 = 2.0 * self.luminance - rm2 red = self.ToRGB1(rm1, rm2, self.hue + 120.0) green = self.ToRGB1(rm1, rm2, self.hue) blue = self.ToRGB1(rm1, rm2, self.hue - 120.0) return [red, green, blue] def to_rgb1(rm1, rm2, rh): if rh > 360.0: rh -= 360.0 elif rh < 0.0: rh += 360.0 if rh < 60.0: rm1 = rm1 + (rm2 - rm1) * rh / 60.0 elif rh < 180.0: rm1 = rm2 elif rh < 240.0: rm1 = rm1 + (rm2 - rm1) * (240.0 - rh) / 60.0 return int(rm1 * 255)
class DataFile: def __init__(self, datetime, chart, datafile): self.Datetime = datetime self.Chart = chart self.Datafile = datafile return
class Datafile: def __init__(self, datetime, chart, datafile): self.Datetime = datetime self.Chart = chart self.Datafile = datafile return
entries = [ { 'env-title': 'atari-alien', 'env-variant': 'No-op start', 'score': 3166, }, { 'env-title': 'atari-amidar', 'env-variant': 'No-op start', 'score': 1735, }, { 'env-title': 'atari-assault', 'env-variant': 'No-op start', 'score': 7203, }, { 'env-title': 'atari-asterix', 'env-variant': 'No-op start', 'score': 406211, }, { 'env-title': 'atari-asteroids', 'env-variant': 'No-op start', 'score': 1516, }, { 'env-title': 'atari-atlantis', 'env-variant': 'No-op start', 'score': 841075, }, { 'env-title': 'atari-bank-heist', 'env-variant': 'No-op start', 'score': 976, }, { 'env-title': 'atari-battle-zone', 'env-variant': 'No-op start', 'score': 28742, }, { 'env-title': 'atari-beam-rider', 'env-variant': 'No-op start', 'score': 14074, }, { 'env-title': 'atari-berzerk', 'env-variant': 'No-op start', 'score': 1645, }, { 'env-title': 'atari-bowling', 'env-variant': 'No-op start', 'score': 81.8, }, { 'env-title': 'atari-boxing', 'env-variant': 'No-op start', 'score': 97.8, }, { 'env-title': 'atari-breakout', 'env-variant': 'No-op start', 'score': 748, }, { 'env-title': 'atari-centipede', 'env-variant': 'No-op start', 'score': 9646, }, { 'env-title': 'atari-chopper-command', 'env-variant': 'No-op start', 'score': 15600, }, { 'env-title': 'atari-crazy-climber', 'env-variant': 'No-op start', 'score': 179877, }, { 'env-title': 'atari-defender', 'env-variant': 'No-op start', 'score': 47092, }, { 'env-title': 'atari-demon-attack', 'env-variant': 'No-op start', 'score': 130955, }, { 'env-title': 'atari-double-dunk', 'env-variant': 'No-op start', 'score': 2.5, }, { 'env-title': 'atari-enduro', 'env-variant': 'No-op start', 'score': 3454, }, { 'env-title': 'atari-fishing-derby', 'env-variant': 'No-op start', 'score': 8.9, }, { 'env-title': 'atari-freeway', 'env-variant': 'No-op start', 'score': 33.9, }, { 'env-title': 'atari-frostbite', 'env-variant': 'No-op start', 'score': 3965, }, { 'env-title': 'atari-gopher', 'env-variant': 'No-op start', 'score': 33641, }, { 'env-title': 'atari-gravitar', 'env-variant': 'No-op start', 'score': 440, }, { 'env-title': 'atari-hero', 'env-variant': 'No-op start', 'score': 38874, }, { 'env-title': 'atari-ice-hockey', 'env-variant': 'No-op start', 'score': -3.5, }, { 'env-title': 'atari-jamesbond', 'env-variant': 'No-op start', 'score': 1909, }, { 'env-title': 'atari-kangaroo', 'env-variant': 'No-op start', 'score': 12853, }, { 'env-title': 'atari-krull', 'env-variant': 'No-op start', 'score': 9735, }, { 'env-title': 'atari-kung-fu-master', 'env-variant': 'No-op start', 'score': 48192, }, { 'env-title': 'atari-montezuma-revenge', 'env-variant': 'No-op start', 'score': 0.0, }, { 'env-title': 'atari-ms-pacman', 'env-variant': 'No-op start', 'score': 3415, }, { 'env-title': 'atari-name-this-game', 'env-variant': 'No-op start', 'score': 12542, }, { 'env-title': 'atari-phoenix', 'env-variant': 'No-op start', 'score': 17490, }, { 'env-title': 'atari-pitfall', 'env-variant': 'No-op start', 'score': 0.0, }, { 'env-title': 'atari-pong', 'env-variant': 'No-op start', 'score': 20.9, }, { 'env-title': 'atari-private-eye', 'env-variant': 'No-op start', 'score': 15095, }, { 'env-title': 'atari-qbert', 'env-variant': 'No-op start', 'score': 23784, }, { 'env-title': 'atari-riverraid', 'env-variant': 'No-op start', 'score': 17322, }, { 'env-title': 'atari-road-runner', 'env-variant': 'No-op start', 'score': 55839, }, { 'env-title': 'atari-robotank', 'env-variant': 'No-op start', 'score': 52.3, }, { 'env-title': 'atari-seaquest', 'env-variant': 'No-op start', 'score': 266434, }, { 'env-title': 'atari-skiing', 'env-variant': 'No-op start', 'score': -13901, }, { 'env-title': 'atari-solaris', 'env-variant': 'No-op start', 'score': 8342, }, { 'env-title': 'atari-space-invaders', 'env-variant': 'No-op start', 'score': 5747, }, { 'env-title': 'atari-star-gunner', 'env-variant': 'No-op start', 'score': 49095, }, { 'env-title': 'atari-surround', 'env-variant': 'No-op start', 'score': 6.8, }, { 'env-title': 'atari-tennis', 'env-variant': 'No-op start', 'score': 23.1, }, { 'env-title': 'atari-time-pilot', 'env-variant': 'No-op start', 'score': 8329, }, { 'env-title': 'atari-tutankham', 'env-variant': 'No-op start', 'score': 280, }, { 'env-title': 'atari-up-n-down', 'env-variant': 'No-op start', 'score': 15612, }, { 'env-title': 'atari-venture', 'env-variant': 'No-op start', 'score': 1520, }, { 'env-title': 'atari-video-pinball', 'env-variant': 'No-op start', 'score': 949604, }, { 'env-title': 'atari-wizard-of-wor', 'env-variant': 'No-op start', 'score': 9300, }, { 'env-title': 'atari-yars-revenge', 'env-variant': 'No-op start', 'score': 35050, }, { 'env-title': 'atari-zaxxon', 'env-variant': 'No-op start', 'score': 10513, }, ]
entries = [{'env-title': 'atari-alien', 'env-variant': 'No-op start', 'score': 3166}, {'env-title': 'atari-amidar', 'env-variant': 'No-op start', 'score': 1735}, {'env-title': 'atari-assault', 'env-variant': 'No-op start', 'score': 7203}, {'env-title': 'atari-asterix', 'env-variant': 'No-op start', 'score': 406211}, {'env-title': 'atari-asteroids', 'env-variant': 'No-op start', 'score': 1516}, {'env-title': 'atari-atlantis', 'env-variant': 'No-op start', 'score': 841075}, {'env-title': 'atari-bank-heist', 'env-variant': 'No-op start', 'score': 976}, {'env-title': 'atari-battle-zone', 'env-variant': 'No-op start', 'score': 28742}, {'env-title': 'atari-beam-rider', 'env-variant': 'No-op start', 'score': 14074}, {'env-title': 'atari-berzerk', 'env-variant': 'No-op start', 'score': 1645}, {'env-title': 'atari-bowling', 'env-variant': 'No-op start', 'score': 81.8}, {'env-title': 'atari-boxing', 'env-variant': 'No-op start', 'score': 97.8}, {'env-title': 'atari-breakout', 'env-variant': 'No-op start', 'score': 748}, {'env-title': 'atari-centipede', 'env-variant': 'No-op start', 'score': 9646}, {'env-title': 'atari-chopper-command', 'env-variant': 'No-op start', 'score': 15600}, {'env-title': 'atari-crazy-climber', 'env-variant': 'No-op start', 'score': 179877}, {'env-title': 'atari-defender', 'env-variant': 'No-op start', 'score': 47092}, {'env-title': 'atari-demon-attack', 'env-variant': 'No-op start', 'score': 130955}, {'env-title': 'atari-double-dunk', 'env-variant': 'No-op start', 'score': 2.5}, {'env-title': 'atari-enduro', 'env-variant': 'No-op start', 'score': 3454}, {'env-title': 'atari-fishing-derby', 'env-variant': 'No-op start', 'score': 8.9}, {'env-title': 'atari-freeway', 'env-variant': 'No-op start', 'score': 33.9}, {'env-title': 'atari-frostbite', 'env-variant': 'No-op start', 'score': 3965}, {'env-title': 'atari-gopher', 'env-variant': 'No-op start', 'score': 33641}, {'env-title': 'atari-gravitar', 'env-variant': 'No-op start', 'score': 440}, {'env-title': 'atari-hero', 'env-variant': 'No-op start', 'score': 38874}, {'env-title': 'atari-ice-hockey', 'env-variant': 'No-op start', 'score': -3.5}, {'env-title': 'atari-jamesbond', 'env-variant': 'No-op start', 'score': 1909}, {'env-title': 'atari-kangaroo', 'env-variant': 'No-op start', 'score': 12853}, {'env-title': 'atari-krull', 'env-variant': 'No-op start', 'score': 9735}, {'env-title': 'atari-kung-fu-master', 'env-variant': 'No-op start', 'score': 48192}, {'env-title': 'atari-montezuma-revenge', 'env-variant': 'No-op start', 'score': 0.0}, {'env-title': 'atari-ms-pacman', 'env-variant': 'No-op start', 'score': 3415}, {'env-title': 'atari-name-this-game', 'env-variant': 'No-op start', 'score': 12542}, {'env-title': 'atari-phoenix', 'env-variant': 'No-op start', 'score': 17490}, {'env-title': 'atari-pitfall', 'env-variant': 'No-op start', 'score': 0.0}, {'env-title': 'atari-pong', 'env-variant': 'No-op start', 'score': 20.9}, {'env-title': 'atari-private-eye', 'env-variant': 'No-op start', 'score': 15095}, {'env-title': 'atari-qbert', 'env-variant': 'No-op start', 'score': 23784}, {'env-title': 'atari-riverraid', 'env-variant': 'No-op start', 'score': 17322}, {'env-title': 'atari-road-runner', 'env-variant': 'No-op start', 'score': 55839}, {'env-title': 'atari-robotank', 'env-variant': 'No-op start', 'score': 52.3}, {'env-title': 'atari-seaquest', 'env-variant': 'No-op start', 'score': 266434}, {'env-title': 'atari-skiing', 'env-variant': 'No-op start', 'score': -13901}, {'env-title': 'atari-solaris', 'env-variant': 'No-op start', 'score': 8342}, {'env-title': 'atari-space-invaders', 'env-variant': 'No-op start', 'score': 5747}, {'env-title': 'atari-star-gunner', 'env-variant': 'No-op start', 'score': 49095}, {'env-title': 'atari-surround', 'env-variant': 'No-op start', 'score': 6.8}, {'env-title': 'atari-tennis', 'env-variant': 'No-op start', 'score': 23.1}, {'env-title': 'atari-time-pilot', 'env-variant': 'No-op start', 'score': 8329}, {'env-title': 'atari-tutankham', 'env-variant': 'No-op start', 'score': 280}, {'env-title': 'atari-up-n-down', 'env-variant': 'No-op start', 'score': 15612}, {'env-title': 'atari-venture', 'env-variant': 'No-op start', 'score': 1520}, {'env-title': 'atari-video-pinball', 'env-variant': 'No-op start', 'score': 949604}, {'env-title': 'atari-wizard-of-wor', 'env-variant': 'No-op start', 'score': 9300}, {'env-title': 'atari-yars-revenge', 'env-variant': 'No-op start', 'score': 35050}, {'env-title': 'atari-zaxxon', 'env-variant': 'No-op start', 'score': 10513}]
def first_last6(nums): if nums[0] == 6 or nums[-1] == 6: return True else: return False def same_first_last(nums): if len(nums) >= 1 and nums[0] == nums[-1]: return True else: return False def make_pi(): return [3, 1, 4] def common_end(a, b): if a[-1] == b[-1] or a[0] == b[0]: return True else: return False def sum3(a): return a[0] + a[1] + a[2] def rotate_left3(a): return [a[1], a[2], a[0]] def reverse3(nums): return [nums[2], nums[1], nums[0]] def max_end3(a): max = -1 if a[0] > a[2]: max = a[0] if a[2] >= a[0]: max = a[2] return [max, max, max] def sum2(nums): if len(nums) >=2: return nums[0] + nums[1] elif len(nums) == 1: return nums[0] else: return 0 def middle_way(a, b): return [a[1], b[1]] def make_ends(nums): return [nums[0], nums[-1]] def has23(nums): if nums[0] == 2 or nums[1] == 2 or nums[0] == 3 or nums[1] == 3: return True else: return False
def first_last6(nums): if nums[0] == 6 or nums[-1] == 6: return True else: return False def same_first_last(nums): if len(nums) >= 1 and nums[0] == nums[-1]: return True else: return False def make_pi(): return [3, 1, 4] def common_end(a, b): if a[-1] == b[-1] or a[0] == b[0]: return True else: return False def sum3(a): return a[0] + a[1] + a[2] def rotate_left3(a): return [a[1], a[2], a[0]] def reverse3(nums): return [nums[2], nums[1], nums[0]] def max_end3(a): max = -1 if a[0] > a[2]: max = a[0] if a[2] >= a[0]: max = a[2] return [max, max, max] def sum2(nums): if len(nums) >= 2: return nums[0] + nums[1] elif len(nums) == 1: return nums[0] else: return 0 def middle_way(a, b): return [a[1], b[1]] def make_ends(nums): return [nums[0], nums[-1]] def has23(nums): if nums[0] == 2 or nums[1] == 2 or nums[0] == 3 or (nums[1] == 3): return True else: return False
data_set = [] # UNix time stamp PHASE_1 = 1341214200 # before 02-07-2012 01:00:00 PM PHASE_2 = 1341253799 # After PHASE_1 till 02-07-2012 11:59:59 PM PHASE_3 = 1341368999 # After PHASE_2 till 04-07-2012 07:59:59 AM file1 = 0 file2 = 0 file3 = 0 file4 = 0 def extract_in_list(): with open("/home/darkmatter/Documents/Network/data/higgs-activity_time.txt") as data_file: for text in data_file: text = text.strip() data_set.append(text) def create_data_file(value): words = value.split() global file1 timestamp = int(float(words[2])) if timestamp < PHASE_1: file1.write(words[0] + " " + words[1] + " " + words[3] + "\n") elif PHASE_1 <= timestamp <= PHASE_2: file2.write(words[0] + " " + words[1] + " " + words[3] + "\n") elif PHASE_2 < timestamp <= PHASE_3: file3.write(words[0] + " " + words[1] + " " + words[3] + "\n") elif timestamp > PHASE_3: file4.write(words[0] + " " + words[1] + " " + words[3] + "\n") def main(): extract_in_list() global file1, file2, file3, file4 file1 = open("/home/darkmatter/Documents/Network/data/data_set_1.txt", "w") file2 = open("/home/darkmatter/Documents/Network/data/data_set_2.txt", "w") file3 = open("/home/darkmatter/Documents/Network/data/data_set_3.txt", "w") file4 = open("/home/darkmatter/Documents/Network/data/data_set_4.txt", "w") for value in data_set: create_data_file(value) file1.close() file2.close() file3.close() file4.close() if __name__ == '__main__': main()
data_set = [] phase_1 = 1341214200 phase_2 = 1341253799 phase_3 = 1341368999 file1 = 0 file2 = 0 file3 = 0 file4 = 0 def extract_in_list(): with open('/home/darkmatter/Documents/Network/data/higgs-activity_time.txt') as data_file: for text in data_file: text = text.strip() data_set.append(text) def create_data_file(value): words = value.split() global file1 timestamp = int(float(words[2])) if timestamp < PHASE_1: file1.write(words[0] + ' ' + words[1] + ' ' + words[3] + '\n') elif PHASE_1 <= timestamp <= PHASE_2: file2.write(words[0] + ' ' + words[1] + ' ' + words[3] + '\n') elif PHASE_2 < timestamp <= PHASE_3: file3.write(words[0] + ' ' + words[1] + ' ' + words[3] + '\n') elif timestamp > PHASE_3: file4.write(words[0] + ' ' + words[1] + ' ' + words[3] + '\n') def main(): extract_in_list() global file1, file2, file3, file4 file1 = open('/home/darkmatter/Documents/Network/data/data_set_1.txt', 'w') file2 = open('/home/darkmatter/Documents/Network/data/data_set_2.txt', 'w') file3 = open('/home/darkmatter/Documents/Network/data/data_set_3.txt', 'w') file4 = open('/home/darkmatter/Documents/Network/data/data_set_4.txt', 'w') for value in data_set: create_data_file(value) file1.close() file2.close() file3.close() file4.close() if __name__ == '__main__': main()
class Solution: def oddCells(self, n, m, indices): rows, cols = {}, {} for r, c in indices: if r in rows: rows[r] += 1 else: rows[r] = 1 if c in cols: cols[c] += 1 else: cols[c] = 1 ans = 0 for i in range(n): for j in range(m): sm = 0 if i in rows: sm += rows[i] if j in cols: sm += cols[j] if sm % 2 == 1: ans += 1 return ans
class Solution: def odd_cells(self, n, m, indices): (rows, cols) = ({}, {}) for (r, c) in indices: if r in rows: rows[r] += 1 else: rows[r] = 1 if c in cols: cols[c] += 1 else: cols[c] = 1 ans = 0 for i in range(n): for j in range(m): sm = 0 if i in rows: sm += rows[i] if j in cols: sm += cols[j] if sm % 2 == 1: ans += 1 return ans
# puzzle easy // https://www.codingame.com/ide/puzzle/object-insertion # needed values obj, grid, start, sol= [], [], [], [] count_star = 0 # game input() row_all, cal_all = [int(i) for i in input().split()] for i in range(row_all): obj.append(input()) c, d = [int(i) for i in input().split()] for i in range(c): grid.append(input()) # count stars in obj[] count_star = sum(_.count('*') for _ in obj) # needed functions def way(row_o, cal_o, row_g, cal_g): find = [] for row, _ in enumerate(obj): for cal, val in enumerate(_): if val == '*': # map cal from ojb[] to grid[] if cal_o > cal: cal_g -= abs(cal_o - cal) if cal_o < cal: cal_g += abs(cal_o - cal) # [row][cal] have to be on grid if row_g+row<c and row_g+row>=0 and cal_g<d and cal_g>=0: if grid[row_g + row][cal_g] == '.': # update cal_o = cal # sub solution founded find.append([row_g+row, cal_g]) else: return False # append possible solution if len(find) == count_star: sol.append(find) # game loop for row_o, ro in enumerate(obj): for cal_o, co in enumerate(ro): if co == '*': for row_g, rg in enumerate(grid): for cal_g, cg in enumerate(rg): # find possible start point if cg == '.' and [row_g, cal_g] not in start: start.append([row_g, cal_g]) # test start point of possible solution way(row_o, cal_o, row_g, cal_g) # print grind map if len(sol) == 1: for _ in sol: for t in _: u = [i for i in grid[t[0]]] u[t[1]] = '*' grid[t[0]] = ''.join(u) print(1) for _ in grid: print(_) # print value '0' elif sol == []: print(0) # print count of possible solutions else: print(len(sol))
(obj, grid, start, sol) = ([], [], [], []) count_star = 0 (row_all, cal_all) = [int(i) for i in input().split()] for i in range(row_all): obj.append(input()) (c, d) = [int(i) for i in input().split()] for i in range(c): grid.append(input()) count_star = sum((_.count('*') for _ in obj)) def way(row_o, cal_o, row_g, cal_g): find = [] for (row, _) in enumerate(obj): for (cal, val) in enumerate(_): if val == '*': if cal_o > cal: cal_g -= abs(cal_o - cal) if cal_o < cal: cal_g += abs(cal_o - cal) if row_g + row < c and row_g + row >= 0 and (cal_g < d) and (cal_g >= 0): if grid[row_g + row][cal_g] == '.': cal_o = cal find.append([row_g + row, cal_g]) else: return False if len(find) == count_star: sol.append(find) for (row_o, ro) in enumerate(obj): for (cal_o, co) in enumerate(ro): if co == '*': for (row_g, rg) in enumerate(grid): for (cal_g, cg) in enumerate(rg): if cg == '.' and [row_g, cal_g] not in start: start.append([row_g, cal_g]) way(row_o, cal_o, row_g, cal_g) if len(sol) == 1: for _ in sol: for t in _: u = [i for i in grid[t[0]]] u[t[1]] = '*' grid[t[0]] = ''.join(u) print(1) for _ in grid: print(_) elif sol == []: print(0) else: print(len(sol))
def bfs(graph, s): explored = [] q = [s] while q: u = q.pop(0) for (v, w) in [(v, w) for (v, w) in graph if v == u and w not in explored]: explored.append(w) q.append(w) print(explored) if __name__ == '__main__': graph = [('s', 'a'), ('s', 'b'), ('a', 'c'), ('b', 'c'), ('c', 'd'), ('c', 'e'), ('d', 'e')] bfs(graph, s='s')
def bfs(graph, s): explored = [] q = [s] while q: u = q.pop(0) for (v, w) in [(v, w) for (v, w) in graph if v == u and w not in explored]: explored.append(w) q.append(w) print(explored) if __name__ == '__main__': graph = [('s', 'a'), ('s', 'b'), ('a', 'c'), ('b', 'c'), ('c', 'd'), ('c', 'e'), ('d', 'e')] bfs(graph, s='s')
class Statistics: def __init__(self): self.stat={ 'python':0, 'sql': 0, 'django': 0, 'rest': 0, 'c++': 0, 'linux': 0, 'api': 0, 'http': 0, 'flask': 0, 'java': 0, 'git': 0, 'javascript': 0, 'pytest': 0, 'postgresql': 0, 'oracle': 0, 'mysql': 0, 'mssql': 0 } def go_seek( self, s ): n = 0 try: s = s.lower() k = self.stat.keys() for ki in k: i = s.find(ki) if i > 0: self.stat[ki] += 1 n += 1 except AttributeError: pass return n def get_stat( self ): sorted_tuple = sorted( self.stat.items(), key=lambda x: x[1], reverse=True ) return sorted_tuple def processing(self): #count = len( self.stat ) nMax = self.get_stat()[0][1] dic = {} for k,v in self.stat.items(): dic[ k ] = [ v, round( (v/nMax)*100 )] sorted_tuple = sorted( dic.items(), key=lambda x: x[1][1], reverse=True) lst = [] for k,v in sorted_tuple: lst.append( [k,str(v[1])+'%'] ) return lst
class Statistics: def __init__(self): self.stat = {'python': 0, 'sql': 0, 'django': 0, 'rest': 0, 'c++': 0, 'linux': 0, 'api': 0, 'http': 0, 'flask': 0, 'java': 0, 'git': 0, 'javascript': 0, 'pytest': 0, 'postgresql': 0, 'oracle': 0, 'mysql': 0, 'mssql': 0} def go_seek(self, s): n = 0 try: s = s.lower() k = self.stat.keys() for ki in k: i = s.find(ki) if i > 0: self.stat[ki] += 1 n += 1 except AttributeError: pass return n def get_stat(self): sorted_tuple = sorted(self.stat.items(), key=lambda x: x[1], reverse=True) return sorted_tuple def processing(self): n_max = self.get_stat()[0][1] dic = {} for (k, v) in self.stat.items(): dic[k] = [v, round(v / nMax * 100)] sorted_tuple = sorted(dic.items(), key=lambda x: x[1][1], reverse=True) lst = [] for (k, v) in sorted_tuple: lst.append([k, str(v[1]) + '%']) return lst
v1 = int(input('Digite um valor:')) v2 = int(input('Digite outro valor:')) re = (v1+v2) print ('O valor da soma entre {} e {} tem o resultado {}!'.format(v1,v2,re))
v1 = int(input('Digite um valor:')) v2 = int(input('Digite outro valor:')) re = v1 + v2 print('O valor da soma entre {} e {} tem o resultado {}!'.format(v1, v2, re))
# Generate random rewards for each treatment if self.action["treatment"] == "1": self.reward["value"] = np.random.binomial(1,0.5) else: #Treatment = 2 self.reward["value"] = np.random.binomial(1,0.3)
if self.action['treatment'] == '1': self.reward['value'] = np.random.binomial(1, 0.5) else: self.reward['value'] = np.random.binomial(1, 0.3)
def create_matrix(size): matrix = [] for _ in range(size): matrix.append([x for x in input().split()]) return matrix def find_start(matrix, size): for r in range(size): for c in range(size): if matrix[r][c] == 's': return r, c def get_coals_count(matrix, size): coals_count = 0 for r in range(size): for c in range(size): if matrix[r][c] == 'c': coals_count += 1 return coals_count def check_valid_cell(row, col, size): return 0 <= row < size and 0 <= col < size size = int(input()) commands = input().split() field = create_matrix(size) miner_r, miner_c = find_start(field, size) coals_count = get_coals_count(field, size) coals_collected = 0 is_done = True for command in commands: if command == 'up': next_r, next_c = miner_r - 1, miner_c elif command == 'down': next_r, next_c = miner_r + 1, miner_c elif command == 'left': next_r, next_c = miner_r, miner_c - 1 else: next_r, next_c = miner_r, miner_c + 1 if check_valid_cell(next_r, next_c, size): field[miner_r][miner_c] = '*' if field[next_r][next_c] == 'c': coals_collected += 1 if coals_collected == coals_count: print(f"You collected all coals! ({next_r}, {next_c})") is_done = False break elif field[next_r][next_c] == 'e': print(f"Game over! ({next_r}, {next_c})") is_done = False break miner_r, miner_c = next_r, next_c if is_done: print(f"{coals_count - coals_collected} coals left. ({miner_r}, {miner_c})")
def create_matrix(size): matrix = [] for _ in range(size): matrix.append([x for x in input().split()]) return matrix def find_start(matrix, size): for r in range(size): for c in range(size): if matrix[r][c] == 's': return (r, c) def get_coals_count(matrix, size): coals_count = 0 for r in range(size): for c in range(size): if matrix[r][c] == 'c': coals_count += 1 return coals_count def check_valid_cell(row, col, size): return 0 <= row < size and 0 <= col < size size = int(input()) commands = input().split() field = create_matrix(size) (miner_r, miner_c) = find_start(field, size) coals_count = get_coals_count(field, size) coals_collected = 0 is_done = True for command in commands: if command == 'up': (next_r, next_c) = (miner_r - 1, miner_c) elif command == 'down': (next_r, next_c) = (miner_r + 1, miner_c) elif command == 'left': (next_r, next_c) = (miner_r, miner_c - 1) else: (next_r, next_c) = (miner_r, miner_c + 1) if check_valid_cell(next_r, next_c, size): field[miner_r][miner_c] = '*' if field[next_r][next_c] == 'c': coals_collected += 1 if coals_collected == coals_count: print(f'You collected all coals! ({next_r}, {next_c})') is_done = False break elif field[next_r][next_c] == 'e': print(f'Game over! ({next_r}, {next_c})') is_done = False break (miner_r, miner_c) = (next_r, next_c) if is_done: print(f'{coals_count - coals_collected} coals left. ({miner_r}, {miner_c})')
# -*- coding: utf-8 -*- def main(): a, s = map(int, input().split()) if a >= s: print('Congratulations!') else: print('Enjoy another semester...') if __name__ == '__main__': main()
def main(): (a, s) = map(int, input().split()) if a >= s: print('Congratulations!') else: print('Enjoy another semester...') if __name__ == '__main__': main()
''' Edit the program provided so that it receives a series of numbers from the user and allows the user to press the enter key to indicate that he or she is finished providing inputs. After the user presses the enter key, the program should print: The sum of the numbers The average of the numbers An example of the program input and output is shown below: Enter a number or press Enter to quit: 1 Enter a number or press Enter to quit: 2 Enter a number or press Enter to quit: 3 Enter a number or press Enter to quit: The sum is 6.0 The average is 2.0 ''' iteration = 0 theSum = 0.0 data = input("Enter a number: ") while data != "": iteration += 1 number = float(data) theSum += number data = input("Enter the next number: ") print("The sum is", theSum) print("The average is", theSum/ iteration)
""" Edit the program provided so that it receives a series of numbers from the user and allows the user to press the enter key to indicate that he or she is finished providing inputs. After the user presses the enter key, the program should print: The sum of the numbers The average of the numbers An example of the program input and output is shown below: Enter a number or press Enter to quit: 1 Enter a number or press Enter to quit: 2 Enter a number or press Enter to quit: 3 Enter a number or press Enter to quit: The sum is 6.0 The average is 2.0 """ iteration = 0 the_sum = 0.0 data = input('Enter a number: ') while data != '': iteration += 1 number = float(data) the_sum += number data = input('Enter the next number: ') print('The sum is', theSum) print('The average is', theSum / iteration)
# you will learn more about superclass and subclass print("Hello let's start the class") class parents: var1 = "one" var2 = "two" class child(parents): # var1 = "one" # var2 = "two" var2 = "three" obj = parents() cobj = child() print(obj.var1) print(obj.var2) print(cobj.var1) print(cobj.var2)
print("Hello let's start the class") class Parents: var1 = 'one' var2 = 'two' class Child(parents): var2 = 'three' obj = parents() cobj = child() print(obj.var1) print(obj.var2) print(cobj.var1) print(cobj.var2)
def cal(n): k=0 while n>0: k+=(n%10)**5 n//=10 return k sum=0 for i in range(2,1000000): if cal(i)==i: sum+=i print(sum)
def cal(n): k = 0 while n > 0: k += (n % 10) ** 5 n //= 10 return k sum = 0 for i in range(2, 1000000): if cal(i) == i: sum += i print(sum)
books_file = 'books.txt' def create_book_table(): with open(books_file, 'w') as file: pass # just to make sure the file is there def get_all_books(): with open(books_file, 'r') as file: lines = [line.strip().split(',') for line in file.readlines()] return [ {'name': line[0], 'author': line[1], 'read': line[2]} for line in lines ] def add_book(name, author): with open(books_file, 'a') as file: file.write(f'{name},{author},0\n') def _save_all_books(books): with open(books_file, 'w') as file: for book in books: file.write(f"{book['name']},{book['author']},{book['read']}\n") def mark_book_as_read(name): books = get_all_books() for book in books: if book['name'] == name: book['read'] = '1' _save_all_books(books) def delete_book(name): books = get_all_books() books = [book for book in books if book['name'] != name] _save_all_books(books) # def delete_book(name): # for book in books: # if book['name'] == name: # books.remove(book)
books_file = 'books.txt' def create_book_table(): with open(books_file, 'w') as file: pass def get_all_books(): with open(books_file, 'r') as file: lines = [line.strip().split(',') for line in file.readlines()] return [{'name': line[0], 'author': line[1], 'read': line[2]} for line in lines] def add_book(name, author): with open(books_file, 'a') as file: file.write(f'{name},{author},0\n') def _save_all_books(books): with open(books_file, 'w') as file: for book in books: file.write(f"{book['name']},{book['author']},{book['read']}\n") def mark_book_as_read(name): books = get_all_books() for book in books: if book['name'] == name: book['read'] = '1' _save_all_books(books) def delete_book(name): books = get_all_books() books = [book for book in books if book['name'] != name] _save_all_books(books)
def entrance_light(payload): jval = json.loads(payload) if("click" in jval and jval["click"] == "single"): if(lights["Entrance White 1"].on): lights["Entrance White 1"].on = False lights["Entrance White 2"].on = False log.debug("entrance_light> off") else: #command so that it does not go to previous level before adjusting the brightness b.set_light("Entrance White 1", {'on' : True, 'bri' : 255}) b.set_light("Entrance White 2", {'on' : True, 'bri' : 255}) log.debug("entrance_light> on") elif("contact" in jval and jval["contact"] == False): #TODO check brightness here - and diff between coming or going away log.debug("entrance_door>open") else: log.debug("entrance_light>no click") return def double_steps_brightness(light,short_time_brightness,final): b.set_light(light, {'on' : True, 'bri' : short_time_brightness, 'hue':8101, 'sat':194, 'transitiontime' : 30}) log.debug("bedroom_sunrise> fast 3 sec to %d",short_time_brightness) #the rest souldshould catch in 10 min average from 0 to max if(short_time_brightness < 255): brightness_left = int(255 - short_time_brightness) time_left = int(brightness_left * 10 * 60 * 10 / 250) b.set_light(light, {'on' : True, 'bri' : final, 'hue':8101, 'sat':194, 'transitiontime' : time_left}) log.debug("bedroom_sunrise> slow till %d in %d sec",final,time_left/10) return def bedroom_sunrise(payload): jval = json.loads(payload) if("click" in jval and jval["click"] == "single"): if(not lights["Bed Leds Cupboard"].on): current_brightness = 0 short_time_brightness = 1 else: current_brightness = lights["Bed Leds Cupboard"].brightness if(current_brightness < 215): short_time_brightness = current_brightness + 40 else: short_time_brightness = 255 log.debug("beroom_sunrise>current brightness %d",current_brightness) double_steps_brightness("Bed Leds Cupboard",short_time_brightness,255) elif("click" in jval and jval["click"] == "double"): if(not lights["Bed Leds Cupboard"].on): b.set_light(light, {'on' : True, 'bri' : 255, 'hue':8101, 'sat':194}) else: lights["Bed Leds Cupboard"].on = False elif("action" in jval and jval["action"] == "hold"): if(not lights["Bed Leds Cupboard"].on): log.warn("beroom_sunrise>already off nothing to do") else: current_brightness = lights["Bed Leds Cupboard"].brightness if(current_brightness > 41): short_time_brightness = current_brightness - 40 elif(current_brightness > 3): short_time_brightness = 1 else: lights["Bed Leds Cupboard"].on = False log.debug("beroom_sunrise>current brightness %d",current_brightness) double_steps_brightness("Bed Leds Cupboard",short_time_brightness,0) else: log.debug("bedroom_sunrise>no click") return isLightOn = False def night_hunger(payload): global isLightOn sensor = json.loads(payload) if(sensor["occupancy"]): if(sensor["illuminance"] < 30): lights["printer light"].on = True isLightOn = True log.info("Kitchen_Move>switch lights on") else: log.debug("Kitchen_Move>bright no light needed") else: if(isLightOn): lights["printer light"].on = False log.info("Kitchen_Move>switch lights off") isLightOn = False else: log.debug("Kitchen_Move>light is already off") return def stairs_off_callback(): lights["Stairs Up Left"].on = False lights["Stairs Down Right"].on = False log.debug("Stairs - off_callback") return g_stairs_up_light = 0.0 g_stairs_down_light = 0.0 def stairs_up_move(payload): global g_stairs_up_light global g_stairs_down_light #log.debug("stairs_presence : %s"%payload) sensor = json.loads(payload) if("illuminance" in sensor): log.debug("light => %f"%sensor["illuminance"]) g_stairs_up_light = float(sensor["illuminance"]) log.debug("light => stairs up : %f"%g_stairs_up_light) if("occupancy" in sensor): log.debug("presence => %d"%sensor["occupancy"]) if(sensor["occupancy"]): if(g_stairs_up_light < 2): brightness = 254 elif(g_stairs_up_light < 12): brightness = 128 else: brightness = 10 log.debug(f"presence => MotionLight Up - brightness:{brightness}") b.set_light("Stairs Up Left", {'transitiontime' : 30, 'on' : True, 'bri' : brightness}) b.set_light("Stairs Down Right", {'transitiontime' : 10, 'on' : True, 'bri' : int(brightness)}) threading.Timer(60, stairs_off_callback).start() return def stairs_down_move(payload): global g_stairs_up_light global g_stairs_down_light #log.debug("stairs_presence : %s"%payload) sensor = json.loads(payload) if("illuminance" in sensor): log.debug("light => %f"%sensor["illuminance"]) g_stairs_down_light = float(sensor["illuminance"]) log.debug("light => MotionLightHue: %f"%g_stairs_down_light) if("occupancy" in sensor): log.debug("presence => %d"%sensor["occupancy"]) if(sensor["occupancy"]): if(g_stairs_up_light < 2): brightness = 254 elif(g_stairs_up_light < 12): brightness = 128 else: brightness = 10 log.debug(f"presence => MotionLight Down - brightness:{brightness}") b.set_light("Stairs Down Right", {'transitiontime' : 10, 'on' : True, 'bri' : brightness}) b.set_light("Stairs Up Left", {'transitiontime' : 30, 'on' : True, 'bri' : int(brightness)}) threading.Timer(60, stairs_off_callback).start() return def office_alive(payload): global office_last_seen report = json.loads(payload) if("rssi" in report): if(int(report["rssi"]) > -60): log.debug("Office> alive") office_last_seen = time.time() set_office_on() if(office_state): threading.Timer(5, office_off_check).start() return
def entrance_light(payload): jval = json.loads(payload) if 'click' in jval and jval['click'] == 'single': if lights['Entrance White 1'].on: lights['Entrance White 1'].on = False lights['Entrance White 2'].on = False log.debug('entrance_light> off') else: b.set_light('Entrance White 1', {'on': True, 'bri': 255}) b.set_light('Entrance White 2', {'on': True, 'bri': 255}) log.debug('entrance_light> on') elif 'contact' in jval and jval['contact'] == False: log.debug('entrance_door>open') else: log.debug('entrance_light>no click') return def double_steps_brightness(light, short_time_brightness, final): b.set_light(light, {'on': True, 'bri': short_time_brightness, 'hue': 8101, 'sat': 194, 'transitiontime': 30}) log.debug('bedroom_sunrise> fast 3 sec to %d', short_time_brightness) if short_time_brightness < 255: brightness_left = int(255 - short_time_brightness) time_left = int(brightness_left * 10 * 60 * 10 / 250) b.set_light(light, {'on': True, 'bri': final, 'hue': 8101, 'sat': 194, 'transitiontime': time_left}) log.debug('bedroom_sunrise> slow till %d in %d sec', final, time_left / 10) return def bedroom_sunrise(payload): jval = json.loads(payload) if 'click' in jval and jval['click'] == 'single': if not lights['Bed Leds Cupboard'].on: current_brightness = 0 short_time_brightness = 1 else: current_brightness = lights['Bed Leds Cupboard'].brightness if current_brightness < 215: short_time_brightness = current_brightness + 40 else: short_time_brightness = 255 log.debug('beroom_sunrise>current brightness %d', current_brightness) double_steps_brightness('Bed Leds Cupboard', short_time_brightness, 255) elif 'click' in jval and jval['click'] == 'double': if not lights['Bed Leds Cupboard'].on: b.set_light(light, {'on': True, 'bri': 255, 'hue': 8101, 'sat': 194}) else: lights['Bed Leds Cupboard'].on = False elif 'action' in jval and jval['action'] == 'hold': if not lights['Bed Leds Cupboard'].on: log.warn('beroom_sunrise>already off nothing to do') else: current_brightness = lights['Bed Leds Cupboard'].brightness if current_brightness > 41: short_time_brightness = current_brightness - 40 elif current_brightness > 3: short_time_brightness = 1 else: lights['Bed Leds Cupboard'].on = False log.debug('beroom_sunrise>current brightness %d', current_brightness) double_steps_brightness('Bed Leds Cupboard', short_time_brightness, 0) else: log.debug('bedroom_sunrise>no click') return is_light_on = False def night_hunger(payload): global isLightOn sensor = json.loads(payload) if sensor['occupancy']: if sensor['illuminance'] < 30: lights['printer light'].on = True is_light_on = True log.info('Kitchen_Move>switch lights on') else: log.debug('Kitchen_Move>bright no light needed') elif isLightOn: lights['printer light'].on = False log.info('Kitchen_Move>switch lights off') is_light_on = False else: log.debug('Kitchen_Move>light is already off') return def stairs_off_callback(): lights['Stairs Up Left'].on = False lights['Stairs Down Right'].on = False log.debug('Stairs - off_callback') return g_stairs_up_light = 0.0 g_stairs_down_light = 0.0 def stairs_up_move(payload): global g_stairs_up_light global g_stairs_down_light sensor = json.loads(payload) if 'illuminance' in sensor: log.debug('light => %f' % sensor['illuminance']) g_stairs_up_light = float(sensor['illuminance']) log.debug('light => stairs up : %f' % g_stairs_up_light) if 'occupancy' in sensor: log.debug('presence => %d' % sensor['occupancy']) if sensor['occupancy']: if g_stairs_up_light < 2: brightness = 254 elif g_stairs_up_light < 12: brightness = 128 else: brightness = 10 log.debug(f'presence => MotionLight Up - brightness:{brightness}') b.set_light('Stairs Up Left', {'transitiontime': 30, 'on': True, 'bri': brightness}) b.set_light('Stairs Down Right', {'transitiontime': 10, 'on': True, 'bri': int(brightness)}) threading.Timer(60, stairs_off_callback).start() return def stairs_down_move(payload): global g_stairs_up_light global g_stairs_down_light sensor = json.loads(payload) if 'illuminance' in sensor: log.debug('light => %f' % sensor['illuminance']) g_stairs_down_light = float(sensor['illuminance']) log.debug('light => MotionLightHue: %f' % g_stairs_down_light) if 'occupancy' in sensor: log.debug('presence => %d' % sensor['occupancy']) if sensor['occupancy']: if g_stairs_up_light < 2: brightness = 254 elif g_stairs_up_light < 12: brightness = 128 else: brightness = 10 log.debug(f'presence => MotionLight Down - brightness:{brightness}') b.set_light('Stairs Down Right', {'transitiontime': 10, 'on': True, 'bri': brightness}) b.set_light('Stairs Up Left', {'transitiontime': 30, 'on': True, 'bri': int(brightness)}) threading.Timer(60, stairs_off_callback).start() return def office_alive(payload): global office_last_seen report = json.loads(payload) if 'rssi' in report: if int(report['rssi']) > -60: log.debug('Office> alive') office_last_seen = time.time() set_office_on() if office_state: threading.Timer(5, office_off_check).start() return
class Solution: def maxWidthRamp(self, A): result = 0 if not A: return result stack = [] for i, num in enumerate(A): if not stack or A[stack[-1]] > num: stack.append(i) for j in reversed(range(len(A))): while stack and A[stack[-1]] <= A[j]: result = max(result, j - stack.pop()) return result
class Solution: def max_width_ramp(self, A): result = 0 if not A: return result stack = [] for (i, num) in enumerate(A): if not stack or A[stack[-1]] > num: stack.append(i) for j in reversed(range(len(A))): while stack and A[stack[-1]] <= A[j]: result = max(result, j - stack.pop()) return result