content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
# Uses python3 memo = {} def calc_fib(n): if n <= 1: return n if n in memo: return memo[n] else: f = calc_fib(n - 1) + calc_fib(n - 2) memo[n] = f return f n = int(input()) print(calc_fib(n))
memo = {} def calc_fib(n): if n <= 1: return n if n in memo: return memo[n] else: f = calc_fib(n - 1) + calc_fib(n - 2) memo[n] = f return f n = int(input()) print(calc_fib(n))
def main(_, rooms, single, multiple): for room in rooms: single.add(room) if room not in single else multiple.add(room) return single.difference(multiple).pop() if __name__ == "__main__": k, rooms, single, multiple = input(), input().split(), set(), set() print(main(k, rooms, single, multiple))
def main(_, rooms, single, multiple): for room in rooms: single.add(room) if room not in single else multiple.add(room) return single.difference(multiple).pop() if __name__ == '__main__': (k, rooms, single, multiple) = (input(), input().split(), set(), set()) print(main(k, rooms, single, multiple))
def to_tweets(filename): with open(filename, 'r') as raw_file: with open(filename.split('.')[0]+'_tweets.txt', 'w') as output: is_title = False char_count = 0 # Max = 140 current_tweet = [] for line in raw_file.readlines(): line = line.strip() # Handle Titles if is_title: is_title = False output.write(line + '\n') continue # Handle the rest if line == '': continue elif line == '---TITLE---': output.write(' '.join(current_tweet) + '\n') is_title = True continue else: curr_line_len = len(line) if char_count + curr_line_len + len(current_tweet) < 140: current_tweet.append(line) char_count += curr_line_len else: # Separate on period to finish the tweet dot_split = line.split('. ', maxsplit=1) if (len(dot_split) > 1 and len(dot_split[0]) + char_count + len(current_tweet) < 140): current_tweet.append(dot_split[0] + '.') # Write the current tweet output.write(' '.join(current_tweet) + '\n') # Continue where we left off current_tweet = [dot_split[1]] char_count = len(current_tweet[0]) else: # Period too far, use comma to finish comma_split = line.split(', ', maxsplit=1) if (len(comma_split) > 1 and len(comma_split[0]) + char_count + len(current_tweet) < 140): current_tweet.append(comma_split[0] + ',') # Write the current tweet output.write(' '.join(current_tweet) + '\n') # Continue where we left off current_tweet = [comma_split[1]] char_count = len(current_tweet[0]) else: # Split on words word_split = line.split() rest = [] rest_count = 0 for word in word_split: if (char_count + len(word) + len(current_tweet) < 140): current_tweet.append(word) char_count += len(word) else: rest.append(word) rest_count += len(word) output.write(' '.join(current_tweet) + '\n') current_tweet = rest char_count = rest_count
def to_tweets(filename): with open(filename, 'r') as raw_file: with open(filename.split('.')[0] + '_tweets.txt', 'w') as output: is_title = False char_count = 0 current_tweet = [] for line in raw_file.readlines(): line = line.strip() if is_title: is_title = False output.write(line + '\n') continue if line == '': continue elif line == '---TITLE---': output.write(' '.join(current_tweet) + '\n') is_title = True continue else: curr_line_len = len(line) if char_count + curr_line_len + len(current_tweet) < 140: current_tweet.append(line) char_count += curr_line_len else: dot_split = line.split('. ', maxsplit=1) if len(dot_split) > 1 and len(dot_split[0]) + char_count + len(current_tweet) < 140: current_tweet.append(dot_split[0] + '.') output.write(' '.join(current_tweet) + '\n') current_tweet = [dot_split[1]] char_count = len(current_tweet[0]) else: comma_split = line.split(', ', maxsplit=1) if len(comma_split) > 1 and len(comma_split[0]) + char_count + len(current_tweet) < 140: current_tweet.append(comma_split[0] + ',') output.write(' '.join(current_tweet) + '\n') current_tweet = [comma_split[1]] char_count = len(current_tweet[0]) else: word_split = line.split() rest = [] rest_count = 0 for word in word_split: if char_count + len(word) + len(current_tweet) < 140: current_tweet.append(word) char_count += len(word) else: rest.append(word) rest_count += len(word) output.write(' '.join(current_tweet) + '\n') current_tweet = rest char_count = rest_count
class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: val = dict() for i in range(len(nums)): if (target-nums[i]) in val.keys(): return [val[target-nums[i]],i] val[nums[i]] = i
class Solution: def two_sum(self, nums: List[int], target: int) -> List[int]: val = dict() for i in range(len(nums)): if target - nums[i] in val.keys(): return [val[target - nums[i]], i] val[nums[i]] = i
class ChapterError(Exception): pass class VerseError(Exception): pass
class Chaptererror(Exception): pass class Verseerror(Exception): pass
def fibWord(n): Sn_1 = "0" Sn = "01" tmp = "" for i in range(2, n + 1): tmp = Sn Sn += Sn_1 Sn_1 = tmp return Sn # driver program n = 6 print (fibWord(n))
def fib_word(n): sn_1 = '0' sn = '01' tmp = '' for i in range(2, n + 1): tmp = Sn sn += Sn_1 sn_1 = tmp return Sn n = 6 print(fib_word(n))
code_word = "priya" guess="" guess_count = 0 guess_limit = 3 out_of_guess = False while guess !=code_word and not out_of_guess : if guess_count < guess_limit : guess=input("enter your guess : ") guess_count += 1 else : out_of_guess = True if out_of_guess: print("out of guess YOU LOSE !") else: print("Congorats YOU WIN !")
code_word = 'priya' guess = '' guess_count = 0 guess_limit = 3 out_of_guess = False while guess != code_word and (not out_of_guess): if guess_count < guess_limit: guess = input('enter your guess : ') guess_count += 1 else: out_of_guess = True if out_of_guess: print('out of guess YOU LOSE !') else: print('Congorats YOU WIN !')
# # PySNMP MIB module CISCO-UNIFIED-COMPUTING-LICENSE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-UNIFIED-COMPUTING-LICENSE-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:00: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) # Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ValueRangeConstraint, SingleValueConstraint, ConstraintsUnion, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ValueSizeConstraint") ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt") CiscoAlarmSeverity, Unsigned64, CiscoInetAddressMask, CiscoNetworkAddress, TimeIntervalSec = mibBuilder.importSymbols("CISCO-TC", "CiscoAlarmSeverity", "Unsigned64", "CiscoInetAddressMask", "CiscoNetworkAddress", "TimeIntervalSec") ciscoUnifiedComputingMIBObjects, CucsManagedObjectId, CucsManagedObjectDn = mibBuilder.importSymbols("CISCO-UNIFIED-COMPUTING-MIB", "ciscoUnifiedComputingMIBObjects", "CucsManagedObjectId", "CucsManagedObjectDn") CucsFsmCompletion, CucsFsmFsmStageStatus, CucsLicenseInstanceFsmCurrentFsm, CucsLicenseFeatureType, CucsLicenseInstanceFsmTaskItem, CucsPolicyPolicyOwner, CucsLicenseDownloadActivity, CucsLicenseFileFsmStageName, CucsLicenseScope, CucsLicenseState, CucsLicenseFileFsmCurrentFsm, CucsLicenseDownloaderFsmCurrentFsm, CucsLicenseDownloaderFsmStageName, CucsLicenseTransport, CucsLicenseInstanceFsmStageName, CucsLicensePeerStatus, CucsLicenseTransferState, CucsLicenseType, CucsFsmFlags, CucsConditionRemoteInvRslt, CucsLicenseFileFsmTaskItem, CucsLicenseDownloaderFsmTaskItem, CucsLicenseFileState = mibBuilder.importSymbols("CISCO-UNIFIED-COMPUTING-TC-MIB", "CucsFsmCompletion", "CucsFsmFsmStageStatus", "CucsLicenseInstanceFsmCurrentFsm", "CucsLicenseFeatureType", "CucsLicenseInstanceFsmTaskItem", "CucsPolicyPolicyOwner", "CucsLicenseDownloadActivity", "CucsLicenseFileFsmStageName", "CucsLicenseScope", "CucsLicenseState", "CucsLicenseFileFsmCurrentFsm", "CucsLicenseDownloaderFsmCurrentFsm", "CucsLicenseDownloaderFsmStageName", "CucsLicenseTransport", "CucsLicenseInstanceFsmStageName", "CucsLicensePeerStatus", "CucsLicenseTransferState", "CucsLicenseType", "CucsFsmFlags", "CucsConditionRemoteInvRslt", "CucsLicenseFileFsmTaskItem", "CucsLicenseDownloaderFsmTaskItem", "CucsLicenseFileState") InetAddressIPv6, InetAddressIPv4 = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressIPv6", "InetAddressIPv4") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") IpAddress, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Unsigned32, Bits, Integer32, Counter64, ObjectIdentity, TimeTicks, MibIdentifier, iso, NotificationType, Gauge32, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Unsigned32", "Bits", "Integer32", "Counter64", "ObjectIdentity", "TimeTicks", "MibIdentifier", "iso", "NotificationType", "Gauge32", "Counter32") TimeInterval, RowPointer, TimeStamp, TextualConvention, DisplayString, TruthValue, DateAndTime, MacAddress = mibBuilder.importSymbols("SNMPv2-TC", "TimeInterval", "RowPointer", "TimeStamp", "TextualConvention", "DisplayString", "TruthValue", "DateAndTime", "MacAddress") cucsLicenseObjects = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25)) if mibBuilder.loadTexts: cucsLicenseObjects.setLastUpdated('201601180000Z') if mibBuilder.loadTexts: cucsLicenseObjects.setOrganization('Cisco Systems Inc.') cucsLicenseContentsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1), ) if mibBuilder.loadTexts: cucsLicenseContentsTable.setStatus('current') cucsLicenseContentsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseContentsInstanceId")) if mibBuilder.loadTexts: cucsLicenseContentsEntry.setStatus('current') cucsLicenseContentsInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseContentsInstanceId.setStatus('current') cucsLicenseContentsDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseContentsDn.setStatus('current') cucsLicenseContentsRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseContentsRn.setStatus('current') cucsLicenseContentsFeatureName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseContentsFeatureName.setStatus('current') cucsLicenseContentsTotalQuant = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseContentsTotalQuant.setStatus('current') cucsLicenseContentsVendor = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseContentsVendor.setStatus('current') cucsLicenseContentsVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1, 7), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseContentsVersion.setStatus('current') cucsLicenseDownloaderTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2), ) if mibBuilder.loadTexts: cucsLicenseDownloaderTable.setStatus('current') cucsLicenseDownloaderEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseDownloaderInstanceId")) if mibBuilder.loadTexts: cucsLicenseDownloaderEntry.setStatus('current') cucsLicenseDownloaderInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseDownloaderInstanceId.setStatus('current') cucsLicenseDownloaderDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderDn.setStatus('current') cucsLicenseDownloaderRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderRn.setStatus('current') cucsLicenseDownloaderAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 4), CucsLicenseDownloadActivity()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderAdminState.setStatus('current') cucsLicenseDownloaderFileName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFileName.setStatus('current') cucsLicenseDownloaderFsmDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmDescr.setStatus('current') cucsLicenseDownloaderFsmPrev = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 7), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmPrev.setStatus('current') cucsLicenseDownloaderFsmProgr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmProgr.setStatus('current') cucsLicenseDownloaderFsmRmtInvErrCode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmRmtInvErrCode.setStatus('current') cucsLicenseDownloaderFsmRmtInvErrDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 10), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmRmtInvErrDescr.setStatus('current') cucsLicenseDownloaderFsmRmtInvRslt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 11), CucsConditionRemoteInvRslt()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmRmtInvRslt.setStatus('current') cucsLicenseDownloaderFsmStageDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 12), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageDescr.setStatus('current') cucsLicenseDownloaderFsmStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 13), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStamp.setStatus('current') cucsLicenseDownloaderFsmStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 14), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStatus.setStatus('current') cucsLicenseDownloaderFsmTry = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 15), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTry.setStatus('current') cucsLicenseDownloaderProt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 16), CucsLicenseTransport()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderProt.setStatus('current') cucsLicenseDownloaderPwd = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 17), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderPwd.setStatus('current') cucsLicenseDownloaderRemotePath = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 18), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderRemotePath.setStatus('current') cucsLicenseDownloaderServer = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 19), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderServer.setStatus('current') cucsLicenseDownloaderTransferState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 20), CucsLicenseTransferState()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderTransferState.setStatus('current') cucsLicenseDownloaderUser = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 21), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderUser.setStatus('current') cucsLicenseDownloaderFsmTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16), ) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTable.setStatus('current') cucsLicenseDownloaderFsmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseDownloaderFsmInstanceId")) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmEntry.setStatus('current') cucsLicenseDownloaderFsmInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmInstanceId.setStatus('current') cucsLicenseDownloaderFsmDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmDn.setStatus('current') cucsLicenseDownloaderFsmRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmRn.setStatus('current') cucsLicenseDownloaderFsmCompletionTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmCompletionTime.setStatus('current') cucsLicenseDownloaderFsmCurrentFsm = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 5), CucsLicenseDownloaderFsmCurrentFsm()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmCurrentFsm.setStatus('current') cucsLicenseDownloaderFsmDescrData = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmDescrData.setStatus('current') cucsLicenseDownloaderFsmFsmStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 7), CucsFsmFsmStageStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmFsmStatus.setStatus('current') cucsLicenseDownloaderFsmProgress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmProgress.setStatus('current') cucsLicenseDownloaderFsmRmtErrCode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmRmtErrCode.setStatus('current') cucsLicenseDownloaderFsmRmtErrDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 10), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmRmtErrDescr.setStatus('current') cucsLicenseDownloaderFsmRmtRslt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 11), CucsConditionRemoteInvRslt()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmRmtRslt.setStatus('current') cucsLicenseDownloaderFsmStageTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17), ) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageTable.setStatus('current') cucsLicenseDownloaderFsmStageEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseDownloaderFsmStageInstanceId")) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageEntry.setStatus('current') cucsLicenseDownloaderFsmStageInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageInstanceId.setStatus('current') cucsLicenseDownloaderFsmStageDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageDn.setStatus('current') cucsLicenseDownloaderFsmStageRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageRn.setStatus('current') cucsLicenseDownloaderFsmStageDescrData = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageDescrData.setStatus('current') cucsLicenseDownloaderFsmStageLastUpdateTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageLastUpdateTime.setStatus('current') cucsLicenseDownloaderFsmStageName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 6), CucsLicenseDownloaderFsmStageName()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageName.setStatus('current') cucsLicenseDownloaderFsmStageOrder = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageOrder.setStatus('current') cucsLicenseDownloaderFsmStageRetry = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageRetry.setStatus('current') cucsLicenseDownloaderFsmStageStageStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 9), CucsFsmFsmStageStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageStageStatus.setStatus('current') cucsLicenseDownloaderFsmTaskTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3), ) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskTable.setStatus('current') cucsLicenseDownloaderFsmTaskEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseDownloaderFsmTaskInstanceId")) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskEntry.setStatus('current') cucsLicenseDownloaderFsmTaskInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskInstanceId.setStatus('current') cucsLicenseDownloaderFsmTaskDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskDn.setStatus('current') cucsLicenseDownloaderFsmTaskRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskRn.setStatus('current') cucsLicenseDownloaderFsmTaskCompletion = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1, 4), CucsFsmCompletion()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskCompletion.setStatus('current') cucsLicenseDownloaderFsmTaskFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1, 5), CucsFsmFlags()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskFlags.setStatus('current') cucsLicenseDownloaderFsmTaskItem = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1, 6), CucsLicenseDownloaderFsmTaskItem()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskItem.setStatus('current') cucsLicenseDownloaderFsmTaskSeqId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskSeqId.setStatus('current') cucsLicenseEpTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 4), ) if mibBuilder.loadTexts: cucsLicenseEpTable.setStatus('current') cucsLicenseEpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 4, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseEpInstanceId")) if mibBuilder.loadTexts: cucsLicenseEpEntry.setStatus('current') cucsLicenseEpInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 4, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseEpInstanceId.setStatus('current') cucsLicenseEpDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 4, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseEpDn.setStatus('current') cucsLicenseEpRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 4, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseEpRn.setStatus('current') cucsLicenseFeatureTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5), ) if mibBuilder.loadTexts: cucsLicenseFeatureTable.setStatus('current') cucsLicenseFeatureEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseFeatureInstanceId")) if mibBuilder.loadTexts: cucsLicenseFeatureEntry.setStatus('current') cucsLicenseFeatureInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseFeatureInstanceId.setStatus('current') cucsLicenseFeatureDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureDn.setStatus('current') cucsLicenseFeatureRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureRn.setStatus('current') cucsLicenseFeatureDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureDescr.setStatus('current') cucsLicenseFeatureGracePeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 5), Unsigned64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureGracePeriod.setStatus('current') cucsLicenseFeatureIntId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureIntId.setStatus('current') cucsLicenseFeatureName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 7), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureName.setStatus('current') cucsLicenseFeatureType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 8), CucsLicenseFeatureType()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureType.setStatus('current') cucsLicenseFeatureVendor = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 9), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureVendor.setStatus('current') cucsLicenseFeatureVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 10), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureVersion.setStatus('current') cucsLicenseFeaturePolicyLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeaturePolicyLevel.setStatus('current') cucsLicenseFeaturePolicyOwner = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 12), CucsPolicyPolicyOwner()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeaturePolicyOwner.setStatus('current') cucsLicenseFeatureCapProviderTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6), ) if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderTable.setStatus('current') cucsLicenseFeatureCapProviderEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseFeatureCapProviderInstanceId")) if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderEntry.setStatus('current') cucsLicenseFeatureCapProviderInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderInstanceId.setStatus('current') cucsLicenseFeatureCapProviderDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderDn.setStatus('current') cucsLicenseFeatureCapProviderRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderRn.setStatus('current') cucsLicenseFeatureCapProviderDefQuant = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderDefQuant.setStatus('current') cucsLicenseFeatureCapProviderDeprecated = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderDeprecated.setStatus('current') cucsLicenseFeatureCapProviderFeatureName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderFeatureName.setStatus('current') cucsLicenseFeatureCapProviderGencount = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderGencount.setStatus('current') cucsLicenseFeatureCapProviderGracePeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 8), Unsigned64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderGracePeriod.setStatus('current') cucsLicenseFeatureCapProviderLicVendor = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 9), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderLicVendor.setStatus('current') cucsLicenseFeatureCapProviderLicVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 10), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderLicVersion.setStatus('current') cucsLicenseFeatureCapProviderMgmtPlaneVer = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 11), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderMgmtPlaneVer.setStatus('current') cucsLicenseFeatureCapProviderModel = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 12), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderModel.setStatus('current') cucsLicenseFeatureCapProviderRevision = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 13), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderRevision.setStatus('current') cucsLicenseFeatureCapProviderType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 14), CucsLicenseFeatureType()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderType.setStatus('current') cucsLicenseFeatureCapProviderVendor = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 15), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderVendor.setStatus('current') cucsLicenseFeatureCapProviderDeleted = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 16), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderDeleted.setStatus('current') cucsLicenseFeatureCapProviderSku = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 17), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderSku.setStatus('current') cucsLicenseFeatureCapProviderElementLoadFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 18), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderElementLoadFailures.setStatus('current') cucsLicenseFeatureCapProviderElementsLoaded = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 19), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderElementsLoaded.setStatus('current') cucsLicenseFeatureCapProviderLoadErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 20), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderLoadErrors.setStatus('current') cucsLicenseFeatureCapProviderLoadWarnings = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 21), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderLoadWarnings.setStatus('current') cucsLicenseFeatureLineTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7), ) if mibBuilder.loadTexts: cucsLicenseFeatureLineTable.setStatus('current') cucsLicenseFeatureLineEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseFeatureLineInstanceId")) if mibBuilder.loadTexts: cucsLicenseFeatureLineEntry.setStatus('current') cucsLicenseFeatureLineInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseFeatureLineInstanceId.setStatus('current') cucsLicenseFeatureLineDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureLineDn.setStatus('current') cucsLicenseFeatureLineRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureLineRn.setStatus('current') cucsLicenseFeatureLineExp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureLineExp.setStatus('current') cucsLicenseFeatureLineId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureLineId.setStatus('current') cucsLicenseFeatureLinePak = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureLinePak.setStatus('current') cucsLicenseFeatureLineQuant = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureLineQuant.setStatus('current') cucsLicenseFeatureLineSig = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 8), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureLineSig.setStatus('current') cucsLicenseFeatureLineType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 9), CucsLicenseType()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureLineType.setStatus('current') cucsLicenseFeatureLineSku = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 10), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFeatureLineSku.setStatus('current') cucsLicenseFileTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8), ) if mibBuilder.loadTexts: cucsLicenseFileTable.setStatus('current') cucsLicenseFileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseFileInstanceId")) if mibBuilder.loadTexts: cucsLicenseFileEntry.setStatus('current') cucsLicenseFileInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseFileInstanceId.setStatus('current') cucsLicenseFileDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileDn.setStatus('current') cucsLicenseFileRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileRn.setStatus('current') cucsLicenseFileAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 4), CucsLicenseFileState()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileAdminState.setStatus('current') cucsLicenseFileFsmDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmDescr.setStatus('current') cucsLicenseFileFsmPrev = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmPrev.setStatus('current') cucsLicenseFileFsmProgr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmProgr.setStatus('current') cucsLicenseFileFsmRmtInvErrCode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmRmtInvErrCode.setStatus('current') cucsLicenseFileFsmRmtInvErrDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 9), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmRmtInvErrDescr.setStatus('current') cucsLicenseFileFsmRmtInvRslt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 10), CucsConditionRemoteInvRslt()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmRmtInvRslt.setStatus('current') cucsLicenseFileFsmStageDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 11), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmStageDescr.setStatus('current') cucsLicenseFileFsmStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 12), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmStamp.setStatus('current') cucsLicenseFileFsmStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 13), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmStatus.setStatus('current') cucsLicenseFileFsmTry = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 14), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmTry.setStatus('current') cucsLicenseFileId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 15), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileId.setStatus('current') cucsLicenseFileName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 16), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileName.setStatus('current') cucsLicenseFileOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 17), CucsLicenseFileState()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileOperState.setStatus('current') cucsLicenseFileOperStateDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 18), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileOperStateDescr.setStatus('current') cucsLicenseFileScope = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 19), CucsLicenseScope()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileScope.setStatus('current') cucsLicenseFileVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 20), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileVersion.setStatus('current') cucsLicenseFileFsmTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18), ) if mibBuilder.loadTexts: cucsLicenseFileFsmTable.setStatus('current') cucsLicenseFileFsmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseFileFsmInstanceId")) if mibBuilder.loadTexts: cucsLicenseFileFsmEntry.setStatus('current') cucsLicenseFileFsmInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseFileFsmInstanceId.setStatus('current') cucsLicenseFileFsmDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmDn.setStatus('current') cucsLicenseFileFsmRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmRn.setStatus('current') cucsLicenseFileFsmCompletionTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmCompletionTime.setStatus('current') cucsLicenseFileFsmCurrentFsm = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 5), CucsLicenseFileFsmCurrentFsm()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmCurrentFsm.setStatus('current') cucsLicenseFileFsmDescrData = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmDescrData.setStatus('current') cucsLicenseFileFsmFsmStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 7), CucsFsmFsmStageStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmFsmStatus.setStatus('current') cucsLicenseFileFsmProgress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmProgress.setStatus('current') cucsLicenseFileFsmRmtErrCode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmRmtErrCode.setStatus('current') cucsLicenseFileFsmRmtErrDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 10), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmRmtErrDescr.setStatus('current') cucsLicenseFileFsmRmtRslt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 11), CucsConditionRemoteInvRslt()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmRmtRslt.setStatus('current') cucsLicenseFileFsmStageTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19), ) if mibBuilder.loadTexts: cucsLicenseFileFsmStageTable.setStatus('current') cucsLicenseFileFsmStageEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseFileFsmStageInstanceId")) if mibBuilder.loadTexts: cucsLicenseFileFsmStageEntry.setStatus('current') cucsLicenseFileFsmStageInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseFileFsmStageInstanceId.setStatus('current') cucsLicenseFileFsmStageDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmStageDn.setStatus('current') cucsLicenseFileFsmStageRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmStageRn.setStatus('current') cucsLicenseFileFsmStageDescrData = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmStageDescrData.setStatus('current') cucsLicenseFileFsmStageLastUpdateTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmStageLastUpdateTime.setStatus('current') cucsLicenseFileFsmStageName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 6), CucsLicenseFileFsmStageName()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmStageName.setStatus('current') cucsLicenseFileFsmStageOrder = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmStageOrder.setStatus('current') cucsLicenseFileFsmStageRetry = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmStageRetry.setStatus('current') cucsLicenseFileFsmStageStageStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 9), CucsFsmFsmStageStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmStageStageStatus.setStatus('current') cucsLicenseFileFsmTaskTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9), ) if mibBuilder.loadTexts: cucsLicenseFileFsmTaskTable.setStatus('current') cucsLicenseFileFsmTaskEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseFileFsmTaskInstanceId")) if mibBuilder.loadTexts: cucsLicenseFileFsmTaskEntry.setStatus('current') cucsLicenseFileFsmTaskInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseFileFsmTaskInstanceId.setStatus('current') cucsLicenseFileFsmTaskDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmTaskDn.setStatus('current') cucsLicenseFileFsmTaskRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmTaskRn.setStatus('current') cucsLicenseFileFsmTaskCompletion = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1, 4), CucsFsmCompletion()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmTaskCompletion.setStatus('current') cucsLicenseFileFsmTaskFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1, 5), CucsFsmFlags()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmTaskFlags.setStatus('current') cucsLicenseFileFsmTaskItem = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1, 6), CucsLicenseFileFsmTaskItem()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmTaskItem.setStatus('current') cucsLicenseFileFsmTaskSeqId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseFileFsmTaskSeqId.setStatus('current') cucsLicenseInstanceTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10), ) if mibBuilder.loadTexts: cucsLicenseInstanceTable.setStatus('current') cucsLicenseInstanceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseInstanceInstanceId")) if mibBuilder.loadTexts: cucsLicenseInstanceEntry.setStatus('current') cucsLicenseInstanceInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseInstanceInstanceId.setStatus('current') cucsLicenseInstanceDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceDn.setStatus('current') cucsLicenseInstanceRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceRn.setStatus('current') cucsLicenseInstanceAbsQuant = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceAbsQuant.setStatus('current') cucsLicenseInstanceDefQuant = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceDefQuant.setStatus('current') cucsLicenseInstanceFeature = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFeature.setStatus('current') cucsLicenseInstanceFsmDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 7), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmDescr.setStatus('current') cucsLicenseInstanceFsmPrev = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 8), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmPrev.setStatus('current') cucsLicenseInstanceFsmProgr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmProgr.setStatus('current') cucsLicenseInstanceFsmRmtInvErrCode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmRmtInvErrCode.setStatus('current') cucsLicenseInstanceFsmRmtInvErrDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 11), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmRmtInvErrDescr.setStatus('current') cucsLicenseInstanceFsmRmtInvRslt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 12), CucsConditionRemoteInvRslt()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmRmtInvRslt.setStatus('current') cucsLicenseInstanceFsmStageDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 13), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageDescr.setStatus('current') cucsLicenseInstanceFsmStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 14), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmStamp.setStatus('current') cucsLicenseInstanceFsmStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 15), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmStatus.setStatus('current') cucsLicenseInstanceFsmTry = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 16), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmTry.setStatus('current') cucsLicenseInstanceGracePeriodUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 17), Unsigned64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceGracePeriodUsed.setStatus('current') cucsLicenseInstanceOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 18), CucsLicenseState()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceOperState.setStatus('current') cucsLicenseInstancePeerStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 19), CucsLicensePeerStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstancePeerStatus.setStatus('current') cucsLicenseInstanceScope = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 20), CucsLicenseScope()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceScope.setStatus('current') cucsLicenseInstanceUsedQuant = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 21), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceUsedQuant.setStatus('current') cucsLicenseInstanceIsPresent = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 22), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceIsPresent.setStatus('current') cucsLicenseInstanceSku = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 23), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceSku.setStatus('current') cucsLicenseInstanceSubordinateUsedQuant = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 24), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceSubordinateUsedQuant.setStatus('current') cucsLicenseInstanceFsmTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20), ) if mibBuilder.loadTexts: cucsLicenseInstanceFsmTable.setStatus('current') cucsLicenseInstanceFsmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseInstanceFsmInstanceId")) if mibBuilder.loadTexts: cucsLicenseInstanceFsmEntry.setStatus('current') cucsLicenseInstanceFsmInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseInstanceFsmInstanceId.setStatus('current') cucsLicenseInstanceFsmDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmDn.setStatus('current') cucsLicenseInstanceFsmRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmRn.setStatus('current') cucsLicenseInstanceFsmCompletionTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmCompletionTime.setStatus('current') cucsLicenseInstanceFsmCurrentFsm = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 5), CucsLicenseInstanceFsmCurrentFsm()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmCurrentFsm.setStatus('current') cucsLicenseInstanceFsmDescrData = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmDescrData.setStatus('current') cucsLicenseInstanceFsmFsmStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 7), CucsFsmFsmStageStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmFsmStatus.setStatus('current') cucsLicenseInstanceFsmProgress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmProgress.setStatus('current') cucsLicenseInstanceFsmRmtErrCode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmRmtErrCode.setStatus('current') cucsLicenseInstanceFsmRmtErrDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 10), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmRmtErrDescr.setStatus('current') cucsLicenseInstanceFsmRmtRslt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 11), CucsConditionRemoteInvRslt()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmRmtRslt.setStatus('current') cucsLicenseInstanceFsmStageTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21), ) if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageTable.setStatus('current') cucsLicenseInstanceFsmStageEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseInstanceFsmStageInstanceId")) if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageEntry.setStatus('current') cucsLicenseInstanceFsmStageInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageInstanceId.setStatus('current') cucsLicenseInstanceFsmStageDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageDn.setStatus('current') cucsLicenseInstanceFsmStageRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageRn.setStatus('current') cucsLicenseInstanceFsmStageDescrData = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageDescrData.setStatus('current') cucsLicenseInstanceFsmStageLastUpdateTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageLastUpdateTime.setStatus('current') cucsLicenseInstanceFsmStageName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 6), CucsLicenseInstanceFsmStageName()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageName.setStatus('current') cucsLicenseInstanceFsmStageOrder = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageOrder.setStatus('current') cucsLicenseInstanceFsmStageRetry = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageRetry.setStatus('current') cucsLicenseInstanceFsmStageStageStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 9), CucsFsmFsmStageStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageStageStatus.setStatus('current') cucsLicenseInstanceFsmTaskTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11), ) if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskTable.setStatus('current') cucsLicenseInstanceFsmTaskEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseInstanceFsmTaskInstanceId")) if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskEntry.setStatus('current') cucsLicenseInstanceFsmTaskInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskInstanceId.setStatus('current') cucsLicenseInstanceFsmTaskDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskDn.setStatus('current') cucsLicenseInstanceFsmTaskRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskRn.setStatus('current') cucsLicenseInstanceFsmTaskCompletion = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1, 4), CucsFsmCompletion()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskCompletion.setStatus('current') cucsLicenseInstanceFsmTaskFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1, 5), CucsFsmFlags()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskFlags.setStatus('current') cucsLicenseInstanceFsmTaskItem = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1, 6), CucsLicenseInstanceFsmTaskItem()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskItem.setStatus('current') cucsLicenseInstanceFsmTaskSeqId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskSeqId.setStatus('current') cucsLicensePropTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 12), ) if mibBuilder.loadTexts: cucsLicensePropTable.setStatus('current') cucsLicensePropEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 12, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicensePropInstanceId")) if mibBuilder.loadTexts: cucsLicensePropEntry.setStatus('current') cucsLicensePropInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 12, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicensePropInstanceId.setStatus('current') cucsLicensePropDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 12, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicensePropDn.setStatus('current') cucsLicensePropRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 12, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicensePropRn.setStatus('current') cucsLicensePropName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 12, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicensePropName.setStatus('current') cucsLicensePropValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 12, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicensePropValue.setStatus('current') cucsLicenseServerHostIdTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 13), ) if mibBuilder.loadTexts: cucsLicenseServerHostIdTable.setStatus('current') cucsLicenseServerHostIdEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 13, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseServerHostIdInstanceId")) if mibBuilder.loadTexts: cucsLicenseServerHostIdEntry.setStatus('current') cucsLicenseServerHostIdInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 13, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseServerHostIdInstanceId.setStatus('current') cucsLicenseServerHostIdDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 13, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseServerHostIdDn.setStatus('current') cucsLicenseServerHostIdRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 13, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseServerHostIdRn.setStatus('current') cucsLicenseServerHostIdHostId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 13, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseServerHostIdHostId.setStatus('current') cucsLicenseServerHostIdScope = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 13, 1, 5), CucsLicenseScope()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseServerHostIdScope.setStatus('current') cucsLicenseSourceTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14), ) if mibBuilder.loadTexts: cucsLicenseSourceTable.setStatus('current') cucsLicenseSourceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseSourceInstanceId")) if mibBuilder.loadTexts: cucsLicenseSourceEntry.setStatus('current') cucsLicenseSourceInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseSourceInstanceId.setStatus('current') cucsLicenseSourceDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceDn.setStatus('current') cucsLicenseSourceRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceRn.setStatus('current') cucsLicenseSourceAlwaysUse = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceAlwaysUse.setStatus('current') cucsLicenseSourceHostId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceHostId.setStatus('current') cucsLicenseSourceHostName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceHostName.setStatus('current') cucsLicenseSourceVendorDaemonPath = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 7), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceVendorDaemonPath.setStatus('current') cucsLicenseSourceSku = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 8), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceSku.setStatus('current') cucsLicenseSourceFileTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15), ) if mibBuilder.loadTexts: cucsLicenseSourceFileTable.setStatus('current') cucsLicenseSourceFileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseSourceFileInstanceId")) if mibBuilder.loadTexts: cucsLicenseSourceFileEntry.setStatus('current') cucsLicenseSourceFileInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseSourceFileInstanceId.setStatus('current') cucsLicenseSourceFileDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceFileDn.setStatus('current') cucsLicenseSourceFileRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceFileRn.setStatus('current') cucsLicenseSourceFileExp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceFileExp.setStatus('current') cucsLicenseSourceFileHostId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceFileHostId.setStatus('current') cucsLicenseSourceFileId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceFileId.setStatus('current') cucsLicenseSourceFileLine = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 7), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceFileLine.setStatus('current') cucsLicenseSourceFilePak = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 8), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceFilePak.setStatus('current') cucsLicenseSourceFileQuant = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceFileQuant.setStatus('current') cucsLicenseSourceFileSig = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 10), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceFileSig.setStatus('current') cucsLicenseSourceFileType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 11), CucsLicenseType()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseSourceFileType.setStatus('current') cucsLicenseTargetTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22), ) if mibBuilder.loadTexts: cucsLicenseTargetTable.setStatus('current') cucsLicenseTargetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-LICENSE-MIB", "cucsLicenseTargetInstanceId")) if mibBuilder.loadTexts: cucsLicenseTargetEntry.setStatus('current') cucsLicenseTargetInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1, 1), CucsManagedObjectId()) if mibBuilder.loadTexts: cucsLicenseTargetInstanceId.setStatus('current') cucsLicenseTargetDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseTargetDn.setStatus('current') cucsLicenseTargetRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseTargetRn.setStatus('current') cucsLicenseTargetPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseTargetPortId.setStatus('current') cucsLicenseTargetSlotId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseTargetSlotId.setStatus('current') cucsLicenseTargetIsRackPresent = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseTargetIsRackPresent.setStatus('current') cucsLicenseTargetAggrPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cucsLicenseTargetAggrPortId.setStatus('current') mibBuilder.exportSymbols("CISCO-UNIFIED-COMPUTING-LICENSE-MIB", cucsLicenseInstanceFsmCompletionTime=cucsLicenseInstanceFsmCompletionTime, cucsLicenseFeatureLineTable=cucsLicenseFeatureLineTable, cucsLicenseContentsRn=cucsLicenseContentsRn, cucsLicenseInstanceFsmPrev=cucsLicenseInstanceFsmPrev, cucsLicenseFeatureCapProviderLicVersion=cucsLicenseFeatureCapProviderLicVersion, cucsLicenseFileOperState=cucsLicenseFileOperState, cucsLicenseFileFsmDn=cucsLicenseFileFsmDn, cucsLicenseInstanceFsmRmtRslt=cucsLicenseInstanceFsmRmtRslt, cucsLicenseDownloaderFsmProgr=cucsLicenseDownloaderFsmProgr, cucsLicenseDownloaderFsmStageRn=cucsLicenseDownloaderFsmStageRn, cucsLicenseInstanceFsmStageDn=cucsLicenseInstanceFsmStageDn, cucsLicenseFeatureIntId=cucsLicenseFeatureIntId, cucsLicenseSourceVendorDaemonPath=cucsLicenseSourceVendorDaemonPath, cucsLicenseFeatureLineInstanceId=cucsLicenseFeatureLineInstanceId, cucsLicenseTargetIsRackPresent=cucsLicenseTargetIsRackPresent, cucsLicenseFeatureCapProviderGracePeriod=cucsLicenseFeatureCapProviderGracePeriod, cucsLicenseDownloaderFsmRmtErrDescr=cucsLicenseDownloaderFsmRmtErrDescr, cucsLicenseInstanceFsmStatus=cucsLicenseInstanceFsmStatus, cucsLicenseInstanceFsmFsmStatus=cucsLicenseInstanceFsmFsmStatus, cucsLicenseFeatureCapProviderLicVendor=cucsLicenseFeatureCapProviderLicVendor, cucsLicenseObjects=cucsLicenseObjects, cucsLicenseFeatureLineEntry=cucsLicenseFeatureLineEntry, cucsLicenseInstancePeerStatus=cucsLicenseInstancePeerStatus, cucsLicenseDownloaderFsmStageDn=cucsLicenseDownloaderFsmStageDn, cucsLicenseInstanceAbsQuant=cucsLicenseInstanceAbsQuant, cucsLicenseEpRn=cucsLicenseEpRn, cucsLicenseSourceEntry=cucsLicenseSourceEntry, cucsLicenseContentsFeatureName=cucsLicenseContentsFeatureName, cucsLicenseFileFsmStageDescr=cucsLicenseFileFsmStageDescr, cucsLicenseDownloaderFileName=cucsLicenseDownloaderFileName, cucsLicenseDownloaderFsmTaskTable=cucsLicenseDownloaderFsmTaskTable, cucsLicenseFileFsmProgr=cucsLicenseFileFsmProgr, cucsLicenseFileFsmStageEntry=cucsLicenseFileFsmStageEntry, cucsLicenseFileEntry=cucsLicenseFileEntry, cucsLicenseDownloaderFsmDescr=cucsLicenseDownloaderFsmDescr, cucsLicenseFeatureCapProviderElementsLoaded=cucsLicenseFeatureCapProviderElementsLoaded, cucsLicenseFeaturePolicyOwner=cucsLicenseFeaturePolicyOwner, cucsLicenseInstanceScope=cucsLicenseInstanceScope, cucsLicenseInstanceFsmTaskRn=cucsLicenseInstanceFsmTaskRn, cucsLicenseEpEntry=cucsLicenseEpEntry, cucsLicenseFeatureLineExp=cucsLicenseFeatureLineExp, cucsLicenseFeatureCapProviderSku=cucsLicenseFeatureCapProviderSku, cucsLicenseFileFsmStatus=cucsLicenseFileFsmStatus, cucsLicenseFileFsmStageRn=cucsLicenseFileFsmStageRn, cucsLicenseDownloaderPwd=cucsLicenseDownloaderPwd, cucsLicenseFeatureDn=cucsLicenseFeatureDn, cucsLicenseContentsInstanceId=cucsLicenseContentsInstanceId, PYSNMP_MODULE_ID=cucsLicenseObjects, cucsLicenseServerHostIdEntry=cucsLicenseServerHostIdEntry, cucsLicenseFeatureCapProviderFeatureName=cucsLicenseFeatureCapProviderFeatureName, cucsLicenseDownloaderFsmTaskEntry=cucsLicenseDownloaderFsmTaskEntry, cucsLicenseInstanceFsmTaskSeqId=cucsLicenseInstanceFsmTaskSeqId, cucsLicenseDownloaderFsmDn=cucsLicenseDownloaderFsmDn, cucsLicenseFileVersion=cucsLicenseFileVersion, cucsLicenseInstanceFsmDn=cucsLicenseInstanceFsmDn, cucsLicenseDownloaderFsmRmtRslt=cucsLicenseDownloaderFsmRmtRslt, cucsLicenseSourceHostName=cucsLicenseSourceHostName, cucsLicenseDownloaderFsmCurrentFsm=cucsLicenseDownloaderFsmCurrentFsm, cucsLicenseSourceFilePak=cucsLicenseSourceFilePak, cucsLicenseInstanceEntry=cucsLicenseInstanceEntry, cucsLicenseDownloaderAdminState=cucsLicenseDownloaderAdminState, cucsLicenseFileTable=cucsLicenseFileTable, cucsLicenseSourceTable=cucsLicenseSourceTable, cucsLicenseSourceFileTable=cucsLicenseSourceFileTable, cucsLicenseInstanceFsmRmtInvErrDescr=cucsLicenseInstanceFsmRmtInvErrDescr, cucsLicenseFileFsmStageTable=cucsLicenseFileFsmStageTable, cucsLicenseDownloaderRn=cucsLicenseDownloaderRn, cucsLicenseFeatureCapProviderLoadWarnings=cucsLicenseFeatureCapProviderLoadWarnings, cucsLicenseFeatureLineType=cucsLicenseFeatureLineType, cucsLicenseFileFsmPrev=cucsLicenseFileFsmPrev, cucsLicenseDownloaderDn=cucsLicenseDownloaderDn, cucsLicenseServerHostIdScope=cucsLicenseServerHostIdScope, cucsLicenseInstanceOperState=cucsLicenseInstanceOperState, cucsLicenseFeatureLineDn=cucsLicenseFeatureLineDn, cucsLicenseInstanceFsmStageLastUpdateTime=cucsLicenseInstanceFsmStageLastUpdateTime, cucsLicenseDownloaderFsmRmtInvErrCode=cucsLicenseDownloaderFsmRmtInvErrCode, cucsLicenseInstanceFsmTaskCompletion=cucsLicenseInstanceFsmTaskCompletion, cucsLicenseFileFsmStageInstanceId=cucsLicenseFileFsmStageInstanceId, cucsLicenseFileDn=cucsLicenseFileDn, cucsLicenseFileFsmStageOrder=cucsLicenseFileFsmStageOrder, cucsLicenseSourceFileDn=cucsLicenseSourceFileDn, cucsLicenseFileFsmTaskEntry=cucsLicenseFileFsmTaskEntry, cucsLicenseDownloaderTransferState=cucsLicenseDownloaderTransferState, cucsLicenseServerHostIdTable=cucsLicenseServerHostIdTable, cucsLicenseInstanceSku=cucsLicenseInstanceSku, cucsLicenseDownloaderFsmRn=cucsLicenseDownloaderFsmRn, cucsLicenseDownloaderProt=cucsLicenseDownloaderProt, cucsLicenseDownloaderFsmCompletionTime=cucsLicenseDownloaderFsmCompletionTime, cucsLicenseInstanceFeature=cucsLicenseInstanceFeature, cucsLicenseSourceFileId=cucsLicenseSourceFileId, cucsLicenseDownloaderFsmTaskCompletion=cucsLicenseDownloaderFsmTaskCompletion, cucsLicenseDownloaderFsmStageDescrData=cucsLicenseDownloaderFsmStageDescrData, cucsLicenseInstanceFsmStageDescr=cucsLicenseInstanceFsmStageDescr, cucsLicenseInstanceFsmRmtErrDescr=cucsLicenseInstanceFsmRmtErrDescr, cucsLicenseInstanceFsmTable=cucsLicenseInstanceFsmTable, cucsLicenseInstanceFsmDescr=cucsLicenseInstanceFsmDescr, cucsLicenseFileFsmProgress=cucsLicenseFileFsmProgress, cucsLicenseFeatureCapProviderVendor=cucsLicenseFeatureCapProviderVendor, cucsLicenseFeatureLineSku=cucsLicenseFeatureLineSku, cucsLicensePropTable=cucsLicensePropTable, cucsLicenseTargetSlotId=cucsLicenseTargetSlotId, cucsLicenseFileOperStateDescr=cucsLicenseFileOperStateDescr, cucsLicenseInstanceFsmTaskEntry=cucsLicenseInstanceFsmTaskEntry, cucsLicenseDownloaderFsmTaskInstanceId=cucsLicenseDownloaderFsmTaskInstanceId, cucsLicenseInstanceFsmStageRetry=cucsLicenseInstanceFsmStageRetry, cucsLicenseFeatureTable=cucsLicenseFeatureTable, cucsLicenseContentsVendor=cucsLicenseContentsVendor, cucsLicenseInstanceFsmStageTable=cucsLicenseInstanceFsmStageTable, cucsLicenseTargetAggrPortId=cucsLicenseTargetAggrPortId, cucsLicenseContentsTotalQuant=cucsLicenseContentsTotalQuant, cucsLicenseFileFsmCurrentFsm=cucsLicenseFileFsmCurrentFsm, cucsLicenseInstanceFsmStageName=cucsLicenseInstanceFsmStageName, cucsLicenseFileFsmStageStageStatus=cucsLicenseFileFsmStageStageStatus, cucsLicenseFileFsmEntry=cucsLicenseFileFsmEntry, cucsLicenseEpDn=cucsLicenseEpDn, cucsLicenseInstanceGracePeriodUsed=cucsLicenseInstanceGracePeriodUsed, cucsLicenseInstanceFsmTaskDn=cucsLicenseInstanceFsmTaskDn, cucsLicenseFileFsmTaskTable=cucsLicenseFileFsmTaskTable, cucsLicensePropDn=cucsLicensePropDn, cucsLicenseFeatureRn=cucsLicenseFeatureRn, cucsLicenseInstanceFsmRmtInvRslt=cucsLicenseInstanceFsmRmtInvRslt, cucsLicenseSourceFileLine=cucsLicenseSourceFileLine, cucsLicenseFeatureLineRn=cucsLicenseFeatureLineRn, cucsLicenseInstanceFsmStageDescrData=cucsLicenseInstanceFsmStageDescrData, cucsLicenseFeatureVendor=cucsLicenseFeatureVendor, cucsLicenseFeatureCapProviderEntry=cucsLicenseFeatureCapProviderEntry, cucsLicenseInstanceDn=cucsLicenseInstanceDn, cucsLicenseDownloaderFsmTaskRn=cucsLicenseDownloaderFsmTaskRn, cucsLicenseFeatureType=cucsLicenseFeatureType, cucsLicenseDownloaderFsmStageStageStatus=cucsLicenseDownloaderFsmStageStageStatus, cucsLicenseInstanceFsmProgress=cucsLicenseInstanceFsmProgress, cucsLicenseFileName=cucsLicenseFileName, cucsLicenseInstanceFsmTaskItem=cucsLicenseInstanceFsmTaskItem, cucsLicenseInstanceFsmTaskInstanceId=cucsLicenseInstanceFsmTaskInstanceId, cucsLicenseFeatureCapProviderDeprecated=cucsLicenseFeatureCapProviderDeprecated, cucsLicenseFeatureCapProviderModel=cucsLicenseFeatureCapProviderModel, cucsLicensePropRn=cucsLicensePropRn, cucsLicenseDownloaderFsmTaskSeqId=cucsLicenseDownloaderFsmTaskSeqId, cucsLicenseSourceFileEntry=cucsLicenseSourceFileEntry, cucsLicenseSourceFileSig=cucsLicenseSourceFileSig, cucsLicenseSourceRn=cucsLicenseSourceRn, cucsLicenseInstanceFsmTaskTable=cucsLicenseInstanceFsmTaskTable, cucsLicenseFileFsmRmtErrCode=cucsLicenseFileFsmRmtErrCode, cucsLicenseInstanceTable=cucsLicenseInstanceTable, cucsLicenseFeatureLineSig=cucsLicenseFeatureLineSig, cucsLicenseDownloaderFsmStageEntry=cucsLicenseDownloaderFsmStageEntry, cucsLicenseFileFsmRmtErrDescr=cucsLicenseFileFsmRmtErrDescr, cucsLicenseFileFsmTaskDn=cucsLicenseFileFsmTaskDn, cucsLicenseInstanceInstanceId=cucsLicenseInstanceInstanceId, cucsLicenseTargetInstanceId=cucsLicenseTargetInstanceId, cucsLicenseDownloaderUser=cucsLicenseDownloaderUser, cucsLicenseContentsVersion=cucsLicenseContentsVersion, cucsLicenseFileFsmTaskItem=cucsLicenseFileFsmTaskItem, cucsLicenseInstanceFsmTry=cucsLicenseInstanceFsmTry, cucsLicenseDownloaderFsmTable=cucsLicenseDownloaderFsmTable, cucsLicenseContentsEntry=cucsLicenseContentsEntry, cucsLicenseServerHostIdRn=cucsLicenseServerHostIdRn, cucsLicenseFeatureCapProviderInstanceId=cucsLicenseFeatureCapProviderInstanceId, cucsLicenseFeatureCapProviderDefQuant=cucsLicenseFeatureCapProviderDefQuant, cucsLicenseFeatureCapProviderGencount=cucsLicenseFeatureCapProviderGencount, cucsLicenseInstanceFsmInstanceId=cucsLicenseInstanceFsmInstanceId, cucsLicenseSourceFileHostId=cucsLicenseSourceFileHostId, cucsLicenseFileFsmInstanceId=cucsLicenseFileFsmInstanceId, cucsLicenseDownloaderFsmStageName=cucsLicenseDownloaderFsmStageName, cucsLicenseTargetRn=cucsLicenseTargetRn, cucsLicenseDownloaderRemotePath=cucsLicenseDownloaderRemotePath, cucsLicenseFileFsmRn=cucsLicenseFileFsmRn, cucsLicenseInstanceFsmEntry=cucsLicenseInstanceFsmEntry, cucsLicenseDownloaderInstanceId=cucsLicenseDownloaderInstanceId, cucsLicenseFileFsmRmtRslt=cucsLicenseFileFsmRmtRslt, cucsLicensePropValue=cucsLicensePropValue, cucsLicenseFileFsmTaskSeqId=cucsLicenseFileFsmTaskSeqId, cucsLicenseDownloaderFsmStageOrder=cucsLicenseDownloaderFsmStageOrder, cucsLicenseFeatureCapProviderLoadErrors=cucsLicenseFeatureCapProviderLoadErrors, cucsLicenseFileFsmStamp=cucsLicenseFileFsmStamp, cucsLicenseSourceFileQuant=cucsLicenseSourceFileQuant, cucsLicenseFeatureCapProviderDn=cucsLicenseFeatureCapProviderDn, cucsLicenseDownloaderFsmEntry=cucsLicenseDownloaderFsmEntry, cucsLicenseSourceDn=cucsLicenseSourceDn, cucsLicenseDownloaderFsmStamp=cucsLicenseDownloaderFsmStamp, cucsLicenseFeaturePolicyLevel=cucsLicenseFeaturePolicyLevel, cucsLicenseFeatureCapProviderRn=cucsLicenseFeatureCapProviderRn, cucsLicenseEpInstanceId=cucsLicenseEpInstanceId, cucsLicensePropName=cucsLicensePropName, cucsLicenseSourceInstanceId=cucsLicenseSourceInstanceId, cucsLicenseSourceAlwaysUse=cucsLicenseSourceAlwaysUse, cucsLicenseInstanceFsmStageEntry=cucsLicenseInstanceFsmStageEntry, cucsLicenseFeatureCapProviderRevision=cucsLicenseFeatureCapProviderRevision, cucsLicenseFileId=cucsLicenseFileId, cucsLicensePropEntry=cucsLicensePropEntry, cucsLicenseInstanceSubordinateUsedQuant=cucsLicenseInstanceSubordinateUsedQuant, cucsLicenseFeatureVersion=cucsLicenseFeatureVersion, cucsLicenseContentsDn=cucsLicenseContentsDn, cucsLicenseFeatureDescr=cucsLicenseFeatureDescr, cucsLicenseDownloaderTable=cucsLicenseDownloaderTable, cucsLicenseFileFsmDescr=cucsLicenseFileFsmDescr, cucsLicenseFileFsmStageName=cucsLicenseFileFsmStageName, cucsLicenseInstanceFsmProgr=cucsLicenseInstanceFsmProgr, cucsLicenseFeatureEntry=cucsLicenseFeatureEntry, cucsLicenseFileFsmRmtInvErrDescr=cucsLicenseFileFsmRmtInvErrDescr, cucsLicenseInstanceFsmStamp=cucsLicenseInstanceFsmStamp, cucsLicenseInstanceFsmTaskFlags=cucsLicenseInstanceFsmTaskFlags, cucsLicenseDownloaderFsmStatus=cucsLicenseDownloaderFsmStatus, cucsLicenseInstanceFsmStageStageStatus=cucsLicenseInstanceFsmStageStageStatus, cucsLicenseInstanceFsmCurrentFsm=cucsLicenseInstanceFsmCurrentFsm, cucsLicenseContentsTable=cucsLicenseContentsTable, cucsLicenseFileScope=cucsLicenseFileScope, cucsLicenseDownloaderFsmRmtInvErrDescr=cucsLicenseDownloaderFsmRmtInvErrDescr, cucsLicenseInstanceFsmRmtInvErrCode=cucsLicenseInstanceFsmRmtInvErrCode, cucsLicenseFeatureLineQuant=cucsLicenseFeatureLineQuant, cucsLicenseFileFsmTable=cucsLicenseFileFsmTable, cucsLicenseDownloaderFsmStageDescr=cucsLicenseDownloaderFsmStageDescr, cucsLicenseDownloaderServer=cucsLicenseDownloaderServer, cucsLicenseFeatureInstanceId=cucsLicenseFeatureInstanceId, cucsLicenseFeatureCapProviderTable=cucsLicenseFeatureCapProviderTable, cucsLicenseDownloaderEntry=cucsLicenseDownloaderEntry, cucsLicenseDownloaderFsmTaskDn=cucsLicenseDownloaderFsmTaskDn, cucsLicenseFeatureCapProviderMgmtPlaneVer=cucsLicenseFeatureCapProviderMgmtPlaneVer, cucsLicenseInstanceIsPresent=cucsLicenseInstanceIsPresent, cucsLicenseDownloaderFsmStageRetry=cucsLicenseDownloaderFsmStageRetry, cucsLicenseDownloaderFsmStageInstanceId=cucsLicenseDownloaderFsmStageInstanceId, cucsLicenseDownloaderFsmTaskFlags=cucsLicenseDownloaderFsmTaskFlags, cucsLicenseFeatureCapProviderDeleted=cucsLicenseFeatureCapProviderDeleted, cucsLicenseFileAdminState=cucsLicenseFileAdminState, cucsLicenseFileFsmStageLastUpdateTime=cucsLicenseFileFsmStageLastUpdateTime, cucsLicenseFeatureLineId=cucsLicenseFeatureLineId, cucsLicenseDownloaderFsmRmtErrCode=cucsLicenseDownloaderFsmRmtErrCode, cucsLicenseFileRn=cucsLicenseFileRn, cucsLicenseDownloaderFsmRmtInvRslt=cucsLicenseDownloaderFsmRmtInvRslt, cucsLicenseDownloaderFsmPrev=cucsLicenseDownloaderFsmPrev, cucsLicenseDownloaderFsmFsmStatus=cucsLicenseDownloaderFsmFsmStatus, cucsLicenseFeatureCapProviderType=cucsLicenseFeatureCapProviderType, cucsLicenseFeatureCapProviderElementLoadFailures=cucsLicenseFeatureCapProviderElementLoadFailures, cucsLicenseFileFsmStageDn=cucsLicenseFileFsmStageDn, cucsLicenseInstanceUsedQuant=cucsLicenseInstanceUsedQuant, cucsLicenseSourceSku=cucsLicenseSourceSku, cucsLicenseSourceFileType=cucsLicenseSourceFileType, cucsLicenseDownloaderFsmTry=cucsLicenseDownloaderFsmTry, cucsLicenseFileFsmTaskInstanceId=cucsLicenseFileFsmTaskInstanceId, cucsLicenseTargetEntry=cucsLicenseTargetEntry, cucsLicenseInstanceFsmStageOrder=cucsLicenseInstanceFsmStageOrder, cucsLicenseFileFsmTaskRn=cucsLicenseFileFsmTaskRn, cucsLicenseDownloaderFsmStageTable=cucsLicenseDownloaderFsmStageTable, cucsLicenseSourceFileExp=cucsLicenseSourceFileExp, cucsLicenseFileInstanceId=cucsLicenseFileInstanceId, cucsLicenseFileFsmTaskCompletion=cucsLicenseFileFsmTaskCompletion, cucsLicenseInstanceFsmStageInstanceId=cucsLicenseInstanceFsmStageInstanceId, cucsLicenseInstanceRn=cucsLicenseInstanceRn, cucsLicenseFileFsmStageRetry=cucsLicenseFileFsmStageRetry, cucsLicenseInstanceFsmStageRn=cucsLicenseInstanceFsmStageRn, cucsLicenseServerHostIdHostId=cucsLicenseServerHostIdHostId, cucsLicenseTargetDn=cucsLicenseTargetDn, cucsLicenseFileFsmCompletionTime=cucsLicenseFileFsmCompletionTime, cucsLicenseFileFsmRmtInvErrCode=cucsLicenseFileFsmRmtInvErrCode) mibBuilder.exportSymbols("CISCO-UNIFIED-COMPUTING-LICENSE-MIB", cucsLicenseSourceHostId=cucsLicenseSourceHostId, cucsLicenseFileFsmStageDescrData=cucsLicenseFileFsmStageDescrData, cucsLicenseFeatureGracePeriod=cucsLicenseFeatureGracePeriod, cucsLicenseFeatureName=cucsLicenseFeatureName, cucsLicenseServerHostIdInstanceId=cucsLicenseServerHostIdInstanceId, cucsLicenseSourceFileRn=cucsLicenseSourceFileRn, cucsLicenseDownloaderFsmDescrData=cucsLicenseDownloaderFsmDescrData, cucsLicenseTargetPortId=cucsLicenseTargetPortId, cucsLicenseEpTable=cucsLicenseEpTable, cucsLicenseFileFsmRmtInvRslt=cucsLicenseFileFsmRmtInvRslt, cucsLicenseFileFsmTry=cucsLicenseFileFsmTry, cucsLicenseDownloaderFsmProgress=cucsLicenseDownloaderFsmProgress, cucsLicensePropInstanceId=cucsLicensePropInstanceId, cucsLicenseSourceFileInstanceId=cucsLicenseSourceFileInstanceId, cucsLicenseFileFsmDescrData=cucsLicenseFileFsmDescrData, cucsLicenseInstanceFsmRn=cucsLicenseInstanceFsmRn, cucsLicenseServerHostIdDn=cucsLicenseServerHostIdDn, cucsLicenseDownloaderFsmStageLastUpdateTime=cucsLicenseDownloaderFsmStageLastUpdateTime, cucsLicenseFileFsmTaskFlags=cucsLicenseFileFsmTaskFlags, cucsLicenseInstanceFsmRmtErrCode=cucsLicenseInstanceFsmRmtErrCode, cucsLicenseInstanceFsmDescrData=cucsLicenseInstanceFsmDescrData, cucsLicenseTargetTable=cucsLicenseTargetTable, cucsLicenseFileFsmFsmStatus=cucsLicenseFileFsmFsmStatus, cucsLicenseFeatureLinePak=cucsLicenseFeatureLinePak, cucsLicenseDownloaderFsmTaskItem=cucsLicenseDownloaderFsmTaskItem, cucsLicenseDownloaderFsmInstanceId=cucsLicenseDownloaderFsmInstanceId, cucsLicenseInstanceDefQuant=cucsLicenseInstanceDefQuant)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_range_constraint, single_value_constraint, constraints_union, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueSizeConstraint') (cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt') (cisco_alarm_severity, unsigned64, cisco_inet_address_mask, cisco_network_address, time_interval_sec) = mibBuilder.importSymbols('CISCO-TC', 'CiscoAlarmSeverity', 'Unsigned64', 'CiscoInetAddressMask', 'CiscoNetworkAddress', 'TimeIntervalSec') (cisco_unified_computing_mib_objects, cucs_managed_object_id, cucs_managed_object_dn) = mibBuilder.importSymbols('CISCO-UNIFIED-COMPUTING-MIB', 'ciscoUnifiedComputingMIBObjects', 'CucsManagedObjectId', 'CucsManagedObjectDn') (cucs_fsm_completion, cucs_fsm_fsm_stage_status, cucs_license_instance_fsm_current_fsm, cucs_license_feature_type, cucs_license_instance_fsm_task_item, cucs_policy_policy_owner, cucs_license_download_activity, cucs_license_file_fsm_stage_name, cucs_license_scope, cucs_license_state, cucs_license_file_fsm_current_fsm, cucs_license_downloader_fsm_current_fsm, cucs_license_downloader_fsm_stage_name, cucs_license_transport, cucs_license_instance_fsm_stage_name, cucs_license_peer_status, cucs_license_transfer_state, cucs_license_type, cucs_fsm_flags, cucs_condition_remote_inv_rslt, cucs_license_file_fsm_task_item, cucs_license_downloader_fsm_task_item, cucs_license_file_state) = mibBuilder.importSymbols('CISCO-UNIFIED-COMPUTING-TC-MIB', 'CucsFsmCompletion', 'CucsFsmFsmStageStatus', 'CucsLicenseInstanceFsmCurrentFsm', 'CucsLicenseFeatureType', 'CucsLicenseInstanceFsmTaskItem', 'CucsPolicyPolicyOwner', 'CucsLicenseDownloadActivity', 'CucsLicenseFileFsmStageName', 'CucsLicenseScope', 'CucsLicenseState', 'CucsLicenseFileFsmCurrentFsm', 'CucsLicenseDownloaderFsmCurrentFsm', 'CucsLicenseDownloaderFsmStageName', 'CucsLicenseTransport', 'CucsLicenseInstanceFsmStageName', 'CucsLicensePeerStatus', 'CucsLicenseTransferState', 'CucsLicenseType', 'CucsFsmFlags', 'CucsConditionRemoteInvRslt', 'CucsLicenseFileFsmTaskItem', 'CucsLicenseDownloaderFsmTaskItem', 'CucsLicenseFileState') (inet_address_i_pv6, inet_address_i_pv4) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressIPv6', 'InetAddressIPv4') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (ip_address, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, unsigned32, bits, integer32, counter64, object_identity, time_ticks, mib_identifier, iso, notification_type, gauge32, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Unsigned32', 'Bits', 'Integer32', 'Counter64', 'ObjectIdentity', 'TimeTicks', 'MibIdentifier', 'iso', 'NotificationType', 'Gauge32', 'Counter32') (time_interval, row_pointer, time_stamp, textual_convention, display_string, truth_value, date_and_time, mac_address) = mibBuilder.importSymbols('SNMPv2-TC', 'TimeInterval', 'RowPointer', 'TimeStamp', 'TextualConvention', 'DisplayString', 'TruthValue', 'DateAndTime', 'MacAddress') cucs_license_objects = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25)) if mibBuilder.loadTexts: cucsLicenseObjects.setLastUpdated('201601180000Z') if mibBuilder.loadTexts: cucsLicenseObjects.setOrganization('Cisco Systems Inc.') cucs_license_contents_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1)) if mibBuilder.loadTexts: cucsLicenseContentsTable.setStatus('current') cucs_license_contents_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseContentsInstanceId')) if mibBuilder.loadTexts: cucsLicenseContentsEntry.setStatus('current') cucs_license_contents_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseContentsInstanceId.setStatus('current') cucs_license_contents_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseContentsDn.setStatus('current') cucs_license_contents_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseContentsRn.setStatus('current') cucs_license_contents_feature_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1, 4), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseContentsFeatureName.setStatus('current') cucs_license_contents_total_quant = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseContentsTotalQuant.setStatus('current') cucs_license_contents_vendor = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseContentsVendor.setStatus('current') cucs_license_contents_version = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 1, 1, 7), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseContentsVersion.setStatus('current') cucs_license_downloader_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2)) if mibBuilder.loadTexts: cucsLicenseDownloaderTable.setStatus('current') cucs_license_downloader_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseDownloaderInstanceId')) if mibBuilder.loadTexts: cucsLicenseDownloaderEntry.setStatus('current') cucs_license_downloader_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseDownloaderInstanceId.setStatus('current') cucs_license_downloader_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderDn.setStatus('current') cucs_license_downloader_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderRn.setStatus('current') cucs_license_downloader_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 4), cucs_license_download_activity()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderAdminState.setStatus('current') cucs_license_downloader_file_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 5), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFileName.setStatus('current') cucs_license_downloader_fsm_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmDescr.setStatus('current') cucs_license_downloader_fsm_prev = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 7), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmPrev.setStatus('current') cucs_license_downloader_fsm_progr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmProgr.setStatus('current') cucs_license_downloader_fsm_rmt_inv_err_code = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmRmtInvErrCode.setStatus('current') cucs_license_downloader_fsm_rmt_inv_err_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 10), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmRmtInvErrDescr.setStatus('current') cucs_license_downloader_fsm_rmt_inv_rslt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 11), cucs_condition_remote_inv_rslt()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmRmtInvRslt.setStatus('current') cucs_license_downloader_fsm_stage_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 12), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageDescr.setStatus('current') cucs_license_downloader_fsm_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 13), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStamp.setStatus('current') cucs_license_downloader_fsm_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 14), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStatus.setStatus('current') cucs_license_downloader_fsm_try = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 15), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTry.setStatus('current') cucs_license_downloader_prot = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 16), cucs_license_transport()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderProt.setStatus('current') cucs_license_downloader_pwd = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 17), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderPwd.setStatus('current') cucs_license_downloader_remote_path = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 18), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderRemotePath.setStatus('current') cucs_license_downloader_server = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 19), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderServer.setStatus('current') cucs_license_downloader_transfer_state = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 20), cucs_license_transfer_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderTransferState.setStatus('current') cucs_license_downloader_user = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 2, 1, 21), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderUser.setStatus('current') cucs_license_downloader_fsm_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16)) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTable.setStatus('current') cucs_license_downloader_fsm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseDownloaderFsmInstanceId')) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmEntry.setStatus('current') cucs_license_downloader_fsm_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmInstanceId.setStatus('current') cucs_license_downloader_fsm_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmDn.setStatus('current') cucs_license_downloader_fsm_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmRn.setStatus('current') cucs_license_downloader_fsm_completion_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 4), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmCompletionTime.setStatus('current') cucs_license_downloader_fsm_current_fsm = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 5), cucs_license_downloader_fsm_current_fsm()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmCurrentFsm.setStatus('current') cucs_license_downloader_fsm_descr_data = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmDescrData.setStatus('current') cucs_license_downloader_fsm_fsm_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 7), cucs_fsm_fsm_stage_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmFsmStatus.setStatus('current') cucs_license_downloader_fsm_progress = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmProgress.setStatus('current') cucs_license_downloader_fsm_rmt_err_code = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmRmtErrCode.setStatus('current') cucs_license_downloader_fsm_rmt_err_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 10), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmRmtErrDescr.setStatus('current') cucs_license_downloader_fsm_rmt_rslt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 16, 1, 11), cucs_condition_remote_inv_rslt()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmRmtRslt.setStatus('current') cucs_license_downloader_fsm_stage_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17)) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageTable.setStatus('current') cucs_license_downloader_fsm_stage_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseDownloaderFsmStageInstanceId')) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageEntry.setStatus('current') cucs_license_downloader_fsm_stage_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageInstanceId.setStatus('current') cucs_license_downloader_fsm_stage_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageDn.setStatus('current') cucs_license_downloader_fsm_stage_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageRn.setStatus('current') cucs_license_downloader_fsm_stage_descr_data = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 4), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageDescrData.setStatus('current') cucs_license_downloader_fsm_stage_last_update_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 5), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageLastUpdateTime.setStatus('current') cucs_license_downloader_fsm_stage_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 6), cucs_license_downloader_fsm_stage_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageName.setStatus('current') cucs_license_downloader_fsm_stage_order = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageOrder.setStatus('current') cucs_license_downloader_fsm_stage_retry = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageRetry.setStatus('current') cucs_license_downloader_fsm_stage_stage_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 17, 1, 9), cucs_fsm_fsm_stage_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmStageStageStatus.setStatus('current') cucs_license_downloader_fsm_task_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3)) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskTable.setStatus('current') cucs_license_downloader_fsm_task_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseDownloaderFsmTaskInstanceId')) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskEntry.setStatus('current') cucs_license_downloader_fsm_task_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskInstanceId.setStatus('current') cucs_license_downloader_fsm_task_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskDn.setStatus('current') cucs_license_downloader_fsm_task_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskRn.setStatus('current') cucs_license_downloader_fsm_task_completion = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1, 4), cucs_fsm_completion()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskCompletion.setStatus('current') cucs_license_downloader_fsm_task_flags = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1, 5), cucs_fsm_flags()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskFlags.setStatus('current') cucs_license_downloader_fsm_task_item = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1, 6), cucs_license_downloader_fsm_task_item()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskItem.setStatus('current') cucs_license_downloader_fsm_task_seq_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 3, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseDownloaderFsmTaskSeqId.setStatus('current') cucs_license_ep_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 4)) if mibBuilder.loadTexts: cucsLicenseEpTable.setStatus('current') cucs_license_ep_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 4, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseEpInstanceId')) if mibBuilder.loadTexts: cucsLicenseEpEntry.setStatus('current') cucs_license_ep_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 4, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseEpInstanceId.setStatus('current') cucs_license_ep_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 4, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseEpDn.setStatus('current') cucs_license_ep_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 4, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseEpRn.setStatus('current') cucs_license_feature_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5)) if mibBuilder.loadTexts: cucsLicenseFeatureTable.setStatus('current') cucs_license_feature_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseFeatureInstanceId')) if mibBuilder.loadTexts: cucsLicenseFeatureEntry.setStatus('current') cucs_license_feature_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseFeatureInstanceId.setStatus('current') cucs_license_feature_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureDn.setStatus('current') cucs_license_feature_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureRn.setStatus('current') cucs_license_feature_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 4), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureDescr.setStatus('current') cucs_license_feature_grace_period = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 5), unsigned64()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureGracePeriod.setStatus('current') cucs_license_feature_int_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureIntId.setStatus('current') cucs_license_feature_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 7), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureName.setStatus('current') cucs_license_feature_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 8), cucs_license_feature_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureType.setStatus('current') cucs_license_feature_vendor = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 9), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureVendor.setStatus('current') cucs_license_feature_version = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 10), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureVersion.setStatus('current') cucs_license_feature_policy_level = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 11), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeaturePolicyLevel.setStatus('current') cucs_license_feature_policy_owner = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 5, 1, 12), cucs_policy_policy_owner()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeaturePolicyOwner.setStatus('current') cucs_license_feature_cap_provider_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6)) if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderTable.setStatus('current') cucs_license_feature_cap_provider_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseFeatureCapProviderInstanceId')) if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderEntry.setStatus('current') cucs_license_feature_cap_provider_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderInstanceId.setStatus('current') cucs_license_feature_cap_provider_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderDn.setStatus('current') cucs_license_feature_cap_provider_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderRn.setStatus('current') cucs_license_feature_cap_provider_def_quant = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderDefQuant.setStatus('current') cucs_license_feature_cap_provider_deprecated = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 5), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderDeprecated.setStatus('current') cucs_license_feature_cap_provider_feature_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderFeatureName.setStatus('current') cucs_license_feature_cap_provider_gencount = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderGencount.setStatus('current') cucs_license_feature_cap_provider_grace_period = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 8), unsigned64()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderGracePeriod.setStatus('current') cucs_license_feature_cap_provider_lic_vendor = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 9), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderLicVendor.setStatus('current') cucs_license_feature_cap_provider_lic_version = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 10), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderLicVersion.setStatus('current') cucs_license_feature_cap_provider_mgmt_plane_ver = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 11), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderMgmtPlaneVer.setStatus('current') cucs_license_feature_cap_provider_model = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 12), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderModel.setStatus('current') cucs_license_feature_cap_provider_revision = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 13), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderRevision.setStatus('current') cucs_license_feature_cap_provider_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 14), cucs_license_feature_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderType.setStatus('current') cucs_license_feature_cap_provider_vendor = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 15), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderVendor.setStatus('current') cucs_license_feature_cap_provider_deleted = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 16), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderDeleted.setStatus('current') cucs_license_feature_cap_provider_sku = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 17), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderSku.setStatus('current') cucs_license_feature_cap_provider_element_load_failures = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 18), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderElementLoadFailures.setStatus('current') cucs_license_feature_cap_provider_elements_loaded = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 19), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderElementsLoaded.setStatus('current') cucs_license_feature_cap_provider_load_errors = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 20), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderLoadErrors.setStatus('current') cucs_license_feature_cap_provider_load_warnings = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 6, 1, 21), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureCapProviderLoadWarnings.setStatus('current') cucs_license_feature_line_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7)) if mibBuilder.loadTexts: cucsLicenseFeatureLineTable.setStatus('current') cucs_license_feature_line_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseFeatureLineInstanceId')) if mibBuilder.loadTexts: cucsLicenseFeatureLineEntry.setStatus('current') cucs_license_feature_line_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseFeatureLineInstanceId.setStatus('current') cucs_license_feature_line_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureLineDn.setStatus('current') cucs_license_feature_line_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureLineRn.setStatus('current') cucs_license_feature_line_exp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 4), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureLineExp.setStatus('current') cucs_license_feature_line_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 5), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureLineId.setStatus('current') cucs_license_feature_line_pak = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureLinePak.setStatus('current') cucs_license_feature_line_quant = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureLineQuant.setStatus('current') cucs_license_feature_line_sig = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 8), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureLineSig.setStatus('current') cucs_license_feature_line_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 9), cucs_license_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureLineType.setStatus('current') cucs_license_feature_line_sku = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 7, 1, 10), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFeatureLineSku.setStatus('current') cucs_license_file_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8)) if mibBuilder.loadTexts: cucsLicenseFileTable.setStatus('current') cucs_license_file_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseFileInstanceId')) if mibBuilder.loadTexts: cucsLicenseFileEntry.setStatus('current') cucs_license_file_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseFileInstanceId.setStatus('current') cucs_license_file_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileDn.setStatus('current') cucs_license_file_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileRn.setStatus('current') cucs_license_file_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 4), cucs_license_file_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileAdminState.setStatus('current') cucs_license_file_fsm_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 5), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmDescr.setStatus('current') cucs_license_file_fsm_prev = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmPrev.setStatus('current') cucs_license_file_fsm_progr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmProgr.setStatus('current') cucs_license_file_fsm_rmt_inv_err_code = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmRmtInvErrCode.setStatus('current') cucs_license_file_fsm_rmt_inv_err_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 9), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmRmtInvErrDescr.setStatus('current') cucs_license_file_fsm_rmt_inv_rslt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 10), cucs_condition_remote_inv_rslt()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmRmtInvRslt.setStatus('current') cucs_license_file_fsm_stage_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 11), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmStageDescr.setStatus('current') cucs_license_file_fsm_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 12), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmStamp.setStatus('current') cucs_license_file_fsm_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 13), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmStatus.setStatus('current') cucs_license_file_fsm_try = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 14), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmTry.setStatus('current') cucs_license_file_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 15), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileId.setStatus('current') cucs_license_file_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 16), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileName.setStatus('current') cucs_license_file_oper_state = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 17), cucs_license_file_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileOperState.setStatus('current') cucs_license_file_oper_state_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 18), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileOperStateDescr.setStatus('current') cucs_license_file_scope = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 19), cucs_license_scope()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileScope.setStatus('current') cucs_license_file_version = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 8, 1, 20), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileVersion.setStatus('current') cucs_license_file_fsm_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18)) if mibBuilder.loadTexts: cucsLicenseFileFsmTable.setStatus('current') cucs_license_file_fsm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseFileFsmInstanceId')) if mibBuilder.loadTexts: cucsLicenseFileFsmEntry.setStatus('current') cucs_license_file_fsm_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseFileFsmInstanceId.setStatus('current') cucs_license_file_fsm_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmDn.setStatus('current') cucs_license_file_fsm_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmRn.setStatus('current') cucs_license_file_fsm_completion_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 4), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmCompletionTime.setStatus('current') cucs_license_file_fsm_current_fsm = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 5), cucs_license_file_fsm_current_fsm()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmCurrentFsm.setStatus('current') cucs_license_file_fsm_descr_data = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmDescrData.setStatus('current') cucs_license_file_fsm_fsm_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 7), cucs_fsm_fsm_stage_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmFsmStatus.setStatus('current') cucs_license_file_fsm_progress = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmProgress.setStatus('current') cucs_license_file_fsm_rmt_err_code = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmRmtErrCode.setStatus('current') cucs_license_file_fsm_rmt_err_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 10), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmRmtErrDescr.setStatus('current') cucs_license_file_fsm_rmt_rslt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 18, 1, 11), cucs_condition_remote_inv_rslt()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmRmtRslt.setStatus('current') cucs_license_file_fsm_stage_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19)) if mibBuilder.loadTexts: cucsLicenseFileFsmStageTable.setStatus('current') cucs_license_file_fsm_stage_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseFileFsmStageInstanceId')) if mibBuilder.loadTexts: cucsLicenseFileFsmStageEntry.setStatus('current') cucs_license_file_fsm_stage_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseFileFsmStageInstanceId.setStatus('current') cucs_license_file_fsm_stage_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmStageDn.setStatus('current') cucs_license_file_fsm_stage_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmStageRn.setStatus('current') cucs_license_file_fsm_stage_descr_data = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 4), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmStageDescrData.setStatus('current') cucs_license_file_fsm_stage_last_update_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 5), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmStageLastUpdateTime.setStatus('current') cucs_license_file_fsm_stage_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 6), cucs_license_file_fsm_stage_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmStageName.setStatus('current') cucs_license_file_fsm_stage_order = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmStageOrder.setStatus('current') cucs_license_file_fsm_stage_retry = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmStageRetry.setStatus('current') cucs_license_file_fsm_stage_stage_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 19, 1, 9), cucs_fsm_fsm_stage_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmStageStageStatus.setStatus('current') cucs_license_file_fsm_task_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9)) if mibBuilder.loadTexts: cucsLicenseFileFsmTaskTable.setStatus('current') cucs_license_file_fsm_task_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseFileFsmTaskInstanceId')) if mibBuilder.loadTexts: cucsLicenseFileFsmTaskEntry.setStatus('current') cucs_license_file_fsm_task_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseFileFsmTaskInstanceId.setStatus('current') cucs_license_file_fsm_task_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmTaskDn.setStatus('current') cucs_license_file_fsm_task_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmTaskRn.setStatus('current') cucs_license_file_fsm_task_completion = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1, 4), cucs_fsm_completion()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmTaskCompletion.setStatus('current') cucs_license_file_fsm_task_flags = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1, 5), cucs_fsm_flags()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmTaskFlags.setStatus('current') cucs_license_file_fsm_task_item = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1, 6), cucs_license_file_fsm_task_item()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmTaskItem.setStatus('current') cucs_license_file_fsm_task_seq_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 9, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseFileFsmTaskSeqId.setStatus('current') cucs_license_instance_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10)) if mibBuilder.loadTexts: cucsLicenseInstanceTable.setStatus('current') cucs_license_instance_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseInstanceInstanceId')) if mibBuilder.loadTexts: cucsLicenseInstanceEntry.setStatus('current') cucs_license_instance_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseInstanceInstanceId.setStatus('current') cucs_license_instance_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceDn.setStatus('current') cucs_license_instance_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceRn.setStatus('current') cucs_license_instance_abs_quant = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceAbsQuant.setStatus('current') cucs_license_instance_def_quant = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceDefQuant.setStatus('current') cucs_license_instance_feature = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFeature.setStatus('current') cucs_license_instance_fsm_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 7), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmDescr.setStatus('current') cucs_license_instance_fsm_prev = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 8), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmPrev.setStatus('current') cucs_license_instance_fsm_progr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmProgr.setStatus('current') cucs_license_instance_fsm_rmt_inv_err_code = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 10), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmRmtInvErrCode.setStatus('current') cucs_license_instance_fsm_rmt_inv_err_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 11), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmRmtInvErrDescr.setStatus('current') cucs_license_instance_fsm_rmt_inv_rslt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 12), cucs_condition_remote_inv_rslt()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmRmtInvRslt.setStatus('current') cucs_license_instance_fsm_stage_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 13), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageDescr.setStatus('current') cucs_license_instance_fsm_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 14), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmStamp.setStatus('current') cucs_license_instance_fsm_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 15), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmStatus.setStatus('current') cucs_license_instance_fsm_try = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 16), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmTry.setStatus('current') cucs_license_instance_grace_period_used = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 17), unsigned64()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceGracePeriodUsed.setStatus('current') cucs_license_instance_oper_state = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 18), cucs_license_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceOperState.setStatus('current') cucs_license_instance_peer_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 19), cucs_license_peer_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstancePeerStatus.setStatus('current') cucs_license_instance_scope = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 20), cucs_license_scope()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceScope.setStatus('current') cucs_license_instance_used_quant = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 21), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceUsedQuant.setStatus('current') cucs_license_instance_is_present = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 22), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceIsPresent.setStatus('current') cucs_license_instance_sku = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 23), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceSku.setStatus('current') cucs_license_instance_subordinate_used_quant = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 10, 1, 24), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceSubordinateUsedQuant.setStatus('current') cucs_license_instance_fsm_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20)) if mibBuilder.loadTexts: cucsLicenseInstanceFsmTable.setStatus('current') cucs_license_instance_fsm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseInstanceFsmInstanceId')) if mibBuilder.loadTexts: cucsLicenseInstanceFsmEntry.setStatus('current') cucs_license_instance_fsm_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseInstanceFsmInstanceId.setStatus('current') cucs_license_instance_fsm_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmDn.setStatus('current') cucs_license_instance_fsm_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmRn.setStatus('current') cucs_license_instance_fsm_completion_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 4), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmCompletionTime.setStatus('current') cucs_license_instance_fsm_current_fsm = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 5), cucs_license_instance_fsm_current_fsm()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmCurrentFsm.setStatus('current') cucs_license_instance_fsm_descr_data = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmDescrData.setStatus('current') cucs_license_instance_fsm_fsm_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 7), cucs_fsm_fsm_stage_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmFsmStatus.setStatus('current') cucs_license_instance_fsm_progress = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmProgress.setStatus('current') cucs_license_instance_fsm_rmt_err_code = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmRmtErrCode.setStatus('current') cucs_license_instance_fsm_rmt_err_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 10), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmRmtErrDescr.setStatus('current') cucs_license_instance_fsm_rmt_rslt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 20, 1, 11), cucs_condition_remote_inv_rslt()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmRmtRslt.setStatus('current') cucs_license_instance_fsm_stage_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21)) if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageTable.setStatus('current') cucs_license_instance_fsm_stage_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseInstanceFsmStageInstanceId')) if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageEntry.setStatus('current') cucs_license_instance_fsm_stage_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageInstanceId.setStatus('current') cucs_license_instance_fsm_stage_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageDn.setStatus('current') cucs_license_instance_fsm_stage_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageRn.setStatus('current') cucs_license_instance_fsm_stage_descr_data = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 4), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageDescrData.setStatus('current') cucs_license_instance_fsm_stage_last_update_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 5), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageLastUpdateTime.setStatus('current') cucs_license_instance_fsm_stage_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 6), cucs_license_instance_fsm_stage_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageName.setStatus('current') cucs_license_instance_fsm_stage_order = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageOrder.setStatus('current') cucs_license_instance_fsm_stage_retry = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageRetry.setStatus('current') cucs_license_instance_fsm_stage_stage_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 21, 1, 9), cucs_fsm_fsm_stage_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmStageStageStatus.setStatus('current') cucs_license_instance_fsm_task_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11)) if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskTable.setStatus('current') cucs_license_instance_fsm_task_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseInstanceFsmTaskInstanceId')) if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskEntry.setStatus('current') cucs_license_instance_fsm_task_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskInstanceId.setStatus('current') cucs_license_instance_fsm_task_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskDn.setStatus('current') cucs_license_instance_fsm_task_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskRn.setStatus('current') cucs_license_instance_fsm_task_completion = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1, 4), cucs_fsm_completion()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskCompletion.setStatus('current') cucs_license_instance_fsm_task_flags = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1, 5), cucs_fsm_flags()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskFlags.setStatus('current') cucs_license_instance_fsm_task_item = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1, 6), cucs_license_instance_fsm_task_item()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskItem.setStatus('current') cucs_license_instance_fsm_task_seq_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 11, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseInstanceFsmTaskSeqId.setStatus('current') cucs_license_prop_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 12)) if mibBuilder.loadTexts: cucsLicensePropTable.setStatus('current') cucs_license_prop_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 12, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicensePropInstanceId')) if mibBuilder.loadTexts: cucsLicensePropEntry.setStatus('current') cucs_license_prop_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 12, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicensePropInstanceId.setStatus('current') cucs_license_prop_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 12, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicensePropDn.setStatus('current') cucs_license_prop_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 12, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicensePropRn.setStatus('current') cucs_license_prop_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 12, 1, 4), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicensePropName.setStatus('current') cucs_license_prop_value = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 12, 1, 5), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicensePropValue.setStatus('current') cucs_license_server_host_id_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 13)) if mibBuilder.loadTexts: cucsLicenseServerHostIdTable.setStatus('current') cucs_license_server_host_id_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 13, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseServerHostIdInstanceId')) if mibBuilder.loadTexts: cucsLicenseServerHostIdEntry.setStatus('current') cucs_license_server_host_id_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 13, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseServerHostIdInstanceId.setStatus('current') cucs_license_server_host_id_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 13, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseServerHostIdDn.setStatus('current') cucs_license_server_host_id_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 13, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseServerHostIdRn.setStatus('current') cucs_license_server_host_id_host_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 13, 1, 4), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseServerHostIdHostId.setStatus('current') cucs_license_server_host_id_scope = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 13, 1, 5), cucs_license_scope()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseServerHostIdScope.setStatus('current') cucs_license_source_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14)) if mibBuilder.loadTexts: cucsLicenseSourceTable.setStatus('current') cucs_license_source_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseSourceInstanceId')) if mibBuilder.loadTexts: cucsLicenseSourceEntry.setStatus('current') cucs_license_source_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseSourceInstanceId.setStatus('current') cucs_license_source_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceDn.setStatus('current') cucs_license_source_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceRn.setStatus('current') cucs_license_source_always_use = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 4), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceAlwaysUse.setStatus('current') cucs_license_source_host_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 5), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceHostId.setStatus('current') cucs_license_source_host_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceHostName.setStatus('current') cucs_license_source_vendor_daemon_path = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 7), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceVendorDaemonPath.setStatus('current') cucs_license_source_sku = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 14, 1, 8), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceSku.setStatus('current') cucs_license_source_file_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15)) if mibBuilder.loadTexts: cucsLicenseSourceFileTable.setStatus('current') cucs_license_source_file_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseSourceFileInstanceId')) if mibBuilder.loadTexts: cucsLicenseSourceFileEntry.setStatus('current') cucs_license_source_file_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseSourceFileInstanceId.setStatus('current') cucs_license_source_file_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceFileDn.setStatus('current') cucs_license_source_file_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceFileRn.setStatus('current') cucs_license_source_file_exp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 4), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceFileExp.setStatus('current') cucs_license_source_file_host_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 5), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceFileHostId.setStatus('current') cucs_license_source_file_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceFileId.setStatus('current') cucs_license_source_file_line = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 7), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceFileLine.setStatus('current') cucs_license_source_file_pak = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 8), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceFilePak.setStatus('current') cucs_license_source_file_quant = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceFileQuant.setStatus('current') cucs_license_source_file_sig = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 10), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceFileSig.setStatus('current') cucs_license_source_file_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 15, 1, 11), cucs_license_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseSourceFileType.setStatus('current') cucs_license_target_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22)) if mibBuilder.loadTexts: cucsLicenseTargetTable.setStatus('current') cucs_license_target_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-LICENSE-MIB', 'cucsLicenseTargetInstanceId')) if mibBuilder.loadTexts: cucsLicenseTargetEntry.setStatus('current') cucs_license_target_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1, 1), cucs_managed_object_id()) if mibBuilder.loadTexts: cucsLicenseTargetInstanceId.setStatus('current') cucs_license_target_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseTargetDn.setStatus('current') cucs_license_target_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseTargetRn.setStatus('current') cucs_license_target_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseTargetPortId.setStatus('current') cucs_license_target_slot_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseTargetSlotId.setStatus('current') cucs_license_target_is_rack_present = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseTargetIsRackPresent.setStatus('current') cucs_license_target_aggr_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 25, 22, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cucsLicenseTargetAggrPortId.setStatus('current') mibBuilder.exportSymbols('CISCO-UNIFIED-COMPUTING-LICENSE-MIB', cucsLicenseInstanceFsmCompletionTime=cucsLicenseInstanceFsmCompletionTime, cucsLicenseFeatureLineTable=cucsLicenseFeatureLineTable, cucsLicenseContentsRn=cucsLicenseContentsRn, cucsLicenseInstanceFsmPrev=cucsLicenseInstanceFsmPrev, cucsLicenseFeatureCapProviderLicVersion=cucsLicenseFeatureCapProviderLicVersion, cucsLicenseFileOperState=cucsLicenseFileOperState, cucsLicenseFileFsmDn=cucsLicenseFileFsmDn, cucsLicenseInstanceFsmRmtRslt=cucsLicenseInstanceFsmRmtRslt, cucsLicenseDownloaderFsmProgr=cucsLicenseDownloaderFsmProgr, cucsLicenseDownloaderFsmStageRn=cucsLicenseDownloaderFsmStageRn, cucsLicenseInstanceFsmStageDn=cucsLicenseInstanceFsmStageDn, cucsLicenseFeatureIntId=cucsLicenseFeatureIntId, cucsLicenseSourceVendorDaemonPath=cucsLicenseSourceVendorDaemonPath, cucsLicenseFeatureLineInstanceId=cucsLicenseFeatureLineInstanceId, cucsLicenseTargetIsRackPresent=cucsLicenseTargetIsRackPresent, cucsLicenseFeatureCapProviderGracePeriod=cucsLicenseFeatureCapProviderGracePeriod, cucsLicenseDownloaderFsmRmtErrDescr=cucsLicenseDownloaderFsmRmtErrDescr, cucsLicenseInstanceFsmStatus=cucsLicenseInstanceFsmStatus, cucsLicenseInstanceFsmFsmStatus=cucsLicenseInstanceFsmFsmStatus, cucsLicenseFeatureCapProviderLicVendor=cucsLicenseFeatureCapProviderLicVendor, cucsLicenseObjects=cucsLicenseObjects, cucsLicenseFeatureLineEntry=cucsLicenseFeatureLineEntry, cucsLicenseInstancePeerStatus=cucsLicenseInstancePeerStatus, cucsLicenseDownloaderFsmStageDn=cucsLicenseDownloaderFsmStageDn, cucsLicenseInstanceAbsQuant=cucsLicenseInstanceAbsQuant, cucsLicenseEpRn=cucsLicenseEpRn, cucsLicenseSourceEntry=cucsLicenseSourceEntry, cucsLicenseContentsFeatureName=cucsLicenseContentsFeatureName, cucsLicenseFileFsmStageDescr=cucsLicenseFileFsmStageDescr, cucsLicenseDownloaderFileName=cucsLicenseDownloaderFileName, cucsLicenseDownloaderFsmTaskTable=cucsLicenseDownloaderFsmTaskTable, cucsLicenseFileFsmProgr=cucsLicenseFileFsmProgr, cucsLicenseFileFsmStageEntry=cucsLicenseFileFsmStageEntry, cucsLicenseFileEntry=cucsLicenseFileEntry, cucsLicenseDownloaderFsmDescr=cucsLicenseDownloaderFsmDescr, cucsLicenseFeatureCapProviderElementsLoaded=cucsLicenseFeatureCapProviderElementsLoaded, cucsLicenseFeaturePolicyOwner=cucsLicenseFeaturePolicyOwner, cucsLicenseInstanceScope=cucsLicenseInstanceScope, cucsLicenseInstanceFsmTaskRn=cucsLicenseInstanceFsmTaskRn, cucsLicenseEpEntry=cucsLicenseEpEntry, cucsLicenseFeatureLineExp=cucsLicenseFeatureLineExp, cucsLicenseFeatureCapProviderSku=cucsLicenseFeatureCapProviderSku, cucsLicenseFileFsmStatus=cucsLicenseFileFsmStatus, cucsLicenseFileFsmStageRn=cucsLicenseFileFsmStageRn, cucsLicenseDownloaderPwd=cucsLicenseDownloaderPwd, cucsLicenseFeatureDn=cucsLicenseFeatureDn, cucsLicenseContentsInstanceId=cucsLicenseContentsInstanceId, PYSNMP_MODULE_ID=cucsLicenseObjects, cucsLicenseServerHostIdEntry=cucsLicenseServerHostIdEntry, cucsLicenseFeatureCapProviderFeatureName=cucsLicenseFeatureCapProviderFeatureName, cucsLicenseDownloaderFsmTaskEntry=cucsLicenseDownloaderFsmTaskEntry, cucsLicenseInstanceFsmTaskSeqId=cucsLicenseInstanceFsmTaskSeqId, cucsLicenseDownloaderFsmDn=cucsLicenseDownloaderFsmDn, cucsLicenseFileVersion=cucsLicenseFileVersion, cucsLicenseInstanceFsmDn=cucsLicenseInstanceFsmDn, cucsLicenseDownloaderFsmRmtRslt=cucsLicenseDownloaderFsmRmtRslt, cucsLicenseSourceHostName=cucsLicenseSourceHostName, cucsLicenseDownloaderFsmCurrentFsm=cucsLicenseDownloaderFsmCurrentFsm, cucsLicenseSourceFilePak=cucsLicenseSourceFilePak, cucsLicenseInstanceEntry=cucsLicenseInstanceEntry, cucsLicenseDownloaderAdminState=cucsLicenseDownloaderAdminState, cucsLicenseFileTable=cucsLicenseFileTable, cucsLicenseSourceTable=cucsLicenseSourceTable, cucsLicenseSourceFileTable=cucsLicenseSourceFileTable, cucsLicenseInstanceFsmRmtInvErrDescr=cucsLicenseInstanceFsmRmtInvErrDescr, cucsLicenseFileFsmStageTable=cucsLicenseFileFsmStageTable, cucsLicenseDownloaderRn=cucsLicenseDownloaderRn, cucsLicenseFeatureCapProviderLoadWarnings=cucsLicenseFeatureCapProviderLoadWarnings, cucsLicenseFeatureLineType=cucsLicenseFeatureLineType, cucsLicenseFileFsmPrev=cucsLicenseFileFsmPrev, cucsLicenseDownloaderDn=cucsLicenseDownloaderDn, cucsLicenseServerHostIdScope=cucsLicenseServerHostIdScope, cucsLicenseInstanceOperState=cucsLicenseInstanceOperState, cucsLicenseFeatureLineDn=cucsLicenseFeatureLineDn, cucsLicenseInstanceFsmStageLastUpdateTime=cucsLicenseInstanceFsmStageLastUpdateTime, cucsLicenseDownloaderFsmRmtInvErrCode=cucsLicenseDownloaderFsmRmtInvErrCode, cucsLicenseInstanceFsmTaskCompletion=cucsLicenseInstanceFsmTaskCompletion, cucsLicenseFileFsmStageInstanceId=cucsLicenseFileFsmStageInstanceId, cucsLicenseFileDn=cucsLicenseFileDn, cucsLicenseFileFsmStageOrder=cucsLicenseFileFsmStageOrder, cucsLicenseSourceFileDn=cucsLicenseSourceFileDn, cucsLicenseFileFsmTaskEntry=cucsLicenseFileFsmTaskEntry, cucsLicenseDownloaderTransferState=cucsLicenseDownloaderTransferState, cucsLicenseServerHostIdTable=cucsLicenseServerHostIdTable, cucsLicenseInstanceSku=cucsLicenseInstanceSku, cucsLicenseDownloaderFsmRn=cucsLicenseDownloaderFsmRn, cucsLicenseDownloaderProt=cucsLicenseDownloaderProt, cucsLicenseDownloaderFsmCompletionTime=cucsLicenseDownloaderFsmCompletionTime, cucsLicenseInstanceFeature=cucsLicenseInstanceFeature, cucsLicenseSourceFileId=cucsLicenseSourceFileId, cucsLicenseDownloaderFsmTaskCompletion=cucsLicenseDownloaderFsmTaskCompletion, cucsLicenseDownloaderFsmStageDescrData=cucsLicenseDownloaderFsmStageDescrData, cucsLicenseInstanceFsmStageDescr=cucsLicenseInstanceFsmStageDescr, cucsLicenseInstanceFsmRmtErrDescr=cucsLicenseInstanceFsmRmtErrDescr, cucsLicenseInstanceFsmTable=cucsLicenseInstanceFsmTable, cucsLicenseInstanceFsmDescr=cucsLicenseInstanceFsmDescr, cucsLicenseFileFsmProgress=cucsLicenseFileFsmProgress, cucsLicenseFeatureCapProviderVendor=cucsLicenseFeatureCapProviderVendor, cucsLicenseFeatureLineSku=cucsLicenseFeatureLineSku, cucsLicensePropTable=cucsLicensePropTable, cucsLicenseTargetSlotId=cucsLicenseTargetSlotId, cucsLicenseFileOperStateDescr=cucsLicenseFileOperStateDescr, cucsLicenseInstanceFsmTaskEntry=cucsLicenseInstanceFsmTaskEntry, cucsLicenseDownloaderFsmTaskInstanceId=cucsLicenseDownloaderFsmTaskInstanceId, cucsLicenseInstanceFsmStageRetry=cucsLicenseInstanceFsmStageRetry, cucsLicenseFeatureTable=cucsLicenseFeatureTable, cucsLicenseContentsVendor=cucsLicenseContentsVendor, cucsLicenseInstanceFsmStageTable=cucsLicenseInstanceFsmStageTable, cucsLicenseTargetAggrPortId=cucsLicenseTargetAggrPortId, cucsLicenseContentsTotalQuant=cucsLicenseContentsTotalQuant, cucsLicenseFileFsmCurrentFsm=cucsLicenseFileFsmCurrentFsm, cucsLicenseInstanceFsmStageName=cucsLicenseInstanceFsmStageName, cucsLicenseFileFsmStageStageStatus=cucsLicenseFileFsmStageStageStatus, cucsLicenseFileFsmEntry=cucsLicenseFileFsmEntry, cucsLicenseEpDn=cucsLicenseEpDn, cucsLicenseInstanceGracePeriodUsed=cucsLicenseInstanceGracePeriodUsed, cucsLicenseInstanceFsmTaskDn=cucsLicenseInstanceFsmTaskDn, cucsLicenseFileFsmTaskTable=cucsLicenseFileFsmTaskTable, cucsLicensePropDn=cucsLicensePropDn, cucsLicenseFeatureRn=cucsLicenseFeatureRn, cucsLicenseInstanceFsmRmtInvRslt=cucsLicenseInstanceFsmRmtInvRslt, cucsLicenseSourceFileLine=cucsLicenseSourceFileLine, cucsLicenseFeatureLineRn=cucsLicenseFeatureLineRn, cucsLicenseInstanceFsmStageDescrData=cucsLicenseInstanceFsmStageDescrData, cucsLicenseFeatureVendor=cucsLicenseFeatureVendor, cucsLicenseFeatureCapProviderEntry=cucsLicenseFeatureCapProviderEntry, cucsLicenseInstanceDn=cucsLicenseInstanceDn, cucsLicenseDownloaderFsmTaskRn=cucsLicenseDownloaderFsmTaskRn, cucsLicenseFeatureType=cucsLicenseFeatureType, cucsLicenseDownloaderFsmStageStageStatus=cucsLicenseDownloaderFsmStageStageStatus, cucsLicenseInstanceFsmProgress=cucsLicenseInstanceFsmProgress, cucsLicenseFileName=cucsLicenseFileName, cucsLicenseInstanceFsmTaskItem=cucsLicenseInstanceFsmTaskItem, cucsLicenseInstanceFsmTaskInstanceId=cucsLicenseInstanceFsmTaskInstanceId, cucsLicenseFeatureCapProviderDeprecated=cucsLicenseFeatureCapProviderDeprecated, cucsLicenseFeatureCapProviderModel=cucsLicenseFeatureCapProviderModel, cucsLicensePropRn=cucsLicensePropRn, cucsLicenseDownloaderFsmTaskSeqId=cucsLicenseDownloaderFsmTaskSeqId, cucsLicenseSourceFileEntry=cucsLicenseSourceFileEntry, cucsLicenseSourceFileSig=cucsLicenseSourceFileSig, cucsLicenseSourceRn=cucsLicenseSourceRn, cucsLicenseInstanceFsmTaskTable=cucsLicenseInstanceFsmTaskTable, cucsLicenseFileFsmRmtErrCode=cucsLicenseFileFsmRmtErrCode, cucsLicenseInstanceTable=cucsLicenseInstanceTable, cucsLicenseFeatureLineSig=cucsLicenseFeatureLineSig, cucsLicenseDownloaderFsmStageEntry=cucsLicenseDownloaderFsmStageEntry, cucsLicenseFileFsmRmtErrDescr=cucsLicenseFileFsmRmtErrDescr, cucsLicenseFileFsmTaskDn=cucsLicenseFileFsmTaskDn, cucsLicenseInstanceInstanceId=cucsLicenseInstanceInstanceId, cucsLicenseTargetInstanceId=cucsLicenseTargetInstanceId, cucsLicenseDownloaderUser=cucsLicenseDownloaderUser, cucsLicenseContentsVersion=cucsLicenseContentsVersion, cucsLicenseFileFsmTaskItem=cucsLicenseFileFsmTaskItem, cucsLicenseInstanceFsmTry=cucsLicenseInstanceFsmTry, cucsLicenseDownloaderFsmTable=cucsLicenseDownloaderFsmTable, cucsLicenseContentsEntry=cucsLicenseContentsEntry, cucsLicenseServerHostIdRn=cucsLicenseServerHostIdRn, cucsLicenseFeatureCapProviderInstanceId=cucsLicenseFeatureCapProviderInstanceId, cucsLicenseFeatureCapProviderDefQuant=cucsLicenseFeatureCapProviderDefQuant, cucsLicenseFeatureCapProviderGencount=cucsLicenseFeatureCapProviderGencount, cucsLicenseInstanceFsmInstanceId=cucsLicenseInstanceFsmInstanceId, cucsLicenseSourceFileHostId=cucsLicenseSourceFileHostId, cucsLicenseFileFsmInstanceId=cucsLicenseFileFsmInstanceId, cucsLicenseDownloaderFsmStageName=cucsLicenseDownloaderFsmStageName, cucsLicenseTargetRn=cucsLicenseTargetRn, cucsLicenseDownloaderRemotePath=cucsLicenseDownloaderRemotePath, cucsLicenseFileFsmRn=cucsLicenseFileFsmRn, cucsLicenseInstanceFsmEntry=cucsLicenseInstanceFsmEntry, cucsLicenseDownloaderInstanceId=cucsLicenseDownloaderInstanceId, cucsLicenseFileFsmRmtRslt=cucsLicenseFileFsmRmtRslt, cucsLicensePropValue=cucsLicensePropValue, cucsLicenseFileFsmTaskSeqId=cucsLicenseFileFsmTaskSeqId, cucsLicenseDownloaderFsmStageOrder=cucsLicenseDownloaderFsmStageOrder, cucsLicenseFeatureCapProviderLoadErrors=cucsLicenseFeatureCapProviderLoadErrors, cucsLicenseFileFsmStamp=cucsLicenseFileFsmStamp, cucsLicenseSourceFileQuant=cucsLicenseSourceFileQuant, cucsLicenseFeatureCapProviderDn=cucsLicenseFeatureCapProviderDn, cucsLicenseDownloaderFsmEntry=cucsLicenseDownloaderFsmEntry, cucsLicenseSourceDn=cucsLicenseSourceDn, cucsLicenseDownloaderFsmStamp=cucsLicenseDownloaderFsmStamp, cucsLicenseFeaturePolicyLevel=cucsLicenseFeaturePolicyLevel, cucsLicenseFeatureCapProviderRn=cucsLicenseFeatureCapProviderRn, cucsLicenseEpInstanceId=cucsLicenseEpInstanceId, cucsLicensePropName=cucsLicensePropName, cucsLicenseSourceInstanceId=cucsLicenseSourceInstanceId, cucsLicenseSourceAlwaysUse=cucsLicenseSourceAlwaysUse, cucsLicenseInstanceFsmStageEntry=cucsLicenseInstanceFsmStageEntry, cucsLicenseFeatureCapProviderRevision=cucsLicenseFeatureCapProviderRevision, cucsLicenseFileId=cucsLicenseFileId, cucsLicensePropEntry=cucsLicensePropEntry, cucsLicenseInstanceSubordinateUsedQuant=cucsLicenseInstanceSubordinateUsedQuant, cucsLicenseFeatureVersion=cucsLicenseFeatureVersion, cucsLicenseContentsDn=cucsLicenseContentsDn, cucsLicenseFeatureDescr=cucsLicenseFeatureDescr, cucsLicenseDownloaderTable=cucsLicenseDownloaderTable, cucsLicenseFileFsmDescr=cucsLicenseFileFsmDescr, cucsLicenseFileFsmStageName=cucsLicenseFileFsmStageName, cucsLicenseInstanceFsmProgr=cucsLicenseInstanceFsmProgr, cucsLicenseFeatureEntry=cucsLicenseFeatureEntry, cucsLicenseFileFsmRmtInvErrDescr=cucsLicenseFileFsmRmtInvErrDescr, cucsLicenseInstanceFsmStamp=cucsLicenseInstanceFsmStamp, cucsLicenseInstanceFsmTaskFlags=cucsLicenseInstanceFsmTaskFlags, cucsLicenseDownloaderFsmStatus=cucsLicenseDownloaderFsmStatus, cucsLicenseInstanceFsmStageStageStatus=cucsLicenseInstanceFsmStageStageStatus, cucsLicenseInstanceFsmCurrentFsm=cucsLicenseInstanceFsmCurrentFsm, cucsLicenseContentsTable=cucsLicenseContentsTable, cucsLicenseFileScope=cucsLicenseFileScope, cucsLicenseDownloaderFsmRmtInvErrDescr=cucsLicenseDownloaderFsmRmtInvErrDescr, cucsLicenseInstanceFsmRmtInvErrCode=cucsLicenseInstanceFsmRmtInvErrCode, cucsLicenseFeatureLineQuant=cucsLicenseFeatureLineQuant, cucsLicenseFileFsmTable=cucsLicenseFileFsmTable, cucsLicenseDownloaderFsmStageDescr=cucsLicenseDownloaderFsmStageDescr, cucsLicenseDownloaderServer=cucsLicenseDownloaderServer, cucsLicenseFeatureInstanceId=cucsLicenseFeatureInstanceId, cucsLicenseFeatureCapProviderTable=cucsLicenseFeatureCapProviderTable, cucsLicenseDownloaderEntry=cucsLicenseDownloaderEntry, cucsLicenseDownloaderFsmTaskDn=cucsLicenseDownloaderFsmTaskDn, cucsLicenseFeatureCapProviderMgmtPlaneVer=cucsLicenseFeatureCapProviderMgmtPlaneVer, cucsLicenseInstanceIsPresent=cucsLicenseInstanceIsPresent, cucsLicenseDownloaderFsmStageRetry=cucsLicenseDownloaderFsmStageRetry, cucsLicenseDownloaderFsmStageInstanceId=cucsLicenseDownloaderFsmStageInstanceId, cucsLicenseDownloaderFsmTaskFlags=cucsLicenseDownloaderFsmTaskFlags, cucsLicenseFeatureCapProviderDeleted=cucsLicenseFeatureCapProviderDeleted, cucsLicenseFileAdminState=cucsLicenseFileAdminState, cucsLicenseFileFsmStageLastUpdateTime=cucsLicenseFileFsmStageLastUpdateTime, cucsLicenseFeatureLineId=cucsLicenseFeatureLineId, cucsLicenseDownloaderFsmRmtErrCode=cucsLicenseDownloaderFsmRmtErrCode, cucsLicenseFileRn=cucsLicenseFileRn, cucsLicenseDownloaderFsmRmtInvRslt=cucsLicenseDownloaderFsmRmtInvRslt, cucsLicenseDownloaderFsmPrev=cucsLicenseDownloaderFsmPrev, cucsLicenseDownloaderFsmFsmStatus=cucsLicenseDownloaderFsmFsmStatus, cucsLicenseFeatureCapProviderType=cucsLicenseFeatureCapProviderType, cucsLicenseFeatureCapProviderElementLoadFailures=cucsLicenseFeatureCapProviderElementLoadFailures, cucsLicenseFileFsmStageDn=cucsLicenseFileFsmStageDn, cucsLicenseInstanceUsedQuant=cucsLicenseInstanceUsedQuant, cucsLicenseSourceSku=cucsLicenseSourceSku, cucsLicenseSourceFileType=cucsLicenseSourceFileType, cucsLicenseDownloaderFsmTry=cucsLicenseDownloaderFsmTry, cucsLicenseFileFsmTaskInstanceId=cucsLicenseFileFsmTaskInstanceId, cucsLicenseTargetEntry=cucsLicenseTargetEntry, cucsLicenseInstanceFsmStageOrder=cucsLicenseInstanceFsmStageOrder, cucsLicenseFileFsmTaskRn=cucsLicenseFileFsmTaskRn, cucsLicenseDownloaderFsmStageTable=cucsLicenseDownloaderFsmStageTable, cucsLicenseSourceFileExp=cucsLicenseSourceFileExp, cucsLicenseFileInstanceId=cucsLicenseFileInstanceId, cucsLicenseFileFsmTaskCompletion=cucsLicenseFileFsmTaskCompletion, cucsLicenseInstanceFsmStageInstanceId=cucsLicenseInstanceFsmStageInstanceId, cucsLicenseInstanceRn=cucsLicenseInstanceRn, cucsLicenseFileFsmStageRetry=cucsLicenseFileFsmStageRetry, cucsLicenseInstanceFsmStageRn=cucsLicenseInstanceFsmStageRn, cucsLicenseServerHostIdHostId=cucsLicenseServerHostIdHostId, cucsLicenseTargetDn=cucsLicenseTargetDn, cucsLicenseFileFsmCompletionTime=cucsLicenseFileFsmCompletionTime, cucsLicenseFileFsmRmtInvErrCode=cucsLicenseFileFsmRmtInvErrCode) mibBuilder.exportSymbols('CISCO-UNIFIED-COMPUTING-LICENSE-MIB', cucsLicenseSourceHostId=cucsLicenseSourceHostId, cucsLicenseFileFsmStageDescrData=cucsLicenseFileFsmStageDescrData, cucsLicenseFeatureGracePeriod=cucsLicenseFeatureGracePeriod, cucsLicenseFeatureName=cucsLicenseFeatureName, cucsLicenseServerHostIdInstanceId=cucsLicenseServerHostIdInstanceId, cucsLicenseSourceFileRn=cucsLicenseSourceFileRn, cucsLicenseDownloaderFsmDescrData=cucsLicenseDownloaderFsmDescrData, cucsLicenseTargetPortId=cucsLicenseTargetPortId, cucsLicenseEpTable=cucsLicenseEpTable, cucsLicenseFileFsmRmtInvRslt=cucsLicenseFileFsmRmtInvRslt, cucsLicenseFileFsmTry=cucsLicenseFileFsmTry, cucsLicenseDownloaderFsmProgress=cucsLicenseDownloaderFsmProgress, cucsLicensePropInstanceId=cucsLicensePropInstanceId, cucsLicenseSourceFileInstanceId=cucsLicenseSourceFileInstanceId, cucsLicenseFileFsmDescrData=cucsLicenseFileFsmDescrData, cucsLicenseInstanceFsmRn=cucsLicenseInstanceFsmRn, cucsLicenseServerHostIdDn=cucsLicenseServerHostIdDn, cucsLicenseDownloaderFsmStageLastUpdateTime=cucsLicenseDownloaderFsmStageLastUpdateTime, cucsLicenseFileFsmTaskFlags=cucsLicenseFileFsmTaskFlags, cucsLicenseInstanceFsmRmtErrCode=cucsLicenseInstanceFsmRmtErrCode, cucsLicenseInstanceFsmDescrData=cucsLicenseInstanceFsmDescrData, cucsLicenseTargetTable=cucsLicenseTargetTable, cucsLicenseFileFsmFsmStatus=cucsLicenseFileFsmFsmStatus, cucsLicenseFeatureLinePak=cucsLicenseFeatureLinePak, cucsLicenseDownloaderFsmTaskItem=cucsLicenseDownloaderFsmTaskItem, cucsLicenseDownloaderFsmInstanceId=cucsLicenseDownloaderFsmInstanceId, cucsLicenseInstanceDefQuant=cucsLicenseInstanceDefQuant)
class NegativeNumberError(Exception): def __init__(self, message): super().__init__(message) def get_inverse(n): number = int(n) if number == 0: raise ZeroDivisionError('n is 0') elif number < 0: raise NegativeNumberError('n is less than 0') elif type(number) is not int: raise ValueError('n is not a number') else: return 1 / number def main(): value = input('Enter a number: ') try: returned_value = get_inverse(value) except ValueError: print('Error: The value must be a number') except ZeroDivisionError: print('Error: Cannot divide by zero') except NegativeNumberError: print('Error: The value cannot be negative') else: print('The result is: {}'.format(returned_value)) if __name__ == '__main__': main()
class Negativenumbererror(Exception): def __init__(self, message): super().__init__(message) def get_inverse(n): number = int(n) if number == 0: raise zero_division_error('n is 0') elif number < 0: raise negative_number_error('n is less than 0') elif type(number) is not int: raise value_error('n is not a number') else: return 1 / number def main(): value = input('Enter a number: ') try: returned_value = get_inverse(value) except ValueError: print('Error: The value must be a number') except ZeroDivisionError: print('Error: Cannot divide by zero') except NegativeNumberError: print('Error: The value cannot be negative') else: print('The result is: {}'.format(returned_value)) if __name__ == '__main__': main()
def add_native_methods(clazz): def initWriterIDs__java_lang_Class__java_lang_Class__(a0, a1, a2): raise NotImplementedError() def initJPEGImageWriter____(a0): raise NotImplementedError() def setDest__long__(a0, a1): raise NotImplementedError() def writeImage__long__byte____int__int__int__int____int__int__int__int__int__javax_imageio_plugins_jpeg_JPEGQTable____boolean__javax_imageio_plugins_jpeg_JPEGHuffmanTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____boolean__boolean__boolean__int__int____int____int____int____int____boolean__int__(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26): raise NotImplementedError() def writeTables__long__javax_imageio_plugins_jpeg_JPEGQTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____(a0, a1, a2, a3, a4): raise NotImplementedError() def abortWrite__long__(a0, a1): raise NotImplementedError() def resetWriter__long__(a0, a1): raise NotImplementedError() def disposeWriter__long__(a0, a1): raise NotImplementedError() clazz.initWriterIDs__java_lang_Class__java_lang_Class__ = staticmethod(initWriterIDs__java_lang_Class__java_lang_Class__) clazz.initJPEGImageWriter____ = initJPEGImageWriter____ clazz.setDest__long__ = setDest__long__ clazz.writeImage__long__byte____int__int__int__int____int__int__int__int__int__javax_imageio_plugins_jpeg_JPEGQTable____boolean__javax_imageio_plugins_jpeg_JPEGHuffmanTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____boolean__boolean__boolean__int__int____int____int____int____int____boolean__int__ = writeImage__long__byte____int__int__int__int____int__int__int__int__int__javax_imageio_plugins_jpeg_JPEGQTable____boolean__javax_imageio_plugins_jpeg_JPEGHuffmanTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____boolean__boolean__boolean__int__int____int____int____int____int____boolean__int__ clazz.writeTables__long__javax_imageio_plugins_jpeg_JPEGQTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____ = writeTables__long__javax_imageio_plugins_jpeg_JPEGQTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____ clazz.abortWrite__long__ = abortWrite__long__ clazz.resetWriter__long__ = resetWriter__long__ clazz.disposeWriter__long__ = staticmethod(disposeWriter__long__)
def add_native_methods(clazz): def init_writer_i_ds__java_lang__class__java_lang__class__(a0, a1, a2): raise not_implemented_error() def init_jpeg_image_writer____(a0): raise not_implemented_error() def set_dest__long__(a0, a1): raise not_implemented_error() def write_image__long__byte____int__int__int__int____int__int__int__int__int__javax_imageio_plugins_jpeg_jpegq_table____boolean__javax_imageio_plugins_jpeg_jpeg_huffman_table____javax_imageio_plugins_jpeg_jpeg_huffman_table____boolean__boolean__boolean__int__int____int____int____int____int____boolean__int__(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26): raise not_implemented_error() def write_tables__long__javax_imageio_plugins_jpeg_jpegq_table____javax_imageio_plugins_jpeg_jpeg_huffman_table____javax_imageio_plugins_jpeg_jpeg_huffman_table____(a0, a1, a2, a3, a4): raise not_implemented_error() def abort_write__long__(a0, a1): raise not_implemented_error() def reset_writer__long__(a0, a1): raise not_implemented_error() def dispose_writer__long__(a0, a1): raise not_implemented_error() clazz.initWriterIDs__java_lang_Class__java_lang_Class__ = staticmethod(initWriterIDs__java_lang_Class__java_lang_Class__) clazz.initJPEGImageWriter____ = initJPEGImageWriter____ clazz.setDest__long__ = setDest__long__ clazz.writeImage__long__byte____int__int__int__int____int__int__int__int__int__javax_imageio_plugins_jpeg_JPEGQTable____boolean__javax_imageio_plugins_jpeg_JPEGHuffmanTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____boolean__boolean__boolean__int__int____int____int____int____int____boolean__int__ = writeImage__long__byte____int__int__int__int____int__int__int__int__int__javax_imageio_plugins_jpeg_JPEGQTable____boolean__javax_imageio_plugins_jpeg_JPEGHuffmanTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____boolean__boolean__boolean__int__int____int____int____int____int____boolean__int__ clazz.writeTables__long__javax_imageio_plugins_jpeg_JPEGQTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____ = writeTables__long__javax_imageio_plugins_jpeg_JPEGQTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____javax_imageio_plugins_jpeg_JPEGHuffmanTable____ clazz.abortWrite__long__ = abortWrite__long__ clazz.resetWriter__long__ = resetWriter__long__ clazz.disposeWriter__long__ = staticmethod(disposeWriter__long__)
class Solution: def entityParser(self, text): ps = [[6, "&quot;", '"'], [6, "&apos;", "'"], [5, "&amp;", '&'], [4, "&gt;", '>'], [4, "&lt;", '<'], [7, "&frasl;", '/']] ans = "" idx = 0 while idx < len(text): while idx < len(text) and text[idx] != '&': ans += text[idx] idx += 1 replaced = False for p in ps: if idx + p[0] <= len(text) and text[idx:idx + p[0]] == p[1]: ans += p[2] idx += p[0] replaced = True break if not replaced and idx < len(text): ans += text[idx] idx += 1 return ans
class Solution: def entity_parser(self, text): ps = [[6, '&quot;', '"'], [6, '&apos;', "'"], [5, '&amp;', '&'], [4, '&gt;', '>'], [4, '&lt;', '<'], [7, '&frasl;', '/']] ans = '' idx = 0 while idx < len(text): while idx < len(text) and text[idx] != '&': ans += text[idx] idx += 1 replaced = False for p in ps: if idx + p[0] <= len(text) and text[idx:idx + p[0]] == p[1]: ans += p[2] idx += p[0] replaced = True break if not replaced and idx < len(text): ans += text[idx] idx += 1 return ans
name1 = 'Fito' name2 = 'Ben' name3 = 'Ruby' name4 = 'Nish' name5 = 'Nito' name = input("Enter your name: ") if name == name1 or name == name2 or name == name3 or name == name4 or name == name5: print("I know you!") else: print("Sorry, ", name, "I don't know who you are :(")
name1 = 'Fito' name2 = 'Ben' name3 = 'Ruby' name4 = 'Nish' name5 = 'Nito' name = input('Enter your name: ') if name == name1 or name == name2 or name == name3 or (name == name4) or (name == name5): print('I know you!') else: print('Sorry, ', name, "I don't know who you are :(")
target = int(input()) now = 0 for i in range(0, target // 5 + 1): count_5k = target // 5 - i count_3k = 0 if count_5k * 5 == target: print(count_5k + count_3k) break else: if (target - count_5k * 5) % 3 == 0: count_3k = (target - count_5k * 5) // 3 print(count_5k + count_3k) break else: if count_5k == 0: print(-1)
target = int(input()) now = 0 for i in range(0, target // 5 + 1): count_5k = target // 5 - i count_3k = 0 if count_5k * 5 == target: print(count_5k + count_3k) break elif (target - count_5k * 5) % 3 == 0: count_3k = (target - count_5k * 5) // 3 print(count_5k + count_3k) break elif count_5k == 0: print(-1)
def transmit_order_to_erp(erp_order_process): # FIXME - submit order to erp erp_order_process.erp_order_id = '1337' erp_order_process.save() def update_campaign_step(campaign_process): # FIXME get campaign participation for the organisation/person and update to target values pass def create_event_entry_for_process(process): person, organisation = process.person, process.organisation process.event_id = '12321' # FIXME we should have some kind of template / this info should come with the def create_task_for_process(process): event = process.event task.create(event=event, group=process.task_group_id) # FIXME we should have some kind of template / this info should come with the
def transmit_order_to_erp(erp_order_process): erp_order_process.erp_order_id = '1337' erp_order_process.save() def update_campaign_step(campaign_process): pass def create_event_entry_for_process(process): (person, organisation) = (process.person, process.organisation) process.event_id = '12321' def create_task_for_process(process): event = process.event task.create(event=event, group=process.task_group_id)
# # _midi_file_event.py # crest-python # # Copyright (C) 2017 Rue Yokaze # Distributed under the MIT License. # class MidiFileEvent(object): def __init__(self, tick, message): self.__tick = int(tick) self.__message = message def __GetTick(self): return self.__tick def __GetMessage(self): return self.__message Tick = property(__GetTick) Message = property(__GetMessage)
class Midifileevent(object): def __init__(self, tick, message): self.__tick = int(tick) self.__message = message def ___get_tick(self): return self.__tick def ___get_message(self): return self.__message tick = property(__GetTick) message = property(__GetMessage)
#!/usr/bin/env python3 # https://codeforces.com/problemset/problem/1291/A def f(s): i = len(s)-1 l = [] while i>=0 and len(l)<2: if int(s[i])%2==1: l.append(s[i]) i -= 1 if len(l)<2: return -1 l.reverse() return ''.join(l) t = int(input()) for _ in range(t): _ = input() s = input() print(f(s))
def f(s): i = len(s) - 1 l = [] while i >= 0 and len(l) < 2: if int(s[i]) % 2 == 1: l.append(s[i]) i -= 1 if len(l) < 2: return -1 l.reverse() return ''.join(l) t = int(input()) for _ in range(t): _ = input() s = input() print(f(s))
def findDecision(obj): #obj[0]: Passanger, obj[1]: Time, obj[2]: Coupon, obj[3]: Gender, obj[4]: Age, obj[5]: Children, obj[6]: Education, obj[7]: Occupation, obj[8]: Income, obj[9]: Bar, obj[10]: Coffeehouse, obj[11]: Restaurant20to50, obj[12]: Direction_same, obj[13]: Distance # {"feature": "Coffeehouse", "instances": 34, "metric_value": 0.99, "depth": 1} if obj[10]<=3.0: # {"feature": "Time", "instances": 30, "metric_value": 0.9481, "depth": 2} if obj[1]<=2: # {"feature": "Coupon", "instances": 19, "metric_value": 0.998, "depth": 3} if obj[2]>1: # {"feature": "Restaurant20to50", "instances": 16, "metric_value": 0.9887, "depth": 4} if obj[11]<=1.0: # {"feature": "Occupation", "instances": 13, "metric_value": 0.9957, "depth": 5} if obj[7]>1: # {"feature": "Distance", "instances": 11, "metric_value": 0.9457, "depth": 6} if obj[13]>1: # {"feature": "Passanger", "instances": 6, "metric_value": 0.65, "depth": 7} if obj[0]<=2: return 'False' elif obj[0]>2: # {"feature": "Gender", "instances": 2, "metric_value": 1.0, "depth": 8} if obj[3]<=0: return 'False' elif obj[3]>0: return 'True' else: return 'True' else: return 'False' elif obj[13]<=1: # {"feature": "Education", "instances": 5, "metric_value": 0.971, "depth": 7} if obj[6]>1: # {"feature": "Bar", "instances": 3, "metric_value": 0.9183, "depth": 8} if obj[9]<=1.0: return 'False' elif obj[9]>1.0: return 'True' else: return 'True' elif obj[6]<=1: return 'True' else: return 'True' else: return 'True' elif obj[7]<=1: return 'True' else: return 'True' elif obj[11]>1.0: return 'True' else: return 'True' elif obj[2]<=1: return 'False' else: return 'False' elif obj[1]>2: # {"feature": "Distance", "instances": 11, "metric_value": 0.4395, "depth": 3} if obj[13]>1: return 'True' elif obj[13]<=1: # {"feature": "Coupon", "instances": 2, "metric_value": 1.0, "depth": 4} if obj[2]<=3: return 'True' elif obj[2]>3: return 'False' else: return 'False' else: return 'True' else: return 'True' elif obj[10]>3.0: return 'False' else: return 'False'
def find_decision(obj): if obj[10] <= 3.0: if obj[1] <= 2: if obj[2] > 1: if obj[11] <= 1.0: if obj[7] > 1: if obj[13] > 1: if obj[0] <= 2: return 'False' elif obj[0] > 2: if obj[3] <= 0: return 'False' elif obj[3] > 0: return 'True' else: return 'True' else: return 'False' elif obj[13] <= 1: if obj[6] > 1: if obj[9] <= 1.0: return 'False' elif obj[9] > 1.0: return 'True' else: return 'True' elif obj[6] <= 1: return 'True' else: return 'True' else: return 'True' elif obj[7] <= 1: return 'True' else: return 'True' elif obj[11] > 1.0: return 'True' else: return 'True' elif obj[2] <= 1: return 'False' else: return 'False' elif obj[1] > 2: if obj[13] > 1: return 'True' elif obj[13] <= 1: if obj[2] <= 3: return 'True' elif obj[2] > 3: return 'False' else: return 'False' else: return 'True' else: return 'True' elif obj[10] > 3.0: return 'False' else: return 'False'
def binarySearch(array, target): start = 0 end = len(array) - 1 while start <= end: midIndex = (end - start) // 2 indexValue = array[midIndex] if indexValue == target: return midIndex elif indexValue < target: start = midIndex + 1 else: end = midIndex - 1 print(midIndex, indexValue) return -1 data = [1,2,3,4,5,6,25,4324,34234,14,4234,4324] result = binarySearch(data, 34234) print(result)
def binary_search(array, target): start = 0 end = len(array) - 1 while start <= end: mid_index = (end - start) // 2 index_value = array[midIndex] if indexValue == target: return midIndex elif indexValue < target: start = midIndex + 1 else: end = midIndex - 1 print(midIndex, indexValue) return -1 data = [1, 2, 3, 4, 5, 6, 25, 4324, 34234, 14, 4234, 4324] result = binary_search(data, 34234) print(result)
class Tablero: def __init__(self): self.vida_nave = None self.puntos_nave = None def modifica_vida(self, vida): self.vida_nave = vida return self.vida_nave def modifica_puntos(self, puntos): self.puntos_nave = puntos return self.puntos_nave
class Tablero: def __init__(self): self.vida_nave = None self.puntos_nave = None def modifica_vida(self, vida): self.vida_nave = vida return self.vida_nave def modifica_puntos(self, puntos): self.puntos_nave = puntos return self.puntos_nave
def f(n): if n==0: return 1 return n-m(f(n-1)) def m(n): if n==0: return 0 return n-f(m(n-1))
def f(n): if n == 0: return 1 return n - m(f(n - 1)) def m(n): if n == 0: return 0 return n - f(m(n - 1))
# Mad Libs Story Maker # Create a Mad Libs style game, where the program asks the user for # certain types of words, and then prints out a story with the # words that the user inputted. # The story doesn't have to be too long, but it should have some sort of story line. # Subgoals: # If the user has to put in a name, change the first letter to a capital letter. # Change the word "a" to "an" when the next word in the sentence begins with a vowel. adj1 = input("Adjective #1: ") adj2 = input("Adjective #2: ") adverb = input("Adverb: ") noun1 = input("Noun #1: ") noun2 = input("Noun #2: ") number = input("Number: ") body_part = input("Part of the Body: ") person1 = input("Person You Know #1: ") pnoun1 = input("Plural Noun #1: ") liquid = input("Type of Liquid: ") print("Dear Physical Education Teacher, \n" + "Please excuse my son/daughter from missing " + adj1 + " class yesterday. When " + person1.capitalize() + " awakened yesterday, I could" + " see that his/her nose was " + adj2 + ". He/She also complained of " + body_part + " aches and having a sore " + noun1 + " and I took him/her " + " to the family " + noun2 + ". The doctor quickly diagnosed it to be the " + str(number) + "-hour flu and suggested he/she take two " + pnoun1 + " with a glass of " + liquid + " go to bed " + adverb + "." )
adj1 = input('Adjective #1: ') adj2 = input('Adjective #2: ') adverb = input('Adverb: ') noun1 = input('Noun #1: ') noun2 = input('Noun #2: ') number = input('Number: ') body_part = input('Part of the Body: ') person1 = input('Person You Know #1: ') pnoun1 = input('Plural Noun #1: ') liquid = input('Type of Liquid: ') print('Dear Physical Education Teacher, \n' + 'Please excuse my son/daughter from missing ' + adj1 + ' class yesterday. When ' + person1.capitalize() + ' awakened yesterday, I could' + ' see that his/her nose was ' + adj2 + '. He/She also complained of ' + body_part + ' aches and having a sore ' + noun1 + ' and I took him/her ' + ' to the family ' + noun2 + '. The doctor quickly diagnosed it to be the ' + str(number) + '-hour flu and suggested he/she take two ' + pnoun1 + ' with a glass of ' + liquid + ' go to bed ' + adverb + '.')
def report_status(scheduled_time, estimated_time): '''(number, number) -> str Report status of flight(on time, early, delayed) which has to arrive at scheduled time but now will arrive at estimated time. Pre-condition: 0.0 <= scheduled_time < 24 and 0.0 <= estimated_time < 24 >>> report_status(14.0, 14.0) 'on time' >>> report_status(12.5, 12.0) 'early' >>> report_status(9.0, 11.0) 'delayed' ''' if scheduled_time == estimated_time: return 'on time' elif scheduled_time > estimated_time: return 'early' else: return 'delayed'
def report_status(scheduled_time, estimated_time): """(number, number) -> str Report status of flight(on time, early, delayed) which has to arrive at scheduled time but now will arrive at estimated time. Pre-condition: 0.0 <= scheduled_time < 24 and 0.0 <= estimated_time < 24 >>> report_status(14.0, 14.0) 'on time' >>> report_status(12.5, 12.0) 'early' >>> report_status(9.0, 11.0) 'delayed' """ if scheduled_time == estimated_time: return 'on time' elif scheduled_time > estimated_time: return 'early' else: return 'delayed'
__import__('setuptools').setup( name="aye", version="0.0.1", author="Tony Fast", author_email="tony.fast@gmail.com", description="Interactive Notebook Modules.", license="BSD-3-Clause", setup_requires=['pytest-runner'], tests_require=['pytest', 'pytest-ipynb'], install_requires=['ipython', 'nbconvert'], include_package_data=True, packages=['aye'], )
__import__('setuptools').setup(name='aye', version='0.0.1', author='Tony Fast', author_email='tony.fast@gmail.com', description='Interactive Notebook Modules.', license='BSD-3-Clause', setup_requires=['pytest-runner'], tests_require=['pytest', 'pytest-ipynb'], install_requires=['ipython', 'nbconvert'], include_package_data=True, packages=['aye'])
with open("input.txt", "rt") as file: text = file.read().splitlines() size = len(text[0]) length = len(text) ones = [0 for _ in range(size)] for s in text: for i, c in enumerate(s): if c == '1': ones[i] += 1 gamma = "" epsilon = "" for i in ones: if i > (length/2): gamma += '1' epsilon += '0' else: gamma += '0' epsilon += '1' print(int(gamma, base=2)*int(epsilon, base=2))
with open('input.txt', 'rt') as file: text = file.read().splitlines() size = len(text[0]) length = len(text) ones = [0 for _ in range(size)] for s in text: for (i, c) in enumerate(s): if c == '1': ones[i] += 1 gamma = '' epsilon = '' for i in ones: if i > length / 2: gamma += '1' epsilon += '0' else: gamma += '0' epsilon += '1' print(int(gamma, base=2) * int(epsilon, base=2))
{ "id": "", "name": "", "symbol": "", "rank": 0, "circulating_supply": 0, "total_supply": 0, "max_supply": 0, "last_updated": None, "market_cap": 0, "market_cap_change_24h": 0, "volume": 0, "ath": 0, "ath_date": None, "ath_change_percentage": 0.0, "percent_change": { "05m": 0.0, "30m": 0.0, "0h": 0.0, "6h": 0.0, "02h": 0.0, "24h": 0.0, "7d": 0.0, "30d": 0.0, "0y": 0.0, "ath": 0.0, "market_cap_24h": 0.0 }, "price_change": { "24h": 0 }, "volume_change": { "24h": 0 }, "high_24h": 0, "low_24h": 0, "image": "", "fully_diluted_valuation": 0, "roi": 0.0, "first_data_at": None, "beta_value": 0.0 }
{'id': '', 'name': '', 'symbol': '', 'rank': 0, 'circulating_supply': 0, 'total_supply': 0, 'max_supply': 0, 'last_updated': None, 'market_cap': 0, 'market_cap_change_24h': 0, 'volume': 0, 'ath': 0, 'ath_date': None, 'ath_change_percentage': 0.0, 'percent_change': {'05m': 0.0, '30m': 0.0, '0h': 0.0, '6h': 0.0, '02h': 0.0, '24h': 0.0, '7d': 0.0, '30d': 0.0, '0y': 0.0, 'ath': 0.0, 'market_cap_24h': 0.0}, 'price_change': {'24h': 0}, 'volume_change': {'24h': 0}, 'high_24h': 0, 'low_24h': 0, 'image': '', 'fully_diluted_valuation': 0, 'roi': 0.0, 'first_data_at': None, 'beta_value': 0.0}
# # PySNMP MIB module RADLAN-BONJOUR-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RADLAN-BONJOUR-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:36:56 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, ValueRangeConstraint, ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint") InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") InetAddressType, InetAddress = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddress") rnd, = mibBuilder.importSymbols("RADLAN-MIB", "rnd") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") Counter32, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, Gauge32, ObjectIdentity, Unsigned32, ModuleIdentity, TimeTicks, Bits, Integer32, MibIdentifier, iso, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "Counter32", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "Gauge32", "ObjectIdentity", "Unsigned32", "ModuleIdentity", "TimeTicks", "Bits", "Integer32", "MibIdentifier", "iso", "Counter64") RowStatus, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "DisplayString") rlBonjour = ModuleIdentity((1, 3, 6, 1, 4, 1, 89, 114)) rlBonjour.setRevisions(('2009-04-23 00:00', '2015-05-12 00:00',)) if mibBuilder.loadTexts: rlBonjour.setLastUpdated('201505120000Z') if mibBuilder.loadTexts: rlBonjour.setOrganization('Marvell Computer Communications Ltd.') rlBonjourPublish = MibScalar((1, 3, 6, 1, 4, 1, 89, 114, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlBonjourPublish.setStatus('current') class RlBonjourServiceState(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3)) namedValues = NamedValues(("rlBonjourNotPublished", 0), ("rlBonjourInactive", 1), ("rlBonjourRegistering", 2), ("rlBonjourRunning", 3)) class RlBonjourOperationState(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("up", 1), ("down", 2)) class RlBonjourOperationReason(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)) namedValues = NamedValues(("notExclude", 0), ("include", 1), ("notInclude", 2), ("exclude", 3), ("bonjourDisabled", 4), ("serviceDisabled", 5), ("noIPaddress", 6), ("l2InterfaceDown", 7), ("notPresent", 8), ("unknown", 9)) rlBonjourStatusTable = MibTable((1, 3, 6, 1, 4, 1, 89, 114, 2), ) if mibBuilder.loadTexts: rlBonjourStatusTable.setStatus('current') rlBonjourStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 89, 114, 2, 1), ).setIndexNames((0, "RADLAN-BONJOUR-MIB", "rlBonjourStatusServiceName"), (0, "RADLAN-BONJOUR-MIB", "rlBonjourStatusIPInterfaceType"), (0, "RADLAN-BONJOUR-MIB", "rlBonjourStatusIPInterfaceAddr")) if mibBuilder.loadTexts: rlBonjourStatusEntry.setStatus('current') rlBonjourStatusServiceName = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 114, 2, 1, 1), DisplayString()) if mibBuilder.loadTexts: rlBonjourStatusServiceName.setStatus('current') rlBonjourStatusIPInterfaceType = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 114, 2, 1, 2), InetAddressType()) if mibBuilder.loadTexts: rlBonjourStatusIPInterfaceType.setStatus('current') rlBonjourStatusIPInterfaceAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 114, 2, 1, 3), InetAddress()) if mibBuilder.loadTexts: rlBonjourStatusIPInterfaceAddr.setStatus('current') rlBonjourStatusState = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 114, 2, 1, 4), RlBonjourServiceState()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlBonjourStatusState.setStatus('current') rlBonjourStateTable = MibTable((1, 3, 6, 1, 4, 1, 89, 114, 3), ) if mibBuilder.loadTexts: rlBonjourStateTable.setStatus('current') rlBonjourStateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 89, 114, 3, 1), ).setIndexNames((0, "RADLAN-BONJOUR-MIB", "rlBonjourStateServiceName"), (0, "RADLAN-BONJOUR-MIB", "rlBonjourStateL2Interface")) if mibBuilder.loadTexts: rlBonjourStateEntry.setStatus('current') rlBonjourStateServiceName = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 114, 3, 1, 1), DisplayString()) if mibBuilder.loadTexts: rlBonjourStateServiceName.setStatus('current') rlBonjourStateL2Interface = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 114, 3, 1, 2), InterfaceIndex()) if mibBuilder.loadTexts: rlBonjourStateL2Interface.setStatus('current') rlBonjourStateOperationMode = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 114, 3, 1, 3), RlBonjourOperationState()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlBonjourStateOperationMode.setStatus('current') rlBonjourStateOperationReason = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 114, 3, 1, 4), RlBonjourOperationReason()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlBonjourStateOperationReason.setStatus('current') rlBonjourStateIPv6OperationMode = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 114, 3, 1, 5), RlBonjourOperationState()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlBonjourStateIPv6OperationMode.setStatus('current') rlBonjourStateIPv6OperationReason = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 114, 3, 1, 6), RlBonjourOperationReason()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlBonjourStateIPv6OperationReason.setStatus('current') rlBonjourL2Table = MibTable((1, 3, 6, 1, 4, 1, 89, 114, 4), ) if mibBuilder.loadTexts: rlBonjourL2Table.setStatus('current') rlBonjourL2Entry = MibTableRow((1, 3, 6, 1, 4, 1, 89, 114, 4, 1), ).setIndexNames((0, "RADLAN-BONJOUR-MIB", "rlBonjourL2Ifindex")) if mibBuilder.loadTexts: rlBonjourL2Entry.setStatus('current') rlBonjourL2Ifindex = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 114, 4, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: rlBonjourL2Ifindex.setStatus('current') rlBonjourL2RowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 89, 114, 4, 1, 2), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlBonjourL2RowStatus.setStatus('current') rlBonjourL2Mode = MibScalar((1, 3, 6, 1, 4, 1, 89, 114, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("include", 1), ("exclude", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlBonjourL2Mode.setStatus('current') rlBonjourInstanceName = MibScalar((1, 3, 6, 1, 4, 1, 89, 114, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlBonjourInstanceName.setStatus('current') rlBonjourHostName = MibScalar((1, 3, 6, 1, 4, 1, 89, 114, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlBonjourHostName.setStatus('current') mibBuilder.exportSymbols("RADLAN-BONJOUR-MIB", rlBonjourStateIPv6OperationReason=rlBonjourStateIPv6OperationReason, rlBonjourStatusTable=rlBonjourStatusTable, rlBonjourInstanceName=rlBonjourInstanceName, RlBonjourOperationState=RlBonjourOperationState, RlBonjourServiceState=RlBonjourServiceState, rlBonjourStateOperationMode=rlBonjourStateOperationMode, rlBonjourStatusState=rlBonjourStatusState, rlBonjourL2RowStatus=rlBonjourL2RowStatus, rlBonjourStateEntry=rlBonjourStateEntry, rlBonjourStateOperationReason=rlBonjourStateOperationReason, rlBonjourPublish=rlBonjourPublish, rlBonjourL2Table=rlBonjourL2Table, rlBonjourStateServiceName=rlBonjourStateServiceName, rlBonjourL2Ifindex=rlBonjourL2Ifindex, rlBonjourStatusServiceName=rlBonjourStatusServiceName, PYSNMP_MODULE_ID=rlBonjour, rlBonjourStateL2Interface=rlBonjourStateL2Interface, rlBonjourL2Mode=rlBonjourL2Mode, rlBonjourHostName=rlBonjourHostName, rlBonjourStatusIPInterfaceType=rlBonjourStatusIPInterfaceType, rlBonjourStateTable=rlBonjourStateTable, RlBonjourOperationReason=RlBonjourOperationReason, rlBonjour=rlBonjour, rlBonjourL2Entry=rlBonjourL2Entry, rlBonjourStateIPv6OperationMode=rlBonjourStateIPv6OperationMode, rlBonjourStatusIPInterfaceAddr=rlBonjourStatusIPInterfaceAddr, rlBonjourStatusEntry=rlBonjourStatusEntry)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, value_range_constraint, constraints_intersection, constraints_union, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'SingleValueConstraint') (interface_index,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex') (inet_address_type, inet_address) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressType', 'InetAddress') (rnd,) = mibBuilder.importSymbols('RADLAN-MIB', 'rnd') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (counter32, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, notification_type, gauge32, object_identity, unsigned32, module_identity, time_ticks, bits, integer32, mib_identifier, iso, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter32', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'NotificationType', 'Gauge32', 'ObjectIdentity', 'Unsigned32', 'ModuleIdentity', 'TimeTicks', 'Bits', 'Integer32', 'MibIdentifier', 'iso', 'Counter64') (row_status, textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'TextualConvention', 'DisplayString') rl_bonjour = module_identity((1, 3, 6, 1, 4, 1, 89, 114)) rlBonjour.setRevisions(('2009-04-23 00:00', '2015-05-12 00:00')) if mibBuilder.loadTexts: rlBonjour.setLastUpdated('201505120000Z') if mibBuilder.loadTexts: rlBonjour.setOrganization('Marvell Computer Communications Ltd.') rl_bonjour_publish = mib_scalar((1, 3, 6, 1, 4, 1, 89, 114, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlBonjourPublish.setStatus('current') class Rlbonjourservicestate(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3)) named_values = named_values(('rlBonjourNotPublished', 0), ('rlBonjourInactive', 1), ('rlBonjourRegistering', 2), ('rlBonjourRunning', 3)) class Rlbonjouroperationstate(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('up', 1), ('down', 2)) class Rlbonjouroperationreason(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)) named_values = named_values(('notExclude', 0), ('include', 1), ('notInclude', 2), ('exclude', 3), ('bonjourDisabled', 4), ('serviceDisabled', 5), ('noIPaddress', 6), ('l2InterfaceDown', 7), ('notPresent', 8), ('unknown', 9)) rl_bonjour_status_table = mib_table((1, 3, 6, 1, 4, 1, 89, 114, 2)) if mibBuilder.loadTexts: rlBonjourStatusTable.setStatus('current') rl_bonjour_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 89, 114, 2, 1)).setIndexNames((0, 'RADLAN-BONJOUR-MIB', 'rlBonjourStatusServiceName'), (0, 'RADLAN-BONJOUR-MIB', 'rlBonjourStatusIPInterfaceType'), (0, 'RADLAN-BONJOUR-MIB', 'rlBonjourStatusIPInterfaceAddr')) if mibBuilder.loadTexts: rlBonjourStatusEntry.setStatus('current') rl_bonjour_status_service_name = mib_table_column((1, 3, 6, 1, 4, 1, 89, 114, 2, 1, 1), display_string()) if mibBuilder.loadTexts: rlBonjourStatusServiceName.setStatus('current') rl_bonjour_status_ip_interface_type = mib_table_column((1, 3, 6, 1, 4, 1, 89, 114, 2, 1, 2), inet_address_type()) if mibBuilder.loadTexts: rlBonjourStatusIPInterfaceType.setStatus('current') rl_bonjour_status_ip_interface_addr = mib_table_column((1, 3, 6, 1, 4, 1, 89, 114, 2, 1, 3), inet_address()) if mibBuilder.loadTexts: rlBonjourStatusIPInterfaceAddr.setStatus('current') rl_bonjour_status_state = mib_table_column((1, 3, 6, 1, 4, 1, 89, 114, 2, 1, 4), rl_bonjour_service_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlBonjourStatusState.setStatus('current') rl_bonjour_state_table = mib_table((1, 3, 6, 1, 4, 1, 89, 114, 3)) if mibBuilder.loadTexts: rlBonjourStateTable.setStatus('current') rl_bonjour_state_entry = mib_table_row((1, 3, 6, 1, 4, 1, 89, 114, 3, 1)).setIndexNames((0, 'RADLAN-BONJOUR-MIB', 'rlBonjourStateServiceName'), (0, 'RADLAN-BONJOUR-MIB', 'rlBonjourStateL2Interface')) if mibBuilder.loadTexts: rlBonjourStateEntry.setStatus('current') rl_bonjour_state_service_name = mib_table_column((1, 3, 6, 1, 4, 1, 89, 114, 3, 1, 1), display_string()) if mibBuilder.loadTexts: rlBonjourStateServiceName.setStatus('current') rl_bonjour_state_l2_interface = mib_table_column((1, 3, 6, 1, 4, 1, 89, 114, 3, 1, 2), interface_index()) if mibBuilder.loadTexts: rlBonjourStateL2Interface.setStatus('current') rl_bonjour_state_operation_mode = mib_table_column((1, 3, 6, 1, 4, 1, 89, 114, 3, 1, 3), rl_bonjour_operation_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlBonjourStateOperationMode.setStatus('current') rl_bonjour_state_operation_reason = mib_table_column((1, 3, 6, 1, 4, 1, 89, 114, 3, 1, 4), rl_bonjour_operation_reason()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlBonjourStateOperationReason.setStatus('current') rl_bonjour_state_i_pv6_operation_mode = mib_table_column((1, 3, 6, 1, 4, 1, 89, 114, 3, 1, 5), rl_bonjour_operation_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlBonjourStateIPv6OperationMode.setStatus('current') rl_bonjour_state_i_pv6_operation_reason = mib_table_column((1, 3, 6, 1, 4, 1, 89, 114, 3, 1, 6), rl_bonjour_operation_reason()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlBonjourStateIPv6OperationReason.setStatus('current') rl_bonjour_l2_table = mib_table((1, 3, 6, 1, 4, 1, 89, 114, 4)) if mibBuilder.loadTexts: rlBonjourL2Table.setStatus('current') rl_bonjour_l2_entry = mib_table_row((1, 3, 6, 1, 4, 1, 89, 114, 4, 1)).setIndexNames((0, 'RADLAN-BONJOUR-MIB', 'rlBonjourL2Ifindex')) if mibBuilder.loadTexts: rlBonjourL2Entry.setStatus('current') rl_bonjour_l2_ifindex = mib_table_column((1, 3, 6, 1, 4, 1, 89, 114, 4, 1, 1), interface_index()) if mibBuilder.loadTexts: rlBonjourL2Ifindex.setStatus('current') rl_bonjour_l2_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 89, 114, 4, 1, 2), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlBonjourL2RowStatus.setStatus('current') rl_bonjour_l2_mode = mib_scalar((1, 3, 6, 1, 4, 1, 89, 114, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('include', 1), ('exclude', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlBonjourL2Mode.setStatus('current') rl_bonjour_instance_name = mib_scalar((1, 3, 6, 1, 4, 1, 89, 114, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlBonjourInstanceName.setStatus('current') rl_bonjour_host_name = mib_scalar((1, 3, 6, 1, 4, 1, 89, 114, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlBonjourHostName.setStatus('current') mibBuilder.exportSymbols('RADLAN-BONJOUR-MIB', rlBonjourStateIPv6OperationReason=rlBonjourStateIPv6OperationReason, rlBonjourStatusTable=rlBonjourStatusTable, rlBonjourInstanceName=rlBonjourInstanceName, RlBonjourOperationState=RlBonjourOperationState, RlBonjourServiceState=RlBonjourServiceState, rlBonjourStateOperationMode=rlBonjourStateOperationMode, rlBonjourStatusState=rlBonjourStatusState, rlBonjourL2RowStatus=rlBonjourL2RowStatus, rlBonjourStateEntry=rlBonjourStateEntry, rlBonjourStateOperationReason=rlBonjourStateOperationReason, rlBonjourPublish=rlBonjourPublish, rlBonjourL2Table=rlBonjourL2Table, rlBonjourStateServiceName=rlBonjourStateServiceName, rlBonjourL2Ifindex=rlBonjourL2Ifindex, rlBonjourStatusServiceName=rlBonjourStatusServiceName, PYSNMP_MODULE_ID=rlBonjour, rlBonjourStateL2Interface=rlBonjourStateL2Interface, rlBonjourL2Mode=rlBonjourL2Mode, rlBonjourHostName=rlBonjourHostName, rlBonjourStatusIPInterfaceType=rlBonjourStatusIPInterfaceType, rlBonjourStateTable=rlBonjourStateTable, RlBonjourOperationReason=RlBonjourOperationReason, rlBonjour=rlBonjour, rlBonjourL2Entry=rlBonjourL2Entry, rlBonjourStateIPv6OperationMode=rlBonjourStateIPv6OperationMode, rlBonjourStatusIPInterfaceAddr=rlBonjourStatusIPInterfaceAddr, rlBonjourStatusEntry=rlBonjourStatusEntry)
# `!(A || B) || ( (A || C) && !(B || !C) )` def truthy(a, b, c): answer = ((not (a or b)) or ((a or c) and not(b or not c))) return answer def truthTable(): print( # A B C truthy(0, 0, 0), # 0 0 0 truthy(0, 0, 1), # 0 0 1 truthy(0, 1, 0), # 0 1 0 truthy(0, 1, 1), # 0 1 1 truthy(1, 0, 0), # 1 0 0 truthy(1, 0, 1), # 1 0 1 truthy(1, 1, 0), # 1 1 0 truthy(1, 1, 1), # 1 1 1 ) truthTable()
def truthy(a, b, c): answer = not (a or b) or ((a or c) and (not (b or not c))) return answer def truth_table(): print(truthy(0, 0, 0), truthy(0, 0, 1), truthy(0, 1, 0), truthy(0, 1, 1), truthy(1, 0, 0), truthy(1, 0, 1), truthy(1, 1, 0), truthy(1, 1, 1)) truth_table()
def solve(arr): prefix = [0] * len(arr) for i in range(1, len(arr)): prefix[i] = arr[i - 1] + prefix[i - 1] suffix = [0] * len(arr) for i in range(len(arr) - 2, -1, -1): suffix[i] = suffix[i + 1] + arr[i + 1] for i in range(len(arr)): if suffix[i] == prefix[i]: return i return -1 A = [1, 7, 3, 6, 5, 6] print(solve(A))
def solve(arr): prefix = [0] * len(arr) for i in range(1, len(arr)): prefix[i] = arr[i - 1] + prefix[i - 1] suffix = [0] * len(arr) for i in range(len(arr) - 2, -1, -1): suffix[i] = suffix[i + 1] + arr[i + 1] for i in range(len(arr)): if suffix[i] == prefix[i]: return i return -1 a = [1, 7, 3, 6, 5, 6] print(solve(A))
class Solution: def minSwaps(self, data: List[int]) -> int: countOnes = 0 for num in data: if num == 1: countOnes += 1 if countOnes == 0: return 0 start = 0 countZ = 0 minCount = 99999999 for end, num in enumerate(data): if num == 0: countZ += 1 if(end-start+1) == countOnes: minCount = min(minCount, countZ) if data[start] == 0: countZ -= 1 start += 1 return minCount
class Solution: def min_swaps(self, data: List[int]) -> int: count_ones = 0 for num in data: if num == 1: count_ones += 1 if countOnes == 0: return 0 start = 0 count_z = 0 min_count = 99999999 for (end, num) in enumerate(data): if num == 0: count_z += 1 if end - start + 1 == countOnes: min_count = min(minCount, countZ) if data[start] == 0: count_z -= 1 start += 1 return minCount
expected_output = { "cdp": { "index": { 1: { "capability": "R", "device_id": "device2", "hold_time": 152, "local_interface": "Ethernet0", "platform": "AS5200", "port_id": "Ethernet0", }, 2: { "capability": "R", "device_id": "device3", "hold_time": 144, "local_interface": "Ethernet0", "platform": "3640", "port_id": "Ethernet0/0", }, 3: { "capability": "", "device_id": "device4", "hold_time": 141, "local_interface": "Ethernet0", "platform": "RP1", "port_id": "Ethernet0/0", }, } } }
expected_output = {'cdp': {'index': {1: {'capability': 'R', 'device_id': 'device2', 'hold_time': 152, 'local_interface': 'Ethernet0', 'platform': 'AS5200', 'port_id': 'Ethernet0'}, 2: {'capability': 'R', 'device_id': 'device3', 'hold_time': 144, 'local_interface': 'Ethernet0', 'platform': '3640', 'port_id': 'Ethernet0/0'}, 3: {'capability': '', 'device_id': 'device4', 'hold_time': 141, 'local_interface': 'Ethernet0', 'platform': 'RP1', 'port_id': 'Ethernet0/0'}}}}
Frameworks = [ "MobileWiFi.framework", "IMTranscoding.framework", "CarPlaySupport.framework", "Spotlight.framework", "TeaCharts.framework", "SafariCore.framework", "AppSSOKerberos.framework", "RemindersUI.framework", "AirTrafficDevice.framework", "InertiaCam.framework", "ConfigurationEngineModel.framework", "CoreMaterial.framework", "AudioServerDriver.framework", "ActionKit.framework", "DifferentialPrivacy.framework", "ContactsAssistantServices.framework", "CloudPhotoServices.framework", "ScreenTimeSettingsUI.framework", "WebInspector.framework", "OSAServicesClient.framework", "TelephonyPreferences.framework", "CrashReporterSupport.framework", "iAdCore.framework", "SensingProtocols.framework", "ITMLKit.framework", "InputContext.framework", "TextureIO.framework", "AssetCacheServices.framework", "FMNetworking.framework", "LoginUILogViewer.framework", "NewDeviceOutreachUI.framework", "EmailCore.framework", "WiFiKitUI.framework", "AMPCoreUI.framework", "WebCore.framework", "CoverSheet.framework", "SiriAudioSupport.framework", "TextToSpeech.framework", "JetEngine.framework", "HSAAuthentication.framework", "USDKit.framework", "Preferences.framework", "UIFoundation.framework", "AnnotationKit.framework", "NanoPhotosUICompanion.framework", "NanoLeash.framework", "NanoRegistry.framework", "EmbeddedDataReset.framework", "CoreUtilsUI.framework", "ScreenReaderBrailleDriver.framework", "CarKit.framework", "CoreParsec.framework", "EmojiFoundation.framework", "CoreKnowledge.framework", "BaseBoardUI.framework", "ApplePushService.framework", "CoreRE.framework", "FMFUI.framework", "PBBridgeSupport.framework", "ExchangeSyncExpress.framework", "SiriGeo.framework", "GraphVisualizer.framework", "FTClientServices.framework", "HealthRecordServices.framework", "iCloudQuota.framework", "MediaControls.framework", "AdAnalytics.framework", "WebUI.framework", "ClassroomKit.framework", "ContentIndex.framework", "IDSHashPersistence.framework", "AppServerSupport.framework", "NewsServices.framework", "HealthAlgorithms.framework", "WebContentAnalysis.framework", "NewsUI2.framework", "BluetoothManager.framework", "Categories.framework", "HealthOntology.framework", "SpotlightUIInternal.framework", "CoreMediaStream.framework", "TrackingAvoidance.framework", "HealthRecordsUI.framework", "HomeAI.framework", "AppleCVA.framework", "DiagnosticsSupport.framework", "AppAnalytics.framework", "WelcomeKitCore.framework", "ButtonResolver.framework", "MobileMailUI.framework", "CameraKit.framework", "RemoteXPC.framework", "CloudKitCodeProtobuf.framework", "AirPlayReceiver.framework", "iOSScreenSharing.framework", "SiriUIActivation.framework", "BiometricKitUI.framework", "AuthKitUI.framework", "MediaMiningKit.framework", "SoftwareUpdateSettingsUI.framework", "NetworkStatistics.framework", "CameraEditKit.framework", "ContactsAutocompleteUI.framework", "FindMyDeviceUI.framework", "CalendarDaemon.framework", "EmergencyAlerts.framework", "AACCore.framework", "CoreFollowUp.framework", "C2.framework", "CacheDelete.framework", "ReminderMigration.framework", "HDRProcessing.framework", "Radio.framework", "CalendarFoundation.framework", "HealthVisualization.framework", "CoreIndoor.framework", "TSReading.framework", "iTunesCloud.framework", "NewsArticles.framework", "CloudDocsUI.framework", "NLPLearner.framework", "GameKitServices.framework", "DataDetectorsUI.framework", "DocumentManagerUICore.framework", "SampleAnalysis.framework", "AdCore.framework", "VoiceShortcuts.framework", "AppSupport.framework", "PlatterKit.framework", "CoreDAV.framework", "CoreSpeech.framework", "RunningBoardServices.framework", "AOSKit.framework", "ContactsAutocomplete.framework", "AVConference.framework", "WirelessProximity.framework", "LegacyGameKit.framework", "LinguisticData.framework", "TSUtility.framework", "KnowledgeGraphKit.framework", "FMIPCore.framework", "AccessoryAssistiveTouch.framework", "CoreUtilsSwift.framework", "FindMyDevice.framework", "MMCS.framework", "WeatherUI.framework", "PhotosFormats.framework", "ContinuousDialogManagerService.framework", "NanoSystemSettings.framework", "CorePDF.framework", "SettingsCellularUI.framework", "UIKitServices.framework", "MobileSystemServices.framework", "PreferencesUI.framework", "FusionPluginServices.framework", "CoreUI.framework", "AvatarKit.framework", "SPShared.framework", "GeoServices.framework", "ProtocolBuffer.framework", "CallHistory.framework", "CommonUtilities.framework", "DataDetectorsCore.framework", "MetadataUtilities.framework", "ControlCenterUIKit.framework", "ManagedConfiguration.framework", "Cornobble.framework", "HealthMenstrualCyclesUI.framework", "WirelessCoexManager.framework", "DistributedEvaluation.framework", "DictionaryUI.framework", "MessageSecurity.framework", "RemoteServiceDiscovery.framework", "BatteryCenter.framework", "PhotoVision.framework", "AssistantCardServiceSupport.framework", "DuetActivityScheduler.framework", "ControlCenterUI.framework", "UIKitCore.framework", "AccountSettings.framework", "RenderBox.framework", "MobileTimerUI.framework", "SIMToolkitUI.framework", "CoreHAP.framework", "EAFirmwareUpdater.framework", "Proximity.framework", "OTSVG.framework", "DataAccess.framework", "Widgets.framework", "OSASyncProxyClient.framework", "WiFiCloudSyncEngine.framework", "DataDetectorsNaturalLanguage.framework", "PairedUnlock.framework", "AccessoryNavigation.framework", "PlugInKit.framework", "SignpostMetrics.framework", "BiometricKit.framework", "NeutrinoCore.framework", "DiagnosticExtensionsDaemon.framework", "CorePrediction.framework", "WPDaemon.framework", "AOPHaptics.framework", "WiFiKit.framework", "Celestial.framework", "HealthMenstrualCycles.framework", "TeaDB.framework", "MediaControlSender.framework", "IconServices.framework", "WallpaperKit.framework", "RapportUI.framework", "MFAAuthentication.framework", "CourseKit.framework", "AirPlayRoutePrediction.framework", "PhotoAnalysis.framework", "EmojiKit.framework", "AccessibilityPlatformTranslation.framework", "MailSupport.framework", "ProactiveWidgetTracker.framework", "FrontBoardServices.framework", "CPAnalytics.framework", "Home.framework", "CardServices.framework", "MaterialKit.framework", "PersonaKit.framework", "PhotosGraph.framework", "AppleServiceToolkit.framework", "AppSSO.framework", "IntentsServices.framework", "DeviceIdentity.framework", "Calculate.framework", "MessageLegacy.framework", "WatchReplies.framework", "CloudServices.framework", "FlowFrameKit.framework", "StudyLog.framework", "SpeechRecognitionCommandServices.framework", "NewsFeed.framework", "SearchAds.framework", "SetupAssistantUI.framework", "VoiceShortcutsUI.framework", "PersonalizationPortraitInternals.framework", "iMessageApps.framework", "ReminderKit.framework", "MobileStoreDemoKit.framework", "StoreBookkeeper.framework", "TrialProto.framework", "ScreenTimeCore.framework", "SilexWeb.framework", "PairedSync.framework", "PrintKit.framework", "SiriAppResolution.framework", "AudioToolboxCore.framework", "VideoProcessing.framework", "BaseBoard.framework", "AssetViewer.framework", "RemoteMediaServices.framework", "ToneKit.framework", "MobileStorage.framework", "CoreRepairKit.framework", "PassKitUI.framework", "MediaConversionService.framework", "RemoteConfiguration.framework", "CoreLocationProtobuf.framework", "LoginKit.framework", "DiagnosticExtensions.framework", "SiriClientFlow.framework", "StorageSettings.framework", "AppLaunchStats.framework", "ResponseKit.framework", "SearchUI.framework", "HealthToolbox.framework", "NanoMediaBridgeUI.framework", "MailServices.framework", "CalendarDatabase.framework", "PencilPairingUI.framework", "AppleCVAPhoto.framework", "Weather.framework", "CoreSuggestionsInternals.framework", "SafariSafeBrowsing.framework", "SoundBoardServices.framework", "iWorkImport.framework", "BookCoverUtility.framework", "AccessoryiAP2Shim.framework", "CertInfo.framework", "DocumentCamera.framework", "HealthDiagnosticExtensionCore.framework", "DuetExpertCenter.framework", "AccessoryNowPlaying.framework", "SettingsFoundation.framework", "GPURawCounter.framework", "SMBClientProvider.framework", "ABMHelper.framework", "SPFinder.framework", "WebKitLegacy.framework", "RTTUI.framework", "Transparency.framework", "AppPreferenceClient.framework", "DeviceCheckInternal.framework", "LocalAuthenticationPrivateUI.framework", "LiveFSFPHelper.framework", "BookDataStore.framework", "OfficeImport.framework", "HardwareSupport.framework", "CheckerBoardServices.framework", "AskPermission.framework", "SpotlightServices.framework", "NewDeviceOutreach.framework", "AirPlaySender.framework", "Sentry.framework", "UserFS.framework", "XCTTargetBootstrap.framework", "SpringBoardFoundation.framework", "PeopleSuggester.framework", "HomeKitBackingStore.framework", "ContactsDonationFeedback.framework", "ConstantClasses.framework", "ProactiveExperimentsInternals.framework", "ClockKit.framework", "PowerLog.framework", "HID.framework", "CoreThemeDefinition.framework", "AggregateDictionaryHistory.framework", "HealthEducationUI.framework", "SharingUI.framework", "CoreWiFi.framework", "KeyboardArbiter.framework", "MobileIcons.framework", "SoftwareUpdateBridge.framework", "ProactiveSupportStubs.framework", "SensorKit.framework", "TVLatency.framework", "AssetsLibraryServices.framework", "IMDMessageServices.framework", "IOAccelerator.framework", "ATFoundation.framework", "PlacesKit.framework", "CDDataAccessExpress.framework", "TVMLKit.framework", "SiriOntologyProtobuf.framework", "iAdServices.framework", "SMBClientEngine.framework", "TVRemoteUI.framework", "WeatherAnalytics.framework", "ProgressUI.framework", "AppleLDAP.framework", "AirPlaySupport.framework", "TeaUI.framework", "AssistantUI.framework", "NanoTimeKitCompanion.framework", "PhotosImagingFoundation.framework", "CompassUI.framework", "SilexVideo.framework", "PowerlogDatabaseReader.framework", "CoreUtils.framework", "DigitalAccess.framework", "NanoMediaRemote.framework", "RelevanceEngineUI.framework", "VisualVoicemail.framework", "CoreCDPUI.framework", "CoreFollowUpUI.framework", "AdPlatforms.framework", "UsageTracking.framework", "DataAccessExpress.framework", "MessageProtection.framework", "FamilyNotification.framework", "MediaPlaybackCore.framework", "AuthKit.framework", "ShortcutUIKit.framework", "NanoAppRegistry.framework", "IMTransferAgent.framework", "NLP.framework", "CoreAccessories.framework", "SidecarCore.framework", "MetricsKit.framework", "SpotlightReceiver.framework", "NetAppsUtilities.framework", "IMCore.framework", "SpotlightDaemon.framework", "DAAPKit.framework", "DataDeliveryServices.framework", "AppStoreDaemon.framework", "AccessoryCommunications.framework", "OSAnalyticsPrivate.framework", "VoiceServices.framework", "AXMediaUtilities.framework", "ProactiveEventTracker.framework", "HealthUI.framework", "NetworkRelay.framework", "PhotoFoundation.framework", "Rapport.framework", "WirelessDiagnostics.framework", "ShareSheet.framework", "AXRuntime.framework", "PASampling.framework", "MobileActivation.framework", "MobileAssetUpdater.framework", "SpotlightUI.framework", "SplashBoard.framework", "NewsToday.framework", "HeroAppPredictionClient.framework", "DeviceManagement.framework", "RevealCore.framework", "ProactiveExperiments.framework", "VoiceMemos.framework", "Email.framework", "AppStoreUI.framework", "iOSDiagnostics.framework", "IOAccelMemoryInfo.framework", "IOAccessoryManager.framework", "HomeUI.framework", "LocationSupport.framework", "IMTranscoderAgent.framework", "PersonaUI.framework", "AppStoreFoundation.framework", "iAdDeveloper.framework", "ShazamKitUI.framework", "NewsAnalytics.framework", "CalendarNotification.framework", "ActionKitUI.framework", "DigitalTouchShared.framework", "OSAnalytics.framework", "CoreDuet.framework", "DoNotDisturb.framework", "BusinessChatService.framework", "TVPlayback.framework", "MapsSupport.framework", "ProactiveSupport.framework", "TextInput.framework", "IMAssistantCore.framework", "NewsCore.framework", "HealthPluginHost.framework", "WiFiLogCapture.framework", "FMCore.framework", "CoreAnalytics.framework", "IDS.framework", "Osprey.framework", "SiriUI.framework", "UserNotificationsUIKit.framework", "DoNotDisturbKit.framework", "AccessibilitySharedSupport.framework", "PodcastsUI.framework", "TVRemoteKit.framework", "HealthDaemon.framework", "BookUtility.framework", "Search.framework", "CoreNameParser.framework", "TextRecognition.framework", "WorkflowUI.framework", "CARDNDUI.framework", "ContactsUICore.framework", "SymptomDiagnosticReporter.framework", "TelephonyUtilities.framework", "AccountsDaemon.framework", "UserNotificationsSettings.framework", "ASEProcessing.framework", "Futhark.framework", "CDDataAccess.framework", "SignpostSupport.framework", "NotesShared.framework", "KeyboardServices.framework", "DrawingKit.framework", "WebBookmarks.framework", "InstallCoordination.framework", "FusionPluginKit.framework", "ControlCenterServices.framework", "FeatureFlagsSupport.framework", "HeartRhythmUI.framework", "Symbolication.framework", "MusicStoreUI.framework", "AppleHIDTransportSupport.framework", "MOVStreamIO.framework", "SocialServices.framework", "HomeSharing.framework", "IAP.framework", "NeutrinoKit.framework", "SiriTape.framework", "Montreal.framework", "VectorKit.framework", "WiFiAnalytics.framework", "CloudDocs.framework", "CommunicationsFilter.framework", "FamilyCircleUI.framework", "QLCharts.framework", "CoreDuetStatistics.framework", "BulletinBoard.framework", "iTunesStoreUI.framework", "ReminderKitUI.framework", "MarkupUI.framework", "ParsecModel.framework", "UIAccessibility.framework", "VoiceTrigger.framework", "AppSSOCore.framework", "InfoKit.framework", "PrototypeToolsUI.framework", "SMBSearch.framework", "InAppMessages.framework", "FontServices.framework", "PhotoImaging.framework", "AppleAccount.framework", "SOS.framework", "DataMigration.framework", "Memories.framework", "CoreIDV.framework", "GameCenterFoundation.framework", "MusicCarDisplayUI.framework", "FamilyCircle.framework", "FoundInAppsPlugins.framework", "SpringBoard.framework", "AppleIDAuthSupport.framework", "AdID.framework", "BarcodeSupport.framework", "ClockKitUI.framework", "SoftwareUpdateCoreSupport.framework", "Tips.framework", "TestFlightCore.framework", "MMCSServices.framework", "SEService.framework", "DialogEngine.framework", "ActivitySharingUI.framework", "CoreCDPInternal.framework", "DCIMServices.framework", "ProofReader.framework", "PipelineKit.framework", "ActivityAchievements.framework", "TelephonyRPC.framework", "FMFCore.framework", "SafariFoundation.framework", "CoreRecents.framework", "NanoResourceGrabber.framework", "SetupAssistant.framework", "UserActivity.framework", "HIDAnalytics.framework", "AppleIDSSOAuthentication.framework", "NetworkServiceProxy.framework", "UserManagement.framework", "EmailDaemon.framework", "MIME.framework", "EditScript.framework", "SettingsCellular.framework", "ScreenshotServices.framework", "MediaRemote.framework", "PersistentConnection.framework", "iCalendar.framework", "NotesUI.framework", "SignpostCollection.framework", "SiriActivation.framework", "CoreRecognition.framework", "HearingUtilities.framework", "SearchUICardKitProviderSupport.framework", "UserNotificationsServer.framework", "IMDaemonCore.framework", "BulletinDistributorCompanion.framework", "BehaviorMiner.framework", "MediaSafetyNet.framework", "ManagedConfigurationUI.framework", "AppNotificationsLoggingClient.framework", "FMCoreLite.framework", "PowerUI.framework", "MediaServices.framework", "ProactiveMagicalMoments.framework", "MapsSuggestions.framework", "CPMLBestShim.framework", "Fitness.framework", "CoreSuggestionsML.framework", "SpringBoardHome.framework", "PrototypeTools.framework", "CalendarUIKit.framework", "MetalTools.framework", "DataAccessUI.framework", "IntlPreferences.framework", "AppleMediaServicesUI.framework", "ACTFramework.framework", "SpeechRecognitionCommandAndControl.framework", "CompanionCamera.framework", "AppleDepth.framework", "AppStoreKit.framework", "IntentsUICardKitProviderSupport.framework", "PhotoLibrary.framework", "SiriKitFlow.framework", "AccessoryMediaLibrary.framework", "AXCoreUtilities.framework", "URLFormatting.framework", "AudioDataAnalysis.framework", "ProactiveML.framework", "OSASubmissionClient.framework", "UITriggerVC.framework", "KeychainCircle.framework", "SoftwareUpdateCore.framework", "DocumentManager.framework", "TextInputUI.framework", "MeasureFoundation.framework", "StoreBookkeeperClient.framework", "SiriCore.framework", "SetupAssistantSupport.framework", "HIDDisplay.framework", "Pasteboard.framework", "Notes.framework", "CoreSuggestions.framework", "SearchFoundation.framework", "EmailAddressing.framework", "FMIPSiriActions.framework", "CPMS.framework", "AdPlatformsInternal.framework", "SecurityFoundation.framework", "ActivityRingsUI.framework", "ToneLibrary.framework", "PointerUIServices.framework", "CoreDuetDataModel.framework", "PhotosPlayer.framework", "NewsAnalyticsUpload.framework", "QuickLookSupport.framework", "NanoMailKitServer.framework", "VisualPairing.framework", "AccessoryAudio.framework", "AppPredictionUI.framework", "HealthExperienceUI.framework", "SoundAutoConfig.framework", "VoiceTriggerUI.framework", "Message.framework", "AppleCV3DMOVKit.framework", "TimeSync.framework", "PassKitCore.framework", "CoreSuggestionsUI.framework", "RelevanceEngine.framework", "MetricKitSource.framework", "LiveFS.framework", "MetricMeasurement.framework", "EAP8021X.framework", "CommunicationsSetupUI.framework", "AudioPasscode.framework", "TrialServer.framework", "AppleMediaServicesUIDynamic.framework", "MediaPlayerUI.framework", "ShazamKit.framework", "ClockComplications.framework", "AppleAccountUI.framework", "DAEASOAuthFramework.framework", "MobileAsset.framework", "IMTransferServices.framework", "ChatKit.framework", "HealthProfile.framework", "ActivityAchievementsDaemon.framework", "NetAppsUtilitiesUI.framework", "ActionPredictionHeuristicsInternal.framework", "FMF.framework", "TeaTemplate.framework", "CarPlayServices.framework", "NanoComplicationSettings.framework", "BoardServices.framework", "iCloudQuotaDaemon.framework", "VisualAlert.framework", "IntentsFoundation.framework", "CloudKitDaemon.framework", "TeaFoundation.framework", "NearField.framework", "SAML.framework", "IdleTimerServices.framework", "AddressBookLegacy.framework", "AssistantServices.framework", "NanoPassKit.framework", "MobileSoftwareUpdate.framework", "SensorKitUI.framework", "ClassKitUI.framework", "Espresso.framework", "AccessibilityUtilities.framework", "IMSharedUI.framework", "JetUI.framework", "IMFoundation.framework", "TeaSettings.framework", "JasperDepth.framework", "CertUI.framework", "NewsFeedLayout.framework", "IDSFoundation.framework", "CryptoKitPrivate.framework", "TrustedPeers.framework", "NanoMusicSync.framework", "AccountNotification.framework", "CoreHandwriting.framework", "CloudPhotoLibrary.framework", "Coherence.framework", "SharedWebCredentials.framework", "Cards.framework", "NewsTransport.framework", "EmailFoundation.framework", "JITAppKit.framework", "CoreBrightness.framework", "CTCarrierSpace.framework", "TVRemoteCore.framework", "CTCarrierSpaceUI.framework", "Catalyst.framework", "ContactsDonation.framework", "AvatarUI.framework", "CellularBridgeUI.framework", "AppPredictionWidget.framework", "HardwareDiagnostics.framework", "MobileInstallation.framework", "AirPortAssistant.framework", "PhotoBoothEffects.framework", "SiriTasks.framework", "RemoteCoreML.framework", "EnhancedLoggingState.framework", "AssetCacheServicesExtensions.framework", "AccessoryOOBBTPairing.framework", "ProximityUI.framework", "Haptics.framework", "AssertionServices.framework", "HelpKit.framework", "UserNotificationsKit.framework", "ScreenReaderOutput.framework", "BrailleTranslation.framework", "perfdata.framework", "WebApp.framework", "CalDAV.framework", "AppConduit.framework", "HealthExperience.framework", "ScreenTimeUI.framework", "WiFiVelocity.framework", "CoreDuetContext.framework", "AutoLoop.framework", "vCard.framework", "VideoSubscriberAccountUI.framework", "Stocks.framework", "MetricKitCore.framework", "AppSupportUI.framework", "FTServices.framework", "FrontBoard.framework", "CompanionSync.framework", "MDM.framework", "SystemStatus.framework", "OAuth.framework", "iCloudQuotaUI.framework", "SlideshowKit.framework", "WiFiPolicy.framework", "CoreRoutine.framework", "NewsUI.framework", "PairingProximity.framework", "MobileContainerManager.framework", "CloudDocsDaemon.framework", "PrivateFederatedLearning.framework", "ExchangeSync.framework", "SpringBoardServices.framework", "PLSnapshot.framework", "InternationalSupport.framework", "NewsFoundation.framework", "GameCenterUI.framework", "MailWebProcessSupport.framework", "ContextKit.framework", "AppleNeuralEngine.framework", "TouchRemote.framework", "FriendKit.framework", "CellularPlanManager.framework", "CompanionHealthDaemon.framework", "CoreCDP.framework", "RemoteManagement.framework", "CameraUI.framework", "iTunesStore.framework", "SiriInstrumentation.framework", "CoreGPSTest.framework", "MetricKitServices.framework", "CoreCDPUIInternal.framework", "PhotoLibraryServices.framework", "NanoPhonePerfTesting.framework", "SiriUICardKitProviderSupport.framework", "PhotosUICore.framework", "SoftwareUpdateServicesUI.framework", "AccessoryHID.framework", "ActivitySharing.framework", "SoftwareUpdateSettings.framework", "SidecarUI.framework", "ProtectedCloudStorage.framework", "FitnessUI.framework", "NanoBackup.framework", "ConversationKit.framework", "EmbeddedAcousticRecognition.framework", "RTCReporting.framework", "StoreKitUI.framework", "PersonalizationPortrait.framework", "SAObjects.framework", "VideosUICore.framework", "WatchListKit.framework", "AppleMediaServices.framework", "AirTraffic.framework", "LoginPerformanceKit.framework", "IncomingCallFilter.framework", "IMAVCore.framework", "NLFoundInAppsPlugin.framework", "VoiceShortcutClient.framework", "GenerationalStorage.framework", "StoreServices.framework", "DuetRecommendation.framework", "NanoWeatherComplicationsCompanion.framework", "NCLaunchStats.framework", "SyncedDefaults.framework", "ActivityAchievementsUI.framework", "NewsSubscription.framework", "AssistantSettingsSupport.framework", "BookLibrary.framework", "SecureChannel.framework", "IMSharedUtilities.framework", "BiometricSupport.framework", "MediaExperience.framework", "AccessibilityPhysicalInteraction.framework", "AppPredictionInternal.framework", "AppPredictionClient.framework", "MobileLookup.framework", "CoreDuetSync.framework", "BridgePreferences.framework", "ContactsFoundation.framework", "FMCoreUI.framework", "AccessoryVoiceOver.framework", "CarPlayUIServices.framework", "NanoAudioControl.framework", "SafariShared.framework", "CardKit.framework", "MobileBackup.framework", "SpringBoardUI.framework", "NanoUniverse.framework", "MobileTimer.framework", "HMFoundation.framework", "APTransport.framework", "FileProviderDaemon.framework", "SuggestionsSpotlightMetrics.framework", "LockoutUI.framework", "EasyConfig.framework", "DocumentManagerExecutables.framework", "DiagnosticsKit.framework", "iCloudNotification.framework", "OnBoardingKit.framework", "IOUSBHost.framework", "IDSKVStore.framework", "HearingCore.framework", "RemoteTextInput.framework", "DASActivitySchedulerUI.framework", "SpringBoardUIServices.framework", "CoreServicesStore.framework", "TVUIKit.framework", "MobileKeyBag.framework", "TATest.framework", "CoreDuetDebugLogging.framework", "Sharing.framework", "RunningBoard.framework", "SiriUICore.framework", "SPOwner.framework", "ContentKit.framework", "TextInputCore.framework", "DoNotDisturbServer.framework", "CameraEffectsKit.framework", "AppSSOUI.framework", "RemoteStateDumpKit.framework", "LoggingSupport.framework", "WelcomeKitUI.framework", "Engram.framework", "AttentionAwareness.framework", "PassKitUIFoundation.framework", "RTTUtilities.framework", "IMDPersistence.framework", "PhysicsKit.framework", "SiriAudioInternal.framework", "IntentsCore.framework", "NanoPreferencesSync.framework", "SoftwareUpdateServices.framework", "CryptoKitCBridging.framework", "ActionPredictionHeuristics.framework", "TextInputChinese.framework", "CloudKitCode.framework", "SafariSharedUI.framework", "StreamingZip.framework", "HealthMenstrualCyclesDaemon.framework", "AudioServerApplication.framework", "MediaStream.framework", "FMClient.framework", "UpNextWidget.framework", "WeatherFoundation.framework", "VideosUI.framework", "RemoteUI.framework", "TouchML.framework", "PodcastsFoundation.framework", "SiriOntology.framework", "Navigation.framework", "BackBoardServices.framework", "FaceCore.framework", "Silex.framework", "BluetoothAudio.framework", "HearingUI.framework", "DASDaemon.framework", "ScreenReaderCore.framework", "DocumentManagerCore.framework", "TemplateKit.framework", "MobileAccessoryUpdater.framework", "SystemStatusServer.framework", "PodcastsKit.framework", "LimitAdTracking.framework", "AccessoryBLEPairing.framework", "HangTracer.framework", "Pegasus.framework", "SIMSetupSupport.framework", "MusicLibrary.framework", "ParsecSubscriptionServiceSupport.framework", "FlightUtilities.framework", "TransparencyDetailsView.framework", "CoreSDB.framework", "HomeKitDaemon.framework", "CoreDuetDaemonProtocol.framework", "WelcomeKit.framework", "ProVideo.framework", "WorkflowKit.framework", "KnowledgeMonitor.framework", "AssetExplorer.framework", "TinCanShared.framework", "Trial.framework", "TelephonyUI.framework", "NewsDaemon.framework", "AccountsUI.framework", "NewsServicesInternal.framework", "MPUFoundation.framework" ]
frameworks = ['MobileWiFi.framework', 'IMTranscoding.framework', 'CarPlaySupport.framework', 'Spotlight.framework', 'TeaCharts.framework', 'SafariCore.framework', 'AppSSOKerberos.framework', 'RemindersUI.framework', 'AirTrafficDevice.framework', 'InertiaCam.framework', 'ConfigurationEngineModel.framework', 'CoreMaterial.framework', 'AudioServerDriver.framework', 'ActionKit.framework', 'DifferentialPrivacy.framework', 'ContactsAssistantServices.framework', 'CloudPhotoServices.framework', 'ScreenTimeSettingsUI.framework', 'WebInspector.framework', 'OSAServicesClient.framework', 'TelephonyPreferences.framework', 'CrashReporterSupport.framework', 'iAdCore.framework', 'SensingProtocols.framework', 'ITMLKit.framework', 'InputContext.framework', 'TextureIO.framework', 'AssetCacheServices.framework', 'FMNetworking.framework', 'LoginUILogViewer.framework', 'NewDeviceOutreachUI.framework', 'EmailCore.framework', 'WiFiKitUI.framework', 'AMPCoreUI.framework', 'WebCore.framework', 'CoverSheet.framework', 'SiriAudioSupport.framework', 'TextToSpeech.framework', 'JetEngine.framework', 'HSAAuthentication.framework', 'USDKit.framework', 'Preferences.framework', 'UIFoundation.framework', 'AnnotationKit.framework', 'NanoPhotosUICompanion.framework', 'NanoLeash.framework', 'NanoRegistry.framework', 'EmbeddedDataReset.framework', 'CoreUtilsUI.framework', 'ScreenReaderBrailleDriver.framework', 'CarKit.framework', 'CoreParsec.framework', 'EmojiFoundation.framework', 'CoreKnowledge.framework', 'BaseBoardUI.framework', 'ApplePushService.framework', 'CoreRE.framework', 'FMFUI.framework', 'PBBridgeSupport.framework', 'ExchangeSyncExpress.framework', 'SiriGeo.framework', 'GraphVisualizer.framework', 'FTClientServices.framework', 'HealthRecordServices.framework', 'iCloudQuota.framework', 'MediaControls.framework', 'AdAnalytics.framework', 'WebUI.framework', 'ClassroomKit.framework', 'ContentIndex.framework', 'IDSHashPersistence.framework', 'AppServerSupport.framework', 'NewsServices.framework', 'HealthAlgorithms.framework', 'WebContentAnalysis.framework', 'NewsUI2.framework', 'BluetoothManager.framework', 'Categories.framework', 'HealthOntology.framework', 'SpotlightUIInternal.framework', 'CoreMediaStream.framework', 'TrackingAvoidance.framework', 'HealthRecordsUI.framework', 'HomeAI.framework', 'AppleCVA.framework', 'DiagnosticsSupport.framework', 'AppAnalytics.framework', 'WelcomeKitCore.framework', 'ButtonResolver.framework', 'MobileMailUI.framework', 'CameraKit.framework', 'RemoteXPC.framework', 'CloudKitCodeProtobuf.framework', 'AirPlayReceiver.framework', 'iOSScreenSharing.framework', 'SiriUIActivation.framework', 'BiometricKitUI.framework', 'AuthKitUI.framework', 'MediaMiningKit.framework', 'SoftwareUpdateSettingsUI.framework', 'NetworkStatistics.framework', 'CameraEditKit.framework', 'ContactsAutocompleteUI.framework', 'FindMyDeviceUI.framework', 'CalendarDaemon.framework', 'EmergencyAlerts.framework', 'AACCore.framework', 'CoreFollowUp.framework', 'C2.framework', 'CacheDelete.framework', 'ReminderMigration.framework', 'HDRProcessing.framework', 'Radio.framework', 'CalendarFoundation.framework', 'HealthVisualization.framework', 'CoreIndoor.framework', 'TSReading.framework', 'iTunesCloud.framework', 'NewsArticles.framework', 'CloudDocsUI.framework', 'NLPLearner.framework', 'GameKitServices.framework', 'DataDetectorsUI.framework', 'DocumentManagerUICore.framework', 'SampleAnalysis.framework', 'AdCore.framework', 'VoiceShortcuts.framework', 'AppSupport.framework', 'PlatterKit.framework', 'CoreDAV.framework', 'CoreSpeech.framework', 'RunningBoardServices.framework', 'AOSKit.framework', 'ContactsAutocomplete.framework', 'AVConference.framework', 'WirelessProximity.framework', 'LegacyGameKit.framework', 'LinguisticData.framework', 'TSUtility.framework', 'KnowledgeGraphKit.framework', 'FMIPCore.framework', 'AccessoryAssistiveTouch.framework', 'CoreUtilsSwift.framework', 'FindMyDevice.framework', 'MMCS.framework', 'WeatherUI.framework', 'PhotosFormats.framework', 'ContinuousDialogManagerService.framework', 'NanoSystemSettings.framework', 'CorePDF.framework', 'SettingsCellularUI.framework', 'UIKitServices.framework', 'MobileSystemServices.framework', 'PreferencesUI.framework', 'FusionPluginServices.framework', 'CoreUI.framework', 'AvatarKit.framework', 'SPShared.framework', 'GeoServices.framework', 'ProtocolBuffer.framework', 'CallHistory.framework', 'CommonUtilities.framework', 'DataDetectorsCore.framework', 'MetadataUtilities.framework', 'ControlCenterUIKit.framework', 'ManagedConfiguration.framework', 'Cornobble.framework', 'HealthMenstrualCyclesUI.framework', 'WirelessCoexManager.framework', 'DistributedEvaluation.framework', 'DictionaryUI.framework', 'MessageSecurity.framework', 'RemoteServiceDiscovery.framework', 'BatteryCenter.framework', 'PhotoVision.framework', 'AssistantCardServiceSupport.framework', 'DuetActivityScheduler.framework', 'ControlCenterUI.framework', 'UIKitCore.framework', 'AccountSettings.framework', 'RenderBox.framework', 'MobileTimerUI.framework', 'SIMToolkitUI.framework', 'CoreHAP.framework', 'EAFirmwareUpdater.framework', 'Proximity.framework', 'OTSVG.framework', 'DataAccess.framework', 'Widgets.framework', 'OSASyncProxyClient.framework', 'WiFiCloudSyncEngine.framework', 'DataDetectorsNaturalLanguage.framework', 'PairedUnlock.framework', 'AccessoryNavigation.framework', 'PlugInKit.framework', 'SignpostMetrics.framework', 'BiometricKit.framework', 'NeutrinoCore.framework', 'DiagnosticExtensionsDaemon.framework', 'CorePrediction.framework', 'WPDaemon.framework', 'AOPHaptics.framework', 'WiFiKit.framework', 'Celestial.framework', 'HealthMenstrualCycles.framework', 'TeaDB.framework', 'MediaControlSender.framework', 'IconServices.framework', 'WallpaperKit.framework', 'RapportUI.framework', 'MFAAuthentication.framework', 'CourseKit.framework', 'AirPlayRoutePrediction.framework', 'PhotoAnalysis.framework', 'EmojiKit.framework', 'AccessibilityPlatformTranslation.framework', 'MailSupport.framework', 'ProactiveWidgetTracker.framework', 'FrontBoardServices.framework', 'CPAnalytics.framework', 'Home.framework', 'CardServices.framework', 'MaterialKit.framework', 'PersonaKit.framework', 'PhotosGraph.framework', 'AppleServiceToolkit.framework', 'AppSSO.framework', 'IntentsServices.framework', 'DeviceIdentity.framework', 'Calculate.framework', 'MessageLegacy.framework', 'WatchReplies.framework', 'CloudServices.framework', 'FlowFrameKit.framework', 'StudyLog.framework', 'SpeechRecognitionCommandServices.framework', 'NewsFeed.framework', 'SearchAds.framework', 'SetupAssistantUI.framework', 'VoiceShortcutsUI.framework', 'PersonalizationPortraitInternals.framework', 'iMessageApps.framework', 'ReminderKit.framework', 'MobileStoreDemoKit.framework', 'StoreBookkeeper.framework', 'TrialProto.framework', 'ScreenTimeCore.framework', 'SilexWeb.framework', 'PairedSync.framework', 'PrintKit.framework', 'SiriAppResolution.framework', 'AudioToolboxCore.framework', 'VideoProcessing.framework', 'BaseBoard.framework', 'AssetViewer.framework', 'RemoteMediaServices.framework', 'ToneKit.framework', 'MobileStorage.framework', 'CoreRepairKit.framework', 'PassKitUI.framework', 'MediaConversionService.framework', 'RemoteConfiguration.framework', 'CoreLocationProtobuf.framework', 'LoginKit.framework', 'DiagnosticExtensions.framework', 'SiriClientFlow.framework', 'StorageSettings.framework', 'AppLaunchStats.framework', 'ResponseKit.framework', 'SearchUI.framework', 'HealthToolbox.framework', 'NanoMediaBridgeUI.framework', 'MailServices.framework', 'CalendarDatabase.framework', 'PencilPairingUI.framework', 'AppleCVAPhoto.framework', 'Weather.framework', 'CoreSuggestionsInternals.framework', 'SafariSafeBrowsing.framework', 'SoundBoardServices.framework', 'iWorkImport.framework', 'BookCoverUtility.framework', 'AccessoryiAP2Shim.framework', 'CertInfo.framework', 'DocumentCamera.framework', 'HealthDiagnosticExtensionCore.framework', 'DuetExpertCenter.framework', 'AccessoryNowPlaying.framework', 'SettingsFoundation.framework', 'GPURawCounter.framework', 'SMBClientProvider.framework', 'ABMHelper.framework', 'SPFinder.framework', 'WebKitLegacy.framework', 'RTTUI.framework', 'Transparency.framework', 'AppPreferenceClient.framework', 'DeviceCheckInternal.framework', 'LocalAuthenticationPrivateUI.framework', 'LiveFSFPHelper.framework', 'BookDataStore.framework', 'OfficeImport.framework', 'HardwareSupport.framework', 'CheckerBoardServices.framework', 'AskPermission.framework', 'SpotlightServices.framework', 'NewDeviceOutreach.framework', 'AirPlaySender.framework', 'Sentry.framework', 'UserFS.framework', 'XCTTargetBootstrap.framework', 'SpringBoardFoundation.framework', 'PeopleSuggester.framework', 'HomeKitBackingStore.framework', 'ContactsDonationFeedback.framework', 'ConstantClasses.framework', 'ProactiveExperimentsInternals.framework', 'ClockKit.framework', 'PowerLog.framework', 'HID.framework', 'CoreThemeDefinition.framework', 'AggregateDictionaryHistory.framework', 'HealthEducationUI.framework', 'SharingUI.framework', 'CoreWiFi.framework', 'KeyboardArbiter.framework', 'MobileIcons.framework', 'SoftwareUpdateBridge.framework', 'ProactiveSupportStubs.framework', 'SensorKit.framework', 'TVLatency.framework', 'AssetsLibraryServices.framework', 'IMDMessageServices.framework', 'IOAccelerator.framework', 'ATFoundation.framework', 'PlacesKit.framework', 'CDDataAccessExpress.framework', 'TVMLKit.framework', 'SiriOntologyProtobuf.framework', 'iAdServices.framework', 'SMBClientEngine.framework', 'TVRemoteUI.framework', 'WeatherAnalytics.framework', 'ProgressUI.framework', 'AppleLDAP.framework', 'AirPlaySupport.framework', 'TeaUI.framework', 'AssistantUI.framework', 'NanoTimeKitCompanion.framework', 'PhotosImagingFoundation.framework', 'CompassUI.framework', 'SilexVideo.framework', 'PowerlogDatabaseReader.framework', 'CoreUtils.framework', 'DigitalAccess.framework', 'NanoMediaRemote.framework', 'RelevanceEngineUI.framework', 'VisualVoicemail.framework', 'CoreCDPUI.framework', 'CoreFollowUpUI.framework', 'AdPlatforms.framework', 'UsageTracking.framework', 'DataAccessExpress.framework', 'MessageProtection.framework', 'FamilyNotification.framework', 'MediaPlaybackCore.framework', 'AuthKit.framework', 'ShortcutUIKit.framework', 'NanoAppRegistry.framework', 'IMTransferAgent.framework', 'NLP.framework', 'CoreAccessories.framework', 'SidecarCore.framework', 'MetricsKit.framework', 'SpotlightReceiver.framework', 'NetAppsUtilities.framework', 'IMCore.framework', 'SpotlightDaemon.framework', 'DAAPKit.framework', 'DataDeliveryServices.framework', 'AppStoreDaemon.framework', 'AccessoryCommunications.framework', 'OSAnalyticsPrivate.framework', 'VoiceServices.framework', 'AXMediaUtilities.framework', 'ProactiveEventTracker.framework', 'HealthUI.framework', 'NetworkRelay.framework', 'PhotoFoundation.framework', 'Rapport.framework', 'WirelessDiagnostics.framework', 'ShareSheet.framework', 'AXRuntime.framework', 'PASampling.framework', 'MobileActivation.framework', 'MobileAssetUpdater.framework', 'SpotlightUI.framework', 'SplashBoard.framework', 'NewsToday.framework', 'HeroAppPredictionClient.framework', 'DeviceManagement.framework', 'RevealCore.framework', 'ProactiveExperiments.framework', 'VoiceMemos.framework', 'Email.framework', 'AppStoreUI.framework', 'iOSDiagnostics.framework', 'IOAccelMemoryInfo.framework', 'IOAccessoryManager.framework', 'HomeUI.framework', 'LocationSupport.framework', 'IMTranscoderAgent.framework', 'PersonaUI.framework', 'AppStoreFoundation.framework', 'iAdDeveloper.framework', 'ShazamKitUI.framework', 'NewsAnalytics.framework', 'CalendarNotification.framework', 'ActionKitUI.framework', 'DigitalTouchShared.framework', 'OSAnalytics.framework', 'CoreDuet.framework', 'DoNotDisturb.framework', 'BusinessChatService.framework', 'TVPlayback.framework', 'MapsSupport.framework', 'ProactiveSupport.framework', 'TextInput.framework', 'IMAssistantCore.framework', 'NewsCore.framework', 'HealthPluginHost.framework', 'WiFiLogCapture.framework', 'FMCore.framework', 'CoreAnalytics.framework', 'IDS.framework', 'Osprey.framework', 'SiriUI.framework', 'UserNotificationsUIKit.framework', 'DoNotDisturbKit.framework', 'AccessibilitySharedSupport.framework', 'PodcastsUI.framework', 'TVRemoteKit.framework', 'HealthDaemon.framework', 'BookUtility.framework', 'Search.framework', 'CoreNameParser.framework', 'TextRecognition.framework', 'WorkflowUI.framework', 'CARDNDUI.framework', 'ContactsUICore.framework', 'SymptomDiagnosticReporter.framework', 'TelephonyUtilities.framework', 'AccountsDaemon.framework', 'UserNotificationsSettings.framework', 'ASEProcessing.framework', 'Futhark.framework', 'CDDataAccess.framework', 'SignpostSupport.framework', 'NotesShared.framework', 'KeyboardServices.framework', 'DrawingKit.framework', 'WebBookmarks.framework', 'InstallCoordination.framework', 'FusionPluginKit.framework', 'ControlCenterServices.framework', 'FeatureFlagsSupport.framework', 'HeartRhythmUI.framework', 'Symbolication.framework', 'MusicStoreUI.framework', 'AppleHIDTransportSupport.framework', 'MOVStreamIO.framework', 'SocialServices.framework', 'HomeSharing.framework', 'IAP.framework', 'NeutrinoKit.framework', 'SiriTape.framework', 'Montreal.framework', 'VectorKit.framework', 'WiFiAnalytics.framework', 'CloudDocs.framework', 'CommunicationsFilter.framework', 'FamilyCircleUI.framework', 'QLCharts.framework', 'CoreDuetStatistics.framework', 'BulletinBoard.framework', 'iTunesStoreUI.framework', 'ReminderKitUI.framework', 'MarkupUI.framework', 'ParsecModel.framework', 'UIAccessibility.framework', 'VoiceTrigger.framework', 'AppSSOCore.framework', 'InfoKit.framework', 'PrototypeToolsUI.framework', 'SMBSearch.framework', 'InAppMessages.framework', 'FontServices.framework', 'PhotoImaging.framework', 'AppleAccount.framework', 'SOS.framework', 'DataMigration.framework', 'Memories.framework', 'CoreIDV.framework', 'GameCenterFoundation.framework', 'MusicCarDisplayUI.framework', 'FamilyCircle.framework', 'FoundInAppsPlugins.framework', 'SpringBoard.framework', 'AppleIDAuthSupport.framework', 'AdID.framework', 'BarcodeSupport.framework', 'ClockKitUI.framework', 'SoftwareUpdateCoreSupport.framework', 'Tips.framework', 'TestFlightCore.framework', 'MMCSServices.framework', 'SEService.framework', 'DialogEngine.framework', 'ActivitySharingUI.framework', 'CoreCDPInternal.framework', 'DCIMServices.framework', 'ProofReader.framework', 'PipelineKit.framework', 'ActivityAchievements.framework', 'TelephonyRPC.framework', 'FMFCore.framework', 'SafariFoundation.framework', 'CoreRecents.framework', 'NanoResourceGrabber.framework', 'SetupAssistant.framework', 'UserActivity.framework', 'HIDAnalytics.framework', 'AppleIDSSOAuthentication.framework', 'NetworkServiceProxy.framework', 'UserManagement.framework', 'EmailDaemon.framework', 'MIME.framework', 'EditScript.framework', 'SettingsCellular.framework', 'ScreenshotServices.framework', 'MediaRemote.framework', 'PersistentConnection.framework', 'iCalendar.framework', 'NotesUI.framework', 'SignpostCollection.framework', 'SiriActivation.framework', 'CoreRecognition.framework', 'HearingUtilities.framework', 'SearchUICardKitProviderSupport.framework', 'UserNotificationsServer.framework', 'IMDaemonCore.framework', 'BulletinDistributorCompanion.framework', 'BehaviorMiner.framework', 'MediaSafetyNet.framework', 'ManagedConfigurationUI.framework', 'AppNotificationsLoggingClient.framework', 'FMCoreLite.framework', 'PowerUI.framework', 'MediaServices.framework', 'ProactiveMagicalMoments.framework', 'MapsSuggestions.framework', 'CPMLBestShim.framework', 'Fitness.framework', 'CoreSuggestionsML.framework', 'SpringBoardHome.framework', 'PrototypeTools.framework', 'CalendarUIKit.framework', 'MetalTools.framework', 'DataAccessUI.framework', 'IntlPreferences.framework', 'AppleMediaServicesUI.framework', 'ACTFramework.framework', 'SpeechRecognitionCommandAndControl.framework', 'CompanionCamera.framework', 'AppleDepth.framework', 'AppStoreKit.framework', 'IntentsUICardKitProviderSupport.framework', 'PhotoLibrary.framework', 'SiriKitFlow.framework', 'AccessoryMediaLibrary.framework', 'AXCoreUtilities.framework', 'URLFormatting.framework', 'AudioDataAnalysis.framework', 'ProactiveML.framework', 'OSASubmissionClient.framework', 'UITriggerVC.framework', 'KeychainCircle.framework', 'SoftwareUpdateCore.framework', 'DocumentManager.framework', 'TextInputUI.framework', 'MeasureFoundation.framework', 'StoreBookkeeperClient.framework', 'SiriCore.framework', 'SetupAssistantSupport.framework', 'HIDDisplay.framework', 'Pasteboard.framework', 'Notes.framework', 'CoreSuggestions.framework', 'SearchFoundation.framework', 'EmailAddressing.framework', 'FMIPSiriActions.framework', 'CPMS.framework', 'AdPlatformsInternal.framework', 'SecurityFoundation.framework', 'ActivityRingsUI.framework', 'ToneLibrary.framework', 'PointerUIServices.framework', 'CoreDuetDataModel.framework', 'PhotosPlayer.framework', 'NewsAnalyticsUpload.framework', 'QuickLookSupport.framework', 'NanoMailKitServer.framework', 'VisualPairing.framework', 'AccessoryAudio.framework', 'AppPredictionUI.framework', 'HealthExperienceUI.framework', 'SoundAutoConfig.framework', 'VoiceTriggerUI.framework', 'Message.framework', 'AppleCV3DMOVKit.framework', 'TimeSync.framework', 'PassKitCore.framework', 'CoreSuggestionsUI.framework', 'RelevanceEngine.framework', 'MetricKitSource.framework', 'LiveFS.framework', 'MetricMeasurement.framework', 'EAP8021X.framework', 'CommunicationsSetupUI.framework', 'AudioPasscode.framework', 'TrialServer.framework', 'AppleMediaServicesUIDynamic.framework', 'MediaPlayerUI.framework', 'ShazamKit.framework', 'ClockComplications.framework', 'AppleAccountUI.framework', 'DAEASOAuthFramework.framework', 'MobileAsset.framework', 'IMTransferServices.framework', 'ChatKit.framework', 'HealthProfile.framework', 'ActivityAchievementsDaemon.framework', 'NetAppsUtilitiesUI.framework', 'ActionPredictionHeuristicsInternal.framework', 'FMF.framework', 'TeaTemplate.framework', 'CarPlayServices.framework', 'NanoComplicationSettings.framework', 'BoardServices.framework', 'iCloudQuotaDaemon.framework', 'VisualAlert.framework', 'IntentsFoundation.framework', 'CloudKitDaemon.framework', 'TeaFoundation.framework', 'NearField.framework', 'SAML.framework', 'IdleTimerServices.framework', 'AddressBookLegacy.framework', 'AssistantServices.framework', 'NanoPassKit.framework', 'MobileSoftwareUpdate.framework', 'SensorKitUI.framework', 'ClassKitUI.framework', 'Espresso.framework', 'AccessibilityUtilities.framework', 'IMSharedUI.framework', 'JetUI.framework', 'IMFoundation.framework', 'TeaSettings.framework', 'JasperDepth.framework', 'CertUI.framework', 'NewsFeedLayout.framework', 'IDSFoundation.framework', 'CryptoKitPrivate.framework', 'TrustedPeers.framework', 'NanoMusicSync.framework', 'AccountNotification.framework', 'CoreHandwriting.framework', 'CloudPhotoLibrary.framework', 'Coherence.framework', 'SharedWebCredentials.framework', 'Cards.framework', 'NewsTransport.framework', 'EmailFoundation.framework', 'JITAppKit.framework', 'CoreBrightness.framework', 'CTCarrierSpace.framework', 'TVRemoteCore.framework', 'CTCarrierSpaceUI.framework', 'Catalyst.framework', 'ContactsDonation.framework', 'AvatarUI.framework', 'CellularBridgeUI.framework', 'AppPredictionWidget.framework', 'HardwareDiagnostics.framework', 'MobileInstallation.framework', 'AirPortAssistant.framework', 'PhotoBoothEffects.framework', 'SiriTasks.framework', 'RemoteCoreML.framework', 'EnhancedLoggingState.framework', 'AssetCacheServicesExtensions.framework', 'AccessoryOOBBTPairing.framework', 'ProximityUI.framework', 'Haptics.framework', 'AssertionServices.framework', 'HelpKit.framework', 'UserNotificationsKit.framework', 'ScreenReaderOutput.framework', 'BrailleTranslation.framework', 'perfdata.framework', 'WebApp.framework', 'CalDAV.framework', 'AppConduit.framework', 'HealthExperience.framework', 'ScreenTimeUI.framework', 'WiFiVelocity.framework', 'CoreDuetContext.framework', 'AutoLoop.framework', 'vCard.framework', 'VideoSubscriberAccountUI.framework', 'Stocks.framework', 'MetricKitCore.framework', 'AppSupportUI.framework', 'FTServices.framework', 'FrontBoard.framework', 'CompanionSync.framework', 'MDM.framework', 'SystemStatus.framework', 'OAuth.framework', 'iCloudQuotaUI.framework', 'SlideshowKit.framework', 'WiFiPolicy.framework', 'CoreRoutine.framework', 'NewsUI.framework', 'PairingProximity.framework', 'MobileContainerManager.framework', 'CloudDocsDaemon.framework', 'PrivateFederatedLearning.framework', 'ExchangeSync.framework', 'SpringBoardServices.framework', 'PLSnapshot.framework', 'InternationalSupport.framework', 'NewsFoundation.framework', 'GameCenterUI.framework', 'MailWebProcessSupport.framework', 'ContextKit.framework', 'AppleNeuralEngine.framework', 'TouchRemote.framework', 'FriendKit.framework', 'CellularPlanManager.framework', 'CompanionHealthDaemon.framework', 'CoreCDP.framework', 'RemoteManagement.framework', 'CameraUI.framework', 'iTunesStore.framework', 'SiriInstrumentation.framework', 'CoreGPSTest.framework', 'MetricKitServices.framework', 'CoreCDPUIInternal.framework', 'PhotoLibraryServices.framework', 'NanoPhonePerfTesting.framework', 'SiriUICardKitProviderSupport.framework', 'PhotosUICore.framework', 'SoftwareUpdateServicesUI.framework', 'AccessoryHID.framework', 'ActivitySharing.framework', 'SoftwareUpdateSettings.framework', 'SidecarUI.framework', 'ProtectedCloudStorage.framework', 'FitnessUI.framework', 'NanoBackup.framework', 'ConversationKit.framework', 'EmbeddedAcousticRecognition.framework', 'RTCReporting.framework', 'StoreKitUI.framework', 'PersonalizationPortrait.framework', 'SAObjects.framework', 'VideosUICore.framework', 'WatchListKit.framework', 'AppleMediaServices.framework', 'AirTraffic.framework', 'LoginPerformanceKit.framework', 'IncomingCallFilter.framework', 'IMAVCore.framework', 'NLFoundInAppsPlugin.framework', 'VoiceShortcutClient.framework', 'GenerationalStorage.framework', 'StoreServices.framework', 'DuetRecommendation.framework', 'NanoWeatherComplicationsCompanion.framework', 'NCLaunchStats.framework', 'SyncedDefaults.framework', 'ActivityAchievementsUI.framework', 'NewsSubscription.framework', 'AssistantSettingsSupport.framework', 'BookLibrary.framework', 'SecureChannel.framework', 'IMSharedUtilities.framework', 'BiometricSupport.framework', 'MediaExperience.framework', 'AccessibilityPhysicalInteraction.framework', 'AppPredictionInternal.framework', 'AppPredictionClient.framework', 'MobileLookup.framework', 'CoreDuetSync.framework', 'BridgePreferences.framework', 'ContactsFoundation.framework', 'FMCoreUI.framework', 'AccessoryVoiceOver.framework', 'CarPlayUIServices.framework', 'NanoAudioControl.framework', 'SafariShared.framework', 'CardKit.framework', 'MobileBackup.framework', 'SpringBoardUI.framework', 'NanoUniverse.framework', 'MobileTimer.framework', 'HMFoundation.framework', 'APTransport.framework', 'FileProviderDaemon.framework', 'SuggestionsSpotlightMetrics.framework', 'LockoutUI.framework', 'EasyConfig.framework', 'DocumentManagerExecutables.framework', 'DiagnosticsKit.framework', 'iCloudNotification.framework', 'OnBoardingKit.framework', 'IOUSBHost.framework', 'IDSKVStore.framework', 'HearingCore.framework', 'RemoteTextInput.framework', 'DASActivitySchedulerUI.framework', 'SpringBoardUIServices.framework', 'CoreServicesStore.framework', 'TVUIKit.framework', 'MobileKeyBag.framework', 'TATest.framework', 'CoreDuetDebugLogging.framework', 'Sharing.framework', 'RunningBoard.framework', 'SiriUICore.framework', 'SPOwner.framework', 'ContentKit.framework', 'TextInputCore.framework', 'DoNotDisturbServer.framework', 'CameraEffectsKit.framework', 'AppSSOUI.framework', 'RemoteStateDumpKit.framework', 'LoggingSupport.framework', 'WelcomeKitUI.framework', 'Engram.framework', 'AttentionAwareness.framework', 'PassKitUIFoundation.framework', 'RTTUtilities.framework', 'IMDPersistence.framework', 'PhysicsKit.framework', 'SiriAudioInternal.framework', 'IntentsCore.framework', 'NanoPreferencesSync.framework', 'SoftwareUpdateServices.framework', 'CryptoKitCBridging.framework', 'ActionPredictionHeuristics.framework', 'TextInputChinese.framework', 'CloudKitCode.framework', 'SafariSharedUI.framework', 'StreamingZip.framework', 'HealthMenstrualCyclesDaemon.framework', 'AudioServerApplication.framework', 'MediaStream.framework', 'FMClient.framework', 'UpNextWidget.framework', 'WeatherFoundation.framework', 'VideosUI.framework', 'RemoteUI.framework', 'TouchML.framework', 'PodcastsFoundation.framework', 'SiriOntology.framework', 'Navigation.framework', 'BackBoardServices.framework', 'FaceCore.framework', 'Silex.framework', 'BluetoothAudio.framework', 'HearingUI.framework', 'DASDaemon.framework', 'ScreenReaderCore.framework', 'DocumentManagerCore.framework', 'TemplateKit.framework', 'MobileAccessoryUpdater.framework', 'SystemStatusServer.framework', 'PodcastsKit.framework', 'LimitAdTracking.framework', 'AccessoryBLEPairing.framework', 'HangTracer.framework', 'Pegasus.framework', 'SIMSetupSupport.framework', 'MusicLibrary.framework', 'ParsecSubscriptionServiceSupport.framework', 'FlightUtilities.framework', 'TransparencyDetailsView.framework', 'CoreSDB.framework', 'HomeKitDaemon.framework', 'CoreDuetDaemonProtocol.framework', 'WelcomeKit.framework', 'ProVideo.framework', 'WorkflowKit.framework', 'KnowledgeMonitor.framework', 'AssetExplorer.framework', 'TinCanShared.framework', 'Trial.framework', 'TelephonyUI.framework', 'NewsDaemon.framework', 'AccountsUI.framework', 'NewsServicesInternal.framework', 'MPUFoundation.framework']
def test(): # Here we can either check objects created in the solution code, or the # string value of the solution, available as __solution__. A helper for # printing formatted messages is available as __msg__. See the testTemplate # in the meta.json for details. # If an assertion fails, the message will be displayed assert "hockey_shape = hockey_players.shape" in __solution__, "There seems to be a problem with the dimension of the datset" assert hockey_shape == (22, 10), "You may not have the correct dataset" __msg__.good("Nice work, well done!")
def test(): assert 'hockey_shape = hockey_players.shape' in __solution__, 'There seems to be a problem with the dimension of the datset' assert hockey_shape == (22, 10), 'You may not have the correct dataset' __msg__.good('Nice work, well done!')
def f(x): x = str(x) x = list(map(int, x)) return sum(x) a, b = map(int, input().split()) print(max(f(a), f(b)))
def f(x): x = str(x) x = list(map(int, x)) return sum(x) (a, b) = map(int, input().split()) print(max(f(a), f(b)))
with open("../inputs/day2.txt","r") as f: data=f.read() data=data.split("\n") data.pop() while data !=[]: word1=data.pop() for word2 in data: different=0 matching='' for i in range(word1.__len__()): if word1[i] != word2[i]: different+=1 else: matching+=word2[i] if different==2: break if different==1: print(matching) break
with open('../inputs/day2.txt', 'r') as f: data = f.read() data = data.split('\n') data.pop() while data != []: word1 = data.pop() for word2 in data: different = 0 matching = '' for i in range(word1.__len__()): if word1[i] != word2[i]: different += 1 else: matching += word2[i] if different == 2: break if different == 1: print(matching) break
class Solution: def toHex(self, num: int) -> str: if num == 0: return '0' temp = [] a = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'] count = 0 while num and count < 8: cc = a[num & 0xf] temp.append(cc) count += 1 num >>= 4 temp = temp[::-1] return ''.join(temp)
class Solution: def to_hex(self, num: int) -> str: if num == 0: return '0' temp = [] a = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'] count = 0 while num and count < 8: cc = a[num & 15] temp.append(cc) count += 1 num >>= 4 temp = temp[::-1] return ''.join(temp)
# Welcome. # # In this kata you are required to, given a string, replace every letter with its position in the alphabet. # # If anything in the text isn't a letter, ignore it and don't return it. # # "a" = 1, "b" = 2, etc. # # Example # alphabet_position("The sunset sets at twelve o' clock.") # Should return "20 8 5 19 21 14 19 5 20 19 5 20 19 1 20 20 23 5 12 22 5 15 3 12 15 3 11" (as a string) def alphabet_position(text): output_string = "" for x in text: if x.isalpha(): if x.islower(): output_string = output_string + str(ord(x) - 96) + " " else: output_string = output_string + str(ord(x) - 64) + " " output_string = output_string.rstrip() return output_string
def alphabet_position(text): output_string = '' for x in text: if x.isalpha(): if x.islower(): output_string = output_string + str(ord(x) - 96) + ' ' else: output_string = output_string + str(ord(x) - 64) + ' ' output_string = output_string.rstrip() return output_string
class Solution: # @param {character[][]} board # @param {string[]} words # @return {string[]} def findWords(self, board, words): trie = {} for word in words: t = trie for c in word: if c not in t: t[c] = {} t = t[c] t['#'] = '#' res = [] nr = len(board) nc = len(board[0]) isVisited = [[False for j in xrange(nc)] for i in xrange(nr)] def dfs(i,j,s,trie,res): if '#' in trie and s not in res: res.append(s) if i >=nr or i < 0 or j >=nc or j < 0: return if isVisited[i][j] or board[i][j] not in trie: return s += board[i][j] isVisited[i][j] = True dfs(i-1,j,s,trie[board[i][j]],res) dfs(i+1,j,s,trie[board[i][j]],res) dfs(i,j-1,s,trie[board[i][j]],res) dfs(i,j+1,s,trie[board[i][j]],res) isVisited[i][j] = False for i in xrange(nr): for j in xrange(nc): dfs(i,j,'',trie,res) return res
class Solution: def find_words(self, board, words): trie = {} for word in words: t = trie for c in word: if c not in t: t[c] = {} t = t[c] t['#'] = '#' res = [] nr = len(board) nc = len(board[0]) is_visited = [[False for j in xrange(nc)] for i in xrange(nr)] def dfs(i, j, s, trie, res): if '#' in trie and s not in res: res.append(s) if i >= nr or i < 0 or j >= nc or (j < 0): return if isVisited[i][j] or board[i][j] not in trie: return s += board[i][j] isVisited[i][j] = True dfs(i - 1, j, s, trie[board[i][j]], res) dfs(i + 1, j, s, trie[board[i][j]], res) dfs(i, j - 1, s, trie[board[i][j]], res) dfs(i, j + 1, s, trie[board[i][j]], res) isVisited[i][j] = False for i in xrange(nr): for j in xrange(nc): dfs(i, j, '', trie, res) return res
class Options: def __init__(self, cfg): self.cutting_speed = cfg['cutting_speed'] self.travel_speed = cfg['travel_speed'] self.travel_height = cfg['travel_height'] self.first_cutting_height = cfg['first_cutting_height'] self.cutting_layer_size = cfg['cutting_layer_size'] self.cutting_passes = cfg['cutting_passes'] self.start_gcode = cfg['start_gcode'] self.end_gcode = cfg['end_gcode'] self.bezier_interpolation_steps = cfg['bezier_interpolation_steps'] self.arc_interpolation_steps = cfg['arc_interpolation_steps'] self.working_area = cfg['working_area'] self.invert_axis = cfg['invert_axis'] self.manual_inspection = cfg['manual_inspection'] self.reverse_paths_order = cfg['reverse_paths_order']
class Options: def __init__(self, cfg): self.cutting_speed = cfg['cutting_speed'] self.travel_speed = cfg['travel_speed'] self.travel_height = cfg['travel_height'] self.first_cutting_height = cfg['first_cutting_height'] self.cutting_layer_size = cfg['cutting_layer_size'] self.cutting_passes = cfg['cutting_passes'] self.start_gcode = cfg['start_gcode'] self.end_gcode = cfg['end_gcode'] self.bezier_interpolation_steps = cfg['bezier_interpolation_steps'] self.arc_interpolation_steps = cfg['arc_interpolation_steps'] self.working_area = cfg['working_area'] self.invert_axis = cfg['invert_axis'] self.manual_inspection = cfg['manual_inspection'] self.reverse_paths_order = cfg['reverse_paths_order']
''' https://leetcode.com/contest/weekly-contest-152/problems/can-make-palindrome-from-substring/ ''' class Solution: def canMakePaliQueries(self, s: str, queries: List[List[int]]) -> List[bool]: n = len(s) s = [ord(c) - ord('a') for c in s] cs = [] for i, c in enumerate(s): a = [0] * 26 a[c] += 1 if i > 0: for j in range(26): a[j] += cs[-1][j] cs.append(a) results = [] for q in queries: l, r, k = q diff = 0 if l > 0: for i in range(26): diff += (cs[r][i] - cs[l - 1][i]) % 2 else: for d in cs[r]: diff += d % 2 results.append(diff // 2 <= k) return results
""" https://leetcode.com/contest/weekly-contest-152/problems/can-make-palindrome-from-substring/ """ class Solution: def can_make_pali_queries(self, s: str, queries: List[List[int]]) -> List[bool]: n = len(s) s = [ord(c) - ord('a') for c in s] cs = [] for (i, c) in enumerate(s): a = [0] * 26 a[c] += 1 if i > 0: for j in range(26): a[j] += cs[-1][j] cs.append(a) results = [] for q in queries: (l, r, k) = q diff = 0 if l > 0: for i in range(26): diff += (cs[r][i] - cs[l - 1][i]) % 2 else: for d in cs[r]: diff += d % 2 results.append(diff // 2 <= k) return results
class Solution(object): def medianSlidingWindow(self, nums, k): medians, window = [], [] for i in xrange(len(nums)): # Find position where outgoing element should be removed from if i >= k: # window.remove(nums[i-k]) # this works too window.pop(bisect.bisect(window, nums[i - k]) - 1) # Maintain the sorted invariant while inserting incoming element bisect.insort(window, nums[i]) # Find the medians if i >= k - 1: medians.append(float((window[k / 2] if k & 1 > 0 else(window[k / 2 - 1] + window[k / 2]) * 0.5))) return medians
class Solution(object): def median_sliding_window(self, nums, k): (medians, window) = ([], []) for i in xrange(len(nums)): if i >= k: window.pop(bisect.bisect(window, nums[i - k]) - 1) bisect.insort(window, nums[i]) if i >= k - 1: medians.append(float(window[k / 2] if k & 1 > 0 else (window[k / 2 - 1] + window[k / 2]) * 0.5)) return medians
def foo(x, y, z): if x: return x + 2 elif y: return y + 2 else: if z: return z + 2 else: return 2 def bar(): a = 1 b = 2 c = 3 if a: result = a + 2 elif b: result = b + 2 else: if c: result = c + 2 else: result = 2 res = result
def foo(x, y, z): if x: return x + 2 elif y: return y + 2 elif z: return z + 2 else: return 2 def bar(): a = 1 b = 2 c = 3 if a: result = a + 2 elif b: result = b + 2 elif c: result = c + 2 else: result = 2 res = result
class Solution: def majorityElement(self, nums: List[int]) -> int: res = nums[0] count = 1 for i in nums[1:]: if res == i: count += 1 else: count -= 1 if count == 0: res = i count = 1 return res
class Solution: def majority_element(self, nums: List[int]) -> int: res = nums[0] count = 1 for i in nums[1:]: if res == i: count += 1 else: count -= 1 if count == 0: res = i count = 1 return res
''' Custom email validation => A valid email address meets the following criteria: It's composed of a username, domain name, and extension assembled in this format: username@domain.extension The username starts with an English alphabetical character, and any subsequent characters consist of one or more of the following: alphanumeric characters, -,., and _. The domain and extension contain only English alphabetical characters. ''' for _ in range(int(input())): a=input().split() name=a[0] mail=a[1][1:len(a[1])-1] pass_char=[".","-","_"] st=False if(mail.find("@")!=-1 and mail[0].isalpha()): temp_name=mail[0:mail.find("@")] if (temp_name.lower().find(name.lower())!=-1): st=True for i in temp_name: if(i.isalnum() or i in pass_char): st=True else: st=False break if(st): domain = mail[(mail.find("@"))+1:] domain_name = domain[:domain.find(".")] if(domain_name.isalpha()): st=True else: st=False if(st): extn = domain[len(domain_name)+1:] if(extn.isalpha() and (1<=len(extn)<=3)): st=True else: st=False if(st): print("{} <{}>".format(name,mail)) # input = anku <anku_123@gmail.com.com> # output = anku <anku_123@gmail.com.com> # input = anku <1anku@anku.com> # output =""
""" Custom email validation => A valid email address meets the following criteria: It's composed of a username, domain name, and extension assembled in this format: username@domain.extension The username starts with an English alphabetical character, and any subsequent characters consist of one or more of the following: alphanumeric characters, -,., and _. The domain and extension contain only English alphabetical characters. """ for _ in range(int(input())): a = input().split() name = a[0] mail = a[1][1:len(a[1]) - 1] pass_char = ['.', '-', '_'] st = False if mail.find('@') != -1 and mail[0].isalpha(): temp_name = mail[0:mail.find('@')] if temp_name.lower().find(name.lower()) != -1: st = True for i in temp_name: if i.isalnum() or i in pass_char: st = True else: st = False break if st: domain = mail[mail.find('@') + 1:] domain_name = domain[:domain.find('.')] if domain_name.isalpha(): st = True else: st = False if st: extn = domain[len(domain_name) + 1:] if extn.isalpha() and 1 <= len(extn) <= 3: st = True else: st = False if st: print('{} <{}>'.format(name, mail))
# create variable cars to contain integer 100 cars = 100 # create variable space_in_a_car to contain float 4.0 space_in_a_car = 4.0 # create variable drivers to contain int 30 drivers = 30 # create variable passengers to contain int 90 passengers = 90 # subtract drivers from cars to set int variable cars_not_driven cars_not_driven = cars - drivers # set cars_driven variable to int value contained in drivers cars_driven = drivers # set carpool_capacity float variable to cars_driven # multiplied by space_in_a_car carpool_capacity = cars_driven * space_in_a_car # set average_passengers_per_car to int value of passengers # divided by cars_driven average_passengers_per_car = passengers / cars_driven print("There are", cars, "cars available.") print("There are only", drivers, "drivers available.") print("There will be", cars_not_driven, "empty cars today.") print("We can transport", carpool_capacity, "people today.") print("We have", passengers, "to carpool today.") print("We need to put about", average_passengers_per_car, "in each car.")
cars = 100 space_in_a_car = 4.0 drivers = 30 passengers = 90 cars_not_driven = cars - drivers cars_driven = drivers carpool_capacity = cars_driven * space_in_a_car average_passengers_per_car = passengers / cars_driven print('There are', cars, 'cars available.') print('There are only', drivers, 'drivers available.') print('There will be', cars_not_driven, 'empty cars today.') print('We can transport', carpool_capacity, 'people today.') print('We have', passengers, 'to carpool today.') print('We need to put about', average_passengers_per_car, 'in each car.')
SHORT_NAME = 'myscreen' FULL_NAME = 'My Screen' default_app_config = 'addons.{}.apps.AddonAppConfig'.format(SHORT_NAME)
short_name = 'myscreen' full_name = 'My Screen' default_app_config = 'addons.{}.apps.AddonAppConfig'.format(SHORT_NAME)
def simpleArraySum(ar): return sum(ar) ar_count = int(input()) ar = list(map(int, input().rstrip().split())) result = simpleArraySum(ar) print(result)
def simple_array_sum(ar): return sum(ar) ar_count = int(input()) ar = list(map(int, input().rstrip().split())) result = simple_array_sum(ar) print(result)
def read_input(file_name): with open(file_name, mode="r") as input_f: file_content = input_f.read() list_of_initial_state = file_content.strip().split(',') list_of_initial_state = list(map(int, list_of_initial_state)) return list_of_initial_state def simulate_lanternfish(list_of_initial_state, number_of_days): print("Initial state: ") print(list_of_initial_state) for day in range(1, number_of_days + 1): print(f"After {day} days: ") new_lanternfish_counter = 0 for i in range(len(list_of_initial_state)): if list_of_initial_state[i] > 0: list_of_initial_state[i] -= 1 else: list_of_initial_state[i] = 6 new_lanternfish_counter += 1 new_lanternfish_list = [8 for x in range(new_lanternfish_counter)] list_of_initial_state += new_lanternfish_list # print(list_of_initial_state) print(len(list_of_initial_state)) return list_of_initial_state def simulate_lanternfish_better(list_of_initial_state, number_of_days): population = [0] * 9 for lanternfish in list_of_initial_state: population[lanternfish] += 1 for day in range(number_of_days): next_cycle_population = population[0] for i in range(0, 8): population[i] = population[i + 1] population[6] += next_cycle_population population[8] = next_cycle_population sum_of_population = 0 for i in range(0, 9): sum_of_population += population[i] return sum_of_population if __name__ == '__main__': initial_state = read_input("input_day06") # initial_state = read_input("input_day06_small") final_state = simulate_lanternfish_better(initial_state, 256) print(final_state)
def read_input(file_name): with open(file_name, mode='r') as input_f: file_content = input_f.read() list_of_initial_state = file_content.strip().split(',') list_of_initial_state = list(map(int, list_of_initial_state)) return list_of_initial_state def simulate_lanternfish(list_of_initial_state, number_of_days): print('Initial state: ') print(list_of_initial_state) for day in range(1, number_of_days + 1): print(f'After {day} days: ') new_lanternfish_counter = 0 for i in range(len(list_of_initial_state)): if list_of_initial_state[i] > 0: list_of_initial_state[i] -= 1 else: list_of_initial_state[i] = 6 new_lanternfish_counter += 1 new_lanternfish_list = [8 for x in range(new_lanternfish_counter)] list_of_initial_state += new_lanternfish_list print(len(list_of_initial_state)) return list_of_initial_state def simulate_lanternfish_better(list_of_initial_state, number_of_days): population = [0] * 9 for lanternfish in list_of_initial_state: population[lanternfish] += 1 for day in range(number_of_days): next_cycle_population = population[0] for i in range(0, 8): population[i] = population[i + 1] population[6] += next_cycle_population population[8] = next_cycle_population sum_of_population = 0 for i in range(0, 9): sum_of_population += population[i] return sum_of_population if __name__ == '__main__': initial_state = read_input('input_day06') final_state = simulate_lanternfish_better(initial_state, 256) print(final_state)
# cd drone/starlark/samples # drone script --source pipeline.py --stdout load('docker.py', 'docker') def build(version): return { 'name': 'build', 'image': 'golang:%s' % version, 'commands': [ 'go build', 'go test', ] } def main(ctx): if ctx['build']['message'].find('[skip build]'): return { 'kind': 'pipeline', 'name': 'publish_only', 'steps': [ docker('octocat/hello-world'), ], } return { 'kind': 'pipeline', 'name': 'build_and_publish', 'steps': [ build('1.11'), build('1.12'), docker('octocat/hello-world'), ], }
load('docker.py', 'docker') def build(version): return {'name': 'build', 'image': 'golang:%s' % version, 'commands': ['go build', 'go test']} def main(ctx): if ctx['build']['message'].find('[skip build]'): return {'kind': 'pipeline', 'name': 'publish_only', 'steps': [docker('octocat/hello-world')]} return {'kind': 'pipeline', 'name': 'build_and_publish', 'steps': [build('1.11'), build('1.12'), docker('octocat/hello-world')]}
#!/usr/bin/env python # WARNING: This is till work in progress # # Load into gdb with 'source ../tools/gdb-prettyprint.py' # Make sure to also apply 'set print pretty on' to get nice structure printouts class String: def __init__(self, val): self.val = val def to_string (self): length = int(self.val['length']) data = self.val['data'] if int(data) == 0: return "UA_STRING_NULL" inferior = gdb.selected_inferior() text = inferior.read_memory(data, length).tobytes().decode(errors='replace') return "\"%s\"" % text class LocalizedText: def __init__(self, val): self.val = val def to_string (self): return "UA_LocalizedText(%s, %s)" % (self.val['locale'], self.val['text']) class QualifiedName: def __init__(self, val): self.val = val def to_string (self): return "UA_QualifiedName(%s, %s)" % (int(self.val['namespaceIndex']), self.val['name']) class Guid: def __init__(self, val): self.val = val def to_string (self): return "UA_Guid()" class NodeId: def __init__(self, val): self.val = val def to_string (self): return "UA_NodeId()" class Variant: def __init__(self, val): self.val = val def to_string (self): return "UA_Variant()" def lookup_type (val): if str(val.type) == 'UA_String': return String(val) if str(val.type) == 'UA_LocalizedText': return LocalizedText(val) if str(val.type) == 'UA_QualifiedName': return QualifiedName(val) if str(val.type) == 'UA_Guid': return Guid(val) if str(val.type) == 'UA_NodeId': return NodeId(val) if str(val.type) == 'UA_Variant': return Variant(val) return None gdb.pretty_printers.append (lookup_type)
class String: def __init__(self, val): self.val = val def to_string(self): length = int(self.val['length']) data = self.val['data'] if int(data) == 0: return 'UA_STRING_NULL' inferior = gdb.selected_inferior() text = inferior.read_memory(data, length).tobytes().decode(errors='replace') return '"%s"' % text class Localizedtext: def __init__(self, val): self.val = val def to_string(self): return 'UA_LocalizedText(%s, %s)' % (self.val['locale'], self.val['text']) class Qualifiedname: def __init__(self, val): self.val = val def to_string(self): return 'UA_QualifiedName(%s, %s)' % (int(self.val['namespaceIndex']), self.val['name']) class Guid: def __init__(self, val): self.val = val def to_string(self): return 'UA_Guid()' class Nodeid: def __init__(self, val): self.val = val def to_string(self): return 'UA_NodeId()' class Variant: def __init__(self, val): self.val = val def to_string(self): return 'UA_Variant()' def lookup_type(val): if str(val.type) == 'UA_String': return string(val) if str(val.type) == 'UA_LocalizedText': return localized_text(val) if str(val.type) == 'UA_QualifiedName': return qualified_name(val) if str(val.type) == 'UA_Guid': return guid(val) if str(val.type) == 'UA_NodeId': return node_id(val) if str(val.type) == 'UA_Variant': return variant(val) return None gdb.pretty_printers.append(lookup_type)
class State: def __init__(self, name=None, transitions=None): self.name = name self.transitions = {k: v for k, v in transitions} class StateMachine: def __init__(self, states=None, initial_state=None): self.state_mapping = {state.name: state for state in states} self.initial_state = initial_state self.current_state = initial_state def transition(self, action): if self.current_state.transitions.get(action): self.current_state = self.state_mapping[self.current_state.transitions.get(action)]
class State: def __init__(self, name=None, transitions=None): self.name = name self.transitions = {k: v for (k, v) in transitions} class Statemachine: def __init__(self, states=None, initial_state=None): self.state_mapping = {state.name: state for state in states} self.initial_state = initial_state self.current_state = initial_state def transition(self, action): if self.current_state.transitions.get(action): self.current_state = self.state_mapping[self.current_state.transitions.get(action)]
class BaseException(Exception): ... class ATomlConfigError(BaseException): pass
class Baseexception(Exception): ... class Atomlconfigerror(BaseException): pass
{ 'includes': [ 'config.gypi', ], 'targets': [ { 'target_name': 'socksd', 'type': 'executable', 'sources': [ 'src/main.c', 'src/Client.c', 'src/Logger.c' ], 'libraries': [ #'-luv', ], 'configurations': { 'Debug':{}, 'Release':{}, }, }, ], }
{'includes': ['config.gypi'], 'targets': [{'target_name': 'socksd', 'type': 'executable', 'sources': ['src/main.c', 'src/Client.c', 'src/Logger.c'], 'libraries': [], 'configurations': {'Debug': {}, 'Release': {}}}]}
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def levelOrder(self, root: TreeNode) -> [[int]]: queue = [root] res = [] if not root: return [] while queue: templist = [] templen = len(queue) for i in range(templen): temp = queue.pop(0) templist.append(temp.val) if temp.left: queue.append(temp.left) if temp.right: queue.append(temp.right) res.append(templist) return res
class Treenode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def level_order(self, root: TreeNode) -> [[int]]: queue = [root] res = [] if not root: return [] while queue: templist = [] templen = len(queue) for i in range(templen): temp = queue.pop(0) templist.append(temp.val) if temp.left: queue.append(temp.left) if temp.right: queue.append(temp.right) res.append(templist) return res
# THIS FILE IS GENERATED FROM PYWAVELETS SETUP.PY short_version = '1.1.0' version = '1.1.0' full_version = '1.1.0.dev0+20ab3c1' git_revision = '20ab3c1ded9b457c2cb54cb7bbac65479d5c4a00' release = False if not release: version = full_version
short_version = '1.1.0' version = '1.1.0' full_version = '1.1.0.dev0+20ab3c1' git_revision = '20ab3c1ded9b457c2cb54cb7bbac65479d5c4a00' release = False if not release: version = full_version
def change(s, prog, version): temp=s.split("\n") temp=temp[0:2]+temp[3:-1] temp[0]='Program: '+prog temp[1]="Author: g964" if not valid_number(temp[2].split(": ")[1]): return 'ERROR: VERSION or PHONE' temp[2]="Phone: +1-503-555-0090" temp[3]="Date: 2019-01-01" if not valid_version(temp[4].split(": ")[1]): return 'ERROR: VERSION or PHONE' temp[4]=temp[4] if temp[4].split(": ")[1]=="2.0" else "Version: "+version return " ".join(temp) def valid_number(phone): check=phone.split("-") if len(check)!=4 or phone[0]!="+": return False return False if not (check[0][1]=="1" and len(check[0])==2 and len(check[1])==3 and len(check[2])==3 and len(check[3])==4) else True def valid_version(ver): return False if ((ver[0] or ver[-1]) not in "1234567890" or ver.count(".")==0 or ver.count(".")>=2) else True
def change(s, prog, version): temp = s.split('\n') temp = temp[0:2] + temp[3:-1] temp[0] = 'Program: ' + prog temp[1] = 'Author: g964' if not valid_number(temp[2].split(': ')[1]): return 'ERROR: VERSION or PHONE' temp[2] = 'Phone: +1-503-555-0090' temp[3] = 'Date: 2019-01-01' if not valid_version(temp[4].split(': ')[1]): return 'ERROR: VERSION or PHONE' temp[4] = temp[4] if temp[4].split(': ')[1] == '2.0' else 'Version: ' + version return ' '.join(temp) def valid_number(phone): check = phone.split('-') if len(check) != 4 or phone[0] != '+': return False return False if not (check[0][1] == '1' and len(check[0]) == 2 and (len(check[1]) == 3) and (len(check[2]) == 3) and (len(check[3]) == 4)) else True def valid_version(ver): return False if (ver[0] or ver[-1]) not in '1234567890' or ver.count('.') == 0 or ver.count('.') >= 2 else True
'''answer=input() list1=[] i3=0 for i in range(len(answer.split('\n'))): list1.append(answer.split(' ')[i]) for i2 in range(5): number,base=list1[i3],int(list1[i3+1]) i3=i3+2 print(sum([int((number+"0"*(base-len(number)%base))[i*base:(i+1)*base]) for i in range(len(number+"0"*(base-len(number)%base))//base)])) ''' numbers= [] for i in range(0,5): raw=input().split(" ") num,length,total=raw[0],int(raw[1]),0 num+=("0"*(length-(len(num)%length))) for j in range(int(len(num)/length)): total+= int(num[j*length:(j+1)*length]) numbers.append(total) for i in range(0,5): print(numbers[i])
"""answer=input() list1=[] i3=0 for i in range(len(answer.split(' '))): list1.append(answer.split(' ')[i]) for i2 in range(5): number,base=list1[i3],int(list1[i3+1]) i3=i3+2 print(sum([int((number+"0"*(base-len(number)%base))[i*base:(i+1)*base]) for i in range(len(number+"0"*(base-len(number)%base))//base)])) """ numbers = [] for i in range(0, 5): raw = input().split(' ') (num, length, total) = (raw[0], int(raw[1]), 0) num += '0' * (length - len(num) % length) for j in range(int(len(num) / length)): total += int(num[j * length:(j + 1) * length]) numbers.append(total) for i in range(0, 5): print(numbers[i])
class electronics(): tools = [] age = 0 years_of_experience = 0 languages = [] department = "" alex = electronics() alex.tools = ["spice", "eagle"] alex.age = 27 alex.years_of_experience = 3 alex.languages.append("english") alex.department = "electronics" print(alex.tools, alex.age, alex.years_of_experience, alex.department, alex.languages) ali = electronics() ali.tools = ["spice", "eagle"] ali.age = 27 ali.years_of_experience = 3 ali.languages.append("english") ali.department = "electronics" ali.languages = [] print(ali.tools, ali.age, ali.years_of_experience, ali.department, ali.languages) print("\nali:\n", ali.languages, "\nalex:\n", alex.languages) # _________________________________________________________________________________________ print("_" * 80) class electrical(): age = 0 years_of_experience = 0 tools = [] languages = [] department = [] at = electrical() at.age = 20 at.years_of_experience = 0 at.tools.append("spice") at.languages.append("english") at.department.append("cs") print(at.age, at.years_of_experience, at.tools, at.languages, at.department) bok = electrical() bok.age = 27 bok.years_of_experience = 3 bok.tools.append("xcode") bok.languages.append("french") bok.department.append("electroncis") print(bok.age, bok.years_of_experience, bok.tools, bok.languages, bok.department) bok.age = 300 at.age = 122 print(bok.age, at.age) # _________________________________________________________________________________________ print("_" * 80) class new(): def __init__(self): self.age = 0 def __index__(self): self.years_of_experience = 0 deneme = new() deneme.age = 200 deneme.years_of_experience = 100 naber = new() naber.age = 50 naber.years_of_experience = 10 print(deneme.age, deneme.years_of_experience, naber.age, naber.years_of_experience) # _________________________________________________________________________________________ print("_" * 80) class VeriBilimi(): calisanlar = [] def __init__(self): self.bildigi_diller = [] self.bolum = "" veli = VeriBilimi() print("veli.bildigi_diller\t", veli.bildigi_diller) veli.bildigi_diller.append("pythonobject") print("veli.bildigi_diller\t", veli.bildigi_diller) ali = VeriBilimi() print("ali.bildigi_diller\t", ali.bildigi_diller) ali.bildigi_diller.append("c") print("ali.bildigi_diller\t", ali.bildigi_diller) class newClass(): def __init__(self): self.bildigi_diller = [] self.bolum = "" def dil_ekle(self, new_dil): self.bildigi_diller.append(new_dil) def bolum_ekle(self, new_bolum): self.bolum = new_bolum ali = newClass() print("\nali.newClass()\nali.bildigi.diller\t", ali.bildigi_diller) ali.dil_ekle("python") print("\nali.dil_ekle(\"python\")\n", "ali.bildigi_diller\t", ali.bildigi_diller) #______________________________________________________________________________ print("_" * 90) class Employees(): def __init__(self, firstName="n/a", middleName="n/a", lastName="n/a", age=0, gender="n/a"): self.firstName = firstName self.middleName = middleName self.lastName = lastName self.age = age self.gender = gender class DataScience(Employees): def __init__(self, programming="n/a", languages="n/a", projects="n/a"): self.programming = programming self.languages = languages self.projects = projects class marketing(Employees): def __init__(self, communication="n/a", storytelling="n/a", charisma="n/a"): self.communication = communication self.storytelling = storytelling self.charisma = charisma alex = DataScience() alex.programming = "python" alex.firstName = "alex" alex.lastName = "mercan" print("alex :\n", alex.firstName, "\n", alex.lastName, "\n", alex.programming)
class Electronics: tools = [] age = 0 years_of_experience = 0 languages = [] department = '' alex = electronics() alex.tools = ['spice', 'eagle'] alex.age = 27 alex.years_of_experience = 3 alex.languages.append('english') alex.department = 'electronics' print(alex.tools, alex.age, alex.years_of_experience, alex.department, alex.languages) ali = electronics() ali.tools = ['spice', 'eagle'] ali.age = 27 ali.years_of_experience = 3 ali.languages.append('english') ali.department = 'electronics' ali.languages = [] print(ali.tools, ali.age, ali.years_of_experience, ali.department, ali.languages) print('\nali:\n', ali.languages, '\nalex:\n', alex.languages) print('_' * 80) class Electrical: age = 0 years_of_experience = 0 tools = [] languages = [] department = [] at = electrical() at.age = 20 at.years_of_experience = 0 at.tools.append('spice') at.languages.append('english') at.department.append('cs') print(at.age, at.years_of_experience, at.tools, at.languages, at.department) bok = electrical() bok.age = 27 bok.years_of_experience = 3 bok.tools.append('xcode') bok.languages.append('french') bok.department.append('electroncis') print(bok.age, bok.years_of_experience, bok.tools, bok.languages, bok.department) bok.age = 300 at.age = 122 print(bok.age, at.age) print('_' * 80) class New: def __init__(self): self.age = 0 def __index__(self): self.years_of_experience = 0 deneme = new() deneme.age = 200 deneme.years_of_experience = 100 naber = new() naber.age = 50 naber.years_of_experience = 10 print(deneme.age, deneme.years_of_experience, naber.age, naber.years_of_experience) print('_' * 80) class Veribilimi: calisanlar = [] def __init__(self): self.bildigi_diller = [] self.bolum = '' veli = veri_bilimi() print('veli.bildigi_diller\t', veli.bildigi_diller) veli.bildigi_diller.append('pythonobject') print('veli.bildigi_diller\t', veli.bildigi_diller) ali = veri_bilimi() print('ali.bildigi_diller\t', ali.bildigi_diller) ali.bildigi_diller.append('c') print('ali.bildigi_diller\t', ali.bildigi_diller) class Newclass: def __init__(self): self.bildigi_diller = [] self.bolum = '' def dil_ekle(self, new_dil): self.bildigi_diller.append(new_dil) def bolum_ekle(self, new_bolum): self.bolum = new_bolum ali = new_class() print('\nali.newClass()\nali.bildigi.diller\t', ali.bildigi_diller) ali.dil_ekle('python') print('\nali.dil_ekle("python")\n', 'ali.bildigi_diller\t', ali.bildigi_diller) print('_' * 90) class Employees: def __init__(self, firstName='n/a', middleName='n/a', lastName='n/a', age=0, gender='n/a'): self.firstName = firstName self.middleName = middleName self.lastName = lastName self.age = age self.gender = gender class Datascience(Employees): def __init__(self, programming='n/a', languages='n/a', projects='n/a'): self.programming = programming self.languages = languages self.projects = projects class Marketing(Employees): def __init__(self, communication='n/a', storytelling='n/a', charisma='n/a'): self.communication = communication self.storytelling = storytelling self.charisma = charisma alex = data_science() alex.programming = 'python' alex.firstName = 'alex' alex.lastName = 'mercan' print('alex :\n', alex.firstName, '\n', alex.lastName, '\n', alex.programming)
toepic = [60000, 150000, 47619] tounique = [18000, 35000, 19608] tolegendry = [3000, 10000, 4975] # red, black, addtional upgrade_table = [toepic, tounique, tolegendry] # upgrade_table[Source Rank.value][Cube.value] returns threshold. range(0, 100000)
toepic = [60000, 150000, 47619] tounique = [18000, 35000, 19608] tolegendry = [3000, 10000, 4975] upgrade_table = [toepic, tounique, tolegendry]
class Meter(): def __init__( self, ): self.reset() def reset( self, ): self.max = None self.min = None self.avg = None self.sum = 0 self.cnt = 0 def update( self, val, ): self.sum += val self.cnt += 1 if self.max is None or self.max < val: self.max = val if self.min is None or self.min > val: self.min = val self.avg = self.sum / self.cnt
class Meter: def __init__(self): self.reset() def reset(self): self.max = None self.min = None self.avg = None self.sum = 0 self.cnt = 0 def update(self, val): self.sum += val self.cnt += 1 if self.max is None or self.max < val: self.max = val if self.min is None or self.min > val: self.min = val self.avg = self.sum / self.cnt
# calories calculator print("Today's date?") date = input() print("Breakfast calories?") breakfast = int(input()) print("Lunch calories?") lunch = int(input()) print("Dinner calories?") dinner = int(input()) print("Snack calories?") snack = int(input()) print("Calorie content for " + date + ": "+ str(breakfast + lunch + dinner + snack))
print("Today's date?") date = input() print('Breakfast calories?') breakfast = int(input()) print('Lunch calories?') lunch = int(input()) print('Dinner calories?') dinner = int(input()) print('Snack calories?') snack = int(input()) print('Calorie content for ' + date + ': ' + str(breakfast + lunch + dinner + snack))
# -*- coding: utf-8 -*- file = open("deneme.txt","r",encoding="utf-8") for i in file: print(i,end="") a = file.read() print(a) print(file.readline()) print(file.readlines()) file.close()
file = open('deneme.txt', 'r', encoding='utf-8') for i in file: print(i, end='') a = file.read() print(a) print(file.readline()) print(file.readlines()) file.close()
# parsetab.py # This file is automatically generated. Do not edit. # pylint: disable=W,C,R _tabversion = '3.10' _lr_method = 'LALR' _lr_signature = 'ALL AND ASC BOOLEAN BOUND BY BYTE COLON COMA CONSTANT CONTAINS DATATYPE DATETIME DECIMAL DESC DISTINCT DIV DOUBLE EQUALS FILTER FLOAT GREATER GREATEREQ ID INT INTEGER ISBLANK ISIRI ISLITERAL ISURI LANG LANGMATCHES LCASE LESS LESSEQ LIMIT LKEY LONG LPAR MINUS NEG NEGATIVEINT NEQUALS NONNEGINT NONPOSINT NUMBER OFFSET OPTIONAL OR ORDER PLUS POINT POSITIVEINT PREFIX REGEX RKEY RPAR SAMETERM SELECT SHORT STR STRING TIMES UCASE UNION UNSIGNEDBYTE UNSIGNEDINT UNSIGNEDLONG UNSIGNEDSHORT UPPERCASE URI VARIABLE WHERE\n parse_sparql : prefix_list query order_by limit offset\n \n prefix_list : prefix prefix_list\n \n prefix_list : empty\n \n empty :\n \n prefix : PREFIX ID COLON URI\n \n uri : ID COLON ID\n \n uri : ID COLON URI\n \n uri : URI\n \n order_by : ORDER BY var_order_list desc_var\n \n order_by : empty\n \n var_order_list : empty\n \n var_order_list : var_order_list desc_var\n \n desc_var : DESC LPAR VARIABLE RPAR\n \n desc_var : VARIABLE\n \n desc_var : ASC LPAR VARIABLE RPAR\n \n desc_var : unary_func LPAR desc_var RPAR\n \n limit : LIMIT NUMBER\n \n limit : empty\n \n offset : OFFSET NUMBER\n \n offset : empty\n \n query : SELECT distinct var_list WHERE LKEY group_graph_pattern RKEY\n \n query : SELECT distinct ALL WHERE LKEY group_graph_pattern RKEY\n \n distinct : DISTINCT\n \n distinct : empty\n \n group_graph_pattern : union_block\n \n union_block : pjoin_block rest_union_block POINT pjoin_block\n \n union_block : pjoin_block rest_union_block pjoin_block\n \n union_block : pjoin_block rest_union_block\n \n pjoin_block : LKEY join_block RKEY\n \n pjoin_block : join_block\n \n pjoin_block : empty\n \n rest_union_block : empty\n \n rest_union_block : UNION LKEY join_block rest_union_block RKEY rest_union_block\n \n join_block : LKEY union_block RKEY rest_join_block\n \n join_block : bgp rest_join_block\n \n rest_join_block : empty\n \n rest_join_block : POINT bgp rest_join_block\n \n rest_join_block : bgp rest_join_block\n \n bgp : LKEY bgp UNION bgp rest_union_block RKEY\n \n bgp : bgp UNION bgp rest_union_block\n \n bgp : triple\n \n bgp : FILTER LPAR expression RPAR\n \n bgp : FILTER express_rel\n \n bgp : OPTIONAL LKEY group_graph_pattern RKEY\n \n bgp : LKEY join_block RKEY\n \n expression : express_rel LOGOP expression\n \n expression : express_rel\n \n expression : LPAR expression RPAR\n \n express_rel : express_arg RELOP express_rel\n \n express_rel : express_arg\n \n express_rel : LPAR express_rel RPAR\n \n express_rel : NEG LPAR expression RPAR\n \n express_rel : NEG express_rel\n \n express_arg : uri\n \n express_arg : VARIABLE\n \n express_arg : CONSTANT\n \n express_arg : NUMBER\n \n express_arg : NUMBER POINT NUMBER\n \n express_arg : REGEX LPAR express_arg COMA pattern_arg regex_flag\n \n regex_flag : RPAR\n \n regex_flag : COMA pattern_arg RPAR\n \n pattern_arg : CONSTANT\n \n express_arg : binary_func LPAR express_arg COMA express_arg RPAR\n \n express_arg : unary_func LPAR express_arg RPAR\n \n express_arg : UNARYOP express_arg\n \n express_arg : express_arg ARITOP express_arg\n \n express_arg : LPAR express_arg RPAR\n \n express_arg : express_arg RELOP express_arg\n \n ARITOP : PLUS\n \n ARITOP : MINUS\n \n ARITOP : TIMES\n \n ARITOP : DIV\n \n UNARYOP : PLUS\n \n UNARYOP : MINUS\n \n LOGOP : AND\n \n LOGOP : OR\n \n RELOP : EQUALS\n \n RELOP : LESS\n \n RELOP : LESSEQ\n \n RELOP : GREATER\n \n RELOP : GREATEREQ\n \n RELOP : NEQUALS\n \n binary_func : REGEX\n \n binary_func : SAMETERM\n \n binary_func : LANGMATCHES\n \n binary_func : CONSTANT\n \n binary_func : CONTAINS\n \n unary_func : BOUND\n \n unary_func : ISIRI\n \n unary_func : ISURI\n \n unary_func : ISBLANK\n \n unary_func : ISLITERAL\n \n unary_func : LANG\n \n unary_func : DATATYPE\n \n unary_func : STR\n \n unary_func : UPPERCASE\n \n unary_func : DOUBLE\n | INTEGER\n | DECIMAL\n | FLOAT\n | STRING\n | BOOLEAN\n | DATETIME\n | NONPOSINT\n | NEGATIVEINT\n | LONG\n | INT\n | SHORT\n | BYTE\n | NONNEGINT\n | UNSIGNEDLONG\n | UNSIGNEDINT\n | UNSIGNEDSHORT\n | UNSIGNEDBYTE\n | POSITIVEINT\n \n unary_func : ID COLON ID\n \n unary_func : uri\n \n unary_func : UCASE\n \n unary_func : LCASE\n \n var_list : var_list VARIABLE\n \n var_list : VARIABLE\n \n triple : subject predicate object\n \n predicate : ID\n \n predicate : uri\n \n predicate : VARIABLE\n \n subject : uri\n \n subject : VARIABLE\n \n object : uri\n \n object : VARIABLE\n \n object : CONSTANT\n ' _lr_action_items = {'LPAR':([35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,56,57,59,60,61,63,64,65,66,67,68,69,70,71,72,92,95,96,119,120,121,124,125,127,128,129,130,133,134,135,136,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,213,215,224,],[-105,-108,-90,-93,-113,-114,-94,-96,-112,-119,-106,-91,75,-92,-98,-101,-99,-8,-103,-95,-109,-115,77,-110,-118,-117,-107,-97,-100,-88,-89,-102,78,-104,-111,119,-6,-7,161,-86,165,-74,168,-84,-73,-85,181,183,-87,-117,185,161,161,183,208,-78,-77,-70,-81,-79,-69,183,-72,-71,-82,-80,183,183,183,-75,161,-76,208,-6,183,183,]),'SHORT':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,36,-11,-14,-12,36,36,36,36,-74,-73,36,-15,-13,-16,36,36,36,36,-78,-77,-70,-81,-79,-69,36,-72,-71,-82,-80,36,36,36,-75,36,-76,36,36,36,]),'CONSTANT':([52,92,96,99,100,101,102,119,121,124,128,133,160,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,226,239,],[-8,120,-7,141,-124,-125,-123,120,120,-74,-73,120,-6,120,120,120,120,-78,-77,-70,-81,-79,-69,120,-72,-71,-82,-80,120,120,120,-75,120,-76,120,120,120,233,233,]),'LESS':([52,96,120,122,123,126,135,162,184,199,206,207,209,211,212,213,214,216,227,228,232,236,237,238,241,],[-8,-7,-56,-57,-55,170,-54,170,170,-67,-58,170,170,170,170,-6,170,170,170,-64,170,-63,-59,-60,-61,]),'NEG':([92,119,121,161,165,169,170,171,173,174,179,180,200,201,203,208,],[121,121,121,121,121,121,-78,-77,-81,-79,-82,-80,-75,121,-76,121,]),'NEQUALS':([52,96,120,122,123,126,135,162,184,199,206,207,209,211,212,213,214,216,227,228,232,236,237,238,241,],[-8,-7,-56,-57,-55,179,-54,179,179,-67,-58,179,179,179,179,-6,179,179,179,-64,179,-63,-59,-60,-61,]),'NUMBER':([18,26,92,119,121,124,128,133,161,165,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[25,34,122,122,122,-74,-73,122,122,122,206,122,122,-78,-77,-70,-81,-79,-69,122,-72,-71,-82,-80,122,122,122,-75,122,-76,122,122,122,]),'BOUND':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,67,-11,-14,-12,67,67,67,67,-74,-73,67,-15,-13,-16,67,67,67,67,-78,-77,-70,-81,-79,-69,67,-72,-71,-82,-80,67,67,67,-75,67,-76,67,67,67,]),'COMA':([52,96,120,122,123,135,184,199,206,207,211,212,213,227,228,233,234,236,237,238,241,],[-8,-7,-56,-57,-55,-54,-65,-67,-58,224,-66,226,-6,-68,-64,-62,239,-63,-59,-60,-61,]),'PREFIX':([0,3,17,],[1,1,-5,]),'ISURI':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,37,-11,-14,-12,37,37,37,37,-74,-73,37,-15,-13,-16,37,37,37,37,-78,-77,-70,-81,-79,-69,37,-72,-71,-82,-80,37,37,37,-75,37,-76,37,37,37,]),'LIMIT':([8,11,13,55,62,110,137,138,139,140,],[-4,18,-10,-14,-9,-22,-21,-15,-13,-16,]),'DIV':([52,96,120,122,123,126,135,162,184,199,206,207,209,211,212,213,214,216,227,228,232,236,237,238,241,],[-8,-7,-56,-57,-55,177,-54,177,177,-67,-58,177,177,177,177,-6,177,177,177,-64,177,-63,-59,-60,-61,]),'MINUS':([52,92,96,119,120,121,122,123,124,126,128,133,135,161,162,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,184,185,199,200,201,203,206,207,208,209,211,212,213,214,215,216,224,227,228,232,236,237,238,241,],[-8,124,-7,124,-56,124,-57,-55,-74,172,-73,124,-54,124,172,124,124,124,-78,-77,-70,-81,-79,-69,124,-72,-71,-82,-80,124,124,172,124,-67,-75,124,-76,-58,172,124,172,172,172,-6,172,124,172,124,172,-64,172,-63,-59,-60,-61,]),'ISBLANK':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,46,-11,-14,-12,46,46,46,46,-74,-73,46,-15,-13,-16,46,46,46,46,-78,-77,-70,-81,-79,-69,46,-72,-71,-82,-80,46,46,46,-75,46,-76,46,46,46,]),'SELECT':([0,3,4,5,7,17,],[-4,-4,9,-3,-2,-5,]),'LKEY':([31,33,52,73,74,80,82,83,84,86,87,88,96,103,104,105,106,107,108,109,111,112,113,115,116,117,120,122,123,126,132,135,141,142,143,144,145,146,147,149,150,152,153,155,156,157,158,159,160,166,184,186,187,188,189,190,191,193,195,196,197,199,202,204,206,209,210,211,213,217,219,223,227,228,230,231,235,236,237,238,241,],[73,74,-8,88,88,-41,106,-30,109,-4,-31,116,-7,106,106,-36,149,106,-35,88,152,88,-32,-30,158,106,-56,-57,-55,-50,-43,-54,-130,-122,-128,-129,-38,106,106,158,-4,193,88,106,-29,-30,158,106,-6,-53,-65,-37,-45,-30,217,-40,-44,158,-34,-29,-4,-67,-51,-42,-58,-50,-49,-66,-6,193,-40,-52,-68,-64,-4,-39,-33,-63,-59,-60,-61,]),'LANG':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,38,-11,-14,-12,38,38,38,38,-74,-73,38,-15,-13,-16,38,38,38,38,-78,-77,-70,-81,-79,-69,38,-72,-71,-82,-80,38,38,38,-75,38,-76,38,38,38,]),'ASC':([21,29,30,55,62,78,138,139,140,],[-4,47,-11,-14,-12,47,-15,-13,-16,]),'UNSIGNEDBYTE':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,40,-11,-14,-12,40,40,40,40,-74,-73,40,-15,-13,-16,40,40,40,40,-78,-77,-70,-81,-79,-69,40,-72,-71,-82,-80,40,40,40,-75,40,-76,40,40,40,]),'TIMES':([52,96,120,122,123,126,135,162,184,199,206,207,209,211,212,213,214,216,227,228,232,236,237,238,241,],[-8,-7,-56,-57,-55,178,-54,178,178,-67,-58,178,178,178,178,-6,178,178,178,-64,178,-63,-59,-60,-61,]),'POINT':([52,73,74,80,82,83,86,87,88,96,103,105,108,109,112,113,115,116,117,120,122,123,126,132,135,141,142,143,144,145,146,147,149,150,155,156,157,158,160,166,184,186,187,188,190,191,193,195,196,197,199,202,204,206,209,210,211,213,219,223,227,228,230,231,235,236,237,238,241,],[-8,-4,-4,-41,104,-30,-4,-31,-4,-7,104,-36,-35,-4,153,-32,-30,-4,104,-56,167,-55,-50,-43,-54,-130,-122,-128,-129,-38,104,104,-4,-4,104,-29,-30,-4,-6,-53,-65,-37,-45,-30,-40,-44,-4,-34,-29,-4,-67,-51,-42,-58,-50,-49,-66,-6,-40,-52,-68,-64,-4,-39,-33,-63,-59,-60,-61,]),'DISTINCT':([9,],[15,]),'UPPERCASE':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,42,-11,-14,-12,42,42,42,42,-74,-73,42,-15,-13,-16,42,42,42,42,-78,-77,-70,-81,-79,-69,42,-72,-71,-82,-80,42,42,42,-75,42,-76,42,42,42,]),'UNSIGNEDINT':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,43,-11,-14,-12,43,43,43,43,-74,-73,43,-15,-13,-16,43,43,43,43,-78,-77,-70,-81,-79,-69,43,-72,-71,-82,-80,43,43,43,-75,43,-76,43,43,43,]),'SAMETERM':([92,119,121,124,128,133,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[127,127,127,-74,-73,127,127,127,127,127,-78,-77,-70,-81,-79,-69,127,-72,-71,-82,-80,127,127,127,-75,127,-76,127,127,127,]),'LCASE':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,44,-11,-14,-12,44,44,44,44,-74,-73,44,-15,-13,-16,44,44,44,44,-78,-77,-70,-81,-79,-69,44,-72,-71,-82,-80,44,44,44,-75,44,-76,44,44,44,]),'LONG':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,45,-11,-14,-12,45,45,45,45,-74,-73,45,-15,-13,-16,45,45,45,45,-78,-77,-70,-81,-79,-69,45,-72,-71,-82,-80,45,45,45,-75,45,-76,45,45,45,]),'ORDER':([8,110,137,],[12,-22,-21,]),'UNSIGNEDSHORT':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,39,-11,-14,-12,39,39,39,39,-74,-73,39,-15,-13,-16,39,39,39,39,-78,-77,-70,-81,-79,-69,39,-72,-71,-82,-80,39,39,39,-75,39,-76,39,39,39,]),'GREATEREQ':([52,96,120,122,123,126,135,162,184,199,206,207,209,211,212,213,214,216,227,228,232,236,237,238,241,],[-8,-7,-56,-57,-55,173,-54,173,173,-67,-58,173,173,173,173,-6,173,173,173,-64,173,-63,-59,-60,-61,]),'LESSEQ':([52,96,120,122,123,126,135,162,184,199,206,207,209,211,212,213,214,216,227,228,232,236,237,238,241,],[-8,-7,-56,-57,-55,174,-54,174,174,-67,-58,174,174,174,174,-6,174,174,174,-64,174,-63,-59,-60,-61,]),'COLON':([6,58,90,102,131,],[10,76,118,118,182,]),'LANGMATCHES':([92,119,121,124,128,133,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[129,129,129,-74,-73,129,129,129,129,129,-78,-77,-70,-81,-79,-69,129,-72,-71,-82,-80,129,129,129,-75,129,-76,129,129,129,]),'ISLITERAL':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,48,-11,-14,-12,48,48,48,48,-74,-73,48,-15,-13,-16,48,48,48,48,-78,-77,-70,-81,-79,-69,48,-72,-71,-82,-80,48,48,48,-75,48,-76,48,48,48,]),'OPTIONAL':([52,73,74,80,82,83,86,87,88,96,103,104,105,106,107,108,109,112,113,115,116,117,120,122,123,126,132,135,141,142,143,144,145,146,147,149,150,152,153,155,156,157,158,159,160,166,184,186,187,188,189,190,191,193,195,196,197,199,202,204,206,209,210,211,213,217,219,223,227,228,230,231,235,236,237,238,241,],[-8,84,84,-41,84,-30,-4,-31,84,-7,84,84,-36,84,84,-35,84,84,-32,-30,84,84,-56,-57,-55,-50,-43,-54,-130,-122,-128,-129,-38,84,84,84,-4,84,84,84,-29,-30,84,84,-6,-53,-65,-37,-45,-30,84,-40,-44,84,-34,-29,-4,-67,-51,-42,-58,-50,-49,-66,-6,84,-40,-52,-68,-64,-4,-39,-33,-63,-59,-60,-61,]),'$end':([2,8,11,13,19,20,25,27,28,34,55,62,110,137,138,139,140,],[0,-4,-4,-10,-4,-18,-17,-1,-20,-19,-14,-9,-22,-21,-15,-13,-16,]),'PLUS':([52,92,96,119,120,121,122,123,124,126,128,133,135,161,162,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,184,185,199,200,201,203,206,207,208,209,211,212,213,214,215,216,224,227,228,232,236,237,238,241,],[-8,128,-7,128,-56,128,-57,-55,-74,175,-73,128,-54,128,175,128,128,128,-78,-77,-70,-81,-79,-69,128,-72,-71,-82,-80,128,128,175,128,-67,-75,128,-76,-58,175,128,175,175,175,-6,175,128,175,128,175,-64,175,-63,-59,-60,-61,]),'CONTAINS':([92,119,121,124,128,133,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[134,134,134,-74,-73,134,134,134,134,134,-78,-77,-70,-81,-79,-69,134,-72,-71,-82,-80,134,134,134,-75,134,-76,134,134,134,]),'RPAR':([52,55,94,96,97,98,120,122,123,126,135,138,139,140,162,163,164,166,184,198,199,202,205,206,209,210,211,213,214,216,220,221,222,223,225,227,228,232,233,234,236,237,238,240,241,],[-8,-14,138,-7,139,140,-56,-57,-55,-50,-54,-15,-13,-16,199,202,204,-53,-65,220,-67,-51,223,-58,-50,-49,-66,-6,199,228,-48,-47,-46,-52,202,-68,-64,236,-62,238,-63,-59,-60,241,-61,]),'STRING':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,50,-11,-14,-12,50,50,50,50,-74,-73,50,-15,-13,-16,50,50,50,50,-78,-77,-70,-81,-79,-69,50,-72,-71,-82,-80,50,50,50,-75,50,-76,50,50,50,]),'UNION':([52,73,74,80,82,83,86,87,88,96,103,105,108,109,113,115,116,117,120,122,123,126,132,135,141,142,143,144,145,146,147,149,150,155,156,157,158,160,166,184,186,187,188,190,191,192,193,195,196,197,199,202,204,206,209,210,211,213,219,223,227,228,229,230,231,235,236,237,238,241,],[-8,-4,-4,-41,107,-30,111,-31,-4,-7,107,-36,-35,-4,-32,-30,-4,159,-56,-57,-55,-50,-43,-54,-130,-122,-128,-129,-38,107,159,-4,189,-4,-29,-30,-4,-6,-53,-65,-37,-45,-30,-40,-44,111,-4,-34,-29,189,-67,-51,-42,-58,-50,-49,-66,-6,-40,-52,-68,-64,111,111,-39,-33,-63,-59,-60,-61,]),'DECIMAL':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,51,-11,-14,-12,51,51,51,51,-74,-73,51,-15,-13,-16,51,51,51,51,-78,-77,-70,-81,-79,-69,51,-72,-71,-82,-80,51,51,51,-75,51,-76,51,51,51,]),'RKEY':([52,73,74,79,80,82,83,85,86,87,88,93,96,103,105,108,109,112,113,114,115,116,117,120,122,123,126,132,135,141,142,143,144,145,146,147,148,149,150,151,153,154,155,156,157,158,160,166,184,186,187,188,190,191,192,193,194,195,196,197,199,202,204,206,209,210,211,213,218,219,223,227,228,229,230,231,235,236,237,238,241,],[-8,-4,-4,-25,-41,-4,-30,110,-4,-31,-4,137,-7,-4,-36,-35,-4,-4,-32,155,156,-4,-4,-56,-57,-55,-50,-43,-54,-130,-122,-128,-129,-38,-4,-4,187,-4,-4,191,-4,-27,-4,-29,196,-4,-6,-53,-65,-37,-45,187,-40,-44,-4,-4,-26,-34,-29,-4,-67,-51,-42,-58,-50,-49,-66,-6,230,231,-52,-68,-64,187,-4,-39,-33,-63,-59,-60,-61,]),'URI':([10,21,29,30,52,55,62,73,74,76,78,80,81,82,83,86,87,88,89,91,92,96,99,100,101,102,103,104,105,106,107,108,109,112,113,115,116,117,118,119,120,121,122,123,124,126,128,132,133,135,138,139,140,141,142,143,144,145,146,147,149,150,152,153,155,156,157,158,159,160,161,165,166,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,193,195,196,197,199,200,201,202,203,204,206,208,209,210,211,213,215,217,219,223,224,227,228,230,231,235,236,237,238,241,],[17,-4,52,-11,-8,-14,-12,52,52,96,52,-41,52,52,-30,-4,-31,52,-127,-126,52,-7,52,-124,-125,-123,52,52,-36,52,52,-35,52,52,-32,-30,52,52,96,52,-56,52,-57,-55,-74,-50,-73,-43,52,-54,-15,-13,-16,-130,-122,-128,-129,-38,52,52,52,-4,52,52,52,-29,-30,52,52,-6,52,52,-53,52,52,-78,-77,-70,-81,-79,-69,52,-72,-71,-82,-80,52,96,52,-65,52,-37,-45,-30,52,-40,-44,52,-34,-29,-4,-67,-75,52,-51,-76,-42,-58,52,-50,-49,-66,-6,52,52,-40,-52,52,-68,-64,-4,-39,-33,-63,-59,-60,-61,]),'DATETIME':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,53,-11,-14,-12,53,53,53,53,-74,-73,53,-15,-13,-16,53,53,53,53,-78,-77,-70,-81,-79,-69,53,-72,-71,-82,-80,53,53,53,-75,53,-76,53,53,53,]),'EQUALS':([52,96,120,122,123,126,135,162,184,199,206,207,209,211,212,213,214,216,227,228,232,236,237,238,241,],[-8,-7,-56,-57,-55,171,-54,171,171,-67,-58,171,171,171,171,-6,171,171,171,-64,171,-63,-59,-60,-61,]),'REGEX':([92,119,121,124,128,133,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[130,130,130,-74,-73,130,130,130,130,130,-78,-77,-70,-81,-79,-69,130,-72,-71,-82,-80,130,130,130,-75,130,-76,130,130,130,]),'STR':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,54,-11,-14,-12,54,54,54,54,-74,-73,54,-15,-13,-16,54,54,54,54,-78,-77,-70,-81,-79,-69,54,-72,-71,-82,-80,54,54,54,-75,54,-76,54,54,54,]),'OFFSET':([8,11,13,19,20,25,55,62,110,137,138,139,140,],[-4,-4,-10,26,-18,-17,-14,-9,-22,-21,-15,-13,-16,]),'VARIABLE':([9,14,15,16,21,23,24,29,30,32,52,55,62,73,74,75,77,78,80,81,82,83,86,87,88,89,91,92,96,99,100,101,102,103,104,105,106,107,108,109,112,113,115,116,117,119,120,121,122,123,124,126,128,132,133,135,138,139,140,141,142,143,144,145,146,147,149,150,152,153,155,156,157,158,159,160,161,165,166,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,184,185,186,187,188,189,190,191,193,195,196,197,199,200,201,202,203,204,206,208,209,210,211,213,215,217,219,223,224,227,228,230,231,235,236,237,238,241,],[-4,23,-23,-24,-4,-121,32,55,-11,-120,-8,-14,-12,89,89,94,97,55,-41,101,89,-30,-4,-31,89,-127,-126,123,-7,144,-124,-125,-123,89,89,-36,89,89,-35,89,89,-32,-30,89,89,123,-56,123,-57,-55,-74,-50,-73,-43,123,-54,-15,-13,-16,-130,-122,-128,-129,-38,89,89,89,-4,89,89,89,-29,-30,89,89,-6,123,123,-53,123,123,-78,-77,-70,-81,-79,-69,123,-72,-71,-82,-80,123,123,-65,123,-37,-45,-30,89,-40,-44,89,-34,-29,-4,-67,-75,123,-51,-76,-42,-58,123,-50,-49,-66,-6,123,89,-40,-52,123,-68,-64,-4,-39,-33,-63,-59,-60,-61,]),'BYTE':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,56,-11,-14,-12,56,56,56,56,-74,-73,56,-15,-13,-16,56,56,56,56,-78,-77,-70,-81,-79,-69,56,-72,-71,-82,-80,56,56,56,-75,56,-76,56,56,56,]),'POSITIVEINT':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,57,-11,-14,-12,57,57,57,57,-74,-73,57,-15,-13,-16,57,57,57,57,-78,-77,-70,-81,-79,-69,57,-72,-71,-82,-80,57,57,57,-75,57,-76,57,57,57,]),'BY':([12,],[21,]),'ID':([1,21,29,30,52,55,62,73,74,76,78,80,81,82,83,86,87,88,89,91,92,96,99,100,101,102,103,104,105,106,107,108,109,112,113,115,116,117,118,119,120,121,122,123,124,126,128,132,133,135,138,139,140,141,142,143,144,145,146,147,149,150,152,153,155,156,157,158,159,160,161,165,166,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,193,195,196,197,199,200,201,202,203,204,206,208,209,210,211,213,215,217,219,223,224,227,228,230,231,235,236,237,238,241,],[6,-4,58,-11,-8,-14,-12,90,90,95,58,-41,102,90,-30,-4,-31,90,-127,-126,131,-7,90,-124,-125,-123,90,90,-36,90,90,-35,90,90,-32,-30,90,90,160,131,-56,131,-57,-55,-74,-50,-73,-43,131,-54,-15,-13,-16,-130,-122,-128,-129,-38,90,90,90,-4,90,90,90,-29,-30,90,90,-6,131,131,-53,131,131,-78,-77,-70,-81,-79,-69,131,-72,-71,-82,-80,131,213,131,-65,131,-37,-45,-30,90,-40,-44,90,-34,-29,-4,-67,-75,131,-51,-76,-42,-58,131,-50,-49,-66,-6,131,90,-40,-52,131,-68,-64,-4,-39,-33,-63,-59,-60,-61,]),'DESC':([21,29,30,55,62,78,138,139,140,],[-4,59,-11,-14,-12,59,-15,-13,-16,]),'AND':([52,96,120,122,123,126,135,162,163,166,184,199,202,206,209,210,211,213,221,223,227,228,236,237,238,241,],[-8,-7,-56,-57,-55,-50,-54,-50,200,-53,-65,-67,-51,-58,-50,-49,-66,-6,200,-52,-68,-64,-63,-59,-60,-61,]),'OR':([52,96,120,122,123,126,135,162,163,166,184,199,202,206,209,210,211,213,221,223,227,228,236,237,238,241,],[-8,-7,-56,-57,-55,-50,-54,-50,203,-53,-65,-67,-51,-58,-50,-49,-66,-6,203,-52,-68,-64,-63,-59,-60,-61,]),'ALL':([9,14,15,16,],[-4,22,-23,-24,]),'NEGATIVEINT':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,35,-11,-14,-12,35,35,35,35,-74,-73,35,-15,-13,-16,35,35,35,35,-78,-77,-70,-81,-79,-69,35,-72,-71,-82,-80,35,35,35,-75,35,-76,35,35,35,]),'UCASE':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,61,-11,-14,-12,61,61,61,61,-74,-73,61,-15,-13,-16,61,61,61,61,-78,-77,-70,-81,-79,-69,61,-72,-71,-82,-80,61,61,61,-75,61,-76,61,61,61,]),'GREATER':([52,96,120,122,123,126,135,162,184,199,206,207,209,211,212,213,214,216,227,228,232,236,237,238,241,],[-8,-7,-56,-57,-55,180,-54,180,180,-67,-58,180,180,180,180,-6,180,180,180,-64,180,-63,-59,-60,-61,]),'INT':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,64,-11,-14,-12,64,64,64,64,-74,-73,64,-15,-13,-16,64,64,64,64,-78,-77,-70,-81,-79,-69,64,-72,-71,-82,-80,64,64,64,-75,64,-76,64,64,64,]),'INTEGER':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,49,-11,-14,-12,49,49,49,49,-74,-73,49,-15,-13,-16,49,49,49,49,-78,-77,-70,-81,-79,-69,49,-72,-71,-82,-80,49,49,49,-75,49,-76,49,49,49,]),'FLOAT':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,66,-11,-14,-12,66,66,66,66,-74,-73,66,-15,-13,-16,66,66,66,66,-78,-77,-70,-81,-79,-69,66,-72,-71,-82,-80,66,66,66,-75,66,-76,66,66,66,]),'NONNEGINT':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,60,-11,-14,-12,60,60,60,60,-74,-73,60,-15,-13,-16,60,60,60,60,-78,-77,-70,-81,-79,-69,60,-72,-71,-82,-80,60,60,60,-75,60,-76,60,60,60,]),'ISIRI':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,68,-11,-14,-12,68,68,68,68,-74,-73,68,-15,-13,-16,68,68,68,68,-78,-77,-70,-81,-79,-69,68,-72,-71,-82,-80,68,68,68,-75,68,-76,68,68,68,]),'WHERE':([22,23,24,32,],[31,-121,33,-120,]),'DATATYPE':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,41,-11,-14,-12,41,41,41,41,-74,-73,41,-15,-13,-16,41,41,41,41,-78,-77,-70,-81,-79,-69,41,-72,-71,-82,-80,41,41,41,-75,41,-76,41,41,41,]),'BOOLEAN':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,69,-11,-14,-12,69,69,69,69,-74,-73,69,-15,-13,-16,69,69,69,69,-78,-77,-70,-81,-79,-69,69,-72,-71,-82,-80,69,69,69,-75,69,-76,69,69,69,]),'FILTER':([52,73,74,80,82,83,86,87,88,96,103,104,105,106,107,108,109,112,113,115,116,117,120,122,123,126,132,135,141,142,143,144,145,146,147,149,150,152,153,155,156,157,158,159,160,166,184,186,187,188,189,190,191,193,195,196,197,199,202,204,206,209,210,211,213,217,219,223,227,228,230,231,235,236,237,238,241,],[-8,92,92,-41,92,-30,-4,-31,92,-7,92,92,-36,92,92,-35,92,92,-32,-30,92,92,-56,-57,-55,-50,-43,-54,-130,-122,-128,-129,-38,92,92,92,-4,92,92,92,-29,-30,92,92,-6,-53,-65,-37,-45,-30,92,-40,-44,92,-34,-29,-4,-67,-51,-42,-58,-50,-49,-66,-6,92,-40,-52,-68,-64,-4,-39,-33,-63,-59,-60,-61,]),'DOUBLE':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,65,-11,-14,-12,65,65,65,65,-74,-73,65,-15,-13,-16,65,65,65,65,-78,-77,-70,-81,-79,-69,65,-72,-71,-82,-80,65,65,65,-75,65,-76,65,65,65,]),'NONPOSINT':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,71,-11,-14,-12,71,71,71,71,-74,-73,71,-15,-13,-16,71,71,71,71,-78,-77,-70,-81,-79,-69,71,-72,-71,-82,-80,71,71,71,-75,71,-76,71,71,71,]),'UNSIGNEDLONG':([21,29,30,55,62,78,92,119,121,124,128,133,138,139,140,161,165,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,185,200,201,203,208,215,224,],[-4,72,-11,-14,-12,72,72,72,72,-74,-73,72,-15,-13,-16,72,72,72,72,-78,-77,-70,-81,-79,-69,72,-72,-71,-82,-80,72,72,72,-75,72,-76,72,72,72,]),} _lr_action = {} for _k, _v in _lr_action_items.items(): for _x,_y in zip(_v[0],_v[1]): if not _x in _lr_action: _lr_action[_x] = {} _lr_action[_x][_k] = _y del _lr_action_items _lr_goto_items = {'LOGOP':([163,221,],[201,201,]),'regex_flag':([234,],[237,]),'parse_sparql':([0,],[2,]),'rest_union_block':([86,150,192,197,229,230,],[112,190,218,219,218,235,]),'prefix':([0,3,],[3,3,]),'triple':([73,74,82,88,103,104,106,107,109,112,116,117,146,147,149,152,153,155,158,159,189,193,217,],[80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,]),'union_block':([73,74,88,109,116,149,158,193,],[79,79,114,79,114,114,114,114,]),'query':([4,],[8,]),'var_list':([14,],[24,]),'subject':([73,74,82,88,103,104,106,107,109,112,116,117,146,147,149,152,153,155,158,159,189,193,217,],[81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,]),'binary_func':([92,119,121,133,161,165,168,169,176,181,183,185,201,208,215,224,],[125,125,125,125,125,125,125,125,125,125,125,125,125,125,125,125,]),'order_by':([8,],[11,]),'distinct':([9,],[14,]),'express_arg':([92,119,121,133,161,165,168,169,176,181,183,185,201,208,215,224,],[126,162,126,184,162,162,207,209,211,212,214,216,126,162,227,232,]),'group_graph_pattern':([73,74,109,],[85,93,151,]),'pjoin_block':([73,74,88,109,112,116,149,153,158,193,],[86,86,86,86,154,86,86,194,86,86,]),'var_order_list':([21,],[29,]),'prefix_list':([0,3,],[4,7,]),'empty':([0,3,8,9,11,19,21,73,74,82,86,88,103,109,112,116,117,146,147,149,150,153,155,158,192,193,197,229,230,],[5,5,13,16,20,28,30,87,87,105,113,87,105,87,87,87,105,105,105,87,113,87,105,87,113,87,113,113,113,]),'ARITOP':([126,162,184,207,209,211,212,214,216,227,232,],[176,176,176,176,176,176,176,176,176,176,176,]),'predicate':([81,],[99,]),'RELOP':([126,162,184,207,209,211,212,214,216,227,232,],[169,169,215,215,169,215,215,215,215,215,215,]),'object':([99,],[142,]),'rest_join_block':([82,103,117,146,147,155,],[108,145,108,186,108,195,]),'pattern_arg':([226,239,],[234,240,]),'offset':([19,],[27,]),'join_block':([73,74,88,106,109,112,116,149,152,153,158,193,217,],[83,83,115,148,83,83,157,188,192,83,157,188,229,]),'express_rel':([92,119,121,161,165,169,201,208,],[132,163,166,163,163,210,221,225,]),'desc_var':([29,78,],[62,98,]),'UNARYOP':([92,119,121,133,161,165,168,169,176,181,183,185,201,208,215,224,],[133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,]),'uri':([29,73,74,78,81,82,88,92,99,103,104,106,107,109,112,116,117,119,121,133,146,147,149,152,153,155,158,159,161,165,168,169,176,181,183,185,189,193,201,208,215,217,224,],[63,91,91,63,100,91,91,135,143,91,91,91,91,91,91,91,91,135,135,135,91,91,91,91,91,91,91,91,135,135,135,135,135,135,135,135,91,91,135,135,135,91,135,]),'bgp':([73,74,82,88,103,104,106,107,109,112,116,117,146,147,149,152,153,155,158,159,189,193,217,],[82,82,103,117,103,146,147,150,82,82,147,103,103,103,147,82,82,103,147,197,150,147,117,]),'limit':([11,],[19,]),'unary_func':([29,78,92,119,121,133,161,165,168,169,176,181,183,185,201,208,215,224,],[70,70,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,]),'expression':([119,161,165,201,],[164,198,205,222,]),} _lr_goto = {} for _k, _v in _lr_goto_items.items(): for _x, _y in zip(_v[0], _v[1]): if not _x in _lr_goto: _lr_goto[_x] = {} _lr_goto[_x][_k] = _y del _lr_goto_items _lr_productions = [ ("S' -> parse_sparql","S'",1,None,None,None), ('parse_sparql -> prefix_list query order_by limit offset','parse_sparql',5,'p_parse_sparql','sparql_parser.py',168), ('prefix_list -> prefix prefix_list','prefix_list',2,'p_prefix_list','sparql_parser.py',176), ('prefix_list -> empty','prefix_list',1,'p_empty_prefix_list','sparql_parser.py',184), ('empty -> <empty>','empty',0,'p_empty','sparql_parser.py',192), ('prefix -> PREFIX ID COLON URI','prefix',4,'p_prefix','sparql_parser.py',199), ('uri -> ID COLON ID','uri',3,'p_uri_0','sparql_parser.py',206), ('uri -> ID COLON URI','uri',3,'p_uri_1','sparql_parser.py',219), ('uri -> URI','uri',1,'p_uri_2','sparql_parser.py',226), ('order_by -> ORDER BY var_order_list desc_var','order_by',4,'p_order_by_0','sparql_parser.py',233), ('order_by -> empty','order_by',1,'p_order_by_1','sparql_parser.py',240), ('var_order_list -> empty','var_order_list',1,'p_var_order_list_0','sparql_parser.py',247), ('var_order_list -> var_order_list desc_var','var_order_list',2,'p_var_order_list_1','sparql_parser.py',254), ('desc_var -> DESC LPAR VARIABLE RPAR','desc_var',4,'p_desc_var_0','sparql_parser.py',261), ('desc_var -> VARIABLE','desc_var',1,'p_desc_var_1','sparql_parser.py',268), ('desc_var -> ASC LPAR VARIABLE RPAR','desc_var',4,'p_desc_var_2','sparql_parser.py',275), ('desc_var -> unary_func LPAR desc_var RPAR','desc_var',4,'p_desc_var_3','sparql_parser.py',282), ('limit -> LIMIT NUMBER','limit',2,'p_limit_0','sparql_parser.py',289), ('limit -> empty','limit',1,'p_limit_1','sparql_parser.py',296), ('offset -> OFFSET NUMBER','offset',2,'p_offset_0','sparql_parser.py',303), ('offset -> empty','offset',1,'p_offset_1','sparql_parser.py',310), ('query -> SELECT distinct var_list WHERE LKEY group_graph_pattern RKEY','query',7,'p_query_0','sparql_parser.py',317), ('query -> SELECT distinct ALL WHERE LKEY group_graph_pattern RKEY','query',7,'p_query_1','sparql_parser.py',324), ('distinct -> DISTINCT','distinct',1,'p_distinct_0','sparql_parser.py',331), ('distinct -> empty','distinct',1,'p_distinct_1','sparql_parser.py',338), ('group_graph_pattern -> union_block','group_graph_pattern',1,'p_ggp_0','sparql_parser.py',345), ('union_block -> pjoin_block rest_union_block POINT pjoin_block','union_block',4,'p_union_block_0','sparql_parser.py',352), ('union_block -> pjoin_block rest_union_block pjoin_block','union_block',3,'p_union_block_1','sparql_parser.py',361), ('union_block -> pjoin_block rest_union_block','union_block',2,'p_union_block_2','sparql_parser.py',373), ('pjoin_block -> LKEY join_block RKEY','pjoin_block',3,'p_ppjoin_block_0','sparql_parser.py',380), ('pjoin_block -> join_block','pjoin_block',1,'p_ppjoin_block_1','sparql_parser.py',387), ('pjoin_block -> empty','pjoin_block',1,'p_ppjoin_block_2','sparql_parser.py',394), ('rest_union_block -> empty','rest_union_block',1,'p_rest_union_block_0','sparql_parser.py',401), ('rest_union_block -> UNION LKEY join_block rest_union_block RKEY rest_union_block','rest_union_block',6,'p_rest_union_block_1','sparql_parser.py',408), ('join_block -> LKEY union_block RKEY rest_join_block','join_block',4,'p_join_block_0','sparql_parser.py',415), ('join_block -> bgp rest_join_block','join_block',2,'p_join_block_1','sparql_parser.py',427), ('rest_join_block -> empty','rest_join_block',1,'p_rest_join_block_0','sparql_parser.py',434), ('rest_join_block -> POINT bgp rest_join_block','rest_join_block',3,'p_rest_join_block_1','sparql_parser.py',441), ('rest_join_block -> bgp rest_join_block','rest_join_block',2,'p_rest_join_block_2','sparql_parser.py',448), ('bgp -> LKEY bgp UNION bgp rest_union_block RKEY','bgp',6,'p_bgp_0','sparql_parser.py',455), ('bgp -> bgp UNION bgp rest_union_block','bgp',4,'p_bgp_01','sparql_parser.py',463), ('bgp -> triple','bgp',1,'p_bgp_1','sparql_parser.py',471), ('bgp -> FILTER LPAR expression RPAR','bgp',4,'p_bgp_2','sparql_parser.py',478), ('bgp -> FILTER express_rel','bgp',2,'p_bgp_3','sparql_parser.py',485), ('bgp -> OPTIONAL LKEY group_graph_pattern RKEY','bgp',4,'p_bgp_4','sparql_parser.py',492), ('bgp -> LKEY join_block RKEY','bgp',3,'p_bgp_6','sparql_parser.py',506), ('expression -> express_rel LOGOP expression','expression',3,'p_expression_0','sparql_parser.py',516), ('expression -> express_rel','expression',1,'p_expression_1','sparql_parser.py',523), ('expression -> LPAR expression RPAR','expression',3,'p_expression_2','sparql_parser.py',530), ('express_rel -> express_arg RELOP express_rel','express_rel',3,'p_express_rel_0','sparql_parser.py',537), ('express_rel -> express_arg','express_rel',1,'p_express_rel_1','sparql_parser.py',544), ('express_rel -> LPAR express_rel RPAR','express_rel',3,'p_express_rel_2','sparql_parser.py',551), ('express_rel -> NEG LPAR expression RPAR','express_rel',4,'p_express_rel_3','sparql_parser.py',558), ('express_rel -> NEG express_rel','express_rel',2,'p_express_rel_4','sparql_parser.py',565), ('express_arg -> uri','express_arg',1,'p_express_arg_0','sparql_parser.py',572), ('express_arg -> VARIABLE','express_arg',1,'p_express_arg_1','sparql_parser.py',579), ('express_arg -> CONSTANT','express_arg',1,'p_express_arg_2','sparql_parser.py',586), ('express_arg -> NUMBER','express_arg',1,'p_express_arg_3','sparql_parser.py',593), ('express_arg -> NUMBER POINT NUMBER','express_arg',3,'p_express_arg_03','sparql_parser.py',600), ('express_arg -> REGEX LPAR express_arg COMA pattern_arg regex_flag','express_arg',6,'p_express_arg_4','sparql_parser.py',608), ('regex_flag -> RPAR','regex_flag',1,'p_regex_flags_0','sparql_parser.py',615), ('regex_flag -> COMA pattern_arg RPAR','regex_flag',3,'p_regex_flags_1','sparql_parser.py',622), ('pattern_arg -> CONSTANT','pattern_arg',1,'p_pattern_arg_0','sparql_parser.py',629), ('express_arg -> binary_func LPAR express_arg COMA express_arg RPAR','express_arg',6,'p_express_arg_5','sparql_parser.py',636), ('express_arg -> unary_func LPAR express_arg RPAR','express_arg',4,'p_express_arg_6','sparql_parser.py',643), ('express_arg -> UNARYOP express_arg','express_arg',2,'p_express_arg_7','sparql_parser.py',650), ('express_arg -> express_arg ARITOP express_arg','express_arg',3,'p_express_arg_8','sparql_parser.py',657), ('express_arg -> LPAR express_arg RPAR','express_arg',3,'p_express_arg_9','sparql_parser.py',664), ('express_arg -> express_arg RELOP express_arg','express_arg',3,'p_express_arg_10','sparql_parser.py',671), ('ARITOP -> PLUS','ARITOP',1,'p_arit_op_0','sparql_parser.py',678), ('ARITOP -> MINUS','ARITOP',1,'p_arit_op_1','sparql_parser.py',685), ('ARITOP -> TIMES','ARITOP',1,'p_arit_op_2','sparql_parser.py',692), ('ARITOP -> DIV','ARITOP',1,'p_arit_op_3','sparql_parser.py',699), ('UNARYOP -> PLUS','UNARYOP',1,'p_unaryarit_op_1','sparql_parser.py',706), ('UNARYOP -> MINUS','UNARYOP',1,'p_unaryarit_op_2','sparql_parser.py',713), ('LOGOP -> AND','LOGOP',1,'p_logical_op_0','sparql_parser.py',720), ('LOGOP -> OR','LOGOP',1,'p_logical_op_1','sparql_parser.py',727), ('RELOP -> EQUALS','RELOP',1,'p_relational_op_0','sparql_parser.py',734), ('RELOP -> LESS','RELOP',1,'p_relational_op_1','sparql_parser.py',741), ('RELOP -> LESSEQ','RELOP',1,'p_relational_op_2','sparql_parser.py',748), ('RELOP -> GREATER','RELOP',1,'p_relational_op_3','sparql_parser.py',755), ('RELOP -> GREATEREQ','RELOP',1,'p_relational_op_4','sparql_parser.py',762), ('RELOP -> NEQUALS','RELOP',1,'p_relational_op_5','sparql_parser.py',769), ('binary_func -> REGEX','binary_func',1,'p_binary_0','sparql_parser.py',776), ('binary_func -> SAMETERM','binary_func',1,'p_binary_1','sparql_parser.py',783), ('binary_func -> LANGMATCHES','binary_func',1,'p_binary_2','sparql_parser.py',790), ('binary_func -> CONSTANT','binary_func',1,'p_binary_3','sparql_parser.py',797), ('binary_func -> CONTAINS','binary_func',1,'p_binary_4','sparql_parser.py',804), ('unary_func -> BOUND','unary_func',1,'p_unary_0','sparql_parser.py',811), ('unary_func -> ISIRI','unary_func',1,'p_unary_1','sparql_parser.py',818), ('unary_func -> ISURI','unary_func',1,'p_unary_2','sparql_parser.py',825), ('unary_func -> ISBLANK','unary_func',1,'p_unary_3','sparql_parser.py',832), ('unary_func -> ISLITERAL','unary_func',1,'p_unary_4','sparql_parser.py',839), ('unary_func -> LANG','unary_func',1,'p_unary_5','sparql_parser.py',846), ('unary_func -> DATATYPE','unary_func',1,'p_unary_6','sparql_parser.py',853), ('unary_func -> STR','unary_func',1,'p_unary_7','sparql_parser.py',860), ('unary_func -> UPPERCASE','unary_func',1,'p_unary_8','sparql_parser.py',867), ('unary_func -> DOUBLE','unary_func',1,'p_unary_9','sparql_parser.py',874), ('unary_func -> INTEGER','unary_func',1,'p_unary_9','sparql_parser.py',875), ('unary_func -> DECIMAL','unary_func',1,'p_unary_9','sparql_parser.py',876), ('unary_func -> FLOAT','unary_func',1,'p_unary_9','sparql_parser.py',877), ('unary_func -> STRING','unary_func',1,'p_unary_9','sparql_parser.py',878), ('unary_func -> BOOLEAN','unary_func',1,'p_unary_9','sparql_parser.py',879), ('unary_func -> DATETIME','unary_func',1,'p_unary_9','sparql_parser.py',880), ('unary_func -> NONPOSINT','unary_func',1,'p_unary_9','sparql_parser.py',881), ('unary_func -> NEGATIVEINT','unary_func',1,'p_unary_9','sparql_parser.py',882), ('unary_func -> LONG','unary_func',1,'p_unary_9','sparql_parser.py',883), ('unary_func -> INT','unary_func',1,'p_unary_9','sparql_parser.py',884), ('unary_func -> SHORT','unary_func',1,'p_unary_9','sparql_parser.py',885), ('unary_func -> BYTE','unary_func',1,'p_unary_9','sparql_parser.py',886), ('unary_func -> NONNEGINT','unary_func',1,'p_unary_9','sparql_parser.py',887), ('unary_func -> UNSIGNEDLONG','unary_func',1,'p_unary_9','sparql_parser.py',888), ('unary_func -> UNSIGNEDINT','unary_func',1,'p_unary_9','sparql_parser.py',889), ('unary_func -> UNSIGNEDSHORT','unary_func',1,'p_unary_9','sparql_parser.py',890), ('unary_func -> UNSIGNEDBYTE','unary_func',1,'p_unary_9','sparql_parser.py',891), ('unary_func -> POSITIVEINT','unary_func',1,'p_unary_9','sparql_parser.py',892), ('unary_func -> ID COLON ID','unary_func',3,'p_unary_10','sparql_parser.py',899), ('unary_func -> uri','unary_func',1,'p_unary_11','sparql_parser.py',906), ('unary_func -> UCASE','unary_func',1,'p_unary_12','sparql_parser.py',913), ('unary_func -> LCASE','unary_func',1,'p_unary_13','sparql_parser.py',920), ('var_list -> var_list VARIABLE','var_list',2,'p_var_list','sparql_parser.py',927), ('var_list -> VARIABLE','var_list',1,'p_single_var_list','sparql_parser.py',934), ('triple -> subject predicate object','triple',3,'p_triple_0','sparql_parser.py',941), ('predicate -> ID','predicate',1,'p_predicate_rdftype','sparql_parser.py',948), ('predicate -> uri','predicate',1,'p_predicate_uri','sparql_parser.py',962), ('predicate -> VARIABLE','predicate',1,'p_predicate_var','sparql_parser.py',969), ('subject -> uri','subject',1,'p_subject_uri','sparql_parser.py',976), ('subject -> VARIABLE','subject',1,'p_subject_variable','sparql_parser.py',983), ('object -> uri','object',1,'p_object_uri','sparql_parser.py',991), ('object -> VARIABLE','object',1,'p_object_variable','sparql_parser.py',998), ('object -> CONSTANT','object',1,'p_object_constant','sparql_parser.py',1005), ]
_tabversion = '3.10' _lr_method = 'LALR' _lr_signature = 'ALL AND ASC BOOLEAN BOUND BY BYTE COLON COMA CONSTANT CONTAINS DATATYPE DATETIME DECIMAL DESC DISTINCT DIV DOUBLE EQUALS FILTER FLOAT GREATER GREATEREQ ID INT INTEGER ISBLANK ISIRI ISLITERAL ISURI LANG LANGMATCHES LCASE LESS LESSEQ LIMIT LKEY LONG LPAR MINUS NEG NEGATIVEINT NEQUALS NONNEGINT NONPOSINT NUMBER OFFSET OPTIONAL OR ORDER PLUS POINT POSITIVEINT PREFIX REGEX RKEY RPAR SAMETERM SELECT SHORT STR STRING TIMES UCASE UNION UNSIGNEDBYTE UNSIGNEDINT UNSIGNEDLONG UNSIGNEDSHORT UPPERCASE URI VARIABLE WHERE\n parse_sparql : prefix_list query order_by limit offset\n \n prefix_list : prefix prefix_list\n \n prefix_list : empty\n \n empty :\n \n prefix : PREFIX ID COLON URI\n \n uri : ID COLON ID\n \n uri : ID COLON URI\n \n uri : URI\n \n order_by : ORDER BY var_order_list desc_var\n \n order_by : empty\n \n var_order_list : empty\n \n var_order_list : var_order_list desc_var\n \n desc_var : DESC LPAR VARIABLE RPAR\n \n desc_var : VARIABLE\n \n desc_var : ASC LPAR VARIABLE RPAR\n \n desc_var : unary_func LPAR desc_var RPAR\n \n limit : LIMIT NUMBER\n \n limit : empty\n \n offset : OFFSET NUMBER\n \n offset : empty\n \n query : SELECT distinct var_list WHERE LKEY group_graph_pattern RKEY\n \n query : SELECT distinct ALL WHERE LKEY group_graph_pattern RKEY\n \n distinct : DISTINCT\n \n distinct : empty\n \n group_graph_pattern : union_block\n \n union_block : pjoin_block rest_union_block POINT pjoin_block\n \n union_block : pjoin_block rest_union_block pjoin_block\n \n union_block : pjoin_block rest_union_block\n \n pjoin_block : LKEY join_block RKEY\n \n pjoin_block : join_block\n \n pjoin_block : empty\n \n rest_union_block : empty\n \n rest_union_block : UNION LKEY join_block rest_union_block RKEY rest_union_block\n \n join_block : LKEY union_block RKEY rest_join_block\n \n join_block : bgp rest_join_block\n \n rest_join_block : empty\n \n rest_join_block : POINT bgp rest_join_block\n \n rest_join_block : bgp rest_join_block\n \n bgp : LKEY bgp UNION bgp rest_union_block RKEY\n \n bgp : bgp UNION bgp rest_union_block\n \n bgp : triple\n \n bgp : FILTER LPAR expression RPAR\n \n bgp : FILTER express_rel\n \n bgp : OPTIONAL LKEY group_graph_pattern RKEY\n \n bgp : LKEY join_block RKEY\n \n expression : express_rel LOGOP expression\n \n expression : express_rel\n \n expression : LPAR expression RPAR\n \n express_rel : express_arg RELOP express_rel\n \n express_rel : express_arg\n \n express_rel : LPAR express_rel RPAR\n \n express_rel : NEG LPAR expression RPAR\n \n express_rel : NEG express_rel\n \n express_arg : uri\n \n express_arg : VARIABLE\n \n express_arg : CONSTANT\n \n express_arg : NUMBER\n \n express_arg : NUMBER POINT NUMBER\n \n express_arg : REGEX LPAR express_arg COMA pattern_arg regex_flag\n \n regex_flag : RPAR\n \n regex_flag : COMA pattern_arg RPAR\n \n pattern_arg : CONSTANT\n \n express_arg : binary_func LPAR express_arg COMA express_arg RPAR\n \n express_arg : unary_func LPAR express_arg RPAR\n \n express_arg : UNARYOP express_arg\n \n express_arg : express_arg ARITOP express_arg\n \n express_arg : LPAR express_arg RPAR\n \n express_arg : express_arg RELOP express_arg\n \n ARITOP : PLUS\n \n ARITOP : MINUS\n \n ARITOP : TIMES\n \n ARITOP : DIV\n \n UNARYOP : PLUS\n \n UNARYOP : MINUS\n \n LOGOP : AND\n \n LOGOP : OR\n \n RELOP : EQUALS\n \n RELOP : LESS\n \n RELOP : LESSEQ\n \n RELOP : GREATER\n \n RELOP : GREATEREQ\n \n RELOP : NEQUALS\n \n binary_func : REGEX\n \n binary_func : SAMETERM\n \n binary_func : LANGMATCHES\n \n binary_func : CONSTANT\n \n binary_func : CONTAINS\n \n unary_func : BOUND\n \n unary_func : ISIRI\n \n unary_func : ISURI\n \n unary_func : ISBLANK\n \n unary_func : ISLITERAL\n \n unary_func : LANG\n \n unary_func : DATATYPE\n \n unary_func : STR\n \n unary_func : UPPERCASE\n \n unary_func : DOUBLE\n | INTEGER\n | DECIMAL\n | FLOAT\n | STRING\n | BOOLEAN\n | DATETIME\n | NONPOSINT\n | NEGATIVEINT\n | LONG\n | INT\n | SHORT\n | BYTE\n | NONNEGINT\n | UNSIGNEDLONG\n | UNSIGNEDINT\n | UNSIGNEDSHORT\n | UNSIGNEDBYTE\n | POSITIVEINT\n \n unary_func : ID COLON ID\n \n unary_func : uri\n \n unary_func : UCASE\n \n unary_func : LCASE\n \n var_list : var_list VARIABLE\n \n var_list : VARIABLE\n \n triple : subject predicate object\n \n predicate : ID\n \n predicate : uri\n \n predicate : VARIABLE\n \n subject : uri\n \n subject : VARIABLE\n \n object : uri\n \n object : VARIABLE\n \n object : CONSTANT\n ' _lr_action_items = {'LPAR': ([35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 56, 57, 59, 60, 61, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 92, 95, 96, 119, 120, 121, 124, 125, 127, 128, 129, 130, 133, 134, 135, 136, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 213, 215, 224], [-105, -108, -90, -93, -113, -114, -94, -96, -112, -119, -106, -91, 75, -92, -98, -101, -99, -8, -103, -95, -109, -115, 77, -110, -118, -117, -107, -97, -100, -88, -89, -102, 78, -104, -111, 119, -6, -7, 161, -86, 165, -74, 168, -84, -73, -85, 181, 183, -87, -117, 185, 161, 161, 183, 208, -78, -77, -70, -81, -79, -69, 183, -72, -71, -82, -80, 183, 183, 183, -75, 161, -76, 208, -6, 183, 183]), 'SHORT': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 36, -11, -14, -12, 36, 36, 36, 36, -74, -73, 36, -15, -13, -16, 36, 36, 36, 36, -78, -77, -70, -81, -79, -69, 36, -72, -71, -82, -80, 36, 36, 36, -75, 36, -76, 36, 36, 36]), 'CONSTANT': ([52, 92, 96, 99, 100, 101, 102, 119, 121, 124, 128, 133, 160, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224, 226, 239], [-8, 120, -7, 141, -124, -125, -123, 120, 120, -74, -73, 120, -6, 120, 120, 120, 120, -78, -77, -70, -81, -79, -69, 120, -72, -71, -82, -80, 120, 120, 120, -75, 120, -76, 120, 120, 120, 233, 233]), 'LESS': ([52, 96, 120, 122, 123, 126, 135, 162, 184, 199, 206, 207, 209, 211, 212, 213, 214, 216, 227, 228, 232, 236, 237, 238, 241], [-8, -7, -56, -57, -55, 170, -54, 170, 170, -67, -58, 170, 170, 170, 170, -6, 170, 170, 170, -64, 170, -63, -59, -60, -61]), 'NEG': ([92, 119, 121, 161, 165, 169, 170, 171, 173, 174, 179, 180, 200, 201, 203, 208], [121, 121, 121, 121, 121, 121, -78, -77, -81, -79, -82, -80, -75, 121, -76, 121]), 'NEQUALS': ([52, 96, 120, 122, 123, 126, 135, 162, 184, 199, 206, 207, 209, 211, 212, 213, 214, 216, 227, 228, 232, 236, 237, 238, 241], [-8, -7, -56, -57, -55, 179, -54, 179, 179, -67, -58, 179, 179, 179, 179, -6, 179, 179, 179, -64, 179, -63, -59, -60, -61]), 'NUMBER': ([18, 26, 92, 119, 121, 124, 128, 133, 161, 165, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [25, 34, 122, 122, 122, -74, -73, 122, 122, 122, 206, 122, 122, -78, -77, -70, -81, -79, -69, 122, -72, -71, -82, -80, 122, 122, 122, -75, 122, -76, 122, 122, 122]), 'BOUND': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 67, -11, -14, -12, 67, 67, 67, 67, -74, -73, 67, -15, -13, -16, 67, 67, 67, 67, -78, -77, -70, -81, -79, -69, 67, -72, -71, -82, -80, 67, 67, 67, -75, 67, -76, 67, 67, 67]), 'COMA': ([52, 96, 120, 122, 123, 135, 184, 199, 206, 207, 211, 212, 213, 227, 228, 233, 234, 236, 237, 238, 241], [-8, -7, -56, -57, -55, -54, -65, -67, -58, 224, -66, 226, -6, -68, -64, -62, 239, -63, -59, -60, -61]), 'PREFIX': ([0, 3, 17], [1, 1, -5]), 'ISURI': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 37, -11, -14, -12, 37, 37, 37, 37, -74, -73, 37, -15, -13, -16, 37, 37, 37, 37, -78, -77, -70, -81, -79, -69, 37, -72, -71, -82, -80, 37, 37, 37, -75, 37, -76, 37, 37, 37]), 'LIMIT': ([8, 11, 13, 55, 62, 110, 137, 138, 139, 140], [-4, 18, -10, -14, -9, -22, -21, -15, -13, -16]), 'DIV': ([52, 96, 120, 122, 123, 126, 135, 162, 184, 199, 206, 207, 209, 211, 212, 213, 214, 216, 227, 228, 232, 236, 237, 238, 241], [-8, -7, -56, -57, -55, 177, -54, 177, 177, -67, -58, 177, 177, 177, 177, -6, 177, 177, 177, -64, 177, -63, -59, -60, -61]), 'MINUS': ([52, 92, 96, 119, 120, 121, 122, 123, 124, 126, 128, 133, 135, 161, 162, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 184, 185, 199, 200, 201, 203, 206, 207, 208, 209, 211, 212, 213, 214, 215, 216, 224, 227, 228, 232, 236, 237, 238, 241], [-8, 124, -7, 124, -56, 124, -57, -55, -74, 172, -73, 124, -54, 124, 172, 124, 124, 124, -78, -77, -70, -81, -79, -69, 124, -72, -71, -82, -80, 124, 124, 172, 124, -67, -75, 124, -76, -58, 172, 124, 172, 172, 172, -6, 172, 124, 172, 124, 172, -64, 172, -63, -59, -60, -61]), 'ISBLANK': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 46, -11, -14, -12, 46, 46, 46, 46, -74, -73, 46, -15, -13, -16, 46, 46, 46, 46, -78, -77, -70, -81, -79, -69, 46, -72, -71, -82, -80, 46, 46, 46, -75, 46, -76, 46, 46, 46]), 'SELECT': ([0, 3, 4, 5, 7, 17], [-4, -4, 9, -3, -2, -5]), 'LKEY': ([31, 33, 52, 73, 74, 80, 82, 83, 84, 86, 87, 88, 96, 103, 104, 105, 106, 107, 108, 109, 111, 112, 113, 115, 116, 117, 120, 122, 123, 126, 132, 135, 141, 142, 143, 144, 145, 146, 147, 149, 150, 152, 153, 155, 156, 157, 158, 159, 160, 166, 184, 186, 187, 188, 189, 190, 191, 193, 195, 196, 197, 199, 202, 204, 206, 209, 210, 211, 213, 217, 219, 223, 227, 228, 230, 231, 235, 236, 237, 238, 241], [73, 74, -8, 88, 88, -41, 106, -30, 109, -4, -31, 116, -7, 106, 106, -36, 149, 106, -35, 88, 152, 88, -32, -30, 158, 106, -56, -57, -55, -50, -43, -54, -130, -122, -128, -129, -38, 106, 106, 158, -4, 193, 88, 106, -29, -30, 158, 106, -6, -53, -65, -37, -45, -30, 217, -40, -44, 158, -34, -29, -4, -67, -51, -42, -58, -50, -49, -66, -6, 193, -40, -52, -68, -64, -4, -39, -33, -63, -59, -60, -61]), 'LANG': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 38, -11, -14, -12, 38, 38, 38, 38, -74, -73, 38, -15, -13, -16, 38, 38, 38, 38, -78, -77, -70, -81, -79, -69, 38, -72, -71, -82, -80, 38, 38, 38, -75, 38, -76, 38, 38, 38]), 'ASC': ([21, 29, 30, 55, 62, 78, 138, 139, 140], [-4, 47, -11, -14, -12, 47, -15, -13, -16]), 'UNSIGNEDBYTE': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 40, -11, -14, -12, 40, 40, 40, 40, -74, -73, 40, -15, -13, -16, 40, 40, 40, 40, -78, -77, -70, -81, -79, -69, 40, -72, -71, -82, -80, 40, 40, 40, -75, 40, -76, 40, 40, 40]), 'TIMES': ([52, 96, 120, 122, 123, 126, 135, 162, 184, 199, 206, 207, 209, 211, 212, 213, 214, 216, 227, 228, 232, 236, 237, 238, 241], [-8, -7, -56, -57, -55, 178, -54, 178, 178, -67, -58, 178, 178, 178, 178, -6, 178, 178, 178, -64, 178, -63, -59, -60, -61]), 'POINT': ([52, 73, 74, 80, 82, 83, 86, 87, 88, 96, 103, 105, 108, 109, 112, 113, 115, 116, 117, 120, 122, 123, 126, 132, 135, 141, 142, 143, 144, 145, 146, 147, 149, 150, 155, 156, 157, 158, 160, 166, 184, 186, 187, 188, 190, 191, 193, 195, 196, 197, 199, 202, 204, 206, 209, 210, 211, 213, 219, 223, 227, 228, 230, 231, 235, 236, 237, 238, 241], [-8, -4, -4, -41, 104, -30, -4, -31, -4, -7, 104, -36, -35, -4, 153, -32, -30, -4, 104, -56, 167, -55, -50, -43, -54, -130, -122, -128, -129, -38, 104, 104, -4, -4, 104, -29, -30, -4, -6, -53, -65, -37, -45, -30, -40, -44, -4, -34, -29, -4, -67, -51, -42, -58, -50, -49, -66, -6, -40, -52, -68, -64, -4, -39, -33, -63, -59, -60, -61]), 'DISTINCT': ([9], [15]), 'UPPERCASE': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 42, -11, -14, -12, 42, 42, 42, 42, -74, -73, 42, -15, -13, -16, 42, 42, 42, 42, -78, -77, -70, -81, -79, -69, 42, -72, -71, -82, -80, 42, 42, 42, -75, 42, -76, 42, 42, 42]), 'UNSIGNEDINT': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 43, -11, -14, -12, 43, 43, 43, 43, -74, -73, 43, -15, -13, -16, 43, 43, 43, 43, -78, -77, -70, -81, -79, -69, 43, -72, -71, -82, -80, 43, 43, 43, -75, 43, -76, 43, 43, 43]), 'SAMETERM': ([92, 119, 121, 124, 128, 133, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [127, 127, 127, -74, -73, 127, 127, 127, 127, 127, -78, -77, -70, -81, -79, -69, 127, -72, -71, -82, -80, 127, 127, 127, -75, 127, -76, 127, 127, 127]), 'LCASE': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 44, -11, -14, -12, 44, 44, 44, 44, -74, -73, 44, -15, -13, -16, 44, 44, 44, 44, -78, -77, -70, -81, -79, -69, 44, -72, -71, -82, -80, 44, 44, 44, -75, 44, -76, 44, 44, 44]), 'LONG': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 45, -11, -14, -12, 45, 45, 45, 45, -74, -73, 45, -15, -13, -16, 45, 45, 45, 45, -78, -77, -70, -81, -79, -69, 45, -72, -71, -82, -80, 45, 45, 45, -75, 45, -76, 45, 45, 45]), 'ORDER': ([8, 110, 137], [12, -22, -21]), 'UNSIGNEDSHORT': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 39, -11, -14, -12, 39, 39, 39, 39, -74, -73, 39, -15, -13, -16, 39, 39, 39, 39, -78, -77, -70, -81, -79, -69, 39, -72, -71, -82, -80, 39, 39, 39, -75, 39, -76, 39, 39, 39]), 'GREATEREQ': ([52, 96, 120, 122, 123, 126, 135, 162, 184, 199, 206, 207, 209, 211, 212, 213, 214, 216, 227, 228, 232, 236, 237, 238, 241], [-8, -7, -56, -57, -55, 173, -54, 173, 173, -67, -58, 173, 173, 173, 173, -6, 173, 173, 173, -64, 173, -63, -59, -60, -61]), 'LESSEQ': ([52, 96, 120, 122, 123, 126, 135, 162, 184, 199, 206, 207, 209, 211, 212, 213, 214, 216, 227, 228, 232, 236, 237, 238, 241], [-8, -7, -56, -57, -55, 174, -54, 174, 174, -67, -58, 174, 174, 174, 174, -6, 174, 174, 174, -64, 174, -63, -59, -60, -61]), 'COLON': ([6, 58, 90, 102, 131], [10, 76, 118, 118, 182]), 'LANGMATCHES': ([92, 119, 121, 124, 128, 133, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [129, 129, 129, -74, -73, 129, 129, 129, 129, 129, -78, -77, -70, -81, -79, -69, 129, -72, -71, -82, -80, 129, 129, 129, -75, 129, -76, 129, 129, 129]), 'ISLITERAL': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 48, -11, -14, -12, 48, 48, 48, 48, -74, -73, 48, -15, -13, -16, 48, 48, 48, 48, -78, -77, -70, -81, -79, -69, 48, -72, -71, -82, -80, 48, 48, 48, -75, 48, -76, 48, 48, 48]), 'OPTIONAL': ([52, 73, 74, 80, 82, 83, 86, 87, 88, 96, 103, 104, 105, 106, 107, 108, 109, 112, 113, 115, 116, 117, 120, 122, 123, 126, 132, 135, 141, 142, 143, 144, 145, 146, 147, 149, 150, 152, 153, 155, 156, 157, 158, 159, 160, 166, 184, 186, 187, 188, 189, 190, 191, 193, 195, 196, 197, 199, 202, 204, 206, 209, 210, 211, 213, 217, 219, 223, 227, 228, 230, 231, 235, 236, 237, 238, 241], [-8, 84, 84, -41, 84, -30, -4, -31, 84, -7, 84, 84, -36, 84, 84, -35, 84, 84, -32, -30, 84, 84, -56, -57, -55, -50, -43, -54, -130, -122, -128, -129, -38, 84, 84, 84, -4, 84, 84, 84, -29, -30, 84, 84, -6, -53, -65, -37, -45, -30, 84, -40, -44, 84, -34, -29, -4, -67, -51, -42, -58, -50, -49, -66, -6, 84, -40, -52, -68, -64, -4, -39, -33, -63, -59, -60, -61]), '$end': ([2, 8, 11, 13, 19, 20, 25, 27, 28, 34, 55, 62, 110, 137, 138, 139, 140], [0, -4, -4, -10, -4, -18, -17, -1, -20, -19, -14, -9, -22, -21, -15, -13, -16]), 'PLUS': ([52, 92, 96, 119, 120, 121, 122, 123, 124, 126, 128, 133, 135, 161, 162, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 184, 185, 199, 200, 201, 203, 206, 207, 208, 209, 211, 212, 213, 214, 215, 216, 224, 227, 228, 232, 236, 237, 238, 241], [-8, 128, -7, 128, -56, 128, -57, -55, -74, 175, -73, 128, -54, 128, 175, 128, 128, 128, -78, -77, -70, -81, -79, -69, 128, -72, -71, -82, -80, 128, 128, 175, 128, -67, -75, 128, -76, -58, 175, 128, 175, 175, 175, -6, 175, 128, 175, 128, 175, -64, 175, -63, -59, -60, -61]), 'CONTAINS': ([92, 119, 121, 124, 128, 133, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [134, 134, 134, -74, -73, 134, 134, 134, 134, 134, -78, -77, -70, -81, -79, -69, 134, -72, -71, -82, -80, 134, 134, 134, -75, 134, -76, 134, 134, 134]), 'RPAR': ([52, 55, 94, 96, 97, 98, 120, 122, 123, 126, 135, 138, 139, 140, 162, 163, 164, 166, 184, 198, 199, 202, 205, 206, 209, 210, 211, 213, 214, 216, 220, 221, 222, 223, 225, 227, 228, 232, 233, 234, 236, 237, 238, 240, 241], [-8, -14, 138, -7, 139, 140, -56, -57, -55, -50, -54, -15, -13, -16, 199, 202, 204, -53, -65, 220, -67, -51, 223, -58, -50, -49, -66, -6, 199, 228, -48, -47, -46, -52, 202, -68, -64, 236, -62, 238, -63, -59, -60, 241, -61]), 'STRING': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 50, -11, -14, -12, 50, 50, 50, 50, -74, -73, 50, -15, -13, -16, 50, 50, 50, 50, -78, -77, -70, -81, -79, -69, 50, -72, -71, -82, -80, 50, 50, 50, -75, 50, -76, 50, 50, 50]), 'UNION': ([52, 73, 74, 80, 82, 83, 86, 87, 88, 96, 103, 105, 108, 109, 113, 115, 116, 117, 120, 122, 123, 126, 132, 135, 141, 142, 143, 144, 145, 146, 147, 149, 150, 155, 156, 157, 158, 160, 166, 184, 186, 187, 188, 190, 191, 192, 193, 195, 196, 197, 199, 202, 204, 206, 209, 210, 211, 213, 219, 223, 227, 228, 229, 230, 231, 235, 236, 237, 238, 241], [-8, -4, -4, -41, 107, -30, 111, -31, -4, -7, 107, -36, -35, -4, -32, -30, -4, 159, -56, -57, -55, -50, -43, -54, -130, -122, -128, -129, -38, 107, 159, -4, 189, -4, -29, -30, -4, -6, -53, -65, -37, -45, -30, -40, -44, 111, -4, -34, -29, 189, -67, -51, -42, -58, -50, -49, -66, -6, -40, -52, -68, -64, 111, 111, -39, -33, -63, -59, -60, -61]), 'DECIMAL': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 51, -11, -14, -12, 51, 51, 51, 51, -74, -73, 51, -15, -13, -16, 51, 51, 51, 51, -78, -77, -70, -81, -79, -69, 51, -72, -71, -82, -80, 51, 51, 51, -75, 51, -76, 51, 51, 51]), 'RKEY': ([52, 73, 74, 79, 80, 82, 83, 85, 86, 87, 88, 93, 96, 103, 105, 108, 109, 112, 113, 114, 115, 116, 117, 120, 122, 123, 126, 132, 135, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 153, 154, 155, 156, 157, 158, 160, 166, 184, 186, 187, 188, 190, 191, 192, 193, 194, 195, 196, 197, 199, 202, 204, 206, 209, 210, 211, 213, 218, 219, 223, 227, 228, 229, 230, 231, 235, 236, 237, 238, 241], [-8, -4, -4, -25, -41, -4, -30, 110, -4, -31, -4, 137, -7, -4, -36, -35, -4, -4, -32, 155, 156, -4, -4, -56, -57, -55, -50, -43, -54, -130, -122, -128, -129, -38, -4, -4, 187, -4, -4, 191, -4, -27, -4, -29, 196, -4, -6, -53, -65, -37, -45, 187, -40, -44, -4, -4, -26, -34, -29, -4, -67, -51, -42, -58, -50, -49, -66, -6, 230, 231, -52, -68, -64, 187, -4, -39, -33, -63, -59, -60, -61]), 'URI': ([10, 21, 29, 30, 52, 55, 62, 73, 74, 76, 78, 80, 81, 82, 83, 86, 87, 88, 89, 91, 92, 96, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 126, 128, 132, 133, 135, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 149, 150, 152, 153, 155, 156, 157, 158, 159, 160, 161, 165, 166, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 193, 195, 196, 197, 199, 200, 201, 202, 203, 204, 206, 208, 209, 210, 211, 213, 215, 217, 219, 223, 224, 227, 228, 230, 231, 235, 236, 237, 238, 241], [17, -4, 52, -11, -8, -14, -12, 52, 52, 96, 52, -41, 52, 52, -30, -4, -31, 52, -127, -126, 52, -7, 52, -124, -125, -123, 52, 52, -36, 52, 52, -35, 52, 52, -32, -30, 52, 52, 96, 52, -56, 52, -57, -55, -74, -50, -73, -43, 52, -54, -15, -13, -16, -130, -122, -128, -129, -38, 52, 52, 52, -4, 52, 52, 52, -29, -30, 52, 52, -6, 52, 52, -53, 52, 52, -78, -77, -70, -81, -79, -69, 52, -72, -71, -82, -80, 52, 96, 52, -65, 52, -37, -45, -30, 52, -40, -44, 52, -34, -29, -4, -67, -75, 52, -51, -76, -42, -58, 52, -50, -49, -66, -6, 52, 52, -40, -52, 52, -68, -64, -4, -39, -33, -63, -59, -60, -61]), 'DATETIME': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 53, -11, -14, -12, 53, 53, 53, 53, -74, -73, 53, -15, -13, -16, 53, 53, 53, 53, -78, -77, -70, -81, -79, -69, 53, -72, -71, -82, -80, 53, 53, 53, -75, 53, -76, 53, 53, 53]), 'EQUALS': ([52, 96, 120, 122, 123, 126, 135, 162, 184, 199, 206, 207, 209, 211, 212, 213, 214, 216, 227, 228, 232, 236, 237, 238, 241], [-8, -7, -56, -57, -55, 171, -54, 171, 171, -67, -58, 171, 171, 171, 171, -6, 171, 171, 171, -64, 171, -63, -59, -60, -61]), 'REGEX': ([92, 119, 121, 124, 128, 133, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [130, 130, 130, -74, -73, 130, 130, 130, 130, 130, -78, -77, -70, -81, -79, -69, 130, -72, -71, -82, -80, 130, 130, 130, -75, 130, -76, 130, 130, 130]), 'STR': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 54, -11, -14, -12, 54, 54, 54, 54, -74, -73, 54, -15, -13, -16, 54, 54, 54, 54, -78, -77, -70, -81, -79, -69, 54, -72, -71, -82, -80, 54, 54, 54, -75, 54, -76, 54, 54, 54]), 'OFFSET': ([8, 11, 13, 19, 20, 25, 55, 62, 110, 137, 138, 139, 140], [-4, -4, -10, 26, -18, -17, -14, -9, -22, -21, -15, -13, -16]), 'VARIABLE': ([9, 14, 15, 16, 21, 23, 24, 29, 30, 32, 52, 55, 62, 73, 74, 75, 77, 78, 80, 81, 82, 83, 86, 87, 88, 89, 91, 92, 96, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 115, 116, 117, 119, 120, 121, 122, 123, 124, 126, 128, 132, 133, 135, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 149, 150, 152, 153, 155, 156, 157, 158, 159, 160, 161, 165, 166, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 184, 185, 186, 187, 188, 189, 190, 191, 193, 195, 196, 197, 199, 200, 201, 202, 203, 204, 206, 208, 209, 210, 211, 213, 215, 217, 219, 223, 224, 227, 228, 230, 231, 235, 236, 237, 238, 241], [-4, 23, -23, -24, -4, -121, 32, 55, -11, -120, -8, -14, -12, 89, 89, 94, 97, 55, -41, 101, 89, -30, -4, -31, 89, -127, -126, 123, -7, 144, -124, -125, -123, 89, 89, -36, 89, 89, -35, 89, 89, -32, -30, 89, 89, 123, -56, 123, -57, -55, -74, -50, -73, -43, 123, -54, -15, -13, -16, -130, -122, -128, -129, -38, 89, 89, 89, -4, 89, 89, 89, -29, -30, 89, 89, -6, 123, 123, -53, 123, 123, -78, -77, -70, -81, -79, -69, 123, -72, -71, -82, -80, 123, 123, -65, 123, -37, -45, -30, 89, -40, -44, 89, -34, -29, -4, -67, -75, 123, -51, -76, -42, -58, 123, -50, -49, -66, -6, 123, 89, -40, -52, 123, -68, -64, -4, -39, -33, -63, -59, -60, -61]), 'BYTE': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 56, -11, -14, -12, 56, 56, 56, 56, -74, -73, 56, -15, -13, -16, 56, 56, 56, 56, -78, -77, -70, -81, -79, -69, 56, -72, -71, -82, -80, 56, 56, 56, -75, 56, -76, 56, 56, 56]), 'POSITIVEINT': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 57, -11, -14, -12, 57, 57, 57, 57, -74, -73, 57, -15, -13, -16, 57, 57, 57, 57, -78, -77, -70, -81, -79, -69, 57, -72, -71, -82, -80, 57, 57, 57, -75, 57, -76, 57, 57, 57]), 'BY': ([12], [21]), 'ID': ([1, 21, 29, 30, 52, 55, 62, 73, 74, 76, 78, 80, 81, 82, 83, 86, 87, 88, 89, 91, 92, 96, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 126, 128, 132, 133, 135, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 149, 150, 152, 153, 155, 156, 157, 158, 159, 160, 161, 165, 166, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 193, 195, 196, 197, 199, 200, 201, 202, 203, 204, 206, 208, 209, 210, 211, 213, 215, 217, 219, 223, 224, 227, 228, 230, 231, 235, 236, 237, 238, 241], [6, -4, 58, -11, -8, -14, -12, 90, 90, 95, 58, -41, 102, 90, -30, -4, -31, 90, -127, -126, 131, -7, 90, -124, -125, -123, 90, 90, -36, 90, 90, -35, 90, 90, -32, -30, 90, 90, 160, 131, -56, 131, -57, -55, -74, -50, -73, -43, 131, -54, -15, -13, -16, -130, -122, -128, -129, -38, 90, 90, 90, -4, 90, 90, 90, -29, -30, 90, 90, -6, 131, 131, -53, 131, 131, -78, -77, -70, -81, -79, -69, 131, -72, -71, -82, -80, 131, 213, 131, -65, 131, -37, -45, -30, 90, -40, -44, 90, -34, -29, -4, -67, -75, 131, -51, -76, -42, -58, 131, -50, -49, -66, -6, 131, 90, -40, -52, 131, -68, -64, -4, -39, -33, -63, -59, -60, -61]), 'DESC': ([21, 29, 30, 55, 62, 78, 138, 139, 140], [-4, 59, -11, -14, -12, 59, -15, -13, -16]), 'AND': ([52, 96, 120, 122, 123, 126, 135, 162, 163, 166, 184, 199, 202, 206, 209, 210, 211, 213, 221, 223, 227, 228, 236, 237, 238, 241], [-8, -7, -56, -57, -55, -50, -54, -50, 200, -53, -65, -67, -51, -58, -50, -49, -66, -6, 200, -52, -68, -64, -63, -59, -60, -61]), 'OR': ([52, 96, 120, 122, 123, 126, 135, 162, 163, 166, 184, 199, 202, 206, 209, 210, 211, 213, 221, 223, 227, 228, 236, 237, 238, 241], [-8, -7, -56, -57, -55, -50, -54, -50, 203, -53, -65, -67, -51, -58, -50, -49, -66, -6, 203, -52, -68, -64, -63, -59, -60, -61]), 'ALL': ([9, 14, 15, 16], [-4, 22, -23, -24]), 'NEGATIVEINT': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 35, -11, -14, -12, 35, 35, 35, 35, -74, -73, 35, -15, -13, -16, 35, 35, 35, 35, -78, -77, -70, -81, -79, -69, 35, -72, -71, -82, -80, 35, 35, 35, -75, 35, -76, 35, 35, 35]), 'UCASE': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 61, -11, -14, -12, 61, 61, 61, 61, -74, -73, 61, -15, -13, -16, 61, 61, 61, 61, -78, -77, -70, -81, -79, -69, 61, -72, -71, -82, -80, 61, 61, 61, -75, 61, -76, 61, 61, 61]), 'GREATER': ([52, 96, 120, 122, 123, 126, 135, 162, 184, 199, 206, 207, 209, 211, 212, 213, 214, 216, 227, 228, 232, 236, 237, 238, 241], [-8, -7, -56, -57, -55, 180, -54, 180, 180, -67, -58, 180, 180, 180, 180, -6, 180, 180, 180, -64, 180, -63, -59, -60, -61]), 'INT': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 64, -11, -14, -12, 64, 64, 64, 64, -74, -73, 64, -15, -13, -16, 64, 64, 64, 64, -78, -77, -70, -81, -79, -69, 64, -72, -71, -82, -80, 64, 64, 64, -75, 64, -76, 64, 64, 64]), 'INTEGER': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 49, -11, -14, -12, 49, 49, 49, 49, -74, -73, 49, -15, -13, -16, 49, 49, 49, 49, -78, -77, -70, -81, -79, -69, 49, -72, -71, -82, -80, 49, 49, 49, -75, 49, -76, 49, 49, 49]), 'FLOAT': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 66, -11, -14, -12, 66, 66, 66, 66, -74, -73, 66, -15, -13, -16, 66, 66, 66, 66, -78, -77, -70, -81, -79, -69, 66, -72, -71, -82, -80, 66, 66, 66, -75, 66, -76, 66, 66, 66]), 'NONNEGINT': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 60, -11, -14, -12, 60, 60, 60, 60, -74, -73, 60, -15, -13, -16, 60, 60, 60, 60, -78, -77, -70, -81, -79, -69, 60, -72, -71, -82, -80, 60, 60, 60, -75, 60, -76, 60, 60, 60]), 'ISIRI': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 68, -11, -14, -12, 68, 68, 68, 68, -74, -73, 68, -15, -13, -16, 68, 68, 68, 68, -78, -77, -70, -81, -79, -69, 68, -72, -71, -82, -80, 68, 68, 68, -75, 68, -76, 68, 68, 68]), 'WHERE': ([22, 23, 24, 32], [31, -121, 33, -120]), 'DATATYPE': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 41, -11, -14, -12, 41, 41, 41, 41, -74, -73, 41, -15, -13, -16, 41, 41, 41, 41, -78, -77, -70, -81, -79, -69, 41, -72, -71, -82, -80, 41, 41, 41, -75, 41, -76, 41, 41, 41]), 'BOOLEAN': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 69, -11, -14, -12, 69, 69, 69, 69, -74, -73, 69, -15, -13, -16, 69, 69, 69, 69, -78, -77, -70, -81, -79, -69, 69, -72, -71, -82, -80, 69, 69, 69, -75, 69, -76, 69, 69, 69]), 'FILTER': ([52, 73, 74, 80, 82, 83, 86, 87, 88, 96, 103, 104, 105, 106, 107, 108, 109, 112, 113, 115, 116, 117, 120, 122, 123, 126, 132, 135, 141, 142, 143, 144, 145, 146, 147, 149, 150, 152, 153, 155, 156, 157, 158, 159, 160, 166, 184, 186, 187, 188, 189, 190, 191, 193, 195, 196, 197, 199, 202, 204, 206, 209, 210, 211, 213, 217, 219, 223, 227, 228, 230, 231, 235, 236, 237, 238, 241], [-8, 92, 92, -41, 92, -30, -4, -31, 92, -7, 92, 92, -36, 92, 92, -35, 92, 92, -32, -30, 92, 92, -56, -57, -55, -50, -43, -54, -130, -122, -128, -129, -38, 92, 92, 92, -4, 92, 92, 92, -29, -30, 92, 92, -6, -53, -65, -37, -45, -30, 92, -40, -44, 92, -34, -29, -4, -67, -51, -42, -58, -50, -49, -66, -6, 92, -40, -52, -68, -64, -4, -39, -33, -63, -59, -60, -61]), 'DOUBLE': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 65, -11, -14, -12, 65, 65, 65, 65, -74, -73, 65, -15, -13, -16, 65, 65, 65, 65, -78, -77, -70, -81, -79, -69, 65, -72, -71, -82, -80, 65, 65, 65, -75, 65, -76, 65, 65, 65]), 'NONPOSINT': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 71, -11, -14, -12, 71, 71, 71, 71, -74, -73, 71, -15, -13, -16, 71, 71, 71, 71, -78, -77, -70, -81, -79, -69, 71, -72, -71, -82, -80, 71, 71, 71, -75, 71, -76, 71, 71, 71]), 'UNSIGNEDLONG': ([21, 29, 30, 55, 62, 78, 92, 119, 121, 124, 128, 133, 138, 139, 140, 161, 165, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 183, 185, 200, 201, 203, 208, 215, 224], [-4, 72, -11, -14, -12, 72, 72, 72, 72, -74, -73, 72, -15, -13, -16, 72, 72, 72, 72, -78, -77, -70, -81, -79, -69, 72, -72, -71, -82, -80, 72, 72, 72, -75, 72, -76, 72, 72, 72])} _lr_action = {} for (_k, _v) in _lr_action_items.items(): for (_x, _y) in zip(_v[0], _v[1]): if not _x in _lr_action: _lr_action[_x] = {} _lr_action[_x][_k] = _y del _lr_action_items _lr_goto_items = {'LOGOP': ([163, 221], [201, 201]), 'regex_flag': ([234], [237]), 'parse_sparql': ([0], [2]), 'rest_union_block': ([86, 150, 192, 197, 229, 230], [112, 190, 218, 219, 218, 235]), 'prefix': ([0, 3], [3, 3]), 'triple': ([73, 74, 82, 88, 103, 104, 106, 107, 109, 112, 116, 117, 146, 147, 149, 152, 153, 155, 158, 159, 189, 193, 217], [80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80]), 'union_block': ([73, 74, 88, 109, 116, 149, 158, 193], [79, 79, 114, 79, 114, 114, 114, 114]), 'query': ([4], [8]), 'var_list': ([14], [24]), 'subject': ([73, 74, 82, 88, 103, 104, 106, 107, 109, 112, 116, 117, 146, 147, 149, 152, 153, 155, 158, 159, 189, 193, 217], [81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81]), 'binary_func': ([92, 119, 121, 133, 161, 165, 168, 169, 176, 181, 183, 185, 201, 208, 215, 224], [125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125]), 'order_by': ([8], [11]), 'distinct': ([9], [14]), 'express_arg': ([92, 119, 121, 133, 161, 165, 168, 169, 176, 181, 183, 185, 201, 208, 215, 224], [126, 162, 126, 184, 162, 162, 207, 209, 211, 212, 214, 216, 126, 162, 227, 232]), 'group_graph_pattern': ([73, 74, 109], [85, 93, 151]), 'pjoin_block': ([73, 74, 88, 109, 112, 116, 149, 153, 158, 193], [86, 86, 86, 86, 154, 86, 86, 194, 86, 86]), 'var_order_list': ([21], [29]), 'prefix_list': ([0, 3], [4, 7]), 'empty': ([0, 3, 8, 9, 11, 19, 21, 73, 74, 82, 86, 88, 103, 109, 112, 116, 117, 146, 147, 149, 150, 153, 155, 158, 192, 193, 197, 229, 230], [5, 5, 13, 16, 20, 28, 30, 87, 87, 105, 113, 87, 105, 87, 87, 87, 105, 105, 105, 87, 113, 87, 105, 87, 113, 87, 113, 113, 113]), 'ARITOP': ([126, 162, 184, 207, 209, 211, 212, 214, 216, 227, 232], [176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176]), 'predicate': ([81], [99]), 'RELOP': ([126, 162, 184, 207, 209, 211, 212, 214, 216, 227, 232], [169, 169, 215, 215, 169, 215, 215, 215, 215, 215, 215]), 'object': ([99], [142]), 'rest_join_block': ([82, 103, 117, 146, 147, 155], [108, 145, 108, 186, 108, 195]), 'pattern_arg': ([226, 239], [234, 240]), 'offset': ([19], [27]), 'join_block': ([73, 74, 88, 106, 109, 112, 116, 149, 152, 153, 158, 193, 217], [83, 83, 115, 148, 83, 83, 157, 188, 192, 83, 157, 188, 229]), 'express_rel': ([92, 119, 121, 161, 165, 169, 201, 208], [132, 163, 166, 163, 163, 210, 221, 225]), 'desc_var': ([29, 78], [62, 98]), 'UNARYOP': ([92, 119, 121, 133, 161, 165, 168, 169, 176, 181, 183, 185, 201, 208, 215, 224], [133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133]), 'uri': ([29, 73, 74, 78, 81, 82, 88, 92, 99, 103, 104, 106, 107, 109, 112, 116, 117, 119, 121, 133, 146, 147, 149, 152, 153, 155, 158, 159, 161, 165, 168, 169, 176, 181, 183, 185, 189, 193, 201, 208, 215, 217, 224], [63, 91, 91, 63, 100, 91, 91, 135, 143, 91, 91, 91, 91, 91, 91, 91, 91, 135, 135, 135, 91, 91, 91, 91, 91, 91, 91, 91, 135, 135, 135, 135, 135, 135, 135, 135, 91, 91, 135, 135, 135, 91, 135]), 'bgp': ([73, 74, 82, 88, 103, 104, 106, 107, 109, 112, 116, 117, 146, 147, 149, 152, 153, 155, 158, 159, 189, 193, 217], [82, 82, 103, 117, 103, 146, 147, 150, 82, 82, 147, 103, 103, 103, 147, 82, 82, 103, 147, 197, 150, 147, 117]), 'limit': ([11], [19]), 'unary_func': ([29, 78, 92, 119, 121, 133, 161, 165, 168, 169, 176, 181, 183, 185, 201, 208, 215, 224], [70, 70, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136]), 'expression': ([119, 161, 165, 201], [164, 198, 205, 222])} _lr_goto = {} for (_k, _v) in _lr_goto_items.items(): for (_x, _y) in zip(_v[0], _v[1]): if not _x in _lr_goto: _lr_goto[_x] = {} _lr_goto[_x][_k] = _y del _lr_goto_items _lr_productions = [("S' -> parse_sparql", "S'", 1, None, None, None), ('parse_sparql -> prefix_list query order_by limit offset', 'parse_sparql', 5, 'p_parse_sparql', 'sparql_parser.py', 168), ('prefix_list -> prefix prefix_list', 'prefix_list', 2, 'p_prefix_list', 'sparql_parser.py', 176), ('prefix_list -> empty', 'prefix_list', 1, 'p_empty_prefix_list', 'sparql_parser.py', 184), ('empty -> <empty>', 'empty', 0, 'p_empty', 'sparql_parser.py', 192), ('prefix -> PREFIX ID COLON URI', 'prefix', 4, 'p_prefix', 'sparql_parser.py', 199), ('uri -> ID COLON ID', 'uri', 3, 'p_uri_0', 'sparql_parser.py', 206), ('uri -> ID COLON URI', 'uri', 3, 'p_uri_1', 'sparql_parser.py', 219), ('uri -> URI', 'uri', 1, 'p_uri_2', 'sparql_parser.py', 226), ('order_by -> ORDER BY var_order_list desc_var', 'order_by', 4, 'p_order_by_0', 'sparql_parser.py', 233), ('order_by -> empty', 'order_by', 1, 'p_order_by_1', 'sparql_parser.py', 240), ('var_order_list -> empty', 'var_order_list', 1, 'p_var_order_list_0', 'sparql_parser.py', 247), ('var_order_list -> var_order_list desc_var', 'var_order_list', 2, 'p_var_order_list_1', 'sparql_parser.py', 254), ('desc_var -> DESC LPAR VARIABLE RPAR', 'desc_var', 4, 'p_desc_var_0', 'sparql_parser.py', 261), ('desc_var -> VARIABLE', 'desc_var', 1, 'p_desc_var_1', 'sparql_parser.py', 268), ('desc_var -> ASC LPAR VARIABLE RPAR', 'desc_var', 4, 'p_desc_var_2', 'sparql_parser.py', 275), ('desc_var -> unary_func LPAR desc_var RPAR', 'desc_var', 4, 'p_desc_var_3', 'sparql_parser.py', 282), ('limit -> LIMIT NUMBER', 'limit', 2, 'p_limit_0', 'sparql_parser.py', 289), ('limit -> empty', 'limit', 1, 'p_limit_1', 'sparql_parser.py', 296), ('offset -> OFFSET NUMBER', 'offset', 2, 'p_offset_0', 'sparql_parser.py', 303), ('offset -> empty', 'offset', 1, 'p_offset_1', 'sparql_parser.py', 310), ('query -> SELECT distinct var_list WHERE LKEY group_graph_pattern RKEY', 'query', 7, 'p_query_0', 'sparql_parser.py', 317), ('query -> SELECT distinct ALL WHERE LKEY group_graph_pattern RKEY', 'query', 7, 'p_query_1', 'sparql_parser.py', 324), ('distinct -> DISTINCT', 'distinct', 1, 'p_distinct_0', 'sparql_parser.py', 331), ('distinct -> empty', 'distinct', 1, 'p_distinct_1', 'sparql_parser.py', 338), ('group_graph_pattern -> union_block', 'group_graph_pattern', 1, 'p_ggp_0', 'sparql_parser.py', 345), ('union_block -> pjoin_block rest_union_block POINT pjoin_block', 'union_block', 4, 'p_union_block_0', 'sparql_parser.py', 352), ('union_block -> pjoin_block rest_union_block pjoin_block', 'union_block', 3, 'p_union_block_1', 'sparql_parser.py', 361), ('union_block -> pjoin_block rest_union_block', 'union_block', 2, 'p_union_block_2', 'sparql_parser.py', 373), ('pjoin_block -> LKEY join_block RKEY', 'pjoin_block', 3, 'p_ppjoin_block_0', 'sparql_parser.py', 380), ('pjoin_block -> join_block', 'pjoin_block', 1, 'p_ppjoin_block_1', 'sparql_parser.py', 387), ('pjoin_block -> empty', 'pjoin_block', 1, 'p_ppjoin_block_2', 'sparql_parser.py', 394), ('rest_union_block -> empty', 'rest_union_block', 1, 'p_rest_union_block_0', 'sparql_parser.py', 401), ('rest_union_block -> UNION LKEY join_block rest_union_block RKEY rest_union_block', 'rest_union_block', 6, 'p_rest_union_block_1', 'sparql_parser.py', 408), ('join_block -> LKEY union_block RKEY rest_join_block', 'join_block', 4, 'p_join_block_0', 'sparql_parser.py', 415), ('join_block -> bgp rest_join_block', 'join_block', 2, 'p_join_block_1', 'sparql_parser.py', 427), ('rest_join_block -> empty', 'rest_join_block', 1, 'p_rest_join_block_0', 'sparql_parser.py', 434), ('rest_join_block -> POINT bgp rest_join_block', 'rest_join_block', 3, 'p_rest_join_block_1', 'sparql_parser.py', 441), ('rest_join_block -> bgp rest_join_block', 'rest_join_block', 2, 'p_rest_join_block_2', 'sparql_parser.py', 448), ('bgp -> LKEY bgp UNION bgp rest_union_block RKEY', 'bgp', 6, 'p_bgp_0', 'sparql_parser.py', 455), ('bgp -> bgp UNION bgp rest_union_block', 'bgp', 4, 'p_bgp_01', 'sparql_parser.py', 463), ('bgp -> triple', 'bgp', 1, 'p_bgp_1', 'sparql_parser.py', 471), ('bgp -> FILTER LPAR expression RPAR', 'bgp', 4, 'p_bgp_2', 'sparql_parser.py', 478), ('bgp -> FILTER express_rel', 'bgp', 2, 'p_bgp_3', 'sparql_parser.py', 485), ('bgp -> OPTIONAL LKEY group_graph_pattern RKEY', 'bgp', 4, 'p_bgp_4', 'sparql_parser.py', 492), ('bgp -> LKEY join_block RKEY', 'bgp', 3, 'p_bgp_6', 'sparql_parser.py', 506), ('expression -> express_rel LOGOP expression', 'expression', 3, 'p_expression_0', 'sparql_parser.py', 516), ('expression -> express_rel', 'expression', 1, 'p_expression_1', 'sparql_parser.py', 523), ('expression -> LPAR expression RPAR', 'expression', 3, 'p_expression_2', 'sparql_parser.py', 530), ('express_rel -> express_arg RELOP express_rel', 'express_rel', 3, 'p_express_rel_0', 'sparql_parser.py', 537), ('express_rel -> express_arg', 'express_rel', 1, 'p_express_rel_1', 'sparql_parser.py', 544), ('express_rel -> LPAR express_rel RPAR', 'express_rel', 3, 'p_express_rel_2', 'sparql_parser.py', 551), ('express_rel -> NEG LPAR expression RPAR', 'express_rel', 4, 'p_express_rel_3', 'sparql_parser.py', 558), ('express_rel -> NEG express_rel', 'express_rel', 2, 'p_express_rel_4', 'sparql_parser.py', 565), ('express_arg -> uri', 'express_arg', 1, 'p_express_arg_0', 'sparql_parser.py', 572), ('express_arg -> VARIABLE', 'express_arg', 1, 'p_express_arg_1', 'sparql_parser.py', 579), ('express_arg -> CONSTANT', 'express_arg', 1, 'p_express_arg_2', 'sparql_parser.py', 586), ('express_arg -> NUMBER', 'express_arg', 1, 'p_express_arg_3', 'sparql_parser.py', 593), ('express_arg -> NUMBER POINT NUMBER', 'express_arg', 3, 'p_express_arg_03', 'sparql_parser.py', 600), ('express_arg -> REGEX LPAR express_arg COMA pattern_arg regex_flag', 'express_arg', 6, 'p_express_arg_4', 'sparql_parser.py', 608), ('regex_flag -> RPAR', 'regex_flag', 1, 'p_regex_flags_0', 'sparql_parser.py', 615), ('regex_flag -> COMA pattern_arg RPAR', 'regex_flag', 3, 'p_regex_flags_1', 'sparql_parser.py', 622), ('pattern_arg -> CONSTANT', 'pattern_arg', 1, 'p_pattern_arg_0', 'sparql_parser.py', 629), ('express_arg -> binary_func LPAR express_arg COMA express_arg RPAR', 'express_arg', 6, 'p_express_arg_5', 'sparql_parser.py', 636), ('express_arg -> unary_func LPAR express_arg RPAR', 'express_arg', 4, 'p_express_arg_6', 'sparql_parser.py', 643), ('express_arg -> UNARYOP express_arg', 'express_arg', 2, 'p_express_arg_7', 'sparql_parser.py', 650), ('express_arg -> express_arg ARITOP express_arg', 'express_arg', 3, 'p_express_arg_8', 'sparql_parser.py', 657), ('express_arg -> LPAR express_arg RPAR', 'express_arg', 3, 'p_express_arg_9', 'sparql_parser.py', 664), ('express_arg -> express_arg RELOP express_arg', 'express_arg', 3, 'p_express_arg_10', 'sparql_parser.py', 671), ('ARITOP -> PLUS', 'ARITOP', 1, 'p_arit_op_0', 'sparql_parser.py', 678), ('ARITOP -> MINUS', 'ARITOP', 1, 'p_arit_op_1', 'sparql_parser.py', 685), ('ARITOP -> TIMES', 'ARITOP', 1, 'p_arit_op_2', 'sparql_parser.py', 692), ('ARITOP -> DIV', 'ARITOP', 1, 'p_arit_op_3', 'sparql_parser.py', 699), ('UNARYOP -> PLUS', 'UNARYOP', 1, 'p_unaryarit_op_1', 'sparql_parser.py', 706), ('UNARYOP -> MINUS', 'UNARYOP', 1, 'p_unaryarit_op_2', 'sparql_parser.py', 713), ('LOGOP -> AND', 'LOGOP', 1, 'p_logical_op_0', 'sparql_parser.py', 720), ('LOGOP -> OR', 'LOGOP', 1, 'p_logical_op_1', 'sparql_parser.py', 727), ('RELOP -> EQUALS', 'RELOP', 1, 'p_relational_op_0', 'sparql_parser.py', 734), ('RELOP -> LESS', 'RELOP', 1, 'p_relational_op_1', 'sparql_parser.py', 741), ('RELOP -> LESSEQ', 'RELOP', 1, 'p_relational_op_2', 'sparql_parser.py', 748), ('RELOP -> GREATER', 'RELOP', 1, 'p_relational_op_3', 'sparql_parser.py', 755), ('RELOP -> GREATEREQ', 'RELOP', 1, 'p_relational_op_4', 'sparql_parser.py', 762), ('RELOP -> NEQUALS', 'RELOP', 1, 'p_relational_op_5', 'sparql_parser.py', 769), ('binary_func -> REGEX', 'binary_func', 1, 'p_binary_0', 'sparql_parser.py', 776), ('binary_func -> SAMETERM', 'binary_func', 1, 'p_binary_1', 'sparql_parser.py', 783), ('binary_func -> LANGMATCHES', 'binary_func', 1, 'p_binary_2', 'sparql_parser.py', 790), ('binary_func -> CONSTANT', 'binary_func', 1, 'p_binary_3', 'sparql_parser.py', 797), ('binary_func -> CONTAINS', 'binary_func', 1, 'p_binary_4', 'sparql_parser.py', 804), ('unary_func -> BOUND', 'unary_func', 1, 'p_unary_0', 'sparql_parser.py', 811), ('unary_func -> ISIRI', 'unary_func', 1, 'p_unary_1', 'sparql_parser.py', 818), ('unary_func -> ISURI', 'unary_func', 1, 'p_unary_2', 'sparql_parser.py', 825), ('unary_func -> ISBLANK', 'unary_func', 1, 'p_unary_3', 'sparql_parser.py', 832), ('unary_func -> ISLITERAL', 'unary_func', 1, 'p_unary_4', 'sparql_parser.py', 839), ('unary_func -> LANG', 'unary_func', 1, 'p_unary_5', 'sparql_parser.py', 846), ('unary_func -> DATATYPE', 'unary_func', 1, 'p_unary_6', 'sparql_parser.py', 853), ('unary_func -> STR', 'unary_func', 1, 'p_unary_7', 'sparql_parser.py', 860), ('unary_func -> UPPERCASE', 'unary_func', 1, 'p_unary_8', 'sparql_parser.py', 867), ('unary_func -> DOUBLE', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 874), ('unary_func -> INTEGER', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 875), ('unary_func -> DECIMAL', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 876), ('unary_func -> FLOAT', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 877), ('unary_func -> STRING', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 878), ('unary_func -> BOOLEAN', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 879), ('unary_func -> DATETIME', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 880), ('unary_func -> NONPOSINT', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 881), ('unary_func -> NEGATIVEINT', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 882), ('unary_func -> LONG', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 883), ('unary_func -> INT', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 884), ('unary_func -> SHORT', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 885), ('unary_func -> BYTE', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 886), ('unary_func -> NONNEGINT', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 887), ('unary_func -> UNSIGNEDLONG', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 888), ('unary_func -> UNSIGNEDINT', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 889), ('unary_func -> UNSIGNEDSHORT', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 890), ('unary_func -> UNSIGNEDBYTE', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 891), ('unary_func -> POSITIVEINT', 'unary_func', 1, 'p_unary_9', 'sparql_parser.py', 892), ('unary_func -> ID COLON ID', 'unary_func', 3, 'p_unary_10', 'sparql_parser.py', 899), ('unary_func -> uri', 'unary_func', 1, 'p_unary_11', 'sparql_parser.py', 906), ('unary_func -> UCASE', 'unary_func', 1, 'p_unary_12', 'sparql_parser.py', 913), ('unary_func -> LCASE', 'unary_func', 1, 'p_unary_13', 'sparql_parser.py', 920), ('var_list -> var_list VARIABLE', 'var_list', 2, 'p_var_list', 'sparql_parser.py', 927), ('var_list -> VARIABLE', 'var_list', 1, 'p_single_var_list', 'sparql_parser.py', 934), ('triple -> subject predicate object', 'triple', 3, 'p_triple_0', 'sparql_parser.py', 941), ('predicate -> ID', 'predicate', 1, 'p_predicate_rdftype', 'sparql_parser.py', 948), ('predicate -> uri', 'predicate', 1, 'p_predicate_uri', 'sparql_parser.py', 962), ('predicate -> VARIABLE', 'predicate', 1, 'p_predicate_var', 'sparql_parser.py', 969), ('subject -> uri', 'subject', 1, 'p_subject_uri', 'sparql_parser.py', 976), ('subject -> VARIABLE', 'subject', 1, 'p_subject_variable', 'sparql_parser.py', 983), ('object -> uri', 'object', 1, 'p_object_uri', 'sparql_parser.py', 991), ('object -> VARIABLE', 'object', 1, 'p_object_variable', 'sparql_parser.py', 998), ('object -> CONSTANT', 'object', 1, 'p_object_constant', 'sparql_parser.py', 1005)]
# region order afr = 'Africa and Middle East' lam = 'Central and South America' chn = 'East Asia' oecd = 'North America, Europe, Russia, Central Asia, and Pacific OECD' asia = 'South and South East Asia, Other Pacific' # new region values from Zig r10sas = 'Southern Asia' r10eur = 'Europe' r10afr = 'Africa' r10sea = 'South-East Asia and Developing Pacific' r10lam = 'Latin America and Caribbean' r10era = 'Eurasia' r10apd = 'Asia-Pacific Developed' r10mea = 'Middle East' r10nam = 'North America' r10eas = 'Eastern Asia'
afr = 'Africa and Middle East' lam = 'Central and South America' chn = 'East Asia' oecd = 'North America, Europe, Russia, Central Asia, and Pacific OECD' asia = 'South and South East Asia, Other Pacific' r10sas = 'Southern Asia' r10eur = 'Europe' r10afr = 'Africa' r10sea = 'South-East Asia and Developing Pacific' r10lam = 'Latin America and Caribbean' r10era = 'Eurasia' r10apd = 'Asia-Pacific Developed' r10mea = 'Middle East' r10nam = 'North America' r10eas = 'Eastern Asia'
def is_leap_year(year): leap = False if(year % 4 == 0): leap = True if(year % 100 == 0): leap = False if(year % 400 == 0): leap = True return leap
def is_leap_year(year): leap = False if year % 4 == 0: leap = True if year % 100 == 0: leap = False if year % 400 == 0: leap = True return leap
# # PySNMP MIB module HUAWEI-ATM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-ATM-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:42:57 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) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ConstraintsIntersection, ConstraintsUnion, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "ConstraintsUnion", "ValueSizeConstraint", "SingleValueConstraint") AtmVpIdentifier, AtmVcIdentifier = mibBuilder.importSymbols("ATM-TC-MIB", "AtmVpIdentifier", "AtmVcIdentifier") hwDatacomm, = mibBuilder.importSymbols("HUAWEI-MIB", "hwDatacomm") InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") ObjectIdentity, iso, Unsigned32, Counter64, Bits, TimeTicks, Counter32, NotificationType, ModuleIdentity, IpAddress, Integer32, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "iso", "Unsigned32", "Counter64", "Bits", "TimeTicks", "Counter32", "NotificationType", "ModuleIdentity", "IpAddress", "Integer32", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier") TextualConvention, DisplayString, RowStatus, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "RowStatus", "TruthValue") hwAtmMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156)) if mibBuilder.loadTexts: hwAtmMIB.setLastUpdated('200710172230Z') if mibBuilder.loadTexts: hwAtmMIB.setOrganization('Huawei Technologies co.,Ltd.') if mibBuilder.loadTexts: hwAtmMIB.setContactInfo('VRP Team Huawei Technologies co.,Ltd. Huawei Bld.,NO.3 Xinxi Rd., Shang-Di Information Industry Base, Hai-Dian District Beijing P.R. China http://www.huawei.com Zip:100085 ') if mibBuilder.loadTexts: hwAtmMIB.setDescription('This MIB is mainly used to configure the ATM OC-3/STM-1 and ATM OC-12/STM-4 interface, IPoA, IPoEoA, PVC service type, OAM F5 loopback, parameters of the VP limit, and mapping between the peer VPI and the local VPI.') hwAtmObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1)) hwAtmTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1), ) if mibBuilder.loadTexts: hwAtmTable.setStatus('current') if mibBuilder.loadTexts: hwAtmTable.setDescription('This table is used to configure the parameters of the ATM interface.') hwAtmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1, 1), ).setIndexNames((0, "HUAWEI-ATM-MIB", "hwAtmIfIndex")) if mibBuilder.loadTexts: hwAtmEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmEntry.setDescription('This table is used to configure the parameters of the ATM interface.') hwAtmIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: hwAtmIfIndex.setStatus('current') if mibBuilder.loadTexts: hwAtmIfIndex.setDescription('Indicates the interface index.') hwAtmIfType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("oc3OrStm1", 1), ("oc12OrStm4", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwAtmIfType.setStatus('current') if mibBuilder.loadTexts: hwAtmIfType.setDescription('Indicates the interface type.') hwAtmClock = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("master", 1), ("slave", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwAtmClock.setStatus('current') if mibBuilder.loadTexts: hwAtmClock.setDescription('Master clock: uses the internal clock signal. Slave clock: uses the line clock signal.') hwAtmFrameFormat = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("sdh", 1), ("sonet", 2))).clone('sdh')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwAtmFrameFormat.setStatus('current') if mibBuilder.loadTexts: hwAtmFrameFormat.setDescription('For the optical interface STM-1/STM-4, the frame format on the ATM interface is SDH; for the OC-3/OC-12 interface, the frame format is SONET. The default frame format is SDH.') hwAtmScramble = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1, 1, 14), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwAtmScramble.setStatus('current') if mibBuilder.loadTexts: hwAtmScramble.setDescription('By default, the scramble function is enabled. The scramble function takes effect only on payload rather than cell header. true: enables the scramble function. false: disables the scramble function.') hwAtmLoopback = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 255))).clone(namedValues=NamedValues(("local", 1), ("remote", 2), ("payload", 3), ("none", 255))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwAtmLoopback.setStatus('current') if mibBuilder.loadTexts: hwAtmLoopback.setDescription('Enable the loopback function of the channel. local: enables the local loopback on the interface. remote: enables the remote loopback on the interface. payload: enables the remote payload loopback on the interface. By default, all loopback functions are disabled.') hwAtmMapPvpTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 2), ) if mibBuilder.loadTexts: hwAtmMapPvpTable.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvpTable.setDescription('This table is used to configure the mapping between the peer VPI and the local VPI.') hwAtmMapPvpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 2, 1), ).setIndexNames((0, "HUAWEI-ATM-MIB", "hwAtmMapPvpIfIndex"), (0, "HUAWEI-ATM-MIB", "hwAtmMapPvpVplVpi")) if mibBuilder.loadTexts: hwAtmMapPvpEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvpEntry.setDescription('This table is used to configure the mapping between the peer VPI and the local VPI.') hwAtmMapPvpIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 2, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: hwAtmMapPvpIfIndex.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvpIfIndex.setDescription('Indicates the interface index.') hwAtmMapPvpVplVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 2, 1, 2), AtmVpIdentifier()) if mibBuilder.loadTexts: hwAtmMapPvpVplVpi.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvpVplVpi.setDescription('Indicates the local VPI value. The value is an integer ranging from 0 to 255.') hwAtmMapPvpRemoteVplVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 2, 1, 11), AtmVpIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmMapPvpRemoteVplVpi.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvpRemoteVplVpi.setDescription('Indicates the peer VPI value. The value is an integer ranging from 0 to 255.') hwAtmMapPvpRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 2, 1, 51), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmMapPvpRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvpRowStatus.setDescription('This variable is used to create or delete an object.') hwAtmMapPvcTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 3), ) if mibBuilder.loadTexts: hwAtmMapPvcTable.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvcTable.setDescription('This table is used to configure the mapping between the peer VPI/VCI and the local VPI/VCI.') hwAtmMapPvcEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 3, 1), ).setIndexNames((0, "HUAWEI-ATM-MIB", "hwAtmVclIfIndex"), (0, "HUAWEI-ATM-MIB", "hwAtmVclVpi"), (0, "HUAWEI-ATM-MIB", "hwAtmVclVci")) if mibBuilder.loadTexts: hwAtmMapPvcEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvcEntry.setDescription('This table is used to configure the mapping between the peer VPI/VCI and the local VPI/VCI.') hwAtmMapPvcRemoteVclVci = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 3, 1, 11), AtmVcIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmMapPvcRemoteVclVci.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvcRemoteVclVci.setDescription('Indicates the peer VCI value. VCI is short for Virtual Channel Identifier. The VCI value ranges from 0 to 2047. Generally, the values from 0 to 31 are reserved for specail use.') hwAtmMapPvcRemoteVclVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 3, 1, 12), AtmVpIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmMapPvcRemoteVclVpi.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvcRemoteVclVpi.setDescription('Indicates the peer VPI value. The value is an integer ranging from 0 to 255.') hwAtmMapPvcRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 3, 1, 51), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmMapPvcRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvcRowStatus.setDescription('This variable is used to create or delete an object.') hwAtmServiceTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4), ) if mibBuilder.loadTexts: hwAtmServiceTable.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceTable.setDescription('This table is used to configure the service type and related parameters for the PVC.') hwAtmServiceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1), ).setIndexNames((0, "HUAWEI-ATM-MIB", "hwAtmServiceName")) if mibBuilder.loadTexts: hwAtmServiceEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceEntry.setDescription('This table is used to configure the service type for the PVC.') hwAtmServiceName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))) if mibBuilder.loadTexts: hwAtmServiceName.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceName.setDescription('Indicates the name of the service type. The name is a string of 1 to 31 characters.') hwAtmServiceType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("cbr", 1), ("vbrNrt", 2), ("vbrRt", 3), ("ubr", 4), ("ubrPlus", 5))).clone('ubr')).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmServiceType.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceType.setDescription('Set the service type for the PVC as required.') hwAtmServiceOutputPcr = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(64, 149760), )).clone(149760)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmServiceOutputPcr.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceOutputPcr.setDescription('Indicates the peak output rate of the ATM cell. When hwPvcServiceTableType is ubr, the peak output rate is 0.') hwAtmServiceOutputScr = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(64, 149760), )).clone(149760)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmServiceOutputScr.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceOutputScr.setDescription('Indicates the peak output rate of the ATM cell. When hwPvcServiceTableType is cbr or ubr, the peak output rate is 0.') hwAtmServiceOutputMbs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 512), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmServiceOutputMbs.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceOutputMbs.setDescription('Indicates the peak output rate of the ATM cell. When hwPvcServiceTableType is cbr or ubr, the peak output rate is 0.') hwAtmServiceCbrCdvtValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000)).clone(500)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmServiceCbrCdvtValue.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceCbrCdvtValue.setDescription('Indicates the limit of the ATM cell delay variation. When hwPvcServiceTableType is cbr, the variable is valid. For other service types, the variable is 0.') hwAtmServiceOutputMcr = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(64, 149760), )).clone(149760)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmServiceOutputMcr.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceOutputMcr.setDescription('Indicates the mini width guarantee bit rate of the ATM cell. When hwPvcServiceTableType is ubr, the peak output rate is 0.') hwAtmServiceRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 51), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmServiceRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceRowStatus.setDescription('This variable is used to create or delete an object.') hwAtmPvcServiceTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 5), ) if mibBuilder.loadTexts: hwAtmPvcServiceTable.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcServiceTable.setDescription('This table is used to configure the service type for the PVC.') hwAtmPvcServiceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 5, 1), ).setIndexNames((0, "HUAWEI-ATM-MIB", "hwAtmVclIfIndex"), (0, "HUAWEI-ATM-MIB", "hwAtmVclVpi"), (0, "HUAWEI-ATM-MIB", "hwAtmVclVci")) if mibBuilder.loadTexts: hwAtmPvcServiceEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcServiceEntry.setDescription('This table is used to configure the service type for the PVC.') hwAtmPvcServiceName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 5, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvcServiceName.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcServiceName.setDescription('Indicates the name of the service type. The name is a string of 1 to 31 characters.') hwAtmPvcTransmittalDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 5, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("input", 1), ("output", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvcTransmittalDirection.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcTransmittalDirection.setDescription('Indicates the input or output tpye of the service type.') hwAtmPvcServiceRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 5, 1, 51), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvcServiceRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcServiceRowStatus.setDescription('This variable is used to create or delete an object.') hwAtmIfConfTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 11), ) if mibBuilder.loadTexts: hwAtmIfConfTable.setStatus('current') if mibBuilder.loadTexts: hwAtmIfConfTable.setDescription('Indicates the configuration of the ATM interface.') hwAtmIfConfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 11, 1), ).setIndexNames((0, "HUAWEI-ATM-MIB", "hwAtmIfConfIfIndex")) if mibBuilder.loadTexts: hwAtmIfConfEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmIfConfEntry.setDescription('Indicates the configuration of the ATM interface.') hwAtmIfConfIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 11, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: hwAtmIfConfIfIndex.setStatus('current') if mibBuilder.loadTexts: hwAtmIfConfIfIndex.setDescription('Indicates the interface index.') hwAtmIfConfMaxVccs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 11, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2048))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwAtmIfConfMaxVccs.setStatus('current') if mibBuilder.loadTexts: hwAtmIfConfMaxVccs.setDescription('Indicates the maximum number of the PVCs.') hwAtmIfConfOperVccs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 11, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwAtmIfConfOperVccs.setStatus('current') if mibBuilder.loadTexts: hwAtmIfConfOperVccs.setDescription('Indicates the number of the configured PVCs.') hwAtmIfConfIntfType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 11, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("uni", 1), ("nni", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwAtmIfConfIntfType.setStatus('current') if mibBuilder.loadTexts: hwAtmIfConfIntfType.setDescription('This object indicates the type of the serial interface with the ATM protocol.') hwAtmVplTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 12), ) if mibBuilder.loadTexts: hwAtmVplTable.setStatus('current') if mibBuilder.loadTexts: hwAtmVplTable.setDescription('Indicates the configuration of the ATM PVP.') hwAtmVplEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 12, 1), ).setIndexNames((0, "HUAWEI-ATM-MIB", "hwAtmVplIfIndex"), (0, "HUAWEI-ATM-MIB", "hwAtmVplVpi")) if mibBuilder.loadTexts: hwAtmVplEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmVplEntry.setDescription('Indicates the configuration of the ATM PVP.') hwAtmVplIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 12, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: hwAtmVplIfIndex.setStatus('current') if mibBuilder.loadTexts: hwAtmVplIfIndex.setDescription('Indicates the interface index.') hwAtmVplVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 12, 1, 2), AtmVpIdentifier()) if mibBuilder.loadTexts: hwAtmVplVpi.setStatus('current') if mibBuilder.loadTexts: hwAtmVplVpi.setDescription('VPI.') hwAtmVplRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 12, 1, 51), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmVplRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmVplRowStatus.setDescription('Indicates the status of the row.') hwAtmVclTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13), ) if mibBuilder.loadTexts: hwAtmVclTable.setStatus('current') if mibBuilder.loadTexts: hwAtmVclTable.setDescription('Indicates the configuration of the ATM PVC.') hwAtmVclEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13, 1), ).setIndexNames((0, "HUAWEI-ATM-MIB", "hwAtmVclIfIndex"), (0, "HUAWEI-ATM-MIB", "hwAtmVclVpi"), (0, "HUAWEI-ATM-MIB", "hwAtmVclVci")) if mibBuilder.loadTexts: hwAtmVclEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmVclEntry.setDescription('Indicates the configuration of the ATM PVC.') hwAtmVclIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: hwAtmVclIfIndex.setStatus('current') if mibBuilder.loadTexts: hwAtmVclIfIndex.setDescription('Indicates the interface index.') hwAtmVclVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13, 1, 2), AtmVpIdentifier()) if mibBuilder.loadTexts: hwAtmVclVpi.setStatus('current') if mibBuilder.loadTexts: hwAtmVclVpi.setDescription('VPI.') hwAtmVclVci = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13, 1, 3), AtmVcIdentifier()) if mibBuilder.loadTexts: hwAtmVclVci.setStatus('current') if mibBuilder.loadTexts: hwAtmVclVci.setDescription('VCI.') hwAtmVclName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmVclName.setStatus('current') if mibBuilder.loadTexts: hwAtmVclName.setDescription('Indicates the name of the PVC.') hwAtmVccAal5EncapsType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("aal5Snap", 1), ("aal5Mux", 2), ("aal5MuxNonstandard", 3), ("aal5Nlpid", 4))).clone()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmVccAal5EncapsType.setStatus('current') if mibBuilder.loadTexts: hwAtmVccAal5EncapsType.setDescription('Indicates the encapsulation mode of AAL5.') hwAtmVclRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13, 1, 51), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmVclRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmVclRowStatus.setDescription('Indicates the status of the row.') hwAtmPvcIpoaTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14), ) if mibBuilder.loadTexts: hwAtmPvcIpoaTable.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaTable.setDescription('This table is used to configure the IPoA mapping on the PVC.') hwAtmPvcIpoaEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14, 1), ).setIndexNames((0, "HUAWEI-ATM-MIB", "hwAtmVclIfIndex"), (0, "HUAWEI-ATM-MIB", "hwAtmVclVpi"), (0, "HUAWEI-ATM-MIB", "hwAtmVclVci"), (0, "HUAWEI-ATM-MIB", "hwAtmPvcIpoaType"), (0, "HUAWEI-ATM-MIB", "hwAtmPvcIpoaIpAddress")) if mibBuilder.loadTexts: hwAtmPvcIpoaEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaEntry.setDescription('This table is used to configure the IPoA mapping on the PVC.') hwAtmPvcIpoaType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("ip", 1), ("default", 2), ("inarp", 3)))) if mibBuilder.loadTexts: hwAtmPvcIpoaType.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaType.setDescription('Indicates the type of the PVC IPoA mapping. ip: sets the peer IP address and mask that are mapped to the PVC. default: configures a mapping with default route attributes. If no mapping of the next hop address of a packet can be found, the packet is sent over the PVC if the PVC is configured with default mapping. inarp: configures InARP on the PVC.') hwAtmPvcIpoaIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14, 1, 4), IpAddress()) if mibBuilder.loadTexts: hwAtmPvcIpoaIpAddress.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaIpAddress.setDescription('Indicates the peer IP address mapped to the PVC.') hwAtmPvcIpoaIpMask = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14, 1, 11), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvcIpoaIpMask.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaIpMask.setDescription('Indicates the IP address mask. The IP address mask is an optional parameter.') hwAtmPvcIpoaInarpInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 600), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvcIpoaInarpInterval.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaInarpInterval.setDescription('Indicates the interval for sending InARP packets. The parameter is optional. The value ranges from 1 to 600 in seconds. If the type of the PVC IPoA mapping is IP or default, the value is 0. The default value is 1.') hwAtmPvcIpoaBroadcast = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14, 1, 13), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvcIpoaBroadcast.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaBroadcast.setDescription('If a mapping with this attribute is configured on the PVC, broadcast packets on the interface where the PVC resides will be sent over the PVC.') hwAtmPvcIpoaRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14, 1, 51), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvcIpoaRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaRowStatus.setDescription('RowStatus.') hwAtmPvcBridgeTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 15), ) if mibBuilder.loadTexts: hwAtmPvcBridgeTable.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcBridgeTable.setDescription('This table is used to configure the IPoEoA mapping and PPPoEoA mapping on the PVC.') hwAtmPvcBridgeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 15, 1), ).setIndexNames((0, "HUAWEI-ATM-MIB", "hwAtmVclIfIndex"), (0, "HUAWEI-ATM-MIB", "hwAtmVclVpi"), (0, "HUAWEI-ATM-MIB", "hwAtmVclVci")) if mibBuilder.loadTexts: hwAtmPvcBridgeEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcBridgeEntry.setDescription('This table is used to configure the IPoEoA mapping and PPPoEoA mapping on the PVC.') hwAtmPvcBridgeDstIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 15, 1, 11), InterfaceIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvcBridgeDstIfIndex.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcBridgeDstIfIndex.setDescription('Indicates the index of the VE interface.') hwAtmPvcBridgeRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 15, 1, 51), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvcBridgeRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcBridgeRowStatus.setDescription('RowStatus.') hwAtmPvcOamLoopbackTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 17), ) if mibBuilder.loadTexts: hwAtmPvcOamLoopbackTable.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOamLoopbackTable.setDescription('This table is used to configure OAM F5 Loopback, enable the sending of OAM F5 Loopback cells, and configure the parameters of the retransmission check or modify the parameters of the retransmission check.') hwAtmPvcOAMLoopbackEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 17, 1), ).setIndexNames((0, "HUAWEI-ATM-MIB", "hwAtmVclIfIndex"), (0, "HUAWEI-ATM-MIB", "hwAtmVclVpi"), (0, "HUAWEI-ATM-MIB", "hwAtmVclVci")) if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackEntry.setDescription('This table is used to configure OAM F5 Loopback.') hwAtmPvcOAMLoopbackFrequency = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 17, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 600))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackFrequency.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackFrequency.setDescription('Indicates the interval for sending OAM F5 Loopback cells.') hwAtmPvcOAMLoopbackUpCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 17, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 600)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackUpCount.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackUpCount.setDescription('Indicates the number of continuous OAM F5 Loopback cells that must be received before the PVC turns Up.') hwAtmPvcOAMLoopbackDownCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 17, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 600)).clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackDownCount.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackDownCount.setDescription('Indicates the number of continuous OAM F5 Loopback cells that are not received before the PVC turns Down.') hwAtmPvcOAMLoopbackRetryFrequency = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 17, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackRetryFrequency.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackRetryFrequency.setDescription('Indicates the interval for sending cells during OAM F5 Loopback retransmission verification before the PVC status changes.') hwAtmPvcOAMLoopbackRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 17, 1, 51), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackRowStatus.setDescription('RowStatus') hwAtmPvpLimitTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 18), ) if mibBuilder.loadTexts: hwAtmPvpLimitTable.setStatus('current') if mibBuilder.loadTexts: hwAtmPvpLimitTable.setDescription('This table is used to configure the VP limit. To monitor the VP, configure related VP parameters.') hwAtmPvpLimitEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 18, 1), ).setIndexNames((0, "HUAWEI-ATM-MIB", "hwAtmPvpLimitIfIndex"), (0, "HUAWEI-ATM-MIB", "hwAtmPvpLimitVpi")) if mibBuilder.loadTexts: hwAtmPvpLimitEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmPvpLimitEntry.setDescription('This table is used to configure the VP limit.') hwAtmPvpLimitIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 18, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: hwAtmPvpLimitIfIndex.setStatus('current') if mibBuilder.loadTexts: hwAtmPvpLimitIfIndex.setDescription('Indicates the interface index.') hwAtmPvpLimitVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 18, 1, 2), AtmVpIdentifier()) if mibBuilder.loadTexts: hwAtmPvpLimitVpi.setStatus('current') if mibBuilder.loadTexts: hwAtmPvpLimitVpi.setDescription('VPI.') hwAtmPvpLimitPeakRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 18, 1, 11), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvpLimitPeakRate.setStatus('current') if mibBuilder.loadTexts: hwAtmPvpLimitPeakRate.setDescription('VCI.') hwAtmPvpLimitRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 18, 1, 51), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwAtmPvpLimitRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmPvpLimitRowStatus.setDescription('RowStatus. ') hwAtmConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11)) hwAtmCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 1)) hwAtmCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 1, 1)).setObjects(("HUAWEI-ATM-MIB", "hwAtmObjectGroup"), ("HUAWEI-ATM-MIB", "hwAtmMapPvpObjectGroup"), ("HUAWEI-ATM-MIB", "hwAtmMapPvcObjectGroup"), ("HUAWEI-ATM-MIB", "hwAtmPvcIpoaObjectGroup"), ("HUAWEI-ATM-MIB", "hwAtmPvcBridgeObjectGroup"), ("HUAWEI-ATM-MIB", "hwAtmPvcServiceObjectGroup"), ("HUAWEI-ATM-MIB", "hwAtmPvcOAMLoopbackObjectGroup"), ("HUAWEI-ATM-MIB", "hwAtmPvpLimitObjectGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwAtmCompliance = hwAtmCompliance.setStatus('current') if mibBuilder.loadTexts: hwAtmCompliance.setDescription('The compliance statement for systems supporting the HUAWEI-ATM-MIB.') hwAtmGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2)) hwAtmObjectGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 1)).setObjects(("HUAWEI-ATM-MIB", "hwAtmIfType"), ("HUAWEI-ATM-MIB", "hwAtmClock"), ("HUAWEI-ATM-MIB", "hwAtmFrameFormat"), ("HUAWEI-ATM-MIB", "hwAtmScramble"), ("HUAWEI-ATM-MIB", "hwAtmLoopback")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwAtmObjectGroup = hwAtmObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmObjectGroup.setDescription('The Atm attribute group.') hwAtmIfConf = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 2)).setObjects(("HUAWEI-ATM-MIB", "hwAtmIfConfMaxVccs"), ("HUAWEI-ATM-MIB", "hwAtmIfConfOperVccs"), ("HUAWEI-ATM-MIB", "hwAtmIfConfIntfType")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwAtmIfConf = hwAtmIfConf.setStatus('current') if mibBuilder.loadTexts: hwAtmIfConf.setDescription('Description.') hwAtmVplObjectGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 3)).setObjects(("HUAWEI-ATM-MIB", "hwAtmPvcBridgeDstIfIndex"), ("HUAWEI-ATM-MIB", "hwAtmPvcBridgeRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwAtmVplObjectGroup = hwAtmVplObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmVplObjectGroup.setDescription('The Atm Pvc Bridge attribute group.') hwAtmVclObjectGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 4)).setObjects(("HUAWEI-ATM-MIB", "hwAtmVclName"), ("HUAWEI-ATM-MIB", "hwAtmVccAal5EncapsType"), ("HUAWEI-ATM-MIB", "hwAtmVclRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwAtmVclObjectGroup = hwAtmVclObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmVclObjectGroup.setDescription('Description.') hwAtmMapPvpObjectGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 5)).setObjects(("HUAWEI-ATM-MIB", "hwAtmMapPvpRemoteVplVpi"), ("HUAWEI-ATM-MIB", "hwAtmMapPvpRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwAtmMapPvpObjectGroup = hwAtmMapPvpObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvpObjectGroup.setDescription('The Atm Map Pvp attribute group.') hwAtmMapPvcObjectGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 6)).setObjects(("HUAWEI-ATM-MIB", "hwAtmMapPvcRemoteVclVpi"), ("HUAWEI-ATM-MIB", "hwAtmMapPvcRemoteVclVci"), ("HUAWEI-ATM-MIB", "hwAtmMapPvcRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwAtmMapPvcObjectGroup = hwAtmMapPvcObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvcObjectGroup.setDescription('The Atm Map Pvc attribute group.') hwAtmServiceObjectGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 7)).setObjects(("HUAWEI-ATM-MIB", "hwAtmServiceType"), ("HUAWEI-ATM-MIB", "hwAtmServiceOutputPcr"), ("HUAWEI-ATM-MIB", "hwAtmServiceOutputScr"), ("HUAWEI-ATM-MIB", "hwAtmServiceOutputMbs"), ("HUAWEI-ATM-MIB", "hwAtmServiceCbrCdvtValue"), ("HUAWEI-ATM-MIB", "hwAtmServiceOutputMcr"), ("HUAWEI-ATM-MIB", "hwAtmServiceRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwAtmServiceObjectGroup = hwAtmServiceObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceObjectGroup.setDescription('The Atm Service attribute group.') hwAtmPvcServiceObjectGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 8)).setObjects(("HUAWEI-ATM-MIB", "hwAtmPvcServiceName"), ("HUAWEI-ATM-MIB", "hwAtmPvcTransmittalDirection"), ("HUAWEI-ATM-MIB", "hwAtmPvcServiceRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwAtmPvcServiceObjectGroup = hwAtmPvcServiceObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcServiceObjectGroup.setDescription('The Atm Pvc Service attribute group.') hwAtmPvcIpoaObjectGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 9)).setObjects(("HUAWEI-ATM-MIB", "hwAtmPvcIpoaIpMask"), ("HUAWEI-ATM-MIB", "hwAtmPvcIpoaInarpInterval"), ("HUAWEI-ATM-MIB", "hwAtmPvcIpoaBroadcast"), ("HUAWEI-ATM-MIB", "hwAtmPvcIpoaRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwAtmPvcIpoaObjectGroup = hwAtmPvcIpoaObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaObjectGroup.setDescription('The Atm Pvc IPOA attribute group.') hwAtmPvcBridgeObjectGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 10)).setObjects(("HUAWEI-ATM-MIB", "hwAtmVplRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwAtmPvcBridgeObjectGroup = hwAtmPvcBridgeObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcBridgeObjectGroup.setDescription('The Atm Pvl attribute group.') hwAtmPvcOAMLoopbackObjectGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 11)).setObjects(("HUAWEI-ATM-MIB", "hwAtmPvcOAMLoopbackFrequency"), ("HUAWEI-ATM-MIB", "hwAtmPvcOAMLoopbackUpCount"), ("HUAWEI-ATM-MIB", "hwAtmPvcOAMLoopbackDownCount"), ("HUAWEI-ATM-MIB", "hwAtmPvcOAMLoopbackRetryFrequency"), ("HUAWEI-ATM-MIB", "hwAtmPvcOAMLoopbackRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwAtmPvcOAMLoopbackObjectGroup = hwAtmPvcOAMLoopbackObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackObjectGroup.setDescription('The Port attribute group.') hwAtmPvpLimitObjectGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 12)).setObjects(("HUAWEI-ATM-MIB", "hwAtmPvpLimitPeakRate"), ("HUAWEI-ATM-MIB", "hwAtmPvpLimitRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hwAtmPvpLimitObjectGroup = hwAtmPvpLimitObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmPvpLimitObjectGroup.setDescription('The Port attribute group.') mibBuilder.exportSymbols("HUAWEI-ATM-MIB", hwAtmPvcBridgeDstIfIndex=hwAtmPvcBridgeDstIfIndex, hwAtmPvcOAMLoopbackObjectGroup=hwAtmPvcOAMLoopbackObjectGroup, hwAtmIfConfMaxVccs=hwAtmIfConfMaxVccs, hwAtmCompliance=hwAtmCompliance, hwAtmServiceObjectGroup=hwAtmServiceObjectGroup, hwAtmIfConfEntry=hwAtmIfConfEntry, hwAtmClock=hwAtmClock, hwAtmVclName=hwAtmVclName, hwAtmIfConfIfIndex=hwAtmIfConfIfIndex, hwAtmVplVpi=hwAtmVplVpi, hwAtmVclEntry=hwAtmVclEntry, hwAtmLoopback=hwAtmLoopback, hwAtmPvcOAMLoopbackDownCount=hwAtmPvcOAMLoopbackDownCount, hwAtmPvcBridgeEntry=hwAtmPvcBridgeEntry, hwAtmPvcServiceRowStatus=hwAtmPvcServiceRowStatus, hwAtmMapPvpRemoteVplVpi=hwAtmMapPvpRemoteVplVpi, hwAtmPvcServiceEntry=hwAtmPvcServiceEntry, hwAtmPvcServiceTable=hwAtmPvcServiceTable, hwAtmPvcIpoaEntry=hwAtmPvcIpoaEntry, hwAtmVclVci=hwAtmVclVci, hwAtmPvpLimitIfIndex=hwAtmPvpLimitIfIndex, hwAtmPvpLimitTable=hwAtmPvpLimitTable, hwAtmCompliances=hwAtmCompliances, hwAtmEntry=hwAtmEntry, hwAtmMapPvcObjectGroup=hwAtmMapPvcObjectGroup, hwAtmServiceTable=hwAtmServiceTable, hwAtmPvcBridgeRowStatus=hwAtmPvcBridgeRowStatus, hwAtmPvcOAMLoopbackRetryFrequency=hwAtmPvcOAMLoopbackRetryFrequency, hwAtmServiceName=hwAtmServiceName, hwAtmPvcIpoaInarpInterval=hwAtmPvcIpoaInarpInterval, hwAtmVccAal5EncapsType=hwAtmVccAal5EncapsType, hwAtmServiceType=hwAtmServiceType, hwAtmIfIndex=hwAtmIfIndex, hwAtmPvcIpoaIpAddress=hwAtmPvcIpoaIpAddress, hwAtmGroups=hwAtmGroups, hwAtmMapPvcRowStatus=hwAtmMapPvcRowStatus, hwAtmPvcTransmittalDirection=hwAtmPvcTransmittalDirection, hwAtmPvpLimitEntry=hwAtmPvpLimitEntry, hwAtmMapPvcRemoteVclVci=hwAtmMapPvcRemoteVclVci, hwAtmMIB=hwAtmMIB, hwAtmVclTable=hwAtmVclTable, hwAtmMapPvpIfIndex=hwAtmMapPvpIfIndex, hwAtmPvpLimitRowStatus=hwAtmPvpLimitRowStatus, hwAtmConformance=hwAtmConformance, hwAtmVclVpi=hwAtmVclVpi, hwAtmObjectGroup=hwAtmObjectGroup, hwAtmVplIfIndex=hwAtmVplIfIndex, hwAtmVclIfIndex=hwAtmVclIfIndex, hwAtmVclRowStatus=hwAtmVclRowStatus, PYSNMP_MODULE_ID=hwAtmMIB, hwAtmPvcOamLoopbackTable=hwAtmPvcOamLoopbackTable, hwAtmMapPvcRemoteVclVpi=hwAtmMapPvcRemoteVclVpi, hwAtmIfType=hwAtmIfType, hwAtmScramble=hwAtmScramble, hwAtmMapPvcEntry=hwAtmMapPvcEntry, hwAtmMapPvpTable=hwAtmMapPvpTable, hwAtmPvcOAMLoopbackEntry=hwAtmPvcOAMLoopbackEntry, hwAtmMapPvpEntry=hwAtmMapPvpEntry, hwAtmPvcBridgeObjectGroup=hwAtmPvcBridgeObjectGroup, hwAtmServiceOutputMcr=hwAtmServiceOutputMcr, hwAtmPvcServiceName=hwAtmPvcServiceName, hwAtmIfConfIntfType=hwAtmIfConfIntfType, hwAtmVplRowStatus=hwAtmVplRowStatus, hwAtmObjects=hwAtmObjects, hwAtmVplEntry=hwAtmVplEntry, hwAtmPvpLimitPeakRate=hwAtmPvpLimitPeakRate, hwAtmPvcIpoaObjectGroup=hwAtmPvcIpoaObjectGroup, hwAtmTable=hwAtmTable, hwAtmPvcServiceObjectGroup=hwAtmPvcServiceObjectGroup, hwAtmIfConf=hwAtmIfConf, hwAtmVplTable=hwAtmVplTable, hwAtmPvpLimitVpi=hwAtmPvpLimitVpi, hwAtmIfConfTable=hwAtmIfConfTable, hwAtmPvcOAMLoopbackUpCount=hwAtmPvcOAMLoopbackUpCount, hwAtmPvcOAMLoopbackRowStatus=hwAtmPvcOAMLoopbackRowStatus, hwAtmPvcBridgeTable=hwAtmPvcBridgeTable, hwAtmPvcIpoaRowStatus=hwAtmPvcIpoaRowStatus, hwAtmIfConfOperVccs=hwAtmIfConfOperVccs, hwAtmPvcOAMLoopbackFrequency=hwAtmPvcOAMLoopbackFrequency, hwAtmPvpLimitObjectGroup=hwAtmPvpLimitObjectGroup, hwAtmMapPvpVplVpi=hwAtmMapPvpVplVpi, hwAtmPvcIpoaType=hwAtmPvcIpoaType, hwAtmServiceOutputMbs=hwAtmServiceOutputMbs, hwAtmFrameFormat=hwAtmFrameFormat, hwAtmMapPvcTable=hwAtmMapPvcTable, hwAtmServiceOutputScr=hwAtmServiceOutputScr, hwAtmServiceOutputPcr=hwAtmServiceOutputPcr, hwAtmMapPvpObjectGroup=hwAtmMapPvpObjectGroup, hwAtmMapPvpRowStatus=hwAtmMapPvpRowStatus, hwAtmServiceEntry=hwAtmServiceEntry, hwAtmServiceCbrCdvtValue=hwAtmServiceCbrCdvtValue, hwAtmPvcIpoaTable=hwAtmPvcIpoaTable, hwAtmPvcIpoaBroadcast=hwAtmPvcIpoaBroadcast, hwAtmVclObjectGroup=hwAtmVclObjectGroup, hwAtmPvcIpoaIpMask=hwAtmPvcIpoaIpMask, hwAtmVplObjectGroup=hwAtmVplObjectGroup, hwAtmServiceRowStatus=hwAtmServiceRowStatus)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_intersection, constraints_union, value_size_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueSizeConstraint', 'SingleValueConstraint') (atm_vp_identifier, atm_vc_identifier) = mibBuilder.importSymbols('ATM-TC-MIB', 'AtmVpIdentifier', 'AtmVcIdentifier') (hw_datacomm,) = mibBuilder.importSymbols('HUAWEI-MIB', 'hwDatacomm') (interface_index,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (object_identity, iso, unsigned32, counter64, bits, time_ticks, counter32, notification_type, module_identity, ip_address, integer32, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, mib_identifier) = mibBuilder.importSymbols('SNMPv2-SMI', 'ObjectIdentity', 'iso', 'Unsigned32', 'Counter64', 'Bits', 'TimeTicks', 'Counter32', 'NotificationType', 'ModuleIdentity', 'IpAddress', 'Integer32', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'MibIdentifier') (textual_convention, display_string, row_status, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString', 'RowStatus', 'TruthValue') hw_atm_mib = module_identity((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156)) if mibBuilder.loadTexts: hwAtmMIB.setLastUpdated('200710172230Z') if mibBuilder.loadTexts: hwAtmMIB.setOrganization('Huawei Technologies co.,Ltd.') if mibBuilder.loadTexts: hwAtmMIB.setContactInfo('VRP Team Huawei Technologies co.,Ltd. Huawei Bld.,NO.3 Xinxi Rd., Shang-Di Information Industry Base, Hai-Dian District Beijing P.R. China http://www.huawei.com Zip:100085 ') if mibBuilder.loadTexts: hwAtmMIB.setDescription('This MIB is mainly used to configure the ATM OC-3/STM-1 and ATM OC-12/STM-4 interface, IPoA, IPoEoA, PVC service type, OAM F5 loopback, parameters of the VP limit, and mapping between the peer VPI and the local VPI.') hw_atm_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1)) hw_atm_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1)) if mibBuilder.loadTexts: hwAtmTable.setStatus('current') if mibBuilder.loadTexts: hwAtmTable.setDescription('This table is used to configure the parameters of the ATM interface.') hw_atm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1, 1)).setIndexNames((0, 'HUAWEI-ATM-MIB', 'hwAtmIfIndex')) if mibBuilder.loadTexts: hwAtmEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmEntry.setDescription('This table is used to configure the parameters of the ATM interface.') hw_atm_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1, 1, 1), interface_index()) if mibBuilder.loadTexts: hwAtmIfIndex.setStatus('current') if mibBuilder.loadTexts: hwAtmIfIndex.setDescription('Indicates the interface index.') hw_atm_if_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('oc3OrStm1', 1), ('oc12OrStm4', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwAtmIfType.setStatus('current') if mibBuilder.loadTexts: hwAtmIfType.setDescription('Indicates the interface type.') hw_atm_clock = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('master', 1), ('slave', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwAtmClock.setStatus('current') if mibBuilder.loadTexts: hwAtmClock.setDescription('Master clock: uses the internal clock signal. Slave clock: uses the line clock signal.') hw_atm_frame_format = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('sdh', 1), ('sonet', 2))).clone('sdh')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwAtmFrameFormat.setStatus('current') if mibBuilder.loadTexts: hwAtmFrameFormat.setDescription('For the optical interface STM-1/STM-4, the frame format on the ATM interface is SDH; for the OC-3/OC-12 interface, the frame format is SONET. The default frame format is SDH.') hw_atm_scramble = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1, 1, 14), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwAtmScramble.setStatus('current') if mibBuilder.loadTexts: hwAtmScramble.setDescription('By default, the scramble function is enabled. The scramble function takes effect only on payload rather than cell header. true: enables the scramble function. false: disables the scramble function.') hw_atm_loopback = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 255))).clone(namedValues=named_values(('local', 1), ('remote', 2), ('payload', 3), ('none', 255))).clone('none')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwAtmLoopback.setStatus('current') if mibBuilder.loadTexts: hwAtmLoopback.setDescription('Enable the loopback function of the channel. local: enables the local loopback on the interface. remote: enables the remote loopback on the interface. payload: enables the remote payload loopback on the interface. By default, all loopback functions are disabled.') hw_atm_map_pvp_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 2)) if mibBuilder.loadTexts: hwAtmMapPvpTable.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvpTable.setDescription('This table is used to configure the mapping between the peer VPI and the local VPI.') hw_atm_map_pvp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 2, 1)).setIndexNames((0, 'HUAWEI-ATM-MIB', 'hwAtmMapPvpIfIndex'), (0, 'HUAWEI-ATM-MIB', 'hwAtmMapPvpVplVpi')) if mibBuilder.loadTexts: hwAtmMapPvpEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvpEntry.setDescription('This table is used to configure the mapping between the peer VPI and the local VPI.') hw_atm_map_pvp_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 2, 1, 1), interface_index()) if mibBuilder.loadTexts: hwAtmMapPvpIfIndex.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvpIfIndex.setDescription('Indicates the interface index.') hw_atm_map_pvp_vpl_vpi = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 2, 1, 2), atm_vp_identifier()) if mibBuilder.loadTexts: hwAtmMapPvpVplVpi.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvpVplVpi.setDescription('Indicates the local VPI value. The value is an integer ranging from 0 to 255.') hw_atm_map_pvp_remote_vpl_vpi = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 2, 1, 11), atm_vp_identifier()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmMapPvpRemoteVplVpi.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvpRemoteVplVpi.setDescription('Indicates the peer VPI value. The value is an integer ranging from 0 to 255.') hw_atm_map_pvp_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 2, 1, 51), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmMapPvpRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvpRowStatus.setDescription('This variable is used to create or delete an object.') hw_atm_map_pvc_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 3)) if mibBuilder.loadTexts: hwAtmMapPvcTable.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvcTable.setDescription('This table is used to configure the mapping between the peer VPI/VCI and the local VPI/VCI.') hw_atm_map_pvc_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 3, 1)).setIndexNames((0, 'HUAWEI-ATM-MIB', 'hwAtmVclIfIndex'), (0, 'HUAWEI-ATM-MIB', 'hwAtmVclVpi'), (0, 'HUAWEI-ATM-MIB', 'hwAtmVclVci')) if mibBuilder.loadTexts: hwAtmMapPvcEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvcEntry.setDescription('This table is used to configure the mapping between the peer VPI/VCI and the local VPI/VCI.') hw_atm_map_pvc_remote_vcl_vci = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 3, 1, 11), atm_vc_identifier()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmMapPvcRemoteVclVci.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvcRemoteVclVci.setDescription('Indicates the peer VCI value. VCI is short for Virtual Channel Identifier. The VCI value ranges from 0 to 2047. Generally, the values from 0 to 31 are reserved for specail use.') hw_atm_map_pvc_remote_vcl_vpi = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 3, 1, 12), atm_vp_identifier()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmMapPvcRemoteVclVpi.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvcRemoteVclVpi.setDescription('Indicates the peer VPI value. The value is an integer ranging from 0 to 255.') hw_atm_map_pvc_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 3, 1, 51), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmMapPvcRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvcRowStatus.setDescription('This variable is used to create or delete an object.') hw_atm_service_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4)) if mibBuilder.loadTexts: hwAtmServiceTable.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceTable.setDescription('This table is used to configure the service type and related parameters for the PVC.') hw_atm_service_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1)).setIndexNames((0, 'HUAWEI-ATM-MIB', 'hwAtmServiceName')) if mibBuilder.loadTexts: hwAtmServiceEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceEntry.setDescription('This table is used to configure the service type for the PVC.') hw_atm_service_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))) if mibBuilder.loadTexts: hwAtmServiceName.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceName.setDescription('Indicates the name of the service type. The name is a string of 1 to 31 characters.') hw_atm_service_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('cbr', 1), ('vbrNrt', 2), ('vbrRt', 3), ('ubr', 4), ('ubrPlus', 5))).clone('ubr')).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmServiceType.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceType.setDescription('Set the service type for the PVC as required.') hw_atm_service_output_pcr = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 12), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(64, 149760))).clone(149760)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmServiceOutputPcr.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceOutputPcr.setDescription('Indicates the peak output rate of the ATM cell. When hwPvcServiceTableType is ubr, the peak output rate is 0.') hw_atm_service_output_scr = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 13), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(64, 149760))).clone(149760)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmServiceOutputScr.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceOutputScr.setDescription('Indicates the peak output rate of the ATM cell. When hwPvcServiceTableType is cbr or ubr, the peak output rate is 0.') hw_atm_service_output_mbs = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 14), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 512)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmServiceOutputMbs.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceOutputMbs.setDescription('Indicates the peak output rate of the ATM cell. When hwPvcServiceTableType is cbr or ubr, the peak output rate is 0.') hw_atm_service_cbr_cdvt_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000)).clone(500)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmServiceCbrCdvtValue.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceCbrCdvtValue.setDescription('Indicates the limit of the ATM cell delay variation. When hwPvcServiceTableType is cbr, the variable is valid. For other service types, the variable is 0.') hw_atm_service_output_mcr = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 16), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(64, 149760))).clone(149760)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmServiceOutputMcr.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceOutputMcr.setDescription('Indicates the mini width guarantee bit rate of the ATM cell. When hwPvcServiceTableType is ubr, the peak output rate is 0.') hw_atm_service_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 4, 1, 51), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmServiceRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceRowStatus.setDescription('This variable is used to create or delete an object.') hw_atm_pvc_service_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 5)) if mibBuilder.loadTexts: hwAtmPvcServiceTable.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcServiceTable.setDescription('This table is used to configure the service type for the PVC.') hw_atm_pvc_service_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 5, 1)).setIndexNames((0, 'HUAWEI-ATM-MIB', 'hwAtmVclIfIndex'), (0, 'HUAWEI-ATM-MIB', 'hwAtmVclVpi'), (0, 'HUAWEI-ATM-MIB', 'hwAtmVclVci')) if mibBuilder.loadTexts: hwAtmPvcServiceEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcServiceEntry.setDescription('This table is used to configure the service type for the PVC.') hw_atm_pvc_service_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 5, 1, 11), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvcServiceName.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcServiceName.setDescription('Indicates the name of the service type. The name is a string of 1 to 31 characters.') hw_atm_pvc_transmittal_direction = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 5, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('input', 1), ('output', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvcTransmittalDirection.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcTransmittalDirection.setDescription('Indicates the input or output tpye of the service type.') hw_atm_pvc_service_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 5, 1, 51), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvcServiceRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcServiceRowStatus.setDescription('This variable is used to create or delete an object.') hw_atm_if_conf_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 11)) if mibBuilder.loadTexts: hwAtmIfConfTable.setStatus('current') if mibBuilder.loadTexts: hwAtmIfConfTable.setDescription('Indicates the configuration of the ATM interface.') hw_atm_if_conf_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 11, 1)).setIndexNames((0, 'HUAWEI-ATM-MIB', 'hwAtmIfConfIfIndex')) if mibBuilder.loadTexts: hwAtmIfConfEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmIfConfEntry.setDescription('Indicates the configuration of the ATM interface.') hw_atm_if_conf_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 11, 1, 1), interface_index()) if mibBuilder.loadTexts: hwAtmIfConfIfIndex.setStatus('current') if mibBuilder.loadTexts: hwAtmIfConfIfIndex.setDescription('Indicates the interface index.') hw_atm_if_conf_max_vccs = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 11, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(1, 2048))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwAtmIfConfMaxVccs.setStatus('current') if mibBuilder.loadTexts: hwAtmIfConfMaxVccs.setDescription('Indicates the maximum number of the PVCs.') hw_atm_if_conf_oper_vccs = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 11, 1, 12), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwAtmIfConfOperVccs.setStatus('current') if mibBuilder.loadTexts: hwAtmIfConfOperVccs.setDescription('Indicates the number of the configured PVCs.') hw_atm_if_conf_intf_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 11, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('uni', 1), ('nni', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwAtmIfConfIntfType.setStatus('current') if mibBuilder.loadTexts: hwAtmIfConfIntfType.setDescription('This object indicates the type of the serial interface with the ATM protocol.') hw_atm_vpl_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 12)) if mibBuilder.loadTexts: hwAtmVplTable.setStatus('current') if mibBuilder.loadTexts: hwAtmVplTable.setDescription('Indicates the configuration of the ATM PVP.') hw_atm_vpl_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 12, 1)).setIndexNames((0, 'HUAWEI-ATM-MIB', 'hwAtmVplIfIndex'), (0, 'HUAWEI-ATM-MIB', 'hwAtmVplVpi')) if mibBuilder.loadTexts: hwAtmVplEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmVplEntry.setDescription('Indicates the configuration of the ATM PVP.') hw_atm_vpl_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 12, 1, 1), interface_index()) if mibBuilder.loadTexts: hwAtmVplIfIndex.setStatus('current') if mibBuilder.loadTexts: hwAtmVplIfIndex.setDescription('Indicates the interface index.') hw_atm_vpl_vpi = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 12, 1, 2), atm_vp_identifier()) if mibBuilder.loadTexts: hwAtmVplVpi.setStatus('current') if mibBuilder.loadTexts: hwAtmVplVpi.setDescription('VPI.') hw_atm_vpl_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 12, 1, 51), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmVplRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmVplRowStatus.setDescription('Indicates the status of the row.') hw_atm_vcl_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13)) if mibBuilder.loadTexts: hwAtmVclTable.setStatus('current') if mibBuilder.loadTexts: hwAtmVclTable.setDescription('Indicates the configuration of the ATM PVC.') hw_atm_vcl_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13, 1)).setIndexNames((0, 'HUAWEI-ATM-MIB', 'hwAtmVclIfIndex'), (0, 'HUAWEI-ATM-MIB', 'hwAtmVclVpi'), (0, 'HUAWEI-ATM-MIB', 'hwAtmVclVci')) if mibBuilder.loadTexts: hwAtmVclEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmVclEntry.setDescription('Indicates the configuration of the ATM PVC.') hw_atm_vcl_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13, 1, 1), interface_index()) if mibBuilder.loadTexts: hwAtmVclIfIndex.setStatus('current') if mibBuilder.loadTexts: hwAtmVclIfIndex.setDescription('Indicates the interface index.') hw_atm_vcl_vpi = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13, 1, 2), atm_vp_identifier()) if mibBuilder.loadTexts: hwAtmVclVpi.setStatus('current') if mibBuilder.loadTexts: hwAtmVclVpi.setDescription('VPI.') hw_atm_vcl_vci = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13, 1, 3), atm_vc_identifier()) if mibBuilder.loadTexts: hwAtmVclVci.setStatus('current') if mibBuilder.loadTexts: hwAtmVclVci.setDescription('VCI.') hw_atm_vcl_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13, 1, 11), octet_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmVclName.setStatus('current') if mibBuilder.loadTexts: hwAtmVclName.setDescription('Indicates the name of the PVC.') hw_atm_vcc_aal5_encaps_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('aal5Snap', 1), ('aal5Mux', 2), ('aal5MuxNonstandard', 3), ('aal5Nlpid', 4))).clone()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmVccAal5EncapsType.setStatus('current') if mibBuilder.loadTexts: hwAtmVccAal5EncapsType.setDescription('Indicates the encapsulation mode of AAL5.') hw_atm_vcl_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 13, 1, 51), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmVclRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmVclRowStatus.setDescription('Indicates the status of the row.') hw_atm_pvc_ipoa_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14)) if mibBuilder.loadTexts: hwAtmPvcIpoaTable.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaTable.setDescription('This table is used to configure the IPoA mapping on the PVC.') hw_atm_pvc_ipoa_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14, 1)).setIndexNames((0, 'HUAWEI-ATM-MIB', 'hwAtmVclIfIndex'), (0, 'HUAWEI-ATM-MIB', 'hwAtmVclVpi'), (0, 'HUAWEI-ATM-MIB', 'hwAtmVclVci'), (0, 'HUAWEI-ATM-MIB', 'hwAtmPvcIpoaType'), (0, 'HUAWEI-ATM-MIB', 'hwAtmPvcIpoaIpAddress')) if mibBuilder.loadTexts: hwAtmPvcIpoaEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaEntry.setDescription('This table is used to configure the IPoA mapping on the PVC.') hw_atm_pvc_ipoa_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('ip', 1), ('default', 2), ('inarp', 3)))) if mibBuilder.loadTexts: hwAtmPvcIpoaType.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaType.setDescription('Indicates the type of the PVC IPoA mapping. ip: sets the peer IP address and mask that are mapped to the PVC. default: configures a mapping with default route attributes. If no mapping of the next hop address of a packet can be found, the packet is sent over the PVC if the PVC is configured with default mapping. inarp: configures InARP on the PVC.') hw_atm_pvc_ipoa_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14, 1, 4), ip_address()) if mibBuilder.loadTexts: hwAtmPvcIpoaIpAddress.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaIpAddress.setDescription('Indicates the peer IP address mapped to the PVC.') hw_atm_pvc_ipoa_ip_mask = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14, 1, 11), ip_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvcIpoaIpMask.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaIpMask.setDescription('Indicates the IP address mask. The IP address mask is an optional parameter.') hw_atm_pvc_ipoa_inarp_interval = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14, 1, 12), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 600))).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvcIpoaInarpInterval.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaInarpInterval.setDescription('Indicates the interval for sending InARP packets. The parameter is optional. The value ranges from 1 to 600 in seconds. If the type of the PVC IPoA mapping is IP or default, the value is 0. The default value is 1.') hw_atm_pvc_ipoa_broadcast = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14, 1, 13), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvcIpoaBroadcast.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaBroadcast.setDescription('If a mapping with this attribute is configured on the PVC, broadcast packets on the interface where the PVC resides will be sent over the PVC.') hw_atm_pvc_ipoa_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 14, 1, 51), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvcIpoaRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaRowStatus.setDescription('RowStatus.') hw_atm_pvc_bridge_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 15)) if mibBuilder.loadTexts: hwAtmPvcBridgeTable.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcBridgeTable.setDescription('This table is used to configure the IPoEoA mapping and PPPoEoA mapping on the PVC.') hw_atm_pvc_bridge_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 15, 1)).setIndexNames((0, 'HUAWEI-ATM-MIB', 'hwAtmVclIfIndex'), (0, 'HUAWEI-ATM-MIB', 'hwAtmVclVpi'), (0, 'HUAWEI-ATM-MIB', 'hwAtmVclVci')) if mibBuilder.loadTexts: hwAtmPvcBridgeEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcBridgeEntry.setDescription('This table is used to configure the IPoEoA mapping and PPPoEoA mapping on the PVC.') hw_atm_pvc_bridge_dst_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 15, 1, 11), interface_index()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvcBridgeDstIfIndex.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcBridgeDstIfIndex.setDescription('Indicates the index of the VE interface.') hw_atm_pvc_bridge_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 15, 1, 51), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvcBridgeRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcBridgeRowStatus.setDescription('RowStatus.') hw_atm_pvc_oam_loopback_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 17)) if mibBuilder.loadTexts: hwAtmPvcOamLoopbackTable.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOamLoopbackTable.setDescription('This table is used to configure OAM F5 Loopback, enable the sending of OAM F5 Loopback cells, and configure the parameters of the retransmission check or modify the parameters of the retransmission check.') hw_atm_pvc_oam_loopback_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 17, 1)).setIndexNames((0, 'HUAWEI-ATM-MIB', 'hwAtmVclIfIndex'), (0, 'HUAWEI-ATM-MIB', 'hwAtmVclVpi'), (0, 'HUAWEI-ATM-MIB', 'hwAtmVclVci')) if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackEntry.setDescription('This table is used to configure OAM F5 Loopback.') hw_atm_pvc_oam_loopback_frequency = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 17, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(1, 600))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackFrequency.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackFrequency.setDescription('Indicates the interval for sending OAM F5 Loopback cells.') hw_atm_pvc_oam_loopback_up_count = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 17, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(1, 600)).clone(3)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackUpCount.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackUpCount.setDescription('Indicates the number of continuous OAM F5 Loopback cells that must be received before the PVC turns Up.') hw_atm_pvc_oam_loopback_down_count = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 17, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(1, 600)).clone(5)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackDownCount.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackDownCount.setDescription('Indicates the number of continuous OAM F5 Loopback cells that are not received before the PVC turns Down.') hw_atm_pvc_oam_loopback_retry_frequency = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 17, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(1, 1000))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackRetryFrequency.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackRetryFrequency.setDescription('Indicates the interval for sending cells during OAM F5 Loopback retransmission verification before the PVC status changes.') hw_atm_pvc_oam_loopback_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 17, 1, 51), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackRowStatus.setDescription('RowStatus') hw_atm_pvp_limit_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 18)) if mibBuilder.loadTexts: hwAtmPvpLimitTable.setStatus('current') if mibBuilder.loadTexts: hwAtmPvpLimitTable.setDescription('This table is used to configure the VP limit. To monitor the VP, configure related VP parameters.') hw_atm_pvp_limit_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 18, 1)).setIndexNames((0, 'HUAWEI-ATM-MIB', 'hwAtmPvpLimitIfIndex'), (0, 'HUAWEI-ATM-MIB', 'hwAtmPvpLimitVpi')) if mibBuilder.loadTexts: hwAtmPvpLimitEntry.setStatus('current') if mibBuilder.loadTexts: hwAtmPvpLimitEntry.setDescription('This table is used to configure the VP limit.') hw_atm_pvp_limit_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 18, 1, 1), interface_index()) if mibBuilder.loadTexts: hwAtmPvpLimitIfIndex.setStatus('current') if mibBuilder.loadTexts: hwAtmPvpLimitIfIndex.setDescription('Indicates the interface index.') hw_atm_pvp_limit_vpi = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 18, 1, 2), atm_vp_identifier()) if mibBuilder.loadTexts: hwAtmPvpLimitVpi.setStatus('current') if mibBuilder.loadTexts: hwAtmPvpLimitVpi.setDescription('VPI.') hw_atm_pvp_limit_peak_rate = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 18, 1, 11), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvpLimitPeakRate.setStatus('current') if mibBuilder.loadTexts: hwAtmPvpLimitPeakRate.setDescription('VCI.') hw_atm_pvp_limit_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 1, 18, 1, 51), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwAtmPvpLimitRowStatus.setStatus('current') if mibBuilder.loadTexts: hwAtmPvpLimitRowStatus.setDescription('RowStatus. ') hw_atm_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11)) hw_atm_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 1)) hw_atm_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 1, 1)).setObjects(('HUAWEI-ATM-MIB', 'hwAtmObjectGroup'), ('HUAWEI-ATM-MIB', 'hwAtmMapPvpObjectGroup'), ('HUAWEI-ATM-MIB', 'hwAtmMapPvcObjectGroup'), ('HUAWEI-ATM-MIB', 'hwAtmPvcIpoaObjectGroup'), ('HUAWEI-ATM-MIB', 'hwAtmPvcBridgeObjectGroup'), ('HUAWEI-ATM-MIB', 'hwAtmPvcServiceObjectGroup'), ('HUAWEI-ATM-MIB', 'hwAtmPvcOAMLoopbackObjectGroup'), ('HUAWEI-ATM-MIB', 'hwAtmPvpLimitObjectGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_atm_compliance = hwAtmCompliance.setStatus('current') if mibBuilder.loadTexts: hwAtmCompliance.setDescription('The compliance statement for systems supporting the HUAWEI-ATM-MIB.') hw_atm_groups = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2)) hw_atm_object_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 1)).setObjects(('HUAWEI-ATM-MIB', 'hwAtmIfType'), ('HUAWEI-ATM-MIB', 'hwAtmClock'), ('HUAWEI-ATM-MIB', 'hwAtmFrameFormat'), ('HUAWEI-ATM-MIB', 'hwAtmScramble'), ('HUAWEI-ATM-MIB', 'hwAtmLoopback')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_atm_object_group = hwAtmObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmObjectGroup.setDescription('The Atm attribute group.') hw_atm_if_conf = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 2)).setObjects(('HUAWEI-ATM-MIB', 'hwAtmIfConfMaxVccs'), ('HUAWEI-ATM-MIB', 'hwAtmIfConfOperVccs'), ('HUAWEI-ATM-MIB', 'hwAtmIfConfIntfType')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_atm_if_conf = hwAtmIfConf.setStatus('current') if mibBuilder.loadTexts: hwAtmIfConf.setDescription('Description.') hw_atm_vpl_object_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 3)).setObjects(('HUAWEI-ATM-MIB', 'hwAtmPvcBridgeDstIfIndex'), ('HUAWEI-ATM-MIB', 'hwAtmPvcBridgeRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_atm_vpl_object_group = hwAtmVplObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmVplObjectGroup.setDescription('The Atm Pvc Bridge attribute group.') hw_atm_vcl_object_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 4)).setObjects(('HUAWEI-ATM-MIB', 'hwAtmVclName'), ('HUAWEI-ATM-MIB', 'hwAtmVccAal5EncapsType'), ('HUAWEI-ATM-MIB', 'hwAtmVclRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_atm_vcl_object_group = hwAtmVclObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmVclObjectGroup.setDescription('Description.') hw_atm_map_pvp_object_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 5)).setObjects(('HUAWEI-ATM-MIB', 'hwAtmMapPvpRemoteVplVpi'), ('HUAWEI-ATM-MIB', 'hwAtmMapPvpRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_atm_map_pvp_object_group = hwAtmMapPvpObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvpObjectGroup.setDescription('The Atm Map Pvp attribute group.') hw_atm_map_pvc_object_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 6)).setObjects(('HUAWEI-ATM-MIB', 'hwAtmMapPvcRemoteVclVpi'), ('HUAWEI-ATM-MIB', 'hwAtmMapPvcRemoteVclVci'), ('HUAWEI-ATM-MIB', 'hwAtmMapPvcRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_atm_map_pvc_object_group = hwAtmMapPvcObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmMapPvcObjectGroup.setDescription('The Atm Map Pvc attribute group.') hw_atm_service_object_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 7)).setObjects(('HUAWEI-ATM-MIB', 'hwAtmServiceType'), ('HUAWEI-ATM-MIB', 'hwAtmServiceOutputPcr'), ('HUAWEI-ATM-MIB', 'hwAtmServiceOutputScr'), ('HUAWEI-ATM-MIB', 'hwAtmServiceOutputMbs'), ('HUAWEI-ATM-MIB', 'hwAtmServiceCbrCdvtValue'), ('HUAWEI-ATM-MIB', 'hwAtmServiceOutputMcr'), ('HUAWEI-ATM-MIB', 'hwAtmServiceRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_atm_service_object_group = hwAtmServiceObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmServiceObjectGroup.setDescription('The Atm Service attribute group.') hw_atm_pvc_service_object_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 8)).setObjects(('HUAWEI-ATM-MIB', 'hwAtmPvcServiceName'), ('HUAWEI-ATM-MIB', 'hwAtmPvcTransmittalDirection'), ('HUAWEI-ATM-MIB', 'hwAtmPvcServiceRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_atm_pvc_service_object_group = hwAtmPvcServiceObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcServiceObjectGroup.setDescription('The Atm Pvc Service attribute group.') hw_atm_pvc_ipoa_object_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 9)).setObjects(('HUAWEI-ATM-MIB', 'hwAtmPvcIpoaIpMask'), ('HUAWEI-ATM-MIB', 'hwAtmPvcIpoaInarpInterval'), ('HUAWEI-ATM-MIB', 'hwAtmPvcIpoaBroadcast'), ('HUAWEI-ATM-MIB', 'hwAtmPvcIpoaRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_atm_pvc_ipoa_object_group = hwAtmPvcIpoaObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcIpoaObjectGroup.setDescription('The Atm Pvc IPOA attribute group.') hw_atm_pvc_bridge_object_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 10)).setObjects(('HUAWEI-ATM-MIB', 'hwAtmVplRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_atm_pvc_bridge_object_group = hwAtmPvcBridgeObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcBridgeObjectGroup.setDescription('The Atm Pvl attribute group.') hw_atm_pvc_oam_loopback_object_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 11)).setObjects(('HUAWEI-ATM-MIB', 'hwAtmPvcOAMLoopbackFrequency'), ('HUAWEI-ATM-MIB', 'hwAtmPvcOAMLoopbackUpCount'), ('HUAWEI-ATM-MIB', 'hwAtmPvcOAMLoopbackDownCount'), ('HUAWEI-ATM-MIB', 'hwAtmPvcOAMLoopbackRetryFrequency'), ('HUAWEI-ATM-MIB', 'hwAtmPvcOAMLoopbackRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_atm_pvc_oam_loopback_object_group = hwAtmPvcOAMLoopbackObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmPvcOAMLoopbackObjectGroup.setDescription('The Port attribute group.') hw_atm_pvp_limit_object_group = object_group((1, 3, 6, 1, 4, 1, 2011, 5, 25, 156, 11, 2, 12)).setObjects(('HUAWEI-ATM-MIB', 'hwAtmPvpLimitPeakRate'), ('HUAWEI-ATM-MIB', 'hwAtmPvpLimitRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hw_atm_pvp_limit_object_group = hwAtmPvpLimitObjectGroup.setStatus('current') if mibBuilder.loadTexts: hwAtmPvpLimitObjectGroup.setDescription('The Port attribute group.') mibBuilder.exportSymbols('HUAWEI-ATM-MIB', hwAtmPvcBridgeDstIfIndex=hwAtmPvcBridgeDstIfIndex, hwAtmPvcOAMLoopbackObjectGroup=hwAtmPvcOAMLoopbackObjectGroup, hwAtmIfConfMaxVccs=hwAtmIfConfMaxVccs, hwAtmCompliance=hwAtmCompliance, hwAtmServiceObjectGroup=hwAtmServiceObjectGroup, hwAtmIfConfEntry=hwAtmIfConfEntry, hwAtmClock=hwAtmClock, hwAtmVclName=hwAtmVclName, hwAtmIfConfIfIndex=hwAtmIfConfIfIndex, hwAtmVplVpi=hwAtmVplVpi, hwAtmVclEntry=hwAtmVclEntry, hwAtmLoopback=hwAtmLoopback, hwAtmPvcOAMLoopbackDownCount=hwAtmPvcOAMLoopbackDownCount, hwAtmPvcBridgeEntry=hwAtmPvcBridgeEntry, hwAtmPvcServiceRowStatus=hwAtmPvcServiceRowStatus, hwAtmMapPvpRemoteVplVpi=hwAtmMapPvpRemoteVplVpi, hwAtmPvcServiceEntry=hwAtmPvcServiceEntry, hwAtmPvcServiceTable=hwAtmPvcServiceTable, hwAtmPvcIpoaEntry=hwAtmPvcIpoaEntry, hwAtmVclVci=hwAtmVclVci, hwAtmPvpLimitIfIndex=hwAtmPvpLimitIfIndex, hwAtmPvpLimitTable=hwAtmPvpLimitTable, hwAtmCompliances=hwAtmCompliances, hwAtmEntry=hwAtmEntry, hwAtmMapPvcObjectGroup=hwAtmMapPvcObjectGroup, hwAtmServiceTable=hwAtmServiceTable, hwAtmPvcBridgeRowStatus=hwAtmPvcBridgeRowStatus, hwAtmPvcOAMLoopbackRetryFrequency=hwAtmPvcOAMLoopbackRetryFrequency, hwAtmServiceName=hwAtmServiceName, hwAtmPvcIpoaInarpInterval=hwAtmPvcIpoaInarpInterval, hwAtmVccAal5EncapsType=hwAtmVccAal5EncapsType, hwAtmServiceType=hwAtmServiceType, hwAtmIfIndex=hwAtmIfIndex, hwAtmPvcIpoaIpAddress=hwAtmPvcIpoaIpAddress, hwAtmGroups=hwAtmGroups, hwAtmMapPvcRowStatus=hwAtmMapPvcRowStatus, hwAtmPvcTransmittalDirection=hwAtmPvcTransmittalDirection, hwAtmPvpLimitEntry=hwAtmPvpLimitEntry, hwAtmMapPvcRemoteVclVci=hwAtmMapPvcRemoteVclVci, hwAtmMIB=hwAtmMIB, hwAtmVclTable=hwAtmVclTable, hwAtmMapPvpIfIndex=hwAtmMapPvpIfIndex, hwAtmPvpLimitRowStatus=hwAtmPvpLimitRowStatus, hwAtmConformance=hwAtmConformance, hwAtmVclVpi=hwAtmVclVpi, hwAtmObjectGroup=hwAtmObjectGroup, hwAtmVplIfIndex=hwAtmVplIfIndex, hwAtmVclIfIndex=hwAtmVclIfIndex, hwAtmVclRowStatus=hwAtmVclRowStatus, PYSNMP_MODULE_ID=hwAtmMIB, hwAtmPvcOamLoopbackTable=hwAtmPvcOamLoopbackTable, hwAtmMapPvcRemoteVclVpi=hwAtmMapPvcRemoteVclVpi, hwAtmIfType=hwAtmIfType, hwAtmScramble=hwAtmScramble, hwAtmMapPvcEntry=hwAtmMapPvcEntry, hwAtmMapPvpTable=hwAtmMapPvpTable, hwAtmPvcOAMLoopbackEntry=hwAtmPvcOAMLoopbackEntry, hwAtmMapPvpEntry=hwAtmMapPvpEntry, hwAtmPvcBridgeObjectGroup=hwAtmPvcBridgeObjectGroup, hwAtmServiceOutputMcr=hwAtmServiceOutputMcr, hwAtmPvcServiceName=hwAtmPvcServiceName, hwAtmIfConfIntfType=hwAtmIfConfIntfType, hwAtmVplRowStatus=hwAtmVplRowStatus, hwAtmObjects=hwAtmObjects, hwAtmVplEntry=hwAtmVplEntry, hwAtmPvpLimitPeakRate=hwAtmPvpLimitPeakRate, hwAtmPvcIpoaObjectGroup=hwAtmPvcIpoaObjectGroup, hwAtmTable=hwAtmTable, hwAtmPvcServiceObjectGroup=hwAtmPvcServiceObjectGroup, hwAtmIfConf=hwAtmIfConf, hwAtmVplTable=hwAtmVplTable, hwAtmPvpLimitVpi=hwAtmPvpLimitVpi, hwAtmIfConfTable=hwAtmIfConfTable, hwAtmPvcOAMLoopbackUpCount=hwAtmPvcOAMLoopbackUpCount, hwAtmPvcOAMLoopbackRowStatus=hwAtmPvcOAMLoopbackRowStatus, hwAtmPvcBridgeTable=hwAtmPvcBridgeTable, hwAtmPvcIpoaRowStatus=hwAtmPvcIpoaRowStatus, hwAtmIfConfOperVccs=hwAtmIfConfOperVccs, hwAtmPvcOAMLoopbackFrequency=hwAtmPvcOAMLoopbackFrequency, hwAtmPvpLimitObjectGroup=hwAtmPvpLimitObjectGroup, hwAtmMapPvpVplVpi=hwAtmMapPvpVplVpi, hwAtmPvcIpoaType=hwAtmPvcIpoaType, hwAtmServiceOutputMbs=hwAtmServiceOutputMbs, hwAtmFrameFormat=hwAtmFrameFormat, hwAtmMapPvcTable=hwAtmMapPvcTable, hwAtmServiceOutputScr=hwAtmServiceOutputScr, hwAtmServiceOutputPcr=hwAtmServiceOutputPcr, hwAtmMapPvpObjectGroup=hwAtmMapPvpObjectGroup, hwAtmMapPvpRowStatus=hwAtmMapPvpRowStatus, hwAtmServiceEntry=hwAtmServiceEntry, hwAtmServiceCbrCdvtValue=hwAtmServiceCbrCdvtValue, hwAtmPvcIpoaTable=hwAtmPvcIpoaTable, hwAtmPvcIpoaBroadcast=hwAtmPvcIpoaBroadcast, hwAtmVclObjectGroup=hwAtmVclObjectGroup, hwAtmPvcIpoaIpMask=hwAtmPvcIpoaIpMask, hwAtmVplObjectGroup=hwAtmVplObjectGroup, hwAtmServiceRowStatus=hwAtmServiceRowStatus)
# -*- coding: utf-8 -*- class IntegrationInterface(object): properties = [] name = "" title = "" description = "" url = "" allow_multiple = False can_notify_people = False can_notify_group = False can_sync_people = False def __init__(self, integration): self._properties = integration.properties or {} self.integration = integration def get_service_user(self, notification): return notification.person.service_users.filter_by( service=self.name ).first() def fetch_people(self): raise NotImplementedError() def notify_person(self, notification, delivery): raise NotImplementedError() def notify_group(self, notification, delivery): raise NotImplementedError() @classmethod def fields(self): return [] def __getattr__(self, attr): if attr in self.properties: return self._properties.get(attr, None)
class Integrationinterface(object): properties = [] name = '' title = '' description = '' url = '' allow_multiple = False can_notify_people = False can_notify_group = False can_sync_people = False def __init__(self, integration): self._properties = integration.properties or {} self.integration = integration def get_service_user(self, notification): return notification.person.service_users.filter_by(service=self.name).first() def fetch_people(self): raise not_implemented_error() def notify_person(self, notification, delivery): raise not_implemented_error() def notify_group(self, notification, delivery): raise not_implemented_error() @classmethod def fields(self): return [] def __getattr__(self, attr): if attr in self.properties: return self._properties.get(attr, None)
n = int(input()) ansl = {} for _ in range(n): s = input() if s in ansl: ansl[s] += 1 else: ansl[s] = 1 ans = "" max_vote = 0 for k in ansl: if max_vote < ansl[k]: max_vote = ansl[k] ans = k print(ans)
n = int(input()) ansl = {} for _ in range(n): s = input() if s in ansl: ansl[s] += 1 else: ansl[s] = 1 ans = '' max_vote = 0 for k in ansl: if max_vote < ansl[k]: max_vote = ansl[k] ans = k print(ans)
def convert_sample_to_shot_dialKG(sample,with_knowledge): prefix = "Dialogue:\n" assert len(sample["dialogue"]) == len(sample["KG"]) for turn, meta in zip(sample["dialogue"],sample["KG"]): prefix += f"User: {turn[0]}" +"\n" if with_knowledge and len(meta)>0: prefix += f"KG: {meta[0]}" +"\n" if turn[1] == "": prefix += f"Assistant:" return prefix else: prefix += f"Assistant: {turn[1]}" +"\n" return prefix def convert_sample_to_shot_dialKG_interact(sample,with_knowledge): prefix = "Dialogue:\n" assert len(sample["dialogue"]) == len(sample["KG"]) for turn, meta in zip(sample["dialogue"],sample["KG"]): prefix += f"User: {turn[0]}" +"\n" if with_knowledge and len(meta)>0: prefix += f"KG: {meta[0]}" +"\n" if turn[1] == "": prefix += f"Assistant:" return prefix else: prefix += f"Assistant: {turn[1]}" +"\n" return prefix
def convert_sample_to_shot_dial_kg(sample, with_knowledge): prefix = 'Dialogue:\n' assert len(sample['dialogue']) == len(sample['KG']) for (turn, meta) in zip(sample['dialogue'], sample['KG']): prefix += f'User: {turn[0]}' + '\n' if with_knowledge and len(meta) > 0: prefix += f'KG: {meta[0]}' + '\n' if turn[1] == '': prefix += f'Assistant:' return prefix else: prefix += f'Assistant: {turn[1]}' + '\n' return prefix def convert_sample_to_shot_dial_kg_interact(sample, with_knowledge): prefix = 'Dialogue:\n' assert len(sample['dialogue']) == len(sample['KG']) for (turn, meta) in zip(sample['dialogue'], sample['KG']): prefix += f'User: {turn[0]}' + '\n' if with_knowledge and len(meta) > 0: prefix += f'KG: {meta[0]}' + '\n' if turn[1] == '': prefix += f'Assistant:' return prefix else: prefix += f'Assistant: {turn[1]}' + '\n' return prefix
MAXZOOMLEVEL = 32 RESAMPLING_METHODS = ( 'average', 'near', 'bilinear', 'cubic', 'cubicspline', 'lanczos', 'antialias' ) PROFILES = ('mercator', 'geodetic', 'raster')
maxzoomlevel = 32 resampling_methods = ('average', 'near', 'bilinear', 'cubic', 'cubicspline', 'lanczos', 'antialias') profiles = ('mercator', 'geodetic', 'raster')
DUMP_10K_FILE = "/home/agustin/Desktop/Recuperacion/colecciones/dump10k/dump10k.txt" INDEX_FILES_PATH = "output/" BIN_INVERTED_INDEX_FILENAME = "inverted_index.bin" BIN_VOCABULARY_FILENAME = "vocabulary.bin" BIN_SKIPS_FILENAME = "skips.bin" METADATA_FILE = "metadata.json" K_SKIPS = 3
dump_10_k_file = '/home/agustin/Desktop/Recuperacion/colecciones/dump10k/dump10k.txt' index_files_path = 'output/' bin_inverted_index_filename = 'inverted_index.bin' bin_vocabulary_filename = 'vocabulary.bin' bin_skips_filename = 'skips.bin' metadata_file = 'metadata.json' k_skips = 3
course = 'Python "Programming"' print(course) course = "Python \"Programming\"" # use this to be maintain consistency course = "Python \\Programming\"" # Python \Programming" print(course)
course = 'Python "Programming"' print(course) course = 'Python "Programming"' course = 'Python \\Programming"' print(course)
n = int(input()) prev_dst = prev_t = 0 for _ in range(n): t, x, y = map(int, input().split()) dst = x + y ddst = abs(dst - prev_dst) dt = t - prev_t if t % 2 != dst % 2 or ddst > dt: print('No') exit() prev_t, prev_dst = t, dst print('Yes')
n = int(input()) prev_dst = prev_t = 0 for _ in range(n): (t, x, y) = map(int, input().split()) dst = x + y ddst = abs(dst - prev_dst) dt = t - prev_t if t % 2 != dst % 2 or ddst > dt: print('No') exit() (prev_t, prev_dst) = (t, dst) print('Yes')
class Customer: def __init__(self): self.id = "", self.name = "", self.phone = "", self.email = "", self.username = "", self.address_line_1 = "", self.address_line_2 = "", self.city = "", self.country = ""
class Customer: def __init__(self): self.id = ('',) self.name = ('',) self.phone = ('',) self.email = ('',) self.username = ('',) self.address_line_1 = ('',) self.address_line_2 = ('',) self.city = ('',) self.country = ''
counter = 0; with open("./Resources/01. Odd Lines/Input.txt", 'r') as lines: read_line = None while read_line != "": read_line = lines.readline() counter += 1 if counter % 2 == 0: with open("./Resources/01. Odd Lines/Output.txt", 'a') as odd_lines: odd_lines.write(read_line) print(odd_lines)
counter = 0 with open('./Resources/01. Odd Lines/Input.txt', 'r') as lines: read_line = None while read_line != '': read_line = lines.readline() counter += 1 if counter % 2 == 0: with open('./Resources/01. Odd Lines/Output.txt', 'a') as odd_lines: odd_lines.write(read_line) print(odd_lines)
def func(i): if i % 2 == 0: i = i+1 return i else: x = func(i-1) print('Value of X is ',x) return func(x) func(399)
def func(i): if i % 2 == 0: i = i + 1 return i else: x = func(i - 1) print('Value of X is ', x) return func(x) func(399)
# key is age, chance is contents def getdeathchance(agent): deathchance = 0.0 if agent.taxon == "savannah": if agent.sex == 'm': deathchance = SavannahLifeTable.male_death_chance[agent.age] else: deathchance = SavannahLifeTable.female_death_chance[agent.age] if agent.taxon == "hamadryas": if agent.sex == 'm': deathchance = HamadryasLifeTable.male_death_chance[agent.age] else: deathchance = HamadryasLifeTable.female_death_chance[agent.age] # print deathchance return deathchance def getbirthchance(agent): birthchance = 0.0 if agent.taxon == "savannah": birthchance = SavannahLifeTable.birth_chance[agent.age] if agent.taxon == "hamadryas": birthchance = HamadryasLifeTable.birth_chance[agent.age] return birthchance class SavannahLifeTable: male_death_chance = { 0: 0, 0.5: 0.10875, 1: 0.10875, 1.5: 0.0439, 2: 0.0439, 2.5: 0.03315, 3: 0.03315, 3.5: 0.04165, 4: 0.04165, 4.5: 0.0206, 5: 0.0206, 5.5: 0.02865, 6: 0.02865, 6.5: 0.0346375, 7: 0.0346375, 7.5: 0.0346375, 8: 0.0346375, 8.5: 0.0346375, 9: 0.0346375, 9.5: 0.0346375, 10: 0.0346375, 10.5: 0.0685625, 11: 0.0685625, 11.5: 0.0685625, 12: 0.0685625, 12.5: 0.0685625, 13: 0.0685625, 13.5: 0.0685625, 14: 0.0685625, 14.5: 0.140825, 15: 0.140825, 15.5: 0.140825, 16: 0.140825, 16.5: 0.140825, 17: 0.140825, 17.5: 0.140825, 18: 0.140825, 18.5: 0.125, 19: 0.125, 19.5: 0.335, 20: 0.335, 20.5: 1, 21: 1 } female_death_chance = { 0: 0, 0.5: 0.1031, 1: 0.1031, 1.5: 0.0558, 2: 0.0558, 2.5: 0.0317, 3: 0.0317, 3.5: 0.0156, 4: 0.0156, 4.5: 0.02355, 5: 0.02355, 5.5: 0.027125, 6: 0.027125, 6.5: 0.027125, 7: 0.027125, 7.5: 0.027125, 8: 0.027125, 8.5: 0.027125, 9: 0.027125, 9.5: 0.0436875, 10: 0.0436875, 10.5: 0.0436875, 11: 0.0436875, 11.5: 0.0436875, 12: 0.0436875, 12.5: 0.0436875, 13: 0.0436875, 13.5: 0.0691, 14: 0.0691, 14.5: 0.0691, 15: 0.0691, 15.5: 0.0691, 16: 0.0691, 16.5: 0.0691, 17: 0.0691, 17.5: 0.141125, 18: 0.141125, 18.5: 0.141125, 19: 0.141125, 19.5: 0.141125, 20: 0.141125, 20.5: 0.141125, 21: 0.141125, 21.5: 0.2552875, 22: 0.2552875, 22.5: 0.2552875, 23: 0.2552875, 23.5: 0.2552875, 24: 0.2552875, 24.5: 0.2552875, 25: 1, 25.5: 1 } birth_chance = { 0: 0, 0.5: 0, 1: 0, 1.5: 0, 2: 0, 2.5: 0, 3: 0, 3.5: 0, 4: 0, 4.5: 0, 5: 0.85, 5.5: 0.85, 6: 0.85, 6.5: 0.85, 7: 0.85, 7.5: 0.9, 8: 0.9, 8.5: 0.9, 9: 0.9, 9.5: 0.9, 10: 0.9, 10.5: 0.85, 11: 0.85, 11.5: 0.85, 12: 0.85, 12.5: 0.8, 13: 0.8, 13.5: 0.8, 14: 0.8, 14.5: 0.8, 15: 0.8, 15.5: 0.75, 16: 0.75, 16.5: 0.75, 17: 0.75, 17.5: 0.75, 18: 0.75, 18.5: 0.75, 19: 0.75, 19.5: 0.75, 20: 0.75, 20.5: 0.6, 21: 0.6, 21.5: 0.6, 22: 0.6, 22.5: 0.6, 23: 0.6, 23.5: 0.6, 24: 0.6, 24.5: 0.6, 25: 0 } class HamadryasLifeTable: male_death_chance = { 0: 0, 0.5: 0.10875, 1: 0.10875, 1.5: 0.0439, 2: 0.0439, 2.5: 0.03315, 3: 0.03315, 3.5: 0.04165, 4: 0.04165, 4.5: 0.0206, 5: 0.0206, 5.5: 0.02865, 6: 0.02865, 6.5: 0.0346375, 7: 0.0346375, 7.5: 0.0346375, 8: 0.0346375, 8.5: 0.0346375, 9: 0.0346375, 9.5: 0.0346375, 10: 0.0346375, 10.5: 0.0685625, 11: 0.0685625, 11.5: 0.0685625, 12: 0.0685625, 12.5: 0.0685625, 13: 0.0685625, 13.5: 0.0685625, 14: 0.0685625, 14.5: 0.140825, 15: 0.140825, 15.5: 0.140825, 16: 0.140825, 16.5: 0.140825, 17: 0.140825, 17.5: 0.140825, 18: 0.140825, 18.5: 0.125, 19: 0.125, 19.5: 0.335, 20: 0.335, 20.5: 1 } female_death_chance = { 0: 0, 0.5: 0.1031, 1: 0.1031, 1.5: 0.0558, 2: 0.0558, 2.5: 0.0317, 3: 0.0317, 3.5: 0.0156, 4: 0.0156, 4.5: 0.02355, 5: 0.02355, 5.5: 0.027125, 6: 0.027125, 6.5: 0.027125, 7: 0.027125, 7.5: 0.027125, 8: 0.027125, 8.5: 0.027125, 9: 0.027125, 9.5: 0.0436875, 10: 0.0436875, 10.5: 0.0436875, 11: 0.0436875, 11.5: 0.0436875, 12: 0.0436875, 12.5: 0.0436875, 13: 0.0436875, 13.5: 0.0691, 14: 0.0691, 14.5: 0.0691, 15: 0.0691, 15.5: 0.0691, 16: 0.0691, 16.5: 0.0691, 17: 0.0691, 17.5: 0.141125, 18: 0.141125, 18.5: 0.141125, 19: 0.141125, 19.5: 0.141125, 20: 0.141125, 20.5: 0.141125, 21: 0.141125, 21.5: 0.2552875, 22: 0.2552875, 22.5: 0.2552875, 23: 0.2552875, 23.5: 0.2552875, 24: 0.2552875, 24.5: 0.2552875, 25: 1 } birth_chance = { 0: 0, 0.5: 0, 1: 0, 1.5: 0, 2: 0, 2.5: 0, 3: 0, 3.5: 0, 4: 0, 4.5: 0, 5: 0.85, 5.5: 0.85, 6: 0.85, 6.5: 0.85, 7: 0.85, 7.5: 0.9, 8: 0.9, 8.5: 0.9, 9: 0.9, 9.5: 0.9, 10: 0.9, 10.5: 0.85, 11: 0.85, 11.5: 0.85, 12: 0.85, 12.5: 0.8, 13: 0.8, 13.5: 0.8, 14: 0.8, 14.5: 0.8, 15: 0.8, 15.5: 0.75, 16: 0.75, 16.5: 0.75, 17: 0.75, 17.5: 0.75, 18: 0.75, 18.5: 0.75, 19: 0.75, 19.5: 0.75, 20: 0.75, 20.5: 0.6, 21: 0.6, 21.5: 0.6, 22: 0.6, 22.5: 0.6, 23: 0.6, 23.5: 0.6, 24: 0.6, 24.5: 0.6, 25: 0 }
def getdeathchance(agent): deathchance = 0.0 if agent.taxon == 'savannah': if agent.sex == 'm': deathchance = SavannahLifeTable.male_death_chance[agent.age] else: deathchance = SavannahLifeTable.female_death_chance[agent.age] if agent.taxon == 'hamadryas': if agent.sex == 'm': deathchance = HamadryasLifeTable.male_death_chance[agent.age] else: deathchance = HamadryasLifeTable.female_death_chance[agent.age] return deathchance def getbirthchance(agent): birthchance = 0.0 if agent.taxon == 'savannah': birthchance = SavannahLifeTable.birth_chance[agent.age] if agent.taxon == 'hamadryas': birthchance = HamadryasLifeTable.birth_chance[agent.age] return birthchance class Savannahlifetable: male_death_chance = {0: 0, 0.5: 0.10875, 1: 0.10875, 1.5: 0.0439, 2: 0.0439, 2.5: 0.03315, 3: 0.03315, 3.5: 0.04165, 4: 0.04165, 4.5: 0.0206, 5: 0.0206, 5.5: 0.02865, 6: 0.02865, 6.5: 0.0346375, 7: 0.0346375, 7.5: 0.0346375, 8: 0.0346375, 8.5: 0.0346375, 9: 0.0346375, 9.5: 0.0346375, 10: 0.0346375, 10.5: 0.0685625, 11: 0.0685625, 11.5: 0.0685625, 12: 0.0685625, 12.5: 0.0685625, 13: 0.0685625, 13.5: 0.0685625, 14: 0.0685625, 14.5: 0.140825, 15: 0.140825, 15.5: 0.140825, 16: 0.140825, 16.5: 0.140825, 17: 0.140825, 17.5: 0.140825, 18: 0.140825, 18.5: 0.125, 19: 0.125, 19.5: 0.335, 20: 0.335, 20.5: 1, 21: 1} female_death_chance = {0: 0, 0.5: 0.1031, 1: 0.1031, 1.5: 0.0558, 2: 0.0558, 2.5: 0.0317, 3: 0.0317, 3.5: 0.0156, 4: 0.0156, 4.5: 0.02355, 5: 0.02355, 5.5: 0.027125, 6: 0.027125, 6.5: 0.027125, 7: 0.027125, 7.5: 0.027125, 8: 0.027125, 8.5: 0.027125, 9: 0.027125, 9.5: 0.0436875, 10: 0.0436875, 10.5: 0.0436875, 11: 0.0436875, 11.5: 0.0436875, 12: 0.0436875, 12.5: 0.0436875, 13: 0.0436875, 13.5: 0.0691, 14: 0.0691, 14.5: 0.0691, 15: 0.0691, 15.5: 0.0691, 16: 0.0691, 16.5: 0.0691, 17: 0.0691, 17.5: 0.141125, 18: 0.141125, 18.5: 0.141125, 19: 0.141125, 19.5: 0.141125, 20: 0.141125, 20.5: 0.141125, 21: 0.141125, 21.5: 0.2552875, 22: 0.2552875, 22.5: 0.2552875, 23: 0.2552875, 23.5: 0.2552875, 24: 0.2552875, 24.5: 0.2552875, 25: 1, 25.5: 1} birth_chance = {0: 0, 0.5: 0, 1: 0, 1.5: 0, 2: 0, 2.5: 0, 3: 0, 3.5: 0, 4: 0, 4.5: 0, 5: 0.85, 5.5: 0.85, 6: 0.85, 6.5: 0.85, 7: 0.85, 7.5: 0.9, 8: 0.9, 8.5: 0.9, 9: 0.9, 9.5: 0.9, 10: 0.9, 10.5: 0.85, 11: 0.85, 11.5: 0.85, 12: 0.85, 12.5: 0.8, 13: 0.8, 13.5: 0.8, 14: 0.8, 14.5: 0.8, 15: 0.8, 15.5: 0.75, 16: 0.75, 16.5: 0.75, 17: 0.75, 17.5: 0.75, 18: 0.75, 18.5: 0.75, 19: 0.75, 19.5: 0.75, 20: 0.75, 20.5: 0.6, 21: 0.6, 21.5: 0.6, 22: 0.6, 22.5: 0.6, 23: 0.6, 23.5: 0.6, 24: 0.6, 24.5: 0.6, 25: 0} class Hamadryaslifetable: male_death_chance = {0: 0, 0.5: 0.10875, 1: 0.10875, 1.5: 0.0439, 2: 0.0439, 2.5: 0.03315, 3: 0.03315, 3.5: 0.04165, 4: 0.04165, 4.5: 0.0206, 5: 0.0206, 5.5: 0.02865, 6: 0.02865, 6.5: 0.0346375, 7: 0.0346375, 7.5: 0.0346375, 8: 0.0346375, 8.5: 0.0346375, 9: 0.0346375, 9.5: 0.0346375, 10: 0.0346375, 10.5: 0.0685625, 11: 0.0685625, 11.5: 0.0685625, 12: 0.0685625, 12.5: 0.0685625, 13: 0.0685625, 13.5: 0.0685625, 14: 0.0685625, 14.5: 0.140825, 15: 0.140825, 15.5: 0.140825, 16: 0.140825, 16.5: 0.140825, 17: 0.140825, 17.5: 0.140825, 18: 0.140825, 18.5: 0.125, 19: 0.125, 19.5: 0.335, 20: 0.335, 20.5: 1} female_death_chance = {0: 0, 0.5: 0.1031, 1: 0.1031, 1.5: 0.0558, 2: 0.0558, 2.5: 0.0317, 3: 0.0317, 3.5: 0.0156, 4: 0.0156, 4.5: 0.02355, 5: 0.02355, 5.5: 0.027125, 6: 0.027125, 6.5: 0.027125, 7: 0.027125, 7.5: 0.027125, 8: 0.027125, 8.5: 0.027125, 9: 0.027125, 9.5: 0.0436875, 10: 0.0436875, 10.5: 0.0436875, 11: 0.0436875, 11.5: 0.0436875, 12: 0.0436875, 12.5: 0.0436875, 13: 0.0436875, 13.5: 0.0691, 14: 0.0691, 14.5: 0.0691, 15: 0.0691, 15.5: 0.0691, 16: 0.0691, 16.5: 0.0691, 17: 0.0691, 17.5: 0.141125, 18: 0.141125, 18.5: 0.141125, 19: 0.141125, 19.5: 0.141125, 20: 0.141125, 20.5: 0.141125, 21: 0.141125, 21.5: 0.2552875, 22: 0.2552875, 22.5: 0.2552875, 23: 0.2552875, 23.5: 0.2552875, 24: 0.2552875, 24.5: 0.2552875, 25: 1} birth_chance = {0: 0, 0.5: 0, 1: 0, 1.5: 0, 2: 0, 2.5: 0, 3: 0, 3.5: 0, 4: 0, 4.5: 0, 5: 0.85, 5.5: 0.85, 6: 0.85, 6.5: 0.85, 7: 0.85, 7.5: 0.9, 8: 0.9, 8.5: 0.9, 9: 0.9, 9.5: 0.9, 10: 0.9, 10.5: 0.85, 11: 0.85, 11.5: 0.85, 12: 0.85, 12.5: 0.8, 13: 0.8, 13.5: 0.8, 14: 0.8, 14.5: 0.8, 15: 0.8, 15.5: 0.75, 16: 0.75, 16.5: 0.75, 17: 0.75, 17.5: 0.75, 18: 0.75, 18.5: 0.75, 19: 0.75, 19.5: 0.75, 20: 0.75, 20.5: 0.6, 21: 0.6, 21.5: 0.6, 22: 0.6, 22.5: 0.6, 23: 0.6, 23.5: 0.6, 24: 0.6, 24.5: 0.6, 25: 0}
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ''' BSD 3-Clause License Copyright (c) Soumith Chintala 2016, All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://spdx.org/licenses/BSD-3-Clause.html # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. '''
""" BSD 3-Clause License Copyright (c) Soumith Chintala 2016, All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://spdx.org/licenses/BSD-3-Clause.html # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """
grocery = ["Harpic", "Vim bar", "deo", "Bhindi", "Lollypop",56] #print(grocery[5]) #numbers = [2,7,5,11,3] #print(numbers[2]) #print(numbers.sort()) sorting done #print(numbers[1:4]) #slicing returning list but will not change original list. #print(numbers) #print(numbers[::3]) #print(numbers[::-1]) #don't take more than -1(-2,-3...) grocery.pop["Harpic"]
grocery = ['Harpic', 'Vim bar', 'deo', 'Bhindi', 'Lollypop', 56] grocery.pop['Harpic']
def get_pic_upload_to(instance, filename): return "static/profile/{}/pic/{}".format(instance.user, filename) def get_aadhar_upload_to(instance, filename): instance.filename = filename return "static/profile/{}/aadhar/{}".format(instance.user, filename) def get_passbook_upload_to(instance, filename): instance.filename = filename return "static/profile/{}/passbook/{}".format(instance.user, filename)
def get_pic_upload_to(instance, filename): return 'static/profile/{}/pic/{}'.format(instance.user, filename) def get_aadhar_upload_to(instance, filename): instance.filename = filename return 'static/profile/{}/aadhar/{}'.format(instance.user, filename) def get_passbook_upload_to(instance, filename): instance.filename = filename return 'static/profile/{}/passbook/{}'.format(instance.user, filename)
# -*- coding: UTF-8 -*- class DSException(Exception): pass class DSRequestException(DSException): pass class DSCommandFailedException(DSException): pass
class Dsexception(Exception): pass class Dsrequestexception(DSException): pass class Dscommandfailedexception(DSException): pass
def pluralize(s): last_char = s[-1] if last_char == 'y': pluralized = s[:-1] + 'ies' elif last_char == 's': pluralized = s else: pluralized = s + 's' return pluralized
def pluralize(s): last_char = s[-1] if last_char == 'y': pluralized = s[:-1] + 'ies' elif last_char == 's': pluralized = s else: pluralized = s + 's' return pluralized
# # PySNMP MIB module SWAPCOM-SCC (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SWAPCOM-SCC # Produced by pysmi-0.3.4 at Wed May 1 15:12:56 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Integer32, ObjectIdentity, Counter32, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, Counter64, NotificationType, MibIdentifier, iso, ModuleIdentity, enterprises, Unsigned32, Bits, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "ObjectIdentity", "Counter32", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "Counter64", "NotificationType", "MibIdentifier", "iso", "ModuleIdentity", "enterprises", "Unsigned32", "Bits", "TimeTicks") MacAddress, TimeInterval, TextualConvention, DateAndTime, DisplayString, TruthValue, StorageType, TestAndIncr, RowStatus = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "TimeInterval", "TextualConvention", "DateAndTime", "DisplayString", "TruthValue", "StorageType", "TestAndIncr", "RowStatus") swapcom = ModuleIdentity((1, 3, 6, 1, 4, 1, 11308)) swapcom.setRevisions(('1970-01-01 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: swapcom.setRevisionsDescriptions(('Revision Description',)) if mibBuilder.loadTexts: swapcom.setLastUpdated('2007381648Z') if mibBuilder.loadTexts: swapcom.setOrganization('Organization name') if mibBuilder.loadTexts: swapcom.setContactInfo('Contact information') if mibBuilder.loadTexts: swapcom.setDescription('Description') org = MibIdentifier((1, 3)) dod = MibIdentifier((1, 3, 6)) internet = MibIdentifier((1, 3, 6, 1)) private = MibIdentifier((1, 3, 6, 1, 4)) enterprises = MibIdentifier((1, 3, 6, 1, 4, 1)) scc = MibIdentifier((1, 3, 6, 1, 4, 1, 11308, 3)) platform = MibIdentifier((1, 3, 6, 1, 4, 1, 11308, 3, 1)) platformPlatformId = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: platformPlatformId.setStatus('current') if mibBuilder.loadTexts: platformPlatformId.setDescription('Identifier of the local platform') platformPlatformStatus = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: platformPlatformStatus.setStatus('current') if mibBuilder.loadTexts: platformPlatformStatus.setDescription('Status of local platform (0=Initializing / 1=Platform initialized / 2=Domains initialized / 3=Platform started and ready') versionTable = MibTable((1, 3, 6, 1, 4, 1, 11308, 3, 2), ) if mibBuilder.loadTexts: versionTable.setStatus('current') if mibBuilder.loadTexts: versionTable.setDescription('Components version') versionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11308, 3, 2, 1), ).setIndexNames((0, "SWAPCOM-SCC", "versionProductName")) if mibBuilder.loadTexts: versionEntry.setStatus('current') if mibBuilder.loadTexts: versionEntry.setDescription('The entry for versionTable') versionProductName = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 2, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: versionProductName.setStatus('current') if mibBuilder.loadTexts: versionProductName.setDescription('Name of the component') versionProductVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 2, 1, 2), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: versionProductVersion.setStatus('current') if mibBuilder.loadTexts: versionProductVersion.setDescription('Version of the component, follows the standard SWAPCOM versioning') versionBuildNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: versionBuildNumber.setStatus('current') if mibBuilder.loadTexts: versionBuildNumber.setDescription('Component build number') versionBuildDate = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 2, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: versionBuildDate.setStatus('current') if mibBuilder.loadTexts: versionBuildDate.setDescription('Component build date') transactionManager = MibIdentifier((1, 3, 6, 1, 4, 1, 11308, 3, 3)) transactionManagerLongTransactionThreshold = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: transactionManagerLongTransactionThreshold.setStatus('current') if mibBuilder.loadTexts: transactionManagerLongTransactionThreshold.setDescription('Threshold duration for long transaction detection') transactionManagerActiveTransactionCurrentCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: transactionManagerActiveTransactionCurrentCount.setStatus('current') if mibBuilder.loadTexts: transactionManagerActiveTransactionCurrentCount.setDescription('Number of current active transaction') transactionManagerActiveTransactionMinCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: transactionManagerActiveTransactionMinCount.setStatus('current') if mibBuilder.loadTexts: transactionManagerActiveTransactionMinCount.setDescription('Minimum number of active transaction') transactionManagerActiveTransactionMaxCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: transactionManagerActiveTransactionMaxCount.setStatus('current') if mibBuilder.loadTexts: transactionManagerActiveTransactionMaxCount.setDescription('Maximum number of active transaction') transactionManagerCommittedTransactionCumulativeCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: transactionManagerCommittedTransactionCumulativeCount.setStatus('current') if mibBuilder.loadTexts: transactionManagerCommittedTransactionCumulativeCount.setDescription('Number of transaction committed') transactionManagerRolledbackTransactionCumulativeCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: transactionManagerRolledbackTransactionCumulativeCount.setStatus('current') if mibBuilder.loadTexts: transactionManagerRolledbackTransactionCumulativeCount.setDescription('Number of transaction rollbacked') transactionManagerTransactionCumulativeTime = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: transactionManagerTransactionCumulativeTime.setStatus('current') if mibBuilder.loadTexts: transactionManagerTransactionCumulativeTime.setDescription('Cumulative transaction time') transactionManagerTransactionMinTime = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: transactionManagerTransactionMinTime.setStatus('current') if mibBuilder.loadTexts: transactionManagerTransactionMinTime.setDescription('Minimum transaction duration time') transactionManagerTransactionMaxTime = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: transactionManagerTransactionMaxTime.setStatus('current') if mibBuilder.loadTexts: transactionManagerTransactionMaxTime.setDescription('Maximum transaction duration time') transactionManagerTransactionManagerLastError = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 10), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: transactionManagerTransactionManagerLastError.setStatus('current') if mibBuilder.loadTexts: transactionManagerTransactionManagerLastError.setDescription('Last error message that occured in the transaction manager') lockManager = MibIdentifier((1, 3, 6, 1, 4, 1, 11308, 3, 4)) lockManagerLockedItemCumulativeCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lockManagerLockedItemCumulativeCount.setStatus('current') if mibBuilder.loadTexts: lockManagerLockedItemCumulativeCount.setDescription('Number of lock acquired') lockManagerLockedItemCurrentCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lockManagerLockedItemCurrentCount.setStatus('current') if mibBuilder.loadTexts: lockManagerLockedItemCurrentCount.setDescription('Number of currenty locked objects') lockManagerLockedItemMinCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lockManagerLockedItemMinCount.setStatus('current') if mibBuilder.loadTexts: lockManagerLockedItemMinCount.setDescription('Minimum number of locked objects') lockManagerLockedItemMaxCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lockManagerLockedItemMaxCount.setStatus('current') if mibBuilder.loadTexts: lockManagerLockedItemMaxCount.setDescription('Maximum number of locked objects') lockManagerLockRejectedOnDeadlockCumulativeCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lockManagerLockRejectedOnDeadlockCumulativeCount.setStatus('current') if mibBuilder.loadTexts: lockManagerLockRejectedOnDeadlockCumulativeCount.setDescription('Number of lock rejected on deadlock') lockManagerLockRejectedOnTimeoutCumulativeCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lockManagerLockRejectedOnTimeoutCumulativeCount.setStatus('current') if mibBuilder.loadTexts: lockManagerLockRejectedOnTimeoutCumulativeCount.setDescription('Number of lock rejected on timeout') lockManagerBlockedTransactionCurrentCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lockManagerBlockedTransactionCurrentCount.setStatus('current') if mibBuilder.loadTexts: lockManagerBlockedTransactionCurrentCount.setDescription('Number of currently blocked transaction in lockmanager') lockManagerBlockedTransactionMinCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lockManagerBlockedTransactionMinCount.setStatus('current') if mibBuilder.loadTexts: lockManagerBlockedTransactionMinCount.setDescription('Minimum number of blocked transaction in lockmanager') lockManagerBlockedTransactionMaxCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lockManagerBlockedTransactionMaxCount.setStatus('current') if mibBuilder.loadTexts: lockManagerBlockedTransactionMaxCount.setDescription('Maximum number of blocked transaction in lockmanager') schedulerTaskTable = MibTable((1, 3, 6, 1, 4, 1, 11308, 3, 5), ) if mibBuilder.loadTexts: schedulerTaskTable.setStatus('current') if mibBuilder.loadTexts: schedulerTaskTable.setDescription('Status of tasks registered in the scheduler') schedulerTaskEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1), ).setIndexNames((0, "SWAPCOM-SCC", "schedulerTaskName")) if mibBuilder.loadTexts: schedulerTaskEntry.setStatus('current') if mibBuilder.loadTexts: schedulerTaskEntry.setDescription('The entry for schedulerTaskTable') schedulerTaskName = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: schedulerTaskName.setStatus('current') if mibBuilder.loadTexts: schedulerTaskName.setDescription('Name of the task') schedulerTaskRunning = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: schedulerTaskRunning.setStatus('current') if mibBuilder.loadTexts: schedulerTaskRunning.setDescription('Indicate if the task is currenlty being executed') schedulerTaskExecutionCumulativeCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: schedulerTaskExecutionCumulativeCount.setStatus('current') if mibBuilder.loadTexts: schedulerTaskExecutionCumulativeCount.setDescription('Number of executions succesfully done') schedulerTaskExecutionCumulativeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: schedulerTaskExecutionCumulativeTime.setStatus('current') if mibBuilder.loadTexts: schedulerTaskExecutionCumulativeTime.setDescription('Cumulative processing time (success and failure)') schedulerTaskExecutionMinTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: schedulerTaskExecutionMinTime.setStatus('current') if mibBuilder.loadTexts: schedulerTaskExecutionMinTime.setDescription('Minimum processing time of the task') schedulerTaskExecutionMaxTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: schedulerTaskExecutionMaxTime.setStatus('current') if mibBuilder.loadTexts: schedulerTaskExecutionMaxTime.setDescription('Maximum processing time of the task') schedulerTaskExecutionRetryCurrentCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: schedulerTaskExecutionRetryCurrentCount.setStatus('current') if mibBuilder.loadTexts: schedulerTaskExecutionRetryCurrentCount.setDescription('Number of execution failure') schedulerTaskExecutionLastError = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 8), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: schedulerTaskExecutionLastError.setStatus('current') if mibBuilder.loadTexts: schedulerTaskExecutionLastError.setDescription('Message of the last execution failure') alarmProbeTable = MibTable((1, 3, 6, 1, 4, 1, 11308, 3, 12), ) if mibBuilder.loadTexts: alarmProbeTable.setStatus('current') if mibBuilder.loadTexts: alarmProbeTable.setDescription('Alarm probes status of the platform') alarmProbeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11308, 3, 12, 1), ).setIndexNames((0, "SWAPCOM-SCC", "alarmProbeAlertType"), (0, "SWAPCOM-SCC", "alarmProbeAlertSource")) if mibBuilder.loadTexts: alarmProbeEntry.setStatus('current') if mibBuilder.loadTexts: alarmProbeEntry.setDescription('The entry for alarmProbeTable') alarmProbeAlertType = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 12, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmProbeAlertType.setStatus('current') if mibBuilder.loadTexts: alarmProbeAlertType.setDescription('Type of the probe alarm') alarmProbeAlertSource = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 12, 1, 2), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmProbeAlertSource.setStatus('current') if mibBuilder.loadTexts: alarmProbeAlertSource.setDescription('Source of the probe alarm') alarmProbeSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 12, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmProbeSeverity.setStatus('current') if mibBuilder.loadTexts: alarmProbeSeverity.setDescription('Current severity of the probe') alarmProbeLastSeverityChange = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 12, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmProbeLastSeverityChange.setStatus('current') if mibBuilder.loadTexts: alarmProbeLastSeverityChange.setDescription('Date of the last severity value change') remotePlatformTable = MibTable((1, 3, 6, 1, 4, 1, 11308, 3, 21), ) if mibBuilder.loadTexts: remotePlatformTable.setStatus('current') if mibBuilder.loadTexts: remotePlatformTable.setDescription('Remote platform connected to this one') remotePlatformEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11308, 3, 21, 1), ).setIndexNames((0, "SWAPCOM-SCC", "remotePlatformPlatformId")) if mibBuilder.loadTexts: remotePlatformEntry.setStatus('current') if mibBuilder.loadTexts: remotePlatformEntry.setDescription('The entry for remotePlatformTable') remotePlatformPlatformId = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 21, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: remotePlatformPlatformId.setStatus('current') if mibBuilder.loadTexts: remotePlatformPlatformId.setDescription('Identifier of the remote platform') remotePlatformPlatformProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 21, 1, 2), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: remotePlatformPlatformProtocol.setStatus('current') if mibBuilder.loadTexts: remotePlatformPlatformProtocol.setDescription('Protocol used to communicate with the remote platform') remotePlatformRemotePlatformStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 21, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: remotePlatformRemotePlatformStatus.setStatus('current') if mibBuilder.loadTexts: remotePlatformRemotePlatformStatus.setDescription('Status of the remote platform connection (-2=unknown / -1=down / 3=up)') asynchronousEventQueueTable = MibTable((1, 3, 6, 1, 4, 1, 11308, 3, 22), ) if mibBuilder.loadTexts: asynchronousEventQueueTable.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueTable.setDescription('Asynchronous event queues status') asynchronousEventQueueEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1), ).setIndexNames((0, "SWAPCOM-SCC", "asynchronousEventQueuePlatformId")) if mibBuilder.loadTexts: asynchronousEventQueueEntry.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueEntry.setDescription('The entry for asynchronousEventQueueTable') asynchronousEventQueuePlatformId = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: asynchronousEventQueuePlatformId.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueuePlatformId.setDescription('Identifier of the platform events queue') asynchronousEventQueueInsertedEventCumulativeCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: asynchronousEventQueueInsertedEventCumulativeCount.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueInsertedEventCumulativeCount.setDescription('Number of generated asynchronous events') asynchronousEventQueueWaitingEventCurrentCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: asynchronousEventQueueWaitingEventCurrentCount.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueWaitingEventCurrentCount.setDescription('Number of events that are pending in the send queue') asynchronousEventQueueWaitingEventMinCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: asynchronousEventQueueWaitingEventMinCount.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueWaitingEventMinCount.setDescription('Minimum number of events pending in the send queue') asynchronousEventQueueWaitingEventMaxCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: asynchronousEventQueueWaitingEventMaxCount.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueWaitingEventMaxCount.setDescription('Maximum number of events pending in the send queue') asynchronousEventQueueProcessedEventCumulativeCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: asynchronousEventQueueProcessedEventCumulativeCount.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueProcessedEventCumulativeCount.setDescription('Number of successfully sent asynchronous events') asynchronousEventQueueEventProcessingCumulativeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: asynchronousEventQueueEventProcessingCumulativeTime.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueEventProcessingCumulativeTime.setDescription('Cumulated time of event processing') asynchronousEventQueueEventProcessingMinTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: asynchronousEventQueueEventProcessingMinTime.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueEventProcessingMinTime.setDescription('Minimum event processing time') asynchronousEventQueueEventProcessingMaxTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: asynchronousEventQueueEventProcessingMaxTime.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueEventProcessingMaxTime.setDescription('Maximum event processing time') asynchronousEventQueueFailedEventCumulativeCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: asynchronousEventQueueFailedEventCumulativeCount.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueFailedEventCumulativeCount.setDescription("Number of asynchronous events in the 'failed' queue") asynchronousEventQueueFailedEventLastError = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 11), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: asynchronousEventQueueFailedEventLastError.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueFailedEventLastError.setDescription('Last error message of events process failure') slsConnection = MibIdentifier((1, 3, 6, 1, 4, 1, 11308, 3, 23)) slsConnectionConnected = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 23, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: slsConnectionConnected.setStatus('current') if mibBuilder.loadTexts: slsConnectionConnected.setDescription('Indicate if the platform is connected to the SLS') slsConnectionLicenseCheckSuccessCumulativeCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 23, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slsConnectionLicenseCheckSuccessCumulativeCount.setStatus('current') if mibBuilder.loadTexts: slsConnectionLicenseCheckSuccessCumulativeCount.setDescription('Number of successfull license check') slsConnectionLicenseCheckFailedCumulativeCount = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 23, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slsConnectionLicenseCheckFailedCumulativeCount.setStatus('current') if mibBuilder.loadTexts: slsConnectionLicenseCheckFailedCumulativeCount.setDescription('Number of failed license check') slsConnectionLicenseCheckLastError = MibScalar((1, 3, 6, 1, 4, 1, 11308, 3, 23, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: slsConnectionLicenseCheckLastError.setStatus('current') if mibBuilder.loadTexts: slsConnectionLicenseCheckLastError.setDescription('Last error message that occured in the SLS connection') sqlPoolXATable = MibTable((1, 3, 6, 1, 4, 1, 11308, 3, 24), ) if mibBuilder.loadTexts: sqlPoolXATable.setStatus('current') if mibBuilder.loadTexts: sqlPoolXATable.setDescription('SQLPool status and properties') sqlPoolXAEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1), ).setIndexNames((0, "SWAPCOM-SCC", "sqlPoolXAName")) if mibBuilder.loadTexts: sqlPoolXAEntry.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAEntry.setDescription('The entry for sqlPoolXATable') sqlPoolXAName = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXAName.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAName.setDescription('Name of the connection pool') sqlPoolXASqlPlatformName = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 2), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXASqlPlatformName.setStatus('current') if mibBuilder.loadTexts: sqlPoolXASqlPlatformName.setDescription('Detected database type') sqlPoolXADatabaseName = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 3), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXADatabaseName.setStatus('current') if mibBuilder.loadTexts: sqlPoolXADatabaseName.setDescription('Raw database name') sqlPoolXADriverName = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 4), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXADriverName.setStatus('current') if mibBuilder.loadTexts: sqlPoolXADriverName.setDescription('Name of the JDBC driver') sqlPoolXADriverClassName = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 5), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXADriverClassName.setStatus('current') if mibBuilder.loadTexts: sqlPoolXADriverClassName.setDescription('Name of the JDBC driver class') sqlPoolXAMaximumSize = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXAMaximumSize.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAMaximumSize.setDescription('Maximum size of connection pool') sqlPoolXAMaximumIdleTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXAMaximumIdleTime.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAMaximumIdleTime.setDescription('Maximum life duration of a connection in the pool') sqlPoolXAMaximumWaitTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXAMaximumWaitTime.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAMaximumWaitTime.setDescription('Maximum waiting time for getting a connection when the pool is exhausted') sqlPoolXACheckIsClosedInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXACheckIsClosedInterval.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckIsClosedInterval.setDescription('Minimum time between two connection checking') sqlPoolXACreateConnectionSuccessCumulativeCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXACreateConnectionSuccessCumulativeCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACreateConnectionSuccessCumulativeCount.setDescription('Number of connections succesfully created') sqlPoolXACreateConnectionFailureCumulativeCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXACreateConnectionFailureCumulativeCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACreateConnectionFailureCumulativeCount.setDescription('Number of connection creation failure') sqlPoolXACreateConnectionLastError = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 12), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXACreateConnectionLastError.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACreateConnectionLastError.setDescription('Last exception message during checkout failure') sqlPoolXAConnectionCurrentCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 13), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXAConnectionCurrentCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAConnectionCurrentCount.setDescription('Current size of the connection pool') sqlPoolXAConnectionMinCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 14), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXAConnectionMinCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAConnectionMinCount.setDescription('Minimum size reached by the connection pool') sqlPoolXAConnectionMaxCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXAConnectionMaxCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAConnectionMaxCount.setDescription('Maximum size reached by the connection pool') sqlPoolXACheckedOutConnectionCurrentCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionCurrentCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionCurrentCount.setDescription('Current number of connection that are checked out from the pool') sqlPoolXACheckedOutConnectionMinCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMinCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMinCount.setDescription('Minimum number of simultaneous checked out connections reached by the pool') sqlPoolXACheckedOutConnectionMaxCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMaxCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMaxCount.setDescription('Maximum number of simultaneous checked out connections reached by the pool') sqlPoolXACheckedOutConnectionCumulativeCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 19), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionCumulativeCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionCumulativeCount.setDescription('Number of checkout performed from pool') sqlPoolXACheckedOutConnectionCumulativeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 20), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionCumulativeTime.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionCumulativeTime.setDescription('Cumulation of time that the connections are checked out from the pool') sqlPoolXACheckedOutConnectionMinTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 21), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMinTime.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMinTime.setDescription('Minimum time that a connection has been checked out from the pool') sqlPoolXACheckedOutConnectionMaxTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 22), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMaxTime.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMaxTime.setDescription('Maximum time that a connection has been checked out from the pool') sqlPoolXACheckedOutConnectionAverageTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 23), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionAverageTime.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionAverageTime.setDescription('Connection checkedout average time (equals to CheckedOutConnectionCumulativeTime divided by CheckedOutConnectionCumulativeCount') mibBuilder.exportSymbols("SWAPCOM-SCC", lockManagerLockRejectedOnTimeoutCumulativeCount=lockManagerLockRejectedOnTimeoutCumulativeCount, versionProductName=versionProductName, transactionManagerTransactionCumulativeTime=transactionManagerTransactionCumulativeTime, sqlPoolXAConnectionMaxCount=sqlPoolXAConnectionMaxCount, lockManagerLockRejectedOnDeadlockCumulativeCount=lockManagerLockRejectedOnDeadlockCumulativeCount, org=org, asynchronousEventQueueFailedEventLastError=asynchronousEventQueueFailedEventLastError, lockManagerLockedItemMinCount=lockManagerLockedItemMinCount, sqlPoolXAConnectionMinCount=sqlPoolXAConnectionMinCount, lockManagerLockedItemMaxCount=lockManagerLockedItemMaxCount, schedulerTaskEntry=schedulerTaskEntry, asynchronousEventQueueFailedEventCumulativeCount=asynchronousEventQueueFailedEventCumulativeCount, sqlPoolXAMaximumWaitTime=sqlPoolXAMaximumWaitTime, alarmProbeAlertType=alarmProbeAlertType, internet=internet, sqlPoolXADatabaseName=sqlPoolXADatabaseName, dod=dod, sqlPoolXACheckedOutConnectionCurrentCount=sqlPoolXACheckedOutConnectionCurrentCount, sqlPoolXADriverClassName=sqlPoolXADriverClassName, schedulerTaskExecutionCumulativeCount=schedulerTaskExecutionCumulativeCount, transactionManagerActiveTransactionCurrentCount=transactionManagerActiveTransactionCurrentCount, sqlPoolXACreateConnectionFailureCumulativeCount=sqlPoolXACreateConnectionFailureCumulativeCount, platformPlatformId=platformPlatformId, remotePlatformPlatformProtocol=remotePlatformPlatformProtocol, schedulerTaskExecutionLastError=schedulerTaskExecutionLastError, transactionManagerRolledbackTransactionCumulativeCount=transactionManagerRolledbackTransactionCumulativeCount, sqlPoolXASqlPlatformName=sqlPoolXASqlPlatformName, lockManagerBlockedTransactionCurrentCount=lockManagerBlockedTransactionCurrentCount, remotePlatformPlatformId=remotePlatformPlatformId, alarmProbeAlertSource=alarmProbeAlertSource, schedulerTaskExecutionMaxTime=schedulerTaskExecutionMaxTime, slsConnectionConnected=slsConnectionConnected, transactionManagerTransactionManagerLastError=transactionManagerTransactionManagerLastError, versionBuildDate=versionBuildDate, asynchronousEventQueueWaitingEventMaxCount=asynchronousEventQueueWaitingEventMaxCount, swapcom=swapcom, alarmProbeLastSeverityChange=alarmProbeLastSeverityChange, sqlPoolXACheckIsClosedInterval=sqlPoolXACheckIsClosedInterval, asynchronousEventQueueEventProcessingCumulativeTime=asynchronousEventQueueEventProcessingCumulativeTime, PYSNMP_MODULE_ID=swapcom, slsConnectionLicenseCheckLastError=slsConnectionLicenseCheckLastError, private=private, lockManager=lockManager, remotePlatformTable=remotePlatformTable, sqlPoolXACheckedOutConnectionAverageTime=sqlPoolXACheckedOutConnectionAverageTime, sqlPoolXACheckedOutConnectionCumulativeTime=sqlPoolXACheckedOutConnectionCumulativeTime, sqlPoolXACheckedOutConnectionMaxTime=sqlPoolXACheckedOutConnectionMaxTime, lockManagerBlockedTransactionMinCount=lockManagerBlockedTransactionMinCount, asynchronousEventQueueWaitingEventMinCount=asynchronousEventQueueWaitingEventMinCount, lockManagerBlockedTransactionMaxCount=lockManagerBlockedTransactionMaxCount, schedulerTaskTable=schedulerTaskTable, sqlPoolXAConnectionCurrentCount=sqlPoolXAConnectionCurrentCount, transactionManager=transactionManager, schedulerTaskName=schedulerTaskName, sqlPoolXAEntry=sqlPoolXAEntry, remotePlatformRemotePlatformStatus=remotePlatformRemotePlatformStatus, alarmProbeEntry=alarmProbeEntry, sqlPoolXACreateConnectionLastError=sqlPoolXACreateConnectionLastError, sqlPoolXACheckedOutConnectionMinCount=sqlPoolXACheckedOutConnectionMinCount, slsConnection=slsConnection, sqlPoolXAName=sqlPoolXAName, sqlPoolXAMaximumIdleTime=sqlPoolXAMaximumIdleTime, transactionManagerTransactionMinTime=transactionManagerTransactionMinTime, sqlPoolXACreateConnectionSuccessCumulativeCount=sqlPoolXACreateConnectionSuccessCumulativeCount, versionProductVersion=versionProductVersion, alarmProbeTable=alarmProbeTable, asynchronousEventQueueWaitingEventCurrentCount=asynchronousEventQueueWaitingEventCurrentCount, asynchronousEventQueueEntry=asynchronousEventQueueEntry, remotePlatformEntry=remotePlatformEntry, asynchronousEventQueuePlatformId=asynchronousEventQueuePlatformId, sqlPoolXACheckedOutConnectionMaxCount=sqlPoolXACheckedOutConnectionMaxCount, schedulerTaskRunning=schedulerTaskRunning, asynchronousEventQueueTable=asynchronousEventQueueTable, transactionManagerActiveTransactionMaxCount=transactionManagerActiveTransactionMaxCount, alarmProbeSeverity=alarmProbeSeverity, versionTable=versionTable, versionEntry=versionEntry, sqlPoolXAMaximumSize=sqlPoolXAMaximumSize, schedulerTaskExecutionMinTime=schedulerTaskExecutionMinTime, asynchronousEventQueueInsertedEventCumulativeCount=asynchronousEventQueueInsertedEventCumulativeCount, schedulerTaskExecutionRetryCurrentCount=schedulerTaskExecutionRetryCurrentCount, schedulerTaskExecutionCumulativeTime=schedulerTaskExecutionCumulativeTime, lockManagerLockedItemCumulativeCount=lockManagerLockedItemCumulativeCount, sqlPoolXACheckedOutConnectionMinTime=sqlPoolXACheckedOutConnectionMinTime, slsConnectionLicenseCheckFailedCumulativeCount=slsConnectionLicenseCheckFailedCumulativeCount, transactionManagerLongTransactionThreshold=transactionManagerLongTransactionThreshold, versionBuildNumber=versionBuildNumber, enterprises=enterprises, sqlPoolXADriverName=sqlPoolXADriverName, scc=scc, transactionManagerCommittedTransactionCumulativeCount=transactionManagerCommittedTransactionCumulativeCount, platform=platform, platformPlatformStatus=platformPlatformStatus, asynchronousEventQueueEventProcessingMinTime=asynchronousEventQueueEventProcessingMinTime, transactionManagerActiveTransactionMinCount=transactionManagerActiveTransactionMinCount, lockManagerLockedItemCurrentCount=lockManagerLockedItemCurrentCount, asynchronousEventQueueEventProcessingMaxTime=asynchronousEventQueueEventProcessingMaxTime, slsConnectionLicenseCheckSuccessCumulativeCount=slsConnectionLicenseCheckSuccessCumulativeCount, sqlPoolXACheckedOutConnectionCumulativeCount=sqlPoolXACheckedOutConnectionCumulativeCount, transactionManagerTransactionMaxTime=transactionManagerTransactionMaxTime, asynchronousEventQueueProcessedEventCumulativeCount=asynchronousEventQueueProcessedEventCumulativeCount, sqlPoolXATable=sqlPoolXATable)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_size_constraint, constraints_intersection, value_range_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (integer32, object_identity, counter32, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, counter64, notification_type, mib_identifier, iso, module_identity, enterprises, unsigned32, bits, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'ObjectIdentity', 'Counter32', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'Counter64', 'NotificationType', 'MibIdentifier', 'iso', 'ModuleIdentity', 'enterprises', 'Unsigned32', 'Bits', 'TimeTicks') (mac_address, time_interval, textual_convention, date_and_time, display_string, truth_value, storage_type, test_and_incr, row_status) = mibBuilder.importSymbols('SNMPv2-TC', 'MacAddress', 'TimeInterval', 'TextualConvention', 'DateAndTime', 'DisplayString', 'TruthValue', 'StorageType', 'TestAndIncr', 'RowStatus') swapcom = module_identity((1, 3, 6, 1, 4, 1, 11308)) swapcom.setRevisions(('1970-01-01 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: swapcom.setRevisionsDescriptions(('Revision Description',)) if mibBuilder.loadTexts: swapcom.setLastUpdated('2007381648Z') if mibBuilder.loadTexts: swapcom.setOrganization('Organization name') if mibBuilder.loadTexts: swapcom.setContactInfo('Contact information') if mibBuilder.loadTexts: swapcom.setDescription('Description') org = mib_identifier((1, 3)) dod = mib_identifier((1, 3, 6)) internet = mib_identifier((1, 3, 6, 1)) private = mib_identifier((1, 3, 6, 1, 4)) enterprises = mib_identifier((1, 3, 6, 1, 4, 1)) scc = mib_identifier((1, 3, 6, 1, 4, 1, 11308, 3)) platform = mib_identifier((1, 3, 6, 1, 4, 1, 11308, 3, 1)) platform_platform_id = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 1, 1), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: platformPlatformId.setStatus('current') if mibBuilder.loadTexts: platformPlatformId.setDescription('Identifier of the local platform') platform_platform_status = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: platformPlatformStatus.setStatus('current') if mibBuilder.loadTexts: platformPlatformStatus.setDescription('Status of local platform (0=Initializing / 1=Platform initialized / 2=Domains initialized / 3=Platform started and ready') version_table = mib_table((1, 3, 6, 1, 4, 1, 11308, 3, 2)) if mibBuilder.loadTexts: versionTable.setStatus('current') if mibBuilder.loadTexts: versionTable.setDescription('Components version') version_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11308, 3, 2, 1)).setIndexNames((0, 'SWAPCOM-SCC', 'versionProductName')) if mibBuilder.loadTexts: versionEntry.setStatus('current') if mibBuilder.loadTexts: versionEntry.setDescription('The entry for versionTable') version_product_name = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 2, 1, 1), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: versionProductName.setStatus('current') if mibBuilder.loadTexts: versionProductName.setDescription('Name of the component') version_product_version = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 2, 1, 2), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: versionProductVersion.setStatus('current') if mibBuilder.loadTexts: versionProductVersion.setDescription('Version of the component, follows the standard SWAPCOM versioning') version_build_number = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 2, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: versionBuildNumber.setStatus('current') if mibBuilder.loadTexts: versionBuildNumber.setDescription('Component build number') version_build_date = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 2, 1, 4), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: versionBuildDate.setStatus('current') if mibBuilder.loadTexts: versionBuildDate.setDescription('Component build date') transaction_manager = mib_identifier((1, 3, 6, 1, 4, 1, 11308, 3, 3)) transaction_manager_long_transaction_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 1), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: transactionManagerLongTransactionThreshold.setStatus('current') if mibBuilder.loadTexts: transactionManagerLongTransactionThreshold.setDescription('Threshold duration for long transaction detection') transaction_manager_active_transaction_current_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: transactionManagerActiveTransactionCurrentCount.setStatus('current') if mibBuilder.loadTexts: transactionManagerActiveTransactionCurrentCount.setDescription('Number of current active transaction') transaction_manager_active_transaction_min_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: transactionManagerActiveTransactionMinCount.setStatus('current') if mibBuilder.loadTexts: transactionManagerActiveTransactionMinCount.setDescription('Minimum number of active transaction') transaction_manager_active_transaction_max_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: transactionManagerActiveTransactionMaxCount.setStatus('current') if mibBuilder.loadTexts: transactionManagerActiveTransactionMaxCount.setDescription('Maximum number of active transaction') transaction_manager_committed_transaction_cumulative_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: transactionManagerCommittedTransactionCumulativeCount.setStatus('current') if mibBuilder.loadTexts: transactionManagerCommittedTransactionCumulativeCount.setDescription('Number of transaction committed') transaction_manager_rolledback_transaction_cumulative_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: transactionManagerRolledbackTransactionCumulativeCount.setStatus('current') if mibBuilder.loadTexts: transactionManagerRolledbackTransactionCumulativeCount.setDescription('Number of transaction rollbacked') transaction_manager_transaction_cumulative_time = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 7), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: transactionManagerTransactionCumulativeTime.setStatus('current') if mibBuilder.loadTexts: transactionManagerTransactionCumulativeTime.setDescription('Cumulative transaction time') transaction_manager_transaction_min_time = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 8), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: transactionManagerTransactionMinTime.setStatus('current') if mibBuilder.loadTexts: transactionManagerTransactionMinTime.setDescription('Minimum transaction duration time') transaction_manager_transaction_max_time = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 9), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: transactionManagerTransactionMaxTime.setStatus('current') if mibBuilder.loadTexts: transactionManagerTransactionMaxTime.setDescription('Maximum transaction duration time') transaction_manager_transaction_manager_last_error = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 3, 10), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: transactionManagerTransactionManagerLastError.setStatus('current') if mibBuilder.loadTexts: transactionManagerTransactionManagerLastError.setDescription('Last error message that occured in the transaction manager') lock_manager = mib_identifier((1, 3, 6, 1, 4, 1, 11308, 3, 4)) lock_manager_locked_item_cumulative_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lockManagerLockedItemCumulativeCount.setStatus('current') if mibBuilder.loadTexts: lockManagerLockedItemCumulativeCount.setDescription('Number of lock acquired') lock_manager_locked_item_current_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lockManagerLockedItemCurrentCount.setStatus('current') if mibBuilder.loadTexts: lockManagerLockedItemCurrentCount.setDescription('Number of currenty locked objects') lock_manager_locked_item_min_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lockManagerLockedItemMinCount.setStatus('current') if mibBuilder.loadTexts: lockManagerLockedItemMinCount.setDescription('Minimum number of locked objects') lock_manager_locked_item_max_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lockManagerLockedItemMaxCount.setStatus('current') if mibBuilder.loadTexts: lockManagerLockedItemMaxCount.setDescription('Maximum number of locked objects') lock_manager_lock_rejected_on_deadlock_cumulative_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lockManagerLockRejectedOnDeadlockCumulativeCount.setStatus('current') if mibBuilder.loadTexts: lockManagerLockRejectedOnDeadlockCumulativeCount.setDescription('Number of lock rejected on deadlock') lock_manager_lock_rejected_on_timeout_cumulative_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lockManagerLockRejectedOnTimeoutCumulativeCount.setStatus('current') if mibBuilder.loadTexts: lockManagerLockRejectedOnTimeoutCumulativeCount.setDescription('Number of lock rejected on timeout') lock_manager_blocked_transaction_current_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lockManagerBlockedTransactionCurrentCount.setStatus('current') if mibBuilder.loadTexts: lockManagerBlockedTransactionCurrentCount.setDescription('Number of currently blocked transaction in lockmanager') lock_manager_blocked_transaction_min_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lockManagerBlockedTransactionMinCount.setStatus('current') if mibBuilder.loadTexts: lockManagerBlockedTransactionMinCount.setDescription('Minimum number of blocked transaction in lockmanager') lock_manager_blocked_transaction_max_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 4, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lockManagerBlockedTransactionMaxCount.setStatus('current') if mibBuilder.loadTexts: lockManagerBlockedTransactionMaxCount.setDescription('Maximum number of blocked transaction in lockmanager') scheduler_task_table = mib_table((1, 3, 6, 1, 4, 1, 11308, 3, 5)) if mibBuilder.loadTexts: schedulerTaskTable.setStatus('current') if mibBuilder.loadTexts: schedulerTaskTable.setDescription('Status of tasks registered in the scheduler') scheduler_task_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1)).setIndexNames((0, 'SWAPCOM-SCC', 'schedulerTaskName')) if mibBuilder.loadTexts: schedulerTaskEntry.setStatus('current') if mibBuilder.loadTexts: schedulerTaskEntry.setDescription('The entry for schedulerTaskTable') scheduler_task_name = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 1), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: schedulerTaskName.setStatus('current') if mibBuilder.loadTexts: schedulerTaskName.setDescription('Name of the task') scheduler_task_running = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: schedulerTaskRunning.setStatus('current') if mibBuilder.loadTexts: schedulerTaskRunning.setDescription('Indicate if the task is currenlty being executed') scheduler_task_execution_cumulative_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: schedulerTaskExecutionCumulativeCount.setStatus('current') if mibBuilder.loadTexts: schedulerTaskExecutionCumulativeCount.setDescription('Number of executions succesfully done') scheduler_task_execution_cumulative_time = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: schedulerTaskExecutionCumulativeTime.setStatus('current') if mibBuilder.loadTexts: schedulerTaskExecutionCumulativeTime.setDescription('Cumulative processing time (success and failure)') scheduler_task_execution_min_time = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: schedulerTaskExecutionMinTime.setStatus('current') if mibBuilder.loadTexts: schedulerTaskExecutionMinTime.setDescription('Minimum processing time of the task') scheduler_task_execution_max_time = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 6), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: schedulerTaskExecutionMaxTime.setStatus('current') if mibBuilder.loadTexts: schedulerTaskExecutionMaxTime.setDescription('Maximum processing time of the task') scheduler_task_execution_retry_current_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: schedulerTaskExecutionRetryCurrentCount.setStatus('current') if mibBuilder.loadTexts: schedulerTaskExecutionRetryCurrentCount.setDescription('Number of execution failure') scheduler_task_execution_last_error = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 5, 1, 8), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: schedulerTaskExecutionLastError.setStatus('current') if mibBuilder.loadTexts: schedulerTaskExecutionLastError.setDescription('Message of the last execution failure') alarm_probe_table = mib_table((1, 3, 6, 1, 4, 1, 11308, 3, 12)) if mibBuilder.loadTexts: alarmProbeTable.setStatus('current') if mibBuilder.loadTexts: alarmProbeTable.setDescription('Alarm probes status of the platform') alarm_probe_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11308, 3, 12, 1)).setIndexNames((0, 'SWAPCOM-SCC', 'alarmProbeAlertType'), (0, 'SWAPCOM-SCC', 'alarmProbeAlertSource')) if mibBuilder.loadTexts: alarmProbeEntry.setStatus('current') if mibBuilder.loadTexts: alarmProbeEntry.setDescription('The entry for alarmProbeTable') alarm_probe_alert_type = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 12, 1, 1), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: alarmProbeAlertType.setStatus('current') if mibBuilder.loadTexts: alarmProbeAlertType.setDescription('Type of the probe alarm') alarm_probe_alert_source = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 12, 1, 2), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: alarmProbeAlertSource.setStatus('current') if mibBuilder.loadTexts: alarmProbeAlertSource.setDescription('Source of the probe alarm') alarm_probe_severity = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 12, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: alarmProbeSeverity.setStatus('current') if mibBuilder.loadTexts: alarmProbeSeverity.setDescription('Current severity of the probe') alarm_probe_last_severity_change = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 12, 1, 4), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: alarmProbeLastSeverityChange.setStatus('current') if mibBuilder.loadTexts: alarmProbeLastSeverityChange.setDescription('Date of the last severity value change') remote_platform_table = mib_table((1, 3, 6, 1, 4, 1, 11308, 3, 21)) if mibBuilder.loadTexts: remotePlatformTable.setStatus('current') if mibBuilder.loadTexts: remotePlatformTable.setDescription('Remote platform connected to this one') remote_platform_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11308, 3, 21, 1)).setIndexNames((0, 'SWAPCOM-SCC', 'remotePlatformPlatformId')) if mibBuilder.loadTexts: remotePlatformEntry.setStatus('current') if mibBuilder.loadTexts: remotePlatformEntry.setDescription('The entry for remotePlatformTable') remote_platform_platform_id = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 21, 1, 1), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: remotePlatformPlatformId.setStatus('current') if mibBuilder.loadTexts: remotePlatformPlatformId.setDescription('Identifier of the remote platform') remote_platform_platform_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 21, 1, 2), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: remotePlatformPlatformProtocol.setStatus('current') if mibBuilder.loadTexts: remotePlatformPlatformProtocol.setDescription('Protocol used to communicate with the remote platform') remote_platform_remote_platform_status = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 21, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: remotePlatformRemotePlatformStatus.setStatus('current') if mibBuilder.loadTexts: remotePlatformRemotePlatformStatus.setDescription('Status of the remote platform connection (-2=unknown / -1=down / 3=up)') asynchronous_event_queue_table = mib_table((1, 3, 6, 1, 4, 1, 11308, 3, 22)) if mibBuilder.loadTexts: asynchronousEventQueueTable.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueTable.setDescription('Asynchronous event queues status') asynchronous_event_queue_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1)).setIndexNames((0, 'SWAPCOM-SCC', 'asynchronousEventQueuePlatformId')) if mibBuilder.loadTexts: asynchronousEventQueueEntry.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueEntry.setDescription('The entry for asynchronousEventQueueTable') asynchronous_event_queue_platform_id = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 1), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: asynchronousEventQueuePlatformId.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueuePlatformId.setDescription('Identifier of the platform events queue') asynchronous_event_queue_inserted_event_cumulative_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: asynchronousEventQueueInsertedEventCumulativeCount.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueInsertedEventCumulativeCount.setDescription('Number of generated asynchronous events') asynchronous_event_queue_waiting_event_current_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: asynchronousEventQueueWaitingEventCurrentCount.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueWaitingEventCurrentCount.setDescription('Number of events that are pending in the send queue') asynchronous_event_queue_waiting_event_min_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: asynchronousEventQueueWaitingEventMinCount.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueWaitingEventMinCount.setDescription('Minimum number of events pending in the send queue') asynchronous_event_queue_waiting_event_max_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: asynchronousEventQueueWaitingEventMaxCount.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueWaitingEventMaxCount.setDescription('Maximum number of events pending in the send queue') asynchronous_event_queue_processed_event_cumulative_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: asynchronousEventQueueProcessedEventCumulativeCount.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueProcessedEventCumulativeCount.setDescription('Number of successfully sent asynchronous events') asynchronous_event_queue_event_processing_cumulative_time = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 7), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: asynchronousEventQueueEventProcessingCumulativeTime.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueEventProcessingCumulativeTime.setDescription('Cumulated time of event processing') asynchronous_event_queue_event_processing_min_time = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 8), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: asynchronousEventQueueEventProcessingMinTime.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueEventProcessingMinTime.setDescription('Minimum event processing time') asynchronous_event_queue_event_processing_max_time = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 9), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: asynchronousEventQueueEventProcessingMaxTime.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueEventProcessingMaxTime.setDescription('Maximum event processing time') asynchronous_event_queue_failed_event_cumulative_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: asynchronousEventQueueFailedEventCumulativeCount.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueFailedEventCumulativeCount.setDescription("Number of asynchronous events in the 'failed' queue") asynchronous_event_queue_failed_event_last_error = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 22, 1, 11), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: asynchronousEventQueueFailedEventLastError.setStatus('current') if mibBuilder.loadTexts: asynchronousEventQueueFailedEventLastError.setDescription('Last error message of events process failure') sls_connection = mib_identifier((1, 3, 6, 1, 4, 1, 11308, 3, 23)) sls_connection_connected = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 23, 1), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: slsConnectionConnected.setStatus('current') if mibBuilder.loadTexts: slsConnectionConnected.setDescription('Indicate if the platform is connected to the SLS') sls_connection_license_check_success_cumulative_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 23, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: slsConnectionLicenseCheckSuccessCumulativeCount.setStatus('current') if mibBuilder.loadTexts: slsConnectionLicenseCheckSuccessCumulativeCount.setDescription('Number of successfull license check') sls_connection_license_check_failed_cumulative_count = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 23, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: slsConnectionLicenseCheckFailedCumulativeCount.setStatus('current') if mibBuilder.loadTexts: slsConnectionLicenseCheckFailedCumulativeCount.setDescription('Number of failed license check') sls_connection_license_check_last_error = mib_scalar((1, 3, 6, 1, 4, 1, 11308, 3, 23, 4), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: slsConnectionLicenseCheckLastError.setStatus('current') if mibBuilder.loadTexts: slsConnectionLicenseCheckLastError.setDescription('Last error message that occured in the SLS connection') sql_pool_xa_table = mib_table((1, 3, 6, 1, 4, 1, 11308, 3, 24)) if mibBuilder.loadTexts: sqlPoolXATable.setStatus('current') if mibBuilder.loadTexts: sqlPoolXATable.setDescription('SQLPool status and properties') sql_pool_xa_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1)).setIndexNames((0, 'SWAPCOM-SCC', 'sqlPoolXAName')) if mibBuilder.loadTexts: sqlPoolXAEntry.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAEntry.setDescription('The entry for sqlPoolXATable') sql_pool_xa_name = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 1), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXAName.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAName.setDescription('Name of the connection pool') sql_pool_xa_sql_platform_name = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 2), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXASqlPlatformName.setStatus('current') if mibBuilder.loadTexts: sqlPoolXASqlPlatformName.setDescription('Detected database type') sql_pool_xa_database_name = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 3), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXADatabaseName.setStatus('current') if mibBuilder.loadTexts: sqlPoolXADatabaseName.setDescription('Raw database name') sql_pool_xa_driver_name = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 4), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXADriverName.setStatus('current') if mibBuilder.loadTexts: sqlPoolXADriverName.setDescription('Name of the JDBC driver') sql_pool_xa_driver_class_name = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 5), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXADriverClassName.setStatus('current') if mibBuilder.loadTexts: sqlPoolXADriverClassName.setDescription('Name of the JDBC driver class') sql_pool_xa_maximum_size = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXAMaximumSize.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAMaximumSize.setDescription('Maximum size of connection pool') sql_pool_xa_maximum_idle_time = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 7), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXAMaximumIdleTime.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAMaximumIdleTime.setDescription('Maximum life duration of a connection in the pool') sql_pool_xa_maximum_wait_time = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 8), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXAMaximumWaitTime.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAMaximumWaitTime.setDescription('Maximum waiting time for getting a connection when the pool is exhausted') sql_pool_xa_check_is_closed_interval = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 9), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXACheckIsClosedInterval.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckIsClosedInterval.setDescription('Minimum time between two connection checking') sql_pool_xa_create_connection_success_cumulative_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXACreateConnectionSuccessCumulativeCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACreateConnectionSuccessCumulativeCount.setDescription('Number of connections succesfully created') sql_pool_xa_create_connection_failure_cumulative_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXACreateConnectionFailureCumulativeCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACreateConnectionFailureCumulativeCount.setDescription('Number of connection creation failure') sql_pool_xa_create_connection_last_error = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 12), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXACreateConnectionLastError.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACreateConnectionLastError.setDescription('Last exception message during checkout failure') sql_pool_xa_connection_current_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 13), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXAConnectionCurrentCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAConnectionCurrentCount.setDescription('Current size of the connection pool') sql_pool_xa_connection_min_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 14), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXAConnectionMinCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAConnectionMinCount.setDescription('Minimum size reached by the connection pool') sql_pool_xa_connection_max_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 15), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXAConnectionMaxCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXAConnectionMaxCount.setDescription('Maximum size reached by the connection pool') sql_pool_xa_checked_out_connection_current_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 16), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionCurrentCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionCurrentCount.setDescription('Current number of connection that are checked out from the pool') sql_pool_xa_checked_out_connection_min_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 17), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMinCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMinCount.setDescription('Minimum number of simultaneous checked out connections reached by the pool') sql_pool_xa_checked_out_connection_max_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 18), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMaxCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMaxCount.setDescription('Maximum number of simultaneous checked out connections reached by the pool') sql_pool_xa_checked_out_connection_cumulative_count = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 19), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionCumulativeCount.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionCumulativeCount.setDescription('Number of checkout performed from pool') sql_pool_xa_checked_out_connection_cumulative_time = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 20), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionCumulativeTime.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionCumulativeTime.setDescription('Cumulation of time that the connections are checked out from the pool') sql_pool_xa_checked_out_connection_min_time = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 21), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMinTime.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMinTime.setDescription('Minimum time that a connection has been checked out from the pool') sql_pool_xa_checked_out_connection_max_time = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 22), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMaxTime.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionMaxTime.setDescription('Maximum time that a connection has been checked out from the pool') sql_pool_xa_checked_out_connection_average_time = mib_table_column((1, 3, 6, 1, 4, 1, 11308, 3, 24, 1, 23), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionAverageTime.setStatus('current') if mibBuilder.loadTexts: sqlPoolXACheckedOutConnectionAverageTime.setDescription('Connection checkedout average time (equals to CheckedOutConnectionCumulativeTime divided by CheckedOutConnectionCumulativeCount') mibBuilder.exportSymbols('SWAPCOM-SCC', lockManagerLockRejectedOnTimeoutCumulativeCount=lockManagerLockRejectedOnTimeoutCumulativeCount, versionProductName=versionProductName, transactionManagerTransactionCumulativeTime=transactionManagerTransactionCumulativeTime, sqlPoolXAConnectionMaxCount=sqlPoolXAConnectionMaxCount, lockManagerLockRejectedOnDeadlockCumulativeCount=lockManagerLockRejectedOnDeadlockCumulativeCount, org=org, asynchronousEventQueueFailedEventLastError=asynchronousEventQueueFailedEventLastError, lockManagerLockedItemMinCount=lockManagerLockedItemMinCount, sqlPoolXAConnectionMinCount=sqlPoolXAConnectionMinCount, lockManagerLockedItemMaxCount=lockManagerLockedItemMaxCount, schedulerTaskEntry=schedulerTaskEntry, asynchronousEventQueueFailedEventCumulativeCount=asynchronousEventQueueFailedEventCumulativeCount, sqlPoolXAMaximumWaitTime=sqlPoolXAMaximumWaitTime, alarmProbeAlertType=alarmProbeAlertType, internet=internet, sqlPoolXADatabaseName=sqlPoolXADatabaseName, dod=dod, sqlPoolXACheckedOutConnectionCurrentCount=sqlPoolXACheckedOutConnectionCurrentCount, sqlPoolXADriverClassName=sqlPoolXADriverClassName, schedulerTaskExecutionCumulativeCount=schedulerTaskExecutionCumulativeCount, transactionManagerActiveTransactionCurrentCount=transactionManagerActiveTransactionCurrentCount, sqlPoolXACreateConnectionFailureCumulativeCount=sqlPoolXACreateConnectionFailureCumulativeCount, platformPlatformId=platformPlatformId, remotePlatformPlatformProtocol=remotePlatformPlatformProtocol, schedulerTaskExecutionLastError=schedulerTaskExecutionLastError, transactionManagerRolledbackTransactionCumulativeCount=transactionManagerRolledbackTransactionCumulativeCount, sqlPoolXASqlPlatformName=sqlPoolXASqlPlatformName, lockManagerBlockedTransactionCurrentCount=lockManagerBlockedTransactionCurrentCount, remotePlatformPlatformId=remotePlatformPlatformId, alarmProbeAlertSource=alarmProbeAlertSource, schedulerTaskExecutionMaxTime=schedulerTaskExecutionMaxTime, slsConnectionConnected=slsConnectionConnected, transactionManagerTransactionManagerLastError=transactionManagerTransactionManagerLastError, versionBuildDate=versionBuildDate, asynchronousEventQueueWaitingEventMaxCount=asynchronousEventQueueWaitingEventMaxCount, swapcom=swapcom, alarmProbeLastSeverityChange=alarmProbeLastSeverityChange, sqlPoolXACheckIsClosedInterval=sqlPoolXACheckIsClosedInterval, asynchronousEventQueueEventProcessingCumulativeTime=asynchronousEventQueueEventProcessingCumulativeTime, PYSNMP_MODULE_ID=swapcom, slsConnectionLicenseCheckLastError=slsConnectionLicenseCheckLastError, private=private, lockManager=lockManager, remotePlatformTable=remotePlatformTable, sqlPoolXACheckedOutConnectionAverageTime=sqlPoolXACheckedOutConnectionAverageTime, sqlPoolXACheckedOutConnectionCumulativeTime=sqlPoolXACheckedOutConnectionCumulativeTime, sqlPoolXACheckedOutConnectionMaxTime=sqlPoolXACheckedOutConnectionMaxTime, lockManagerBlockedTransactionMinCount=lockManagerBlockedTransactionMinCount, asynchronousEventQueueWaitingEventMinCount=asynchronousEventQueueWaitingEventMinCount, lockManagerBlockedTransactionMaxCount=lockManagerBlockedTransactionMaxCount, schedulerTaskTable=schedulerTaskTable, sqlPoolXAConnectionCurrentCount=sqlPoolXAConnectionCurrentCount, transactionManager=transactionManager, schedulerTaskName=schedulerTaskName, sqlPoolXAEntry=sqlPoolXAEntry, remotePlatformRemotePlatformStatus=remotePlatformRemotePlatformStatus, alarmProbeEntry=alarmProbeEntry, sqlPoolXACreateConnectionLastError=sqlPoolXACreateConnectionLastError, sqlPoolXACheckedOutConnectionMinCount=sqlPoolXACheckedOutConnectionMinCount, slsConnection=slsConnection, sqlPoolXAName=sqlPoolXAName, sqlPoolXAMaximumIdleTime=sqlPoolXAMaximumIdleTime, transactionManagerTransactionMinTime=transactionManagerTransactionMinTime, sqlPoolXACreateConnectionSuccessCumulativeCount=sqlPoolXACreateConnectionSuccessCumulativeCount, versionProductVersion=versionProductVersion, alarmProbeTable=alarmProbeTable, asynchronousEventQueueWaitingEventCurrentCount=asynchronousEventQueueWaitingEventCurrentCount, asynchronousEventQueueEntry=asynchronousEventQueueEntry, remotePlatformEntry=remotePlatformEntry, asynchronousEventQueuePlatformId=asynchronousEventQueuePlatformId, sqlPoolXACheckedOutConnectionMaxCount=sqlPoolXACheckedOutConnectionMaxCount, schedulerTaskRunning=schedulerTaskRunning, asynchronousEventQueueTable=asynchronousEventQueueTable, transactionManagerActiveTransactionMaxCount=transactionManagerActiveTransactionMaxCount, alarmProbeSeverity=alarmProbeSeverity, versionTable=versionTable, versionEntry=versionEntry, sqlPoolXAMaximumSize=sqlPoolXAMaximumSize, schedulerTaskExecutionMinTime=schedulerTaskExecutionMinTime, asynchronousEventQueueInsertedEventCumulativeCount=asynchronousEventQueueInsertedEventCumulativeCount, schedulerTaskExecutionRetryCurrentCount=schedulerTaskExecutionRetryCurrentCount, schedulerTaskExecutionCumulativeTime=schedulerTaskExecutionCumulativeTime, lockManagerLockedItemCumulativeCount=lockManagerLockedItemCumulativeCount, sqlPoolXACheckedOutConnectionMinTime=sqlPoolXACheckedOutConnectionMinTime, slsConnectionLicenseCheckFailedCumulativeCount=slsConnectionLicenseCheckFailedCumulativeCount, transactionManagerLongTransactionThreshold=transactionManagerLongTransactionThreshold, versionBuildNumber=versionBuildNumber, enterprises=enterprises, sqlPoolXADriverName=sqlPoolXADriverName, scc=scc, transactionManagerCommittedTransactionCumulativeCount=transactionManagerCommittedTransactionCumulativeCount, platform=platform, platformPlatformStatus=platformPlatformStatus, asynchronousEventQueueEventProcessingMinTime=asynchronousEventQueueEventProcessingMinTime, transactionManagerActiveTransactionMinCount=transactionManagerActiveTransactionMinCount, lockManagerLockedItemCurrentCount=lockManagerLockedItemCurrentCount, asynchronousEventQueueEventProcessingMaxTime=asynchronousEventQueueEventProcessingMaxTime, slsConnectionLicenseCheckSuccessCumulativeCount=slsConnectionLicenseCheckSuccessCumulativeCount, sqlPoolXACheckedOutConnectionCumulativeCount=sqlPoolXACheckedOutConnectionCumulativeCount, transactionManagerTransactionMaxTime=transactionManagerTransactionMaxTime, asynchronousEventQueueProcessedEventCumulativeCount=asynchronousEventQueueProcessedEventCumulativeCount, sqlPoolXATable=sqlPoolXATable)
DISCRETE = 0 CONTINUOUS = 1 INITIAL = 0 INTERMEDIATE = 1 FINAL = 2
discrete = 0 continuous = 1 initial = 0 intermediate = 1 final = 2
# python3 def read_input(): return (input().rstrip(), input().rstrip()) def print_occurrences(output): print(' '.join(map(str, output))) def PolyHash(s, prime, multiplier): hash = 0 for c in reversed(s): hash = (hash * multiplier + ord(c)) % prime return hash def PrecomputeHashes(text, len_pattern, prime, multiplier): H = [None] * (len(text) - len_pattern + 1) S = text[len(text) - len_pattern:] H[len(text) - len_pattern] = PolyHash(S, prime, multiplier) y = 1 for i in range(len_pattern): y = (y * multiplier) % prime for i in range(len(text) - len_pattern - 1, -1, -1): H[i] = (multiplier * H[i + 1] + ord(text[i]) - y * ord(text[i + len_pattern])) % prime return H def get_occurrences(pattern, text): result = [] prime = 1610612741 multiplier = 263 p_hash = PolyHash(pattern, prime, multiplier) H = PrecomputeHashes(text, len(pattern), prime, multiplier) for i in range(len(text) - len(pattern) + 1): if (p_hash == H[i]) and (text[i:i + len(pattern)] == pattern): result.append(i) return result if __name__ == '__main__': print_occurrences(get_occurrences(*read_input()))
def read_input(): return (input().rstrip(), input().rstrip()) def print_occurrences(output): print(' '.join(map(str, output))) def poly_hash(s, prime, multiplier): hash = 0 for c in reversed(s): hash = (hash * multiplier + ord(c)) % prime return hash def precompute_hashes(text, len_pattern, prime, multiplier): h = [None] * (len(text) - len_pattern + 1) s = text[len(text) - len_pattern:] H[len(text) - len_pattern] = poly_hash(S, prime, multiplier) y = 1 for i in range(len_pattern): y = y * multiplier % prime for i in range(len(text) - len_pattern - 1, -1, -1): H[i] = (multiplier * H[i + 1] + ord(text[i]) - y * ord(text[i + len_pattern])) % prime return H def get_occurrences(pattern, text): result = [] prime = 1610612741 multiplier = 263 p_hash = poly_hash(pattern, prime, multiplier) h = precompute_hashes(text, len(pattern), prime, multiplier) for i in range(len(text) - len(pattern) + 1): if p_hash == H[i] and text[i:i + len(pattern)] == pattern: result.append(i) return result if __name__ == '__main__': print_occurrences(get_occurrences(*read_input()))
#!/usr/bin/env python ''' Copyright (C) 2020, WAFW00F Developers. See the LICENSE file for copying permission. ''' NAME = 'LiteSpeed (LiteSpeed Technologies)' def is_waf(self): schema1 = [ self.matchHeader(('Server', 'LiteSpeed')), self.matchStatus(403) ] schema2 = [ self.matchContent(r'Proudly powered by litespeed web server'), self.matchContent(r'www\.litespeedtech\.com/error\-page') ] if all(i for i in schema1): return True if any(i for i in schema2): return True return False
""" Copyright (C) 2020, WAFW00F Developers. See the LICENSE file for copying permission. """ name = 'LiteSpeed (LiteSpeed Technologies)' def is_waf(self): schema1 = [self.matchHeader(('Server', 'LiteSpeed')), self.matchStatus(403)] schema2 = [self.matchContent('Proudly powered by litespeed web server'), self.matchContent('www\\.litespeedtech\\.com/error\\-page')] if all((i for i in schema1)): return True if any((i for i in schema2)): return True return False
'''(Binary Search Special Trick Unknown length [M]): Given a sorted array whose length is not known, perform binary search for a target T. Do the search in O(log(n)) time.''' def binarySearchOverRange(arr, T, low, high): while low <= high: mid = low + (high - low) // 2 if arr[mid] == T: return mid elif arr[mid] < T: low = mid + 1 else: high = mid - 1 return -1 def binarySearchForLastIndex(arr, low, high): while low <= high: mid = low + (high - low) // 2 try: temp = arr[mid] except Exception as e: # mid is out of bounds, go to lower half high = mid - 1 continue try: temp = arr[mid + 1] except Exception as e: # mid + 1 is out of bounds, mid is last index return mid # both mid and mid + 1 are inside array, mid is not last index low = mid + 1 # this does not have end of the array return -1 def findWithUnknownLength(arr, T): # 1,2,4,8,16,32 high = 1 lastIndex = -1 # consider putting a sanity limit here, don't go more # than index 1 million. while True: try: temp = arr[high] except Exception as e: lastIndex = binarySearchForLastIndex(arr, high // 2, high) break high *= 2 return binarySearchOverRange(arr, T, 0, lastIndex) print(findWithUnknownLength([1,2,5,6,9,10], 5)) # Output: 2 -> lets imagine out input is unknown :) # Time: O(logn) Space: O(1)
"""(Binary Search Special Trick Unknown length [M]): Given a sorted array whose length is not known, perform binary search for a target T. Do the search in O(log(n)) time.""" def binary_search_over_range(arr, T, low, high): while low <= high: mid = low + (high - low) // 2 if arr[mid] == T: return mid elif arr[mid] < T: low = mid + 1 else: high = mid - 1 return -1 def binary_search_for_last_index(arr, low, high): while low <= high: mid = low + (high - low) // 2 try: temp = arr[mid] except Exception as e: high = mid - 1 continue try: temp = arr[mid + 1] except Exception as e: return mid low = mid + 1 return -1 def find_with_unknown_length(arr, T): high = 1 last_index = -1 while True: try: temp = arr[high] except Exception as e: last_index = binary_search_for_last_index(arr, high // 2, high) break high *= 2 return binary_search_over_range(arr, T, 0, lastIndex) print(find_with_unknown_length([1, 2, 5, 6, 9, 10], 5))
def lengthOfLongestSubstring(self, s: str) -> int: valueMap = dict() pointer = 0 maxLen = 0 for i in range(len(s)): char = s[i] if char in valueMap and pointer <= valueMap[char]: pointer = valueMap[char] + 1 valueMap[char] = i diff = i - pointer + 1 maxLen = max(diff, maxLen) return maxLen
def length_of_longest_substring(self, s: str) -> int: value_map = dict() pointer = 0 max_len = 0 for i in range(len(s)): char = s[i] if char in valueMap and pointer <= valueMap[char]: pointer = valueMap[char] + 1 valueMap[char] = i diff = i - pointer + 1 max_len = max(diff, maxLen) return maxLen
# Singly-linked lists are already defined with this interface: class ListNode(object): def __init__(self, x): self.value = x self.next = None def condense_linked_list(node): # Reference the current node's value current = node # List to store the values condensed_list = [] # Loop through the list while current: # If the current value is already in the list if current.value in condensed_list: # Delete it current.value = None # Otherwise, append the current value to the list else: condensed_list.append(current.value) # Move to the next node current = current.next return condensed_list
class Listnode(object): def __init__(self, x): self.value = x self.next = None def condense_linked_list(node): current = node condensed_list = [] while current: if current.value in condensed_list: current.value = None else: condensed_list.append(current.value) current = current.next return condensed_list
print("Anand K S") print("AM.EN.U4CSE19106") print("S1 CSE B") print("Marvel rockz")
print('Anand K S') print('AM.EN.U4CSE19106') print('S1 CSE B') print('Marvel rockz')
ct = "eae4a5b1aad7964ec9f1f0bff0229cf1a11b22b11bfefecc9922aaf4bff0dd3c88" ct = bytes.fromhex(ct) flag = "" initialize = 0 for i in range(len(ct)): for val in range(256): if (initialize ^ (val<<2)^val)&0xff == ct[i]: flag += chr(val) initialize ^= (val<<2)^val initialize >>=8 break print(flag) #batpwn{Ch00se_y0uR_pR3fix_w1selY}
ct = 'eae4a5b1aad7964ec9f1f0bff0229cf1a11b22b11bfefecc9922aaf4bff0dd3c88' ct = bytes.fromhex(ct) flag = '' initialize = 0 for i in range(len(ct)): for val in range(256): if (initialize ^ val << 2 ^ val) & 255 == ct[i]: flag += chr(val) initialize ^= val << 2 ^ val initialize >>= 8 break print(flag)
#!/usr/bin/env python # coding: utf-8 # In[ ]: # Yelp Key ID = "Enter Your Yelp ID Here" ykey = "Enter your Yelp API Key Here"
id = 'Enter Your Yelp ID Here' ykey = 'Enter your Yelp API Key Here'
class Solution: def subtractProductAndSum(self, n: int) -> int: n = str(n) s = 0 p = 1 for c in n: c = int(c) s += c p *= c return p - s
class Solution: def subtract_product_and_sum(self, n: int) -> int: n = str(n) s = 0 p = 1 for c in n: c = int(c) s += c p *= c return p - s
#!/usr/bin/env python3 # Dictionaries map a value to a key, hence a value can be # called using the key. # 1. They ar3333i3ie mutable, ie. they can be changed. # 3. They are surrounded by curly {} brackets. # 3. They are indexed using square [] brackets. # 4. Key and Value pairs are separated by columns ":" # 5. Each pair of key/value pairs are separated by commas ",". # 6. Dicts return values not in any order. # 7. collections.OrderedDict() gives an ordered dictionary. # Create a dict mydict1 = {} # Add values to the dict. mydict1["host1"] = "A.B.C.D" mydict1["host2"] = "E.F.G.H" print(mydict1) # Remove values del mydict1["host2"] print(mydict1) # Check if a key exists in a dict. "host2" in mydict1 "host1" in mydict1 # Add elements to the dictionary mydict1["host3"] = "I.J.K.L" mydict1["host4"] = "M.N.O.P" print(mydict1) # Check the length of the dictionary print(len(mydict1)) print(mydict1.keys()) released = { "IPhone": 2007, "IPhone 3G": 2008, "IPhone 3GS": 2009, "IPhone 4": 2010, "IPhone 4S": 2011, "IPhone 5": 2012, "IPhone 5s": 2013, "IPhone SE": 2016, } for i, j in released.items(): print("{0} was released in {1}".format(i, j)) # Change a value for a specific key print("Changing the value for a key") released["IPhone"] = 2006 released["IPhone"] += 1 print(released["IPhone"]) released["IPhone"] -= 1 print(released["IPhone"])
mydict1 = {} mydict1['host1'] = 'A.B.C.D' mydict1['host2'] = 'E.F.G.H' print(mydict1) del mydict1['host2'] print(mydict1) 'host2' in mydict1 'host1' in mydict1 mydict1['host3'] = 'I.J.K.L' mydict1['host4'] = 'M.N.O.P' print(mydict1) print(len(mydict1)) print(mydict1.keys()) released = {'IPhone': 2007, 'IPhone 3G': 2008, 'IPhone 3GS': 2009, 'IPhone 4': 2010, 'IPhone 4S': 2011, 'IPhone 5': 2012, 'IPhone 5s': 2013, 'IPhone SE': 2016} for (i, j) in released.items(): print('{0} was released in {1}'.format(i, j)) print('Changing the value for a key') released['IPhone'] = 2006 released['IPhone'] += 1 print(released['IPhone']) released['IPhone'] -= 1 print(released['IPhone'])
class RequestError(Exception): def __init__(self, message: str, code: int): super(RequestError, self).__init__(message) self.code = code
class Requesterror(Exception): def __init__(self, message: str, code: int): super(RequestError, self).__init__(message) self.code = code
# this is the default configuration file for cage interfaces # # request_timeout is conceptually the most far reaching parameter # here, it is one of the guarantees for the entire cage - that it # responds within that time, even though the response is a failure # # thread_count limits the number of threads in the cage's main # processing thread pool, thus effectively the number of requests # being processed concurrently, no matter which interface they # arrived from; this behaviour of processing stuff with pools of # worker threads while putting the excessive work on queue is one # of the design principles of Pythomnic3k # # log_level can be changed at runtime to temporarily increase logging # verbosity (set to "DEBUG") to see wtf is going on config = dict \ ( interfaces = ("performance", "rpc", "retry"), # tuple containing names of interfaces to start request_timeout = 10.0, # global request timeout for this cage thread_count = 10, # interfaces worker thread pool size sweep_period = 15.0, # time between scanning all pools for expired objects log_level = "INFO", # one of "ERROR", "WARNING", "LOG", "INFO", "DEBUG", "NOISE" ) # DO NOT TOUCH BELOW THIS LINE __all__ = [ "get", "copy" ] get = lambda key, default = None: pmnc.config.get_(config, {}, key, default) copy = lambda: pmnc.config.copy_(config, {}) # EOF
config = dict(interfaces=('performance', 'rpc', 'retry'), request_timeout=10.0, thread_count=10, sweep_period=15.0, log_level='INFO') __all__ = ['get', 'copy'] get = lambda key, default=None: pmnc.config.get_(config, {}, key, default) copy = lambda : pmnc.config.copy_(config, {})
def cyclical(length=100, relative_min=0.1): '''Also known as triangular, https://arxiv.org/pdf/1506.01186.pdf''' half = length / 2 def _cyclical(step, multiplier): return ( step, multiplier * ( relative_min + (1 - relative_min) * abs( ((step - 1) % length - half) / (half - 1) ) ) ) return _cyclical
def cyclical(length=100, relative_min=0.1): """Also known as triangular, https://arxiv.org/pdf/1506.01186.pdf""" half = length / 2 def _cyclical(step, multiplier): return (step, multiplier * (relative_min + (1 - relative_min) * abs(((step - 1) % length - half) / (half - 1)))) return _cyclical
L = int(input()) C = int(input()) t2 = (((L - 1) + (C - 1)) * 2) t1 = (L * C) + ((L - 1) * (C - 1)) print(f"{t1}\n{t2}")
l = int(input()) c = int(input()) t2 = (L - 1 + (C - 1)) * 2 t1 = L * C + (L - 1) * (C - 1) print(f'{t1}\n{t2}')
class usuario (): "Clase que representa una persona." def __init__(self, dni, nombre, apellido): "Constructor de Persona" self.dni = dni self.nombre = nombre self.apellido = apellido def carritoCompras(self,carrito): self.carrito=carrito return def __str__(self): return f"{self.dni}{self.nombre}{self.apellido}"
class Usuario: """Clase que representa una persona.""" def __init__(self, dni, nombre, apellido): """Constructor de Persona""" self.dni = dni self.nombre = nombre self.apellido = apellido def carrito_compras(self, carrito): self.carrito = carrito return def __str__(self): return f'{self.dni}{self.nombre}{self.apellido}'
class AlreadyInDatabase(Exception): pass class MissingUnit(Exception): pass
class Alreadyindatabase(Exception): pass class Missingunit(Exception): pass
name0_1_0_0_0_0_0 = None name0_1_0_0_0_0_1 = None name0_1_0_0_0_0_2 = None name0_1_0_0_0_0_3 = None name0_1_0_0_0_0_4 = None
name0_1_0_0_0_0_0 = None name0_1_0_0_0_0_1 = None name0_1_0_0_0_0_2 = None name0_1_0_0_0_0_3 = None name0_1_0_0_0_0_4 = None