content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
def garterKnit(k,beg,end,length,c,side='l', knitsettings=[4,400,400], xfersettings=[2,0,300]): if side == 'l': start=1 else: start=2 length=length+1 for b in range(start,length+1): if b%2==1: k.stitchNumber(xfersettings[0]) k.rollerAdvance(xfersettings[1]) k.speedNumber(xfersettings[2]) for w in range(beg,end): k.xfer(('b',w),('f',w)) k.stitchNumber(knitsettings[0]) k.rollerAdvance(knitsettings[1]) k.speedNumber(knitsettings[2]) for w in range(beg,end): k.knit('+',('f',w),c) else: k.stitchNumber(xferSettings[0]) k.rollerAdvance(xferSettings[1]) k.speedNumber(xferSettings[2]) for w in range(end-1,beg-1,-1): k.xfer(('f',w),('b',w)) k.stitchNumber(knitsettings[0]) k.rollerAdvance(knitsettings[1]) k.speedNumber(knitsettings[2]) for w in range(end-1,beg-1,-1): k.knit('-',('b',w),c)
def garter_knit(k, beg, end, length, c, side='l', knitsettings=[4, 400, 400], xfersettings=[2, 0, 300]): if side == 'l': start = 1 else: start = 2 length = length + 1 for b in range(start, length + 1): if b % 2 == 1: k.stitchNumber(xfersettings[0]) k.rollerAdvance(xfersettings[1]) k.speedNumber(xfersettings[2]) for w in range(beg, end): k.xfer(('b', w), ('f', w)) k.stitchNumber(knitsettings[0]) k.rollerAdvance(knitsettings[1]) k.speedNumber(knitsettings[2]) for w in range(beg, end): k.knit('+', ('f', w), c) else: k.stitchNumber(xferSettings[0]) k.rollerAdvance(xferSettings[1]) k.speedNumber(xferSettings[2]) for w in range(end - 1, beg - 1, -1): k.xfer(('f', w), ('b', w)) k.stitchNumber(knitsettings[0]) k.rollerAdvance(knitsettings[1]) k.speedNumber(knitsettings[2]) for w in range(end - 1, beg - 1, -1): k.knit('-', ('b', w), c)
# Disable while we have Python 2.x compatability # pylint: disable=useless-object-inheritance """This module contains classes and functionality relating to Sonos Groups.""" class ZoneGroup: """ A class representing a Sonos Group. It looks like this:: ZoneGroup( uid='RINCON_000FD584236D01400:58', coordinator=SoCo("192.168.1.101"), members={SoCo("192.168.1.101"), SoCo("192.168.1.102")} ) Any SoCo instance can tell you what group it is in:: >>> device = soco.discovery.any_soco() >>> device.group ZoneGroup( uid='RINCON_000FD584236D01400:58', coordinator=SoCo("192.168.1.101"), members={SoCo("192.168.1.101"), SoCo("192.168.1.102")} ) From there, you can find the coordinator for the current group:: >>> device.group.coordinator SoCo("192.168.1.101") or, for example, its name:: >>> device.group.coordinator.player_name Kitchen or a set of the members:: >>> device.group.members {SoCo("192.168.1.101"), SoCo("192.168.1.102")} For convenience, ZoneGroup is also a container:: >>> for player in device.group: ... print player.player_name Living Room Kitchen If you need it, you can get an iterator over all groups on the network:: >>> device.all_groups <generator object all_groups at 0x108cf0c30> A consistent readable label for the group members can be returned with the `label` and `short_label` properties. Properties are available to get and set the group `volume` and the group `mute` state, and the `set_relative_volume()` method can be used to make relative adjustments to the group volume, e.g.: >>> device.group.volume = 25 >>> device.group.volume 25 >>> device.group.set_relative_volume(-10) 15 >>> device.group.mute >>> False >>> device.group.mute = True >>> device.group.mute True """ def __init__(self, uid, coordinator, members=None): """ Args: uid (str): The unique Sonos ID for this group, eg ``RINCON_000FD584236D01400:5``. coordinator (SoCo): The SoCo instance representing the coordinator of this group. members (Iterable[SoCo]): An iterable containing SoCo instances which represent the members of this group. """ #: The unique Sonos ID for this group self.uid = uid #: The `SoCo` instance which coordinates this group self.coordinator = coordinator if members is not None: #: A set of `SoCo` instances which are members of the group self.members = set(members) else: self.members = set() def __iter__(self): return self.members.__iter__() def __contains__(self, member): return member in self.members def __repr__(self): return "{}(uid='{}', coordinator={!r}, members={!r})".format( self.__class__.__name__, self.uid, self.coordinator, self.members ) @property def label(self): """str: A description of the group. >>> device.group.label 'Kitchen, Living Room' """ group_names = sorted([m.player_name for m in self.members]) return ", ".join(group_names) @property def short_label(self): """str: A short description of the group. >>> device.group.short_label 'Kitchen + 1' """ group_names = sorted([m.player_name for m in self.members]) group_label = group_names[0] if len(group_names) > 1: group_label += " + {}".format(len(group_names) - 1) return group_label @property def volume(self): """int: The volume of the group. An integer between 0 and 100. """ response = self.coordinator.groupRenderingControl.GetGroupVolume( [("InstanceID", 0)] ) return int(response["CurrentVolume"]) @volume.setter def volume(self, group_volume): group_volume = int(group_volume) group_volume = max(0, min(group_volume, 100)) # Coerce in range self.coordinator.groupRenderingControl.SetGroupVolume( [("InstanceID", 0), ("DesiredVolume", group_volume)] ) @property def mute(self): """bool: The mute state for the group. True or False. """ response = self.coordinator.groupRenderingControl.GetGroupMute( [("InstanceID", 0)] ) mute_state = response["CurrentMute"] return bool(int(mute_state)) @mute.setter def mute(self, group_mute): mute_value = "1" if group_mute else "0" self.coordinator.groupRenderingControl.SetGroupMute( [("InstanceID", 0), ("DesiredMute", mute_value)] ) def set_relative_volume(self, relative_group_volume): """Adjust the group volume up or down by a relative amount. If the adjustment causes the volume to overshoot the maximum value of 100, the volume will be set to 100. If the adjustment causes the volume to undershoot the minimum value of 0, the volume will be set to 0. Note that this method is an alternative to using addition and subtraction assignment operators (+=, -=) on the `volume` property of a `ZoneGroup` instance. These operators perform the same function as `set_relative_volume()` but require two network calls per operation instead of one. Args: relative_group_volume (int): The relative volume adjustment. Can be positive or negative. Returns: int: The new group volume setting. Raises: ValueError: If ``relative_group_volume`` cannot be cast as an integer. """ relative_group_volume = int(relative_group_volume) # Sonos automatically handles out-of-range values. resp = self.coordinator.groupRenderingControl.SetRelativeGroupVolume( [("InstanceID", 0), ("Adjustment", relative_group_volume)] ) return int(resp["NewVolume"])
"""This module contains classes and functionality relating to Sonos Groups.""" class Zonegroup: """ A class representing a Sonos Group. It looks like this:: ZoneGroup( uid='RINCON_000FD584236D01400:58', coordinator=SoCo("192.168.1.101"), members={SoCo("192.168.1.101"), SoCo("192.168.1.102")} ) Any SoCo instance can tell you what group it is in:: >>> device = soco.discovery.any_soco() >>> device.group ZoneGroup( uid='RINCON_000FD584236D01400:58', coordinator=SoCo("192.168.1.101"), members={SoCo("192.168.1.101"), SoCo("192.168.1.102")} ) From there, you can find the coordinator for the current group:: >>> device.group.coordinator SoCo("192.168.1.101") or, for example, its name:: >>> device.group.coordinator.player_name Kitchen or a set of the members:: >>> device.group.members {SoCo("192.168.1.101"), SoCo("192.168.1.102")} For convenience, ZoneGroup is also a container:: >>> for player in device.group: ... print player.player_name Living Room Kitchen If you need it, you can get an iterator over all groups on the network:: >>> device.all_groups <generator object all_groups at 0x108cf0c30> A consistent readable label for the group members can be returned with the `label` and `short_label` properties. Properties are available to get and set the group `volume` and the group `mute` state, and the `set_relative_volume()` method can be used to make relative adjustments to the group volume, e.g.: >>> device.group.volume = 25 >>> device.group.volume 25 >>> device.group.set_relative_volume(-10) 15 >>> device.group.mute >>> False >>> device.group.mute = True >>> device.group.mute True """ def __init__(self, uid, coordinator, members=None): """ Args: uid (str): The unique Sonos ID for this group, eg ``RINCON_000FD584236D01400:5``. coordinator (SoCo): The SoCo instance representing the coordinator of this group. members (Iterable[SoCo]): An iterable containing SoCo instances which represent the members of this group. """ self.uid = uid self.coordinator = coordinator if members is not None: self.members = set(members) else: self.members = set() def __iter__(self): return self.members.__iter__() def __contains__(self, member): return member in self.members def __repr__(self): return "{}(uid='{}', coordinator={!r}, members={!r})".format(self.__class__.__name__, self.uid, self.coordinator, self.members) @property def label(self): """str: A description of the group. >>> device.group.label 'Kitchen, Living Room' """ group_names = sorted([m.player_name for m in self.members]) return ', '.join(group_names) @property def short_label(self): """str: A short description of the group. >>> device.group.short_label 'Kitchen + 1' """ group_names = sorted([m.player_name for m in self.members]) group_label = group_names[0] if len(group_names) > 1: group_label += ' + {}'.format(len(group_names) - 1) return group_label @property def volume(self): """int: The volume of the group. An integer between 0 and 100. """ response = self.coordinator.groupRenderingControl.GetGroupVolume([('InstanceID', 0)]) return int(response['CurrentVolume']) @volume.setter def volume(self, group_volume): group_volume = int(group_volume) group_volume = max(0, min(group_volume, 100)) self.coordinator.groupRenderingControl.SetGroupVolume([('InstanceID', 0), ('DesiredVolume', group_volume)]) @property def mute(self): """bool: The mute state for the group. True or False. """ response = self.coordinator.groupRenderingControl.GetGroupMute([('InstanceID', 0)]) mute_state = response['CurrentMute'] return bool(int(mute_state)) @mute.setter def mute(self, group_mute): mute_value = '1' if group_mute else '0' self.coordinator.groupRenderingControl.SetGroupMute([('InstanceID', 0), ('DesiredMute', mute_value)]) def set_relative_volume(self, relative_group_volume): """Adjust the group volume up or down by a relative amount. If the adjustment causes the volume to overshoot the maximum value of 100, the volume will be set to 100. If the adjustment causes the volume to undershoot the minimum value of 0, the volume will be set to 0. Note that this method is an alternative to using addition and subtraction assignment operators (+=, -=) on the `volume` property of a `ZoneGroup` instance. These operators perform the same function as `set_relative_volume()` but require two network calls per operation instead of one. Args: relative_group_volume (int): The relative volume adjustment. Can be positive or negative. Returns: int: The new group volume setting. Raises: ValueError: If ``relative_group_volume`` cannot be cast as an integer. """ relative_group_volume = int(relative_group_volume) resp = self.coordinator.groupRenderingControl.SetRelativeGroupVolume([('InstanceID', 0), ('Adjustment', relative_group_volume)]) return int(resp['NewVolume'])
def resolve(): ''' code here ''' N, M, Q = [int(item) for item in input().split()] a_list = [[int(item) for item in input().split()] for _ in range(Q)] res = 0 for item in comb: temp_res = 0 print(item) for j in a_list: a = j[0]-1 b = j[1]-1 c = j[2] d = j[3] if item[b] -item[a] == c: temp_res += d print(item[b] , item[a]) print(b,a) print(c,d, '---') res = max(res, temp_res) print(res) if __name__ == "__main__": resolve()
def resolve(): """ code here """ (n, m, q) = [int(item) for item in input().split()] a_list = [[int(item) for item in input().split()] for _ in range(Q)] res = 0 for item in comb: temp_res = 0 print(item) for j in a_list: a = j[0] - 1 b = j[1] - 1 c = j[2] d = j[3] if item[b] - item[a] == c: temp_res += d print(item[b], item[a]) print(b, a) print(c, d, '---') res = max(res, temp_res) print(res) if __name__ == '__main__': resolve()
## @file GenXmlFile.py # # This file contained the logical of generate XML files. # # Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> # # SPDX-License-Identifier: BSD-2-Clause-Patent # ''' GenXmlFile '''
""" GenXmlFile """
# # PySNMP MIB module RBTWS-TRAP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RBTWS-TRAP-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:53:51 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint") RbtwsApFingerprint, RbtwsRadioConfigState, RbtwsApConnectSecurityType, RbtwsChannelChangeType, RbtwsApNum, RbtwsApServiceAvailability, RbtwsRadioType, RbtwsApSerialNum, RbtwsApAttachType, RbtwsApFailDetail, RbtwsRadioMimoState, RbtwsRadioChannelWidth, RbtwsRadioMode, RbtwsRadioNum, RbtwsPowerLevel, RbtwsCryptoType, RbtwsApWasOperational, RbtwsRadioPowerChangeType, RbtwsAccessType, RbtwsApTransition, RbtwsApPortOrDapNum = mibBuilder.importSymbols("RBTWS-AP-TC", "RbtwsApFingerprint", "RbtwsRadioConfigState", "RbtwsApConnectSecurityType", "RbtwsChannelChangeType", "RbtwsApNum", "RbtwsApServiceAvailability", "RbtwsRadioType", "RbtwsApSerialNum", "RbtwsApAttachType", "RbtwsApFailDetail", "RbtwsRadioMimoState", "RbtwsRadioChannelWidth", "RbtwsRadioMode", "RbtwsRadioNum", "RbtwsPowerLevel", "RbtwsCryptoType", "RbtwsApWasOperational", "RbtwsRadioPowerChangeType", "RbtwsAccessType", "RbtwsApTransition", "RbtwsApPortOrDapNum") RbtwsClientAuthenProtocolType, RbtwsClientSessionState, RbtwsClientDot1xState, RbtwsClientAccessMode, RbtwsUserAccessType = mibBuilder.importSymbols("RBTWS-CLIENT-SESSION-TC", "RbtwsClientAuthenProtocolType", "RbtwsClientSessionState", "RbtwsClientDot1xState", "RbtwsClientAccessMode", "RbtwsUserAccessType") RbtwsRFDetectClassificationReason, = mibBuilder.importSymbols("RBTWS-RF-DETECT-TC", "RbtwsRFDetectClassificationReason") rbtwsTraps, rbtwsMibs, rbtwsTemporary = mibBuilder.importSymbols("RBTWS-ROOT-MIB", "rbtwsTraps", "rbtwsMibs", "rbtwsTemporary") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Integer32, Unsigned32, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, iso, NotificationType, Counter32, ObjectIdentity, IpAddress, MibIdentifier, ModuleIdentity, Gauge32, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "Unsigned32", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "iso", "NotificationType", "Counter32", "ObjectIdentity", "IpAddress", "MibIdentifier", "ModuleIdentity", "Gauge32", "Counter64") TextualConvention, DisplayString, MacAddress = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "MacAddress") rbtwsTrapMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 4, 1)) rbtwsTrapMib.setRevisions(('2008-05-15 02:15', '2008-05-07 02:12', '2008-04-22 02:02', '2008-04-10 02:01', '2008-04-08 01:58', '2008-02-18 01:57', '2007-12-03 01:53', '2007-11-15 01:52', '2007-11-01 01:45', '2007-10-01 01:41', '2007-08-31 01:40', '2007-08-24 01:22', '2007-07-06 01:10', '2007-06-05 01:07', '2007-05-17 01:06', '2007-05-04 01:03', '2007-04-19 01:00', '2007-03-27 00:54', '2007-02-15 00:53', '2007-01-09 00:52', '2007-01-09 00:51', '2007-01-09 00:50', '2006-09-28 00:45', '2006-08-08 00:42', '2006-07-31 00:40', '2006-07-28 00:32', '2006-07-23 00:29', '2006-07-12 00:28', '2006-07-07 00:26', '2006-07-07 00:25', '2006-07-06 00:23', '2006-04-19 00:22', '2006-04-19 00:21', '2005-01-01 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: rbtwsTrapMib.setRevisionsDescriptions(('v3.8.5: Clarified description to reflect the actual use and avoid future misuse of rbtwsDeviceSerNum. Updated description for rbtwsApName. Documented the meaning of RbtwsClientIpAddrChangeReason enumeration values. This will be published in 7.0 release.', 'v3.8.2: Added new trap: rbtwsClusterFailureTrap, related TC and objects: RbtwsClusterFailureReason, rbtwsClusterFailureReason, rbtwsClusterFailureDescription (for 7.0 release)', 'v3.7.2: Added new traps: rbtwsRFDetectRogueDeviceTrap2, rbtwsRFDetectSuspectDeviceTrap2 and related objects: rbtwsRFDetectXmtrRadioType, rbtwsRFDetectXmtrCryptoType. Obsoleted rbtwsRFDetectRogueDeviceTrap, rbtwsRFDetectSuspectDeviceTrap. (for 7.0 release)', 'v3.7.1: Added new trap: rbtwsClientAuthorizationSuccessTrap4, and related object: rbtwsClientRadioType. Obsoletes rbtwsClientAuthorizationSuccessTrap, rbtwsClientAuthorizationSuccessTrap2, rbtwsClientAuthorizationSuccessTrap3. (for 7.0 release)', 'v3.6.8: Obsoleted two traps: rbtwsRFDetectSpoofedMacAPTrap, rbtwsRFDetectSpoofedSsidAPTrap. (for 7.0 release)', 'v3.6.7: Redesigned the AP Operational - Radio Status trap to support 11n-capable APs. Added varbindings: rbtwsRadioChannelWidth, rbtwsRadioMimoState. The new trap is rbtwsApOperRadioStatusTrap3. (for 7.0 release)', 'v3.6.3: Obsoleted one object: rbtwsApPortOrDapNum (previously deprecated). This will be published in 7.0 release.', 'v3.6.2: Added three new traps: rbtwsApManagerChangeTrap, rbtwsClientClearedTrap2, rbtwsMobilityDomainResiliencyStatusTrap, related TCs and objects: RbtwsApMgrChangeReason, rbtwsApMgrChangeReason, rbtwsApMgrOldIp, rbtwsApMgrNewIp, rbtwsClientSessionElapsedSeconds, RbtwsClientClearedReason, rbtwsClientClearedReason, RbtwsMobilityDomainResiliencyStatus, rbtwsMobilityDomainResiliencyStatus. Obsoleted one trap: rbtwsClientClearedTrap, and related object: rbtwsClientSessionElapsedTime. (for 7.0 release)', 'v3.5.5: Added new trap: rbtwsClientAuthorizationSuccessTrap3, related TC and objects: RbtwsClientAuthorizationReason rbtwsClientAuthorizationReason, rbtwsClientAccessMode, rbtwsPhysPortNum. Obsoletes rbtwsClientAuthorizationSuccessTrap, rbtwsClientAuthorizationSuccessTrap2. (for 6.2 release)', 'v3.5.1: Cleaned up object (rbtwsAPAccessType). Marked it as obsolete, because instrumentation code for traps using it was removed long time ago. (This will be published in 6.2 release.)', "v3.5.0: Corrected rbtwsClientMACAddress2 SYNTAX: its value was always a MacAddress, not an arbitrary 'OCTET STRING (SIZE (6))'. There is no change on the wire, just a more appropriate DISPLAY-HINT.", 'v3.3.2: Added new trap: rbtwsMichaelMICFailure, related TC and object: RbtwsMichaelMICFailureCause, rbtwsMichaelMICFailureCause. Obsoletes rbtwsMpMichaelMICFailure, rbtwsMpMichaelMICFailure2. (for 6.2 release)', 'v3.2.0: Redesigned the AP Status traps. - Replaced rbtwsApAttachType and rbtwsApPortOrDapNum with a single varbinding, rbtwsApNum. - Added varbinding rbtwsRadioMode to the AP Operational - Radio Status trap. The new traps are rbtwsApNonOperStatusTrap2, rbtwsApOperRadioStatusTrap2. (for 6.2 release)', 'v3.1.2: Obsoleted one trap: rbtwsRFDetectUnAuthorizedAPTrap (for 6.2 release)', 'v3.1.1: Added new trap: rbtwsConfigurationSavedTrap and related objects: rbtwsConfigSaveFileName, rbtwsConfigSaveInitiatorType, rbtwsConfigSaveInitiatorIp, rbtwsConfigSaveInitiatorDetails, rbtwsConfigSaveGeneration. (for 6.2 release)', 'v3.0.1: added one value (3) to RbtwsClientIpAddrChangeReason', 'v3.0.0: Added six new traps: rbtwsRFDetectRogueDeviceTrap, rbtwsRFDetectRogueDeviceDisappearTrap, rbtwsRFDetectSuspectDeviceTrap, rbtwsRFDetectSuspectDeviceDisappearTrap, rbtwsRFDetectClientViaRogueWiredAPTrap3, rbtwsRFDetectClassificationChangeTrap and related object: rbtwsRFDetectClassificationReason. Obsoleted seven traps: rbtwsRFDetectRogueAPTrap, rbtwsRFDetectRogueDisappearTrap, rbtwsRFDetectInterferingRogueAPTrap, rbtwsRFDetectInterferingRogueDisappearTrap, rbtwsRFDetectUnAuthorizedSsidTrap, rbtwsRFDetectUnAuthorizedOuiTrap, rbtwsRFDetectClientViaRogueWiredAPTrap2. (for 6.2 release)', 'v2.9.2: added three values (13, 14, 15) to RbtwsAuthorizationFailureType (for 6.2 release)', 'v2.9.1: Cleaned up trap (rbtwsClientAuthorizationSuccessTrap) and object (rbtwsRadioRssi) deprecated long time ago. Marked them as obsolete, because instrumentation code was removed already. (This will be published in 6.2 release.)', 'v2.9.0: Added two textual conventions: RbtwsUserAttributeList, RbtwsSessionDisconnectType three new traps: rbtwsClientDynAuthorChangeSuccessTrap, rbtwsClientDynAuthorChangeFailureTrap, rbtwsClientDisconnectTrap and related objects: rbtwsClientDynAuthorClientIp, rbtwsChangedUserParamOldValues, rbtwsChangedUserParamNewValues, rbtwsClientDisconnectSource, rbtwsClientDisconnectDescription (for 6.2 release)', 'v2.8.5: added one value (24) to RbtwsRFDetectDoSType (for 6.2 release)', 'v2.6.4: Added two new traps: rbtwsMobilityDomainFailOverTrap, rbtwsMobilityDomainFailBackTrap and related objects: rbtwsMobilityDomainSecondarySeedIp, rbtwsMobilityDomainPrimarySeedIp (for 6.0 release)', 'v2.6.2: Factored out four textual conventions into a new module, Client Session TC: RbtwsClientSessionState, RbtwsClientAuthenProtocolType, RbtwsClientDot1xState, RbtwsUserAccessType and imported them from there.', 'v2.5.2: Added new trap: rbtwsApRejectLicenseExceededTrap and related object: rbtwsNumLicensedActiveAPs (for 6.0 release)', 'v2.5.0: Added new trap: rbtwsRFDetectAdhocUserDisappearTrap (for 6.0 release)', 'v2.4.7: Removed unused imports', 'v2.4.1: Added new trap: rbtwsRFDetectBlacklistedTrap, related textual convention: RbtwsBlacklistingCause and objects: rbtwsBlacklistingRemainingTime, rbtwsBlacklistingCause (for 6.0 release)', 'v2.4.0: Added new trap: RFDetectClientViaRogueWiredAPTrap2 and related object: rbtwsRFDetectRogueAPMacAddr. This trap obsoletes the RFDetectClientViaRogueWiredAPTrap (for 6.0 release)', 'v2.3.1: Added 3 new traps: rbtwsClientAssociationSuccessTrap, rbtwsClientAuthenticationSuccessTrap, rbtwsClientDeAuthenticationTrap (for 6.0 release)', 'v2.3.0: Added new trap: rbtwsClientIpAddrChangeTrap and related object: RbtwsClientIpAddrChangeReason (for 6.0 release)', 'v2.2.0: added two values (13, 14) to RbtwsAuthenticationFailureType (for 6.0 release)', 'v2.1.6: Updated client connection failure causes and descriptions (for 5.0 release)', 'v2.0.6: Revised for 4.1 release', 'v1: initial version, as for 4.0 and older releases',)) if mibBuilder.loadTexts: rbtwsTrapMib.setLastUpdated('200805151711Z') if mibBuilder.loadTexts: rbtwsTrapMib.setOrganization('Enterasys Networks') if mibBuilder.loadTexts: rbtwsTrapMib.setContactInfo('www.enterasys.com') if mibBuilder.loadTexts: rbtwsTrapMib.setDescription("Notifications emitted by Enterasys Networks wireless switches. AP = Access Point; AC = Access Controller (wireless switch), the device that runs a SNMP Agent implementing this MIB. Copyright 2008 Enterasys Networks, Inc. All rights reserved. This SNMP Management Information Base Specification (Specification) embodies confidential and proprietary intellectual property. This Specification is supplied 'AS IS' and Enterasys Networks makes no warranty, either express or implied, as to the use, operation, condition, or performance of the Specification.") rbtwsTrapsV2 = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0)) class RbtwsAssociationFailureType(TextualConvention, Integer32): description = "Enumeration of the reasons for an AP to fail a client's 802.11 association" status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)) namedValues = NamedValues(("other", 1), ("load-balance", 2), ("quiet-period", 3), ("dot1x", 4), ("no-prev-assoc", 5), ("glare", 6), ("cipher-rejected", 7), ("cipher-mismatch", 8), ("wep-not-configured", 9), ("bad-assoc-request", 10), ("out-of-memory", 11), ("tkip-cm-active", 12), ("roam-in-progress", 13)) class RbtwsAuthenticationFailureType(TextualConvention, Integer32): description = "Enumeration of the reasons for AAA authentication to fail user-glob-mismatch - auth rule/user not found for console login user-does-not-exist - login failed because user not found invalid-password - login failed because of invalid password server-timeout - unable to contact a AAA server signature-failed - incorrect password for mschapv2 local-certificate-error - certificate error all-servers-down - unable to contact any AAA server in the group authentication-type-mismatch - client and switch are using different authentication methods server-rejected - received reject from AAA server fallthru-auth-misconfig - problem with fallthru authentication no-lastresort-auth - problem with last-resort authentication exceeded-max-attempts - local user failed to login within allowed number of attempts resulting in account lockout password-expired - user's password expired" status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)) namedValues = NamedValues(("other", 1), ("user-glob-mismatch", 2), ("user-does-not-exist", 3), ("invalid-password", 4), ("server-timeout", 5), ("signature-failed", 6), ("local-certificate-error", 7), ("all-servers-down", 8), ("authentication-type-mismatch", 9), ("server-rejected", 10), ("fallthru-auth-misconfig", 11), ("no-lastresort-auth", 12), ("exceeded-max-attempts", 13), ("password-expired", 14)) class RbtwsAuthorizationFailureType(TextualConvention, Integer32): description = 'Enumeration of the reasons for AAA authorization failure' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)) namedValues = NamedValues(("other", 1), ("user-param", 2), ("location-policy", 3), ("vlan-tunnel-failure", 4), ("ssid-mismatch", 5), ("acl-mismatch", 6), ("timeofday-mismatch", 7), ("crypto-type-mismatch", 8), ("mobility-profile-mismatch", 9), ("start-date-mismatch", 10), ("end-date-mismatch", 11), ("svr-type-mismatch", 12), ("ssid-defaults", 13), ("qos-profile-mismatch", 14), ("simultaneous-logins", 15)) class RbtwsDot1xFailureType(TextualConvention, Integer32): description = "Enumeration of the dot1x failure reasons. quiet-period occurs when client is denied access for a period of time after a failed connection attempt administrative-kill means that the session was cleared using the 'clear dot1x client' command bad-rsnie means that client sent an invalid IE timeout is when there are excessive retransmissions max-sessions-exceeded means the maximum allowed wired clients has been exceeded on the switch fourway-hs-failure is for failures occuring the 4-way key handshake user-glob-mismatch means the name received in the dot1x identity request does not match any configured userglobs in the system reauth-disabled means that the client is trying to reauthenticate but reauthentication is disabled gkhs-failure means that either there was no response from the client during the GKHS or the response did not have an IE force-unauth-configured means that the client is trying to connect through a port which is configured as force-unauth cert-not-installed means that there is no certificate installed on the switch" status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)) namedValues = NamedValues(("other", 1), ("quiet-period", 2), ("administrative-kill", 3), ("bad-rsnie", 4), ("timeout", 5), ("max-sessions-exceeded", 6), ("fourway-hs-failure", 7), ("user-glob-mismatch", 8), ("bonded-auth-failure", 9), ("reauth-disabled", 10), ("gkhs-failure", 11), ("force-unauth-configured", 12), ("cert-not-installed", 13)) class RbtwsRFDetectDoSType(TextualConvention, Integer32): description = 'The types of denial of service (DoS) attacks' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)) namedValues = NamedValues(("probe-flood", 1), ("auth-flood", 2), ("null-data-flood", 3), ("mgmt-6-flood", 4), ("mgmt-7-flood", 5), ("mgmt-d-flood", 6), ("mgmt-e-flood", 7), ("mgmt-f-flood", 8), ("fakeap-ssid", 9), ("fakeap-bssid", 10), ("bcast-deauth", 11), ("null-probe-resp", 12), ("disassoc-spoof", 13), ("deauth-spoof", 14), ("decrypt-err", 15), ("weak-wep-iv", 16), ("wireless-bridge", 17), ("netstumbler", 18), ("wellenreiter", 19), ("adhoc-client-frame", 20), ("associate-pkt-flood", 21), ("re-associate-pkt-flood", 22), ("de-associate-pkt-flood", 23), ("bssid-spoof", 24)) class RbtwsClientIpAddrChangeReason(TextualConvention, Integer32): description = 'Describes the reasons for client IP address changes: client-connected: IP address assigned on initial connection; other: IP address changed after initial connection; dhcp-to-static: erroneous condition where client IP address is changed to a static address while the dhcp-restrict option is enabled.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("client-connected", 1), ("other", 2), ("dhcp-to-static", 3)) class RbtwsBlacklistingCause(TextualConvention, Integer32): description = "Enumeration of reasons for blacklisting a transmitter: bl-configured: administrative action (explicitly added to the Black List), bl-associate-pkt-flood: Association request flood detected, bl-re-associate-pkt-flood: Re-association request flood detected, bl-de-associate-pkt-flood: De-association request flood detected. (The leading 'bl-' stands for 'Black-Listed'; reading it as 'Blocked' would also make sense)." status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("bl-configured", 1), ("bl-associate-pkt-flood", 2), ("bl-re-associate-pkt-flood", 3), ("bl-de-associate-pkt-flood", 4)) class RbtwsUserAttributeList(DisplayString): description = 'Display string listing AAA attributes and their values. These strings can be used, for example, in change of authorization notifications. The syntax is: attribute_name1=value1, attribute_name2=value2, ... where attribute_name can be one of the following: vlan-name, in-acl, out-acl, mobility-prof, time-of-day, end-date, sess-timeout, acct-interval, service-type. Example: vlan-name=red, in-acl=in_acl_1' status = 'current' subtypeSpec = DisplayString.subtypeSpec + ValueSizeConstraint(0, 2048) class RbtwsSessionDisconnectType(TextualConvention, Integer32): description = 'Enumeration of the sources that can initiate the termination of a session: admin-disconnect: session terminated by administrative action (from console, telnet session, WebView, or RASM). dyn-auth-disconnect: session terminated by dynamic authorization client; description will have the IP address of the dynamic authorization client which sent the request.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("other", 1), ("admin-disconnect", 2), ("dyn-auth-disconnect", 3)) class RbtwsConfigSaveInitiatorType(TextualConvention, Integer32): description = 'Enumeration of the sources that can initiate a configuration save: cli-console: configuration save requested from serial console administrative session. cli-remote: configuration save requested from telnet or ssh administrative session. https: configuration save requested via HTTPS API (RASM or WebView). snmp-set: configuration saved as a result of performing a SNMP SET operation.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5)) namedValues = NamedValues(("other", 1), ("cli-console", 2), ("cli-remote", 3), ("https", 4), ("snmp-set", 5)) class RbtwsMichaelMICFailureCause(TextualConvention, Integer32): description = 'Describes the cause/source of Michael MIC Failure detection.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("detected-by-ap", 1), ("detected-by-client", 2)) class RbtwsClientAuthorizationReason(TextualConvention, Integer32): description = 'Enumeration of the reasons for AAA authorization.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("other", 1), ("new-client", 2), ("re-auth", 3), ("roam", 4)) class RbtwsApMgrChangeReason(TextualConvention, Integer32): description = "Enumeration of the reasons why AP is switching to its secondary link: failover: AP's primary link failed. load-balancing: AP's primary link is overloaded." status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("other", 1), ("failover", 2), ("load-balancing", 3)) class RbtwsClientClearedReason(TextualConvention, Integer32): description = 'Enumeration of the reasons for clearing a session: normal: Session was cleared from the switch as the last step in the normal session termination process. backup-failure: The backup switch could not activate a session from a failed MX.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("other", 1), ("normal", 2), ("backup-failure", 3)) class RbtwsMobilityDomainResiliencyStatus(TextualConvention, Integer32): description = 'Enumeration of the current resilient capacity status for a mobility domain: resilient: Every AP in the mobility domain has a secondary backup link. If the primary switch of an AP failed, the AP and its sessions would fail over to its backup link. degraded: Some APs only have a primary link. If the primary switch of an AP without a backup link failed, the AP would reboot and its sessions would be lost.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("other", 1), ("resilient", 2), ("degraded", 3)) class RbtwsClusterFailureReason(TextualConvention, Integer32): description = 'Enumeration of the reasons why the AC goes into cluster failure state: validation-error: Cluster configuration rejected due to validation error.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("other", 1), ("validation-error", 2)) rbtwsDeviceId = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 1), ObjectIdentifier()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsDeviceId.setStatus('current') if mibBuilder.loadTexts: rbtwsDeviceId.setDescription('Enumeration of devices as indicated in registration MIB. This object is used within notifications and is not accessible.') rbtwsMobilityDomainIp = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 2), IpAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsMobilityDomainIp.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainIp.setDescription('IP address of the other switch which the send switch is reporting on. This object is used within notifications and is not accessible.') rbtwsAPMACAddress = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 3), MacAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsAPMACAddress.setStatus('current') if mibBuilder.loadTexts: rbtwsAPMACAddress.setDescription('MAC address of the AP of interest. This object is used within notifications and is not accessible.') rbtwsClientMACAddress = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 4), MacAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientMACAddress.setStatus('current') if mibBuilder.loadTexts: rbtwsClientMACAddress.setDescription('MAC address of the client of interest. This object is used within notifications and is not accessible.') rbtwsRFDetectXmtrMacAddr = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 5), MacAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRFDetectXmtrMacAddr.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectXmtrMacAddr.setDescription("Describes the transmitter's MAC address. This object is used within notifications and is not accessible.") rbtwsPortNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 22))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsPortNum.setStatus('current') if mibBuilder.loadTexts: rbtwsPortNum.setDescription('Port number on the AC which reported this rogue during a detection sweep. This object is used within notifications and is not accessible.') rbtwsAPRadioNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 7), RbtwsRadioNum()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsAPRadioNum.setStatus('current') if mibBuilder.loadTexts: rbtwsAPRadioNum.setDescription('Radio number of the AP which reported this rogue during a detection sweep. This object is used within notifications and is not accessible.') rbtwsRadioRssi = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRadioRssi.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRadioRssi.setDescription('The received signal strength as measured by the AP radio which reported this rogue during a detection sweep. This object is used within notifications and is not accessible. Not used by any notification.') rbtwsRadioBSSID = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRadioBSSID.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioBSSID.setDescription('The basic service set identifier of the rogue from the beacon frame reported by the AP during a detection sweep. This object is used within notifications and is not accessible.') rbtwsUserName = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsUserName.setStatus('current') if mibBuilder.loadTexts: rbtwsUserName.setDescription('The client user name as learned from the AAA process. This object is used within notifications and is not accessible.') rbtwsClientAuthServerIp = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 11), IpAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientAuthServerIp.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthServerIp.setDescription('The client authentication server ip address. This object is used within notifications and is not accessible.') rbtwsClientSessionState = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 12), RbtwsClientSessionState()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientSessionState.setStatus('current') if mibBuilder.loadTexts: rbtwsClientSessionState.setDescription('The state for a client session. This object is used within notifications and is not accessible.') rbtwsDAPNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsDAPNum.setStatus('current') if mibBuilder.loadTexts: rbtwsDAPNum.setDescription('The DAP number on the wireless switch. This object is used within notifications and is not accessible.') rbtwsClientIp = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 14), IpAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientIp.setStatus('current') if mibBuilder.loadTexts: rbtwsClientIp.setDescription('The client ip address. This object is used within notifications and is not accessible.') rbtwsClientSessionId = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 15), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientSessionId.setStatus('current') if mibBuilder.loadTexts: rbtwsClientSessionId.setDescription('The unique global id for a client session. This object is used within notifications and is not accessible.') rbtwsClientAuthenProtocolType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 16), RbtwsClientAuthenProtocolType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientAuthenProtocolType.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthenProtocolType.setDescription('The authentication protocol for a client. This object is used within notifications and is not accessible.') rbtwsClientVLANName = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 17), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientVLANName.setStatus('current') if mibBuilder.loadTexts: rbtwsClientVLANName.setDescription('The vlan name a client is on. This object is used within notifications and is not accessible.') rbtwsClientSessionStartTime = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 18), TimeTicks()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientSessionStartTime.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsClientSessionStartTime.setDescription("The start time of a client session, relative to the sysUptime. This object is used within notifications and is not accessible. Obsolete. Do not use it because it's not vital information and often *cannot* be implemented to match the declared semantics: a client session might have been created on another wireless switch, *before* the current switch booted (the local zero of sysUptime).") rbtwsClientFailureCause = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 19), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientFailureCause.setStatus('current') if mibBuilder.loadTexts: rbtwsClientFailureCause.setDescription('Display string for possible failure cause for a client session. This object is used within notifications and is not accessible.') rbtwsClientRoamedFromPortNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 20))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientRoamedFromPortNum.setStatus('current') if mibBuilder.loadTexts: rbtwsClientRoamedFromPortNum.setDescription('The port number on the AC a client has roamed from. This object is used within notifications and is not accessible.') rbtwsClientRoamedFromRadioNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 21), RbtwsRadioNum()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientRoamedFromRadioNum.setStatus('current') if mibBuilder.loadTexts: rbtwsClientRoamedFromRadioNum.setDescription('The radio number of the AP the client is roamed from. This object is used within notifications and is not accessible.') rbtwsClientRoamedFromDAPNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientRoamedFromDAPNum.setStatus('current') if mibBuilder.loadTexts: rbtwsClientRoamedFromDAPNum.setDescription('The DAP number on the AC which reported this rogue during roam. This object is used within notifications and is not accessible.') rbtwsUserParams = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 23), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsUserParams.setStatus('current') if mibBuilder.loadTexts: rbtwsUserParams.setDescription('A display string of User Parameters for client user authorization attributes learned through AAA and/or used by the system. Note that the syntax will be (name=value, name=value,..) for the parsing purpose. This object is used within notifications and is not accessible.') rbtwsClientLocationPolicyIndex = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientLocationPolicyIndex.setStatus('current') if mibBuilder.loadTexts: rbtwsClientLocationPolicyIndex.setDescription('Index of the Location Policy rule applied to a user. This object is used within notifications and is not accessible.') rbtwsClientAssociationFailureCause = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 25), RbtwsAssociationFailureType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientAssociationFailureCause.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAssociationFailureCause.setDescription('The client association failure cause. This object is used within notifications and is not accessible.') rbtwsClientAuthenticationFailureCause = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 26), RbtwsAuthenticationFailureType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientAuthenticationFailureCause.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthenticationFailureCause.setDescription('The client authentication failure cause. This object is used within notifications and is not accessible.') rbtwsClientAuthorizationFailureCause = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 27), RbtwsAuthorizationFailureType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientAuthorizationFailureCause.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthorizationFailureCause.setDescription('The client authorization failure cause. Note that if it is the user-param, we would additionally expect the failure cause description to list the user attribute value that caused the failure. This object is used within notifications and is not accessible.') rbtwsClientFailureCauseDescription = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 28), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientFailureCauseDescription.setStatus('current') if mibBuilder.loadTexts: rbtwsClientFailureCauseDescription.setDescription('Display string for describing the client failure cause. This object is used within notifications and is not accessible.') rbtwsClientRoamedFromWsIp = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 29), IpAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientRoamedFromWsIp.setStatus('current') if mibBuilder.loadTexts: rbtwsClientRoamedFromWsIp.setDescription('The system IP address of the AC (wireless switch) a client roamed from. This object is used within notifications and is not accessible.') rbtwsClientRoamedFromAccessType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 30), RbtwsAccessType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientRoamedFromAccessType.setStatus('current') if mibBuilder.loadTexts: rbtwsClientRoamedFromAccessType.setDescription('The client access type (ap, dap, wired) that a client roamed from. This object is used within notifications and is not accessible.') rbtwsClientAccessType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 31), RbtwsAccessType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientAccessType.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAccessType.setDescription('The client access type (ap, dap, wired). This object is used within notifications and is not accessible. For new traps, use rbtwsClientAccessMode instead of this object.') rbtwsRadioMACAddress = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 32), MacAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRadioMACAddress.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioMACAddress.setDescription('AP Radio MAC address. This object is used within notifications and is not accessible.') rbtwsRadioPowerChangeReason = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 33), RbtwsRadioPowerChangeType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRadioPowerChangeReason.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioPowerChangeReason.setDescription('The type of event that caused an AP radio power change; occurs due to auto-tune operation. This object is used within notifications and is not accessible.') rbtwsNewChannelNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 34), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1024))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsNewChannelNum.setStatus('current') if mibBuilder.loadTexts: rbtwsNewChannelNum.setDescription('New channel number of the AP radio used after an auto tune event. This object is used within notifications and is not accessible.') rbtwsOldChannelNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1024))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsOldChannelNum.setStatus('current') if mibBuilder.loadTexts: rbtwsOldChannelNum.setDescription('Old channel number of the AP radio used before an auto tune event. This object is used within notifications and is not accessible.') rbtwsChannelChangeReason = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 36), RbtwsChannelChangeType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsChannelChangeReason.setStatus('current') if mibBuilder.loadTexts: rbtwsChannelChangeReason.setDescription('The type of event that caused an AP radio channel change; occurs due to auto-tune operation. This object is used within notifications and is not accessible.') rbtwsRFDetectListenerListInfo = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 37), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 571))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRFDetectListenerListInfo.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectListenerListInfo.setDescription('The RF Detection Listener list info including a list of (listener mac, rssi, channel, ssid, time). There will be a maximum of 6 entries in the list. Formats: MAC: 18 bytes: %2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X RSSI: 10 bytes: %10d CHANNEL: 3 bytes: %3d SSID: 32 bytes: %s TIME: 26 bytes: %s Maximum size per entry is 89+4+2 = 95 bytes. Maximum size of the string is 6*95= 571 bytes (include NULL). This object is used within notifications and is not accessible.') rbtwsRadioSSID = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 38), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRadioSSID.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioSSID.setDescription('The radio SSID string This object is used within notifications and is not accessible.') rbtwsNewPowerLevel = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 39), RbtwsPowerLevel()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsNewPowerLevel.setStatus('current') if mibBuilder.loadTexts: rbtwsNewPowerLevel.setDescription('New power level of the AP radio used after an auto tune event. This object is used within notifications and is not accessible.') rbtwsOldPowerLevel = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 40), RbtwsPowerLevel()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsOldPowerLevel.setStatus('current') if mibBuilder.loadTexts: rbtwsOldPowerLevel.setDescription('Old power level of the AP radio used before an auto tune event. This object is used within notifications and is not accessible.') rbtwsRadioPowerChangeDescription = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 41), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRadioPowerChangeDescription.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioPowerChangeDescription.setDescription('The radio power change description. In the case of reason being dup-pkts-threshold-exceed(1), and retransmit-threshold-exceed(2), clientMacAddress will be included in the description. This object is used within notifications and is not accessible.') rbtwsCounterMeasurePerformerListInfo = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 42), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsCounterMeasurePerformerListInfo.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsCounterMeasurePerformerListInfo.setDescription('A list of information for APs performing Counter Measures including a list of performer mac addresses. This object is used within notifications and is not accessible. Not used by any notification.') rbtwsClientDot1xState = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 43), RbtwsClientDot1xState()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientDot1xState.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDot1xState.setDescription('The state for a client 802.1X. This object is used within notifications and is not accessible.') rbtwsClientDot1xFailureCause = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 44), RbtwsDot1xFailureType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientDot1xFailureCause.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDot1xFailureCause.setDescription('The client 802.1X failure cause. This object is used within notifications and is not accessible.') rbtwsAPAccessType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 45), RbtwsAccessType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsAPAccessType.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsAPAccessType.setDescription('The access point access type (ap, dap,). This object is used within notifications and is not accessible. Not used by any notification.') rbtwsUserAccessType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 46), RbtwsUserAccessType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsUserAccessType.setStatus('current') if mibBuilder.loadTexts: rbtwsUserAccessType.setDescription('The user access type (MAC, WEB, DOT1X, LAST-RESORT). This object is used within notifications and is not accessible.') rbtwsClientSessionElapsedTime = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 47), TimeTicks()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientSessionElapsedTime.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsClientSessionElapsedTime.setDescription('The elapsed time for a client session. Obsoleted because session time is usually reported in seconds. This object is used within notifications and is not accessible.') rbtwsLocalId = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 48), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65000))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsLocalId.setStatus('current') if mibBuilder.loadTexts: rbtwsLocalId.setDescription('Local Id for the session. This object is used within notifications and is not accessible.') rbtwsRFDetectDoSType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 49), RbtwsRFDetectDoSType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRFDetectDoSType.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectDoSType.setDescription('The type of denial of service (DoS) attack. This object is used within notifications and is not accessible.') rbtwsSourceWsIp = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 50), IpAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsSourceWsIp.setStatus('current') if mibBuilder.loadTexts: rbtwsSourceWsIp.setDescription('IP address of another AC (wireless switch). This object is used within notifications and is not accessible.') rbtwsClientVLANid = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 51), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientVLANid.setStatus('current') if mibBuilder.loadTexts: rbtwsClientVLANid.setDescription('VLAN ID used by client traffic. This object is used within notifications and is not accessible.') rbtwsClientVLANtag = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 52), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientVLANtag.setStatus('current') if mibBuilder.loadTexts: rbtwsClientVLANtag.setDescription('VLAN tag used by client traffic. This object is used within notifications and is not accessible.') rbtwsDeviceModel = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 53), DisplayString()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsDeviceModel.setStatus('current') if mibBuilder.loadTexts: rbtwsDeviceModel.setDescription('The model of a device in printable US-ASCII. If unknown (or not available), then the value is a zero length string. This object is used within notifications and is not accessible.') rbtwsDeviceSerNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 54), RbtwsApSerialNum()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsDeviceSerNum.setStatus('current') if mibBuilder.loadTexts: rbtwsDeviceSerNum.setDescription('The serial number of an AP in printable US-ASCII. If unknown (or not available), then the value is a zero length string. Should NOT be used to identify other devices, for example an AC (wireless switch). This object is used within notifications and is not accessible.') rbtwsRsaPubKeyFingerPrint = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 55), RbtwsApFingerprint()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRsaPubKeyFingerPrint.setStatus('current') if mibBuilder.loadTexts: rbtwsRsaPubKeyFingerPrint.setDescription('The hash of the RSA public key (of a key pair) in binary form that uniquely identifies the public key of an AP. This object is used within notifications and is not accessible.') rbtwsDAPconnectWarningType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 56), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("not-configured-fingerprint-connect", 1), ("secure-handshake-failure", 2), ("not-configured-fingerprint-required", 3), ("fingerprint-mismatch", 4)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsDAPconnectWarningType.setStatus('current') if mibBuilder.loadTexts: rbtwsDAPconnectWarningType.setDescription("The type of DAP connect warning. The values are: not-configured-fingerprint-connect(1)...a DAP, which has an RSA keypair but did not have its fingerprint configured on the AC, has connected to the AC when 'dap security' set to 'OPTIONAL' secure-handshake-failure(2).............a DAP tried to connect to the AC with security, but the handshake failed not-configured-fingerprint-required(3)..a DAP tried to connect to the AC with security, but 'dap security' set to 'REQUIRED', and no fingerprint was configured for the DAP fingerprint-mismatch(4).................a DAP tried to connect to the AC with security and its fingerprint was configured, but the fingerprint did not match the computed one This object is used within notifications and is not accessible.") rbtwsClientMACAddress2 = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 57), MacAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientMACAddress2.setStatus('current') if mibBuilder.loadTexts: rbtwsClientMACAddress2.setDescription('MAC address of the second client of interest. This object is used within notifications and is not accessible.') rbtwsApAttachType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 58), RbtwsApAttachType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsApAttachType.setStatus('current') if mibBuilder.loadTexts: rbtwsApAttachType.setDescription('How the AP is attached to the AC (directly or via L2/L3 network). This object is used within notifications and is not accessible.') rbtwsApPortOrDapNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 59), RbtwsApPortOrDapNum()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsApPortOrDapNum.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsApPortOrDapNum.setDescription('The Port Number if the AP is directly attached, or the CLI-assigned DAP Number if attached via L2/L3 network. This object is used within notifications and is not accessible. Obsoleted by rbtwsApNum. (In 6.0, direct- and network-attached APs were unified.)') rbtwsApName = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 60), DisplayString()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsApName.setStatus('current') if mibBuilder.loadTexts: rbtwsApName.setDescription("The name of the AP, as assigned in AC's CLI; defaults to AP<Number> (examples: 'AP01', 'AP22', 'AP333', 'AP4444'); could have been changed from CLI to a meaningful name, for example the location of the AP (example: 'MeetingRoom73'). This object is used within notifications and is not accessible.") rbtwsApTransition = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 61), RbtwsApTransition()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsApTransition.setStatus('current') if mibBuilder.loadTexts: rbtwsApTransition.setDescription('AP state Transition, as seen by the AC. This object is used within notifications and is not accessible.') rbtwsApFailDetail = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 62), RbtwsApFailDetail()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsApFailDetail.setStatus('current') if mibBuilder.loadTexts: rbtwsApFailDetail.setDescription("Detailed failure code for some of the transitions specified in 'rbtwsApTransition' object. This object is used within notifications and is not accessible.") rbtwsRadioType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 63), RbtwsRadioType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRadioType.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioType.setDescription('Indicates the AP Radio Type, as seen by AC. This object is used within notifications and is not accessible.') rbtwsRadioConfigState = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 64), RbtwsRadioConfigState()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRadioConfigState.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioConfigState.setDescription('Indicates the Radio State, as seen by the AC. This object is used within notifications and is not accessible.') rbtwsApConnectSecurityType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 65), RbtwsApConnectSecurityType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsApConnectSecurityType.setStatus('current') if mibBuilder.loadTexts: rbtwsApConnectSecurityType.setDescription('Indicates the security level of the connection between AP and AC. This object is used within notifications and is not accessible.') rbtwsApServiceAvailability = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 66), RbtwsApServiceAvailability()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsApServiceAvailability.setStatus('current') if mibBuilder.loadTexts: rbtwsApServiceAvailability.setDescription('Indicates the level of wireless service availability. This object is used within notifications and is not accessible.') rbtwsApWasOperational = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 67), RbtwsApWasOperational()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsApWasOperational.setStatus('current') if mibBuilder.loadTexts: rbtwsApWasOperational.setDescription('Indicates whether the AP was operational before a transition occured. This object is used within notifications and is not accessible.') rbtwsClientTimeSinceLastRoam = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 68), Unsigned32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientTimeSinceLastRoam.setStatus('current') if mibBuilder.loadTexts: rbtwsClientTimeSinceLastRoam.setDescription('The time in seconds since the most recent roam of a given client. This object is used within notifications and is not accessible.') rbtwsClientIpAddrChangeReason = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 69), RbtwsClientIpAddrChangeReason()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientIpAddrChangeReason.setStatus('current') if mibBuilder.loadTexts: rbtwsClientIpAddrChangeReason.setDescription('Indicates the reason why client IP address changed. This object is used within notifications and is not accessible.') rbtwsRFDetectRogueAPMacAddr = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 70), MacAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRFDetectRogueAPMacAddr.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectRogueAPMacAddr.setDescription('Describes the MAC address of the Rogue AP the transmitter is connected to. This object is used within notifications and is not accessible.') rbtwsBlacklistingRemainingTime = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 71), Unsigned32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsBlacklistingRemainingTime.setStatus('current') if mibBuilder.loadTexts: rbtwsBlacklistingRemainingTime.setDescription('The time in seconds remaining until a given transmitter could be removed from the Black List. This object is used within notifications and is not accessible.') rbtwsBlacklistingCause = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 72), RbtwsBlacklistingCause()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsBlacklistingCause.setStatus('current') if mibBuilder.loadTexts: rbtwsBlacklistingCause.setDescription('Indicates the reason why a given transmitter is blacklisted. This object is used within notifications and is not accessible.') rbtwsNumLicensedActiveAPs = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 73), Unsigned32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsNumLicensedActiveAPs.setStatus('current') if mibBuilder.loadTexts: rbtwsNumLicensedActiveAPs.setDescription('Indicates the maximum (licensed) number of active APs for this AC. This object is used within notifications and is not accessible.') rbtwsClientDynAuthorClientIp = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 74), IpAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientDynAuthorClientIp.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDynAuthorClientIp.setDescription('The dynamic authorization client IP address which caused the change of authorization. This object is used within notifications and is not accessible.') rbtwsChangedUserParamOldValues = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 75), RbtwsUserAttributeList()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsChangedUserParamOldValues.setStatus('current') if mibBuilder.loadTexts: rbtwsChangedUserParamOldValues.setDescription('A display string listing the changed AAA attributes and their values, before the change of authorization was executed. This object is used within notifications and is not accessible.') rbtwsChangedUserParamNewValues = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 76), RbtwsUserAttributeList()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsChangedUserParamNewValues.setStatus('current') if mibBuilder.loadTexts: rbtwsChangedUserParamNewValues.setDescription('A display string listing the changed AAA attributes and their values, after the change of authorization was executed. This object is used within notifications and is not accessible.') rbtwsClientDisconnectSource = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 77), RbtwsSessionDisconnectType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientDisconnectSource.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDisconnectSource.setDescription('The external source that initiated the termination of a session. This object is used within notifications and is not accessible.') rbtwsClientDisconnectDescription = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 78), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientDisconnectDescription.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDisconnectDescription.setDescription('Display string for providing available information related to the external source that initiated a session termination. This object is used within notifications and is not accessible.') rbtwsMobilityDomainSecondarySeedIp = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 79), IpAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsMobilityDomainSecondarySeedIp.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainSecondarySeedIp.setDescription('The secondary seed IP address to which the Mobility Domain has failed over. This object is used within notifications and is not accessible.') rbtwsMobilityDomainPrimarySeedIp = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 80), IpAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsMobilityDomainPrimarySeedIp.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainPrimarySeedIp.setDescription('The primary seed IP address to which the Mobility Domain has failed back. This object is used within notifications and is not accessible.') rbtwsRFDetectClassificationReason = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 81), RbtwsRFDetectClassificationReason()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRFDetectClassificationReason.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectClassificationReason.setDescription('Indicates the reason why a RF device is classified the way it is. This object is used within notifications and is not accessible.') rbtwsConfigSaveFileName = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 82), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsConfigSaveFileName.setStatus('current') if mibBuilder.loadTexts: rbtwsConfigSaveFileName.setDescription('Display string listing the name of the file to which the running configuration was saved. This object is used within notifications and is not accessible.') rbtwsConfigSaveInitiatorType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 83), RbtwsConfigSaveInitiatorType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsConfigSaveInitiatorType.setStatus('current') if mibBuilder.loadTexts: rbtwsConfigSaveInitiatorType.setDescription('Indicates the source that initiated a configuration save. This object is used within notifications and is not accessible.') rbtwsConfigSaveInitiatorIp = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 84), IpAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsConfigSaveInitiatorIp.setStatus('current') if mibBuilder.loadTexts: rbtwsConfigSaveInitiatorIp.setDescription('The IP address of the source that initiated a configuration save. This object is used within notifications and is not accessible.') rbtwsConfigSaveInitiatorDetails = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 85), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsConfigSaveInitiatorDetails.setStatus('current') if mibBuilder.loadTexts: rbtwsConfigSaveInitiatorDetails.setDescription('Display string listing additional information regarding the source that initiated a configuration save, when available. This object is used within notifications and is not accessible.') rbtwsConfigSaveGeneration = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 86), Counter32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsConfigSaveGeneration.setStatus('current') if mibBuilder.loadTexts: rbtwsConfigSaveGeneration.setDescription('Indicates the number of configuration changes since the last system boot. The generation count is used to track the number of times the running configuration has been changed due to administrative actions (set/clear), SNMP requests (SET), XML requests (e.g. RASM). This object is used within notifications and is not accessible.') rbtwsApNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 87), RbtwsApNum()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsApNum.setStatus('current') if mibBuilder.loadTexts: rbtwsApNum.setDescription('The administratively assigned AP Number, unique on same AC (switch), regardless of how APs are attached to the AC. This object is used within notifications and is not accessible. Obsoletes rbtwsApPortOrDapNum. For clarity, use this object to identify an AP since in 6.0 directly attached APs and DAPs were unified.') rbtwsRadioMode = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 88), RbtwsRadioMode()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRadioMode.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioMode.setDescription('Indicates the administratively controlled Radio Mode (enabled/disabled/sentry). This object is used within notifications and is not accessible.') rbtwsMichaelMICFailureCause = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 89), RbtwsMichaelMICFailureCause()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsMichaelMICFailureCause.setStatus('current') if mibBuilder.loadTexts: rbtwsMichaelMICFailureCause.setDescription('Indicates the Michael MIC Failure cause / who detected it. This object is used within notifications and is not accessible.') rbtwsClientAccessMode = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 90), RbtwsClientAccessMode()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientAccessMode.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAccessMode.setDescription('The client access mode (ap, wired). This object is used within notifications and is not accessible. Intended to replace rbtwsClientAccessType. (In 6.0, direct- and network-attached APs were unified.)') rbtwsClientAuthorizationReason = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 91), RbtwsClientAuthorizationReason()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientAuthorizationReason.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthorizationReason.setDescription('Indicates the reason why client performed AAA authorization. This object is used within notifications and is not accessible.') rbtwsPhysPortNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 92), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsPhysPortNum.setStatus('current') if mibBuilder.loadTexts: rbtwsPhysPortNum.setDescription("Physical Port Number on the AC. Zero means the port is unknown or not applicable (for example, when rbtwsClientAccessMode = 'ap'). This object is used within notifications and is not accessible.") rbtwsApMgrOldIp = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 93), IpAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsApMgrOldIp.setStatus('current') if mibBuilder.loadTexts: rbtwsApMgrOldIp.setDescription("The IP address of the AP's former primary manager switch. This object is used within notifications and is not accessible.") rbtwsApMgrNewIp = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 94), IpAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsApMgrNewIp.setStatus('current') if mibBuilder.loadTexts: rbtwsApMgrNewIp.setDescription("The IP address of the AP's new primary manager switch. This address was formerly the AP's secondary backup link. This object is used within notifications and is not accessible.") rbtwsApMgrChangeReason = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 95), RbtwsApMgrChangeReason()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsApMgrChangeReason.setStatus('current') if mibBuilder.loadTexts: rbtwsApMgrChangeReason.setDescription("Indicates the reason why the AP's primary manager changed. This object is used within notifications and is not accessible.") rbtwsClientClearedReason = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 96), RbtwsClientClearedReason()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientClearedReason.setStatus('current') if mibBuilder.loadTexts: rbtwsClientClearedReason.setDescription('Indicates the reason why client was cleared. This object is used within notifications and is not accessible.') rbtwsMobilityDomainResiliencyStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 97), RbtwsMobilityDomainResiliencyStatus()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsMobilityDomainResiliencyStatus.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainResiliencyStatus.setDescription('Indicates the current resilient capacity status for a mobility domain. This object is used within notifications and is not accessible.') rbtwsClientSessionElapsedSeconds = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 98), Unsigned32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientSessionElapsedSeconds.setStatus('current') if mibBuilder.loadTexts: rbtwsClientSessionElapsedSeconds.setDescription('Indicates the time in seconds elapsed since the start of the Client Session. This object is used within notifications and is not accessible.') rbtwsRadioChannelWidth = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 99), RbtwsRadioChannelWidth()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRadioChannelWidth.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioChannelWidth.setDescription('Indicates the administratively controlled Channel Width (20MHz/40MHz). This object is used within notifications and is not accessible.') rbtwsRadioMimoState = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 100), RbtwsRadioMimoState()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRadioMimoState.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioMimoState.setDescription('Indicates the Radio MIMO State, as seen by the AC (1x1/2x3/3x3). This object is used within notifications and is not accessible.') rbtwsClientRadioType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 101), RbtwsRadioType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClientRadioType.setStatus('current') if mibBuilder.loadTexts: rbtwsClientRadioType.setDescription('Indicates the Client Radio Type, as detected by an attached AP and reported to the AC. This object is used within notifications and is not accessible.') rbtwsRFDetectXmtrRadioType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 102), RbtwsRadioType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRFDetectXmtrRadioType.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectXmtrRadioType.setDescription('Indicates the Radio Type of the Transmitter, as detected by an attached AP and reported to the AC. The Transmitter may be a wireless client or an AP. This object is used within notifications and is not accessible.') rbtwsRFDetectXmtrCryptoType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 103), RbtwsCryptoType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsRFDetectXmtrCryptoType.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectXmtrCryptoType.setDescription('Indicates the Crypto Type used by the Transmitter, as detected by an attached AP and reported to the AC. This object is used within notifications and is not accessible.') rbtwsClusterFailureReason = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 104), RbtwsClusterFailureReason()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClusterFailureReason.setStatus('current') if mibBuilder.loadTexts: rbtwsClusterFailureReason.setDescription('Indicates the reason why cluster configuration failed to apply. This object is used within notifications and is not accessible.') rbtwsClusterFailureDescription = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 105), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbtwsClusterFailureDescription.setStatus('current') if mibBuilder.loadTexts: rbtwsClusterFailureDescription.setDescription('Display string for describing the cluster configuration failure cause. This object is used within notifications and is not accessible.') rbtwsDeviceFailTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 1)).setObjects(("RBTWS-TRAP-MIB", "rbtwsDeviceId")) if mibBuilder.loadTexts: rbtwsDeviceFailTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsDeviceFailTrap.setDescription('The device has a failure indication') rbtwsDeviceOkayTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 2)).setObjects(("RBTWS-TRAP-MIB", "rbtwsDeviceId")) if mibBuilder.loadTexts: rbtwsDeviceOkayTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsDeviceOkayTrap.setDescription('The device has recovered') rbtwsPoEFailTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 3)).setObjects(("RBTWS-TRAP-MIB", "rbtwsPortNum")) if mibBuilder.loadTexts: rbtwsPoEFailTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsPoEFailTrap.setDescription('PoE has failed on the indicated port') rbtwsApTimeoutTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 4)).setObjects(("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsAPAccessType"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum")) if mibBuilder.loadTexts: rbtwsApTimeoutTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsApTimeoutTrap.setDescription("The AP entering the AC at port rbtwsPortNum with MAC rbtwsRadioMacAddress and of the access type (ap or dap) has not responded. Replaced by rbtwsApNonOperStatusTrap2, with rbtwsApTransition = 'timeout'.") rbtwsAPBootTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 5)).setObjects(("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsAPAccessType"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum")) if mibBuilder.loadTexts: rbtwsAPBootTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsAPBootTrap.setDescription("The AP entering the AC at port rbtwsPortNum with MAC rbtwsRadioMacAddress and of the access type (ap or dap) has booted. Replaced by rbtwsApNonOperStatusTrap2, with rbtwsApTransition = 'bootSuccess'.") rbtwsMobilityDomainJoinTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 6)).setObjects(("RBTWS-TRAP-MIB", "rbtwsMobilityDomainIp")) if mibBuilder.loadTexts: rbtwsMobilityDomainJoinTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainJoinTrap.setDescription('The mobility domain member has received an UP notice from the remote address.') rbtwsMobilityDomainTimeoutTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 7)).setObjects(("RBTWS-TRAP-MIB", "rbtwsMobilityDomainIp")) if mibBuilder.loadTexts: rbtwsMobilityDomainTimeoutTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainTimeoutTrap.setDescription('The mobility domain member has declared the remote address to be DOWN.') rbtwsMpMichaelMICFailure = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 8)).setObjects(("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress")) if mibBuilder.loadTexts: rbtwsMpMichaelMICFailure.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsMpMichaelMICFailure.setDescription('Two Michael MIC failures were seen within 60 seconds of each other. Obsoleted by rbtwsMichaelMICFailure.') rbtwsRFDetectRogueAPTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 9)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo")) if mibBuilder.loadTexts: rbtwsRFDetectRogueAPTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectRogueAPTrap.setDescription('This trap is sent when RF detection finds a rogue AP. XmtrMacAddr is the radio MAC address from the beacon. ListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectRogueDeviceTrap2.') rbtwsRFDetectAdhocUserTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 10)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo")) if mibBuilder.loadTexts: rbtwsRFDetectAdhocUserTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectAdhocUserTrap.setDescription('This trap is sent when RF detection sweep finds a ad-hoc user. rbtwsRFDetectXmtrMacAddr is the MAC address of the ad-hoc user. rbtwsRFDetectListenerListInfo is a display string of a list of listener information.') rbtwsRFDetectRogueDisappearTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 11)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr")) if mibBuilder.loadTexts: rbtwsRFDetectRogueDisappearTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectRogueDisappearTrap.setDescription('This trap is sent when a rogue has disappeared. Obsoleted by rbtwsRFDetectRogueDeviceDisappearTrap.') rbtwsClientAuthenticationFailureTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 12)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthServerIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthenProtocolType"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthenticationFailureCause"), ("RBTWS-TRAP-MIB", "rbtwsClientFailureCauseDescription")) if mibBuilder.loadTexts: rbtwsClientAuthenticationFailureTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthenticationFailureTrap.setDescription('This trap is sent if a client authentication fails.') rbtwsClientAuthorizationFailureTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 13)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthServerIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthenProtocolType"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsClientLocationPolicyIndex"), ("RBTWS-TRAP-MIB", "rbtwsUserParams"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthorizationFailureCause"), ("RBTWS-TRAP-MIB", "rbtwsClientFailureCauseDescription")) if mibBuilder.loadTexts: rbtwsClientAuthorizationFailureTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthorizationFailureTrap.setDescription('This trap is sent if a client authorization fails.') rbtwsClientAssociationFailureTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 14)).setObjects(("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsClientAssociationFailureCause"), ("RBTWS-TRAP-MIB", "rbtwsClientFailureCauseDescription")) if mibBuilder.loadTexts: rbtwsClientAssociationFailureTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAssociationFailureTrap.setDescription('This trap is sent if a client association fails.') rbtwsClientAuthorizationSuccessTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 15)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientIp"), ("RBTWS-TRAP-MIB", "rbtwsClientVLANName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionState"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionStartTime"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthServerIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthenProtocolType"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsRadioRssi")) if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap.setDescription('This trap is sent when a client authorizes. Obsoleted by rbtwsClientAuthorizationSuccessTrap4.') rbtwsClientDeAssociationTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 16)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientIp"), ("RBTWS-TRAP-MIB", "rbtwsClientVLANName"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthServerIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthenProtocolType"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID")) if mibBuilder.loadTexts: rbtwsClientDeAssociationTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDeAssociationTrap.setDescription('This trap is sent if a client de-association occurred.') rbtwsClientRoamingTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 17)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsClientRoamedFromAccessType"), ("RBTWS-TRAP-MIB", "rbtwsClientRoamedFromPortNum"), ("RBTWS-TRAP-MIB", "rbtwsClientRoamedFromRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsClientRoamedFromDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsClientRoamedFromWsIp"), ("RBTWS-TRAP-MIB", "rbtwsClientTimeSinceLastRoam")) if mibBuilder.loadTexts: rbtwsClientRoamingTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientRoamingTrap.setDescription('This trap is sent if a client roams from one location to another.') rbtwsAutoTuneRadioPowerChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 18)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRadioMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsNewPowerLevel"), ("RBTWS-TRAP-MIB", "rbtwsOldPowerLevel"), ("RBTWS-TRAP-MIB", "rbtwsRadioPowerChangeReason"), ("RBTWS-TRAP-MIB", "rbtwsRadioPowerChangeDescription")) if mibBuilder.loadTexts: rbtwsAutoTuneRadioPowerChangeTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsAutoTuneRadioPowerChangeTrap.setDescription("This trap is sent if a radio's power level has changed based on auto-tune.") rbtwsAutoTuneRadioChannelChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 19)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRadioMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsNewChannelNum"), ("RBTWS-TRAP-MIB", "rbtwsOldChannelNum"), ("RBTWS-TRAP-MIB", "rbtwsChannelChangeReason")) if mibBuilder.loadTexts: rbtwsAutoTuneRadioChannelChangeTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsAutoTuneRadioChannelChangeTrap.setDescription("This trap is sent if a radio's channel has changed based on auto-tune.") rbtwsCounterMeasureStartTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 20)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRadioMACAddress")) if mibBuilder.loadTexts: rbtwsCounterMeasureStartTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsCounterMeasureStartTrap.setDescription('This trap is sent when counter measures are started against a rogue. rbtwsRFDetectXmtrMacAddr is the mac address of the rogue we are doing counter measures against. rbtwsRadioMACAddress identifies the radio performing the countermeasures.') rbtwsCounterMeasureStopTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 21)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRadioMACAddress")) if mibBuilder.loadTexts: rbtwsCounterMeasureStopTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsCounterMeasureStopTrap.setDescription('This trap is sent when counter measures are stopped against a rogue. rbtwsRFDetectXmtrMacAddr is the mac address of the rogue we were doing counter measures against. rbtwsRadioMACAddress identifies the radio performing the countermeasures.') rbtwsClientDot1xFailureTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 22)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthenProtocolType"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsClientDot1xState"), ("RBTWS-TRAP-MIB", "rbtwsClientDot1xFailureCause"), ("RBTWS-TRAP-MIB", "rbtwsClientFailureCauseDescription")) if mibBuilder.loadTexts: rbtwsClientDot1xFailureTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDot1xFailureTrap.setDescription('This trap is sent if a client failed 802.1X.') rbtwsClientClearedTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 23)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionElapsedTime"), ("RBTWS-TRAP-MIB", "rbtwsLocalId")) if mibBuilder.loadTexts: rbtwsClientClearedTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsClientClearedTrap.setDescription('This trap is sent when a client session is cleared. Obsoleted by rbtwsClientClearedTrap2.') rbtwsClientAuthorizationSuccessTrap2 = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 24)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientIp"), ("RBTWS-TRAP-MIB", "rbtwsClientVLANName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionState"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionStartTime"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthServerIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthenProtocolType"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsUserAccessType"), ("RBTWS-TRAP-MIB", "rbtwsLocalId")) if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap2.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap2.setDescription('This trap is sent when a client authorizes. Obsoleted by rbtwsClientAuthorizationSuccessTrap4.') rbtwsRFDetectSpoofedMacAPTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 25)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo")) if mibBuilder.loadTexts: rbtwsRFDetectSpoofedMacAPTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectSpoofedMacAPTrap.setDescription('This trap is sent when RF detection finds an AP using the MAC of the listener. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectDoSTrap and rbtwsRFDetectRogueDeviceTrap2. One of the two traps will be sent depending on the type of AP MAC spoofing detected.') rbtwsRFDetectSpoofedSsidAPTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 26)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo")) if mibBuilder.loadTexts: rbtwsRFDetectSpoofedSsidAPTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectSpoofedSsidAPTrap.setDescription('This trap is sent when RF detection finds an AP using the SSID of the listener, and the AP is not in the mobility domain. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectRogueDeviceTrap2 and rbtwsRFDetectSuspectDeviceTrap2. One of the two traps will be sent, depending on RF detection classification rules.') rbtwsRFDetectDoSTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 27)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectDoSType"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo")) if mibBuilder.loadTexts: rbtwsRFDetectDoSTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectDoSTrap.setDescription('This trap is sent when RF detection finds a denial of service (DoS) occurring. rbtwsRFDetectDoSType specifies the type of DoS. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information.') rbtwsRFDetectClientViaRogueWiredAPTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 28)).setObjects(("RBTWS-TRAP-MIB", "rbtwsSourceWsIp"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsClientVLANid"), ("RBTWS-TRAP-MIB", "rbtwsClientVLANtag"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo")) if mibBuilder.loadTexts: rbtwsRFDetectClientViaRogueWiredAPTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectClientViaRogueWiredAPTrap.setDescription("This trap is sent when a client is detected that connected via a rogue AP that is attached to a wired port. rbtwsSourceWsIp is the IP address of the AC (switch) with the wired port. rbtwsPortNum is the port on the AC. rbtwsClientVLANid is the VLAN ID of the client's traffic. rbtwsClientVLANtag is the VLAN tag of the client's traffic. rbtwsRFDetectXmtrMacAddr is the MAC address of the client. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectClientViaRogueWiredAPTrap3.") rbtwsRFDetectInterferingRogueAPTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 29)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo")) if mibBuilder.loadTexts: rbtwsRFDetectInterferingRogueAPTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectInterferingRogueAPTrap.setDescription('This trap is sent when RF detection finds an interfering rogue AP. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectSuspectDeviceTrap2.') rbtwsRFDetectInterferingRogueDisappearTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 30)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr")) if mibBuilder.loadTexts: rbtwsRFDetectInterferingRogueDisappearTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectInterferingRogueDisappearTrap.setDescription('This trap is sent when an interfering rogue has disappeared. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. Obsoleted by rbtwsRFDetectSuspectDeviceDisappearTrap.') rbtwsRFDetectUnAuthorizedSsidTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 31)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo")) if mibBuilder.loadTexts: rbtwsRFDetectUnAuthorizedSsidTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectUnAuthorizedSsidTrap.setDescription('This trap is sent when RF detection finds use of an unauthorized SSID. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectRogueDeviceTrap2 and rbtwsRFDetectSuspectDeviceTrap2. One of the two traps will be sent if the device having an unauthorized SSID is classified as rogue or suspect because of this.') rbtwsRFDetectUnAuthorizedOuiTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 32)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo")) if mibBuilder.loadTexts: rbtwsRFDetectUnAuthorizedOuiTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectUnAuthorizedOuiTrap.setDescription('This trap is sent when RF detection finds use of an unauthorized OUI. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectRogueDeviceTrap2 and rbtwsRFDetectSuspectDeviceTrap2. One of the two traps will be sent if the device having an unauthorized OUI is classified as rogue or suspect because of this.') rbtwsRFDetectUnAuthorizedAPTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 33)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo")) if mibBuilder.loadTexts: rbtwsRFDetectUnAuthorizedAPTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectUnAuthorizedAPTrap.setDescription('This trap is sent when RF detection finds operation of an unauthorized AP. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectRogueDeviceTrap2.') rbtwsDAPConnectWarningTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 34)).setObjects(("RBTWS-TRAP-MIB", "rbtwsDeviceModel"), ("RBTWS-TRAP-MIB", "rbtwsDeviceSerNum"), ("RBTWS-TRAP-MIB", "rbtwsRsaPubKeyFingerPrint"), ("RBTWS-TRAP-MIB", "rbtwsDAPconnectWarningType")) if mibBuilder.loadTexts: rbtwsDAPConnectWarningTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsDAPConnectWarningTrap.setDescription("A DAP, tried to connect to the AC. rbtwsDeviceModel provides the model of the DAP. rbtwsDeviceSerNum provides the serial number of the DAP. rbtwsRsaPubKeyFingerPrint provides the computed fingerprint of the DAP. rbtwsDAPconnectWarningType provides the type of connect warning. Replaced by rbtwsApNonOperStatusTrap2, with rbtwsApTransition = 'connectFail'.") rbtwsRFDetectDoSPortTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 35)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectDoSType"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum")) if mibBuilder.loadTexts: rbtwsRFDetectDoSPortTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectDoSPortTrap.setDescription("This trap is sent when RF detection finds a denial of service (DoS) occurring. This has port and AP info instead of 'Listener info'. rbtwsRFDetectDoSType specifies the type of DoS. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsClientAccessType specifies whether wired, AP, or DAP. rbtwsPortNum (for wired or AP), the port that is used. rbtwsDAPNum (for a DAP), the ID of the DAP.") rbtwsMpMichaelMICFailure2 = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 36)).setObjects(("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress2")) if mibBuilder.loadTexts: rbtwsMpMichaelMICFailure2.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsMpMichaelMICFailure2.setDescription('Two Michael MIC failures were seen within 60 seconds of each other. Object rbtwsClientMACAddress is the source of the first failure, and object rbtwsClientMACAddress2 source of the second failure. Obsoleted by rbtwsMichaelMICFailure.') rbtwsApNonOperStatusTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 37)).setObjects(("RBTWS-TRAP-MIB", "rbtwsDeviceSerNum"), ("RBTWS-TRAP-MIB", "rbtwsAPMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsApAttachType"), ("RBTWS-TRAP-MIB", "rbtwsApPortOrDapNum"), ("RBTWS-TRAP-MIB", "rbtwsApName"), ("RBTWS-TRAP-MIB", "rbtwsApTransition"), ("RBTWS-TRAP-MIB", "rbtwsApFailDetail"), ("RBTWS-TRAP-MIB", "rbtwsApWasOperational")) if mibBuilder.loadTexts: rbtwsApNonOperStatusTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsApNonOperStatusTrap.setDescription('This trap is sent when the AP changes state and the new one is a non-operational state. Obsoleted by rbtwsApNonOperStatusTrap2.') rbtwsApOperRadioStatusTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 38)).setObjects(("RBTWS-TRAP-MIB", "rbtwsDeviceSerNum"), ("RBTWS-TRAP-MIB", "rbtwsApAttachType"), ("RBTWS-TRAP-MIB", "rbtwsApPortOrDapNum"), ("RBTWS-TRAP-MIB", "rbtwsApName"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsRadioType"), ("RBTWS-TRAP-MIB", "rbtwsRadioConfigState"), ("RBTWS-TRAP-MIB", "rbtwsApConnectSecurityType"), ("RBTWS-TRAP-MIB", "rbtwsApServiceAvailability")) if mibBuilder.loadTexts: rbtwsApOperRadioStatusTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsApOperRadioStatusTrap.setDescription('This trap is sent when the Radio changes state. It also contains aggregate information about the AP in operational state - security level and service availability. Obsoleted by rbtwsApOperRadioStatusTrap3.') rbtwsClientIpAddrChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 39)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientIp"), ("RBTWS-TRAP-MIB", "rbtwsClientVLANName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionState"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthServerIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthenProtocolType"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsUserAccessType"), ("RBTWS-TRAP-MIB", "rbtwsLocalId"), ("RBTWS-TRAP-MIB", "rbtwsClientIpAddrChangeReason")) if mibBuilder.loadTexts: rbtwsClientIpAddrChangeTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientIpAddrChangeTrap.setDescription("This trap is sent when a client's IP address changes. The most likely case for this is when the client first connects to the network.") rbtwsClientAssociationSuccessTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 40)).setObjects(("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID")) if mibBuilder.loadTexts: rbtwsClientAssociationSuccessTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAssociationSuccessTrap.setDescription('This trap is sent if a client association succeeds. WARNING: DO NOT enable it in normal use. It may impair switch performance! Only recommended for debugging network issues.') rbtwsClientAuthenticationSuccessTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 41)).setObjects(("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID")) if mibBuilder.loadTexts: rbtwsClientAuthenticationSuccessTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthenticationSuccessTrap.setDescription('This trap is sent if a client authentication succeeds.') rbtwsClientDeAuthenticationTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 42)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientIp"), ("RBTWS-TRAP-MIB", "rbtwsClientVLANName"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthServerIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthenProtocolType"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID")) if mibBuilder.loadTexts: rbtwsClientDeAuthenticationTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDeAuthenticationTrap.setDescription('This trap is sent if a client de-authentication occured.') rbtwsRFDetectBlacklistedTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 43)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsBlacklistingRemainingTime"), ("RBTWS-TRAP-MIB", "rbtwsBlacklistingCause")) if mibBuilder.loadTexts: rbtwsRFDetectBlacklistedTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectBlacklistedTrap.setDescription("This trap is sent if an association, re-association or de-association request (packet) is detected from a blacklisted transmitter (identified by MAC: 'rbtwsRFDetectXmtrMacAddr'). If 'rbtwsBlacklistingCause' is 'configured', then 'rbtwsBlacklistingRemainingTime' will be zero, meaning indefinite time (depending on administrative actions on the Black List). Otherwise, 'rbtwsBlacklistingRemainingTime' will indicate the time in seconds until this transmitter's requests could be allowed.") rbtwsRFDetectClientViaRogueWiredAPTrap2 = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 44)).setObjects(("RBTWS-TRAP-MIB", "rbtwsSourceWsIp"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsClientVLANid"), ("RBTWS-TRAP-MIB", "rbtwsClientVLANtag"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectRogueAPMacAddr")) if mibBuilder.loadTexts: rbtwsRFDetectClientViaRogueWiredAPTrap2.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectClientViaRogueWiredAPTrap2.setDescription("This trap is sent when a client is detected that connected via a rogue AP that is attached to a wired port. rbtwsSourceWsIp is the IP address of the AC (switch) with the wired port. rbtwsPortNum is the port on the AC. rbtwsClientVLANid is the VLAN ID of the client's traffic. rbtwsClientVLANtag is the VLAN tag of the client's traffic. rbtwsRFDetectXmtrMacAddr is the MAC address of the client. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. rbtwsRFDetectRogueAPMacAddr is the MAC address of the Rogue AP (wired) the client is connected to. Obsoleted by rbtwsRFDetectClientViaRogueWiredAPTrap3.") rbtwsRFDetectAdhocUserDisappearTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 45)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr")) if mibBuilder.loadTexts: rbtwsRFDetectAdhocUserDisappearTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectAdhocUserDisappearTrap.setDescription('This trap is sent when RF detection sweep finds that an ad-hoc user disappeared. rbtwsRFDetectXmtrMacAddr is the MAC address of the ad-hoc user.') rbtwsApRejectLicenseExceededTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 46)).setObjects(("RBTWS-TRAP-MIB", "rbtwsNumLicensedActiveAPs")) if mibBuilder.loadTexts: rbtwsApRejectLicenseExceededTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsApRejectLicenseExceededTrap.setDescription('This trap is sent when an AC (wireless switch) receives a packet from an inactive AP and attaching that AP would make the AC exceed the maximum (licensed) number of active APs.') rbtwsClientDynAuthorChangeSuccessTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 47)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientIp"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionState"), ("RBTWS-TRAP-MIB", "rbtwsClientDynAuthorClientIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthenProtocolType"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsUserAccessType"), ("RBTWS-TRAP-MIB", "rbtwsLocalId"), ("RBTWS-TRAP-MIB", "rbtwsChangedUserParamOldValues"), ("RBTWS-TRAP-MIB", "rbtwsChangedUserParamNewValues")) if mibBuilder.loadTexts: rbtwsClientDynAuthorChangeSuccessTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDynAuthorChangeSuccessTrap.setDescription('This trap is sent when the authorization attributes for a user are dynamically changed by an authorized dynamic authorization client.') rbtwsClientDynAuthorChangeFailureTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 48)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientDynAuthorClientIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthenProtocolType"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsUserParams"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthorizationFailureCause"), ("RBTWS-TRAP-MIB", "rbtwsClientFailureCauseDescription")) if mibBuilder.loadTexts: rbtwsClientDynAuthorChangeFailureTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDynAuthorChangeFailureTrap.setDescription('This trap is sent if a change of authorization request sent by an authorized dynamic authorization client is unsuccessful.') rbtwsClientDisconnectTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 49)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessType"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsDAPNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsLocalId"), ("RBTWS-TRAP-MIB", "rbtwsClientDisconnectSource"), ("RBTWS-TRAP-MIB", "rbtwsClientDisconnectDescription")) if mibBuilder.loadTexts: rbtwsClientDisconnectTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDisconnectTrap.setDescription('This trap is sent when a client session is terminated administratively.') rbtwsMobilityDomainFailOverTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 50)).setObjects(("RBTWS-TRAP-MIB", "rbtwsMobilityDomainSecondarySeedIp")) if mibBuilder.loadTexts: rbtwsMobilityDomainFailOverTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainFailOverTrap.setDescription('This trap is sent when the Mobility Domain fails over to the secondary seed.') rbtwsMobilityDomainFailBackTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 51)).setObjects(("RBTWS-TRAP-MIB", "rbtwsMobilityDomainPrimarySeedIp")) if mibBuilder.loadTexts: rbtwsMobilityDomainFailBackTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainFailBackTrap.setDescription('This trap is sent when the Mobility Domain fails back to the primary seed.') rbtwsRFDetectRogueDeviceTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 52)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectClassificationReason")) if mibBuilder.loadTexts: rbtwsRFDetectRogueDeviceTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectRogueDeviceTrap.setDescription('This trap is sent when RF detection finds a rogue device. XmtrMacAddr is the radio MAC address from the beacon. ListenerListInfo is a display string of a list of listener information. ClassificationReason indicates the reason why the device is classified as rogue. Obsoleted by rbtwsRFDetectRogueDeviceTrap2.') rbtwsRFDetectRogueDeviceDisappearTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 53)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr")) if mibBuilder.loadTexts: rbtwsRFDetectRogueDeviceDisappearTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectRogueDeviceDisappearTrap.setDescription('This trap is sent when a rogue device has disappeared. This trap obsoletes the rbtwsRFDetectRogueDisappearTrap.') rbtwsRFDetectSuspectDeviceTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 54)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectClassificationReason")) if mibBuilder.loadTexts: rbtwsRFDetectSuspectDeviceTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectSuspectDeviceTrap.setDescription('This trap is sent when RF detection finds a suspect device. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. ClassificationReason indicates the reason why the device is classified as suspect. Obsoleted by rbtwsRFDetectSuspectDeviceTrap2.') rbtwsRFDetectSuspectDeviceDisappearTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 55)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr")) if mibBuilder.loadTexts: rbtwsRFDetectSuspectDeviceDisappearTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectSuspectDeviceDisappearTrap.setDescription('This trap is sent when a suspect device has disappeared. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. This trap obsoletes the rbtwsRFDetectInterferingRogueDisappearTrap.') rbtwsRFDetectClientViaRogueWiredAPTrap3 = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 56)).setObjects(("RBTWS-TRAP-MIB", "rbtwsSourceWsIp"), ("RBTWS-TRAP-MIB", "rbtwsPortNum"), ("RBTWS-TRAP-MIB", "rbtwsClientVLANid"), ("RBTWS-TRAP-MIB", "rbtwsClientVLANtag"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectRogueAPMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectClassificationReason")) if mibBuilder.loadTexts: rbtwsRFDetectClientViaRogueWiredAPTrap3.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectClientViaRogueWiredAPTrap3.setDescription("This trap is sent when a client is detected that connected via a rogue AP that is attached to a wired port. rbtwsSourceWsIp is the IP address of the AC (switch) with the wired port. rbtwsPortNum is the port on the AC. rbtwsClientVLANid is the VLAN ID of the client's traffic. rbtwsClientVLANtag is the VLAN tag of the client's traffic. rbtwsRFDetectXmtrMacAddr is the MAC address of the client. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. rbtwsRFDetectRogueAPMacAddr is the MAC address of the Rogue AP (wired) the client is connected to. ClassificationReason indicates the reason why the AP is classified as rogue. This trap obsoletes the rbtwsRFDetectClientViaRogueWiredAPTrap and rbtwsRFDetectClientViaRogueWiredAPTrap2.") rbtwsRFDetectClassificationChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 57)) if mibBuilder.loadTexts: rbtwsRFDetectClassificationChangeTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectClassificationChangeTrap.setDescription('This trap is sent when RF detection classification rules change.') rbtwsConfigurationSavedTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 58)).setObjects(("RBTWS-TRAP-MIB", "rbtwsConfigSaveFileName"), ("RBTWS-TRAP-MIB", "rbtwsConfigSaveInitiatorType"), ("RBTWS-TRAP-MIB", "rbtwsConfigSaveInitiatorIp"), ("RBTWS-TRAP-MIB", "rbtwsConfigSaveInitiatorDetails"), ("RBTWS-TRAP-MIB", "rbtwsConfigSaveGeneration")) if mibBuilder.loadTexts: rbtwsConfigurationSavedTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsConfigurationSavedTrap.setDescription('This trap is sent when the running configuration of the switch is written to a configuration file.') rbtwsApNonOperStatusTrap2 = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 59)).setObjects(("RBTWS-TRAP-MIB", "rbtwsDeviceSerNum"), ("RBTWS-TRAP-MIB", "rbtwsAPMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsApNum"), ("RBTWS-TRAP-MIB", "rbtwsApName"), ("RBTWS-TRAP-MIB", "rbtwsApTransition"), ("RBTWS-TRAP-MIB", "rbtwsApFailDetail"), ("RBTWS-TRAP-MIB", "rbtwsApWasOperational")) if mibBuilder.loadTexts: rbtwsApNonOperStatusTrap2.setStatus('current') if mibBuilder.loadTexts: rbtwsApNonOperStatusTrap2.setDescription('This trap is sent when the AP changes state and the new one is a non-operational state. Obsoletes rbtwsApNonOperStatusTrap.') rbtwsApOperRadioStatusTrap2 = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 60)).setObjects(("RBTWS-TRAP-MIB", "rbtwsDeviceSerNum"), ("RBTWS-TRAP-MIB", "rbtwsApNum"), ("RBTWS-TRAP-MIB", "rbtwsApName"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsRadioType"), ("RBTWS-TRAP-MIB", "rbtwsRadioMode"), ("RBTWS-TRAP-MIB", "rbtwsRadioConfigState"), ("RBTWS-TRAP-MIB", "rbtwsApConnectSecurityType"), ("RBTWS-TRAP-MIB", "rbtwsApServiceAvailability")) if mibBuilder.loadTexts: rbtwsApOperRadioStatusTrap2.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsApOperRadioStatusTrap2.setDescription('This trap is sent when the Radio changes state. It also contains aggregate information about the AP in operational state - security level and service availability. Obsoleted by rbtwsApOperRadioStatusTrap3.') rbtwsMichaelMICFailure = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 61)).setObjects(("RBTWS-TRAP-MIB", "rbtwsApNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsMichaelMICFailureCause"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress2")) if mibBuilder.loadTexts: rbtwsMichaelMICFailure.setStatus('current') if mibBuilder.loadTexts: rbtwsMichaelMICFailure.setDescription('Two Michael MIC failures were seen within 60 seconds of each other. Object rbtwsClientMACAddress indicates the source of the first failure, and object rbtwsClientMACAddress2 indicates the source of the second failure. Service is interrupted for 60 seconds on the radio due to TKIP countermeasures having commenced. The radio is identified by rbtwsApNum and rbtwsAPRadioNum. An alternative way to identify the radio is rbtwsRadioMACAddress. Obsoletes rbtwsMpMichaelMICFailure and rbtwsMpMichaelMICFailure2.') rbtwsClientAuthorizationSuccessTrap3 = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 62)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientIp"), ("RBTWS-TRAP-MIB", "rbtwsClientVLANName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionState"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthServerIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthenProtocolType"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessMode"), ("RBTWS-TRAP-MIB", "rbtwsPhysPortNum"), ("RBTWS-TRAP-MIB", "rbtwsApNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsUserAccessType"), ("RBTWS-TRAP-MIB", "rbtwsLocalId"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthorizationReason")) if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap3.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap3.setDescription("This trap is sent when a client authorizes. If rbtwsClientAccessMode = 'ap': rbtwsApNum, rbtwsAPRadioNum, rbtwsRadioSSID identify the AP/radio/BSS providing wireless service to this client at the time this trap was sent. If rbtwsClientAccessMode = 'wired': rbtwsPhysPortNum identifies the physical port on the AC used by this wired-auth client. Obsoleted by rbtwsClientAuthorizationSuccessTrap4.") rbtwsApManagerChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 63)).setObjects(("RBTWS-TRAP-MIB", "rbtwsDeviceSerNum"), ("RBTWS-TRAP-MIB", "rbtwsAPMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsApNum"), ("RBTWS-TRAP-MIB", "rbtwsApName"), ("RBTWS-TRAP-MIB", "rbtwsApMgrOldIp"), ("RBTWS-TRAP-MIB", "rbtwsApMgrNewIp"), ("RBTWS-TRAP-MIB", "rbtwsApMgrChangeReason")) if mibBuilder.loadTexts: rbtwsApManagerChangeTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsApManagerChangeTrap.setDescription("This trap is sent when the AP's secondary link becomes its primary link.") rbtwsClientClearedTrap2 = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 64)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessMode"), ("RBTWS-TRAP-MIB", "rbtwsPhysPortNum"), ("RBTWS-TRAP-MIB", "rbtwsApNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionElapsedSeconds"), ("RBTWS-TRAP-MIB", "rbtwsLocalId"), ("RBTWS-TRAP-MIB", "rbtwsClientClearedReason")) if mibBuilder.loadTexts: rbtwsClientClearedTrap2.setStatus('current') if mibBuilder.loadTexts: rbtwsClientClearedTrap2.setDescription('This trap is sent when a client session is cleared. Obsoletes rbtwsClientClearedTrap.') rbtwsMobilityDomainResiliencyStatusTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 65)).setObjects(("RBTWS-TRAP-MIB", "rbtwsMobilityDomainResiliencyStatus")) if mibBuilder.loadTexts: rbtwsMobilityDomainResiliencyStatusTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainResiliencyStatusTrap.setDescription('This trap is sent by a mobility domain seed to announce changes in resilient capacity status.') rbtwsApOperRadioStatusTrap3 = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 66)).setObjects(("RBTWS-TRAP-MIB", "rbtwsDeviceSerNum"), ("RBTWS-TRAP-MIB", "rbtwsApNum"), ("RBTWS-TRAP-MIB", "rbtwsApName"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsRadioType"), ("RBTWS-TRAP-MIB", "rbtwsRadioMode"), ("RBTWS-TRAP-MIB", "rbtwsRadioConfigState"), ("RBTWS-TRAP-MIB", "rbtwsRadioChannelWidth"), ("RBTWS-TRAP-MIB", "rbtwsRadioMimoState"), ("RBTWS-TRAP-MIB", "rbtwsApConnectSecurityType"), ("RBTWS-TRAP-MIB", "rbtwsApServiceAvailability")) if mibBuilder.loadTexts: rbtwsApOperRadioStatusTrap3.setStatus('current') if mibBuilder.loadTexts: rbtwsApOperRadioStatusTrap3.setDescription('This trap is sent when the Radio changes state. It also contains aggregate information about the AP in operational state - security level and service availability. Obsoletes rbtwsApOperRadioStatusTrap and rbtwsApOperRadioStatusTrap2.') rbtwsClientAuthorizationSuccessTrap4 = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 67)).setObjects(("RBTWS-TRAP-MIB", "rbtwsUserName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionId"), ("RBTWS-TRAP-MIB", "rbtwsClientMACAddress"), ("RBTWS-TRAP-MIB", "rbtwsClientIp"), ("RBTWS-TRAP-MIB", "rbtwsClientVLANName"), ("RBTWS-TRAP-MIB", "rbtwsClientSessionState"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthServerIp"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthenProtocolType"), ("RBTWS-TRAP-MIB", "rbtwsClientAccessMode"), ("RBTWS-TRAP-MIB", "rbtwsPhysPortNum"), ("RBTWS-TRAP-MIB", "rbtwsApNum"), ("RBTWS-TRAP-MIB", "rbtwsAPRadioNum"), ("RBTWS-TRAP-MIB", "rbtwsRadioSSID"), ("RBTWS-TRAP-MIB", "rbtwsClientRadioType"), ("RBTWS-TRAP-MIB", "rbtwsUserAccessType"), ("RBTWS-TRAP-MIB", "rbtwsLocalId"), ("RBTWS-TRAP-MIB", "rbtwsClientAuthorizationReason")) if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap4.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap4.setDescription("This trap is sent when a client authorizes. If rbtwsClientAccessMode = 'ap': rbtwsApNum, rbtwsAPRadioNum, rbtwsRadioSSID identify the AP/radio/BSS providing wireless service to this client at the time this trap was sent; rbtwsClientRadioType gives the type of radio used by this client. If rbtwsClientAccessMode = 'wired': rbtwsPhysPortNum identifies the physical port on the AC used by this wired-auth client. Obsoletes rbtwsClientAuthorizationSuccessTrap, rbtwsClientAuthorizationSuccessTrap2, rbtwsClientAuthorizationSuccessTrap3.") rbtwsRFDetectRogueDeviceTrap2 = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 68)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrRadioType"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrCryptoType"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectClassificationReason")) if mibBuilder.loadTexts: rbtwsRFDetectRogueDeviceTrap2.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectRogueDeviceTrap2.setDescription('This trap is sent when RF detection finds a rogue device. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectXmtrRadioType indicates the Type of Radio used by the transmitter (rogue device). rbtwsRFDetectXmtrCryptoType indicates the Type of Crypto used by the transmitter (rogue device). rbtwsRFDetectListenerListInfo is a display string of a list of listener information. rbtwsRFDetectClassificationReason indicates the reason why the device is classified as rogue. Obsoletes rbtwsRFDetectRogueAPTrap, rbtwsRFDetectUnAuthorizedAPTrap, rbtwsRFDetectRogueDeviceTrap.') rbtwsRFDetectSuspectDeviceTrap2 = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 69)).setObjects(("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrMacAddr"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrRadioType"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectXmtrCryptoType"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectListenerListInfo"), ("RBTWS-TRAP-MIB", "rbtwsRFDetectClassificationReason")) if mibBuilder.loadTexts: rbtwsRFDetectSuspectDeviceTrap2.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectSuspectDeviceTrap2.setDescription('This trap is sent when RF detection finds a suspect device. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectXmtrRadioType indicates the Type of Radio used by the transmitter (suspect device). rbtwsRFDetectXmtrCryptoType indicates the Type of Crypto used by the transmitter (suspect device). rbtwsRFDetectListenerListInfo is a display string of a list of listener information. rbtwsRFDetectClassificationReason indicates the reason why the device is classified as suspect. Obsoletes rbtwsRFDetectInterferingRogueAPTrap, rbtwsRFDetectSuspectDeviceTrap.') rbtwsClusterFailureTrap = NotificationType((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 70)).setObjects(("RBTWS-TRAP-MIB", "rbtwsClusterFailureReason"), ("RBTWS-TRAP-MIB", "rbtwsClusterFailureDescription")) if mibBuilder.loadTexts: rbtwsClusterFailureTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClusterFailureTrap.setDescription("This trap is sent when the cluster configuration failed to apply. If rbtwsClusterFailureReason = 'validation-error': The validation error is reported by the receiving end of the configuration updates. The receiving end can be any AC (switch) in the mobility domain: member, secondary seed or primary seed. - Primary seed will be the receiving end of configuration updates when Primary seed is joining the cluster and Secondary seed has preempt mode enabled. - Both Secondary seed and member will be at the receiving end when Primary seed is active.") mibBuilder.exportSymbols("RBTWS-TRAP-MIB", RbtwsUserAttributeList=RbtwsUserAttributeList, rbtwsMobilityDomainJoinTrap=rbtwsMobilityDomainJoinTrap, rbtwsAutoTuneRadioPowerChangeTrap=rbtwsAutoTuneRadioPowerChangeTrap, rbtwsClientAuthorizationSuccessTrap4=rbtwsClientAuthorizationSuccessTrap4, rbtwsMobilityDomainIp=rbtwsMobilityDomainIp, rbtwsRFDetectInterferingRogueAPTrap=rbtwsRFDetectInterferingRogueAPTrap, rbtwsDeviceId=rbtwsDeviceId, rbtwsPoEFailTrap=rbtwsPoEFailTrap, rbtwsClientRoamedFromPortNum=rbtwsClientRoamedFromPortNum, rbtwsConfigSaveInitiatorIp=rbtwsConfigSaveInitiatorIp, rbtwsRFDetectDoSTrap=rbtwsRFDetectDoSTrap, rbtwsConfigurationSavedTrap=rbtwsConfigurationSavedTrap, rbtwsMobilityDomainTimeoutTrap=rbtwsMobilityDomainTimeoutTrap, rbtwsCounterMeasureStartTrap=rbtwsCounterMeasureStartTrap, RbtwsSessionDisconnectType=RbtwsSessionDisconnectType, PYSNMP_MODULE_ID=rbtwsTrapMib, RbtwsRFDetectDoSType=RbtwsRFDetectDoSType, rbtwsRFDetectClientViaRogueWiredAPTrap2=rbtwsRFDetectClientViaRogueWiredAPTrap2, rbtwsCounterMeasurePerformerListInfo=rbtwsCounterMeasurePerformerListInfo, rbtwsUserAccessType=rbtwsUserAccessType, rbtwsClientClearedTrap2=rbtwsClientClearedTrap2, rbtwsClientDeAssociationTrap=rbtwsClientDeAssociationTrap, rbtwsApMgrChangeReason=rbtwsApMgrChangeReason, rbtwsRFDetectXmtrRadioType=rbtwsRFDetectXmtrRadioType, rbtwsDAPconnectWarningType=rbtwsDAPconnectWarningType, rbtwsMichaelMICFailureCause=rbtwsMichaelMICFailureCause, rbtwsRFDetectBlacklistedTrap=rbtwsRFDetectBlacklistedTrap, RbtwsClientClearedReason=RbtwsClientClearedReason, rbtwsClientRoamedFromWsIp=rbtwsClientRoamedFromWsIp, rbtwsApPortOrDapNum=rbtwsApPortOrDapNum, rbtwsSourceWsIp=rbtwsSourceWsIp, rbtwsRadioMimoState=rbtwsRadioMimoState, rbtwsRFDetectClassificationChangeTrap=rbtwsRFDetectClassificationChangeTrap, rbtwsOldChannelNum=rbtwsOldChannelNum, rbtwsClientAuthenticationFailureCause=rbtwsClientAuthenticationFailureCause, RbtwsDot1xFailureType=RbtwsDot1xFailureType, RbtwsClusterFailureReason=RbtwsClusterFailureReason, rbtwsClientSessionState=rbtwsClientSessionState, rbtwsDeviceOkayTrap=rbtwsDeviceOkayTrap, rbtwsRFDetectClientViaRogueWiredAPTrap=rbtwsRFDetectClientViaRogueWiredAPTrap, rbtwsApConnectSecurityType=rbtwsApConnectSecurityType, rbtwsConfigSaveInitiatorDetails=rbtwsConfigSaveInitiatorDetails, rbtwsRadioSSID=rbtwsRadioSSID, rbtwsConfigSaveGeneration=rbtwsConfigSaveGeneration, rbtwsClientClearedReason=rbtwsClientClearedReason, rbtwsClientFailureCause=rbtwsClientFailureCause, rbtwsRFDetectDoSPortTrap=rbtwsRFDetectDoSPortTrap, rbtwsClientDynAuthorClientIp=rbtwsClientDynAuthorClientIp, rbtwsDeviceSerNum=rbtwsDeviceSerNum, rbtwsUserName=rbtwsUserName, rbtwsRFDetectSuspectDeviceDisappearTrap=rbtwsRFDetectSuspectDeviceDisappearTrap, rbtwsClientVLANtag=rbtwsClientVLANtag, rbtwsMobilityDomainResiliencyStatus=rbtwsMobilityDomainResiliencyStatus, rbtwsChangedUserParamOldValues=rbtwsChangedUserParamOldValues, rbtwsClientVLANid=rbtwsClientVLANid, rbtwsClientAuthorizationReason=rbtwsClientAuthorizationReason, RbtwsMichaelMICFailureCause=RbtwsMichaelMICFailureCause, rbtwsRFDetectRogueDisappearTrap=rbtwsRFDetectRogueDisappearTrap, rbtwsDAPConnectWarningTrap=rbtwsDAPConnectWarningTrap, rbtwsApAttachType=rbtwsApAttachType, rbtwsConfigSaveInitiatorType=rbtwsConfigSaveInitiatorType, rbtwsClientDot1xState=rbtwsClientDot1xState, rbtwsRadioPowerChangeReason=rbtwsRadioPowerChangeReason, rbtwsChannelChangeReason=rbtwsChannelChangeReason, rbtwsClientAccessType=rbtwsClientAccessType, rbtwsRFDetectXmtrCryptoType=rbtwsRFDetectXmtrCryptoType, rbtwsDeviceFailTrap=rbtwsDeviceFailTrap, rbtwsOldPowerLevel=rbtwsOldPowerLevel, rbtwsTrapMib=rbtwsTrapMib, rbtwsMobilityDomainSecondarySeedIp=rbtwsMobilityDomainSecondarySeedIp, rbtwsClusterFailureDescription=rbtwsClusterFailureDescription, rbtwsRadioBSSID=rbtwsRadioBSSID, rbtwsClientAssociationSuccessTrap=rbtwsClientAssociationSuccessTrap, rbtwsBlacklistingCause=rbtwsBlacklistingCause, rbtwsApOperRadioStatusTrap3=rbtwsApOperRadioStatusTrap3, rbtwsClientDynAuthorChangeSuccessTrap=rbtwsClientDynAuthorChangeSuccessTrap, rbtwsClientAuthenProtocolType=rbtwsClientAuthenProtocolType, rbtwsClientDot1xFailureTrap=rbtwsClientDot1xFailureTrap, rbtwsRFDetectXmtrMacAddr=rbtwsRFDetectXmtrMacAddr, rbtwsPhysPortNum=rbtwsPhysPortNum, rbtwsRFDetectUnAuthorizedOuiTrap=rbtwsRFDetectUnAuthorizedOuiTrap, rbtwsApNonOperStatusTrap2=rbtwsApNonOperStatusTrap2, rbtwsAPMACAddress=rbtwsAPMACAddress, rbtwsChangedUserParamNewValues=rbtwsChangedUserParamNewValues, rbtwsUserParams=rbtwsUserParams, rbtwsClientAuthorizationSuccessTrap3=rbtwsClientAuthorizationSuccessTrap3, rbtwsRFDetectAdhocUserTrap=rbtwsRFDetectAdhocUserTrap, rbtwsMobilityDomainPrimarySeedIp=rbtwsMobilityDomainPrimarySeedIp, rbtwsApManagerChangeTrap=rbtwsApManagerChangeTrap, rbtwsClientRoamingTrap=rbtwsClientRoamingTrap, rbtwsRFDetectDoSType=rbtwsRFDetectDoSType, rbtwsRFDetectAdhocUserDisappearTrap=rbtwsRFDetectAdhocUserDisappearTrap, rbtwsMichaelMICFailure=rbtwsMichaelMICFailure, rbtwsTrapsV2=rbtwsTrapsV2, rbtwsRFDetectRogueDeviceTrap=rbtwsRFDetectRogueDeviceTrap, rbtwsDAPNum=rbtwsDAPNum, rbtwsMpMichaelMICFailure2=rbtwsMpMichaelMICFailure2, rbtwsRadioChannelWidth=rbtwsRadioChannelWidth, rbtwsRFDetectClientViaRogueWiredAPTrap3=rbtwsRFDetectClientViaRogueWiredAPTrap3, rbtwsAutoTuneRadioChannelChangeTrap=rbtwsAutoTuneRadioChannelChangeTrap, rbtwsNewChannelNum=rbtwsNewChannelNum, rbtwsClusterFailureTrap=rbtwsClusterFailureTrap, rbtwsClientRoamedFromDAPNum=rbtwsClientRoamedFromDAPNum, rbtwsApMgrOldIp=rbtwsApMgrOldIp, rbtwsClientAssociationFailureTrap=rbtwsClientAssociationFailureTrap, rbtwsApName=rbtwsApName, rbtwsPortNum=rbtwsPortNum, rbtwsCounterMeasureStopTrap=rbtwsCounterMeasureStopTrap, rbtwsApMgrNewIp=rbtwsApMgrNewIp, rbtwsClientRoamedFromAccessType=rbtwsClientRoamedFromAccessType, rbtwsApServiceAvailability=rbtwsApServiceAvailability, rbtwsClientIpAddrChangeReason=rbtwsClientIpAddrChangeReason, rbtwsMobilityDomainResiliencyStatusTrap=rbtwsMobilityDomainResiliencyStatusTrap, rbtwsClientAuthorizationSuccessTrap2=rbtwsClientAuthorizationSuccessTrap2, rbtwsRadioConfigState=rbtwsRadioConfigState, rbtwsClientMACAddress=rbtwsClientMACAddress, rbtwsApFailDetail=rbtwsApFailDetail, rbtwsClientDisconnectTrap=rbtwsClientDisconnectTrap, rbtwsClientDynAuthorChangeFailureTrap=rbtwsClientDynAuthorChangeFailureTrap, rbtwsClientAuthServerIp=rbtwsClientAuthServerIp, rbtwsRadioPowerChangeDescription=rbtwsRadioPowerChangeDescription, rbtwsClientAuthorizationFailureCause=rbtwsClientAuthorizationFailureCause, rbtwsRFDetectRogueDeviceDisappearTrap=rbtwsRFDetectRogueDeviceDisappearTrap, rbtwsClientAuthorizationSuccessTrap=rbtwsClientAuthorizationSuccessTrap, rbtwsClientAccessMode=rbtwsClientAccessMode, RbtwsAuthenticationFailureType=RbtwsAuthenticationFailureType, rbtwsApOperRadioStatusTrap2=rbtwsApOperRadioStatusTrap2, RbtwsAuthorizationFailureType=RbtwsAuthorizationFailureType, rbtwsClientAuthorizationFailureTrap=rbtwsClientAuthorizationFailureTrap, rbtwsRFDetectInterferingRogueDisappearTrap=rbtwsRFDetectInterferingRogueDisappearTrap, rbtwsApNonOperStatusTrap=rbtwsApNonOperStatusTrap, rbtwsRFDetectSpoofedMacAPTrap=rbtwsRFDetectSpoofedMacAPTrap, RbtwsAssociationFailureType=RbtwsAssociationFailureType, rbtwsClientLocationPolicyIndex=rbtwsClientLocationPolicyIndex, rbtwsRadioRssi=rbtwsRadioRssi, rbtwsClientIp=rbtwsClientIp, rbtwsAPAccessType=rbtwsAPAccessType, rbtwsRFDetectClassificationReason=rbtwsRFDetectClassificationReason, rbtwsRadioMACAddress=rbtwsRadioMACAddress, rbtwsRFDetectUnAuthorizedAPTrap=rbtwsRFDetectUnAuthorizedAPTrap, rbtwsRFDetectRogueAPTrap=rbtwsRFDetectRogueAPTrap, rbtwsClientSessionId=rbtwsClientSessionId, rbtwsClientDisconnectDescription=rbtwsClientDisconnectDescription, rbtwsAPRadioNum=rbtwsAPRadioNum, rbtwsNumLicensedActiveAPs=rbtwsNumLicensedActiveAPs, rbtwsMpMichaelMICFailure=rbtwsMpMichaelMICFailure, rbtwsClientRadioType=rbtwsClientRadioType, rbtwsMobilityDomainFailOverTrap=rbtwsMobilityDomainFailOverTrap, rbtwsDeviceModel=rbtwsDeviceModel, rbtwsRFDetectSuspectDeviceTrap2=rbtwsRFDetectSuspectDeviceTrap2, rbtwsRsaPubKeyFingerPrint=rbtwsRsaPubKeyFingerPrint, rbtwsClientSessionElapsedSeconds=rbtwsClientSessionElapsedSeconds, rbtwsClientTimeSinceLastRoam=rbtwsClientTimeSinceLastRoam, rbtwsRFDetectSuspectDeviceTrap=rbtwsRFDetectSuspectDeviceTrap, rbtwsLocalId=rbtwsLocalId, rbtwsClientFailureCauseDescription=rbtwsClientFailureCauseDescription, rbtwsClientDeAuthenticationTrap=rbtwsClientDeAuthenticationTrap, rbtwsNewPowerLevel=rbtwsNewPowerLevel, rbtwsClientMACAddress2=rbtwsClientMACAddress2, rbtwsApTransition=rbtwsApTransition, rbtwsClientIpAddrChangeTrap=rbtwsClientIpAddrChangeTrap, RbtwsMobilityDomainResiliencyStatus=RbtwsMobilityDomainResiliencyStatus, RbtwsClientIpAddrChangeReason=RbtwsClientIpAddrChangeReason, rbtwsClientRoamedFromRadioNum=rbtwsClientRoamedFromRadioNum, rbtwsBlacklistingRemainingTime=rbtwsBlacklistingRemainingTime, rbtwsClientAuthenticationSuccessTrap=rbtwsClientAuthenticationSuccessTrap, rbtwsRFDetectSpoofedSsidAPTrap=rbtwsRFDetectSpoofedSsidAPTrap, rbtwsClientVLANName=rbtwsClientVLANName, rbtwsClientAssociationFailureCause=rbtwsClientAssociationFailureCause, rbtwsClientSessionElapsedTime=rbtwsClientSessionElapsedTime, rbtwsRFDetectListenerListInfo=rbtwsRFDetectListenerListInfo, rbtwsClientDot1xFailureCause=rbtwsClientDot1xFailureCause, rbtwsClusterFailureReason=rbtwsClusterFailureReason, rbtwsRFDetectRogueDeviceTrap2=rbtwsRFDetectRogueDeviceTrap2, rbtwsRFDetectRogueAPMacAddr=rbtwsRFDetectRogueAPMacAddr, rbtwsClientDisconnectSource=rbtwsClientDisconnectSource, rbtwsMobilityDomainFailBackTrap=rbtwsMobilityDomainFailBackTrap, rbtwsApWasOperational=rbtwsApWasOperational, RbtwsConfigSaveInitiatorType=RbtwsConfigSaveInitiatorType, rbtwsClientAuthenticationFailureTrap=rbtwsClientAuthenticationFailureTrap, RbtwsApMgrChangeReason=RbtwsApMgrChangeReason, rbtwsClientSessionStartTime=rbtwsClientSessionStartTime, rbtwsApRejectLicenseExceededTrap=rbtwsApRejectLicenseExceededTrap, RbtwsClientAuthorizationReason=RbtwsClientAuthorizationReason, rbtwsAPBootTrap=rbtwsAPBootTrap, rbtwsConfigSaveFileName=rbtwsConfigSaveFileName, rbtwsRFDetectUnAuthorizedSsidTrap=rbtwsRFDetectUnAuthorizedSsidTrap, rbtwsApOperRadioStatusTrap=rbtwsApOperRadioStatusTrap, rbtwsRadioMode=rbtwsRadioMode, rbtwsClientClearedTrap=rbtwsClientClearedTrap, rbtwsApTimeoutTrap=rbtwsApTimeoutTrap, rbtwsApNum=rbtwsApNum, rbtwsRadioType=rbtwsRadioType, RbtwsBlacklistingCause=RbtwsBlacklistingCause)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (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') (rbtws_ap_fingerprint, rbtws_radio_config_state, rbtws_ap_connect_security_type, rbtws_channel_change_type, rbtws_ap_num, rbtws_ap_service_availability, rbtws_radio_type, rbtws_ap_serial_num, rbtws_ap_attach_type, rbtws_ap_fail_detail, rbtws_radio_mimo_state, rbtws_radio_channel_width, rbtws_radio_mode, rbtws_radio_num, rbtws_power_level, rbtws_crypto_type, rbtws_ap_was_operational, rbtws_radio_power_change_type, rbtws_access_type, rbtws_ap_transition, rbtws_ap_port_or_dap_num) = mibBuilder.importSymbols('RBTWS-AP-TC', 'RbtwsApFingerprint', 'RbtwsRadioConfigState', 'RbtwsApConnectSecurityType', 'RbtwsChannelChangeType', 'RbtwsApNum', 'RbtwsApServiceAvailability', 'RbtwsRadioType', 'RbtwsApSerialNum', 'RbtwsApAttachType', 'RbtwsApFailDetail', 'RbtwsRadioMimoState', 'RbtwsRadioChannelWidth', 'RbtwsRadioMode', 'RbtwsRadioNum', 'RbtwsPowerLevel', 'RbtwsCryptoType', 'RbtwsApWasOperational', 'RbtwsRadioPowerChangeType', 'RbtwsAccessType', 'RbtwsApTransition', 'RbtwsApPortOrDapNum') (rbtws_client_authen_protocol_type, rbtws_client_session_state, rbtws_client_dot1x_state, rbtws_client_access_mode, rbtws_user_access_type) = mibBuilder.importSymbols('RBTWS-CLIENT-SESSION-TC', 'RbtwsClientAuthenProtocolType', 'RbtwsClientSessionState', 'RbtwsClientDot1xState', 'RbtwsClientAccessMode', 'RbtwsUserAccessType') (rbtws_rf_detect_classification_reason,) = mibBuilder.importSymbols('RBTWS-RF-DETECT-TC', 'RbtwsRFDetectClassificationReason') (rbtws_traps, rbtws_mibs, rbtws_temporary) = mibBuilder.importSymbols('RBTWS-ROOT-MIB', 'rbtwsTraps', 'rbtwsMibs', 'rbtwsTemporary') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (integer32, unsigned32, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column, bits, iso, notification_type, counter32, object_identity, ip_address, mib_identifier, module_identity, gauge32, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'Unsigned32', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits', 'iso', 'NotificationType', 'Counter32', 'ObjectIdentity', 'IpAddress', 'MibIdentifier', 'ModuleIdentity', 'Gauge32', 'Counter64') (textual_convention, display_string, mac_address) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString', 'MacAddress') rbtws_trap_mib = module_identity((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 4, 1)) rbtwsTrapMib.setRevisions(('2008-05-15 02:15', '2008-05-07 02:12', '2008-04-22 02:02', '2008-04-10 02:01', '2008-04-08 01:58', '2008-02-18 01:57', '2007-12-03 01:53', '2007-11-15 01:52', '2007-11-01 01:45', '2007-10-01 01:41', '2007-08-31 01:40', '2007-08-24 01:22', '2007-07-06 01:10', '2007-06-05 01:07', '2007-05-17 01:06', '2007-05-04 01:03', '2007-04-19 01:00', '2007-03-27 00:54', '2007-02-15 00:53', '2007-01-09 00:52', '2007-01-09 00:51', '2007-01-09 00:50', '2006-09-28 00:45', '2006-08-08 00:42', '2006-07-31 00:40', '2006-07-28 00:32', '2006-07-23 00:29', '2006-07-12 00:28', '2006-07-07 00:26', '2006-07-07 00:25', '2006-07-06 00:23', '2006-04-19 00:22', '2006-04-19 00:21', '2005-01-01 00:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: rbtwsTrapMib.setRevisionsDescriptions(('v3.8.5: Clarified description to reflect the actual use and avoid future misuse of rbtwsDeviceSerNum. Updated description for rbtwsApName. Documented the meaning of RbtwsClientIpAddrChangeReason enumeration values. This will be published in 7.0 release.', 'v3.8.2: Added new trap: rbtwsClusterFailureTrap, related TC and objects: RbtwsClusterFailureReason, rbtwsClusterFailureReason, rbtwsClusterFailureDescription (for 7.0 release)', 'v3.7.2: Added new traps: rbtwsRFDetectRogueDeviceTrap2, rbtwsRFDetectSuspectDeviceTrap2 and related objects: rbtwsRFDetectXmtrRadioType, rbtwsRFDetectXmtrCryptoType. Obsoleted rbtwsRFDetectRogueDeviceTrap, rbtwsRFDetectSuspectDeviceTrap. (for 7.0 release)', 'v3.7.1: Added new trap: rbtwsClientAuthorizationSuccessTrap4, and related object: rbtwsClientRadioType. Obsoletes rbtwsClientAuthorizationSuccessTrap, rbtwsClientAuthorizationSuccessTrap2, rbtwsClientAuthorizationSuccessTrap3. (for 7.0 release)', 'v3.6.8: Obsoleted two traps: rbtwsRFDetectSpoofedMacAPTrap, rbtwsRFDetectSpoofedSsidAPTrap. (for 7.0 release)', 'v3.6.7: Redesigned the AP Operational - Radio Status trap to support 11n-capable APs. Added varbindings: rbtwsRadioChannelWidth, rbtwsRadioMimoState. The new trap is rbtwsApOperRadioStatusTrap3. (for 7.0 release)', 'v3.6.3: Obsoleted one object: rbtwsApPortOrDapNum (previously deprecated). This will be published in 7.0 release.', 'v3.6.2: Added three new traps: rbtwsApManagerChangeTrap, rbtwsClientClearedTrap2, rbtwsMobilityDomainResiliencyStatusTrap, related TCs and objects: RbtwsApMgrChangeReason, rbtwsApMgrChangeReason, rbtwsApMgrOldIp, rbtwsApMgrNewIp, rbtwsClientSessionElapsedSeconds, RbtwsClientClearedReason, rbtwsClientClearedReason, RbtwsMobilityDomainResiliencyStatus, rbtwsMobilityDomainResiliencyStatus. Obsoleted one trap: rbtwsClientClearedTrap, and related object: rbtwsClientSessionElapsedTime. (for 7.0 release)', 'v3.5.5: Added new trap: rbtwsClientAuthorizationSuccessTrap3, related TC and objects: RbtwsClientAuthorizationReason rbtwsClientAuthorizationReason, rbtwsClientAccessMode, rbtwsPhysPortNum. Obsoletes rbtwsClientAuthorizationSuccessTrap, rbtwsClientAuthorizationSuccessTrap2. (for 6.2 release)', 'v3.5.1: Cleaned up object (rbtwsAPAccessType). Marked it as obsolete, because instrumentation code for traps using it was removed long time ago. (This will be published in 6.2 release.)', "v3.5.0: Corrected rbtwsClientMACAddress2 SYNTAX: its value was always a MacAddress, not an arbitrary 'OCTET STRING (SIZE (6))'. There is no change on the wire, just a more appropriate DISPLAY-HINT.", 'v3.3.2: Added new trap: rbtwsMichaelMICFailure, related TC and object: RbtwsMichaelMICFailureCause, rbtwsMichaelMICFailureCause. Obsoletes rbtwsMpMichaelMICFailure, rbtwsMpMichaelMICFailure2. (for 6.2 release)', 'v3.2.0: Redesigned the AP Status traps. - Replaced rbtwsApAttachType and rbtwsApPortOrDapNum with a single varbinding, rbtwsApNum. - Added varbinding rbtwsRadioMode to the AP Operational - Radio Status trap. The new traps are rbtwsApNonOperStatusTrap2, rbtwsApOperRadioStatusTrap2. (for 6.2 release)', 'v3.1.2: Obsoleted one trap: rbtwsRFDetectUnAuthorizedAPTrap (for 6.2 release)', 'v3.1.1: Added new trap: rbtwsConfigurationSavedTrap and related objects: rbtwsConfigSaveFileName, rbtwsConfigSaveInitiatorType, rbtwsConfigSaveInitiatorIp, rbtwsConfigSaveInitiatorDetails, rbtwsConfigSaveGeneration. (for 6.2 release)', 'v3.0.1: added one value (3) to RbtwsClientIpAddrChangeReason', 'v3.0.0: Added six new traps: rbtwsRFDetectRogueDeviceTrap, rbtwsRFDetectRogueDeviceDisappearTrap, rbtwsRFDetectSuspectDeviceTrap, rbtwsRFDetectSuspectDeviceDisappearTrap, rbtwsRFDetectClientViaRogueWiredAPTrap3, rbtwsRFDetectClassificationChangeTrap and related object: rbtwsRFDetectClassificationReason. Obsoleted seven traps: rbtwsRFDetectRogueAPTrap, rbtwsRFDetectRogueDisappearTrap, rbtwsRFDetectInterferingRogueAPTrap, rbtwsRFDetectInterferingRogueDisappearTrap, rbtwsRFDetectUnAuthorizedSsidTrap, rbtwsRFDetectUnAuthorizedOuiTrap, rbtwsRFDetectClientViaRogueWiredAPTrap2. (for 6.2 release)', 'v2.9.2: added three values (13, 14, 15) to RbtwsAuthorizationFailureType (for 6.2 release)', 'v2.9.1: Cleaned up trap (rbtwsClientAuthorizationSuccessTrap) and object (rbtwsRadioRssi) deprecated long time ago. Marked them as obsolete, because instrumentation code was removed already. (This will be published in 6.2 release.)', 'v2.9.0: Added two textual conventions: RbtwsUserAttributeList, RbtwsSessionDisconnectType three new traps: rbtwsClientDynAuthorChangeSuccessTrap, rbtwsClientDynAuthorChangeFailureTrap, rbtwsClientDisconnectTrap and related objects: rbtwsClientDynAuthorClientIp, rbtwsChangedUserParamOldValues, rbtwsChangedUserParamNewValues, rbtwsClientDisconnectSource, rbtwsClientDisconnectDescription (for 6.2 release)', 'v2.8.5: added one value (24) to RbtwsRFDetectDoSType (for 6.2 release)', 'v2.6.4: Added two new traps: rbtwsMobilityDomainFailOverTrap, rbtwsMobilityDomainFailBackTrap and related objects: rbtwsMobilityDomainSecondarySeedIp, rbtwsMobilityDomainPrimarySeedIp (for 6.0 release)', 'v2.6.2: Factored out four textual conventions into a new module, Client Session TC: RbtwsClientSessionState, RbtwsClientAuthenProtocolType, RbtwsClientDot1xState, RbtwsUserAccessType and imported them from there.', 'v2.5.2: Added new trap: rbtwsApRejectLicenseExceededTrap and related object: rbtwsNumLicensedActiveAPs (for 6.0 release)', 'v2.5.0: Added new trap: rbtwsRFDetectAdhocUserDisappearTrap (for 6.0 release)', 'v2.4.7: Removed unused imports', 'v2.4.1: Added new trap: rbtwsRFDetectBlacklistedTrap, related textual convention: RbtwsBlacklistingCause and objects: rbtwsBlacklistingRemainingTime, rbtwsBlacklistingCause (for 6.0 release)', 'v2.4.0: Added new trap: RFDetectClientViaRogueWiredAPTrap2 and related object: rbtwsRFDetectRogueAPMacAddr. This trap obsoletes the RFDetectClientViaRogueWiredAPTrap (for 6.0 release)', 'v2.3.1: Added 3 new traps: rbtwsClientAssociationSuccessTrap, rbtwsClientAuthenticationSuccessTrap, rbtwsClientDeAuthenticationTrap (for 6.0 release)', 'v2.3.0: Added new trap: rbtwsClientIpAddrChangeTrap and related object: RbtwsClientIpAddrChangeReason (for 6.0 release)', 'v2.2.0: added two values (13, 14) to RbtwsAuthenticationFailureType (for 6.0 release)', 'v2.1.6: Updated client connection failure causes and descriptions (for 5.0 release)', 'v2.0.6: Revised for 4.1 release', 'v1: initial version, as for 4.0 and older releases')) if mibBuilder.loadTexts: rbtwsTrapMib.setLastUpdated('200805151711Z') if mibBuilder.loadTexts: rbtwsTrapMib.setOrganization('Enterasys Networks') if mibBuilder.loadTexts: rbtwsTrapMib.setContactInfo('www.enterasys.com') if mibBuilder.loadTexts: rbtwsTrapMib.setDescription("Notifications emitted by Enterasys Networks wireless switches. AP = Access Point; AC = Access Controller (wireless switch), the device that runs a SNMP Agent implementing this MIB. Copyright 2008 Enterasys Networks, Inc. All rights reserved. This SNMP Management Information Base Specification (Specification) embodies confidential and proprietary intellectual property. This Specification is supplied 'AS IS' and Enterasys Networks makes no warranty, either express or implied, as to the use, operation, condition, or performance of the Specification.") rbtws_traps_v2 = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0)) class Rbtwsassociationfailuretype(TextualConvention, Integer32): description = "Enumeration of the reasons for an AP to fail a client's 802.11 association" status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)) named_values = named_values(('other', 1), ('load-balance', 2), ('quiet-period', 3), ('dot1x', 4), ('no-prev-assoc', 5), ('glare', 6), ('cipher-rejected', 7), ('cipher-mismatch', 8), ('wep-not-configured', 9), ('bad-assoc-request', 10), ('out-of-memory', 11), ('tkip-cm-active', 12), ('roam-in-progress', 13)) class Rbtwsauthenticationfailuretype(TextualConvention, Integer32): description = "Enumeration of the reasons for AAA authentication to fail user-glob-mismatch - auth rule/user not found for console login user-does-not-exist - login failed because user not found invalid-password - login failed because of invalid password server-timeout - unable to contact a AAA server signature-failed - incorrect password for mschapv2 local-certificate-error - certificate error all-servers-down - unable to contact any AAA server in the group authentication-type-mismatch - client and switch are using different authentication methods server-rejected - received reject from AAA server fallthru-auth-misconfig - problem with fallthru authentication no-lastresort-auth - problem with last-resort authentication exceeded-max-attempts - local user failed to login within allowed number of attempts resulting in account lockout password-expired - user's password expired" status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)) named_values = named_values(('other', 1), ('user-glob-mismatch', 2), ('user-does-not-exist', 3), ('invalid-password', 4), ('server-timeout', 5), ('signature-failed', 6), ('local-certificate-error', 7), ('all-servers-down', 8), ('authentication-type-mismatch', 9), ('server-rejected', 10), ('fallthru-auth-misconfig', 11), ('no-lastresort-auth', 12), ('exceeded-max-attempts', 13), ('password-expired', 14)) class Rbtwsauthorizationfailuretype(TextualConvention, Integer32): description = 'Enumeration of the reasons for AAA authorization failure' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)) named_values = named_values(('other', 1), ('user-param', 2), ('location-policy', 3), ('vlan-tunnel-failure', 4), ('ssid-mismatch', 5), ('acl-mismatch', 6), ('timeofday-mismatch', 7), ('crypto-type-mismatch', 8), ('mobility-profile-mismatch', 9), ('start-date-mismatch', 10), ('end-date-mismatch', 11), ('svr-type-mismatch', 12), ('ssid-defaults', 13), ('qos-profile-mismatch', 14), ('simultaneous-logins', 15)) class Rbtwsdot1Xfailuretype(TextualConvention, Integer32): description = "Enumeration of the dot1x failure reasons. quiet-period occurs when client is denied access for a period of time after a failed connection attempt administrative-kill means that the session was cleared using the 'clear dot1x client' command bad-rsnie means that client sent an invalid IE timeout is when there are excessive retransmissions max-sessions-exceeded means the maximum allowed wired clients has been exceeded on the switch fourway-hs-failure is for failures occuring the 4-way key handshake user-glob-mismatch means the name received in the dot1x identity request does not match any configured userglobs in the system reauth-disabled means that the client is trying to reauthenticate but reauthentication is disabled gkhs-failure means that either there was no response from the client during the GKHS or the response did not have an IE force-unauth-configured means that the client is trying to connect through a port which is configured as force-unauth cert-not-installed means that there is no certificate installed on the switch" status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)) named_values = named_values(('other', 1), ('quiet-period', 2), ('administrative-kill', 3), ('bad-rsnie', 4), ('timeout', 5), ('max-sessions-exceeded', 6), ('fourway-hs-failure', 7), ('user-glob-mismatch', 8), ('bonded-auth-failure', 9), ('reauth-disabled', 10), ('gkhs-failure', 11), ('force-unauth-configured', 12), ('cert-not-installed', 13)) class Rbtwsrfdetectdostype(TextualConvention, Integer32): description = 'The types of denial of service (DoS) attacks' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)) named_values = named_values(('probe-flood', 1), ('auth-flood', 2), ('null-data-flood', 3), ('mgmt-6-flood', 4), ('mgmt-7-flood', 5), ('mgmt-d-flood', 6), ('mgmt-e-flood', 7), ('mgmt-f-flood', 8), ('fakeap-ssid', 9), ('fakeap-bssid', 10), ('bcast-deauth', 11), ('null-probe-resp', 12), ('disassoc-spoof', 13), ('deauth-spoof', 14), ('decrypt-err', 15), ('weak-wep-iv', 16), ('wireless-bridge', 17), ('netstumbler', 18), ('wellenreiter', 19), ('adhoc-client-frame', 20), ('associate-pkt-flood', 21), ('re-associate-pkt-flood', 22), ('de-associate-pkt-flood', 23), ('bssid-spoof', 24)) class Rbtwsclientipaddrchangereason(TextualConvention, Integer32): description = 'Describes the reasons for client IP address changes: client-connected: IP address assigned on initial connection; other: IP address changed after initial connection; dhcp-to-static: erroneous condition where client IP address is changed to a static address while the dhcp-restrict option is enabled.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('client-connected', 1), ('other', 2), ('dhcp-to-static', 3)) class Rbtwsblacklistingcause(TextualConvention, Integer32): description = "Enumeration of reasons for blacklisting a transmitter: bl-configured: administrative action (explicitly added to the Black List), bl-associate-pkt-flood: Association request flood detected, bl-re-associate-pkt-flood: Re-association request flood detected, bl-de-associate-pkt-flood: De-association request flood detected. (The leading 'bl-' stands for 'Black-Listed'; reading it as 'Blocked' would also make sense)." status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('bl-configured', 1), ('bl-associate-pkt-flood', 2), ('bl-re-associate-pkt-flood', 3), ('bl-de-associate-pkt-flood', 4)) class Rbtwsuserattributelist(DisplayString): description = 'Display string listing AAA attributes and their values. These strings can be used, for example, in change of authorization notifications. The syntax is: attribute_name1=value1, attribute_name2=value2, ... where attribute_name can be one of the following: vlan-name, in-acl, out-acl, mobility-prof, time-of-day, end-date, sess-timeout, acct-interval, service-type. Example: vlan-name=red, in-acl=in_acl_1' status = 'current' subtype_spec = DisplayString.subtypeSpec + value_size_constraint(0, 2048) class Rbtwssessiondisconnecttype(TextualConvention, Integer32): description = 'Enumeration of the sources that can initiate the termination of a session: admin-disconnect: session terminated by administrative action (from console, telnet session, WebView, or RASM). dyn-auth-disconnect: session terminated by dynamic authorization client; description will have the IP address of the dynamic authorization client which sent the request.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('other', 1), ('admin-disconnect', 2), ('dyn-auth-disconnect', 3)) class Rbtwsconfigsaveinitiatortype(TextualConvention, Integer32): description = 'Enumeration of the sources that can initiate a configuration save: cli-console: configuration save requested from serial console administrative session. cli-remote: configuration save requested from telnet or ssh administrative session. https: configuration save requested via HTTPS API (RASM or WebView). snmp-set: configuration saved as a result of performing a SNMP SET operation.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5)) named_values = named_values(('other', 1), ('cli-console', 2), ('cli-remote', 3), ('https', 4), ('snmp-set', 5)) class Rbtwsmichaelmicfailurecause(TextualConvention, Integer32): description = 'Describes the cause/source of Michael MIC Failure detection.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('detected-by-ap', 1), ('detected-by-client', 2)) class Rbtwsclientauthorizationreason(TextualConvention, Integer32): description = 'Enumeration of the reasons for AAA authorization.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('other', 1), ('new-client', 2), ('re-auth', 3), ('roam', 4)) class Rbtwsapmgrchangereason(TextualConvention, Integer32): description = "Enumeration of the reasons why AP is switching to its secondary link: failover: AP's primary link failed. load-balancing: AP's primary link is overloaded." status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('other', 1), ('failover', 2), ('load-balancing', 3)) class Rbtwsclientclearedreason(TextualConvention, Integer32): description = 'Enumeration of the reasons for clearing a session: normal: Session was cleared from the switch as the last step in the normal session termination process. backup-failure: The backup switch could not activate a session from a failed MX.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('other', 1), ('normal', 2), ('backup-failure', 3)) class Rbtwsmobilitydomainresiliencystatus(TextualConvention, Integer32): description = 'Enumeration of the current resilient capacity status for a mobility domain: resilient: Every AP in the mobility domain has a secondary backup link. If the primary switch of an AP failed, the AP and its sessions would fail over to its backup link. degraded: Some APs only have a primary link. If the primary switch of an AP without a backup link failed, the AP would reboot and its sessions would be lost.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('other', 1), ('resilient', 2), ('degraded', 3)) class Rbtwsclusterfailurereason(TextualConvention, Integer32): description = 'Enumeration of the reasons why the AC goes into cluster failure state: validation-error: Cluster configuration rejected due to validation error.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('other', 1), ('validation-error', 2)) rbtws_device_id = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 1), object_identifier()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsDeviceId.setStatus('current') if mibBuilder.loadTexts: rbtwsDeviceId.setDescription('Enumeration of devices as indicated in registration MIB. This object is used within notifications and is not accessible.') rbtws_mobility_domain_ip = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 2), ip_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsMobilityDomainIp.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainIp.setDescription('IP address of the other switch which the send switch is reporting on. This object is used within notifications and is not accessible.') rbtws_apmac_address = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 3), mac_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsAPMACAddress.setStatus('current') if mibBuilder.loadTexts: rbtwsAPMACAddress.setDescription('MAC address of the AP of interest. This object is used within notifications and is not accessible.') rbtws_client_mac_address = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 4), mac_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientMACAddress.setStatus('current') if mibBuilder.loadTexts: rbtwsClientMACAddress.setDescription('MAC address of the client of interest. This object is used within notifications and is not accessible.') rbtws_rf_detect_xmtr_mac_addr = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 5), mac_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRFDetectXmtrMacAddr.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectXmtrMacAddr.setDescription("Describes the transmitter's MAC address. This object is used within notifications and is not accessible.") rbtws_port_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 22))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsPortNum.setStatus('current') if mibBuilder.loadTexts: rbtwsPortNum.setDescription('Port number on the AC which reported this rogue during a detection sweep. This object is used within notifications and is not accessible.') rbtws_ap_radio_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 7), rbtws_radio_num()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsAPRadioNum.setStatus('current') if mibBuilder.loadTexts: rbtwsAPRadioNum.setDescription('Radio number of the AP which reported this rogue during a detection sweep. This object is used within notifications and is not accessible.') rbtws_radio_rssi = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRadioRssi.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRadioRssi.setDescription('The received signal strength as measured by the AP radio which reported this rogue during a detection sweep. This object is used within notifications and is not accessible. Not used by any notification.') rbtws_radio_bssid = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 9), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRadioBSSID.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioBSSID.setDescription('The basic service set identifier of the rogue from the beacon frame reported by the AP during a detection sweep. This object is used within notifications and is not accessible.') rbtws_user_name = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 10), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsUserName.setStatus('current') if mibBuilder.loadTexts: rbtwsUserName.setDescription('The client user name as learned from the AAA process. This object is used within notifications and is not accessible.') rbtws_client_auth_server_ip = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 11), ip_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientAuthServerIp.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthServerIp.setDescription('The client authentication server ip address. This object is used within notifications and is not accessible.') rbtws_client_session_state = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 12), rbtws_client_session_state()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientSessionState.setStatus('current') if mibBuilder.loadTexts: rbtwsClientSessionState.setDescription('The state for a client session. This object is used within notifications and is not accessible.') rbtws_dap_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 13), integer32().subtype(subtypeSpec=value_range_constraint(1, 100))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsDAPNum.setStatus('current') if mibBuilder.loadTexts: rbtwsDAPNum.setDescription('The DAP number on the wireless switch. This object is used within notifications and is not accessible.') rbtws_client_ip = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 14), ip_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientIp.setStatus('current') if mibBuilder.loadTexts: rbtwsClientIp.setDescription('The client ip address. This object is used within notifications and is not accessible.') rbtws_client_session_id = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 15), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientSessionId.setStatus('current') if mibBuilder.loadTexts: rbtwsClientSessionId.setDescription('The unique global id for a client session. This object is used within notifications and is not accessible.') rbtws_client_authen_protocol_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 16), rbtws_client_authen_protocol_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientAuthenProtocolType.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthenProtocolType.setDescription('The authentication protocol for a client. This object is used within notifications and is not accessible.') rbtws_client_vlan_name = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 17), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientVLANName.setStatus('current') if mibBuilder.loadTexts: rbtwsClientVLANName.setDescription('The vlan name a client is on. This object is used within notifications and is not accessible.') rbtws_client_session_start_time = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 18), time_ticks()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientSessionStartTime.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsClientSessionStartTime.setDescription("The start time of a client session, relative to the sysUptime. This object is used within notifications and is not accessible. Obsolete. Do not use it because it's not vital information and often *cannot* be implemented to match the declared semantics: a client session might have been created on another wireless switch, *before* the current switch booted (the local zero of sysUptime).") rbtws_client_failure_cause = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 19), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientFailureCause.setStatus('current') if mibBuilder.loadTexts: rbtwsClientFailureCause.setDescription('Display string for possible failure cause for a client session. This object is used within notifications and is not accessible.') rbtws_client_roamed_from_port_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 20), integer32().subtype(subtypeSpec=value_range_constraint(1, 20))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientRoamedFromPortNum.setStatus('current') if mibBuilder.loadTexts: rbtwsClientRoamedFromPortNum.setDescription('The port number on the AC a client has roamed from. This object is used within notifications and is not accessible.') rbtws_client_roamed_from_radio_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 21), rbtws_radio_num()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientRoamedFromRadioNum.setStatus('current') if mibBuilder.loadTexts: rbtwsClientRoamedFromRadioNum.setDescription('The radio number of the AP the client is roamed from. This object is used within notifications and is not accessible.') rbtws_client_roamed_from_dap_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 22), integer32().subtype(subtypeSpec=value_range_constraint(1, 100))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientRoamedFromDAPNum.setStatus('current') if mibBuilder.loadTexts: rbtwsClientRoamedFromDAPNum.setDescription('The DAP number on the AC which reported this rogue during roam. This object is used within notifications and is not accessible.') rbtws_user_params = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 23), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsUserParams.setStatus('current') if mibBuilder.loadTexts: rbtwsUserParams.setDescription('A display string of User Parameters for client user authorization attributes learned through AAA and/or used by the system. Note that the syntax will be (name=value, name=value,..) for the parsing purpose. This object is used within notifications and is not accessible.') rbtws_client_location_policy_index = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 24), integer32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientLocationPolicyIndex.setStatus('current') if mibBuilder.loadTexts: rbtwsClientLocationPolicyIndex.setDescription('Index of the Location Policy rule applied to a user. This object is used within notifications and is not accessible.') rbtws_client_association_failure_cause = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 25), rbtws_association_failure_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientAssociationFailureCause.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAssociationFailureCause.setDescription('The client association failure cause. This object is used within notifications and is not accessible.') rbtws_client_authentication_failure_cause = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 26), rbtws_authentication_failure_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientAuthenticationFailureCause.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthenticationFailureCause.setDescription('The client authentication failure cause. This object is used within notifications and is not accessible.') rbtws_client_authorization_failure_cause = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 27), rbtws_authorization_failure_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientAuthorizationFailureCause.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthorizationFailureCause.setDescription('The client authorization failure cause. Note that if it is the user-param, we would additionally expect the failure cause description to list the user attribute value that caused the failure. This object is used within notifications and is not accessible.') rbtws_client_failure_cause_description = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 28), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientFailureCauseDescription.setStatus('current') if mibBuilder.loadTexts: rbtwsClientFailureCauseDescription.setDescription('Display string for describing the client failure cause. This object is used within notifications and is not accessible.') rbtws_client_roamed_from_ws_ip = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 29), ip_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientRoamedFromWsIp.setStatus('current') if mibBuilder.loadTexts: rbtwsClientRoamedFromWsIp.setDescription('The system IP address of the AC (wireless switch) a client roamed from. This object is used within notifications and is not accessible.') rbtws_client_roamed_from_access_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 30), rbtws_access_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientRoamedFromAccessType.setStatus('current') if mibBuilder.loadTexts: rbtwsClientRoamedFromAccessType.setDescription('The client access type (ap, dap, wired) that a client roamed from. This object is used within notifications and is not accessible.') rbtws_client_access_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 31), rbtws_access_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientAccessType.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAccessType.setDescription('The client access type (ap, dap, wired). This object is used within notifications and is not accessible. For new traps, use rbtwsClientAccessMode instead of this object.') rbtws_radio_mac_address = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 32), mac_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRadioMACAddress.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioMACAddress.setDescription('AP Radio MAC address. This object is used within notifications and is not accessible.') rbtws_radio_power_change_reason = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 33), rbtws_radio_power_change_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRadioPowerChangeReason.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioPowerChangeReason.setDescription('The type of event that caused an AP radio power change; occurs due to auto-tune operation. This object is used within notifications and is not accessible.') rbtws_new_channel_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 34), integer32().subtype(subtypeSpec=value_range_constraint(1, 1024))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsNewChannelNum.setStatus('current') if mibBuilder.loadTexts: rbtwsNewChannelNum.setDescription('New channel number of the AP radio used after an auto tune event. This object is used within notifications and is not accessible.') rbtws_old_channel_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 35), integer32().subtype(subtypeSpec=value_range_constraint(1, 1024))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsOldChannelNum.setStatus('current') if mibBuilder.loadTexts: rbtwsOldChannelNum.setDescription('Old channel number of the AP radio used before an auto tune event. This object is used within notifications and is not accessible.') rbtws_channel_change_reason = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 36), rbtws_channel_change_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsChannelChangeReason.setStatus('current') if mibBuilder.loadTexts: rbtwsChannelChangeReason.setDescription('The type of event that caused an AP radio channel change; occurs due to auto-tune operation. This object is used within notifications and is not accessible.') rbtws_rf_detect_listener_list_info = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 37), octet_string().subtype(subtypeSpec=value_size_constraint(0, 571))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRFDetectListenerListInfo.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectListenerListInfo.setDescription('The RF Detection Listener list info including a list of (listener mac, rssi, channel, ssid, time). There will be a maximum of 6 entries in the list. Formats: MAC: 18 bytes: %2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X RSSI: 10 bytes: %10d CHANNEL: 3 bytes: %3d SSID: 32 bytes: %s TIME: 26 bytes: %s Maximum size per entry is 89+4+2 = 95 bytes. Maximum size of the string is 6*95= 571 bytes (include NULL). This object is used within notifications and is not accessible.') rbtws_radio_ssid = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 38), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRadioSSID.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioSSID.setDescription('The radio SSID string This object is used within notifications and is not accessible.') rbtws_new_power_level = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 39), rbtws_power_level()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsNewPowerLevel.setStatus('current') if mibBuilder.loadTexts: rbtwsNewPowerLevel.setDescription('New power level of the AP radio used after an auto tune event. This object is used within notifications and is not accessible.') rbtws_old_power_level = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 40), rbtws_power_level()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsOldPowerLevel.setStatus('current') if mibBuilder.loadTexts: rbtwsOldPowerLevel.setDescription('Old power level of the AP radio used before an auto tune event. This object is used within notifications and is not accessible.') rbtws_radio_power_change_description = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 41), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRadioPowerChangeDescription.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioPowerChangeDescription.setDescription('The radio power change description. In the case of reason being dup-pkts-threshold-exceed(1), and retransmit-threshold-exceed(2), clientMacAddress will be included in the description. This object is used within notifications and is not accessible.') rbtws_counter_measure_performer_list_info = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 42), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsCounterMeasurePerformerListInfo.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsCounterMeasurePerformerListInfo.setDescription('A list of information for APs performing Counter Measures including a list of performer mac addresses. This object is used within notifications and is not accessible. Not used by any notification.') rbtws_client_dot1x_state = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 43), rbtws_client_dot1x_state()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientDot1xState.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDot1xState.setDescription('The state for a client 802.1X. This object is used within notifications and is not accessible.') rbtws_client_dot1x_failure_cause = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 44), rbtws_dot1x_failure_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientDot1xFailureCause.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDot1xFailureCause.setDescription('The client 802.1X failure cause. This object is used within notifications and is not accessible.') rbtws_ap_access_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 45), rbtws_access_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsAPAccessType.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsAPAccessType.setDescription('The access point access type (ap, dap,). This object is used within notifications and is not accessible. Not used by any notification.') rbtws_user_access_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 46), rbtws_user_access_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsUserAccessType.setStatus('current') if mibBuilder.loadTexts: rbtwsUserAccessType.setDescription('The user access type (MAC, WEB, DOT1X, LAST-RESORT). This object is used within notifications and is not accessible.') rbtws_client_session_elapsed_time = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 47), time_ticks()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientSessionElapsedTime.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsClientSessionElapsedTime.setDescription('The elapsed time for a client session. Obsoleted because session time is usually reported in seconds. This object is used within notifications and is not accessible.') rbtws_local_id = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 48), integer32().subtype(subtypeSpec=value_range_constraint(1, 65000))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsLocalId.setStatus('current') if mibBuilder.loadTexts: rbtwsLocalId.setDescription('Local Id for the session. This object is used within notifications and is not accessible.') rbtws_rf_detect_do_s_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 49), rbtws_rf_detect_do_s_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRFDetectDoSType.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectDoSType.setDescription('The type of denial of service (DoS) attack. This object is used within notifications and is not accessible.') rbtws_source_ws_ip = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 50), ip_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsSourceWsIp.setStatus('current') if mibBuilder.loadTexts: rbtwsSourceWsIp.setDescription('IP address of another AC (wireless switch). This object is used within notifications and is not accessible.') rbtws_client_vla_nid = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 51), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientVLANid.setStatus('current') if mibBuilder.loadTexts: rbtwsClientVLANid.setDescription('VLAN ID used by client traffic. This object is used within notifications and is not accessible.') rbtws_client_vla_ntag = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 52), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientVLANtag.setStatus('current') if mibBuilder.loadTexts: rbtwsClientVLANtag.setDescription('VLAN tag used by client traffic. This object is used within notifications and is not accessible.') rbtws_device_model = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 53), display_string()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsDeviceModel.setStatus('current') if mibBuilder.loadTexts: rbtwsDeviceModel.setDescription('The model of a device in printable US-ASCII. If unknown (or not available), then the value is a zero length string. This object is used within notifications and is not accessible.') rbtws_device_ser_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 54), rbtws_ap_serial_num()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsDeviceSerNum.setStatus('current') if mibBuilder.loadTexts: rbtwsDeviceSerNum.setDescription('The serial number of an AP in printable US-ASCII. If unknown (or not available), then the value is a zero length string. Should NOT be used to identify other devices, for example an AC (wireless switch). This object is used within notifications and is not accessible.') rbtws_rsa_pub_key_finger_print = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 55), rbtws_ap_fingerprint()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRsaPubKeyFingerPrint.setStatus('current') if mibBuilder.loadTexts: rbtwsRsaPubKeyFingerPrint.setDescription('The hash of the RSA public key (of a key pair) in binary form that uniquely identifies the public key of an AP. This object is used within notifications and is not accessible.') rbtws_da_pconnect_warning_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 56), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('not-configured-fingerprint-connect', 1), ('secure-handshake-failure', 2), ('not-configured-fingerprint-required', 3), ('fingerprint-mismatch', 4)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsDAPconnectWarningType.setStatus('current') if mibBuilder.loadTexts: rbtwsDAPconnectWarningType.setDescription("The type of DAP connect warning. The values are: not-configured-fingerprint-connect(1)...a DAP, which has an RSA keypair but did not have its fingerprint configured on the AC, has connected to the AC when 'dap security' set to 'OPTIONAL' secure-handshake-failure(2).............a DAP tried to connect to the AC with security, but the handshake failed not-configured-fingerprint-required(3)..a DAP tried to connect to the AC with security, but 'dap security' set to 'REQUIRED', and no fingerprint was configured for the DAP fingerprint-mismatch(4).................a DAP tried to connect to the AC with security and its fingerprint was configured, but the fingerprint did not match the computed one This object is used within notifications and is not accessible.") rbtws_client_mac_address2 = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 57), mac_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientMACAddress2.setStatus('current') if mibBuilder.loadTexts: rbtwsClientMACAddress2.setDescription('MAC address of the second client of interest. This object is used within notifications and is not accessible.') rbtws_ap_attach_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 58), rbtws_ap_attach_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsApAttachType.setStatus('current') if mibBuilder.loadTexts: rbtwsApAttachType.setDescription('How the AP is attached to the AC (directly or via L2/L3 network). This object is used within notifications and is not accessible.') rbtws_ap_port_or_dap_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 59), rbtws_ap_port_or_dap_num()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsApPortOrDapNum.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsApPortOrDapNum.setDescription('The Port Number if the AP is directly attached, or the CLI-assigned DAP Number if attached via L2/L3 network. This object is used within notifications and is not accessible. Obsoleted by rbtwsApNum. (In 6.0, direct- and network-attached APs were unified.)') rbtws_ap_name = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 60), display_string()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsApName.setStatus('current') if mibBuilder.loadTexts: rbtwsApName.setDescription("The name of the AP, as assigned in AC's CLI; defaults to AP<Number> (examples: 'AP01', 'AP22', 'AP333', 'AP4444'); could have been changed from CLI to a meaningful name, for example the location of the AP (example: 'MeetingRoom73'). This object is used within notifications and is not accessible.") rbtws_ap_transition = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 61), rbtws_ap_transition()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsApTransition.setStatus('current') if mibBuilder.loadTexts: rbtwsApTransition.setDescription('AP state Transition, as seen by the AC. This object is used within notifications and is not accessible.') rbtws_ap_fail_detail = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 62), rbtws_ap_fail_detail()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsApFailDetail.setStatus('current') if mibBuilder.loadTexts: rbtwsApFailDetail.setDescription("Detailed failure code for some of the transitions specified in 'rbtwsApTransition' object. This object is used within notifications and is not accessible.") rbtws_radio_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 63), rbtws_radio_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRadioType.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioType.setDescription('Indicates the AP Radio Type, as seen by AC. This object is used within notifications and is not accessible.') rbtws_radio_config_state = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 64), rbtws_radio_config_state()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRadioConfigState.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioConfigState.setDescription('Indicates the Radio State, as seen by the AC. This object is used within notifications and is not accessible.') rbtws_ap_connect_security_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 65), rbtws_ap_connect_security_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsApConnectSecurityType.setStatus('current') if mibBuilder.loadTexts: rbtwsApConnectSecurityType.setDescription('Indicates the security level of the connection between AP and AC. This object is used within notifications and is not accessible.') rbtws_ap_service_availability = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 66), rbtws_ap_service_availability()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsApServiceAvailability.setStatus('current') if mibBuilder.loadTexts: rbtwsApServiceAvailability.setDescription('Indicates the level of wireless service availability. This object is used within notifications and is not accessible.') rbtws_ap_was_operational = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 67), rbtws_ap_was_operational()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsApWasOperational.setStatus('current') if mibBuilder.loadTexts: rbtwsApWasOperational.setDescription('Indicates whether the AP was operational before a transition occured. This object is used within notifications and is not accessible.') rbtws_client_time_since_last_roam = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 68), unsigned32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientTimeSinceLastRoam.setStatus('current') if mibBuilder.loadTexts: rbtwsClientTimeSinceLastRoam.setDescription('The time in seconds since the most recent roam of a given client. This object is used within notifications and is not accessible.') rbtws_client_ip_addr_change_reason = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 69), rbtws_client_ip_addr_change_reason()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientIpAddrChangeReason.setStatus('current') if mibBuilder.loadTexts: rbtwsClientIpAddrChangeReason.setDescription('Indicates the reason why client IP address changed. This object is used within notifications and is not accessible.') rbtws_rf_detect_rogue_ap_mac_addr = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 70), mac_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRFDetectRogueAPMacAddr.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectRogueAPMacAddr.setDescription('Describes the MAC address of the Rogue AP the transmitter is connected to. This object is used within notifications and is not accessible.') rbtws_blacklisting_remaining_time = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 71), unsigned32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsBlacklistingRemainingTime.setStatus('current') if mibBuilder.loadTexts: rbtwsBlacklistingRemainingTime.setDescription('The time in seconds remaining until a given transmitter could be removed from the Black List. This object is used within notifications and is not accessible.') rbtws_blacklisting_cause = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 72), rbtws_blacklisting_cause()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsBlacklistingCause.setStatus('current') if mibBuilder.loadTexts: rbtwsBlacklistingCause.setDescription('Indicates the reason why a given transmitter is blacklisted. This object is used within notifications and is not accessible.') rbtws_num_licensed_active_a_ps = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 73), unsigned32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsNumLicensedActiveAPs.setStatus('current') if mibBuilder.loadTexts: rbtwsNumLicensedActiveAPs.setDescription('Indicates the maximum (licensed) number of active APs for this AC. This object is used within notifications and is not accessible.') rbtws_client_dyn_author_client_ip = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 74), ip_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientDynAuthorClientIp.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDynAuthorClientIp.setDescription('The dynamic authorization client IP address which caused the change of authorization. This object is used within notifications and is not accessible.') rbtws_changed_user_param_old_values = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 75), rbtws_user_attribute_list()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsChangedUserParamOldValues.setStatus('current') if mibBuilder.loadTexts: rbtwsChangedUserParamOldValues.setDescription('A display string listing the changed AAA attributes and their values, before the change of authorization was executed. This object is used within notifications and is not accessible.') rbtws_changed_user_param_new_values = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 76), rbtws_user_attribute_list()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsChangedUserParamNewValues.setStatus('current') if mibBuilder.loadTexts: rbtwsChangedUserParamNewValues.setDescription('A display string listing the changed AAA attributes and their values, after the change of authorization was executed. This object is used within notifications and is not accessible.') rbtws_client_disconnect_source = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 77), rbtws_session_disconnect_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientDisconnectSource.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDisconnectSource.setDescription('The external source that initiated the termination of a session. This object is used within notifications and is not accessible.') rbtws_client_disconnect_description = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 78), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientDisconnectDescription.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDisconnectDescription.setDescription('Display string for providing available information related to the external source that initiated a session termination. This object is used within notifications and is not accessible.') rbtws_mobility_domain_secondary_seed_ip = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 79), ip_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsMobilityDomainSecondarySeedIp.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainSecondarySeedIp.setDescription('The secondary seed IP address to which the Mobility Domain has failed over. This object is used within notifications and is not accessible.') rbtws_mobility_domain_primary_seed_ip = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 80), ip_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsMobilityDomainPrimarySeedIp.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainPrimarySeedIp.setDescription('The primary seed IP address to which the Mobility Domain has failed back. This object is used within notifications and is not accessible.') rbtws_rf_detect_classification_reason = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 81), rbtws_rf_detect_classification_reason()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRFDetectClassificationReason.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectClassificationReason.setDescription('Indicates the reason why a RF device is classified the way it is. This object is used within notifications and is not accessible.') rbtws_config_save_file_name = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 82), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsConfigSaveFileName.setStatus('current') if mibBuilder.loadTexts: rbtwsConfigSaveFileName.setDescription('Display string listing the name of the file to which the running configuration was saved. This object is used within notifications and is not accessible.') rbtws_config_save_initiator_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 83), rbtws_config_save_initiator_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsConfigSaveInitiatorType.setStatus('current') if mibBuilder.loadTexts: rbtwsConfigSaveInitiatorType.setDescription('Indicates the source that initiated a configuration save. This object is used within notifications and is not accessible.') rbtws_config_save_initiator_ip = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 84), ip_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsConfigSaveInitiatorIp.setStatus('current') if mibBuilder.loadTexts: rbtwsConfigSaveInitiatorIp.setDescription('The IP address of the source that initiated a configuration save. This object is used within notifications and is not accessible.') rbtws_config_save_initiator_details = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 85), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsConfigSaveInitiatorDetails.setStatus('current') if mibBuilder.loadTexts: rbtwsConfigSaveInitiatorDetails.setDescription('Display string listing additional information regarding the source that initiated a configuration save, when available. This object is used within notifications and is not accessible.') rbtws_config_save_generation = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 86), counter32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsConfigSaveGeneration.setStatus('current') if mibBuilder.loadTexts: rbtwsConfigSaveGeneration.setDescription('Indicates the number of configuration changes since the last system boot. The generation count is used to track the number of times the running configuration has been changed due to administrative actions (set/clear), SNMP requests (SET), XML requests (e.g. RASM). This object is used within notifications and is not accessible.') rbtws_ap_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 87), rbtws_ap_num()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsApNum.setStatus('current') if mibBuilder.loadTexts: rbtwsApNum.setDescription('The administratively assigned AP Number, unique on same AC (switch), regardless of how APs are attached to the AC. This object is used within notifications and is not accessible. Obsoletes rbtwsApPortOrDapNum. For clarity, use this object to identify an AP since in 6.0 directly attached APs and DAPs were unified.') rbtws_radio_mode = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 88), rbtws_radio_mode()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRadioMode.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioMode.setDescription('Indicates the administratively controlled Radio Mode (enabled/disabled/sentry). This object is used within notifications and is not accessible.') rbtws_michael_mic_failure_cause = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 89), rbtws_michael_mic_failure_cause()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsMichaelMICFailureCause.setStatus('current') if mibBuilder.loadTexts: rbtwsMichaelMICFailureCause.setDescription('Indicates the Michael MIC Failure cause / who detected it. This object is used within notifications and is not accessible.') rbtws_client_access_mode = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 90), rbtws_client_access_mode()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientAccessMode.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAccessMode.setDescription('The client access mode (ap, wired). This object is used within notifications and is not accessible. Intended to replace rbtwsClientAccessType. (In 6.0, direct- and network-attached APs were unified.)') rbtws_client_authorization_reason = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 91), rbtws_client_authorization_reason()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientAuthorizationReason.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthorizationReason.setDescription('Indicates the reason why client performed AAA authorization. This object is used within notifications and is not accessible.') rbtws_phys_port_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 92), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsPhysPortNum.setStatus('current') if mibBuilder.loadTexts: rbtwsPhysPortNum.setDescription("Physical Port Number on the AC. Zero means the port is unknown or not applicable (for example, when rbtwsClientAccessMode = 'ap'). This object is used within notifications and is not accessible.") rbtws_ap_mgr_old_ip = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 93), ip_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsApMgrOldIp.setStatus('current') if mibBuilder.loadTexts: rbtwsApMgrOldIp.setDescription("The IP address of the AP's former primary manager switch. This object is used within notifications and is not accessible.") rbtws_ap_mgr_new_ip = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 94), ip_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsApMgrNewIp.setStatus('current') if mibBuilder.loadTexts: rbtwsApMgrNewIp.setDescription("The IP address of the AP's new primary manager switch. This address was formerly the AP's secondary backup link. This object is used within notifications and is not accessible.") rbtws_ap_mgr_change_reason = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 95), rbtws_ap_mgr_change_reason()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsApMgrChangeReason.setStatus('current') if mibBuilder.loadTexts: rbtwsApMgrChangeReason.setDescription("Indicates the reason why the AP's primary manager changed. This object is used within notifications and is not accessible.") rbtws_client_cleared_reason = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 96), rbtws_client_cleared_reason()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientClearedReason.setStatus('current') if mibBuilder.loadTexts: rbtwsClientClearedReason.setDescription('Indicates the reason why client was cleared. This object is used within notifications and is not accessible.') rbtws_mobility_domain_resiliency_status = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 97), rbtws_mobility_domain_resiliency_status()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsMobilityDomainResiliencyStatus.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainResiliencyStatus.setDescription('Indicates the current resilient capacity status for a mobility domain. This object is used within notifications and is not accessible.') rbtws_client_session_elapsed_seconds = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 98), unsigned32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientSessionElapsedSeconds.setStatus('current') if mibBuilder.loadTexts: rbtwsClientSessionElapsedSeconds.setDescription('Indicates the time in seconds elapsed since the start of the Client Session. This object is used within notifications and is not accessible.') rbtws_radio_channel_width = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 99), rbtws_radio_channel_width()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRadioChannelWidth.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioChannelWidth.setDescription('Indicates the administratively controlled Channel Width (20MHz/40MHz). This object is used within notifications and is not accessible.') rbtws_radio_mimo_state = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 100), rbtws_radio_mimo_state()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRadioMimoState.setStatus('current') if mibBuilder.loadTexts: rbtwsRadioMimoState.setDescription('Indicates the Radio MIMO State, as seen by the AC (1x1/2x3/3x3). This object is used within notifications and is not accessible.') rbtws_client_radio_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 101), rbtws_radio_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClientRadioType.setStatus('current') if mibBuilder.loadTexts: rbtwsClientRadioType.setDescription('Indicates the Client Radio Type, as detected by an attached AP and reported to the AC. This object is used within notifications and is not accessible.') rbtws_rf_detect_xmtr_radio_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 102), rbtws_radio_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRFDetectXmtrRadioType.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectXmtrRadioType.setDescription('Indicates the Radio Type of the Transmitter, as detected by an attached AP and reported to the AC. The Transmitter may be a wireless client or an AP. This object is used within notifications and is not accessible.') rbtws_rf_detect_xmtr_crypto_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 103), rbtws_crypto_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsRFDetectXmtrCryptoType.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectXmtrCryptoType.setDescription('Indicates the Crypto Type used by the Transmitter, as detected by an attached AP and reported to the AC. This object is used within notifications and is not accessible.') rbtws_cluster_failure_reason = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 104), rbtws_cluster_failure_reason()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClusterFailureReason.setStatus('current') if mibBuilder.loadTexts: rbtwsClusterFailureReason.setDescription('Indicates the reason why cluster configuration failed to apply. This object is used within notifications and is not accessible.') rbtws_cluster_failure_description = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 2, 105), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbtwsClusterFailureDescription.setStatus('current') if mibBuilder.loadTexts: rbtwsClusterFailureDescription.setDescription('Display string for describing the cluster configuration failure cause. This object is used within notifications and is not accessible.') rbtws_device_fail_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 1)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsDeviceId')) if mibBuilder.loadTexts: rbtwsDeviceFailTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsDeviceFailTrap.setDescription('The device has a failure indication') rbtws_device_okay_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 2)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsDeviceId')) if mibBuilder.loadTexts: rbtwsDeviceOkayTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsDeviceOkayTrap.setDescription('The device has recovered') rbtws_po_e_fail_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 3)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsPortNum')) if mibBuilder.loadTexts: rbtwsPoEFailTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsPoEFailTrap.setDescription('PoE has failed on the indicated port') rbtws_ap_timeout_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 4)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsAPAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum')) if mibBuilder.loadTexts: rbtwsApTimeoutTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsApTimeoutTrap.setDescription("The AP entering the AC at port rbtwsPortNum with MAC rbtwsRadioMacAddress and of the access type (ap or dap) has not responded. Replaced by rbtwsApNonOperStatusTrap2, with rbtwsApTransition = 'timeout'.") rbtws_ap_boot_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 5)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsAPAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum')) if mibBuilder.loadTexts: rbtwsAPBootTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsAPBootTrap.setDescription("The AP entering the AC at port rbtwsPortNum with MAC rbtwsRadioMacAddress and of the access type (ap or dap) has booted. Replaced by rbtwsApNonOperStatusTrap2, with rbtwsApTransition = 'bootSuccess'.") rbtws_mobility_domain_join_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 6)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsMobilityDomainIp')) if mibBuilder.loadTexts: rbtwsMobilityDomainJoinTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainJoinTrap.setDescription('The mobility domain member has received an UP notice from the remote address.') rbtws_mobility_domain_timeout_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 7)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsMobilityDomainIp')) if mibBuilder.loadTexts: rbtwsMobilityDomainTimeoutTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainTimeoutTrap.setDescription('The mobility domain member has declared the remote address to be DOWN.') rbtws_mp_michael_mic_failure = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 8)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress')) if mibBuilder.loadTexts: rbtwsMpMichaelMICFailure.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsMpMichaelMICFailure.setDescription('Two Michael MIC failures were seen within 60 seconds of each other. Obsoleted by rbtwsMichaelMICFailure.') rbtws_rf_detect_rogue_ap_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 9)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo')) if mibBuilder.loadTexts: rbtwsRFDetectRogueAPTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectRogueAPTrap.setDescription('This trap is sent when RF detection finds a rogue AP. XmtrMacAddr is the radio MAC address from the beacon. ListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectRogueDeviceTrap2.') rbtws_rf_detect_adhoc_user_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 10)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo')) if mibBuilder.loadTexts: rbtwsRFDetectAdhocUserTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectAdhocUserTrap.setDescription('This trap is sent when RF detection sweep finds a ad-hoc user. rbtwsRFDetectXmtrMacAddr is the MAC address of the ad-hoc user. rbtwsRFDetectListenerListInfo is a display string of a list of listener information.') rbtws_rf_detect_rogue_disappear_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 11)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr')) if mibBuilder.loadTexts: rbtwsRFDetectRogueDisappearTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectRogueDisappearTrap.setDescription('This trap is sent when a rogue has disappeared. Obsoleted by rbtwsRFDetectRogueDeviceDisappearTrap.') rbtws_client_authentication_failure_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 12)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthServerIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthenProtocolType'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthenticationFailureCause'), ('RBTWS-TRAP-MIB', 'rbtwsClientFailureCauseDescription')) if mibBuilder.loadTexts: rbtwsClientAuthenticationFailureTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthenticationFailureTrap.setDescription('This trap is sent if a client authentication fails.') rbtws_client_authorization_failure_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 13)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthServerIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthenProtocolType'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsClientLocationPolicyIndex'), ('RBTWS-TRAP-MIB', 'rbtwsUserParams'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthorizationFailureCause'), ('RBTWS-TRAP-MIB', 'rbtwsClientFailureCauseDescription')) if mibBuilder.loadTexts: rbtwsClientAuthorizationFailureTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthorizationFailureTrap.setDescription('This trap is sent if a client authorization fails.') rbtws_client_association_failure_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 14)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsClientAssociationFailureCause'), ('RBTWS-TRAP-MIB', 'rbtwsClientFailureCauseDescription')) if mibBuilder.loadTexts: rbtwsClientAssociationFailureTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAssociationFailureTrap.setDescription('This trap is sent if a client association fails.') rbtws_client_authorization_success_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 15)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientVLANName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionState'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionStartTime'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthServerIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthenProtocolType'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsRadioRssi')) if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap.setDescription('This trap is sent when a client authorizes. Obsoleted by rbtwsClientAuthorizationSuccessTrap4.') rbtws_client_de_association_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 16)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientVLANName'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthServerIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthenProtocolType'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID')) if mibBuilder.loadTexts: rbtwsClientDeAssociationTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDeAssociationTrap.setDescription('This trap is sent if a client de-association occurred.') rbtws_client_roaming_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 17)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsClientRoamedFromAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsClientRoamedFromPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsClientRoamedFromRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsClientRoamedFromDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsClientRoamedFromWsIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientTimeSinceLastRoam')) if mibBuilder.loadTexts: rbtwsClientRoamingTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientRoamingTrap.setDescription('This trap is sent if a client roams from one location to another.') rbtws_auto_tune_radio_power_change_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 18)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRadioMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsNewPowerLevel'), ('RBTWS-TRAP-MIB', 'rbtwsOldPowerLevel'), ('RBTWS-TRAP-MIB', 'rbtwsRadioPowerChangeReason'), ('RBTWS-TRAP-MIB', 'rbtwsRadioPowerChangeDescription')) if mibBuilder.loadTexts: rbtwsAutoTuneRadioPowerChangeTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsAutoTuneRadioPowerChangeTrap.setDescription("This trap is sent if a radio's power level has changed based on auto-tune.") rbtws_auto_tune_radio_channel_change_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 19)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRadioMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsNewChannelNum'), ('RBTWS-TRAP-MIB', 'rbtwsOldChannelNum'), ('RBTWS-TRAP-MIB', 'rbtwsChannelChangeReason')) if mibBuilder.loadTexts: rbtwsAutoTuneRadioChannelChangeTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsAutoTuneRadioChannelChangeTrap.setDescription("This trap is sent if a radio's channel has changed based on auto-tune.") rbtws_counter_measure_start_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 20)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRadioMACAddress')) if mibBuilder.loadTexts: rbtwsCounterMeasureStartTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsCounterMeasureStartTrap.setDescription('This trap is sent when counter measures are started against a rogue. rbtwsRFDetectXmtrMacAddr is the mac address of the rogue we are doing counter measures against. rbtwsRadioMACAddress identifies the radio performing the countermeasures.') rbtws_counter_measure_stop_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 21)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRadioMACAddress')) if mibBuilder.loadTexts: rbtwsCounterMeasureStopTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsCounterMeasureStopTrap.setDescription('This trap is sent when counter measures are stopped against a rogue. rbtwsRFDetectXmtrMacAddr is the mac address of the rogue we were doing counter measures against. rbtwsRadioMACAddress identifies the radio performing the countermeasures.') rbtws_client_dot1x_failure_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 22)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthenProtocolType'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsClientDot1xState'), ('RBTWS-TRAP-MIB', 'rbtwsClientDot1xFailureCause'), ('RBTWS-TRAP-MIB', 'rbtwsClientFailureCauseDescription')) if mibBuilder.loadTexts: rbtwsClientDot1xFailureTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDot1xFailureTrap.setDescription('This trap is sent if a client failed 802.1X.') rbtws_client_cleared_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 23)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionElapsedTime'), ('RBTWS-TRAP-MIB', 'rbtwsLocalId')) if mibBuilder.loadTexts: rbtwsClientClearedTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsClientClearedTrap.setDescription('This trap is sent when a client session is cleared. Obsoleted by rbtwsClientClearedTrap2.') rbtws_client_authorization_success_trap2 = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 24)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientVLANName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionState'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionStartTime'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthServerIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthenProtocolType'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsUserAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsLocalId')) if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap2.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap2.setDescription('This trap is sent when a client authorizes. Obsoleted by rbtwsClientAuthorizationSuccessTrap4.') rbtws_rf_detect_spoofed_mac_ap_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 25)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo')) if mibBuilder.loadTexts: rbtwsRFDetectSpoofedMacAPTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectSpoofedMacAPTrap.setDescription('This trap is sent when RF detection finds an AP using the MAC of the listener. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectDoSTrap and rbtwsRFDetectRogueDeviceTrap2. One of the two traps will be sent depending on the type of AP MAC spoofing detected.') rbtws_rf_detect_spoofed_ssid_ap_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 26)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo')) if mibBuilder.loadTexts: rbtwsRFDetectSpoofedSsidAPTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectSpoofedSsidAPTrap.setDescription('This trap is sent when RF detection finds an AP using the SSID of the listener, and the AP is not in the mobility domain. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectRogueDeviceTrap2 and rbtwsRFDetectSuspectDeviceTrap2. One of the two traps will be sent, depending on RF detection classification rules.') rbtws_rf_detect_do_s_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 27)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectDoSType'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo')) if mibBuilder.loadTexts: rbtwsRFDetectDoSTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectDoSTrap.setDescription('This trap is sent when RF detection finds a denial of service (DoS) occurring. rbtwsRFDetectDoSType specifies the type of DoS. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information.') rbtws_rf_detect_client_via_rogue_wired_ap_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 28)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsSourceWsIp'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsClientVLANid'), ('RBTWS-TRAP-MIB', 'rbtwsClientVLANtag'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo')) if mibBuilder.loadTexts: rbtwsRFDetectClientViaRogueWiredAPTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectClientViaRogueWiredAPTrap.setDescription("This trap is sent when a client is detected that connected via a rogue AP that is attached to a wired port. rbtwsSourceWsIp is the IP address of the AC (switch) with the wired port. rbtwsPortNum is the port on the AC. rbtwsClientVLANid is the VLAN ID of the client's traffic. rbtwsClientVLANtag is the VLAN tag of the client's traffic. rbtwsRFDetectXmtrMacAddr is the MAC address of the client. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectClientViaRogueWiredAPTrap3.") rbtws_rf_detect_interfering_rogue_ap_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 29)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo')) if mibBuilder.loadTexts: rbtwsRFDetectInterferingRogueAPTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectInterferingRogueAPTrap.setDescription('This trap is sent when RF detection finds an interfering rogue AP. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectSuspectDeviceTrap2.') rbtws_rf_detect_interfering_rogue_disappear_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 30)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr')) if mibBuilder.loadTexts: rbtwsRFDetectInterferingRogueDisappearTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectInterferingRogueDisappearTrap.setDescription('This trap is sent when an interfering rogue has disappeared. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. Obsoleted by rbtwsRFDetectSuspectDeviceDisappearTrap.') rbtws_rf_detect_un_authorized_ssid_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 31)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo')) if mibBuilder.loadTexts: rbtwsRFDetectUnAuthorizedSsidTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectUnAuthorizedSsidTrap.setDescription('This trap is sent when RF detection finds use of an unauthorized SSID. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectRogueDeviceTrap2 and rbtwsRFDetectSuspectDeviceTrap2. One of the two traps will be sent if the device having an unauthorized SSID is classified as rogue or suspect because of this.') rbtws_rf_detect_un_authorized_oui_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 32)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo')) if mibBuilder.loadTexts: rbtwsRFDetectUnAuthorizedOuiTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectUnAuthorizedOuiTrap.setDescription('This trap is sent when RF detection finds use of an unauthorized OUI. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectRogueDeviceTrap2 and rbtwsRFDetectSuspectDeviceTrap2. One of the two traps will be sent if the device having an unauthorized OUI is classified as rogue or suspect because of this.') rbtws_rf_detect_un_authorized_ap_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 33)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo')) if mibBuilder.loadTexts: rbtwsRFDetectUnAuthorizedAPTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectUnAuthorizedAPTrap.setDescription('This trap is sent when RF detection finds operation of an unauthorized AP. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. Obsoleted by rbtwsRFDetectRogueDeviceTrap2.') rbtws_dap_connect_warning_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 34)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsDeviceModel'), ('RBTWS-TRAP-MIB', 'rbtwsDeviceSerNum'), ('RBTWS-TRAP-MIB', 'rbtwsRsaPubKeyFingerPrint'), ('RBTWS-TRAP-MIB', 'rbtwsDAPconnectWarningType')) if mibBuilder.loadTexts: rbtwsDAPConnectWarningTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsDAPConnectWarningTrap.setDescription("A DAP, tried to connect to the AC. rbtwsDeviceModel provides the model of the DAP. rbtwsDeviceSerNum provides the serial number of the DAP. rbtwsRsaPubKeyFingerPrint provides the computed fingerprint of the DAP. rbtwsDAPconnectWarningType provides the type of connect warning. Replaced by rbtwsApNonOperStatusTrap2, with rbtwsApTransition = 'connectFail'.") rbtws_rf_detect_do_s_port_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 35)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectDoSType'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum')) if mibBuilder.loadTexts: rbtwsRFDetectDoSPortTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectDoSPortTrap.setDescription("This trap is sent when RF detection finds a denial of service (DoS) occurring. This has port and AP info instead of 'Listener info'. rbtwsRFDetectDoSType specifies the type of DoS. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsClientAccessType specifies whether wired, AP, or DAP. rbtwsPortNum (for wired or AP), the port that is used. rbtwsDAPNum (for a DAP), the ID of the DAP.") rbtws_mp_michael_mic_failure2 = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 36)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress2')) if mibBuilder.loadTexts: rbtwsMpMichaelMICFailure2.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsMpMichaelMICFailure2.setDescription('Two Michael MIC failures were seen within 60 seconds of each other. Object rbtwsClientMACAddress is the source of the first failure, and object rbtwsClientMACAddress2 source of the second failure. Obsoleted by rbtwsMichaelMICFailure.') rbtws_ap_non_oper_status_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 37)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsDeviceSerNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsApAttachType'), ('RBTWS-TRAP-MIB', 'rbtwsApPortOrDapNum'), ('RBTWS-TRAP-MIB', 'rbtwsApName'), ('RBTWS-TRAP-MIB', 'rbtwsApTransition'), ('RBTWS-TRAP-MIB', 'rbtwsApFailDetail'), ('RBTWS-TRAP-MIB', 'rbtwsApWasOperational')) if mibBuilder.loadTexts: rbtwsApNonOperStatusTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsApNonOperStatusTrap.setDescription('This trap is sent when the AP changes state and the new one is a non-operational state. Obsoleted by rbtwsApNonOperStatusTrap2.') rbtws_ap_oper_radio_status_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 38)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsDeviceSerNum'), ('RBTWS-TRAP-MIB', 'rbtwsApAttachType'), ('RBTWS-TRAP-MIB', 'rbtwsApPortOrDapNum'), ('RBTWS-TRAP-MIB', 'rbtwsApName'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsRadioType'), ('RBTWS-TRAP-MIB', 'rbtwsRadioConfigState'), ('RBTWS-TRAP-MIB', 'rbtwsApConnectSecurityType'), ('RBTWS-TRAP-MIB', 'rbtwsApServiceAvailability')) if mibBuilder.loadTexts: rbtwsApOperRadioStatusTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsApOperRadioStatusTrap.setDescription('This trap is sent when the Radio changes state. It also contains aggregate information about the AP in operational state - security level and service availability. Obsoleted by rbtwsApOperRadioStatusTrap3.') rbtws_client_ip_addr_change_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 39)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientVLANName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionState'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthServerIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthenProtocolType'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsUserAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsLocalId'), ('RBTWS-TRAP-MIB', 'rbtwsClientIpAddrChangeReason')) if mibBuilder.loadTexts: rbtwsClientIpAddrChangeTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientIpAddrChangeTrap.setDescription("This trap is sent when a client's IP address changes. The most likely case for this is when the client first connects to the network.") rbtws_client_association_success_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 40)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID')) if mibBuilder.loadTexts: rbtwsClientAssociationSuccessTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAssociationSuccessTrap.setDescription('This trap is sent if a client association succeeds. WARNING: DO NOT enable it in normal use. It may impair switch performance! Only recommended for debugging network issues.') rbtws_client_authentication_success_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 41)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID')) if mibBuilder.loadTexts: rbtwsClientAuthenticationSuccessTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthenticationSuccessTrap.setDescription('This trap is sent if a client authentication succeeds.') rbtws_client_de_authentication_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 42)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientVLANName'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthServerIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthenProtocolType'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID')) if mibBuilder.loadTexts: rbtwsClientDeAuthenticationTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDeAuthenticationTrap.setDescription('This trap is sent if a client de-authentication occured.') rbtws_rf_detect_blacklisted_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 43)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsBlacklistingRemainingTime'), ('RBTWS-TRAP-MIB', 'rbtwsBlacklistingCause')) if mibBuilder.loadTexts: rbtwsRFDetectBlacklistedTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectBlacklistedTrap.setDescription("This trap is sent if an association, re-association or de-association request (packet) is detected from a blacklisted transmitter (identified by MAC: 'rbtwsRFDetectXmtrMacAddr'). If 'rbtwsBlacklistingCause' is 'configured', then 'rbtwsBlacklistingRemainingTime' will be zero, meaning indefinite time (depending on administrative actions on the Black List). Otherwise, 'rbtwsBlacklistingRemainingTime' will indicate the time in seconds until this transmitter's requests could be allowed.") rbtws_rf_detect_client_via_rogue_wired_ap_trap2 = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 44)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsSourceWsIp'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsClientVLANid'), ('RBTWS-TRAP-MIB', 'rbtwsClientVLANtag'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectRogueAPMacAddr')) if mibBuilder.loadTexts: rbtwsRFDetectClientViaRogueWiredAPTrap2.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectClientViaRogueWiredAPTrap2.setDescription("This trap is sent when a client is detected that connected via a rogue AP that is attached to a wired port. rbtwsSourceWsIp is the IP address of the AC (switch) with the wired port. rbtwsPortNum is the port on the AC. rbtwsClientVLANid is the VLAN ID of the client's traffic. rbtwsClientVLANtag is the VLAN tag of the client's traffic. rbtwsRFDetectXmtrMacAddr is the MAC address of the client. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. rbtwsRFDetectRogueAPMacAddr is the MAC address of the Rogue AP (wired) the client is connected to. Obsoleted by rbtwsRFDetectClientViaRogueWiredAPTrap3.") rbtws_rf_detect_adhoc_user_disappear_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 45)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr')) if mibBuilder.loadTexts: rbtwsRFDetectAdhocUserDisappearTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectAdhocUserDisappearTrap.setDescription('This trap is sent when RF detection sweep finds that an ad-hoc user disappeared. rbtwsRFDetectXmtrMacAddr is the MAC address of the ad-hoc user.') rbtws_ap_reject_license_exceeded_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 46)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsNumLicensedActiveAPs')) if mibBuilder.loadTexts: rbtwsApRejectLicenseExceededTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsApRejectLicenseExceededTrap.setDescription('This trap is sent when an AC (wireless switch) receives a packet from an inactive AP and attaching that AP would make the AC exceed the maximum (licensed) number of active APs.') rbtws_client_dyn_author_change_success_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 47)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionState'), ('RBTWS-TRAP-MIB', 'rbtwsClientDynAuthorClientIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthenProtocolType'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsUserAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsLocalId'), ('RBTWS-TRAP-MIB', 'rbtwsChangedUserParamOldValues'), ('RBTWS-TRAP-MIB', 'rbtwsChangedUserParamNewValues')) if mibBuilder.loadTexts: rbtwsClientDynAuthorChangeSuccessTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDynAuthorChangeSuccessTrap.setDescription('This trap is sent when the authorization attributes for a user are dynamically changed by an authorized dynamic authorization client.') rbtws_client_dyn_author_change_failure_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 48)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientDynAuthorClientIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthenProtocolType'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsUserParams'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthorizationFailureCause'), ('RBTWS-TRAP-MIB', 'rbtwsClientFailureCauseDescription')) if mibBuilder.loadTexts: rbtwsClientDynAuthorChangeFailureTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDynAuthorChangeFailureTrap.setDescription('This trap is sent if a change of authorization request sent by an authorized dynamic authorization client is unsuccessful.') rbtws_client_disconnect_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 49)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsDAPNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsLocalId'), ('RBTWS-TRAP-MIB', 'rbtwsClientDisconnectSource'), ('RBTWS-TRAP-MIB', 'rbtwsClientDisconnectDescription')) if mibBuilder.loadTexts: rbtwsClientDisconnectTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClientDisconnectTrap.setDescription('This trap is sent when a client session is terminated administratively.') rbtws_mobility_domain_fail_over_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 50)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsMobilityDomainSecondarySeedIp')) if mibBuilder.loadTexts: rbtwsMobilityDomainFailOverTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainFailOverTrap.setDescription('This trap is sent when the Mobility Domain fails over to the secondary seed.') rbtws_mobility_domain_fail_back_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 51)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsMobilityDomainPrimarySeedIp')) if mibBuilder.loadTexts: rbtwsMobilityDomainFailBackTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainFailBackTrap.setDescription('This trap is sent when the Mobility Domain fails back to the primary seed.') rbtws_rf_detect_rogue_device_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 52)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectClassificationReason')) if mibBuilder.loadTexts: rbtwsRFDetectRogueDeviceTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectRogueDeviceTrap.setDescription('This trap is sent when RF detection finds a rogue device. XmtrMacAddr is the radio MAC address from the beacon. ListenerListInfo is a display string of a list of listener information. ClassificationReason indicates the reason why the device is classified as rogue. Obsoleted by rbtwsRFDetectRogueDeviceTrap2.') rbtws_rf_detect_rogue_device_disappear_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 53)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr')) if mibBuilder.loadTexts: rbtwsRFDetectRogueDeviceDisappearTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectRogueDeviceDisappearTrap.setDescription('This trap is sent when a rogue device has disappeared. This trap obsoletes the rbtwsRFDetectRogueDisappearTrap.') rbtws_rf_detect_suspect_device_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 54)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectClassificationReason')) if mibBuilder.loadTexts: rbtwsRFDetectSuspectDeviceTrap.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsRFDetectSuspectDeviceTrap.setDescription('This trap is sent when RF detection finds a suspect device. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. ClassificationReason indicates the reason why the device is classified as suspect. Obsoleted by rbtwsRFDetectSuspectDeviceTrap2.') rbtws_rf_detect_suspect_device_disappear_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 55)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr')) if mibBuilder.loadTexts: rbtwsRFDetectSuspectDeviceDisappearTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectSuspectDeviceDisappearTrap.setDescription('This trap is sent when a suspect device has disappeared. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. This trap obsoletes the rbtwsRFDetectInterferingRogueDisappearTrap.') rbtws_rf_detect_client_via_rogue_wired_ap_trap3 = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 56)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsSourceWsIp'), ('RBTWS-TRAP-MIB', 'rbtwsPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsClientVLANid'), ('RBTWS-TRAP-MIB', 'rbtwsClientVLANtag'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectRogueAPMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectClassificationReason')) if mibBuilder.loadTexts: rbtwsRFDetectClientViaRogueWiredAPTrap3.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectClientViaRogueWiredAPTrap3.setDescription("This trap is sent when a client is detected that connected via a rogue AP that is attached to a wired port. rbtwsSourceWsIp is the IP address of the AC (switch) with the wired port. rbtwsPortNum is the port on the AC. rbtwsClientVLANid is the VLAN ID of the client's traffic. rbtwsClientVLANtag is the VLAN tag of the client's traffic. rbtwsRFDetectXmtrMacAddr is the MAC address of the client. rbtwsRFDetectListenerListInfo is a display string of a list of listener information. rbtwsRFDetectRogueAPMacAddr is the MAC address of the Rogue AP (wired) the client is connected to. ClassificationReason indicates the reason why the AP is classified as rogue. This trap obsoletes the rbtwsRFDetectClientViaRogueWiredAPTrap and rbtwsRFDetectClientViaRogueWiredAPTrap2.") rbtws_rf_detect_classification_change_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 57)) if mibBuilder.loadTexts: rbtwsRFDetectClassificationChangeTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectClassificationChangeTrap.setDescription('This trap is sent when RF detection classification rules change.') rbtws_configuration_saved_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 58)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsConfigSaveFileName'), ('RBTWS-TRAP-MIB', 'rbtwsConfigSaveInitiatorType'), ('RBTWS-TRAP-MIB', 'rbtwsConfigSaveInitiatorIp'), ('RBTWS-TRAP-MIB', 'rbtwsConfigSaveInitiatorDetails'), ('RBTWS-TRAP-MIB', 'rbtwsConfigSaveGeneration')) if mibBuilder.loadTexts: rbtwsConfigurationSavedTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsConfigurationSavedTrap.setDescription('This trap is sent when the running configuration of the switch is written to a configuration file.') rbtws_ap_non_oper_status_trap2 = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 59)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsDeviceSerNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsApNum'), ('RBTWS-TRAP-MIB', 'rbtwsApName'), ('RBTWS-TRAP-MIB', 'rbtwsApTransition'), ('RBTWS-TRAP-MIB', 'rbtwsApFailDetail'), ('RBTWS-TRAP-MIB', 'rbtwsApWasOperational')) if mibBuilder.loadTexts: rbtwsApNonOperStatusTrap2.setStatus('current') if mibBuilder.loadTexts: rbtwsApNonOperStatusTrap2.setDescription('This trap is sent when the AP changes state and the new one is a non-operational state. Obsoletes rbtwsApNonOperStatusTrap.') rbtws_ap_oper_radio_status_trap2 = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 60)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsDeviceSerNum'), ('RBTWS-TRAP-MIB', 'rbtwsApNum'), ('RBTWS-TRAP-MIB', 'rbtwsApName'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsRadioType'), ('RBTWS-TRAP-MIB', 'rbtwsRadioMode'), ('RBTWS-TRAP-MIB', 'rbtwsRadioConfigState'), ('RBTWS-TRAP-MIB', 'rbtwsApConnectSecurityType'), ('RBTWS-TRAP-MIB', 'rbtwsApServiceAvailability')) if mibBuilder.loadTexts: rbtwsApOperRadioStatusTrap2.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsApOperRadioStatusTrap2.setDescription('This trap is sent when the Radio changes state. It also contains aggregate information about the AP in operational state - security level and service availability. Obsoleted by rbtwsApOperRadioStatusTrap3.') rbtws_michael_mic_failure = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 61)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsApNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsMichaelMICFailureCause'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress2')) if mibBuilder.loadTexts: rbtwsMichaelMICFailure.setStatus('current') if mibBuilder.loadTexts: rbtwsMichaelMICFailure.setDescription('Two Michael MIC failures were seen within 60 seconds of each other. Object rbtwsClientMACAddress indicates the source of the first failure, and object rbtwsClientMACAddress2 indicates the source of the second failure. Service is interrupted for 60 seconds on the radio due to TKIP countermeasures having commenced. The radio is identified by rbtwsApNum and rbtwsAPRadioNum. An alternative way to identify the radio is rbtwsRadioMACAddress. Obsoletes rbtwsMpMichaelMICFailure and rbtwsMpMichaelMICFailure2.') rbtws_client_authorization_success_trap3 = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 62)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientVLANName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionState'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthServerIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthenProtocolType'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessMode'), ('RBTWS-TRAP-MIB', 'rbtwsPhysPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsApNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsUserAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsLocalId'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthorizationReason')) if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap3.setStatus('obsolete') if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap3.setDescription("This trap is sent when a client authorizes. If rbtwsClientAccessMode = 'ap': rbtwsApNum, rbtwsAPRadioNum, rbtwsRadioSSID identify the AP/radio/BSS providing wireless service to this client at the time this trap was sent. If rbtwsClientAccessMode = 'wired': rbtwsPhysPortNum identifies the physical port on the AC used by this wired-auth client. Obsoleted by rbtwsClientAuthorizationSuccessTrap4.") rbtws_ap_manager_change_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 63)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsDeviceSerNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsApNum'), ('RBTWS-TRAP-MIB', 'rbtwsApName'), ('RBTWS-TRAP-MIB', 'rbtwsApMgrOldIp'), ('RBTWS-TRAP-MIB', 'rbtwsApMgrNewIp'), ('RBTWS-TRAP-MIB', 'rbtwsApMgrChangeReason')) if mibBuilder.loadTexts: rbtwsApManagerChangeTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsApManagerChangeTrap.setDescription("This trap is sent when the AP's secondary link becomes its primary link.") rbtws_client_cleared_trap2 = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 64)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessMode'), ('RBTWS-TRAP-MIB', 'rbtwsPhysPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsApNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionElapsedSeconds'), ('RBTWS-TRAP-MIB', 'rbtwsLocalId'), ('RBTWS-TRAP-MIB', 'rbtwsClientClearedReason')) if mibBuilder.loadTexts: rbtwsClientClearedTrap2.setStatus('current') if mibBuilder.loadTexts: rbtwsClientClearedTrap2.setDescription('This trap is sent when a client session is cleared. Obsoletes rbtwsClientClearedTrap.') rbtws_mobility_domain_resiliency_status_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 65)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsMobilityDomainResiliencyStatus')) if mibBuilder.loadTexts: rbtwsMobilityDomainResiliencyStatusTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsMobilityDomainResiliencyStatusTrap.setDescription('This trap is sent by a mobility domain seed to announce changes in resilient capacity status.') rbtws_ap_oper_radio_status_trap3 = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 66)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsDeviceSerNum'), ('RBTWS-TRAP-MIB', 'rbtwsApNum'), ('RBTWS-TRAP-MIB', 'rbtwsApName'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsRadioType'), ('RBTWS-TRAP-MIB', 'rbtwsRadioMode'), ('RBTWS-TRAP-MIB', 'rbtwsRadioConfigState'), ('RBTWS-TRAP-MIB', 'rbtwsRadioChannelWidth'), ('RBTWS-TRAP-MIB', 'rbtwsRadioMimoState'), ('RBTWS-TRAP-MIB', 'rbtwsApConnectSecurityType'), ('RBTWS-TRAP-MIB', 'rbtwsApServiceAvailability')) if mibBuilder.loadTexts: rbtwsApOperRadioStatusTrap3.setStatus('current') if mibBuilder.loadTexts: rbtwsApOperRadioStatusTrap3.setDescription('This trap is sent when the Radio changes state. It also contains aggregate information about the AP in operational state - security level and service availability. Obsoletes rbtwsApOperRadioStatusTrap and rbtwsApOperRadioStatusTrap2.') rbtws_client_authorization_success_trap4 = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 67)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsUserName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionId'), ('RBTWS-TRAP-MIB', 'rbtwsClientMACAddress'), ('RBTWS-TRAP-MIB', 'rbtwsClientIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientVLANName'), ('RBTWS-TRAP-MIB', 'rbtwsClientSessionState'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthServerIp'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthenProtocolType'), ('RBTWS-TRAP-MIB', 'rbtwsClientAccessMode'), ('RBTWS-TRAP-MIB', 'rbtwsPhysPortNum'), ('RBTWS-TRAP-MIB', 'rbtwsApNum'), ('RBTWS-TRAP-MIB', 'rbtwsAPRadioNum'), ('RBTWS-TRAP-MIB', 'rbtwsRadioSSID'), ('RBTWS-TRAP-MIB', 'rbtwsClientRadioType'), ('RBTWS-TRAP-MIB', 'rbtwsUserAccessType'), ('RBTWS-TRAP-MIB', 'rbtwsLocalId'), ('RBTWS-TRAP-MIB', 'rbtwsClientAuthorizationReason')) if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap4.setStatus('current') if mibBuilder.loadTexts: rbtwsClientAuthorizationSuccessTrap4.setDescription("This trap is sent when a client authorizes. If rbtwsClientAccessMode = 'ap': rbtwsApNum, rbtwsAPRadioNum, rbtwsRadioSSID identify the AP/radio/BSS providing wireless service to this client at the time this trap was sent; rbtwsClientRadioType gives the type of radio used by this client. If rbtwsClientAccessMode = 'wired': rbtwsPhysPortNum identifies the physical port on the AC used by this wired-auth client. Obsoletes rbtwsClientAuthorizationSuccessTrap, rbtwsClientAuthorizationSuccessTrap2, rbtwsClientAuthorizationSuccessTrap3.") rbtws_rf_detect_rogue_device_trap2 = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 68)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrRadioType'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrCryptoType'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectClassificationReason')) if mibBuilder.loadTexts: rbtwsRFDetectRogueDeviceTrap2.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectRogueDeviceTrap2.setDescription('This trap is sent when RF detection finds a rogue device. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectXmtrRadioType indicates the Type of Radio used by the transmitter (rogue device). rbtwsRFDetectXmtrCryptoType indicates the Type of Crypto used by the transmitter (rogue device). rbtwsRFDetectListenerListInfo is a display string of a list of listener information. rbtwsRFDetectClassificationReason indicates the reason why the device is classified as rogue. Obsoletes rbtwsRFDetectRogueAPTrap, rbtwsRFDetectUnAuthorizedAPTrap, rbtwsRFDetectRogueDeviceTrap.') rbtws_rf_detect_suspect_device_trap2 = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 69)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrMacAddr'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrRadioType'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectXmtrCryptoType'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectListenerListInfo'), ('RBTWS-TRAP-MIB', 'rbtwsRFDetectClassificationReason')) if mibBuilder.loadTexts: rbtwsRFDetectSuspectDeviceTrap2.setStatus('current') if mibBuilder.loadTexts: rbtwsRFDetectSuspectDeviceTrap2.setDescription('This trap is sent when RF detection finds a suspect device. rbtwsRFDetectXmtrMacAddr is the radio MAC address from the beacon. rbtwsRFDetectXmtrRadioType indicates the Type of Radio used by the transmitter (suspect device). rbtwsRFDetectXmtrCryptoType indicates the Type of Crypto used by the transmitter (suspect device). rbtwsRFDetectListenerListInfo is a display string of a list of listener information. rbtwsRFDetectClassificationReason indicates the reason why the device is classified as suspect. Obsoletes rbtwsRFDetectInterferingRogueAPTrap, rbtwsRFDetectSuspectDeviceTrap.') rbtws_cluster_failure_trap = notification_type((1, 3, 6, 1, 4, 1, 52, 4, 15, 1, 5, 0, 70)).setObjects(('RBTWS-TRAP-MIB', 'rbtwsClusterFailureReason'), ('RBTWS-TRAP-MIB', 'rbtwsClusterFailureDescription')) if mibBuilder.loadTexts: rbtwsClusterFailureTrap.setStatus('current') if mibBuilder.loadTexts: rbtwsClusterFailureTrap.setDescription("This trap is sent when the cluster configuration failed to apply. If rbtwsClusterFailureReason = 'validation-error': The validation error is reported by the receiving end of the configuration updates. The receiving end can be any AC (switch) in the mobility domain: member, secondary seed or primary seed. - Primary seed will be the receiving end of configuration updates when Primary seed is joining the cluster and Secondary seed has preempt mode enabled. - Both Secondary seed and member will be at the receiving end when Primary seed is active.") mibBuilder.exportSymbols('RBTWS-TRAP-MIB', RbtwsUserAttributeList=RbtwsUserAttributeList, rbtwsMobilityDomainJoinTrap=rbtwsMobilityDomainJoinTrap, rbtwsAutoTuneRadioPowerChangeTrap=rbtwsAutoTuneRadioPowerChangeTrap, rbtwsClientAuthorizationSuccessTrap4=rbtwsClientAuthorizationSuccessTrap4, rbtwsMobilityDomainIp=rbtwsMobilityDomainIp, rbtwsRFDetectInterferingRogueAPTrap=rbtwsRFDetectInterferingRogueAPTrap, rbtwsDeviceId=rbtwsDeviceId, rbtwsPoEFailTrap=rbtwsPoEFailTrap, rbtwsClientRoamedFromPortNum=rbtwsClientRoamedFromPortNum, rbtwsConfigSaveInitiatorIp=rbtwsConfigSaveInitiatorIp, rbtwsRFDetectDoSTrap=rbtwsRFDetectDoSTrap, rbtwsConfigurationSavedTrap=rbtwsConfigurationSavedTrap, rbtwsMobilityDomainTimeoutTrap=rbtwsMobilityDomainTimeoutTrap, rbtwsCounterMeasureStartTrap=rbtwsCounterMeasureStartTrap, RbtwsSessionDisconnectType=RbtwsSessionDisconnectType, PYSNMP_MODULE_ID=rbtwsTrapMib, RbtwsRFDetectDoSType=RbtwsRFDetectDoSType, rbtwsRFDetectClientViaRogueWiredAPTrap2=rbtwsRFDetectClientViaRogueWiredAPTrap2, rbtwsCounterMeasurePerformerListInfo=rbtwsCounterMeasurePerformerListInfo, rbtwsUserAccessType=rbtwsUserAccessType, rbtwsClientClearedTrap2=rbtwsClientClearedTrap2, rbtwsClientDeAssociationTrap=rbtwsClientDeAssociationTrap, rbtwsApMgrChangeReason=rbtwsApMgrChangeReason, rbtwsRFDetectXmtrRadioType=rbtwsRFDetectXmtrRadioType, rbtwsDAPconnectWarningType=rbtwsDAPconnectWarningType, rbtwsMichaelMICFailureCause=rbtwsMichaelMICFailureCause, rbtwsRFDetectBlacklistedTrap=rbtwsRFDetectBlacklistedTrap, RbtwsClientClearedReason=RbtwsClientClearedReason, rbtwsClientRoamedFromWsIp=rbtwsClientRoamedFromWsIp, rbtwsApPortOrDapNum=rbtwsApPortOrDapNum, rbtwsSourceWsIp=rbtwsSourceWsIp, rbtwsRadioMimoState=rbtwsRadioMimoState, rbtwsRFDetectClassificationChangeTrap=rbtwsRFDetectClassificationChangeTrap, rbtwsOldChannelNum=rbtwsOldChannelNum, rbtwsClientAuthenticationFailureCause=rbtwsClientAuthenticationFailureCause, RbtwsDot1xFailureType=RbtwsDot1xFailureType, RbtwsClusterFailureReason=RbtwsClusterFailureReason, rbtwsClientSessionState=rbtwsClientSessionState, rbtwsDeviceOkayTrap=rbtwsDeviceOkayTrap, rbtwsRFDetectClientViaRogueWiredAPTrap=rbtwsRFDetectClientViaRogueWiredAPTrap, rbtwsApConnectSecurityType=rbtwsApConnectSecurityType, rbtwsConfigSaveInitiatorDetails=rbtwsConfigSaveInitiatorDetails, rbtwsRadioSSID=rbtwsRadioSSID, rbtwsConfigSaveGeneration=rbtwsConfigSaveGeneration, rbtwsClientClearedReason=rbtwsClientClearedReason, rbtwsClientFailureCause=rbtwsClientFailureCause, rbtwsRFDetectDoSPortTrap=rbtwsRFDetectDoSPortTrap, rbtwsClientDynAuthorClientIp=rbtwsClientDynAuthorClientIp, rbtwsDeviceSerNum=rbtwsDeviceSerNum, rbtwsUserName=rbtwsUserName, rbtwsRFDetectSuspectDeviceDisappearTrap=rbtwsRFDetectSuspectDeviceDisappearTrap, rbtwsClientVLANtag=rbtwsClientVLANtag, rbtwsMobilityDomainResiliencyStatus=rbtwsMobilityDomainResiliencyStatus, rbtwsChangedUserParamOldValues=rbtwsChangedUserParamOldValues, rbtwsClientVLANid=rbtwsClientVLANid, rbtwsClientAuthorizationReason=rbtwsClientAuthorizationReason, RbtwsMichaelMICFailureCause=RbtwsMichaelMICFailureCause, rbtwsRFDetectRogueDisappearTrap=rbtwsRFDetectRogueDisappearTrap, rbtwsDAPConnectWarningTrap=rbtwsDAPConnectWarningTrap, rbtwsApAttachType=rbtwsApAttachType, rbtwsConfigSaveInitiatorType=rbtwsConfigSaveInitiatorType, rbtwsClientDot1xState=rbtwsClientDot1xState, rbtwsRadioPowerChangeReason=rbtwsRadioPowerChangeReason, rbtwsChannelChangeReason=rbtwsChannelChangeReason, rbtwsClientAccessType=rbtwsClientAccessType, rbtwsRFDetectXmtrCryptoType=rbtwsRFDetectXmtrCryptoType, rbtwsDeviceFailTrap=rbtwsDeviceFailTrap, rbtwsOldPowerLevel=rbtwsOldPowerLevel, rbtwsTrapMib=rbtwsTrapMib, rbtwsMobilityDomainSecondarySeedIp=rbtwsMobilityDomainSecondarySeedIp, rbtwsClusterFailureDescription=rbtwsClusterFailureDescription, rbtwsRadioBSSID=rbtwsRadioBSSID, rbtwsClientAssociationSuccessTrap=rbtwsClientAssociationSuccessTrap, rbtwsBlacklistingCause=rbtwsBlacklistingCause, rbtwsApOperRadioStatusTrap3=rbtwsApOperRadioStatusTrap3, rbtwsClientDynAuthorChangeSuccessTrap=rbtwsClientDynAuthorChangeSuccessTrap, rbtwsClientAuthenProtocolType=rbtwsClientAuthenProtocolType, rbtwsClientDot1xFailureTrap=rbtwsClientDot1xFailureTrap, rbtwsRFDetectXmtrMacAddr=rbtwsRFDetectXmtrMacAddr, rbtwsPhysPortNum=rbtwsPhysPortNum, rbtwsRFDetectUnAuthorizedOuiTrap=rbtwsRFDetectUnAuthorizedOuiTrap, rbtwsApNonOperStatusTrap2=rbtwsApNonOperStatusTrap2, rbtwsAPMACAddress=rbtwsAPMACAddress, rbtwsChangedUserParamNewValues=rbtwsChangedUserParamNewValues, rbtwsUserParams=rbtwsUserParams, rbtwsClientAuthorizationSuccessTrap3=rbtwsClientAuthorizationSuccessTrap3, rbtwsRFDetectAdhocUserTrap=rbtwsRFDetectAdhocUserTrap, rbtwsMobilityDomainPrimarySeedIp=rbtwsMobilityDomainPrimarySeedIp, rbtwsApManagerChangeTrap=rbtwsApManagerChangeTrap, rbtwsClientRoamingTrap=rbtwsClientRoamingTrap, rbtwsRFDetectDoSType=rbtwsRFDetectDoSType, rbtwsRFDetectAdhocUserDisappearTrap=rbtwsRFDetectAdhocUserDisappearTrap, rbtwsMichaelMICFailure=rbtwsMichaelMICFailure, rbtwsTrapsV2=rbtwsTrapsV2, rbtwsRFDetectRogueDeviceTrap=rbtwsRFDetectRogueDeviceTrap, rbtwsDAPNum=rbtwsDAPNum, rbtwsMpMichaelMICFailure2=rbtwsMpMichaelMICFailure2, rbtwsRadioChannelWidth=rbtwsRadioChannelWidth, rbtwsRFDetectClientViaRogueWiredAPTrap3=rbtwsRFDetectClientViaRogueWiredAPTrap3, rbtwsAutoTuneRadioChannelChangeTrap=rbtwsAutoTuneRadioChannelChangeTrap, rbtwsNewChannelNum=rbtwsNewChannelNum, rbtwsClusterFailureTrap=rbtwsClusterFailureTrap, rbtwsClientRoamedFromDAPNum=rbtwsClientRoamedFromDAPNum, rbtwsApMgrOldIp=rbtwsApMgrOldIp, rbtwsClientAssociationFailureTrap=rbtwsClientAssociationFailureTrap, rbtwsApName=rbtwsApName, rbtwsPortNum=rbtwsPortNum, rbtwsCounterMeasureStopTrap=rbtwsCounterMeasureStopTrap, rbtwsApMgrNewIp=rbtwsApMgrNewIp, rbtwsClientRoamedFromAccessType=rbtwsClientRoamedFromAccessType, rbtwsApServiceAvailability=rbtwsApServiceAvailability, rbtwsClientIpAddrChangeReason=rbtwsClientIpAddrChangeReason, rbtwsMobilityDomainResiliencyStatusTrap=rbtwsMobilityDomainResiliencyStatusTrap, rbtwsClientAuthorizationSuccessTrap2=rbtwsClientAuthorizationSuccessTrap2, rbtwsRadioConfigState=rbtwsRadioConfigState, rbtwsClientMACAddress=rbtwsClientMACAddress, rbtwsApFailDetail=rbtwsApFailDetail, rbtwsClientDisconnectTrap=rbtwsClientDisconnectTrap, rbtwsClientDynAuthorChangeFailureTrap=rbtwsClientDynAuthorChangeFailureTrap, rbtwsClientAuthServerIp=rbtwsClientAuthServerIp, rbtwsRadioPowerChangeDescription=rbtwsRadioPowerChangeDescription, rbtwsClientAuthorizationFailureCause=rbtwsClientAuthorizationFailureCause, rbtwsRFDetectRogueDeviceDisappearTrap=rbtwsRFDetectRogueDeviceDisappearTrap, rbtwsClientAuthorizationSuccessTrap=rbtwsClientAuthorizationSuccessTrap, rbtwsClientAccessMode=rbtwsClientAccessMode, RbtwsAuthenticationFailureType=RbtwsAuthenticationFailureType, rbtwsApOperRadioStatusTrap2=rbtwsApOperRadioStatusTrap2, RbtwsAuthorizationFailureType=RbtwsAuthorizationFailureType, rbtwsClientAuthorizationFailureTrap=rbtwsClientAuthorizationFailureTrap, rbtwsRFDetectInterferingRogueDisappearTrap=rbtwsRFDetectInterferingRogueDisappearTrap, rbtwsApNonOperStatusTrap=rbtwsApNonOperStatusTrap, rbtwsRFDetectSpoofedMacAPTrap=rbtwsRFDetectSpoofedMacAPTrap, RbtwsAssociationFailureType=RbtwsAssociationFailureType, rbtwsClientLocationPolicyIndex=rbtwsClientLocationPolicyIndex, rbtwsRadioRssi=rbtwsRadioRssi, rbtwsClientIp=rbtwsClientIp, rbtwsAPAccessType=rbtwsAPAccessType, rbtwsRFDetectClassificationReason=rbtwsRFDetectClassificationReason, rbtwsRadioMACAddress=rbtwsRadioMACAddress, rbtwsRFDetectUnAuthorizedAPTrap=rbtwsRFDetectUnAuthorizedAPTrap, rbtwsRFDetectRogueAPTrap=rbtwsRFDetectRogueAPTrap, rbtwsClientSessionId=rbtwsClientSessionId, rbtwsClientDisconnectDescription=rbtwsClientDisconnectDescription, rbtwsAPRadioNum=rbtwsAPRadioNum, rbtwsNumLicensedActiveAPs=rbtwsNumLicensedActiveAPs, rbtwsMpMichaelMICFailure=rbtwsMpMichaelMICFailure, rbtwsClientRadioType=rbtwsClientRadioType, rbtwsMobilityDomainFailOverTrap=rbtwsMobilityDomainFailOverTrap, rbtwsDeviceModel=rbtwsDeviceModel, rbtwsRFDetectSuspectDeviceTrap2=rbtwsRFDetectSuspectDeviceTrap2, rbtwsRsaPubKeyFingerPrint=rbtwsRsaPubKeyFingerPrint, rbtwsClientSessionElapsedSeconds=rbtwsClientSessionElapsedSeconds, rbtwsClientTimeSinceLastRoam=rbtwsClientTimeSinceLastRoam, rbtwsRFDetectSuspectDeviceTrap=rbtwsRFDetectSuspectDeviceTrap, rbtwsLocalId=rbtwsLocalId, rbtwsClientFailureCauseDescription=rbtwsClientFailureCauseDescription, rbtwsClientDeAuthenticationTrap=rbtwsClientDeAuthenticationTrap, rbtwsNewPowerLevel=rbtwsNewPowerLevel, rbtwsClientMACAddress2=rbtwsClientMACAddress2, rbtwsApTransition=rbtwsApTransition, rbtwsClientIpAddrChangeTrap=rbtwsClientIpAddrChangeTrap, RbtwsMobilityDomainResiliencyStatus=RbtwsMobilityDomainResiliencyStatus, RbtwsClientIpAddrChangeReason=RbtwsClientIpAddrChangeReason, rbtwsClientRoamedFromRadioNum=rbtwsClientRoamedFromRadioNum, rbtwsBlacklistingRemainingTime=rbtwsBlacklistingRemainingTime, rbtwsClientAuthenticationSuccessTrap=rbtwsClientAuthenticationSuccessTrap, rbtwsRFDetectSpoofedSsidAPTrap=rbtwsRFDetectSpoofedSsidAPTrap, rbtwsClientVLANName=rbtwsClientVLANName, rbtwsClientAssociationFailureCause=rbtwsClientAssociationFailureCause, rbtwsClientSessionElapsedTime=rbtwsClientSessionElapsedTime, rbtwsRFDetectListenerListInfo=rbtwsRFDetectListenerListInfo, rbtwsClientDot1xFailureCause=rbtwsClientDot1xFailureCause, rbtwsClusterFailureReason=rbtwsClusterFailureReason, rbtwsRFDetectRogueDeviceTrap2=rbtwsRFDetectRogueDeviceTrap2, rbtwsRFDetectRogueAPMacAddr=rbtwsRFDetectRogueAPMacAddr, rbtwsClientDisconnectSource=rbtwsClientDisconnectSource, rbtwsMobilityDomainFailBackTrap=rbtwsMobilityDomainFailBackTrap, rbtwsApWasOperational=rbtwsApWasOperational, RbtwsConfigSaveInitiatorType=RbtwsConfigSaveInitiatorType, rbtwsClientAuthenticationFailureTrap=rbtwsClientAuthenticationFailureTrap, RbtwsApMgrChangeReason=RbtwsApMgrChangeReason, rbtwsClientSessionStartTime=rbtwsClientSessionStartTime, rbtwsApRejectLicenseExceededTrap=rbtwsApRejectLicenseExceededTrap, RbtwsClientAuthorizationReason=RbtwsClientAuthorizationReason, rbtwsAPBootTrap=rbtwsAPBootTrap, rbtwsConfigSaveFileName=rbtwsConfigSaveFileName, rbtwsRFDetectUnAuthorizedSsidTrap=rbtwsRFDetectUnAuthorizedSsidTrap, rbtwsApOperRadioStatusTrap=rbtwsApOperRadioStatusTrap, rbtwsRadioMode=rbtwsRadioMode, rbtwsClientClearedTrap=rbtwsClientClearedTrap, rbtwsApTimeoutTrap=rbtwsApTimeoutTrap, rbtwsApNum=rbtwsApNum, rbtwsRadioType=rbtwsRadioType, RbtwsBlacklistingCause=RbtwsBlacklistingCause)
"""433. Number of Islands""" class Solution: """ @param grid: a boolean 2D matrix @return: an integer """ def numIslands(self, grid): # write your code here ## Practice: if not grid: return 0 self.directions = [(1, 0), (-1, 0), (0, 1), (0, -1)] m = len(grid) n = len(grid[0]) visited = set() res = 0 for i in range(m): for j in range(n): if grid[i][j] == 1 and (i, j) not in visited: visited.add((i, j)) self.bfs(i, j, grid, visited) res += 1 return res def bfs(self, i, j, grid, visited): queue = collections.deque([(i, j)]) while queue: i, j = queue.popleft() for dx, dy in self.directions: x = i + dx y = j + dy if not self.isValid(x, y, grid, visited): continue visited.add((x, y)) queue.append((x, y)) def isValid(self, i, j, grid, visited): m = len(grid) n = len(grid[0]) if i < 0 or i >= m or j < 0 or j >= n or (i, j) in visited or grid[i][j] == 0: return False return True ## BFS if not grid: return 0 self.directions = [(1, 0), (0, 1), (-1, 0), (0, -1)] m = len(grid) n = len(grid[0]) islands = 0 visited = set() for i in range(m): for j in range(n): if grid[i][j] == 1 and (i, j) not in visited: self.bfs(i, j, grid, visited) islands += 1 return islands def bfs(self, i, j, grid, visited): queue = collections.deque([(i, j)]) visited.add((i, j)) while queue: x, y = queue.popleft() for x1, y1 in self.directions: newX, newY = x + x1, y + y1 if self.isValid(newX, newY, grid, visited): visited.add((newX, newY)) queue.append((newX, newY)) def isValid(self, i, j, grid, visited): m = len(grid) n = len(grid[0]) if i < 0 or i >= m or j < 0 or j >= n or (i, j) in visited or grid[i][j] == 0: return False return True ########
"""433. Number of Islands""" class Solution: """ @param grid: a boolean 2D matrix @return: an integer """ def num_islands(self, grid): if not grid: return 0 self.directions = [(1, 0), (-1, 0), (0, 1), (0, -1)] m = len(grid) n = len(grid[0]) visited = set() res = 0 for i in range(m): for j in range(n): if grid[i][j] == 1 and (i, j) not in visited: visited.add((i, j)) self.bfs(i, j, grid, visited) res += 1 return res def bfs(self, i, j, grid, visited): queue = collections.deque([(i, j)]) while queue: (i, j) = queue.popleft() for (dx, dy) in self.directions: x = i + dx y = j + dy if not self.isValid(x, y, grid, visited): continue visited.add((x, y)) queue.append((x, y)) def is_valid(self, i, j, grid, visited): m = len(grid) n = len(grid[0]) if i < 0 or i >= m or j < 0 or (j >= n) or ((i, j) in visited) or (grid[i][j] == 0): return False return True if not grid: return 0 self.directions = [(1, 0), (0, 1), (-1, 0), (0, -1)] m = len(grid) n = len(grid[0]) islands = 0 visited = set() for i in range(m): for j in range(n): if grid[i][j] == 1 and (i, j) not in visited: self.bfs(i, j, grid, visited) islands += 1 return islands def bfs(self, i, j, grid, visited): queue = collections.deque([(i, j)]) visited.add((i, j)) while queue: (x, y) = queue.popleft() for (x1, y1) in self.directions: (new_x, new_y) = (x + x1, y + y1) if self.isValid(newX, newY, grid, visited): visited.add((newX, newY)) queue.append((newX, newY)) def is_valid(self, i, j, grid, visited): m = len(grid) n = len(grid[0]) if i < 0 or i >= m or j < 0 or (j >= n) or ((i, j) in visited) or (grid[i][j] == 0): return False return True
""" Code that changes input files and writes them back out. Useful for parameter sweeps. See Also -------- armi.reactor.converters Code that changes reactor objects at runtime. These often take longer to run than these but can be used in the middle of ARMI analyses. """
""" Code that changes input files and writes them back out. Useful for parameter sweeps. See Also -------- armi.reactor.converters Code that changes reactor objects at runtime. These often take longer to run than these but can be used in the middle of ARMI analyses. """
class MwClientError(RuntimeError): pass class MediaWikiVersionError(MwClientError): pass class APIDisabledError(MwClientError): pass class MaximumRetriesExceeded(MwClientError): pass class APIError(MwClientError): def __init__(self, code, info, kwargs): self.code = code self.info = info MwClientError.__init__(self, code, info, kwargs) class InsufficientPermission(MwClientError): pass class UserBlocked(InsufficientPermission): pass class EditError(MwClientError): pass class ProtectedPageError(EditError, InsufficientPermission): pass class FileExists(EditError): pass class LoginError(MwClientError): pass class EmailError(MwClientError): pass class NoSpecifiedEmail(EmailError): pass class NoWriteApi(MwClientError): pass class InvalidResponse(MwClientError): def __init__(self, response_text=None): self.message = 'Did not get a valid JSON response from the server. Check that ' + \ 'you used the correct hostname. If you did, the server might ' + \ 'be wrongly configured or experiencing temporary problems.' self.response_text = response_text MwClientError.__init__(self, self.message, response_text) def __str__(self): return self.message
class Mwclienterror(RuntimeError): pass class Mediawikiversionerror(MwClientError): pass class Apidisablederror(MwClientError): pass class Maximumretriesexceeded(MwClientError): pass class Apierror(MwClientError): def __init__(self, code, info, kwargs): self.code = code self.info = info MwClientError.__init__(self, code, info, kwargs) class Insufficientpermission(MwClientError): pass class Userblocked(InsufficientPermission): pass class Editerror(MwClientError): pass class Protectedpageerror(EditError, InsufficientPermission): pass class Fileexists(EditError): pass class Loginerror(MwClientError): pass class Emailerror(MwClientError): pass class Nospecifiedemail(EmailError): pass class Nowriteapi(MwClientError): pass class Invalidresponse(MwClientError): def __init__(self, response_text=None): self.message = 'Did not get a valid JSON response from the server. Check that ' + 'you used the correct hostname. If you did, the server might ' + 'be wrongly configured or experiencing temporary problems.' self.response_text = response_text MwClientError.__init__(self, self.message, response_text) def __str__(self): return self.message
def plot_table(data): fig = plt.figure() ax = fig.add_subplot(111) col_labels = list(range(0,10)) row_labels = [' 0 ', ' 1 ', ' 2 ', ' 3 ', ' 4 ', ' 5 ', ' 6 ', ' 7 ', ' 8 ', ' 9 '] # Draw table value_table = plt.table(cellText=data, colWidths=[0.05] * 10, rowLabels=row_labels, colLabels=col_labels, loc='center') value_table.auto_set_font_size(True) value_table.set_fontsize(24) value_table.scale(2.5, 2.5) # Removing ticks and spines enables you to get the figure only with table plt.tick_params(axis='x', which='both', bottom=False, top=False, labelbottom=False) plt.tick_params(axis='y', which='both', right=False, left=False, labelleft=False) for pos in ['right','top','bottom','left']: plt.gca().spines[pos].set_visible(False)
def plot_table(data): fig = plt.figure() ax = fig.add_subplot(111) col_labels = list(range(0, 10)) row_labels = [' 0 ', ' 1 ', ' 2 ', ' 3 ', ' 4 ', ' 5 ', ' 6 ', ' 7 ', ' 8 ', ' 9 '] value_table = plt.table(cellText=data, colWidths=[0.05] * 10, rowLabels=row_labels, colLabels=col_labels, loc='center') value_table.auto_set_font_size(True) value_table.set_fontsize(24) value_table.scale(2.5, 2.5) plt.tick_params(axis='x', which='both', bottom=False, top=False, labelbottom=False) plt.tick_params(axis='y', which='both', right=False, left=False, labelleft=False) for pos in ['right', 'top', 'bottom', 'left']: plt.gca().spines[pos].set_visible(False)
"""Qiskit-Braket exception.""" class QiskitBraketException(Exception): """Qiskit-Braket exception."""
"""Qiskit-Braket exception.""" class Qiskitbraketexception(Exception): """Qiskit-Braket exception."""
class Settings: def __init__(self): self.screen_width = 800 self.screen_height = 600 self.black = (0, 0, 0) self.white = (255, 255, 255) self.red = (255, 0, 0) self.green = (0, 255, 0) self.blue = (0, 0, 255) self.FPS = 90
class Settings: def __init__(self): self.screen_width = 800 self.screen_height = 600 self.black = (0, 0, 0) self.white = (255, 255, 255) self.red = (255, 0, 0) self.green = (0, 255, 0) self.blue = (0, 0, 255) self.FPS = 90
N = 2 for i in range(1,N): for j in range(1,N): for k in range(1,N): for l in range(1,N): if i**3+j**3==k**3+l**3: print(i,j,k,l)
n = 2 for i in range(1, N): for j in range(1, N): for k in range(1, N): for l in range(1, N): if i ** 3 + j ** 3 == k ** 3 + l ** 3: print(i, j, k, l)
# Given a linked list, rotate the list to the right by k places, where k is non-negative. # Example 1: # Input: 1->2->3->4->5->NULL, k = 2 # Output: 4->5->1->2->3->NULL # Explanation: # rotate 1 steps to the right: 5->1->2->3->4->NULL # rotate 2 steps to the right: 4->5->1->2->3->NULL # Example 2: # Input: 0->1->2->NULL, k = 4 # Output: 2->0->1->NULL # Explanation: # rotate 1 steps to the right: 2->0->1->NULL # rotate 2 steps to the right: 1->2->0->NULL # rotate 3 steps to the right: 0->1->2->NULL # rotate 4 steps to the right: 2->0->1->NULL # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def rotateRight(self, head, k): """ :type head: ListNode :type k: int :rtype: ListNode """ if not head or not head.next: return head n = 1 point = head while point.next: point = point.next n += 1 point.next = head m = n - k % n - 1 while m >= 0 : head = head.next point = point.next m = m - 1 point.next = None return head # Time: O(n) # Space: O(1) # Difficulty: medium
class Solution: def rotate_right(self, head, k): """ :type head: ListNode :type k: int :rtype: ListNode """ if not head or not head.next: return head n = 1 point = head while point.next: point = point.next n += 1 point.next = head m = n - k % n - 1 while m >= 0: head = head.next point = point.next m = m - 1 point.next = None return head
def rainWaterTrapping(arr: list) -> int: n = len(arr) maxL = [1] * n maxR = [1] * n maxL[0] = arr[0] for i in range(1, n): maxL[i] = max(maxL[i - 1], arr[i]) maxR[n - 1] = arr[n - 1] for i in range(n - 2, -1, -1): maxR[i] = max(maxR[i + 1], arr[i]) total_water = 0 for i in range(n): total_water += min(maxL[i], maxR[i]) - arr[i] return total_water if __name__ == "__main__": water = [3, 0, 0, 2, 0, 4] res = rainWaterTrapping(water) print(res)
def rain_water_trapping(arr: list) -> int: n = len(arr) max_l = [1] * n max_r = [1] * n maxL[0] = arr[0] for i in range(1, n): maxL[i] = max(maxL[i - 1], arr[i]) maxR[n - 1] = arr[n - 1] for i in range(n - 2, -1, -1): maxR[i] = max(maxR[i + 1], arr[i]) total_water = 0 for i in range(n): total_water += min(maxL[i], maxR[i]) - arr[i] return total_water if __name__ == '__main__': water = [3, 0, 0, 2, 0, 4] res = rain_water_trapping(water) print(res)
n=int(input()) x=hex(n)[-1] if x.isalpha(): x=ord(x)-87 print(bin(int(x))[-1])
n = int(input()) x = hex(n)[-1] if x.isalpha(): x = ord(x) - 87 print(bin(int(x))[-1])
BLACK = [0x00, 0x00, 0x00] # Floor WHITE = [0xFF, 0xFF, 0xFF] # Wall GOLD = [0xFF, 0xD7, 0x00] # Gold BLUE = [0x00, 0x00, 0xFF] # Player GRAY = [0x55, 0x55, 0x55] # Box GREEN = [0x00, 0xAA, 0x00] # Key PURPLE = [0xC4, 0x00, 0xC4] # Door RED = [0xFF, 0x00, 0x00] # Teleport 1 BROWN = [0xA0, 0x50, 0x00] # Teleport 2
black = [0, 0, 0] white = [255, 255, 255] gold = [255, 215, 0] blue = [0, 0, 255] gray = [85, 85, 85] green = [0, 170, 0] purple = [196, 0, 196] red = [255, 0, 0] brown = [160, 80, 0]
# -*- coding: utf-8 -*- # Authors: Y. Jia <ytjia.zju@gmail.com> """ Find the contiguous subarray within an array (containing at least one number) which has the largest sum. https://leetcode.com/problems/maximum-subarray/description/ """ class Solution(object): def maxSubArray(self, nums): """ :type nums: List[int] :rtype: int """ if nums is None or len(nums) == 0: return None max_sum = nums[0] cur_sum = nums[0] for num in nums[1:]: if cur_sum <= 0: cur_sum = num else: cur_sum += num max_sum = max(max_sum, cur_sum) return max_sum
""" Find the contiguous subarray within an array (containing at least one number) which has the largest sum. https://leetcode.com/problems/maximum-subarray/description/ """ class Solution(object): def max_sub_array(self, nums): """ :type nums: List[int] :rtype: int """ if nums is None or len(nums) == 0: return None max_sum = nums[0] cur_sum = nums[0] for num in nums[1:]: if cur_sum <= 0: cur_sum = num else: cur_sum += num max_sum = max(max_sum, cur_sum) return max_sum
count = 0 sum = 0 print('Before', count, sum) for value in [9, 41, 12, 3, 74, 15]: count = count + 1 sum = sum + value print(count, sum, value) print('After', count, sum, sum / count)
count = 0 sum = 0 print('Before', count, sum) for value in [9, 41, 12, 3, 74, 15]: count = count + 1 sum = sum + value print(count, sum, value) print('After', count, sum, sum / count)
""" module-wide / shared constants *** attributes *** *LOGGING_CFG*: logging configuration dictionary *** """ LOGGING_DICT = { "version": 1, "disable_existing_loggers": True, "formatters": { "verbose": { "format": "[%(asctime)s] - [%(name)s] - [%(levelname)s] - [%(funcName)s:%(lineno)s] - [%(message)s]" # pylint: disable=line-too-long }, "simple": {"format": "%(levelname)s %(message)s"}, }, "handlers": { "console": { "level": "DEBUG", "class": "logging.StreamHandler", "formatter": "verbose", } }, "loggers": { "mock": { "handlers": ["console"], "propagate": True, "level": "WARNING", } }, }
""" module-wide / shared constants *** attributes *** *LOGGING_CFG*: logging configuration dictionary *** """ logging_dict = {'version': 1, 'disable_existing_loggers': True, 'formatters': {'verbose': {'format': '[%(asctime)s] - [%(name)s] - [%(levelname)s] - [%(funcName)s:%(lineno)s] - [%(message)s]'}, 'simple': {'format': '%(levelname)s %(message)s'}}, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler', 'formatter': 'verbose'}}, 'loggers': {'mock': {'handlers': ['console'], 'propagate': True, 'level': 'WARNING'}}}
#!/usr/bin/env python3 class InputComponent: def __init__(self): """ Constructor in Python is always called `__init__` You should initialize all object-level variables in the constructor """ self._observers = [] def register_observer(self, observer): self._observers.append(observer) def emit_event_value_changed(self, new_value): for observer in self._observers: observer.on_value_changed_handler(new_value) def user_enters_value(self, value): # we don't even store the value in this object. # Just an arbitrary choice print('InputComponent: User enters value. Value: {}'.format(value)) self.emit_event_value_changed(value) class LabelComponent: def __init__(self): self.displayed_value = None def set_displayed_value(self, value): self.displayed_value = value print("LabelComponent: setting displayed value as: {}" .format(self.displayed_value)) def on_value_changed_handler(self, new_value): print('LabelComponent reacts to new value. new_value: {}' .format(new_value)) self.set_displayed_value(new_value) class DataStore: """ Data store has only one value for now, `username` """ def __init__(self): self.username = None self._observers = [] def register_observer(self, observer): self._observers.append(observer) def emit_event_value_changed(self, new_value): for observer in self._observers: observer.on_value_changed_handler(new_value) def on_value_changed_handler(self, new_value): print('DataStore reacts to new value. new_value: {}'.format(new_value)) self.set_username(new_value) def set_username(self, value): self.username = value self.emit_event_value_changed(value) def get_username(self): return self.username def main(): # put the stuff together input_component = InputComponent() label_component = LabelComponent() data_store = DataStore() input_component.register_observer(data_store) data_store.register_observer(label_component) user_input = "biedak" while user_input != "q": input_component.user_enters_value(user_input) user_input = input("\nEnter new username. (or `q` to quit) > ") # this is so running this file executes the code if __name__ == '__main__': main() """ future steps: - more dynamic data store - more dynamic bindings of components to the data store - generic `Component` class + inheritance - Observer and Observable classes - more `official` event system, maybe a mini library in a separate file - threads """
class Inputcomponent: def __init__(self): """ Constructor in Python is always called `__init__` You should initialize all object-level variables in the constructor """ self._observers = [] def register_observer(self, observer): self._observers.append(observer) def emit_event_value_changed(self, new_value): for observer in self._observers: observer.on_value_changed_handler(new_value) def user_enters_value(self, value): print('InputComponent: User enters value. Value: {}'.format(value)) self.emit_event_value_changed(value) class Labelcomponent: def __init__(self): self.displayed_value = None def set_displayed_value(self, value): self.displayed_value = value print('LabelComponent: setting displayed value as: {}'.format(self.displayed_value)) def on_value_changed_handler(self, new_value): print('LabelComponent reacts to new value. new_value: {}'.format(new_value)) self.set_displayed_value(new_value) class Datastore: """ Data store has only one value for now, `username` """ def __init__(self): self.username = None self._observers = [] def register_observer(self, observer): self._observers.append(observer) def emit_event_value_changed(self, new_value): for observer in self._observers: observer.on_value_changed_handler(new_value) def on_value_changed_handler(self, new_value): print('DataStore reacts to new value. new_value: {}'.format(new_value)) self.set_username(new_value) def set_username(self, value): self.username = value self.emit_event_value_changed(value) def get_username(self): return self.username def main(): input_component = input_component() label_component = label_component() data_store = data_store() input_component.register_observer(data_store) data_store.register_observer(label_component) user_input = 'biedak' while user_input != 'q': input_component.user_enters_value(user_input) user_input = input('\nEnter new username. (or `q` to quit) > ') if __name__ == '__main__': main() '\nfuture steps:\n- more dynamic data store\n- more dynamic bindings of components to the data store\n- generic `Component` class + inheritance \n- Observer and Observable classes\n- more `official` event system, maybe a mini library in a separate file \n- threads\n'
def pattern_thirty_seven(): '''Pattern thirty_seven 1 2 3 4 5 2 5 3 5 4 5 5 ''' num = '12345' for i in range(1, 6): if i == 1: print(' '.join(num)) elif i in range(2, 5): space = -2 * i + 9 # using -2*n + 9 for getting required space where n = 1, 2, 3, .... and here n = i output = num[i - 1] + ' ' * space + '5' print(output) else: print('5') if __name__ == '__main__': pattern_thirty_seven()
def pattern_thirty_seven(): """Pattern thirty_seven 1 2 3 4 5 2 5 3 5 4 5 5 """ num = '12345' for i in range(1, 6): if i == 1: print(' '.join(num)) elif i in range(2, 5): space = -2 * i + 9 output = num[i - 1] + ' ' * space + '5' print(output) else: print('5') if __name__ == '__main__': pattern_thirty_seven()
def listening_algorithm(to,from_): counts = [] to = to.split(' ') for i in range(len(from_)): count = 0 var = from_[i].split(' ') n = min(len(to),len(var)) for j in range(n): if var[j] in to[j]: count += 1 counts.append(count) maxm_ = max(counts) for i in range(len(counts)): if maxm_ == counts[i]: return from_[i]
def listening_algorithm(to, from_): counts = [] to = to.split(' ') for i in range(len(from_)): count = 0 var = from_[i].split(' ') n = min(len(to), len(var)) for j in range(n): if var[j] in to[j]: count += 1 counts.append(count) maxm_ = max(counts) for i in range(len(counts)): if maxm_ == counts[i]: return from_[i]
''' 06 - Combining groupby() and resample() A very powerful method in Pandas is .groupby(). Whereas .resample() groups rows by some time or date information, .groupby() groups rows based on the values in one or more columns. For example, rides.groupby('Member type').size() would tell us how many rides there were by member type in our entire DataFrame. .resample() can be called after .groupby(). For example, how long was the median ride by month, and by Membership type? Instructions - Complete the .groupby() call to group by 'Member type', and the .resample() call to resample according to 'Start date', by month. - Print the median Duration for each group. ''' # Group rides by member type, and resample to the month grouped = rides.groupby('Member type')\ .resample('M', on='Start date') # Print the median duration for each group print(grouped['Duration'].median()) ''' <script.py> output: Member type Start date Casual 2017-10-31 1636.0 2017-11-30 1159.5 2017-12-31 850.0 Member 2017-10-31 671.0 2017-11-30 655.0 2017-12-31 387.5 Name: Duration, dtype: float64 '''
""" 06 - Combining groupby() and resample() A very powerful method in Pandas is .groupby(). Whereas .resample() groups rows by some time or date information, .groupby() groups rows based on the values in one or more columns. For example, rides.groupby('Member type').size() would tell us how many rides there were by member type in our entire DataFrame. .resample() can be called after .groupby(). For example, how long was the median ride by month, and by Membership type? Instructions - Complete the .groupby() call to group by 'Member type', and the .resample() call to resample according to 'Start date', by month. - Print the median Duration for each group. """ grouped = rides.groupby('Member type').resample('M', on='Start date') print(grouped['Duration'].median()) '\n<script.py> output:\n Member type Start date\n Casual 2017-10-31 1636.0\n 2017-11-30 1159.5\n 2017-12-31 850.0\n Member 2017-10-31 671.0\n 2017-11-30 655.0\n 2017-12-31 387.5\n Name: Duration, dtype: float64\n'
# model settings weight_root = '/home/datasets/mix_data/iMIX/data/models/detectron.vmb_weights/' model = dict( type='M4C', hidden_dim=768, dropout_prob=0.1, ocr_in_dim=3002, encoder=[ dict( type='TextBertBase', text_bert_init_from_bert_base=True, hidden_size=768, params=dict(num_hidden_layers=3)), dict( type='ImageFeatureEncoder', encoder_type='finetune_faster_rcnn_fpn_fc7', in_dim=2048, weights_file=weight_root + 'fc7_w.pkl', bias_file=weight_root + 'fc7_b.pkl', ), dict( type='ImageFeatureEncoder', encoder_type='finetune_faster_rcnn_fpn_fc7', in_dim=2048, weights_file=weight_root + 'fc7_w.pkl', bias_file=weight_root + 'fc7_b.pkl', ), ], backbone=dict(type='MMT', hidden_size=768, num_hidden_layers=4), combine_model=dict( type='ModalCombineLayer', combine_type='non_linear_element_multiply', img_feat_dim=4096, txt_emb_dim=2048, dropout=0, hidden_dim=5000, ), head=dict(type='LinearHead', in_dim=768, out_dim=5000)) loss = dict(type='M4CDecodingBCEWithMaskLoss')
weight_root = '/home/datasets/mix_data/iMIX/data/models/detectron.vmb_weights/' model = dict(type='M4C', hidden_dim=768, dropout_prob=0.1, ocr_in_dim=3002, encoder=[dict(type='TextBertBase', text_bert_init_from_bert_base=True, hidden_size=768, params=dict(num_hidden_layers=3)), dict(type='ImageFeatureEncoder', encoder_type='finetune_faster_rcnn_fpn_fc7', in_dim=2048, weights_file=weight_root + 'fc7_w.pkl', bias_file=weight_root + 'fc7_b.pkl'), dict(type='ImageFeatureEncoder', encoder_type='finetune_faster_rcnn_fpn_fc7', in_dim=2048, weights_file=weight_root + 'fc7_w.pkl', bias_file=weight_root + 'fc7_b.pkl')], backbone=dict(type='MMT', hidden_size=768, num_hidden_layers=4), combine_model=dict(type='ModalCombineLayer', combine_type='non_linear_element_multiply', img_feat_dim=4096, txt_emb_dim=2048, dropout=0, hidden_dim=5000), head=dict(type='LinearHead', in_dim=768, out_dim=5000)) loss = dict(type='M4CDecodingBCEWithMaskLoss')
def rpc_gas_price_strategy(webu, transaction_params=None): """ A simple gas price strategy deriving it's value from the eth_gasPrice JSON-RPC call. """ return webu.manager.request_blocking("eth_gasPrice", [])
def rpc_gas_price_strategy(webu, transaction_params=None): """ A simple gas price strategy deriving it's value from the eth_gasPrice JSON-RPC call. """ return webu.manager.request_blocking('eth_gasPrice', [])
bot_token = "" # Bot token stored as string bot_prefix = "" # bot prefix stored as string log_level = "INFO" # log level stored as string jellyfin_url = "" # jellyfin base url stored as string jellyfin_api_key = "" # jellyfin API key stored as string plex_url = "" # plex base url, stored as string plex_api_key = "" # plex API key stored as string plex_access_role = 0000000000000000000000 # discord role ID required to access the plex guild_id = 0000000000000000000000 # ID of guild plex_admin_role = 00000000000000000000 # role required to administrate the plex
bot_token = '' bot_prefix = '' log_level = 'INFO' jellyfin_url = '' jellyfin_api_key = '' plex_url = '' plex_api_key = '' plex_access_role = 0 guild_id = 0 plex_admin_role = 0
class backupsolution: """Virtual Parent for all Backups Highlevel-API: @list_backups( cluster_identifier=None, backup_identifier=None) @take_backup(kind,cluster_identifier=None) @remove_backup(kind,backup_identifier=None) @check(cluster_identifier=None) @add_cluster(cluster_identifier=None) @remove_cluster(cluster_identifier=None) Childs should override: @list_backups(self,cluster_identifier=None, backup_identifier=None) @_take_full_backup(self,cluster_identifier=None) @_take_incremental_backup(self,cluster_identifier=None) @_take_logical_backup(self,cluster_identifier=None) @_remove_full_backup(self,backup_identifier=None) @_remove_incremental_backup(self,backup_identifier=None) @_remove_logical_backup(self,backup_identifier=None) """ def list_backups(self, cluster_identifier=None, backup_identifier=None): """ { "Clusteridentifier: { "Backupidentifier": {},..}, ..} In the event of zero existing backups a cluster will be listed as toplevel in list_backups. Hence it is sufficient to have list_backups and omit a list_clusters function. """ backupsolution._warn_not_implemented("list-backups") def add_cluster(self, cluster_identifier=None): backupsolution._warn_not_implemented("add cluster") def remove_cluster(cluster_identifier=None): backupsolution._warn_not_implemented("remove cluster") def check(self, cluster_identifier=None, backup_identifier=None): backupsolution._warn_not_implemented("check") def remove_backup(self, kind='full', backup_identifier=None): """Currently 3 Kinds of backups are supported: * full - full physical * incremental - incremental physical * logical - logical """ if kind == 'full': self._remove_full_backup(backup_identifier) elif kind == 'incremental': self._remove_incremental_backup(backup_identifier) elif kind == 'logical': self._remove_logical_backup(backup_identifier) def take_backup(self, kind='full', cluster_identifier=None, backup_identifier=None): """Currently 3 Kinds of backups are supported: * full - full physical * incremental - incremental physical * logical - logical """ if kind == 'full': self._take_full_backup(cluster_identifier) elif kind == 'incremental': self._take_incremental_backup(cluster_identifier) elif kind == 'logical': self._take_logical_backup(cluster_identifier) else: backupsolution._warn_not_implemented(f"undefined backupmethod {kind}") def _take_full_backup(self, cluster_identifier=None,): backupsolution._warn_not_implemented('FULL-BACKUP') def _take_incremental_backup(self, cluster_identifier=None,): backupsolution._warn_not_implemented('INCREMENTAL-BACKUP') def _take_logical_backup(self, cluster_identifier=None, ): backupsolution._warn_not_implemented('LOGICAL-BACKUP') @staticmethod def _warn_not_implemented(service): raise Exception(service+" is not supported")
class Backupsolution: """Virtual Parent for all Backups Highlevel-API: @list_backups( cluster_identifier=None, backup_identifier=None) @take_backup(kind,cluster_identifier=None) @remove_backup(kind,backup_identifier=None) @check(cluster_identifier=None) @add_cluster(cluster_identifier=None) @remove_cluster(cluster_identifier=None) Childs should override: @list_backups(self,cluster_identifier=None, backup_identifier=None) @_take_full_backup(self,cluster_identifier=None) @_take_incremental_backup(self,cluster_identifier=None) @_take_logical_backup(self,cluster_identifier=None) @_remove_full_backup(self,backup_identifier=None) @_remove_incremental_backup(self,backup_identifier=None) @_remove_logical_backup(self,backup_identifier=None) """ def list_backups(self, cluster_identifier=None, backup_identifier=None): """ { "Clusteridentifier: { "Backupidentifier": {},..}, ..} In the event of zero existing backups a cluster will be listed as toplevel in list_backups. Hence it is sufficient to have list_backups and omit a list_clusters function. """ backupsolution._warn_not_implemented('list-backups') def add_cluster(self, cluster_identifier=None): backupsolution._warn_not_implemented('add cluster') def remove_cluster(cluster_identifier=None): backupsolution._warn_not_implemented('remove cluster') def check(self, cluster_identifier=None, backup_identifier=None): backupsolution._warn_not_implemented('check') def remove_backup(self, kind='full', backup_identifier=None): """Currently 3 Kinds of backups are supported: * full - full physical * incremental - incremental physical * logical - logical """ if kind == 'full': self._remove_full_backup(backup_identifier) elif kind == 'incremental': self._remove_incremental_backup(backup_identifier) elif kind == 'logical': self._remove_logical_backup(backup_identifier) def take_backup(self, kind='full', cluster_identifier=None, backup_identifier=None): """Currently 3 Kinds of backups are supported: * full - full physical * incremental - incremental physical * logical - logical """ if kind == 'full': self._take_full_backup(cluster_identifier) elif kind == 'incremental': self._take_incremental_backup(cluster_identifier) elif kind == 'logical': self._take_logical_backup(cluster_identifier) else: backupsolution._warn_not_implemented(f'undefined backupmethod {kind}') def _take_full_backup(self, cluster_identifier=None): backupsolution._warn_not_implemented('FULL-BACKUP') def _take_incremental_backup(self, cluster_identifier=None): backupsolution._warn_not_implemented('INCREMENTAL-BACKUP') def _take_logical_backup(self, cluster_identifier=None): backupsolution._warn_not_implemented('LOGICAL-BACKUP') @staticmethod def _warn_not_implemented(service): raise exception(service + ' is not supported')
def run_diagnostic_program(program): instruction_lengths = [0, 4, 4, 2, 2, 3, 3, 4, 4] i = 0 while i < len(program): opcode = program[i] % 100 modes = [(program[i] // 10**j) % 10 for j in range(2, 5)] if opcode == 99: break instruction_length = instruction_lengths[opcode] params = [program[i+k] for k in range(1, instruction_length)] values = [p if modes[j] else program[p] for j, p in enumerate(params)] i += instruction_length if opcode == 1: program[params[2]] = values[0] + values[1] elif opcode == 2: program[params[2]] = values[0] * values[1] elif opcode == 3: program[params[0]] = int(input("Input: ")) elif opcode == 4: print("Output: {}".format(values[0])) elif opcode == 5: if values[0] != 0: i = values[1] elif opcode == 6: if values[0] == 0: i = values[1] elif opcode == 7: program[params[2]] = int(values[0] < values[1]) elif opcode == 8: program[params[2]] = int(values[0] == values[1]) if __name__ == "__main__": inputs = open('inputs/05.txt', 'r') program = list(map(int, inputs.read().split(','))) run_diagnostic_program(program)
def run_diagnostic_program(program): instruction_lengths = [0, 4, 4, 2, 2, 3, 3, 4, 4] i = 0 while i < len(program): opcode = program[i] % 100 modes = [program[i] // 10 ** j % 10 for j in range(2, 5)] if opcode == 99: break instruction_length = instruction_lengths[opcode] params = [program[i + k] for k in range(1, instruction_length)] values = [p if modes[j] else program[p] for (j, p) in enumerate(params)] i += instruction_length if opcode == 1: program[params[2]] = values[0] + values[1] elif opcode == 2: program[params[2]] = values[0] * values[1] elif opcode == 3: program[params[0]] = int(input('Input: ')) elif opcode == 4: print('Output: {}'.format(values[0])) elif opcode == 5: if values[0] != 0: i = values[1] elif opcode == 6: if values[0] == 0: i = values[1] elif opcode == 7: program[params[2]] = int(values[0] < values[1]) elif opcode == 8: program[params[2]] = int(values[0] == values[1]) if __name__ == '__main__': inputs = open('inputs/05.txt', 'r') program = list(map(int, inputs.read().split(','))) run_diagnostic_program(program)
# In python lambda stands for an anonymous function. # A lambda function can only perform one lines worth of operations on a given input. greeting = lambda name: 'Hello ' + name print(greeting('Viewers')) # You can also use lambda with map(...) and filter(...) functions names = ['Sherry', 'Jeniffer', 'Ron', 'Sam', 'Messi'] s_manes = list(filter(lambda name: name.lower().startswith('s'), names)) print(s_manes) greetings = list(map(lambda name: 'Hey ' + name, s_manes)) print(greetings)
greeting = lambda name: 'Hello ' + name print(greeting('Viewers')) names = ['Sherry', 'Jeniffer', 'Ron', 'Sam', 'Messi'] s_manes = list(filter(lambda name: name.lower().startswith('s'), names)) print(s_manes) greetings = list(map(lambda name: 'Hey ' + name, s_manes)) print(greetings)
{ "targets": [ { "target_name": "MagickCLI", "sources": ["src/magick-cli.cc"], 'cflags!': [ '-fno-exceptions' ], 'cflags_cc!': [ '-fno-exceptions' ], "include_dirs": [ "<!@(node -p \"require('node-addon-api').include\")" ], 'dependencies': [ "<!(node -p \"require('node-addon-api').gyp\")" ], "conditions": [ ['OS=="linux" or OS=="solaris" or OS=="freebsd"', { "libraries": [ '<!@(pkg-config --libs MagickWand)', '<!@(pkg-config --libs MagickCore)' ], 'cflags': [ '<!@(pkg-config --cflags MagickWand)', '<!@(pkg-config --cflags MagickCore)' ] }], ['OS=="win"', { "variables": { "MAGICK%": '<!(python magick-cli-path.py)' } , "msvs_settings": { "VCCLCompilerTool": { "ExceptionHandling": 1 } }, "libraries": [ '-l<(MAGICK)/lib/CORE_RL_MagickWand_.lib', '-l<(MAGICK)/lib/CORE_RL_MagickCore_.lib' ], "include_dirs": [ '<(MAGICK)/include' ] }], ['OS=="mac"', { 'xcode_settings': { 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', 'CLANG_CXX_LIBRARY': 'libc++', 'MACOSX_DEPLOYMENT_TARGET': '10.7', 'OTHER_CFLAGS': [ '<!@(pkg-config --cflags MagickCore)', '<!@(pkg-config --cflags MagickWand)' ], 'OTHER_CPLUSPLUSFLAGS' : [ '<!@(pkg-config --cflags MagickCore)', '<!@(pkg-config --cflags MagickWand)' '-std=c++11', '-stdlib=libc++', ], 'OTHER_LDFLAGS': ['-stdlib=libc++'] }, "libraries": [ '<!@(pkg-config --libs MagickWand)', '<!@(pkg-config --libs MagickCore)' ], 'cflags': [ '<!@(pkg-config --cflags MagickWand)', '<!@(pkg-config --cflags MagickCore)' ] }] ] } ] }
{'targets': [{'target_name': 'MagickCLI', 'sources': ['src/magick-cli.cc'], 'cflags!': ['-fno-exceptions'], 'cflags_cc!': ['-fno-exceptions'], 'include_dirs': ['<!@(node -p "require(\'node-addon-api\').include")'], 'dependencies': ['<!(node -p "require(\'node-addon-api\').gyp")'], 'conditions': [['OS=="linux" or OS=="solaris" or OS=="freebsd"', {'libraries': ['<!@(pkg-config --libs MagickWand)', '<!@(pkg-config --libs MagickCore)'], 'cflags': ['<!@(pkg-config --cflags MagickWand)', '<!@(pkg-config --cflags MagickCore)']}], ['OS=="win"', {'variables': {'MAGICK%': '<!(python magick-cli-path.py)'}, 'msvs_settings': {'VCCLCompilerTool': {'ExceptionHandling': 1}}, 'libraries': ['-l<(MAGICK)/lib/CORE_RL_MagickWand_.lib', '-l<(MAGICK)/lib/CORE_RL_MagickCore_.lib'], 'include_dirs': ['<(MAGICK)/include']}], ['OS=="mac"', {'xcode_settings': {'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', 'CLANG_CXX_LIBRARY': 'libc++', 'MACOSX_DEPLOYMENT_TARGET': '10.7', 'OTHER_CFLAGS': ['<!@(pkg-config --cflags MagickCore)', '<!@(pkg-config --cflags MagickWand)'], 'OTHER_CPLUSPLUSFLAGS': ['<!@(pkg-config --cflags MagickCore)', '<!@(pkg-config --cflags MagickWand)-std=c++11', '-stdlib=libc++'], 'OTHER_LDFLAGS': ['-stdlib=libc++']}, 'libraries': ['<!@(pkg-config --libs MagickWand)', '<!@(pkg-config --libs MagickCore)'], 'cflags': ['<!@(pkg-config --cflags MagickWand)', '<!@(pkg-config --cflags MagickCore)']}]]}]}
# -*- coding: utf-8 -*- ############################################## # Export CloudWatch metric data to csv file # Configuration file ############################################## METRICS = { 'CPUUtilization': ['AWS/EC2', 'AWS/RDS'], 'CPUCreditUsage': ['AWS/EC2', 'AWS/RDS'], 'CPUCreditBalance': ['AWS/EC2', 'AWS/RDS'], 'DiskReadOps': ['AWS/EC2'], 'DiskWriteOps': ['AWS/EC2'], 'DiskReadBytes': ['AWS/EC2'], 'DiskWriteBytes': ['AWS/EC2'], 'NetworkIn': ['AWS/EC2'], 'NetworkOut': ['AWS/EC2'], 'NetworkPacketsIn': ['AWS/EC2'], 'NetworkPacketsOut': ['AWS/EC2'], 'MetadataNoToken': ['AWS/EC2'], 'CPUSurplusCreditBalance': ['AWS/EC2'], 'CPUSurplusCreditsCharged': ['AWS/EC2'], 'EBSReadOps': ['AWS/EC2'], 'EBSWriteOps': ['AWS/EC2'], 'EBSReadBytes': ['AWS/EC2'], 'EBSWriteBytes': ['AWS/EC2'], 'EBSIOBalance%': ['AWS/EC2'], 'EBSByteBalance%': ['AWS/EC2'], 'StatusCheckFailed': ['AWS/EC2'], 'StatusCheckFailed_Instance': ['AWS/EC2'], 'StatusCheckFailed_System': ['AWS/EC2'], 'BinLogDiskUsage': ['AWS/RDS'], 'BurstBalance': ['AWS/RDS'], 'DatabaseConnections': ['AWS/RDS'], 'DiskQueueDepth': ['AWS/RDS'], 'FailedSQLServerAgentJobsCount': ['AWS/RDS'], 'FreeableMemory': ['AWS/RDS'], 'FreeStorageSpace': ['AWS/RDS'], 'MaximumUsedTransactionIDs': ['AWS/RDS'], 'NetworkReceiveThroughput': ['AWS/RDS'], 'NetworkTransmitThroughput': ['AWS/RDS'], 'OldestReplicationSlotLag': ['AWS/RDS'], 'ReadIOPS': ['AWS/RDS'], 'ReadLatency': ['AWS/RDS'], 'ReadThroughput': ['AWS/RDS'], 'ReplicaLag': ['AWS/RDS'], 'ReplicationSlotDiskUsage': ['AWS/RDS'], 'SwapUsage': ['AWS/RDS'], 'TransactionLogsDiskUsage': ['AWS/RDS'], 'TransactionLogsGeneration': ['AWS/RDS'], 'WriteIOPS': ['AWS/RDS'], 'WriteLatency': ['AWS/RDS'], 'WriteThroughput': ['AWS/RDS'], 'ActiveConnectionCount': ['AWS/ApplicationELB'], 'ClientTLSNegotiationErrorCount': ['AWS/ApplicationELB'], 'ConsumedLCUs': ['AWS/ApplicationELB'], 'DesyncMitigationMode_NonCompliant_Request_Count': ['AWS/ApplicationELB'], 'HTTP_Fixed_Response_Count': ['AWS/ApplicationELB'], 'HTTP_Redirect_Count': ['AWS/ApplicationELB'], 'HTTP_Redirect_Url_Limit_Exceeded_Count': ['AWS/ApplicationELB'], 'HTTPCode_ELB_3XX_Count': ['AWS/ApplicationELB'], 'HTTPCode_ELB_4XX_Count': ['AWS/ApplicationELB'], 'HTTPCode_ELB_5XX_Count': ['AWS/ApplicationELB'], 'HTTPCode_ELB_500_Count': ['AWS/ApplicationELB'], 'HTTPCode_ELB_502_Count': ['AWS/ApplicationELB'], 'HTTPCode_ELB_503_Count': ['AWS/ApplicationELB'], 'HTTPCode_ELB_504_Count': ['AWS/ApplicationELB'], 'IPv6ProcessedBytes': ['AWS/ApplicationELB'], 'IPv6RequestCount': ['AWS/ApplicationELB'], 'NewConnectionCount': ['AWS/ApplicationELB'], 'NonStickyRequestCount': ['AWS/ApplicationELB'], 'ProcessedBytes': ['AWS/ApplicationELB'], 'RejectedConnectionCount': ['AWS/ApplicationELB'], 'RequestCount': ['AWS/ApplicationELB'], 'RuleEvaluations': ['AWS/ApplicationELB'], 'HTTPCode_Target_2XX_Count': ['AWS/ApplicationELB'], 'HTTPCode_Target_3XX_Count': ['AWS/ApplicationELB'], 'HTTPCode_Target_4XX_Count': ['AWS/ApplicationELB'], 'HTTPCode_Target_5XX_Count': ['AWS/ApplicationELB'], 'TargetConnectionErrorCount': ['AWS/ApplicationELB'], 'TargetResponseTime': ['AWS/ApplicationELB'], 'TargetTLSNegotiationErrorCount': ['AWS/ApplicationELB'], 'LambdaTargetProcessedBytes': ['AWS/ApplicationELB'], 'ELBAuthError': ['AWS/ApplicationELB'], 'ELBAuthFailure': ['AWS/ApplicationELB'], 'ELBAuthLatency': ['AWS/ApplicationELB'], 'ELBAuthRefreshTokenSuccess': ['AWS/ApplicationELB'], 'ELBAuthSuccess': ['AWS/ApplicationELB'], 'ELBAuthUserClaimsSizeExceeded': ['AWS/ApplicationELB'], }
metrics = {'CPUUtilization': ['AWS/EC2', 'AWS/RDS'], 'CPUCreditUsage': ['AWS/EC2', 'AWS/RDS'], 'CPUCreditBalance': ['AWS/EC2', 'AWS/RDS'], 'DiskReadOps': ['AWS/EC2'], 'DiskWriteOps': ['AWS/EC2'], 'DiskReadBytes': ['AWS/EC2'], 'DiskWriteBytes': ['AWS/EC2'], 'NetworkIn': ['AWS/EC2'], 'NetworkOut': ['AWS/EC2'], 'NetworkPacketsIn': ['AWS/EC2'], 'NetworkPacketsOut': ['AWS/EC2'], 'MetadataNoToken': ['AWS/EC2'], 'CPUSurplusCreditBalance': ['AWS/EC2'], 'CPUSurplusCreditsCharged': ['AWS/EC2'], 'EBSReadOps': ['AWS/EC2'], 'EBSWriteOps': ['AWS/EC2'], 'EBSReadBytes': ['AWS/EC2'], 'EBSWriteBytes': ['AWS/EC2'], 'EBSIOBalance%': ['AWS/EC2'], 'EBSByteBalance%': ['AWS/EC2'], 'StatusCheckFailed': ['AWS/EC2'], 'StatusCheckFailed_Instance': ['AWS/EC2'], 'StatusCheckFailed_System': ['AWS/EC2'], 'BinLogDiskUsage': ['AWS/RDS'], 'BurstBalance': ['AWS/RDS'], 'DatabaseConnections': ['AWS/RDS'], 'DiskQueueDepth': ['AWS/RDS'], 'FailedSQLServerAgentJobsCount': ['AWS/RDS'], 'FreeableMemory': ['AWS/RDS'], 'FreeStorageSpace': ['AWS/RDS'], 'MaximumUsedTransactionIDs': ['AWS/RDS'], 'NetworkReceiveThroughput': ['AWS/RDS'], 'NetworkTransmitThroughput': ['AWS/RDS'], 'OldestReplicationSlotLag': ['AWS/RDS'], 'ReadIOPS': ['AWS/RDS'], 'ReadLatency': ['AWS/RDS'], 'ReadThroughput': ['AWS/RDS'], 'ReplicaLag': ['AWS/RDS'], 'ReplicationSlotDiskUsage': ['AWS/RDS'], 'SwapUsage': ['AWS/RDS'], 'TransactionLogsDiskUsage': ['AWS/RDS'], 'TransactionLogsGeneration': ['AWS/RDS'], 'WriteIOPS': ['AWS/RDS'], 'WriteLatency': ['AWS/RDS'], 'WriteThroughput': ['AWS/RDS'], 'ActiveConnectionCount': ['AWS/ApplicationELB'], 'ClientTLSNegotiationErrorCount': ['AWS/ApplicationELB'], 'ConsumedLCUs': ['AWS/ApplicationELB'], 'DesyncMitigationMode_NonCompliant_Request_Count': ['AWS/ApplicationELB'], 'HTTP_Fixed_Response_Count': ['AWS/ApplicationELB'], 'HTTP_Redirect_Count': ['AWS/ApplicationELB'], 'HTTP_Redirect_Url_Limit_Exceeded_Count': ['AWS/ApplicationELB'], 'HTTPCode_ELB_3XX_Count': ['AWS/ApplicationELB'], 'HTTPCode_ELB_4XX_Count': ['AWS/ApplicationELB'], 'HTTPCode_ELB_5XX_Count': ['AWS/ApplicationELB'], 'HTTPCode_ELB_500_Count': ['AWS/ApplicationELB'], 'HTTPCode_ELB_502_Count': ['AWS/ApplicationELB'], 'HTTPCode_ELB_503_Count': ['AWS/ApplicationELB'], 'HTTPCode_ELB_504_Count': ['AWS/ApplicationELB'], 'IPv6ProcessedBytes': ['AWS/ApplicationELB'], 'IPv6RequestCount': ['AWS/ApplicationELB'], 'NewConnectionCount': ['AWS/ApplicationELB'], 'NonStickyRequestCount': ['AWS/ApplicationELB'], 'ProcessedBytes': ['AWS/ApplicationELB'], 'RejectedConnectionCount': ['AWS/ApplicationELB'], 'RequestCount': ['AWS/ApplicationELB'], 'RuleEvaluations': ['AWS/ApplicationELB'], 'HTTPCode_Target_2XX_Count': ['AWS/ApplicationELB'], 'HTTPCode_Target_3XX_Count': ['AWS/ApplicationELB'], 'HTTPCode_Target_4XX_Count': ['AWS/ApplicationELB'], 'HTTPCode_Target_5XX_Count': ['AWS/ApplicationELB'], 'TargetConnectionErrorCount': ['AWS/ApplicationELB'], 'TargetResponseTime': ['AWS/ApplicationELB'], 'TargetTLSNegotiationErrorCount': ['AWS/ApplicationELB'], 'LambdaTargetProcessedBytes': ['AWS/ApplicationELB'], 'ELBAuthError': ['AWS/ApplicationELB'], 'ELBAuthFailure': ['AWS/ApplicationELB'], 'ELBAuthLatency': ['AWS/ApplicationELB'], 'ELBAuthRefreshTokenSuccess': ['AWS/ApplicationELB'], 'ELBAuthSuccess': ['AWS/ApplicationELB'], 'ELBAuthUserClaimsSizeExceeded': ['AWS/ApplicationELB']}
NORTH, EAST, SOUTH, WEST = range(4) class Compass(object): compass = [NORTH, EAST, SOUTH, WEST] def __init__(self, bearing=NORTH): self.bearing = bearing def left(self): self.bearing = self.compass[self.bearing - 1] def right(self): self.bearing = self.compass[(self.bearing + 1) % 4] class Robot(object): def __init__(self, bearing=NORTH, x=0, y=0): self.compass = Compass(bearing) self.x = x self.y = y def advance(self): if self.bearing == NORTH: self.y += 1 elif self.bearing == SOUTH: self.y -= 1 elif self.bearing == EAST: self.x += 1 elif self.bearing == WEST: self.x -= 1 def turn_left(self): self.compass.left() def turn_right(self): self.compass.right() def simulate(self, commands): instructions = {'A': self.advance, 'R': self.turn_right, 'L': self.turn_left} for cmd in commands: if cmd in instructions: instructions[cmd]() @property def bearing(self): return self.compass.bearing @property def coordinates(self): return (self.x, self.y)
(north, east, south, west) = range(4) class Compass(object): compass = [NORTH, EAST, SOUTH, WEST] def __init__(self, bearing=NORTH): self.bearing = bearing def left(self): self.bearing = self.compass[self.bearing - 1] def right(self): self.bearing = self.compass[(self.bearing + 1) % 4] class Robot(object): def __init__(self, bearing=NORTH, x=0, y=0): self.compass = compass(bearing) self.x = x self.y = y def advance(self): if self.bearing == NORTH: self.y += 1 elif self.bearing == SOUTH: self.y -= 1 elif self.bearing == EAST: self.x += 1 elif self.bearing == WEST: self.x -= 1 def turn_left(self): self.compass.left() def turn_right(self): self.compass.right() def simulate(self, commands): instructions = {'A': self.advance, 'R': self.turn_right, 'L': self.turn_left} for cmd in commands: if cmd in instructions: instructions[cmd]() @property def bearing(self): return self.compass.bearing @property def coordinates(self): return (self.x, self.y)
class SavingsAccount: '''Defines a savings account''' #static variables RATE = 0.02 MIN_BALANCE = 25 def __init__(self, name, pin, balance = 0.0): self.name = name self.pin = pin self.balance = balance def __str__(self): result = "Name: " + self.name + "\n" result += "PIN: " + self.pin + "\n" result += "Balance: " + str(self.balance) return result def getBalance(self): return self.balance def getName(self): return self.name def getPin(self): return self.pin def deposit(self, amount): '''deposits the amount into our balance''' self.balance += amount def withdraw(self, amount): if amount < 0: return "Amount must be >= 0" if self.balance < amount: return "Insufficient Funds" self.balance -= amount return None def computeInterest(self): interest = self.balance * SavingsAccount.RATE self.deposit(interest) return interest if __name__ == "__main__": sa1 = SavingsAccount("Marc", "1234", 6.50) print(sa1) print(sa1.getBalance()) print(sa1.getName()) print(sa1.getPin()) sa1.deposit(1234.76) sa1.deposit(1852.86) print(sa1.getBalance()) print(sa1.computeInterest())
class Savingsaccount: """Defines a savings account""" rate = 0.02 min_balance = 25 def __init__(self, name, pin, balance=0.0): self.name = name self.pin = pin self.balance = balance def __str__(self): result = 'Name: ' + self.name + '\n' result += 'PIN: ' + self.pin + '\n' result += 'Balance: ' + str(self.balance) return result def get_balance(self): return self.balance def get_name(self): return self.name def get_pin(self): return self.pin def deposit(self, amount): """deposits the amount into our balance""" self.balance += amount def withdraw(self, amount): if amount < 0: return 'Amount must be >= 0' if self.balance < amount: return 'Insufficient Funds' self.balance -= amount return None def compute_interest(self): interest = self.balance * SavingsAccount.RATE self.deposit(interest) return interest if __name__ == '__main__': sa1 = savings_account('Marc', '1234', 6.5) print(sa1) print(sa1.getBalance()) print(sa1.getName()) print(sa1.getPin()) sa1.deposit(1234.76) sa1.deposit(1852.86) print(sa1.getBalance()) print(sa1.computeInterest())
MICROSERVICES = { # Map locations to their microservices "LOCATION_MICROSERVICES": [ { "module": "intelligence.welcome.location_welcome_microservice", "class": "LocationWelcomeMicroservice" } ] }
microservices = {'LOCATION_MICROSERVICES': [{'module': 'intelligence.welcome.location_welcome_microservice', 'class': 'LocationWelcomeMicroservice'}]}
ADDRESS_STR = '' PRIVATE_KEY_STR = '' GAS = 210000 GAS_PRICE = 5000000000 SECONDS_LEFT = 25 SELL_AFTER_WIN = False
address_str = '' private_key_str = '' gas = 210000 gas_price = 5000000000 seconds_left = 25 sell_after_win = False
track_width = 0.6603288840524426 track_original = [(3.9968843292236325, -2.398085115814209), (4.108486819458006, -2.398085115814209), (4.220117408752442, -2.398085115814209), (4.331728619384766, -2.3980848251342772), (4.443350294494627, -2.398085115814209), (4.554988441467286, -2.398085115814209), (4.666571746826172, -2.398085115814209), (4.7781641601562495, -2.398085115814209), (4.8896753768920895, -2.398085115814209), (5.001236978149414, -2.398085115814209), (5.112820671081545, -2.398085115814209), (5.22445222930908, -2.398085115814209), (5.336061114501954, -2.398085115814209), (5.4476612792968755, -2.3980848251342772), (5.559263769531249, -2.398085115814209), (5.670884088134765, -2.398085115814209), (5.782510801696777, -2.398085115814209), (5.894127050781252, -2.398085115814209), (6.00181679534912, -2.398085115814209), (6.173943692016602, -2.398085115814209), (6.345643870544436, -2.398085115814209), (6.537344378662107, -2.398085115814209), (6.768550421142578, -2.398085115814209), (6.98473063659668, -2.398085115814209), (7.162758142089844, -2.398085115814209), (7.274807891845702, -2.398085115814209), (7.3869537597656265, -2.398085115814209), (7.499844155883789, -2.398085115814209), (7.61068235168457, -2.384343028259277), (7.715040710449218, -2.3489811363220214), (7.806151428222655, -2.289116379547119), (7.879453155517577, -2.2083449531555175), (7.931933673095703, -2.1111327667236326), (7.969687957763672, -2.0054785568237286), (8.009337475585937, -1.9026145835876465), (8.063614782714842, -1.8110042839050309), (8.13654327697754, -1.734422282028198), (8.224194903564452, -1.670004508590698), (8.315116873168945, -1.6062793285369872), (8.397656408691406, -1.5321647148132325), (8.462792355346679, -1.44245458984375), (8.509496481323243, -1.3409916938781739), (8.540622875976563, -1.2328676250457764), (8.560585998535156, -1.12199483833313), (8.572986404418945, -1.010168572998047), (8.580685159301758, -0.8628370136260985), (8.583536148071289, -0.7021988536834717), (8.58443454284668, -0.5753229497909546), (8.584472137451172, -0.3747735631942749), (8.584492291259764, -0.19896346716880797), (8.584528335571289, -0.00428482018969953), (8.584556240844726, 0.2119464259147644), (8.58433532409668, 0.3881836337089538), (8.584120608520507, 0.5002564319610595), (8.580803369140625, 0.6122315738677978), (8.571400067138672, 0.7239659116744994), (8.555663430786133, 0.8350995351791382), (8.531425762939453, 0.9447460159301757), (8.500583847045899, 1.0525313941955565), (8.46601541442871, 1.1590160766601563), (8.431132659912109, 1.2648468261718748), (8.40480791015625, 1.3722508808135987), (8.388611611938476, 1.4806030849456786), (8.405742349243162, 1.6502103195190427), (8.463046215820313, 1.8476967147827148), (8.53134553527832, 2.0626024925231934), (8.55994340209961, 2.291900899505615), (8.514377191162108, 2.4563697364807124), (8.426188388061522, 2.610280400085449), (8.300192977905272, 2.7344502433776854), (8.126715969848632, 2.814492935180664), (7.936248913574218, 2.8448311027526856), (7.69728442993164, 2.842157622528076), (7.414035440063476, 2.8335633796691893), (7.165993991088866, 2.8013261032104495), (6.971922503662109, 2.736647105407715), (6.792461752319335, 2.6331662124633786), (6.649091239929199, 2.4822172866821286), (6.649091239929199, 2.4822172866821286), (6.544510801696777, 2.30300177230835), (6.491997534179687, 2.1105175910949705), (6.481333262634276, 1.915810774230957), (6.498144058227538, 1.7427884864807128), (6.531408113098145, 1.5830480915069578), (6.566860212707519, 1.4499332515716552), (6.603410694885254, 1.3282434410095214), (6.641890516662597, 1.2071183731079103), (6.678002847290038, 1.0942358253479), (6.713907051086426, 0.9754661369323733), (6.748999676513671, 0.8351240734100341), (6.771528340148926, 0.6824846742630002), (6.770214854431152, 0.5170887620925904), (6.739964762878418, 0.35214239854812623), (6.678730709838867, 0.20278325449079276), (6.584536071777343, 0.073577370595932), (6.465435395812988, -0.022756241798400884), (6.332671018981934, -0.08443354539871215), (6.192271061706543, -0.11442267904281617), (6.048808113098144, -0.11327295513153077), (5.9084566024780285, -0.0796875414848329), (5.777142330932618, -0.017066400146484362), (5.654321920776367, 0.04993410081863381), (5.543534690856934, 0.08980346956253056), (5.431823098754883, 0.10004641265869134), (5.321303681945801, 0.08101749906539898), (5.223240675354005, 0.0331226148605349), (5.136034951782227, -0.03443096523284911), (5.057559121704101, -0.11292725191116332), (4.981652514648437, -0.19307756190299985), (4.901582789611815, -0.265934788107872), (4.813124816894531, -0.3229467545032501), (4.716816741943359, -0.3564500641271472), (4.6162901260375975, -0.3593997144155204), (4.51511413116455, -0.3368315144300461), (4.416144396972657, -0.29576415982246396), (4.317549252319336, -0.247266593170166), (4.215311694335938, -0.20396510591506956), (4.107997895812988, -0.18035982437133785), (3.999729116821289, -0.184920810508728), (3.8959674270629883, -0.2160716101646423), (3.800001385498047, -0.27164925882816315), (3.709108677673339, -0.33655119952783036), (3.616933296203613, -0.3951910578489304), (3.518029643249511, -0.4385550443172457), (3.4129790786743164, -0.46291566977500914), (3.3047851013183593, -0.4704929507255554), (3.1941414672851565, -0.4655450453758239), (3.0825288032531737, -0.45816466374397274), (2.9700563079833975, -0.4528322554588317), (2.8574543632507323, -0.4456599219322205), (2.7442044929504394, -0.4349176088809967), (2.6292975532531737, -0.4197862710952759), (2.5105101333618163, -0.40448946981430056), (2.3889220123291004, -0.39316141550540923), (2.26488229675293, -0.38975981838703155), (2.1411589378356934, -0.4009938316822052), (2.020786827850342, -0.4341942760944366), (1.8794536911010733, -0.5233404517173774), (1.7949362239837645, -0.6104808813095093), (1.7206921123504637, -0.7506510318756103), (1.6887726943969725, -0.8770849569320678), (1.6724089160919189, -1.0758010009765624), (1.6601904273986814, -1.2993672481536864), (1.6567321598052978, -1.5105078002929688), (1.6593520095825194, -1.6933875289916993), (1.6648058433532715, -1.8153231094360351), (1.6874392971038819, -1.9510643394470213), (1.7280409854888914, -2.050013919830322), (1.7906410888671873, -2.1427592277526855), (1.870859399795532, -2.223833251953125), (1.9645064453124998, -2.2893214057922364), (2.0718011558532714, -2.3412403297424316), (2.18892162322998, -2.375639586639404), (2.3153282485961912, -2.3939165718078614), (2.429082545471191, -2.398216987609863), (2.542245696258545, -2.3981534255981445), (2.6547331130981444, -2.398104203796387), (2.766569309997559, -2.398085115814209), (2.878082949066162, -2.398085115814209), (2.990368634033203, -2.398085115814209), (3.102650637054443, -2.398085115814209), (3.214940197753906, -2.398085115814209), (3.3272259796142576, -2.398085115814209), (3.438768783569336, -2.398085115814209), (3.5503902648925783, -2.398085115814209), (3.6620016693115236, -2.398085115814209), (3.7736411727905272, -2.3980848251342772), (3.8852564529418943, -2.398085115814209), (3.9968843292236325, -2.398085115814209)]
track_width = 0.6603288840524426 track_original = [(3.9968843292236325, -2.398085115814209), (4.108486819458006, -2.398085115814209), (4.220117408752442, -2.398085115814209), (4.331728619384766, -2.3980848251342772), (4.443350294494627, -2.398085115814209), (4.554988441467286, -2.398085115814209), (4.666571746826172, -2.398085115814209), (4.7781641601562495, -2.398085115814209), (4.8896753768920895, -2.398085115814209), (5.001236978149414, -2.398085115814209), (5.112820671081545, -2.398085115814209), (5.22445222930908, -2.398085115814209), (5.336061114501954, -2.398085115814209), (5.4476612792968755, -2.3980848251342772), (5.559263769531249, -2.398085115814209), (5.670884088134765, -2.398085115814209), (5.782510801696777, -2.398085115814209), (5.894127050781252, -2.398085115814209), (6.00181679534912, -2.398085115814209), (6.173943692016602, -2.398085115814209), (6.345643870544436, -2.398085115814209), (6.537344378662107, -2.398085115814209), (6.768550421142578, -2.398085115814209), (6.98473063659668, -2.398085115814209), (7.162758142089844, -2.398085115814209), (7.274807891845702, -2.398085115814209), (7.3869537597656265, -2.398085115814209), (7.499844155883789, -2.398085115814209), (7.61068235168457, -2.384343028259277), (7.715040710449218, -2.3489811363220214), (7.806151428222655, -2.289116379547119), (7.879453155517577, -2.2083449531555175), (7.931933673095703, -2.1111327667236326), (7.969687957763672, -2.0054785568237286), (8.009337475585937, -1.9026145835876465), (8.063614782714842, -1.8110042839050309), (8.13654327697754, -1.734422282028198), (8.224194903564452, -1.670004508590698), (8.315116873168945, -1.6062793285369872), (8.397656408691406, -1.5321647148132325), (8.462792355346679, -1.44245458984375), (8.509496481323243, -1.3409916938781739), (8.540622875976563, -1.2328676250457764), (8.560585998535156, -1.12199483833313), (8.572986404418945, -1.010168572998047), (8.580685159301758, -0.8628370136260985), (8.583536148071289, -0.7021988536834717), (8.58443454284668, -0.5753229497909546), (8.584472137451172, -0.3747735631942749), (8.584492291259764, -0.19896346716880797), (8.584528335571289, -0.00428482018969953), (8.584556240844726, 0.2119464259147644), (8.58433532409668, 0.3881836337089538), (8.584120608520507, 0.5002564319610595), (8.580803369140625, 0.6122315738677978), (8.571400067138672, 0.7239659116744994), (8.555663430786133, 0.8350995351791382), (8.531425762939453, 0.9447460159301757), (8.500583847045899, 1.0525313941955565), (8.46601541442871, 1.1590160766601563), (8.431132659912109, 1.2648468261718748), (8.40480791015625, 1.3722508808135987), (8.388611611938476, 1.4806030849456786), (8.405742349243162, 1.6502103195190427), (8.463046215820313, 1.8476967147827148), (8.53134553527832, 2.0626024925231934), (8.55994340209961, 2.291900899505615), (8.514377191162108, 2.4563697364807124), (8.426188388061522, 2.610280400085449), (8.300192977905272, 2.7344502433776854), (8.126715969848632, 2.814492935180664), (7.936248913574218, 2.8448311027526856), (7.69728442993164, 2.842157622528076), (7.414035440063476, 2.8335633796691893), (7.165993991088866, 2.8013261032104495), (6.971922503662109, 2.736647105407715), (6.792461752319335, 2.6331662124633786), (6.649091239929199, 2.4822172866821286), (6.649091239929199, 2.4822172866821286), (6.544510801696777, 2.30300177230835), (6.491997534179687, 2.1105175910949705), (6.481333262634276, 1.915810774230957), (6.498144058227538, 1.7427884864807128), (6.531408113098145, 1.5830480915069578), (6.566860212707519, 1.4499332515716552), (6.603410694885254, 1.3282434410095214), (6.641890516662597, 1.2071183731079103), (6.678002847290038, 1.0942358253479), (6.713907051086426, 0.9754661369323733), (6.748999676513671, 0.8351240734100341), (6.771528340148926, 0.6824846742630002), (6.770214854431152, 0.5170887620925904), (6.739964762878418, 0.35214239854812623), (6.678730709838867, 0.20278325449079276), (6.584536071777343, 0.073577370595932), (6.465435395812988, -0.022756241798400884), (6.332671018981934, -0.08443354539871215), (6.192271061706543, -0.11442267904281617), (6.048808113098144, -0.11327295513153077), (5.9084566024780285, -0.0796875414848329), (5.777142330932618, -0.017066400146484362), (5.654321920776367, 0.04993410081863381), (5.543534690856934, 0.08980346956253056), (5.431823098754883, 0.10004641265869134), (5.321303681945801, 0.08101749906539898), (5.223240675354005, 0.0331226148605349), (5.136034951782227, -0.03443096523284911), (5.057559121704101, -0.11292725191116332), (4.981652514648437, -0.19307756190299985), (4.901582789611815, -0.265934788107872), (4.813124816894531, -0.3229467545032501), (4.716816741943359, -0.3564500641271472), (4.6162901260375975, -0.3593997144155204), (4.51511413116455, -0.3368315144300461), (4.416144396972657, -0.29576415982246396), (4.317549252319336, -0.247266593170166), (4.215311694335938, -0.20396510591506956), (4.107997895812988, -0.18035982437133785), (3.999729116821289, -0.184920810508728), (3.8959674270629883, -0.2160716101646423), (3.800001385498047, -0.27164925882816315), (3.709108677673339, -0.33655119952783036), (3.616933296203613, -0.3951910578489304), (3.518029643249511, -0.4385550443172457), (3.4129790786743164, -0.46291566977500914), (3.3047851013183593, -0.4704929507255554), (3.1941414672851565, -0.4655450453758239), (3.0825288032531737, -0.45816466374397274), (2.9700563079833975, -0.4528322554588317), (2.8574543632507323, -0.4456599219322205), (2.7442044929504394, -0.4349176088809967), (2.6292975532531737, -0.4197862710952759), (2.5105101333618163, -0.40448946981430056), (2.3889220123291004, -0.39316141550540923), (2.26488229675293, -0.38975981838703155), (2.1411589378356934, -0.4009938316822052), (2.020786827850342, -0.4341942760944366), (1.8794536911010733, -0.5233404517173774), (1.7949362239837645, -0.6104808813095093), (1.7206921123504637, -0.7506510318756103), (1.6887726943969725, -0.8770849569320678), (1.6724089160919189, -1.0758010009765624), (1.6601904273986814, -1.2993672481536864), (1.6567321598052978, -1.5105078002929688), (1.6593520095825194, -1.6933875289916993), (1.6648058433532715, -1.8153231094360351), (1.6874392971038819, -1.9510643394470213), (1.7280409854888914, -2.050013919830322), (1.7906410888671873, -2.1427592277526855), (1.870859399795532, -2.223833251953125), (1.9645064453124998, -2.2893214057922364), (2.0718011558532714, -2.3412403297424316), (2.18892162322998, -2.375639586639404), (2.3153282485961912, -2.3939165718078614), (2.429082545471191, -2.398216987609863), (2.542245696258545, -2.3981534255981445), (2.6547331130981444, -2.398104203796387), (2.766569309997559, -2.398085115814209), (2.878082949066162, -2.398085115814209), (2.990368634033203, -2.398085115814209), (3.102650637054443, -2.398085115814209), (3.214940197753906, -2.398085115814209), (3.3272259796142576, -2.398085115814209), (3.438768783569336, -2.398085115814209), (3.5503902648925783, -2.398085115814209), (3.6620016693115236, -2.398085115814209), (3.7736411727905272, -2.3980848251342772), (3.8852564529418943, -2.398085115814209), (3.9968843292236325, -2.398085115814209)]
class DealProposal(object): ''' Holds details about a deal proposed by one player to another. ''' def __init__( self, propose_to_player=None, properties_offered=None, properties_wanted=None, maximum_cash_offered=0, minimum_cash_wanted=0): ''' The 'constructor'. properties_offered and properties_wanted should be passed as lists of property names, for example: [Square.Name.OLD_KENT_ROAD, Square.Name.BOW_STREET] If you offer cash as part of the deal, set maximum_cash_offered and set minimum_cash_wanted to zero. And vice versa if you are willing to pay money as part of the deal. ''' if (not properties_offered): properties_offered = [] if (not properties_wanted): properties_wanted = [] self.propose_to_player = propose_to_player self.properties_offered = properties_offered self.properties_wanted = properties_wanted self.maximum_cash_offered = maximum_cash_offered self.minimum_cash_wanted = minimum_cash_wanted self.proposed_by_player = None def __str__(self): ''' Renders the proposal as a string. ''' return "Offered: {0}. Wanted: {1}".format(self.properties_offered, self.properties_wanted) @property def deal_proposed(self): ''' True if a valid deal was proposed, False if not. ''' return True if (self.properties_offered or self.properties_wanted) else False
class Dealproposal(object): """ Holds details about a deal proposed by one player to another. """ def __init__(self, propose_to_player=None, properties_offered=None, properties_wanted=None, maximum_cash_offered=0, minimum_cash_wanted=0): """ The 'constructor'. properties_offered and properties_wanted should be passed as lists of property names, for example: [Square.Name.OLD_KENT_ROAD, Square.Name.BOW_STREET] If you offer cash as part of the deal, set maximum_cash_offered and set minimum_cash_wanted to zero. And vice versa if you are willing to pay money as part of the deal. """ if not properties_offered: properties_offered = [] if not properties_wanted: properties_wanted = [] self.propose_to_player = propose_to_player self.properties_offered = properties_offered self.properties_wanted = properties_wanted self.maximum_cash_offered = maximum_cash_offered self.minimum_cash_wanted = minimum_cash_wanted self.proposed_by_player = None def __str__(self): """ Renders the proposal as a string. """ return 'Offered: {0}. Wanted: {1}'.format(self.properties_offered, self.properties_wanted) @property def deal_proposed(self): """ True if a valid deal was proposed, False if not. """ return True if self.properties_offered or self.properties_wanted else False
email = input() while True: line = input() if line == 'Complete': break args = line.split() command = args[0] if command == 'Make': result = '' if args[1] == 'Upper': for ch in email: if ch.isalpha(): ch = ch.upper() result += ch email = result print(email) else: for ch in email: if ch.isalpha(): ch = ch.lower() result += ch email = result print(email) elif command == 'GetDomain': count = int(args[1]) print(email[-count:]) elif command == 'GetUsername': if '@' not in email: print(f"The email {email} doesn't contain the @ symbol.") continue username = '' for ch in email: if ch == '@': break username += ch print(username) elif command == 'Replace': replace = args[1] while replace in email: email = email.replace(replace, '-') print(email) elif command == 'Encrypt': encrypted = [] for ch in email: encrypted.append(str(ord(ch))) print(' '.join(encrypted))
email = input() while True: line = input() if line == 'Complete': break args = line.split() command = args[0] if command == 'Make': result = '' if args[1] == 'Upper': for ch in email: if ch.isalpha(): ch = ch.upper() result += ch email = result print(email) else: for ch in email: if ch.isalpha(): ch = ch.lower() result += ch email = result print(email) elif command == 'GetDomain': count = int(args[1]) print(email[-count:]) elif command == 'GetUsername': if '@' not in email: print(f"The email {email} doesn't contain the @ symbol.") continue username = '' for ch in email: if ch == '@': break username += ch print(username) elif command == 'Replace': replace = args[1] while replace in email: email = email.replace(replace, '-') print(email) elif command == 'Encrypt': encrypted = [] for ch in email: encrypted.append(str(ord(ch))) print(' '.join(encrypted))
# B_R_R # M_S_A_W # Accept a string # Encode the received string into unicodes # And decipher the unicodes back to its original form # Convention of assigning characters with unicodes # A - Z ---> 65-90 # a - z ---> 97-122 # ord("A") ---> 65 # chr(65) ---> A # Enter a string to encode in uppercase givenStr=input('What is your word in mind(in uppercase please): ').upper() # Print encoded unicodes secretStr='' normStr='' for char in givenStr: secretStr+=str(ord(char)) print("The encrypted string is --->", secretStr) # Cycle through each charcter code 2 at a time for i in range(0,(len(secretStr)-1),2): charCode=secretStr[i]+secretStr[i+1] # Decipher the encrypted code normStr+=chr(int(charCode)) # Print original string print(normStr)
given_str = input('What is your word in mind(in uppercase please): ').upper() secret_str = '' norm_str = '' for char in givenStr: secret_str += str(ord(char)) print('The encrypted string is --->', secretStr) for i in range(0, len(secretStr) - 1, 2): char_code = secretStr[i] + secretStr[i + 1] norm_str += chr(int(charCode)) print(normStr)
# Backtracking is a general algorithm for finding all (or some) solutions to some computational problems, notably # constraint satisfaction problems, that incrementally builds candidates to the solutions, and abandons a candidate # ("backtracks") as soon as it determines that the candidate cannot possibly be completed to a valid solution. # # backtracking vs. dfs # traverse in solution space vs. traverse in data structure space, pruned of dfs def backtracking(self, data, candidate): # pruning if self.reject(data, candidate): return # reach the end if self.accept(data, candidate): return self.output(data, candidate) # drill down for cur_candidate in self.all_extension(data, candidate): # or you can choose to prune here, recursion depth - 1 if not self.should_to_be_pruned(cur_candidate): self.backtracking(data, cur_candidate)
def backtracking(self, data, candidate): if self.reject(data, candidate): return if self.accept(data, candidate): return self.output(data, candidate) for cur_candidate in self.all_extension(data, candidate): if not self.should_to_be_pruned(cur_candidate): self.backtracking(data, cur_candidate)
f = open('input.txt').readlines() f = [line.strip().split(')') for line in f] nodes = {} for line in f: nodes[line[1]] = set() nodes['COM'] = set() for line in f: nodes[line[0]].add(line[1]) def predecessors(n): global nodes if n == 'COM': return set([n]) for p in nodes: if n in nodes[p]: return set([n]) | predecessors(p) result = predecessors('YOU') ^ predecessors('SAN') print(len(result)-2)
f = open('input.txt').readlines() f = [line.strip().split(')') for line in f] nodes = {} for line in f: nodes[line[1]] = set() nodes['COM'] = set() for line in f: nodes[line[0]].add(line[1]) def predecessors(n): global nodes if n == 'COM': return set([n]) for p in nodes: if n in nodes[p]: return set([n]) | predecessors(p) result = predecessors('YOU') ^ predecessors('SAN') print(len(result) - 2)
#Creating a single link list static (Example-1) class Node: def __init__(self): self.data=None self.nxt=None def assign_data(self,val): self.data=val def assign_add(self,addr): self.nxt=addr class ListPrint: def printLinklist(self,tmp): while(tmp): print(tmp.data,end=' ') tmp=tmp.nxt print("") head=Node() #Implementing Head Node head.assign_data(5) node2=Node() node2.assign_data(7) head.assign_add(node2) node3=Node() node3.assign_data(10) node2.assign_add(node3) pr=ListPrint() pr.printLinklist(head)
class Node: def __init__(self): self.data = None self.nxt = None def assign_data(self, val): self.data = val def assign_add(self, addr): self.nxt = addr class Listprint: def print_linklist(self, tmp): while tmp: print(tmp.data, end=' ') tmp = tmp.nxt print('') head = node() head.assign_data(5) node2 = node() node2.assign_data(7) head.assign_add(node2) node3 = node() node3.assign_data(10) node2.assign_add(node3) pr = list_print() pr.printLinklist(head)
# a *very* minimal conversion from a bitstream only fpga to fpga binary format # that can be loaded by the qorc-sdk bootloader(v2.1 or above) # 8 word header: # bin version = 0.1 = 0x00000001 # bitstream size = 75960 = 0x000128B8 # bitstream crc = 0x0 (not used) # meminit size = 0x0 (not used) # meminit crc = 0x0 (not used) # iomux size = 0x0 (not used) # iomux crc = 0x0 (not used) # reserved = 0x0 (not used) header = [ 0x00000001, 0x000128B8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 ] fpga_binary_bytearray = bytearray() # add header bytes for each_word in header: fpga_binary_bytearray.extend(int(each_word).to_bytes(4, "little")) # add bitstream content with open('usb2serial.bit', 'rb') as fpga_bitstream: fpga_binary_bytearray.extend(fpga_bitstream.read()) # other content is zero length, save binary: with open('usb2serial_fpga.bin', 'wb') as fpga_binary: fpga_binary.write(fpga_binary_bytearray)
header = [1, 75960, 0, 0, 0, 0, 0, 0] fpga_binary_bytearray = bytearray() for each_word in header: fpga_binary_bytearray.extend(int(each_word).to_bytes(4, 'little')) with open('usb2serial.bit', 'rb') as fpga_bitstream: fpga_binary_bytearray.extend(fpga_bitstream.read()) with open('usb2serial_fpga.bin', 'wb') as fpga_binary: fpga_binary.write(fpga_binary_bytearray)
class WrapperBase(object): def __init__(self, instance_to_wrap): self.wrapped = instance_to_wrap def __getattr__(self, item): assert item not in dir(self) return self.wrapped.__getattribute__(item)
class Wrapperbase(object): def __init__(self, instance_to_wrap): self.wrapped = instance_to_wrap def __getattr__(self, item): assert item not in dir(self) return self.wrapped.__getattribute__(item)
# coding: utf-8 """ Common utilities for the Widgets. """ TYPE_BTN_CONFIRM = "\u25a3" TYPE_BTN_REJECT = "\u25c9" TYPE_BTN_SELECT = "\u25c8" def make_button_label(label: str, type=TYPE_BTN_CONFIRM, selected: bool = True) -> str: """ Turns any label into a button label standard. :param label: Text :return: button label string """ if selected: ls = "\u25B8" rs = "\u25C2" else: ls = "\u25B9" rs = "\u25C3" return "{ls} {label} {f} {rs}".format(f=type, label=(label or "* ERROR *").strip(), ls=ls, rs=rs)
""" Common utilities for the Widgets. """ type_btn_confirm = '▣' type_btn_reject = '◉' type_btn_select = '◈' def make_button_label(label: str, type=TYPE_BTN_CONFIRM, selected: bool=True) -> str: """ Turns any label into a button label standard. :param label: Text :return: button label string """ if selected: ls = '▸' rs = '◂' else: ls = '▹' rs = '◃' return '{ls} {label} {f} {rs}'.format(f=type, label=(label or '* ERROR *').strip(), ls=ls, rs=rs)
def busca(inicio, fim, elemento, A): if (fim >= inicio): terco1 = inicio + (fim - inicio) // 3 terco2 = fim - (fim - inicio) // 3 if (A[terco1] == elemento): return terco1 if (A[terco2] == elemento): return terco2 if (elemento < A[terco1]): return busca(inicio, terco1 - 1, elemento, A) elif (elemento > A[terco2]): return busca(terco2 + 1, fim, elemento, A) else: return busca(terco1 + 1, terco2 - 1, elemento, A) return -1 if __name__ == "__main__": # Driver code A = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] n = len(A) elemento = 5 print(busca(0, n - 1, elemento, A)) # 4 elemento = 1 print(busca(0, n - 1, elemento, A)) # 0 elemento = 10 print(busca(0, n - 1, elemento, A)) # 9
def busca(inicio, fim, elemento, A): if fim >= inicio: terco1 = inicio + (fim - inicio) // 3 terco2 = fim - (fim - inicio) // 3 if A[terco1] == elemento: return terco1 if A[terco2] == elemento: return terco2 if elemento < A[terco1]: return busca(inicio, terco1 - 1, elemento, A) elif elemento > A[terco2]: return busca(terco2 + 1, fim, elemento, A) else: return busca(terco1 + 1, terco2 - 1, elemento, A) return -1 if __name__ == '__main__': a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] n = len(A) elemento = 5 print(busca(0, n - 1, elemento, A)) elemento = 1 print(busca(0, n - 1, elemento, A)) elemento = 10 print(busca(0, n - 1, elemento, A))
for _ in range(int(input())): n = int(input()) a = [int(x) for x in input().split()] b = [int(x) for x in input().split()] s = "" for i in range(n): b[i] -= a[i] for i in range(1,n): s += str(abs(b[i] - b[i - 1])) print("TAK") if (s == s[::-1]) else print("NIE")
for _ in range(int(input())): n = int(input()) a = [int(x) for x in input().split()] b = [int(x) for x in input().split()] s = '' for i in range(n): b[i] -= a[i] for i in range(1, n): s += str(abs(b[i] - b[i - 1])) print('TAK') if s == s[::-1] else print('NIE')
#!/usr/bin/python3 class Complex: def __init__(self, realpart, imagpart): self.realpart = realpart self.imagpart = imagpart x = complex(3.0, -4.5) print(x.real, x.imag) class Test: def prt(self): print(self) print(self.__class__) t = Test() t.prt()
class Complex: def __init__(self, realpart, imagpart): self.realpart = realpart self.imagpart = imagpart x = complex(3.0, -4.5) print(x.real, x.imag) class Test: def prt(self): print(self) print(self.__class__) t = test() t.prt()
__version__ = 0.1 __all__ = [ "secure", "mft", "logfile", "usnjrnl", ]
__version__ = 0.1 __all__ = ['secure', 'mft', 'logfile', 'usnjrnl']
def transform_type(val): if val == 'payment': return 3 elif val == 'transfer': return 4 elif val == 'cash_out': return 1 elif val == 'cash_in': return 0 elif val == 'debit': return 2 else: return 0 def transform_nameDest(val): dest = val[0] if dest == 'M': return 1 elif dest == 'C': return 0 else: return 0
def transform_type(val): if val == 'payment': return 3 elif val == 'transfer': return 4 elif val == 'cash_out': return 1 elif val == 'cash_in': return 0 elif val == 'debit': return 2 else: return 0 def transform_name_dest(val): dest = val[0] if dest == 'M': return 1 elif dest == 'C': return 0 else: return 0
class Solution(object): def isPowerOfFour(self, num): """ :type num: int :rtype: bool """ # sketchy but works greaterThanZero = (num > 0) powerOfTwo = ((num & (num - 1)) == 0) oneInOddPosition = ((num & 0x55555555) == num) return greaterThanZero and powerOfTwo and oneInOddPosition
class Solution(object): def is_power_of_four(self, num): """ :type num: int :rtype: bool """ greater_than_zero = num > 0 power_of_two = num & num - 1 == 0 one_in_odd_position = num & 1431655765 == num return greaterThanZero and powerOfTwo and oneInOddPosition
locs, labels = xticks() xticks(locs, ("-10%", "-6.7%", "-3.3%", "0", "3.3%", "6.7%", "10%")) xlabel("Percentage change") ylabel("Number of Stocks") title("Simulated Market Performance")
(locs, labels) = xticks() xticks(locs, ('-10%', '-6.7%', '-3.3%', '0', '3.3%', '6.7%', '10%')) xlabel('Percentage change') ylabel('Number of Stocks') title('Simulated Market Performance')
{ 'targets': [ { 'target_name': 'yajl', 'type': 'static_library', 'sources': [ 'yajl/src/yajl.c', 'yajl/src/yajl_lex.c', 'yajl/src/yajl_parser.c', 'yajl/src/yajl_buf.c', 'yajl/src/yajl_encode.c', 'yajl/src/yajl_gen.c', 'yajl/src/yajl_alloc.c', 'yajl/src/yajl_tree.c', 'yajl/src/yajl_version.c', ], 'cflags': [ '-Wall', '-fvisibility=hidden', '-std=c99', '-pedantic', '-Wpointer-arith', '-Wno-format-y2k', '-Wstrict-prototypes', '-Wmissing-declarations', '-Wnested-externs', '-Wextra', '-Wundef', '-Wwrite-strings', '-Wold-style-definition', '-Wredundant-decls', '-Wno-unused-parameter', '-Wno-sign-compare', '-Wmissing-prototypes', ], 'xcode_settings': { 'OTHER_CFLAGS' : ['<@(_cflags)'], }, 'include_dirs': [ 'include', ], }, ] }
{'targets': [{'target_name': 'yajl', 'type': 'static_library', 'sources': ['yajl/src/yajl.c', 'yajl/src/yajl_lex.c', 'yajl/src/yajl_parser.c', 'yajl/src/yajl_buf.c', 'yajl/src/yajl_encode.c', 'yajl/src/yajl_gen.c', 'yajl/src/yajl_alloc.c', 'yajl/src/yajl_tree.c', 'yajl/src/yajl_version.c'], 'cflags': ['-Wall', '-fvisibility=hidden', '-std=c99', '-pedantic', '-Wpointer-arith', '-Wno-format-y2k', '-Wstrict-prototypes', '-Wmissing-declarations', '-Wnested-externs', '-Wextra', '-Wundef', '-Wwrite-strings', '-Wold-style-definition', '-Wredundant-decls', '-Wno-unused-parameter', '-Wno-sign-compare', '-Wmissing-prototypes'], 'xcode_settings': {'OTHER_CFLAGS': ['<@(_cflags)']}, 'include_dirs': ['include']}]}
"""Numerai main tournament metadata. Convenience module defining some of the more static variables of the Numerai main tournament. The tournament is constantly evolving. Metadata from this module might be outdated. Retrieving the most recent information using the `fetch_` functions of the `nntm.datasets` module should be preferred. References ---------- https://forum.numer.ai/t/super-massive-data-release-deep-dive/4053 https://forum.numer.ai/t/october-2021-updates/4384 """ TARGET_NAMES_UNIQUE = [ "target_nomi_20", "target_nomi_60", "target_jerome_20", "target_jerome_60", "target_janet_20", "target_janet_60", "target_ben_20", "target_ben_60", "target_alan_20", "target_alan_60", "target_paul_20", "target_paul_60", "target_george_20", "target_george_60", "target_william_20", "target_william_60", "target_arthur_20", "target_arthur_60", "target_thomas_20", "target_thomas_60", ] TARGET_NAMES = ["target"] + TARGET_NAMES_UNIQUE FEATURE_NAMES_LEGACY = [ "feature_unco_terefah_thirster", "feature_enlightening_mirthful_laurencin", "feature_tarry_meet_chapel", "feature_himyarite_tetragonal_deceit", "feature_dovetailed_winy_hanaper", "feature_tortured_arsenical_arable", "feature_unamazed_tumular_photomicrograph", "feature_unsurveyed_boyish_aleph", "feature_phellogenetic_vibrational_jocelyn", "feature_seemlier_reorient_monandry", "feature_unmalleable_resistant_kingston", "feature_lordly_lamellicorn_buxtehude", "feature_antipodal_unable_thievery", "feature_hypersonic_volcanological_footwear", "feature_unspotted_practiced_gland", "feature_casuistic_barbarian_monochromy", "feature_torturesome_estimable_preferrer", "feature_unlawful_superintendent_brunet", "feature_multilinear_sharpened_mouse", "feature_padded_peripteral_pericranium", "feature_antisubmarine_foregoing_cryosurgery", "feature_spagyric_echt_alum", "feature_epidermic_scruffiest_prosperity", "feature_chaldean_vixenly_propylite", "feature_emmetropic_heraclitean_conducting", "feature_telephonic_shakable_bollock", "feature_unapplicable_jerkiest_klemperer", "feature_perceivable_gasiform_psammite", "feature_unrelieved_rawish_cement", "feature_casemated_ibsenian_grantee", "feature_fragrant_fifteen_brian", "feature_apomictical_motorized_vaporisation", "feature_hysteric_mechanized_recklinghausen", "feature_reduplicate_conoid_albite", "feature_softish_unseparated_caudex", "feature_faustian_unventilated_lackluster", "feature_greedier_favorable_enthymeme", "feature_rural_inquisitional_trotline", "feature_mined_game_curse", "feature_smoggy_niftiest_lunch", "feature_paramagnetic_complex_gish", "feature_chaotic_granitoid_theist", "feature_basaltic_arid_scallion", "feature_unrated_intact_balmoral", "feature_revealable_aeonian_elvira", "feature_desiderative_commiserative_epizoa", "feature_subdued_spiffier_kano", "feature_flavourful_seismic_erica", "feature_doggish_whacking_headscarf", "feature_palatalized_unsucceeded_induration", "feature_conceding_ingrate_tablespoonful", "feature_misanthropic_knurliest_freebooty", "feature_inhibited_snowiest_drawing", "feature_induplicate_hoarse_disbursement", "feature_uninclosed_handcrafted_springing", "feature_bleeding_arabesque_pneuma", "feature_incitant_trochoidal_oculist", "feature_cairned_fumiest_ordaining", "feature_huskiest_compartmental_jacquerie", "feature_endangered_unthreaded_firebrick", "feature_epicurean_fetal_seising", "feature_stylistic_honduran_comprador", "feature_hellenistic_scraggly_comfort", "feature_intrusive_effluent_hokkaido", "feature_unnetted_bay_premillennialist", "feature_tossing_denominative_threshing", "feature_vestmental_hoofed_transpose", "feature_unsurveyed_chopped_feldspathoid", "feature_undescribed_methylic_friday", "feature_chartered_conceptual_spitting", "feature_fustiest_voiced_janet", "feature_offshore_defamatory_catalog", "feature_jiggish_tritheist_probity", "feature_quinsied_increased_braincase", "feature_petitionary_evanescent_diallage", "feature_fleshly_bedimmed_enfacement", "feature_zarathustrian_albigensian_itch", "feature_uncompromising_fancy_kyle", "feature_seamier_jansenism_inflator", "feature_levigate_kindly_dyspareunia", "feature_ctenoid_moaning_fontainebleau", "feature_unliving_bit_bengaline", "feature_culinary_pro_offering", "feature_nebule_barmier_bibliomania", "feature_unlivable_morbific_traveling", "feature_peaty_vulgar_branchia", "feature_peculiar_sheenier_quintal", "feature_apostate_impercipient_knighthood", "feature_collective_stigmatic_handfasting", "feature_scenographical_dissentient_trek", "feature_unaimed_yonder_filmland", "feature_recidivism_petitory_methyltestosterone", "feature_unperfect_implemental_cellarage", "feature_incommensurable_diffused_curability", "feature_bloodied_twinkling_andante", "feature_more_hindoo_diageotropism", "feature_uncomplimentary_malignant_scoff", "feature_sorted_ignitable_sagitta", "feature_planar_unessential_bride", "feature_reminiscent_unpained_ukulele", "feature_whistleable_unbedimmed_chokey", "feature_reclaimed_fallibilist_turpentine", "feature_tittering_virgilian_decliner", "feature_travelled_semipermeable_perruquier", "feature_clerkish_flowing_chapati", "feature_oversea_permed_insulter", "feature_congenital_conched_perithecium", "feature_untouchable_unsolvable_agouti", "feature_grazed_blameful_desiderative", "feature_coordinated_undecipherable_gag", "feature_tranquilizing_abashed_glyceria", "feature_irresponsive_compositive_ramson", "feature_attuned_southward_heckle", "feature_supergene_legible_antarthritic", "feature_descendent_decanal_hon", "feature_encompassing_skeptical_salience", "feature_mazy_superrefined_punishment", "feature_whitened_remanent_blast", "feature_intercalative_helvetian_infirmarian", "feature_axillary_reluctant_shorty", "feature_liege_unexercised_ennoblement", "feature_caespitose_unverifiable_intent", "feature_hypothetic_distressing_endemic", "feature_calculating_unenchanted_microscopium", "feature_zymotic_varnished_mulga", "feature_headhunting_unsatisfied_phenomena", "feature_voltairean_consolidative_parallel", "feature_obeisant_vicarial_passibility", "feature_myographic_gawkier_timbale", "feature_diverticular_punjabi_matronship", "feature_impractical_endorsed_tide", "feature_pansophic_merino_pintado", "feature_quadratic_untouched_liberty", "feature_leaky_maroon_pyrometry", "feature_degenerate_officinal_feasibility", "feature_continuate_unprocurable_haversine", "feature_naval_edified_decarbonize", "feature_tonal_graptolitic_corsac", "feature_unbreakable_nosological_comedian", "feature_iconomatic_boozier_age", "feature_unsparred_scarabaeid_anthologist", "feature_unextinct_smectic_isa", "feature_hotfoot_behaviorist_terylene", "feature_crablike_panniered_gloating", "feature_untrimmed_monaxial_accompanist", "feature_unrequired_waxing_skeptic", "feature_buxom_curtained_sienna", "feature_uncertified_myrmecological_nagger", "feature_chopfallen_fasciate_orchidologist", "feature_publishable_apiarian_rollick", "feature_fumarolic_known_sharkskin", "feature_hawkish_domiciliary_duramen", "feature_agronomic_cryptal_advisor", "feature_lost_quirky_botel", "feature_unnourishing_indiscreet_occiput", "feature_galvanometric_sturdied_billingsgate", "feature_undisguised_whatever_gaul", "feature_generative_honorific_tughrik", "feature_venatic_intermetallic_darling", "feature_precooled_inoperable_credence", "feature_autodidactic_gnarlier_pericardium", "feature_glare_factional_assessment", "feature_peltate_okay_info", "feature_syrian_coital_counterproof", "feature_helpable_chanciest_fractionisation", "feature_ovular_powered_neckar", "feature_reconciling_dauby_database", "feature_roiling_trimeric_kurosawa", "feature_gossamer_placable_wycliffite", "feature_exacerbating_presentationism_apagoge", "feature_glyptic_unrubbed_holloway", "feature_centric_shaggier_cranko", "feature_atlantic_uveal_incommunicability", "feature_ruthenian_uncluttered_vocalizing", "feature_camphorated_spry_freemartin", "feature_built_reincarnate_sherbet", "feature_chelonian_pyknic_delphi", "feature_demure_groutiest_housedog", "feature_loyal_fishy_pith", "feature_accessorial_aroused_crochet", "feature_communicatory_unrecommended_velure", "feature_antipathetical_terrorful_ife", "feature_consecrate_legislative_cavitation", "feature_retinoscopy_flinty_wool", "feature_undetermined_idle_aftergrowth", "feature_uretic_seral_decoding", "feature_trim_axial_suffocation", "feature_questionable_diplex_caesarist", "feature_hypogastric_effectual_sunlight", "feature_severe_tricky_pinochle", "feature_methylated_necrophilic_serendipity", "feature_unmoved_alt_spoonerism", "feature_unsparing_moralistic_commissary", "feature_loricate_cryptocrystalline_ethnology", "feature_intended_involute_highbinder", "feature_intertwined_leeriest_suffragette", "feature_merovingian_tenebrism_hartshorn", "feature_rimmed_conditional_archipelago", "feature_irritant_euphuistic_weka", "feature_armoured_finable_skywriter", "feature_subglobular_unsalable_patzer", "feature_caecilian_unexperienced_ova", "feature_substandard_permissible_paresthesia", "feature_scenic_cormophytic_bilirubin", "feature_univalve_abdicant_distrail", "feature_vizierial_courtlier_hampton", "feature_acerb_venusian_piety", "feature_periscopic_thirteenth_cartage", "feature_resuscitative_communicable_brede", "feature_dispiriting_araeostyle_jersey", "feature_roasting_slaked_reposition", "feature_frequentative_participial_waft", "feature_euterpean_frazzled_williamsburg", "feature_kerygmatic_splashed_ziegfeld", "feature_nubblier_plosive_deepening", "feature_springlike_crackjaw_bheesty", "feature_hemispherical_unabsolved_aeolipile", "feature_synoptic_botryose_earthwork", "feature_mucky_loanable_gastrostomy", "feature_sudsy_polymeric_posteriority", "feature_strychnic_structuralist_chital", "feature_patristical_analysable_langouste", "feature_nucleophilic_uremic_endogen", "feature_highland_eocene_berean", "feature_reserved_cleanable_soldan", "feature_cerebrovascular_weeny_advocate", "feature_invalid_chromatographic_cornishman", "feature_groggy_undescried_geosphere", "feature_unbeaten_orological_dentin", "feature_dipped_sent_giuseppe", "feature_salian_suggested_ephemeron", "feature_maximal_unobserving_desalinisation", "feature_biannual_maleficent_thack", "feature_eruptive_seasoned_pharmacognosy", "feature_malacological_differential_defeated", "feature_massed_nonracial_ecclesiologist", "feature_calefactive_anapaestic_jerome", "feature_tribal_germinable_yarraman", "feature_stereotypic_ebracteate_louise", "feature_hexametric_ventricose_limnology", "feature_interdental_mongolian_anarchism", "feature_agile_unrespited_gaucho", "feature_unknown_reusable_cabbage", "feature_chuffier_analectic_conchiolin", "feature_altern_unnoticed_impregnation", "feature_hydrologic_cymric_nyctophobia", "feature_beady_unkind_barret", "feature_discrepant_ventral_shicker", "feature_sallowish_cognisant_romaunt", "feature_castrated_presented_quizzer", "feature_bushwhacking_unaligned_imperturbability", "feature_covalent_unreformed_frogbit", "feature_revitalizing_dashing_photomultiplier", "feature_flakiest_fleecy_novelese", "feature_refreshed_untombed_skinhead", "feature_scorbutic_intellectualism_mongoloid", "feature_commensurable_industrial_jungfrau", "feature_expressed_abhominable_pruning", "feature_extractable_serrulate_swing", "feature_instrumentalist_extrovert_cassini", "feature_alkaline_pistachio_sunstone", "feature_plexiform_won_elk", "feature_caressive_cognate_cubature", "feature_voltairean_dyslogistic_epagoge", "feature_leggiest_slaggiest_inez", "feature_whopping_eminent_attempter", "feature_sixteen_inbreed_are", "feature_designer_notchy_epiploon", "feature_croupiest_shaded_thermotropism", "feature_amygdaloidal_intersectional_canonry", "feature_busty_unfitted_keratotomy", "feature_log_unregenerate_babel", "feature_farcical_spinal_samantha", "feature_unburied_exponent_pace", "feature_dentilingual_removed_osmometer", "feature_arillate_nickelic_hemorrhage", "feature_restricted_aggregately_workmanship", "feature_ganoid_osiered_mineralogy", "feature_introvert_symphysial_assegai", "feature_sludgy_implemental_sicily", "feature_criticisable_authentical_deprecation", "feature_inhabited_pettier_veinlet", "feature_confiscatory_triennial_pelting", "feature_leisurable_dehortatory_pretoria", "feature_favoring_prescript_unorthodoxy", "feature_curling_aurorean_iseult", "feature_hibernating_soritic_croupe", "feature_spookiest_expedite_overnighter", "feature_foamy_undrilled_glaciology", "feature_uncurtailed_translucid_coccid", "feature_limitable_astable_physiology", "feature_assenting_darn_arthropod", "feature_terrific_epigamic_affectivity", "feature_inflexed_lamaism_crit", "feature_indentured_communicant_tulipomania", "feature_uncharged_unovercome_smolder", "feature_decent_solo_stickup", "feature_polaroid_squalliest_applause", "feature_interrogatory_isohyetal_atacamite", "feature_covalent_methodological_brash", "feature_undrossy_serpentiform_sack", "feature_faltering_tergal_tip", "feature_undirected_perdu_ylem", "feature_vulcanological_sepulchral_spean", ] FEATURE_NAMES_SMALL = [ "feature_unwonted_trusted_fixative", "feature_introvert_symphysial_assegai", "feature_jerkwater_eustatic_electrocardiograph", "feature_canalicular_peeling_lilienthal", "feature_unvaried_social_bangkok", "feature_crowning_frustrate_kampala", "feature_store_apteral_isocheim", "feature_haziest_lifelike_horseback", "feature_grandmotherly_circumnavigable_homonymity", "feature_assenting_darn_arthropod", "feature_beery_somatologic_elimination", "feature_cambial_bigoted_bacterioid", "feature_unaired_operose_lactoprotein", "feature_moralistic_heartier_typhoid", "feature_twisty_adequate_minutia", "feature_unsealed_suffixal_babar", "feature_planned_superimposed_bend", "feature_winsome_irreproachable_milkfish", "feature_flintier_enslaved_borsch", "feature_agile_unrespited_gaucho", "feature_glare_factional_assessment", "feature_slack_calefacient_tableau", "feature_undivorced_unsatisfying_praetorium", "feature_silver_handworked_scauper", "feature_communicatory_unrecommended_velure", "feature_stylistic_honduran_comprador", "feature_travelled_semipermeable_perruquier", "feature_bhutan_imagism_dolerite", "feature_lofty_acceptable_challenge", "feature_antichristian_slangiest_idyllist", "feature_apomictical_motorized_vaporisation", "feature_buxom_curtained_sienna", "feature_gullable_sanguine_incongruity", "feature_unforbidden_highbrow_kafir", "feature_chuffier_analectic_conchiolin", "feature_branched_dilatory_sunbelt", "feature_univalve_abdicant_distrail", "feature_exorbitant_myeloid_crinkle", ] FEATURE_NAMES_MEDIUM = [ "feature_dichasial_hammier_spawner", "feature_rheumy_epistemic_prancer", "feature_pert_performative_hormuz", "feature_hillier_unpitied_theobromine", "feature_perigean_bewitching_thruster", "feature_renegade_undomestic_milord", "feature_koranic_rude_corf", "feature_demisable_expiring_millepede", "feature_unscheduled_malignant_shingling", "feature_clawed_unwept_adaptability", "feature_rubblier_chlorotic_stogy", "feature_untumbled_histologic_inion", "feature_piffling_inflamed_jupiter", "feature_abstersive_emotional_misinterpreter", "feature_unluckiest_mulley_benzyl", "feature_escutcheoned_timocratic_kotwal", "feature_integrated_extroversive_ambivalence", "feature_vedic_mitral_swiz", "feature_reclaimed_fallibilist_turpentine", "feature_gone_honduran_worshipper", "feature_insociable_exultant_tatum", "feature_outdated_tapered_speciation", "feature_leggiest_slaggiest_inez", "feature_chaldean_vixenly_propylite", "feature_hysteric_mechanized_recklinghausen", "feature_glare_factional_assessment", "feature_highland_eocene_berean", "feature_seemlier_reorient_monandry", "feature_expressed_abhominable_pruning", "feature_castrated_presented_quizzer", "feature_restricted_aggregately_workmanship", "feature_scorbutic_intellectualism_mongoloid", "feature_telephonic_shakable_bollock", "feature_subglobular_unsalable_patzer", "feature_syrian_coital_counterproof", "feature_supergene_legible_antarthritic", "feature_hypothetic_distressing_endemic", "feature_torturesome_estimable_preferrer", "feature_greedier_favorable_enthymeme", "feature_decent_solo_stickup", "feature_unmalleable_resistant_kingston", "feature_seamier_jansenism_inflator", "feature_lordly_lamellicorn_buxtehude", "feature_mattery_past_moro", "feature_helpable_chanciest_fractionisation", "feature_spookiest_expedite_overnighter", "feature_culinary_pro_offering", "feature_ganoid_osiered_mineralogy", "feature_hotfoot_behaviorist_terylene", "feature_severe_tricky_pinochle", "feature_maximal_unobserving_desalinisation", "feature_voltairean_consolidative_parallel", "feature_unmoved_alt_spoonerism", "feature_tittering_virgilian_decliner", "feature_methylated_necrophilic_serendipity", "feature_calceolate_pudgy_armure", "feature_unsparing_moralistic_commissary", "feature_criticisable_authentical_deprecation", "feature_undetermined_idle_aftergrowth", "feature_antipathetical_terrorful_ife", "feature_caressive_cognate_cubature", "feature_crablike_panniered_gloating", "feature_exacerbating_presentationism_apagoge", "feature_epicurean_fetal_seising", "feature_casuistic_barbarian_monochromy", "feature_haematoid_runaway_nightjar", "feature_croupiest_shaded_thermotropism", "feature_zarathustrian_albigensian_itch", "feature_unsparred_scarabaeid_anthologist", "feature_unco_terefah_thirster", "feature_sallowish_cognisant_romaunt", "feature_grazed_blameful_desiderative", "feature_whitened_remanent_blast", "feature_introvert_symphysial_assegai", "feature_casemated_ibsenian_grantee", "feature_intertwined_leeriest_suffragette", "feature_built_reincarnate_sherbet", "feature_axillary_reluctant_shorty", "feature_descendent_decanal_hon", "feature_untrimmed_monaxial_accompanist", "feature_desiderative_commiserative_epizoa", "feature_subdued_spiffier_kano", "feature_affricative_bromic_raftsman", "feature_doggish_whacking_headscarf", "feature_congenital_conched_perithecium", "feature_terrific_epigamic_affectivity", "feature_enlightening_mirthful_laurencin", "feature_continuate_unprocurable_haversine", "feature_fustiest_voiced_janet", "feature_ovular_powered_neckar", "feature_questionable_diplex_caesarist", "feature_nubblier_plosive_deepening", "feature_revitalizing_dashing_photomultiplier", "feature_chafed_undenominational_backstitch", "feature_assenting_darn_arthropod", "feature_consecrate_legislative_cavitation", "feature_inhabited_pettier_veinlet", "feature_voltairean_dyslogistic_epagoge", "feature_log_unregenerate_babel", "feature_agile_unrespited_gaucho", "feature_whopping_eminent_attempter", "feature_travelled_semipermeable_perruquier", "feature_horizontal_snug_description", "feature_inhibited_snowiest_drawing", "feature_salian_suggested_ephemeron", "feature_diverticular_punjabi_matronship", "feature_reminiscent_unpained_ukulele", "feature_unsurveyed_chopped_feldspathoid", "feature_degenerate_officinal_feasibility", "feature_undrossy_serpentiform_sack", "feature_festering_controvertible_hostler", "feature_leukemic_paler_millikan", "feature_subapostolic_dungy_fermion", "feature_wale_planned_tolstoy", "feature_bifacial_hexastyle_hemialgia", "feature_revealable_aeonian_elvira", "feature_perceivable_gasiform_psammite", "feature_smugger_hydroponic_farnesol", "feature_apostate_impercipient_knighthood", "feature_unperfect_implemental_cellarage", "feature_stereotypic_ebracteate_louise", "feature_offshore_defamatory_catalog", "feature_tribal_germinable_yarraman", "feature_dispiriting_araeostyle_jersey", "feature_clerkish_flowing_chapati", "feature_venatic_intermetallic_darling", "feature_nebule_barmier_bibliomania", "feature_unknown_reusable_cabbage", "feature_planar_unessential_bride", "feature_irritant_euphuistic_weka", "feature_whistleable_unbedimmed_chokey", "feature_roiling_trimeric_kurosawa", "feature_loyal_fishy_pith", "feature_unlivable_morbific_traveling", "feature_untellable_penal_allegorization", "feature_coordinated_undecipherable_gag", "feature_congealed_lee_steek", "feature_intrusive_effluent_hokkaido", "feature_epidermic_scruffiest_prosperity", "feature_quadratic_untouched_liberty", "feature_hypogastric_effectual_sunlight", "feature_contused_festal_geochemistry", "feature_hexametric_ventricose_limnology", "feature_paramagnetic_complex_gish", "feature_chuffier_analectic_conchiolin", "feature_indefatigable_enterprising_calf", "feature_untouchable_unsolvable_agouti", "feature_reduplicate_conoid_albite", "feature_sixteen_inbreed_are", "feature_dovetailed_winy_hanaper", "feature_bushwhacking_unaligned_imperturbability", "feature_undescribed_methylic_friday", "feature_inflexed_lamaism_crit", "feature_calefactive_anapaestic_jerome", "feature_agronomic_cryptal_advisor", "feature_unbreakable_nosological_comedian", "feature_unmodernized_vasodilator_galenist", "feature_paraffinoid_irreplevisable_ombu", "feature_invalid_extortionary_titillation", "feature_fake_trident_agitator", "feature_wieldable_defiled_aperitive", "feature_contaminative_intrusive_tagrag", "feature_himyarite_tetragonal_deceit", "feature_tossing_denominative_threshing", "feature_dendritic_prothallium_sweeper", "feature_ruffianly_uncommercial_anatole", "feature_hellenistic_scraggly_comfort", "feature_squishiest_unsectarian_support", "feature_myographic_gawkier_timbale", "feature_faltering_tergal_tip", "feature_antisubmarine_foregoing_cryosurgery", "feature_altern_unnoticed_impregnation", "feature_foamy_undrilled_glaciology", "feature_appraisive_anagrammatical_tentacle", "feature_emmetropic_heraclitean_conducting", "feature_collective_stigmatic_handfasting", "feature_iridic_unpropertied_spline", "feature_farcical_spinal_samantha", "feature_urochordal_swallowed_curn", "feature_wombed_reverberatory_colourer", "feature_merovingian_tenebrism_hartshorn", "feature_stylistic_honduran_comprador", "feature_caecilian_unexperienced_ova", "feature_fumarolic_known_sharkskin", "feature_belgravian_salopian_sheugh", "feature_zymotic_varnished_mulga", "feature_learned_claustral_quiddity", "feature_brickier_heterostyled_scrutiny", "feature_unnetted_bay_premillennialist", "feature_uncurtailed_translucid_coccid", "feature_jiggish_tritheist_probity", "feature_groggy_undescried_geosphere", "feature_hawkish_domiciliary_duramen", "feature_base_ingrain_calligrapher", "feature_accessorial_aroused_crochet", "feature_fierier_goofier_follicle", "feature_unburied_exponent_pace", "feature_chelonian_pyknic_delphi", "feature_tarry_meet_chapel", "feature_generative_honorific_tughrik", "feature_smoggy_niftiest_lunch", "feature_coalier_typhoid_muntin", "feature_chopfallen_fasciate_orchidologist", "feature_euterpean_frazzled_williamsburg", "feature_quinsied_increased_braincase", "feature_unlawful_superintendent_brunet", "feature_naval_edified_decarbonize", "feature_scenic_cormophytic_bilirubin", "feature_unvaried_social_bangkok", "feature_fissirostral_multifoliate_chillon", "feature_gutta_exploitive_simpson", "feature_assertive_worsened_scarper", "feature_intersubjective_juristic_sagebrush", "feature_rowable_unshod_noise", "feature_volitional_ascensive_selfhood", "feature_barest_kempt_crowd", "feature_curtained_gushier_tranquilizer", "feature_intermontane_vertical_moo", "feature_isotopic_hymenial_starwort", "feature_inseminated_filarial_mesoderm", "feature_passerine_ultraist_neon", "feature_westering_immunosuppressive_crapaud", "feature_reported_slimy_rhapsody", "feature_juvenalian_paunchy_uniformitarianism", "feature_lipogrammatic_blowsier_seismometry", "feature_draconic_contractible_romper", "feature_indirect_concrete_canaille", "feature_puberulent_nondescript_laparoscope", "feature_unsurveyed_boyish_aleph", "feature_dismaying_chaldean_tallith", "feature_epitaxial_loathsome_essen", "feature_malagasy_abounding_circumciser", "feature_tortured_arsenical_arable", "feature_sludgy_implemental_sicily", "feature_uretic_seral_decoding", "feature_roasting_slaked_reposition", "feature_peculiar_sheenier_quintal", "feature_publishable_apiarian_rollick", "feature_interdental_mongolian_anarchism", "feature_reserved_cleanable_soldan", "feature_eruptive_seasoned_pharmacognosy", "feature_softish_unseparated_caudex", "feature_univalve_abdicant_distrail", "feature_levigate_kindly_dyspareunia", "feature_intercalative_helvetian_infirmarian", "feature_centric_shaggier_cranko", "feature_unliving_bit_bengaline", "feature_misanthropic_knurliest_freebooty", "feature_confiscatory_triennial_pelting", "feature_peltate_okay_info", "feature_reconciling_dauby_database", "feature_unspotted_practiced_gland", "feature_iconomatic_boozier_age", "feature_congenial_transmigrant_isobel", "feature_impractical_endorsed_tide", "feature_huskiest_compartmental_jacquerie", "feature_cairned_fumiest_ordaining", "feature_calculating_unenchanted_microscopium", "feature_mucky_loanable_gastrostomy", "feature_loricate_cryptocrystalline_ethnology", "feature_ctenoid_moaning_fontainebleau", "feature_armoured_finable_skywriter", "feature_intended_involute_highbinder", "feature_commensurable_industrial_jungfrau", "feature_spagyric_echt_alum", "feature_illiterate_stomachal_terpene", "feature_demure_groutiest_housedog", "feature_dentilingual_removed_osmometer", "feature_plexiform_won_elk", "feature_induplicate_hoarse_disbursement", "feature_vizierial_courtlier_hampton", "feature_lost_quirky_botel", "feature_hydrologic_cymric_nyctophobia", "feature_atlantic_uveal_incommunicability", "feature_incommensurable_diffused_curability", "feature_midget_noncognizable_plenary", "feature_unapplicable_jerkiest_klemperer", "feature_unamazed_tumular_photomicrograph", "feature_nucleophilic_uremic_endogen", "feature_unnourishing_indiscreet_occiput", "feature_hypersonic_volcanological_footwear", "feature_uncomplimentary_malignant_scoff", "feature_interrogatory_isohyetal_atacamite", "feature_invalid_chromatographic_cornishman", "feature_encompassing_skeptical_salience", "feature_beady_unkind_barret", "feature_gossamer_placable_wycliffite", "feature_flavourful_seismic_erica", "feature_petitionary_evanescent_diallage", "feature_leisurable_dehortatory_pretoria", "feature_chaotic_granitoid_theist", "feature_cerebrovascular_weeny_advocate", "feature_cyrenaic_unschooled_silurian", "feature_uninclosed_handcrafted_springing", "feature_indentured_communicant_tulipomania", "feature_synoptic_botryose_earthwork", "feature_acerb_venusian_piety", "feature_vestmental_hoofed_transpose", "feature_unrated_intact_balmoral", "feature_tonal_graptolitic_corsac", "feature_refreshed_untombed_skinhead", "feature_communicatory_unrecommended_velure", "feature_sudsy_polymeric_posteriority", "feature_inexpugnable_gleg_candelilla", "feature_headhunting_unsatisfied_phenomena", "feature_scenographical_dissentient_trek", "feature_trim_axial_suffocation", "feature_buxom_curtained_sienna", "feature_recidivism_petitory_methyltestosterone", "feature_irresponsive_compositive_ramson", "feature_more_hindoo_diageotropism", "feature_apomictical_motorized_vaporisation", "feature_seclusive_emendatory_plangency", "feature_discrepant_ventral_shicker", "feature_obeisant_vicarial_passibility", "feature_unrelieved_rawish_cement", "feature_strychnic_structuralist_chital", "feature_unaimed_yonder_filmland", "feature_designer_notchy_epiploon", "feature_favoring_prescript_unorthodoxy", "feature_cheering_protonemal_herd", "feature_conjugal_postvocalic_rowe", "feature_palmy_superfluid_argyrodite", "feature_outsized_admonishing_errantry", "feature_brawny_confocal_frail", "feature_arillate_nickelic_hemorrhage", "feature_bloodied_twinkling_andante", "feature_rusted_unassisting_menaquinone", "feature_biannual_maleficent_thack", "feature_extractable_serrulate_swing", "feature_covalent_methodological_brash", "feature_periscopic_thirteenth_cartage", "feature_tranquilizing_abashed_glyceria", "feature_faustian_unventilated_lackluster", "feature_frequentative_participial_waft", "feature_flakiest_fleecy_novelese", "feature_liege_unexercised_ennoblement", "feature_amygdaloidal_intersectional_canonry", "feature_rural_inquisitional_trotline", "feature_caespitose_unverifiable_intent", "feature_precooled_inoperable_credence", "feature_ruthenian_uncluttered_vocalizing", "feature_camphorated_spry_freemartin", "feature_mined_game_curse", "feature_amoebaean_wolfish_heeler", "feature_peaty_vulgar_branchia", "feature_ratlike_matrilinear_collapsability", "feature_attuned_southward_heckle", "feature_substandard_permissible_paresthesia", "feature_curling_aurorean_iseult", "feature_fleshly_bedimmed_enfacement", "feature_hendecagonal_deathly_stiver", "feature_massed_nonracial_ecclesiologist", "feature_instrumentalist_extrovert_cassini", "feature_patristical_analysable_langouste", "feature_gullable_sanguine_incongruity", "feature_phellogenetic_vibrational_jocelyn", "feature_autodidactic_gnarlier_pericardium", "feature_unbeaten_orological_dentin", "feature_resuscitative_communicable_brede", "feature_limitable_astable_physiology", "feature_chartered_conceptual_spitting", "feature_oversea_permed_insulter", "feature_busty_unfitted_keratotomy", "feature_alkaline_pistachio_sunstone", "feature_incitant_trochoidal_oculist", "feature_stelar_balmiest_pellitory", "feature_hypermetropic_unsighted_forsyth", "feature_calycled_living_birmingham", "feature_transmontane_clerkly_value", "feature_together_suppositive_aster", "feature_planned_superimposed_bend", "feature_undirected_perdu_ylem", "feature_antipodal_unable_thievery", "feature_scrobiculate_unexcitable_alder", "feature_apophthegmatical_catechetical_millet", "feature_fragrant_fifteen_brian", "feature_churrigueresque_talc_archaicism", "feature_uncompromising_fancy_kyle", "feature_retinoscopy_flinty_wool", "feature_pansophic_merino_pintado", "feature_galvanometric_sturdied_billingsgate", "feature_mazy_superrefined_punishment", "feature_aztecan_encomiastic_pitcherful", "feature_sorted_ignitable_sagitta", "feature_padded_peripteral_pericranium", "feature_trabeate_eutherian_valedictory", "feature_undisguised_whatever_gaul", "feature_migrant_reliable_chirurgery", "feature_permanent_cottony_ballpen", "feature_conceding_ingrate_tablespoonful", "feature_vulcanological_sepulchral_spean", "feature_unrequired_waxing_skeptic", "feature_hibernating_soritic_croupe", "feature_unstacked_trackable_blizzard", "feature_multilinear_sharpened_mouse", "feature_autarkic_constabulary_dukedom", "feature_christadelphian_euclidean_boon", "feature_covalent_unreformed_frogbit", "feature_basaltic_arid_scallion", "feature_uncharged_unovercome_smolder", "feature_leaky_maroon_pyrometry", "feature_polaroid_squalliest_applause", "feature_jerkwater_eustatic_electrocardiograph", "feature_malacological_differential_defeated", "feature_ambisexual_boiled_blunderer", "feature_endangered_unthreaded_firebrick", "feature_unextinct_smectic_isa", "feature_kerygmatic_splashed_ziegfeld", "feature_palatalized_unsucceeded_induration", "feature_springlike_crackjaw_bheesty", "feature_unweary_congolese_captain", "feature_uncertified_myrmecological_nagger", "feature_hemispherical_unabsolved_aeolipile", "feature_glyptic_unrubbed_holloway", "feature_rimmed_conditional_archipelago", "feature_bleeding_arabesque_pneuma", "feature_dipped_sent_giuseppe", "feature_undivorced_unsatisfying_praetorium", "feature_reclinate_cruciform_lilo", ] COLUMN_NAMES_LEGACY = FEATURE_NAMES_LEGACY + TARGET_NAMES COLUMN_NAMES_SMALL = FEATURE_NAMES_SMALL + TARGET_NAMES COLUMN_NAMES_MEDIUM = FEATURE_NAMES_MEDIUM + TARGET_NAMES
"""Numerai main tournament metadata. Convenience module defining some of the more static variables of the Numerai main tournament. The tournament is constantly evolving. Metadata from this module might be outdated. Retrieving the most recent information using the `fetch_` functions of the `nntm.datasets` module should be preferred. References ---------- https://forum.numer.ai/t/super-massive-data-release-deep-dive/4053 https://forum.numer.ai/t/october-2021-updates/4384 """ target_names_unique = ['target_nomi_20', 'target_nomi_60', 'target_jerome_20', 'target_jerome_60', 'target_janet_20', 'target_janet_60', 'target_ben_20', 'target_ben_60', 'target_alan_20', 'target_alan_60', 'target_paul_20', 'target_paul_60', 'target_george_20', 'target_george_60', 'target_william_20', 'target_william_60', 'target_arthur_20', 'target_arthur_60', 'target_thomas_20', 'target_thomas_60'] target_names = ['target'] + TARGET_NAMES_UNIQUE feature_names_legacy = ['feature_unco_terefah_thirster', 'feature_enlightening_mirthful_laurencin', 'feature_tarry_meet_chapel', 'feature_himyarite_tetragonal_deceit', 'feature_dovetailed_winy_hanaper', 'feature_tortured_arsenical_arable', 'feature_unamazed_tumular_photomicrograph', 'feature_unsurveyed_boyish_aleph', 'feature_phellogenetic_vibrational_jocelyn', 'feature_seemlier_reorient_monandry', 'feature_unmalleable_resistant_kingston', 'feature_lordly_lamellicorn_buxtehude', 'feature_antipodal_unable_thievery', 'feature_hypersonic_volcanological_footwear', 'feature_unspotted_practiced_gland', 'feature_casuistic_barbarian_monochromy', 'feature_torturesome_estimable_preferrer', 'feature_unlawful_superintendent_brunet', 'feature_multilinear_sharpened_mouse', 'feature_padded_peripteral_pericranium', 'feature_antisubmarine_foregoing_cryosurgery', 'feature_spagyric_echt_alum', 'feature_epidermic_scruffiest_prosperity', 'feature_chaldean_vixenly_propylite', 'feature_emmetropic_heraclitean_conducting', 'feature_telephonic_shakable_bollock', 'feature_unapplicable_jerkiest_klemperer', 'feature_perceivable_gasiform_psammite', 'feature_unrelieved_rawish_cement', 'feature_casemated_ibsenian_grantee', 'feature_fragrant_fifteen_brian', 'feature_apomictical_motorized_vaporisation', 'feature_hysteric_mechanized_recklinghausen', 'feature_reduplicate_conoid_albite', 'feature_softish_unseparated_caudex', 'feature_faustian_unventilated_lackluster', 'feature_greedier_favorable_enthymeme', 'feature_rural_inquisitional_trotline', 'feature_mined_game_curse', 'feature_smoggy_niftiest_lunch', 'feature_paramagnetic_complex_gish', 'feature_chaotic_granitoid_theist', 'feature_basaltic_arid_scallion', 'feature_unrated_intact_balmoral', 'feature_revealable_aeonian_elvira', 'feature_desiderative_commiserative_epizoa', 'feature_subdued_spiffier_kano', 'feature_flavourful_seismic_erica', 'feature_doggish_whacking_headscarf', 'feature_palatalized_unsucceeded_induration', 'feature_conceding_ingrate_tablespoonful', 'feature_misanthropic_knurliest_freebooty', 'feature_inhibited_snowiest_drawing', 'feature_induplicate_hoarse_disbursement', 'feature_uninclosed_handcrafted_springing', 'feature_bleeding_arabesque_pneuma', 'feature_incitant_trochoidal_oculist', 'feature_cairned_fumiest_ordaining', 'feature_huskiest_compartmental_jacquerie', 'feature_endangered_unthreaded_firebrick', 'feature_epicurean_fetal_seising', 'feature_stylistic_honduran_comprador', 'feature_hellenistic_scraggly_comfort', 'feature_intrusive_effluent_hokkaido', 'feature_unnetted_bay_premillennialist', 'feature_tossing_denominative_threshing', 'feature_vestmental_hoofed_transpose', 'feature_unsurveyed_chopped_feldspathoid', 'feature_undescribed_methylic_friday', 'feature_chartered_conceptual_spitting', 'feature_fustiest_voiced_janet', 'feature_offshore_defamatory_catalog', 'feature_jiggish_tritheist_probity', 'feature_quinsied_increased_braincase', 'feature_petitionary_evanescent_diallage', 'feature_fleshly_bedimmed_enfacement', 'feature_zarathustrian_albigensian_itch', 'feature_uncompromising_fancy_kyle', 'feature_seamier_jansenism_inflator', 'feature_levigate_kindly_dyspareunia', 'feature_ctenoid_moaning_fontainebleau', 'feature_unliving_bit_bengaline', 'feature_culinary_pro_offering', 'feature_nebule_barmier_bibliomania', 'feature_unlivable_morbific_traveling', 'feature_peaty_vulgar_branchia', 'feature_peculiar_sheenier_quintal', 'feature_apostate_impercipient_knighthood', 'feature_collective_stigmatic_handfasting', 'feature_scenographical_dissentient_trek', 'feature_unaimed_yonder_filmland', 'feature_recidivism_petitory_methyltestosterone', 'feature_unperfect_implemental_cellarage', 'feature_incommensurable_diffused_curability', 'feature_bloodied_twinkling_andante', 'feature_more_hindoo_diageotropism', 'feature_uncomplimentary_malignant_scoff', 'feature_sorted_ignitable_sagitta', 'feature_planar_unessential_bride', 'feature_reminiscent_unpained_ukulele', 'feature_whistleable_unbedimmed_chokey', 'feature_reclaimed_fallibilist_turpentine', 'feature_tittering_virgilian_decliner', 'feature_travelled_semipermeable_perruquier', 'feature_clerkish_flowing_chapati', 'feature_oversea_permed_insulter', 'feature_congenital_conched_perithecium', 'feature_untouchable_unsolvable_agouti', 'feature_grazed_blameful_desiderative', 'feature_coordinated_undecipherable_gag', 'feature_tranquilizing_abashed_glyceria', 'feature_irresponsive_compositive_ramson', 'feature_attuned_southward_heckle', 'feature_supergene_legible_antarthritic', 'feature_descendent_decanal_hon', 'feature_encompassing_skeptical_salience', 'feature_mazy_superrefined_punishment', 'feature_whitened_remanent_blast', 'feature_intercalative_helvetian_infirmarian', 'feature_axillary_reluctant_shorty', 'feature_liege_unexercised_ennoblement', 'feature_caespitose_unverifiable_intent', 'feature_hypothetic_distressing_endemic', 'feature_calculating_unenchanted_microscopium', 'feature_zymotic_varnished_mulga', 'feature_headhunting_unsatisfied_phenomena', 'feature_voltairean_consolidative_parallel', 'feature_obeisant_vicarial_passibility', 'feature_myographic_gawkier_timbale', 'feature_diverticular_punjabi_matronship', 'feature_impractical_endorsed_tide', 'feature_pansophic_merino_pintado', 'feature_quadratic_untouched_liberty', 'feature_leaky_maroon_pyrometry', 'feature_degenerate_officinal_feasibility', 'feature_continuate_unprocurable_haversine', 'feature_naval_edified_decarbonize', 'feature_tonal_graptolitic_corsac', 'feature_unbreakable_nosological_comedian', 'feature_iconomatic_boozier_age', 'feature_unsparred_scarabaeid_anthologist', 'feature_unextinct_smectic_isa', 'feature_hotfoot_behaviorist_terylene', 'feature_crablike_panniered_gloating', 'feature_untrimmed_monaxial_accompanist', 'feature_unrequired_waxing_skeptic', 'feature_buxom_curtained_sienna', 'feature_uncertified_myrmecological_nagger', 'feature_chopfallen_fasciate_orchidologist', 'feature_publishable_apiarian_rollick', 'feature_fumarolic_known_sharkskin', 'feature_hawkish_domiciliary_duramen', 'feature_agronomic_cryptal_advisor', 'feature_lost_quirky_botel', 'feature_unnourishing_indiscreet_occiput', 'feature_galvanometric_sturdied_billingsgate', 'feature_undisguised_whatever_gaul', 'feature_generative_honorific_tughrik', 'feature_venatic_intermetallic_darling', 'feature_precooled_inoperable_credence', 'feature_autodidactic_gnarlier_pericardium', 'feature_glare_factional_assessment', 'feature_peltate_okay_info', 'feature_syrian_coital_counterproof', 'feature_helpable_chanciest_fractionisation', 'feature_ovular_powered_neckar', 'feature_reconciling_dauby_database', 'feature_roiling_trimeric_kurosawa', 'feature_gossamer_placable_wycliffite', 'feature_exacerbating_presentationism_apagoge', 'feature_glyptic_unrubbed_holloway', 'feature_centric_shaggier_cranko', 'feature_atlantic_uveal_incommunicability', 'feature_ruthenian_uncluttered_vocalizing', 'feature_camphorated_spry_freemartin', 'feature_built_reincarnate_sherbet', 'feature_chelonian_pyknic_delphi', 'feature_demure_groutiest_housedog', 'feature_loyal_fishy_pith', 'feature_accessorial_aroused_crochet', 'feature_communicatory_unrecommended_velure', 'feature_antipathetical_terrorful_ife', 'feature_consecrate_legislative_cavitation', 'feature_retinoscopy_flinty_wool', 'feature_undetermined_idle_aftergrowth', 'feature_uretic_seral_decoding', 'feature_trim_axial_suffocation', 'feature_questionable_diplex_caesarist', 'feature_hypogastric_effectual_sunlight', 'feature_severe_tricky_pinochle', 'feature_methylated_necrophilic_serendipity', 'feature_unmoved_alt_spoonerism', 'feature_unsparing_moralistic_commissary', 'feature_loricate_cryptocrystalline_ethnology', 'feature_intended_involute_highbinder', 'feature_intertwined_leeriest_suffragette', 'feature_merovingian_tenebrism_hartshorn', 'feature_rimmed_conditional_archipelago', 'feature_irritant_euphuistic_weka', 'feature_armoured_finable_skywriter', 'feature_subglobular_unsalable_patzer', 'feature_caecilian_unexperienced_ova', 'feature_substandard_permissible_paresthesia', 'feature_scenic_cormophytic_bilirubin', 'feature_univalve_abdicant_distrail', 'feature_vizierial_courtlier_hampton', 'feature_acerb_venusian_piety', 'feature_periscopic_thirteenth_cartage', 'feature_resuscitative_communicable_brede', 'feature_dispiriting_araeostyle_jersey', 'feature_roasting_slaked_reposition', 'feature_frequentative_participial_waft', 'feature_euterpean_frazzled_williamsburg', 'feature_kerygmatic_splashed_ziegfeld', 'feature_nubblier_plosive_deepening', 'feature_springlike_crackjaw_bheesty', 'feature_hemispherical_unabsolved_aeolipile', 'feature_synoptic_botryose_earthwork', 'feature_mucky_loanable_gastrostomy', 'feature_sudsy_polymeric_posteriority', 'feature_strychnic_structuralist_chital', 'feature_patristical_analysable_langouste', 'feature_nucleophilic_uremic_endogen', 'feature_highland_eocene_berean', 'feature_reserved_cleanable_soldan', 'feature_cerebrovascular_weeny_advocate', 'feature_invalid_chromatographic_cornishman', 'feature_groggy_undescried_geosphere', 'feature_unbeaten_orological_dentin', 'feature_dipped_sent_giuseppe', 'feature_salian_suggested_ephemeron', 'feature_maximal_unobserving_desalinisation', 'feature_biannual_maleficent_thack', 'feature_eruptive_seasoned_pharmacognosy', 'feature_malacological_differential_defeated', 'feature_massed_nonracial_ecclesiologist', 'feature_calefactive_anapaestic_jerome', 'feature_tribal_germinable_yarraman', 'feature_stereotypic_ebracteate_louise', 'feature_hexametric_ventricose_limnology', 'feature_interdental_mongolian_anarchism', 'feature_agile_unrespited_gaucho', 'feature_unknown_reusable_cabbage', 'feature_chuffier_analectic_conchiolin', 'feature_altern_unnoticed_impregnation', 'feature_hydrologic_cymric_nyctophobia', 'feature_beady_unkind_barret', 'feature_discrepant_ventral_shicker', 'feature_sallowish_cognisant_romaunt', 'feature_castrated_presented_quizzer', 'feature_bushwhacking_unaligned_imperturbability', 'feature_covalent_unreformed_frogbit', 'feature_revitalizing_dashing_photomultiplier', 'feature_flakiest_fleecy_novelese', 'feature_refreshed_untombed_skinhead', 'feature_scorbutic_intellectualism_mongoloid', 'feature_commensurable_industrial_jungfrau', 'feature_expressed_abhominable_pruning', 'feature_extractable_serrulate_swing', 'feature_instrumentalist_extrovert_cassini', 'feature_alkaline_pistachio_sunstone', 'feature_plexiform_won_elk', 'feature_caressive_cognate_cubature', 'feature_voltairean_dyslogistic_epagoge', 'feature_leggiest_slaggiest_inez', 'feature_whopping_eminent_attempter', 'feature_sixteen_inbreed_are', 'feature_designer_notchy_epiploon', 'feature_croupiest_shaded_thermotropism', 'feature_amygdaloidal_intersectional_canonry', 'feature_busty_unfitted_keratotomy', 'feature_log_unregenerate_babel', 'feature_farcical_spinal_samantha', 'feature_unburied_exponent_pace', 'feature_dentilingual_removed_osmometer', 'feature_arillate_nickelic_hemorrhage', 'feature_restricted_aggregately_workmanship', 'feature_ganoid_osiered_mineralogy', 'feature_introvert_symphysial_assegai', 'feature_sludgy_implemental_sicily', 'feature_criticisable_authentical_deprecation', 'feature_inhabited_pettier_veinlet', 'feature_confiscatory_triennial_pelting', 'feature_leisurable_dehortatory_pretoria', 'feature_favoring_prescript_unorthodoxy', 'feature_curling_aurorean_iseult', 'feature_hibernating_soritic_croupe', 'feature_spookiest_expedite_overnighter', 'feature_foamy_undrilled_glaciology', 'feature_uncurtailed_translucid_coccid', 'feature_limitable_astable_physiology', 'feature_assenting_darn_arthropod', 'feature_terrific_epigamic_affectivity', 'feature_inflexed_lamaism_crit', 'feature_indentured_communicant_tulipomania', 'feature_uncharged_unovercome_smolder', 'feature_decent_solo_stickup', 'feature_polaroid_squalliest_applause', 'feature_interrogatory_isohyetal_atacamite', 'feature_covalent_methodological_brash', 'feature_undrossy_serpentiform_sack', 'feature_faltering_tergal_tip', 'feature_undirected_perdu_ylem', 'feature_vulcanological_sepulchral_spean'] feature_names_small = ['feature_unwonted_trusted_fixative', 'feature_introvert_symphysial_assegai', 'feature_jerkwater_eustatic_electrocardiograph', 'feature_canalicular_peeling_lilienthal', 'feature_unvaried_social_bangkok', 'feature_crowning_frustrate_kampala', 'feature_store_apteral_isocheim', 'feature_haziest_lifelike_horseback', 'feature_grandmotherly_circumnavigable_homonymity', 'feature_assenting_darn_arthropod', 'feature_beery_somatologic_elimination', 'feature_cambial_bigoted_bacterioid', 'feature_unaired_operose_lactoprotein', 'feature_moralistic_heartier_typhoid', 'feature_twisty_adequate_minutia', 'feature_unsealed_suffixal_babar', 'feature_planned_superimposed_bend', 'feature_winsome_irreproachable_milkfish', 'feature_flintier_enslaved_borsch', 'feature_agile_unrespited_gaucho', 'feature_glare_factional_assessment', 'feature_slack_calefacient_tableau', 'feature_undivorced_unsatisfying_praetorium', 'feature_silver_handworked_scauper', 'feature_communicatory_unrecommended_velure', 'feature_stylistic_honduran_comprador', 'feature_travelled_semipermeable_perruquier', 'feature_bhutan_imagism_dolerite', 'feature_lofty_acceptable_challenge', 'feature_antichristian_slangiest_idyllist', 'feature_apomictical_motorized_vaporisation', 'feature_buxom_curtained_sienna', 'feature_gullable_sanguine_incongruity', 'feature_unforbidden_highbrow_kafir', 'feature_chuffier_analectic_conchiolin', 'feature_branched_dilatory_sunbelt', 'feature_univalve_abdicant_distrail', 'feature_exorbitant_myeloid_crinkle'] feature_names_medium = ['feature_dichasial_hammier_spawner', 'feature_rheumy_epistemic_prancer', 'feature_pert_performative_hormuz', 'feature_hillier_unpitied_theobromine', 'feature_perigean_bewitching_thruster', 'feature_renegade_undomestic_milord', 'feature_koranic_rude_corf', 'feature_demisable_expiring_millepede', 'feature_unscheduled_malignant_shingling', 'feature_clawed_unwept_adaptability', 'feature_rubblier_chlorotic_stogy', 'feature_untumbled_histologic_inion', 'feature_piffling_inflamed_jupiter', 'feature_abstersive_emotional_misinterpreter', 'feature_unluckiest_mulley_benzyl', 'feature_escutcheoned_timocratic_kotwal', 'feature_integrated_extroversive_ambivalence', 'feature_vedic_mitral_swiz', 'feature_reclaimed_fallibilist_turpentine', 'feature_gone_honduran_worshipper', 'feature_insociable_exultant_tatum', 'feature_outdated_tapered_speciation', 'feature_leggiest_slaggiest_inez', 'feature_chaldean_vixenly_propylite', 'feature_hysteric_mechanized_recklinghausen', 'feature_glare_factional_assessment', 'feature_highland_eocene_berean', 'feature_seemlier_reorient_monandry', 'feature_expressed_abhominable_pruning', 'feature_castrated_presented_quizzer', 'feature_restricted_aggregately_workmanship', 'feature_scorbutic_intellectualism_mongoloid', 'feature_telephonic_shakable_bollock', 'feature_subglobular_unsalable_patzer', 'feature_syrian_coital_counterproof', 'feature_supergene_legible_antarthritic', 'feature_hypothetic_distressing_endemic', 'feature_torturesome_estimable_preferrer', 'feature_greedier_favorable_enthymeme', 'feature_decent_solo_stickup', 'feature_unmalleable_resistant_kingston', 'feature_seamier_jansenism_inflator', 'feature_lordly_lamellicorn_buxtehude', 'feature_mattery_past_moro', 'feature_helpable_chanciest_fractionisation', 'feature_spookiest_expedite_overnighter', 'feature_culinary_pro_offering', 'feature_ganoid_osiered_mineralogy', 'feature_hotfoot_behaviorist_terylene', 'feature_severe_tricky_pinochle', 'feature_maximal_unobserving_desalinisation', 'feature_voltairean_consolidative_parallel', 'feature_unmoved_alt_spoonerism', 'feature_tittering_virgilian_decliner', 'feature_methylated_necrophilic_serendipity', 'feature_calceolate_pudgy_armure', 'feature_unsparing_moralistic_commissary', 'feature_criticisable_authentical_deprecation', 'feature_undetermined_idle_aftergrowth', 'feature_antipathetical_terrorful_ife', 'feature_caressive_cognate_cubature', 'feature_crablike_panniered_gloating', 'feature_exacerbating_presentationism_apagoge', 'feature_epicurean_fetal_seising', 'feature_casuistic_barbarian_monochromy', 'feature_haematoid_runaway_nightjar', 'feature_croupiest_shaded_thermotropism', 'feature_zarathustrian_albigensian_itch', 'feature_unsparred_scarabaeid_anthologist', 'feature_unco_terefah_thirster', 'feature_sallowish_cognisant_romaunt', 'feature_grazed_blameful_desiderative', 'feature_whitened_remanent_blast', 'feature_introvert_symphysial_assegai', 'feature_casemated_ibsenian_grantee', 'feature_intertwined_leeriest_suffragette', 'feature_built_reincarnate_sherbet', 'feature_axillary_reluctant_shorty', 'feature_descendent_decanal_hon', 'feature_untrimmed_monaxial_accompanist', 'feature_desiderative_commiserative_epizoa', 'feature_subdued_spiffier_kano', 'feature_affricative_bromic_raftsman', 'feature_doggish_whacking_headscarf', 'feature_congenital_conched_perithecium', 'feature_terrific_epigamic_affectivity', 'feature_enlightening_mirthful_laurencin', 'feature_continuate_unprocurable_haversine', 'feature_fustiest_voiced_janet', 'feature_ovular_powered_neckar', 'feature_questionable_diplex_caesarist', 'feature_nubblier_plosive_deepening', 'feature_revitalizing_dashing_photomultiplier', 'feature_chafed_undenominational_backstitch', 'feature_assenting_darn_arthropod', 'feature_consecrate_legislative_cavitation', 'feature_inhabited_pettier_veinlet', 'feature_voltairean_dyslogistic_epagoge', 'feature_log_unregenerate_babel', 'feature_agile_unrespited_gaucho', 'feature_whopping_eminent_attempter', 'feature_travelled_semipermeable_perruquier', 'feature_horizontal_snug_description', 'feature_inhibited_snowiest_drawing', 'feature_salian_suggested_ephemeron', 'feature_diverticular_punjabi_matronship', 'feature_reminiscent_unpained_ukulele', 'feature_unsurveyed_chopped_feldspathoid', 'feature_degenerate_officinal_feasibility', 'feature_undrossy_serpentiform_sack', 'feature_festering_controvertible_hostler', 'feature_leukemic_paler_millikan', 'feature_subapostolic_dungy_fermion', 'feature_wale_planned_tolstoy', 'feature_bifacial_hexastyle_hemialgia', 'feature_revealable_aeonian_elvira', 'feature_perceivable_gasiform_psammite', 'feature_smugger_hydroponic_farnesol', 'feature_apostate_impercipient_knighthood', 'feature_unperfect_implemental_cellarage', 'feature_stereotypic_ebracteate_louise', 'feature_offshore_defamatory_catalog', 'feature_tribal_germinable_yarraman', 'feature_dispiriting_araeostyle_jersey', 'feature_clerkish_flowing_chapati', 'feature_venatic_intermetallic_darling', 'feature_nebule_barmier_bibliomania', 'feature_unknown_reusable_cabbage', 'feature_planar_unessential_bride', 'feature_irritant_euphuistic_weka', 'feature_whistleable_unbedimmed_chokey', 'feature_roiling_trimeric_kurosawa', 'feature_loyal_fishy_pith', 'feature_unlivable_morbific_traveling', 'feature_untellable_penal_allegorization', 'feature_coordinated_undecipherable_gag', 'feature_congealed_lee_steek', 'feature_intrusive_effluent_hokkaido', 'feature_epidermic_scruffiest_prosperity', 'feature_quadratic_untouched_liberty', 'feature_hypogastric_effectual_sunlight', 'feature_contused_festal_geochemistry', 'feature_hexametric_ventricose_limnology', 'feature_paramagnetic_complex_gish', 'feature_chuffier_analectic_conchiolin', 'feature_indefatigable_enterprising_calf', 'feature_untouchable_unsolvable_agouti', 'feature_reduplicate_conoid_albite', 'feature_sixteen_inbreed_are', 'feature_dovetailed_winy_hanaper', 'feature_bushwhacking_unaligned_imperturbability', 'feature_undescribed_methylic_friday', 'feature_inflexed_lamaism_crit', 'feature_calefactive_anapaestic_jerome', 'feature_agronomic_cryptal_advisor', 'feature_unbreakable_nosological_comedian', 'feature_unmodernized_vasodilator_galenist', 'feature_paraffinoid_irreplevisable_ombu', 'feature_invalid_extortionary_titillation', 'feature_fake_trident_agitator', 'feature_wieldable_defiled_aperitive', 'feature_contaminative_intrusive_tagrag', 'feature_himyarite_tetragonal_deceit', 'feature_tossing_denominative_threshing', 'feature_dendritic_prothallium_sweeper', 'feature_ruffianly_uncommercial_anatole', 'feature_hellenistic_scraggly_comfort', 'feature_squishiest_unsectarian_support', 'feature_myographic_gawkier_timbale', 'feature_faltering_tergal_tip', 'feature_antisubmarine_foregoing_cryosurgery', 'feature_altern_unnoticed_impregnation', 'feature_foamy_undrilled_glaciology', 'feature_appraisive_anagrammatical_tentacle', 'feature_emmetropic_heraclitean_conducting', 'feature_collective_stigmatic_handfasting', 'feature_iridic_unpropertied_spline', 'feature_farcical_spinal_samantha', 'feature_urochordal_swallowed_curn', 'feature_wombed_reverberatory_colourer', 'feature_merovingian_tenebrism_hartshorn', 'feature_stylistic_honduran_comprador', 'feature_caecilian_unexperienced_ova', 'feature_fumarolic_known_sharkskin', 'feature_belgravian_salopian_sheugh', 'feature_zymotic_varnished_mulga', 'feature_learned_claustral_quiddity', 'feature_brickier_heterostyled_scrutiny', 'feature_unnetted_bay_premillennialist', 'feature_uncurtailed_translucid_coccid', 'feature_jiggish_tritheist_probity', 'feature_groggy_undescried_geosphere', 'feature_hawkish_domiciliary_duramen', 'feature_base_ingrain_calligrapher', 'feature_accessorial_aroused_crochet', 'feature_fierier_goofier_follicle', 'feature_unburied_exponent_pace', 'feature_chelonian_pyknic_delphi', 'feature_tarry_meet_chapel', 'feature_generative_honorific_tughrik', 'feature_smoggy_niftiest_lunch', 'feature_coalier_typhoid_muntin', 'feature_chopfallen_fasciate_orchidologist', 'feature_euterpean_frazzled_williamsburg', 'feature_quinsied_increased_braincase', 'feature_unlawful_superintendent_brunet', 'feature_naval_edified_decarbonize', 'feature_scenic_cormophytic_bilirubin', 'feature_unvaried_social_bangkok', 'feature_fissirostral_multifoliate_chillon', 'feature_gutta_exploitive_simpson', 'feature_assertive_worsened_scarper', 'feature_intersubjective_juristic_sagebrush', 'feature_rowable_unshod_noise', 'feature_volitional_ascensive_selfhood', 'feature_barest_kempt_crowd', 'feature_curtained_gushier_tranquilizer', 'feature_intermontane_vertical_moo', 'feature_isotopic_hymenial_starwort', 'feature_inseminated_filarial_mesoderm', 'feature_passerine_ultraist_neon', 'feature_westering_immunosuppressive_crapaud', 'feature_reported_slimy_rhapsody', 'feature_juvenalian_paunchy_uniformitarianism', 'feature_lipogrammatic_blowsier_seismometry', 'feature_draconic_contractible_romper', 'feature_indirect_concrete_canaille', 'feature_puberulent_nondescript_laparoscope', 'feature_unsurveyed_boyish_aleph', 'feature_dismaying_chaldean_tallith', 'feature_epitaxial_loathsome_essen', 'feature_malagasy_abounding_circumciser', 'feature_tortured_arsenical_arable', 'feature_sludgy_implemental_sicily', 'feature_uretic_seral_decoding', 'feature_roasting_slaked_reposition', 'feature_peculiar_sheenier_quintal', 'feature_publishable_apiarian_rollick', 'feature_interdental_mongolian_anarchism', 'feature_reserved_cleanable_soldan', 'feature_eruptive_seasoned_pharmacognosy', 'feature_softish_unseparated_caudex', 'feature_univalve_abdicant_distrail', 'feature_levigate_kindly_dyspareunia', 'feature_intercalative_helvetian_infirmarian', 'feature_centric_shaggier_cranko', 'feature_unliving_bit_bengaline', 'feature_misanthropic_knurliest_freebooty', 'feature_confiscatory_triennial_pelting', 'feature_peltate_okay_info', 'feature_reconciling_dauby_database', 'feature_unspotted_practiced_gland', 'feature_iconomatic_boozier_age', 'feature_congenial_transmigrant_isobel', 'feature_impractical_endorsed_tide', 'feature_huskiest_compartmental_jacquerie', 'feature_cairned_fumiest_ordaining', 'feature_calculating_unenchanted_microscopium', 'feature_mucky_loanable_gastrostomy', 'feature_loricate_cryptocrystalline_ethnology', 'feature_ctenoid_moaning_fontainebleau', 'feature_armoured_finable_skywriter', 'feature_intended_involute_highbinder', 'feature_commensurable_industrial_jungfrau', 'feature_spagyric_echt_alum', 'feature_illiterate_stomachal_terpene', 'feature_demure_groutiest_housedog', 'feature_dentilingual_removed_osmometer', 'feature_plexiform_won_elk', 'feature_induplicate_hoarse_disbursement', 'feature_vizierial_courtlier_hampton', 'feature_lost_quirky_botel', 'feature_hydrologic_cymric_nyctophobia', 'feature_atlantic_uveal_incommunicability', 'feature_incommensurable_diffused_curability', 'feature_midget_noncognizable_plenary', 'feature_unapplicable_jerkiest_klemperer', 'feature_unamazed_tumular_photomicrograph', 'feature_nucleophilic_uremic_endogen', 'feature_unnourishing_indiscreet_occiput', 'feature_hypersonic_volcanological_footwear', 'feature_uncomplimentary_malignant_scoff', 'feature_interrogatory_isohyetal_atacamite', 'feature_invalid_chromatographic_cornishman', 'feature_encompassing_skeptical_salience', 'feature_beady_unkind_barret', 'feature_gossamer_placable_wycliffite', 'feature_flavourful_seismic_erica', 'feature_petitionary_evanescent_diallage', 'feature_leisurable_dehortatory_pretoria', 'feature_chaotic_granitoid_theist', 'feature_cerebrovascular_weeny_advocate', 'feature_cyrenaic_unschooled_silurian', 'feature_uninclosed_handcrafted_springing', 'feature_indentured_communicant_tulipomania', 'feature_synoptic_botryose_earthwork', 'feature_acerb_venusian_piety', 'feature_vestmental_hoofed_transpose', 'feature_unrated_intact_balmoral', 'feature_tonal_graptolitic_corsac', 'feature_refreshed_untombed_skinhead', 'feature_communicatory_unrecommended_velure', 'feature_sudsy_polymeric_posteriority', 'feature_inexpugnable_gleg_candelilla', 'feature_headhunting_unsatisfied_phenomena', 'feature_scenographical_dissentient_trek', 'feature_trim_axial_suffocation', 'feature_buxom_curtained_sienna', 'feature_recidivism_petitory_methyltestosterone', 'feature_irresponsive_compositive_ramson', 'feature_more_hindoo_diageotropism', 'feature_apomictical_motorized_vaporisation', 'feature_seclusive_emendatory_plangency', 'feature_discrepant_ventral_shicker', 'feature_obeisant_vicarial_passibility', 'feature_unrelieved_rawish_cement', 'feature_strychnic_structuralist_chital', 'feature_unaimed_yonder_filmland', 'feature_designer_notchy_epiploon', 'feature_favoring_prescript_unorthodoxy', 'feature_cheering_protonemal_herd', 'feature_conjugal_postvocalic_rowe', 'feature_palmy_superfluid_argyrodite', 'feature_outsized_admonishing_errantry', 'feature_brawny_confocal_frail', 'feature_arillate_nickelic_hemorrhage', 'feature_bloodied_twinkling_andante', 'feature_rusted_unassisting_menaquinone', 'feature_biannual_maleficent_thack', 'feature_extractable_serrulate_swing', 'feature_covalent_methodological_brash', 'feature_periscopic_thirteenth_cartage', 'feature_tranquilizing_abashed_glyceria', 'feature_faustian_unventilated_lackluster', 'feature_frequentative_participial_waft', 'feature_flakiest_fleecy_novelese', 'feature_liege_unexercised_ennoblement', 'feature_amygdaloidal_intersectional_canonry', 'feature_rural_inquisitional_trotline', 'feature_caespitose_unverifiable_intent', 'feature_precooled_inoperable_credence', 'feature_ruthenian_uncluttered_vocalizing', 'feature_camphorated_spry_freemartin', 'feature_mined_game_curse', 'feature_amoebaean_wolfish_heeler', 'feature_peaty_vulgar_branchia', 'feature_ratlike_matrilinear_collapsability', 'feature_attuned_southward_heckle', 'feature_substandard_permissible_paresthesia', 'feature_curling_aurorean_iseult', 'feature_fleshly_bedimmed_enfacement', 'feature_hendecagonal_deathly_stiver', 'feature_massed_nonracial_ecclesiologist', 'feature_instrumentalist_extrovert_cassini', 'feature_patristical_analysable_langouste', 'feature_gullable_sanguine_incongruity', 'feature_phellogenetic_vibrational_jocelyn', 'feature_autodidactic_gnarlier_pericardium', 'feature_unbeaten_orological_dentin', 'feature_resuscitative_communicable_brede', 'feature_limitable_astable_physiology', 'feature_chartered_conceptual_spitting', 'feature_oversea_permed_insulter', 'feature_busty_unfitted_keratotomy', 'feature_alkaline_pistachio_sunstone', 'feature_incitant_trochoidal_oculist', 'feature_stelar_balmiest_pellitory', 'feature_hypermetropic_unsighted_forsyth', 'feature_calycled_living_birmingham', 'feature_transmontane_clerkly_value', 'feature_together_suppositive_aster', 'feature_planned_superimposed_bend', 'feature_undirected_perdu_ylem', 'feature_antipodal_unable_thievery', 'feature_scrobiculate_unexcitable_alder', 'feature_apophthegmatical_catechetical_millet', 'feature_fragrant_fifteen_brian', 'feature_churrigueresque_talc_archaicism', 'feature_uncompromising_fancy_kyle', 'feature_retinoscopy_flinty_wool', 'feature_pansophic_merino_pintado', 'feature_galvanometric_sturdied_billingsgate', 'feature_mazy_superrefined_punishment', 'feature_aztecan_encomiastic_pitcherful', 'feature_sorted_ignitable_sagitta', 'feature_padded_peripteral_pericranium', 'feature_trabeate_eutherian_valedictory', 'feature_undisguised_whatever_gaul', 'feature_migrant_reliable_chirurgery', 'feature_permanent_cottony_ballpen', 'feature_conceding_ingrate_tablespoonful', 'feature_vulcanological_sepulchral_spean', 'feature_unrequired_waxing_skeptic', 'feature_hibernating_soritic_croupe', 'feature_unstacked_trackable_blizzard', 'feature_multilinear_sharpened_mouse', 'feature_autarkic_constabulary_dukedom', 'feature_christadelphian_euclidean_boon', 'feature_covalent_unreformed_frogbit', 'feature_basaltic_arid_scallion', 'feature_uncharged_unovercome_smolder', 'feature_leaky_maroon_pyrometry', 'feature_polaroid_squalliest_applause', 'feature_jerkwater_eustatic_electrocardiograph', 'feature_malacological_differential_defeated', 'feature_ambisexual_boiled_blunderer', 'feature_endangered_unthreaded_firebrick', 'feature_unextinct_smectic_isa', 'feature_kerygmatic_splashed_ziegfeld', 'feature_palatalized_unsucceeded_induration', 'feature_springlike_crackjaw_bheesty', 'feature_unweary_congolese_captain', 'feature_uncertified_myrmecological_nagger', 'feature_hemispherical_unabsolved_aeolipile', 'feature_glyptic_unrubbed_holloway', 'feature_rimmed_conditional_archipelago', 'feature_bleeding_arabesque_pneuma', 'feature_dipped_sent_giuseppe', 'feature_undivorced_unsatisfying_praetorium', 'feature_reclinate_cruciform_lilo'] column_names_legacy = FEATURE_NAMES_LEGACY + TARGET_NAMES column_names_small = FEATURE_NAMES_SMALL + TARGET_NAMES column_names_medium = FEATURE_NAMES_MEDIUM + TARGET_NAMES
def letUsCalculate(): print("Where n is the number of ELEMENTS in the SET, and R is the samples taken in the function\n") print("///////////////////////////////\n") print("///////////////////////////////\n") print("///////////////////////////////\n") print("///////////////////////////////\n") print("NOW.... LET US CALCULATE!!!\n")
def let_us_calculate(): print('Where n is the number of ELEMENTS in the SET, and R is the samples taken in the function\n') print('///////////////////////////////\n') print('///////////////////////////////\n') print('///////////////////////////////\n') print('///////////////////////////////\n') print('NOW.... LET US CALCULATE!!!\n')
n=int(input('Numero:\n')) i=1 while(i*i<=n): i=i+1 print('La parte entera de la raiz cuadrada es: '+str(i-1))
n = int(input('Numero:\n')) i = 1 while i * i <= n: i = i + 1 print('La parte entera de la raiz cuadrada es: ' + str(i - 1))
# Drop Tables songplay_table_drop = "DROP TABLE IF EXISTS songplays" user_table_drop = "DROP TABLE IF EXISTS users" song_table_drop = "DROP TABLE IF EXISTS songs" artist_table_drop = "DROP TABLE IF EXISTS artists" time_table_drop = "DROP TABLE IF EXISTS time" # Create Tables songplay_table_create =(""" CREATE TABLE IF NOT EXISTS songplays ( songplay_id INT PRIMARY KEY, start_time TIMESTAMP NOT NULL, user_id INT NOT NULL, level VARCHAR(10) NOT NULL, song_id VARCHAR(100), artist_id VARCHAR(100), session_id INT NOT NULL, location VARCHAR(256), user_agent VARCHAR ); COMMENT ON COLUMN songplays.songplay_id is 'AutoIncrement Column'; COMMENT ON COLUMN songplays.user_agent is 'No Specified limit for Headers according to HTTP specification. Web servers do have the limit and vary.'; """) user_table_create = (""" CREATE TABLE IF NOT EXISTS users ( user_id INT PRIMARY KEY, first_name VARCHAR(100) NOT NULL, last_name VARCHAR(100) NOT NULL, gender VARCHAR(1) NOT NULL, level VARCHAR(20) NOT NULL ); """) song_table_create = (""" CREATE TABLE IF NOT EXISTS songs ( song_id VARCHAR(100) PRIMARY KEY, title VARCHAR(256) NOT NULL, artist_id VARCHAR(100) NOT NULL, year SMALLINT, duration NUMERIC ); """) artist_table_create = (""" CREATE TABLE IF NOT EXISTS artists ( artist_id VARCHAR(100) PRIMARY KEY, name VARCHAR(256) NOT NULL, location VARCHAR(256), latitude NUMERIC, longitude NUMERIC ); """) time_table_create = (""" CREATE TABLE IF NOT EXISTS time ( start_time TIMESTAMP PRIMARY KEY, hour SMALLINT NOT NULL, day SMALLINT NOT NULL, week SMALLINT NOT NULL, month SMALLINT NOT NULL, year SMALLINT NOT NULL, weekday SMALLINT NOT NULL ); COMMENT ON COLUMN time.start_time is 'The value of log.ts'; """) # Insert Records songplay_table_insert = (""" INSERT INTO songplays (songplay_id, start_time, user_id, level, song_id, artist_id, session_id, location, user_agent) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s) ON CONFLICT (songplay_id) DO NOTHING; """) user_table_insert = (""" INSERT INTO users(user_id, first_name, last_name, gender, level) VALUES(%s, %s, %s, %s, %s) ON CONFLICT (user_id) DO UPDATE SET first_name = EXCLUDED.first_name, last_name = EXCLUDED.last_name, gender = EXCLUDED.gender, level = EXCLUDED.level; """) song_table_insert = (""" INSERT INTO songs(song_id, title, artist_id, year, duration) VALUES(%s, %s, %s, %s, %s) ON CONFLICT (song_id) DO UPDATE SET title = EXCLUDED.title, artist_id = EXCLUDED.artist_id, year = EXCLUDED.year, duration = EXCLUDED.duration; """) artist_table_insert = (""" INSERT INTO artists(artist_id, name, location, latitude, longitude) VALUES(%s, %s, %s, %s, %s) ON CONFLICT (artist_id) DO UPDATE SET name = EXCLUDED.name, location = EXCLUDED.location, latitude = EXCLUDED.latitude, longitude = EXCLUDED.longitude; """) time_table_insert = (""" INSERT INTO time(start_time, hour, day, week, month, year, weekday) VALUES(%s, %s, %s, %s, %s, %s, %s) ON CONFLICT (start_time) DO NOTHING; """) # Find songs song_select = (""" SELECT songs.song_id, artists.artist_id FROM songs JOIN artists ON songs.artist_id = artists.artist_id WHERE songs.title = %s AND artists.name = %s AND songs.duration = %s; """) # Analysis user activities for listening music analysis_most_popular_song = (""" SELECT songs.title AS "Song Title", artists.name AS "Artist Name" FROM ( songs JOIN artists ON songs.artist_id = artists.artist_id ) WHERE songs.song_id = ( SELECT songplays.song_id FROM ( songplays JOIN time ON songplays.start_time = time.start_time ) WHERE time.year = %s GROUP BY songplays.song_id ORDER BY COUNT(songplays.song_id) DESC LIMIT 1 ); """) analysis_most_popular_artist = (""" SELECT artists.name AS "Artist Name", artists.location AS "Location" FROM artists WHERE artists.artist_id = ( SELECT songplays.artist_id FROM ( songplays JOIN time ON songplays.start_time = time.start_time ) WHERE time.year = %s GROUP BY songplays.artist_id ORDER BY COUNT(songplays.artist_id) DESC LIMIT 1 ); """) analysis_mean_number_on_different_level = (""" SELECT users.level AS "User Level", CAST(AVG(total.count) AS DECIMAL(10,2)) as "Avarage Number of Songs" FROM users JOIN ( SELECT songplays.user_id AS id, COUNT(songplays.user_id) AS count FROM ( songplays JOIN time ON songplays.start_time = time.start_time ) WHERE time.year = %s GROUP BY songplays.user_id ORDER BY count DESC ) AS total ON users.user_id = total.id GROUP BY users.level; """) # QUERY LISTS create_table_queries = [songplay_table_create, user_table_create, song_table_create, artist_table_create, time_table_create] drop_table_queries = [songplay_table_drop, user_table_drop, song_table_drop, artist_table_drop, time_table_drop]
songplay_table_drop = 'DROP TABLE IF EXISTS songplays' user_table_drop = 'DROP TABLE IF EXISTS users' song_table_drop = 'DROP TABLE IF EXISTS songs' artist_table_drop = 'DROP TABLE IF EXISTS artists' time_table_drop = 'DROP TABLE IF EXISTS time' songplay_table_create = "\n CREATE TABLE IF NOT EXISTS songplays (\n songplay_id INT PRIMARY KEY,\n start_time TIMESTAMP NOT NULL,\n user_id INT NOT NULL,\n level VARCHAR(10) NOT NULL,\n song_id VARCHAR(100),\n artist_id VARCHAR(100),\n session_id INT NOT NULL,\n location VARCHAR(256),\n user_agent VARCHAR\n );\n COMMENT ON COLUMN songplays.songplay_id is 'AutoIncrement Column';\n COMMENT ON COLUMN songplays.user_agent is 'No Specified limit for Headers according to HTTP specification. Web servers do have the limit and vary.';\n" user_table_create = '\n CREATE TABLE IF NOT EXISTS users (\n user_id INT PRIMARY KEY,\n first_name VARCHAR(100) NOT NULL,\n last_name VARCHAR(100) NOT NULL,\n gender VARCHAR(1) NOT NULL,\n level VARCHAR(20) NOT NULL\n );\n' song_table_create = '\n CREATE TABLE IF NOT EXISTS songs (\n song_id VARCHAR(100) PRIMARY KEY,\n title VARCHAR(256) NOT NULL,\n artist_id VARCHAR(100) NOT NULL,\n year SMALLINT,\n duration NUMERIC\n );\n' artist_table_create = '\n CREATE TABLE IF NOT EXISTS artists (\n artist_id VARCHAR(100) PRIMARY KEY,\n name VARCHAR(256) NOT NULL,\n location VARCHAR(256),\n latitude NUMERIC,\n longitude NUMERIC\n );\n' time_table_create = "\n CREATE TABLE IF NOT EXISTS time (\n start_time TIMESTAMP PRIMARY KEY,\n hour SMALLINT NOT NULL,\n day SMALLINT NOT NULL,\n week SMALLINT NOT NULL,\n month SMALLINT NOT NULL,\n year SMALLINT NOT NULL,\n weekday SMALLINT NOT NULL\n );\n COMMENT ON COLUMN time.start_time is 'The value of log.ts';\n" songplay_table_insert = '\n INSERT INTO songplays (songplay_id, start_time, user_id, level, song_id, artist_id, session_id, location, user_agent) \n VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s)\n ON CONFLICT (songplay_id) DO NOTHING;\n' user_table_insert = '\n INSERT INTO users(user_id, first_name, last_name, gender, level)\n VALUES(%s, %s, %s, %s, %s)\n ON CONFLICT (user_id)\n DO UPDATE SET \n first_name = EXCLUDED.first_name, \n last_name = EXCLUDED.last_name, \n gender = EXCLUDED.gender, \n level = EXCLUDED.level;\n' song_table_insert = '\n INSERT INTO songs(song_id, title, artist_id, year, duration) \n VALUES(%s, %s, %s, %s, %s) \n ON CONFLICT (song_id) \n DO UPDATE SET \n title = EXCLUDED.title, \n artist_id = EXCLUDED.artist_id, \n year = EXCLUDED.year, \n duration = EXCLUDED.duration;\n' artist_table_insert = '\n INSERT INTO artists(artist_id, name, location, latitude, longitude) \n VALUES(%s, %s, %s, %s, %s) \n ON CONFLICT (artist_id) \n DO UPDATE SET \n name = EXCLUDED.name, \n location = EXCLUDED.location, \n latitude = EXCLUDED.latitude, \n longitude = EXCLUDED.longitude;\n' time_table_insert = '\n INSERT INTO time(start_time, hour, day, week, month, year, weekday) \n VALUES(%s, %s, %s, %s, %s, %s, %s) \n ON CONFLICT (start_time) \n DO NOTHING;\n' song_select = '\n SELECT songs.song_id, artists.artist_id \n FROM songs JOIN artists \n ON songs.artist_id = artists.artist_id\n WHERE songs.title = %s \n AND artists.name = %s \n AND songs.duration = %s;\n' analysis_most_popular_song = '\n SELECT songs.title AS "Song Title", artists.name AS "Artist Name"\n FROM ( songs JOIN artists ON songs.artist_id = artists.artist_id )\n WHERE songs.song_id = (\n SELECT songplays.song_id\n FROM ( songplays JOIN time ON songplays.start_time = time.start_time )\n WHERE time.year = %s\n GROUP BY songplays.song_id\n ORDER BY COUNT(songplays.song_id) DESC\n LIMIT 1\n );\n' analysis_most_popular_artist = '\n SELECT artists.name AS "Artist Name", artists.location AS "Location"\n FROM artists\n WHERE artists.artist_id = (\n SELECT songplays.artist_id\n FROM ( songplays JOIN time ON songplays.start_time = time.start_time )\n WHERE time.year = %s\n GROUP BY songplays.artist_id\n ORDER BY COUNT(songplays.artist_id) DESC\n LIMIT 1\n );\n' analysis_mean_number_on_different_level = '\n SELECT users.level AS "User Level", CAST(AVG(total.count) AS DECIMAL(10,2)) as "Avarage Number of Songs"\n FROM users \n JOIN \n (\n SELECT songplays.user_id AS id, COUNT(songplays.user_id) AS count\n FROM ( songplays JOIN time ON songplays.start_time = time.start_time )\n WHERE time.year = %s\n GROUP BY songplays.user_id\n ORDER BY count DESC\n ) AS total\n ON users.user_id = total.id\n GROUP BY users.level;\n' create_table_queries = [songplay_table_create, user_table_create, song_table_create, artist_table_create, time_table_create] drop_table_queries = [songplay_table_drop, user_table_drop, song_table_drop, artist_table_drop, time_table_drop]
dados = [] lista = [] maior = menor = 0 while True: lista.append(str(input('Digite um nome: '))) lista.append(float(input('Digite seu peso: '))) while True: escol = str(input('Quer continuar?[S/N] ')).upper().split()[0] if escol in 'SN': break dados.append(lista[:]) lista.clear() if escol in 'N': break print('-='*30) print(f'{len(dados)} pessoas foram cadastradas.') for c in dados: if maior == 0 or c[1] > maior: maior = c[1] if menor == 0 or c[1] < menor: menor = c[1] print(f'O maior peso foi de {maior:.1f}Kg. Peso de ', end='') for i in dados: if i[1] == maior: print(f'[{i[0]}]', end=' ') print('\n') print(f'O menor peso foi de {menor:.1f}Kg. Peso de ', end='') for a in dados: if a[1] == menor: print(f'[{a[0]}]', end='')
dados = [] lista = [] maior = menor = 0 while True: lista.append(str(input('Digite um nome: '))) lista.append(float(input('Digite seu peso: '))) while True: escol = str(input('Quer continuar?[S/N] ')).upper().split()[0] if escol in 'SN': break dados.append(lista[:]) lista.clear() if escol in 'N': break print('-=' * 30) print(f'{len(dados)} pessoas foram cadastradas.') for c in dados: if maior == 0 or c[1] > maior: maior = c[1] if menor == 0 or c[1] < menor: menor = c[1] print(f'O maior peso foi de {maior:.1f}Kg. Peso de ', end='') for i in dados: if i[1] == maior: print(f'[{i[0]}]', end=' ') print('\n') print(f'O menor peso foi de {menor:.1f}Kg. Peso de ', end='') for a in dados: if a[1] == menor: print(f'[{a[0]}]', end='')
class Bit: def __init__(self, n): self.size = n self.tree = [0] * (n + 1) def sum(self, i): s = 0 while i > 0: s += self.tree[i] i -= i & -i return s def add(self, i, x): while i <= self.size: self.tree[i] += x i += i & -i def main(): N = 5 bit = Bit(N) bit.add(1, 2) bit.add(2, 3) bit.add(3, 8) bit.add(1, 1) print(bit.sum(2)) print(bit.sum(3)) if __name__ == '__main__': main()
class Bit: def __init__(self, n): self.size = n self.tree = [0] * (n + 1) def sum(self, i): s = 0 while i > 0: s += self.tree[i] i -= i & -i return s def add(self, i, x): while i <= self.size: self.tree[i] += x i += i & -i def main(): n = 5 bit = bit(N) bit.add(1, 2) bit.add(2, 3) bit.add(3, 8) bit.add(1, 1) print(bit.sum(2)) print(bit.sum(3)) if __name__ == '__main__': main()
""" Given a string s, find the longest palindromic substring in it. I/P : "babad" O/P : "bab" "aba" is also a valid answer I/P: "cbbd" O/P: "bb """ # Approach 0 - get all possible substrings and check for palindrome. # Approach 1: Using sliding window - Expanding around the center """ The core logic in this is: 1. Keep one-pointer from the start of the string 2. Keep second-pointer from the end of the string 3. Because you are starting from reverse """ def longest_palindromic_substring(string): result = [] for i in range(len(string)): for j in range(len(string), i, -1): if len(result) > j - i: # This means we have found it. break elif string[i:j] == string[i:j][::-1]: result = string[i:j] break return result def longest_palindromic_substring_bruteforce(string): best = "" for left in range(len(string)): for right in range(left, len(string)): substring = s[left : right + 1] if substring == substring[::-1] and len(substring) > len(best): best = substring return best # remember if there is more than one odd - the palindrome cannot be formed. # This solution is through DP O(n^2) def longest_palindromic_substring_expand_center(string): pass if __name__ == "__main__": s = "" result = longest_palindromic_substring_expand_center(s) print(result)
""" Given a string s, find the longest palindromic substring in it. I/P : "babad" O/P : "bab" "aba" is also a valid answer I/P: "cbbd" O/P: "bb """ '\nThe core logic in this is:\n1. Keep one-pointer from the start of the string\n2. Keep second-pointer from the end of the string\n3. Because you are starting from reverse\n' def longest_palindromic_substring(string): result = [] for i in range(len(string)): for j in range(len(string), i, -1): if len(result) > j - i: break elif string[i:j] == string[i:j][::-1]: result = string[i:j] break return result def longest_palindromic_substring_bruteforce(string): best = '' for left in range(len(string)): for right in range(left, len(string)): substring = s[left:right + 1] if substring == substring[::-1] and len(substring) > len(best): best = substring return best def longest_palindromic_substring_expand_center(string): pass if __name__ == '__main__': s = '' result = longest_palindromic_substring_expand_center(s) print(result)
def print_rules(bit): rules = [] # Bit Toggle rules.append(( "// REG ^= (1 << %d)" % bit, "replace restart {", " ld a, %1", " xor a, #%s" % format((1 << bit) & 0xff, '#04x'), " ld %1, a", "} by {", " bcpl %%1, #%d ; peephole replaced xor by bcpl." % bit, "} if notUsed('a')")) # Bit Set rules.append(( "// REG |= (1 << %d)" % bit, "replace restart {", " ld a, %1", " or a, #%s" % format((1 << bit) & 0xff, '#04x'), " ld %1, a", "} by {", " bset %%1, #%d ; peephole replaced or by bset." % bit, "} if notUsed('a')")) # Bit Reset rules.append(( "// REG &= ~(1 << %d)" % bit, "replace restart {", " ld a, %1", " and a, #%s" % format(~(1 << bit) & 0xff, '#04x'), " ld %1, a", "} by {", " bres %%1, #%d ; peephole replaced and by bres." % bit, "} if notUsed('a')")) for r in rules: print ('\n'.join(r) + '\n') print('// Extra rules generated by rules_gen.py') for i in range(8): print_rules(i)
def print_rules(bit): rules = [] rules.append(('// REG ^= (1 << %d)' % bit, 'replace restart {', ' ld a, %1', ' xor a, #%s' % format(1 << bit & 255, '#04x'), ' ld %1, a', '} by {', ' bcpl %%1, #%d ; peephole replaced xor by bcpl.' % bit, "} if notUsed('a')")) rules.append(('// REG |= (1 << %d)' % bit, 'replace restart {', ' ld a, %1', ' or a, #%s' % format(1 << bit & 255, '#04x'), ' ld %1, a', '} by {', ' bset %%1, #%d ; peephole replaced or by bset.' % bit, "} if notUsed('a')")) rules.append(('// REG &= ~(1 << %d)' % bit, 'replace restart {', ' ld a, %1', ' and a, #%s' % format(~(1 << bit) & 255, '#04x'), ' ld %1, a', '} by {', ' bres %%1, #%d ; peephole replaced and by bres.' % bit, "} if notUsed('a')")) for r in rules: print('\n'.join(r) + '\n') print('// Extra rules generated by rules_gen.py') for i in range(8): print_rules(i)
class RedirectException(Exception): def __init__(self, redirect_to: str): super().__init__() self.redirect_to = redirect_to
class Redirectexception(Exception): def __init__(self, redirect_to: str): super().__init__() self.redirect_to = redirect_to
AMAZON_COM: str = "https://www.amazon.com/" DBA_DK: str = "https://www.dba.dk/" EXAMPLE_COM: str = "http://example.com/" GOOGLE_COM: str = "https://www.google.com/" JYLLANDSPOSTEN_DK: str = "https://jyllands-posten.dk/" IANA_ORG: str = "https://www.iana.org/domains/reserved" W3SCHOOLS_COM: str = "https://www.w3schools.com/"
amazon_com: str = 'https://www.amazon.com/' dba_dk: str = 'https://www.dba.dk/' example_com: str = 'http://example.com/' google_com: str = 'https://www.google.com/' jyllandsposten_dk: str = 'https://jyllands-posten.dk/' iana_org: str = 'https://www.iana.org/domains/reserved' w3_schools_com: str = 'https://www.w3schools.com/'
def read_file_to_string(filename): with open(filename, 'r') as fin: return fin.read() def write_string_to_file(filename, content): with open(filename, 'w') as fout: fout.write(content)
def read_file_to_string(filename): with open(filename, 'r') as fin: return fin.read() def write_string_to_file(filename, content): with open(filename, 'w') as fout: fout.write(content)
class SongLine: # Uniquely ids all song lines next_id = 0 def __init__(self, song_text: str, song): """A song line of a song :type song_text: str :param song_text: The lines text :type song: Song.Song :param song: The song this line is a part of """ # Set unique id self.id = self.next_id SongLine.next_id += 1 # Setup the song line self._text = song_text self.song = song def get_text(self): """Get the lines song text :return str: The lines song text""" return self._text def __repr__(self): return self._text def __eq__(self, other_line): return self.id == other_line.id def __hash__(self): return self.id
class Songline: next_id = 0 def __init__(self, song_text: str, song): """A song line of a song :type song_text: str :param song_text: The lines text :type song: Song.Song :param song: The song this line is a part of """ self.id = self.next_id SongLine.next_id += 1 self._text = song_text self.song = song def get_text(self): """Get the lines song text :return str: The lines song text""" return self._text def __repr__(self): return self._text def __eq__(self, other_line): return self.id == other_line.id def __hash__(self): return self.id
# Coding up the SVM Quiz clf.fit(features_train, labels_train) pred = clf.predict(features_test)
clf.fit(features_train, labels_train) pred = clf.predict(features_test)
# https://www.hackerrank.com/challenges/grading/problem def gradingStudents(grades): rounded = [] for g in grades: if (g < 38) or ((g % 5) < 3) : rounded.append(g) else: rounded.append(g + (5 - (g % 5))) return rounded
def grading_students(grades): rounded = [] for g in grades: if g < 38 or g % 5 < 3: rounded.append(g) else: rounded.append(g + (5 - g % 5)) return rounded
#!/usr/bin/env python # coding: utf-8 # In[3]: class ChineseChef: def make_chicken(self): print("The Chef makes Chicken") def make_salad(self): print("The Chef Makes Salad") def make_special_dish(self): print("The Chef makes Orange Chicken") def make_fried_rice(self): print("The Chef maked Fried Rice") # In[ ]:
class Chinesechef: def make_chicken(self): print('The Chef makes Chicken') def make_salad(self): print('The Chef Makes Salad') def make_special_dish(self): print('The Chef makes Orange Chicken') def make_fried_rice(self): print('The Chef maked Fried Rice')
Experiment(description='Multi d regression experiment', data_dir='../data/uci-regression', max_depth=20, random_order=False, k=1, debug=False, local_computation=False, n_rand=2, sd=2, jitter_sd=0.1, max_jobs=400, verbose=False, make_predictions=False, skip_complete=True, results_dir='../results/2014-04-21-uci-regression-restart/', iters=250, base_kernels='SE,Lin,Noise', random_seed=1, period_heuristic=3, max_period_heuristic=5, period_heuristic_type='min', subset=True, subset_size=250, full_iters=25, bundle_size=5, additive_form=True, mean='ff.MeanConst(c=39.2970002643)', # Starting mean kernel='ff.SumKernel(operands=[ff.NoiseKernel(sf=0.992564149134), ff.ProductKernel(operands=[ff.SqExpKernel(dimension=0, lengthscale=0.446413981842, sf=-0.172270499223), ff.SqExpKernel(dimension=6, lengthscale=1.52017941082, sf=1.90808679799)]), ff.ProductKernel(operands=[ff.SqExpKernel(dimension=0, lengthscale=6.26749787392, sf=2.42023059081), ff.SqExpKernel(dimension=1, lengthscale=6.07966455123, sf=1.33536670897), ff.SqExpKernel(dimension=3, lengthscale=3.78168500021, sf=-0.521535300832)]), ff.ProductKernel(operands=[ff.SqExpKernel(dimension=1, lengthscale=4.52193307207, sf=-2.83423935993), ff.SqExpKernel(dimension=3, lengthscale=-0.475114371177, sf=-1.30799230607), ff.SqExpKernel(dimension=7, lengthscale=-4.1220083947, sf=4.83400674575)]), ff.ProductKernel(operands=[ff.SqExpKernel(dimension=1, lengthscale=6.32403778175, sf=1.55627318007), ff.SqExpKernel(dimension=3, lengthscale=4.90387746338, sf=0.141619151618), ff.SqExpKernel(dimension=6, lengthscale=6.07802289484, sf=-0.657774296862), ff.SqExpKernel(dimension=7, lengthscale=-4.17834528345, sf=1.54315353644)])])', # Starting kernel lik='ff.LikGauss(sf=-np.Inf)', # Starting likelihood score='bic', stopping_criteria=['no_improvement'], improvement_tolerance=0.01, search_operators=[('A', ('+', 'A', 'B'), {'A': 'kernel', 'B': 'base'}), ('A', ('*', 'A', 'B'), {'A': 'kernel', 'B': 'base-not-const'}), ('A', ('*-const', 'A', 'B'), {'A': 'kernel', 'B': 'base-not-const'}), ('A', 'B', {'A': 'kernel', 'B': 'base'}), ('A', ('None',), {'A': 'kernel'})])
experiment(description='Multi d regression experiment', data_dir='../data/uci-regression', max_depth=20, random_order=False, k=1, debug=False, local_computation=False, n_rand=2, sd=2, jitter_sd=0.1, max_jobs=400, verbose=False, make_predictions=False, skip_complete=True, results_dir='../results/2014-04-21-uci-regression-restart/', iters=250, base_kernels='SE,Lin,Noise', random_seed=1, period_heuristic=3, max_period_heuristic=5, period_heuristic_type='min', subset=True, subset_size=250, full_iters=25, bundle_size=5, additive_form=True, mean='ff.MeanConst(c=39.2970002643)', kernel='ff.SumKernel(operands=[ff.NoiseKernel(sf=0.992564149134), ff.ProductKernel(operands=[ff.SqExpKernel(dimension=0, lengthscale=0.446413981842, sf=-0.172270499223), ff.SqExpKernel(dimension=6, lengthscale=1.52017941082, sf=1.90808679799)]), ff.ProductKernel(operands=[ff.SqExpKernel(dimension=0, lengthscale=6.26749787392, sf=2.42023059081), ff.SqExpKernel(dimension=1, lengthscale=6.07966455123, sf=1.33536670897), ff.SqExpKernel(dimension=3, lengthscale=3.78168500021, sf=-0.521535300832)]), ff.ProductKernel(operands=[ff.SqExpKernel(dimension=1, lengthscale=4.52193307207, sf=-2.83423935993), ff.SqExpKernel(dimension=3, lengthscale=-0.475114371177, sf=-1.30799230607), ff.SqExpKernel(dimension=7, lengthscale=-4.1220083947, sf=4.83400674575)]), ff.ProductKernel(operands=[ff.SqExpKernel(dimension=1, lengthscale=6.32403778175, sf=1.55627318007), ff.SqExpKernel(dimension=3, lengthscale=4.90387746338, sf=0.141619151618), ff.SqExpKernel(dimension=6, lengthscale=6.07802289484, sf=-0.657774296862), ff.SqExpKernel(dimension=7, lengthscale=-4.17834528345, sf=1.54315353644)])])', lik='ff.LikGauss(sf=-np.Inf)', score='bic', stopping_criteria=['no_improvement'], improvement_tolerance=0.01, search_operators=[('A', ('+', 'A', 'B'), {'A': 'kernel', 'B': 'base'}), ('A', ('*', 'A', 'B'), {'A': 'kernel', 'B': 'base-not-const'}), ('A', ('*-const', 'A', 'B'), {'A': 'kernel', 'B': 'base-not-const'}), ('A', 'B', {'A': 'kernel', 'B': 'base'}), ('A', ('None',), {'A': 'kernel'})])
N, S = map(int, input().split()) ans = 0 for i in range(1, N+1): for j in range(1, N+1): if i + j <= S: ans += 1 print(ans)
(n, s) = map(int, input().split()) ans = 0 for i in range(1, N + 1): for j in range(1, N + 1): if i + j <= S: ans += 1 print(ans)
class Model(object): __db = None __cache_engine = None @classmethod def set_db(cls, db): cls.__db = db\ @classmethod def get_db(cls): return cls.__db @property def db(self): return self.__db @classmethod def set_cache_engine(cls, cache_engine): cls.__cache_engine = cache_engine @property def cache(self): return self.__cache_engine
class Model(object): __db = None __cache_engine = None @classmethod def set_db(cls, db): cls.__db = db @classmethod def get_db(cls): return cls.__db @property def db(self): return self.__db @classmethod def set_cache_engine(cls, cache_engine): cls.__cache_engine = cache_engine @property def cache(self): return self.__cache_engine
# Using third argument in range lst = [x for x in range(2,21,2)] print(lst) # Without using third argument in range lst1 = [x for x in range(1,21) if(x%2 == 0)] print(lst1)
lst = [x for x in range(2, 21, 2)] print(lst) lst1 = [x for x in range(1, 21) if x % 2 == 0] print(lst1)
COLUMNS = [ 'tipo_registro', 'nro_pv', 'nro_rv', 'dt_rv', 'bancos', 'nro_parcela', 'vl_parcela_bruto', 'vl_desconto_sobre_parcela', 'vl_parcela_liquida', 'dt_credito', 'livre' ]
columns = ['tipo_registro', 'nro_pv', 'nro_rv', 'dt_rv', 'bancos', 'nro_parcela', 'vl_parcela_bruto', 'vl_desconto_sobre_parcela', 'vl_parcela_liquida', 'dt_credito', 'livre']
"""Calculate the Hamming Distance between two DNA Strands. Given two strings each representing a DNA strand, return the Hamming Distance between them. """ def distance(strand_a, strand_b): """Calculates the Hamming distance between two strands. Args: strand_a: A string representing a DNA strand. strand_b: A string representing a DNA strand. Returns: An integer representing the Hamming Distance between the two strands. """ if len(strand_a) != len(strand_b): raise ValueError("left and right strands must be of equal length") hamming_distance = 0 for idx, elem in enumerate(strand_a): if elem != strand_b[idx]: hamming_distance += 1 return hamming_distance
"""Calculate the Hamming Distance between two DNA Strands. Given two strings each representing a DNA strand, return the Hamming Distance between them. """ def distance(strand_a, strand_b): """Calculates the Hamming distance between two strands. Args: strand_a: A string representing a DNA strand. strand_b: A string representing a DNA strand. Returns: An integer representing the Hamming Distance between the two strands. """ if len(strand_a) != len(strand_b): raise value_error('left and right strands must be of equal length') hamming_distance = 0 for (idx, elem) in enumerate(strand_a): if elem != strand_b[idx]: hamming_distance += 1 return hamming_distance
# 1. Write a line of Python code that displays the sum of 468 + 751 print(0.7 * (220-33) +0.3 * 55) print(0.8 * (225-33) +0.35 * 55)
print(0.7 * (220 - 33) + 0.3 * 55) print(0.8 * (225 - 33) + 0.35 * 55)
class CyCyError(Exception): """ Base class for non-runtime internal errors. """ def rstr(self): name = self.__class__.__name__ return "%s\n%s\n\n%s" % (name, "-" * len(name), self.__str__())
class Cycyerror(Exception): """ Base class for non-runtime internal errors. """ def rstr(self): name = self.__class__.__name__ return '%s\n%s\n\n%s' % (name, '-' * len(name), self.__str__())
# https://leetcode.com/problems/insert-into-a-binary-search-tree/ # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def insertIntoBST(self, root: TreeNode, val: int) -> TreeNode: # I'll walk through my thinking w/r/t this problem prior to coding. # First I need to traverse the BST to find the appropriate insertion location # to do so I will start with the root node and begin by checking whether there's a val # if no val, it's trivial: Just insert the new val and return the root node. # If val < TreeNode.val, then we'd go left (recursively) # If val > TreeNode.val, then we'd go right (recursively) # Eventually we arrive at a node with either one, two, or no children # So, let's enumerate all of the cases: # Consider, concretely, the following example: Parent.val = 10. Parent.left.val = 5. Parent.right.val = 15. # The value given could be less than five. If so, we'd overwrite one of the None child nodes of 5 with a new tree node # containing the value given. # The value given could be greater than five but less than ten. Same story as above w/r/t overwriting the child None # node (but this time, obviously, overwrite the Right child None node). # The value given could be greater than 10 but less than 15: Overwrite the Left None child node of 15. # The value given could be greater than 15: Overwrite the Right None child node of 15. # Arriving at a leaf node with no non-None children is the simpliest case: Just overwrite one of the None child nodes # as described above # Suppose we arrive at a node with one None child and one non-None child. That treatment is just a mix of the above two # cases, depending upon what the given val is and where the None child resides. In any case, we'll be overwriting a # None child. def insert(root, node): if root is None: root = node else: if root.val < node.val: if root.right is None: root.right = node else: insert(root.right, node) else: if root.left is None: root.left = node else: insert(root.left, node) node = TreeNode(val) insert(root, node) if root is None: root = TreeNode(val) return root
class Solution: def insert_into_bst(self, root: TreeNode, val: int) -> TreeNode: def insert(root, node): if root is None: root = node elif root.val < node.val: if root.right is None: root.right = node else: insert(root.right, node) elif root.left is None: root.left = node else: insert(root.left, node) node = tree_node(val) insert(root, node) if root is None: root = tree_node(val) return root
#1 f = open('Grade2.txt', "a") Score = open('Score1.txt',"r") g=0 ll = Score.readline() while ll != "": l = ll.split(",") #print(l) eee = l[4][0:2] e = int(eee) if g <= e: g=e else: g=g ll = Score.readline() print(ll) f.write(str(g)) f.close() Score.close()
f = open('Grade2.txt', 'a') score = open('Score1.txt', 'r') g = 0 ll = Score.readline() while ll != '': l = ll.split(',') eee = l[4][0:2] e = int(eee) if g <= e: g = e else: g = g ll = Score.readline() print(ll) f.write(str(g)) f.close() Score.close()
def multiplyTwoList(head1, head2): # Code here a="" b="" temp1=head1 while temp1!=None: a+=str(temp1.data) temp1=temp1.next # print a temp2=head2 while temp2!=None: b+=str(temp2.data) temp2=temp2.next # print b return (int(a)*int(b))%MOD
def multiply_two_list(head1, head2): a = '' b = '' temp1 = head1 while temp1 != None: a += str(temp1.data) temp1 = temp1.next temp2 = head2 while temp2 != None: b += str(temp2.data) temp2 = temp2.next return int(a) * int(b) % MOD
""" Insertion sort A simple sorting algorithm that builds the final sorted array (or list) one item at a time. It is much less efficient on large lists than more advanced algorithms such as quicksort, heapsort, or merge sort. Best Average Worst n n2 n2 """
""" Insertion sort A simple sorting algorithm that builds the final sorted array (or list) one item at a time. It is much less efficient on large lists than more advanced algorithms such as quicksort, heapsort, or merge sort. Best Average Worst n n2 n2 """
""" local enclosing local enclosing local ,global,builtin (legb)""" name = 'rajat puri'# global def greet(): name = 'rajat' #local def hello(): print("hello"+name) #enclosing local hello() greet() len(hello()) #builtin
""" local enclosing local enclosing local ,global,builtin (legb)""" name = 'rajat puri' def greet(): name = 'rajat' def hello(): print('hello' + name) hello() greet() len(hello())
''' Created on Sep 22, 2012 @author: Jason ''' class DatasetError(Exception): ''' I will use this class to raise dataset-related exceptions. Common errors: Empty datasets provided, datasets with wrong number of features, datasets lacking some feature or labels, etc Used the ready-baked template on the Python tutorial: http://docs.python.org/tutorial/errors.html (section 8.5) ''' def __init__(self, description): ''' Constructor ''' self.description = description def __str__(self): return repr(self.description) class LogicalError(Exception): ''' Used for more logic-oriented errors, such as providing parameters that make no sense for the application at hand. ''' def __init__(self, description): ''' Constructor ''' self.description = description def __str__(self): return repr(self.description)
""" Created on Sep 22, 2012 @author: Jason """ class Dataseterror(Exception): """ I will use this class to raise dataset-related exceptions. Common errors: Empty datasets provided, datasets with wrong number of features, datasets lacking some feature or labels, etc Used the ready-baked template on the Python tutorial: http://docs.python.org/tutorial/errors.html (section 8.5) """ def __init__(self, description): """ Constructor """ self.description = description def __str__(self): return repr(self.description) class Logicalerror(Exception): """ Used for more logic-oriented errors, such as providing parameters that make no sense for the application at hand. """ def __init__(self, description): """ Constructor """ self.description = description def __str__(self): return repr(self.description)
class App(object): @property def ScreenWidth(self): return 1024 @property def ScreenHeight(self): return 768
class App(object): @property def screen_width(self): return 1024 @property def screen_height(self): return 768
#!/usr/bin/env python one_kb = 1024 def to_mega_byte(data_size): return (data_size * one_kb) * 1024 def calculate_symbol_size(generation_size, data_size): return data_size / generation_size def encoding_calculate(generation_size, symbols_size): return generation_size * symbol_size
one_kb = 1024 def to_mega_byte(data_size): return data_size * one_kb * 1024 def calculate_symbol_size(generation_size, data_size): return data_size / generation_size def encoding_calculate(generation_size, symbols_size): return generation_size * symbol_size
length = 21 for i in range(length): for j in range(length): if (i == j): print('*', end="") elif (i == length-1-j): print('*', end="") elif (j == length//2 and i > length//10 and i < 0.9*length ): print('*', end="") else: print(' ', end="") print(' ')
length = 21 for i in range(length): for j in range(length): if i == j: print('*', end='') elif i == length - 1 - j: print('*', end='') elif j == length // 2 and i > length // 10 and (i < 0.9 * length): print('*', end='') else: print(' ', end='') print(' ')
def max_window_sum(arr,w_size): if len(arr) < w_size: return None running_sum = run_index = 0 max_val = float("-inf") for item in range(w_size): running_sum += arr[item] for item in range (w_size , len(arr)): if running_sum > max_val: max_val = running_sum running_sum -= arr[run_index] running_sum += arr[item] run_index += 1 if running_sum > max_val: max_val = running_sum return max_val print(max_window_sum([1,2,3,4,5,6],3)) #3 print(max_window_sum([1,32,3,4,5,6],2)) #35
def max_window_sum(arr, w_size): if len(arr) < w_size: return None running_sum = run_index = 0 max_val = float('-inf') for item in range(w_size): running_sum += arr[item] for item in range(w_size, len(arr)): if running_sum > max_val: max_val = running_sum running_sum -= arr[run_index] running_sum += arr[item] run_index += 1 if running_sum > max_val: max_val = running_sum return max_val print(max_window_sum([1, 2, 3, 4, 5, 6], 3)) print(max_window_sum([1, 32, 3, 4, 5, 6], 2))
# # PySNMP MIB module RADLAN-PIM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RADLAN-PIM-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:39:06 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") ConstraintsIntersection, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion") IANAipRouteProtocol, = mibBuilder.importSymbols("IANA-RTPROTO-MIB", "IANAipRouteProtocol") InterfaceIndexOrZero, InterfaceIndex = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero", "InterfaceIndex") InetAddressType, InetAddressPrefixLength, InetAddress, InetVersion = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddressPrefixLength", "InetAddress", "InetVersion") pimInterfaceIfIndex, pimNeighborIfIndex, pimInterfaceIPVersion, pimInterfaceEntry, pimNeighborAddressType, pimNeighborAddress = mibBuilder.importSymbols("PIM-STD-MIB", "pimInterfaceIfIndex", "pimNeighborIfIndex", "pimInterfaceIPVersion", "pimInterfaceEntry", "pimNeighborAddressType", "pimNeighborAddress") rnd, = mibBuilder.importSymbols("RADLAN-MIB", "rnd") ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") Integer32, IpAddress, iso, MibIdentifier, Gauge32, Counter64, Unsigned32, Counter32, ObjectIdentity, Bits, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "IpAddress", "iso", "MibIdentifier", "Gauge32", "Counter64", "Unsigned32", "Counter32", "ObjectIdentity", "Bits", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "NotificationType") TextualConvention, DisplayString, RowStatus, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "RowStatus", "TruthValue") rlPim = ModuleIdentity((1, 3, 6, 1, 4, 1, 89, 211)) rlPim.setRevisions(('2008-09-25 00:00',)) if mibBuilder.loadTexts: rlPim.setLastUpdated('200809250000Z') if mibBuilder.loadTexts: rlPim.setOrganization('Marvell Semiconductor, Inc.') class AdminStatus(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("adminStatusUp", 1), ("adminStatusDown", 2)) class OperStatus(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5)) namedValues = NamedValues(("operStatusUp", 1), ("operStatusDown", 2), ("operStatusGoingUp", 3), ("operStatusGoingDown", 4), ("operStatusActFailed", 5)) class Unsigned32NonZero(TextualConvention, Unsigned32): status = 'current' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 4294967295) class NumericIndex(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(1, 2147483647) class NumericIndexOrZero(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 2147483647) class EntityIndex(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(1, 2147483647) class EntityIndexOrZero(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 2147483647) class StdAccessListListIndexOrZero(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 2147483647) class StdAccessListRuleIndex(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(1, 2147483647) class ExtAccessListListIndex(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(1, 2147483647) class ExtAccessListListIndexOrZero(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 2147483647) class PimStatsCounter(TextualConvention, Unsigned32): status = 'current' class NpgOperStatus(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 8, 10, 11)) namedValues = NamedValues(("operStatusUp", 1), ("operStatusDown", 2), ("operStatusGoingUp", 3), ("operStatusGoingDown", 4), ("operStatusActFailed", 5), ("operStatusFailed", 8), ("operStatusFailedPerm", 10), ("operStatusFailing", 11)) rlPimInterfaceTable = MibTable((1, 3, 6, 1, 4, 1, 89, 211, 1), ) if mibBuilder.loadTexts: rlPimInterfaceTable.setStatus('current') rlPimInterfaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 89, 211, 1, 1), ) pimInterfaceEntry.registerAugmentions(("RADLAN-PIM-MIB", "rlPimInterfaceEntry")) rlPimInterfaceEntry.setIndexNames(*pimInterfaceEntry.getIndexNames()) if mibBuilder.loadTexts: rlPimInterfaceEntry.setStatus('current') rlPimInterfaceAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 3), AdminStatus().clone('adminStatusUp')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimInterfaceAdminStatus.setStatus('current') rlPimInterfaceOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 4), NpgOperStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimInterfaceOperStatus.setStatus('current') rlPimInterfaceStubInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 5), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimInterfaceStubInterface.setStatus('current') rlPimInterfaceP2PNoHellos = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 6), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimInterfaceP2PNoHellos.setStatus('current') rlPimInterfaceMgmdEntIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 7), NumericIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimInterfaceMgmdEntIndex.setStatus('current') rlPimInterfaceNeighborCount = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimInterfaceNeighborCount.setStatus('current') rlPimInterfaceStarGStateLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 9), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimInterfaceStarGStateLimit.setStatus('current') rlPimInterfaceStarGStateWarnThold = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 10), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimInterfaceStarGStateWarnThold.setStatus('current') rlPimInterfaceStarGStateStored = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimInterfaceStarGStateStored.setStatus('current') rlPimInterfaceSGStateLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 12), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimInterfaceSGStateLimit.setStatus('current') rlPimInterfaceSGStateWarnThold = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 13), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimInterfaceSGStateWarnThold.setStatus('current') rlPimInterfaceSGStateStored = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 14), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimInterfaceSGStateStored.setStatus('current') rlPimInterfaceNeighborFilter = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 15), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimInterfaceNeighborFilter.setStatus('current') rlPimInterfaceAssertInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 16), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(177)).setUnits('seconds').setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimInterfaceAssertInterval.setStatus('current') rlPimInterfaceAssertHoldtime = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 17), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(180)).setUnits('seconds').setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimInterfaceAssertHoldtime.setStatus('current') rlPimInterfaceAsmGrpFilter = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 18), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimInterfaceAsmGrpFilter.setStatus('current') rlPimInterfaceSsmSrcAndGrpFilter = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 19), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimInterfaceSsmSrcAndGrpFilter.setStatus('current') rlPimIfStatsTable = MibTable((1, 3, 6, 1, 4, 1, 89, 211, 2), ) if mibBuilder.loadTexts: rlPimIfStatsTable.setStatus('current') rlPimIfStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 89, 211, 2, 1), ).setIndexNames((0, "PIM-STD-MIB", "pimInterfaceIfIndex"), (0, "PIM-STD-MIB", "pimInterfaceIPVersion")) if mibBuilder.loadTexts: rlPimIfStatsEntry.setStatus('current') rlPimIfStatsNumSentHello = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 1), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimIfStatsNumSentHello.setStatus('current') rlPimIfStatsNumSentJoinPrune = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 2), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimIfStatsNumSentJoinPrune.setStatus('current') rlPimIfStatsNumSentAssert = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 3), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimIfStatsNumSentAssert.setStatus('current') rlPimIfStatsNumSentBsm = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 4), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimIfStatsNumSentBsm.setStatus('current') rlPimIfStatsNumErrHello = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 5), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimIfStatsNumErrHello.setStatus('current') rlPimIfStatsNumRecvUnknownNbr = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 6), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimIfStatsNumRecvUnknownNbr.setStatus('current') rlPimIfStatsNumUnknownHelloOpt = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 7), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimIfStatsNumUnknownHelloOpt.setStatus('current') rlPimIfStatsNumFilteredOut = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 8), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimIfStatsNumFilteredOut.setStatus('current') rlPimNmEntTable = MibTable((1, 3, 6, 1, 4, 1, 89, 211, 3), ) if mibBuilder.loadTexts: rlPimNmEntTable.setStatus('current') rlPimNmEntEntry = MibTableRow((1, 3, 6, 1, 4, 1, 89, 211, 3, 1), ).setIndexNames((0, "RADLAN-PIM-MIB", "rlPimNmEntIndex")) if mibBuilder.loadTexts: rlPimNmEntEntry.setStatus('current') rlPimNmEntIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 1), NumericIndex()) if mibBuilder.loadTexts: rlPimNmEntIndex.setStatus('current') rlPimNmEntRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimNmEntRowStatus.setStatus('current') rlPimNmEntAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 3), AdminStatus().clone('adminStatusUp')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimNmEntAdminStatus.setStatus('current') rlPimNmEntOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 4), NpgOperStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntOperStatus.setStatus('current') rlPimNmEntTmEntIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 5), NumericIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimNmEntTmEntIndex.setStatus('current') rlPimNmEntI3JoinOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 6), NpgOperStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntI3JoinOperStatus.setStatus('current') rlPimNmEntNmiJoinOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 7), NpgOperStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntNmiJoinOperStatus.setStatus('current') rlPimNmEntSckJoinOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 8), NpgOperStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntSckJoinOperStatus.setStatus('current') rlPimNmEntClearStatsCounters = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 9), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimNmEntClearStatsCounters.setStatus('current') rlPimNmEntStatsUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 10), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsUpTime.setStatus('current') rlPimNmEntEnableUnicastMessages = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 11), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimNmEntEnableUnicastMessages.setStatus('current') rlPimNmEntAcceptUnicastBsms = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 12), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimNmEntAcceptUnicastBsms.setStatus('current') rlPimNmEntCrpAdvFilterIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 13), StdAccessListListIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimNmEntCrpAdvFilterIndex.setStatus('current') rlPimNmEntStatsTable = MibTable((1, 3, 6, 1, 4, 1, 89, 211, 4), ) if mibBuilder.loadTexts: rlPimNmEntStatsTable.setStatus('current') rlPimNmEntStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 89, 211, 4, 1), ).setIndexNames((0, "RADLAN-PIM-MIB", "rlPimNmEntIndex")) if mibBuilder.loadTexts: rlPimNmEntStatsEntry.setStatus('current') rlPimNmEntStatsNumSentCRPAdvert = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 1), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumSentCRPAdvert.setStatus('current') rlPimNmEntStatsNumSentRegister = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 2), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumSentRegister.setStatus('current') rlPimNmEntStatsNumSentRegisterStop = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 3), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumSentRegisterStop.setStatus('current') rlPimNmEntStatsNumRecvCRPAdvert = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 4), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvCRPAdvert.setStatus('current') rlPimNmEntStatsNumRecvRegister = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 5), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvRegister.setStatus('current') rlPimNmEntStatsNumRecvRegisterStop = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 6), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvRegisterStop.setStatus('current') rlPimNmEntStatsNumErrCRPAdvert = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 7), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumErrCRPAdvert.setStatus('current') rlPimNmEntStatsNumErrRegister = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 8), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumErrRegister.setStatus('current') rlPimNmEntStatsNumErrRegisterStop = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 9), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumErrRegisterStop.setStatus('current') rlPimNmEntStatsNumRecvIgnoredType = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 10), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvIgnoredType.setStatus('current') rlPimNmEntStatsNumRecvUnknownType = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 11), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvUnknownType.setStatus('current') rlPimNmEntStatsNumRecvUnknownVer = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 12), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvUnknownVer.setStatus('current') rlPimNmEntStatsNumRecvBadChecksum = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 13), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvBadChecksum.setStatus('current') rlPimNmEntStatsNumRecvBadLength = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 14), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvBadLength.setStatus('current') rlPimNmEntStatsNumCRPAdvfiltered = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 15), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNmEntStatsNumCRPAdvfiltered.setStatus('current') rlPimNbrStatsTable = MibTable((1, 3, 6, 1, 4, 1, 89, 211, 5), ) if mibBuilder.loadTexts: rlPimNbrStatsTable.setStatus('current') rlPimNbrStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 89, 211, 5, 1), ).setIndexNames((0, "PIM-STD-MIB", "pimNeighborIfIndex"), (0, "PIM-STD-MIB", "pimNeighborAddressType"), (0, "PIM-STD-MIB", "pimNeighborAddress")) if mibBuilder.loadTexts: rlPimNbrStatsEntry.setStatus('current') rlPimNbrStatsNumRecvHello = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 5, 1, 1), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNbrStatsNumRecvHello.setStatus('current') rlPimNbrStatsNumRecvJoinPrune = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 5, 1, 2), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNbrStatsNumRecvJoinPrune.setStatus('current') rlPimNbrStatsNumRecvAssert = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 5, 1, 3), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNbrStatsNumRecvAssert.setStatus('current') rlPimNbrStatsNumRecvBSM = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 5, 1, 4), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNbrStatsNumRecvBSM.setStatus('current') rlPimNbrStatsNumErrJoinPrune = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 5, 1, 5), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNbrStatsNumErrJoinPrune.setStatus('current') rlPimNbrStatsNumErrAssert = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 5, 1, 6), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNbrStatsNumErrAssert.setStatus('current') rlPimNbrStatsNumErrBSM = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 5, 1, 7), PimStatsCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimNbrStatsNumErrBSM.setStatus('current') rlPimTmEntTable = MibTable((1, 3, 6, 1, 4, 1, 89, 211, 6), ) if mibBuilder.loadTexts: rlPimTmEntTable.setStatus('current') rlPimTmEntEntry = MibTableRow((1, 3, 6, 1, 4, 1, 89, 211, 6, 1), ).setIndexNames((0, "RADLAN-PIM-MIB", "rlPimTmEntIndex")) if mibBuilder.loadTexts: rlPimTmEntEntry.setStatus('current') rlPimTmEntIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 1), NumericIndex()) if mibBuilder.loadTexts: rlPimTmEntIndex.setStatus('current') rlPimTmEntRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntRowStatus.setStatus('current') rlPimTmEntAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 3), AdminStatus().clone('adminStatusUp')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntAdminStatus.setStatus('current') rlPimTmEntOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 4), NpgOperStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimTmEntOperStatus.setStatus('current') rlPimTmEntGStateLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 5), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntGStateLimit.setStatus('current') rlPimTmEntGStateWarnThold = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 6), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntGStateWarnThold.setStatus('current') rlPimTmEntGStateStored = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimTmEntGStateStored.setStatus('current') rlPimTmEntSGStateLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 8), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntSGStateLimit.setStatus('current') rlPimTmEntSGStateWarnThold = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 9), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntSGStateWarnThold.setStatus('current') rlPimTmEntSGStateStored = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimTmEntSGStateStored.setStatus('current') rlPimTmEntStarGIStateLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 11), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntStarGIStateLimit.setStatus('current') rlPimTmEntStarGIStateWarnThold = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 12), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntStarGIStateWarnThold.setStatus('current') rlPimTmEntStarGIStateStored = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimTmEntStarGIStateStored.setStatus('current') rlPimTmEntSGIStateLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 14), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntSGIStateLimit.setStatus('current') rlPimTmEntSGIStateWarnThold = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 15), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntSGIStateWarnThold.setStatus('current') rlPimTmEntSGIStateStored = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 16), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlPimTmEntSGIStateStored.setStatus('current') rlPimTmEntAsmGrpFilter = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 17), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntAsmGrpFilter.setStatus('current') rlPimTmEntSsmSrcAndGrpFilter = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 18), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntSsmSrcAndGrpFilter.setStatus('current') rlPimTmEntRegSrcAndGrpFilter = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 19), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntRegSrcAndGrpFilter.setStatus('current') rlPimTmEntRegSuppressionTime = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 20), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(60)).setUnits('seconds').setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntRegSuppressionTime.setStatus('current') rlPimTmEntRegProbeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 21), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(5)).setUnits('seconds').setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntRegProbeTime.setStatus('current') rlPimTmEntKeepalivePeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 22), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(210)).setUnits('seconds').setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntKeepalivePeriod.setStatus('current') rlPimTmEntSendIfStateChangeTraps = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 23), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntSendIfStateChangeTraps.setStatus('current') rlPimTmEntSupportedAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 24), InetAddressType().clone('ipv4')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlPimTmEntSupportedAddrType.setStatus('current') rlPimEmbeddedRpEnabled = MibScalar((1, 3, 6, 1, 4, 1, 89, 211, 7), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlPimEmbeddedRpEnabled.setStatus('current') mibBuilder.exportSymbols("RADLAN-PIM-MIB", rlPimTmEntRowStatus=rlPimTmEntRowStatus, rlPimNmEntAcceptUnicastBsms=rlPimNmEntAcceptUnicastBsms, rlPimInterfaceAssertHoldtime=rlPimInterfaceAssertHoldtime, NumericIndexOrZero=NumericIndexOrZero, rlPimNmEntStatsNumRecvIgnoredType=rlPimNmEntStatsNumRecvIgnoredType, rlPimNbrStatsNumRecvHello=rlPimNbrStatsNumRecvHello, rlPimIfStatsNumErrHello=rlPimIfStatsNumErrHello, rlPimNmEntNmiJoinOperStatus=rlPimNmEntNmiJoinOperStatus, rlPimTmEntGStateWarnThold=rlPimTmEntGStateWarnThold, rlPimInterfaceNeighborFilter=rlPimInterfaceNeighborFilter, rlPimTmEntSendIfStateChangeTraps=rlPimTmEntSendIfStateChangeTraps, rlPimNmEntStatsNumRecvUnknownType=rlPimNmEntStatsNumRecvUnknownType, rlPimIfStatsNumSentAssert=rlPimIfStatsNumSentAssert, rlPimIfStatsNumFilteredOut=rlPimIfStatsNumFilteredOut, rlPimInterfaceNeighborCount=rlPimInterfaceNeighborCount, rlPimNmEntStatsNumSentRegisterStop=rlPimNmEntStatsNumSentRegisterStop, rlPimInterfaceTable=rlPimInterfaceTable, rlPimTmEntSsmSrcAndGrpFilter=rlPimTmEntSsmSrcAndGrpFilter, rlPimNmEntStatsEntry=rlPimNmEntStatsEntry, ExtAccessListListIndex=ExtAccessListListIndex, rlPimNmEntI3JoinOperStatus=rlPimNmEntI3JoinOperStatus, rlPimNbrStatsEntry=rlPimNbrStatsEntry, rlPimInterfaceSGStateWarnThold=rlPimInterfaceSGStateWarnThold, rlPimInterfaceP2PNoHellos=rlPimInterfaceP2PNoHellos, OperStatus=OperStatus, rlPimInterfaceEntry=rlPimInterfaceEntry, AdminStatus=AdminStatus, rlPim=rlPim, rlPimNmEntStatsNumSentRegister=rlPimNmEntStatsNumSentRegister, rlPimTmEntIndex=rlPimTmEntIndex, rlPimNmEntStatsNumRecvCRPAdvert=rlPimNmEntStatsNumRecvCRPAdvert, rlPimNmEntCrpAdvFilterIndex=rlPimNmEntCrpAdvFilterIndex, rlPimTmEntSGIStateStored=rlPimTmEntSGIStateStored, rlPimNmEntAdminStatus=rlPimNmEntAdminStatus, EntityIndexOrZero=EntityIndexOrZero, rlPimNbrStatsNumErrBSM=rlPimNbrStatsNumErrBSM, rlPimNmEntOperStatus=rlPimNmEntOperStatus, rlPimTmEntAdminStatus=rlPimTmEntAdminStatus, rlPimInterfaceMgmdEntIndex=rlPimInterfaceMgmdEntIndex, rlPimNmEntSckJoinOperStatus=rlPimNmEntSckJoinOperStatus, rlPimTmEntSGIStateLimit=rlPimTmEntSGIStateLimit, rlPimIfStatsNumUnknownHelloOpt=rlPimIfStatsNumUnknownHelloOpt, rlPimNmEntStatsNumRecvBadChecksum=rlPimNmEntStatsNumRecvBadChecksum, rlPimTmEntAsmGrpFilter=rlPimTmEntAsmGrpFilter, rlPimNmEntStatsNumRecvRegister=rlPimNmEntStatsNumRecvRegister, rlPimInterfaceStarGStateWarnThold=rlPimInterfaceStarGStateWarnThold, PimStatsCounter=PimStatsCounter, rlPimNbrStatsTable=rlPimNbrStatsTable, StdAccessListRuleIndex=StdAccessListRuleIndex, rlPimIfStatsTable=rlPimIfStatsTable, rlPimNbrStatsNumRecvBSM=rlPimNbrStatsNumRecvBSM, rlPimInterfaceStarGStateStored=rlPimInterfaceStarGStateStored, rlPimTmEntOperStatus=rlPimTmEntOperStatus, rlPimNmEntEntry=rlPimNmEntEntry, EntityIndex=EntityIndex, rlPimNmEntStatsNumRecvUnknownVer=rlPimNmEntStatsNumRecvUnknownVer, rlPimNmEntIndex=rlPimNmEntIndex, rlPimNmEntStatsTable=rlPimNmEntStatsTable, rlPimNbrStatsNumRecvAssert=rlPimNbrStatsNumRecvAssert, rlPimInterfaceAdminStatus=rlPimInterfaceAdminStatus, rlPimNbrStatsNumErrAssert=rlPimNbrStatsNumErrAssert, rlPimTmEntGStateStored=rlPimTmEntGStateStored, rlPimNmEntStatsNumSentCRPAdvert=rlPimNmEntStatsNumSentCRPAdvert, rlPimIfStatsNumSentJoinPrune=rlPimIfStatsNumSentJoinPrune, rlPimTmEntGStateLimit=rlPimTmEntGStateLimit, rlPimTmEntSGStateStored=rlPimTmEntSGStateStored, rlPimInterfaceStubInterface=rlPimInterfaceStubInterface, NpgOperStatus=NpgOperStatus, rlPimNmEntStatsNumErrRegister=rlPimNmEntStatsNumErrRegister, rlPimIfStatsNumRecvUnknownNbr=rlPimIfStatsNumRecvUnknownNbr, rlPimTmEntSGStateLimit=rlPimTmEntSGStateLimit, rlPimInterfaceSGStateStored=rlPimInterfaceSGStateStored, rlPimIfStatsNumSentBsm=rlPimIfStatsNumSentBsm, rlPimTmEntRegSrcAndGrpFilter=rlPimTmEntRegSrcAndGrpFilter, Unsigned32NonZero=Unsigned32NonZero, rlPimNmEntClearStatsCounters=rlPimNmEntClearStatsCounters, rlPimTmEntEntry=rlPimTmEntEntry, rlPimNmEntStatsNumRecvRegisterStop=rlPimNmEntStatsNumRecvRegisterStop, ExtAccessListListIndexOrZero=ExtAccessListListIndexOrZero, rlPimNmEntRowStatus=rlPimNmEntRowStatus, PYSNMP_MODULE_ID=rlPim, NumericIndex=NumericIndex, rlPimIfStatsEntry=rlPimIfStatsEntry, rlPimTmEntStarGIStateWarnThold=rlPimTmEntStarGIStateWarnThold, rlPimTmEntSGIStateWarnThold=rlPimTmEntSGIStateWarnThold, rlPimTmEntKeepalivePeriod=rlPimTmEntKeepalivePeriod, rlPimNmEntEnableUnicastMessages=rlPimNmEntEnableUnicastMessages, rlPimNmEntTmEntIndex=rlPimNmEntTmEntIndex, rlPimTmEntRegSuppressionTime=rlPimTmEntRegSuppressionTime, rlPimTmEntSupportedAddrType=rlPimTmEntSupportedAddrType, rlPimNmEntStatsUpTime=rlPimNmEntStatsUpTime, rlPimNmEntStatsNumRecvBadLength=rlPimNmEntStatsNumRecvBadLength, rlPimInterfaceStarGStateLimit=rlPimInterfaceStarGStateLimit, rlPimInterfaceAssertInterval=rlPimInterfaceAssertInterval, rlPimNbrStatsNumRecvJoinPrune=rlPimNbrStatsNumRecvJoinPrune, rlPimInterfaceSGStateLimit=rlPimInterfaceSGStateLimit, rlPimNmEntTable=rlPimNmEntTable, rlPimEmbeddedRpEnabled=rlPimEmbeddedRpEnabled, rlPimTmEntTable=rlPimTmEntTable, StdAccessListListIndexOrZero=StdAccessListListIndexOrZero, rlPimTmEntSGStateWarnThold=rlPimTmEntSGStateWarnThold, rlPimInterfaceSsmSrcAndGrpFilter=rlPimInterfaceSsmSrcAndGrpFilter, rlPimTmEntStarGIStateStored=rlPimTmEntStarGIStateStored, rlPimTmEntRegProbeTime=rlPimTmEntRegProbeTime, rlPimInterfaceOperStatus=rlPimInterfaceOperStatus, rlPimNmEntStatsNumErrRegisterStop=rlPimNmEntStatsNumErrRegisterStop, rlPimNbrStatsNumErrJoinPrune=rlPimNbrStatsNumErrJoinPrune, rlPimInterfaceAsmGrpFilter=rlPimInterfaceAsmGrpFilter, rlPimNmEntStatsNumErrCRPAdvert=rlPimNmEntStatsNumErrCRPAdvert, rlPimTmEntStarGIStateLimit=rlPimTmEntStarGIStateLimit, rlPimNmEntStatsNumCRPAdvfiltered=rlPimNmEntStatsNumCRPAdvfiltered, rlPimIfStatsNumSentHello=rlPimIfStatsNumSentHello)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, single_value_constraint, value_range_constraint, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsUnion') (ian_aip_route_protocol,) = mibBuilder.importSymbols('IANA-RTPROTO-MIB', 'IANAipRouteProtocol') (interface_index_or_zero, interface_index) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndexOrZero', 'InterfaceIndex') (inet_address_type, inet_address_prefix_length, inet_address, inet_version) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressType', 'InetAddressPrefixLength', 'InetAddress', 'InetVersion') (pim_interface_if_index, pim_neighbor_if_index, pim_interface_ip_version, pim_interface_entry, pim_neighbor_address_type, pim_neighbor_address) = mibBuilder.importSymbols('PIM-STD-MIB', 'pimInterfaceIfIndex', 'pimNeighborIfIndex', 'pimInterfaceIPVersion', 'pimInterfaceEntry', 'pimNeighborAddressType', 'pimNeighborAddress') (rnd,) = mibBuilder.importSymbols('RADLAN-MIB', 'rnd') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (integer32, ip_address, iso, mib_identifier, gauge32, counter64, unsigned32, counter32, object_identity, bits, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column, module_identity, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'IpAddress', 'iso', 'MibIdentifier', 'Gauge32', 'Counter64', 'Unsigned32', 'Counter32', 'ObjectIdentity', 'Bits', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ModuleIdentity', 'NotificationType') (textual_convention, display_string, row_status, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString', 'RowStatus', 'TruthValue') rl_pim = module_identity((1, 3, 6, 1, 4, 1, 89, 211)) rlPim.setRevisions(('2008-09-25 00:00',)) if mibBuilder.loadTexts: rlPim.setLastUpdated('200809250000Z') if mibBuilder.loadTexts: rlPim.setOrganization('Marvell Semiconductor, Inc.') class Adminstatus(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('adminStatusUp', 1), ('adminStatusDown', 2)) class Operstatus(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5)) named_values = named_values(('operStatusUp', 1), ('operStatusDown', 2), ('operStatusGoingUp', 3), ('operStatusGoingDown', 4), ('operStatusActFailed', 5)) class Unsigned32Nonzero(TextualConvention, Unsigned32): status = 'current' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 4294967295) class Numericindex(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + value_range_constraint(1, 2147483647) class Numericindexorzero(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 2147483647) class Entityindex(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + value_range_constraint(1, 2147483647) class Entityindexorzero(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 2147483647) class Stdaccesslistlistindexorzero(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 2147483647) class Stdaccesslistruleindex(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + value_range_constraint(1, 2147483647) class Extaccesslistlistindex(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + value_range_constraint(1, 2147483647) class Extaccesslistlistindexorzero(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 2147483647) class Pimstatscounter(TextualConvention, Unsigned32): status = 'current' class Npgoperstatus(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 8, 10, 11)) named_values = named_values(('operStatusUp', 1), ('operStatusDown', 2), ('operStatusGoingUp', 3), ('operStatusGoingDown', 4), ('operStatusActFailed', 5), ('operStatusFailed', 8), ('operStatusFailedPerm', 10), ('operStatusFailing', 11)) rl_pim_interface_table = mib_table((1, 3, 6, 1, 4, 1, 89, 211, 1)) if mibBuilder.loadTexts: rlPimInterfaceTable.setStatus('current') rl_pim_interface_entry = mib_table_row((1, 3, 6, 1, 4, 1, 89, 211, 1, 1)) pimInterfaceEntry.registerAugmentions(('RADLAN-PIM-MIB', 'rlPimInterfaceEntry')) rlPimInterfaceEntry.setIndexNames(*pimInterfaceEntry.getIndexNames()) if mibBuilder.loadTexts: rlPimInterfaceEntry.setStatus('current') rl_pim_interface_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 3), admin_status().clone('adminStatusUp')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimInterfaceAdminStatus.setStatus('current') rl_pim_interface_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 4), npg_oper_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimInterfaceOperStatus.setStatus('current') rl_pim_interface_stub_interface = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 5), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimInterfaceStubInterface.setStatus('current') rl_pim_interface_p2_p_no_hellos = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 6), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimInterfaceP2PNoHellos.setStatus('current') rl_pim_interface_mgmd_ent_index = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 7), numeric_index_or_zero()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimInterfaceMgmdEntIndex.setStatus('current') rl_pim_interface_neighbor_count = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimInterfaceNeighborCount.setStatus('current') rl_pim_interface_star_g_state_limit = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 9), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimInterfaceStarGStateLimit.setStatus('current') rl_pim_interface_star_g_state_warn_thold = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 10), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimInterfaceStarGStateWarnThold.setStatus('current') rl_pim_interface_star_g_state_stored = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 11), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimInterfaceStarGStateStored.setStatus('current') rl_pim_interface_sg_state_limit = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 12), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimInterfaceSGStateLimit.setStatus('current') rl_pim_interface_sg_state_warn_thold = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 13), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimInterfaceSGStateWarnThold.setStatus('current') rl_pim_interface_sg_state_stored = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 14), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimInterfaceSGStateStored.setStatus('current') rl_pim_interface_neighbor_filter = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 15), display_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimInterfaceNeighborFilter.setStatus('current') rl_pim_interface_assert_interval = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 16), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(177)).setUnits('seconds').setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimInterfaceAssertInterval.setStatus('current') rl_pim_interface_assert_holdtime = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 17), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(180)).setUnits('seconds').setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimInterfaceAssertHoldtime.setStatus('current') rl_pim_interface_asm_grp_filter = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 18), display_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimInterfaceAsmGrpFilter.setStatus('current') rl_pim_interface_ssm_src_and_grp_filter = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 1, 1, 19), display_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimInterfaceSsmSrcAndGrpFilter.setStatus('current') rl_pim_if_stats_table = mib_table((1, 3, 6, 1, 4, 1, 89, 211, 2)) if mibBuilder.loadTexts: rlPimIfStatsTable.setStatus('current') rl_pim_if_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 89, 211, 2, 1)).setIndexNames((0, 'PIM-STD-MIB', 'pimInterfaceIfIndex'), (0, 'PIM-STD-MIB', 'pimInterfaceIPVersion')) if mibBuilder.loadTexts: rlPimIfStatsEntry.setStatus('current') rl_pim_if_stats_num_sent_hello = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 1), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimIfStatsNumSentHello.setStatus('current') rl_pim_if_stats_num_sent_join_prune = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 2), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimIfStatsNumSentJoinPrune.setStatus('current') rl_pim_if_stats_num_sent_assert = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 3), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimIfStatsNumSentAssert.setStatus('current') rl_pim_if_stats_num_sent_bsm = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 4), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimIfStatsNumSentBsm.setStatus('current') rl_pim_if_stats_num_err_hello = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 5), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimIfStatsNumErrHello.setStatus('current') rl_pim_if_stats_num_recv_unknown_nbr = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 6), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimIfStatsNumRecvUnknownNbr.setStatus('current') rl_pim_if_stats_num_unknown_hello_opt = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 7), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimIfStatsNumUnknownHelloOpt.setStatus('current') rl_pim_if_stats_num_filtered_out = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 2, 1, 8), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimIfStatsNumFilteredOut.setStatus('current') rl_pim_nm_ent_table = mib_table((1, 3, 6, 1, 4, 1, 89, 211, 3)) if mibBuilder.loadTexts: rlPimNmEntTable.setStatus('current') rl_pim_nm_ent_entry = mib_table_row((1, 3, 6, 1, 4, 1, 89, 211, 3, 1)).setIndexNames((0, 'RADLAN-PIM-MIB', 'rlPimNmEntIndex')) if mibBuilder.loadTexts: rlPimNmEntEntry.setStatus('current') rl_pim_nm_ent_index = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 1), numeric_index()) if mibBuilder.loadTexts: rlPimNmEntIndex.setStatus('current') rl_pim_nm_ent_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimNmEntRowStatus.setStatus('current') rl_pim_nm_ent_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 3), admin_status().clone('adminStatusUp')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimNmEntAdminStatus.setStatus('current') rl_pim_nm_ent_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 4), npg_oper_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntOperStatus.setStatus('current') rl_pim_nm_ent_tm_ent_index = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 5), numeric_index()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimNmEntTmEntIndex.setStatus('current') rl_pim_nm_ent_i3_join_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 6), npg_oper_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntI3JoinOperStatus.setStatus('current') rl_pim_nm_ent_nmi_join_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 7), npg_oper_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntNmiJoinOperStatus.setStatus('current') rl_pim_nm_ent_sck_join_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 8), npg_oper_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntSckJoinOperStatus.setStatus('current') rl_pim_nm_ent_clear_stats_counters = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 9), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimNmEntClearStatsCounters.setStatus('current') rl_pim_nm_ent_stats_up_time = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 10), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsUpTime.setStatus('current') rl_pim_nm_ent_enable_unicast_messages = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 11), truth_value().clone('true')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimNmEntEnableUnicastMessages.setStatus('current') rl_pim_nm_ent_accept_unicast_bsms = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 12), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimNmEntAcceptUnicastBsms.setStatus('current') rl_pim_nm_ent_crp_adv_filter_index = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 3, 1, 13), std_access_list_list_index_or_zero()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimNmEntCrpAdvFilterIndex.setStatus('current') rl_pim_nm_ent_stats_table = mib_table((1, 3, 6, 1, 4, 1, 89, 211, 4)) if mibBuilder.loadTexts: rlPimNmEntStatsTable.setStatus('current') rl_pim_nm_ent_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 89, 211, 4, 1)).setIndexNames((0, 'RADLAN-PIM-MIB', 'rlPimNmEntIndex')) if mibBuilder.loadTexts: rlPimNmEntStatsEntry.setStatus('current') rl_pim_nm_ent_stats_num_sent_crp_advert = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 1), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumSentCRPAdvert.setStatus('current') rl_pim_nm_ent_stats_num_sent_register = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 2), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumSentRegister.setStatus('current') rl_pim_nm_ent_stats_num_sent_register_stop = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 3), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumSentRegisterStop.setStatus('current') rl_pim_nm_ent_stats_num_recv_crp_advert = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 4), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvCRPAdvert.setStatus('current') rl_pim_nm_ent_stats_num_recv_register = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 5), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvRegister.setStatus('current') rl_pim_nm_ent_stats_num_recv_register_stop = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 6), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvRegisterStop.setStatus('current') rl_pim_nm_ent_stats_num_err_crp_advert = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 7), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumErrCRPAdvert.setStatus('current') rl_pim_nm_ent_stats_num_err_register = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 8), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumErrRegister.setStatus('current') rl_pim_nm_ent_stats_num_err_register_stop = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 9), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumErrRegisterStop.setStatus('current') rl_pim_nm_ent_stats_num_recv_ignored_type = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 10), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvIgnoredType.setStatus('current') rl_pim_nm_ent_stats_num_recv_unknown_type = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 11), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvUnknownType.setStatus('current') rl_pim_nm_ent_stats_num_recv_unknown_ver = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 12), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvUnknownVer.setStatus('current') rl_pim_nm_ent_stats_num_recv_bad_checksum = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 13), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvBadChecksum.setStatus('current') rl_pim_nm_ent_stats_num_recv_bad_length = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 14), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumRecvBadLength.setStatus('current') rl_pim_nm_ent_stats_num_crp_advfiltered = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 4, 1, 15), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNmEntStatsNumCRPAdvfiltered.setStatus('current') rl_pim_nbr_stats_table = mib_table((1, 3, 6, 1, 4, 1, 89, 211, 5)) if mibBuilder.loadTexts: rlPimNbrStatsTable.setStatus('current') rl_pim_nbr_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 89, 211, 5, 1)).setIndexNames((0, 'PIM-STD-MIB', 'pimNeighborIfIndex'), (0, 'PIM-STD-MIB', 'pimNeighborAddressType'), (0, 'PIM-STD-MIB', 'pimNeighborAddress')) if mibBuilder.loadTexts: rlPimNbrStatsEntry.setStatus('current') rl_pim_nbr_stats_num_recv_hello = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 5, 1, 1), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNbrStatsNumRecvHello.setStatus('current') rl_pim_nbr_stats_num_recv_join_prune = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 5, 1, 2), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNbrStatsNumRecvJoinPrune.setStatus('current') rl_pim_nbr_stats_num_recv_assert = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 5, 1, 3), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNbrStatsNumRecvAssert.setStatus('current') rl_pim_nbr_stats_num_recv_bsm = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 5, 1, 4), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNbrStatsNumRecvBSM.setStatus('current') rl_pim_nbr_stats_num_err_join_prune = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 5, 1, 5), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNbrStatsNumErrJoinPrune.setStatus('current') rl_pim_nbr_stats_num_err_assert = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 5, 1, 6), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNbrStatsNumErrAssert.setStatus('current') rl_pim_nbr_stats_num_err_bsm = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 5, 1, 7), pim_stats_counter()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimNbrStatsNumErrBSM.setStatus('current') rl_pim_tm_ent_table = mib_table((1, 3, 6, 1, 4, 1, 89, 211, 6)) if mibBuilder.loadTexts: rlPimTmEntTable.setStatus('current') rl_pim_tm_ent_entry = mib_table_row((1, 3, 6, 1, 4, 1, 89, 211, 6, 1)).setIndexNames((0, 'RADLAN-PIM-MIB', 'rlPimTmEntIndex')) if mibBuilder.loadTexts: rlPimTmEntEntry.setStatus('current') rl_pim_tm_ent_index = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 1), numeric_index()) if mibBuilder.loadTexts: rlPimTmEntIndex.setStatus('current') rl_pim_tm_ent_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntRowStatus.setStatus('current') rl_pim_tm_ent_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 3), admin_status().clone('adminStatusUp')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntAdminStatus.setStatus('current') rl_pim_tm_ent_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 4), npg_oper_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimTmEntOperStatus.setStatus('current') rl_pim_tm_ent_g_state_limit = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 5), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntGStateLimit.setStatus('current') rl_pim_tm_ent_g_state_warn_thold = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 6), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntGStateWarnThold.setStatus('current') rl_pim_tm_ent_g_state_stored = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimTmEntGStateStored.setStatus('current') rl_pim_tm_ent_sg_state_limit = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 8), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntSGStateLimit.setStatus('current') rl_pim_tm_ent_sg_state_warn_thold = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 9), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntSGStateWarnThold.setStatus('current') rl_pim_tm_ent_sg_state_stored = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 10), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimTmEntSGStateStored.setStatus('current') rl_pim_tm_ent_star_gi_state_limit = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 11), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntStarGIStateLimit.setStatus('current') rl_pim_tm_ent_star_gi_state_warn_thold = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 12), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntStarGIStateWarnThold.setStatus('current') rl_pim_tm_ent_star_gi_state_stored = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 13), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimTmEntStarGIStateStored.setStatus('current') rl_pim_tm_ent_sgi_state_limit = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 14), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntSGIStateLimit.setStatus('current') rl_pim_tm_ent_sgi_state_warn_thold = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 15), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntSGIStateWarnThold.setStatus('current') rl_pim_tm_ent_sgi_state_stored = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 16), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlPimTmEntSGIStateStored.setStatus('current') rl_pim_tm_ent_asm_grp_filter = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 17), display_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntAsmGrpFilter.setStatus('current') rl_pim_tm_ent_ssm_src_and_grp_filter = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 18), display_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntSsmSrcAndGrpFilter.setStatus('current') rl_pim_tm_ent_reg_src_and_grp_filter = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 19), display_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntRegSrcAndGrpFilter.setStatus('current') rl_pim_tm_ent_reg_suppression_time = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 20), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(60)).setUnits('seconds').setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntRegSuppressionTime.setStatus('current') rl_pim_tm_ent_reg_probe_time = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 21), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(5)).setUnits('seconds').setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntRegProbeTime.setStatus('current') rl_pim_tm_ent_keepalive_period = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 22), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(210)).setUnits('seconds').setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntKeepalivePeriod.setStatus('current') rl_pim_tm_ent_send_if_state_change_traps = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 23), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntSendIfStateChangeTraps.setStatus('current') rl_pim_tm_ent_supported_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 89, 211, 6, 1, 24), inet_address_type().clone('ipv4')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlPimTmEntSupportedAddrType.setStatus('current') rl_pim_embedded_rp_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 89, 211, 7), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlPimEmbeddedRpEnabled.setStatus('current') mibBuilder.exportSymbols('RADLAN-PIM-MIB', rlPimTmEntRowStatus=rlPimTmEntRowStatus, rlPimNmEntAcceptUnicastBsms=rlPimNmEntAcceptUnicastBsms, rlPimInterfaceAssertHoldtime=rlPimInterfaceAssertHoldtime, NumericIndexOrZero=NumericIndexOrZero, rlPimNmEntStatsNumRecvIgnoredType=rlPimNmEntStatsNumRecvIgnoredType, rlPimNbrStatsNumRecvHello=rlPimNbrStatsNumRecvHello, rlPimIfStatsNumErrHello=rlPimIfStatsNumErrHello, rlPimNmEntNmiJoinOperStatus=rlPimNmEntNmiJoinOperStatus, rlPimTmEntGStateWarnThold=rlPimTmEntGStateWarnThold, rlPimInterfaceNeighborFilter=rlPimInterfaceNeighborFilter, rlPimTmEntSendIfStateChangeTraps=rlPimTmEntSendIfStateChangeTraps, rlPimNmEntStatsNumRecvUnknownType=rlPimNmEntStatsNumRecvUnknownType, rlPimIfStatsNumSentAssert=rlPimIfStatsNumSentAssert, rlPimIfStatsNumFilteredOut=rlPimIfStatsNumFilteredOut, rlPimInterfaceNeighborCount=rlPimInterfaceNeighborCount, rlPimNmEntStatsNumSentRegisterStop=rlPimNmEntStatsNumSentRegisterStop, rlPimInterfaceTable=rlPimInterfaceTable, rlPimTmEntSsmSrcAndGrpFilter=rlPimTmEntSsmSrcAndGrpFilter, rlPimNmEntStatsEntry=rlPimNmEntStatsEntry, ExtAccessListListIndex=ExtAccessListListIndex, rlPimNmEntI3JoinOperStatus=rlPimNmEntI3JoinOperStatus, rlPimNbrStatsEntry=rlPimNbrStatsEntry, rlPimInterfaceSGStateWarnThold=rlPimInterfaceSGStateWarnThold, rlPimInterfaceP2PNoHellos=rlPimInterfaceP2PNoHellos, OperStatus=OperStatus, rlPimInterfaceEntry=rlPimInterfaceEntry, AdminStatus=AdminStatus, rlPim=rlPim, rlPimNmEntStatsNumSentRegister=rlPimNmEntStatsNumSentRegister, rlPimTmEntIndex=rlPimTmEntIndex, rlPimNmEntStatsNumRecvCRPAdvert=rlPimNmEntStatsNumRecvCRPAdvert, rlPimNmEntCrpAdvFilterIndex=rlPimNmEntCrpAdvFilterIndex, rlPimTmEntSGIStateStored=rlPimTmEntSGIStateStored, rlPimNmEntAdminStatus=rlPimNmEntAdminStatus, EntityIndexOrZero=EntityIndexOrZero, rlPimNbrStatsNumErrBSM=rlPimNbrStatsNumErrBSM, rlPimNmEntOperStatus=rlPimNmEntOperStatus, rlPimTmEntAdminStatus=rlPimTmEntAdminStatus, rlPimInterfaceMgmdEntIndex=rlPimInterfaceMgmdEntIndex, rlPimNmEntSckJoinOperStatus=rlPimNmEntSckJoinOperStatus, rlPimTmEntSGIStateLimit=rlPimTmEntSGIStateLimit, rlPimIfStatsNumUnknownHelloOpt=rlPimIfStatsNumUnknownHelloOpt, rlPimNmEntStatsNumRecvBadChecksum=rlPimNmEntStatsNumRecvBadChecksum, rlPimTmEntAsmGrpFilter=rlPimTmEntAsmGrpFilter, rlPimNmEntStatsNumRecvRegister=rlPimNmEntStatsNumRecvRegister, rlPimInterfaceStarGStateWarnThold=rlPimInterfaceStarGStateWarnThold, PimStatsCounter=PimStatsCounter, rlPimNbrStatsTable=rlPimNbrStatsTable, StdAccessListRuleIndex=StdAccessListRuleIndex, rlPimIfStatsTable=rlPimIfStatsTable, rlPimNbrStatsNumRecvBSM=rlPimNbrStatsNumRecvBSM, rlPimInterfaceStarGStateStored=rlPimInterfaceStarGStateStored, rlPimTmEntOperStatus=rlPimTmEntOperStatus, rlPimNmEntEntry=rlPimNmEntEntry, EntityIndex=EntityIndex, rlPimNmEntStatsNumRecvUnknownVer=rlPimNmEntStatsNumRecvUnknownVer, rlPimNmEntIndex=rlPimNmEntIndex, rlPimNmEntStatsTable=rlPimNmEntStatsTable, rlPimNbrStatsNumRecvAssert=rlPimNbrStatsNumRecvAssert, rlPimInterfaceAdminStatus=rlPimInterfaceAdminStatus, rlPimNbrStatsNumErrAssert=rlPimNbrStatsNumErrAssert, rlPimTmEntGStateStored=rlPimTmEntGStateStored, rlPimNmEntStatsNumSentCRPAdvert=rlPimNmEntStatsNumSentCRPAdvert, rlPimIfStatsNumSentJoinPrune=rlPimIfStatsNumSentJoinPrune, rlPimTmEntGStateLimit=rlPimTmEntGStateLimit, rlPimTmEntSGStateStored=rlPimTmEntSGStateStored, rlPimInterfaceStubInterface=rlPimInterfaceStubInterface, NpgOperStatus=NpgOperStatus, rlPimNmEntStatsNumErrRegister=rlPimNmEntStatsNumErrRegister, rlPimIfStatsNumRecvUnknownNbr=rlPimIfStatsNumRecvUnknownNbr, rlPimTmEntSGStateLimit=rlPimTmEntSGStateLimit, rlPimInterfaceSGStateStored=rlPimInterfaceSGStateStored, rlPimIfStatsNumSentBsm=rlPimIfStatsNumSentBsm, rlPimTmEntRegSrcAndGrpFilter=rlPimTmEntRegSrcAndGrpFilter, Unsigned32NonZero=Unsigned32NonZero, rlPimNmEntClearStatsCounters=rlPimNmEntClearStatsCounters, rlPimTmEntEntry=rlPimTmEntEntry, rlPimNmEntStatsNumRecvRegisterStop=rlPimNmEntStatsNumRecvRegisterStop, ExtAccessListListIndexOrZero=ExtAccessListListIndexOrZero, rlPimNmEntRowStatus=rlPimNmEntRowStatus, PYSNMP_MODULE_ID=rlPim, NumericIndex=NumericIndex, rlPimIfStatsEntry=rlPimIfStatsEntry, rlPimTmEntStarGIStateWarnThold=rlPimTmEntStarGIStateWarnThold, rlPimTmEntSGIStateWarnThold=rlPimTmEntSGIStateWarnThold, rlPimTmEntKeepalivePeriod=rlPimTmEntKeepalivePeriod, rlPimNmEntEnableUnicastMessages=rlPimNmEntEnableUnicastMessages, rlPimNmEntTmEntIndex=rlPimNmEntTmEntIndex, rlPimTmEntRegSuppressionTime=rlPimTmEntRegSuppressionTime, rlPimTmEntSupportedAddrType=rlPimTmEntSupportedAddrType, rlPimNmEntStatsUpTime=rlPimNmEntStatsUpTime, rlPimNmEntStatsNumRecvBadLength=rlPimNmEntStatsNumRecvBadLength, rlPimInterfaceStarGStateLimit=rlPimInterfaceStarGStateLimit, rlPimInterfaceAssertInterval=rlPimInterfaceAssertInterval, rlPimNbrStatsNumRecvJoinPrune=rlPimNbrStatsNumRecvJoinPrune, rlPimInterfaceSGStateLimit=rlPimInterfaceSGStateLimit, rlPimNmEntTable=rlPimNmEntTable, rlPimEmbeddedRpEnabled=rlPimEmbeddedRpEnabled, rlPimTmEntTable=rlPimTmEntTable, StdAccessListListIndexOrZero=StdAccessListListIndexOrZero, rlPimTmEntSGStateWarnThold=rlPimTmEntSGStateWarnThold, rlPimInterfaceSsmSrcAndGrpFilter=rlPimInterfaceSsmSrcAndGrpFilter, rlPimTmEntStarGIStateStored=rlPimTmEntStarGIStateStored, rlPimTmEntRegProbeTime=rlPimTmEntRegProbeTime, rlPimInterfaceOperStatus=rlPimInterfaceOperStatus, rlPimNmEntStatsNumErrRegisterStop=rlPimNmEntStatsNumErrRegisterStop, rlPimNbrStatsNumErrJoinPrune=rlPimNbrStatsNumErrJoinPrune, rlPimInterfaceAsmGrpFilter=rlPimInterfaceAsmGrpFilter, rlPimNmEntStatsNumErrCRPAdvert=rlPimNmEntStatsNumErrCRPAdvert, rlPimTmEntStarGIStateLimit=rlPimTmEntStarGIStateLimit, rlPimNmEntStatsNumCRPAdvfiltered=rlPimNmEntStatsNumCRPAdvfiltered, rlPimIfStatsNumSentHello=rlPimIfStatsNumSentHello)
class TagAdditionsEnum: TAG_NAME = "name" TAG_SMILES = "smiles" TAG_ORIGINAL_SMILES = "original_smiles" TAG_LIGAND_ID = "ligand_id" # try to find the internal value and return def __getattr__(self, name): if name in self: return name raise AttributeError # prohibit any attempt to set any values def __setattr__(self, key, value): raise ValueError("No changes allowed.")
class Tagadditionsenum: tag_name = 'name' tag_smiles = 'smiles' tag_original_smiles = 'original_smiles' tag_ligand_id = 'ligand_id' def __getattr__(self, name): if name in self: return name raise AttributeError def __setattr__(self, key, value): raise value_error('No changes allowed.')
def helper(memo, nums, i, j): if i > j: return 0 if j == i: return nums[i] if (i, j) in memo: return memo[(i, j)] ans1 = nums[i] + min(helper(memo, nums, i + 2, j), helper(memo, nums, i + 1, j - 1)) ans2 = nums[j] + min(helper(memo, nums, i + 1, j - 1), helper(memo, nums, i, j - 2)) memo[(i, j)] = max(ans1, ans2) return memo[(i, j)] def stoneGame(piles): """ :type piles: List[int] :rtype: bool """ memo = dict() ans1 = helper(memo, piles, 0, len(piles) - 1) ans2 = sum(piles) - ans1 return ans1 > ans2 print(stoneGame( [59, 48, 36, 70, 59, 93, 60, 98, 15, 32, 31, 13, 27, 14, 8, 17, 4, 76, 24, 47, 39, 81, 26, 6, 70, 73, 8, 36, 71, 19, 66, 61, 86, 63, 97, 32, 15, 36, 68, 69, 32, 53, 83, 35, 100, 41, 44, 8, 28, 76, 39, 90, 37, 35, 11, 99, 48, 49, 64, 74, 6, 54, 12, 99, 34, 47, 78, 36, 51, 26, 43, 83, 10, 68, 32, 48, 72, 54, 64, 64, 44, 62, 77, 60, 100, 84, 15, 24, 95, 6, 6, 8, 24, 21, 84, 61, 75, 26, 63, 54]))
def helper(memo, nums, i, j): if i > j: return 0 if j == i: return nums[i] if (i, j) in memo: return memo[i, j] ans1 = nums[i] + min(helper(memo, nums, i + 2, j), helper(memo, nums, i + 1, j - 1)) ans2 = nums[j] + min(helper(memo, nums, i + 1, j - 1), helper(memo, nums, i, j - 2)) memo[i, j] = max(ans1, ans2) return memo[i, j] def stone_game(piles): """ :type piles: List[int] :rtype: bool """ memo = dict() ans1 = helper(memo, piles, 0, len(piles) - 1) ans2 = sum(piles) - ans1 return ans1 > ans2 print(stone_game([59, 48, 36, 70, 59, 93, 60, 98, 15, 32, 31, 13, 27, 14, 8, 17, 4, 76, 24, 47, 39, 81, 26, 6, 70, 73, 8, 36, 71, 19, 66, 61, 86, 63, 97, 32, 15, 36, 68, 69, 32, 53, 83, 35, 100, 41, 44, 8, 28, 76, 39, 90, 37, 35, 11, 99, 48, 49, 64, 74, 6, 54, 12, 99, 34, 47, 78, 36, 51, 26, 43, 83, 10, 68, 32, 48, 72, 54, 64, 64, 44, 62, 77, 60, 100, 84, 15, 24, 95, 6, 6, 8, 24, 21, 84, 61, 75, 26, 63, 54]))
# O(n) time with caching, O(n) space def count_steps(n, cache = {}): if n <= 0: return 0 if n == 1: return 1 if n == 2: return 2 if n == 3: return 4 if n in cache: return cache[n] cache[n] = count_steps(n - 1) + count_steps(n - 2) + count_steps(n - 3) return cache[n] """ # O(3^n) time, naive, no caching, O(n) space def count_steps(n): if n <= 0: return 0 if n == 1: return 1 if n == 2: return 2 # 2 jump, or 1 jump 2 jump if n == 3: return 4 count = 0 count += count_steps(n -1) + count_steps(n - 3) + count_steps(n - 2) return count """
def count_steps(n, cache={}): if n <= 0: return 0 if n == 1: return 1 if n == 2: return 2 if n == 3: return 4 if n in cache: return cache[n] cache[n] = count_steps(n - 1) + count_steps(n - 2) + count_steps(n - 3) return cache[n] '\n# O(3^n) time, naive, no caching, O(n) space\ndef count_steps(n):\n if n <= 0:\n return 0\n if n == 1:\n return 1\n if n == 2:\n return 2 # 2 jump, or 1 jump 2 jump\n if n == 3:\n return 4\n count = 0\n count += count_steps(n -1) + count_steps(n - 3) + count_steps(n - 2)\n return count\n'
""" project-scoped settings """ LOGGING_LEVEL = 'INFO' CSV_MAX_FILE_SIZE_MB = 1024 S3_BUCKET_NAME = 'migrations-redshift-123' S3_TARGET_DIR = 'files_to_copy_to_redshift' REDSHIFT_DB = 'dev'
""" project-scoped settings """ logging_level = 'INFO' csv_max_file_size_mb = 1024 s3_bucket_name = 'migrations-redshift-123' s3_target_dir = 'files_to_copy_to_redshift' redshift_db = 'dev'
class Paren: def __init__(self, paren): if paren == '(': LParen() @staticmethod def getParen(paren): if paren == '(': return LParen() elif paren == ')': return RParen() elif paren == '{': return LBrace() elif paren == '}': return RBrace() def __str__(self): return 'Generic PAREN' class LParen(Paren): def __init__(self): pass def __str__(self): return 'LPAREN' class RParen(Paren): def __init__(self): pass def __str__(self): return 'RPAREN' class LBrace(Paren): def __init__(self): pass def __str__(self): return 'LBRACE' class RBrace(Paren): def __init__(self): pass def __str__(self): return 'RBrace'
class Paren: def __init__(self, paren): if paren == '(': l_paren() @staticmethod def get_paren(paren): if paren == '(': return l_paren() elif paren == ')': return r_paren() elif paren == '{': return l_brace() elif paren == '}': return r_brace() def __str__(self): return 'Generic PAREN' class Lparen(Paren): def __init__(self): pass def __str__(self): return 'LPAREN' class Rparen(Paren): def __init__(self): pass def __str__(self): return 'RPAREN' class Lbrace(Paren): def __init__(self): pass def __str__(self): return 'LBRACE' class Rbrace(Paren): def __init__(self): pass def __str__(self): return 'RBrace'
# Escreva um algoritmo para ler um valor (do teclado) e escrever (na tela) o seu antecessor. (SOMENTE NUMERO INTEIRO) num = int(input('Digite um valor na tela: ')) res = num - 1 print(res)
num = int(input('Digite um valor na tela: ')) res = num - 1 print(res)
class Wotd(): def __init__( self, definition: str, englishExample: str, foreignExample: str, language: str, transliteration: str, word: str ): if definition is None or len(definition) == 0 or definition.isspace(): raise ValueError( f'definition argument is malformed: \"{definition}\"') elif language is None or len(language) == 0 or language.isspace(): raise ValueError(f'language argument is malformed: \"{language}\"') elif word is None or len(word) == 0 or word.isspace(): raise ValueError(f'word argument is malformed: \"{word}\"') self.__definition = definition self.__englishExample = englishExample self.__foreignExample = foreignExample self.__language = language self.__transliteration = transliteration self.__word = word def getDefinition(self): return self.__definition def getEnglishExample(self): return self.__englishExample def getForeignExample(self): return self.__foreignExample def getLanguage(self): return self.__language def getTransliteration(self): return self.__transliteration def getWord(self): return self.__word def hasExamples(self): return ( self.__englishExample is not None and len(self.__englishExample) != 0 and not self.__englishExample.isspace() and self.__foreignExample is not None and len( self.__foreignExample) != 0 and not self.__foreignExample.isspace() ) def hasTransliteration(self): return self.__transliteration is not None and len(self.__transliteration) != 0 and not self.__transliteration.isspace()
class Wotd: def __init__(self, definition: str, englishExample: str, foreignExample: str, language: str, transliteration: str, word: str): if definition is None or len(definition) == 0 or definition.isspace(): raise value_error(f'definition argument is malformed: "{definition}"') elif language is None or len(language) == 0 or language.isspace(): raise value_error(f'language argument is malformed: "{language}"') elif word is None or len(word) == 0 or word.isspace(): raise value_error(f'word argument is malformed: "{word}"') self.__definition = definition self.__englishExample = englishExample self.__foreignExample = foreignExample self.__language = language self.__transliteration = transliteration self.__word = word def get_definition(self): return self.__definition def get_english_example(self): return self.__englishExample def get_foreign_example(self): return self.__foreignExample def get_language(self): return self.__language def get_transliteration(self): return self.__transliteration def get_word(self): return self.__word def has_examples(self): return self.__englishExample is not None and len(self.__englishExample) != 0 and (not self.__englishExample.isspace()) and (self.__foreignExample is not None) and (len(self.__foreignExample) != 0) and (not self.__foreignExample.isspace()) def has_transliteration(self): return self.__transliteration is not None and len(self.__transliteration) != 0 and (not self.__transliteration.isspace())
""" 63. Unique Paths II A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any point in time. The robot is trying to reach the bottom-right corner of the grid (marked 'Finish' in the diagram below). Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space is marked as 1 and 0 respectively in the grid. """ # simple dp again # Runtime: 44 ms, faster than 73.44% of Python3 online submissions for Unique Paths II. # Memory Usage: 13 MB, less than 93.33% of Python3 online submissions for Unique Paths II. class Solution: def uniquePathsWithObstacles(self, A: List[List[int]]) -> int: n_row, n_col = len(A), len(A[0]) dp = [[0 for _ in range(n_col)] for _ in range(n_row)] if A[0][0] == 1: return 0 for i in range(n_row): if A[i][0] == 1: break dp[i][0] = 1 for j in range(n_col): if A[0][j] == 1: break dp[0][j] = 1 for i in range(1, n_row): for j in range(1, n_col): if A[i][j] == 1: dp[i][j] = 0 else: dp[i][j] = dp[i-1][j] + dp[i][j-1] return dp[-1][-1]
""" 63. Unique Paths II A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any point in time. The robot is trying to reach the bottom-right corner of the grid (marked 'Finish' in the diagram below). Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space is marked as 1 and 0 respectively in the grid. """ class Solution: def unique_paths_with_obstacles(self, A: List[List[int]]) -> int: (n_row, n_col) = (len(A), len(A[0])) dp = [[0 for _ in range(n_col)] for _ in range(n_row)] if A[0][0] == 1: return 0 for i in range(n_row): if A[i][0] == 1: break dp[i][0] = 1 for j in range(n_col): if A[0][j] == 1: break dp[0][j] = 1 for i in range(1, n_row): for j in range(1, n_col): if A[i][j] == 1: dp[i][j] = 0 else: dp[i][j] = dp[i - 1][j] + dp[i][j - 1] return dp[-1][-1]
"""Submodule for the `Namespace` class, which tracks `Named` objects to detect conflicts.""" class Namespace: """Managed set of uniquely named `Named` and nested `Namespace` objects. This is used to check uniqueness of the `name` and `mnemonic` values.""" def __init__(self, name, check_mnemonics=True): super().__init__() self._check_mnemonics = check_mnemonics self._name = name self._used_names = {} self._used_mnemonics = {} if check_mnemonics else None self._ancestors = {} @property def name(self): """Name of the namespace, used for error messages.""" return self._name def __str__(self): return self.name def _add_mnemonic(self, mnemonic, obj): """Registers a new mnemonic.""" if not self._check_mnemonics: return if mnemonic in self._used_mnemonics: if self._used_mnemonics[mnemonic] != obj: raise ValueError('mnemonic %s is used more than once in the ' '%s namespace' % (mnemonic, self)) self._used_mnemonics[mnemonic] = obj def _add_name(self, name, obj): """Registers a new name.""" name = name.lower() if name in self._used_names: if self._used_names[name] != obj: raise ValueError('name %s is used more than once in the ' '%s namespace' % (name, self)) self._used_names[name] = obj def add(self, *named): """Adds a `Named` object to the namespace. The object must have a sane equality check as well (usually provided by `Unique`) to prevent false conflict errors when the same object is added multiple times. If multiple objects are specified, they are treated as a hierarchical path.""" # Chains of mnemonics should be unique with _ separator. self._add_mnemonic('_'.join(n.mnemonic for n in named), named[-1]) root, *descendants = named # Mnemonics must themselves be unique within a namespace. self._add_mnemonic(root.mnemonic, root) # So do names. self._add_name(root.name, root) if not descendants: return child, *descendants = descendants # Names of children must also be unique within their parent's # namespace. self._add_name(child.name, child) # Handle these rules recursively. ident = root.name.lower() if ident not in self._ancestors: self._ancestors[ident] = Namespace('%s::%s' % (self.name, root.name)) self._ancestors[ident].add(child, *descendants)
"""Submodule for the `Namespace` class, which tracks `Named` objects to detect conflicts.""" class Namespace: """Managed set of uniquely named `Named` and nested `Namespace` objects. This is used to check uniqueness of the `name` and `mnemonic` values.""" def __init__(self, name, check_mnemonics=True): super().__init__() self._check_mnemonics = check_mnemonics self._name = name self._used_names = {} self._used_mnemonics = {} if check_mnemonics else None self._ancestors = {} @property def name(self): """Name of the namespace, used for error messages.""" return self._name def __str__(self): return self.name def _add_mnemonic(self, mnemonic, obj): """Registers a new mnemonic.""" if not self._check_mnemonics: return if mnemonic in self._used_mnemonics: if self._used_mnemonics[mnemonic] != obj: raise value_error('mnemonic %s is used more than once in the %s namespace' % (mnemonic, self)) self._used_mnemonics[mnemonic] = obj def _add_name(self, name, obj): """Registers a new name.""" name = name.lower() if name in self._used_names: if self._used_names[name] != obj: raise value_error('name %s is used more than once in the %s namespace' % (name, self)) self._used_names[name] = obj def add(self, *named): """Adds a `Named` object to the namespace. The object must have a sane equality check as well (usually provided by `Unique`) to prevent false conflict errors when the same object is added multiple times. If multiple objects are specified, they are treated as a hierarchical path.""" self._add_mnemonic('_'.join((n.mnemonic for n in named)), named[-1]) (root, *descendants) = named self._add_mnemonic(root.mnemonic, root) self._add_name(root.name, root) if not descendants: return (child, *descendants) = descendants self._add_name(child.name, child) ident = root.name.lower() if ident not in self._ancestors: self._ancestors[ident] = namespace('%s::%s' % (self.name, root.name)) self._ancestors[ident].add(child, *descendants)
n = int(input("Enter n: ")) x = 2 y = 2 x1 = 0 flag = False ''' Gives false at 2 and 3 because powers start from 2''' if n == 1: print("Output: True\n" + str(n) + " can be expressed as " + str(1) + "^(0, 1, 2, 3, 4, 5, ......)") else: while x <= n: #print(x) while x1 < n: x1 = x**y #print(x1) if x1 == n: print("Output: True\n" + str(n) + " can be expressed as " + str(x) + "^" + str(y)) flag = True break y += 1 y = 2 x1 = 0 x += 1 if flag == False: print("Output: False")
n = int(input('Enter n: ')) x = 2 y = 2 x1 = 0 flag = False ' Gives false at 2 and 3 because powers start from 2' if n == 1: print('Output: True\n' + str(n) + ' can be expressed as ' + str(1) + '^(0, 1, 2, 3, 4, 5, ......)') else: while x <= n: while x1 < n: x1 = x ** y if x1 == n: print('Output: True\n' + str(n) + ' can be expressed as ' + str(x) + '^' + str(y)) flag = True break y += 1 y = 2 x1 = 0 x += 1 if flag == False: print('Output: False')
SECRET_KEY = 'Software_Fellowship_Day_4' DEBUG = True ENV = 'development' API_KEY = "API_KEY_GOES_HERE"
secret_key = 'Software_Fellowship_Day_4' debug = True env = 'development' api_key = 'API_KEY_GOES_HERE'
def output(): test_case = int(input()) if 2 <= test_case <= 99: for i in range(test_case): i_put = input() print('gzuz') if __name__ == '__main__': output()
def output(): test_case = int(input()) if 2 <= test_case <= 99: for i in range(test_case): i_put = input() print('gzuz') if __name__ == '__main__': output()
# DFS class Solution: def findCircleNum(self, M: List[List[int]]) -> int: res = 0 visited = [0]*len(M) for i in range(len(M)): if visited[i] == 0: res += 1 visited[i] = 1 self.dfs(M, i, visited) return res def dfs(self, M, i, visited): for j in range(len(M)): if M[i][j] == 1 and visited[j] == 0: visited[j] = 1 self.dfs(M, j, visited) # DFS iterative class Solution: def findCircleNum(self, M: List[List[int]]) -> int: res = 0 visited = [0]*len(M) for i in range(len(M)): if visited[i] == 0: res += 1 stack = [] stack.append(i) while stack: f = stack.pop() for j in range(len(M)): if M[f][j] == 1 and visited[j] == 0: visited[j] = 1 stack.append(j) return res # UnionFind class UnionFind: def __init__(self, n): self.parent = [i for i in range(n)] self.count = n def find(self, A): while A != self.parent[A]: A = self.parent[A] return A def union(self, A, B): root_a = self.find(A) root_b = self.find(B) if root_a == root_b: return self.parent[root_a] = root_b self.count -= 1 class Solution: def findCircleNum(self, M: List[List[int]]) -> int: n = len(M) unionFind = UnionFind(n) for i in range(n): for j in range(n): if M[i][j] == 1: unionFind.union(i,j) return unionFind.count
class Solution: def find_circle_num(self, M: List[List[int]]) -> int: res = 0 visited = [0] * len(M) for i in range(len(M)): if visited[i] == 0: res += 1 visited[i] = 1 self.dfs(M, i, visited) return res def dfs(self, M, i, visited): for j in range(len(M)): if M[i][j] == 1 and visited[j] == 0: visited[j] = 1 self.dfs(M, j, visited) class Solution: def find_circle_num(self, M: List[List[int]]) -> int: res = 0 visited = [0] * len(M) for i in range(len(M)): if visited[i] == 0: res += 1 stack = [] stack.append(i) while stack: f = stack.pop() for j in range(len(M)): if M[f][j] == 1 and visited[j] == 0: visited[j] = 1 stack.append(j) return res class Unionfind: def __init__(self, n): self.parent = [i for i in range(n)] self.count = n def find(self, A): while A != self.parent[A]: a = self.parent[A] return A def union(self, A, B): root_a = self.find(A) root_b = self.find(B) if root_a == root_b: return self.parent[root_a] = root_b self.count -= 1 class Solution: def find_circle_num(self, M: List[List[int]]) -> int: n = len(M) union_find = union_find(n) for i in range(n): for j in range(n): if M[i][j] == 1: unionFind.union(i, j) return unionFind.count