content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
FONT_NAME = "Verdana" FONT_SIZE1 = "10" FONT_SIZE2 = "11" FONT_SIZE3 = "7" FONT_SIZE4 = "8" COLORS_ABBREVIATED_AUTHOR_NAME = ("#1565C0", "#6A1B9A", "#1A237E", "#311B92", "#4527A0", "#5E35B1", "#4A148C", "#01579B", "#3949AB", "#7B1FA2", "#283593") DEFAULT_FG_COLOR = "#4E5A66" SECOND_FG_COLOR = "#FFFFFF" THRID_FG_COLOR = "#000000" COMMENT_FG_COLOR_LOADED_STATE = "#838b95" TIME_COMMENT_FG_COLOR_READ_STATE = "#808080" DEFAULT_BG_COLOR = "#FFFFFF" SECOND_BG_COLOR = "#06172A" DEFAULT_BC_HIGHLIGHT_COLOR = "#0087E0" SECOND_BC_HIGHLIGHT_COLOR = "#FFFFFF" CONTROLS_BG_COLOR = "#06172a" FILE_CONTAINER1_PADX = 40 FILE_CONTAINER1_PADY = 10 FILE_CONTAINER2_PADX = 140 FILE_CONTAINER2_PADY = 10 LABEL1_TEXT = "Enter the full path of the txt file:" LABEL4_INITIAL_TEXT = " / 00:00:00" IMAGE_PATH_BTN_OPEN_LEAVE = "UI/open_file_btn.png" IMAGE_PATH_BTN_OPEN_ENTER = "UI/open_file_btn_enter.png" IMAGE_PATH_BTN_PLAY_LEAVE = "UI/play_btn.png" IMAGE_PATH_BTN_PLAY_ENTER = "UI/play_btn_enter.png" IMAGE_PATH_BTN_PAUSE_LEAVE = "UI/pause_btn.png" IMAGE_PATH_BTN_PAUSE_ENTER = "UI/pause_btn_enter.png" IMAGE_PATH_CONTROLS_BAR = "UI/controls_bar.png" IMAGE_PATH_TIME_BAR = "UI/time_bar.png" IMAGE_PATH_CURRENT_TIME_BAR = "UI/current_time_bar.png" OPTION_MENU1_VALUES = ("2x", "1.75x", "1.5x", "1.25x", "1x", "0.5x") DEFAULT_OPTION_MENU1_VALUE = "1x" IMAGE_PATH_TIME_BAR_SIZE_MIN = (302, 6) IMAGE_PATH_TIME_BAR_SIZE_MAX = (302, 11) ETR_CURRENT_TIME_NAME = "etrCurrentTime" ETR_CURRENT_TIME_SEPARATOR = ":" ETR_CURRENT_TIME_WARNING_TITLE_MSG = "Current Time Attention" ETR_CURRENT_TIME_WARNING_TEXT_MSG = "Current time is not correct. Expected format: hh:mm:ss." STATUS_BAR_CLOSE_PROGRAM = "Saindo..." MSG_BOX_CLOSE_PROGRAM_TITLE = "Quit" MSG_BOX_CLOSE_PROGRAM_TEXT = "Do you really want to quit?"
font_name = 'Verdana' font_size1 = '10' font_size2 = '11' font_size3 = '7' font_size4 = '8' colors_abbreviated_author_name = ('#1565C0', '#6A1B9A', '#1A237E', '#311B92', '#4527A0', '#5E35B1', '#4A148C', '#01579B', '#3949AB', '#7B1FA2', '#283593') default_fg_color = '#4E5A66' second_fg_color = '#FFFFFF' thrid_fg_color = '#000000' comment_fg_color_loaded_state = '#838b95' time_comment_fg_color_read_state = '#808080' default_bg_color = '#FFFFFF' second_bg_color = '#06172A' default_bc_highlight_color = '#0087E0' second_bc_highlight_color = '#FFFFFF' controls_bg_color = '#06172a' file_container1_padx = 40 file_container1_pady = 10 file_container2_padx = 140 file_container2_pady = 10 label1_text = 'Enter the full path of the txt file:' label4_initial_text = ' / 00:00:00' image_path_btn_open_leave = 'UI/open_file_btn.png' image_path_btn_open_enter = 'UI/open_file_btn_enter.png' image_path_btn_play_leave = 'UI/play_btn.png' image_path_btn_play_enter = 'UI/play_btn_enter.png' image_path_btn_pause_leave = 'UI/pause_btn.png' image_path_btn_pause_enter = 'UI/pause_btn_enter.png' image_path_controls_bar = 'UI/controls_bar.png' image_path_time_bar = 'UI/time_bar.png' image_path_current_time_bar = 'UI/current_time_bar.png' option_menu1_values = ('2x', '1.75x', '1.5x', '1.25x', '1x', '0.5x') default_option_menu1_value = '1x' image_path_time_bar_size_min = (302, 6) image_path_time_bar_size_max = (302, 11) etr_current_time_name = 'etrCurrentTime' etr_current_time_separator = ':' etr_current_time_warning_title_msg = 'Current Time Attention' etr_current_time_warning_text_msg = 'Current time is not correct. Expected format: hh:mm:ss.' status_bar_close_program = 'Saindo...' msg_box_close_program_title = 'Quit' msg_box_close_program_text = 'Do you really want to quit?'
class Config(object): DEBUG = False TESTING = False SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/<YOUR-DEVELOPMENT-DATABASE>' SQLALCHEMY_TRACK_MODIFICATIONS = True class DevelopmentConfig(Config): DEBUG = True class TestingConfig(Config): TESTING = True SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/<YOUR-TEST-DATABASE>'
class Config(object): debug = False testing = False sqlalchemy_database_uri = 'postgresql://localhost/<YOUR-DEVELOPMENT-DATABASE>' sqlalchemy_track_modifications = True class Developmentconfig(Config): debug = True class Testingconfig(Config): testing = True sqlalchemy_database_uri = 'postgresql://localhost/<YOUR-TEST-DATABASE>'
# This script changes the maximum metal layer to use during PnR def replace_line_at_pattern(filename, pattern, text_insert): read_file = open(filename, 'r').readlines() with open(filename,'w') as write_file: for line in read_file: if pattern in line: write_file.write(text_insert + "\n") else: write_file.write(line) adk_file = "./view-standard/adk.tcl" # replace ADK_MAX_ROUTING_LAYER_DC replace_line_at_pattern(adk_file, "set ADK_MAX_ROUTING_LAYER_DC", "set ADK_MAX_ROUTING_LAYER_DC met4") # replace ADK_MAX_ROUTING_LAYER_INNOVUS replace_line_at_pattern(adk_file, "set ADK_MAX_ROUTING_LAYER_INNOVUS", "set ADK_MAX_ROUTING_LAYER_INNOVUS 5") # replace ADK_POWER_MESH_BOT_LAYER replace_line_at_pattern(adk_file, "set ADK_POWER_MESH_BOT_LAYER", "set ADK_POWER_MESH_BOT_LAYER 4") # replace ADK_POWER_MESH_TOP_LAYER replace_line_at_pattern(adk_file, "set ADK_POWER_MESH_TOP_LAYER", "set ADK_POWER_MESH_TOP_LAYER 5")
def replace_line_at_pattern(filename, pattern, text_insert): read_file = open(filename, 'r').readlines() with open(filename, 'w') as write_file: for line in read_file: if pattern in line: write_file.write(text_insert + '\n') else: write_file.write(line) adk_file = './view-standard/adk.tcl' replace_line_at_pattern(adk_file, 'set ADK_MAX_ROUTING_LAYER_DC', 'set ADK_MAX_ROUTING_LAYER_DC met4') replace_line_at_pattern(adk_file, 'set ADK_MAX_ROUTING_LAYER_INNOVUS', 'set ADK_MAX_ROUTING_LAYER_INNOVUS 5') replace_line_at_pattern(adk_file, 'set ADK_POWER_MESH_BOT_LAYER', 'set ADK_POWER_MESH_BOT_LAYER 4') replace_line_at_pattern(adk_file, 'set ADK_POWER_MESH_TOP_LAYER', 'set ADK_POWER_MESH_TOP_LAYER 5')
def LSB(n): return n & -n class FenwickTree: def __init__(self, array): self.len = len(array)+1 self.arr = [0] * self.len for i in range(0, self.len - 1): self.update(i, array[i]) def update(self, index, val): j = index+1 while j < self.len: self.arr[j] += val j += LSB(j) def get_sum(self, index): sum = 0 index += 1 while index > 0: sum += self.arr[index] index -= LSB(index) return sum def get_sum_range(self, start, end): return self.get_sum(end) - self.get_sum(start-1) if __name__ == '__main__': arr = [1, 2, 3, 4, 5, 6, 7, 8] fw = FenwickTree(arr) print(fw.get_sum(3)) print(fw.get_sum(5)) print(fw.get_sum_range(1, 7))
def lsb(n): return n & -n class Fenwicktree: def __init__(self, array): self.len = len(array) + 1 self.arr = [0] * self.len for i in range(0, self.len - 1): self.update(i, array[i]) def update(self, index, val): j = index + 1 while j < self.len: self.arr[j] += val j += lsb(j) def get_sum(self, index): sum = 0 index += 1 while index > 0: sum += self.arr[index] index -= lsb(index) return sum def get_sum_range(self, start, end): return self.get_sum(end) - self.get_sum(start - 1) if __name__ == '__main__': arr = [1, 2, 3, 4, 5, 6, 7, 8] fw = fenwick_tree(arr) print(fw.get_sum(3)) print(fw.get_sum(5)) print(fw.get_sum_range(1, 7))
mylist=[1,2,3,4,5] for i in range(len(mylist)): print(i,len(mylist),range(len(mylist))) mylist.pop()
mylist = [1, 2, 3, 4, 5] for i in range(len(mylist)): print(i, len(mylist), range(len(mylist))) mylist.pop()
''' This is literally ONLY a few functions, but a great example of a file that I might want to fill up with function definitons and import to use at some point. I don't want to run it as a script, I am just going to keep some functions that do things I need...thee is NO main() either and no need to check to see if __name__ == '__main__' ''' def howdy(): '''This is my function that greets the user!''' print('Howdy!') def later(): '''This is my function that tells the user I am outta here!''' print('Later!') ## ## End of file...
""" This is literally ONLY a few functions, but a great example of a file that I might want to fill up with function definitons and import to use at some point. I don't want to run it as a script, I am just going to keep some functions that do things I need...thee is NO main() either and no need to check to see if __name__ == '__main__' """ def howdy(): """This is my function that greets the user!""" print('Howdy!') def later(): """This is my function that tells the user I am outta here!""" print('Later!')
def mode(nums): """Return most-common number in list. For this function, there will always be a single-most-common value; you do not need to worry about handling cases where more than one item occurs the same number of times. >>> mode([1, 2, 1]) 1 >>> mode([2, 2, 3, 3, 2]) 2 """ return max(set(nums), key=nums.count) print(F"mode.py: mode([1, 2, 1]) = 1 = {mode([1, 2, 1])}") print(F"mode.py: mode([2, 2, 3, 3, 2]) = 2 = {mode([2, 2, 3, 3, 2])}")
def mode(nums): """Return most-common number in list. For this function, there will always be a single-most-common value; you do not need to worry about handling cases where more than one item occurs the same number of times. >>> mode([1, 2, 1]) 1 >>> mode([2, 2, 3, 3, 2]) 2 """ return max(set(nums), key=nums.count) print(f'mode.py: mode([1, 2, 1]) = 1 = {mode([1, 2, 1])}') print(f'mode.py: mode([2, 2, 3, 3, 2]) = 2 = {mode([2, 2, 3, 3, 2])}')
#!/usr/bin/env python3 # -*- coding: utf-8 -*- a = """73167176531330624919225119674426574742355349194934 96983520312774506326239578318016984801869478851843 85861560789112949495459501737958331952853208805511 12540698747158523863050715693290963295227443043557 66896648950445244523161731856403098711121722383113 62229893423380308135336276614282806444486645238749 30358907296290491560440772390713810515859307960866 70172427121883998797908792274921901699720888093776 65727333001053367881220235421809751254540594752243 52584907711670556013604839586446706324415722155397 53697817977846174064955149290862569321978468622482 83972241375657056057490261407972968652414535100474 82166370484403199890008895243450658541227588666881 16427171479924442928230863465674813919123162824586 17866458359124566529476545682848912883142607690042 24219022671055626321111109370544217506941658960408 07198403850962455444362981230987879927244284909188 84580156166097919133875499200524063689912560717606 05886116467109405077541002256983155200055935729725 71636269561882670428252483600823257530420752963450""".replace("\n", "") max_product = 0 for index, digit in enumerate(a): product = 1 for ahead in range(13): if int(a[index + ahead]) == 0: break product *= int(a[index + ahead]) if product > max_product: max_product = product print(max_product)
a = '73167176531330624919225119674426574742355349194934\n96983520312774506326239578318016984801869478851843\n85861560789112949495459501737958331952853208805511\n12540698747158523863050715693290963295227443043557\n66896648950445244523161731856403098711121722383113\n62229893423380308135336276614282806444486645238749\n30358907296290491560440772390713810515859307960866\n70172427121883998797908792274921901699720888093776\n65727333001053367881220235421809751254540594752243\n52584907711670556013604839586446706324415722155397\n53697817977846174064955149290862569321978468622482\n83972241375657056057490261407972968652414535100474\n82166370484403199890008895243450658541227588666881\n16427171479924442928230863465674813919123162824586\n17866458359124566529476545682848912883142607690042\n24219022671055626321111109370544217506941658960408\n07198403850962455444362981230987879927244284909188\n84580156166097919133875499200524063689912560717606\n05886116467109405077541002256983155200055935729725\n71636269561882670428252483600823257530420752963450'.replace('\n', '') max_product = 0 for (index, digit) in enumerate(a): product = 1 for ahead in range(13): if int(a[index + ahead]) == 0: break product *= int(a[index + ahead]) if product > max_product: max_product = product print(max_product)
# 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))
""" the Constant Variables. """ class ConstantSet(object): """ The class of constant number. It doesn't follow the Pascal format since its speciality. """ class ConstError(TypeError): pass class ConstCaseError(ConstError): pass def __setattr__(self, key, value): if key in self.__dict__: raise self.ConstError("Can't change const.{0}".format(key)) if not key.isupper(): raise self.ConstCaseError("Const name {0} is not all uppercase".format(key)) self.__dict__[key] = value const = ConstantSet() # the category of decision variables const.CAT_BINARY = "Binary" const.CAT_CONTINUOUS = "Continuous" const.CAT_INTEGER = "Integer" # sense for a constrain const.SENSE_LEQ = "<=" const.SENSE_EQ = "=" const.SENSE_GEQ = ">=" # sense for a model const.SENSE_MAX = "Max" const.SENSE_MIN = "Min" # the lower and upper bound type of a variable const.BOUND_TWO_OPEN = 0 const.BOUND_LEFT_OPEN = 1 const.BOUND_RIGHT_OPEN = 2 const.BOUND_TWO_CLOSED = 3 # the status of the model const.STATUS_UNSOLVED = "Unsolved" const.STATUS_OPTIMAL = "Optimal" const.STATUS_NO_SOLUTION = "No feasible solution" const.STATUS_UNBOUNDED = "Unbounded"
""" the Constant Variables. """ class Constantset(object): """ The class of constant number. It doesn't follow the Pascal format since its speciality. """ class Consterror(TypeError): pass class Constcaseerror(ConstError): pass def __setattr__(self, key, value): if key in self.__dict__: raise self.ConstError("Can't change const.{0}".format(key)) if not key.isupper(): raise self.ConstCaseError('Const name {0} is not all uppercase'.format(key)) self.__dict__[key] = value const = constant_set() const.CAT_BINARY = 'Binary' const.CAT_CONTINUOUS = 'Continuous' const.CAT_INTEGER = 'Integer' const.SENSE_LEQ = '<=' const.SENSE_EQ = '=' const.SENSE_GEQ = '>=' const.SENSE_MAX = 'Max' const.SENSE_MIN = 'Min' const.BOUND_TWO_OPEN = 0 const.BOUND_LEFT_OPEN = 1 const.BOUND_RIGHT_OPEN = 2 const.BOUND_TWO_CLOSED = 3 const.STATUS_UNSOLVED = 'Unsolved' const.STATUS_OPTIMAL = 'Optimal' const.STATUS_NO_SOLUTION = 'No feasible solution' const.STATUS_UNBOUNDED = 'Unbounded'
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))
""" The functionality of bio_embeddings is split into 5 different modules .. autosummary:: :toctree: modules bio_embeddings.embed bio_embeddings.extract bio_embeddings.project bio_embeddings.utilities bio_embeddings.visualize """
""" The functionality of bio_embeddings is split into 5 different modules .. autosummary:: :toctree: modules bio_embeddings.embed bio_embeddings.extract bio_embeddings.project bio_embeddings.utilities bio_embeddings.visualize """
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 !')
""" Named projection classes that can be created or parsed. """ def find(projname, crstype, strict=False): """ Search for a projection name located in this module. Arguments: - **projname**: The projection name to search for. - **crstype**: Which CRS naming convention to search (different CRS formats have different names for the same projection). - **strict** (optional): If False, ignores minor name mismatches such as underscore or character casing, otherwise must be exact match (defaults to False). """ if not strict: projname = projname.lower().replace(" ","_") for itemname,item in globals().items(): if itemname.startswith("_"): continue try: if hasattr(item.name, crstype): itemname = getattr(item.name, crstype) if not strict: itemname = itemname.lower().replace(" ","_") if projname == itemname: return item except: pass else: return None ##+proj Projection name (see `proj -l`) class Projection: proj4 = "+proj" ogc_wkt = "PROJECTION" esri_wkt = "PROJECTION" name = None def __init__(self, **kwargs): """ A generic container for the specific projection used. Args: - **name**: A pycrs.projections.ProjName instance with the name given by each supported format. """ self.name = kwargs.get('name', self.name) def to_proj4(self): return "+proj=%s" %self.name.proj4 def to_ogc_wkt(self): return 'PROJECTION["%s"]' %self.name.ogc_wkt def to_esri_wkt(self): return 'PROJECTION["%s"]' %self.name.esri_wkt class ProjName: def __init__(self, proj4="", ogc_wkt="", esri_wkt=""): self.proj4 = proj4 self.ogc_wkt = ogc_wkt self.esri_wkt = esri_wkt # Specific predefined ellipsoid classes class Robinson(Projection): name = ProjName( proj4 = "robin", ogc_wkt = "Robinson", esri_wkt = "Robinson", ) class UTM(Projection): name = ProjName( proj4 = "utm", ogc_wkt = "Transverse_Mercator", esri_wkt = "Transverse_Mercator", ) class ObliqueMercator(Projection): name = ProjName( proj4 = "omerc", ogc_wkt = "Hotine_Oblique_Mercator_Two_Point_Natural_Origin", #"Hotine_Oblique_Mercator" esri_wkt = "Hotine_Oblique_Mercator_Two_Point_Natural_Origin", #"Hotine_Oblique_Mercator_Azimuth_Natural_Origin" ) class AlbersEqualArea(Projection): name = ProjName( proj4 = "aea", ogc_wkt = "Albers_Conic_Equal_Area", esri_wkt = "Albers", ) class CylindricalEqualArea(Projection): name = ProjName( proj4 = "cea", ogc_wkt = "Cylindrical_Equal_Area", esri_wkt = "Cylindrical_Equal_Area", ) class EquiDistantConic(Projection): name = ProjName( proj4 = "eqdc", ogc_wkt = "Equidistant_Conic", esri_wkt = "Equidistant_Conic", ) class EquiDistantCylindrical(Projection): # same as equirectangular...? name = ProjName( proj4 = "eqc", ogc_wkt = "Equidistant_Cylindrical", esri_wkt = "Equidistant_Cylindrical", ) class EquiRectangular(Projection): # same as equidistant cylindrical name = ProjName( proj4 = "eqc", ogc_wkt = "Equirectangular", esri_wkt = "Equirectangular", ) class TransverseMercator(Projection): name = ProjName( proj4 = "tmerc", ogc_wkt = "Transverse_Mercator", esri_wkt = "Transverse_Mercator", ) class GallStereographic(Projection): name = ProjName( proj4 = "gall", ogc_wkt = "Gall_Stereographic", esri_wkt = "Gall_Stereographic", ) class Gnomonic(Projection): name = ProjName( proj4 = "gnom", ogc_wkt = "Gnomonic", esri_wkt = "Gnomonic", ) class LambertAzimuthalEqualArea(Projection): name = ProjName( proj4 = "laea", ogc_wkt = "Lambert_Azimuthal_Equal_Area", esri_wkt = "Lambert_Azimuthal_Equal_Area", ) class MillerCylindrical(Projection): name = ProjName( proj4 = "mill", ogc_wkt = "Miller_Cylindrical", esri_wkt = "Miller_Cylindrical", ) class Mollweide(Projection): name = ProjName( proj4 = "moll", ogc_wkt = "Mollweide", esri_wkt = "Mollweide", ) class ObliqueStereographic(Projection): name = ProjName( proj4 = "sterea", ogc_wkt = "Oblique_Stereographic", esri_wkt = "Oblique Stereographic", #"Stereographic_North_Pole" ) class Orthographic(Projection): name = ProjName( proj4 = "ortho", ogc_wkt = "Orthographic", esri_wkt = "Orthographic", ) class Stereographic(Projection): name = ProjName( proj4 = "stere", ogc_wkt = "Stereographic", esri_wkt = "Stereographic", ) class PolarStereographic(Projection): name = ProjName( proj4 = "stere", ogc_wkt = "Polar_Stereographic", # could also be just stereographic esri_wkt = "Stereographic", # but also spelled with additional _South/North_Pole, for the same projection and diff params (maybe just for humans)?... ) class Sinusoidal(Projection): name = ProjName( proj4 = "sinu", ogc_wkt = "Sinusoidal", esri_wkt = "Sinusoidal", ) class VanDerGrinten(Projection): name = ProjName( proj4 = "vandg", ogc_wkt = "VanDerGrinten", esri_wkt = "Van_der_Grinten_I", ) class LambertConformalConic(Projection): name = ProjName( proj4 = "lcc", ogc_wkt = "Lambert_Conformal_Conic", # possible has some variants esri_wkt = "Lambert_Conformal_Conic", ) class Krovak(Projection): name = ProjName( proj4 = "krovak", ogc_wkt = "Krovak", esri_wkt = "Krovak", ) class NearSidedPerspective(Projection): name = ProjName( proj4 = "nsper", ogc_wkt = "Near_sided_perspective", esri_wkt = "Near_sided_perspective", # not confirmed ) class TiltedPerspective(Projection): name = ProjName( proj4 = "tsper", ogc_wkt = "Tilted_perspective", esri_wkt = "Tilted_perspective", # not confirmed ) class InteruptedGoodeHomolosine(Projection): name = ProjName( proj4 = "igh", ogc_wkt = "Interrupted_Goodes_Homolosine", esri_wkt = "Interrupted_Goodes_Homolosine", ) class Larrivee(Projection): name = ProjName( proj4 = "larr", ogc_wkt = "Larrivee", esri_wkt = "Larrivee", # not confirmed ) class LamberEqualAreaConic(Projection): name = ProjName( proj4 = "leac", ogc_wkt = "Lambert_Equal_Area_Conic", esri_wkt = "Lambert_Equal_Area_Conic", # not confirmed ) class Mercator(Projection): name = ProjName( proj4 = "merc", ogc_wkt = "Mercator", # has multiple varieties esri_wkt = "Mercator", ) class ObliqueCylindricalEqualArea(Projection): name = ProjName( proj4 = "ocea", ogc_wkt = "Oblique_Cylindrical_Equal_Area", esri_wkt = "Oblique_Cylindrical_Equal_Area", ) class Polyconic(Projection): name = ProjName( proj4 = "poly", ogc_wkt = "Polyconic", esri_wkt = "Polyconic", ) class EckertIV(Projection): name = ProjName( proj4 = "eck4", ogc_wkt = "Eckert_IV", esri_wkt = "Eckert_IV", ) class EckertVI(Projection): name = ProjName( proj4 = "eck6", ogc_wkt = "Eckert_VI", esri_wkt = "Eckert_VI", ) class AzimuthalEquidistant(Projection): name = ProjName( proj4 = "aeqd", ogc_wkt = "Azimuthal_Equidistant", esri_wkt = "Azimuthal_Equidistant", ) class GeostationarySatellite(Projection): name = ProjName( proj4 = "geos", ogc_wkt = "Geostationary_Satellite", esri_wkt = "Geostationary_Satellite", )
""" Named projection classes that can be created or parsed. """ def find(projname, crstype, strict=False): """ Search for a projection name located in this module. Arguments: - **projname**: The projection name to search for. - **crstype**: Which CRS naming convention to search (different CRS formats have different names for the same projection). - **strict** (optional): If False, ignores minor name mismatches such as underscore or character casing, otherwise must be exact match (defaults to False). """ if not strict: projname = projname.lower().replace(' ', '_') for (itemname, item) in globals().items(): if itemname.startswith('_'): continue try: if hasattr(item.name, crstype): itemname = getattr(item.name, crstype) if not strict: itemname = itemname.lower().replace(' ', '_') if projname == itemname: return item except: pass else: return None class Projection: proj4 = '+proj' ogc_wkt = 'PROJECTION' esri_wkt = 'PROJECTION' name = None def __init__(self, **kwargs): """ A generic container for the specific projection used. Args: - **name**: A pycrs.projections.ProjName instance with the name given by each supported format. """ self.name = kwargs.get('name', self.name) def to_proj4(self): return '+proj=%s' % self.name.proj4 def to_ogc_wkt(self): return 'PROJECTION["%s"]' % self.name.ogc_wkt def to_esri_wkt(self): return 'PROJECTION["%s"]' % self.name.esri_wkt class Projname: def __init__(self, proj4='', ogc_wkt='', esri_wkt=''): self.proj4 = proj4 self.ogc_wkt = ogc_wkt self.esri_wkt = esri_wkt class Robinson(Projection): name = proj_name(proj4='robin', ogc_wkt='Robinson', esri_wkt='Robinson') class Utm(Projection): name = proj_name(proj4='utm', ogc_wkt='Transverse_Mercator', esri_wkt='Transverse_Mercator') class Obliquemercator(Projection): name = proj_name(proj4='omerc', ogc_wkt='Hotine_Oblique_Mercator_Two_Point_Natural_Origin', esri_wkt='Hotine_Oblique_Mercator_Two_Point_Natural_Origin') class Albersequalarea(Projection): name = proj_name(proj4='aea', ogc_wkt='Albers_Conic_Equal_Area', esri_wkt='Albers') class Cylindricalequalarea(Projection): name = proj_name(proj4='cea', ogc_wkt='Cylindrical_Equal_Area', esri_wkt='Cylindrical_Equal_Area') class Equidistantconic(Projection): name = proj_name(proj4='eqdc', ogc_wkt='Equidistant_Conic', esri_wkt='Equidistant_Conic') class Equidistantcylindrical(Projection): name = proj_name(proj4='eqc', ogc_wkt='Equidistant_Cylindrical', esri_wkt='Equidistant_Cylindrical') class Equirectangular(Projection): name = proj_name(proj4='eqc', ogc_wkt='Equirectangular', esri_wkt='Equirectangular') class Transversemercator(Projection): name = proj_name(proj4='tmerc', ogc_wkt='Transverse_Mercator', esri_wkt='Transverse_Mercator') class Gallstereographic(Projection): name = proj_name(proj4='gall', ogc_wkt='Gall_Stereographic', esri_wkt='Gall_Stereographic') class Gnomonic(Projection): name = proj_name(proj4='gnom', ogc_wkt='Gnomonic', esri_wkt='Gnomonic') class Lambertazimuthalequalarea(Projection): name = proj_name(proj4='laea', ogc_wkt='Lambert_Azimuthal_Equal_Area', esri_wkt='Lambert_Azimuthal_Equal_Area') class Millercylindrical(Projection): name = proj_name(proj4='mill', ogc_wkt='Miller_Cylindrical', esri_wkt='Miller_Cylindrical') class Mollweide(Projection): name = proj_name(proj4='moll', ogc_wkt='Mollweide', esri_wkt='Mollweide') class Obliquestereographic(Projection): name = proj_name(proj4='sterea', ogc_wkt='Oblique_Stereographic', esri_wkt='Oblique Stereographic') class Orthographic(Projection): name = proj_name(proj4='ortho', ogc_wkt='Orthographic', esri_wkt='Orthographic') class Stereographic(Projection): name = proj_name(proj4='stere', ogc_wkt='Stereographic', esri_wkt='Stereographic') class Polarstereographic(Projection): name = proj_name(proj4='stere', ogc_wkt='Polar_Stereographic', esri_wkt='Stereographic') class Sinusoidal(Projection): name = proj_name(proj4='sinu', ogc_wkt='Sinusoidal', esri_wkt='Sinusoidal') class Vandergrinten(Projection): name = proj_name(proj4='vandg', ogc_wkt='VanDerGrinten', esri_wkt='Van_der_Grinten_I') class Lambertconformalconic(Projection): name = proj_name(proj4='lcc', ogc_wkt='Lambert_Conformal_Conic', esri_wkt='Lambert_Conformal_Conic') class Krovak(Projection): name = proj_name(proj4='krovak', ogc_wkt='Krovak', esri_wkt='Krovak') class Nearsidedperspective(Projection): name = proj_name(proj4='nsper', ogc_wkt='Near_sided_perspective', esri_wkt='Near_sided_perspective') class Tiltedperspective(Projection): name = proj_name(proj4='tsper', ogc_wkt='Tilted_perspective', esri_wkt='Tilted_perspective') class Interuptedgoodehomolosine(Projection): name = proj_name(proj4='igh', ogc_wkt='Interrupted_Goodes_Homolosine', esri_wkt='Interrupted_Goodes_Homolosine') class Larrivee(Projection): name = proj_name(proj4='larr', ogc_wkt='Larrivee', esri_wkt='Larrivee') class Lamberequalareaconic(Projection): name = proj_name(proj4='leac', ogc_wkt='Lambert_Equal_Area_Conic', esri_wkt='Lambert_Equal_Area_Conic') class Mercator(Projection): name = proj_name(proj4='merc', ogc_wkt='Mercator', esri_wkt='Mercator') class Obliquecylindricalequalarea(Projection): name = proj_name(proj4='ocea', ogc_wkt='Oblique_Cylindrical_Equal_Area', esri_wkt='Oblique_Cylindrical_Equal_Area') class Polyconic(Projection): name = proj_name(proj4='poly', ogc_wkt='Polyconic', esri_wkt='Polyconic') class Eckertiv(Projection): name = proj_name(proj4='eck4', ogc_wkt='Eckert_IV', esri_wkt='Eckert_IV') class Eckertvi(Projection): name = proj_name(proj4='eck6', ogc_wkt='Eckert_VI', esri_wkt='Eckert_VI') class Azimuthalequidistant(Projection): name = proj_name(proj4='aeqd', ogc_wkt='Azimuthal_Equidistant', esri_wkt='Azimuthal_Equidistant') class Geostationarysatellite(Projection): name = proj_name(proj4='geos', ogc_wkt='Geostationary_Satellite', esri_wkt='Geostationary_Satellite')
# # 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__)
#!/usr/bin/env python """Tests for `beaker` package.""" def test_something(): pass
"""Tests for `beaker` package.""" def test_something(): pass
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
#!/usr/bin/python3 __author__ = "yang.dd" """ example 075 """ if __name__ == '__main__': for i in range(5): n = 0 if i != 1: n += 1 if i == 3: n += 1 if i == 4: n += 1 if i != 4: n += 1 if n == 3: print(64 + i)
__author__ = 'yang.dd' '\n example 075\n' if __name__ == '__main__': for i in range(5): n = 0 if i != 1: n += 1 if i == 3: n += 1 if i == 4: n += 1 if i != 4: n += 1 if n == 3: print(64 + i)
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)
def sanitize_for_shell(string): """ Return `string` with double quotes escaped for use in a Windows shell command. """ return string.replace('"', r'\"') def sanitize_username(name): """ This applies only to Windows usernames (logons). """ return name.translate(None, r'"/[]:;|=,+*?<>' + '\0') def sanitize_path(path): """ This applies only to Windows paths. """ return path.translate(None, r'<>"/|?*' + ''.join(map(chr, range(0, 31)))) def sanitize_unc_path(path): return sanitize_path(path).translate(None, ':') def sanitize_file_name(file_name): """ This applies only to Windows file names. """ return sanitize_path(file_name).translate(None, ':\\')
def sanitize_for_shell(string): """ Return `string` with double quotes escaped for use in a Windows shell command. """ return string.replace('"', '\\"') def sanitize_username(name): """ This applies only to Windows usernames (logons). """ return name.translate(None, '"/[]:;|=,+*?<>' + '\x00') def sanitize_path(path): """ This applies only to Windows paths. """ return path.translate(None, '<>"/|?*' + ''.join(map(chr, range(0, 31)))) def sanitize_unc_path(path): return sanitize_path(path).translate(None, ':') def sanitize_file_name(file_name): """ This applies only to Windows file names. """ return sanitize_path(file_name).translate(None, ':\\')
#!/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
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Module that includes classes and functions used by fuzzers.""" def FillInParameter(parameter, func, template): """Replaces occurrences of a parameter by calling a provided generator. Args: parameter: A string representing the parameter that should be replaced. func: A function that returns a string representing the value used to replace an instance of the parameter. template: A string that contains the parameter to be replaced. Returns: A string containing the value of |template| in which instances of |pameter| have been replaced by results of calling |func|. """ result = template while parameter in result: result = result.replace(parameter, func(), 1) return result
"""Module that includes classes and functions used by fuzzers.""" def fill_in_parameter(parameter, func, template): """Replaces occurrences of a parameter by calling a provided generator. Args: parameter: A string representing the parameter that should be replaced. func: A function that returns a string representing the value used to replace an instance of the parameter. template: A string that contains the parameter to be replaced. Returns: A string containing the value of |template| in which instances of |pameter| have been replaced by results of calling |func|. """ result = template while parameter in result: result = result.replace(parameter, func(), 1) return result
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 + '.')
"""The code template to supply to the front end. This is what the user will be asked to complete and submit for grading. Do not include any imports. This is not a REPL environment so include explicit 'print' statements for any outputs you want to be displayed back to the user. Use triple single quotes to enclose the formatted code block. """ challenge_code = '''n_bits=2 dev = qml.device("default.qubit", wires=range(n_bits)) @qml.qnode(dev) def two_distant_spins(B, time): """Circuit for evolving the state of two distant electrons in a magnetic field. Args: B (float): The strength of the field, assumed to point in the z direction. time (float): The time we evolve the electron wavefunction for. Returns: array[complex]: The quantum state after evolution. """ e = 1.6e-19 m_e = 9.1e-31 alpha = B*e/(2*m_e) ################## # YOUR CODE HERE # ################## return qml.state() '''
"""The code template to supply to the front end. This is what the user will be asked to complete and submit for grading. Do not include any imports. This is not a REPL environment so include explicit 'print' statements for any outputs you want to be displayed back to the user. Use triple single quotes to enclose the formatted code block. """ challenge_code = 'n_bits=2\ndev = qml.device("default.qubit", wires=range(n_bits))\n\n@qml.qnode(dev)\ndef two_distant_spins(B, time):\n """Circuit for evolving the state of two distant electrons in a magnetic field.\n \n Args:\n B (float): The strength of the field, assumed to point in the z direction.\n time (float): The time we evolve the electron wavefunction for.\n\n Returns: \n array[complex]: The quantum state after evolution.\n """\n e = 1.6e-19\n m_e = 9.1e-31\n alpha = B*e/(2*m_e)\n ##################\n # YOUR CODE HERE #\n ##################\n return qml.state()\n'
class Config(object): def __init__(self, db_type, ip, port, db, user, passwd): """ :param db_type: * mysql * oracle * postgresql :param ip: :param port: :param db: :param user: :param passwd: """ self.__db_type__ = db_type self.__ip__ = ip self.__port__ = port self.__db__ = db self.__user__ = user self.__passwd__ = passwd self.__url_format__ = url_format.get(db_type) def url(self): return self.__url_format__.format(self.__ip__, self.__port__, self.__db__) def properties(self): return {'user': self.__user__, 'password': self.__passwd__, 'driver': driver.get(self.__db_type__), } url_format = { 'mysql': 'jdbc:mysql://{}:{}/{}?useUnicode=true&characterEncoding=UTF-8', 'oracle': 'jdbc:oracle:thin:@{}:{}:{}', 'postgresql': 'jdbc:postgresql://{}:{}/{}?useUnicode=true&characterEncoding=UTF-8', } driver = { 'mysql': 'com.mysql.cj.jdbc.Driver', 'oracle': 'oracle.jdbc.driver.OracleDriver', 'postgresql': 'org.postgresql.Driver', }
class Config(object): def __init__(self, db_type, ip, port, db, user, passwd): """ :param db_type: * mysql * oracle * postgresql :param ip: :param port: :param db: :param user: :param passwd: """ self.__db_type__ = db_type self.__ip__ = ip self.__port__ = port self.__db__ = db self.__user__ = user self.__passwd__ = passwd self.__url_format__ = url_format.get(db_type) def url(self): return self.__url_format__.format(self.__ip__, self.__port__, self.__db__) def properties(self): return {'user': self.__user__, 'password': self.__passwd__, 'driver': driver.get(self.__db_type__)} url_format = {'mysql': 'jdbc:mysql://{}:{}/{}?useUnicode=true&characterEncoding=UTF-8', 'oracle': 'jdbc:oracle:thin:@{}:{}:{}', 'postgresql': 'jdbc:postgresql://{}:{}/{}?useUnicode=true&characterEncoding=UTF-8'} driver = {'mysql': 'com.mysql.cj.jdbc.Driver', 'oracle': 'oracle.jdbc.driver.OracleDriver', 'postgresql': 'org.postgresql.Driver'}
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}
def _carp(*args,skip=1): """Warn with no backtrace""" if TRACEBACK: print(_longmess(*args, skip=skip), end='', file=sys.stderr) else: print(_shortmess(*args, skip=skip), end='', file=sys.stderr)
def _carp(*args, skip=1): """Warn with no backtrace""" if TRACEBACK: print(_longmess(*args, skip=skip), end='', file=sys.stderr) else: print(_shortmess(*args, skip=skip), end='', file=sys.stderr)
# -*- coding: utf-8 -*- """ Dan Scullin DAT-129 Icon Programming Goal is to create an icon of my creation, and manipulate it using functions. Rad! This is a temporary script file. """ lists = [['0', '0', '0', '0', '1', '0', '0', '0', '0', '0'], ['0', '0', '0', '0', '1', '0', '0', '0', '0', '0'], ['0', '0', '0', '0', '1', '0', '0', '0', '0', '0'], ['0', '0', '0', '0', '1', '0', '0', '0', '0', '0'], ['0', '0', '0', '0', '1', '0', '0', '0', '0', '0'], ['0', '0', '0', '1', '1', '1', '0', '0', '0', '0'], ['0', '0', '1', '1', '1', '1', '1', '0', '0', '0'], ['0', '0', '0', '1', '1', '1', '0', '0', '0', '0'], ['0', '0', '1', '1', '1', '1', '1', '0', '0', '0'], ['0', '0', '0', '1', '1', '1', '0', '0', '0', '0']] def print_lists (the_list): """ The goal of this function is to take in a list of lists, and print it using the @ and . symbols to create a 10 x 10 icon. """ for list in the_list: print("") #gives us some space for item in list: if item == "0": print(".", sep='', end='') #prints . for 0 in the list elif item == "1": print("@", sep='', end='') #prints @ for 1 in the list def print_icon_inverse (the_list): """ the goal of this function is to create an icon that prints from the list above, but prints the inverse of the icon instead """ for list in the_list: print("") for item in list: if item == "0": print("@", sep='', end ='') elif item == "1": print (".", sep='', end='') if __name__ == '__main__': (print_lists(lists)) print("") (print_icon_inverse(lists))
""" Dan Scullin DAT-129 Icon Programming Goal is to create an icon of my creation, and manipulate it using functions. Rad! This is a temporary script file. """ lists = [['0', '0', '0', '0', '1', '0', '0', '0', '0', '0'], ['0', '0', '0', '0', '1', '0', '0', '0', '0', '0'], ['0', '0', '0', '0', '1', '0', '0', '0', '0', '0'], ['0', '0', '0', '0', '1', '0', '0', '0', '0', '0'], ['0', '0', '0', '0', '1', '0', '0', '0', '0', '0'], ['0', '0', '0', '1', '1', '1', '0', '0', '0', '0'], ['0', '0', '1', '1', '1', '1', '1', '0', '0', '0'], ['0', '0', '0', '1', '1', '1', '0', '0', '0', '0'], ['0', '0', '1', '1', '1', '1', '1', '0', '0', '0'], ['0', '0', '0', '1', '1', '1', '0', '0', '0', '0']] def print_lists(the_list): """ The goal of this function is to take in a list of lists, and print it using the @ and . symbols to create a 10 x 10 icon. """ for list in the_list: print('') for item in list: if item == '0': print('.', sep='', end='') elif item == '1': print('@', sep='', end='') def print_icon_inverse(the_list): """ the goal of this function is to create an icon that prints from the list above, but prints the inverse of the icon instead """ for list in the_list: print('') for item in list: if item == '0': print('@', sep='', end='') elif item == '1': print('.', sep='', end='') if __name__ == '__main__': print_lists(lists) print('') print_icon_inverse(lists)
# # 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()
""" Write a program to find the node at which the intersection of two singly linked lists begins. Example 1: Input: intersectVal = 8, listA = [4,1,8,4,5], listB = [5,0,1,8,4,5], skipA = 2, skipB = 3 Output: Reference of the node with value = 8 Input Explanation: The intersected node's value is 8 (note that this must not be 0 if the two lists intersect). From the head of A, it reads as [4,1,8,4,5]. From the head of B, it reads as [5,0,1,8,4,5]. There are 2 nodes before the intersected node in A; There are 3 nodes before the intersected node in B. Example 2: Input: intersectVal = 2, listA = [0,9,1,2,4], listB = [3,2,4], skipA = 3, skipB = 1 Output: Reference of the node with value = 2 Input Explanation: The intersected node's value is 2 (note that this must not be 0 if the two lists intersect). From the head of A, it reads as [0,9,1,2,4]. From the head of B, it reads as [3,2,4]. There are 3 nodes before the intersected node in A; There are 1 node before the intersected node in B. Example 3: Input: intersectVal = 0, listA = [2,6,4], listB = [1,5], skipA = 3, skipB = 2 Output: null Input Explanation: From the head of A, it reads as [2,6,4]. From the head of B, it reads as [1,5]. Since the two lists do not intersect, intersectVal must be 0, while skipA and skipB can be arbitrary values. Explanation: The two lists do not intersect, so return null. Notes: If the two linked lists have no intersection at all, return null. The linked lists must retain their original structure after the function returns. You may assume there are no cycles anywhere in the entire linked structure. Your code should preferably run in O(n) time and use only O(1) memory. """ # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def getIntersectionNode(self, headA, headB): """Hashtable""" d = {} while headA: d[headA] = 1 headA = headA.next while headB: if headB in d: return headB else: headB = headB.next def getIntersectionNode2(self, headA, headB): """ Two Pointers: Let len(headA) -> m, len(headB) -> n. To ensure the compared lists have the same length, we concatenate them, l_1.e. comparing l_1 = headA + headB with l_2 = headB + headA. Then intersection between l_1 and l_2 equals to intersection between headB and headA. """ if (not headA) or (not headB): return None l_1 = headA l_2 = headB while l_1 or l_2: if not l_1: l_1 = headB if not l_2: l_2 = headA if l_1 == l_2: return l_1 l_1 = l_1.next l_2 = l_2.next
""" Write a program to find the node at which the intersection of two singly linked lists begins. Example 1: Input: intersectVal = 8, listA = [4,1,8,4,5], listB = [5,0,1,8,4,5], skipA = 2, skipB = 3 Output: Reference of the node with value = 8 Input Explanation: The intersected node's value is 8 (note that this must not be 0 if the two lists intersect). From the head of A, it reads as [4,1,8,4,5]. From the head of B, it reads as [5,0,1,8,4,5]. There are 2 nodes before the intersected node in A; There are 3 nodes before the intersected node in B. Example 2: Input: intersectVal = 2, listA = [0,9,1,2,4], listB = [3,2,4], skipA = 3, skipB = 1 Output: Reference of the node with value = 2 Input Explanation: The intersected node's value is 2 (note that this must not be 0 if the two lists intersect). From the head of A, it reads as [0,9,1,2,4]. From the head of B, it reads as [3,2,4]. There are 3 nodes before the intersected node in A; There are 1 node before the intersected node in B. Example 3: Input: intersectVal = 0, listA = [2,6,4], listB = [1,5], skipA = 3, skipB = 2 Output: null Input Explanation: From the head of A, it reads as [2,6,4]. From the head of B, it reads as [1,5]. Since the two lists do not intersect, intersectVal must be 0, while skipA and skipB can be arbitrary values. Explanation: The two lists do not intersect, so return null. Notes: If the two linked lists have no intersection at all, return null. The linked lists must retain their original structure after the function returns. You may assume there are no cycles anywhere in the entire linked structure. Your code should preferably run in O(n) time and use only O(1) memory. """ class Solution: def get_intersection_node(self, headA, headB): """Hashtable""" d = {} while headA: d[headA] = 1 head_a = headA.next while headB: if headB in d: return headB else: head_b = headB.next def get_intersection_node2(self, headA, headB): """ Two Pointers: Let len(headA) -> m, len(headB) -> n. To ensure the compared lists have the same length, we concatenate them, l_1.e. comparing l_1 = headA + headB with l_2 = headB + headA. Then intersection between l_1 and l_2 equals to intersection between headB and headA. """ if not headA or not headB: return None l_1 = headA l_2 = headB while l_1 or l_2: if not l_1: l_1 = headB if not l_2: l_2 = headA if l_1 == l_2: return l_1 l_1 = l_1.next l_2 = l_2.next
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)
def split_name(name): if '.' in name: return tuple(name.split('.')) else: return (name,) def get_via_name_list(src, name_parts): """ Util to get name sequence from a dict. For instance, `("location","query")` would return src["location"]["query"]. """ if len(name_parts) > 1: for part in name_parts[:-1]: if part not in src: return None src = src[part] return src.get(name_parts[-1]) def save_to_name_list(dest, name_parts, value): """ Util to save some name sequence to a dict. For instance, `("location","query")` would save to dest["location"]["query"]. """ if len(name_parts) > 1: for part in name_parts[:-1]: if part not in dest: dest[part] = {} dest = dest[part] dest[name_parts[-1]] = value
def split_name(name): if '.' in name: return tuple(name.split('.')) else: return (name,) def get_via_name_list(src, name_parts): """ Util to get name sequence from a dict. For instance, `("location","query")` would return src["location"]["query"]. """ if len(name_parts) > 1: for part in name_parts[:-1]: if part not in src: return None src = src[part] return src.get(name_parts[-1]) def save_to_name_list(dest, name_parts, value): """ Util to save some name sequence to a dict. For instance, `("location","query")` would save to dest["location"]["query"]. """ if len(name_parts) > 1: for part in name_parts[:-1]: if part not in dest: dest[part] = {} dest = dest[part] dest[name_parts[-1]] = value
# 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
"""Response data for the GetProductExportUpdate request.""" GET_PRODUCT_EXPORT_UPDATE_RESPONSE = { "pseudoExports": [ { "ID": 20217, "Channel": "All Channels", "CopyImages": False, "ProductCount": 2, "ProductsExported": 0, "Status": "Complete", "Error": "", "FileName": "PseudoStockExport_636607906782497012", "DateRequested": "01/05/2018 16:57", "DateStarted": "01/05/2018 16:57", "DateCompleted": "01/05/2018 16:57", "spreadSheet": { "found": True, "size": "3Kb", "rows": "0", "cols": "0", "error": "", }, "zipFile": { "found": False, "size": "???", "rows": "???", "cols": "???", "error": "", }, } ], "productExports": [ { "ID": 3056, "Channel": "Not Selected", "CopyImages": False, "ProductCount": 31, "ProductsExported": 31, "Status": "Complete", "Error": "", "FileName": "ProductsExport_636111775182718600", "DateRequested": "04/10/2016 11:31", "DateStarted": "04/10/2016 11:31", "DateCompleted": "04/10/2016 11:31", "spreadSheet": { "found": True, "size": "11Kb", "rows": "0", "cols": "0", "error": "", }, "zipFile": { "found": False, "size": "???", "rows": "???", "cols": "???", "error": "", }, }, { "ID": 3058, "Channel": "Not Selected", "CopyImages": False, "ProductCount": 31, "ProductsExported": 31, "Status": "Complete", "Error": "", "FileName": "ProductsExport_636111779723366901", "DateRequested": "04/10/2016 11:39", "DateStarted": "04/10/2016 11:39", "DateCompleted": "04/10/2016 11:39", "spreadSheet": { "found": True, "size": "11Kb", "rows": "0", "cols": "0", "error": "", }, "zipFile": { "found": False, "size": "???", "rows": "???", "cols": "???", "error": "", }, }, { "ID": 3750, "Channel": "Not Selected", "CopyImages": False, "ProductCount": 31, "ProductsExported": 31, "Status": "Complete", "Error": "", "FileName": "ProductsExport_636160256341883237", "DateRequested": "29/11/2016 14:13", "DateStarted": "29/11/2016 14:13", "DateCompleted": "29/11/2016 14:13", "spreadSheet": { "found": True, "size": "11Kb", "rows": "0", "cols": "0", "error": "", }, "zipFile": { "found": False, "size": "???", "rows": "???", "cols": "???", "error": "", }, }, { "ID": 3751, "Channel": "Not Selected", "CopyImages": False, "ProductCount": 31, "ProductsExported": 31, "Status": "Complete", "Error": "", "FileName": "ProductsExport_636160256472683094", "DateRequested": "29/11/2016 14:14", "DateStarted": "29/11/2016 14:14", "DateCompleted": "29/11/2016 14:14", "spreadSheet": { "found": True, "size": "11Kb", "rows": "0", "cols": "0", "error": "", }, "zipFile": { "found": False, "size": "???", "rows": "???", "cols": "???", "error": "", }, }, { "ID": 10570, "Channel": "Not Selected", "CopyImages": False, "ProductCount": 5, "ProductsExported": 5, "Status": "Complete", "Error": "", "FileName": "ProductsExport_636410739360708296", "DateRequested": "15/09/2017 11:54", "DateStarted": "15/09/2017 12:05", "DateCompleted": "15/09/2017 12:05", "spreadSheet": { "found": True, "size": "4Kb", "rows": "0", "cols": "0", "error": "", }, "zipFile": { "found": False, "size": "???", "rows": "???", "cols": "???", "error": "", }, }, { "ID": 12109, "Channel": "Not Selected", "CopyImages": False, "ProductCount": 5, "ProductsExported": 5, "Status": "Complete", "Error": "", "FileName": "ProductsExport_636456461223387722", "DateRequested": "07/11/2017 10:05", "DateStarted": "07/11/2017 10:08", "DateCompleted": "07/11/2017 10:08", "spreadSheet": { "found": True, "size": "4Kb", "rows": "0", "cols": "0", "error": "", }, "zipFile": { "found": False, "size": "???", "rows": "???", "cols": "???", "error": "", }, }, { "ID": 13846, "Channel": "Not Selected", "CopyImages": False, "ProductCount": 5, "ProductsExported": 5, "Status": "Complete", "Error": "", "FileName": "ProductsExport_636504993118418403", "DateRequested": "02/01/2018 14:15", "DateStarted": "02/01/2018 14:15", "DateCompleted": "02/01/2018 14:15", "spreadSheet": { "found": True, "size": "4Kb", "rows": "0", "cols": "0", "error": "", }, "zipFile": { "found": False, "size": "???", "rows": "???", "cols": "???", "error": "", }, }, { "ID": 20218, "Channel": "Not Selected", "CopyImages": False, "ProductCount": 5, "ProductsExported": 5, "Status": "Complete", "Error": "", "FileName": "ProductsExport_636607907105155479", "DateRequested": "01/05/2018 16:58", "DateStarted": "01/05/2018 16:58", "DateCompleted": "01/05/2018 16:58", "spreadSheet": { "found": True, "size": "4Kb", "rows": "0", "cols": "0", "error": "", }, "zipFile": { "found": False, "size": "???", "rows": "???", "cols": "???", "error": "", }, }, ], "supplierExports": [ { "ID": 12583, "Channel": "All Channels", "CopyImages": False, "ProductCount": 1, "ProductsExported": 1, "Status": "Complete", "Error": "", "FileName": "SuppliersExport_636467663849987565", "DateRequested": "20/11/2017 09:19", "DateStarted": "20/11/2017 09:19", "DateCompleted": "20/11/2017 09:19", "spreadSheet": { "found": True, "size": "2Kb", "rows": "0", "cols": "0", "error": "", }, "zipFile": { "found": False, "size": "???", "rows": "???", "cols": "???", "error": "", }, } ], "supplierSKUExports": [], "multipackExports": [ { "ID": 12045, "Channel": "All Channels", "CopyImages": False, "ProductCount": 0, "ProductsExported": 0, "Status": "Complete", "Error": "", "FileName": "MultipackItems_636453008811291174", "DateRequested": "03/11/2017 10:14", "DateStarted": "03/11/2017 10:14", "DateCompleted": "03/11/2017 10:14", "spreadSheet": { "found": True, "size": "2Kb", "rows": "0", "cols": "0", "error": "", }, "zipFile": { "found": False, "size": "???", "rows": "???", "cols": "???", "error": "", }, } ], "channelPricesExports": [], }
"""Response data for the GetProductExportUpdate request.""" get_product_export_update_response = {'pseudoExports': [{'ID': 20217, 'Channel': 'All Channels', 'CopyImages': False, 'ProductCount': 2, 'ProductsExported': 0, 'Status': 'Complete', 'Error': '', 'FileName': 'PseudoStockExport_636607906782497012', 'DateRequested': '01/05/2018 16:57', 'DateStarted': '01/05/2018 16:57', 'DateCompleted': '01/05/2018 16:57', 'spreadSheet': {'found': True, 'size': '3Kb', 'rows': '0', 'cols': '0', 'error': ''}, 'zipFile': {'found': False, 'size': '???', 'rows': '???', 'cols': '???', 'error': ''}}], 'productExports': [{'ID': 3056, 'Channel': 'Not Selected', 'CopyImages': False, 'ProductCount': 31, 'ProductsExported': 31, 'Status': 'Complete', 'Error': '', 'FileName': 'ProductsExport_636111775182718600', 'DateRequested': '04/10/2016 11:31', 'DateStarted': '04/10/2016 11:31', 'DateCompleted': '04/10/2016 11:31', 'spreadSheet': {'found': True, 'size': '11Kb', 'rows': '0', 'cols': '0', 'error': ''}, 'zipFile': {'found': False, 'size': '???', 'rows': '???', 'cols': '???', 'error': ''}}, {'ID': 3058, 'Channel': 'Not Selected', 'CopyImages': False, 'ProductCount': 31, 'ProductsExported': 31, 'Status': 'Complete', 'Error': '', 'FileName': 'ProductsExport_636111779723366901', 'DateRequested': '04/10/2016 11:39', 'DateStarted': '04/10/2016 11:39', 'DateCompleted': '04/10/2016 11:39', 'spreadSheet': {'found': True, 'size': '11Kb', 'rows': '0', 'cols': '0', 'error': ''}, 'zipFile': {'found': False, 'size': '???', 'rows': '???', 'cols': '???', 'error': ''}}, {'ID': 3750, 'Channel': 'Not Selected', 'CopyImages': False, 'ProductCount': 31, 'ProductsExported': 31, 'Status': 'Complete', 'Error': '', 'FileName': 'ProductsExport_636160256341883237', 'DateRequested': '29/11/2016 14:13', 'DateStarted': '29/11/2016 14:13', 'DateCompleted': '29/11/2016 14:13', 'spreadSheet': {'found': True, 'size': '11Kb', 'rows': '0', 'cols': '0', 'error': ''}, 'zipFile': {'found': False, 'size': '???', 'rows': '???', 'cols': '???', 'error': ''}}, {'ID': 3751, 'Channel': 'Not Selected', 'CopyImages': False, 'ProductCount': 31, 'ProductsExported': 31, 'Status': 'Complete', 'Error': '', 'FileName': 'ProductsExport_636160256472683094', 'DateRequested': '29/11/2016 14:14', 'DateStarted': '29/11/2016 14:14', 'DateCompleted': '29/11/2016 14:14', 'spreadSheet': {'found': True, 'size': '11Kb', 'rows': '0', 'cols': '0', 'error': ''}, 'zipFile': {'found': False, 'size': '???', 'rows': '???', 'cols': '???', 'error': ''}}, {'ID': 10570, 'Channel': 'Not Selected', 'CopyImages': False, 'ProductCount': 5, 'ProductsExported': 5, 'Status': 'Complete', 'Error': '', 'FileName': 'ProductsExport_636410739360708296', 'DateRequested': '15/09/2017 11:54', 'DateStarted': '15/09/2017 12:05', 'DateCompleted': '15/09/2017 12:05', 'spreadSheet': {'found': True, 'size': '4Kb', 'rows': '0', 'cols': '0', 'error': ''}, 'zipFile': {'found': False, 'size': '???', 'rows': '???', 'cols': '???', 'error': ''}}, {'ID': 12109, 'Channel': 'Not Selected', 'CopyImages': False, 'ProductCount': 5, 'ProductsExported': 5, 'Status': 'Complete', 'Error': '', 'FileName': 'ProductsExport_636456461223387722', 'DateRequested': '07/11/2017 10:05', 'DateStarted': '07/11/2017 10:08', 'DateCompleted': '07/11/2017 10:08', 'spreadSheet': {'found': True, 'size': '4Kb', 'rows': '0', 'cols': '0', 'error': ''}, 'zipFile': {'found': False, 'size': '???', 'rows': '???', 'cols': '???', 'error': ''}}, {'ID': 13846, 'Channel': 'Not Selected', 'CopyImages': False, 'ProductCount': 5, 'ProductsExported': 5, 'Status': 'Complete', 'Error': '', 'FileName': 'ProductsExport_636504993118418403', 'DateRequested': '02/01/2018 14:15', 'DateStarted': '02/01/2018 14:15', 'DateCompleted': '02/01/2018 14:15', 'spreadSheet': {'found': True, 'size': '4Kb', 'rows': '0', 'cols': '0', 'error': ''}, 'zipFile': {'found': False, 'size': '???', 'rows': '???', 'cols': '???', 'error': ''}}, {'ID': 20218, 'Channel': 'Not Selected', 'CopyImages': False, 'ProductCount': 5, 'ProductsExported': 5, 'Status': 'Complete', 'Error': '', 'FileName': 'ProductsExport_636607907105155479', 'DateRequested': '01/05/2018 16:58', 'DateStarted': '01/05/2018 16:58', 'DateCompleted': '01/05/2018 16:58', 'spreadSheet': {'found': True, 'size': '4Kb', 'rows': '0', 'cols': '0', 'error': ''}, 'zipFile': {'found': False, 'size': '???', 'rows': '???', 'cols': '???', 'error': ''}}], 'supplierExports': [{'ID': 12583, 'Channel': 'All Channels', 'CopyImages': False, 'ProductCount': 1, 'ProductsExported': 1, 'Status': 'Complete', 'Error': '', 'FileName': 'SuppliersExport_636467663849987565', 'DateRequested': '20/11/2017 09:19', 'DateStarted': '20/11/2017 09:19', 'DateCompleted': '20/11/2017 09:19', 'spreadSheet': {'found': True, 'size': '2Kb', 'rows': '0', 'cols': '0', 'error': ''}, 'zipFile': {'found': False, 'size': '???', 'rows': '???', 'cols': '???', 'error': ''}}], 'supplierSKUExports': [], 'multipackExports': [{'ID': 12045, 'Channel': 'All Channels', 'CopyImages': False, 'ProductCount': 0, 'ProductsExported': 0, 'Status': 'Complete', 'Error': '', 'FileName': 'MultipackItems_636453008811291174', 'DateRequested': '03/11/2017 10:14', 'DateStarted': '03/11/2017 10:14', 'DateCompleted': '03/11/2017 10:14', 'spreadSheet': {'found': True, 'size': '2Kb', 'rows': '0', 'cols': '0', 'error': ''}, 'zipFile': {'found': False, 'size': '???', 'rows': '???', 'cols': '???', 'error': ''}}], 'channelPricesExports': []}
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)
""" # Definition for a Node. class Node: def __init__(self, val=None, next=None): self.val = val self.next = next """ class Node: def __init__(self, val=None, next=None): self.val = val self.next = next class Solution: def insert(self, head: 'Node', insertVal: int) -> 'Node': if not head or head.next == None: head = Node(val=insertVal) head.next = head return head init_val = None node = head while not (node.val == init_val and node == head): if init_val == None: init_val = node.val cur_node = node next_node = node.next if cur_node.next == next_node.next: new_node = Node(val=insertVal, next=next_node) cur_node.next = new_node return head # [3, 4, 1] 2 if cur_node.val <= insertVal and next_node.val > insertVal: new_node = Node(val=insertVal, next=next_node) cur_node.next = new_node return head # [3,5,1] 0 -> [3,5,0,1] if cur_node.val > insertVal and next_node.val > insertVal and cur_node.val > next_node.val: new_node = Node(val=insertVal, next=next_node) cur_node.next = new_node return head # [3,5,1] 6 # [3,5,1] 5 -> [3,5,5,1] if cur_node.val <= insertVal and next_node.val < insertVal and cur_node.val > next_node.val: new_node = Node(val=insertVal, next=next_node) cur_node.next = new_node return head if next_node == head: new_node = Node(val=insertVal, next=next_node) cur_node.next = new_node return head node = next_node return head
""" # Definition for a Node. class Node: def __init__(self, val=None, next=None): self.val = val self.next = next """ class Node: def __init__(self, val=None, next=None): self.val = val self.next = next class Solution: def insert(self, head: 'Node', insertVal: int) -> 'Node': if not head or head.next == None: head = node(val=insertVal) head.next = head return head init_val = None node = head while not (node.val == init_val and node == head): if init_val == None: init_val = node.val cur_node = node next_node = node.next if cur_node.next == next_node.next: new_node = node(val=insertVal, next=next_node) cur_node.next = new_node return head if cur_node.val <= insertVal and next_node.val > insertVal: new_node = node(val=insertVal, next=next_node) cur_node.next = new_node return head if cur_node.val > insertVal and next_node.val > insertVal and (cur_node.val > next_node.val): new_node = node(val=insertVal, next=next_node) cur_node.next = new_node return head if cur_node.val <= insertVal and next_node.val < insertVal and (cur_node.val > next_node.val): new_node = node(val=insertVal, next=next_node) cur_node.next = new_node return head if next_node == head: new_node = node(val=insertVal, next=next_node) cur_node.next = new_node return head node = next_node return head
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
def main(): """ Finds how many outer bags you can use Made for AoC 2020 Day 7: https://adventofcode.com/2020/day/7 """ part_1_test_input = '''light red bags contain 1 bright white bag, 2 muted yellow bags. dark orange bags contain 3 bright white bags, 4 muted yellow bags. bright white bags contain 1 shiny gold bag. muted yellow bags contain 2 shiny gold bags, 9 faded blue bags. shiny gold bags contain 1 dark olive bag, 2 vibrant plum bags. dark olive bags contain 3 faded blue bags, 4 dotted black bags. vibrant plum bags contain 5 faded blue bags, 6 dotted black bags. faded blue bags contain no other bags. dotted black bags contain no other bags.''' part_1_real_input = '''striped white bags contain 4 drab silver bags. drab silver bags contain no other bags. pale plum bags contain 1 dark black bag. muted gold bags contain 1 wavy red bag, 3 mirrored violet bags, 5 bright gold bags, 5 plaid white bags. muted teal bags contain 2 pale beige bags, 5 clear beige bags, 2 dotted gold bags, 4 posh cyan bags. posh coral bags contain 1 light silver bag, 2 dull blue bags, 3 dim fuchsia bags, 2 dotted magenta bags. faded black bags contain 4 light silver bags. muted lavender bags contain 1 pale gold bag. clear fuchsia bags contain 1 dull gray bag, 2 shiny indigo bags, 3 posh olive bags, 5 vibrant plum bags. shiny olive bags contain 1 dotted gold bag, 5 bright violet bags. vibrant lavender bags contain 3 dotted aqua bags, 4 pale chartreuse bags, 5 mirrored blue bags. pale fuchsia bags contain 5 pale crimson bags, 2 dull teal bags. clear lavender bags contain 5 shiny fuchsia bags, 5 wavy teal bags. light chartreuse bags contain 5 mirrored yellow bags, 3 bright maroon bags. mirrored white bags contain 1 bright gray bag, 4 plaid blue bags. dark teal bags contain 4 bright maroon bags, 5 plaid bronze bags, 1 dark brown bag. wavy yellow bags contain 4 dim silver bags, 1 striped tomato bag, 5 clear chartreuse bags. dark turquoise bags contain 4 clear plum bags. posh gray bags contain 2 faded purple bags, 2 faded orange bags. wavy tomato bags contain 1 dark purple bag. vibrant gray bags contain 3 muted gray bags, 1 dark fuchsia bag, 5 posh white bags, 5 posh tomato bags. light crimson bags contain 2 dotted chartreuse bags. dull gray bags contain 4 muted brown bags, 2 shiny blue bags, 4 dim crimson bags. drab red bags contain 2 bright cyan bags, 1 pale brown bag. dotted salmon bags contain 5 mirrored indigo bags. vibrant green bags contain 2 dark coral bags. light magenta bags contain 4 clear bronze bags, 4 dull teal bags, 4 posh salmon bags. vibrant purple bags contain 4 posh plum bags, 2 bright gray bags. posh lime bags contain 3 plaid yellow bags, 4 posh salmon bags. bright white bags contain 4 dull aqua bags, 1 shiny silver bag. faded blue bags contain 5 muted cyan bags, 2 mirrored coral bags. dim green bags contain 2 posh lavender bags. faded gray bags contain 2 dark gold bags, 1 drab turquoise bag. wavy black bags contain 4 dim fuchsia bags, 1 muted orange bag, 4 drab salmon bags. plaid plum bags contain 5 dotted tomato bags, 1 shiny beige bag. bright tan bags contain 2 posh salmon bags. wavy gold bags contain 1 faded olive bag, 5 vibrant black bags, 3 dull orange bags. dull fuchsia bags contain 1 faded crimson bag, 5 vibrant white bags. shiny maroon bags contain 5 dull lavender bags, 1 dim white bag. wavy white bags contain 5 light teal bags, 4 dim salmon bags, 3 dotted red bags, 5 dark red bags. dim cyan bags contain 1 muted orange bag. muted cyan bags contain 4 dull turquoise bags, 5 posh gray bags, 5 clear turquoise bags, 1 shiny plum bag. posh violet bags contain 5 plaid crimson bags, 5 muted purple bags, 1 wavy beige bag, 2 mirrored orange bags. faded purple bags contain 3 plaid blue bags, 1 dull lavender bag, 1 muted orange bag, 2 dotted tomato bags. wavy beige bags contain 1 dotted beige bag. dim black bags contain 1 wavy blue bag, 1 plaid black bag, 3 pale lavender bags, 2 light violet bags. dotted lavender bags contain 1 plaid blue bag, 5 dim crimson bags. dark yellow bags contain 3 posh green bags. wavy salmon bags contain 1 clear aqua bag, 3 mirrored crimson bags, 3 pale magenta bags, 2 dull teal bags. clear silver bags contain 3 faded tan bags, 5 faded aqua bags, 1 clear tomato bag. vibrant bronze bags contain 1 faded maroon bag, 4 plaid indigo bags, 2 bright purple bags, 5 dim violet bags. pale brown bags contain 1 dull lavender bag, 2 clear turquoise bags. faded salmon bags contain 1 pale silver bag. dark gray bags contain 2 pale teal bags. posh red bags contain 3 faded black bags, 2 dull red bags. dim indigo bags contain 3 bright green bags, 2 dotted tomato bags, 5 bright magenta bags. dull maroon bags contain 5 light green bags. wavy teal bags contain 5 faded tan bags, 4 clear orange bags. pale chartreuse bags contain 5 bright blue bags, 3 light indigo bags, 3 shiny white bags, 3 wavy bronze bags. mirrored gray bags contain 4 vibrant tomato bags, 1 dark red bag, 5 drab silver bags, 3 posh magenta bags. dark lavender bags contain 4 dotted white bags, 5 vibrant chartreuse bags, 2 dim teal bags. shiny turquoise bags contain 3 dim lime bags, 5 bright cyan bags, 2 pale green bags. shiny indigo bags contain 2 dark fuchsia bags, 4 posh chartreuse bags. pale crimson bags contain 5 mirrored silver bags, 2 posh black bags. light salmon bags contain 2 vibrant orange bags, 2 dotted red bags. plaid orange bags contain 1 dotted turquoise bag, 4 vibrant brown bags. dim maroon bags contain 5 shiny gold bags, 4 mirrored maroon bags. muted green bags contain 1 plaid plum bag. faded indigo bags contain 3 faded purple bags, 4 vibrant indigo bags, 1 light coral bag. dull blue bags contain 5 dull salmon bags, 2 wavy magenta bags. vibrant black bags contain 1 light coral bag, 5 vibrant cyan bags, 3 dim magenta bags. striped lime bags contain 1 striped maroon bag, 2 vibrant brown bags. drab brown bags contain 1 faded olive bag, 5 dotted beige bags. dark plum bags contain 5 faded brown bags. clear olive bags contain 3 dull aqua bags, 5 drab yellow bags. wavy crimson bags contain 2 posh plum bags, 2 dull aqua bags, 5 shiny teal bags, 2 vibrant purple bags. mirrored olive bags contain 2 wavy gold bags. dim crimson bags contain no other bags. faded plum bags contain 1 plaid indigo bag. light maroon bags contain 3 vibrant orange bags, 2 clear olive bags, 3 clear brown bags, 1 pale black bag. posh white bags contain 3 dull green bags, 3 clear brown bags. drab black bags contain 2 shiny turquoise bags. light purple bags contain 2 pale black bags, 5 light silver bags, 1 drab coral bag. pale yellow bags contain 2 vibrant orange bags, 5 posh black bags, 2 vibrant tomato bags, 3 dotted lavender bags. dull cyan bags contain 5 wavy beige bags, 1 dull yellow bag, 3 drab lime bags, 3 drab chartreuse bags. drab lavender bags contain 2 plaid black bags, 4 dotted gray bags, 1 dim silver bag, 2 shiny gold bags. striped brown bags contain 5 light maroon bags, 3 light red bags, 3 clear indigo bags. drab tomato bags contain 2 light black bags, 2 clear salmon bags. dotted red bags contain 4 dim salmon bags, 5 striped indigo bags. vibrant teal bags contain 5 bright black bags, 1 dark purple bag, 2 bright turquoise bags. striped teal bags contain 4 mirrored silver bags. dull beige bags contain 4 clear olive bags, 4 light teal bags, 3 bright plum bags, 4 dotted lavender bags. light violet bags contain 2 dull lavender bags, 4 bright gray bags, 5 vibrant orange bags, 3 wavy magenta bags. dim brown bags contain 2 clear plum bags, 2 shiny teal bags, 2 posh salmon bags. striped magenta bags contain 4 posh turquoise bags, 3 pale cyan bags, 3 faded indigo bags. bright orange bags contain 4 plaid gray bags, 4 dark black bags, 4 faded red bags, 4 bright black bags. muted olive bags contain 2 dotted crimson bags, 4 faded lavender bags, 2 vibrant gray bags. plaid teal bags contain 2 light yellow bags, 4 drab cyan bags, 3 light green bags. faded fuchsia bags contain 1 posh silver bag, 4 drab chartreuse bags, 4 drab teal bags. dim silver bags contain 1 pale turquoise bag. bright lime bags contain 1 striped silver bag, 5 muted teal bags, 1 shiny tan bag, 1 dark silver bag. dotted green bags contain 3 posh green bags, 1 drab yellow bag. drab purple bags contain 5 bright violet bags, 1 posh tomato bag. dull bronze bags contain 4 mirrored black bags. striped tomato bags contain 1 posh gray bag, 2 posh magenta bags. bright crimson bags contain 2 light olive bags, 4 clear tan bags, 3 drab fuchsia bags. bright turquoise bags contain 4 pale teal bags, 3 drab silver bags. shiny lavender bags contain 2 striped lime bags, 2 plaid tomato bags, 1 faded orange bag, 5 wavy magenta bags. light tomato bags contain 5 dotted olive bags. wavy magenta bags contain no other bags. vibrant fuchsia bags contain 5 posh brown bags, 5 plaid indigo bags. dark tomato bags contain 3 shiny plum bags. pale bronze bags contain 5 plaid black bags, 5 vibrant brown bags, 2 dim lime bags, 4 muted bronze bags. striped fuchsia bags contain 3 muted brown bags, 2 pale chartreuse bags, 1 dim magenta bag. dark brown bags contain 4 clear bronze bags. posh teal bags contain 5 dotted plum bags, 2 drab gray bags, 3 dull fuchsia bags. wavy turquoise bags contain 1 dull lavender bag. striped maroon bags contain 4 muted yellow bags, 4 clear orange bags, 4 vibrant orange bags. shiny green bags contain 3 muted brown bags, 1 vibrant black bag, 4 wavy cyan bags, 3 posh brown bags. plaid salmon bags contain 4 mirrored indigo bags, 2 wavy white bags, 5 mirrored bronze bags, 3 light coral bags. dotted magenta bags contain 2 light olive bags, 2 dark red bags, 4 clear green bags, 3 dim plum bags. light orange bags contain 5 dark plum bags, 3 bright maroon bags, 2 dotted lime bags. clear brown bags contain 3 dim white bags, 2 posh magenta bags. vibrant turquoise bags contain 2 striped yellow bags, 1 mirrored crimson bag. muted coral bags contain 4 wavy gold bags, 2 dim tan bags, 1 shiny green bag. plaid crimson bags contain 1 dull aqua bag. vibrant plum bags contain 4 striped tomato bags, 1 striped turquoise bag. dark coral bags contain 5 posh black bags, 1 shiny beige bag, 3 pale brown bags. mirrored brown bags contain 1 clear blue bag, 1 dull indigo bag. bright blue bags contain 2 light violet bags, 1 dotted tomato bag. drab cyan bags contain 2 dim turquoise bags, 5 clear violet bags. dotted coral bags contain 3 dotted aqua bags. shiny yellow bags contain 1 wavy cyan bag. shiny red bags contain 5 shiny beige bags, 3 dotted lime bags, 5 dotted plum bags. muted lime bags contain 3 dark turquoise bags, 3 bright chartreuse bags. pale gray bags contain 5 dotted coral bags, 4 wavy teal bags, 2 clear aqua bags. pale blue bags contain 5 dull salmon bags, 3 posh bronze bags, 2 vibrant tomato bags. dim turquoise bags contain 4 posh aqua bags, 2 dark turquoise bags. pale turquoise bags contain 5 vibrant brown bags, 2 shiny maroon bags. dim gray bags contain 2 faded tomato bags, 2 faded indigo bags. clear aqua bags contain 1 light turquoise bag, 3 dotted turquoise bags. faded turquoise bags contain 5 muted lime bags. clear plum bags contain 2 plaid indigo bags, 5 drab yellow bags. vibrant white bags contain 2 bright violet bags, 4 dark plum bags, 1 dim plum bag, 4 plaid indigo bags. dark orange bags contain 3 posh purple bags, 5 clear orange bags, 1 dim white bag. light olive bags contain 3 drab green bags. muted salmon bags contain 4 muted cyan bags. clear maroon bags contain 2 muted yellow bags, 5 plaid crimson bags, 1 clear turquoise bag. wavy orange bags contain 4 vibrant blue bags, 4 posh brown bags, 2 pale turquoise bags, 5 shiny orange bags. dotted gold bags contain 3 posh magenta bags, 1 faded crimson bag, 3 dotted olive bags, 3 plaid olive bags. dull purple bags contain 5 drab salmon bags, 4 dim lavender bags. light bronze bags contain 2 wavy indigo bags. muted turquoise bags contain 5 clear turquoise bags, 4 plaid violet bags, 4 clear orange bags, 2 posh maroon bags. mirrored blue bags contain 4 clear chartreuse bags. drab tan bags contain 3 striped violet bags, 2 bright silver bags, 2 dark bronze bags, 1 mirrored black bag. dark maroon bags contain 1 vibrant orange bag. drab yellow bags contain 1 vibrant blue bag, 2 dim violet bags. light cyan bags contain 4 posh beige bags. vibrant salmon bags contain 3 wavy gold bags. muted orange bags contain 3 dotted tomato bags, 4 vibrant tomato bags, 5 dull lavender bags. dull turquoise bags contain 1 wavy white bag. dotted indigo bags contain 3 wavy bronze bags. dark red bags contain 4 wavy bronze bags, 5 wavy turquoise bags. light coral bags contain 4 clear tan bags, 2 vibrant beige bags, 1 dull lavender bag, 5 shiny white bags. mirrored turquoise bags contain 5 clear fuchsia bags, 3 mirrored black bags, 4 plaid tan bags. mirrored yellow bags contain 4 pale turquoise bags, 2 wavy orange bags, 3 drab coral bags, 4 dim chartreuse bags. dotted fuchsia bags contain 4 dim bronze bags, 4 striped indigo bags. dotted purple bags contain 5 posh maroon bags, 1 dim yellow bag. clear coral bags contain 5 dark olive bags, 2 wavy bronze bags, 3 light red bags. mirrored teal bags contain 3 drab yellow bags. faded green bags contain 2 dark purple bags. light lime bags contain 4 bright chartreuse bags, 5 clear tomato bags, 2 bright green bags, 2 faded teal bags. bright yellow bags contain 4 dull purple bags, 3 faded beige bags. bright maroon bags contain 2 vibrant blue bags, 5 bright violet bags, 5 plaid indigo bags, 3 vibrant orange bags. faded red bags contain 5 pale brown bags, 4 striped tomato bags, 2 bright green bags. muted maroon bags contain 1 dark tan bag, 5 drab teal bags, 4 dull maroon bags. plaid coral bags contain 5 bright blue bags, 1 dotted indigo bag. dotted brown bags contain 1 dull beige bag, 2 bright indigo bags, 2 striped chartreuse bags, 1 muted silver bag. wavy coral bags contain 2 clear cyan bags, 2 muted teal bags, 1 faded red bag, 2 mirrored silver bags. faded coral bags contain 3 bright green bags, 1 bright cyan bag, 3 plaid blue bags, 5 wavy lavender bags. dim gold bags contain 5 dim teal bags, 1 vibrant tomato bag, 5 pale chartreuse bags, 3 bright indigo bags. bright salmon bags contain 5 plaid chartreuse bags, 5 light tan bags, 5 vibrant maroon bags. wavy violet bags contain 4 bright green bags. mirrored lavender bags contain 5 drab plum bags, 2 drab turquoise bags, 2 dark magenta bags. faded aqua bags contain 3 faded teal bags, 1 dark red bag. muted yellow bags contain 1 mirrored silver bag, 1 striped white bag, 3 mirrored gold bags, 1 muted gray bag. pale coral bags contain 2 striped gray bags, 2 clear beige bags. mirrored cyan bags contain 1 pale beige bag, 4 dim crimson bags. dotted aqua bags contain 4 dim crimson bags, 3 vibrant beige bags. dark white bags contain 4 dim maroon bags, 1 light olive bag, 3 dull fuchsia bags, 4 mirrored maroon bags. dotted chartreuse bags contain 5 clear tan bags, 2 clear white bags, 2 dark coral bags, 4 faded brown bags. mirrored red bags contain 5 faded violet bags, 2 dark chartreuse bags. drab maroon bags contain 3 bright violet bags. dark violet bags contain 5 dark turquoise bags, 1 muted blue bag, 4 plaid bronze bags. dull silver bags contain 4 dotted lime bags, 3 dotted silver bags, 4 dull red bags, 3 pale white bags. striped lavender bags contain 5 drab silver bags. light yellow bags contain 3 posh plum bags, 3 bright olive bags, 4 wavy crimson bags. posh chartreuse bags contain 2 bright violet bags. pale green bags contain 5 shiny lime bags, 3 faded teal bags, 5 posh gray bags, 1 posh chartreuse bag. shiny lime bags contain 1 dull beige bag, 4 light aqua bags, 4 dotted tomato bags. plaid tan bags contain 1 mirrored chartreuse bag. drab coral bags contain 5 posh gray bags, 2 dull black bags. drab salmon bags contain 4 drab yellow bags, 3 mirrored green bags. faded yellow bags contain 2 mirrored beige bags, 1 bright turquoise bag, 1 vibrant black bag. bright tomato bags contain 4 clear brown bags. muted beige bags contain 1 clear turquoise bag. striped black bags contain 1 plaid chartreuse bag. bright cyan bags contain 5 clear tomato bags. striped coral bags contain 2 muted red bags. posh bronze bags contain 5 striped yellow bags. mirrored maroon bags contain 4 vibrant tomato bags, 5 bright green bags, 4 vibrant maroon bags, 4 striped violet bags. dotted turquoise bags contain 1 posh beige bag, 5 muted silver bags. bright purple bags contain 5 drab silver bags, 5 shiny blue bags, 2 plaid bronze bags, 4 faded magenta bags. posh plum bags contain 5 striped white bags, 2 pale brown bags, 1 wavy turquoise bag. dark crimson bags contain 1 dull black bag, 2 dull yellow bags, 1 posh white bag, 3 dotted lime bags. plaid bronze bags contain 5 striped indigo bags, 5 light indigo bags, 4 wavy magenta bags, 3 vibrant blue bags. clear red bags contain 4 posh silver bags, 1 dim aqua bag. striped salmon bags contain 3 bright violet bags, 4 faded olive bags, 5 dim turquoise bags. dim bronze bags contain no other bags. wavy brown bags contain 4 vibrant turquoise bags. wavy maroon bags contain 1 mirrored bronze bag, 2 posh fuchsia bags, 1 mirrored indigo bag. mirrored salmon bags contain 2 faded lavender bags. dark aqua bags contain 4 faded teal bags, 1 dim tomato bag. pale violet bags contain 5 clear blue bags, 3 plaid blue bags, 5 dim teal bags, 2 pale black bags. mirrored crimson bags contain 2 posh magenta bags, 2 dotted aqua bags, 1 dim bronze bag. bright indigo bags contain 4 bright violet bags. muted violet bags contain 4 mirrored maroon bags, 2 dull red bags, 4 plaid tomato bags, 1 pale yellow bag. shiny gold bags contain 3 vibrant blue bags, 5 plaid blue bags, 2 dark red bags, 1 dull green bag. clear green bags contain 4 dotted lavender bags. dark indigo bags contain 2 light lime bags, 3 wavy brown bags. muted fuchsia bags contain 3 plaid green bags. bright silver bags contain 4 dim tomato bags, 3 clear olive bags, 1 dull teal bag. plaid purple bags contain 4 dark silver bags, 1 vibrant crimson bag, 4 dark black bags, 3 faded magenta bags. clear chartreuse bags contain 4 posh plum bags. plaid tomato bags contain 2 wavy aqua bags, 3 striped indigo bags, 1 wavy magenta bag. posh cyan bags contain 3 drab green bags, 3 bright chartreuse bags, 3 muted gray bags, 2 light black bags. posh turquoise bags contain 5 wavy teal bags, 3 light tan bags, 1 dull gold bag. plaid olive bags contain 2 dim chartreuse bags. shiny orange bags contain 4 pale brown bags, 3 dim salmon bags. clear gray bags contain 4 bright salmon bags, 5 vibrant crimson bags. shiny brown bags contain 1 bright gold bag, 3 clear tomato bags. muted aqua bags contain 2 mirrored indigo bags, 1 dim tan bag. plaid red bags contain 1 clear plum bag. muted bronze bags contain 4 clear white bags, 3 dotted plum bags. plaid blue bags contain 2 dull lavender bags, 5 wavy magenta bags, 1 light indigo bag. shiny salmon bags contain 2 dotted black bags, 1 light magenta bag. shiny cyan bags contain 5 faded violet bags, 3 mirrored bronze bags, 4 dark maroon bags, 2 wavy lavender bags. drab magenta bags contain 2 light blue bags, 1 wavy orange bag, 5 posh chartreuse bags. dim violet bags contain 5 dark red bags, 4 light violet bags, 2 dotted fuchsia bags, 2 plaid tomato bags. faded crimson bags contain 3 clear silver bags, 1 vibrant beige bag. plaid fuchsia bags contain 3 plaid red bags, 4 drab purple bags, 4 clear lime bags, 3 dim turquoise bags. dull green bags contain 5 dotted beige bags, 4 drab silver bags, 4 posh magenta bags, 1 muted orange bag. wavy indigo bags contain 2 pale tan bags. plaid lavender bags contain 1 dark black bag. clear bronze bags contain 3 pale teal bags. clear blue bags contain 2 light teal bags, 5 dotted olive bags, 3 bright indigo bags. posh aqua bags contain 2 light violet bags, 2 dull salmon bags, 1 vibrant violet bag. dark gold bags contain 2 striped maroon bags. vibrant chartreuse bags contain 3 wavy silver bags. dark magenta bags contain 1 clear silver bag. dim red bags contain 3 wavy indigo bags, 2 muted teal bags. muted silver bags contain 5 pale crimson bags, 2 dotted tomato bags. mirrored tan bags contain 1 pale salmon bag. dull violet bags contain 2 dull black bags. striped beige bags contain 4 dark maroon bags, 2 wavy orange bags. striped turquoise bags contain 3 light indigo bags, 5 bright maroon bags, 1 light teal bag. pale gold bags contain 5 dotted teal bags. wavy olive bags contain 3 dotted fuchsia bags. clear violet bags contain 1 dotted lavender bag, 5 bright tan bags, 5 dim violet bags, 5 drab salmon bags. pale maroon bags contain 4 drab red bags, 1 wavy yellow bag, 1 muted green bag, 1 striped fuchsia bag. drab bronze bags contain 4 light gray bags, 3 posh magenta bags, 1 dull yellow bag. vibrant gold bags contain 4 dull violet bags, 3 clear white bags, 5 wavy chartreuse bags, 4 pale turquoise bags. clear beige bags contain 4 plaid blue bags, 3 shiny plum bags, 1 light silver bag. faded silver bags contain 5 drab turquoise bags, 4 plaid green bags, 4 posh yellow bags, 1 plaid blue bag. light brown bags contain 1 dark red bag, 1 dotted gray bag. shiny violet bags contain 5 posh cyan bags, 5 vibrant plum bags, 5 mirrored chartreuse bags, 4 plaid green bags. dark bronze bags contain 4 bright gold bags, 2 striped maroon bags, 4 dark aqua bags, 5 pale chartreuse bags. dull black bags contain 2 vibrant tomato bags, 1 vibrant blue bag, 3 pale yellow bags. dotted beige bags contain 5 dotted tomato bags, 1 striped indigo bag. clear indigo bags contain 3 dark violet bags. bright coral bags contain 1 dark indigo bag. drab turquoise bags contain 5 drab plum bags, 3 pale magenta bags, 5 drab red bags, 4 dull olive bags. shiny fuchsia bags contain 2 dull lavender bags, 5 striped tomato bags. dull indigo bags contain 3 pale turquoise bags, 3 faded tomato bags, 5 dim magenta bags, 3 drab indigo bags. dim aqua bags contain 4 faded brown bags, 1 mirrored lime bag. muted purple bags contain 3 dim salmon bags, 4 light violet bags, 2 striped turquoise bags, 2 shiny teal bags. dotted black bags contain 3 dotted cyan bags, 4 wavy magenta bags, 4 posh chartreuse bags. drab violet bags contain 4 dark gray bags, 5 dull chartreuse bags, 4 plaid gray bags. plaid green bags contain 3 dark red bags, 1 wavy crimson bag, 4 light coral bags, 4 striped indigo bags. faded brown bags contain 3 dark orange bags. light teal bags contain 3 striped indigo bags, 4 dim bronze bags. plaid black bags contain 2 mirrored crimson bags, 5 dim silver bags, 4 posh purple bags. shiny blue bags contain 2 plaid green bags, 4 plaid crimson bags, 2 faded plum bags. plaid lime bags contain 2 striped maroon bags. pale lavender bags contain 2 mirrored indigo bags, 1 pale green bag, 5 dim chartreuse bags, 3 pale white bags. drab chartreuse bags contain 1 bright salmon bag, 4 vibrant brown bags, 1 muted violet bag. light indigo bags contain no other bags. plaid violet bags contain 2 dim white bags, 4 faded lavender bags. drab gold bags contain 5 dotted aqua bags, 3 muted beige bags, 4 faded black bags, 5 dark red bags. mirrored bronze bags contain 2 plaid blue bags, 1 light orange bag. dim olive bags contain 1 striped silver bag. plaid white bags contain 5 pale turquoise bags, 4 mirrored orange bags, 2 vibrant aqua bags. wavy purple bags contain 3 dark silver bags, 1 dull white bag, 3 dotted magenta bags, 2 dim salmon bags. clear orange bags contain 5 striped indigo bags, 1 wavy bronze bag, 4 vibrant blue bags. plaid gray bags contain 1 dull aqua bag, 3 dull olive bags, 3 posh black bags. vibrant violet bags contain 2 vibrant maroon bags. pale olive bags contain 2 vibrant fuchsia bags. muted brown bags contain 5 pale teal bags, 2 light brown bags, 4 light tomato bags. posh lavender bags contain 4 bright indigo bags, 1 striped indigo bag, 5 dark purple bags. dotted blue bags contain 4 muted salmon bags, 3 mirrored red bags, 5 pale white bags, 3 clear red bags. dim purple bags contain 4 muted cyan bags. bright fuchsia bags contain 5 muted black bags. vibrant lime bags contain 3 posh purple bags, 1 drab aqua bag. wavy green bags contain 3 drab red bags, 2 faded brown bags, 2 wavy cyan bags. dull lime bags contain 3 bright salmon bags, 4 posh crimson bags, 1 drab salmon bag, 4 pale yellow bags. mirrored aqua bags contain 4 striped violet bags, 1 striped indigo bag, 2 striped tomato bags. striped tan bags contain 4 light blue bags, 4 dull beige bags. drab green bags contain 5 muted silver bags, 1 vibrant orange bag, 2 striped indigo bags, 4 striped tomato bags. dotted orange bags contain 5 mirrored white bags, 5 muted orange bags, 2 drab tomato bags, 2 dull white bags. dim tomato bags contain 2 dull lavender bags. dull magenta bags contain 3 faded brown bags, 5 faded teal bags. faded maroon bags contain 4 posh brown bags, 2 dotted aqua bags. plaid cyan bags contain 4 faded crimson bags, 4 light chartreuse bags, 1 light crimson bag, 1 posh fuchsia bag. dim salmon bags contain 1 dotted olive bag, 4 light indigo bags. faded chartreuse bags contain 4 bright gold bags, 4 clear silver bags. light plum bags contain 2 dotted chartreuse bags, 1 drab white bag. posh silver bags contain 3 mirrored black bags, 4 dull blue bags. dull salmon bags contain 4 dim white bags, 5 clear tomato bags, 2 mirrored maroon bags. light green bags contain 4 plaid chartreuse bags, 5 vibrant aqua bags. posh indigo bags contain 2 dull olive bags, 2 dotted lime bags, 1 drab red bag. dark blue bags contain 5 dotted green bags, 3 wavy crimson bags, 4 clear silver bags. bright black bags contain 5 posh bronze bags, 3 bright cyan bags, 5 muted black bags. bright lavender bags contain 1 shiny indigo bag, 1 dim yellow bag, 1 wavy yellow bag. faded white bags contain 1 dotted black bag, 5 wavy red bags. muted black bags contain 1 mirrored aqua bag, 4 dark red bags, 5 dull yellow bags. light turquoise bags contain 3 shiny plum bags. vibrant coral bags contain 2 shiny orange bags, 4 bright olive bags. vibrant aqua bags contain 2 wavy crimson bags, 2 muted orange bags. dotted tan bags contain 1 light indigo bag, 2 dim magenta bags. posh yellow bags contain 4 faded lavender bags. pale lime bags contain 4 mirrored orange bags, 3 dull gray bags, 1 muted magenta bag. drab white bags contain 2 faded tan bags, 3 wavy aqua bags. shiny tomato bags contain 4 dim coral bags, 3 dotted lime bags. wavy plum bags contain 1 bright orange bag. dull crimson bags contain 2 pale silver bags, 1 light beige bag, 4 wavy violet bags. dotted violet bags contain 4 light indigo bags, 1 dark black bag, 3 pale green bags. dark salmon bags contain 5 light tan bags, 4 dim chartreuse bags, 5 faded green bags, 3 light brown bags. dull brown bags contain 5 mirrored aqua bags, 5 dim magenta bags, 4 light brown bags, 5 plaid black bags. shiny chartreuse bags contain 5 wavy yellow bags, 3 faded aqua bags, 1 bright fuchsia bag, 5 drab plum bags. muted red bags contain 3 drab white bags, 5 dim beige bags, 4 bright olive bags. posh blue bags contain 1 dotted beige bag, 1 vibrant cyan bag, 4 vibrant brown bags, 2 clear turquoise bags. wavy bronze bags contain 4 wavy turquoise bags, 4 dim bronze bags, 3 shiny beige bags, 2 dull lavender bags. posh beige bags contain 3 muted gray bags, 4 light salmon bags, 5 striped turquoise bags. vibrant red bags contain 5 muted blue bags. dark olive bags contain 5 dark maroon bags. dotted gray bags contain 3 wavy magenta bags. vibrant cyan bags contain 5 dotted lavender bags, 3 vibrant orange bags. dark chartreuse bags contain 3 pale white bags, 1 dull lavender bag. faded lime bags contain 4 clear green bags, 3 shiny plum bags, 2 light green bags. vibrant blue bags contain 1 wavy turquoise bag, 4 dim salmon bags. dull tan bags contain 3 dim chartreuse bags, 1 plaid tomato bag, 4 dark brown bags. muted gray bags contain 4 clear tan bags, 3 wavy aqua bags, 5 dim white bags. clear yellow bags contain 1 drab white bag, 5 dark salmon bags, 2 dull yellow bags. clear tomato bags contain 2 dotted gray bags, 5 vibrant beige bags, 1 bright maroon bag, 2 drab green bags. shiny tan bags contain 5 posh lavender bags, 5 pale yellow bags. dark black bags contain 4 muted purple bags, 5 light gray bags, 5 drab red bags. striped plum bags contain 3 dull red bags, 1 dark tomato bag, 4 dark yellow bags, 5 plaid cyan bags. light gray bags contain 3 plaid chartreuse bags. light aqua bags contain 4 wavy magenta bags, 3 light black bags. vibrant brown bags contain 1 bright blue bag, 1 posh black bag. posh tomato bags contain 5 wavy magenta bags. dotted bronze bags contain 4 mirrored chartreuse bags. mirrored violet bags contain 2 clear maroon bags, 1 light red bag, 4 mirrored gray bags. dark purple bags contain 5 bright blue bags, 3 plaid blue bags. faded beige bags contain 4 plaid bronze bags, 5 vibrant turquoise bags, 3 pale orange bags, 5 mirrored aqua bags. mirrored green bags contain 1 dotted fuchsia bag, 5 light indigo bags, 3 shiny beige bags. striped violet bags contain 5 drab silver bags, 2 dim crimson bags, 3 plaid blue bags. mirrored tomato bags contain 5 light lavender bags. posh purple bags contain 3 pale orange bags. dim blue bags contain 5 dotted plum bags, 1 light orange bag, 4 dim maroon bags. dark cyan bags contain 4 vibrant white bags, 4 dull white bags, 1 posh purple bag. drab beige bags contain 5 dull purple bags. vibrant olive bags contain 5 light silver bags. plaid beige bags contain 3 muted silver bags, 4 vibrant orange bags. wavy silver bags contain 2 dim crimson bags, 4 shiny maroon bags, 4 pale indigo bags. posh crimson bags contain 2 light violet bags, 4 pale coral bags, 3 plaid bronze bags. vibrant crimson bags contain 3 dull red bags. dotted olive bags contain no other bags. mirrored beige bags contain 2 plaid gray bags, 5 mirrored yellow bags. bright brown bags contain 2 faded aqua bags, 1 dim tomato bag, 5 posh magenta bags. bright magenta bags contain 2 posh gray bags, 3 dim salmon bags. clear magenta bags contain 2 dim cyan bags, 3 clear red bags, 1 dull fuchsia bag, 4 wavy coral bags. clear lime bags contain 5 dull green bags, 2 shiny bronze bags, 2 faded orange bags, 1 bright beige bag. muted tan bags contain 4 vibrant maroon bags, 3 vibrant black bags, 5 shiny maroon bags, 5 vibrant turquoise bags. pale beige bags contain 3 light tomato bags. dark fuchsia bags contain 2 faded brown bags, 3 dotted lavender bags, 4 shiny teal bags, 2 bright blue bags. dim magenta bags contain 4 posh chartreuse bags. bright aqua bags contain 5 drab violet bags. striped crimson bags contain 2 bright green bags. dull chartreuse bags contain 4 plaid bronze bags, 2 shiny gray bags, 4 dull lavender bags. wavy chartreuse bags contain 1 vibrant tomato bag, 1 dim tomato bag, 3 pale green bags, 1 posh plum bag. dotted white bags contain 1 dark teal bag, 4 dotted violet bags, 5 bright beige bags, 3 dim silver bags. mirrored purple bags contain 1 posh green bag. faded bronze bags contain 4 dotted indigo bags. faded lavender bags contain 3 muted purple bags. clear turquoise bags contain 4 muted orange bags, 1 striped violet bag, 5 clear tan bags, 5 dim white bags. shiny plum bags contain 4 dim crimson bags. wavy fuchsia bags contain 3 dotted brown bags, 5 dark magenta bags, 2 dark bronze bags. faded olive bags contain 5 plaid indigo bags. mirrored orange bags contain 4 striped violet bags, 2 light violet bags, 4 shiny orange bags. pale indigo bags contain 3 shiny indigo bags. faded tan bags contain 3 shiny maroon bags, 5 posh aqua bags, 1 striped violet bag, 2 dim white bags. bright chartreuse bags contain 1 posh black bag, 5 bright gray bags, 3 plaid chartreuse bags. drab blue bags contain 1 pale violet bag, 4 vibrant green bags. posh tan bags contain 4 shiny lime bags. plaid maroon bags contain 2 dotted black bags. dull coral bags contain 4 posh coral bags, 1 dotted silver bag, 5 drab beige bags, 1 plaid red bag. striped yellow bags contain 1 plaid tomato bag, 1 dotted lavender bag. muted magenta bags contain 4 muted black bags. dotted cyan bags contain 1 vibrant tomato bag, 3 light indigo bags, 1 wavy turquoise bag. dim lavender bags contain 1 muted black bag, 4 pale white bags, 2 mirrored coral bags, 5 pale brown bags. bright gold bags contain 5 vibrant green bags. light white bags contain 2 striped lime bags, 2 muted lime bags, 5 muted brown bags, 4 bright green bags. wavy lavender bags contain 2 vibrant purple bags, 5 posh white bags. clear black bags contain 2 posh turquoise bags, 3 dotted orange bags, 3 faded teal bags. muted crimson bags contain 1 pale violet bag, 5 drab lavender bags. posh green bags contain 4 vibrant beige bags, 5 dark purple bags, 3 dim salmon bags, 3 light black bags. vibrant silver bags contain 3 posh coral bags, 4 posh white bags. dim coral bags contain 2 posh violet bags, 1 dark cyan bag, 3 shiny green bags, 3 vibrant cyan bags. striped red bags contain 5 muted olive bags, 4 wavy teal bags, 3 shiny gray bags, 1 mirrored coral bag. bright violet bags contain 3 shiny beige bags, 1 wavy magenta bag, 5 light indigo bags. vibrant magenta bags contain 4 striped salmon bags, 1 light tan bag. faded gold bags contain 5 light tomato bags, 1 wavy black bag, 4 faded maroon bags. muted plum bags contain 1 vibrant brown bag, 2 muted cyan bags, 4 muted salmon bags. plaid gold bags contain 5 shiny beige bags, 3 faded fuchsia bags, 5 vibrant cyan bags, 5 shiny gold bags. striped indigo bags contain no other bags. wavy gray bags contain 2 plaid indigo bags, 3 clear tomato bags, 4 dull blue bags. plaid silver bags contain 5 clear salmon bags, 5 faded lime bags, 4 shiny tan bags, 5 mirrored chartreuse bags. plaid yellow bags contain 4 shiny chartreuse bags, 1 light lime bag, 2 dull green bags. plaid turquoise bags contain 3 dotted aqua bags, 3 posh magenta bags. striped olive bags contain 2 faded aqua bags, 5 dotted orange bags, 5 dull turquoise bags, 1 pale violet bag. faded teal bags contain 3 striped indigo bags. dull red bags contain 1 mirrored gray bag, 4 drab coral bags, 2 bright plum bags, 1 dull green bag. dull gold bags contain 5 bright blue bags. shiny magenta bags contain 1 light white bag. striped green bags contain 1 clear blue bag. dull teal bags contain 3 dark purple bags, 4 dim lime bags, 5 clear chartreuse bags. faded magenta bags contain 4 shiny gray bags, 5 pale crimson bags, 5 light coral bags, 2 pale white bags. pale tomato bags contain 4 dull black bags, 1 posh chartreuse bag, 1 faded cyan bag. muted blue bags contain 5 striped white bags, 1 faded orange bag. light blue bags contain 4 posh white bags. plaid chartreuse bags contain 2 bright gray bags. dull aqua bags contain 5 clear tan bags, 5 dotted red bags, 5 vibrant tomato bags. light lavender bags contain 5 clear fuchsia bags, 1 striped olive bag. bright green bags contain 4 vibrant violet bags, 2 vibrant maroon bags. light beige bags contain 1 striped maroon bag. drab indigo bags contain 4 posh tomato bags, 5 faded brown bags. dotted yellow bags contain 3 wavy violet bags, 4 bright violet bags, 4 vibrant lime bags, 1 pale beige bag. striped gold bags contain 2 light indigo bags, 3 dull red bags, 5 vibrant beige bags. muted indigo bags contain 5 bright purple bags, 1 pale plum bag, 5 wavy black bags. dark lime bags contain 2 faded blue bags. shiny white bags contain 4 clear tan bags, 3 pale yellow bags, 5 plaid tomato bags, 4 wavy turquoise bags. vibrant maroon bags contain 4 dark red bags, 2 dull aqua bags, 5 wavy aqua bags. drab teal bags contain 3 shiny indigo bags. bright plum bags contain 2 plaid chartreuse bags. vibrant yellow bags contain 3 posh purple bags. posh salmon bags contain 4 dim plum bags, 1 pale yellow bag, 2 shiny gold bags. shiny black bags contain 3 dim magenta bags. bright gray bags contain no other bags. dull orange bags contain 3 dotted purple bags. pale purple bags contain 2 bright cyan bags, 2 drab teal bags, 2 dotted gold bags, 4 mirrored fuchsia bags. dull yellow bags contain 3 posh gray bags. muted tomato bags contain 3 faded orange bags. drab olive bags contain 4 dim maroon bags, 1 bright turquoise bag, 3 shiny indigo bags, 5 vibrant lavender bags. clear salmon bags contain 2 dim chartreuse bags, 2 shiny black bags, 5 dotted indigo bags, 3 dotted aqua bags. posh black bags contain 2 wavy turquoise bags, 2 shiny plum bags, 2 mirrored gold bags. light gold bags contain 5 shiny tomato bags, 4 light cyan bags. shiny coral bags contain 3 faded silver bags. plaid magenta bags contain 1 vibrant black bag, 2 bright blue bags. dotted teal bags contain 4 faded olive bags, 5 vibrant brown bags, 3 clear salmon bags. striped purple bags contain 5 shiny bronze bags. dim tan bags contain 2 light tan bags, 1 dotted gold bag, 3 shiny white bags. light silver bags contain 5 dotted cyan bags, 4 dotted aqua bags. dull white bags contain 5 striped turquoise bags. plaid aqua bags contain 3 dim bronze bags, 5 dull brown bags, 3 faded plum bags, 2 mirrored crimson bags. dotted silver bags contain 1 faded teal bag. dull olive bags contain 1 dark turquoise bag, 3 muted orange bags. clear purple bags contain 3 drab salmon bags. mirrored plum bags contain 1 vibrant lavender bag. bright beige bags contain 4 plaid magenta bags, 1 dull turquoise bag, 4 dim white bags, 1 light aqua bag. pale red bags contain 1 muted lavender bag, 2 vibrant teal bags, 4 plaid cyan bags, 5 dull orange bags. drab orange bags contain 3 bright plum bags, 5 vibrant chartreuse bags. mirrored gold bags contain 2 wavy magenta bags. posh maroon bags contain 3 dotted lime bags, 2 muted black bags, 3 faded green bags. clear white bags contain 4 pale black bags. pale silver bags contain 2 dim coral bags, 2 dull lavender bags, 2 dark teal bags, 3 wavy green bags. vibrant tomato bags contain 5 dull lavender bags. striped orange bags contain 5 shiny salmon bags, 1 pale gold bag, 4 mirrored gray bags, 1 plaid black bag. dim beige bags contain 5 dim salmon bags, 2 striped yellow bags, 5 shiny orange bags, 5 light salmon bags. clear gold bags contain 2 dim salmon bags, 4 vibrant cyan bags. dim teal bags contain 3 light indigo bags, 3 pale green bags, 5 muted bronze bags. shiny silver bags contain 3 drab red bags, 1 pale magenta bag, 3 plaid blue bags, 4 pale white bags. dark beige bags contain 4 posh black bags, 1 dark maroon bag. bright bronze bags contain 4 mirrored yellow bags, 1 vibrant salmon bag, 2 mirrored teal bags, 1 shiny beige bag. dotted maroon bags contain 1 clear tomato bag. bright olive bags contain 3 striped tomato bags, 3 plaid indigo bags, 3 posh magenta bags. faded tomato bags contain 5 bright violet bags. mirrored magenta bags contain 3 wavy coral bags, 4 dull tan bags, 3 wavy chartreuse bags. striped aqua bags contain 3 drab teal bags, 3 drab crimson bags, 5 plaid gold bags, 2 vibrant aqua bags. clear crimson bags contain 5 striped chartreuse bags, 5 vibrant blue bags. striped blue bags contain 4 dull red bags, 3 vibrant white bags, 4 posh black bags. posh olive bags contain 5 muted cyan bags. plaid indigo bags contain 5 dotted fuchsia bags, 2 plaid chartreuse bags, 3 vibrant blue bags. mirrored lime bags contain 2 dotted lavender bags, 2 wavy bronze bags. wavy blue bags contain 5 mirrored green bags, 5 faded tomato bags, 1 posh turquoise bag. light fuchsia bags contain 3 faded tomato bags, 5 muted beige bags, 2 faded beige bags, 4 wavy indigo bags. dull plum bags contain 4 dark blue bags, 5 shiny maroon bags, 3 pale gray bags, 5 drab lime bags. drab fuchsia bags contain 3 dark maroon bags. pale teal bags contain 4 vibrant blue bags, 1 bright green bag, 3 dim crimson bags, 1 posh salmon bag. dull tomato bags contain 3 dim maroon bags, 4 plaid gray bags, 5 striped gold bags, 5 striped white bags. pale orange bags contain 4 drab yellow bags. wavy aqua bags contain 1 dim bronze bag. dim chartreuse bags contain 2 bright violet bags. dotted crimson bags contain 5 vibrant orange bags, 4 wavy magenta bags. faded cyan bags contain 3 mirrored blue bags, 3 shiny fuchsia bags, 4 bright indigo bags. pale salmon bags contain 2 pale cyan bags, 2 muted lime bags, 2 vibrant plum bags. drab lime bags contain 2 drab yellow bags, 2 light magenta bags, 3 dotted fuchsia bags. shiny bronze bags contain 1 posh lavender bag. dim fuchsia bags contain 5 dotted gold bags, 5 vibrant indigo bags, 4 shiny teal bags, 2 dotted silver bags. dark green bags contain 2 shiny blue bags. bright red bags contain 2 pale brown bags, 3 plaid blue bags, 4 drab bronze bags, 3 dim yellow bags. clear teal bags contain 2 drab white bags, 3 muted beige bags. pale aqua bags contain 4 light tan bags. dull lavender bags contain 1 dim bronze bag, 5 dim crimson bags, 1 dotted olive bag. dotted plum bags contain 1 light black bag. shiny teal bags contain 3 light indigo bags. dotted lime bags contain 1 shiny gold bag, 3 plaid crimson bags. dark tan bags contain 5 faded tan bags. vibrant indigo bags contain 3 shiny fuchsia bags. light tan bags contain 4 pale yellow bags, 1 pale crimson bag, 3 light gray bags. drab plum bags contain 2 shiny turquoise bags, 2 vibrant yellow bags, 4 muted brown bags, 2 drab lavender bags. dim white bags contain 5 dark red bags, 5 dotted olive bags. light red bags contain 2 vibrant indigo bags, 1 wavy salmon bag, 3 dull brown bags. mirrored fuchsia bags contain 5 dotted tomato bags. mirrored indigo bags contain 5 pale lime bags, 5 light magenta bags, 4 light gray bags, 2 dull red bags. dim yellow bags contain 2 muted beige bags, 2 plaid olive bags, 3 faded aqua bags. shiny gray bags contain 1 drab yellow bag, 3 shiny lavender bags, 1 posh white bag. faded violet bags contain 2 bright olive bags, 5 clear gray bags, 2 dark orange bags, 1 pale magenta bag. mirrored black bags contain 4 clear blue bags. drab aqua bags contain 1 vibrant crimson bag, 4 clear fuchsia bags. pale black bags contain 5 pale turquoise bags, 4 striped yellow bags, 4 dotted beige bags. wavy cyan bags contain 1 vibrant brown bag. dark silver bags contain 3 light tomato bags, 5 dotted lavender bags, 3 bright turquoise bags. faded orange bags contain 3 clear turquoise bags, 3 mirrored gold bags, 2 plaid bronze bags, 2 dotted fuchsia bags. drab crimson bags contain 5 clear blue bags. posh magenta bags contain 1 bright violet bag, 2 dotted beige bags, 2 bright gray bags. posh brown bags contain 3 dim tomato bags, 1 dim chartreuse bag, 5 shiny orange bags. drab gray bags contain 3 striped violet bags. pale cyan bags contain 5 dotted aqua bags, 3 striped tomato bags. wavy tan bags contain 3 pale indigo bags. plaid brown bags contain 2 dotted indigo bags, 1 dull indigo bag, 2 light brown bags. vibrant beige bags contain 1 shiny teal bag, 3 vibrant cyan bags, 2 posh gray bags, 3 striped tomato bags. shiny aqua bags contain 2 vibrant black bags, 2 muted coral bags, 4 vibrant coral bags. mirrored silver bags contain 3 drab silver bags, 1 clear turquoise bag. pale tan bags contain 3 pale magenta bags. striped cyan bags contain 5 drab tomato bags. mirrored coral bags contain 1 mirrored crimson bag, 1 bright maroon bag. pale white bags contain 4 shiny beige bags, 1 shiny maroon bag, 5 dim bronze bags. shiny beige bags contain 3 mirrored gold bags. mirrored chartreuse bags contain 1 dotted tomato bag, 2 bright cyan bags. wavy red bags contain 1 posh lavender bag, 1 vibrant blue bag, 3 muted brown bags. muted chartreuse bags contain 3 dim lavender bags, 4 pale plum bags, 4 light magenta bags. shiny purple bags contain 4 muted green bags, 5 light white bags, 2 faded tan bags, 5 light beige bags. clear tan bags contain 3 dotted red bags, 1 striped violet bag, 4 plaid chartreuse bags. bright teal bags contain 1 faded black bag, 3 faded maroon bags. posh orange bags contain 5 light gold bags, 3 posh aqua bags. striped gray bags contain 2 bright plum bags, 2 shiny gray bags. dim lime bags contain 1 plaid blue bag. posh fuchsia bags contain 1 dull indigo bag, 2 plaid blue bags. dotted tomato bags contain no other bags. dim plum bags contain 1 dim chartreuse bag. dim orange bags contain 2 muted magenta bags, 5 faded aqua bags. posh gold bags contain 5 light maroon bags, 4 dark turquoise bags, 1 posh white bag, 5 wavy beige bags. striped bronze bags contain 1 dark magenta bag. wavy lime bags contain 4 mirrored lavender bags, 3 pale bronze bags, 1 dull white bag. pale magenta bags contain 2 dim crimson bags, 4 plaid plum bags, 5 muted silver bags, 2 dim yellow bags. striped chartreuse bags contain 5 light black bags, 3 bright fuchsia bags, 4 pale black bags. vibrant tan bags contain 2 dim tan bags. shiny crimson bags contain 5 pale beige bags, 3 clear purple bags, 2 pale violet bags, 4 dotted chartreuse bags. vibrant orange bags contain no other bags. striped silver bags contain 5 clear orange bags, 2 dotted fuchsia bags. clear cyan bags contain 5 muted gray bags, 3 wavy aqua bags. light black bags contain 1 striped yellow bag. muted white bags contain 3 muted tomato bags, 5 light black bags, 4 pale black bags, 5 shiny gold bags.''' test_bag_rules: dict = create_rules_dict(part_1_test_input) real_bag_rules: dict = create_rules_dict(part_1_real_input) part_1_test_result = find_outer_bag_possibilities("shiny gold", test_bag_rules) part_1_real_result = find_outer_bag_possibilities("shiny gold", real_bag_rules) print(f"Amount of possible outer bags (test): {part_1_test_result}") print(f"Amount of possible outer bags (real): {part_1_real_result}") def create_rules_dict(raw_rules_input: str) -> dict: """ Creates dict with rules from raw str input :param raw_rules_input: String of written rules :type raw_rules_input: str :return: Dictionary with processed rules :rtype: dict """ bag_rules: dict = {} for rule_row in raw_rules_input.split(".\n"): is_color: bool = True rules_for_color: str = "" for rule_part in rule_row.split(" bags contain "): try: if is_color: rules_for_color = rule_part bag_rules[rules_for_color] = {} else: for bag_rule in rule_part.split(", "): cleaned_bag_rule = bag_rule.split()[:-1] if cleaned_bag_rule[0] != "no": bag_amount = cleaned_bag_rule[0] bag_color = cleaned_bag_rule[1] + " " + cleaned_bag_rule[2] bag_rules[rules_for_color][bag_color] = bag_amount is_color = not is_color except ValueError: pass return bag_rules def find_outer_bag_possibilities(bag_color: str, bag_rules: dict) -> int: """ Finds possible outer bags, based on rules and given bag color :param bag_color: String describing chosen color :param bag_rules: Dictionary of rules :type bag_color: str :type bag_rules: dict :return: Number of all possible outer bag colors :rtype: int """ allowed_outer_bags: list = [] for rule in bag_rules: if bag_color in can_hold_bags(rule, bag_rules): if rule not in allowed_outer_bags: allowed_outer_bags.append(rule) else: for color in can_hold_bags(rule, bag_rules): if bag_color in can_hold_bags(color, bag_rules): if rule not in allowed_outer_bags: allowed_outer_bags.append(rule) return len(allowed_outer_bags) def can_hold_bags(rule: str, bag_rules: dict) -> dict: """ Returns a dict of all bags that can be held by given bag color :param rule: Color of a given bag :param bag_rules: Dictionary of rules :type rule: str :type bag_rules: dict :return: """ return bag_rules[rule] if __name__ == '__main__': main()
def main(): """ Finds how many outer bags you can use Made for AoC 2020 Day 7: https://adventofcode.com/2020/day/7 """ part_1_test_input = 'light red bags contain 1 bright white bag, 2 muted yellow bags.\ndark orange bags contain 3 bright white bags, 4 muted yellow bags.\nbright white bags contain 1 shiny gold bag.\nmuted yellow bags contain 2 shiny gold bags, 9 faded blue bags.\nshiny gold bags contain 1 dark olive bag, 2 vibrant plum bags.\ndark olive bags contain 3 faded blue bags, 4 dotted black bags.\nvibrant plum bags contain 5 faded blue bags, 6 dotted black bags.\nfaded blue bags contain no other bags.\ndotted black bags contain no other bags.' part_1_real_input = 'striped white bags contain 4 drab silver bags.\ndrab silver bags contain no other bags.\npale plum bags contain 1 dark black bag.\nmuted gold bags contain 1 wavy red bag, 3 mirrored violet bags, 5 bright gold bags, 5 plaid white bags.\nmuted teal bags contain 2 pale beige bags, 5 clear beige bags, 2 dotted gold bags, 4 posh cyan bags.\nposh coral bags contain 1 light silver bag, 2 dull blue bags, 3 dim fuchsia bags, 2 dotted magenta bags.\nfaded black bags contain 4 light silver bags.\nmuted lavender bags contain 1 pale gold bag.\nclear fuchsia bags contain 1 dull gray bag, 2 shiny indigo bags, 3 posh olive bags, 5 vibrant plum bags.\nshiny olive bags contain 1 dotted gold bag, 5 bright violet bags.\nvibrant lavender bags contain 3 dotted aqua bags, 4 pale chartreuse bags, 5 mirrored blue bags.\npale fuchsia bags contain 5 pale crimson bags, 2 dull teal bags.\nclear lavender bags contain 5 shiny fuchsia bags, 5 wavy teal bags.\nlight chartreuse bags contain 5 mirrored yellow bags, 3 bright maroon bags.\nmirrored white bags contain 1 bright gray bag, 4 plaid blue bags.\ndark teal bags contain 4 bright maroon bags, 5 plaid bronze bags, 1 dark brown bag.\nwavy yellow bags contain 4 dim silver bags, 1 striped tomato bag, 5 clear chartreuse bags.\ndark turquoise bags contain 4 clear plum bags.\nposh gray bags contain 2 faded purple bags, 2 faded orange bags.\nwavy tomato bags contain 1 dark purple bag.\nvibrant gray bags contain 3 muted gray bags, 1 dark fuchsia bag, 5 posh white bags, 5 posh tomato bags.\nlight crimson bags contain 2 dotted chartreuse bags.\ndull gray bags contain 4 muted brown bags, 2 shiny blue bags, 4 dim crimson bags.\ndrab red bags contain 2 bright cyan bags, 1 pale brown bag.\ndotted salmon bags contain 5 mirrored indigo bags.\nvibrant green bags contain 2 dark coral bags.\nlight magenta bags contain 4 clear bronze bags, 4 dull teal bags, 4 posh salmon bags.\nvibrant purple bags contain 4 posh plum bags, 2 bright gray bags.\nposh lime bags contain 3 plaid yellow bags, 4 posh salmon bags.\nbright white bags contain 4 dull aqua bags, 1 shiny silver bag.\nfaded blue bags contain 5 muted cyan bags, 2 mirrored coral bags.\ndim green bags contain 2 posh lavender bags.\nfaded gray bags contain 2 dark gold bags, 1 drab turquoise bag.\nwavy black bags contain 4 dim fuchsia bags, 1 muted orange bag, 4 drab salmon bags.\nplaid plum bags contain 5 dotted tomato bags, 1 shiny beige bag.\nbright tan bags contain 2 posh salmon bags.\nwavy gold bags contain 1 faded olive bag, 5 vibrant black bags, 3 dull orange bags.\ndull fuchsia bags contain 1 faded crimson bag, 5 vibrant white bags.\nshiny maroon bags contain 5 dull lavender bags, 1 dim white bag.\nwavy white bags contain 5 light teal bags, 4 dim salmon bags, 3 dotted red bags, 5 dark red bags.\ndim cyan bags contain 1 muted orange bag.\nmuted cyan bags contain 4 dull turquoise bags, 5 posh gray bags, 5 clear turquoise bags, 1 shiny plum bag.\nposh violet bags contain 5 plaid crimson bags, 5 muted purple bags, 1 wavy beige bag, 2 mirrored orange bags.\nfaded purple bags contain 3 plaid blue bags, 1 dull lavender bag, 1 muted orange bag, 2 dotted tomato bags.\nwavy beige bags contain 1 dotted beige bag.\ndim black bags contain 1 wavy blue bag, 1 plaid black bag, 3 pale lavender bags, 2 light violet bags.\ndotted lavender bags contain 1 plaid blue bag, 5 dim crimson bags.\ndark yellow bags contain 3 posh green bags.\nwavy salmon bags contain 1 clear aqua bag, 3 mirrored crimson bags, 3 pale magenta bags, 2 dull teal bags.\nclear silver bags contain 3 faded tan bags, 5 faded aqua bags, 1 clear tomato bag.\nvibrant bronze bags contain 1 faded maroon bag, 4 plaid indigo bags, 2 bright purple bags, 5 dim violet bags.\npale brown bags contain 1 dull lavender bag, 2 clear turquoise bags.\nfaded salmon bags contain 1 pale silver bag.\ndark gray bags contain 2 pale teal bags.\nposh red bags contain 3 faded black bags, 2 dull red bags.\ndim indigo bags contain 3 bright green bags, 2 dotted tomato bags, 5 bright magenta bags.\ndull maroon bags contain 5 light green bags.\nwavy teal bags contain 5 faded tan bags, 4 clear orange bags.\npale chartreuse bags contain 5 bright blue bags, 3 light indigo bags, 3 shiny white bags, 3 wavy bronze bags.\nmirrored gray bags contain 4 vibrant tomato bags, 1 dark red bag, 5 drab silver bags, 3 posh magenta bags.\ndark lavender bags contain 4 dotted white bags, 5 vibrant chartreuse bags, 2 dim teal bags.\nshiny turquoise bags contain 3 dim lime bags, 5 bright cyan bags, 2 pale green bags.\nshiny indigo bags contain 2 dark fuchsia bags, 4 posh chartreuse bags.\npale crimson bags contain 5 mirrored silver bags, 2 posh black bags.\nlight salmon bags contain 2 vibrant orange bags, 2 dotted red bags.\nplaid orange bags contain 1 dotted turquoise bag, 4 vibrant brown bags.\ndim maroon bags contain 5 shiny gold bags, 4 mirrored maroon bags.\nmuted green bags contain 1 plaid plum bag.\nfaded indigo bags contain 3 faded purple bags, 4 vibrant indigo bags, 1 light coral bag.\ndull blue bags contain 5 dull salmon bags, 2 wavy magenta bags.\nvibrant black bags contain 1 light coral bag, 5 vibrant cyan bags, 3 dim magenta bags.\nstriped lime bags contain 1 striped maroon bag, 2 vibrant brown bags.\ndrab brown bags contain 1 faded olive bag, 5 dotted beige bags.\ndark plum bags contain 5 faded brown bags.\nclear olive bags contain 3 dull aqua bags, 5 drab yellow bags.\nwavy crimson bags contain 2 posh plum bags, 2 dull aqua bags, 5 shiny teal bags, 2 vibrant purple bags.\nmirrored olive bags contain 2 wavy gold bags.\ndim crimson bags contain no other bags.\nfaded plum bags contain 1 plaid indigo bag.\nlight maroon bags contain 3 vibrant orange bags, 2 clear olive bags, 3 clear brown bags, 1 pale black bag.\nposh white bags contain 3 dull green bags, 3 clear brown bags.\ndrab black bags contain 2 shiny turquoise bags.\nlight purple bags contain 2 pale black bags, 5 light silver bags, 1 drab coral bag.\npale yellow bags contain 2 vibrant orange bags, 5 posh black bags, 2 vibrant tomato bags, 3 dotted lavender bags.\ndull cyan bags contain 5 wavy beige bags, 1 dull yellow bag, 3 drab lime bags, 3 drab chartreuse bags.\ndrab lavender bags contain 2 plaid black bags, 4 dotted gray bags, 1 dim silver bag, 2 shiny gold bags.\nstriped brown bags contain 5 light maroon bags, 3 light red bags, 3 clear indigo bags.\ndrab tomato bags contain 2 light black bags, 2 clear salmon bags.\ndotted red bags contain 4 dim salmon bags, 5 striped indigo bags.\nvibrant teal bags contain 5 bright black bags, 1 dark purple bag, 2 bright turquoise bags.\nstriped teal bags contain 4 mirrored silver bags.\ndull beige bags contain 4 clear olive bags, 4 light teal bags, 3 bright plum bags, 4 dotted lavender bags.\nlight violet bags contain 2 dull lavender bags, 4 bright gray bags, 5 vibrant orange bags, 3 wavy magenta bags.\ndim brown bags contain 2 clear plum bags, 2 shiny teal bags, 2 posh salmon bags.\nstriped magenta bags contain 4 posh turquoise bags, 3 pale cyan bags, 3 faded indigo bags.\nbright orange bags contain 4 plaid gray bags, 4 dark black bags, 4 faded red bags, 4 bright black bags.\nmuted olive bags contain 2 dotted crimson bags, 4 faded lavender bags, 2 vibrant gray bags.\nplaid teal bags contain 2 light yellow bags, 4 drab cyan bags, 3 light green bags.\nfaded fuchsia bags contain 1 posh silver bag, 4 drab chartreuse bags, 4 drab teal bags.\ndim silver bags contain 1 pale turquoise bag.\nbright lime bags contain 1 striped silver bag, 5 muted teal bags, 1 shiny tan bag, 1 dark silver bag.\ndotted green bags contain 3 posh green bags, 1 drab yellow bag.\ndrab purple bags contain 5 bright violet bags, 1 posh tomato bag.\ndull bronze bags contain 4 mirrored black bags.\nstriped tomato bags contain 1 posh gray bag, 2 posh magenta bags.\nbright crimson bags contain 2 light olive bags, 4 clear tan bags, 3 drab fuchsia bags.\nbright turquoise bags contain 4 pale teal bags, 3 drab silver bags.\nshiny lavender bags contain 2 striped lime bags, 2 plaid tomato bags, 1 faded orange bag, 5 wavy magenta bags.\nlight tomato bags contain 5 dotted olive bags.\nwavy magenta bags contain no other bags.\nvibrant fuchsia bags contain 5 posh brown bags, 5 plaid indigo bags.\ndark tomato bags contain 3 shiny plum bags.\npale bronze bags contain 5 plaid black bags, 5 vibrant brown bags, 2 dim lime bags, 4 muted bronze bags.\nstriped fuchsia bags contain 3 muted brown bags, 2 pale chartreuse bags, 1 dim magenta bag.\ndark brown bags contain 4 clear bronze bags.\nposh teal bags contain 5 dotted plum bags, 2 drab gray bags, 3 dull fuchsia bags.\nwavy turquoise bags contain 1 dull lavender bag.\nstriped maroon bags contain 4 muted yellow bags, 4 clear orange bags, 4 vibrant orange bags.\nshiny green bags contain 3 muted brown bags, 1 vibrant black bag, 4 wavy cyan bags, 3 posh brown bags.\nplaid salmon bags contain 4 mirrored indigo bags, 2 wavy white bags, 5 mirrored bronze bags, 3 light coral bags.\ndotted magenta bags contain 2 light olive bags, 2 dark red bags, 4 clear green bags, 3 dim plum bags.\nlight orange bags contain 5 dark plum bags, 3 bright maroon bags, 2 dotted lime bags.\nclear brown bags contain 3 dim white bags, 2 posh magenta bags.\nvibrant turquoise bags contain 2 striped yellow bags, 1 mirrored crimson bag.\nmuted coral bags contain 4 wavy gold bags, 2 dim tan bags, 1 shiny green bag.\nplaid crimson bags contain 1 dull aqua bag.\nvibrant plum bags contain 4 striped tomato bags, 1 striped turquoise bag.\ndark coral bags contain 5 posh black bags, 1 shiny beige bag, 3 pale brown bags.\nmirrored brown bags contain 1 clear blue bag, 1 dull indigo bag.\nbright blue bags contain 2 light violet bags, 1 dotted tomato bag.\ndrab cyan bags contain 2 dim turquoise bags, 5 clear violet bags.\ndotted coral bags contain 3 dotted aqua bags.\nshiny yellow bags contain 1 wavy cyan bag.\nshiny red bags contain 5 shiny beige bags, 3 dotted lime bags, 5 dotted plum bags.\nmuted lime bags contain 3 dark turquoise bags, 3 bright chartreuse bags.\npale gray bags contain 5 dotted coral bags, 4 wavy teal bags, 2 clear aqua bags.\npale blue bags contain 5 dull salmon bags, 3 posh bronze bags, 2 vibrant tomato bags.\ndim turquoise bags contain 4 posh aqua bags, 2 dark turquoise bags.\npale turquoise bags contain 5 vibrant brown bags, 2 shiny maroon bags.\ndim gray bags contain 2 faded tomato bags, 2 faded indigo bags.\nclear aqua bags contain 1 light turquoise bag, 3 dotted turquoise bags.\nfaded turquoise bags contain 5 muted lime bags.\nclear plum bags contain 2 plaid indigo bags, 5 drab yellow bags.\nvibrant white bags contain 2 bright violet bags, 4 dark plum bags, 1 dim plum bag, 4 plaid indigo bags.\ndark orange bags contain 3 posh purple bags, 5 clear orange bags, 1 dim white bag.\nlight olive bags contain 3 drab green bags.\nmuted salmon bags contain 4 muted cyan bags.\nclear maroon bags contain 2 muted yellow bags, 5 plaid crimson bags, 1 clear turquoise bag.\nwavy orange bags contain 4 vibrant blue bags, 4 posh brown bags, 2 pale turquoise bags, 5 shiny orange bags.\ndotted gold bags contain 3 posh magenta bags, 1 faded crimson bag, 3 dotted olive bags, 3 plaid olive bags.\ndull purple bags contain 5 drab salmon bags, 4 dim lavender bags.\nlight bronze bags contain 2 wavy indigo bags.\nmuted turquoise bags contain 5 clear turquoise bags, 4 plaid violet bags, 4 clear orange bags, 2 posh maroon bags.\nmirrored blue bags contain 4 clear chartreuse bags.\ndrab tan bags contain 3 striped violet bags, 2 bright silver bags, 2 dark bronze bags, 1 mirrored black bag.\ndark maroon bags contain 1 vibrant orange bag.\ndrab yellow bags contain 1 vibrant blue bag, 2 dim violet bags.\nlight cyan bags contain 4 posh beige bags.\nvibrant salmon bags contain 3 wavy gold bags.\nmuted orange bags contain 3 dotted tomato bags, 4 vibrant tomato bags, 5 dull lavender bags.\ndull turquoise bags contain 1 wavy white bag.\ndotted indigo bags contain 3 wavy bronze bags.\ndark red bags contain 4 wavy bronze bags, 5 wavy turquoise bags.\nlight coral bags contain 4 clear tan bags, 2 vibrant beige bags, 1 dull lavender bag, 5 shiny white bags.\nmirrored turquoise bags contain 5 clear fuchsia bags, 3 mirrored black bags, 4 plaid tan bags.\nmirrored yellow bags contain 4 pale turquoise bags, 2 wavy orange bags, 3 drab coral bags, 4 dim chartreuse bags.\ndotted fuchsia bags contain 4 dim bronze bags, 4 striped indigo bags.\ndotted purple bags contain 5 posh maroon bags, 1 dim yellow bag.\nclear coral bags contain 5 dark olive bags, 2 wavy bronze bags, 3 light red bags.\nmirrored teal bags contain 3 drab yellow bags.\nfaded green bags contain 2 dark purple bags.\nlight lime bags contain 4 bright chartreuse bags, 5 clear tomato bags, 2 bright green bags, 2 faded teal bags.\nbright yellow bags contain 4 dull purple bags, 3 faded beige bags.\nbright maroon bags contain 2 vibrant blue bags, 5 bright violet bags, 5 plaid indigo bags, 3 vibrant orange bags.\nfaded red bags contain 5 pale brown bags, 4 striped tomato bags, 2 bright green bags.\nmuted maroon bags contain 1 dark tan bag, 5 drab teal bags, 4 dull maroon bags.\nplaid coral bags contain 5 bright blue bags, 1 dotted indigo bag.\ndotted brown bags contain 1 dull beige bag, 2 bright indigo bags, 2 striped chartreuse bags, 1 muted silver bag.\nwavy coral bags contain 2 clear cyan bags, 2 muted teal bags, 1 faded red bag, 2 mirrored silver bags.\nfaded coral bags contain 3 bright green bags, 1 bright cyan bag, 3 plaid blue bags, 5 wavy lavender bags.\ndim gold bags contain 5 dim teal bags, 1 vibrant tomato bag, 5 pale chartreuse bags, 3 bright indigo bags.\nbright salmon bags contain 5 plaid chartreuse bags, 5 light tan bags, 5 vibrant maroon bags.\nwavy violet bags contain 4 bright green bags.\nmirrored lavender bags contain 5 drab plum bags, 2 drab turquoise bags, 2 dark magenta bags.\nfaded aqua bags contain 3 faded teal bags, 1 dark red bag.\nmuted yellow bags contain 1 mirrored silver bag, 1 striped white bag, 3 mirrored gold bags, 1 muted gray bag.\npale coral bags contain 2 striped gray bags, 2 clear beige bags.\nmirrored cyan bags contain 1 pale beige bag, 4 dim crimson bags.\ndotted aqua bags contain 4 dim crimson bags, 3 vibrant beige bags.\ndark white bags contain 4 dim maroon bags, 1 light olive bag, 3 dull fuchsia bags, 4 mirrored maroon bags.\ndotted chartreuse bags contain 5 clear tan bags, 2 clear white bags, 2 dark coral bags, 4 faded brown bags.\nmirrored red bags contain 5 faded violet bags, 2 dark chartreuse bags.\ndrab maroon bags contain 3 bright violet bags.\ndark violet bags contain 5 dark turquoise bags, 1 muted blue bag, 4 plaid bronze bags.\ndull silver bags contain 4 dotted lime bags, 3 dotted silver bags, 4 dull red bags, 3 pale white bags.\nstriped lavender bags contain 5 drab silver bags.\nlight yellow bags contain 3 posh plum bags, 3 bright olive bags, 4 wavy crimson bags.\nposh chartreuse bags contain 2 bright violet bags.\npale green bags contain 5 shiny lime bags, 3 faded teal bags, 5 posh gray bags, 1 posh chartreuse bag.\nshiny lime bags contain 1 dull beige bag, 4 light aqua bags, 4 dotted tomato bags.\nplaid tan bags contain 1 mirrored chartreuse bag.\ndrab coral bags contain 5 posh gray bags, 2 dull black bags.\ndrab salmon bags contain 4 drab yellow bags, 3 mirrored green bags.\nfaded yellow bags contain 2 mirrored beige bags, 1 bright turquoise bag, 1 vibrant black bag.\nbright tomato bags contain 4 clear brown bags.\nmuted beige bags contain 1 clear turquoise bag.\nstriped black bags contain 1 plaid chartreuse bag.\nbright cyan bags contain 5 clear tomato bags.\nstriped coral bags contain 2 muted red bags.\nposh bronze bags contain 5 striped yellow bags.\nmirrored maroon bags contain 4 vibrant tomato bags, 5 bright green bags, 4 vibrant maroon bags, 4 striped violet bags.\ndotted turquoise bags contain 1 posh beige bag, 5 muted silver bags.\nbright purple bags contain 5 drab silver bags, 5 shiny blue bags, 2 plaid bronze bags, 4 faded magenta bags.\nposh plum bags contain 5 striped white bags, 2 pale brown bags, 1 wavy turquoise bag.\ndark crimson bags contain 1 dull black bag, 2 dull yellow bags, 1 posh white bag, 3 dotted lime bags.\nplaid bronze bags contain 5 striped indigo bags, 5 light indigo bags, 4 wavy magenta bags, 3 vibrant blue bags.\nclear red bags contain 4 posh silver bags, 1 dim aqua bag.\nstriped salmon bags contain 3 bright violet bags, 4 faded olive bags, 5 dim turquoise bags.\ndim bronze bags contain no other bags.\nwavy brown bags contain 4 vibrant turquoise bags.\nwavy maroon bags contain 1 mirrored bronze bag, 2 posh fuchsia bags, 1 mirrored indigo bag.\nmirrored salmon bags contain 2 faded lavender bags.\ndark aqua bags contain 4 faded teal bags, 1 dim tomato bag.\npale violet bags contain 5 clear blue bags, 3 plaid blue bags, 5 dim teal bags, 2 pale black bags.\nmirrored crimson bags contain 2 posh magenta bags, 2 dotted aqua bags, 1 dim bronze bag.\nbright indigo bags contain 4 bright violet bags.\nmuted violet bags contain 4 mirrored maroon bags, 2 dull red bags, 4 plaid tomato bags, 1 pale yellow bag.\nshiny gold bags contain 3 vibrant blue bags, 5 plaid blue bags, 2 dark red bags, 1 dull green bag.\nclear green bags contain 4 dotted lavender bags.\ndark indigo bags contain 2 light lime bags, 3 wavy brown bags.\nmuted fuchsia bags contain 3 plaid green bags.\nbright silver bags contain 4 dim tomato bags, 3 clear olive bags, 1 dull teal bag.\nplaid purple bags contain 4 dark silver bags, 1 vibrant crimson bag, 4 dark black bags, 3 faded magenta bags.\nclear chartreuse bags contain 4 posh plum bags.\nplaid tomato bags contain 2 wavy aqua bags, 3 striped indigo bags, 1 wavy magenta bag.\nposh cyan bags contain 3 drab green bags, 3 bright chartreuse bags, 3 muted gray bags, 2 light black bags.\nposh turquoise bags contain 5 wavy teal bags, 3 light tan bags, 1 dull gold bag.\nplaid olive bags contain 2 dim chartreuse bags.\nshiny orange bags contain 4 pale brown bags, 3 dim salmon bags.\nclear gray bags contain 4 bright salmon bags, 5 vibrant crimson bags.\nshiny brown bags contain 1 bright gold bag, 3 clear tomato bags.\nmuted aqua bags contain 2 mirrored indigo bags, 1 dim tan bag.\nplaid red bags contain 1 clear plum bag.\nmuted bronze bags contain 4 clear white bags, 3 dotted plum bags.\nplaid blue bags contain 2 dull lavender bags, 5 wavy magenta bags, 1 light indigo bag.\nshiny salmon bags contain 2 dotted black bags, 1 light magenta bag.\nshiny cyan bags contain 5 faded violet bags, 3 mirrored bronze bags, 4 dark maroon bags, 2 wavy lavender bags.\ndrab magenta bags contain 2 light blue bags, 1 wavy orange bag, 5 posh chartreuse bags.\ndim violet bags contain 5 dark red bags, 4 light violet bags, 2 dotted fuchsia bags, 2 plaid tomato bags.\nfaded crimson bags contain 3 clear silver bags, 1 vibrant beige bag.\nplaid fuchsia bags contain 3 plaid red bags, 4 drab purple bags, 4 clear lime bags, 3 dim turquoise bags.\ndull green bags contain 5 dotted beige bags, 4 drab silver bags, 4 posh magenta bags, 1 muted orange bag.\nwavy indigo bags contain 2 pale tan bags.\nplaid lavender bags contain 1 dark black bag.\nclear bronze bags contain 3 pale teal bags.\nclear blue bags contain 2 light teal bags, 5 dotted olive bags, 3 bright indigo bags.\nposh aqua bags contain 2 light violet bags, 2 dull salmon bags, 1 vibrant violet bag.\ndark gold bags contain 2 striped maroon bags.\nvibrant chartreuse bags contain 3 wavy silver bags.\ndark magenta bags contain 1 clear silver bag.\ndim red bags contain 3 wavy indigo bags, 2 muted teal bags.\nmuted silver bags contain 5 pale crimson bags, 2 dotted tomato bags.\nmirrored tan bags contain 1 pale salmon bag.\ndull violet bags contain 2 dull black bags.\nstriped beige bags contain 4 dark maroon bags, 2 wavy orange bags.\nstriped turquoise bags contain 3 light indigo bags, 5 bright maroon bags, 1 light teal bag.\npale gold bags contain 5 dotted teal bags.\nwavy olive bags contain 3 dotted fuchsia bags.\nclear violet bags contain 1 dotted lavender bag, 5 bright tan bags, 5 dim violet bags, 5 drab salmon bags.\npale maroon bags contain 4 drab red bags, 1 wavy yellow bag, 1 muted green bag, 1 striped fuchsia bag.\ndrab bronze bags contain 4 light gray bags, 3 posh magenta bags, 1 dull yellow bag.\nvibrant gold bags contain 4 dull violet bags, 3 clear white bags, 5 wavy chartreuse bags, 4 pale turquoise bags.\nclear beige bags contain 4 plaid blue bags, 3 shiny plum bags, 1 light silver bag.\nfaded silver bags contain 5 drab turquoise bags, 4 plaid green bags, 4 posh yellow bags, 1 plaid blue bag.\nlight brown bags contain 1 dark red bag, 1 dotted gray bag.\nshiny violet bags contain 5 posh cyan bags, 5 vibrant plum bags, 5 mirrored chartreuse bags, 4 plaid green bags.\ndark bronze bags contain 4 bright gold bags, 2 striped maroon bags, 4 dark aqua bags, 5 pale chartreuse bags.\ndull black bags contain 2 vibrant tomato bags, 1 vibrant blue bag, 3 pale yellow bags.\ndotted beige bags contain 5 dotted tomato bags, 1 striped indigo bag.\nclear indigo bags contain 3 dark violet bags.\nbright coral bags contain 1 dark indigo bag.\ndrab turquoise bags contain 5 drab plum bags, 3 pale magenta bags, 5 drab red bags, 4 dull olive bags.\nshiny fuchsia bags contain 2 dull lavender bags, 5 striped tomato bags.\ndull indigo bags contain 3 pale turquoise bags, 3 faded tomato bags, 5 dim magenta bags, 3 drab indigo bags.\ndim aqua bags contain 4 faded brown bags, 1 mirrored lime bag.\nmuted purple bags contain 3 dim salmon bags, 4 light violet bags, 2 striped turquoise bags, 2 shiny teal bags.\ndotted black bags contain 3 dotted cyan bags, 4 wavy magenta bags, 4 posh chartreuse bags.\ndrab violet bags contain 4 dark gray bags, 5 dull chartreuse bags, 4 plaid gray bags.\nplaid green bags contain 3 dark red bags, 1 wavy crimson bag, 4 light coral bags, 4 striped indigo bags.\nfaded brown bags contain 3 dark orange bags.\nlight teal bags contain 3 striped indigo bags, 4 dim bronze bags.\nplaid black bags contain 2 mirrored crimson bags, 5 dim silver bags, 4 posh purple bags.\nshiny blue bags contain 2 plaid green bags, 4 plaid crimson bags, 2 faded plum bags.\nplaid lime bags contain 2 striped maroon bags.\npale lavender bags contain 2 mirrored indigo bags, 1 pale green bag, 5 dim chartreuse bags, 3 pale white bags.\ndrab chartreuse bags contain 1 bright salmon bag, 4 vibrant brown bags, 1 muted violet bag.\nlight indigo bags contain no other bags.\nplaid violet bags contain 2 dim white bags, 4 faded lavender bags.\ndrab gold bags contain 5 dotted aqua bags, 3 muted beige bags, 4 faded black bags, 5 dark red bags.\nmirrored bronze bags contain 2 plaid blue bags, 1 light orange bag.\ndim olive bags contain 1 striped silver bag.\nplaid white bags contain 5 pale turquoise bags, 4 mirrored orange bags, 2 vibrant aqua bags.\nwavy purple bags contain 3 dark silver bags, 1 dull white bag, 3 dotted magenta bags, 2 dim salmon bags.\nclear orange bags contain 5 striped indigo bags, 1 wavy bronze bag, 4 vibrant blue bags.\nplaid gray bags contain 1 dull aqua bag, 3 dull olive bags, 3 posh black bags.\nvibrant violet bags contain 2 vibrant maroon bags.\npale olive bags contain 2 vibrant fuchsia bags.\nmuted brown bags contain 5 pale teal bags, 2 light brown bags, 4 light tomato bags.\nposh lavender bags contain 4 bright indigo bags, 1 striped indigo bag, 5 dark purple bags.\ndotted blue bags contain 4 muted salmon bags, 3 mirrored red bags, 5 pale white bags, 3 clear red bags.\ndim purple bags contain 4 muted cyan bags.\nbright fuchsia bags contain 5 muted black bags.\nvibrant lime bags contain 3 posh purple bags, 1 drab aqua bag.\nwavy green bags contain 3 drab red bags, 2 faded brown bags, 2 wavy cyan bags.\ndull lime bags contain 3 bright salmon bags, 4 posh crimson bags, 1 drab salmon bag, 4 pale yellow bags.\nmirrored aqua bags contain 4 striped violet bags, 1 striped indigo bag, 2 striped tomato bags.\nstriped tan bags contain 4 light blue bags, 4 dull beige bags.\ndrab green bags contain 5 muted silver bags, 1 vibrant orange bag, 2 striped indigo bags, 4 striped tomato bags.\ndotted orange bags contain 5 mirrored white bags, 5 muted orange bags, 2 drab tomato bags, 2 dull white bags.\ndim tomato bags contain 2 dull lavender bags.\ndull magenta bags contain 3 faded brown bags, 5 faded teal bags.\nfaded maroon bags contain 4 posh brown bags, 2 dotted aqua bags.\nplaid cyan bags contain 4 faded crimson bags, 4 light chartreuse bags, 1 light crimson bag, 1 posh fuchsia bag.\ndim salmon bags contain 1 dotted olive bag, 4 light indigo bags.\nfaded chartreuse bags contain 4 bright gold bags, 4 clear silver bags.\nlight plum bags contain 2 dotted chartreuse bags, 1 drab white bag.\nposh silver bags contain 3 mirrored black bags, 4 dull blue bags.\ndull salmon bags contain 4 dim white bags, 5 clear tomato bags, 2 mirrored maroon bags.\nlight green bags contain 4 plaid chartreuse bags, 5 vibrant aqua bags.\nposh indigo bags contain 2 dull olive bags, 2 dotted lime bags, 1 drab red bag.\ndark blue bags contain 5 dotted green bags, 3 wavy crimson bags, 4 clear silver bags.\nbright black bags contain 5 posh bronze bags, 3 bright cyan bags, 5 muted black bags.\nbright lavender bags contain 1 shiny indigo bag, 1 dim yellow bag, 1 wavy yellow bag.\nfaded white bags contain 1 dotted black bag, 5 wavy red bags.\nmuted black bags contain 1 mirrored aqua bag, 4 dark red bags, 5 dull yellow bags.\nlight turquoise bags contain 3 shiny plum bags.\nvibrant coral bags contain 2 shiny orange bags, 4 bright olive bags.\nvibrant aqua bags contain 2 wavy crimson bags, 2 muted orange bags.\ndotted tan bags contain 1 light indigo bag, 2 dim magenta bags.\nposh yellow bags contain 4 faded lavender bags.\npale lime bags contain 4 mirrored orange bags, 3 dull gray bags, 1 muted magenta bag.\ndrab white bags contain 2 faded tan bags, 3 wavy aqua bags.\nshiny tomato bags contain 4 dim coral bags, 3 dotted lime bags.\nwavy plum bags contain 1 bright orange bag.\ndull crimson bags contain 2 pale silver bags, 1 light beige bag, 4 wavy violet bags.\ndotted violet bags contain 4 light indigo bags, 1 dark black bag, 3 pale green bags.\ndark salmon bags contain 5 light tan bags, 4 dim chartreuse bags, 5 faded green bags, 3 light brown bags.\ndull brown bags contain 5 mirrored aqua bags, 5 dim magenta bags, 4 light brown bags, 5 plaid black bags.\nshiny chartreuse bags contain 5 wavy yellow bags, 3 faded aqua bags, 1 bright fuchsia bag, 5 drab plum bags.\nmuted red bags contain 3 drab white bags, 5 dim beige bags, 4 bright olive bags.\nposh blue bags contain 1 dotted beige bag, 1 vibrant cyan bag, 4 vibrant brown bags, 2 clear turquoise bags.\nwavy bronze bags contain 4 wavy turquoise bags, 4 dim bronze bags, 3 shiny beige bags, 2 dull lavender bags.\nposh beige bags contain 3 muted gray bags, 4 light salmon bags, 5 striped turquoise bags.\nvibrant red bags contain 5 muted blue bags.\ndark olive bags contain 5 dark maroon bags.\ndotted gray bags contain 3 wavy magenta bags.\nvibrant cyan bags contain 5 dotted lavender bags, 3 vibrant orange bags.\ndark chartreuse bags contain 3 pale white bags, 1 dull lavender bag.\nfaded lime bags contain 4 clear green bags, 3 shiny plum bags, 2 light green bags.\nvibrant blue bags contain 1 wavy turquoise bag, 4 dim salmon bags.\ndull tan bags contain 3 dim chartreuse bags, 1 plaid tomato bag, 4 dark brown bags.\nmuted gray bags contain 4 clear tan bags, 3 wavy aqua bags, 5 dim white bags.\nclear yellow bags contain 1 drab white bag, 5 dark salmon bags, 2 dull yellow bags.\nclear tomato bags contain 2 dotted gray bags, 5 vibrant beige bags, 1 bright maroon bag, 2 drab green bags.\nshiny tan bags contain 5 posh lavender bags, 5 pale yellow bags.\ndark black bags contain 4 muted purple bags, 5 light gray bags, 5 drab red bags.\nstriped plum bags contain 3 dull red bags, 1 dark tomato bag, 4 dark yellow bags, 5 plaid cyan bags.\nlight gray bags contain 3 plaid chartreuse bags.\nlight aqua bags contain 4 wavy magenta bags, 3 light black bags.\nvibrant brown bags contain 1 bright blue bag, 1 posh black bag.\nposh tomato bags contain 5 wavy magenta bags.\ndotted bronze bags contain 4 mirrored chartreuse bags.\nmirrored violet bags contain 2 clear maroon bags, 1 light red bag, 4 mirrored gray bags.\ndark purple bags contain 5 bright blue bags, 3 plaid blue bags.\nfaded beige bags contain 4 plaid bronze bags, 5 vibrant turquoise bags, 3 pale orange bags, 5 mirrored aqua bags.\nmirrored green bags contain 1 dotted fuchsia bag, 5 light indigo bags, 3 shiny beige bags.\nstriped violet bags contain 5 drab silver bags, 2 dim crimson bags, 3 plaid blue bags.\nmirrored tomato bags contain 5 light lavender bags.\nposh purple bags contain 3 pale orange bags.\ndim blue bags contain 5 dotted plum bags, 1 light orange bag, 4 dim maroon bags.\ndark cyan bags contain 4 vibrant white bags, 4 dull white bags, 1 posh purple bag.\ndrab beige bags contain 5 dull purple bags.\nvibrant olive bags contain 5 light silver bags.\nplaid beige bags contain 3 muted silver bags, 4 vibrant orange bags.\nwavy silver bags contain 2 dim crimson bags, 4 shiny maroon bags, 4 pale indigo bags.\nposh crimson bags contain 2 light violet bags, 4 pale coral bags, 3 plaid bronze bags.\nvibrant crimson bags contain 3 dull red bags.\ndotted olive bags contain no other bags.\nmirrored beige bags contain 2 plaid gray bags, 5 mirrored yellow bags.\nbright brown bags contain 2 faded aqua bags, 1 dim tomato bag, 5 posh magenta bags.\nbright magenta bags contain 2 posh gray bags, 3 dim salmon bags.\nclear magenta bags contain 2 dim cyan bags, 3 clear red bags, 1 dull fuchsia bag, 4 wavy coral bags.\nclear lime bags contain 5 dull green bags, 2 shiny bronze bags, 2 faded orange bags, 1 bright beige bag.\nmuted tan bags contain 4 vibrant maroon bags, 3 vibrant black bags, 5 shiny maroon bags, 5 vibrant turquoise bags.\npale beige bags contain 3 light tomato bags.\ndark fuchsia bags contain 2 faded brown bags, 3 dotted lavender bags, 4 shiny teal bags, 2 bright blue bags.\ndim magenta bags contain 4 posh chartreuse bags.\nbright aqua bags contain 5 drab violet bags.\nstriped crimson bags contain 2 bright green bags.\ndull chartreuse bags contain 4 plaid bronze bags, 2 shiny gray bags, 4 dull lavender bags.\nwavy chartreuse bags contain 1 vibrant tomato bag, 1 dim tomato bag, 3 pale green bags, 1 posh plum bag.\ndotted white bags contain 1 dark teal bag, 4 dotted violet bags, 5 bright beige bags, 3 dim silver bags.\nmirrored purple bags contain 1 posh green bag.\nfaded bronze bags contain 4 dotted indigo bags.\nfaded lavender bags contain 3 muted purple bags.\nclear turquoise bags contain 4 muted orange bags, 1 striped violet bag, 5 clear tan bags, 5 dim white bags.\nshiny plum bags contain 4 dim crimson bags.\nwavy fuchsia bags contain 3 dotted brown bags, 5 dark magenta bags, 2 dark bronze bags.\nfaded olive bags contain 5 plaid indigo bags.\nmirrored orange bags contain 4 striped violet bags, 2 light violet bags, 4 shiny orange bags.\npale indigo bags contain 3 shiny indigo bags.\nfaded tan bags contain 3 shiny maroon bags, 5 posh aqua bags, 1 striped violet bag, 2 dim white bags.\nbright chartreuse bags contain 1 posh black bag, 5 bright gray bags, 3 plaid chartreuse bags.\ndrab blue bags contain 1 pale violet bag, 4 vibrant green bags.\nposh tan bags contain 4 shiny lime bags.\nplaid maroon bags contain 2 dotted black bags.\ndull coral bags contain 4 posh coral bags, 1 dotted silver bag, 5 drab beige bags, 1 plaid red bag.\nstriped yellow bags contain 1 plaid tomato bag, 1 dotted lavender bag.\nmuted magenta bags contain 4 muted black bags.\ndotted cyan bags contain 1 vibrant tomato bag, 3 light indigo bags, 1 wavy turquoise bag.\ndim lavender bags contain 1 muted black bag, 4 pale white bags, 2 mirrored coral bags, 5 pale brown bags.\nbright gold bags contain 5 vibrant green bags.\nlight white bags contain 2 striped lime bags, 2 muted lime bags, 5 muted brown bags, 4 bright green bags.\nwavy lavender bags contain 2 vibrant purple bags, 5 posh white bags.\nclear black bags contain 2 posh turquoise bags, 3 dotted orange bags, 3 faded teal bags.\nmuted crimson bags contain 1 pale violet bag, 5 drab lavender bags.\nposh green bags contain 4 vibrant beige bags, 5 dark purple bags, 3 dim salmon bags, 3 light black bags.\nvibrant silver bags contain 3 posh coral bags, 4 posh white bags.\ndim coral bags contain 2 posh violet bags, 1 dark cyan bag, 3 shiny green bags, 3 vibrant cyan bags.\nstriped red bags contain 5 muted olive bags, 4 wavy teal bags, 3 shiny gray bags, 1 mirrored coral bag.\nbright violet bags contain 3 shiny beige bags, 1 wavy magenta bag, 5 light indigo bags.\nvibrant magenta bags contain 4 striped salmon bags, 1 light tan bag.\nfaded gold bags contain 5 light tomato bags, 1 wavy black bag, 4 faded maroon bags.\nmuted plum bags contain 1 vibrant brown bag, 2 muted cyan bags, 4 muted salmon bags.\nplaid gold bags contain 5 shiny beige bags, 3 faded fuchsia bags, 5 vibrant cyan bags, 5 shiny gold bags.\nstriped indigo bags contain no other bags.\nwavy gray bags contain 2 plaid indigo bags, 3 clear tomato bags, 4 dull blue bags.\nplaid silver bags contain 5 clear salmon bags, 5 faded lime bags, 4 shiny tan bags, 5 mirrored chartreuse bags.\nplaid yellow bags contain 4 shiny chartreuse bags, 1 light lime bag, 2 dull green bags.\nplaid turquoise bags contain 3 dotted aqua bags, 3 posh magenta bags.\nstriped olive bags contain 2 faded aqua bags, 5 dotted orange bags, 5 dull turquoise bags, 1 pale violet bag.\nfaded teal bags contain 3 striped indigo bags.\ndull red bags contain 1 mirrored gray bag, 4 drab coral bags, 2 bright plum bags, 1 dull green bag.\ndull gold bags contain 5 bright blue bags.\nshiny magenta bags contain 1 light white bag.\nstriped green bags contain 1 clear blue bag.\ndull teal bags contain 3 dark purple bags, 4 dim lime bags, 5 clear chartreuse bags.\nfaded magenta bags contain 4 shiny gray bags, 5 pale crimson bags, 5 light coral bags, 2 pale white bags.\npale tomato bags contain 4 dull black bags, 1 posh chartreuse bag, 1 faded cyan bag.\nmuted blue bags contain 5 striped white bags, 1 faded orange bag.\nlight blue bags contain 4 posh white bags.\nplaid chartreuse bags contain 2 bright gray bags.\ndull aqua bags contain 5 clear tan bags, 5 dotted red bags, 5 vibrant tomato bags.\nlight lavender bags contain 5 clear fuchsia bags, 1 striped olive bag.\nbright green bags contain 4 vibrant violet bags, 2 vibrant maroon bags.\nlight beige bags contain 1 striped maroon bag.\ndrab indigo bags contain 4 posh tomato bags, 5 faded brown bags.\ndotted yellow bags contain 3 wavy violet bags, 4 bright violet bags, 4 vibrant lime bags, 1 pale beige bag.\nstriped gold bags contain 2 light indigo bags, 3 dull red bags, 5 vibrant beige bags.\nmuted indigo bags contain 5 bright purple bags, 1 pale plum bag, 5 wavy black bags.\ndark lime bags contain 2 faded blue bags.\nshiny white bags contain 4 clear tan bags, 3 pale yellow bags, 5 plaid tomato bags, 4 wavy turquoise bags.\nvibrant maroon bags contain 4 dark red bags, 2 dull aqua bags, 5 wavy aqua bags.\ndrab teal bags contain 3 shiny indigo bags.\nbright plum bags contain 2 plaid chartreuse bags.\nvibrant yellow bags contain 3 posh purple bags.\nposh salmon bags contain 4 dim plum bags, 1 pale yellow bag, 2 shiny gold bags.\nshiny black bags contain 3 dim magenta bags.\nbright gray bags contain no other bags.\ndull orange bags contain 3 dotted purple bags.\npale purple bags contain 2 bright cyan bags, 2 drab teal bags, 2 dotted gold bags, 4 mirrored fuchsia bags.\ndull yellow bags contain 3 posh gray bags.\nmuted tomato bags contain 3 faded orange bags.\ndrab olive bags contain 4 dim maroon bags, 1 bright turquoise bag, 3 shiny indigo bags, 5 vibrant lavender bags.\nclear salmon bags contain 2 dim chartreuse bags, 2 shiny black bags, 5 dotted indigo bags, 3 dotted aqua bags.\nposh black bags contain 2 wavy turquoise bags, 2 shiny plum bags, 2 mirrored gold bags.\nlight gold bags contain 5 shiny tomato bags, 4 light cyan bags.\nshiny coral bags contain 3 faded silver bags.\nplaid magenta bags contain 1 vibrant black bag, 2 bright blue bags.\ndotted teal bags contain 4 faded olive bags, 5 vibrant brown bags, 3 clear salmon bags.\nstriped purple bags contain 5 shiny bronze bags.\ndim tan bags contain 2 light tan bags, 1 dotted gold bag, 3 shiny white bags.\nlight silver bags contain 5 dotted cyan bags, 4 dotted aqua bags.\ndull white bags contain 5 striped turquoise bags.\nplaid aqua bags contain 3 dim bronze bags, 5 dull brown bags, 3 faded plum bags, 2 mirrored crimson bags.\ndotted silver bags contain 1 faded teal bag.\ndull olive bags contain 1 dark turquoise bag, 3 muted orange bags.\nclear purple bags contain 3 drab salmon bags.\nmirrored plum bags contain 1 vibrant lavender bag.\nbright beige bags contain 4 plaid magenta bags, 1 dull turquoise bag, 4 dim white bags, 1 light aqua bag.\npale red bags contain 1 muted lavender bag, 2 vibrant teal bags, 4 plaid cyan bags, 5 dull orange bags.\ndrab orange bags contain 3 bright plum bags, 5 vibrant chartreuse bags.\nmirrored gold bags contain 2 wavy magenta bags.\nposh maroon bags contain 3 dotted lime bags, 2 muted black bags, 3 faded green bags.\nclear white bags contain 4 pale black bags.\npale silver bags contain 2 dim coral bags, 2 dull lavender bags, 2 dark teal bags, 3 wavy green bags.\nvibrant tomato bags contain 5 dull lavender bags.\nstriped orange bags contain 5 shiny salmon bags, 1 pale gold bag, 4 mirrored gray bags, 1 plaid black bag.\ndim beige bags contain 5 dim salmon bags, 2 striped yellow bags, 5 shiny orange bags, 5 light salmon bags.\nclear gold bags contain 2 dim salmon bags, 4 vibrant cyan bags.\ndim teal bags contain 3 light indigo bags, 3 pale green bags, 5 muted bronze bags.\nshiny silver bags contain 3 drab red bags, 1 pale magenta bag, 3 plaid blue bags, 4 pale white bags.\ndark beige bags contain 4 posh black bags, 1 dark maroon bag.\nbright bronze bags contain 4 mirrored yellow bags, 1 vibrant salmon bag, 2 mirrored teal bags, 1 shiny beige bag.\ndotted maroon bags contain 1 clear tomato bag.\nbright olive bags contain 3 striped tomato bags, 3 plaid indigo bags, 3 posh magenta bags.\nfaded tomato bags contain 5 bright violet bags.\nmirrored magenta bags contain 3 wavy coral bags, 4 dull tan bags, 3 wavy chartreuse bags.\nstriped aqua bags contain 3 drab teal bags, 3 drab crimson bags, 5 plaid gold bags, 2 vibrant aqua bags.\nclear crimson bags contain 5 striped chartreuse bags, 5 vibrant blue bags.\nstriped blue bags contain 4 dull red bags, 3 vibrant white bags, 4 posh black bags.\nposh olive bags contain 5 muted cyan bags.\nplaid indigo bags contain 5 dotted fuchsia bags, 2 plaid chartreuse bags, 3 vibrant blue bags.\nmirrored lime bags contain 2 dotted lavender bags, 2 wavy bronze bags.\nwavy blue bags contain 5 mirrored green bags, 5 faded tomato bags, 1 posh turquoise bag.\nlight fuchsia bags contain 3 faded tomato bags, 5 muted beige bags, 2 faded beige bags, 4 wavy indigo bags.\ndull plum bags contain 4 dark blue bags, 5 shiny maroon bags, 3 pale gray bags, 5 drab lime bags.\ndrab fuchsia bags contain 3 dark maroon bags.\npale teal bags contain 4 vibrant blue bags, 1 bright green bag, 3 dim crimson bags, 1 posh salmon bag.\ndull tomato bags contain 3 dim maroon bags, 4 plaid gray bags, 5 striped gold bags, 5 striped white bags.\npale orange bags contain 4 drab yellow bags.\nwavy aqua bags contain 1 dim bronze bag.\ndim chartreuse bags contain 2 bright violet bags.\ndotted crimson bags contain 5 vibrant orange bags, 4 wavy magenta bags.\nfaded cyan bags contain 3 mirrored blue bags, 3 shiny fuchsia bags, 4 bright indigo bags.\npale salmon bags contain 2 pale cyan bags, 2 muted lime bags, 2 vibrant plum bags.\ndrab lime bags contain 2 drab yellow bags, 2 light magenta bags, 3 dotted fuchsia bags.\nshiny bronze bags contain 1 posh lavender bag.\ndim fuchsia bags contain 5 dotted gold bags, 5 vibrant indigo bags, 4 shiny teal bags, 2 dotted silver bags.\ndark green bags contain 2 shiny blue bags.\nbright red bags contain 2 pale brown bags, 3 plaid blue bags, 4 drab bronze bags, 3 dim yellow bags.\nclear teal bags contain 2 drab white bags, 3 muted beige bags.\npale aqua bags contain 4 light tan bags.\ndull lavender bags contain 1 dim bronze bag, 5 dim crimson bags, 1 dotted olive bag.\ndotted plum bags contain 1 light black bag.\nshiny teal bags contain 3 light indigo bags.\ndotted lime bags contain 1 shiny gold bag, 3 plaid crimson bags.\ndark tan bags contain 5 faded tan bags.\nvibrant indigo bags contain 3 shiny fuchsia bags.\nlight tan bags contain 4 pale yellow bags, 1 pale crimson bag, 3 light gray bags.\ndrab plum bags contain 2 shiny turquoise bags, 2 vibrant yellow bags, 4 muted brown bags, 2 drab lavender bags.\ndim white bags contain 5 dark red bags, 5 dotted olive bags.\nlight red bags contain 2 vibrant indigo bags, 1 wavy salmon bag, 3 dull brown bags.\nmirrored fuchsia bags contain 5 dotted tomato bags.\nmirrored indigo bags contain 5 pale lime bags, 5 light magenta bags, 4 light gray bags, 2 dull red bags.\ndim yellow bags contain 2 muted beige bags, 2 plaid olive bags, 3 faded aqua bags.\nshiny gray bags contain 1 drab yellow bag, 3 shiny lavender bags, 1 posh white bag.\nfaded violet bags contain 2 bright olive bags, 5 clear gray bags, 2 dark orange bags, 1 pale magenta bag.\nmirrored black bags contain 4 clear blue bags.\ndrab aqua bags contain 1 vibrant crimson bag, 4 clear fuchsia bags.\npale black bags contain 5 pale turquoise bags, 4 striped yellow bags, 4 dotted beige bags.\nwavy cyan bags contain 1 vibrant brown bag.\ndark silver bags contain 3 light tomato bags, 5 dotted lavender bags, 3 bright turquoise bags.\nfaded orange bags contain 3 clear turquoise bags, 3 mirrored gold bags, 2 plaid bronze bags, 2 dotted fuchsia bags.\ndrab crimson bags contain 5 clear blue bags.\nposh magenta bags contain 1 bright violet bag, 2 dotted beige bags, 2 bright gray bags.\nposh brown bags contain 3 dim tomato bags, 1 dim chartreuse bag, 5 shiny orange bags.\ndrab gray bags contain 3 striped violet bags.\npale cyan bags contain 5 dotted aqua bags, 3 striped tomato bags.\nwavy tan bags contain 3 pale indigo bags.\nplaid brown bags contain 2 dotted indigo bags, 1 dull indigo bag, 2 light brown bags.\nvibrant beige bags contain 1 shiny teal bag, 3 vibrant cyan bags, 2 posh gray bags, 3 striped tomato bags.\nshiny aqua bags contain 2 vibrant black bags, 2 muted coral bags, 4 vibrant coral bags.\nmirrored silver bags contain 3 drab silver bags, 1 clear turquoise bag.\npale tan bags contain 3 pale magenta bags.\nstriped cyan bags contain 5 drab tomato bags.\nmirrored coral bags contain 1 mirrored crimson bag, 1 bright maroon bag.\npale white bags contain 4 shiny beige bags, 1 shiny maroon bag, 5 dim bronze bags.\nshiny beige bags contain 3 mirrored gold bags.\nmirrored chartreuse bags contain 1 dotted tomato bag, 2 bright cyan bags.\nwavy red bags contain 1 posh lavender bag, 1 vibrant blue bag, 3 muted brown bags.\nmuted chartreuse bags contain 3 dim lavender bags, 4 pale plum bags, 4 light magenta bags.\nshiny purple bags contain 4 muted green bags, 5 light white bags, 2 faded tan bags, 5 light beige bags.\nclear tan bags contain 3 dotted red bags, 1 striped violet bag, 4 plaid chartreuse bags.\nbright teal bags contain 1 faded black bag, 3 faded maroon bags.\nposh orange bags contain 5 light gold bags, 3 posh aqua bags.\nstriped gray bags contain 2 bright plum bags, 2 shiny gray bags.\ndim lime bags contain 1 plaid blue bag.\nposh fuchsia bags contain 1 dull indigo bag, 2 plaid blue bags.\ndotted tomato bags contain no other bags.\ndim plum bags contain 1 dim chartreuse bag.\ndim orange bags contain 2 muted magenta bags, 5 faded aqua bags.\nposh gold bags contain 5 light maroon bags, 4 dark turquoise bags, 1 posh white bag, 5 wavy beige bags.\nstriped bronze bags contain 1 dark magenta bag.\nwavy lime bags contain 4 mirrored lavender bags, 3 pale bronze bags, 1 dull white bag.\npale magenta bags contain 2 dim crimson bags, 4 plaid plum bags, 5 muted silver bags, 2 dim yellow bags.\nstriped chartreuse bags contain 5 light black bags, 3 bright fuchsia bags, 4 pale black bags.\nvibrant tan bags contain 2 dim tan bags.\nshiny crimson bags contain 5 pale beige bags, 3 clear purple bags, 2 pale violet bags, 4 dotted chartreuse bags.\nvibrant orange bags contain no other bags.\nstriped silver bags contain 5 clear orange bags, 2 dotted fuchsia bags.\nclear cyan bags contain 5 muted gray bags, 3 wavy aqua bags.\nlight black bags contain 1 striped yellow bag.\nmuted white bags contain 3 muted tomato bags, 5 light black bags, 4 pale black bags, 5 shiny gold bags.' test_bag_rules: dict = create_rules_dict(part_1_test_input) real_bag_rules: dict = create_rules_dict(part_1_real_input) part_1_test_result = find_outer_bag_possibilities('shiny gold', test_bag_rules) part_1_real_result = find_outer_bag_possibilities('shiny gold', real_bag_rules) print(f'Amount of possible outer bags (test): {part_1_test_result}') print(f'Amount of possible outer bags (real): {part_1_real_result}') def create_rules_dict(raw_rules_input: str) -> dict: """ Creates dict with rules from raw str input :param raw_rules_input: String of written rules :type raw_rules_input: str :return: Dictionary with processed rules :rtype: dict """ bag_rules: dict = {} for rule_row in raw_rules_input.split('.\n'): is_color: bool = True rules_for_color: str = '' for rule_part in rule_row.split(' bags contain '): try: if is_color: rules_for_color = rule_part bag_rules[rules_for_color] = {} else: for bag_rule in rule_part.split(', '): cleaned_bag_rule = bag_rule.split()[:-1] if cleaned_bag_rule[0] != 'no': bag_amount = cleaned_bag_rule[0] bag_color = cleaned_bag_rule[1] + ' ' + cleaned_bag_rule[2] bag_rules[rules_for_color][bag_color] = bag_amount is_color = not is_color except ValueError: pass return bag_rules def find_outer_bag_possibilities(bag_color: str, bag_rules: dict) -> int: """ Finds possible outer bags, based on rules and given bag color :param bag_color: String describing chosen color :param bag_rules: Dictionary of rules :type bag_color: str :type bag_rules: dict :return: Number of all possible outer bag colors :rtype: int """ allowed_outer_bags: list = [] for rule in bag_rules: if bag_color in can_hold_bags(rule, bag_rules): if rule not in allowed_outer_bags: allowed_outer_bags.append(rule) else: for color in can_hold_bags(rule, bag_rules): if bag_color in can_hold_bags(color, bag_rules): if rule not in allowed_outer_bags: allowed_outer_bags.append(rule) return len(allowed_outer_bags) def can_hold_bags(rule: str, bag_rules: dict) -> dict: """ Returns a dict of all bags that can be held by given bag color :param rule: Color of a given bag :param bag_rules: Dictionary of rules :type rule: str :type bag_rules: dict :return: """ return bag_rules[rule] if __name__ == '__main__': main()
{ '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])
def central_suppression_method(valuein: int, rc: str = "5", upper: int = 5000000000) -> str: """ Suppresses and rounds values using the central suppression method. If value is 0 then it will remain as 0. If value is 1-7 it will be suppressed and appear as 5. All other values will be rounded to the nearest 5. Parameters ---------- valuein : int Metric value rc : str Replacement character if value needs suppressing upper : int Upper limit for suppression of numbers (5 billion) Returns ------- out : str Suppressed value (5), 0 or rounded valuein if greater than 7 Examples -------- >>> central_suppression_method(3) '5' >>> central_suppression_method(24) '25' >>> central_suppression_method(0) '0' """ base = 5 if not isinstance(valuein, int): raise ValueError("The input: {} is not an integer.".format(valuein)) if valuein < 0: raise ValueError("The input: {} is less than 0.".format(valuein)) elif valuein == 0: valueout = str(valuein) elif valuein >= 1 and valuein <= 7: valueout = rc elif valuein > 7 and valuein <= upper: valueout = str(base * round(valuein / base)) else: raise ValueError("The input: {} is greater than: {}.".format(valuein, upper)) return valueout
def central_suppression_method(valuein: int, rc: str='5', upper: int=5000000000) -> str: """ Suppresses and rounds values using the central suppression method. If value is 0 then it will remain as 0. If value is 1-7 it will be suppressed and appear as 5. All other values will be rounded to the nearest 5. Parameters ---------- valuein : int Metric value rc : str Replacement character if value needs suppressing upper : int Upper limit for suppression of numbers (5 billion) Returns ------- out : str Suppressed value (5), 0 or rounded valuein if greater than 7 Examples -------- >>> central_suppression_method(3) '5' >>> central_suppression_method(24) '25' >>> central_suppression_method(0) '0' """ base = 5 if not isinstance(valuein, int): raise value_error('The input: {} is not an integer.'.format(valuein)) if valuein < 0: raise value_error('The input: {} is less than 0.'.format(valuein)) elif valuein == 0: valueout = str(valuein) elif valuein >= 1 and valuein <= 7: valueout = rc elif valuein > 7 and valuein <= upper: valueout = str(base * round(valuein / base)) else: raise value_error('The input: {} is greater than: {}.'.format(valuein, upper)) return valueout
class DocManagerBase: @staticmethod def apply_update(doc, update_spec): """Apply an update operation to a document.""" if "$set" not in update_spec and "$unset" not in update_spec: # update spec contains the new document in its entirety return update_spec # Helper to cast a key for a list or dict, or raise ValueError def _convert_or_raise(container, key): if isinstance(container, dict): return key elif isinstance(container, list): return int(key) else: raise ValueError # Helper to retrieve (and/or create) # a dot-separated path within a document. def _retrieve_path(container, path, create=False): looking_at = container for part in path: if isinstance(looking_at, dict): if create and part not in looking_at: looking_at[part] = {} looking_at = looking_at[part] elif isinstance(looking_at, list): index = int(part) # Do we need to create additional space in the array? if create and len(looking_at) <= index: # Fill buckets with None up to the index we need. looking_at.extend([None] * (index - len(looking_at))) # Bucket we need gets the empty dictionary. looking_at.append({}) looking_at = looking_at[index] else: raise ValueError return looking_at def _set_field(doc, to_set, value): if "." in to_set: path = to_set.split(".") where = _retrieve_path(doc, path[:-1], create=True) index = _convert_or_raise(where, path[-1]) wl = len(where) if isinstance(where, list) and index >= wl: where.extend([None] * (index + 1 - wl)) where[index] = value else: doc[to_set] = value def _unset_field(doc, to_unset): try: if "." in to_unset: path = to_unset.split(".") where = _retrieve_path(doc, path[:-1]) index_or_key = _convert_or_raise(where, path[-1]) if isinstance(where, list): # Unset an array element sets it to null. where[index_or_key] = None else: # Unset field removes it entirely. del where[index_or_key] else: del doc[to_unset] except (KeyError, IndexError, ValueError): raise # wholesale document replacement try: # $set for to_set in update_spec.get("$set", []): value = update_spec["$set"][to_set] _set_field(doc, to_set, value) # $unset for to_unset in update_spec.get("$unset", []): _unset_field(doc, to_unset) except (KeyError, ValueError, AttributeError, IndexError): raise return doc def index(self, doc, namespace, timestamp): """Index document""" raise NotImplementedError() def update(self, doc, namespace, timestamp): """Update document""" raise NotImplementedError() def delete(self, doc_id, namespace, timestamp): """Delete document by doc_id""" raise NotImplementedError() def handle_command(self, command_doc, namespace, timestamp): """Handle a command.""" raise NotImplementedError() def bulk_index(self, docs, namespace): """""" raise NotImplementedError() def commit(self): """Send bulk buffer to Elasticsearch, then refresh.""" raise NotImplementedError() def stop(self): """Stop auto committer""" raise NotImplementedError() def search(self): """""" raise NotImplementedError()
class Docmanagerbase: @staticmethod def apply_update(doc, update_spec): """Apply an update operation to a document.""" if '$set' not in update_spec and '$unset' not in update_spec: return update_spec def _convert_or_raise(container, key): if isinstance(container, dict): return key elif isinstance(container, list): return int(key) else: raise ValueError def _retrieve_path(container, path, create=False): looking_at = container for part in path: if isinstance(looking_at, dict): if create and part not in looking_at: looking_at[part] = {} looking_at = looking_at[part] elif isinstance(looking_at, list): index = int(part) if create and len(looking_at) <= index: looking_at.extend([None] * (index - len(looking_at))) looking_at.append({}) looking_at = looking_at[index] else: raise ValueError return looking_at def _set_field(doc, to_set, value): if '.' in to_set: path = to_set.split('.') where = _retrieve_path(doc, path[:-1], create=True) index = _convert_or_raise(where, path[-1]) wl = len(where) if isinstance(where, list) and index >= wl: where.extend([None] * (index + 1 - wl)) where[index] = value else: doc[to_set] = value def _unset_field(doc, to_unset): try: if '.' in to_unset: path = to_unset.split('.') where = _retrieve_path(doc, path[:-1]) index_or_key = _convert_or_raise(where, path[-1]) if isinstance(where, list): where[index_or_key] = None else: del where[index_or_key] else: del doc[to_unset] except (KeyError, IndexError, ValueError): raise try: for to_set in update_spec.get('$set', []): value = update_spec['$set'][to_set] _set_field(doc, to_set, value) for to_unset in update_spec.get('$unset', []): _unset_field(doc, to_unset) except (KeyError, ValueError, AttributeError, IndexError): raise return doc def index(self, doc, namespace, timestamp): """Index document""" raise not_implemented_error() def update(self, doc, namespace, timestamp): """Update document""" raise not_implemented_error() def delete(self, doc_id, namespace, timestamp): """Delete document by doc_id""" raise not_implemented_error() def handle_command(self, command_doc, namespace, timestamp): """Handle a command.""" raise not_implemented_error() def bulk_index(self, docs, namespace): """""" raise not_implemented_error() def commit(self): """Send bulk buffer to Elasticsearch, then refresh.""" raise not_implemented_error() def stop(self): """Stop auto committer""" raise not_implemented_error() def search(self): """""" raise not_implemented_error()
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 ListGol(object): """ Game of Life implemented via lists :param board: the initial state of the board :type board: :py:class:`gksol.boards.PaddedBoard` or List[List[int]] .. describe:: gol[n] Return the ``n``'th row of the board as a list-like view. """ def __init__(self, board): self._board = board self.height = len(board) self.width = len(board[0]) if board else 0 def advance(self): """Advance the board to the next generation""" # most of the board will be empty, so efficiently initialize to that next_board = [[0] * self.width for _ in range(self.height)] for w in range(self.width): for h in range(self.height): neighbours = self._neighbours(h,w) if neighbours == 3: next_board[h][w] = 1 elif neighbours >= 2: next_board[h][w] = self._board[h][w] else: next_board[h][w] = 0 self._board = next_board def _neighbours(self, h, w): if h == 0: h_indizes = (0, 1) elif h == self.height - 1: h_indizes = (h - 1, h) else: h_indizes = (h - 1, h, h + 1) if w == 0: w_indizes = (0, 1) elif w == self.width - 1: w_indizes = (w - 1, w) else: w_indizes = (w - 1, w, w + 1) return sum( self._board[i][j] for i in h_indizes for j in w_indizes if i != h or j != w ) def __getitem__(self, item): return self._board[item] def __iter__(self): yield from self._board def get_matrix(self): """Return the game board as a nested list""" return [line[:] for line in self._board] GOL = ListGol
class Listgol(object): """ Game of Life implemented via lists :param board: the initial state of the board :type board: :py:class:`gksol.boards.PaddedBoard` or List[List[int]] .. describe:: gol[n] Return the ``n``'th row of the board as a list-like view. """ def __init__(self, board): self._board = board self.height = len(board) self.width = len(board[0]) if board else 0 def advance(self): """Advance the board to the next generation""" next_board = [[0] * self.width for _ in range(self.height)] for w in range(self.width): for h in range(self.height): neighbours = self._neighbours(h, w) if neighbours == 3: next_board[h][w] = 1 elif neighbours >= 2: next_board[h][w] = self._board[h][w] else: next_board[h][w] = 0 self._board = next_board def _neighbours(self, h, w): if h == 0: h_indizes = (0, 1) elif h == self.height - 1: h_indizes = (h - 1, h) else: h_indizes = (h - 1, h, h + 1) if w == 0: w_indizes = (0, 1) elif w == self.width - 1: w_indizes = (w - 1, w) else: w_indizes = (w - 1, w, w + 1) return sum((self._board[i][j] for i in h_indizes for j in w_indizes if i != h or j != w)) def __getitem__(self, item): return self._board[item] def __iter__(self): yield from self._board def get_matrix(self): """Return the game board as a nested list""" return [line[:] for line in self._board] gol = ListGol
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()
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution(object): def sortList(self, head): """ :type head: ListNode :rtype: ListNode """ def merge(l1, l2): if not l1: return l2 if not l2: return l1 if l1.val < l2.val: l1.next = merge(l1.next, l2) return l1 else: l2.next = merge(l1, l2.next) return l2 if not head or not head.next: return head slow = head fast = head pre = head while fast and fast.next: pre = slow slow = slow.next fast = fast.next.next pre.next = None return merge(self.sortList(head), self.sortList(slow))
class Solution(object): def sort_list(self, head): """ :type head: ListNode :rtype: ListNode """ def merge(l1, l2): if not l1: return l2 if not l2: return l1 if l1.val < l2.val: l1.next = merge(l1.next, l2) return l1 else: l2.next = merge(l1, l2.next) return l2 if not head or not head.next: return head slow = head fast = head pre = head while fast and fast.next: pre = slow slow = slow.next fast = fast.next.next pre.next = None return merge(self.sortList(head), self.sortList(slow))
# 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)
""" [2015-08-10] Challenge #227 [Easy] Square Spirals https://www.reddit.com/r/dailyprogrammer/comments/3ggli3/20150810_challenge_227_easy_square_spirals/ # [](#EasyIcon) __(Easy)__: Square Spirals Take a square grid, and put a cross on the center point, like this: + + + + + + + + + + + + X + + + + + + + + + + + + The grid is 5-by-5, and the cross indicates point 1. Let's call the top-left corner location (1, 1), so the center point is at location (3, 3). Now, place another cross to the right, and trace the path: + + + + + + + + + + + + X-X + + + + + + + + + + + This second point (point 2) is now at location (4, 3). If you continually move around anticlockwise as much as you can from this point, you will form a square spiral, as this diagram shows the beginning of: + + + + + + X-X-X . | | . + X X-X . | | + X-X-X-X + + + + + Your challenge today is to do two things: convert a point number to its location on the spiral, and vice versa. # Formal Inputs and Outputs ## Input Specification On the first line, you'll be given a number **S**. This is the size of the spiral. If **S** equals 5, then the grid is a 5-by-5 grid, as shown in the demonstration above. **S** will always be an odd number. You will then be given one of two inputs on the next line: * You'll be given a single number **N** - this is the point number of a point on the spiral. * You'll be given two numbers **X** and **Y** (on the same line, separated by a space) - this is the location of a point on the spiral. ## Output Description If you're given the point number of a point, work out its location. If you're given a location, find out its point number. # Sample Inputs and Outputs ## Example 1 (Where is 8 on this spiral?) 5-4-3 | | 6 1-2 | 7-8-9 ### Input 3 8 ### Output (2, 3) ## Example 2 This corresponds to the top-left point (1, 1) in [this 7-by-7 grid](https://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Ulam_spiral_howto_all_numbers.svg/811px-Ulam_spiral_howto_all_numbers.svg.png) ### Input 7 1 1 ### Output 37 ## Example 3 ### Input 11 50 ### Output (10, 9) ## Example 4 ### Input 9 6 8 ### Output 47 If your solution can't solve the next two inputs before the heat death of the universe, don't worry. ## Example 5 Let's test how fast your solution is! ### Input 1024716039 557614022 ### Output (512353188, 512346213) ## Example 6 :D ### Input 234653477 11777272 289722 ### Output 54790653381545607 # Finally Got any cool challenge ideas? Submit them to /r/DailyProgrammer_Ideas! """ def main(): pass if __name__ == "__main__": main()
""" [2015-08-10] Challenge #227 [Easy] Square Spirals https://www.reddit.com/r/dailyprogrammer/comments/3ggli3/20150810_challenge_227_easy_square_spirals/ # [](#EasyIcon) __(Easy)__: Square Spirals Take a square grid, and put a cross on the center point, like this: + + + + + + + + + + + + X + + + + + + + + + + + + The grid is 5-by-5, and the cross indicates point 1. Let's call the top-left corner location (1, 1), so the center point is at location (3, 3). Now, place another cross to the right, and trace the path: + + + + + + + + + + + + X-X + + + + + + + + + + + This second point (point 2) is now at location (4, 3). If you continually move around anticlockwise as much as you can from this point, you will form a square spiral, as this diagram shows the beginning of: + + + + + + X-X-X . | | . + X X-X . | | + X-X-X-X + + + + + Your challenge today is to do two things: convert a point number to its location on the spiral, and vice versa. # Formal Inputs and Outputs ## Input Specification On the first line, you'll be given a number **S**. This is the size of the spiral. If **S** equals 5, then the grid is a 5-by-5 grid, as shown in the demonstration above. **S** will always be an odd number. You will then be given one of two inputs on the next line: * You'll be given a single number **N** - this is the point number of a point on the spiral. * You'll be given two numbers **X** and **Y** (on the same line, separated by a space) - this is the location of a point on the spiral. ## Output Description If you're given the point number of a point, work out its location. If you're given a location, find out its point number. # Sample Inputs and Outputs ## Example 1 (Where is 8 on this spiral?) 5-4-3 | | 6 1-2 | 7-8-9 ### Input 3 8 ### Output (2, 3) ## Example 2 This corresponds to the top-left point (1, 1) in [this 7-by-7 grid](https://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Ulam_spiral_howto_all_numbers.svg/811px-Ulam_spiral_howto_all_numbers.svg.png) ### Input 7 1 1 ### Output 37 ## Example 3 ### Input 11 50 ### Output (10, 9) ## Example 4 ### Input 9 6 8 ### Output 47 If your solution can't solve the next two inputs before the heat death of the universe, don't worry. ## Example 5 Let's test how fast your solution is! ### Input 1024716039 557614022 ### Output (512353188, 512346213) ## Example 6 :D ### Input 234653477 11777272 289722 ### Output 54790653381545607 # Finally Got any cool challenge ideas? Submit them to /r/DailyProgrammer_Ideas! """ def main(): pass if __name__ == '__main__': main()
# -*- 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')
# -*- coding: utf-8 -*- r"""Testing code for the (Python) optimal_learning library. Testing is done via the Testify package: https://github.com/Yelp/Testify This package includes: * Test cases/test setup files * Tests for classes and utils in :mod:`moe.optimal_learning.python` * Tests for classes and functions in :mod:`moe.optimal_learning.python.python_version` * Tests for classes and functions in :mod:`moe.optimal_learning.python.cpp_wrappers` **Files in this package** * :mod:`moe.tests.optimal_learning.python.optimal_learning_test_case`: base test case for optimal_learning tests with some extra asserts for checking relative differences of floats (scalar, vector) * :mod:`moe.tests.optimal_learning.python.gaussian_process_test_case`: test case for tests that manipulate GPs, includes extra logic to construct random gaussian process priors; meant to provide a well-behaved source of random data to unit tests. * :mod:`moe.tests.optimal_learning.python.gaussian_process_test_utils`: utilities for constructing a random domain, covariance, and GaussianProcess * :mod:`moe.tests.optimal_learning.python.geometry_utils_test`: tests for :mod:`moe.optimal_learning.python.geometry_utils` **Subpackages** * :mod:`moe.tests.optimal_learning.python.python_version`: tests for the Python implementation of optimal_learning. These include some manual checks, ping tests, and some high level integration tests. Python testing is currently relatively sparse; we rely heavily on the C++ comparison. * :mod:`moe.tests.optimal_learning.python.cpp_wrappers`: tests that check the equivalence of the C++ implementation and the Python implementation of optimal_learning (where applicable). Also runs the C++ unit tests. """
"""Testing code for the (Python) optimal_learning library. Testing is done via the Testify package: https://github.com/Yelp/Testify This package includes: * Test cases/test setup files * Tests for classes and utils in :mod:`moe.optimal_learning.python` * Tests for classes and functions in :mod:`moe.optimal_learning.python.python_version` * Tests for classes and functions in :mod:`moe.optimal_learning.python.cpp_wrappers` **Files in this package** * :mod:`moe.tests.optimal_learning.python.optimal_learning_test_case`: base test case for optimal_learning tests with some extra asserts for checking relative differences of floats (scalar, vector) * :mod:`moe.tests.optimal_learning.python.gaussian_process_test_case`: test case for tests that manipulate GPs, includes extra logic to construct random gaussian process priors; meant to provide a well-behaved source of random data to unit tests. * :mod:`moe.tests.optimal_learning.python.gaussian_process_test_utils`: utilities for constructing a random domain, covariance, and GaussianProcess * :mod:`moe.tests.optimal_learning.python.geometry_utils_test`: tests for :mod:`moe.optimal_learning.python.geometry_utils` **Subpackages** * :mod:`moe.tests.optimal_learning.python.python_version`: tests for the Python implementation of optimal_learning. These include some manual checks, ping tests, and some high level integration tests. Python testing is currently relatively sparse; we rely heavily on the C++ comparison. * :mod:`moe.tests.optimal_learning.python.cpp_wrappers`: tests that check the equivalence of the C++ implementation and the Python implementation of optimal_learning (where applicable). Also runs the C++ unit tests. """
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