content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
class ErroresLexicos(): ''' Parametros: - Descripcion:str Descripcion - linea y columna:numeric linea y columna - clase origen:str Sirve para decir en que clase del patron interprete trono ''' def __init__(self, descripcion, linea, columna, origen): self.descripcion = descripcion self.linea = linea self.columna = columna self.origen = origen ''' ______ _____ _____ ____ _____ | ____| __ \| __ \ / __ \| __ \ | |__ | |__) | |__) | | | | |__) | | __| | _ /| _ /| | | | _ / | |____| | \ \| | \ \| |__| | | \ \ |______|_| \_\_| \_\\____/|_| \_\ Descripcion: '''
class Erroreslexicos: """ Parametros: - Descripcion:str Descripcion - linea y columna:numeric linea y columna - clase origen:str Sirve para decir en que clase del patron interprete trono """ def __init__(self, descripcion, linea, columna, origen): self.descripcion = descripcion self.linea = linea self.columna = columna self.origen = origen '\n ______ _____ _____ ____ _____ \n | ____| __ \\| __ \\ / __ \\| __ \\ \n | |__ | |__) | |__) | | | | |__) |\n | __| | _ /| _ /| | | | _ / \n | |____| | \\ \\| | \\ \\| |__| | | \\ \\ \n |______|_| \\_\\_| \\_\\____/|_| \\_\n Descripcion: \n '
# # PySNMP MIB module CISCO-PORT-CHANNEL-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-PORT-CHANNEL-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:09:40 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, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, ValueRangeConstraint, ConstraintsIntersection, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ConstraintsUnion") ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt") PortMemberList, = mibBuilder.importSymbols("CISCO-ST-TC", "PortMemberList") InterfaceIndex, ifIndex = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance") Unsigned32, ObjectIdentity, IpAddress, iso, Counter32, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, Integer32, TimeTicks, NotificationType, Gauge32, MibIdentifier, ModuleIdentity, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "Unsigned32", "ObjectIdentity", "IpAddress", "iso", "Counter32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "Integer32", "TimeTicks", "NotificationType", "Gauge32", "MibIdentifier", "ModuleIdentity", "Counter64") TimeStamp, RowStatus, DisplayString, TruthValue, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "TimeStamp", "RowStatus", "DisplayString", "TruthValue", "TextualConvention") ciscoPortChannelMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 285)) ciscoPortChannelMIB.setRevisions(('2004-09-13 00:00', '2004-06-08 00:00', '2004-03-11 00:00', '2003-05-28 00:00', '2002-10-02 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ciscoPortChannelMIB.setRevisionsDescriptions(('Added new object portChannelExtOperChannelGrpMode to portChannelExtTable. Changed the SYNTAX of portChannelExtPersistent to INTEGER from TruthValue.', 'Added new tables portChannelGrpIfExtTable and portChannelExtTable. Also, added new object portChannelProtocolEnable.', 'Added portChannelMemberOperStatus to portChannelTable. ', 'Superceeded portChannelMIBCompliances with portChannelMIBCompliances1. Added portChannelAdminChannelMode object to portChannelMIBCompliances1. ', 'Initial version of this MIB module.',)) if mibBuilder.loadTexts: ciscoPortChannelMIB.setLastUpdated('200409130000Z') if mibBuilder.loadTexts: ciscoPortChannelMIB.setOrganization('Cisco Systems Inc.') if mibBuilder.loadTexts: ciscoPortChannelMIB.setContactInfo(' Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553 -NETS E-mail: cs-san@cisco.com') if mibBuilder.loadTexts: ciscoPortChannelMIB.setDescription('The MIB module for management of Port Channel ports. In addition to this MIB, CISCO-FC-FE-MIB and interface mib (rfc2863) will also contain entries for Port Channel ports.') ciscoPortChannelObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 1)) portChannelMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 2)) portChannelConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1)) portChannelStatistics = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 2)) portChannelNotification = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 3)) portChannelNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 3, 0)) class PortChannelMode(TextualConvention, Integer32): description = 'Defines how a Port Channel does channeling. auto(1) - place the port into passive negotiation state, in which the port waits for its peer to initiate negotiation. on(2) - force the port to enable channeling. off(3) - channeling is disabled. desirable(4) - place the port into active negotiating state, in which the port initiates negotiations with its peer and if the peer end agrees, channeling is enabled between them. ' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("auto", 1), ("on", 2), ("off", 3), ("desirable", 4)) class PortChannelGroupMode(TextualConvention, Integer32): description = "Defines how a Port Channel does channeling. on(1) - the port shall operate as part of a port channel or remain inactive. The port channel protocol is turned off and peer port is assumed to be configured in 'on' mode. active(2)- indicates that port shall initiate port channel negotiation with peer port according to the port channel protocol regardless of the channel mode of the peer port." status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("on", 1), ("active", 2)) portChannelTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1), ) if mibBuilder.loadTexts: portChannelTable.setStatus('current') if mibBuilder.loadTexts: portChannelTable.setDescription("This table facilitates the creation and deletion of a Port Channel interface to achieve higher bandwidths than just one E_port. More than one E_port can be a member of an Port Channel port. NOTE:Only E_ports can be members of an Port Channel port. A port is added to a Port Channel port by setting portChannelMemberList,and the 'manner' in which the agent performs the type of addition is determined by the value of portChannelAddType. During the period when port(s) is being added to the Port Channel, the agent will not allow to change any parameters of the port(s) being added. Also if the operation is successful (i.e. port(s) is added to the Port Channel) then also the agent will not allow to change any parameters of the individual port(s) that is added. But any change done to the Port Channel port will also be applied to the port(s) which are member(s) of this Port channel port. Once a port(s) is removed from a Port Channel Port it will retain the values that it had when it was a member of the Port Channel port. It will not have the old values it had before joining the Port Channel port. The port(s) that are added/removed to/from a Port Channel port will be put into administratively down (ifAdminStatus='down') which results into operationally down(ifOperStatus='down'). To bring the port up again, the user has to set the port to be administratively up(ifAdminStatus='up'). Then the port goes through its initialization cycle to become active(ifOperStatus='up'). ") portChannelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1), ).setIndexNames((0, "CISCO-PORT-CHANNEL-MIB", "portChannelIndex")) if mibBuilder.loadTexts: portChannelEntry.setStatus('current') if mibBuilder.loadTexts: portChannelEntry.setDescription('There is one entry in this table for each created Port Channel port. ') portChannelIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2048))) if mibBuilder.loadTexts: portChannelIndex.setStatus('current') if mibBuilder.loadTexts: portChannelIndex.setDescription('An index that uniquely identifies an entry in the portChannelTable table. ') portChannelIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: portChannelIfIndex.setStatus('current') if mibBuilder.loadTexts: portChannelIfIndex.setDescription('The ifIndex of this interface. ') portChannelAdminChannelMode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 3), PortChannelMode().clone('on')).setMaxAccess("readcreate") if mibBuilder.loadTexts: portChannelAdminChannelMode.setStatus('current') if mibBuilder.loadTexts: portChannelAdminChannelMode.setDescription("The channel mode desired by the network manager. If this object is configured to be auto(1), then the 'portChannelOperChannelMode' will show the current operating channel mode of port. ") portChannelOperChannelMode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 4), PortChannelMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: portChannelOperChannelMode.setStatus('current') if mibBuilder.loadTexts: portChannelOperChannelMode.setDescription('The current operating channel mode of the port. ') portChannelAddType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("force", 2))).clone('normal')).setMaxAccess("readcreate") if mibBuilder.loadTexts: portChannelAddType.setStatus('current') if mibBuilder.loadTexts: portChannelAddType.setDescription('The method to be adopted by the agent to add port(s) to a Port Channel port. If normal(1), then a compatibility check is done on the parameters of the port(s) being added to this Port Channel. The port(s) being added must have the same physical and configured parameters as the Port Channel port. If force(2), a compatibility check is done on only physical parameters. The port(s) being added to this Port Channel port must have same physical parameters. The operation will fail only if the physical parameters are not same. The configured parameters of the port(s) being added are overwritten by configured parameters of this Port Channel port. ') portChannelLastActionStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("successful", 1), ("failed", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: portChannelLastActionStatus.setStatus('current') if mibBuilder.loadTexts: portChannelLastActionStatus.setDescription('The status of the last operation (add or remove a member) done to change the member list of a Port Channel Port. When no ports are added or the last operation is successful then this object will be successful(1). If this value is failed(2) then the user can look at portChannelLastAddStatusCause to find the reason of failure. ') portChannelLastActionStatusCause = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 7), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: portChannelLastActionStatusCause.setStatus('current') if mibBuilder.loadTexts: portChannelLastActionStatusCause.setDescription("The cause of failure to last operation (add or remove a member) done to change the member list of a Port Channel port. This object will be zero length string if 'portChannelLastActionStatus' is successful(1). ") portChannelLastActionTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 8), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: portChannelLastActionTime.setStatus('current') if mibBuilder.loadTexts: portChannelLastActionTime.setDescription('The timestamp indicating the time of last action performed on this entry. ') portChannelMemberList = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 9), PortMemberList().clone(hexValue="")).setMaxAccess("readcreate") if mibBuilder.loadTexts: portChannelMemberList.setStatus('current') if mibBuilder.loadTexts: portChannelMemberList.setDescription("The list of ifIndex's of the E_ports that are members of this Port Channel port. ") portChannelCreationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 10), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: portChannelCreationTime.setStatus('current') if mibBuilder.loadTexts: portChannelCreationTime.setDescription("The timestamp of this entry's creation time. Note that at this creation time, a discontinuity occurs in the statistic/error counters which are defined in CISCO-FC-FE-MIB, and which are associated with this Port Channel. ") portChannelRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: portChannelRowStatus.setStatus('current') if mibBuilder.loadTexts: portChannelRowStatus.setDescription('The status of this conceptual row. ') portChannelMemberOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 12), PortMemberList().clone(hexValue="")).setMaxAccess("readonly") if mibBuilder.loadTexts: portChannelMemberOperStatus.setStatus('current') if mibBuilder.loadTexts: portChannelMemberOperStatus.setDescription("The list of port channel forwarding status of the E_ports that are members of this Port Channel port. Every four-byte is a status of the corresponding member port represented by ifIndex in portChannelMemberList. The portChannelMemberOperStatus may not be the same as ifOperStatus. A value of '00 00 00 01' means the corresponding member port is participating in the load balancing of the port channel. A value of '00 00 00 02' means the corresponding member port is not participating in the load balancing of the port channel. ") portChannelProtocolEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: portChannelProtocolEnable.setStatus('current') if mibBuilder.loadTexts: portChannelProtocolEnable.setDescription('Enables/disables Port Channel Protocol. If enabled, Port Channel Protocol provides following features: - detection and correction of mis-configurations of interfaces involved with a Port Channel. - automatic creation of Channel Groups (and therefore Port Channels) if both ends of the links are compatible with each other.') portChannelGrpIfExtTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 3), ) if mibBuilder.loadTexts: portChannelGrpIfExtTable.setStatus('current') if mibBuilder.loadTexts: portChannelGrpIfExtTable.setDescription('This table facilitates Channel Group specific interface configurations.') portChannelGrpIfExtEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: portChannelGrpIfExtEntry.setStatus('current') if mibBuilder.loadTexts: portChannelGrpIfExtEntry.setDescription('There is one entry in this table for each created Port Channel port.') portChannelGrpIfAutoCreation = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 3, 1, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: portChannelGrpIfAutoCreation.setStatus('current') if mibBuilder.loadTexts: portChannelGrpIfAutoCreation.setDescription('This object indicates if this interface may be part of automatically created Channel Groups (and therefore Port Channels).') portChannelExtTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 4), ) if mibBuilder.loadTexts: portChannelExtTable.setStatus('current') if mibBuilder.loadTexts: portChannelExtTable.setDescription('This table extends the portChannelTable to support Port Channel Protocol.') portChannelExtEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 4, 1), ) portChannelEntry.registerAugmentions(("CISCO-PORT-CHANNEL-MIB", "portChannelExtEntry")) portChannelExtEntry.setIndexNames(*portChannelEntry.getIndexNames()) if mibBuilder.loadTexts: portChannelExtEntry.setStatus('current') if mibBuilder.loadTexts: portChannelExtEntry.setDescription('There is one entry in this table for each created Port Channel port. It contains an entry for every Port Channel that is either automatically created or manually configured.') portChannelExtChannelGrpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 4, 1, 1), PortChannelGroupMode()).setMaxAccess("readwrite") if mibBuilder.loadTexts: portChannelExtChannelGrpMode.setStatus('current') if mibBuilder.loadTexts: portChannelExtChannelGrpMode.setDescription('The admin channel group mode of this port channel.') portChannelExtAutoCreated = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 4, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: portChannelExtAutoCreated.setStatus('current') if mibBuilder.loadTexts: portChannelExtAutoCreated.setDescription('Indicates of this port channel was automatically created. Note that this object is valid only for Fibre Channel port channels.') portChannelExtPersistent = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noOp", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: portChannelExtPersistent.setStatus('current') if mibBuilder.loadTexts: portChannelExtPersistent.setDescription("This object converts an auto-created port channel to a persistent port channel when it is set to 'enable'. No action is taken if this object is set to 'noOp'. The value of the object when read is always 'noOp'.") portChannelExtOperChannelGrpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 4, 1, 4), PortChannelGroupMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: portChannelExtOperChannelGrpMode.setStatus('current') if mibBuilder.loadTexts: portChannelExtOperChannelGrpMode.setDescription('The operational channel group mode of this port channel.') portChannelMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 1)) portChannelMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 2)) portChannelMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 1, 1)).setObjects(("CISCO-PORT-CHANNEL-MIB", "portChannelGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): portChannelMIBCompliance = portChannelMIBCompliance.setStatus('deprecated') if mibBuilder.loadTexts: portChannelMIBCompliance.setDescription('The compliance statement for entities which implement the CISCO-PORT-CHANNEL-MIB mib.') portChannelMIBCompliance1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 1, 2)).setObjects(("CISCO-PORT-CHANNEL-MIB", "portChannelGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): portChannelMIBCompliance1 = portChannelMIBCompliance1.setStatus('deprecated') if mibBuilder.loadTexts: portChannelMIBCompliance1.setDescription('The compliance statement for entities which implement the CISCO-PORT-CHANNEL-MIB mib.') portChannelMIBCompliance2 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 1, 3)).setObjects(("CISCO-PORT-CHANNEL-MIB", "portChannelGroup"), ("CISCO-PORT-CHANNEL-MIB", "portChannelGroupRev1")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): portChannelMIBCompliance2 = portChannelMIBCompliance2.setStatus('deprecated') if mibBuilder.loadTexts: portChannelMIBCompliance2.setDescription('The compliance statement for entities which implement the CISCO-PORT-CHANNEL-MIB mib.') portChannelMIBCompliance3 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 1, 4)).setObjects(("CISCO-PORT-CHANNEL-MIB", "portChannelGroup"), ("CISCO-PORT-CHANNEL-MIB", "portChannelGroupRev1"), ("CISCO-PORT-CHANNEL-MIB", "portChannelProtocolGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): portChannelMIBCompliance3 = portChannelMIBCompliance3.setStatus('current') if mibBuilder.loadTexts: portChannelMIBCompliance3.setDescription('The compliance statement for entities which implement the CISCO-PORT-CHANNEL-MIB mib.') portChannelGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 2, 1)).setObjects(("CISCO-PORT-CHANNEL-MIB", "portChannelIfIndex"), ("CISCO-PORT-CHANNEL-MIB", "portChannelAdminChannelMode"), ("CISCO-PORT-CHANNEL-MIB", "portChannelOperChannelMode"), ("CISCO-PORT-CHANNEL-MIB", "portChannelAddType"), ("CISCO-PORT-CHANNEL-MIB", "portChannelLastActionStatus"), ("CISCO-PORT-CHANNEL-MIB", "portChannelLastActionStatusCause"), ("CISCO-PORT-CHANNEL-MIB", "portChannelLastActionTime"), ("CISCO-PORT-CHANNEL-MIB", "portChannelMemberList"), ("CISCO-PORT-CHANNEL-MIB", "portChannelCreationTime"), ("CISCO-PORT-CHANNEL-MIB", "portChannelRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): portChannelGroup = portChannelGroup.setStatus('current') if mibBuilder.loadTexts: portChannelGroup.setDescription('A collection of objects related to Port Channel Interface parameters.') portChannelGroupRev1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 2, 2)).setObjects(("CISCO-PORT-CHANNEL-MIB", "portChannelMemberOperStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): portChannelGroupRev1 = portChannelGroupRev1.setStatus('current') if mibBuilder.loadTexts: portChannelGroupRev1.setDescription('A collection of objects related to Port Channel Interface parameters.') portChannelProtocolGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 2, 3)).setObjects(("CISCO-PORT-CHANNEL-MIB", "portChannelProtocolEnable"), ("CISCO-PORT-CHANNEL-MIB", "portChannelGrpIfAutoCreation"), ("CISCO-PORT-CHANNEL-MIB", "portChannelExtChannelGrpMode"), ("CISCO-PORT-CHANNEL-MIB", "portChannelExtAutoCreated"), ("CISCO-PORT-CHANNEL-MIB", "portChannelExtPersistent"), ("CISCO-PORT-CHANNEL-MIB", "portChannelExtOperChannelGrpMode")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): portChannelProtocolGroup = portChannelProtocolGroup.setStatus('current') if mibBuilder.loadTexts: portChannelProtocolGroup.setDescription('A collection of objects related to Port Channel Protocol mamagement.') mibBuilder.exportSymbols("CISCO-PORT-CHANNEL-MIB", portChannelExtTable=portChannelExtTable, portChannelMIBCompliance1=portChannelMIBCompliance1, portChannelMIBGroups=portChannelMIBGroups, portChannelGroup=portChannelGroup, portChannelLastActionTime=portChannelLastActionTime, portChannelNotification=portChannelNotification, portChannelGrpIfExtEntry=portChannelGrpIfExtEntry, portChannelMIBConformance=portChannelMIBConformance, portChannelMIBCompliance=portChannelMIBCompliance, portChannelMIBCompliance2=portChannelMIBCompliance2, portChannelProtocolGroup=portChannelProtocolGroup, portChannelIndex=portChannelIndex, portChannelNotifications=portChannelNotifications, portChannelMemberList=portChannelMemberList, portChannelCreationTime=portChannelCreationTime, portChannelTable=portChannelTable, portChannelExtOperChannelGrpMode=portChannelExtOperChannelGrpMode, portChannelGrpIfExtTable=portChannelGrpIfExtTable, PortChannelGroupMode=PortChannelGroupMode, portChannelExtEntry=portChannelExtEntry, portChannelMIBCompliance3=portChannelMIBCompliance3, portChannelProtocolEnable=portChannelProtocolEnable, portChannelGroupRev1=portChannelGroupRev1, portChannelAdminChannelMode=portChannelAdminChannelMode, PYSNMP_MODULE_ID=ciscoPortChannelMIB, portChannelMemberOperStatus=portChannelMemberOperStatus, portChannelMIBCompliances=portChannelMIBCompliances, ciscoPortChannelMIB=ciscoPortChannelMIB, portChannelAddType=portChannelAddType, portChannelExtPersistent=portChannelExtPersistent, portChannelOperChannelMode=portChannelOperChannelMode, portChannelIfIndex=portChannelIfIndex, ciscoPortChannelObjects=ciscoPortChannelObjects, portChannelLastActionStatusCause=portChannelLastActionStatusCause, portChannelStatistics=portChannelStatistics, portChannelConfig=portChannelConfig, portChannelEntry=portChannelEntry, portChannelRowStatus=portChannelRowStatus, PortChannelMode=PortChannelMode, portChannelLastActionStatus=portChannelLastActionStatus, portChannelGrpIfAutoCreation=portChannelGrpIfAutoCreation, portChannelExtAutoCreated=portChannelExtAutoCreated, portChannelExtChannelGrpMode=portChannelExtChannelGrpMode)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, value_range_constraint, constraints_intersection, single_value_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ConstraintsUnion') (cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt') (port_member_list,) = mibBuilder.importSymbols('CISCO-ST-TC', 'PortMemberList') (interface_index, if_index) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex', 'ifIndex') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (object_group, notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'NotificationGroup', 'ModuleCompliance') (unsigned32, object_identity, ip_address, iso, counter32, mib_scalar, mib_table, mib_table_row, mib_table_column, bits, integer32, time_ticks, notification_type, gauge32, mib_identifier, module_identity, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'Unsigned32', 'ObjectIdentity', 'IpAddress', 'iso', 'Counter32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits', 'Integer32', 'TimeTicks', 'NotificationType', 'Gauge32', 'MibIdentifier', 'ModuleIdentity', 'Counter64') (time_stamp, row_status, display_string, truth_value, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'TimeStamp', 'RowStatus', 'DisplayString', 'TruthValue', 'TextualConvention') cisco_port_channel_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 285)) ciscoPortChannelMIB.setRevisions(('2004-09-13 00:00', '2004-06-08 00:00', '2004-03-11 00:00', '2003-05-28 00:00', '2002-10-02 00:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ciscoPortChannelMIB.setRevisionsDescriptions(('Added new object portChannelExtOperChannelGrpMode to portChannelExtTable. Changed the SYNTAX of portChannelExtPersistent to INTEGER from TruthValue.', 'Added new tables portChannelGrpIfExtTable and portChannelExtTable. Also, added new object portChannelProtocolEnable.', 'Added portChannelMemberOperStatus to portChannelTable. ', 'Superceeded portChannelMIBCompliances with portChannelMIBCompliances1. Added portChannelAdminChannelMode object to portChannelMIBCompliances1. ', 'Initial version of this MIB module.')) if mibBuilder.loadTexts: ciscoPortChannelMIB.setLastUpdated('200409130000Z') if mibBuilder.loadTexts: ciscoPortChannelMIB.setOrganization('Cisco Systems Inc.') if mibBuilder.loadTexts: ciscoPortChannelMIB.setContactInfo(' Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553 -NETS E-mail: cs-san@cisco.com') if mibBuilder.loadTexts: ciscoPortChannelMIB.setDescription('The MIB module for management of Port Channel ports. In addition to this MIB, CISCO-FC-FE-MIB and interface mib (rfc2863) will also contain entries for Port Channel ports.') cisco_port_channel_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 1)) port_channel_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 2)) port_channel_config = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1)) port_channel_statistics = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 2)) port_channel_notification = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 3)) port_channel_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 3, 0)) class Portchannelmode(TextualConvention, Integer32): description = 'Defines how a Port Channel does channeling. auto(1) - place the port into passive negotiation state, in which the port waits for its peer to initiate negotiation. on(2) - force the port to enable channeling. off(3) - channeling is disabled. desirable(4) - place the port into active negotiating state, in which the port initiates negotiations with its peer and if the peer end agrees, channeling is enabled between them. ' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('auto', 1), ('on', 2), ('off', 3), ('desirable', 4)) class Portchannelgroupmode(TextualConvention, Integer32): description = "Defines how a Port Channel does channeling. on(1) - the port shall operate as part of a port channel or remain inactive. The port channel protocol is turned off and peer port is assumed to be configured in 'on' mode. active(2)- indicates that port shall initiate port channel negotiation with peer port according to the port channel protocol regardless of the channel mode of the peer port." status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('on', 1), ('active', 2)) port_channel_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1)) if mibBuilder.loadTexts: portChannelTable.setStatus('current') if mibBuilder.loadTexts: portChannelTable.setDescription("This table facilitates the creation and deletion of a Port Channel interface to achieve higher bandwidths than just one E_port. More than one E_port can be a member of an Port Channel port. NOTE:Only E_ports can be members of an Port Channel port. A port is added to a Port Channel port by setting portChannelMemberList,and the 'manner' in which the agent performs the type of addition is determined by the value of portChannelAddType. During the period when port(s) is being added to the Port Channel, the agent will not allow to change any parameters of the port(s) being added. Also if the operation is successful (i.e. port(s) is added to the Port Channel) then also the agent will not allow to change any parameters of the individual port(s) that is added. But any change done to the Port Channel port will also be applied to the port(s) which are member(s) of this Port channel port. Once a port(s) is removed from a Port Channel Port it will retain the values that it had when it was a member of the Port Channel port. It will not have the old values it had before joining the Port Channel port. The port(s) that are added/removed to/from a Port Channel port will be put into administratively down (ifAdminStatus='down') which results into operationally down(ifOperStatus='down'). To bring the port up again, the user has to set the port to be administratively up(ifAdminStatus='up'). Then the port goes through its initialization cycle to become active(ifOperStatus='up'). ") port_channel_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1)).setIndexNames((0, 'CISCO-PORT-CHANNEL-MIB', 'portChannelIndex')) if mibBuilder.loadTexts: portChannelEntry.setStatus('current') if mibBuilder.loadTexts: portChannelEntry.setDescription('There is one entry in this table for each created Port Channel port. ') port_channel_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 2048))) if mibBuilder.loadTexts: portChannelIndex.setStatus('current') if mibBuilder.loadTexts: portChannelIndex.setDescription('An index that uniquely identifies an entry in the portChannelTable table. ') port_channel_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 2), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: portChannelIfIndex.setStatus('current') if mibBuilder.loadTexts: portChannelIfIndex.setDescription('The ifIndex of this interface. ') port_channel_admin_channel_mode = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 3), port_channel_mode().clone('on')).setMaxAccess('readcreate') if mibBuilder.loadTexts: portChannelAdminChannelMode.setStatus('current') if mibBuilder.loadTexts: portChannelAdminChannelMode.setDescription("The channel mode desired by the network manager. If this object is configured to be auto(1), then the 'portChannelOperChannelMode' will show the current operating channel mode of port. ") port_channel_oper_channel_mode = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 4), port_channel_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: portChannelOperChannelMode.setStatus('current') if mibBuilder.loadTexts: portChannelOperChannelMode.setDescription('The current operating channel mode of the port. ') port_channel_add_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normal', 1), ('force', 2))).clone('normal')).setMaxAccess('readcreate') if mibBuilder.loadTexts: portChannelAddType.setStatus('current') if mibBuilder.loadTexts: portChannelAddType.setDescription('The method to be adopted by the agent to add port(s) to a Port Channel port. If normal(1), then a compatibility check is done on the parameters of the port(s) being added to this Port Channel. The port(s) being added must have the same physical and configured parameters as the Port Channel port. If force(2), a compatibility check is done on only physical parameters. The port(s) being added to this Port Channel port must have same physical parameters. The operation will fail only if the physical parameters are not same. The configured parameters of the port(s) being added are overwritten by configured parameters of this Port Channel port. ') port_channel_last_action_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('successful', 1), ('failed', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: portChannelLastActionStatus.setStatus('current') if mibBuilder.loadTexts: portChannelLastActionStatus.setDescription('The status of the last operation (add or remove a member) done to change the member list of a Port Channel Port. When no ports are added or the last operation is successful then this object will be successful(1). If this value is failed(2) then the user can look at portChannelLastAddStatusCause to find the reason of failure. ') port_channel_last_action_status_cause = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 7), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: portChannelLastActionStatusCause.setStatus('current') if mibBuilder.loadTexts: portChannelLastActionStatusCause.setDescription("The cause of failure to last operation (add or remove a member) done to change the member list of a Port Channel port. This object will be zero length string if 'portChannelLastActionStatus' is successful(1). ") port_channel_last_action_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 8), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: portChannelLastActionTime.setStatus('current') if mibBuilder.loadTexts: portChannelLastActionTime.setDescription('The timestamp indicating the time of last action performed on this entry. ') port_channel_member_list = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 9), port_member_list().clone(hexValue='')).setMaxAccess('readcreate') if mibBuilder.loadTexts: portChannelMemberList.setStatus('current') if mibBuilder.loadTexts: portChannelMemberList.setDescription("The list of ifIndex's of the E_ports that are members of this Port Channel port. ") port_channel_creation_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 10), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: portChannelCreationTime.setStatus('current') if mibBuilder.loadTexts: portChannelCreationTime.setDescription("The timestamp of this entry's creation time. Note that at this creation time, a discontinuity occurs in the statistic/error counters which are defined in CISCO-FC-FE-MIB, and which are associated with this Port Channel. ") port_channel_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 11), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: portChannelRowStatus.setStatus('current') if mibBuilder.loadTexts: portChannelRowStatus.setDescription('The status of this conceptual row. ') port_channel_member_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 1, 1, 12), port_member_list().clone(hexValue='')).setMaxAccess('readonly') if mibBuilder.loadTexts: portChannelMemberOperStatus.setStatus('current') if mibBuilder.loadTexts: portChannelMemberOperStatus.setDescription("The list of port channel forwarding status of the E_ports that are members of this Port Channel port. Every four-byte is a status of the corresponding member port represented by ifIndex in portChannelMemberList. The portChannelMemberOperStatus may not be the same as ifOperStatus. A value of '00 00 00 01' means the corresponding member port is participating in the load balancing of the port channel. A value of '00 00 00 02' means the corresponding member port is not participating in the load balancing of the port channel. ") port_channel_protocol_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 2), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: portChannelProtocolEnable.setStatus('current') if mibBuilder.loadTexts: portChannelProtocolEnable.setDescription('Enables/disables Port Channel Protocol. If enabled, Port Channel Protocol provides following features: - detection and correction of mis-configurations of interfaces involved with a Port Channel. - automatic creation of Channel Groups (and therefore Port Channels) if both ends of the links are compatible with each other.') port_channel_grp_if_ext_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 3)) if mibBuilder.loadTexts: portChannelGrpIfExtTable.setStatus('current') if mibBuilder.loadTexts: portChannelGrpIfExtTable.setDescription('This table facilitates Channel Group specific interface configurations.') port_channel_grp_if_ext_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 3, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: portChannelGrpIfExtEntry.setStatus('current') if mibBuilder.loadTexts: portChannelGrpIfExtEntry.setDescription('There is one entry in this table for each created Port Channel port.') port_channel_grp_if_auto_creation = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 3, 1, 1), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: portChannelGrpIfAutoCreation.setStatus('current') if mibBuilder.loadTexts: portChannelGrpIfAutoCreation.setDescription('This object indicates if this interface may be part of automatically created Channel Groups (and therefore Port Channels).') port_channel_ext_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 4)) if mibBuilder.loadTexts: portChannelExtTable.setStatus('current') if mibBuilder.loadTexts: portChannelExtTable.setDescription('This table extends the portChannelTable to support Port Channel Protocol.') port_channel_ext_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 4, 1)) portChannelEntry.registerAugmentions(('CISCO-PORT-CHANNEL-MIB', 'portChannelExtEntry')) portChannelExtEntry.setIndexNames(*portChannelEntry.getIndexNames()) if mibBuilder.loadTexts: portChannelExtEntry.setStatus('current') if mibBuilder.loadTexts: portChannelExtEntry.setDescription('There is one entry in this table for each created Port Channel port. It contains an entry for every Port Channel that is either automatically created or manually configured.') port_channel_ext_channel_grp_mode = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 4, 1, 1), port_channel_group_mode()).setMaxAccess('readwrite') if mibBuilder.loadTexts: portChannelExtChannelGrpMode.setStatus('current') if mibBuilder.loadTexts: portChannelExtChannelGrpMode.setDescription('The admin channel group mode of this port channel.') port_channel_ext_auto_created = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 4, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: portChannelExtAutoCreated.setStatus('current') if mibBuilder.loadTexts: portChannelExtAutoCreated.setDescription('Indicates of this port channel was automatically created. Note that this object is valid only for Fibre Channel port channels.') port_channel_ext_persistent = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 4, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noOp', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: portChannelExtPersistent.setStatus('current') if mibBuilder.loadTexts: portChannelExtPersistent.setDescription("This object converts an auto-created port channel to a persistent port channel when it is set to 'enable'. No action is taken if this object is set to 'noOp'. The value of the object when read is always 'noOp'.") port_channel_ext_oper_channel_grp_mode = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 285, 1, 1, 4, 1, 4), port_channel_group_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: portChannelExtOperChannelGrpMode.setStatus('current') if mibBuilder.loadTexts: portChannelExtOperChannelGrpMode.setDescription('The operational channel group mode of this port channel.') port_channel_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 1)) port_channel_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 2)) port_channel_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 1, 1)).setObjects(('CISCO-PORT-CHANNEL-MIB', 'portChannelGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): port_channel_mib_compliance = portChannelMIBCompliance.setStatus('deprecated') if mibBuilder.loadTexts: portChannelMIBCompliance.setDescription('The compliance statement for entities which implement the CISCO-PORT-CHANNEL-MIB mib.') port_channel_mib_compliance1 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 1, 2)).setObjects(('CISCO-PORT-CHANNEL-MIB', 'portChannelGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): port_channel_mib_compliance1 = portChannelMIBCompliance1.setStatus('deprecated') if mibBuilder.loadTexts: portChannelMIBCompliance1.setDescription('The compliance statement for entities which implement the CISCO-PORT-CHANNEL-MIB mib.') port_channel_mib_compliance2 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 1, 3)).setObjects(('CISCO-PORT-CHANNEL-MIB', 'portChannelGroup'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelGroupRev1')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): port_channel_mib_compliance2 = portChannelMIBCompliance2.setStatus('deprecated') if mibBuilder.loadTexts: portChannelMIBCompliance2.setDescription('The compliance statement for entities which implement the CISCO-PORT-CHANNEL-MIB mib.') port_channel_mib_compliance3 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 1, 4)).setObjects(('CISCO-PORT-CHANNEL-MIB', 'portChannelGroup'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelGroupRev1'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelProtocolGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): port_channel_mib_compliance3 = portChannelMIBCompliance3.setStatus('current') if mibBuilder.loadTexts: portChannelMIBCompliance3.setDescription('The compliance statement for entities which implement the CISCO-PORT-CHANNEL-MIB mib.') port_channel_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 2, 1)).setObjects(('CISCO-PORT-CHANNEL-MIB', 'portChannelIfIndex'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelAdminChannelMode'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelOperChannelMode'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelAddType'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelLastActionStatus'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelLastActionStatusCause'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelLastActionTime'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelMemberList'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelCreationTime'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): port_channel_group = portChannelGroup.setStatus('current') if mibBuilder.loadTexts: portChannelGroup.setDescription('A collection of objects related to Port Channel Interface parameters.') port_channel_group_rev1 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 2, 2)).setObjects(('CISCO-PORT-CHANNEL-MIB', 'portChannelMemberOperStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): port_channel_group_rev1 = portChannelGroupRev1.setStatus('current') if mibBuilder.loadTexts: portChannelGroupRev1.setDescription('A collection of objects related to Port Channel Interface parameters.') port_channel_protocol_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 285, 2, 2, 3)).setObjects(('CISCO-PORT-CHANNEL-MIB', 'portChannelProtocolEnable'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelGrpIfAutoCreation'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelExtChannelGrpMode'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelExtAutoCreated'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelExtPersistent'), ('CISCO-PORT-CHANNEL-MIB', 'portChannelExtOperChannelGrpMode')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): port_channel_protocol_group = portChannelProtocolGroup.setStatus('current') if mibBuilder.loadTexts: portChannelProtocolGroup.setDescription('A collection of objects related to Port Channel Protocol mamagement.') mibBuilder.exportSymbols('CISCO-PORT-CHANNEL-MIB', portChannelExtTable=portChannelExtTable, portChannelMIBCompliance1=portChannelMIBCompliance1, portChannelMIBGroups=portChannelMIBGroups, portChannelGroup=portChannelGroup, portChannelLastActionTime=portChannelLastActionTime, portChannelNotification=portChannelNotification, portChannelGrpIfExtEntry=portChannelGrpIfExtEntry, portChannelMIBConformance=portChannelMIBConformance, portChannelMIBCompliance=portChannelMIBCompliance, portChannelMIBCompliance2=portChannelMIBCompliance2, portChannelProtocolGroup=portChannelProtocolGroup, portChannelIndex=portChannelIndex, portChannelNotifications=portChannelNotifications, portChannelMemberList=portChannelMemberList, portChannelCreationTime=portChannelCreationTime, portChannelTable=portChannelTable, portChannelExtOperChannelGrpMode=portChannelExtOperChannelGrpMode, portChannelGrpIfExtTable=portChannelGrpIfExtTable, PortChannelGroupMode=PortChannelGroupMode, portChannelExtEntry=portChannelExtEntry, portChannelMIBCompliance3=portChannelMIBCompliance3, portChannelProtocolEnable=portChannelProtocolEnable, portChannelGroupRev1=portChannelGroupRev1, portChannelAdminChannelMode=portChannelAdminChannelMode, PYSNMP_MODULE_ID=ciscoPortChannelMIB, portChannelMemberOperStatus=portChannelMemberOperStatus, portChannelMIBCompliances=portChannelMIBCompliances, ciscoPortChannelMIB=ciscoPortChannelMIB, portChannelAddType=portChannelAddType, portChannelExtPersistent=portChannelExtPersistent, portChannelOperChannelMode=portChannelOperChannelMode, portChannelIfIndex=portChannelIfIndex, ciscoPortChannelObjects=ciscoPortChannelObjects, portChannelLastActionStatusCause=portChannelLastActionStatusCause, portChannelStatistics=portChannelStatistics, portChannelConfig=portChannelConfig, portChannelEntry=portChannelEntry, portChannelRowStatus=portChannelRowStatus, PortChannelMode=PortChannelMode, portChannelLastActionStatus=portChannelLastActionStatus, portChannelGrpIfAutoCreation=portChannelGrpIfAutoCreation, portChannelExtAutoCreated=portChannelExtAutoCreated, portChannelExtChannelGrpMode=portChannelExtChannelGrpMode)
if __name__ == '__main__': na = int(input()) a = list(map(int,input().split())) nb = int(input()) b = list(map(int, input().split())) if len(a) == na and len(b) == nb: set_a = set(a) set_b = set(b) symmetric_diff = list(set_a.symmetric_difference(set_b)) symmetric_diff.sort() for num in symmetric_diff: print(num) else: print('Number of values entered are not equal to total values to be entered!')
if __name__ == '__main__': na = int(input()) a = list(map(int, input().split())) nb = int(input()) b = list(map(int, input().split())) if len(a) == na and len(b) == nb: set_a = set(a) set_b = set(b) symmetric_diff = list(set_a.symmetric_difference(set_b)) symmetric_diff.sort() for num in symmetric_diff: print(num) else: print('Number of values entered are not equal to total values to be entered!')
__author__ = "Dylan Hamel" __version__ = "0.1" __email__ = "dylan.hamel@protonmail.com" __status__ = "Prototype"
__author__ = 'Dylan Hamel' __version__ = '0.1' __email__ = 'dylan.hamel@protonmail.com' __status__ = 'Prototype'
budget = float(input()) season = input() budget_spent = 0 destination = "" place = "" if budget <= 100: if season == "summer": budget_spent = budget * 0.30 destination = "Bulgaria" place = "Camp" else: budget_spent = budget * 0.70 destination = "Bulgaria" place = "Hotel" elif budget <= 1000: if season == "summer": budget_spent = budget * 0.40 destination = "Balkans" place = "Camp" else: budget_spent = budget * 0.80 destination = "Balkans" place = "Hotel" else: budget_spent = budget * 0.90 destination = "Europe" place = "Hotel" print(f"Somewhere in {destination}") print(f"{place} - {budget_spent:.2f}")
budget = float(input()) season = input() budget_spent = 0 destination = '' place = '' if budget <= 100: if season == 'summer': budget_spent = budget * 0.3 destination = 'Bulgaria' place = 'Camp' else: budget_spent = budget * 0.7 destination = 'Bulgaria' place = 'Hotel' elif budget <= 1000: if season == 'summer': budget_spent = budget * 0.4 destination = 'Balkans' place = 'Camp' else: budget_spent = budget * 0.8 destination = 'Balkans' place = 'Hotel' else: budget_spent = budget * 0.9 destination = 'Europe' place = 'Hotel' print(f'Somewhere in {destination}') print(f'{place} - {budget_spent:.2f}')
def ma_methode(x = 0, y = 0): print(x,y) a = 1 b = 2 ma_methode() ma_methode(a) ma_methode(a,b) y = 10; ma_methode(y) ma_methode(y = 10)
def ma_methode(x=0, y=0): print(x, y) a = 1 b = 2 ma_methode() ma_methode(a) ma_methode(a, b) y = 10 ma_methode(y) ma_methode(y=10)
class TestSettings(object): ETCD_PREFIX = '/config/etcd_settings' ETCD_ENV = 'test' ETCD_HOST = 'etcd' ETCD_PORT = 2379 ETCD_USERNAME = 'test' ETCD_PASSWORD = 'test' ETCD_DETAILS = dict( host='etcd', port=2379, prefix='/config/etcd_settings', username='test', password='test' ) settings = TestSettings()
class Testsettings(object): etcd_prefix = '/config/etcd_settings' etcd_env = 'test' etcd_host = 'etcd' etcd_port = 2379 etcd_username = 'test' etcd_password = 'test' etcd_details = dict(host='etcd', port=2379, prefix='/config/etcd_settings', username='test', password='test') settings = test_settings()
def length_of_longest_substring(s): l, r, max_len = 0, 0, 0 while r < len(s): substring = s[l:r + 1] max_len = max(max_len, len(substring)) if r + 1 < len(s) and s[r + 1] in substring: l += 1 else: r += 1 return max_len def length_of_longest_substring_optimized(s): used = {} max_length = start = 0 for i, c in enumerate(s): if c in used and start <= used[c]: start = used[c] + 1 else: max_length = max(max_length, i - start + 1) used[c] = i return max_length # Test cases: print(length_of_longest_substring_optimized('abcabcbb') == 3) print(length_of_longest_substring('bbbbb') == 1) print(length_of_longest_substring('pwwkew') == 3)
def length_of_longest_substring(s): (l, r, max_len) = (0, 0, 0) while r < len(s): substring = s[l:r + 1] max_len = max(max_len, len(substring)) if r + 1 < len(s) and s[r + 1] in substring: l += 1 else: r += 1 return max_len def length_of_longest_substring_optimized(s): used = {} max_length = start = 0 for (i, c) in enumerate(s): if c in used and start <= used[c]: start = used[c] + 1 else: max_length = max(max_length, i - start + 1) used[c] = i return max_length print(length_of_longest_substring_optimized('abcabcbb') == 3) print(length_of_longest_substring('bbbbb') == 1) print(length_of_longest_substring('pwwkew') == 3)
def aoc(data): total = 0 min, max = data.split("-") for x in [str(x) for x in range(int(min), int(max))]: inc = True double = False for i, d in enumerate(x[1:]): if d < x[i]: inc = False break for i, d in enumerate(x): if d != (" " + x)[i] and d == (x + " ")[i + 1] and d != (x + " ")[i + 2]: double = True if double and inc: total += 1 return total
def aoc(data): total = 0 (min, max) = data.split('-') for x in [str(x) for x in range(int(min), int(max))]: inc = True double = False for (i, d) in enumerate(x[1:]): if d < x[i]: inc = False break for (i, d) in enumerate(x): if d != (' ' + x)[i] and d == (x + ' ')[i + 1] and (d != (x + ' ')[i + 2]): double = True if double and inc: total += 1 return total
def swap_case(s): a="" for i in range(len(s)): if s[i].islower(): a=a+s[i].upper() else: a=a+s[i].lower() return a
def swap_case(s): a = '' for i in range(len(s)): if s[i].islower(): a = a + s[i].upper() else: a = a + s[i].lower() return a
expected_output = { "backbone_fast": False, "bpdu_filter": False, "bpdu_guard": False, "bridge_assurance": True, "configured_pathcost": {"method": "short"}, "etherchannel_misconfig_guard": True, "extended_system_id": True, "loop_guard": False, "mode": { "rapid_pvst": { "VLAN0001": { "blocking": 0, "forwarding": 2, "learning": 0, "listening": 0, "stp_active": 2, }, "VLAN0115": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0116": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0118": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0119": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0121": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0180": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0501": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0502": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0503": { "blocking": 0, "forwarding": 3, "learning": 0, "listening": 0, "stp_active": 3, }, "VLAN0506": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0508": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0509": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0510": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0511": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0512": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0513": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0514": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0515": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0516": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0517": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0518": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0521": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0522": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0540": { "blocking": 0, "forwarding": 3, "learning": 0, "listening": 0, "stp_active": 3, }, "VLAN0601": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0602": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0603": { "blocking": 0, "forwarding": 2, "learning": 0, "listening": 0, "stp_active": 2, }, "VLAN0604": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0606": { "blocking": 0, "forwarding": 2, "learning": 0, "listening": 0, "stp_active": 2, }, "VLAN0701": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0801": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0802": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0803": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0804": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0805": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0806": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN0916": { "blocking": 0, "forwarding": 2, "learning": 0, "listening": 0, "stp_active": 2, }, "VLAN1111": { "blocking": 0, "forwarding": 2, "learning": 0, "listening": 0, "stp_active": 2, }, "VLAN1112": { "blocking": 0, "forwarding": 2, "learning": 0, "listening": 0, "stp_active": 2, }, "VLAN1113": { "blocking": 0, "forwarding": 2, "learning": 0, "listening": 0, "stp_active": 2, }, "VLAN1114": { "blocking": 0, "forwarding": 2, "learning": 0, "listening": 0, "stp_active": 2, }, "VLAN1115": { "blocking": 0, "forwarding": 2, "learning": 0, "listening": 0, "stp_active": 2, }, "VLAN1116": { "blocking": 0, "forwarding": 2, "learning": 0, "listening": 0, "stp_active": 2, }, "VLAN1125": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN1506": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN1509": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, "VLAN1601": { "blocking": 0, "forwarding": 1, "learning": 0, "listening": 0, "stp_active": 1, }, } }, "portfast_default": False, "pvst_simulation": True, "pvst_simulation_status": "inactive", "root_bridge_for": "VLAN0001, VLAN0115-VLAN0116, VLAN0118-VLAN0119, VLAN0121, VLAN0180, VLAN0501-VLAN0503, VLAN0506, VLAN0508-VLAN0518, VLAN0521-VLAN0522, VLAN0540, VLAN0601-VLAN0604, VLAN0606, VLAN0701, VLAN0801-VLAN0806, VLAN1111-VLAN1116, VLAN1506, VLAN1509, VLAN1601", "total_statistics": { "blockings": 0, "forwardings": 62, "learnings": 0, "listenings": 0, "num_of_vlans": 48, "stp_actives": 62, }, "uplink_fast": False, }
expected_output = {'backbone_fast': False, 'bpdu_filter': False, 'bpdu_guard': False, 'bridge_assurance': True, 'configured_pathcost': {'method': 'short'}, 'etherchannel_misconfig_guard': True, 'extended_system_id': True, 'loop_guard': False, 'mode': {'rapid_pvst': {'VLAN0001': {'blocking': 0, 'forwarding': 2, 'learning': 0, 'listening': 0, 'stp_active': 2}, 'VLAN0115': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0116': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0118': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0119': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0121': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0180': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0501': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0502': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0503': {'blocking': 0, 'forwarding': 3, 'learning': 0, 'listening': 0, 'stp_active': 3}, 'VLAN0506': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0508': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0509': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0510': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0511': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0512': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0513': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0514': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0515': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0516': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0517': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0518': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0521': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0522': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0540': {'blocking': 0, 'forwarding': 3, 'learning': 0, 'listening': 0, 'stp_active': 3}, 'VLAN0601': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0602': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0603': {'blocking': 0, 'forwarding': 2, 'learning': 0, 'listening': 0, 'stp_active': 2}, 'VLAN0604': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0606': {'blocking': 0, 'forwarding': 2, 'learning': 0, 'listening': 0, 'stp_active': 2}, 'VLAN0701': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0801': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0802': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0803': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0804': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0805': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0806': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN0916': {'blocking': 0, 'forwarding': 2, 'learning': 0, 'listening': 0, 'stp_active': 2}, 'VLAN1111': {'blocking': 0, 'forwarding': 2, 'learning': 0, 'listening': 0, 'stp_active': 2}, 'VLAN1112': {'blocking': 0, 'forwarding': 2, 'learning': 0, 'listening': 0, 'stp_active': 2}, 'VLAN1113': {'blocking': 0, 'forwarding': 2, 'learning': 0, 'listening': 0, 'stp_active': 2}, 'VLAN1114': {'blocking': 0, 'forwarding': 2, 'learning': 0, 'listening': 0, 'stp_active': 2}, 'VLAN1115': {'blocking': 0, 'forwarding': 2, 'learning': 0, 'listening': 0, 'stp_active': 2}, 'VLAN1116': {'blocking': 0, 'forwarding': 2, 'learning': 0, 'listening': 0, 'stp_active': 2}, 'VLAN1125': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN1506': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN1509': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}, 'VLAN1601': {'blocking': 0, 'forwarding': 1, 'learning': 0, 'listening': 0, 'stp_active': 1}}}, 'portfast_default': False, 'pvst_simulation': True, 'pvst_simulation_status': 'inactive', 'root_bridge_for': 'VLAN0001, VLAN0115-VLAN0116, VLAN0118-VLAN0119, VLAN0121, VLAN0180, VLAN0501-VLAN0503, VLAN0506, VLAN0508-VLAN0518, VLAN0521-VLAN0522, VLAN0540, VLAN0601-VLAN0604, VLAN0606, VLAN0701, VLAN0801-VLAN0806, VLAN1111-VLAN1116, VLAN1506, VLAN1509, VLAN1601', 'total_statistics': {'blockings': 0, 'forwardings': 62, 'learnings': 0, 'listenings': 0, 'num_of_vlans': 48, 'stp_actives': 62}, 'uplink_fast': False}
f = open('pierwsze.txt', 'w') for item in range(2,100+1): for number in range(2,item): if item % number == 0: break else: f.write(str(item)) f.write(" ") f.close()
f = open('pierwsze.txt', 'w') for item in range(2, 100 + 1): for number in range(2, item): if item % number == 0: break else: f.write(str(item)) f.write(' ') f.close()
def maximo (a, b, c): if a>b and a>c: return a elif b>a and b>c: return b elif c>b and c>a: return c else: return a x = int(input("primeiro numero")) y= int( input("Segundo numero")) z = int( input("terceiro numero")) w=maximo(x,y,z) print(w)
def maximo(a, b, c): if a > b and a > c: return a elif b > a and b > c: return b elif c > b and c > a: return c else: return a x = int(input('primeiro numero')) y = int(input('Segundo numero')) z = int(input('terceiro numero')) w = maximo(x, y, z) print(w)
#Grace Kelly 07/03/2018 #Exercise 5 #Read iris data set #Print out four numerical values #Decimal places aligned #Space between columns with open("data/iris.csv") as f: for line in f: print(line.split(',') [:4])
with open('data/iris.csv') as f: for line in f: print(line.split(',')[:4])
# # PySNMP MIB module CISCOSB-rlIP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCOSB-rlIP-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:24:17 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, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ConstraintsUnion, ValueSizeConstraint, ValueRangeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "ValueSizeConstraint", "ValueRangeConstraint", "SingleValueConstraint") switch001, = mibBuilder.importSymbols("CISCOSB-MIB", "switch001") InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") InetAddressPrefixLength, InetAddressType, InetAddress, InetZoneIndex, InetVersion = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressPrefixLength", "InetAddressType", "InetAddress", "InetZoneIndex", "InetVersion") IpAddressStatusTC, IpAddressOriginTC = mibBuilder.importSymbols("IP-MIB", "IpAddressStatusTC", "IpAddressOriginTC") ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") NotificationType, Counter32, IpAddress, mib_2, MibIdentifier, Counter64, Unsigned32, zeroDotZero, TimeTicks, ModuleIdentity, ObjectIdentity, iso, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "Counter32", "IpAddress", "mib-2", "MibIdentifier", "Counter64", "Unsigned32", "zeroDotZero", "TimeTicks", "ModuleIdentity", "ObjectIdentity", "iso", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "Integer32") TestAndIncr, TimeStamp, DisplayString, RowStatus, RowPointer, PhysAddress, TruthValue, TextualConvention, StorageType = mibBuilder.importSymbols("SNMPv2-TC", "TestAndIncr", "TimeStamp", "DisplayString", "RowStatus", "RowPointer", "PhysAddress", "TruthValue", "TextualConvention", "StorageType") rlIp = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250)) rlIp.setRevisions(('2013-06-16 12:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: rlIp.setRevisionsDescriptions(('Initial version of this MIB.',)) if mibBuilder.loadTexts: rlIp.setLastUpdated('201306161200Z') if mibBuilder.loadTexts: rlIp.setOrganization('Cisco Systems, Inc.') if mibBuilder.loadTexts: rlIp.setContactInfo('Postal: 170 West Tasman Drive San Jose , CA 95134-1706 USA Website: Cisco Small Business Support Community <http://www.cisco.com/go/smallbizsupport>') if mibBuilder.loadTexts: rlIp.setDescription('The private MIB module definition for Auto Configured IPv6 Address representation.') class RlIpAddressOriginTC(TextualConvention, Integer32): description = 'The origin of the address. following are same as ipAddressOriginTC in standard MIB: manual(2) indicates that the address was manually configured to a specified address, e.g., by user configuration. dhcp(4) indicates an address that was assigned to this system by a DHCP server. linklayer(5) indicates an address created by IPv6 stateless auto-configuration. random(6) indicates an address chosen by the system at random, e.g., an IPv4 address within 169.254/16, or an RFC 3041 privacy address. following are additional to standard MIB: autoConfig(7) indicates that the address was auto configured configured to a specified address, e.g., not by user configuration. eui64(8) indicates that the address was partially configured configured to a specified address, e.g., address suffix is based on MAC address with EUI-64 representation. tunnelIsatap(9) indicates that the address an ISATATP tunnel representation. tunnelIsatap(10) indicates that the address an 6to4 tunnel representation. tunnelIsatap(11) indicates that the address was partially configured configured to a specified address, e.g., address prefix is preconfigured. ' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 4, 5, 6, 7, 8, 9, 10, 11)) namedValues = NamedValues(("other", 1), ("manual", 2), ("dhcp", 4), ("linklayer", 5), ("random", 6), ("autoConfig", 7), ("eui64", 8), ("tunnelIsatap", 9), ("tunnel6to4", 10), ("generalPrefix", 11)) rlIpAddressTable = MibTable((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1), ) if mibBuilder.loadTexts: rlIpAddressTable.setStatus('current') if mibBuilder.loadTexts: rlIpAddressTable.setDescription("This table contains addressing information relevant to the entity's interfaces. in addition to ipAddressTable defined in standard MIB a represenattion of IPv6 addresses based on additionl address origin such as EUI-64, general prefix etc. In this case the address information is partial address information. Together with the address origin and the general prefix (when needed) user can construct full address information. The index (key) for this table includes this information additionally to the address.") rlIpAddressEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1), ).setIndexNames((0, "CISCOSB-rlIP-MIB", "rlIpAddressAddrType"), (0, "CISCOSB-rlIP-MIB", "rlIpAddressAddr"), (0, "CISCOSB-rlIP-MIB", "rlIpAddressOrigin"), (0, "CISCOSB-rlIP-MIB", "rlIpAddressGeneralPrefixName")) if mibBuilder.loadTexts: rlIpAddressEntry.setStatus('current') if mibBuilder.loadTexts: rlIpAddressEntry.setDescription('An address mapping for a particular interface.') rlIpAddressAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 1), InetAddressType()) if mibBuilder.loadTexts: rlIpAddressAddrType.setStatus('current') if mibBuilder.loadTexts: rlIpAddressAddrType.setDescription('The address type of rlIpAddressAddr.') rlIpAddressAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 2), InetAddress()) if mibBuilder.loadTexts: rlIpAddressAddr.setStatus('current') if mibBuilder.loadTexts: rlIpAddressAddr.setDescription("The IP address to which this entry's addressing information pertains. The address type of this object is specified in rlIpAddressAddrType. In case of auto-configure address such as eui-64, general-prefix and others it contains the partial address before appropriate manipulation. Implementors need to be aware that if the size of rlIpAddressAddr exceeds 116 octets, then OIDS of instances of columns in this row will have more than 128 sub-identifiers and cannot be accessed using SNMPv1, SNMPv2c, or SNMPv3.") rlIpAddressOrigin = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 3), RlIpAddressOriginTC()) if mibBuilder.loadTexts: rlIpAddressOrigin.setStatus('current') if mibBuilder.loadTexts: rlIpAddressOrigin.setDescription('The origin of the address.') rlIpAddressGeneralPrefixName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 4), DisplayString()) if mibBuilder.loadTexts: rlIpAddressGeneralPrefixName.setStatus('current') if mibBuilder.loadTexts: rlIpAddressGeneralPrefixName.setDescription('The name assigned to the prefix.') rlIpAddressIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 5), InterfaceIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlIpAddressIfIndex.setStatus('current') if mibBuilder.loadTexts: rlIpAddressIfIndex.setDescription("The index value that uniquely identifies the interface to which this entry is applicable. The interface identified by a particular value of this index is the same interface as identified by the same value of the IF-MIB's ifIndex.") rlIpAddressExtdType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("unicast", 1), ("anycast", 2), ("broadcast", 3), ("multicast", 4))).clone('unicast')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlIpAddressExtdType.setStatus('current') if mibBuilder.loadTexts: rlIpAddressExtdType.setDescription('Extend standard field ipAddressType to multicast') rlIpAddressPrefix = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 7), RowPointer().clone((0, 0))).setMaxAccess("readonly") if mibBuilder.loadTexts: rlIpAddressPrefix.setStatus('current') if mibBuilder.loadTexts: rlIpAddressPrefix.setDescription('A pointer to the row in the prefix table to which this address belongs. May be { 0 0 } if there is no such row.') rlIpAddressStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 8), IpAddressStatusTC().clone('preferred')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlIpAddressStatus.setStatus('current') if mibBuilder.loadTexts: rlIpAddressStatus.setDescription('The status of the address, describing if the address can be used for communication. In the absence of other information, an IPv4 address is always preferred(1).') rlIpAddressCreated = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlIpAddressCreated.setStatus('current') if mibBuilder.loadTexts: rlIpAddressCreated.setDescription('The value of sysUpTime at the time this entry was created. If this entry was created prior to the last re- initialization of the local network management subsystem, then this object contains a zero value.') rlIpAddressLastChanged = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 10), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlIpAddressLastChanged.setStatus('current') if mibBuilder.loadTexts: rlIpAddressLastChanged.setDescription('The value of sysUpTime at the time this entry was last updated. If this entry was updated prior to the last re- initialization of the local network management subsystem, then this object contains a zero value.') rlIpAddressRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlIpAddressRowStatus.setStatus('current') if mibBuilder.loadTexts: rlIpAddressRowStatus.setDescription('The status of this conceptual row. The RowStatus TC requires that this DESCRIPTION clause states under which circumstances other objects in this row can be modified. The value of this object has no effect on whether other objects in this conceptual row can be modified. A conceptual row can not be made active until the rlIpAddressIfIndex has been set to a valid index.') rlIpAddressStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 12), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlIpAddressStorageType.setStatus('current') if mibBuilder.loadTexts: rlIpAddressStorageType.setDescription("The storage type for this conceptual row. If this object has a value of 'permanent', then no other objects are required to be able to be modified.") rlIpAddressExtdPrefixLength = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 13), InetAddressPrefixLength().clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlIpAddressExtdPrefixLength.setStatus('current') if mibBuilder.loadTexts: rlIpAddressExtdPrefixLength.setDescription('The prefix length of this address.') rlIpAddressCompleteAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 14), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlIpAddressCompleteAddr.setStatus('current') if mibBuilder.loadTexts: rlIpAddressCompleteAddr.setDescription("The Complete IP address to which this entry's addressing information pertains. In case of auto-configure address such as eui-64, general-prefix and others it contains the complete address after appropriate manipulation") mibBuilder.exportSymbols("CISCOSB-rlIP-MIB", rlIpAddressAddr=rlIpAddressAddr, rlIpAddressTable=rlIpAddressTable, RlIpAddressOriginTC=RlIpAddressOriginTC, rlIpAddressEntry=rlIpAddressEntry, rlIpAddressOrigin=rlIpAddressOrigin, rlIpAddressCompleteAddr=rlIpAddressCompleteAddr, rlIpAddressCreated=rlIpAddressCreated, rlIpAddressExtdType=rlIpAddressExtdType, PYSNMP_MODULE_ID=rlIp, rlIpAddressAddrType=rlIpAddressAddrType, rlIpAddressPrefix=rlIpAddressPrefix, rlIpAddressRowStatus=rlIpAddressRowStatus, rlIpAddressIfIndex=rlIpAddressIfIndex, rlIpAddressExtdPrefixLength=rlIpAddressExtdPrefixLength, rlIpAddressStatus=rlIpAddressStatus, rlIp=rlIp, rlIpAddressStorageType=rlIpAddressStorageType, rlIpAddressGeneralPrefixName=rlIpAddressGeneralPrefixName, rlIpAddressLastChanged=rlIpAddressLastChanged)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, constraints_union, value_size_constraint, value_range_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueSizeConstraint', 'ValueRangeConstraint', 'SingleValueConstraint') (switch001,) = mibBuilder.importSymbols('CISCOSB-MIB', 'switch001') (interface_index,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex') (inet_address_prefix_length, inet_address_type, inet_address, inet_zone_index, inet_version) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressPrefixLength', 'InetAddressType', 'InetAddress', 'InetZoneIndex', 'InetVersion') (ip_address_status_tc, ip_address_origin_tc) = mibBuilder.importSymbols('IP-MIB', 'IpAddressStatusTC', 'IpAddressOriginTC') (module_compliance, notification_group, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup', 'ObjectGroup') (notification_type, counter32, ip_address, mib_2, mib_identifier, counter64, unsigned32, zero_dot_zero, time_ticks, module_identity, object_identity, iso, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, bits, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'Counter32', 'IpAddress', 'mib-2', 'MibIdentifier', 'Counter64', 'Unsigned32', 'zeroDotZero', 'TimeTicks', 'ModuleIdentity', 'ObjectIdentity', 'iso', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits', 'Integer32') (test_and_incr, time_stamp, display_string, row_status, row_pointer, phys_address, truth_value, textual_convention, storage_type) = mibBuilder.importSymbols('SNMPv2-TC', 'TestAndIncr', 'TimeStamp', 'DisplayString', 'RowStatus', 'RowPointer', 'PhysAddress', 'TruthValue', 'TextualConvention', 'StorageType') rl_ip = module_identity((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250)) rlIp.setRevisions(('2013-06-16 12:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: rlIp.setRevisionsDescriptions(('Initial version of this MIB.',)) if mibBuilder.loadTexts: rlIp.setLastUpdated('201306161200Z') if mibBuilder.loadTexts: rlIp.setOrganization('Cisco Systems, Inc.') if mibBuilder.loadTexts: rlIp.setContactInfo('Postal: 170 West Tasman Drive San Jose , CA 95134-1706 USA Website: Cisco Small Business Support Community <http://www.cisco.com/go/smallbizsupport>') if mibBuilder.loadTexts: rlIp.setDescription('The private MIB module definition for Auto Configured IPv6 Address representation.') class Rlipaddressorigintc(TextualConvention, Integer32): description = 'The origin of the address. following are same as ipAddressOriginTC in standard MIB: manual(2) indicates that the address was manually configured to a specified address, e.g., by user configuration. dhcp(4) indicates an address that was assigned to this system by a DHCP server. linklayer(5) indicates an address created by IPv6 stateless auto-configuration. random(6) indicates an address chosen by the system at random, e.g., an IPv4 address within 169.254/16, or an RFC 3041 privacy address. following are additional to standard MIB: autoConfig(7) indicates that the address was auto configured configured to a specified address, e.g., not by user configuration. eui64(8) indicates that the address was partially configured configured to a specified address, e.g., address suffix is based on MAC address with EUI-64 representation. tunnelIsatap(9) indicates that the address an ISATATP tunnel representation. tunnelIsatap(10) indicates that the address an 6to4 tunnel representation. tunnelIsatap(11) indicates that the address was partially configured configured to a specified address, e.g., address prefix is preconfigured. ' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 4, 5, 6, 7, 8, 9, 10, 11)) named_values = named_values(('other', 1), ('manual', 2), ('dhcp', 4), ('linklayer', 5), ('random', 6), ('autoConfig', 7), ('eui64', 8), ('tunnelIsatap', 9), ('tunnel6to4', 10), ('generalPrefix', 11)) rl_ip_address_table = mib_table((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1)) if mibBuilder.loadTexts: rlIpAddressTable.setStatus('current') if mibBuilder.loadTexts: rlIpAddressTable.setDescription("This table contains addressing information relevant to the entity's interfaces. in addition to ipAddressTable defined in standard MIB a represenattion of IPv6 addresses based on additionl address origin such as EUI-64, general prefix etc. In this case the address information is partial address information. Together with the address origin and the general prefix (when needed) user can construct full address information. The index (key) for this table includes this information additionally to the address.") rl_ip_address_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1)).setIndexNames((0, 'CISCOSB-rlIP-MIB', 'rlIpAddressAddrType'), (0, 'CISCOSB-rlIP-MIB', 'rlIpAddressAddr'), (0, 'CISCOSB-rlIP-MIB', 'rlIpAddressOrigin'), (0, 'CISCOSB-rlIP-MIB', 'rlIpAddressGeneralPrefixName')) if mibBuilder.loadTexts: rlIpAddressEntry.setStatus('current') if mibBuilder.loadTexts: rlIpAddressEntry.setDescription('An address mapping for a particular interface.') rl_ip_address_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 1), inet_address_type()) if mibBuilder.loadTexts: rlIpAddressAddrType.setStatus('current') if mibBuilder.loadTexts: rlIpAddressAddrType.setDescription('The address type of rlIpAddressAddr.') rl_ip_address_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 2), inet_address()) if mibBuilder.loadTexts: rlIpAddressAddr.setStatus('current') if mibBuilder.loadTexts: rlIpAddressAddr.setDescription("The IP address to which this entry's addressing information pertains. The address type of this object is specified in rlIpAddressAddrType. In case of auto-configure address such as eui-64, general-prefix and others it contains the partial address before appropriate manipulation. Implementors need to be aware that if the size of rlIpAddressAddr exceeds 116 octets, then OIDS of instances of columns in this row will have more than 128 sub-identifiers and cannot be accessed using SNMPv1, SNMPv2c, or SNMPv3.") rl_ip_address_origin = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 3), rl_ip_address_origin_tc()) if mibBuilder.loadTexts: rlIpAddressOrigin.setStatus('current') if mibBuilder.loadTexts: rlIpAddressOrigin.setDescription('The origin of the address.') rl_ip_address_general_prefix_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 4), display_string()) if mibBuilder.loadTexts: rlIpAddressGeneralPrefixName.setStatus('current') if mibBuilder.loadTexts: rlIpAddressGeneralPrefixName.setDescription('The name assigned to the prefix.') rl_ip_address_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 5), interface_index()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlIpAddressIfIndex.setStatus('current') if mibBuilder.loadTexts: rlIpAddressIfIndex.setDescription("The index value that uniquely identifies the interface to which this entry is applicable. The interface identified by a particular value of this index is the same interface as identified by the same value of the IF-MIB's ifIndex.") rl_ip_address_extd_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('unicast', 1), ('anycast', 2), ('broadcast', 3), ('multicast', 4))).clone('unicast')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlIpAddressExtdType.setStatus('current') if mibBuilder.loadTexts: rlIpAddressExtdType.setDescription('Extend standard field ipAddressType to multicast') rl_ip_address_prefix = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 7), row_pointer().clone((0, 0))).setMaxAccess('readonly') if mibBuilder.loadTexts: rlIpAddressPrefix.setStatus('current') if mibBuilder.loadTexts: rlIpAddressPrefix.setDescription('A pointer to the row in the prefix table to which this address belongs. May be { 0 0 } if there is no such row.') rl_ip_address_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 8), ip_address_status_tc().clone('preferred')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlIpAddressStatus.setStatus('current') if mibBuilder.loadTexts: rlIpAddressStatus.setDescription('The status of the address, describing if the address can be used for communication. In the absence of other information, an IPv4 address is always preferred(1).') rl_ip_address_created = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 9), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlIpAddressCreated.setStatus('current') if mibBuilder.loadTexts: rlIpAddressCreated.setDescription('The value of sysUpTime at the time this entry was created. If this entry was created prior to the last re- initialization of the local network management subsystem, then this object contains a zero value.') rl_ip_address_last_changed = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 10), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlIpAddressLastChanged.setStatus('current') if mibBuilder.loadTexts: rlIpAddressLastChanged.setDescription('The value of sysUpTime at the time this entry was last updated. If this entry was updated prior to the last re- initialization of the local network management subsystem, then this object contains a zero value.') rl_ip_address_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 11), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlIpAddressRowStatus.setStatus('current') if mibBuilder.loadTexts: rlIpAddressRowStatus.setDescription('The status of this conceptual row. The RowStatus TC requires that this DESCRIPTION clause states under which circumstances other objects in this row can be modified. The value of this object has no effect on whether other objects in this conceptual row can be modified. A conceptual row can not be made active until the rlIpAddressIfIndex has been set to a valid index.') rl_ip_address_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 12), storage_type().clone('volatile')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlIpAddressStorageType.setStatus('current') if mibBuilder.loadTexts: rlIpAddressStorageType.setDescription("The storage type for this conceptual row. If this object has a value of 'permanent', then no other objects are required to be able to be modified.") rl_ip_address_extd_prefix_length = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 13), inet_address_prefix_length().clone(64)).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlIpAddressExtdPrefixLength.setStatus('current') if mibBuilder.loadTexts: rlIpAddressExtdPrefixLength.setDescription('The prefix length of this address.') rl_ip_address_complete_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 250, 1, 1, 14), inet_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlIpAddressCompleteAddr.setStatus('current') if mibBuilder.loadTexts: rlIpAddressCompleteAddr.setDescription("The Complete IP address to which this entry's addressing information pertains. In case of auto-configure address such as eui-64, general-prefix and others it contains the complete address after appropriate manipulation") mibBuilder.exportSymbols('CISCOSB-rlIP-MIB', rlIpAddressAddr=rlIpAddressAddr, rlIpAddressTable=rlIpAddressTable, RlIpAddressOriginTC=RlIpAddressOriginTC, rlIpAddressEntry=rlIpAddressEntry, rlIpAddressOrigin=rlIpAddressOrigin, rlIpAddressCompleteAddr=rlIpAddressCompleteAddr, rlIpAddressCreated=rlIpAddressCreated, rlIpAddressExtdType=rlIpAddressExtdType, PYSNMP_MODULE_ID=rlIp, rlIpAddressAddrType=rlIpAddressAddrType, rlIpAddressPrefix=rlIpAddressPrefix, rlIpAddressRowStatus=rlIpAddressRowStatus, rlIpAddressIfIndex=rlIpAddressIfIndex, rlIpAddressExtdPrefixLength=rlIpAddressExtdPrefixLength, rlIpAddressStatus=rlIpAddressStatus, rlIp=rlIp, rlIpAddressStorageType=rlIpAddressStorageType, rlIpAddressGeneralPrefixName=rlIpAddressGeneralPrefixName, rlIpAddressLastChanged=rlIpAddressLastChanged)
class Solution: def isPalindrome(self, x: int) -> bool: if x < 0: return False digits = [] while x: digits.append(x % 10) x = int(x / 10) return digits == list(reversed(digits))
class Solution: def is_palindrome(self, x: int) -> bool: if x < 0: return False digits = [] while x: digits.append(x % 10) x = int(x / 10) return digits == list(reversed(digits))
a = float(input()) b = float(input()) c = float(input()) d = float(input()) e = float(input()) f = float(input()) if a == 0 and b == 0 and c == 0 and d == 0 and e == 0 and f == 0: print(5) elif a * d == b * c and a * f != c * e: print(0) elif a == 0 and b == 0 and e != 0: print(0) elif c == 0 and d == 0 and f != 0: print(0) elif a == 0 and c == 0 and b * f != d * e: print(0) elif b == 0 and d == 0 and a * f != c * e: print(0) elif a * d == b * c and a * f == c * e: if b == 0 and d == 0: if a != 0 and c != 0: print(3, e / a) elif a == 0: if e == 0: print(3, f / c) elif c == 0: if f == 0: print(3, e / a) elif a == 0 and c == 0: if b != 0: print(4, e / b) elif d != 0: print(4, f / d) elif b != 0: print(1, -a / b, e / b) elif d != 0: print(1, -c / d, f / d) else: x = (e * d - b * f) / (a * d - b * c) y = (a * f - e * c) / (a * d - b * c) print(2, x, y)
a = float(input()) b = float(input()) c = float(input()) d = float(input()) e = float(input()) f = float(input()) if a == 0 and b == 0 and (c == 0) and (d == 0) and (e == 0) and (f == 0): print(5) elif a * d == b * c and a * f != c * e: print(0) elif a == 0 and b == 0 and (e != 0): print(0) elif c == 0 and d == 0 and (f != 0): print(0) elif a == 0 and c == 0 and (b * f != d * e): print(0) elif b == 0 and d == 0 and (a * f != c * e): print(0) elif a * d == b * c and a * f == c * e: if b == 0 and d == 0: if a != 0 and c != 0: print(3, e / a) elif a == 0: if e == 0: print(3, f / c) elif c == 0: if f == 0: print(3, e / a) elif a == 0 and c == 0: if b != 0: print(4, e / b) elif d != 0: print(4, f / d) elif b != 0: print(1, -a / b, e / b) elif d != 0: print(1, -c / d, f / d) else: x = (e * d - b * f) / (a * d - b * c) y = (a * f - e * c) / (a * d - b * c) print(2, x, y)
class Solution: def sumOfDistancesInTree(self, n: int, edges: List[List[int]]) -> List[int]: graph = collections.defaultdict(set) for u, v in edges: graph[u].add(v) graph[v].add(u) count = [1 for _ in range(n)] ans = [0 for _ in range(n)] def postorder(node = 0, parent = None): for child in graph[node]: if child == parent: continue postorder(child, node) count[node] += count[child] ans[node] += ans[child] + count[child] def inorder(node = 0, parent = None): for child in graph[node]: if child == parent: continue ans[child] = ans[node] - count[child] + n - count[child] inorder(child, node) postorder() inorder() return ans
class Solution: def sum_of_distances_in_tree(self, n: int, edges: List[List[int]]) -> List[int]: graph = collections.defaultdict(set) for (u, v) in edges: graph[u].add(v) graph[v].add(u) count = [1 for _ in range(n)] ans = [0 for _ in range(n)] def postorder(node=0, parent=None): for child in graph[node]: if child == parent: continue postorder(child, node) count[node] += count[child] ans[node] += ans[child] + count[child] def inorder(node=0, parent=None): for child in graph[node]: if child == parent: continue ans[child] = ans[node] - count[child] + n - count[child] inorder(child, node) postorder() inorder() return ans
# # PySNMP MIB module RFC1215-MIB (http://pysnmp.sf.net) # ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( egpNeighAddr, ) = mibBuilder.importSymbols("RFC1213-MIB", "egpNeighAddr") ( NotificationGroup, ModuleCompliance, ) = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") ( Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, MibIdentifier, mib_2, IpAddress, TimeTicks, Counter64, Unsigned32, iso, Gauge32, ModuleIdentity, ObjectIdentity, Bits, Counter32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "MibIdentifier", "mib-2", "IpAddress", "TimeTicks", "Counter64", "Unsigned32", "iso", "Gauge32", "ModuleIdentity", "ObjectIdentity", "Bits", "Counter32") ( DisplayString, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") snmp = MibIdentifier((1, 3, 6, 1, 2, 1, 11)) coldStart = NotificationType((1, 3, 6, 1, 2, 1, 11) + (0,0)).setObjects(*()) warmStart = NotificationType((1, 3, 6, 1, 2, 1, 11) + (0,1)).setObjects(*()) linkDown = NotificationType((1, 3, 6, 1, 2, 1, 11) + (0,2)).setObjects(*(("RFC1215-MIB", "ifIndex"),)) linkUp = NotificationType((1, 3, 6, 1, 2, 1, 11) + (0,3)).setObjects(*(("RFC1215-MIB", "ifIndex"),)) authenticationFailure = NotificationType((1, 3, 6, 1, 2, 1, 11) + (0,4)).setObjects(*()) egpNeighborLoss = NotificationType((1, 3, 6, 1, 2, 1, 11) + (0,5)).setObjects(*(("RFC1215-MIB", "egpNeighAddr"),)) mibBuilder.exportSymbols("RFC1215-MIB", linkDown=linkDown, authenticationFailure=authenticationFailure, warmStart=warmStart, egpNeighborLoss=egpNeighborLoss, snmp=snmp, linkUp=linkUp, coldStart=coldStart)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, single_value_constraint, constraints_intersection, value_size_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ValueRangeConstraint') (if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex') (egp_neigh_addr,) = mibBuilder.importSymbols('RFC1213-MIB', 'egpNeighAddr') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (integer32, mib_scalar, mib_table, mib_table_row, mib_table_column, notification_type, mib_identifier, mib_2, ip_address, time_ticks, counter64, unsigned32, iso, gauge32, module_identity, object_identity, bits, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'NotificationType', 'MibIdentifier', 'mib-2', 'IpAddress', 'TimeTicks', 'Counter64', 'Unsigned32', 'iso', 'Gauge32', 'ModuleIdentity', 'ObjectIdentity', 'Bits', 'Counter32') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') snmp = mib_identifier((1, 3, 6, 1, 2, 1, 11)) cold_start = notification_type((1, 3, 6, 1, 2, 1, 11) + (0, 0)).setObjects(*()) warm_start = notification_type((1, 3, 6, 1, 2, 1, 11) + (0, 1)).setObjects(*()) link_down = notification_type((1, 3, 6, 1, 2, 1, 11) + (0, 2)).setObjects(*(('RFC1215-MIB', 'ifIndex'),)) link_up = notification_type((1, 3, 6, 1, 2, 1, 11) + (0, 3)).setObjects(*(('RFC1215-MIB', 'ifIndex'),)) authentication_failure = notification_type((1, 3, 6, 1, 2, 1, 11) + (0, 4)).setObjects(*()) egp_neighbor_loss = notification_type((1, 3, 6, 1, 2, 1, 11) + (0, 5)).setObjects(*(('RFC1215-MIB', 'egpNeighAddr'),)) mibBuilder.exportSymbols('RFC1215-MIB', linkDown=linkDown, authenticationFailure=authenticationFailure, warmStart=warmStart, egpNeighborLoss=egpNeighborLoss, snmp=snmp, linkUp=linkUp, coldStart=coldStart)
# Deleting tuples my_tuple = ('p', 'r', 'o', 'g', 'r', 'a', 'm', 'i', 'z') # can't delete items # TypeError: 'tuple' object doesn't support item deletion # del my_tuple[3] # Must delete an entire tuple del my_tuple # NameError: name 'my_tuple' is not defined print(my_tuple)
my_tuple = ('p', 'r', 'o', 'g', 'r', 'a', 'm', 'i', 'z') del my_tuple print(my_tuple)
class Solution: def largestSumAfterKNegations(self, A: List[int], K: int) -> int: heapq.heapify(A) for _ in range(K): val = heapq.heappop(A) heapq.heappush(A, -val) return sum(A)
class Solution: def largest_sum_after_k_negations(self, A: List[int], K: int) -> int: heapq.heapify(A) for _ in range(K): val = heapq.heappop(A) heapq.heappush(A, -val) return sum(A)
# Category description for the widget registry NAME = "SRW ESRF Extension" DESCRIPTION = "Widgets for SRW" BACKGROUND = "#969fde" ICON = "icons/esrf2.png" PRIORITY = 204
name = 'SRW ESRF Extension' description = 'Widgets for SRW' background = '#969fde' icon = 'icons/esrf2.png' priority = 204
San_Francisco_polygon = [[37.837174338616975,-122.48725891113281],[37.83364941345965,-122.48485565185547],[37.83093781796035,-122.4814224243164],[37.82415839321614,-122.48004913330078],[37.8203616433087,-122.47970581054688],[37.81059767530207,-122.47798919677734],[37.806122091729485,-122.47627258300781],[37.79215110146845,-122.48039245605469],[37.78726741375342,-122.48519897460938],[37.78618210598413,-122.49927520751953],[37.78645343442073,-122.50614166259766],[37.779127216982424,-122.51232147216797],[37.772614414082014,-122.51163482666016],[37.76121562849642,-122.51197814941406],[37.75171529845649,-122.51060485839844],[37.74329970164702,-122.50957489013672],[37.735969208590504,-122.50717163085938],[37.73081027834234,-122.50717163085938],[37.72293542866175,-122.50682830810547],[37.715331331027045,-122.50442504882812],[37.714244967649265,-122.49893188476562],[37.71940505182832,-122.50030517578125],[37.724564776604836,-122.5030517578125],[37.729724141962045,-122.50167846679688],[37.7324394530424,-122.49549865722656],[37.72918106779786,-122.49378204345703],[37.729724141962045,-122.48828887939453],[37.72782336496339,-122.4807357788086],[37.73271097867418,-122.37945556640625],[37.74520008134973,-122.37533569335938],[37.74655746554895,-122.39112854003906],[37.75008654795525,-122.3873519897461],[37.754972691904946,-122.38391876220703],[37.76148704857093,-122.38597869873047],[37.769629187677005,-122.3876953125],[37.78265474565738,-122.38872528076172],[37.78781006166096,-122.3880386352539],[37.79594930209237,-122.37911224365234],[37.804358908571395,-122.36984252929688],[37.812767557570204,-122.3605728149414],[37.817649559511125,-122.35130310058594],[37.82009043941308,-122.332763671875],[37.823344820392535,-122.30632781982422],[37.8271414168374,-122.30701446533203],[37.824700770115996,-122.31765747070312],[37.82253123860035,-122.33139038085938],[37.8203616433087,-122.34615325927734],[37.81792077237497,-122.35576629638672],[37.81168262440736,-122.3653793334961],[37.803002585189645,-122.37396240234375],[37.790523241426946,-122.3880386352539],[37.79594930209237,-122.39490509033203],[37.80273131752431,-122.39936828613281],[37.80815648152641,-122.40726470947266],[37.80734273233311,-122.42305755615234],[37.807071480609274,-122.43267059326172],[37.80571520704469,-122.44194030761719],[37.80463017025873,-122.45189666748047],[37.80463017025873,-122.464599609375],[37.807071480609274,-122.47421264648438],[37.815208598896255,-122.47695922851562],[37.82768377181359,-122.47798919677734],[37.835276322922695,-122.48004913330078],[37.837174338616975,-122.48725891113281]] Boston_polygon = [[42.32453946380133,-71.13029479980469],[42.32758538845383,-71.0489273071289],[42.330631165629846,-71.03588104248047],[42.33316920061984,-71.02180480957031],[42.339513840022754,-71.02455139160156],[42.3397676122846,-71.04412078857422],[42.34611158596906,-71.02558135986328],[42.356514317057886,-71.02317810058594],[42.348648996207956,-71.00669860839844],[42.35829022102701,-71.00360870361328],[42.353469793490646,-70.99090576171875],[42.36057345238455,-70.98918914794922],[42.363110278811256,-71.00223541259766],[42.37883631647602,-70.99983215332031],[42.37756823359386,-71.00738525390625],[42.37224200585402,-71.01631164550781],[42.37680737157286,-71.02008819580078],[42.381879610913195,-71.015625],[42.38999434161929,-71.00704193115234],[42.40444610741266,-71.00395202636719],[42.40444610741266,-71.13029479980469],[42.32453946380133,-71.13029479980469]] Pittsburgh_polygon = [[40.603526799885884,-80.09445190429688],[40.564937785967224,-80.13427734375],[40.50126945841646,-80.14801025390625],[40.42290582797254,-80.12054443359375],[40.3549167507906,-80.1287841796875],[40.330842639095756,-80.14389038085938],[40.31199603742692,-80.16311645507812],[40.319325896602095,-79.9310302734375],[40.365381076021734,-79.80056762695312],[40.57119697629581,-79.7991943359375],[40.603526799885884,-80.09445190429688]] Greenville_polygon = [[34.96531080784271,-82.44483947753906],[34.946176590087454,-82.44140625],[34.92422301690582,-82.45994567871094],[34.89888467073924,-82.46818542480469],[34.871285134570016,-82.47367858886719],[34.837477162415986,-82.452392578125],[34.83015027082022,-82.54096984863281],[34.820004267650454,-82.53822326660156],[34.829022998858306,-82.45101928710938],[34.8047829195724,-82.44071960449219],[34.79068657192738,-82.44552612304688],[34.770383597610255,-82.47573852539062],[34.76192255039478,-82.47024536132812],[34.784483415461345,-82.44415283203125],[34.7483830709853,-82.31849670410156],[34.71847552413778,-82.25944519042969],[34.72073307506407,-82.24845886230469],[34.75740963726007,-82.28141784667969],[34.77263973038464,-82.26699829101562],[34.83184114982865,-82.28965759277344],[34.86058077988933,-82.24845886230469],[34.86790496256872,-82.25601196289062],[34.839167890957015,-82.30133056640625],[34.86903170200862,-82.34458923339844],[34.96531080784271,-82.44483947753906]] Norfolk_polygon = [[37.00693943418586,-76.32339477539062],[36.98884240936997,-76.31034851074219],[36.982260605282676,-76.30348205566406],[36.96799807635307,-76.30210876464844],[36.95976847846004,-76.27738952636719],[36.953732874654285,-76.2725830078125],[36.94769679250732,-76.28700256347656],[36.95098926024786,-76.29661560058594],[36.95757376878687,-76.30348205566406],[36.95976847846004,-76.31584167480469],[36.9669008480318,-76.32820129394531],[36.90323455156814,-76.32888793945312],[36.91366629380721,-76.31721496582031],[36.90927415514871,-76.28631591796875],[36.89499795802219,-76.28974914550781],[36.901587303978474,-76.30348205566406],[36.90323455156814,-76.31515502929688],[36.874127942666334,-76.32888793945312],[36.8631414329529,-76.30828857421875],[36.849955535919875,-76.32682800292969],[36.856548768788954,-76.34056091308594],[36.82852360193767,-76.33094787597656],[36.820278951308744,-76.34536743164062],[36.81203341240741,-76.34124755859375],[36.83017242546416,-76.28974914550781],[36.79993834872292,-76.2835693359375],[36.80323719192363,-76.19155883789062],[36.84116367417466,-76.19499206542969],[36.82137828938333,-76.1407470703125],[36.82577548376294,-76.04873657226562],[36.84281222525469,-76.04736328125],[36.85160389745116,-76.14280700683594],[36.92739009701458,-76.16065979003906],[36.93726970584893,-76.22039794921875],[36.96799807635307,-76.27670288085938],[36.96854668458301,-76.29592895507812],[36.98390610968992,-76.29936218261719],[37.00693943418586,-76.32339477539062]]
san__francisco_polygon = [[37.837174338616975, -122.48725891113281], [37.83364941345965, -122.48485565185547], [37.83093781796035, -122.4814224243164], [37.82415839321614, -122.48004913330078], [37.8203616433087, -122.47970581054688], [37.81059767530207, -122.47798919677734], [37.806122091729485, -122.47627258300781], [37.79215110146845, -122.48039245605469], [37.78726741375342, -122.48519897460938], [37.78618210598413, -122.49927520751953], [37.78645343442073, -122.50614166259766], [37.779127216982424, -122.51232147216797], [37.772614414082014, -122.51163482666016], [37.76121562849642, -122.51197814941406], [37.75171529845649, -122.51060485839844], [37.74329970164702, -122.50957489013672], [37.735969208590504, -122.50717163085938], [37.73081027834234, -122.50717163085938], [37.72293542866175, -122.50682830810547], [37.715331331027045, -122.50442504882812], [37.714244967649265, -122.49893188476562], [37.71940505182832, -122.50030517578125], [37.724564776604836, -122.5030517578125], [37.729724141962045, -122.50167846679688], [37.7324394530424, -122.49549865722656], [37.72918106779786, -122.49378204345703], [37.729724141962045, -122.48828887939453], [37.72782336496339, -122.4807357788086], [37.73271097867418, -122.37945556640625], [37.74520008134973, -122.37533569335938], [37.74655746554895, -122.39112854003906], [37.75008654795525, -122.3873519897461], [37.754972691904946, -122.38391876220703], [37.76148704857093, -122.38597869873047], [37.769629187677005, -122.3876953125], [37.78265474565738, -122.38872528076172], [37.78781006166096, -122.3880386352539], [37.79594930209237, -122.37911224365234], [37.804358908571395, -122.36984252929688], [37.812767557570204, -122.3605728149414], [37.817649559511125, -122.35130310058594], [37.82009043941308, -122.332763671875], [37.823344820392535, -122.30632781982422], [37.8271414168374, -122.30701446533203], [37.824700770115996, -122.31765747070312], [37.82253123860035, -122.33139038085938], [37.8203616433087, -122.34615325927734], [37.81792077237497, -122.35576629638672], [37.81168262440736, -122.3653793334961], [37.803002585189645, -122.37396240234375], [37.790523241426946, -122.3880386352539], [37.79594930209237, -122.39490509033203], [37.80273131752431, -122.39936828613281], [37.80815648152641, -122.40726470947266], [37.80734273233311, -122.42305755615234], [37.807071480609274, -122.43267059326172], [37.80571520704469, -122.44194030761719], [37.80463017025873, -122.45189666748047], [37.80463017025873, -122.464599609375], [37.807071480609274, -122.47421264648438], [37.815208598896255, -122.47695922851562], [37.82768377181359, -122.47798919677734], [37.835276322922695, -122.48004913330078], [37.837174338616975, -122.48725891113281]] boston_polygon = [[42.32453946380133, -71.13029479980469], [42.32758538845383, -71.0489273071289], [42.330631165629846, -71.03588104248047], [42.33316920061984, -71.02180480957031], [42.339513840022754, -71.02455139160156], [42.3397676122846, -71.04412078857422], [42.34611158596906, -71.02558135986328], [42.356514317057886, -71.02317810058594], [42.348648996207956, -71.00669860839844], [42.35829022102701, -71.00360870361328], [42.353469793490646, -70.99090576171875], [42.36057345238455, -70.98918914794922], [42.363110278811256, -71.00223541259766], [42.37883631647602, -70.99983215332031], [42.37756823359386, -71.00738525390625], [42.37224200585402, -71.01631164550781], [42.37680737157286, -71.02008819580078], [42.381879610913195, -71.015625], [42.38999434161929, -71.00704193115234], [42.40444610741266, -71.00395202636719], [42.40444610741266, -71.13029479980469], [42.32453946380133, -71.13029479980469]] pittsburgh_polygon = [[40.603526799885884, -80.09445190429688], [40.564937785967224, -80.13427734375], [40.50126945841646, -80.14801025390625], [40.42290582797254, -80.12054443359375], [40.3549167507906, -80.1287841796875], [40.330842639095756, -80.14389038085938], [40.31199603742692, -80.16311645507812], [40.319325896602095, -79.9310302734375], [40.365381076021734, -79.80056762695312], [40.57119697629581, -79.7991943359375], [40.603526799885884, -80.09445190429688]] greenville_polygon = [[34.96531080784271, -82.44483947753906], [34.946176590087454, -82.44140625], [34.92422301690582, -82.45994567871094], [34.89888467073924, -82.46818542480469], [34.871285134570016, -82.47367858886719], [34.837477162415986, -82.452392578125], [34.83015027082022, -82.54096984863281], [34.820004267650454, -82.53822326660156], [34.829022998858306, -82.45101928710938], [34.8047829195724, -82.44071960449219], [34.79068657192738, -82.44552612304688], [34.770383597610255, -82.47573852539062], [34.76192255039478, -82.47024536132812], [34.784483415461345, -82.44415283203125], [34.7483830709853, -82.31849670410156], [34.71847552413778, -82.25944519042969], [34.72073307506407, -82.24845886230469], [34.75740963726007, -82.28141784667969], [34.77263973038464, -82.26699829101562], [34.83184114982865, -82.28965759277344], [34.86058077988933, -82.24845886230469], [34.86790496256872, -82.25601196289062], [34.839167890957015, -82.30133056640625], [34.86903170200862, -82.34458923339844], [34.96531080784271, -82.44483947753906]] norfolk_polygon = [[37.00693943418586, -76.32339477539062], [36.98884240936997, -76.31034851074219], [36.982260605282676, -76.30348205566406], [36.96799807635307, -76.30210876464844], [36.95976847846004, -76.27738952636719], [36.953732874654285, -76.2725830078125], [36.94769679250732, -76.28700256347656], [36.95098926024786, -76.29661560058594], [36.95757376878687, -76.30348205566406], [36.95976847846004, -76.31584167480469], [36.9669008480318, -76.32820129394531], [36.90323455156814, -76.32888793945312], [36.91366629380721, -76.31721496582031], [36.90927415514871, -76.28631591796875], [36.89499795802219, -76.28974914550781], [36.901587303978474, -76.30348205566406], [36.90323455156814, -76.31515502929688], [36.874127942666334, -76.32888793945312], [36.8631414329529, -76.30828857421875], [36.849955535919875, -76.32682800292969], [36.856548768788954, -76.34056091308594], [36.82852360193767, -76.33094787597656], [36.820278951308744, -76.34536743164062], [36.81203341240741, -76.34124755859375], [36.83017242546416, -76.28974914550781], [36.79993834872292, -76.2835693359375], [36.80323719192363, -76.19155883789062], [36.84116367417466, -76.19499206542969], [36.82137828938333, -76.1407470703125], [36.82577548376294, -76.04873657226562], [36.84281222525469, -76.04736328125], [36.85160389745116, -76.14280700683594], [36.92739009701458, -76.16065979003906], [36.93726970584893, -76.22039794921875], [36.96799807635307, -76.27670288085938], [36.96854668458301, -76.29592895507812], [36.98390610968992, -76.29936218261719], [37.00693943418586, -76.32339477539062]]
class EmptyQueueError(Exception): pass class DualStructureError(Exception): pass class ConservativeVolumeError(Exception): pass class PmsFluxFacesError(Exception): pass
class Emptyqueueerror(Exception): pass class Dualstructureerror(Exception): pass class Conservativevolumeerror(Exception): pass class Pmsfluxfaceserror(Exception): pass
dias = int(input('Digite os dias: ')) * 60 * 60 * 24 horas = int(input('Digite as horas: ')) * 60 * 60 minutos = int(input('Digite os minutos: ')) * 60 segundos = int(input('Digite os segundos: ')) print ('O total dias em segundos: %d' % dias) print ('O total de horas em segundos: %d' % horas) print ('O total de minutos em segundos: %d' % minutos) print ('O total de segundos: %d' % segundos)
dias = int(input('Digite os dias: ')) * 60 * 60 * 24 horas = int(input('Digite as horas: ')) * 60 * 60 minutos = int(input('Digite os minutos: ')) * 60 segundos = int(input('Digite os segundos: ')) print('O total dias em segundos: %d' % dias) print('O total de horas em segundos: %d' % horas) print('O total de minutos em segundos: %d' % minutos) print('O total de segundos: %d' % segundos)
def apply_formatting_options(func): def wrapper(self, *args, **kwargs): type_config_dict = getattr(self, 'type_config_dict') supplied_key = args[0] supplied_value = args[1] anonymized_value = func(self, supplied_key, supplied_value) if type_config_dict.get('upper'): anonymized_value = anonymized_value.upper() if type_config_dict.get('lower'): anonymized_value = anonymized_value.lower() return anonymized_value return wrapper
def apply_formatting_options(func): def wrapper(self, *args, **kwargs): type_config_dict = getattr(self, 'type_config_dict') supplied_key = args[0] supplied_value = args[1] anonymized_value = func(self, supplied_key, supplied_value) if type_config_dict.get('upper'): anonymized_value = anonymized_value.upper() if type_config_dict.get('lower'): anonymized_value = anonymized_value.lower() return anonymized_value return wrapper
# nlantau, 2021-02-01 a1 = [-1,5,10,20,28,3] a2 = [26,134,135,15,17] sample_output = [28,26] def smallestDifference_passed7outof10(a, b): a.sort() b.sort() res = list() for i in a: t = max(a) + max(b) for j in b: if abs(j-i) < t: t = abs(j-i) res.clear() res.append(i) res.append(j) return res def smallestDifference(a,b): a.sort() b.sort() idx_one = 0 idx_two = 0 smallest = float("inf") curr = float("inf") res = list() while idx_one < len(a) and idx_two < len(b): first = a[idx_one] second = b[idx_two] if first < second: curr = second - first idx_one += 1 elif second < first: curr = first - second idx_two += 1 else: return [first, second] if smallest > curr: smallest = curr res = [first, second] return res print(smallestDifference(a1,a2))
a1 = [-1, 5, 10, 20, 28, 3] a2 = [26, 134, 135, 15, 17] sample_output = [28, 26] def smallest_difference_passed7outof10(a, b): a.sort() b.sort() res = list() for i in a: t = max(a) + max(b) for j in b: if abs(j - i) < t: t = abs(j - i) res.clear() res.append(i) res.append(j) return res def smallest_difference(a, b): a.sort() b.sort() idx_one = 0 idx_two = 0 smallest = float('inf') curr = float('inf') res = list() while idx_one < len(a) and idx_two < len(b): first = a[idx_one] second = b[idx_two] if first < second: curr = second - first idx_one += 1 elif second < first: curr = first - second idx_two += 1 else: return [first, second] if smallest > curr: smallest = curr res = [first, second] return res print(smallest_difference(a1, a2))
if __name__ == "__main__": result = 1 for i in range(100): result *= i + 1 result = str(result) res = 0 for i in result: res += int(i) print("100! = ", res, "\n")
if __name__ == '__main__': result = 1 for i in range(100): result *= i + 1 result = str(result) res = 0 for i in result: res += int(i) print('100! = ', res, '\n')
name = 'therm_PRF.dat' fin = open(name,'r') fout = open(name+'_upper','w') for line in fin: fout.write(line.upper())
name = 'therm_PRF.dat' fin = open(name, 'r') fout = open(name + '_upper', 'w') for line in fin: fout.write(line.upper())
mozilla = [ 'Mozilla/5.0 (Windows; U; Windows NT 6.1; rv:2.2) Gecko/20110201', 'Mozilla/5.0 (Windows; U; Windows NT 6.1; it; rv:2.0b4) Gecko/20100818', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a3pre) Gecko/20070330', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.3) Gecko/20100401 Lightningquail/3.6.3', 'Mozilla/5.0 (X11; ; Linux i686; rv:1.9.2.20) Gecko/20110805', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.13) Gecko/20101203 iPhone', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13; ) Gecko/20101203', 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3) Gecko/20090305', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.9.0.9) Gecko/2009040821', 'Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.8) Gecko/2009032711', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.7) Gecko/2009032803', 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.7) Gecko/2009021910 MEGAUPLOAD 1.0', 'Mozilla/5.0 (Windows; U; BeOS; en-US; rv:1.9.0.7) Gecko/2009021910', 'Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.0.6) Gecko/2009020911', 'Mozilla/5.0 (X11; U; Linux i686; en; rv:1.9.0.6) Gecko/20080528', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020409', 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.3) Gecko/2008092814 (Debian-3.0.1-1)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092816', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008090713', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.2) Gecko Fedora/1.9.0.2-1.fc9', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523', 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.1) Gecko/2008072610', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Ubuntu/8.04 (hardy) (Linux Mint)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-au; rv:1.9.0.1) Gecko/2008070206', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.9) Gecko/2008052906', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050702', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050217', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8b) Gecko/20050217', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b) Gecko/20050217', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a6) Gecko/20050111', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8a5) Gecko/20041122', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a4) Gecko/20040927', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a4) Gecko/20040927', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040817', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a1) Gecko/20040520', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8a1) Gecko/20040520', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1a2) Gecko/20060512', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071022', 'Mozilla/5.001 (X11; U; Linux i686; rv:1.8.1.6; de-ch) Gecko/25250101 (ubuntu-feisty)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070531', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070508 (Debian-1.8.1.4-2ubuntu5)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061201 Mozilla/5.0 (Linux Mint)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 MEGAUPLOAD 1.0 (Ubuntu-feisty)', 'Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1.3) Gecko/20070310', 'Mozilla/5.0 (X11; ; Linux i686; en-US; rv:1.8.1.3) Gecko', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070321', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Mozilla/4.8 [en] (Windows NT 5.1; U)', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; nl-NL; rv:1.8.1.3) Gecko/20080722', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.2pre) Gecko/20070223', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070208', 'Mozilla/5.0 (compatible; Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18) Gecko/20081029', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.8.1.15) Gecko/20080620 Mozilla/4.0', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080313', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.12) Gecko/20080201', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.8.1.11) Gecko/20071127 Mozilla', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071213', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071206', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071127', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Mozilla/5.0 (Debian-2.0.0.1+dfsg-2)', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.1) Gecko/20061204', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.1) Gecko/20061204', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.1) Gecko/20061204', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061206', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 KHTML/3.5.5', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060912 pango-text', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060508', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.14eol) Gecko/20070505 (Debian-1.8.0.15~pre080614d-0etch1)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060126', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8) Gecko/20051111', 'Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7b) Gecko/20040429', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7b) Gecko/20040316', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7b) Gecko/20040421', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050711', 'Mozilla/5.0 (X11; U; Linux x86_64; de-AT; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1', 'Mozilla/5.0 (X11; U; Linux i686; rv:1.7.8) Gecko/20061113 Debian/1.7.8-1sarge8', 'Mozilla/5.0 (X11; U; Linux i686; rv:1.7.8) Gecko/20060904 Debian/1.7.8-1sarge7.2.2', 'Mozilla/5.0 (X11; U; Linux i686; rv:1.7.8) Gecko/20060628 Debian/1.7.8-1sarge7.1', 'Mozilla/5.0 (X11; U; Linux i686; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3', 'Mozilla/5.0 (X11; U; Linux i686; rv:1.7.8) Gecko/20050831 Debian/1.7.8-1sarge2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050921', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050831 Debian/1.7.8-1sarge2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050610', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050512 Red Hat/1.7.8-1.1.3.1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.7.8) Gecko/20050511', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.8) Gecko/20050511', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; fr; rv:1.7.8) Gecko/20050511', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.8) Gecko/20050511 (No IDN)', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.8) Gecko/20050511', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.7) Gecko/20050421', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050427 Red Hat/1.7.7-1.1.3.4', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050420 Debian/1.7.7-2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.7) Gecko/20050415', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.7) Gecko/20050414', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.7) Gecko/20050414', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.7) Gecko/20050414', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Fedora/1.7.6-1.2.5', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050319', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.6) Gecko/20050319', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.6) Gecko/20050319', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050319', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.6) Gecko/20050319', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.6) Gecko/20050319', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/20050319', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.5) Gecko/20041221', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041221', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041013', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.6) Gecko/2009011913 Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.5) Gecko/20041221', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.5) Gecko/20041217', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; cs-CZ; rv:1.7.5) Gecko/20041217', 'Mozilla/5.0 (Windows NT 5.1; U; pt-br; rv:1.7.5) Gecko/20041110', 'Mozilla/5.0 (Windows NT 5.1; U; es-es; rv:1.7.5) Gecko/20041110', 'Mozilla/5.0 (Windows NT 5.1; U; en; rv:1.7.5) Gecko/20041110', 'Mozilla/5.0 (Windows NT 5.1; U; de; rv:1.7.5) Gecko/20041110', 'Mozilla/5.0 (OS/2; U; Warp 4.5; de-DE; rv:1.7.5) Gecko/20050523', 'Mozilla/5.0 (Macintosh; Intel Mac OS X; U; nb; rv:1.7.5) Gecko/20041110', 'Mozilla/5.0 (X11; U; Linux i686; hu; rv:1.7.3) Gecko/20050130', 'Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.3) Gecko/20040913', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Win98; fr; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Win98; de-AT; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; fr; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; es-ES; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7.2) Gecko/20040804', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040906', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040804', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.2) Gecko/20040906', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.2) Gecko/20040810 Debian/1.7.2-2', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.2) Gecko/20040804', 'Mozilla/5.0 (X11; U; FreeBSD i386; ja-JP; rv:1.7.2) Gecko/20050330', 'Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.2) Gecko/20040709', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.7.2) Gecko/20040803', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803', 'Mozilla/5.0 (Windows; U; Win 9x 4.90; de-AT; rv:1.7.2) Gecko/20040803', 'Mozilla/5.0 (Windows; ; Windows NT 5.1; rv:1.7.2) Gecko/20040804', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040803', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.13) Gecko/20060509', 'Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.7.13) Gecko/20060901', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060717 Debian/1.7.13-0.2ubuntu1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060427 Debian/1.7.13-0ubuntu05.04', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417', 'Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.7.13) Gecko/20060417', 'Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20061230', 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.7.13) Gecko/20060414', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.13) Gecko/20060414', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414', 'Mozilla/4.0 (compatible; Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414; Windows NT 5.1)', 'Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7.12) Gecko/20050929', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060607 Debian/1.7.12-1.2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060216 Debian/1.7.12-1.1ubuntu2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205 Debian/1.7.12-1.1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060202 Fedora/1.7.12-1.5.2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051203', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051013 Debian/1.7.12-1ubuntu1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Debian/1.7.12-0ubuntu2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051007 Debian/1.7.12-1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050926', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050923', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921 Red Hat/1.7.12-1.1.3.2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.12) Gecko/20060205 Debian/1.7.12-1.1', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.12) Gecko/20050923 Fedora/1.7.12-1.5.1', 'Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.7.12) Gecko/20050929', 'Mozilla/5.0 (X11; U; Linux i686 (x86_64); fr; rv:1.7.12) Gecko/20051010 Debian/1.7.12-0ubuntu2', 'Mozilla/5.0 (X11; U; AIX 5.3; en-US; rv:1.7.12) Gecko/20051025', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.12) Gecko/20050915', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.11) Gecko/20050802', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050729', 'Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.11) Gecko/20050728 (No IDN)', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Windows; U; Win95; de-AT; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Windows; U; Win 9x 4.90; de-AT; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; fr-FR; rv:1.7.11) Gecko/20050727', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050811 Fedora/1.7.10-1.2.1.legacy', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.10) Gecko/20050727', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.10) Gecko/20050722', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716', 'Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.1) Gecko/20040707', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.1) Gecko/20040707', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.1) Gecko/20040707', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707', 'Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.1) Gecko/20040707', 'Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.7.0.13) Gecko/20060901', 'Mozilla/5.0 (X11; U; SunOS sun4v; en-US; rv:1.7) Gecko/20060120', 'Mozilla/5.0 (X11; U; SunOS sun4u; fr-FR; rv:1.7) Gecko/20040621', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7) Gecko/20060629', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7) Gecko/20060120', 'Mozilla/5.0 (X11; U; SunOS sun4u; de-DE; rv:1.7) Gecko/20070606', 'Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20060627', 'Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20051122', 'Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20051027', 'Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20050502', 'Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20041221', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514', 'Mozilla/5.0 (X11; U; FreeBSD; i386; it-IT; rv:1.7) Gecko', 'Mozilla/5.0 (X11; U; FreeBSD; i386; en-US; rv:1.7) Gecko', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7) Gecko/20040616', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.7) Gecko/20040803 Firefox/0.9.3', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7) Gecko/20040616', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7) Gecko/20040616', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031030', 'Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.6) Gecko/20040115', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.6) Gecko/20040115', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.6) Gecko/20040114', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; hu; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (Photon; U; QNX x86pc; en-US; rv:1.6) Gecko/20040429', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030827', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030718', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030718', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5.1) Gecko/20031120', 'Mozilla/5.0 (X11; U; SunOS5.10 sun4u; ja-JP; rv:1.5) Gecko/20031022', 'Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030916', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030916', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (Windows; U; Win98; de-AT; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (Windows; U; WinNT4.0; it-IT; rv:1.4b) Gecko/20030507', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4b) Gecko/20030507', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030427', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4a) Gecko/20030318', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4a) Gecko/20030401', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.4a) Gecko/20030401', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030401', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4a) Gecko/20030401', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4a) Gecko/20030401', 'Mozilla/5.0 (X11; U; IRIX64 IP35; en-US; rv:1.4.3) Gecko/20040909', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040220', 'Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.4.1) Gecko/20031114', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20040406', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4.1) Gecko/20031008', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4) Gecko/20041224', 'Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.4) Gecko/20030714 Debian/1.4-2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030908 Debian/1.4-4', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030828', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030827 Debian/1.4-3', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030818', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030723', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4) Gecko/20030908 Debian/1.4-4', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4) Gecko/20030812', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4) Gecko/20030624', 'Mozilla/5.0 (X11; U; Linux i586; de-AT; rv:1.4) Gecko/20030908 Debian/1.4-4', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.4) Gecko/20030624', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.4) Gecko/20030624', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030612', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030529', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030125', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20021213', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.3b) Gecko/20030210', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.3b) Gecko/20030210', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030204', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.3b) Gecko/20030210', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3b) Gecko/20030210', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3a) Gecko/20021212', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021212', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.3a) Gecko/20021212', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.3a) Gecko/20021212', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3a) Gecko/20021212', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3.1) Gecko/20030509', 'Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.3.1) Gecko', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030425', 'Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.3.1) Gecko/20030425', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.3.1) Gecko/20030425', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3.1) Gecko/20030425', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.3.1) Gecko/20030425', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3.1) Gecko/20030425', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3) Gecko/20030318', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030523', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030413', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030401', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030327 Debian/1.3-4', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030326', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030320', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.3) Gecko/20030430 Debian/1.3-5', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.3) Gecko/20030327 Debian/1.3-4', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.3) Gecko/20030321', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.2.1) Gecko/20030711', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.2.1) Gecko/20021217', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.2.1) Gecko/20021212', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.2.1) Gecko/20021205', 'Mozilla/5.0 (X11; U; Linux i686;en-US; rv:1.2.1) Gecko/20030225', 'Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.2.1) Gecko/20030225', 'Mozilla/5.0 (X11; U; Linux i686; es-AR; rv:1.2.1) Gecko/20021130', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030427', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030409 Debian/1.2.1-9woody2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030113', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021213 Debian/1.2.1-2.bunk', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021208 Debian/1.2.1-2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021204', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021203', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2.1) Gecko/20021204', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2.1) Gecko/20021130', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2.1) Gecko/20021204', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021202', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021126', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2) Gecko/20021203', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2) Gecko/20050223', 'Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.2) Gecko/20021203', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.2) Gecko/20021126', 'Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.2) Gecko/20021126', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2) Gecko/20021126', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2) Gecko/20021126', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.2) Gecko/20021126', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2) Gecko/20021126', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020722', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020721', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.1b) Gecko/20020721', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a) Gecko/20020610', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1a) Gecko/20020611', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020611', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1a) Gecko/20020611', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.1a) Gecko/20020610', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1a) Gecko/20020611', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020611', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020925', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020909', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020827', 'Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.1) Gecko/20020927', 'Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020829', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020828', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.1) Gecko/20020913 Debian/1.1-1', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021223', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc3) Gecko/20020529 Debian/1.0rc3-1', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc3) Gecko/20020523', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0rc3) Gecko/20020523', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510', 'Mozilla/5.0 (X11; U; AIX 005A471A4C00; en-US; rv:1.0rc2) Gecko/20020514', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0rc2) Gecko/20020510', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc2) Gecko/20020510', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0rc2) Gecko/20020510', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc1) Gecko/20020417', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030716', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.0.2) Gecko/20030208', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021216', 'Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.0.2) Gecko/20021216', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021203', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021122 Debian/1.0.1-2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021110', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020919', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020912', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020815', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.0) Gecko/20020611', 'Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.0.0) Gecko/20020622 Debian/1.0.0-0.woody.1', 'Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20021004', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020612', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020605', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.0.0) Gecko/20020615 Debian/1.0.0-3', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1', 'Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.0.0) Gecko/20020605', 'Mozilla/5.0 (Windows; U; WinNT4.0; fr-FR; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020509', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020423', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020313', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.9) Gecko/20020513', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.9) Gecko/20020311', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:0.9.8) Gecko/20020204', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:0.9.8) Gecko/20020204', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7) Gecko/20011221', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011202', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.5) Gecko/20011011', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.5) Gecko/20011011', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010923', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801', 'Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.3) Gecko/20010802', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010809', 'Mozilla/5.001 (Macintosh; N; PPC; ja) Gecko/25250101' ]
mozilla = ['Mozilla/5.0 (Windows; U; Windows NT 6.1; rv:2.2) Gecko/20110201', 'Mozilla/5.0 (Windows; U; Windows NT 6.1; it; rv:2.0b4) Gecko/20100818', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a3pre) Gecko/20070330', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.3) Gecko/20100401 Lightningquail/3.6.3', 'Mozilla/5.0 (X11; ; Linux i686; rv:1.9.2.20) Gecko/20110805', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.13) Gecko/20101203 iPhone', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13; ) Gecko/20101203', 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3) Gecko/20090305', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.9.0.9) Gecko/2009040821', 'Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.8) Gecko/2009032711', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.7) Gecko/2009032803', 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.7) Gecko/2009021910 MEGAUPLOAD 1.0', 'Mozilla/5.0 (Windows; U; BeOS; en-US; rv:1.9.0.7) Gecko/2009021910', 'Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.0.6) Gecko/2009020911', 'Mozilla/5.0 (X11; U; Linux i686; en; rv:1.9.0.6) Gecko/20080528', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020409', 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.3) Gecko/2008092814 (Debian-3.0.1-1)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092816', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008090713', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.2) Gecko Fedora/1.9.0.2-1.fc9', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523', 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.1) Gecko/2008072610', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Ubuntu/8.04 (hardy) (Linux Mint)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-au; rv:1.9.0.1) Gecko/2008070206', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.9) Gecko/2008052906', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050702', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050217', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8b) Gecko/20050217', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b) Gecko/20050217', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a6) Gecko/20050111', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8a5) Gecko/20041122', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a4) Gecko/20040927', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a4) Gecko/20040927', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040817', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a1) Gecko/20040520', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8a1) Gecko/20040520', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1a2) Gecko/20060512', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071022', 'Mozilla/5.001 (X11; U; Linux i686; rv:1.8.1.6; de-ch) Gecko/25250101 (ubuntu-feisty)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070531', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070508 (Debian-1.8.1.4-2ubuntu5)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061201 Mozilla/5.0 (Linux Mint)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 MEGAUPLOAD 1.0 (Ubuntu-feisty)', 'Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1.3) Gecko/20070310', 'Mozilla/5.0 (X11; ; Linux i686; en-US; rv:1.8.1.3) Gecko', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070321', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Mozilla/4.8 [en] (Windows NT 5.1; U)', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; nl-NL; rv:1.8.1.3) Gecko/20080722', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.2pre) Gecko/20070223', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070208', 'Mozilla/5.0 (compatible; Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18) Gecko/20081029', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.8.1.15) Gecko/20080620 Mozilla/4.0', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080313', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.12) Gecko/20080201', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.8.1.11) Gecko/20071127 Mozilla', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071213', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071206', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071127', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Mozilla/5.0 (Debian-2.0.0.1+dfsg-2)', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.1) Gecko/20061204', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.1) Gecko/20061204', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.1) Gecko/20061204', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061206', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 KHTML/3.5.5', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060912 pango-text', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060508', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.14eol) Gecko/20070505 (Debian-1.8.0.15~pre080614d-0etch1)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060126', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8) Gecko/20051111', 'Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7b) Gecko/20040429', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7b) Gecko/20040316', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7b) Gecko/20040421', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050711', 'Mozilla/5.0 (X11; U; Linux x86_64; de-AT; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1', 'Mozilla/5.0 (X11; U; Linux i686; rv:1.7.8) Gecko/20061113 Debian/1.7.8-1sarge8', 'Mozilla/5.0 (X11; U; Linux i686; rv:1.7.8) Gecko/20060904 Debian/1.7.8-1sarge7.2.2', 'Mozilla/5.0 (X11; U; Linux i686; rv:1.7.8) Gecko/20060628 Debian/1.7.8-1sarge7.1', 'Mozilla/5.0 (X11; U; Linux i686; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3', 'Mozilla/5.0 (X11; U; Linux i686; rv:1.7.8) Gecko/20050831 Debian/1.7.8-1sarge2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050921', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050831 Debian/1.7.8-1sarge2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050610', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050512 Red Hat/1.7.8-1.1.3.1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.7.8) Gecko/20050511', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.8) Gecko/20050511', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; fr; rv:1.7.8) Gecko/20050511', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.8) Gecko/20050511 (No IDN)', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.8) Gecko/20050511', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.7) Gecko/20050421', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050427 Red Hat/1.7.7-1.1.3.4', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050420 Debian/1.7.7-2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.7) Gecko/20050415', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.7) Gecko/20050414', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.7) Gecko/20050414', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.7) Gecko/20050414', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Fedora/1.7.6-1.2.5', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050319', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.6) Gecko/20050319', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.6) Gecko/20050319', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050319', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.6) Gecko/20050319', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.6) Gecko/20050319', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/20050319', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.5) Gecko/20041221', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041221', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041013', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.6) Gecko/2009011913 Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.5) Gecko/20041221', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.5) Gecko/20041217', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; cs-CZ; rv:1.7.5) Gecko/20041217', 'Mozilla/5.0 (Windows NT 5.1; U; pt-br; rv:1.7.5) Gecko/20041110', 'Mozilla/5.0 (Windows NT 5.1; U; es-es; rv:1.7.5) Gecko/20041110', 'Mozilla/5.0 (Windows NT 5.1; U; en; rv:1.7.5) Gecko/20041110', 'Mozilla/5.0 (Windows NT 5.1; U; de; rv:1.7.5) Gecko/20041110', 'Mozilla/5.0 (OS/2; U; Warp 4.5; de-DE; rv:1.7.5) Gecko/20050523', 'Mozilla/5.0 (Macintosh; Intel Mac OS X; U; nb; rv:1.7.5) Gecko/20041110', 'Mozilla/5.0 (X11; U; Linux i686; hu; rv:1.7.3) Gecko/20050130', 'Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.3) Gecko/20040913', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Win98; fr; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Windows; U; Win98; de-AT; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; fr; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; es-ES; rv:1.7.3) Gecko/20040910', 'Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7.2) Gecko/20040804', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040906', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040804', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.2) Gecko/20040906', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.2) Gecko/20040810 Debian/1.7.2-2', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.2) Gecko/20040804', 'Mozilla/5.0 (X11; U; FreeBSD i386; ja-JP; rv:1.7.2) Gecko/20050330', 'Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.2) Gecko/20040709', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.7.2) Gecko/20040803', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803', 'Mozilla/5.0 (Windows; U; Win 9x 4.90; de-AT; rv:1.7.2) Gecko/20040803', 'Mozilla/5.0 (Windows; ; Windows NT 5.1; rv:1.7.2) Gecko/20040804', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040803', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.13) Gecko/20060509', 'Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.7.13) Gecko/20060901', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060717 Debian/1.7.13-0.2ubuntu1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060427 Debian/1.7.13-0ubuntu05.04', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417', 'Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.7.13) Gecko/20060417', 'Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20061230', 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.7.13) Gecko/20060414', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.13) Gecko/20060414', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414', 'Mozilla/4.0 (compatible; Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414; Windows NT 5.1)', 'Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7.12) Gecko/20050929', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060607 Debian/1.7.12-1.2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060216 Debian/1.7.12-1.1ubuntu2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205 Debian/1.7.12-1.1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060202 Fedora/1.7.12-1.5.2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051203', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051013 Debian/1.7.12-1ubuntu1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Debian/1.7.12-0ubuntu2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051007 Debian/1.7.12-1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050926', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050923', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921 Red Hat/1.7.12-1.1.3.2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.12) Gecko/20060205 Debian/1.7.12-1.1', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.12) Gecko/20050923 Fedora/1.7.12-1.5.1', 'Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.7.12) Gecko/20050929', 'Mozilla/5.0 (X11; U; Linux i686 (x86_64); fr; rv:1.7.12) Gecko/20051010 Debian/1.7.12-0ubuntu2', 'Mozilla/5.0 (X11; U; AIX 5.3; en-US; rv:1.7.12) Gecko/20051025', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.12) Gecko/20050915', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.11) Gecko/20050802', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050729', 'Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.11) Gecko/20050728 (No IDN)', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Windows; U; Win95; de-AT; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Windows; U; Win 9x 4.90; de-AT; rv:1.7.11) Gecko/20050728', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; fr-FR; rv:1.7.11) Gecko/20050727', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050811 Fedora/1.7.10-1.2.1.legacy', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.10) Gecko/20050727', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.10) Gecko/20050722', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716', 'Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.1) Gecko/20040707', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.1) Gecko/20040707', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.1) Gecko/20040707', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707', 'Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.1) Gecko/20040707', 'Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.7.0.13) Gecko/20060901', 'Mozilla/5.0 (X11; U; SunOS sun4v; en-US; rv:1.7) Gecko/20060120', 'Mozilla/5.0 (X11; U; SunOS sun4u; fr-FR; rv:1.7) Gecko/20040621', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7) Gecko/20060629', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7) Gecko/20060120', 'Mozilla/5.0 (X11; U; SunOS sun4u; de-DE; rv:1.7) Gecko/20070606', 'Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20060627', 'Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20051122', 'Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20051027', 'Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20050502', 'Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20041221', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514', 'Mozilla/5.0 (X11; U; FreeBSD; i386; it-IT; rv:1.7) Gecko', 'Mozilla/5.0 (X11; U; FreeBSD; i386; en-US; rv:1.7) Gecko', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7) Gecko/20040616', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.7) Gecko/20040803 Firefox/0.9.3', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7) Gecko/20040616', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7) Gecko/20040616', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031030', 'Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.6) Gecko/20040115', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.6) Gecko/20040115', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.6) Gecko/20040114', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; hu; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (Photon; U; QNX x86pc; en-US; rv:1.6) Gecko/20040429', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030827', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030718', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030718', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5.1) Gecko/20031120', 'Mozilla/5.0 (X11; U; SunOS5.10 sun4u; ja-JP; rv:1.5) Gecko/20031022', 'Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030916', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030916', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (Windows; U; Win98; de-AT; rv:1.5) Gecko/20031007', 'Mozilla/5.0 (Windows; U; WinNT4.0; it-IT; rv:1.4b) Gecko/20030507', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4b) Gecko/20030507', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030427', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4a) Gecko/20030318', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4a) Gecko/20030401', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.4a) Gecko/20030401', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030401', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4a) Gecko/20030401', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4a) Gecko/20030401', 'Mozilla/5.0 (X11; U; IRIX64 IP35; en-US; rv:1.4.3) Gecko/20040909', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040220', 'Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.4.1) Gecko/20031114', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20040406', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4.1) Gecko/20031008', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4) Gecko/20041224', 'Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.4) Gecko/20030714 Debian/1.4-2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030908 Debian/1.4-4', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030828', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030827 Debian/1.4-3', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030818', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030723', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4) Gecko/20030908 Debian/1.4-4', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4) Gecko/20030812', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4) Gecko/20030624', 'Mozilla/5.0 (X11; U; Linux i586; de-AT; rv:1.4) Gecko/20030908 Debian/1.4-4', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.4) Gecko/20030624', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.4) Gecko/20030624', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030612', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030529', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030125', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20021213', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.3b) Gecko/20030210', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.3b) Gecko/20030210', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030204', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.3b) Gecko/20030210', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3b) Gecko/20030210', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3a) Gecko/20021212', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021212', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.3a) Gecko/20021212', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.3a) Gecko/20021212', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3a) Gecko/20021212', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3.1) Gecko/20030509', 'Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.3.1) Gecko', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030425', 'Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.3.1) Gecko/20030425', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.3.1) Gecko/20030425', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3.1) Gecko/20030425', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.3.1) Gecko/20030425', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3.1) Gecko/20030425', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3) Gecko/20030318', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030523', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030413', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030401', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030327 Debian/1.3-4', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030326', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030320', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.3) Gecko/20030430 Debian/1.3-5', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.3) Gecko/20030327 Debian/1.3-4', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.3) Gecko/20030321', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3) Gecko/20030312', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021016', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.2a) Gecko/20020910', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.2.1) Gecko/20030711', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.2.1) Gecko/20021217', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.2.1) Gecko/20021212', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.2.1) Gecko/20021205', 'Mozilla/5.0 (X11; U; Linux i686;en-US; rv:1.2.1) Gecko/20030225', 'Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.2.1) Gecko/20030225', 'Mozilla/5.0 (X11; U; Linux i686; es-AR; rv:1.2.1) Gecko/20021130', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030427', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030409 Debian/1.2.1-9woody2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030113', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021213 Debian/1.2.1-2.bunk', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021208 Debian/1.2.1-2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021204', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021203', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2.1) Gecko/20021204', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2.1) Gecko/20021130', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2.1) Gecko/20021204', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021202', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021126', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2) Gecko/20021203', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2) Gecko/20050223', 'Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.2) Gecko/20021203', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.2) Gecko/20021126', 'Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.2) Gecko/20021126', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2) Gecko/20021126', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2) Gecko/20021126', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.2) Gecko/20021126', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2) Gecko/20021126', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020722', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020721', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.1b) Gecko/20020721', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a) Gecko/20020610', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1a) Gecko/20020611', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020611', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1a) Gecko/20020611', 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.1a) Gecko/20020610', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1a) Gecko/20020611', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020611', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020925', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020909', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020827', 'Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.1) Gecko/20020927', 'Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020829', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020828', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.1) Gecko/20020913 Debian/1.1-1', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021223', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc3) Gecko/20020529 Debian/1.0rc3-1', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc3) Gecko/20020523', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0rc3) Gecko/20020523', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510', 'Mozilla/5.0 (X11; U; AIX 005A471A4C00; en-US; rv:1.0rc2) Gecko/20020514', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0rc2) Gecko/20020510', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc2) Gecko/20020510', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0rc2) Gecko/20020510', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc1) Gecko/20020417', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030716', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.0.2) Gecko/20030208', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021216', 'Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.0.2) Gecko/20021216', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021203', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021122 Debian/1.0.1-2', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021110', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020919', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020912', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020815', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020826', 'Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.0) Gecko/20020611', 'Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.0.0) Gecko/20020622 Debian/1.0.0-0.woody.1', 'Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20021004', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020612', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020605', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.0.0) Gecko/20020615 Debian/1.0.0-3', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1', 'Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.0.0) Gecko/20020605', 'Mozilla/5.0 (Windows; U; WinNT4.0; fr-FR; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020509', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0.0) Gecko/20020530', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020423', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020313', 'Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.9) Gecko/20020513', 'Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.9) Gecko/20020311', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204', 'Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:0.9.8) Gecko/20020204', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:0.9.8) Gecko/20020204', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7) Gecko/20011221', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011202', 'Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.5) Gecko/20011011', 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.5) Gecko/20011011', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010923', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801', 'Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.3) Gecko/20010802', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010809', 'Mozilla/5.001 (Macintosh; N; PPC; ja) Gecko/25250101']
A, B = map(int, input().split()) if 6*A < B or A > B: print('No') else: print('Yes')
(a, b) = map(int, input().split()) if 6 * A < B or A > B: print('No') else: print('Yes')
# # PySNMP MIB module RAD-SONET-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RAD-SONET-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:36:10 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") ValueSizeConstraint, ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint") InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") PerfIntervalCount, PerfCurrentCount = mibBuilder.importSymbols("PerfHist-TC-MIB", "PerfIntervalCount", "PerfCurrentCount") diverseIfWanGen, = mibBuilder.importSymbols("RAD-MIB", "diverseIfWanGen") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") ModuleIdentity, Integer32, Gauge32, Counter32, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, TimeTicks, Unsigned32, IpAddress, iso, Bits, Counter64, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "Integer32", "Gauge32", "Counter32", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "TimeTicks", "Unsigned32", "IpAddress", "iso", "Bits", "Counter64", "ObjectIdentity") TextualConvention, RowStatus, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "DisplayString") sonetInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2)) prtSonetPerfHistory = MibIdentifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1)) prtSonetMediumTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 1), ) if mibBuilder.loadTexts: prtSonetMediumTable.setStatus('current') prtSonetMediumEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 1, 1), ).setIndexNames((0, "RAD-SONET-MIB", "ifIndex")) if mibBuilder.loadTexts: prtSonetMediumEntry.setStatus('current') prtSonetMediumTimeElapsed = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 899))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetMediumTimeElapsed.setStatus('current') prtSonetMediumValidIntervals = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetMediumValidIntervals.setStatus('current') prtSonetSectionLineCurrentTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2), ) if mibBuilder.loadTexts: prtSonetSectionLineCurrentTable.setStatus('current') prtSectionLineCurrentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1), ).setIndexNames((0, "RAD-SONET-MIB", "ifIndex")) if mibBuilder.loadTexts: prtSectionLineCurrentEntry.setStatus('current') prtSonetCurrentLOS = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentLOS.setStatus('current') prtSonetCurrentLOF = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentLOF.setStatus('current') prtSonetCurrentLineAIS = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentLineAIS.setStatus('current') prtSonetCurrentLineFERF = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentLineFERF.setStatus('current') prtSonetCurrentSectionBIP = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentSectionBIP.setStatus('current') prtSonetCurrentLineBIP = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentLineBIP.setStatus('current') prtSonetCurrentLineFEBE = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentLineFEBE.setStatus('current') prtSonetCurrentUAS = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentUAS.setStatus('current') prtSonetCurrentSES = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentSES.setStatus('current') prtSonetCurrentES = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentES.setStatus('current') prtSonetCurrentStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentStatus.setStatus('current') prtSonetCurrentLSV = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentLSV.setStatus('current') prtSonetSectionLineIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3), ) if mibBuilder.loadTexts: prtSonetSectionLineIntervalTable.setStatus('current') prtSectionLineIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1), ).setIndexNames((0, "RAD-SONET-MIB", "ifIndex"), (0, "RAD-SONET-MIB", "prtSonetLineIntervalNumber")) if mibBuilder.loadTexts: prtSectionLineIntervalEntry.setStatus('current') prtSonetLineIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetLineIntervalNumber.setStatus('current') prtSonetIntervalLOS = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalLOS.setStatus('current') prtSonetIntervalLOF = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalLOF.setStatus('current') prtSonetIntervalLineAIS = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalLineAIS.setStatus('current') prtSonetIntervalLineFERF = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalLineFERF.setStatus('current') prtSonetIntervalSectionBIP = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalSectionBIP.setStatus('current') prtSonetIntervalLineBIP = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalLineBIP.setStatus('current') prtSonetIntervalLineFEBE = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalLineFEBE.setStatus('current') prtSonetIntervalUAS = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalUAS.setStatus('current') prtSonetIntervalSES = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalSES.setStatus('current') prtSonetIntervalES = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalES.setStatus('current') prtSonetIntervalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalStatus.setStatus('current') prtSonetIntervalLSV = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalLSV.setStatus('current') prtSonetPathCurrentTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4), ) if mibBuilder.loadTexts: prtSonetPathCurrentTable.setStatus('current') prtPathCurrentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1), ).setIndexNames((0, "RAD-SONET-MIB", "ifIndex")) if mibBuilder.loadTexts: prtPathCurrentEntry.setStatus('current') prtSonetCurrentPathAIS = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentPathAIS.setStatus('current') prtSonetCurrentPathFERF = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentPathFERF.setStatus('current') prtSonetCurrentLOP = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentLOP.setStatus('current') prtSonetCurrentSLM = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentSLM.setStatus('current') prtSonetCurrentLOC = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentLOC.setStatus('current') prtSonetCurrentPathBIP = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentPathBIP.setStatus('current') prtSonetCurrentPathFEBE = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetCurrentPathFEBE.setStatus('current') prtSonetPathIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5), ) if mibBuilder.loadTexts: prtSonetPathIntervalTable.setStatus('current') prtPathIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1), ).setIndexNames((0, "RAD-SONET-MIB", "ifIndex"), (0, "RAD-SONET-MIB", "prtSonetPathIntervalNumber")) if mibBuilder.loadTexts: prtPathIntervalEntry.setStatus('current') prtSonetPathIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetPathIntervalNumber.setStatus('current') prtSonetIntervalPathAIS = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalPathAIS.setStatus('current') prtSonetIntervalPathFERF = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalPathFERF.setStatus('current') prtSonetIntervalLOP = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalLOP.setStatus('current') prtSonetIntervalSLM = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalSLM.setStatus('current') prtSonetIntervalLOC = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalLOC.setStatus('current') prtSonetIntervalPathBIP = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalPathBIP.setStatus('current') prtSonetIntervalPathFEBE = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetIntervalPathFEBE.setStatus('current') virtualIfStatistics = MibIdentifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6)) virtualIfCurrentTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1), ) if mibBuilder.loadTexts: virtualIfCurrentTable.setStatus('current') virtualIfCurrentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1), ).setIndexNames((0, "RAD-SONET-MIB", "ifIndex")) if mibBuilder.loadTexts: virtualIfCurrentEntry.setStatus('current') virtualIfCurrentMinActiveVC = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfCurrentMinActiveVC.setStatus('current') virtualIfCurrentMaxActiveVC = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfCurrentMaxActiveVC.setStatus('current') virtualIfCurrentRxFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfCurrentRxFrames.setStatus('current') virtualIfCurrentTxFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfCurrentTxFrames.setStatus('current') virtualIfCurrentRxAbortFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 5), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfCurrentRxAbortFrames.setStatus('current') virtualIfCurrentTxAbortFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 6), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfCurrentTxAbortFrames.setStatus('current') virtualIfCurrentMinLengthViolation = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 7), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfCurrentMinLengthViolation.setStatus('current') virtualIfCurrentMaxLengthViolation = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 8), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfCurrentMaxLengthViolation.setStatus('current') virtualIfCurrentFcsError = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 9), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfCurrentFcsError.setStatus('current') virtualIfCurrentByteDestuffingViolation = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 10), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfCurrentByteDestuffingViolation.setStatus('current') virtualIfCurrentAdressMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 11), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfCurrentAdressMismatch.setStatus('current') virtualIfCurrentControlMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 12), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfCurrentControlMismatch.setStatus('current') virtualIfCurrentActiveVC = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfCurrentActiveVC.setStatus('current') virtualIfIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2), ) if mibBuilder.loadTexts: virtualIfIntervalTable.setStatus('current') virtualIfIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1), ).setIndexNames((0, "RAD-SONET-MIB", "ifIndex"), (0, "RAD-SONET-MIB", "virtualIfIntervalNumber")) if mibBuilder.loadTexts: virtualIfIntervalEntry.setStatus('current') virtualIfIntervalNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))) if mibBuilder.loadTexts: virtualIfIntervalNumber.setStatus('current') virtualIfIntervalMinActiveVC = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfIntervalMinActiveVC.setStatus('current') virtualIfIntervalMaxActiveVC = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfIntervalMaxActiveVC.setStatus('current') virtualIfIntervalRxFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfIntervalRxFrames.setStatus('current') virtualIfIntervalTxFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfIntervalTxFrames.setStatus('current') virtualIfIntervalRxAbortFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 6), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfIntervalRxAbortFrames.setStatus('current') virtualIfIntervalTxAbortFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 7), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfIntervalTxAbortFrames.setStatus('current') virtualIfIntervalMinLengthViolation = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfIntervalMinLengthViolation.setStatus('current') virtualIfIntervalMaxLengthViolation = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfIntervalMaxLengthViolation.setStatus('current') virtualIfIntervalFcsError = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfIntervalFcsError.setStatus('current') virtualIfIntervalByteDestuffingViolation = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfIntervalByteDestuffingViolation.setStatus('current') virtualIfIntervalAdressMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 12), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfIntervalAdressMismatch.setStatus('current') virtualIfIntervalControlMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 13), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfIntervalControlMismatch.setStatus('current') virtualIfIntervalBelowMinThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 14), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfIntervalBelowMinThreshold.setStatus('current') virtualIfLAPSCurrentTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 3), ) if mibBuilder.loadTexts: virtualIfLAPSCurrentTable.setStatus('current') virtualIfLAPSCurrentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 3, 1), ).setIndexNames((0, "RAD-SONET-MIB", "ifIndex")) if mibBuilder.loadTexts: virtualIfLAPSCurrentEntry.setStatus('current') virtualIfLAPSCurrentSapiMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 3, 1, 1), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfLAPSCurrentSapiMismatch.setStatus('current') virtualIfLAPSIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 4), ) if mibBuilder.loadTexts: virtualIfLAPSIntervalTable.setStatus('current') virtualIfLAPSIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 4, 1), ).setIndexNames((0, "RAD-SONET-MIB", "ifIndex"), (0, "RAD-SONET-MIB", "virtualIfIntervalNumber")) if mibBuilder.loadTexts: virtualIfLAPSIntervalEntry.setStatus('current') virtualIfLAPSIntervalSapiMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 4, 1, 1), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfLAPSIntervalSapiMismatch.setStatus('current') virtualIfLAPFCurrentTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5), ) if mibBuilder.loadTexts: virtualIfLAPFCurrentTable.setStatus('current') virtualIfLAPFCurrentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5, 1), ).setIndexNames((0, "RAD-SONET-MIB", "ifIndex")) if mibBuilder.loadTexts: virtualIfLAPFCurrentEntry.setStatus('current') virtualIfLAPFCurrentNlpidMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5, 1, 1), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfLAPFCurrentNlpidMismatch.setStatus('current') virtualIfLAPFCurrentOuiMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5, 1, 2), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfLAPFCurrentOuiMismatch.setStatus('current') virtualIfLAPFCurrentPidMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5, 1, 3), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfLAPFCurrentPidMismatch.setStatus('current') virtualIfLAPFCurrentDlciMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5, 1, 4), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfLAPFCurrentDlciMismatch.setStatus('current') virtualIfLAPFCurrentMacRxFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5, 1, 5), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfLAPFCurrentMacRxFrames.setStatus('current') virtualIfLAPFCurrentMacTxFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5, 1, 6), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfLAPFCurrentMacTxFrames.setStatus('current') virtualIfLAPFIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6), ) if mibBuilder.loadTexts: virtualIfLAPFIntervalTable.setStatus('current') virtualIfLAPFIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6, 1), ).setIndexNames((0, "RAD-SONET-MIB", "ifIndex"), (0, "RAD-SONET-MIB", "virtualIfIntervalNumber")) if mibBuilder.loadTexts: virtualIfLAPFIntervalEntry.setStatus('current') virtualIfLAPFIntervalNlpidMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6, 1, 1), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfLAPFIntervalNlpidMismatch.setStatus('current') virtualIfLAPFIntervalOuiMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfLAPFIntervalOuiMismatch.setStatus('current') virtualIfLAPFIntervalPidMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfLAPFIntervalPidMismatch.setStatus('current') virtualIfLAPFIntervalDlciMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfLAPFIntervalDlciMismatch.setStatus('current') virtualIfLAPFIntervalMacRxFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfLAPFIntervalMacRxFrames.setStatus('current') virtualIfLAPFIntervalMacTxFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6, 1, 6), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfLAPFIntervalMacTxFrames.setStatus('current') virtualIfGFPCurrentTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7), ) if mibBuilder.loadTexts: virtualIfGFPCurrentTable.setStatus('current') virtualIfGFPCurrentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1), ).setIndexNames((0, "RAD-SONET-MIB", "ifIndex")) if mibBuilder.loadTexts: virtualIfGFPCurrentEntry.setStatus('current') virtualIfGFPCurrentIdleFrameError = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 1), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPCurrentIdleFrameError.setStatus('current') virtualIfGFPCurrentCHecSbError = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 2), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPCurrentCHecSbError.setStatus('current') virtualIfGFPCurrentPtiMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 3), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPCurrentPtiMismatch.setStatus('current') virtualIfGFPCurrentExiMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 4), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPCurrentExiMismatch.setStatus('current') virtualIfGFPCurrentUpiMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 5), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPCurrentUpiMismatch.setStatus('current') virtualIfGFPCurrentTHecSbError = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 6), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPCurrentTHecSbError.setStatus('current') virtualIfGFPCurrentTHecMbError = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 7), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPCurrentTHecMbError.setStatus('current') virtualIfGFPCurrentCidMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 8), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPCurrentCidMismatch.setStatus('current') virtualIfGFPCurrentEHecSbError = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 9), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPCurrentEHecSbError.setStatus('current') virtualIfGFPCurrentEHecMbError = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 10), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPCurrentEHecMbError.setStatus('current') virtualIfGFPIntervalTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8), ) if mibBuilder.loadTexts: virtualIfGFPIntervalTable.setStatus('current') virtualIfGFPIntervalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1), ).setIndexNames((0, "RAD-SONET-MIB", "ifIndex"), (0, "RAD-SONET-MIB", "virtualIfIntervalNumber")) if mibBuilder.loadTexts: virtualIfGFPIntervalEntry.setStatus('current') virtualIfGFPIntervalIdleFrameError = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 1), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPIntervalIdleFrameError.setStatus('current') virtualIfGFPIntervalCHecSbError = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPIntervalCHecSbError.setStatus('current') virtualIfGFPIntervalPtiMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPIntervalPtiMismatch.setStatus('current') virtualIfGFPIntervalExiMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPIntervalExiMismatch.setStatus('current') virtualIfGFPIntervalUpiMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPIntervalUpiMismatch.setStatus('current') virtualIfGFPIntervalTHecSbError = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 6), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPIntervalTHecSbError.setStatus('current') virtualIfGFPIntervalTHecMbError = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 7), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPIntervalTHecMbError.setStatus('current') virtualIfGFPIntervalCidMismatch = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPIntervalCidMismatch.setStatus('current') virtualIfGFPIntervalEHecSbError = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPIntervalEHecSbError.setStatus('current') virtualIfGFPIntervalEHecMbError = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGFPIntervalEHecMbError.setStatus('current') prtSonetConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2)) prtSonetGen = MibIdentifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1)) prtSonetGenTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1, 1), ) if mibBuilder.loadTexts: prtSonetGenTable.setStatus('current') prtSonetGenEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1, 1, 1), ).setIndexNames((0, "RAD-SONET-MIB", "prtSonetGenCnfgIdx"), (0, "RAD-SONET-MIB", "prtSonetGenIdx")) if mibBuilder.loadTexts: prtSonetGenEntry.setStatus('current') prtSonetGenCnfgIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetGenCnfgIdx.setStatus('current') prtSonetGenIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetGenIdx.setStatus('current') prtSonetGenSdThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("notApplicable", 1), ("n3", 3), ("n4", 4), ("n5", 5), ("n6", 6), ("n7", 7), ("n8", 8), ("n9", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetGenSdThreshold.setStatus('current') prtSonetGenEedThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("notApplicable", 1), ("n3", 3), ("n4", 4), ("n5", 5), ("n6", 6), ("n7", 7), ("n8", 8), ("n9", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetGenEedThreshold.setStatus('current') prtSonetGenBerEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("disable", 2), ("enable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetGenBerEnable.setStatus('current') prtSonetStm1 = MibIdentifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2)) prtSonetStm1Table = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1), ) if mibBuilder.loadTexts: prtSonetStm1Table.setStatus('current') prtSonetStm1Entry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1), ).setIndexNames((0, "RAD-SONET-MIB", "prtSonetStm1CnfgIdx"), (0, "RAD-SONET-MIB", "prtSonetStm1Idx")) if mibBuilder.loadTexts: prtSonetStm1Entry.setStatus('current') prtSonetStm1CnfgIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetStm1CnfgIdx.setStatus('current') prtSonetStm1Idx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetStm1Idx.setStatus('current') prtSonetStm1ClockSrc = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notApplicable", 1), ("internal", 2), ("lbt", 3), ("systemClk", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetStm1ClockSrc.setStatus('current') prtSonetStm1DccMode = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("notApplicable", 1), ("none", 2), ("d1ToD3", 3), ("d4ToD12", 4), ("d1", 5), ("d2", 6), ("d3", 7), ("d4", 8), ("d5", 9), ("d6", 10), ("d7", 11), ("d8", 12), ("d9", 13), ("d10", 14), ("d11", 15), ("d12", 16)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetStm1DccMode.setStatus('current') prtSonetStm1RoutingProt = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notApplicable", 1), ("none", 2), ("proprietary", 3), ("rip2", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetStm1RoutingProt.setStatus('current') prtSonetStm1MngProt = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 5, 6, 7, 8))).clone(namedValues=NamedValues(("notApplicable", 1), ("proprietary", 3), ("ppp", 5), ("frameRelay", 6), ("hdlc", 7), ("lapdOverHdlc", 8)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetStm1MngProt.setStatus('current') prtSonetStm1OperationalMode = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notApplicable", 1), ("terminal", 2), ("linear", 3), ("linearProtection", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetStm1OperationalMode.setStatus('current') prtSonetStm1VoiceChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notApplicable", 1), ("none", 2), ("e1Byte", 3), ("e2Byte", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetStm1VoiceChannel.setStatus('current') prtSonetStm1OutputRate = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetStm1OutputRate.setStatus('current') prtSonetStm1S1ProtocolClock = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notApplicable", 1), ("disable", 2), ("enable", 3), ("transparent", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetStm1S1ProtocolClock.setStatus('current') prtSonetStm1GatewayRingSubnetAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 11), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetStm1GatewayRingSubnetAddress.setStatus('current') prtSonetStm1GatewayRingSubnetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 12), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetStm1GatewayRingSubnetMask.setStatus('current') prtSonetStm1MngProtDeviationType = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("standard", 2), ("type1", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetStm1MngProtDeviationType.setStatus('current') prtSonetVc = MibIdentifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3)) prtSonetVcTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1), ) if mibBuilder.loadTexts: prtSonetVcTable.setStatus('current') prtSonetVcEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1), ).setIndexNames((0, "RAD-SONET-MIB", "prtSonetVcCnfgIdx"), (0, "RAD-SONET-MIB", "prtSonetVcIdx")) if mibBuilder.loadTexts: prtSonetVcEntry.setStatus('current') prtSonetVcCnfgIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetVcCnfgIdx.setStatus('current') prtSonetVcIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetVcIdx.setStatus('current') prtSonetVcJTxPathTraceEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("disable", 2), ("enable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetVcJTxPathTraceEnable.setStatus('current') prtSonetVcJRxPathTraceEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("disable", 2), ("enable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetVcJRxPathTraceEnable.setStatus('current') prtSonetVcJPathTrace = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 62))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetVcJPathTrace.setStatus('current') prtSonetVcConnect = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("no", 2), ("yes", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetVcConnect.setStatus('current') prtSonetVcSignalLabel = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtSonetVcSignalLabel.setStatus('current') prtSonetTuTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2), ) if mibBuilder.loadTexts: prtSonetTuTable.setStatus('current') prtSonetTuEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1), ).setIndexNames((0, "RAD-SONET-MIB", "prtSonetTuCnfgIdx"), (0, "RAD-SONET-MIB", "prtSonetTuPrtIdx"), (0, "RAD-SONET-MIB", "prtSonetTuIdx"), (0, "RAD-SONET-MIB", "prtSonetTuConPrtIdx")) if mibBuilder.loadTexts: prtSonetTuEntry.setStatus('current') prtSonetTuCnfgIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetTuCnfgIdx.setStatus('current') prtSonetTuPrtIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetTuPrtIdx.setStatus('current') prtSonetTuIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetTuIdx.setStatus('current') prtSonetTuConPrtIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetTuConPrtIdx.setStatus('current') prtSonetTuType = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3))).clone(namedValues=NamedValues(("connect", 2), ("bypass", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: prtSonetTuType.setStatus('current') prtSonetTuMode = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("addAndDrop", 2), ("add", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: prtSonetTuMode.setStatus('current') prtSonetTuRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: prtSonetTuRowStatus.setStatus('current') prtSonetXConnect = MibIdentifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3)) prtSonetXConnectTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1), ) if mibBuilder.loadTexts: prtSonetXConnectTable.setStatus('current') prtSonetXConnectEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1), ).setIndexNames((0, "RAD-SONET-MIB", "prtSonetXConnectCnfgIdx"), (0, "RAD-SONET-MIB", "prtSonetXConnectPrtIdx"), (0, "RAD-SONET-MIB", "prtSonetXConnectConPrtIdx"), (0, "RAD-SONET-MIB", "prtSonetXConnectAUGIdx"), (0, "RAD-SONET-MIB", "prtSonetXConnectTUG3Idx"), (0, "RAD-SONET-MIB", "prtSonetXConnectTUG2Idx"), (0, "RAD-SONET-MIB", "prtSonetXConnectTUnIdx")) if mibBuilder.loadTexts: prtSonetXConnectEntry.setStatus('current') prtSonetXConnectCnfgIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetXConnectCnfgIdx.setStatus('current') prtSonetXConnectPrtIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetXConnectPrtIdx.setStatus('current') prtSonetXConnectConPrtIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetXConnectConPrtIdx.setStatus('current') prtSonetXConnectAUGIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetXConnectAUGIdx.setStatus('current') prtSonetXConnectTUG3Idx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetXConnectTUG3Idx.setStatus('current') prtSonetXConnectTUG2Idx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetXConnectTUG2Idx.setStatus('current') prtSonetXConnectTUnIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetXConnectTUnIdx.setStatus('current') prtSonetXConnectRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: prtSonetXConnectRowStatus.setStatus('current') prtSonetXConnectDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notApplicable", 1), ("rx", 2), ("tx", 3), ("both", 4)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: prtSonetXConnectDirection.setStatus('current') prtSonetXConnectTuNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("notApplicable", 1), ("tu2", 2), ("tu3", 3), ("tu11", 4), ("tu12", 5)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: prtSonetXConnectTuNumber.setStatus('current') prtSonetStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 4)) prtSonetVcStatTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 4, 1), ) if mibBuilder.loadTexts: prtSonetVcStatTable.setStatus('current') prtSonetVcStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 4, 1, 1), ).setIndexNames((0, "RAD-SONET-MIB", "prtSonetVcIdx")) if mibBuilder.loadTexts: prtSonetVcStatEntry.setStatus('current') prtSonetVcRxJPathTrace = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 4, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 62))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetVcRxJPathTrace.setStatus('current') prtSonetVcRxSignalLabel = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 4, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetVcRxSignalLabel.setStatus('current') prtSonetVcLcasSourceState = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("notApplicable", 1), ("fixed", 2), ("add", 3), ("norm", 4), ("eos", 5), ("idle", 6), ("dnu", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetVcLcasSourceState.setStatus('current') prtSonetVcLcasSinkState = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("notApplicable", 1), ("fixed", 2), ("add", 3), ("norm", 4), ("eos", 5), ("idle", 6), ("dnu", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtSonetVcLcasSinkState.setStatus('current') prtVcGroupCnfg = MibIdentifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4)) vcGroupCnfgTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1), ) if mibBuilder.loadTexts: vcGroupCnfgTable.setStatus('current') vcGroupCnfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1), ).setIndexNames((0, "RAD-SONET-MIB", "vcGroupCnfgIdx"), (0, "RAD-SONET-MIB", "vcGroupCnfgNumber")) if mibBuilder.loadTexts: vcGroupCnfgEntry.setStatus('current') vcGroupCnfgIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: vcGroupCnfgIdx.setStatus('current') vcGroupCnfgNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 2), Integer32()) if mibBuilder.loadTexts: vcGroupCnfgNumber.setStatus('current') vcGroupCnfgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vcGroupCnfgRowStatus.setStatus('current') vcGroupCnfgVcType = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("notApplicable", 1), ("vc12", 2), ("vc3", 3), ("vc4", 4), ("vt1dot5", 5), ("sts1", 6)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vcGroupCnfgVcType.setStatus('current') vcGroupCnfgNoOfVCs = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 84))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vcGroupCnfgNoOfVCs.setStatus('current') vcGroupCnfgLCAS = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("lcasNotActive", 2), ("lcasActive", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vcGroupCnfgLCAS.setStatus('current') vcGroupCnfgEncapsulation = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notApplicable", 1), ("laps", 2), ("lapf", 3), ("gfp", 4)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vcGroupCnfgEncapsulation.setStatus('current') vcGroupCnfgGroupIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 8), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: vcGroupCnfgGroupIfIndex.setStatus('current') vcGroupCnfgRip2 = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("no", 2), ("yes", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vcGroupCnfgRip2.setStatus('current') vcGroupCnfgGfpChId = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vcGroupCnfgGfpChId.setStatus('current') vcGroupCnfgK4 = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("no", 2), ("yes", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vcGroupCnfgK4.setStatus('current') vcGroupCnfgExSignalLabel = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vcGroupCnfgExSignalLabel.setStatus('current') vcGroupCnfgLcasMinNoOfVCs = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 83))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vcGroupCnfgLcasMinNoOfVCs.setStatus('current') vcGroupCnfgLcasStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notApplicable", 1), ("belowMinNoOfVCs", 2), ("withinRange", 3), ("allNorm", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: vcGroupCnfgLcasStatus.setStatus('current') vcgGfpMuxCnfgTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2), ) if mibBuilder.loadTexts: vcgGfpMuxCnfgTable.setStatus('current') vcgGfpMuxCnfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2, 1), ).setIndexNames((0, "RAD-SONET-MIB", "vcgGfpMuxCnfgIdx"), (0, "RAD-SONET-MIB", "vcgGfpMuxCnfgMuxNumber")) if mibBuilder.loadTexts: vcgGfpMuxCnfgEntry.setStatus('current') vcgGfpMuxCnfgIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: vcgGfpMuxCnfgIdx.setStatus('current') vcgGfpMuxCnfgMuxNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2, 1, 2), Integer32()) if mibBuilder.loadTexts: vcgGfpMuxCnfgMuxNumber.setStatus('current') vcgGfpMuxCnfgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vcgGfpMuxCnfgRowStatus.setStatus('current') vcgGfpMuxCnfgMuxName = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2, 1, 4), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vcgGfpMuxCnfgMuxName.setStatus('current') vcgGfpMuxCnfgPrimeGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2, 1, 5), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vcgGfpMuxCnfgPrimeGroup.setStatus('current') vcgGfpMuxCnfgGrpBwAlloc = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2, 1, 6), OctetString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vcgGfpMuxCnfgGrpBwAlloc.setStatus('current') virtualIfConfiguration = MibIdentifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 5)) virtualIfGenTable = MibTable((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 5, 1), ) if mibBuilder.loadTexts: virtualIfGenTable.setStatus('current') virtualIfGenEntry = MibTableRow((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 5, 1, 1), ).setIndexNames((0, "RAD-SONET-MIB", "virtualIfGenCnfgIdx"), (0, "RAD-SONET-MIB", "virtualIfGenIdx")) if mibBuilder.loadTexts: virtualIfGenEntry.setStatus('current') virtualIfGenCnfgIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGenCnfgIdx.setStatus('current') virtualIfGenIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 5, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualIfGenIdx.setStatus('current') virtualIfGenFrameFormat = MibTableColumn((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 5, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("fcsEnable", 2), ("fcsDisable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: virtualIfGenFrameFormat.setStatus('current') mibBuilder.exportSymbols("RAD-SONET-MIB", virtualIfIntervalByteDestuffingViolation=virtualIfIntervalByteDestuffingViolation, virtualIfGFPCurrentPtiMismatch=virtualIfGFPCurrentPtiMismatch, prtPathIntervalEntry=prtPathIntervalEntry, virtualIfLAPFCurrentEntry=virtualIfLAPFCurrentEntry, virtualIfGFPCurrentEHecSbError=virtualIfGFPCurrentEHecSbError, vcgGfpMuxCnfgPrimeGroup=vcgGfpMuxCnfgPrimeGroup, prtSonetTuRowStatus=prtSonetTuRowStatus, vcgGfpMuxCnfgMuxName=vcgGfpMuxCnfgMuxName, virtualIfGFPIntervalCHecSbError=virtualIfGFPIntervalCHecSbError, prtSonetXConnectTable=prtSonetXConnectTable, sonetInterface=sonetInterface, virtualIfCurrentTxAbortFrames=virtualIfCurrentTxAbortFrames, prtSonetCurrentLineBIP=prtSonetCurrentLineBIP, virtualIfIntervalAdressMismatch=virtualIfIntervalAdressMismatch, virtualIfGFPCurrentEHecMbError=virtualIfGFPCurrentEHecMbError, prtSonetPathIntervalNumber=prtSonetPathIntervalNumber, prtSonetCurrentLineAIS=prtSonetCurrentLineAIS, virtualIfGFPCurrentTable=virtualIfGFPCurrentTable, prtPathCurrentEntry=prtPathCurrentEntry, prtSonetCurrentPathFERF=prtSonetCurrentPathFERF, virtualIfGenCnfgIdx=virtualIfGenCnfgIdx, prtSonetCurrentUAS=prtSonetCurrentUAS, prtSonetIntervalPathAIS=prtSonetIntervalPathAIS, virtualIfGFPIntervalTable=virtualIfGFPIntervalTable, vcGroupCnfgLCAS=vcGroupCnfgLCAS, vcgGfpMuxCnfgIdx=vcgGfpMuxCnfgIdx, prtSonetIntervalLineAIS=prtSonetIntervalLineAIS, virtualIfIntervalNumber=virtualIfIntervalNumber, virtualIfStatistics=virtualIfStatistics, virtualIfLAPFIntervalMacRxFrames=virtualIfLAPFIntervalMacRxFrames, virtualIfIntervalTxFrames=virtualIfIntervalTxFrames, prtSonetCurrentPathAIS=prtSonetCurrentPathAIS, virtualIfGFPCurrentCHecSbError=virtualIfGFPCurrentCHecSbError, virtualIfLAPFCurrentMacTxFrames=virtualIfLAPFCurrentMacTxFrames, prtSonetStm1ClockSrc=prtSonetStm1ClockSrc, prtSonetXConnectDirection=prtSonetXConnectDirection, vcGroupCnfgGroupIfIndex=vcGroupCnfgGroupIfIndex, prtSonetVcLcasSourceState=prtSonetVcLcasSourceState, prtSonetCurrentPathFEBE=prtSonetCurrentPathFEBE, prtSonetIntervalLSV=prtSonetIntervalLSV, virtualIfGFPIntervalExiMismatch=virtualIfGFPIntervalExiMismatch, vcgGfpMuxCnfgMuxNumber=vcgGfpMuxCnfgMuxNumber, virtualIfCurrentActiveVC=virtualIfCurrentActiveVC, prtSonetCurrentLOS=prtSonetCurrentLOS, virtualIfIntervalMinLengthViolation=virtualIfIntervalMinLengthViolation, prtSonetStm1MngProt=prtSonetStm1MngProt, prtSonetVcCnfgIdx=prtSonetVcCnfgIdx, prtSonetStm1GatewayRingSubnetMask=prtSonetStm1GatewayRingSubnetMask, prtSonetCurrentLOF=prtSonetCurrentLOF, prtSonetIntervalLineFERF=prtSonetIntervalLineFERF, prtSonetCurrentLOP=prtSonetCurrentLOP, prtSonetVcJPathTrace=prtSonetVcJPathTrace, virtualIfGFPCurrentUpiMismatch=virtualIfGFPCurrentUpiMismatch, prtSonetVcIdx=prtSonetVcIdx, virtualIfCurrentRxAbortFrames=virtualIfCurrentRxAbortFrames, prtSonetCurrentLSV=prtSonetCurrentLSV, virtualIfLAPFCurrentDlciMismatch=virtualIfLAPFCurrentDlciMismatch, virtualIfLAPSCurrentSapiMismatch=virtualIfLAPSCurrentSapiMismatch, prtSonetIntervalSLM=prtSonetIntervalSLM, prtSonetIntervalLOC=prtSonetIntervalLOC, virtualIfCurrentAdressMismatch=virtualIfCurrentAdressMismatch, prtSectionLineIntervalEntry=prtSectionLineIntervalEntry, virtualIfGFPCurrentCidMismatch=virtualIfGFPCurrentCidMismatch, virtualIfIntervalMinActiveVC=virtualIfIntervalMinActiveVC, prtSonetCurrentStatus=prtSonetCurrentStatus, virtualIfLAPSCurrentTable=virtualIfLAPSCurrentTable, virtualIfLAPFCurrentPidMismatch=virtualIfLAPFCurrentPidMismatch, virtualIfCurrentMaxActiveVC=virtualIfCurrentMaxActiveVC, virtualIfGFPIntervalUpiMismatch=virtualIfGFPIntervalUpiMismatch, prtSonetTuTable=prtSonetTuTable, virtualIfCurrentMinActiveVC=virtualIfCurrentMinActiveVC, prtSonetXConnectConPrtIdx=prtSonetXConnectConPrtIdx, vcgGfpMuxCnfgGrpBwAlloc=vcgGfpMuxCnfgGrpBwAlloc, prtSonetPathIntervalTable=prtSonetPathIntervalTable, virtualIfLAPFCurrentOuiMismatch=virtualIfLAPFCurrentOuiMismatch, prtSonetStm1Entry=prtSonetStm1Entry, vcgGfpMuxCnfgTable=vcgGfpMuxCnfgTable, virtualIfIntervalTable=virtualIfIntervalTable, prtSonetXConnectTUG2Idx=prtSonetXConnectTUG2Idx, prtSonetStm1Idx=prtSonetStm1Idx, prtSonetIntervalLineBIP=prtSonetIntervalLineBIP, prtSonetCurrentSES=prtSonetCurrentSES, prtSonetCurrentPathBIP=prtSonetCurrentPathBIP, virtualIfIntervalRxAbortFrames=virtualIfIntervalRxAbortFrames, vcGroupCnfgEncapsulation=vcGroupCnfgEncapsulation, prtSonetXConnectTuNumber=prtSonetXConnectTuNumber, prtSonetVcRxSignalLabel=prtSonetVcRxSignalLabel, virtualIfLAPSCurrentEntry=virtualIfLAPSCurrentEntry, virtualIfConfiguration=virtualIfConfiguration, virtualIfGFPIntervalEHecMbError=virtualIfGFPIntervalEHecMbError, prtSonetIntervalSectionBIP=prtSonetIntervalSectionBIP, prtSonetCurrentLOC=prtSonetCurrentLOC, prtSonetGenEntry=prtSonetGenEntry, prtSonetPathCurrentTable=prtSonetPathCurrentTable, virtualIfLAPSIntervalSapiMismatch=virtualIfLAPSIntervalSapiMismatch, virtualIfLAPSIntervalEntry=virtualIfLAPSIntervalEntry, virtualIfLAPFIntervalEntry=virtualIfLAPFIntervalEntry, prtSonetVcEntry=prtSonetVcEntry, prtSonetStm1OutputRate=prtSonetStm1OutputRate, prtSonetTuPrtIdx=prtSonetTuPrtIdx, prtSonetVcStatTable=prtSonetVcStatTable, prtSonetSectionLineCurrentTable=prtSonetSectionLineCurrentTable, vcGroupCnfgLcasMinNoOfVCs=vcGroupCnfgLcasMinNoOfVCs, virtualIfLAPFIntervalNlpidMismatch=virtualIfLAPFIntervalNlpidMismatch, virtualIfCurrentEntry=virtualIfCurrentEntry, prtSonetVcTable=prtSonetVcTable, prtSonetTuEntry=prtSonetTuEntry, prtSonetXConnectPrtIdx=prtSonetXConnectPrtIdx, prtSonetXConnectEntry=prtSonetXConnectEntry, virtualIfGenTable=virtualIfGenTable, prtSonetGenBerEnable=prtSonetGenBerEnable, virtualIfIntervalMaxActiveVC=virtualIfIntervalMaxActiveVC, virtualIfLAPFCurrentTable=virtualIfLAPFCurrentTable, vcGroupCnfgLcasStatus=vcGroupCnfgLcasStatus, virtualIfGenFrameFormat=virtualIfGenFrameFormat, prtSonetIntervalLOS=prtSonetIntervalLOS, vcGroupCnfgNoOfVCs=vcGroupCnfgNoOfVCs, vcGroupCnfgK4=vcGroupCnfgK4, prtSonetIntervalLOF=prtSonetIntervalLOF, prtSonetVcConnect=prtSonetVcConnect, prtSonetStatus=prtSonetStatus, prtSonetStm1VoiceChannel=prtSonetStm1VoiceChannel, prtSonetCurrentSLM=prtSonetCurrentSLM, prtSonetStm1OperationalMode=prtSonetStm1OperationalMode, vcgGfpMuxCnfgEntry=vcgGfpMuxCnfgEntry, virtualIfGFPCurrentEntry=virtualIfGFPCurrentEntry, prtSonetXConnectTUnIdx=prtSonetXConnectTUnIdx, prtSonetMediumEntry=prtSonetMediumEntry, prtSonetStm1RoutingProt=prtSonetStm1RoutingProt, prtSonetSectionLineIntervalTable=prtSonetSectionLineIntervalTable, prtSonetTuType=prtSonetTuType, virtualIfGFPIntervalIdleFrameError=virtualIfGFPIntervalIdleFrameError, prtSonetIntervalLOP=prtSonetIntervalLOP, prtSonetStm1Table=prtSonetStm1Table, prtSonetVc=prtSonetVc, virtualIfCurrentRxFrames=virtualIfCurrentRxFrames, prtSonetVcLcasSinkState=prtSonetVcLcasSinkState, virtualIfGFPCurrentIdleFrameError=virtualIfGFPCurrentIdleFrameError, prtSonetIntervalPathFEBE=prtSonetIntervalPathFEBE, prtSonetCurrentLineFERF=prtSonetCurrentLineFERF, prtSonetVcSignalLabel=prtSonetVcSignalLabel, prtSonetVcJRxPathTraceEnable=prtSonetVcJRxPathTraceEnable, prtSonetLineIntervalNumber=prtSonetLineIntervalNumber, prtSonetIntervalPathBIP=prtSonetIntervalPathBIP, virtualIfGFPCurrentTHecSbError=virtualIfGFPCurrentTHecSbError, prtSonetStm1CnfgIdx=prtSonetStm1CnfgIdx, prtSonetStm1DccMode=prtSonetStm1DccMode, prtSonetStm1S1ProtocolClock=prtSonetStm1S1ProtocolClock, prtSonetTuConPrtIdx=prtSonetTuConPrtIdx, vcGroupCnfgVcType=vcGroupCnfgVcType, virtualIfLAPFIntervalMacTxFrames=virtualIfLAPFIntervalMacTxFrames, virtualIfCurrentTable=virtualIfCurrentTable, vcGroupCnfgEntry=vcGroupCnfgEntry, prtSonetGenSdThreshold=prtSonetGenSdThreshold, prtSonetIntervalUAS=prtSonetIntervalUAS, virtualIfGFPCurrentTHecMbError=virtualIfGFPCurrentTHecMbError, virtualIfCurrentTxFrames=virtualIfCurrentTxFrames, prtSonetIntervalSES=prtSonetIntervalSES, virtualIfLAPFIntervalTable=virtualIfLAPFIntervalTable, prtSonetXConnectCnfgIdx=prtSonetXConnectCnfgIdx, prtSonetCurrentLineFEBE=prtSonetCurrentLineFEBE, prtSonetVcStatEntry=prtSonetVcStatEntry, virtualIfIntervalBelowMinThreshold=virtualIfIntervalBelowMinThreshold, virtualIfCurrentFcsError=virtualIfCurrentFcsError, virtualIfLAPFCurrentMacRxFrames=virtualIfLAPFCurrentMacRxFrames, virtualIfGFPIntervalPtiMismatch=virtualIfGFPIntervalPtiMismatch, virtualIfIntervalRxFrames=virtualIfIntervalRxFrames, prtSonetGenTable=prtSonetGenTable, virtualIfGFPIntervalCidMismatch=virtualIfGFPIntervalCidMismatch, prtSonetXConnectTUG3Idx=prtSonetXConnectTUG3Idx, prtSonetStm1=prtSonetStm1, virtualIfIntervalControlMismatch=virtualIfIntervalControlMismatch, prtSonetIntervalES=prtSonetIntervalES, prtSonetConfig=prtSonetConfig, prtSonetXConnect=prtSonetXConnect, virtualIfGFPIntervalEHecSbError=virtualIfGFPIntervalEHecSbError, vcGroupCnfgIdx=vcGroupCnfgIdx, vcGroupCnfgExSignalLabel=vcGroupCnfgExSignalLabel, vcGroupCnfgNumber=vcGroupCnfgNumber, virtualIfIntervalMaxLengthViolation=virtualIfIntervalMaxLengthViolation, prtSonetMediumValidIntervals=prtSonetMediumValidIntervals, prtSonetTuMode=prtSonetTuMode, prtSonetCurrentSectionBIP=prtSonetCurrentSectionBIP, virtualIfIntervalFcsError=virtualIfIntervalFcsError, virtualIfCurrentMinLengthViolation=virtualIfCurrentMinLengthViolation, virtualIfCurrentControlMismatch=virtualIfCurrentControlMismatch, virtualIfGFPIntervalTHecSbError=virtualIfGFPIntervalTHecSbError, prtSonetXConnectAUGIdx=prtSonetXConnectAUGIdx, vcGroupCnfgGfpChId=vcGroupCnfgGfpChId, virtualIfGenEntry=virtualIfGenEntry, virtualIfLAPFCurrentNlpidMismatch=virtualIfLAPFCurrentNlpidMismatch, prtSonetStm1GatewayRingSubnetAddress=prtSonetStm1GatewayRingSubnetAddress, prtSonetIntervalPathFERF=prtSonetIntervalPathFERF, virtualIfCurrentByteDestuffingViolation=virtualIfCurrentByteDestuffingViolation, prtSonetGenCnfgIdx=prtSonetGenCnfgIdx, prtSonetPerfHistory=prtSonetPerfHistory, prtSonetMediumTimeElapsed=prtSonetMediumTimeElapsed, prtSonetVcJTxPathTraceEnable=prtSonetVcJTxPathTraceEnable, prtSonetIntervalLineFEBE=prtSonetIntervalLineFEBE, virtualIfGFPIntervalEntry=virtualIfGFPIntervalEntry, prtSonetVcRxJPathTrace=prtSonetVcRxJPathTrace, prtSonetCurrentES=prtSonetCurrentES, prtSonetStm1MngProtDeviationType=prtSonetStm1MngProtDeviationType, vcGroupCnfgRowStatus=vcGroupCnfgRowStatus, virtualIfLAPFIntervalDlciMismatch=virtualIfLAPFIntervalDlciMismatch, prtSonetGenIdx=prtSonetGenIdx, vcgGfpMuxCnfgRowStatus=vcgGfpMuxCnfgRowStatus, virtualIfLAPSIntervalTable=virtualIfLAPSIntervalTable, virtualIfGFPIntervalTHecMbError=virtualIfGFPIntervalTHecMbError, prtSonetGen=prtSonetGen, prtSectionLineCurrentEntry=prtSectionLineCurrentEntry, prtSonetIntervalStatus=prtSonetIntervalStatus, prtSonetMediumTable=prtSonetMediumTable, vcGroupCnfgRip2=vcGroupCnfgRip2, virtualIfLAPFIntervalPidMismatch=virtualIfLAPFIntervalPidMismatch, vcGroupCnfgTable=vcGroupCnfgTable, virtualIfLAPFIntervalOuiMismatch=virtualIfLAPFIntervalOuiMismatch, virtualIfCurrentMaxLengthViolation=virtualIfCurrentMaxLengthViolation, virtualIfGFPCurrentExiMismatch=virtualIfGFPCurrentExiMismatch, prtVcGroupCnfg=prtVcGroupCnfg, virtualIfIntervalEntry=virtualIfIntervalEntry, prtSonetTuCnfgIdx=prtSonetTuCnfgIdx, prtSonetXConnectRowStatus=prtSonetXConnectRowStatus, prtSonetGenEedThreshold=prtSonetGenEedThreshold, virtualIfIntervalTxAbortFrames=virtualIfIntervalTxAbortFrames, virtualIfGenIdx=virtualIfGenIdx, prtSonetTuIdx=prtSonetTuIdx)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, constraints_union, value_range_constraint, constraints_intersection, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint') (interface_index,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex') (perf_interval_count, perf_current_count) = mibBuilder.importSymbols('PerfHist-TC-MIB', 'PerfIntervalCount', 'PerfCurrentCount') (diverse_if_wan_gen,) = mibBuilder.importSymbols('RAD-MIB', 'diverseIfWanGen') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (module_identity, integer32, gauge32, counter32, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column, mib_identifier, time_ticks, unsigned32, ip_address, iso, bits, counter64, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'ModuleIdentity', 'Integer32', 'Gauge32', 'Counter32', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'MibIdentifier', 'TimeTicks', 'Unsigned32', 'IpAddress', 'iso', 'Bits', 'Counter64', 'ObjectIdentity') (textual_convention, row_status, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'RowStatus', 'DisplayString') sonet_interface = mib_identifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2)) prt_sonet_perf_history = mib_identifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1)) prt_sonet_medium_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 1)) if mibBuilder.loadTexts: prtSonetMediumTable.setStatus('current') prt_sonet_medium_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 1, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'ifIndex')) if mibBuilder.loadTexts: prtSonetMediumEntry.setStatus('current') prt_sonet_medium_time_elapsed = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 899))).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetMediumTimeElapsed.setStatus('current') prt_sonet_medium_valid_intervals = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 96))).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetMediumValidIntervals.setStatus('current') prt_sonet_section_line_current_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2)) if mibBuilder.loadTexts: prtSonetSectionLineCurrentTable.setStatus('current') prt_section_line_current_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'ifIndex')) if mibBuilder.loadTexts: prtSectionLineCurrentEntry.setStatus('current') prt_sonet_current_los = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 1), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentLOS.setStatus('current') prt_sonet_current_lof = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 2), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentLOF.setStatus('current') prt_sonet_current_line_ais = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 3), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentLineAIS.setStatus('current') prt_sonet_current_line_ferf = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentLineFERF.setStatus('current') prt_sonet_current_section_bip = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentSectionBIP.setStatus('current') prt_sonet_current_line_bip = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 6), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentLineBIP.setStatus('current') prt_sonet_current_line_febe = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentLineFEBE.setStatus('current') prt_sonet_current_uas = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentUAS.setStatus('current') prt_sonet_current_ses = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentSES.setStatus('current') prt_sonet_current_es = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 10), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentES.setStatus('current') prt_sonet_current_status = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 11), octet_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentStatus.setStatus('current') prt_sonet_current_lsv = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 2, 1, 12), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentLSV.setStatus('current') prt_sonet_section_line_interval_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3)) if mibBuilder.loadTexts: prtSonetSectionLineIntervalTable.setStatus('current') prt_section_line_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'ifIndex'), (0, 'RAD-SONET-MIB', 'prtSonetLineIntervalNumber')) if mibBuilder.loadTexts: prtSectionLineIntervalEntry.setStatus('current') prt_sonet_line_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 96))).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetLineIntervalNumber.setStatus('current') prt_sonet_interval_los = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 2), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalLOS.setStatus('current') prt_sonet_interval_lof = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 3), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalLOF.setStatus('current') prt_sonet_interval_line_ais = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalLineAIS.setStatus('current') prt_sonet_interval_line_ferf = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalLineFERF.setStatus('current') prt_sonet_interval_section_bip = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 6), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalSectionBIP.setStatus('current') prt_sonet_interval_line_bip = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalLineBIP.setStatus('current') prt_sonet_interval_line_febe = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalLineFEBE.setStatus('current') prt_sonet_interval_uas = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalUAS.setStatus('current') prt_sonet_interval_ses = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 10), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalSES.setStatus('current') prt_sonet_interval_es = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 11), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalES.setStatus('current') prt_sonet_interval_status = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 12), octet_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalStatus.setStatus('current') prt_sonet_interval_lsv = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 3, 1, 13), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalLSV.setStatus('current') prt_sonet_path_current_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4)) if mibBuilder.loadTexts: prtSonetPathCurrentTable.setStatus('current') prt_path_current_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'ifIndex')) if mibBuilder.loadTexts: prtPathCurrentEntry.setStatus('current') prt_sonet_current_path_ais = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1, 1), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentPathAIS.setStatus('current') prt_sonet_current_path_ferf = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1, 2), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentPathFERF.setStatus('current') prt_sonet_current_lop = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1, 3), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentLOP.setStatus('current') prt_sonet_current_slm = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentSLM.setStatus('current') prt_sonet_current_loc = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentLOC.setStatus('current') prt_sonet_current_path_bip = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1, 6), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentPathBIP.setStatus('current') prt_sonet_current_path_febe = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 4, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetCurrentPathFEBE.setStatus('current') prt_sonet_path_interval_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5)) if mibBuilder.loadTexts: prtSonetPathIntervalTable.setStatus('current') prt_path_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'ifIndex'), (0, 'RAD-SONET-MIB', 'prtSonetPathIntervalNumber')) if mibBuilder.loadTexts: prtPathIntervalEntry.setStatus('current') prt_sonet_path_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 96))).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetPathIntervalNumber.setStatus('current') prt_sonet_interval_path_ais = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 2), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalPathAIS.setStatus('current') prt_sonet_interval_path_ferf = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 3), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalPathFERF.setStatus('current') prt_sonet_interval_lop = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalLOP.setStatus('current') prt_sonet_interval_slm = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalSLM.setStatus('current') prt_sonet_interval_loc = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 6), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalLOC.setStatus('current') prt_sonet_interval_path_bip = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalPathBIP.setStatus('current') prt_sonet_interval_path_febe = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 5, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetIntervalPathFEBE.setStatus('current') virtual_if_statistics = mib_identifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6)) virtual_if_current_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1)) if mibBuilder.loadTexts: virtualIfCurrentTable.setStatus('current') virtual_if_current_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'ifIndex')) if mibBuilder.loadTexts: virtualIfCurrentEntry.setStatus('current') virtual_if_current_min_active_vc = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 63))).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfCurrentMinActiveVC.setStatus('current') virtual_if_current_max_active_vc = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 63))).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfCurrentMaxActiveVC.setStatus('current') virtual_if_current_rx_frames = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 3), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfCurrentRxFrames.setStatus('current') virtual_if_current_tx_frames = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 4), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfCurrentTxFrames.setStatus('current') virtual_if_current_rx_abort_frames = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 5), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfCurrentRxAbortFrames.setStatus('current') virtual_if_current_tx_abort_frames = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 6), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfCurrentTxAbortFrames.setStatus('current') virtual_if_current_min_length_violation = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 7), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfCurrentMinLengthViolation.setStatus('current') virtual_if_current_max_length_violation = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 8), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfCurrentMaxLengthViolation.setStatus('current') virtual_if_current_fcs_error = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 9), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfCurrentFcsError.setStatus('current') virtual_if_current_byte_destuffing_violation = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 10), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfCurrentByteDestuffingViolation.setStatus('current') virtual_if_current_adress_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 11), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfCurrentAdressMismatch.setStatus('current') virtual_if_current_control_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 12), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfCurrentControlMismatch.setStatus('current') virtual_if_current_active_vc = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 1, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(1, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfCurrentActiveVC.setStatus('current') virtual_if_interval_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2)) if mibBuilder.loadTexts: virtualIfIntervalTable.setStatus('current') virtual_if_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'ifIndex'), (0, 'RAD-SONET-MIB', 'virtualIfIntervalNumber')) if mibBuilder.loadTexts: virtualIfIntervalEntry.setStatus('current') virtual_if_interval_number = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 96))) if mibBuilder.loadTexts: virtualIfIntervalNumber.setStatus('current') virtual_if_interval_min_active_vc = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfIntervalMinActiveVC.setStatus('current') virtual_if_interval_max_active_vc = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfIntervalMaxActiveVC.setStatus('current') virtual_if_interval_rx_frames = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 4), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfIntervalRxFrames.setStatus('current') virtual_if_interval_tx_frames = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 5), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfIntervalTxFrames.setStatus('current') virtual_if_interval_rx_abort_frames = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 6), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfIntervalRxAbortFrames.setStatus('current') virtual_if_interval_tx_abort_frames = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 7), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfIntervalTxAbortFrames.setStatus('current') virtual_if_interval_min_length_violation = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 8), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfIntervalMinLengthViolation.setStatus('current') virtual_if_interval_max_length_violation = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfIntervalMaxLengthViolation.setStatus('current') virtual_if_interval_fcs_error = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfIntervalFcsError.setStatus('current') virtual_if_interval_byte_destuffing_violation = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 11), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfIntervalByteDestuffingViolation.setStatus('current') virtual_if_interval_adress_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 12), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfIntervalAdressMismatch.setStatus('current') virtual_if_interval_control_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 13), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfIntervalControlMismatch.setStatus('current') virtual_if_interval_below_min_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 2, 1, 14), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfIntervalBelowMinThreshold.setStatus('current') virtual_if_laps_current_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 3)) if mibBuilder.loadTexts: virtualIfLAPSCurrentTable.setStatus('current') virtual_if_laps_current_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 3, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'ifIndex')) if mibBuilder.loadTexts: virtualIfLAPSCurrentEntry.setStatus('current') virtual_if_laps_current_sapi_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 3, 1, 1), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfLAPSCurrentSapiMismatch.setStatus('current') virtual_if_laps_interval_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 4)) if mibBuilder.loadTexts: virtualIfLAPSIntervalTable.setStatus('current') virtual_if_laps_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 4, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'ifIndex'), (0, 'RAD-SONET-MIB', 'virtualIfIntervalNumber')) if mibBuilder.loadTexts: virtualIfLAPSIntervalEntry.setStatus('current') virtual_if_laps_interval_sapi_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 4, 1, 1), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfLAPSIntervalSapiMismatch.setStatus('current') virtual_if_lapf_current_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5)) if mibBuilder.loadTexts: virtualIfLAPFCurrentTable.setStatus('current') virtual_if_lapf_current_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'ifIndex')) if mibBuilder.loadTexts: virtualIfLAPFCurrentEntry.setStatus('current') virtual_if_lapf_current_nlpid_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5, 1, 1), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfLAPFCurrentNlpidMismatch.setStatus('current') virtual_if_lapf_current_oui_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5, 1, 2), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfLAPFCurrentOuiMismatch.setStatus('current') virtual_if_lapf_current_pid_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5, 1, 3), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfLAPFCurrentPidMismatch.setStatus('current') virtual_if_lapf_current_dlci_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5, 1, 4), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfLAPFCurrentDlciMismatch.setStatus('current') virtual_if_lapf_current_mac_rx_frames = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5, 1, 5), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfLAPFCurrentMacRxFrames.setStatus('current') virtual_if_lapf_current_mac_tx_frames = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 5, 1, 6), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfLAPFCurrentMacTxFrames.setStatus('current') virtual_if_lapf_interval_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6)) if mibBuilder.loadTexts: virtualIfLAPFIntervalTable.setStatus('current') virtual_if_lapf_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'ifIndex'), (0, 'RAD-SONET-MIB', 'virtualIfIntervalNumber')) if mibBuilder.loadTexts: virtualIfLAPFIntervalEntry.setStatus('current') virtual_if_lapf_interval_nlpid_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6, 1, 1), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfLAPFIntervalNlpidMismatch.setStatus('current') virtual_if_lapf_interval_oui_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6, 1, 2), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfLAPFIntervalOuiMismatch.setStatus('current') virtual_if_lapf_interval_pid_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6, 1, 3), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfLAPFIntervalPidMismatch.setStatus('current') virtual_if_lapf_interval_dlci_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6, 1, 4), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfLAPFIntervalDlciMismatch.setStatus('current') virtual_if_lapf_interval_mac_rx_frames = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6, 1, 5), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfLAPFIntervalMacRxFrames.setStatus('current') virtual_if_lapf_interval_mac_tx_frames = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 6, 1, 6), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfLAPFIntervalMacTxFrames.setStatus('current') virtual_if_gfp_current_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7)) if mibBuilder.loadTexts: virtualIfGFPCurrentTable.setStatus('current') virtual_if_gfp_current_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'ifIndex')) if mibBuilder.loadTexts: virtualIfGFPCurrentEntry.setStatus('current') virtual_if_gfp_current_idle_frame_error = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 1), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPCurrentIdleFrameError.setStatus('current') virtual_if_gfp_current_c_hec_sb_error = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 2), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPCurrentCHecSbError.setStatus('current') virtual_if_gfp_current_pti_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 3), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPCurrentPtiMismatch.setStatus('current') virtual_if_gfp_current_exi_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 4), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPCurrentExiMismatch.setStatus('current') virtual_if_gfp_current_upi_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 5), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPCurrentUpiMismatch.setStatus('current') virtual_if_gfp_current_t_hec_sb_error = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 6), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPCurrentTHecSbError.setStatus('current') virtual_if_gfp_current_t_hec_mb_error = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 7), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPCurrentTHecMbError.setStatus('current') virtual_if_gfp_current_cid_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 8), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPCurrentCidMismatch.setStatus('current') virtual_if_gfp_current_e_hec_sb_error = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 9), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPCurrentEHecSbError.setStatus('current') virtual_if_gfp_current_e_hec_mb_error = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 7, 1, 10), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPCurrentEHecMbError.setStatus('current') virtual_if_gfp_interval_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8)) if mibBuilder.loadTexts: virtualIfGFPIntervalTable.setStatus('current') virtual_if_gfp_interval_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'ifIndex'), (0, 'RAD-SONET-MIB', 'virtualIfIntervalNumber')) if mibBuilder.loadTexts: virtualIfGFPIntervalEntry.setStatus('current') virtual_if_gfp_interval_idle_frame_error = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 1), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPIntervalIdleFrameError.setStatus('current') virtual_if_gfp_interval_c_hec_sb_error = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 2), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPIntervalCHecSbError.setStatus('current') virtual_if_gfp_interval_pti_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 3), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPIntervalPtiMismatch.setStatus('current') virtual_if_gfp_interval_exi_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 4), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPIntervalExiMismatch.setStatus('current') virtual_if_gfp_interval_upi_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 5), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPIntervalUpiMismatch.setStatus('current') virtual_if_gfp_interval_t_hec_sb_error = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 6), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPIntervalTHecSbError.setStatus('current') virtual_if_gfp_interval_t_hec_mb_error = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 7), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPIntervalTHecMbError.setStatus('current') virtual_if_gfp_interval_cid_mismatch = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 8), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPIntervalCidMismatch.setStatus('current') virtual_if_gfp_interval_e_hec_sb_error = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPIntervalEHecSbError.setStatus('current') virtual_if_gfp_interval_e_hec_mb_error = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 1, 6, 8, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGFPIntervalEHecMbError.setStatus('current') prt_sonet_config = mib_identifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2)) prt_sonet_gen = mib_identifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1)) prt_sonet_gen_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1, 1)) if mibBuilder.loadTexts: prtSonetGenTable.setStatus('current') prt_sonet_gen_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1, 1, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'prtSonetGenCnfgIdx'), (0, 'RAD-SONET-MIB', 'prtSonetGenIdx')) if mibBuilder.loadTexts: prtSonetGenEntry.setStatus('current') prt_sonet_gen_cnfg_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetGenCnfgIdx.setStatus('current') prt_sonet_gen_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetGenIdx.setStatus('current') prt_sonet_gen_sd_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('notApplicable', 1), ('n3', 3), ('n4', 4), ('n5', 5), ('n6', 6), ('n7', 7), ('n8', 8), ('n9', 9)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetGenSdThreshold.setStatus('current') prt_sonet_gen_eed_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('notApplicable', 1), ('n3', 3), ('n4', 4), ('n5', 5), ('n6', 6), ('n7', 7), ('n8', 8), ('n9', 9)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetGenEedThreshold.setStatus('current') prt_sonet_gen_ber_enable = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notApplicable', 1), ('disable', 2), ('enable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetGenBerEnable.setStatus('current') prt_sonet_stm1 = mib_identifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2)) prt_sonet_stm1_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1)) if mibBuilder.loadTexts: prtSonetStm1Table.setStatus('current') prt_sonet_stm1_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'prtSonetStm1CnfgIdx'), (0, 'RAD-SONET-MIB', 'prtSonetStm1Idx')) if mibBuilder.loadTexts: prtSonetStm1Entry.setStatus('current') prt_sonet_stm1_cnfg_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetStm1CnfgIdx.setStatus('current') prt_sonet_stm1_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetStm1Idx.setStatus('current') prt_sonet_stm1_clock_src = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notApplicable', 1), ('internal', 2), ('lbt', 3), ('systemClk', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetStm1ClockSrc.setStatus('current') prt_sonet_stm1_dcc_mode = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('notApplicable', 1), ('none', 2), ('d1ToD3', 3), ('d4ToD12', 4), ('d1', 5), ('d2', 6), ('d3', 7), ('d4', 8), ('d5', 9), ('d6', 10), ('d7', 11), ('d8', 12), ('d9', 13), ('d10', 14), ('d11', 15), ('d12', 16)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetStm1DccMode.setStatus('current') prt_sonet_stm1_routing_prot = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notApplicable', 1), ('none', 2), ('proprietary', 3), ('rip2', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetStm1RoutingProt.setStatus('current') prt_sonet_stm1_mng_prot = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 5, 6, 7, 8))).clone(namedValues=named_values(('notApplicable', 1), ('proprietary', 3), ('ppp', 5), ('frameRelay', 6), ('hdlc', 7), ('lapdOverHdlc', 8)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetStm1MngProt.setStatus('current') prt_sonet_stm1_operational_mode = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notApplicable', 1), ('terminal', 2), ('linear', 3), ('linearProtection', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetStm1OperationalMode.setStatus('current') prt_sonet_stm1_voice_channel = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notApplicable', 1), ('none', 2), ('e1Byte', 3), ('e2Byte', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetStm1VoiceChannel.setStatus('current') prt_sonet_stm1_output_rate = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetStm1OutputRate.setStatus('current') prt_sonet_stm1_s1_protocol_clock = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notApplicable', 1), ('disable', 2), ('enable', 3), ('transparent', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetStm1S1ProtocolClock.setStatus('current') prt_sonet_stm1_gateway_ring_subnet_address = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 11), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetStm1GatewayRingSubnetAddress.setStatus('current') prt_sonet_stm1_gateway_ring_subnet_mask = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 12), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetStm1GatewayRingSubnetMask.setStatus('current') prt_sonet_stm1_mng_prot_deviation_type = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 2, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notApplicable', 1), ('standard', 2), ('type1', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetStm1MngProtDeviationType.setStatus('current') prt_sonet_vc = mib_identifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3)) prt_sonet_vc_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1)) if mibBuilder.loadTexts: prtSonetVcTable.setStatus('current') prt_sonet_vc_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'prtSonetVcCnfgIdx'), (0, 'RAD-SONET-MIB', 'prtSonetVcIdx')) if mibBuilder.loadTexts: prtSonetVcEntry.setStatus('current') prt_sonet_vc_cnfg_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetVcCnfgIdx.setStatus('current') prt_sonet_vc_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetVcIdx.setStatus('current') prt_sonet_vc_j_tx_path_trace_enable = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notApplicable', 1), ('disable', 2), ('enable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetVcJTxPathTraceEnable.setStatus('current') prt_sonet_vc_j_rx_path_trace_enable = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notApplicable', 1), ('disable', 2), ('enable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetVcJRxPathTraceEnable.setStatus('current') prt_sonet_vc_j_path_trace = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 62))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetVcJPathTrace.setStatus('current') prt_sonet_vc_connect = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notApplicable', 1), ('no', 2), ('yes', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetVcConnect.setStatus('current') prt_sonet_vc_signal_label = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 1, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: prtSonetVcSignalLabel.setStatus('current') prt_sonet_tu_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2)) if mibBuilder.loadTexts: prtSonetTuTable.setStatus('current') prt_sonet_tu_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'prtSonetTuCnfgIdx'), (0, 'RAD-SONET-MIB', 'prtSonetTuPrtIdx'), (0, 'RAD-SONET-MIB', 'prtSonetTuIdx'), (0, 'RAD-SONET-MIB', 'prtSonetTuConPrtIdx')) if mibBuilder.loadTexts: prtSonetTuEntry.setStatus('current') prt_sonet_tu_cnfg_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetTuCnfgIdx.setStatus('current') prt_sonet_tu_prt_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetTuPrtIdx.setStatus('current') prt_sonet_tu_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetTuIdx.setStatus('current') prt_sonet_tu_con_prt_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetTuConPrtIdx.setStatus('current') prt_sonet_tu_type = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(2, 3))).clone(namedValues=named_values(('connect', 2), ('bypass', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: prtSonetTuType.setStatus('current') prt_sonet_tu_mode = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notApplicable', 1), ('addAndDrop', 2), ('add', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: prtSonetTuMode.setStatus('current') prt_sonet_tu_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 3, 2, 1, 7), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: prtSonetTuRowStatus.setStatus('current') prt_sonet_x_connect = mib_identifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3)) prt_sonet_x_connect_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1)) if mibBuilder.loadTexts: prtSonetXConnectTable.setStatus('current') prt_sonet_x_connect_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'prtSonetXConnectCnfgIdx'), (0, 'RAD-SONET-MIB', 'prtSonetXConnectPrtIdx'), (0, 'RAD-SONET-MIB', 'prtSonetXConnectConPrtIdx'), (0, 'RAD-SONET-MIB', 'prtSonetXConnectAUGIdx'), (0, 'RAD-SONET-MIB', 'prtSonetXConnectTUG3Idx'), (0, 'RAD-SONET-MIB', 'prtSonetXConnectTUG2Idx'), (0, 'RAD-SONET-MIB', 'prtSonetXConnectTUnIdx')) if mibBuilder.loadTexts: prtSonetXConnectEntry.setStatus('current') prt_sonet_x_connect_cnfg_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetXConnectCnfgIdx.setStatus('current') prt_sonet_x_connect_prt_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetXConnectPrtIdx.setStatus('current') prt_sonet_x_connect_con_prt_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetXConnectConPrtIdx.setStatus('current') prt_sonet_x_connect_aug_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetXConnectAUGIdx.setStatus('current') prt_sonet_x_connect_tug3_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetXConnectTUG3Idx.setStatus('current') prt_sonet_x_connect_tug2_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetXConnectTUG2Idx.setStatus('current') prt_sonet_x_connect_t_un_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetXConnectTUnIdx.setStatus('current') prt_sonet_x_connect_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 8), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: prtSonetXConnectRowStatus.setStatus('current') prt_sonet_x_connect_direction = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notApplicable', 1), ('rx', 2), ('tx', 3), ('both', 4)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: prtSonetXConnectDirection.setStatus('current') prt_sonet_x_connect_tu_number = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 3, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('notApplicable', 1), ('tu2', 2), ('tu3', 3), ('tu11', 4), ('tu12', 5)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: prtSonetXConnectTuNumber.setStatus('current') prt_sonet_status = mib_identifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 4)) prt_sonet_vc_stat_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 4, 1)) if mibBuilder.loadTexts: prtSonetVcStatTable.setStatus('current') prt_sonet_vc_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 4, 1, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'prtSonetVcIdx')) if mibBuilder.loadTexts: prtSonetVcStatEntry.setStatus('current') prt_sonet_vc_rx_j_path_trace = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 4, 1, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 62))).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetVcRxJPathTrace.setStatus('current') prt_sonet_vc_rx_signal_label = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 4, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetVcRxSignalLabel.setStatus('current') prt_sonet_vc_lcas_source_state = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 4, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('notApplicable', 1), ('fixed', 2), ('add', 3), ('norm', 4), ('eos', 5), ('idle', 6), ('dnu', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetVcLcasSourceState.setStatus('current') prt_sonet_vc_lcas_sink_state = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 4, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('notApplicable', 1), ('fixed', 2), ('add', 3), ('norm', 4), ('eos', 5), ('idle', 6), ('dnu', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: prtSonetVcLcasSinkState.setStatus('current') prt_vc_group_cnfg = mib_identifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4)) vc_group_cnfg_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1)) if mibBuilder.loadTexts: vcGroupCnfgTable.setStatus('current') vc_group_cnfg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'vcGroupCnfgIdx'), (0, 'RAD-SONET-MIB', 'vcGroupCnfgNumber')) if mibBuilder.loadTexts: vcGroupCnfgEntry.setStatus('current') vc_group_cnfg_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: vcGroupCnfgIdx.setStatus('current') vc_group_cnfg_number = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 2), integer32()) if mibBuilder.loadTexts: vcGroupCnfgNumber.setStatus('current') vc_group_cnfg_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: vcGroupCnfgRowStatus.setStatus('current') vc_group_cnfg_vc_type = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('notApplicable', 1), ('vc12', 2), ('vc3', 3), ('vc4', 4), ('vt1dot5', 5), ('sts1', 6)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: vcGroupCnfgVcType.setStatus('current') vc_group_cnfg_no_of_v_cs = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 84))).setMaxAccess('readcreate') if mibBuilder.loadTexts: vcGroupCnfgNoOfVCs.setStatus('current') vc_group_cnfg_lcas = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notApplicable', 1), ('lcasNotActive', 2), ('lcasActive', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: vcGroupCnfgLCAS.setStatus('current') vc_group_cnfg_encapsulation = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notApplicable', 1), ('laps', 2), ('lapf', 3), ('gfp', 4)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: vcGroupCnfgEncapsulation.setStatus('current') vc_group_cnfg_group_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 8), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: vcGroupCnfgGroupIfIndex.setStatus('current') vc_group_cnfg_rip2 = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notApplicable', 1), ('no', 2), ('yes', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: vcGroupCnfgRip2.setStatus('current') vc_group_cnfg_gfp_ch_id = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readcreate') if mibBuilder.loadTexts: vcGroupCnfgGfpChId.setStatus('current') vc_group_cnfg_k4 = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notApplicable', 1), ('no', 2), ('yes', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: vcGroupCnfgK4.setStatus('current') vc_group_cnfg_ex_signal_label = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 12), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: vcGroupCnfgExSignalLabel.setStatus('current') vc_group_cnfg_lcas_min_no_of_v_cs = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 83))).setMaxAccess('readcreate') if mibBuilder.loadTexts: vcGroupCnfgLcasMinNoOfVCs.setStatus('current') vc_group_cnfg_lcas_status = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notApplicable', 1), ('belowMinNoOfVCs', 2), ('withinRange', 3), ('allNorm', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: vcGroupCnfgLcasStatus.setStatus('current') vcg_gfp_mux_cnfg_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2)) if mibBuilder.loadTexts: vcgGfpMuxCnfgTable.setStatus('current') vcg_gfp_mux_cnfg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'vcgGfpMuxCnfgIdx'), (0, 'RAD-SONET-MIB', 'vcgGfpMuxCnfgMuxNumber')) if mibBuilder.loadTexts: vcgGfpMuxCnfgEntry.setStatus('current') vcg_gfp_mux_cnfg_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: vcgGfpMuxCnfgIdx.setStatus('current') vcg_gfp_mux_cnfg_mux_number = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2, 1, 2), integer32()) if mibBuilder.loadTexts: vcgGfpMuxCnfgMuxNumber.setStatus('current') vcg_gfp_mux_cnfg_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: vcgGfpMuxCnfgRowStatus.setStatus('current') vcg_gfp_mux_cnfg_mux_name = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2, 1, 4), snmp_admin_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: vcgGfpMuxCnfgMuxName.setStatus('current') vcg_gfp_mux_cnfg_prime_group = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2, 1, 5), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: vcgGfpMuxCnfgPrimeGroup.setStatus('current') vcg_gfp_mux_cnfg_grp_bw_alloc = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 4, 2, 1, 6), octet_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: vcgGfpMuxCnfgGrpBwAlloc.setStatus('current') virtual_if_configuration = mib_identifier((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 5)) virtual_if_gen_table = mib_table((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 5, 1)) if mibBuilder.loadTexts: virtualIfGenTable.setStatus('current') virtual_if_gen_entry = mib_table_row((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 5, 1, 1)).setIndexNames((0, 'RAD-SONET-MIB', 'virtualIfGenCnfgIdx'), (0, 'RAD-SONET-MIB', 'virtualIfGenIdx')) if mibBuilder.loadTexts: virtualIfGenEntry.setStatus('current') virtual_if_gen_cnfg_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 5, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGenCnfgIdx.setStatus('current') virtual_if_gen_idx = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 5, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualIfGenIdx.setStatus('current') virtual_if_gen_frame_format = mib_table_column((1, 3, 6, 1, 4, 1, 164, 3, 1, 6, 2, 2, 5, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notApplicable', 1), ('fcsEnable', 2), ('fcsDisable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: virtualIfGenFrameFormat.setStatus('current') mibBuilder.exportSymbols('RAD-SONET-MIB', virtualIfIntervalByteDestuffingViolation=virtualIfIntervalByteDestuffingViolation, virtualIfGFPCurrentPtiMismatch=virtualIfGFPCurrentPtiMismatch, prtPathIntervalEntry=prtPathIntervalEntry, virtualIfLAPFCurrentEntry=virtualIfLAPFCurrentEntry, virtualIfGFPCurrentEHecSbError=virtualIfGFPCurrentEHecSbError, vcgGfpMuxCnfgPrimeGroup=vcgGfpMuxCnfgPrimeGroup, prtSonetTuRowStatus=prtSonetTuRowStatus, vcgGfpMuxCnfgMuxName=vcgGfpMuxCnfgMuxName, virtualIfGFPIntervalCHecSbError=virtualIfGFPIntervalCHecSbError, prtSonetXConnectTable=prtSonetXConnectTable, sonetInterface=sonetInterface, virtualIfCurrentTxAbortFrames=virtualIfCurrentTxAbortFrames, prtSonetCurrentLineBIP=prtSonetCurrentLineBIP, virtualIfIntervalAdressMismatch=virtualIfIntervalAdressMismatch, virtualIfGFPCurrentEHecMbError=virtualIfGFPCurrentEHecMbError, prtSonetPathIntervalNumber=prtSonetPathIntervalNumber, prtSonetCurrentLineAIS=prtSonetCurrentLineAIS, virtualIfGFPCurrentTable=virtualIfGFPCurrentTable, prtPathCurrentEntry=prtPathCurrentEntry, prtSonetCurrentPathFERF=prtSonetCurrentPathFERF, virtualIfGenCnfgIdx=virtualIfGenCnfgIdx, prtSonetCurrentUAS=prtSonetCurrentUAS, prtSonetIntervalPathAIS=prtSonetIntervalPathAIS, virtualIfGFPIntervalTable=virtualIfGFPIntervalTable, vcGroupCnfgLCAS=vcGroupCnfgLCAS, vcgGfpMuxCnfgIdx=vcgGfpMuxCnfgIdx, prtSonetIntervalLineAIS=prtSonetIntervalLineAIS, virtualIfIntervalNumber=virtualIfIntervalNumber, virtualIfStatistics=virtualIfStatistics, virtualIfLAPFIntervalMacRxFrames=virtualIfLAPFIntervalMacRxFrames, virtualIfIntervalTxFrames=virtualIfIntervalTxFrames, prtSonetCurrentPathAIS=prtSonetCurrentPathAIS, virtualIfGFPCurrentCHecSbError=virtualIfGFPCurrentCHecSbError, virtualIfLAPFCurrentMacTxFrames=virtualIfLAPFCurrentMacTxFrames, prtSonetStm1ClockSrc=prtSonetStm1ClockSrc, prtSonetXConnectDirection=prtSonetXConnectDirection, vcGroupCnfgGroupIfIndex=vcGroupCnfgGroupIfIndex, prtSonetVcLcasSourceState=prtSonetVcLcasSourceState, prtSonetCurrentPathFEBE=prtSonetCurrentPathFEBE, prtSonetIntervalLSV=prtSonetIntervalLSV, virtualIfGFPIntervalExiMismatch=virtualIfGFPIntervalExiMismatch, vcgGfpMuxCnfgMuxNumber=vcgGfpMuxCnfgMuxNumber, virtualIfCurrentActiveVC=virtualIfCurrentActiveVC, prtSonetCurrentLOS=prtSonetCurrentLOS, virtualIfIntervalMinLengthViolation=virtualIfIntervalMinLengthViolation, prtSonetStm1MngProt=prtSonetStm1MngProt, prtSonetVcCnfgIdx=prtSonetVcCnfgIdx, prtSonetStm1GatewayRingSubnetMask=prtSonetStm1GatewayRingSubnetMask, prtSonetCurrentLOF=prtSonetCurrentLOF, prtSonetIntervalLineFERF=prtSonetIntervalLineFERF, prtSonetCurrentLOP=prtSonetCurrentLOP, prtSonetVcJPathTrace=prtSonetVcJPathTrace, virtualIfGFPCurrentUpiMismatch=virtualIfGFPCurrentUpiMismatch, prtSonetVcIdx=prtSonetVcIdx, virtualIfCurrentRxAbortFrames=virtualIfCurrentRxAbortFrames, prtSonetCurrentLSV=prtSonetCurrentLSV, virtualIfLAPFCurrentDlciMismatch=virtualIfLAPFCurrentDlciMismatch, virtualIfLAPSCurrentSapiMismatch=virtualIfLAPSCurrentSapiMismatch, prtSonetIntervalSLM=prtSonetIntervalSLM, prtSonetIntervalLOC=prtSonetIntervalLOC, virtualIfCurrentAdressMismatch=virtualIfCurrentAdressMismatch, prtSectionLineIntervalEntry=prtSectionLineIntervalEntry, virtualIfGFPCurrentCidMismatch=virtualIfGFPCurrentCidMismatch, virtualIfIntervalMinActiveVC=virtualIfIntervalMinActiveVC, prtSonetCurrentStatus=prtSonetCurrentStatus, virtualIfLAPSCurrentTable=virtualIfLAPSCurrentTable, virtualIfLAPFCurrentPidMismatch=virtualIfLAPFCurrentPidMismatch, virtualIfCurrentMaxActiveVC=virtualIfCurrentMaxActiveVC, virtualIfGFPIntervalUpiMismatch=virtualIfGFPIntervalUpiMismatch, prtSonetTuTable=prtSonetTuTable, virtualIfCurrentMinActiveVC=virtualIfCurrentMinActiveVC, prtSonetXConnectConPrtIdx=prtSonetXConnectConPrtIdx, vcgGfpMuxCnfgGrpBwAlloc=vcgGfpMuxCnfgGrpBwAlloc, prtSonetPathIntervalTable=prtSonetPathIntervalTable, virtualIfLAPFCurrentOuiMismatch=virtualIfLAPFCurrentOuiMismatch, prtSonetStm1Entry=prtSonetStm1Entry, vcgGfpMuxCnfgTable=vcgGfpMuxCnfgTable, virtualIfIntervalTable=virtualIfIntervalTable, prtSonetXConnectTUG2Idx=prtSonetXConnectTUG2Idx, prtSonetStm1Idx=prtSonetStm1Idx, prtSonetIntervalLineBIP=prtSonetIntervalLineBIP, prtSonetCurrentSES=prtSonetCurrentSES, prtSonetCurrentPathBIP=prtSonetCurrentPathBIP, virtualIfIntervalRxAbortFrames=virtualIfIntervalRxAbortFrames, vcGroupCnfgEncapsulation=vcGroupCnfgEncapsulation, prtSonetXConnectTuNumber=prtSonetXConnectTuNumber, prtSonetVcRxSignalLabel=prtSonetVcRxSignalLabel, virtualIfLAPSCurrentEntry=virtualIfLAPSCurrentEntry, virtualIfConfiguration=virtualIfConfiguration, virtualIfGFPIntervalEHecMbError=virtualIfGFPIntervalEHecMbError, prtSonetIntervalSectionBIP=prtSonetIntervalSectionBIP, prtSonetCurrentLOC=prtSonetCurrentLOC, prtSonetGenEntry=prtSonetGenEntry, prtSonetPathCurrentTable=prtSonetPathCurrentTable, virtualIfLAPSIntervalSapiMismatch=virtualIfLAPSIntervalSapiMismatch, virtualIfLAPSIntervalEntry=virtualIfLAPSIntervalEntry, virtualIfLAPFIntervalEntry=virtualIfLAPFIntervalEntry, prtSonetVcEntry=prtSonetVcEntry, prtSonetStm1OutputRate=prtSonetStm1OutputRate, prtSonetTuPrtIdx=prtSonetTuPrtIdx, prtSonetVcStatTable=prtSonetVcStatTable, prtSonetSectionLineCurrentTable=prtSonetSectionLineCurrentTable, vcGroupCnfgLcasMinNoOfVCs=vcGroupCnfgLcasMinNoOfVCs, virtualIfLAPFIntervalNlpidMismatch=virtualIfLAPFIntervalNlpidMismatch, virtualIfCurrentEntry=virtualIfCurrentEntry, prtSonetVcTable=prtSonetVcTable, prtSonetTuEntry=prtSonetTuEntry, prtSonetXConnectPrtIdx=prtSonetXConnectPrtIdx, prtSonetXConnectEntry=prtSonetXConnectEntry, virtualIfGenTable=virtualIfGenTable, prtSonetGenBerEnable=prtSonetGenBerEnable, virtualIfIntervalMaxActiveVC=virtualIfIntervalMaxActiveVC, virtualIfLAPFCurrentTable=virtualIfLAPFCurrentTable, vcGroupCnfgLcasStatus=vcGroupCnfgLcasStatus, virtualIfGenFrameFormat=virtualIfGenFrameFormat, prtSonetIntervalLOS=prtSonetIntervalLOS, vcGroupCnfgNoOfVCs=vcGroupCnfgNoOfVCs, vcGroupCnfgK4=vcGroupCnfgK4, prtSonetIntervalLOF=prtSonetIntervalLOF, prtSonetVcConnect=prtSonetVcConnect, prtSonetStatus=prtSonetStatus, prtSonetStm1VoiceChannel=prtSonetStm1VoiceChannel, prtSonetCurrentSLM=prtSonetCurrentSLM, prtSonetStm1OperationalMode=prtSonetStm1OperationalMode, vcgGfpMuxCnfgEntry=vcgGfpMuxCnfgEntry, virtualIfGFPCurrentEntry=virtualIfGFPCurrentEntry, prtSonetXConnectTUnIdx=prtSonetXConnectTUnIdx, prtSonetMediumEntry=prtSonetMediumEntry, prtSonetStm1RoutingProt=prtSonetStm1RoutingProt, prtSonetSectionLineIntervalTable=prtSonetSectionLineIntervalTable, prtSonetTuType=prtSonetTuType, virtualIfGFPIntervalIdleFrameError=virtualIfGFPIntervalIdleFrameError, prtSonetIntervalLOP=prtSonetIntervalLOP, prtSonetStm1Table=prtSonetStm1Table, prtSonetVc=prtSonetVc, virtualIfCurrentRxFrames=virtualIfCurrentRxFrames, prtSonetVcLcasSinkState=prtSonetVcLcasSinkState, virtualIfGFPCurrentIdleFrameError=virtualIfGFPCurrentIdleFrameError, prtSonetIntervalPathFEBE=prtSonetIntervalPathFEBE, prtSonetCurrentLineFERF=prtSonetCurrentLineFERF, prtSonetVcSignalLabel=prtSonetVcSignalLabel, prtSonetVcJRxPathTraceEnable=prtSonetVcJRxPathTraceEnable, prtSonetLineIntervalNumber=prtSonetLineIntervalNumber, prtSonetIntervalPathBIP=prtSonetIntervalPathBIP, virtualIfGFPCurrentTHecSbError=virtualIfGFPCurrentTHecSbError, prtSonetStm1CnfgIdx=prtSonetStm1CnfgIdx, prtSonetStm1DccMode=prtSonetStm1DccMode, prtSonetStm1S1ProtocolClock=prtSonetStm1S1ProtocolClock, prtSonetTuConPrtIdx=prtSonetTuConPrtIdx, vcGroupCnfgVcType=vcGroupCnfgVcType, virtualIfLAPFIntervalMacTxFrames=virtualIfLAPFIntervalMacTxFrames, virtualIfCurrentTable=virtualIfCurrentTable, vcGroupCnfgEntry=vcGroupCnfgEntry, prtSonetGenSdThreshold=prtSonetGenSdThreshold, prtSonetIntervalUAS=prtSonetIntervalUAS, virtualIfGFPCurrentTHecMbError=virtualIfGFPCurrentTHecMbError, virtualIfCurrentTxFrames=virtualIfCurrentTxFrames, prtSonetIntervalSES=prtSonetIntervalSES, virtualIfLAPFIntervalTable=virtualIfLAPFIntervalTable, prtSonetXConnectCnfgIdx=prtSonetXConnectCnfgIdx, prtSonetCurrentLineFEBE=prtSonetCurrentLineFEBE, prtSonetVcStatEntry=prtSonetVcStatEntry, virtualIfIntervalBelowMinThreshold=virtualIfIntervalBelowMinThreshold, virtualIfCurrentFcsError=virtualIfCurrentFcsError, virtualIfLAPFCurrentMacRxFrames=virtualIfLAPFCurrentMacRxFrames, virtualIfGFPIntervalPtiMismatch=virtualIfGFPIntervalPtiMismatch, virtualIfIntervalRxFrames=virtualIfIntervalRxFrames, prtSonetGenTable=prtSonetGenTable, virtualIfGFPIntervalCidMismatch=virtualIfGFPIntervalCidMismatch, prtSonetXConnectTUG3Idx=prtSonetXConnectTUG3Idx, prtSonetStm1=prtSonetStm1, virtualIfIntervalControlMismatch=virtualIfIntervalControlMismatch, prtSonetIntervalES=prtSonetIntervalES, prtSonetConfig=prtSonetConfig, prtSonetXConnect=prtSonetXConnect, virtualIfGFPIntervalEHecSbError=virtualIfGFPIntervalEHecSbError, vcGroupCnfgIdx=vcGroupCnfgIdx, vcGroupCnfgExSignalLabel=vcGroupCnfgExSignalLabel, vcGroupCnfgNumber=vcGroupCnfgNumber, virtualIfIntervalMaxLengthViolation=virtualIfIntervalMaxLengthViolation, prtSonetMediumValidIntervals=prtSonetMediumValidIntervals, prtSonetTuMode=prtSonetTuMode, prtSonetCurrentSectionBIP=prtSonetCurrentSectionBIP, virtualIfIntervalFcsError=virtualIfIntervalFcsError, virtualIfCurrentMinLengthViolation=virtualIfCurrentMinLengthViolation, virtualIfCurrentControlMismatch=virtualIfCurrentControlMismatch, virtualIfGFPIntervalTHecSbError=virtualIfGFPIntervalTHecSbError, prtSonetXConnectAUGIdx=prtSonetXConnectAUGIdx, vcGroupCnfgGfpChId=vcGroupCnfgGfpChId, virtualIfGenEntry=virtualIfGenEntry, virtualIfLAPFCurrentNlpidMismatch=virtualIfLAPFCurrentNlpidMismatch, prtSonetStm1GatewayRingSubnetAddress=prtSonetStm1GatewayRingSubnetAddress, prtSonetIntervalPathFERF=prtSonetIntervalPathFERF, virtualIfCurrentByteDestuffingViolation=virtualIfCurrentByteDestuffingViolation, prtSonetGenCnfgIdx=prtSonetGenCnfgIdx, prtSonetPerfHistory=prtSonetPerfHistory, prtSonetMediumTimeElapsed=prtSonetMediumTimeElapsed, prtSonetVcJTxPathTraceEnable=prtSonetVcJTxPathTraceEnable, prtSonetIntervalLineFEBE=prtSonetIntervalLineFEBE, virtualIfGFPIntervalEntry=virtualIfGFPIntervalEntry, prtSonetVcRxJPathTrace=prtSonetVcRxJPathTrace, prtSonetCurrentES=prtSonetCurrentES, prtSonetStm1MngProtDeviationType=prtSonetStm1MngProtDeviationType, vcGroupCnfgRowStatus=vcGroupCnfgRowStatus, virtualIfLAPFIntervalDlciMismatch=virtualIfLAPFIntervalDlciMismatch, prtSonetGenIdx=prtSonetGenIdx, vcgGfpMuxCnfgRowStatus=vcgGfpMuxCnfgRowStatus, virtualIfLAPSIntervalTable=virtualIfLAPSIntervalTable, virtualIfGFPIntervalTHecMbError=virtualIfGFPIntervalTHecMbError, prtSonetGen=prtSonetGen, prtSectionLineCurrentEntry=prtSectionLineCurrentEntry, prtSonetIntervalStatus=prtSonetIntervalStatus, prtSonetMediumTable=prtSonetMediumTable, vcGroupCnfgRip2=vcGroupCnfgRip2, virtualIfLAPFIntervalPidMismatch=virtualIfLAPFIntervalPidMismatch, vcGroupCnfgTable=vcGroupCnfgTable, virtualIfLAPFIntervalOuiMismatch=virtualIfLAPFIntervalOuiMismatch, virtualIfCurrentMaxLengthViolation=virtualIfCurrentMaxLengthViolation, virtualIfGFPCurrentExiMismatch=virtualIfGFPCurrentExiMismatch, prtVcGroupCnfg=prtVcGroupCnfg, virtualIfIntervalEntry=virtualIfIntervalEntry, prtSonetTuCnfgIdx=prtSonetTuCnfgIdx, prtSonetXConnectRowStatus=prtSonetXConnectRowStatus, prtSonetGenEedThreshold=prtSonetGenEedThreshold, virtualIfIntervalTxAbortFrames=virtualIfIntervalTxAbortFrames, virtualIfGenIdx=virtualIfGenIdx, prtSonetTuIdx=prtSonetTuIdx)
class General(): ''' this class runs the experiments with given number of users of each category ''' def __init__(self, p_manager, c_manager, environment): self.person_manager = p_manager self.context_manager = c_manager self.environment = environment self.rewards_log = [] self.candidates_values = self.environment.arms_candidates self.expected_values = [[c * 0.5 for c in self.candidates_values] for cat in range(3)] def play_experiment(self, num_persons): ''' runs a pricing experiment with a given number of users ''' for t in range(num_persons): # nuova persona category_person = self.person_manager.new_person() features_person = self.person_manager.categories[category_person] # print("persona {}, category {}".format(t, features_person)) # candidates candidates_values = self.environment.arms_candidates # scelgo arm pulled_arm = self.context_manager.select_arm(features_person, t, candidates_values) # returns the expected value of this arm from the assigned context. valore_atteso_arm = self.context_manager.val_att_arm(features_person, pulled_arm, candidates_values) # receive positive or null reward reward_person = self.environment.round(category_person, pulled_arm) # update context_manager with reward self.context_manager.update_context(features_person, pulled_arm, reward_person) # update ethe experiment's rewads log, self.rewards_log.append([category_person, pulled_arm, reward_person, valore_atteso_arm]) # for i, c in self.context_manager.contexts_set.items(): # print("\ncontext {}".format(i)) # print("len(context.rewards_log) = {}".format(len(c.rewards_log))) # print("context.subspace = {}".format(c.subspace)) # print("context.learner.beta_parameters = \n{}".format(c.learner.beta_parameters.astype(int))) return self.rewards_log def run_pricing_experiment(self, n_categories_clicks): ''' runs a pricing experiment with a given number of users. this is called as a method inside the advertising modules ''' for index, clicks in enumerate(n_categories_clicks): features_person = self.person_manager.categories[index] for n in range(int(round(clicks))): pulled_arm = self.context_manager.select_arm(features_person, n, self.candidates_values) reward_person = self.environment.round(index, pulled_arm) self.context_manager.update_context(features_person, pulled_arm, reward_person) self.rewards_log.append([index, pulled_arm, reward_person]) idx = self.context_manager.features_context[features_person] for c in range(len(self.candidates_values)): self.expected_values[idx][c] = self.context_manager.contexts_set[idx].learner.expected_value(c, self.candidates_values[ c])
class General: """ this class runs the experiments with given number of users of each category """ def __init__(self, p_manager, c_manager, environment): self.person_manager = p_manager self.context_manager = c_manager self.environment = environment self.rewards_log = [] self.candidates_values = self.environment.arms_candidates self.expected_values = [[c * 0.5 for c in self.candidates_values] for cat in range(3)] def play_experiment(self, num_persons): """ runs a pricing experiment with a given number of users """ for t in range(num_persons): category_person = self.person_manager.new_person() features_person = self.person_manager.categories[category_person] candidates_values = self.environment.arms_candidates pulled_arm = self.context_manager.select_arm(features_person, t, candidates_values) valore_atteso_arm = self.context_manager.val_att_arm(features_person, pulled_arm, candidates_values) reward_person = self.environment.round(category_person, pulled_arm) self.context_manager.update_context(features_person, pulled_arm, reward_person) self.rewards_log.append([category_person, pulled_arm, reward_person, valore_atteso_arm]) return self.rewards_log def run_pricing_experiment(self, n_categories_clicks): """ runs a pricing experiment with a given number of users. this is called as a method inside the advertising modules """ for (index, clicks) in enumerate(n_categories_clicks): features_person = self.person_manager.categories[index] for n in range(int(round(clicks))): pulled_arm = self.context_manager.select_arm(features_person, n, self.candidates_values) reward_person = self.environment.round(index, pulled_arm) self.context_manager.update_context(features_person, pulled_arm, reward_person) self.rewards_log.append([index, pulled_arm, reward_person]) idx = self.context_manager.features_context[features_person] for c in range(len(self.candidates_values)): self.expected_values[idx][c] = self.context_manager.contexts_set[idx].learner.expected_value(c, self.candidates_values[c])
# usando generator, ele comsome menos memoria generator = (i ** 2 for i in range(10) if i % 2 == 0) #o next serve para extrair o valor do generator, importante o generator nbao e uma tupla print(next(generator)) print(next(generator)) print(next(generator)) print(next(generator)) print(next(generator)) # print(next(generator)) aqui vai dar um ERRO apartir do 64
generator = (i ** 2 for i in range(10) if i % 2 == 0) print(next(generator)) print(next(generator)) print(next(generator)) print(next(generator)) print(next(generator))
def reverse_string(string): reversed_list = [] string_as_list = list(string) while string_as_list: reversed_list.append(string_as_list.pop()) print(''.join(reversed_list)) reverse_string(input())
def reverse_string(string): reversed_list = [] string_as_list = list(string) while string_as_list: reversed_list.append(string_as_list.pop()) print(''.join(reversed_list)) reverse_string(input())
n, m = map(int, input().split()) for _ in range(n): k, v = input().split()
(n, m) = map(int, input().split()) for _ in range(n): (k, v) = input().split()
#entrada e, f, c = str(input()).split() e = int(e) f = int(f) c = int(c) #processamento totalGarrafasVazias = e + f totalRefri = 0 while totalGarrafasVazias >= c: aux = totalGarrafasVazias // c totalRefri += aux totalGarrafasVazias = aux + (totalGarrafasVazias % c) #saida print(totalRefri)
(e, f, c) = str(input()).split() e = int(e) f = int(f) c = int(c) total_garrafas_vazias = e + f total_refri = 0 while totalGarrafasVazias >= c: aux = totalGarrafasVazias // c total_refri += aux total_garrafas_vazias = aux + totalGarrafasVazias % c print(totalRefri)
f1 = 10 print(f1) if f1: a1 = 1 a2 = 2 a3 = 3 a4 = 4 a5 = 5 a6 = 6 elif f1: print(f1) print(f1) print(f1) print(f1) print(f1) a1 = 1 a2 = 2 a3 = 3 a4 = 4 a5 = 5 elif f1: print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) a1 = 1 a2 = 2 a3 = 3 a4 = 4 elif f1: print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) a1 = 1 a2 = 2 a3 = 3 elif f1: print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) a1 = 1 a2 = 2 elif f1: print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) a1 = 1 else: print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1)
f1 = 10 print(f1) if f1: a1 = 1 a2 = 2 a3 = 3 a4 = 4 a5 = 5 a6 = 6 elif f1: print(f1) print(f1) print(f1) print(f1) print(f1) a1 = 1 a2 = 2 a3 = 3 a4 = 4 a5 = 5 elif f1: print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) a1 = 1 a2 = 2 a3 = 3 a4 = 4 elif f1: print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) a1 = 1 a2 = 2 a3 = 3 elif f1: print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) a1 = 1 a2 = 2 elif f1: print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) a1 = 1 else: print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1) print(f1)
class ZException(Exception): ''' Exception when z0 is suboptimal. ''' def __init__(self, text, z, *args): super(ZException, self).__init__(text, z, *args) self.text = text self.z = z
class Zexception(Exception): """ Exception when z0 is suboptimal. """ def __init__(self, text, z, *args): super(ZException, self).__init__(text, z, *args) self.text = text self.z = z
# # PySNMP MIB module TUBS-PROC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TUBS-PROC-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:27: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") ValueRangeConstraint, ValueSizeConstraint, ConstraintsIntersection, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ConstraintsUnion") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, NotificationType, MibIdentifier, ModuleIdentity, Counter64, ObjectIdentity, IpAddress, TimeTicks, Integer32, Counter32, Gauge32, iso, Unsigned32, enterprises = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "NotificationType", "MibIdentifier", "ModuleIdentity", "Counter64", "ObjectIdentity", "IpAddress", "TimeTicks", "Integer32", "Counter32", "Gauge32", "iso", "Unsigned32", "enterprises") DisplayString, TAddress, TextualConvention, TimeStamp, DateAndTime, RowStatus, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TAddress", "TextualConvention", "TimeStamp", "DateAndTime", "RowStatus", "TruthValue") procMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 1575, 1, 3)) if mibBuilder.loadTexts: procMIB.setLastUpdated('9411152024Z') if mibBuilder.loadTexts: procMIB.setOrganization('TU Braunschweig') if mibBuilder.loadTexts: procMIB.setContactInfo(' Juergen Schoenwaelder Postal: TU Braunschweig Bueltenweg 74/75 D-38108 Braunschweig GERMANY Tel: +49 531 391 3249 Fax: +49 531 391 5936 E-mail: schoenw@ibr.cs.tu-bs.de') if mibBuilder.loadTexts: procMIB.setDescription('Experimental MIB modules for process listings.') procReload = MibScalar((1, 3, 6, 1, 4, 1, 1575, 1, 3, 1), DateAndTime()).setMaxAccess("readwrite") if mibBuilder.loadTexts: procReload.setStatus('current') if mibBuilder.loadTexts: procReload.setDescription('Any set operation will reload the process table. It contains a time stamp when the proc table was reloaded the last time.') procTable = MibTable((1, 3, 6, 1, 4, 1, 1575, 1, 3, 2), ) if mibBuilder.loadTexts: procTable.setStatus('current') if mibBuilder.loadTexts: procTable.setDescription('The process table.') procEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1575, 1, 3, 2, 1), ).setIndexNames((0, "TUBS-PROC-MIB", "procID")) if mibBuilder.loadTexts: procEntry.setStatus('current') if mibBuilder.loadTexts: procEntry.setDescription('An entry for a process in the processes table.') procID = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 3, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: procID.setStatus('current') if mibBuilder.loadTexts: procID.setDescription('The unique process ID.') procCmd = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 3, 2, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: procCmd.setStatus('current') if mibBuilder.loadTexts: procCmd.setDescription('The command name used to start this process.') mibBuilder.exportSymbols("TUBS-PROC-MIB", procCmd=procCmd, procTable=procTable, procID=procID, procReload=procReload, procEntry=procEntry, procMIB=procMIB, PYSNMP_MODULE_ID=procMIB)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, value_size_constraint, constraints_intersection, single_value_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ConstraintsUnion') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (mib_scalar, mib_table, mib_table_row, mib_table_column, bits, notification_type, mib_identifier, module_identity, counter64, object_identity, ip_address, time_ticks, integer32, counter32, gauge32, iso, unsigned32, enterprises) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits', 'NotificationType', 'MibIdentifier', 'ModuleIdentity', 'Counter64', 'ObjectIdentity', 'IpAddress', 'TimeTicks', 'Integer32', 'Counter32', 'Gauge32', 'iso', 'Unsigned32', 'enterprises') (display_string, t_address, textual_convention, time_stamp, date_and_time, row_status, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TAddress', 'TextualConvention', 'TimeStamp', 'DateAndTime', 'RowStatus', 'TruthValue') proc_mib = module_identity((1, 3, 6, 1, 4, 1, 1575, 1, 3)) if mibBuilder.loadTexts: procMIB.setLastUpdated('9411152024Z') if mibBuilder.loadTexts: procMIB.setOrganization('TU Braunschweig') if mibBuilder.loadTexts: procMIB.setContactInfo(' Juergen Schoenwaelder Postal: TU Braunschweig Bueltenweg 74/75 D-38108 Braunschweig GERMANY Tel: +49 531 391 3249 Fax: +49 531 391 5936 E-mail: schoenw@ibr.cs.tu-bs.de') if mibBuilder.loadTexts: procMIB.setDescription('Experimental MIB modules for process listings.') proc_reload = mib_scalar((1, 3, 6, 1, 4, 1, 1575, 1, 3, 1), date_and_time()).setMaxAccess('readwrite') if mibBuilder.loadTexts: procReload.setStatus('current') if mibBuilder.loadTexts: procReload.setDescription('Any set operation will reload the process table. It contains a time stamp when the proc table was reloaded the last time.') proc_table = mib_table((1, 3, 6, 1, 4, 1, 1575, 1, 3, 2)) if mibBuilder.loadTexts: procTable.setStatus('current') if mibBuilder.loadTexts: procTable.setDescription('The process table.') proc_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1575, 1, 3, 2, 1)).setIndexNames((0, 'TUBS-PROC-MIB', 'procID')) if mibBuilder.loadTexts: procEntry.setStatus('current') if mibBuilder.loadTexts: procEntry.setDescription('An entry for a process in the processes table.') proc_id = mib_table_column((1, 3, 6, 1, 4, 1, 1575, 1, 3, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: procID.setStatus('current') if mibBuilder.loadTexts: procID.setDescription('The unique process ID.') proc_cmd = mib_table_column((1, 3, 6, 1, 4, 1, 1575, 1, 3, 2, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: procCmd.setStatus('current') if mibBuilder.loadTexts: procCmd.setDescription('The command name used to start this process.') mibBuilder.exportSymbols('TUBS-PROC-MIB', procCmd=procCmd, procTable=procTable, procID=procID, procReload=procReload, procEntry=procEntry, procMIB=procMIB, PYSNMP_MODULE_ID=procMIB)
def operate(opcode, arg1, arg2): if (opcode==1): return arg1+arg2 elif (opcode==2): return arg1*arg2 elif (opcode==3): return arg1 elif (opcode==4): return arg1
def operate(opcode, arg1, arg2): if opcode == 1: return arg1 + arg2 elif opcode == 2: return arg1 * arg2 elif opcode == 3: return arg1 elif opcode == 4: return arg1
class event(object): def __init__(self): self.__funcs = set() def invoke(self, *args): for f in self.__funcs: f.__call__(*args) def reg(self, func): self.__funcs.add(func)
class Event(object): def __init__(self): self.__funcs = set() def invoke(self, *args): for f in self.__funcs: f.__call__(*args) def reg(self, func): self.__funcs.add(func)
cycle_info={} # populate some example cycle info cycle_info['cycle']=1 cycle_info['time']=1.0 print(cycle_info)
cycle_info = {} cycle_info['cycle'] = 1 cycle_info['time'] = 1.0 print(cycle_info)
#!/usr/bin/env python3 def minimumBribes(q): bribes = 0 for i in range(len(q) - 1, -1, -1): if q[i] - (i + 1) > 2: print("Too chaotic") return for j in range(max(0, q[i] - 2), i): if q[j] > q[i]: bribes += 1 print(bribes) if __name__ == '__main__': t = int(input()) for t_itr in range(t): n = int(input()) q = list(map(int, input().rstrip().split())) minimumBribes(q)
def minimum_bribes(q): bribes = 0 for i in range(len(q) - 1, -1, -1): if q[i] - (i + 1) > 2: print('Too chaotic') return for j in range(max(0, q[i] - 2), i): if q[j] > q[i]: bribes += 1 print(bribes) if __name__ == '__main__': t = int(input()) for t_itr in range(t): n = int(input()) q = list(map(int, input().rstrip().split())) minimum_bribes(q)
file = open('./input.txt', 'r') string = file.read() lines = string.split() int_lines = list(map(lambda x: int(x), lines)) result = 0 last_value = 10000 for value in int_lines: if last_value < value: result += 1 last_value = value print(result)
file = open('./input.txt', 'r') string = file.read() lines = string.split() int_lines = list(map(lambda x: int(x), lines)) result = 0 last_value = 10000 for value in int_lines: if last_value < value: result += 1 last_value = value print(result)
words_splitted = input("Give me some words: ") words = words_splitted.split(",") counter = 0 for i in range(len(words)): if words[i-1].isalpha() == True: counter += 1 print(counter)
words_splitted = input('Give me some words: ') words = words_splitted.split(',') counter = 0 for i in range(len(words)): if words[i - 1].isalpha() == True: counter += 1 print(counter)
def test_vcf(filename): with open(filename, encoding='utf-8') as handle: for index, line in enumerate(handle): line = line.replace('\n', '') # Already read meta and header in self.__init__ if line.startswith('#'): continue list_line = line.split("\t") ref = list_line[3] alt = list_line[4] if len(ref) == 1 or len(alt) == 1: continue else: print(ref, alt) print("ERROR", line) # if len(ref) > 50 or len(alt) > 50: # print(ref, alt) # print("SV", line)
def test_vcf(filename): with open(filename, encoding='utf-8') as handle: for (index, line) in enumerate(handle): line = line.replace('\n', '') if line.startswith('#'): continue list_line = line.split('\t') ref = list_line[3] alt = list_line[4] if len(ref) == 1 or len(alt) == 1: continue else: print(ref, alt) print('ERROR', line)
def gra(up, rundy, limit): boczne = { 1 : [3,4,2,5], 2 : [6,1,3,4], 3 : [6,1,2,5], 4 : [6,1,2,5], 5 : [6,1,3,4], 6 : [3,4,2,5] } punkty = [0 for k in range(len(rundy[0]))] wynik = punkty[:] for i in range(len(rundy)): runda = rundy[i] for j in range(len(runda)): if runda[j] == 'o': up = max(boczne[up]) elif runda[j] == 'r': up = min(boczne[up]) punkty[j] += up if punkty[j] >= limit and wynik[j] == 0: wynik[j] = i + 1 return wynik #gra(3, [['o', 'r'],['r', 'r'],['r', 'o']], 7) #gra(4, [['o'],['r'],['r']], 7) #gra(4, [['o', 'r', 'r'],['r', 'o', 'r']], 5)
def gra(up, rundy, limit): boczne = {1: [3, 4, 2, 5], 2: [6, 1, 3, 4], 3: [6, 1, 2, 5], 4: [6, 1, 2, 5], 5: [6, 1, 3, 4], 6: [3, 4, 2, 5]} punkty = [0 for k in range(len(rundy[0]))] wynik = punkty[:] for i in range(len(rundy)): runda = rundy[i] for j in range(len(runda)): if runda[j] == 'o': up = max(boczne[up]) elif runda[j] == 'r': up = min(boczne[up]) punkty[j] += up if punkty[j] >= limit and wynik[j] == 0: wynik[j] = i + 1 return wynik
def getRoadsPoints(sf, shapeval, show=False): fields = sf.fields if show: print("Fields -> {0}".format(fields)) itype=None iint=None if shapeval.startswith("Airport"): for i,val in enumerate(fields): if val[0] == "FAA_AIRPOR": itype = i-1 break if shapeval.startswith("RailFeature"): for i,val in enumerate(fields): if val[0] == "LENGTHKM": itype = i-1 break if shapeval.startswith("TrailSegment"): for i,val in enumerate(fields): if val[0] == "SOURCE_D00": itype = i-1 break if shapeval.startswith("RoadSegment"): for i,val in enumerate(fields): if val[0] == "PERMANENT_": itype = i-1 break iint=None for i,val in enumerate(fields): if val[0] == "INTERSTATE": iint = i-1 break return itype,iint def getRoadsData(shapeval, record, itype, iint, cntr): if shapeval.startswith("AirportPoint"): geoid = record[itype] name = record[itype+1] test = record[itype+2] try: int(test) except: return None return [geoid, name] elif shapeval.startswith("AirportRunway"): geoid = record[itype] name = record[itype+1] return [geoid, name] elif shapeval.startswith("RailFeature"): length = record[itype] name = record[itype+3] geoid = name return [geoid, name] elif shapeval.startswith("TrailSegment"): length = record[itype] name = record[itype+3] geoid = name return [geoid, name] elif shapeval.startswith("RoadSegment"): geoid = record[itype] name = record[itype+21] inter = "-".join(record[iint:iint+4]) usrte = "-".join(record[iint+4:iint+8]) strte = "-".join(record[iint+8:iint+12]) ctrte = record[iint+12] street = record[iint+15] cntr[street] += 1 extra = [inter, usrte, strte, ctrte, street] ## Interstate isInterstate = False if inter != '---': isInterstate = True ## USRte isUSRte = False if usrte != '---': isUSRte = True ## StateRte isStateRte = False if strte != '---': isStateRte = True ## Highway isHighway = False try: if any([street.find(" {0}".format(x)) != -1 for x in ['Hw ', 'Hwy', 'Pkwy', 'Hwy', 'Fwy', 'Tollway', 'Expy']]): isHighway = True except: pass ## Major Road isMajorRd = False try: if any([street.find(" {0}".format(x)) != -1 for x in ['Ave', 'Blvd']]): isMajorRd = True except: pass ## Connections isConnection = False try: if any([street.find(" {0}".format(x)) != -1 for x in ['Bridge ', ' Bdg']]): isConnection = True except: pass return [geoid, name, cntr, isInterstate, isUSRte, isStateRte, isHighway, isMajorRd, isConnection] else: print(record) 1/0 print("No data is returned!!!") return None
def get_roads_points(sf, shapeval, show=False): fields = sf.fields if show: print('Fields -> {0}'.format(fields)) itype = None iint = None if shapeval.startswith('Airport'): for (i, val) in enumerate(fields): if val[0] == 'FAA_AIRPOR': itype = i - 1 break if shapeval.startswith('RailFeature'): for (i, val) in enumerate(fields): if val[0] == 'LENGTHKM': itype = i - 1 break if shapeval.startswith('TrailSegment'): for (i, val) in enumerate(fields): if val[0] == 'SOURCE_D00': itype = i - 1 break if shapeval.startswith('RoadSegment'): for (i, val) in enumerate(fields): if val[0] == 'PERMANENT_': itype = i - 1 break iint = None for (i, val) in enumerate(fields): if val[0] == 'INTERSTATE': iint = i - 1 break return (itype, iint) def get_roads_data(shapeval, record, itype, iint, cntr): if shapeval.startswith('AirportPoint'): geoid = record[itype] name = record[itype + 1] test = record[itype + 2] try: int(test) except: return None return [geoid, name] elif shapeval.startswith('AirportRunway'): geoid = record[itype] name = record[itype + 1] return [geoid, name] elif shapeval.startswith('RailFeature'): length = record[itype] name = record[itype + 3] geoid = name return [geoid, name] elif shapeval.startswith('TrailSegment'): length = record[itype] name = record[itype + 3] geoid = name return [geoid, name] elif shapeval.startswith('RoadSegment'): geoid = record[itype] name = record[itype + 21] inter = '-'.join(record[iint:iint + 4]) usrte = '-'.join(record[iint + 4:iint + 8]) strte = '-'.join(record[iint + 8:iint + 12]) ctrte = record[iint + 12] street = record[iint + 15] cntr[street] += 1 extra = [inter, usrte, strte, ctrte, street] is_interstate = False if inter != '---': is_interstate = True is_us_rte = False if usrte != '---': is_us_rte = True is_state_rte = False if strte != '---': is_state_rte = True is_highway = False try: if any([street.find(' {0}'.format(x)) != -1 for x in ['Hw ', 'Hwy', 'Pkwy', 'Hwy', 'Fwy', 'Tollway', 'Expy']]): is_highway = True except: pass is_major_rd = False try: if any([street.find(' {0}'.format(x)) != -1 for x in ['Ave', 'Blvd']]): is_major_rd = True except: pass is_connection = False try: if any([street.find(' {0}'.format(x)) != -1 for x in ['Bridge ', ' Bdg']]): is_connection = True except: pass return [geoid, name, cntr, isInterstate, isUSRte, isStateRte, isHighway, isMajorRd, isConnection] else: print(record) 1 / 0 print('No data is returned!!!') return None
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/liudiyang1998/Git/ROS-Robotics-By-Example/Chapter_7_code/src/hector_slam/hector_mapping/msg/HectorDebugInfo.msg;/home/liudiyang1998/Git/ROS-Robotics-By-Example/Chapter_7_code/src/hector_slam/hector_mapping/msg/HectorIterData.msg" services_str = "" pkg_name = "hector_mapping" dependencies_str = "" langs = "gencpp;geneus;genlisp;gennodejs;genpy" dep_include_paths_str = "hector_mapping;/home/liudiyang1998/Git/ROS-Robotics-By-Example/Chapter_7_code/src/hector_slam/hector_mapping/msg" PYTHON_EXECUTABLE = "/usr/bin/python2" package_has_static_sources = '' == 'TRUE' genmsg_check_deps_script = "/opt/ros/melodic/share/genmsg/cmake/../../../lib/genmsg/genmsg_check_deps.py"
messages_str = '/home/liudiyang1998/Git/ROS-Robotics-By-Example/Chapter_7_code/src/hector_slam/hector_mapping/msg/HectorDebugInfo.msg;/home/liudiyang1998/Git/ROS-Robotics-By-Example/Chapter_7_code/src/hector_slam/hector_mapping/msg/HectorIterData.msg' services_str = '' pkg_name = 'hector_mapping' dependencies_str = '' langs = 'gencpp;geneus;genlisp;gennodejs;genpy' dep_include_paths_str = 'hector_mapping;/home/liudiyang1998/Git/ROS-Robotics-By-Example/Chapter_7_code/src/hector_slam/hector_mapping/msg' python_executable = '/usr/bin/python2' package_has_static_sources = '' == 'TRUE' genmsg_check_deps_script = '/opt/ros/melodic/share/genmsg/cmake/../../../lib/genmsg/genmsg_check_deps.py'
# List of API keys ALPACA_API_KEY = "PKV6PG76ZRMOXUSLQMC6" ALPACA_SECRET_KEY = "YD22E2jiKZRfer69McRcQIJX0kxGpXy13I0oTIzN" ALPACA_BASE_URL = "https://paper-api.alpaca.markets" AMERITRADE_TOKEN = 'https://api.tdameritrade.com/v1/oauth2/token' AMERITRADE_KEY = '6JWAH9JYWA5CSCOG5WC6PAPLYIASBTTV'
alpaca_api_key = 'PKV6PG76ZRMOXUSLQMC6' alpaca_secret_key = 'YD22E2jiKZRfer69McRcQIJX0kxGpXy13I0oTIzN' alpaca_base_url = 'https://paper-api.alpaca.markets' ameritrade_token = 'https://api.tdameritrade.com/v1/oauth2/token' ameritrade_key = '6JWAH9JYWA5CSCOG5WC6PAPLYIASBTTV'
REGION = "your_region_name" BUCKET = "your_bucket_name" DATABASE = "your_database_name" TABLE = "your_table_name" INDEX_COLUMN_NAME = "date"
region = 'your_region_name' bucket = 'your_bucket_name' database = 'your_database_name' table = 'your_table_name' index_column_name = 'date'
## Error to exception # The intention is to return an error # from def withdraw(self, amount): if amount > self.balance: return -1 else: self.balance -= amount return 0 # to def withdraw(self, amount): if amount > self.balance: raise BalanceException() # or Exception self.balance -= amount # now wrap the caller with try/Except ## Exception to test # The intention is to test # from def getValueForPeriod(periodNumber): try: return values[periodNumber] except IndexError: return 0 # to def getValueForPeriod(self, periodNumber): if periodNumber >= len(self.values): return 0 return self.values[periodNumber]
def withdraw(self, amount): if amount > self.balance: return -1 else: self.balance -= amount return 0 def withdraw(self, amount): if amount > self.balance: raise balance_exception() self.balance -= amount def get_value_for_period(periodNumber): try: return values[periodNumber] except IndexError: return 0 def get_value_for_period(self, periodNumber): if periodNumber >= len(self.values): return 0 return self.values[periodNumber]
# -*- coding: utf-8 -*- __version_info__ = '0.6.3' __version__ = '0.6.3' version = '0.6.3'
__version_info__ = '0.6.3' __version__ = '0.6.3' version = '0.6.3'
''' Building your own digit recognition model You've reached the final exercise of the course - you now know everything you need to build an accurate model to recognize handwritten digits! We've already done the basic manipulation of the MNIST dataset shown in the video, so you have X and y loaded and ready to model with. Sequential and Dense from keras are also pre-imported. To add an extra challenge, we've loaded only 2500 images, rather than 60000 which you will see in some published results. Deep learning models perform better with more data, however, they also take longer to train, especially when they start becoming more complex. If you have a computer with a CUDA compatible GPU, you can take advantage of it to improve computation time. If you don't have a GPU, no problem! You can set up a deep learning environment in the cloud that can run your models on a GPU. Here is a blog post by Dan that explains how to do this - check it out after completing this exercise! It is a great next step as you continue your deep learning journey. INSTRUCTIONS 100XP Create a Sequential object to start your model. Call this model. Add the first Dense hidden layer of 50 units to your model with 'relu' activation. For this data, the input_shape is (784,). Add a second Dense hidden layer with 50 units and a 'relu' activation function. Add the output layer. Your activation function should be 'softmax', and the number of nodes in this layer should be the same as the number of possible outputs in this case: 10. Compile model as you have done with previous models: Using 'adam' as the optimizer, 'categorical_crossentropy' for the loss, and metrics=['accuracy']. Fit the model using X and y using a validation_split of 0.3. ''' # Create the model: model model = Sequential() # Add the first hidden layer model.add(Dense(50, activation='relu', input_shape=(784,))) # Add the second hidden layer model.add(Dense(50, activation='relu', input_shape=(784,))) # Add the output layer model.add(Dense(10, activation='softmax')) # Compile the model model.compile(optimizer='adam', loss='categorical_crossentropy', metrics=['accuracy']) # Fit the model model.fit(X, y, validation_split=0.3)
""" Building your own digit recognition model You've reached the final exercise of the course - you now know everything you need to build an accurate model to recognize handwritten digits! We've already done the basic manipulation of the MNIST dataset shown in the video, so you have X and y loaded and ready to model with. Sequential and Dense from keras are also pre-imported. To add an extra challenge, we've loaded only 2500 images, rather than 60000 which you will see in some published results. Deep learning models perform better with more data, however, they also take longer to train, especially when they start becoming more complex. If you have a computer with a CUDA compatible GPU, you can take advantage of it to improve computation time. If you don't have a GPU, no problem! You can set up a deep learning environment in the cloud that can run your models on a GPU. Here is a blog post by Dan that explains how to do this - check it out after completing this exercise! It is a great next step as you continue your deep learning journey. INSTRUCTIONS 100XP Create a Sequential object to start your model. Call this model. Add the first Dense hidden layer of 50 units to your model with 'relu' activation. For this data, the input_shape is (784,). Add a second Dense hidden layer with 50 units and a 'relu' activation function. Add the output layer. Your activation function should be 'softmax', and the number of nodes in this layer should be the same as the number of possible outputs in this case: 10. Compile model as you have done with previous models: Using 'adam' as the optimizer, 'categorical_crossentropy' for the loss, and metrics=['accuracy']. Fit the model using X and y using a validation_split of 0.3. """ model = sequential() model.add(dense(50, activation='relu', input_shape=(784,))) model.add(dense(50, activation='relu', input_shape=(784,))) model.add(dense(10, activation='softmax')) model.compile(optimizer='adam', loss='categorical_crossentropy', metrics=['accuracy']) model.fit(X, y, validation_split=0.3)
''' Given a day of the week encoded as 0=Sun, 1=Mon, 2=Tue, ...6=Sat, and a boolean indicating if we are on vacation, return a string of the form "7:00" indicating when the alarm clock should ring. Weekdays, the alarm should be "7:00" and on the weekend it should be "10:00". Unless we are on vacation -- then on weekdays it should be "10:00" and weekends it should be "off". ''' def alarm_clock(day, vacation): if vacation: if day < 6 and day != 0: return "10:00" return "off" else: if day < 6 and day != 0: return "7:00" return "10:00"
""" Given a day of the week encoded as 0=Sun, 1=Mon, 2=Tue, ...6=Sat, and a boolean indicating if we are on vacation, return a string of the form "7:00" indicating when the alarm clock should ring. Weekdays, the alarm should be "7:00" and on the weekend it should be "10:00". Unless we are on vacation -- then on weekdays it should be "10:00" and weekends it should be "off". """ def alarm_clock(day, vacation): if vacation: if day < 6 and day != 0: return '10:00' return 'off' else: if day < 6 and day != 0: return '7:00' return '10:00'
# # PySNMP MIB module ARISTA-QOS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ARISTA-QOS-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:09:19 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) # aristaMibs, = mibBuilder.importSymbols("ARISTA-SMI-MIB", "aristaMibs") Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ConstraintsIntersection, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsIntersection", "ConstraintsUnion") PhysicalIndexOrZero, = mibBuilder.importSymbols("ENTITY-MIB", "PhysicalIndexOrZero") InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") iso, NotificationType, ObjectIdentity, Bits, MibIdentifier, ModuleIdentity, IpAddress, Counter32, MibScalar, MibTable, MibTableRow, MibTableColumn, Unsigned32, Gauge32, TimeTicks, Counter64, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "NotificationType", "ObjectIdentity", "Bits", "MibIdentifier", "ModuleIdentity", "IpAddress", "Counter32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Unsigned32", "Gauge32", "TimeTicks", "Counter64", "Integer32") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") aristaQosMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 30065, 3, 13)) aristaQosMib.setRevisions(('2016-07-22 00:00', '2016-03-21 00:00', '2014-08-15 00:00', '2014-05-22 00:00', '2013-06-01 00:00',)) if mibBuilder.loadTexts: aristaQosMib.setLastUpdated('201607220000Z') if mibBuilder.loadTexts: aristaQosMib.setOrganization('Arista Networks, Inc.') class AristaQosMapType(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("controlPlane", 1), ("dataPlane", 2)) class AristaQosShortId(TextualConvention, OctetString): status = 'current' displayHint = '255a' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(1, 40) aristaQosMibObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1)) aristaQosMibConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2)) aristaClassMapTable = MibTable((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 1), ) if mibBuilder.loadTexts: aristaClassMapTable.setStatus('current') aristaClassMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 1, 1), ).setIndexNames((0, "ARISTA-QOS-MIB", "aristaClassMapId"), (0, "ARISTA-QOS-MIB", "aristaClassMapType")) if mibBuilder.loadTexts: aristaClassMapEntry.setStatus('current') aristaClassMapId = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 1, 1, 1), AristaQosShortId()) if mibBuilder.loadTexts: aristaClassMapId.setStatus('current') aristaClassMapType = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 1, 1, 2), AristaQosMapType()) if mibBuilder.loadTexts: aristaClassMapType.setStatus('current') aristaClassMapName = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaClassMapName.setStatus('current') aristaClassMapMatchCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("matchConditionAny", 1), ("matchConditionAll", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaClassMapMatchCondition.setStatus('current') aristaClassMapMatchTable = MibTable((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 2), ) if mibBuilder.loadTexts: aristaClassMapMatchTable.setStatus('current') aristaClassMapMatchEntry = MibTableRow((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 2, 1), ).setIndexNames((0, "ARISTA-QOS-MIB", "aristaClassMapId"), (0, "ARISTA-QOS-MIB", "aristaClassMapType"), (0, "ARISTA-QOS-MIB", "aristaClassMapMatchIndex")) if mibBuilder.loadTexts: aristaClassMapMatchEntry.setStatus('current') aristaClassMapMatchIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: aristaClassMapMatchIndex.setStatus('current') aristaClassMapMatchType = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("ipv4AccessGroup", 1), ("ipv6AccessGroup", 2), ("vlan", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaClassMapMatchType.setStatus('current') aristaClassMapMatchName = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaClassMapMatchName.setStatus('current') aristaPolicyMapTable = MibTable((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 3), ) if mibBuilder.loadTexts: aristaPolicyMapTable.setStatus('current') aristaPolicyMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 3, 1), ).setIndexNames((0, "ARISTA-QOS-MIB", "aristaPolicyMapId"), (0, "ARISTA-QOS-MIB", "aristaPolicyMapType")) if mibBuilder.loadTexts: aristaPolicyMapEntry.setStatus('current') aristaPolicyMapId = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 3, 1, 1), AristaQosShortId()) if mibBuilder.loadTexts: aristaPolicyMapId.setStatus('current') aristaPolicyMapType = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 3, 1, 2), AristaQosMapType()) if mibBuilder.loadTexts: aristaPolicyMapType.setStatus('current') aristaPolicyMapName = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 3, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaPolicyMapName.setStatus('current') aristaPolicyMapClassTable = MibTable((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 4), ) if mibBuilder.loadTexts: aristaPolicyMapClassTable.setStatus('current') aristaPolicyMapClassEntry = MibTableRow((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 4, 1), ).setIndexNames((0, "ARISTA-QOS-MIB", "aristaPolicyMapId"), (0, "ARISTA-QOS-MIB", "aristaPolicyMapType"), (0, "ARISTA-QOS-MIB", "aristaPolicyMapClassIndex")) if mibBuilder.loadTexts: aristaPolicyMapClassEntry.setStatus('current') aristaPolicyMapClassIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))) if mibBuilder.loadTexts: aristaPolicyMapClassIndex.setStatus('current') aristaPolicyMapClassId = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 4, 1, 2), AristaQosShortId()).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaPolicyMapClassId.setStatus('current') aristaPolicyMapActionTable = MibTable((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 5), ) if mibBuilder.loadTexts: aristaPolicyMapActionTable.setStatus('current') aristaPolicyMapActionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 5, 1), ).setIndexNames((0, "ARISTA-QOS-MIB", "aristaPolicyMapId"), (0, "ARISTA-QOS-MIB", "aristaPolicyMapType"), (0, "ARISTA-QOS-MIB", "aristaClassMapId"), (0, "ARISTA-QOS-MIB", "aristaPolicyMapActionType")) if mibBuilder.loadTexts: aristaPolicyMapActionEntry.setStatus('current') aristaPolicyMapActionType = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("actionSetShape", 1), ("actionSetBandwidth", 2), ("actionSetCos", 3), ("actionSetDscp", 4), ("actionSetTc", 5)))) if mibBuilder.loadTexts: aristaPolicyMapActionType.setStatus('current') aristaPolicyMapActionRateUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("rateUnitNone", 0), ("rateUnitPps", 1), ("rateUnitKbps", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaPolicyMapActionRateUnit.setStatus('current') aristaPolicyMapActionValue = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 5, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaPolicyMapActionValue.setStatus('current') aristaServicePolicyTable = MibTable((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 6), ) if mibBuilder.loadTexts: aristaServicePolicyTable.setStatus('current') aristaServicePolicyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 6, 1), ).setIndexNames((0, "ARISTA-QOS-MIB", "aristaServicePolicyIfIndex"), (0, "ARISTA-QOS-MIB", "aristaServicePolicyDirection")) if mibBuilder.loadTexts: aristaServicePolicyEntry.setStatus('current') aristaServicePolicyIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 6, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: aristaServicePolicyIfIndex.setStatus('current') aristaServicePolicyDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 6, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("input", 1), ("output", 2)))) if mibBuilder.loadTexts: aristaServicePolicyDirection.setStatus('current') aristaServicePolicyMapId = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 6, 1, 3), AristaQosShortId()).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaServicePolicyMapId.setStatus('current') aristaServicePolicyMapType = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 6, 1, 4), AristaQosMapType()).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaServicePolicyMapType.setStatus('current') aristaQosStatsTable = MibTable((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 7), ) if mibBuilder.loadTexts: aristaQosStatsTable.setStatus('current') aristaQosStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 7, 1), ).setIndexNames((0, "ARISTA-QOS-MIB", "aristaPolicyMapId"), (0, "ARISTA-QOS-MIB", "aristaPolicyMapType"), (0, "ARISTA-QOS-MIB", "aristaClassMapId"), (0, "ARISTA-QOS-MIB", "aristaServicePolicyDirection")) if mibBuilder.loadTexts: aristaQosStatsEntry.setStatus('current') aristaQosPktsDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 7, 1, 1), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaQosPktsDropped.setStatus('current') aristaQosPktsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 7, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaQosPktsSent.setStatus('current') aristaQosPktsMatched = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 7, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaQosPktsMatched.setStatus('current') aristaEcnCounterTable = MibTable((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 8), ) if mibBuilder.loadTexts: aristaEcnCounterTable.setStatus('current') aristaEcnCounterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 8, 1), ).setIndexNames((0, "ARISTA-QOS-MIB", "aristaEcnCounterDescriptor")) if mibBuilder.loadTexts: aristaEcnCounterEntry.setStatus('current') aristaEcnCounterDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 8, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))) if mibBuilder.loadTexts: aristaEcnCounterDescriptor.setStatus('current') aristaEcnCounterValue = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 8, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaEcnCounterValue.setStatus('current') aristaEcnCounterEntity = MibTableColumn((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 8, 1, 3), PhysicalIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: aristaEcnCounterEntity.setStatus('current') aristaQosMibCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 1)) aristaQosMibGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 2)) aristaQosMibCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 1, 1)).setObjects(("ARISTA-QOS-MIB", "aristaClassMapGroup"), ("ARISTA-QOS-MIB", "aristaPolicyMapGroup"), ("ARISTA-QOS-MIB", "aristaPolicyMapActionGroup"), ("ARISTA-QOS-MIB", "aristaServicePolicyGroup"), ("ARISTA-QOS-MIB", "aristaEcnCounterGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): aristaQosMibCompliance = aristaQosMibCompliance.setStatus('current') aristaClassMapGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 2, 1)).setObjects(("ARISTA-QOS-MIB", "aristaClassMapName"), ("ARISTA-QOS-MIB", "aristaClassMapMatchCondition"), ("ARISTA-QOS-MIB", "aristaClassMapMatchType"), ("ARISTA-QOS-MIB", "aristaClassMapMatchName"), ("ARISTA-QOS-MIB", "aristaPolicyMapClassId"), ("ARISTA-QOS-MIB", "aristaQosPktsDropped"), ("ARISTA-QOS-MIB", "aristaQosPktsMatched"), ("ARISTA-QOS-MIB", "aristaQosPktsSent")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): aristaClassMapGroup = aristaClassMapGroup.setStatus('current') aristaPolicyMapGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 2, 2)).setObjects(("ARISTA-QOS-MIB", "aristaPolicyMapName")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): aristaPolicyMapGroup = aristaPolicyMapGroup.setStatus('current') aristaPolicyMapActionGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 2, 3)).setObjects(("ARISTA-QOS-MIB", "aristaPolicyMapActionRateUnit"), ("ARISTA-QOS-MIB", "aristaPolicyMapActionValue")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): aristaPolicyMapActionGroup = aristaPolicyMapActionGroup.setStatus('current') aristaServicePolicyGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 2, 4)).setObjects(("ARISTA-QOS-MIB", "aristaServicePolicyMapId"), ("ARISTA-QOS-MIB", "aristaServicePolicyMapType")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): aristaServicePolicyGroup = aristaServicePolicyGroup.setStatus('current') aristaEcnCounterGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 2, 5)).setObjects(("ARISTA-QOS-MIB", "aristaEcnCounterValue"), ("ARISTA-QOS-MIB", "aristaEcnCounterEntity")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): aristaEcnCounterGroup = aristaEcnCounterGroup.setStatus('current') mibBuilder.exportSymbols("ARISTA-QOS-MIB", aristaQosStatsTable=aristaQosStatsTable, aristaQosMibConformance=aristaQosMibConformance, aristaClassMapTable=aristaClassMapTable, aristaEcnCounterValue=aristaEcnCounterValue, AristaQosMapType=AristaQosMapType, aristaEcnCounterEntity=aristaEcnCounterEntity, aristaClassMapMatchEntry=aristaClassMapMatchEntry, aristaClassMapName=aristaClassMapName, aristaClassMapId=aristaClassMapId, aristaPolicyMapClassEntry=aristaPolicyMapClassEntry, aristaServicePolicyIfIndex=aristaServicePolicyIfIndex, aristaServicePolicyMapId=aristaServicePolicyMapId, aristaClassMapType=aristaClassMapType, aristaEcnCounterGroup=aristaEcnCounterGroup, aristaClassMapMatchName=aristaClassMapMatchName, aristaPolicyMapClassIndex=aristaPolicyMapClassIndex, aristaPolicyMapActionTable=aristaPolicyMapActionTable, aristaQosStatsEntry=aristaQosStatsEntry, aristaQosPktsSent=aristaQosPktsSent, aristaClassMapMatchCondition=aristaClassMapMatchCondition, aristaPolicyMapTable=aristaPolicyMapTable, aristaClassMapMatchIndex=aristaClassMapMatchIndex, aristaPolicyMapName=aristaPolicyMapName, aristaPolicyMapGroup=aristaPolicyMapGroup, aristaEcnCounterEntry=aristaEcnCounterEntry, aristaPolicyMapId=aristaPolicyMapId, aristaPolicyMapClassTable=aristaPolicyMapClassTable, aristaQosMibObjects=aristaQosMibObjects, aristaClassMapEntry=aristaClassMapEntry, aristaPolicyMapActionRateUnit=aristaPolicyMapActionRateUnit, aristaPolicyMapActionGroup=aristaPolicyMapActionGroup, aristaEcnCounterTable=aristaEcnCounterTable, aristaQosMibCompliance=aristaQosMibCompliance, aristaServicePolicyGroup=aristaServicePolicyGroup, aristaPolicyMapActionEntry=aristaPolicyMapActionEntry, aristaServicePolicyMapType=aristaServicePolicyMapType, aristaServicePolicyDirection=aristaServicePolicyDirection, aristaQosPktsDropped=aristaQosPktsDropped, aristaQosPktsMatched=aristaQosPktsMatched, aristaPolicyMapEntry=aristaPolicyMapEntry, aristaPolicyMapType=aristaPolicyMapType, aristaServicePolicyTable=aristaServicePolicyTable, PYSNMP_MODULE_ID=aristaQosMib, aristaClassMapMatchType=aristaClassMapMatchType, aristaEcnCounterDescriptor=aristaEcnCounterDescriptor, aristaPolicyMapActionValue=aristaPolicyMapActionValue, AristaQosShortId=AristaQosShortId, aristaClassMapMatchTable=aristaClassMapMatchTable, aristaQosMibCompliances=aristaQosMibCompliances, aristaQosMibGroups=aristaQosMibGroups, aristaClassMapGroup=aristaClassMapGroup, aristaPolicyMapActionType=aristaPolicyMapActionType, aristaQosMib=aristaQosMib, aristaPolicyMapClassId=aristaPolicyMapClassId, aristaServicePolicyEntry=aristaServicePolicyEntry)
(arista_mibs,) = mibBuilder.importSymbols('ARISTA-SMI-MIB', 'aristaMibs') (integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_range_constraint, value_size_constraint, constraints_intersection, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion') (physical_index_or_zero,) = mibBuilder.importSymbols('ENTITY-MIB', 'PhysicalIndexOrZero') (interface_index,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (iso, notification_type, object_identity, bits, mib_identifier, module_identity, ip_address, counter32, mib_scalar, mib_table, mib_table_row, mib_table_column, unsigned32, gauge32, time_ticks, counter64, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'iso', 'NotificationType', 'ObjectIdentity', 'Bits', 'MibIdentifier', 'ModuleIdentity', 'IpAddress', 'Counter32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Unsigned32', 'Gauge32', 'TimeTicks', 'Counter64', 'Integer32') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') arista_qos_mib = module_identity((1, 3, 6, 1, 4, 1, 30065, 3, 13)) aristaQosMib.setRevisions(('2016-07-22 00:00', '2016-03-21 00:00', '2014-08-15 00:00', '2014-05-22 00:00', '2013-06-01 00:00')) if mibBuilder.loadTexts: aristaQosMib.setLastUpdated('201607220000Z') if mibBuilder.loadTexts: aristaQosMib.setOrganization('Arista Networks, Inc.') class Aristaqosmaptype(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('controlPlane', 1), ('dataPlane', 2)) class Aristaqosshortid(TextualConvention, OctetString): status = 'current' display_hint = '255a' subtype_spec = OctetString.subtypeSpec + value_size_constraint(1, 40) arista_qos_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1)) arista_qos_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2)) arista_class_map_table = mib_table((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 1)) if mibBuilder.loadTexts: aristaClassMapTable.setStatus('current') arista_class_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 1, 1)).setIndexNames((0, 'ARISTA-QOS-MIB', 'aristaClassMapId'), (0, 'ARISTA-QOS-MIB', 'aristaClassMapType')) if mibBuilder.loadTexts: aristaClassMapEntry.setStatus('current') arista_class_map_id = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 1, 1, 1), arista_qos_short_id()) if mibBuilder.loadTexts: aristaClassMapId.setStatus('current') arista_class_map_type = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 1, 1, 2), arista_qos_map_type()) if mibBuilder.loadTexts: aristaClassMapType.setStatus('current') arista_class_map_name = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaClassMapName.setStatus('current') arista_class_map_match_condition = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('matchConditionAny', 1), ('matchConditionAll', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaClassMapMatchCondition.setStatus('current') arista_class_map_match_table = mib_table((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 2)) if mibBuilder.loadTexts: aristaClassMapMatchTable.setStatus('current') arista_class_map_match_entry = mib_table_row((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 2, 1)).setIndexNames((0, 'ARISTA-QOS-MIB', 'aristaClassMapId'), (0, 'ARISTA-QOS-MIB', 'aristaClassMapType'), (0, 'ARISTA-QOS-MIB', 'aristaClassMapMatchIndex')) if mibBuilder.loadTexts: aristaClassMapMatchEntry.setStatus('current') arista_class_map_match_index = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: aristaClassMapMatchIndex.setStatus('current') arista_class_map_match_type = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('ipv4AccessGroup', 1), ('ipv6AccessGroup', 2), ('vlan', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaClassMapMatchType.setStatus('current') arista_class_map_match_name = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaClassMapMatchName.setStatus('current') arista_policy_map_table = mib_table((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 3)) if mibBuilder.loadTexts: aristaPolicyMapTable.setStatus('current') arista_policy_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 3, 1)).setIndexNames((0, 'ARISTA-QOS-MIB', 'aristaPolicyMapId'), (0, 'ARISTA-QOS-MIB', 'aristaPolicyMapType')) if mibBuilder.loadTexts: aristaPolicyMapEntry.setStatus('current') arista_policy_map_id = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 3, 1, 1), arista_qos_short_id()) if mibBuilder.loadTexts: aristaPolicyMapId.setStatus('current') arista_policy_map_type = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 3, 1, 2), arista_qos_map_type()) if mibBuilder.loadTexts: aristaPolicyMapType.setStatus('current') arista_policy_map_name = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 3, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaPolicyMapName.setStatus('current') arista_policy_map_class_table = mib_table((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 4)) if mibBuilder.loadTexts: aristaPolicyMapClassTable.setStatus('current') arista_policy_map_class_entry = mib_table_row((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 4, 1)).setIndexNames((0, 'ARISTA-QOS-MIB', 'aristaPolicyMapId'), (0, 'ARISTA-QOS-MIB', 'aristaPolicyMapType'), (0, 'ARISTA-QOS-MIB', 'aristaPolicyMapClassIndex')) if mibBuilder.loadTexts: aristaPolicyMapClassEntry.setStatus('current') arista_policy_map_class_index = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))) if mibBuilder.loadTexts: aristaPolicyMapClassIndex.setStatus('current') arista_policy_map_class_id = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 4, 1, 2), arista_qos_short_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaPolicyMapClassId.setStatus('current') arista_policy_map_action_table = mib_table((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 5)) if mibBuilder.loadTexts: aristaPolicyMapActionTable.setStatus('current') arista_policy_map_action_entry = mib_table_row((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 5, 1)).setIndexNames((0, 'ARISTA-QOS-MIB', 'aristaPolicyMapId'), (0, 'ARISTA-QOS-MIB', 'aristaPolicyMapType'), (0, 'ARISTA-QOS-MIB', 'aristaClassMapId'), (0, 'ARISTA-QOS-MIB', 'aristaPolicyMapActionType')) if mibBuilder.loadTexts: aristaPolicyMapActionEntry.setStatus('current') arista_policy_map_action_type = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 5, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('actionSetShape', 1), ('actionSetBandwidth', 2), ('actionSetCos', 3), ('actionSetDscp', 4), ('actionSetTc', 5)))) if mibBuilder.loadTexts: aristaPolicyMapActionType.setStatus('current') arista_policy_map_action_rate_unit = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 5, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('rateUnitNone', 0), ('rateUnitPps', 1), ('rateUnitKbps', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaPolicyMapActionRateUnit.setStatus('current') arista_policy_map_action_value = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 5, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaPolicyMapActionValue.setStatus('current') arista_service_policy_table = mib_table((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 6)) if mibBuilder.loadTexts: aristaServicePolicyTable.setStatus('current') arista_service_policy_entry = mib_table_row((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 6, 1)).setIndexNames((0, 'ARISTA-QOS-MIB', 'aristaServicePolicyIfIndex'), (0, 'ARISTA-QOS-MIB', 'aristaServicePolicyDirection')) if mibBuilder.loadTexts: aristaServicePolicyEntry.setStatus('current') arista_service_policy_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 6, 1, 1), interface_index()) if mibBuilder.loadTexts: aristaServicePolicyIfIndex.setStatus('current') arista_service_policy_direction = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 6, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('input', 1), ('output', 2)))) if mibBuilder.loadTexts: aristaServicePolicyDirection.setStatus('current') arista_service_policy_map_id = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 6, 1, 3), arista_qos_short_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaServicePolicyMapId.setStatus('current') arista_service_policy_map_type = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 6, 1, 4), arista_qos_map_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaServicePolicyMapType.setStatus('current') arista_qos_stats_table = mib_table((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 7)) if mibBuilder.loadTexts: aristaQosStatsTable.setStatus('current') arista_qos_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 7, 1)).setIndexNames((0, 'ARISTA-QOS-MIB', 'aristaPolicyMapId'), (0, 'ARISTA-QOS-MIB', 'aristaPolicyMapType'), (0, 'ARISTA-QOS-MIB', 'aristaClassMapId'), (0, 'ARISTA-QOS-MIB', 'aristaServicePolicyDirection')) if mibBuilder.loadTexts: aristaQosStatsEntry.setStatus('current') arista_qos_pkts_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 7, 1, 1), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaQosPktsDropped.setStatus('current') arista_qos_pkts_sent = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 7, 1, 2), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaQosPktsSent.setStatus('current') arista_qos_pkts_matched = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 7, 1, 3), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaQosPktsMatched.setStatus('current') arista_ecn_counter_table = mib_table((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 8)) if mibBuilder.loadTexts: aristaEcnCounterTable.setStatus('current') arista_ecn_counter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 8, 1)).setIndexNames((0, 'ARISTA-QOS-MIB', 'aristaEcnCounterDescriptor')) if mibBuilder.loadTexts: aristaEcnCounterEntry.setStatus('current') arista_ecn_counter_descriptor = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 8, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))) if mibBuilder.loadTexts: aristaEcnCounterDescriptor.setStatus('current') arista_ecn_counter_value = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 8, 1, 2), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaEcnCounterValue.setStatus('current') arista_ecn_counter_entity = mib_table_column((1, 3, 6, 1, 4, 1, 30065, 3, 13, 1, 8, 1, 3), physical_index_or_zero()).setMaxAccess('readonly') if mibBuilder.loadTexts: aristaEcnCounterEntity.setStatus('current') arista_qos_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 1)) arista_qos_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 2)) arista_qos_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 1, 1)).setObjects(('ARISTA-QOS-MIB', 'aristaClassMapGroup'), ('ARISTA-QOS-MIB', 'aristaPolicyMapGroup'), ('ARISTA-QOS-MIB', 'aristaPolicyMapActionGroup'), ('ARISTA-QOS-MIB', 'aristaServicePolicyGroup'), ('ARISTA-QOS-MIB', 'aristaEcnCounterGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): arista_qos_mib_compliance = aristaQosMibCompliance.setStatus('current') arista_class_map_group = object_group((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 2, 1)).setObjects(('ARISTA-QOS-MIB', 'aristaClassMapName'), ('ARISTA-QOS-MIB', 'aristaClassMapMatchCondition'), ('ARISTA-QOS-MIB', 'aristaClassMapMatchType'), ('ARISTA-QOS-MIB', 'aristaClassMapMatchName'), ('ARISTA-QOS-MIB', 'aristaPolicyMapClassId'), ('ARISTA-QOS-MIB', 'aristaQosPktsDropped'), ('ARISTA-QOS-MIB', 'aristaQosPktsMatched'), ('ARISTA-QOS-MIB', 'aristaQosPktsSent')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): arista_class_map_group = aristaClassMapGroup.setStatus('current') arista_policy_map_group = object_group((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 2, 2)).setObjects(('ARISTA-QOS-MIB', 'aristaPolicyMapName')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): arista_policy_map_group = aristaPolicyMapGroup.setStatus('current') arista_policy_map_action_group = object_group((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 2, 3)).setObjects(('ARISTA-QOS-MIB', 'aristaPolicyMapActionRateUnit'), ('ARISTA-QOS-MIB', 'aristaPolicyMapActionValue')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): arista_policy_map_action_group = aristaPolicyMapActionGroup.setStatus('current') arista_service_policy_group = object_group((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 2, 4)).setObjects(('ARISTA-QOS-MIB', 'aristaServicePolicyMapId'), ('ARISTA-QOS-MIB', 'aristaServicePolicyMapType')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): arista_service_policy_group = aristaServicePolicyGroup.setStatus('current') arista_ecn_counter_group = object_group((1, 3, 6, 1, 4, 1, 30065, 3, 13, 2, 2, 5)).setObjects(('ARISTA-QOS-MIB', 'aristaEcnCounterValue'), ('ARISTA-QOS-MIB', 'aristaEcnCounterEntity')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): arista_ecn_counter_group = aristaEcnCounterGroup.setStatus('current') mibBuilder.exportSymbols('ARISTA-QOS-MIB', aristaQosStatsTable=aristaQosStatsTable, aristaQosMibConformance=aristaQosMibConformance, aristaClassMapTable=aristaClassMapTable, aristaEcnCounterValue=aristaEcnCounterValue, AristaQosMapType=AristaQosMapType, aristaEcnCounterEntity=aristaEcnCounterEntity, aristaClassMapMatchEntry=aristaClassMapMatchEntry, aristaClassMapName=aristaClassMapName, aristaClassMapId=aristaClassMapId, aristaPolicyMapClassEntry=aristaPolicyMapClassEntry, aristaServicePolicyIfIndex=aristaServicePolicyIfIndex, aristaServicePolicyMapId=aristaServicePolicyMapId, aristaClassMapType=aristaClassMapType, aristaEcnCounterGroup=aristaEcnCounterGroup, aristaClassMapMatchName=aristaClassMapMatchName, aristaPolicyMapClassIndex=aristaPolicyMapClassIndex, aristaPolicyMapActionTable=aristaPolicyMapActionTable, aristaQosStatsEntry=aristaQosStatsEntry, aristaQosPktsSent=aristaQosPktsSent, aristaClassMapMatchCondition=aristaClassMapMatchCondition, aristaPolicyMapTable=aristaPolicyMapTable, aristaClassMapMatchIndex=aristaClassMapMatchIndex, aristaPolicyMapName=aristaPolicyMapName, aristaPolicyMapGroup=aristaPolicyMapGroup, aristaEcnCounterEntry=aristaEcnCounterEntry, aristaPolicyMapId=aristaPolicyMapId, aristaPolicyMapClassTable=aristaPolicyMapClassTable, aristaQosMibObjects=aristaQosMibObjects, aristaClassMapEntry=aristaClassMapEntry, aristaPolicyMapActionRateUnit=aristaPolicyMapActionRateUnit, aristaPolicyMapActionGroup=aristaPolicyMapActionGroup, aristaEcnCounterTable=aristaEcnCounterTable, aristaQosMibCompliance=aristaQosMibCompliance, aristaServicePolicyGroup=aristaServicePolicyGroup, aristaPolicyMapActionEntry=aristaPolicyMapActionEntry, aristaServicePolicyMapType=aristaServicePolicyMapType, aristaServicePolicyDirection=aristaServicePolicyDirection, aristaQosPktsDropped=aristaQosPktsDropped, aristaQosPktsMatched=aristaQosPktsMatched, aristaPolicyMapEntry=aristaPolicyMapEntry, aristaPolicyMapType=aristaPolicyMapType, aristaServicePolicyTable=aristaServicePolicyTable, PYSNMP_MODULE_ID=aristaQosMib, aristaClassMapMatchType=aristaClassMapMatchType, aristaEcnCounterDescriptor=aristaEcnCounterDescriptor, aristaPolicyMapActionValue=aristaPolicyMapActionValue, AristaQosShortId=AristaQosShortId, aristaClassMapMatchTable=aristaClassMapMatchTable, aristaQosMibCompliances=aristaQosMibCompliances, aristaQosMibGroups=aristaQosMibGroups, aristaClassMapGroup=aristaClassMapGroup, aristaPolicyMapActionType=aristaPolicyMapActionType, aristaQosMib=aristaQosMib, aristaPolicyMapClassId=aristaPolicyMapClassId, aristaServicePolicyEntry=aristaServicePolicyEntry)
# twonums_sum returns the index of the nums inside the list that can become n def twonums_sum(n, lst): d = {} for i in range(len(lst)): d[lst[i]] = i # create number-subscript pair for i in range(len(lst)): if n - lst[i] in d: return i, d[n-lst[i]] return -1 lst = [1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 18, 19, 20, 21, 29, 34, 54, 65] n = int(input()) result = twonums_sum(n, lst) if result == -1: print("not found") else: print(result)
def twonums_sum(n, lst): d = {} for i in range(len(lst)): d[lst[i]] = i for i in range(len(lst)): if n - lst[i] in d: return (i, d[n - lst[i]]) return -1 lst = [1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 18, 19, 20, 21, 29, 34, 54, 65] n = int(input()) result = twonums_sum(n, lst) if result == -1: print('not found') else: print(result)
class Solution: def longestPalindrome(self, s: str) -> str: if not s or len(s) <= 1: return s result = '' max_len = 0 n = len(s) dp = [[False] * n for _ in range(n)] for i in range(n): dp[i][i] = True if 1 > max_len: max_len = 1 result = s[i] for i in range(n-1): if s[i] == s[i+1]: dp[i][i+1] = True if 2 > max_len: max_len = 2 result = s[i:i+2] for j in range(2, n): for i in range(j-1): # detect s[i]..s[j] if s[i] == s[j] and dp[i+1][j-1]: dp[i][j] = True if j-i+1 > max_len: max_len = j-i+1 result = s[i:j+1] return result if __name__== '__main__': solution = Solution() result = solution.longestPalindrome('ababababababa') print(result == 'ababababababa') result = solution.longestPalindrome('bananas') print(result == 'anana')
class Solution: def longest_palindrome(self, s: str) -> str: if not s or len(s) <= 1: return s result = '' max_len = 0 n = len(s) dp = [[False] * n for _ in range(n)] for i in range(n): dp[i][i] = True if 1 > max_len: max_len = 1 result = s[i] for i in range(n - 1): if s[i] == s[i + 1]: dp[i][i + 1] = True if 2 > max_len: max_len = 2 result = s[i:i + 2] for j in range(2, n): for i in range(j - 1): if s[i] == s[j] and dp[i + 1][j - 1]: dp[i][j] = True if j - i + 1 > max_len: max_len = j - i + 1 result = s[i:j + 1] return result if __name__ == '__main__': solution = solution() result = solution.longestPalindrome('ababababababa') print(result == 'ababababababa') result = solution.longestPalindrome('bananas') print(result == 'anana')
class Computer: def __init__(self,prog): if type(prog)==str: prog = [int(x.strip()) for x in prog.split(",") if x.strip()] self.memory = prog def evaluate(self): pc = 0 while pc<len(self.memory) and self.memory[pc]!=99: if self.memory[pc]==1: from_, to_, store = self.memory[pc+1:pc+4] self.memory[store] = self.memory[from_]+self.memory[to_] pc+=4 elif self.memory[pc]==2: from_, to_, store = self.memory[pc+1:pc+4] self.memory[store] = self.memory[from_]*self.memory[to_] pc+=4 else: raise Exception("Unknown opcode {:02d} at {:02d}".format(self.memory[pc],pc))
class Computer: def __init__(self, prog): if type(prog) == str: prog = [int(x.strip()) for x in prog.split(',') if x.strip()] self.memory = prog def evaluate(self): pc = 0 while pc < len(self.memory) and self.memory[pc] != 99: if self.memory[pc] == 1: (from_, to_, store) = self.memory[pc + 1:pc + 4] self.memory[store] = self.memory[from_] + self.memory[to_] pc += 4 elif self.memory[pc] == 2: (from_, to_, store) = self.memory[pc + 1:pc + 4] self.memory[store] = self.memory[from_] * self.memory[to_] pc += 4 else: raise exception('Unknown opcode {:02d} at {:02d}'.format(self.memory[pc], pc))
# # PySNMP MIB module INTEL-ES480-VLAN-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/INTEL-ES480-VLAN-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:42:49 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") SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection") es480tAgent, = mibBuilder.importSymbols("INTEL-ES480-MIB", "es480tAgent") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") TimeTicks, ObjectIdentity, Bits, iso, NotificationType, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, Integer32, MibIdentifier, Gauge32, Counter32, IpAddress, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "ObjectIdentity", "Bits", "iso", "NotificationType", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "Integer32", "MibIdentifier", "Gauge32", "Counter32", "IpAddress", "Counter64") DisplayString, TextualConvention, RowStatus = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention", "RowStatus") es480tVlan = ModuleIdentity((1, 3, 6, 1, 4, 1, 343, 6, 60, 2)) if mibBuilder.loadTexts: es480tVlan.setLastUpdated('0003170000Z') if mibBuilder.loadTexts: es480tVlan.setOrganization('Intel Corp.') es480tVlanGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1)) es480tVirtualGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 2)) es480tEncapsulationGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 3)) es480tProtocolGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5)) class Es480tSwitchVlanType(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1)) namedValues = NamedValues(("vlanLayer2", 1)) es480tVlanIfTable = MibTable((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1, 2), ) if mibBuilder.loadTexts: es480tVlanIfTable.setStatus('mandatory') es480tVlanIfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1, 2, 1), ).setIndexNames((0, "INTEL-ES480-VLAN-MIB", "es480tVlanIfIndex")) if mibBuilder.loadTexts: es480tVlanIfEntry.setStatus('mandatory') es480tVlanIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1, 2, 1, 1), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanIfIndex.setStatus('mandatory') es480tVlanIfDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanIfDescr.setStatus('mandatory') es480tVlanIfType = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1, 2, 1, 3), Es480tSwitchVlanType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanIfType.setStatus('mandatory') es480tVlanIfGlobalIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanIfGlobalIdentifier.setStatus('mandatory') es480tVlanIfStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1, 2, 1, 6), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanIfStatus.setStatus('mandatory') class Es480tSwitchVlanEncapsType(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(2)) namedValues = NamedValues(("vlanEncaps8021q", 2)) es480tVlanEncapsIfTable = MibTable((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 3, 1), ) if mibBuilder.loadTexts: es480tVlanEncapsIfTable.setStatus('mandatory') es480tVlanEncapsIfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 3, 1, 1), ).setIndexNames((0, "INTEL-ES480-VLAN-MIB", "es480tVlanEncapsIfIndex")) if mibBuilder.loadTexts: es480tVlanEncapsIfEntry.setStatus('mandatory') es480tVlanEncapsIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 3, 1, 1, 1), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanEncapsIfIndex.setStatus('mandatory') es480tVlanEncapsIfType = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 3, 1, 1, 2), Es480tSwitchVlanEncapsType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanEncapsIfType.setStatus('mandatory') es480tVlanEncapsIfTag = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 3, 1, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanEncapsIfTag.setStatus('mandatory') es480tVlanEncapsIfStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 3, 1, 1, 4), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanEncapsIfStatus.setStatus('mandatory') es480tNextAvailableVirtIfIndex = MibScalar((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: es480tNextAvailableVirtIfIndex.setStatus('mandatory') es480tVlanProtocolTable = MibTable((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1), ) if mibBuilder.loadTexts: es480tVlanProtocolTable.setStatus('mandatory') es480tVlanProtocolEntry = MibTableRow((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1, 1), ).setIndexNames((0, "INTEL-ES480-VLAN-MIB", "es480tVlanProtocolIndex"), (0, "INTEL-ES480-VLAN-MIB", "es480tVlanProtocolIdIndex")) if mibBuilder.loadTexts: es480tVlanProtocolEntry.setStatus('mandatory') es480tVlanProtocolIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanProtocolIndex.setStatus('mandatory') es480tVlanProtocolIdIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 6))).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanProtocolIdIndex.setStatus('mandatory') es480tVlanProtocolName = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanProtocolName.setStatus('mandatory') es480tVlanProtocolDllEncapsType = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("any", 1), ("ethertype", 2), ("llc", 3), ("llcSnapEthertype", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanProtocolDllEncapsType.setStatus('mandatory') es480tVlanProtocolId = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanProtocolId.setStatus('mandatory') es480tVlanProtocolStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1, 1, 6), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanProtocolStatus.setStatus('mandatory') es480tVlanProtocolVlanTable = MibTable((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 2), ) if mibBuilder.loadTexts: es480tVlanProtocolVlanTable.setStatus('mandatory') es480tVlanProtocolVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 2, 1), ).setIndexNames((0, "INTEL-ES480-VLAN-MIB", "es480tVlanProtocolVlanIfIndex"), (0, "INTEL-ES480-VLAN-MIB", "es480tVlanProtocolVlanProtocolIndex")) if mibBuilder.loadTexts: es480tVlanProtocolVlanEntry.setStatus('mandatory') es480tVlanProtocolVlanIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 2, 1, 1), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanProtocolVlanIfIndex.setStatus('mandatory') es480tVlanProtocolVlanProtocolIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 2, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanProtocolVlanProtocolIndex.setStatus('mandatory') es480tVlanProtocolVlanStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 2, 1, 3), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: es480tVlanProtocolVlanStatus.setStatus('mandatory') mibBuilder.exportSymbols("INTEL-ES480-VLAN-MIB", es480tVlanIfStatus=es480tVlanIfStatus, es480tVlanProtocolTable=es480tVlanProtocolTable, es480tVlanIfIndex=es480tVlanIfIndex, es480tVlanEncapsIfStatus=es480tVlanEncapsIfStatus, Es480tSwitchVlanEncapsType=Es480tSwitchVlanEncapsType, es480tVlanIfEntry=es480tVlanIfEntry, es480tNextAvailableVirtIfIndex=es480tNextAvailableVirtIfIndex, es480tVlanEncapsIfTable=es480tVlanEncapsIfTable, es480tVlanProtocolName=es480tVlanProtocolName, PYSNMP_MODULE_ID=es480tVlan, es480tVlanProtocolVlanEntry=es480tVlanProtocolVlanEntry, Es480tSwitchVlanType=Es480tSwitchVlanType, es480tVlanIfDescr=es480tVlanIfDescr, es480tEncapsulationGroup=es480tEncapsulationGroup, es480tVlanProtocolVlanProtocolIndex=es480tVlanProtocolVlanProtocolIndex, es480tVlanProtocolVlanStatus=es480tVlanProtocolVlanStatus, es480tVlanGroup=es480tVlanGroup, es480tVlanIfTable=es480tVlanIfTable, es480tVlanProtocolVlanTable=es480tVlanProtocolVlanTable, es480tVlan=es480tVlan, es480tVlanProtocolDllEncapsType=es480tVlanProtocolDllEncapsType, es480tVlanEncapsIfTag=es480tVlanEncapsIfTag, es480tVlanProtocolIdIndex=es480tVlanProtocolIdIndex, es480tVlanProtocolIndex=es480tVlanProtocolIndex, es480tVlanIfGlobalIdentifier=es480tVlanIfGlobalIdentifier, es480tVlanProtocolEntry=es480tVlanProtocolEntry, es480tVlanProtocolVlanIfIndex=es480tVlanProtocolVlanIfIndex, es480tVlanProtocolStatus=es480tVlanProtocolStatus, es480tVlanEncapsIfIndex=es480tVlanEncapsIfIndex, es480tVlanEncapsIfEntry=es480tVlanEncapsIfEntry, es480tVlanIfType=es480tVlanIfType, es480tProtocolGroup=es480tProtocolGroup, es480tVlanEncapsIfType=es480tVlanEncapsIfType, es480tVlanProtocolId=es480tVlanProtocolId, es480tVirtualGroup=es480tVirtualGroup)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_size_constraint, constraints_union, value_range_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection') (es480t_agent,) = mibBuilder.importSymbols('INTEL-ES480-MIB', 'es480tAgent') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (time_ticks, object_identity, bits, iso, notification_type, unsigned32, mib_scalar, mib_table, mib_table_row, mib_table_column, module_identity, integer32, mib_identifier, gauge32, counter32, ip_address, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'TimeTicks', 'ObjectIdentity', 'Bits', 'iso', 'NotificationType', 'Unsigned32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ModuleIdentity', 'Integer32', 'MibIdentifier', 'Gauge32', 'Counter32', 'IpAddress', 'Counter64') (display_string, textual_convention, row_status) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention', 'RowStatus') es480t_vlan = module_identity((1, 3, 6, 1, 4, 1, 343, 6, 60, 2)) if mibBuilder.loadTexts: es480tVlan.setLastUpdated('0003170000Z') if mibBuilder.loadTexts: es480tVlan.setOrganization('Intel Corp.') es480t_vlan_group = mib_identifier((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1)) es480t_virtual_group = mib_identifier((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 2)) es480t_encapsulation_group = mib_identifier((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 3)) es480t_protocol_group = mib_identifier((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5)) class Es480Tswitchvlantype(Integer32): subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1)) named_values = named_values(('vlanLayer2', 1)) es480t_vlan_if_table = mib_table((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1, 2)) if mibBuilder.loadTexts: es480tVlanIfTable.setStatus('mandatory') es480t_vlan_if_entry = mib_table_row((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1, 2, 1)).setIndexNames((0, 'INTEL-ES480-VLAN-MIB', 'es480tVlanIfIndex')) if mibBuilder.loadTexts: es480tVlanIfEntry.setStatus('mandatory') es480t_vlan_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1, 2, 1, 1), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanIfIndex.setStatus('mandatory') es480t_vlan_if_descr = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanIfDescr.setStatus('mandatory') es480t_vlan_if_type = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1, 2, 1, 3), es480t_switch_vlan_type()).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanIfType.setStatus('mandatory') es480t_vlan_if_global_identifier = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanIfGlobalIdentifier.setStatus('mandatory') es480t_vlan_if_status = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 1, 2, 1, 6), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanIfStatus.setStatus('mandatory') class Es480Tswitchvlanencapstype(Integer32): subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(2)) named_values = named_values(('vlanEncaps8021q', 2)) es480t_vlan_encaps_if_table = mib_table((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 3, 1)) if mibBuilder.loadTexts: es480tVlanEncapsIfTable.setStatus('mandatory') es480t_vlan_encaps_if_entry = mib_table_row((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 3, 1, 1)).setIndexNames((0, 'INTEL-ES480-VLAN-MIB', 'es480tVlanEncapsIfIndex')) if mibBuilder.loadTexts: es480tVlanEncapsIfEntry.setStatus('mandatory') es480t_vlan_encaps_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 3, 1, 1, 1), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanEncapsIfIndex.setStatus('mandatory') es480t_vlan_encaps_if_type = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 3, 1, 1, 2), es480t_switch_vlan_encaps_type()).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanEncapsIfType.setStatus('mandatory') es480t_vlan_encaps_if_tag = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 3, 1, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanEncapsIfTag.setStatus('mandatory') es480t_vlan_encaps_if_status = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 3, 1, 1, 4), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanEncapsIfStatus.setStatus('mandatory') es480t_next_available_virt_if_index = mib_scalar((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 2, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: es480tNextAvailableVirtIfIndex.setStatus('mandatory') es480t_vlan_protocol_table = mib_table((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1)) if mibBuilder.loadTexts: es480tVlanProtocolTable.setStatus('mandatory') es480t_vlan_protocol_entry = mib_table_row((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1, 1)).setIndexNames((0, 'INTEL-ES480-VLAN-MIB', 'es480tVlanProtocolIndex'), (0, 'INTEL-ES480-VLAN-MIB', 'es480tVlanProtocolIdIndex')) if mibBuilder.loadTexts: es480tVlanProtocolEntry.setStatus('mandatory') es480t_vlan_protocol_index = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanProtocolIndex.setStatus('mandatory') es480t_vlan_protocol_id_index = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 6))).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanProtocolIdIndex.setStatus('mandatory') es480t_vlan_protocol_name = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 31))).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanProtocolName.setStatus('mandatory') es480t_vlan_protocol_dll_encaps_type = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('any', 1), ('ethertype', 2), ('llc', 3), ('llcSnapEthertype', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanProtocolDllEncapsType.setStatus('mandatory') es480t_vlan_protocol_id = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanProtocolId.setStatus('mandatory') es480t_vlan_protocol_status = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 1, 1, 6), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanProtocolStatus.setStatus('mandatory') es480t_vlan_protocol_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 2)) if mibBuilder.loadTexts: es480tVlanProtocolVlanTable.setStatus('mandatory') es480t_vlan_protocol_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 2, 1)).setIndexNames((0, 'INTEL-ES480-VLAN-MIB', 'es480tVlanProtocolVlanIfIndex'), (0, 'INTEL-ES480-VLAN-MIB', 'es480tVlanProtocolVlanProtocolIndex')) if mibBuilder.loadTexts: es480tVlanProtocolVlanEntry.setStatus('mandatory') es480t_vlan_protocol_vlan_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 2, 1, 1), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanProtocolVlanIfIndex.setStatus('mandatory') es480t_vlan_protocol_vlan_protocol_index = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 2, 1, 2), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanProtocolVlanProtocolIndex.setStatus('mandatory') es480t_vlan_protocol_vlan_status = mib_table_column((1, 3, 6, 1, 4, 1, 343, 6, 60, 2, 5, 2, 1, 3), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: es480tVlanProtocolVlanStatus.setStatus('mandatory') mibBuilder.exportSymbols('INTEL-ES480-VLAN-MIB', es480tVlanIfStatus=es480tVlanIfStatus, es480tVlanProtocolTable=es480tVlanProtocolTable, es480tVlanIfIndex=es480tVlanIfIndex, es480tVlanEncapsIfStatus=es480tVlanEncapsIfStatus, Es480tSwitchVlanEncapsType=Es480tSwitchVlanEncapsType, es480tVlanIfEntry=es480tVlanIfEntry, es480tNextAvailableVirtIfIndex=es480tNextAvailableVirtIfIndex, es480tVlanEncapsIfTable=es480tVlanEncapsIfTable, es480tVlanProtocolName=es480tVlanProtocolName, PYSNMP_MODULE_ID=es480tVlan, es480tVlanProtocolVlanEntry=es480tVlanProtocolVlanEntry, Es480tSwitchVlanType=Es480tSwitchVlanType, es480tVlanIfDescr=es480tVlanIfDescr, es480tEncapsulationGroup=es480tEncapsulationGroup, es480tVlanProtocolVlanProtocolIndex=es480tVlanProtocolVlanProtocolIndex, es480tVlanProtocolVlanStatus=es480tVlanProtocolVlanStatus, es480tVlanGroup=es480tVlanGroup, es480tVlanIfTable=es480tVlanIfTable, es480tVlanProtocolVlanTable=es480tVlanProtocolVlanTable, es480tVlan=es480tVlan, es480tVlanProtocolDllEncapsType=es480tVlanProtocolDllEncapsType, es480tVlanEncapsIfTag=es480tVlanEncapsIfTag, es480tVlanProtocolIdIndex=es480tVlanProtocolIdIndex, es480tVlanProtocolIndex=es480tVlanProtocolIndex, es480tVlanIfGlobalIdentifier=es480tVlanIfGlobalIdentifier, es480tVlanProtocolEntry=es480tVlanProtocolEntry, es480tVlanProtocolVlanIfIndex=es480tVlanProtocolVlanIfIndex, es480tVlanProtocolStatus=es480tVlanProtocolStatus, es480tVlanEncapsIfIndex=es480tVlanEncapsIfIndex, es480tVlanEncapsIfEntry=es480tVlanEncapsIfEntry, es480tVlanIfType=es480tVlanIfType, es480tProtocolGroup=es480tProtocolGroup, es480tVlanEncapsIfType=es480tVlanEncapsIfType, es480tVlanProtocolId=es480tVlanProtocolId, es480tVirtualGroup=es480tVirtualGroup)
class BaseError(Exception): pass class AddQueryInvalid(Exception): def __init__(self, exception, message="Parameter Add condition is invalid"): self.message = message self.exception = exception super().__init__(self.message) def __str__(self): return f'{self.message}: {self.exception}' class DataValueInvalid(BaseError): def __init__(self, exception, message="Invalid value data given"): self.message = message self.exception = exception super().__init__(self.message) def __str__(self): return f'{self.message}: {self.exception}' class NoneTypeValue(BaseError): def __init__(self, exception, message="The value is empty or none"): self.message = message self.exception = exception super().__init__(self.message) def __str__(self): return f'{self.message}: {self.exception}'
class Baseerror(Exception): pass class Addqueryinvalid(Exception): def __init__(self, exception, message='Parameter Add condition is invalid'): self.message = message self.exception = exception super().__init__(self.message) def __str__(self): return f'{self.message}: {self.exception}' class Datavalueinvalid(BaseError): def __init__(self, exception, message='Invalid value data given'): self.message = message self.exception = exception super().__init__(self.message) def __str__(self): return f'{self.message}: {self.exception}' class Nonetypevalue(BaseError): def __init__(self, exception, message='The value is empty or none'): self.message = message self.exception = exception super().__init__(self.message) def __str__(self): return f'{self.message}: {self.exception}'
lang1 = {'Hindi','Urdu'} lang2= {'Punjabi'} print("Original Set: ", lang2) lang2 = lang1.copy() print("Copied Set: ", lang2)
lang1 = {'Hindi', 'Urdu'} lang2 = {'Punjabi'} print('Original Set: ', lang2) lang2 = lang1.copy() print('Copied Set: ', lang2)
def datacfg(): datacfg = dict() datacfg['abalone'] = dict() datacfg['abalone']['filepath'] = '.\\data\\abalone.pkl' datacfg['abalone']['targets'] = ['rings'] datacfg['abalone']['probtype'] = ['regression', 'classification'] datacfg['autoMpg'] = dict() datacfg['autoMpg']['filepath'] = '.\\data\\autoMpg.pkl' datacfg['autoMpg']['targets'] = ['mpg'] datacfg['autoMpg']['probtype'] = ['regression'] datacfg['bankMarketing'] = dict() datacfg['bankMarketing']['filepath'] = '.\\data\\bankMarketing.pkl' datacfg['bankMarketing']['targets'] = ['y'] datacfg['bankMarketing']['probtype'] = ['classification'] datacfg['bostonHousing'] = dict() datacfg['bostonHousing']['filepath'] = '.\\data\\bostonHousing.pkl' datacfg['bostonHousing']['targets'] = ['PRICE'] datacfg['bostonHousing']['probtype'] = ['regression'] datacfg['heartDiseaseWisconsin'] = dict() datacfg['heartDiseaseWisconsin']['filepath'] = '.\\data\\heartDiseaseWisconsin.pkl' datacfg['heartDiseaseWisconsin']['targets'] = ['num'] datacfg['heartDiseaseWisconsin']['probtype'] = ['regression'] datacfg['wineCultivar'] = dict() datacfg['wineCultivar']['filepath'] = '.\\data\\wineCultivar.pkl' datacfg['wineCultivar']['targets'] = ['cultivar'] datacfg['wineCultivar']['probtype'] = ['classification'] datacfg['winequality-red'] = dict() datacfg['winequality-red']['filepath'] = '.\\data\\winequality-red.pkl' datacfg['winequality-red']['targets'] = ['quality'] datacfg['winequality-red']['probtype'] = ['regression', 'classification'] datacfg['winequality-white'] = dict() datacfg['winequality-white']['filepath'] = '.\\data\\winequality-white.pkl' datacfg['winequality-white']['targets'] = ['quality'] datacfg['winequality-white']['probtype'] = ['regression', 'classification'] datacfg['iris'] = dict() datacfg['iris']['filepath'] = '.\\data\\iris.pkl' datacfg['iris']['targets'] = ['class'] datacfg['iris']['probtype'] = ['classification'] datacfg['pima'] = dict() datacfg['pima']['filepath'] = '.\\data\\pima.pkl' datacfg['pima']['targets'] = ['class'] datacfg['pima']['probtype'] = ['classification'] datacfg['adult'] = dict() datacfg['adult']['filepath'] = '.\\data\\adult.pkl' datacfg['adult']['targets'] = ['class'] datacfg['adult']['probtype'] = ['classification'] return datacfg
def datacfg(): datacfg = dict() datacfg['abalone'] = dict() datacfg['abalone']['filepath'] = '.\\data\\abalone.pkl' datacfg['abalone']['targets'] = ['rings'] datacfg['abalone']['probtype'] = ['regression', 'classification'] datacfg['autoMpg'] = dict() datacfg['autoMpg']['filepath'] = '.\\data\\autoMpg.pkl' datacfg['autoMpg']['targets'] = ['mpg'] datacfg['autoMpg']['probtype'] = ['regression'] datacfg['bankMarketing'] = dict() datacfg['bankMarketing']['filepath'] = '.\\data\\bankMarketing.pkl' datacfg['bankMarketing']['targets'] = ['y'] datacfg['bankMarketing']['probtype'] = ['classification'] datacfg['bostonHousing'] = dict() datacfg['bostonHousing']['filepath'] = '.\\data\\bostonHousing.pkl' datacfg['bostonHousing']['targets'] = ['PRICE'] datacfg['bostonHousing']['probtype'] = ['regression'] datacfg['heartDiseaseWisconsin'] = dict() datacfg['heartDiseaseWisconsin']['filepath'] = '.\\data\\heartDiseaseWisconsin.pkl' datacfg['heartDiseaseWisconsin']['targets'] = ['num'] datacfg['heartDiseaseWisconsin']['probtype'] = ['regression'] datacfg['wineCultivar'] = dict() datacfg['wineCultivar']['filepath'] = '.\\data\\wineCultivar.pkl' datacfg['wineCultivar']['targets'] = ['cultivar'] datacfg['wineCultivar']['probtype'] = ['classification'] datacfg['winequality-red'] = dict() datacfg['winequality-red']['filepath'] = '.\\data\\winequality-red.pkl' datacfg['winequality-red']['targets'] = ['quality'] datacfg['winequality-red']['probtype'] = ['regression', 'classification'] datacfg['winequality-white'] = dict() datacfg['winequality-white']['filepath'] = '.\\data\\winequality-white.pkl' datacfg['winequality-white']['targets'] = ['quality'] datacfg['winequality-white']['probtype'] = ['regression', 'classification'] datacfg['iris'] = dict() datacfg['iris']['filepath'] = '.\\data\\iris.pkl' datacfg['iris']['targets'] = ['class'] datacfg['iris']['probtype'] = ['classification'] datacfg['pima'] = dict() datacfg['pima']['filepath'] = '.\\data\\pima.pkl' datacfg['pima']['targets'] = ['class'] datacfg['pima']['probtype'] = ['classification'] datacfg['adult'] = dict() datacfg['adult']['filepath'] = '.\\data\\adult.pkl' datacfg['adult']['targets'] = ['class'] datacfg['adult']['probtype'] = ['classification'] return datacfg
def my_function(function): function() print(my_function(lambda : 99))
def my_function(function): function() print(my_function(lambda : 99))
class Tokenizer: def tokenize(self, text): # remove comments but keep empty lines instead # to preserve line numbers lines = text.splitlines() lines = [('' if line.strip().startswith(';') else line) for line in lines] t = '\n'.join(lines) # expand symbols for easier tokenization t = t.replace('(', ' ( ') t = t.replace(')', ' ) ') tokens = t.split() return tokens
class Tokenizer: def tokenize(self, text): lines = text.splitlines() lines = ['' if line.strip().startswith(';') else line for line in lines] t = '\n'.join(lines) t = t.replace('(', ' ( ') t = t.replace(')', ' ) ') tokens = t.split() return tokens
#!/usr/bin/env python3 bicycles = ["trek", "cannondale", "redline", "specialized"] print("{}\n".format(bicycles)) print("{} Object type: {}".format("bicycles", type(bicycles))) print(bicycles[0]) for bike in bicycles: print(bike.title())
bicycles = ['trek', 'cannondale', 'redline', 'specialized'] print('{}\n'.format(bicycles)) print('{} Object type: {}'.format('bicycles', type(bicycles))) print(bicycles[0]) for bike in bicycles: print(bike.title())
def merge(a: list, b: list) -> list: i = 0 j = 0 c = [0 for _ in range(len(a) + len(b))] while i < len(a) or j < len(b): if j == len(b) or i < len(a) and a[i] < b[j]: c[i + j] = a[i] i += 1 else: c[i + j] = b[j] j += 1 return c def sort(a: list) -> list: n = len(a) if n <= 1: return a l = a[:n//2] r = a[n//2:] l = sort(l) r = sort(r) return merge(l, r) a = [1, 4, 5, 7, 2, 3, 6] print(sort(a))
def merge(a: list, b: list) -> list: i = 0 j = 0 c = [0 for _ in range(len(a) + len(b))] while i < len(a) or j < len(b): if j == len(b) or (i < len(a) and a[i] < b[j]): c[i + j] = a[i] i += 1 else: c[i + j] = b[j] j += 1 return c def sort(a: list) -> list: n = len(a) if n <= 1: return a l = a[:n // 2] r = a[n // 2:] l = sort(l) r = sort(r) return merge(l, r) a = [1, 4, 5, 7, 2, 3, 6] print(sort(a))
class CORSMiddleware: def process_response(self, request, response): response['Access-Control-Allow-Origin'] = "*" return response
class Corsmiddleware: def process_response(self, request, response): response['Access-Control-Allow-Origin'] = '*' return response
# Copyright 2019, Kay Hayen, mailto:kay.hayen@gmail.com # # Python test originally created or extracted from other peoples work. The # parts from me are licensed as below. It is at least Free Software where # it's copied from other people. In these cases, that will normally be # indicated. # # Licensed 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. # # This taken from CPython's pystone test, and is an extract of it I made to analyse the # differences between CPython and Nuitka performance. It was under PSF 2 license. It's not # very useful anymore, but it is under that license still. LOOPS = 50000 class Record: def __init__(self, PtrComp = None, Discr = 0, EnumComp = 0, IntComp = 0, StringComp = 0): self.PtrComp = PtrComp self.Discr = Discr self.EnumComp = EnumComp self.IntComp = IntComp self.StringComp = StringComp def copy(self): return Record(self.PtrComp, self.Discr, self.EnumComp, self.IntComp, self.StringComp) def Proc1(PtrParIn): PtrParIn.PtrComp = NextRecord = PtrGlb.copy() PtrParIn.IntComp = 5 NextRecord.IntComp = PtrParIn.IntComp NextRecord.PtrComp = PtrParIn.PtrComp if NextRecord.Discr == 17: NextRecord.IntComp = 6 NextRecord.EnumComp = Proc6(PtrParIn.EnumComp) NextRecord.PtrComp = PtrGlb.PtrComp NextRecord.IntComp = Proc7(NextRecord.IntComp, 10) else: PtrParIn = NextRecord.copy() NextRecord.PtrComp = None return PtrParIn def benchmark(loops): global PtrGlb global PtrGlbNext PtrGlb = Record() for i in xrange(loops): PtrGlb = Proc1(PtrGlb) if __name__ == "__main__": benchmark(LOOPS)
loops = 50000 class Record: def __init__(self, PtrComp=None, Discr=0, EnumComp=0, IntComp=0, StringComp=0): self.PtrComp = PtrComp self.Discr = Discr self.EnumComp = EnumComp self.IntComp = IntComp self.StringComp = StringComp def copy(self): return record(self.PtrComp, self.Discr, self.EnumComp, self.IntComp, self.StringComp) def proc1(PtrParIn): PtrParIn.PtrComp = next_record = PtrGlb.copy() PtrParIn.IntComp = 5 NextRecord.IntComp = PtrParIn.IntComp NextRecord.PtrComp = PtrParIn.PtrComp if NextRecord.Discr == 17: NextRecord.IntComp = 6 NextRecord.EnumComp = proc6(PtrParIn.EnumComp) NextRecord.PtrComp = PtrGlb.PtrComp NextRecord.IntComp = proc7(NextRecord.IntComp, 10) else: ptr_par_in = NextRecord.copy() NextRecord.PtrComp = None return PtrParIn def benchmark(loops): global PtrGlb global PtrGlbNext ptr_glb = record() for i in xrange(loops): ptr_glb = proc1(PtrGlb) if __name__ == '__main__': benchmark(LOOPS)
# Write a Python program to # input a string and change its # case to Sentence case using capitalize() # function. It will convert only the first # (beginning)lower case letter to upper case. # it will capitalize only first letter # of a Sentence. # The user will enter String # during program execution # Start of the Python program # display message to enter string # and get input string str1 = input("Enter a string to convert into Sentence case:") # use capitalize() method sentence_string = str1.capitalize() # now print UPPER CASE string print(str1, "In sentence case =", sentence_string)
str1 = input('Enter a string to convert into Sentence case:') sentence_string = str1.capitalize() print(str1, 'In sentence case =', sentence_string)
# SPDX-License-Identifier: BSD-2-Clause QEMU_SPECIAL_KEYS = { " " : "spc", "!" : "shift-1", '"' : "shift-apostrophe", "#" : "shift-3", "$" : "shift-4", "%" : "shift-5", "&" : "shift-7", "'" : "apostrophe", "(" : "shift-9", ")" : "shift-0", "*" : "shift-8", "+" : "shift-equal", "," : "comma", "-" : "minus", "." : "dot", "/" : "slash", ":" : "shift-semicolon", ";" : "semicolon", "<" : "shift-comma", "=" : "equal", ">" : "shift-dot", "?" : "shift-slash", "@" : "shift-2", "[" : "bracket_left", "\\" : "backslash", "]" : "bracket_right", "^" : "shift-6", "_" : "shift-minus", "`" : "grave_accent", "{" : "shift-bracket_left", "|" : "shift-backslash", "}" : "shift-bracket_right", "~" : "shift-grave_accent" } KEYS_MAP = { chr(x): chr(x) if x in range(ord('a'), ord('z')+1) or x in range(ord('0'),ord('9')+1) else 'shift-' + chr(x).lower() if x in range(ord('A'), ord('Z')+1) else QEMU_SPECIAL_KEYS[chr(x)] if chr(x) in QEMU_SPECIAL_KEYS else None for x in range(27, 128) }
qemu_special_keys = {' ': 'spc', '!': 'shift-1', '"': 'shift-apostrophe', '#': 'shift-3', '$': 'shift-4', '%': 'shift-5', '&': 'shift-7', "'": 'apostrophe', '(': 'shift-9', ')': 'shift-0', '*': 'shift-8', '+': 'shift-equal', ',': 'comma', '-': 'minus', '.': 'dot', '/': 'slash', ':': 'shift-semicolon', ';': 'semicolon', '<': 'shift-comma', '=': 'equal', '>': 'shift-dot', '?': 'shift-slash', '@': 'shift-2', '[': 'bracket_left', '\\': 'backslash', ']': 'bracket_right', '^': 'shift-6', '_': 'shift-minus', '`': 'grave_accent', '{': 'shift-bracket_left', '|': 'shift-backslash', '}': 'shift-bracket_right', '~': 'shift-grave_accent'} keys_map = {chr(x): chr(x) if x in range(ord('a'), ord('z') + 1) or x in range(ord('0'), ord('9') + 1) else 'shift-' + chr(x).lower() if x in range(ord('A'), ord('Z') + 1) else QEMU_SPECIAL_KEYS[chr(x)] if chr(x) in QEMU_SPECIAL_KEYS else None for x in range(27, 128)}
# You are given two arrays (no duplicates): arr1 and arr2 where arr1 is a subset of arr2. # For each item x in arr1 find the first proceeding number, y, in arr2 such that y > x and # is to the right hand side of x in arr2. If such number does not exist, return -1. # # Ex. # arr1 = [4, 1, 2] # arr2 = [1, 3, 4, 2] # output = [-1, 3, -1] # the first number in arr1, 4, all numbers to the right of 4 in arr2 are less than 4. Thus return -1 # the second number in arr1, 1, the first number greater than 1 in arr2 is 3 # the third number in arr1, 2, there are no more numbers to the right of 2 in arr2, so return -1 # the basic idea is to iterate through arr2 once while maintaining a stack # for the i'th iteration. If the last item placed on the stack is less than # arr2[i], then we know that arr[i] is the next largest element of arr2[i-1] # # once we have determined that arr2[i] is greater than the previous element, # map that previous element to arr2[i] by popping the stack. if the new top # value on the stack is still less than arr2[i], map that one too, etc. # if, however, arr2[i] is not greater than the last element on the stack, push # arr[2] onto the stack. # finally, iterate through arr1 and replace each element in arr1 with the key/value # counterpart in the map. If we never mapped it in map, then there is no next # greater element, return -1 # RUN TIME ANALYSIS # this algorithm takes two parses hence it is O(n) runtime. def nextGreaterElement(targetArr, numArr): dict = {} #hashmap stack = [] #stack using a list for num in numArr: while stack and stack[len(stack) - 1] < num: dict.update({stack.pop() : num}) stack.append(num) for i in range(len(targetArr)): targetArr[i] = dict.get(targetArr[i], -1) return targetArr #driver code arr1 = [4,1,2] arr2 = [1,3,4,2] print(nextGreaterElement(arr1,arr2))
def next_greater_element(targetArr, numArr): dict = {} stack = [] for num in numArr: while stack and stack[len(stack) - 1] < num: dict.update({stack.pop(): num}) stack.append(num) for i in range(len(targetArr)): targetArr[i] = dict.get(targetArr[i], -1) return targetArr arr1 = [4, 1, 2] arr2 = [1, 3, 4, 2] print(next_greater_element(arr1, arr2))
def solve(floor, room): pass if __name__ == '__main__': num_tc = int(input()) for _ in range(num_tc): k = int(input()) n = int(input()) print(solve(k, n))
def solve(floor, room): pass if __name__ == '__main__': num_tc = int(input()) for _ in range(num_tc): k = int(input()) n = int(input()) print(solve(k, n))
class Solution: def getSkyline(self, buildings: List[List[int]]) -> List[List[int]]: n = len(buildings) if n == 0: return [] if n == 1: xLeft,xRight,y = buildings[0] return [[xLeft,y],[xRight,0]] leftSky = self.getSkyline(buildings[: n//2]) rightSky = self.getSkyline(buildings[n//2 :]) print('left',leftSky,'rihgt',rightSky) return self.merge(leftSky,rightSky) def merge(self,left,right): leftLen = len(left) rightLen = len(right) pl,pr = 0,0 currY = leftY = rightY= 0 result = [] while pl < leftLen and pr < rightLen: leftPoint,rightPoint = left[pl],right[pr] if leftPoint[0] < rightPoint[0]: x,leftY = leftPoint pl += 1 else: x,rightY = rightPoint pr += 1 maxY = max(leftY,rightY) if currY != maxY: self.update(x,maxY,result) currY = maxY print('first merge',result) self.appendSky(pl,left,leftLen,leftY,currY,result) self.appendSky(pr,right,rightLen,rightY,currY,result) return result def update(self,x,y,result): if not result or result[-1][0] != x: result.append([x,y]) else: result[-1][1] = y def appendSky(self,p,num,n,y,currY,result): while p <n: x,y = num[p] p+=1 if currY != y: self.update(x,y,result) currY = y
class Solution: def get_skyline(self, buildings: List[List[int]]) -> List[List[int]]: n = len(buildings) if n == 0: return [] if n == 1: (x_left, x_right, y) = buildings[0] return [[xLeft, y], [xRight, 0]] left_sky = self.getSkyline(buildings[:n // 2]) right_sky = self.getSkyline(buildings[n // 2:]) print('left', leftSky, 'rihgt', rightSky) return self.merge(leftSky, rightSky) def merge(self, left, right): left_len = len(left) right_len = len(right) (pl, pr) = (0, 0) curr_y = left_y = right_y = 0 result = [] while pl < leftLen and pr < rightLen: (left_point, right_point) = (left[pl], right[pr]) if leftPoint[0] < rightPoint[0]: (x, left_y) = leftPoint pl += 1 else: (x, right_y) = rightPoint pr += 1 max_y = max(leftY, rightY) if currY != maxY: self.update(x, maxY, result) curr_y = maxY print('first merge', result) self.appendSky(pl, left, leftLen, leftY, currY, result) self.appendSky(pr, right, rightLen, rightY, currY, result) return result def update(self, x, y, result): if not result or result[-1][0] != x: result.append([x, y]) else: result[-1][1] = y def append_sky(self, p, num, n, y, currY, result): while p < n: (x, y) = num[p] p += 1 if currY != y: self.update(x, y, result) curr_y = y
for i in range(1, 100 + 1): text = '' if i % 3 == 0: text += 'Fizz' if i % 5 == 0: text += 'Buzz' if text == '': print(i) else: print(text)
for i in range(1, 100 + 1): text = '' if i % 3 == 0: text += 'Fizz' if i % 5 == 0: text += 'Buzz' if text == '': print(i) else: print(text)
def is_palindrome(n): if str(n) == str(n)[::-1]: return True return False # Examples: is_palindrome(101) # True is_palindrome(147) # False
def is_palindrome(n): if str(n) == str(n)[::-1]: return True return False is_palindrome(101) is_palindrome(147)
def rest_error_response(Status,Message,Format = 'XML',TwilioCode = None,TwilioMessage = None): response = { "Status" : Status, "Message" : Message } if TwilioCode is not None: response['Code'] = TwilioCode if TwilioMessage is not None: response['MoreInfo'] = TwilioMessage if Format == '' or Format == 'XML' or Format == 'HTML': response = { 'TwilioResponse' : { 'RestException' : response } } return response
def rest_error_response(Status, Message, Format='XML', TwilioCode=None, TwilioMessage=None): response = {'Status': Status, 'Message': Message} if TwilioCode is not None: response['Code'] = TwilioCode if TwilioMessage is not None: response['MoreInfo'] = TwilioMessage if Format == '' or Format == 'XML' or Format == 'HTML': response = {'TwilioResponse': {'RestException': response}} return response
# -*- coding:utf-8 -*- class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def deleteNode(self, listNode, toDeleteNode): if listNode == None or toDeleteNode == None: return listNode if listNode == toDeleteNode: return listNode.next if toDeleteNode.next == None: while(listNode.next != toDeleteNode): listNode = listNode.next listNode.next = None return listNode toDeleteNode.val = toDeleteNode.next.val toDeleteNode.next = toDeleteNode.next.next return listNode if __name__ == "__main__": listNode = ListNode(1) listNode.next = ListNode(2) listNode.next.next = ListNode(3) solution = Solution() headNode = ListNode(1) headNode.next = listNode.next toDeleteNode = listNode.next toDeleteNode.next = listNode.next.next result = solution.deleteNode(listNode, toDeleteNode) print(result)
class Listnode: def __init__(self, x): self.val = x self.next = None class Solution: def delete_node(self, listNode, toDeleteNode): if listNode == None or toDeleteNode == None: return listNode if listNode == toDeleteNode: return listNode.next if toDeleteNode.next == None: while listNode.next != toDeleteNode: list_node = listNode.next listNode.next = None return listNode toDeleteNode.val = toDeleteNode.next.val toDeleteNode.next = toDeleteNode.next.next return listNode if __name__ == '__main__': list_node = list_node(1) listNode.next = list_node(2) listNode.next.next = list_node(3) solution = solution() head_node = list_node(1) headNode.next = listNode.next to_delete_node = listNode.next toDeleteNode.next = listNode.next.next result = solution.deleteNode(listNode, toDeleteNode) print(result)
def build_filter(args): return Filter(args) class Filter: def __init__(self, args): if args == '': message = b'<empty commit message>' else: message = args.encode('utf8') self.message = message def commit_message_filter(self,commit_data): # Only write the commit message if the recorded commit # message is null. if commit_data['desc'] == b'\x00': commit_data['desc'] = self.message
def build_filter(args): return filter(args) class Filter: def __init__(self, args): if args == '': message = b'<empty commit message>' else: message = args.encode('utf8') self.message = message def commit_message_filter(self, commit_data): if commit_data['desc'] == b'\x00': commit_data['desc'] = self.message
# Calculates the total cost of a restaurant bill # including the meal cost, tip amount, and sales tax # Declare variables tipRate = 0.18 # 18% salesTaxRate = 0.07 # 7% # Prompt user for cost of meal mealCost = float(input('\nEnter total cost of meal: $')) # Calculate and display total tip, # total sales tax, and bill total tipCost = mealCost * tipRate salesTaxCost = mealCost * salesTaxRate totalBill = mealCost + tipCost + salesTaxCost print('\nWith 18% tip: $', format(tipCost, ',.2f'), sep='') print('With 7% sales tax: $', format(salesTaxCost, ',.2f'), sep='') print('Restaurant bill total: $', format(totalBill, ',.2f'), '\n', sep='')
tip_rate = 0.18 sales_tax_rate = 0.07 meal_cost = float(input('\nEnter total cost of meal: $')) tip_cost = mealCost * tipRate sales_tax_cost = mealCost * salesTaxRate total_bill = mealCost + tipCost + salesTaxCost print('\nWith 18% tip: $', format(tipCost, ',.2f'), sep='') print('With 7% sales tax: $', format(salesTaxCost, ',.2f'), sep='') print('Restaurant bill total: $', format(totalBill, ',.2f'), '\n', sep='')
#!/usr/bin/env python __author__ = "yangyanzhan" __email__ = "yangyanzhan@gmail.com" __url__ = "https://github.com/yangyanzhan/code-camp" __blog__ = "https://yanzhan.site" __youtube__ = "https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber" __twitter__ = "https://twitter.com/YangYanzhan" mapping = {} class Solution: def generateParenthesis(self, n: int) -> List[str]: if n == 0: return [] if n in mapping: return mapping[n] solutions = [] for i in range(n): parts1 = self.generateParenthesis(i) parts2 = self.generateParenthesis(n - 1 - i) if len(parts1) == 0: parts1 = [""] if len(parts2) == 0: parts2 = [""] for part1 in parts1: for part2 in parts2: solution = "(" + part1 + ")" + part2 solutions.append(solution) mapping[n] = solutions return solutions
__author__ = 'yangyanzhan' __email__ = 'yangyanzhan@gmail.com' __url__ = 'https://github.com/yangyanzhan/code-camp' __blog__ = 'https://yanzhan.site' __youtube__ = 'https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber' __twitter__ = 'https://twitter.com/YangYanzhan' mapping = {} class Solution: def generate_parenthesis(self, n: int) -> List[str]: if n == 0: return [] if n in mapping: return mapping[n] solutions = [] for i in range(n): parts1 = self.generateParenthesis(i) parts2 = self.generateParenthesis(n - 1 - i) if len(parts1) == 0: parts1 = [''] if len(parts2) == 0: parts2 = [''] for part1 in parts1: for part2 in parts2: solution = '(' + part1 + ')' + part2 solutions.append(solution) mapping[n] = solutions return solutions
# Copyright (c) 2016 Ericsson AB. # Licensed 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. # # Copyright (c) 2017 Wind River Systems, Inc. # RPC_API_VERSION = "1.0" TOPIC_DC_MANAGER = "dcmanager" PATCH_VAULT_DIR = "/opt/patch-vault" # Well known region names SYSTEM_CONTROLLER_NAME = "SystemController" DEFAULT_REGION_NAME = "RegionOne" # Subcloud management state MANAGEMENT_UNMANAGED = "unmanaged" MANAGEMENT_MANAGED = "managed" # Subcloud availability status AVAILABILITY_OFFLINE = "offline" AVAILABILITY_ONLINE = "online" # Subcloud sync status SYNC_STATUS_UNKNOWN = "unknown" SYNC_STATUS_IN_SYNC = "in-sync" SYNC_STATUS_OUT_OF_SYNC = "out-of-sync" # Subcloud endpoint related database fields ENDPOINT_SYNC_STATUS = "endpoint_sync_status" SYNC_STATUS = "sync_status" ENDPOINT_TYPE = "endpoint_type" # Service group status SERVICE_GROUP_STATUS_ACTIVE = "active" # Availability fail count AVAIL_FAIL_COUNT_TO_ALARM = 2 AVAIL_FAIL_COUNT_MAX = 9999 # Software update type SW_UPDATE_TYPE_PATCH = "patch" SW_UPDATE_TYPE_UPGRADE = "upgrade" # Software update states SW_UPDATE_STATE_INITIAL = "initial" SW_UPDATE_STATE_APPLYING = "applying" SW_UPDATE_STATE_ABORT_REQUESTED = "abort requested" SW_UPDATE_STATE_ABORTING = "aborting" SW_UPDATE_STATE_COMPLETE = "complete" SW_UPDATE_STATE_ABORTED = "aborted" SW_UPDATE_STATE_FAILED = "failed" SW_UPDATE_STATE_DELETING = "deleting" SW_UPDATE_STATE_DELETED = "deleted" # Software update actions SW_UPDATE_ACTION_APPLY = "apply" SW_UPDATE_ACTION_ABORT = "abort" # Subcloud apply types SUBCLOUD_APPLY_TYPE_PARALLEL = "parallel" SUBCLOUD_APPLY_TYPE_SERIAL = "serial" # Strategy step states STRATEGY_STATE_INITIAL = "initial" STRATEGY_STATE_UPDATING_PATCHES = "updating patches" STRATEGY_STATE_CREATING_STRATEGY = "creating strategy" STRATEGY_STATE_APPLYING_STRATEGY = "applying strategy" STRATEGY_STATE_FINISHING = "finishing" STRATEGY_STATE_COMPLETE = "complete" STRATEGY_STATE_ABORTED = "aborted" STRATEGY_STATE_FAILED = "failed" SW_UPDATE_DEFAULT_TITLE = "all clouds default"
rpc_api_version = '1.0' topic_dc_manager = 'dcmanager' patch_vault_dir = '/opt/patch-vault' system_controller_name = 'SystemController' default_region_name = 'RegionOne' management_unmanaged = 'unmanaged' management_managed = 'managed' availability_offline = 'offline' availability_online = 'online' sync_status_unknown = 'unknown' sync_status_in_sync = 'in-sync' sync_status_out_of_sync = 'out-of-sync' endpoint_sync_status = 'endpoint_sync_status' sync_status = 'sync_status' endpoint_type = 'endpoint_type' service_group_status_active = 'active' avail_fail_count_to_alarm = 2 avail_fail_count_max = 9999 sw_update_type_patch = 'patch' sw_update_type_upgrade = 'upgrade' sw_update_state_initial = 'initial' sw_update_state_applying = 'applying' sw_update_state_abort_requested = 'abort requested' sw_update_state_aborting = 'aborting' sw_update_state_complete = 'complete' sw_update_state_aborted = 'aborted' sw_update_state_failed = 'failed' sw_update_state_deleting = 'deleting' sw_update_state_deleted = 'deleted' sw_update_action_apply = 'apply' sw_update_action_abort = 'abort' subcloud_apply_type_parallel = 'parallel' subcloud_apply_type_serial = 'serial' strategy_state_initial = 'initial' strategy_state_updating_patches = 'updating patches' strategy_state_creating_strategy = 'creating strategy' strategy_state_applying_strategy = 'applying strategy' strategy_state_finishing = 'finishing' strategy_state_complete = 'complete' strategy_state_aborted = 'aborted' strategy_state_failed = 'failed' sw_update_default_title = 'all clouds default'
# Licensed under a 3-clause BSD style license - see LICENSE.rst # -*- coding: utf-8 -*- def get_package_data(): # pragma: no cover return { str(_PACKAGE_NAME_ + '.tags.core.tests'): ['data/*.yaml']}
def get_package_data(): return {str(_PACKAGE_NAME_ + '.tags.core.tests'): ['data/*.yaml']}
t = ( 10, 11, 12, 34, 99, 4, 98) print (t[0]) t1 = (1, 1, 1, 2, 3, 4, 65, 65, 3, 2) #tuple with single element print (t1.count(1)) print (t1.index(65))
t = (10, 11, 12, 34, 99, 4, 98) print(t[0]) t1 = (1, 1, 1, 2, 3, 4, 65, 65, 3, 2) print(t1.count(1)) print(t1.index(65))
connChoices=( {'name':'automatic', 'rate':{'min':0, 'max':5000, 'def': 0}, 'conn':{'min':0, 'max':100, 'def': 0}, 'automatic':1}, {'name':'unlimited', 'rate':{'min':0, 'max':5000, 'def': 0, 'div': 50}, 'conn':{'min':4, 'max':100, 'def': 4}}, {'name':'dialup/isdn', 'rate':{'min':3, 'max': 8, 'def': 5}, 'conn':{'min':2, 'max': 3, 'def': 2}, 'initiate': 12}, {'name':'dsl/cable slow', 'rate':{'min':10, 'max': 48, 'def': 13}, 'conn':{'min':4, 'max': 20, 'def': 4}}, {'name':'dsl/cable fast', 'rate':{'min':20, 'max': 100, 'def': 40}, 'conn':{'min':4, 'max': 30, 'def': 6}}, {'name':'T1', 'rate':{'min':100, 'max': 300, 'def':150}, 'conn':{'min':4, 'max': 40, 'def':10}}, {'name':'T3+', 'rate':{'min':400, 'max':2000, 'def':500}, 'conn':{'min':4, 'max':100, 'def':20}}, {'name':'seeder', 'rate':{'min':0, 'max':5000, 'def':0, 'div': 50}, 'conn':{'min':1, 'max':100, 'def':1}}, {'name':'SUPER-SEED', 'super-seed':1} ) connChoiceList = map(lambda x:x['name'], connChoices)
conn_choices = ({'name': 'automatic', 'rate': {'min': 0, 'max': 5000, 'def': 0}, 'conn': {'min': 0, 'max': 100, 'def': 0}, 'automatic': 1}, {'name': 'unlimited', 'rate': {'min': 0, 'max': 5000, 'def': 0, 'div': 50}, 'conn': {'min': 4, 'max': 100, 'def': 4}}, {'name': 'dialup/isdn', 'rate': {'min': 3, 'max': 8, 'def': 5}, 'conn': {'min': 2, 'max': 3, 'def': 2}, 'initiate': 12}, {'name': 'dsl/cable slow', 'rate': {'min': 10, 'max': 48, 'def': 13}, 'conn': {'min': 4, 'max': 20, 'def': 4}}, {'name': 'dsl/cable fast', 'rate': {'min': 20, 'max': 100, 'def': 40}, 'conn': {'min': 4, 'max': 30, 'def': 6}}, {'name': 'T1', 'rate': {'min': 100, 'max': 300, 'def': 150}, 'conn': {'min': 4, 'max': 40, 'def': 10}}, {'name': 'T3+', 'rate': {'min': 400, 'max': 2000, 'def': 500}, 'conn': {'min': 4, 'max': 100, 'def': 20}}, {'name': 'seeder', 'rate': {'min': 0, 'max': 5000, 'def': 0, 'div': 50}, 'conn': {'min': 1, 'max': 100, 'def': 1}}, {'name': 'SUPER-SEED', 'super-seed': 1}) conn_choice_list = map(lambda x: x['name'], connChoices)
# "sb" pytest fixture test in a method with no class def test_sb_fixture_with_no_class(sb): sb.open("https://google.com/ncr") sb.type('input[title="Search"]', "SeleniumBase GitHub\n") sb.click('a[href*="github.com/seleniumbase/SeleniumBase"]') sb.click('a[title="seleniumbase"]') # "sb" pytest fixture test in a method inside a class class Test_SB_Fixture: def test_sb_fixture_inside_class(self, sb): sb.open("https://google.com/ncr") sb.type('input[title="Search"]', "SeleniumBase GitHub\n") sb.click('a[href*="github.com/seleniumbase/SeleniumBase"]') sb.click('a[title="examples"]')
def test_sb_fixture_with_no_class(sb): sb.open('https://google.com/ncr') sb.type('input[title="Search"]', 'SeleniumBase GitHub\n') sb.click('a[href*="github.com/seleniumbase/SeleniumBase"]') sb.click('a[title="seleniumbase"]') class Test_Sb_Fixture: def test_sb_fixture_inside_class(self, sb): sb.open('https://google.com/ncr') sb.type('input[title="Search"]', 'SeleniumBase GitHub\n') sb.click('a[href*="github.com/seleniumbase/SeleniumBase"]') sb.click('a[title="examples"]')
template = ' <!DOCTYPE html> \ <html lang="en"> \ <head> \ <title>AssiStudy</title> \ <meta charset="UTF-8"> \ <meta name="viewport" co ntent="width=device-width, initial-scale=1"> \ <!--===============================================================================================--> \ <link rel="icon" type="image/png" href="/static/images/icons/favicon.ico"/> \ <!--===============================================================================================--> \ <link rel="stylesheet" type="text/css" href="/static/vendor/bootstrap/css/bootstrap.min.css"> \ <!--===============================================================================================--> \ <link rel="stylesheet" type="text/css" href="/static/fonts/font-awesome-4.7.0/css/font-awesome.min.css"> \ <!--===============================================================================================--> \ <link rel="stylesheet" type="text/css" href="/static/vendor/animate/animate.css"> \ <!--===============================================================================================--> \ <link rel="stylesheet" type="text/css" href="/static/vendor/css-hamburgers/hamburgers.min.css"> \ <!--===============================================================================================--> \ <link rel="stylesheet" type="text/css" href="/static/vendor/animsition/css/animsition.min.css"> \ <!--===============================================================================================--> \ <link rel="stylesheet" type="text/css" href="/static/vendor/select2/select2.min.css"> \ <!--===============================================================================================--> \ <link rel="stylesheet" type="text/css" href="/static/vendor/daterangepicker/daterangepicker.css"> \ <!--===============================================================================================--> \ <link rel="stylesheet" type="text/css" href="/static/css/util.css"> \ <link rel="stylesheet" type="text/css" href="/static/css/main.css"> \ <!--===============================================================================================--> \ </head> \ <body> \ <div class="container-contact100"> \ <div class="wrap-contact100"> \ <div class="wrap-input100 validate-input" data-validate = "abstract is required"> \ <span class="label-input100">{}</span> \ <textarea class="input100" name="message" id="abstract" placeholder="Your abstract here..."></textarea> \ <span class="focus-input100"></span> \ </div> \ </div> \ </div> \ <div id="dropDownSelect1"></div> \ <!--===============================================================================================--> \ <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> \ <script src="/static/vendor/jquery/jquery-3.2.1.min.js"></script> \ <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> \ <!--===============================================================================================--> \ <script src="/static/vendor/animsition/js/animsition.min.js"></script> \ <!--===============================================================================================--> \ <script src="/static/vendor/bootstrap/js/popper.js"></script> \ <script src="/static/vendor/bootstrap/js/bootstrap.min.js"></script> \ <!--===============================================================================================--> \ <script src="/static/vendor/select2/select2.min.js"></script> \ <script> \ $(".selection-2").select2({ \ minimumResultsForSearch: 20, \ dropdownParent: $("#dropDownSelect1") \ }); \ </script> \ <!--===============================================================================================--> \ <script src="/static/vendor/daterangepicker/moment.min.js"></script> \ <script src="/static/vendor/daterangepicker/daterangepicker.js"></script> \ <!--===============================================================================================--> \ <script src="/static/vendor/countdowntime/countdowntime.js"></script> \ <!-- <script src="js/main.js"></script> --> \ <!--===============================================================================================--> \ </body> \ </html> '.format("wowowowowowo")
template = ' <!DOCTYPE html> <html lang="en"> <head> \t<title>AssiStudy</title> \t<meta charset="UTF-8"> \t<meta name="viewport" co ntent="width=device-width, initial-scale=1"> <!--===============================================================================================--> \t<link rel="icon" type="image/png" href="/static/images/icons/favicon.ico"/> <!--===============================================================================================--> \t<link rel="stylesheet" type="text/css" href="/static/vendor/bootstrap/css/bootstrap.min.css"> <!--===============================================================================================--> \t<link rel="stylesheet" type="text/css" href="/static/fonts/font-awesome-4.7.0/css/font-awesome.min.css"> <!--===============================================================================================--> \t<link rel="stylesheet" type="text/css" href="/static/vendor/animate/animate.css"> <!--===============================================================================================--> \t<link rel="stylesheet" type="text/css" href="/static/vendor/css-hamburgers/hamburgers.min.css"> <!--===============================================================================================--> \t<link rel="stylesheet" type="text/css" href="/static/vendor/animsition/css/animsition.min.css"> <!--===============================================================================================--> \t<link rel="stylesheet" type="text/css" href="/static/vendor/select2/select2.min.css"> <!--===============================================================================================--> \t<link rel="stylesheet" type="text/css" href="/static/vendor/daterangepicker/daterangepicker.css"> <!--===============================================================================================--> \t<link rel="stylesheet" type="text/css" href="/static/css/util.css"> \t<link rel="stylesheet" type="text/css" href="/static/css/main.css"> <!--===============================================================================================--> </head> <body> \t<div class="container-contact100"> \t\t<div class="wrap-contact100"> \t\t\t<div class="wrap-input100 validate-input" data-validate = "abstract is required"> \t\t\t\t\t<span class="label-input100">{}</span> \t\t\t\t\t<textarea class="input100" name="message" id="abstract" placeholder="Your abstract here..."></textarea> \t\t\t\t\t<span class="focus-input100"></span> \t\t\t</div> \t\t</div> \t</div> \t<div id="dropDownSelect1"></div> <!--===============================================================================================--> \t<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> \t<script src="/static/vendor/jquery/jquery-3.2.1.min.js"></script> \t<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> <!--===============================================================================================--> \t<script src="/static/vendor/animsition/js/animsition.min.js"></script> <!--===============================================================================================--> \t<script src="/static/vendor/bootstrap/js/popper.js"></script> \t<script src="/static/vendor/bootstrap/js/bootstrap.min.js"></script> <!--===============================================================================================--> \t<script src="/static/vendor/select2/select2.min.js"></script> \t<script> \t\t$(".selection-2").select2({ \t\t\tminimumResultsForSearch: 20, \t\t\tdropdownParent: $("#dropDownSelect1") \t\t}); \t</script> <!--===============================================================================================--> \t<script src="/static/vendor/daterangepicker/moment.min.js"></script> \t<script src="/static/vendor/daterangepicker/daterangepicker.js"></script> <!--===============================================================================================--> \t<script src="/static/vendor/countdowntime/countdowntime.js"></script> <!--\t<script src="js/main.js"></script> --> <!--===============================================================================================--> </body> </html> '.format('wowowowowowo')
class Config: # dataset related exemplar_size = 127 # exemplar size instance_size = 255 # instance size context_amount = 0.5 # context amount # training related num_per_epoch = 53200 # num of samples per epoch train_ratio = 0.9 # training ratio of VID dataset frame_range = 100 # frame range of choosing the instance train_batch_size = 8 # training batch size valid_batch_size = 8 # validation batch size train_num_workers = 8 # number of workers of train dataloader valid_num_workers = 8 # number of workers of validation dataloader lr = 1e-2 # learning rate of SGD momentum = 0.0 # momentum of SGD weight_decay = 0.0 # weight decay of optimizator step_size = 25 # step size of LR_Schedular gamma = 0.1 # decay rate of LR_Schedular epoch = 30 # total epoch seed = 1234 # seed to sample training videos log_dir = './models/logs' # log dirs radius = 16 # radius of positive label response_scale = 1e-3 # normalize of response max_translate = 3 # max translation of random shift # tracking related scale_step = 1.0375 # scale step of instance image num_scale = 3 # number of scales scale_lr = 0.59 # scale learning rate response_up_stride = 16 # response upsample stride response_sz = 17 # response size train_response_sz = 15 # train response size window_influence = 0.176 # window influence scale_penalty = 0.9745 # scale penalty total_stride = 8 # total stride of backbone sample_type = 'uniform' gray_ratio = 0.25 blur_ratio = 0.15 config = Config()
class Config: exemplar_size = 127 instance_size = 255 context_amount = 0.5 num_per_epoch = 53200 train_ratio = 0.9 frame_range = 100 train_batch_size = 8 valid_batch_size = 8 train_num_workers = 8 valid_num_workers = 8 lr = 0.01 momentum = 0.0 weight_decay = 0.0 step_size = 25 gamma = 0.1 epoch = 30 seed = 1234 log_dir = './models/logs' radius = 16 response_scale = 0.001 max_translate = 3 scale_step = 1.0375 num_scale = 3 scale_lr = 0.59 response_up_stride = 16 response_sz = 17 train_response_sz = 15 window_influence = 0.176 scale_penalty = 0.9745 total_stride = 8 sample_type = 'uniform' gray_ratio = 0.25 blur_ratio = 0.15 config = config()
__all__ = ('indent_string',) def indent_string(s, num_spaces): add_newline = False if s[-1] == '\n': add_newline = True s = s[:-1] s = '\n'.join(num_spaces * ' ' + line for line in s.split('\n')) if add_newline: s += '\n' return s
__all__ = ('indent_string',) def indent_string(s, num_spaces): add_newline = False if s[-1] == '\n': add_newline = True s = s[:-1] s = '\n'.join((num_spaces * ' ' + line for line in s.split('\n'))) if add_newline: s += '\n' return s
# model settings model = dict( type='MAE', backbone=dict( type='MAEViT', arch='small', patch_size=16, mask_ratio=0.75), neck=dict( type='MAEPretrainDecoder', patch_size=16, in_chans=3, embed_dim=768, decoder_embed_dim=512, decoder_depth=6, # 3/4 * eocoder depth decoder_num_heads=16, mlp_ratio=4., ), head=dict(type='MAEPretrainHead', norm_pix=True, patch_size=16) )
model = dict(type='MAE', backbone=dict(type='MAEViT', arch='small', patch_size=16, mask_ratio=0.75), neck=dict(type='MAEPretrainDecoder', patch_size=16, in_chans=3, embed_dim=768, decoder_embed_dim=512, decoder_depth=6, decoder_num_heads=16, mlp_ratio=4.0), head=dict(type='MAEPretrainHead', norm_pix=True, patch_size=16))
expected_output = { "report_id":{ "1634211151":{ "metric_name":"ENTITLEMENT", "feature_name":"dna-advantage", "metric_value":"regid.2017-05.com.cisco.c9300_dna_advantage,1.0_411773c3-2116-4c10-94a4-5d357fe6ff18", "udi":{ "pid":"C9300-24UX", "sn":"FCW2303D16Y" }, "previous_report_id":"0", "next_report_id":"1634211155", "state":"ACK", "state_change_reason":"ACKED", "start_time":"Oct 14 11:32:40 2021 UTC", "end_time":"Oct 14 11:32:48 2021 UTC", "storage_state":"DELETED", "transaction_id":"0", "transaction_message":"<none>" } } }
expected_output = {'report_id': {'1634211151': {'metric_name': 'ENTITLEMENT', 'feature_name': 'dna-advantage', 'metric_value': 'regid.2017-05.com.cisco.c9300_dna_advantage,1.0_411773c3-2116-4c10-94a4-5d357fe6ff18', 'udi': {'pid': 'C9300-24UX', 'sn': 'FCW2303D16Y'}, 'previous_report_id': '0', 'next_report_id': '1634211155', 'state': 'ACK', 'state_change_reason': 'ACKED', 'start_time': 'Oct 14 11:32:40 2021 UTC', 'end_time': 'Oct 14 11:32:48 2021 UTC', 'storage_state': 'DELETED', 'transaction_id': '0', 'transaction_message': '<none>'}}}
''' Encrypt and decrypt a string ''' def encrypt(s): return s.encode('hex') def decrypt(s): return s.decode('hex')
""" Encrypt and decrypt a string """ def encrypt(s): return s.encode('hex') def decrypt(s): return s.decode('hex')
# Defines number of epochs n_epochs = 200 losses = [] for epoch in range(n_epochs): # inner loop loss = mini_batch(device, train_loader, train_step) losses.append(loss)
n_epochs = 200 losses = [] for epoch in range(n_epochs): loss = mini_batch(device, train_loader, train_step) losses.append(loss)
#----------------------------------------------------------------------------- # Runtime: 32ms # Memory Usage: # Link: #----------------------------------------------------------------------------- class Solution: def canJump(self, nums: [int]) -> bool: max_right = 0 for i, num in enumerate(nums): if i > max_right: return False else: max_right = max(max_right, i + num) return True
class Solution: def can_jump(self, nums: [int]) -> bool: max_right = 0 for (i, num) in enumerate(nums): if i > max_right: return False else: max_right = max(max_right, i + num) return True
def floyd_warshall(start): d = [float("Inf") for i in range(n)] dist = [[graph[j][i] for i in range(n)] for j in range(n)] for k in range(n): for i in range(n): for j in range(n): dist[i][j] = min(dist[i][j], dist[j][k] + dist[k][j]) return dist if __name__ == "__main__": n, m = map(int, input().split()) graph = [[float("Inf") for i in range (n)] for j in range(n)] for i in range(n): graph[i][i] = 0 for i in range(m): u, v, c = map(int, input().split()) graph[u][v] = c # for line in floyd_warshall(0):
def floyd_warshall(start): d = [float('Inf') for i in range(n)] dist = [[graph[j][i] for i in range(n)] for j in range(n)] for k in range(n): for i in range(n): for j in range(n): dist[i][j] = min(dist[i][j], dist[j][k] + dist[k][j]) return dist if __name__ == '__main__': (n, m) = map(int, input().split()) graph = [[float('Inf') for i in range(n)] for j in range(n)] for i in range(n): graph[i][i] = 0 for i in range(m): (u, v, c) = map(int, input().split()) graph[u][v] = c
__revision__ = '$Id: __init__.py,v 1.2 2006/08/12 15:56:26 jkloth Exp $' __all__ = ['XmlFormatter', 'ApiFormatter', 'ExtensionFormatter', 'CommandLineFormatter', ]
__revision__ = '$Id: __init__.py,v 1.2 2006/08/12 15:56:26 jkloth Exp $' __all__ = ['XmlFormatter', 'ApiFormatter', 'ExtensionFormatter', 'CommandLineFormatter']
display = { 0: 'ABCEFG', 1: 'CF', 2: 'ACDEG', 3: 'ACDFG', 4: 'BCDF', 5: 'ABDFG', 6: 'ABDEFG', 7: 'ACF', 8: 'ABCDEFG', 9: 'ABCDFG' } solve_it = { 'a': 'C', 'b': 'F', 'c': 'G', 'd': 'A', 'e': 'B', 'f': 'D', 'g': 'E' } def part1(input_str: str) -> None: count = 0 for line in input_str.split('\n'): for output_num in line.split('|')[1].strip().split(' '): if len(output_num) in (2, 3, 4, 7): count += 1 print(f'Day 8 Part 1: Count: {count}') def part2(input_str: str) -> None: total = 0 line_num = 1 for line in input_str.split('\n'): io_parts = line.split('|') input_list = io_parts[0].strip().split(' ') output_list = io_parts[1].strip().split(' ') key_dict = decode_input(input_list) output_num = decode_output(output_list, key_dict) total += output_num print(f'Line {line_num}: {output_num}') line_num += 1 print(f'Day 8 Part 2: Total = {total}') def decode_input(input_list: list[str]) -> dict[str, str]: # display = { # 1: 'CF', # 7: 'ACF', # 4: 'BCDF', # 5: 'ABDFG', => ADG(BF) # 2: 'ACDEG', => ADG(CE) # 3: 'ACDFG', => ADG(CF) # 9: 'ABCDFG' # 0: 'ABCEFG', # 6: 'ABDEFG', # 8: 'ABCDEFG', # } # 'ab', 'abd', 'abef', 'bcdef', 'acdfg', 'abcdf', 'abcdef', 'bcdefg', 'abcdeg', 'abcdefg' # 1. # ab -> CF => (ab ~ CF) # abd -> ACF => d = 'A' # 2. # abef -> BCDF => (ef ~ BD) # cdf -> ADG => (cf ~ DG) # f = 'D', e = 'B', c = 'G' # 3. # bcdef -> (ABDG)b => b = 'F', a = 'C' # acdfg -> (ADG)ag => g = 'E' sorted_list = [''.join(sorted(list_num)) for list_num in sorted(input_list, key=len)] tmp_dict = {} solved_dict = {} for x in sorted_list: if len(x) in (2, 3, 4, 7): tmp_dict.update({len(x): x}) elif len(x) == 5: my_list = tmp_dict.get(5, []) my_list.append(x) tmp_dict.update({5: sorted(my_list)}) # 1. my_a = ''.join(set(tmp_dict.get(3))-set(tmp_dict.get(2))) solved_dict.update({'A': my_a}) # 2. four_and_two = set(tmp_dict.get(4)) - set(tmp_dict.get(2)) five_and_three = set.intersection(set(tmp_dict.get(5)[0]), set(tmp_dict.get(5)[1]), set(tmp_dict.get(5)[2])) five_and_two = copy_set(five_and_three) five_and_two.discard(solved_dict.get('A')) tmp_d = four_and_two.intersection(five_and_two) my_d = ''.join(tmp_d) tmp_b = copy_set(four_and_two) tmp_b.discard(my_d) my_b = ''.join(tmp_b) tmp_g = copy_set(five_and_two) tmp_g.discard(my_d) my_g = ''.join(tmp_g) solved_dict.update({'D': my_d}) solved_dict.update({'B': my_b}) solved_dict.update({'G': my_g}) # 3. for tmp_5 in tmp_dict.get(5): tmp_5_set = set(tmp_5) for v in solved_dict.values(): tmp_5_set.discard(v) if len(tmp_5_set) == 1: my_f = ''.join(tmp_5_set) solved_dict.update({'F': my_f}) tmp_2 = set(tmp_dict.get(2)) tmp_2.discard(my_f) my_c = ''.join(tmp_2) solved_dict.update({'C': my_c}) break # 4. tmp_7_set = set(tmp_dict.get(7)) for v in solved_dict.values(): tmp_7_set.discard(v) my_e = ''.join(tmp_7_set) solved_dict.update({'E': my_e}) print(sorted_list) print(solved_dict) return solved_dict def copy_set(my_set: set) -> set: return set([x for x in my_set]) def find_intersections(master_list: list[list[str]]) -> set[str]: result = [] for idx1 in range(0, len(master_list)): s1 = set(master_list[idx1]) for idx2 in range(0, len(master_list)): if idx2 == idx1: continue else: s2 = set(master_list[idx2]) s3 = s1.intersection(s2) result.extend(s3) return set(result) def decode_output(output_list: list[str], key_dict: dict[str, str]) -> int: my_key_dict = dict((v, k) for k, v in key_dict.items()) str_value = '' for output_num in output_list: decode = '' for char in sorted(output_num): decode += my_key_dict.get(char).upper() decode = ''.join(sorted(decode)) for k, v in display.items(): if v == decode: str_value += str(k) break return int(str_value) if __name__ == '__main__': with open('../../resources/2021/inputd8a.txt', 'r') as f: test_string = f.read() part1(test_string) part2(test_string) with open('../../resources/2021/inputd8.txt', 'r') as f: test_input = f.read() part1(test_input) part2(test_input)
display = {0: 'ABCEFG', 1: 'CF', 2: 'ACDEG', 3: 'ACDFG', 4: 'BCDF', 5: 'ABDFG', 6: 'ABDEFG', 7: 'ACF', 8: 'ABCDEFG', 9: 'ABCDFG'} solve_it = {'a': 'C', 'b': 'F', 'c': 'G', 'd': 'A', 'e': 'B', 'f': 'D', 'g': 'E'} def part1(input_str: str) -> None: count = 0 for line in input_str.split('\n'): for output_num in line.split('|')[1].strip().split(' '): if len(output_num) in (2, 3, 4, 7): count += 1 print(f'Day 8 Part 1: Count: {count}') def part2(input_str: str) -> None: total = 0 line_num = 1 for line in input_str.split('\n'): io_parts = line.split('|') input_list = io_parts[0].strip().split(' ') output_list = io_parts[1].strip().split(' ') key_dict = decode_input(input_list) output_num = decode_output(output_list, key_dict) total += output_num print(f'Line {line_num}: {output_num}') line_num += 1 print(f'Day 8 Part 2: Total = {total}') def decode_input(input_list: list[str]) -> dict[str, str]: sorted_list = [''.join(sorted(list_num)) for list_num in sorted(input_list, key=len)] tmp_dict = {} solved_dict = {} for x in sorted_list: if len(x) in (2, 3, 4, 7): tmp_dict.update({len(x): x}) elif len(x) == 5: my_list = tmp_dict.get(5, []) my_list.append(x) tmp_dict.update({5: sorted(my_list)}) my_a = ''.join(set(tmp_dict.get(3)) - set(tmp_dict.get(2))) solved_dict.update({'A': my_a}) four_and_two = set(tmp_dict.get(4)) - set(tmp_dict.get(2)) five_and_three = set.intersection(set(tmp_dict.get(5)[0]), set(tmp_dict.get(5)[1]), set(tmp_dict.get(5)[2])) five_and_two = copy_set(five_and_three) five_and_two.discard(solved_dict.get('A')) tmp_d = four_and_two.intersection(five_and_two) my_d = ''.join(tmp_d) tmp_b = copy_set(four_and_two) tmp_b.discard(my_d) my_b = ''.join(tmp_b) tmp_g = copy_set(five_and_two) tmp_g.discard(my_d) my_g = ''.join(tmp_g) solved_dict.update({'D': my_d}) solved_dict.update({'B': my_b}) solved_dict.update({'G': my_g}) for tmp_5 in tmp_dict.get(5): tmp_5_set = set(tmp_5) for v in solved_dict.values(): tmp_5_set.discard(v) if len(tmp_5_set) == 1: my_f = ''.join(tmp_5_set) solved_dict.update({'F': my_f}) tmp_2 = set(tmp_dict.get(2)) tmp_2.discard(my_f) my_c = ''.join(tmp_2) solved_dict.update({'C': my_c}) break tmp_7_set = set(tmp_dict.get(7)) for v in solved_dict.values(): tmp_7_set.discard(v) my_e = ''.join(tmp_7_set) solved_dict.update({'E': my_e}) print(sorted_list) print(solved_dict) return solved_dict def copy_set(my_set: set) -> set: return set([x for x in my_set]) def find_intersections(master_list: list[list[str]]) -> set[str]: result = [] for idx1 in range(0, len(master_list)): s1 = set(master_list[idx1]) for idx2 in range(0, len(master_list)): if idx2 == idx1: continue else: s2 = set(master_list[idx2]) s3 = s1.intersection(s2) result.extend(s3) return set(result) def decode_output(output_list: list[str], key_dict: dict[str, str]) -> int: my_key_dict = dict(((v, k) for (k, v) in key_dict.items())) str_value = '' for output_num in output_list: decode = '' for char in sorted(output_num): decode += my_key_dict.get(char).upper() decode = ''.join(sorted(decode)) for (k, v) in display.items(): if v == decode: str_value += str(k) break return int(str_value) if __name__ == '__main__': with open('../../resources/2021/inputd8a.txt', 'r') as f: test_string = f.read() part1(test_string) part2(test_string) with open('../../resources/2021/inputd8.txt', 'r') as f: test_input = f.read() part1(test_input) part2(test_input)
n = input("value of n\n") n = int(n) if n < 5: print("n is less than 5") elif n == 5: print("n is equal to 5") else: print("n is greater than 5")
n = input('value of n\n') n = int(n) if n < 5: print('n is less than 5') elif n == 5: print('n is equal to 5') else: print('n is greater than 5')
''' practice qusestion from chapter 1 Module 5 of IBM Digital Nation Courses by Aashik J Krishnan/Aash Gates ''' #testing variable x = 8 print(x) x = "seven" #assigning the Sring to variable x print(x) x = 6 #end of the Program
""" practice qusestion from chapter 1 Module 5 of IBM Digital Nation Courses by Aashik J Krishnan/Aash Gates """ x = 8 print(x) x = 'seven' print(x) x = 6