content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
class JustCounter: __secretCount = 0 publicCount = 0 def count(self): self.__secretCount += 1 self.publicCount += 1 print(self.__secretCount) counter = JustCounter() counter.count() counter.count() print(counter.publicCount) print(counter.__secretCount)
class Justcounter: __secret_count = 0 public_count = 0 def count(self): self.__secretCount += 1 self.publicCount += 1 print(self.__secretCount) counter = just_counter() counter.count() counter.count() print(counter.publicCount) print(counter.__secretCount)
# Password validation # https://docs.djangoproject.com/en/1.9/ref/settings/#auth-password-validators AUTH_PASSWORD_VALIDATORS = [ { 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', }, { 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', }, { 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', }, { 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', }, ]
auth_password_validators = [{'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator'}, {'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator'}, {'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator'}, {'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator'}]
class Solution: def simplifyPath(self, path: str) -> str: spath = path.split('/') result = [] for i in range(len(spath)): if spath[i] == '' or spath[i] == '.' or (spath[i] == '..' and len(result) == 0): continue elif spath[i] == '..' and len(result) > 0: result.pop() else: result.append(spath[i]) if len(result) == 0: return '/' output = '' for item in result: output += '/' + item return output
class Solution: def simplify_path(self, path: str) -> str: spath = path.split('/') result = [] for i in range(len(spath)): if spath[i] == '' or spath[i] == '.' or (spath[i] == '..' and len(result) == 0): continue elif spath[i] == '..' and len(result) > 0: result.pop() else: result.append(spath[i]) if len(result) == 0: return '/' output = '' for item in result: output += '/' + item return output
# fig_supp_steady_pn_lognorm_syn.py --- # Author: Subhasis Ray # Created: Fri Mar 15 16:04:34 2019 (-0400) # Last-Updated: Fri Mar 15 16:05:11 2019 (-0400) # By: Subhasis Ray # Version: $Id$ # Code: jid = '22251511' # # fig_supp_steady_pn_lognorm_syn.py ends here
jid = '22251511'
# -*- coding: utf-8 -*- __author__ = 'Amit Arora' __email__ = '[email protected]' __version__ = '0.1.0'
__author__ = 'Amit Arora' __email__ = '[email protected]' __version__ = '0.1.0'
class Solution: def addStrings(self, num1: str, num2: str) -> str: nums1 = list(num1) nums2 = list(num2) res, carry = [], 0 while nums1 or nums2: n1 = n2 = 0 if nums1: n1 = ord(nums1.pop()) - ord("0") if nums2: n2 = ord(nums2.pop()) - ord("0") carry, remain = divmod(n1 + n2 + carry, 10) res.append(remain) if carry: res.append(carry) return "".join(str(d) for d in res)[::-1]
class Solution: def add_strings(self, num1: str, num2: str) -> str: nums1 = list(num1) nums2 = list(num2) (res, carry) = ([], 0) while nums1 or nums2: n1 = n2 = 0 if nums1: n1 = ord(nums1.pop()) - ord('0') if nums2: n2 = ord(nums2.pop()) - ord('0') (carry, remain) = divmod(n1 + n2 + carry, 10) res.append(remain) if carry: res.append(carry) return ''.join((str(d) for d in res))[::-1]
Alcool=0 Gasolina=0 Diesel=0 numero=0 while True: numero=int(input()) if(numero==1): Alcool+=1 if(numero==2): Gasolina+=1 if(numero==3): Diesel+=1 if(numero==4): break print('MUITO OBRIGADO') print(f'Alcool: {Alcool}') print(f'Gasolina: {Gasolina}') print(f'Diesel: {Diesel}')
alcool = 0 gasolina = 0 diesel = 0 numero = 0 while True: numero = int(input()) if numero == 1: alcool += 1 if numero == 2: gasolina += 1 if numero == 3: diesel += 1 if numero == 4: break print('MUITO OBRIGADO') print(f'Alcool: {Alcool}') print(f'Gasolina: {Gasolina}') print(f'Diesel: {Diesel}')
#!/usr/bin/python class GrabzItScrape: def __init__(self, identifier, name, status, nextRun, results): self.ID = identifier self.Name = name self.Status = status self.NextRun = nextRun self.Results = results
class Grabzitscrape: def __init__(self, identifier, name, status, nextRun, results): self.ID = identifier self.Name = name self.Status = status self.NextRun = nextRun self.Results = results
# -*- coding: utf-8 -*- def main(): s = input() n = len(s) k = int(input()) if k > n: print(0) else: ans = set() for i in range(n - k + 1): ans.add(s[i:i + k]) print(len(ans)) if __name__ == '__main__': main()
def main(): s = input() n = len(s) k = int(input()) if k > n: print(0) else: ans = set() for i in range(n - k + 1): ans.add(s[i:i + k]) print(len(ans)) if __name__ == '__main__': main()
nome = input ("colocar nome do cliente:") preco = float (input ("colocar preco:")) quantidade = float (input ("colocar a contidade:")) valor_total = (quantidade) * (preco) print("Senhor %s seus produtos totalizam R$ %.2f reais."%(nome,valor_total))
nome = input('colocar nome do cliente:') preco = float(input('colocar preco:')) quantidade = float(input('colocar a contidade:')) valor_total = quantidade * preco print('Senhor %s seus produtos totalizam R$ %.2f reais.' % (nome, valor_total))
class Celsius: def __init__(self, temperature=0): self.temperature = temperature def to_fahrenheit(self): return (self.temperature * 1.8) + 32 @property def temperature(self): print(f"Getting value: {self.__temperature}") return self.__temperature # private attribute = encapsulation @temperature.setter def temperature(self, value): if value < -273: # validation raise ValueError("Temperature below -273 is not possible") print(f"Setting value: {value}") self.__temperature = value # private attribute = encapsulation @temperature.deleter def temperature(self): del self.__temperature if __name__ == '__main__': c = Celsius(300) # temp = c._Celsius__temperature; c.temperature -= 10; print(c.temperature) del c.temperature # print(c.temperature)
class Celsius: def __init__(self, temperature=0): self.temperature = temperature def to_fahrenheit(self): return self.temperature * 1.8 + 32 @property def temperature(self): print(f'Getting value: {self.__temperature}') return self.__temperature @temperature.setter def temperature(self, value): if value < -273: raise value_error('Temperature below -273 is not possible') print(f'Setting value: {value}') self.__temperature = value @temperature.deleter def temperature(self): del self.__temperature if __name__ == '__main__': c = celsius(300) c.temperature -= 10 print(c.temperature) del c.temperature
# Created by MechAviv # Map ID :: 807040000 # Momijigaoka : Unfamiliar Hillside if "1" not in sm.getQRValue(57375) and sm.getChr().getJob() == 4001: sm.curNodeEventEnd(True) sm.setTemporarySkillSet(0) sm.setInGameDirectionMode(True, True, False, False) sm.sendDelay(1000) sm.levelUntil(10) sm.createQuestWithQRValue(57375, "1") sm.removeSkill(40010001) sm.setJob(4100) sm.resetStats() # Unhandled Stat Changed [HP] Packet: 00 00 00 04 00 00 00 00 00 00 CB 00 00 00 FF 00 00 00 00 # Unhandled Stat Changed [MHP] Packet: 00 00 00 08 00 00 00 00 00 00 C2 00 00 00 FF 00 00 00 00 # Unhandled Stat Changed [MMP] Packet: 00 00 00 20 00 00 00 00 00 00 71 00 00 00 FF 00 00 00 00 sm.addSP(6, True) # Unhandled Stat Changed [MHP] Packet: 00 00 00 08 00 00 00 00 00 00 BC 01 00 00 FF 00 00 00 00 # Unhandled Stat Changed [MMP] Packet: 00 00 00 20 00 00 00 00 00 00 D5 00 00 00 FF 00 00 00 00 # [INVENTORY_GROW] [01 1C ] # [INVENTORY_GROW] [02 1C ] # [INVENTORY_GROW] [03 1C ] # [INVENTORY_GROW] [04 1C ] sm.giveSkill(40010000, 1, 1) sm.giveSkill(40010067, 1, 1) sm.giveSkill(40011288, 1, 1) sm.giveSkill(40011289, 1, 1) sm.removeSkill(40011227) sm.giveSkill(40011227, 1, 1) # Unhandled Stat Changed [HP] Packet: 00 00 00 04 00 00 00 00 00 00 D2 01 00 00 FF 00 00 00 00 # Unhandled Stat Changed [MP] Packet: 00 00 00 10 00 00 00 00 00 00 DF 00 00 00 FF 00 00 00 00 # Unhandled Stat Changed [WILL_EXP] Packet: 00 00 00 00 40 00 00 00 00 00 20 2B 00 00 FF 00 00 00 00 # Unhandled Message [INC_NON_COMBAT_STAT_EXP_MESSAGE] Packet: 14 00 00 40 00 00 00 00 00 20 2B 00 00 sm.setTemporarySkillSet(0) sm.setInGameDirectionMode(False, True, False, False)
if '1' not in sm.getQRValue(57375) and sm.getChr().getJob() == 4001: sm.curNodeEventEnd(True) sm.setTemporarySkillSet(0) sm.setInGameDirectionMode(True, True, False, False) sm.sendDelay(1000) sm.levelUntil(10) sm.createQuestWithQRValue(57375, '1') sm.removeSkill(40010001) sm.setJob(4100) sm.resetStats() sm.addSP(6, True) sm.giveSkill(40010000, 1, 1) sm.giveSkill(40010067, 1, 1) sm.giveSkill(40011288, 1, 1) sm.giveSkill(40011289, 1, 1) sm.removeSkill(40011227) sm.giveSkill(40011227, 1, 1) sm.setTemporarySkillSet(0) sm.setInGameDirectionMode(False, True, False, False)
age=input("How old are you?") height=input("How tall are you?") weight=input("How much do you weigh?") print("So, you're %r old, %r tall and %r heavy." %(age,height,weight))
age = input('How old are you?') height = input('How tall are you?') weight = input('How much do you weigh?') print("So, you're %r old, %r tall and %r heavy." % (age, height, weight))
#!/usr/bin/python3 __author__ = 'Alan Au' __date__ = '2017-12-13' ''' --- Day 10: Knot Hash --- You come across some programs that are trying to implement a software emulation of a hash based on knot-tying. The hash these programs are implementing isn't very strong, but you decide to help them anyway. You make a mental note to remind the Elves later not to invent their own cryptographic functions. This hash function simulates tying a knot in a circle of string with 256 marks on it. Based on the input to be hashed, the function repeatedly selects a span of string, brings the ends together, and gives the span a half-twist to reverse the order of the marks within it. After doing this many times, the order of the marks is used to build the resulting hash. 4--5 pinch 4 5 4 1 / \ 5,0,1 / \/ \ twist / \ / \ 3 0 --> 3 0 --> 3 X 0 \ / \ /\ / \ / \ / 2--1 2 1 2 5 To achieve this, begin with a list of numbers from 0 to 255, a current position which begins at 0 (the first element in the list), a skip size (which starts at 0), and a sequence of lengths (your puzzle input). Then, for each length: Reverse the order of that length of elements in the list, starting with the element at the current position. Move the current position forward by that length plus the skip size. Increase the skip size by one. The list is circular; if the current position and the length try to reverse elements beyond the end of the list, the operation reverses using as many extra elements as it needs from the front of the list. If the current position moves past the end of the list, it wraps around to the front. Lengths larger than the size of the list are invalid. Once this process is complete, what is the result of multiplying the first two numbers in the list? ''' inFile = open("10.txt",'r') inText = inFile.read().strip() #real input lengths = list(map(int,inText.split(','))) listsize = 256 current = skip = 0 mylist = list(range(listsize)) mylist.extend(list(range(listsize))) for interval in lengths: sublist = mylist[current: current+interval] sublist.reverse() mylist[current: current+interval] = sublist current += interval if current > listsize: mylist[:current-listsize] = mylist[listsize:current] else: mylist[listsize:] = mylist[:listsize] current += skip current = current % listsize skip += 1 print("Multiplying the first two numbers of your final list gives you: "+str(mylist[0]*mylist[1]))
__author__ = 'Alan Au' __date__ = '2017-12-13' "\n--- Day 10: Knot Hash ---\n\nYou come across some programs that are trying to implement a software emulation of a hash based on knot-tying. The hash these programs are implementing isn't very strong, but you decide to help them anyway. You make a mental note to remind the Elves later not to invent their own cryptographic functions.\n\nThis hash function simulates tying a knot in a circle of string with 256 marks on it. Based on the input to be hashed, the function repeatedly selects a span of string, brings the ends together, and gives the span a half-twist to reverse the order of the marks within it. After doing this many times, the order of the marks is used to build the resulting hash.\n\n 4--5 pinch 4 5 4 1\n / \\ 5,0,1 / \\/ \\ twist / \\ / 3 0 --> 3 0 --> 3 X 0\n \\ / \\ /\\ / \\ / \\ /\n 2--1 2 1 2 5\n\nTo achieve this, begin with a list of numbers from 0 to 255, a current position which begins at 0 (the first element in the list), a skip size (which starts at 0), and a sequence of lengths (your puzzle input). Then, for each length:\n\n Reverse the order of that length of elements in the list, starting with the element at the current position.\n Move the current position forward by that length plus the skip size.\n Increase the skip size by one.\n\nThe list is circular; if the current position and the length try to reverse elements beyond the end of the list, the operation reverses using as many extra elements as it needs from the front of the list. If the current position moves past the end of the list, it wraps around to the front. Lengths larger than the size of the list are invalid.\n\nOnce this process is complete, what is the result of multiplying the first two numbers in the list?\n" in_file = open('10.txt', 'r') in_text = inFile.read().strip() lengths = list(map(int, inText.split(','))) listsize = 256 current = skip = 0 mylist = list(range(listsize)) mylist.extend(list(range(listsize))) for interval in lengths: sublist = mylist[current:current + interval] sublist.reverse() mylist[current:current + interval] = sublist current += interval if current > listsize: mylist[:current - listsize] = mylist[listsize:current] else: mylist[listsize:] = mylist[:listsize] current += skip current = current % listsize skip += 1 print('Multiplying the first two numbers of your final list gives you: ' + str(mylist[0] * mylist[1]))
class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: d = {} for i, x in enumerate(nums): if target - x in d: return [i, d[target - x]] d[x] = i return []
class Solution: def two_sum(self, nums: List[int], target: int) -> List[int]: d = {} for (i, x) in enumerate(nums): if target - x in d: return [i, d[target - x]] d[x] = i return []
class Person: def __init__(self, name, money): self.name = name self.money = money @property def money(self): print("money getter executed") return self.__money @money.setter def money(self, money): print("setter executed") if money < 0: self.__money = 0 else: self.__money = money if __name__ == "__main__": peo = Person("john", 5000) print(peo.name, peo.money)
class Person: def __init__(self, name, money): self.name = name self.money = money @property def money(self): print('money getter executed') return self.__money @money.setter def money(self, money): print('setter executed') if money < 0: self.__money = 0 else: self.__money = money if __name__ == '__main__': peo = person('john', 5000) print(peo.name, peo.money)
# Lab 26 #!/usr/bin/env python3 def main(): round = 0 answer = ' ' while round < 3 and answer.lower() != "brian": round += 1 print('Finish the movie title, "Monty Python\'s The Life of ______"') answer = input("Your answer --> ") if answer.lower() == "brian": print("Correct") break elif answer.lower() == "shrubbery": print("You got the secret answer!") break elif round == 3: print("Sorry, the answer was Brian.") break else: print("Sorry! Try again!") if __name__ == "__main__": main()
def main(): round = 0 answer = ' ' while round < 3 and answer.lower() != 'brian': round += 1 print('Finish the movie title, "Monty Python\'s The Life of ______"') answer = input('Your answer --> ') if answer.lower() == 'brian': print('Correct') break elif answer.lower() == 'shrubbery': print('You got the secret answer!') break elif round == 3: print('Sorry, the answer was Brian.') break else: print('Sorry! Try again!') if __name__ == '__main__': main()
config = { 'username': "", # Robinhood credentials 'password': "", 'trades_enabled': False, # if False, just collect data 'simulate_api_calls': False, # if enabled, just pretend to connect to Robinhood 'ticker_list': { # list of coin ticker pairs Kraken/Robinhood (XETHZUSD/ETH, etc) - https://api.kraken.com/0/public/AssetPairs 'XETHZUSD': 'ETH' }, 'trade_signals': { # select which strategies to use (buy, sell); see classes/signals.py for more info 'buy': 'sma_rsi_threshold', 'sell': 'above_buy' }, 'moving_average_periods': { # data points needed to calculate SMA fast, SMA slow, MACD fast, MACD slow, MACD signal 'sma_fast': 12, # 12 data points per hour 'sma_slow': 48, 'ema_fast': 12, 'ema_slow': 48, 'macd_fast': 12, 'macd_slow': 26, 'macd_signal': 7 }, 'rsi_period': 48, # data points for RSI 'rsi_threshold': { # RSI thresholds to trigger a buy or a sell order 'buy': 39.5, 'sell': 60 }, 'buy_below_moving_average': 0.0075, # buy if price drops below Fast_MA by this percentage (0.75%) 'profit_percentage': 0.01, # sell if price raises above purchase price by this percentage (1%) 'buy_amount_per_trade': 0, # if greater than zero, buy this amount of coin, otherwise use all the cash in the account 'reserve': 0.0, # tell the bot if you don't want it to use all of the available cash in your account 'stop_loss_threshold': 0.3, # sell if the price drops at least 30% below the purchase price 'minutes_between_updates': 5, # 1 (default), 5, 15, 30, 60, 240, 1440, 10080, 21600 'cancel_pending_after_minutes': 20, # how long to wait before cancelling an order that hasn't been filled 'save_charts': True, 'max_data_rows': 2000 }
config = {'username': '', 'password': '', 'trades_enabled': False, 'simulate_api_calls': False, 'ticker_list': {'XETHZUSD': 'ETH'}, 'trade_signals': {'buy': 'sma_rsi_threshold', 'sell': 'above_buy'}, 'moving_average_periods': {'sma_fast': 12, 'sma_slow': 48, 'ema_fast': 12, 'ema_slow': 48, 'macd_fast': 12, 'macd_slow': 26, 'macd_signal': 7}, 'rsi_period': 48, 'rsi_threshold': {'buy': 39.5, 'sell': 60}, 'buy_below_moving_average': 0.0075, 'profit_percentage': 0.01, 'buy_amount_per_trade': 0, 'reserve': 0.0, 'stop_loss_threshold': 0.3, 'minutes_between_updates': 5, 'cancel_pending_after_minutes': 20, 'save_charts': True, 'max_data_rows': 2000}
# %% [279. Perfect Squares](https://leetcode.com/problems/perfect-squares/) class Solution: def numSquares(self, n: int) -> int: return numSquares(n, math.floor(math.sqrt(n))) @functools.lru_cache(None) def numSquares(n, m): if n <= 0 or not m: return 2 ** 31 if n else 0 return min(numSquares(n - m * m, m) + 1, numSquares(n, m - 1))
class Solution: def num_squares(self, n: int) -> int: return num_squares(n, math.floor(math.sqrt(n))) @functools.lru_cache(None) def num_squares(n, m): if n <= 0 or not m: return 2 ** 31 if n else 0 return min(num_squares(n - m * m, m) + 1, num_squares(n, m - 1))
class Service: def __init__(self): self.ver = '/api/nutanix/v3/' @property def name(self): return self.ver
class Service: def __init__(self): self.ver = '/api/nutanix/v3/' @property def name(self): return self.ver
# https://leetcode.com/problems/word-search class Solution: def __init__(self): self.ans = False def backtrack(self, current_length, visited, y, x, board, word): if self.ans: return if current_length == len(word): self.ans = True return nexts = [(y + 1, x), (y - 1, x), (y, x + 1), (y, x - 1)] for ny, nx in nexts: if ( 0 <= ny < len(board) and 0 <= nx < len(board[0]) and (ny, nx) not in visited and word[current_length] == board[ny][nx] ): visited.add((ny, nx)) self.backtrack(current_length + 1, visited, ny, nx, board, word) visited.remove((ny, nx)) def exist(self, board, word): for y in range(len(board)): for x in range(len(board[0])): if board[y][x] == word[0]: visited = {(y, x)} self.backtrack(1, visited, y, x, board, word) return self.ans
class Solution: def __init__(self): self.ans = False def backtrack(self, current_length, visited, y, x, board, word): if self.ans: return if current_length == len(word): self.ans = True return nexts = [(y + 1, x), (y - 1, x), (y, x + 1), (y, x - 1)] for (ny, nx) in nexts: if 0 <= ny < len(board) and 0 <= nx < len(board[0]) and ((ny, nx) not in visited) and (word[current_length] == board[ny][nx]): visited.add((ny, nx)) self.backtrack(current_length + 1, visited, ny, nx, board, word) visited.remove((ny, nx)) def exist(self, board, word): for y in range(len(board)): for x in range(len(board[0])): if board[y][x] == word[0]: visited = {(y, x)} self.backtrack(1, visited, y, x, board, word) return self.ans
a = 1 b = 2 c = 3 print("hello python")
a = 1 b = 2 c = 3 print('hello python')
# -*- coding: utf-8 -*- name = 'usd_katana' version = '0.8.2' requires = [ 'usd-0.8.2' ] build_requires = [ 'cmake-3.2', ] variants = [['platform-linux', 'arch-x86_64', 'katana-2.5.4'], ['platform-linux', 'arch-x86_64', 'katana-2.6.4']] def commands(): env.KATANA_RESOURCES.append('{this.root}/third_party/katana/plugin') env.KATANA_POST_PYTHONPATH.append('{this.root}/third_party/katana/lib')
name = 'usd_katana' version = '0.8.2' requires = ['usd-0.8.2'] build_requires = ['cmake-3.2'] variants = [['platform-linux', 'arch-x86_64', 'katana-2.5.4'], ['platform-linux', 'arch-x86_64', 'katana-2.6.4']] def commands(): env.KATANA_RESOURCES.append('{this.root}/third_party/katana/plugin') env.KATANA_POST_PYTHONPATH.append('{this.root}/third_party/katana/lib')
class PMS_base(object): history_number = 2 # image history number jobs = 4 # thread or process number max_iter_number = 400 # 'control the max iteration number for trainning') paths_number = 4 # 'number of paths in each rollout') max_path_length = 200 # 'timesteps in each path') batch_size = 100 # 'batch size for trainning') max_kl = 0.01 # 'the largest kl distance # \sigma in paper') gae_lambda = 1.0 # 'fix number') subsample_factor = 0.05 # 'ratio of the samples used in training process') cg_damping = 0.001 # 'conjugate gradient damping') discount = 0.99 # 'discount') cg_iters = 20 # 'iteration number in conjugate gradient') deviation = 0.1 # 'fixed') render = False # 'whether to render image') train_flag = True # 'true for train and False for test') iter_num_per_train = 1 # 'iteration number in each trainning process') checkpoint_file = '' # 'checkpoint file path # if empty then will load the latest one') save_model_times = 2 # 'iteration number to save model # if 1 # then model would be saved in each iteration') record_movie = False # 'whether record the video in gym') upload_to_gym = False # 'whether upload the result to gym') checkpoint_dir = 'checkpoint/' # 'checkpoint save and load path # for parallel # it should be checkpoint_parallel') environment_name = 'ObjectTracker-v1' # 'environment name') min_std = 0.2 # 'the smallest std') center_adv = True # 'whether center advantage # fixed') positive_adv = False # 'whether positive advantage # fixed') use_std_network = False # 'whether use network to train std # it is not supported # fixed') std = 1.1 # 'if the std is set to constant # then this value will be used') obs_shape = [224, 224, 3] # 'dimensions of observation') action_shape = 4 # 'dimensions of action') min_a = -2.0 # 'the smallest action value') max_a = 2.0 # 'the largest action value') decay_method = "adaptive" # "decay_method:adaptive # linear # exponential") # adaptive # linear # exponential timestep_adapt = 600 # "timestep to adapt kl") kl_adapt = 0.0005 # "kl adapt rate") obs_as_image = True checkpoint_file = None batch_size = int(subsample_factor * paths_number * max_path_length)
class Pms_Base(object): history_number = 2 jobs = 4 max_iter_number = 400 paths_number = 4 max_path_length = 200 batch_size = 100 max_kl = 0.01 gae_lambda = 1.0 subsample_factor = 0.05 cg_damping = 0.001 discount = 0.99 cg_iters = 20 deviation = 0.1 render = False train_flag = True iter_num_per_train = 1 checkpoint_file = '' save_model_times = 2 record_movie = False upload_to_gym = False checkpoint_dir = 'checkpoint/' environment_name = 'ObjectTracker-v1' min_std = 0.2 center_adv = True positive_adv = False use_std_network = False std = 1.1 obs_shape = [224, 224, 3] action_shape = 4 min_a = -2.0 max_a = 2.0 decay_method = 'adaptive' timestep_adapt = 600 kl_adapt = 0.0005 obs_as_image = True checkpoint_file = None batch_size = int(subsample_factor * paths_number * max_path_length)
def labyrinth(levels, orcs_first, L): if levels == 1: return orcs_first return min(labyrinth(levels - 1, orcs_first, L) ** 2, labyrinth(levels - 1, orcs_first, L) + L) print(labyrinth(int(input()), int(input()), int(input())))
def labyrinth(levels, orcs_first, L): if levels == 1: return orcs_first return min(labyrinth(levels - 1, orcs_first, L) ** 2, labyrinth(levels - 1, orcs_first, L) + L) print(labyrinth(int(input()), int(input()), int(input())))
_base_ = [ '../_base_/models/mask_rcnn_r50_fpn.py', '../_base_/datasets/cityscapes_instance.py', '../_base_/default_runtime.py' ] model = dict( pretrained=None, roi_head=dict( bbox_head=dict( type='Shared2FCBBoxHead', in_channels=256, fc_out_channels=1024, roi_feat_size=7, num_classes=8, bbox_coder=dict( type='DeltaXYWHBBoxCoder', target_means=[0., 0., 0., 0.], target_stds=[0.1, 0.1, 0.2, 0.2]), reg_class_agnostic=False, loss_cls=dict( type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0), loss_bbox=dict(type='SmoothL1Loss', beta=1.0, loss_weight=1.0)), mask_head=dict( type='FCNMaskHead', num_convs=4, in_channels=256, conv_out_channels=256, num_classes=8, loss_mask=dict( type='CrossEntropyLoss', use_mask=True, loss_weight=1.0)))) # optimizer # lr is set for a batch size of 8 optimizer = dict(type='SGD', lr=0.01, momentum=0.9, weight_decay=0.0001) optimizer_config = dict(grad_clip=None) # learning policy lr_config = dict( policy='step', warmup='linear', warmup_iters=500, warmup_ratio=0.001, # [7] yields higher performance than [6] step=[7]) runner = dict( type='EpochBasedRunner', max_epochs=8) # actual epoch = 8 * 8 = 64 log_config = dict(interval=100) # For better, more stable performance initialize from COCO load_from = 'https://download.openmmlab.com/mmdetection/v2.0/mask_rcnn/mask_rcnn_r50_fpn_1x_coco/mask_rcnn_r50_fpn_1x_coco_20200205-d4b0c5d6.pth' # noqa
_base_ = ['../_base_/models/mask_rcnn_r50_fpn.py', '../_base_/datasets/cityscapes_instance.py', '../_base_/default_runtime.py'] model = dict(pretrained=None, roi_head=dict(bbox_head=dict(type='Shared2FCBBoxHead', in_channels=256, fc_out_channels=1024, roi_feat_size=7, num_classes=8, bbox_coder=dict(type='DeltaXYWHBBoxCoder', target_means=[0.0, 0.0, 0.0, 0.0], target_stds=[0.1, 0.1, 0.2, 0.2]), reg_class_agnostic=False, loss_cls=dict(type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0), loss_bbox=dict(type='SmoothL1Loss', beta=1.0, loss_weight=1.0)), mask_head=dict(type='FCNMaskHead', num_convs=4, in_channels=256, conv_out_channels=256, num_classes=8, loss_mask=dict(type='CrossEntropyLoss', use_mask=True, loss_weight=1.0)))) optimizer = dict(type='SGD', lr=0.01, momentum=0.9, weight_decay=0.0001) optimizer_config = dict(grad_clip=None) lr_config = dict(policy='step', warmup='linear', warmup_iters=500, warmup_ratio=0.001, step=[7]) runner = dict(type='EpochBasedRunner', max_epochs=8) log_config = dict(interval=100) load_from = 'https://download.openmmlab.com/mmdetection/v2.0/mask_rcnn/mask_rcnn_r50_fpn_1x_coco/mask_rcnn_r50_fpn_1x_coco_20200205-d4b0c5d6.pth'
#!/usr/bin/python3 for tens in range(0, 9): for ones in range(tens + 1, 10): if tens != 8: print("{}{}, ".format(tens, ones), end='') print("89")
for tens in range(0, 9): for ones in range(tens + 1, 10): if tens != 8: print('{}{}, '.format(tens, ones), end='') print('89')
# ================================================================================================== # Copyright 2014 Twitter, Inc. # -------------------------------------------------------------------------------------------------- # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this work except in compliance with the License. # You may obtain a copy of the License in the LICENSE file, or at: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ================================================================================================== def sizeof_fmt(num): for x in ('', 'KB', 'MB', 'GB'): if num < 1024.0: if x == '': return "%d%s" % (num, x) else: return "%3.1f%s" % (num, x) num /= 1024.0 return "%3.1f%s" % (num, 'TB') class Counters(object): ALL = -1 WRITES = 0 READS = 1 CREATE = 2 SET_DATA = 3 GET_DATA = 4 DELETE = 5 GET_CHILDREN = 6 EXISTS = 7 CREATE_BYTES = 8 SET_DATA_BYTES = 9 GET_DATA_BYTES = 10 DELETE_BYTES = 11 GET_CHILDREN_BYTES = 12 EXISTS_BYTES = 13 CountersByName = { "all": Counters.ALL, "writes": Counters.WRITES, "reads": Counters.READS, "create": Counters.CREATE, "getdata": Counters.GET_DATA, "setdata": Counters.SET_DATA, "delete": Counters.DELETE, "getchildren": Counters.GET_CHILDREN, "getchildren_bytes": Counters.GET_CHILDREN_BYTES, "create_bytes": Counters.CREATE_BYTES, "getdata_bytes": Counters.GET_DATA_BYTES, "setdata_bytes": Counters.SET_DATA_BYTES, "delete_bytes": Counters.DELETE_BYTES, } def counter_to_str(counter): for name, c in CountersByName.items(): if counter == c: return name return ""
def sizeof_fmt(num): for x in ('', 'KB', 'MB', 'GB'): if num < 1024.0: if x == '': return '%d%s' % (num, x) else: return '%3.1f%s' % (num, x) num /= 1024.0 return '%3.1f%s' % (num, 'TB') class Counters(object): all = -1 writes = 0 reads = 1 create = 2 set_data = 3 get_data = 4 delete = 5 get_children = 6 exists = 7 create_bytes = 8 set_data_bytes = 9 get_data_bytes = 10 delete_bytes = 11 get_children_bytes = 12 exists_bytes = 13 counters_by_name = {'all': Counters.ALL, 'writes': Counters.WRITES, 'reads': Counters.READS, 'create': Counters.CREATE, 'getdata': Counters.GET_DATA, 'setdata': Counters.SET_DATA, 'delete': Counters.DELETE, 'getchildren': Counters.GET_CHILDREN, 'getchildren_bytes': Counters.GET_CHILDREN_BYTES, 'create_bytes': Counters.CREATE_BYTES, 'getdata_bytes': Counters.GET_DATA_BYTES, 'setdata_bytes': Counters.SET_DATA_BYTES, 'delete_bytes': Counters.DELETE_BYTES} def counter_to_str(counter): for (name, c) in CountersByName.items(): if counter == c: return name return ''
# -*- coding: utf-8 -*- # Copyright (c) 2019, Silvio Peroni <[email protected]> # # Permission to use, copy, modify, and/or distribute this software for any purpose # with or without fee is hereby granted, provided that the above copyright notice # and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND # FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, # OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, # DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS # ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS # SOFTWARE. def f(mat_string): c = 0 lst = list() for chr in mat_string: n = int(chr) lst.append(n) if n / 2 != n // 2: c = c + 1 return g(lst, c) def g(mat_list, c): if c <= 0 or len(mat_list) == 0: return 0 else: v = 0 result = list() for i in mat_list: if v > 0: result.append(i) if i > 0 and v == 0: v = i return v + g(result, c - 1) my_mat_string = input("Please provide ten 0-9 digits: ").strip() print("Result:", f(my_mat_string))
def f(mat_string): c = 0 lst = list() for chr in mat_string: n = int(chr) lst.append(n) if n / 2 != n // 2: c = c + 1 return g(lst, c) def g(mat_list, c): if c <= 0 or len(mat_list) == 0: return 0 else: v = 0 result = list() for i in mat_list: if v > 0: result.append(i) if i > 0 and v == 0: v = i return v + g(result, c - 1) my_mat_string = input('Please provide ten 0-9 digits: ').strip() print('Result:', f(my_mat_string))
class A: def __init__(self): self.A_NEW_NAME = 1 def _foo(self): pass a_class = A() a_class._foo() print(a_class.A_NEW_NAME)
class A: def __init__(self): self.A_NEW_NAME = 1 def _foo(self): pass a_class = a() a_class._foo() print(a_class.A_NEW_NAME)
# Constants used for creating the Filesets. FILESETS_ENTRY_GROUP_NAME_COLUMN_LABEL = 'entry_group_name' FILESETS_ENTRY_GROUP_DISPLAY_NAME_COLUMN_LABEL = 'entry_group_display_name' FILESETS_ENTRY_GROUP_DESCRIPTION_COLUMN_LABEL = 'entry_group_description' FILESETS_ENTRY_ID_COLUMN_LABEL = 'entry_id' FILESETS_ENTRY_DISPLAY_NAME_COLUMN_LABEL = 'entry_display_name' FILESETS_ENTRY_DESCRIPTION_COLUMN_LABEL = 'entry_description' FILESETS_ENTRY_FILE_PATTERNS_COLUMN_LABEL = 'entry_file_patterns' FILESETS_ENTRY_SCHEMA_COLUMN_NAME_COLUMN_LABEL = 'schema_column_name' FILESETS_ENTRY_SCHEMA_COLUMN_TYPE_COLUMN_LABEL = 'schema_column_type' FILESETS_ENTRY_SCHEMA_COLUMN_DESCRIPTION_COLUMN_LABEL = 'schema_column_description' FILESETS_ENTRY_SCHEMA_COLUMN_MODE_COLUMN_LABEL = 'schema_column_mode' # Expected order for the CSV header columns. FILESETS_COLUMNS_ORDER = (FILESETS_ENTRY_GROUP_NAME_COLUMN_LABEL, FILESETS_ENTRY_GROUP_DISPLAY_NAME_COLUMN_LABEL, FILESETS_ENTRY_GROUP_DESCRIPTION_COLUMN_LABEL, FILESETS_ENTRY_ID_COLUMN_LABEL, FILESETS_ENTRY_DISPLAY_NAME_COLUMN_LABEL, FILESETS_ENTRY_DESCRIPTION_COLUMN_LABEL, FILESETS_ENTRY_FILE_PATTERNS_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_NAME_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_TYPE_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_DESCRIPTION_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_MODE_COLUMN_LABEL) # Columns that can be empty and will be automatically filled on the CSV. FILESETS_FILLABLE_COLUMNS = [ FILESETS_ENTRY_GROUP_NAME_COLUMN_LABEL, FILESETS_ENTRY_GROUP_DISPLAY_NAME_COLUMN_LABEL, FILESETS_ENTRY_GROUP_DESCRIPTION_COLUMN_LABEL ] # Columns that are required on the CSV. FILESETS_NON_FILLABLE_COLUMNS = [ FILESETS_ENTRY_ID_COLUMN_LABEL, FILESETS_ENTRY_DISPLAY_NAME_COLUMN_LABEL, FILESETS_ENTRY_DESCRIPTION_COLUMN_LABEL, FILESETS_ENTRY_FILE_PATTERNS_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_NAME_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_TYPE_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_DESCRIPTION_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_MODE_COLUMN_LABEL ] # Value used to split the values inside FILESETS_ENTRY_FILE_PATTERNS_COLUMN_LABEL field. FILE_PATTERNS_VALUES_SEPARATOR = "|"
filesets_entry_group_name_column_label = 'entry_group_name' filesets_entry_group_display_name_column_label = 'entry_group_display_name' filesets_entry_group_description_column_label = 'entry_group_description' filesets_entry_id_column_label = 'entry_id' filesets_entry_display_name_column_label = 'entry_display_name' filesets_entry_description_column_label = 'entry_description' filesets_entry_file_patterns_column_label = 'entry_file_patterns' filesets_entry_schema_column_name_column_label = 'schema_column_name' filesets_entry_schema_column_type_column_label = 'schema_column_type' filesets_entry_schema_column_description_column_label = 'schema_column_description' filesets_entry_schema_column_mode_column_label = 'schema_column_mode' filesets_columns_order = (FILESETS_ENTRY_GROUP_NAME_COLUMN_LABEL, FILESETS_ENTRY_GROUP_DISPLAY_NAME_COLUMN_LABEL, FILESETS_ENTRY_GROUP_DESCRIPTION_COLUMN_LABEL, FILESETS_ENTRY_ID_COLUMN_LABEL, FILESETS_ENTRY_DISPLAY_NAME_COLUMN_LABEL, FILESETS_ENTRY_DESCRIPTION_COLUMN_LABEL, FILESETS_ENTRY_FILE_PATTERNS_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_NAME_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_TYPE_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_DESCRIPTION_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_MODE_COLUMN_LABEL) filesets_fillable_columns = [FILESETS_ENTRY_GROUP_NAME_COLUMN_LABEL, FILESETS_ENTRY_GROUP_DISPLAY_NAME_COLUMN_LABEL, FILESETS_ENTRY_GROUP_DESCRIPTION_COLUMN_LABEL] filesets_non_fillable_columns = [FILESETS_ENTRY_ID_COLUMN_LABEL, FILESETS_ENTRY_DISPLAY_NAME_COLUMN_LABEL, FILESETS_ENTRY_DESCRIPTION_COLUMN_LABEL, FILESETS_ENTRY_FILE_PATTERNS_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_NAME_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_TYPE_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_DESCRIPTION_COLUMN_LABEL, FILESETS_ENTRY_SCHEMA_COLUMN_MODE_COLUMN_LABEL] file_patterns_values_separator = '|'
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate Leakage': 0.00662954, 'Peak Dynamic': 0.0, 'Runtime Dynamic': 0.0, 'Subthreshold Leakage': 0.0691322, 'Subthreshold Leakage with power gating': 0.0259246}, 'Core': [{'Area': 32.6082, 'Execution Unit/Area': 8.2042, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.124619, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.30057, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.665215, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.122718, 'Execution Unit/Instruction Scheduler/Area': 2.17927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.811948, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 1.406, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.806381, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 3.02433, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.70059, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 7.4811, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.125673, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0294337, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.259814, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.217681, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.385487, 'Execution Unit/Register Files/Runtime Dynamic': 0.247114, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.661958, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.92845, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155, 'Execution Unit/Runtime Dynamic': 5.90584, 'Execution Unit/Subthreshold Leakage': 1.83518, 'Execution Unit/Subthreshold Leakage with power gating': 0.709678, 'Gate Leakage': 0.372997, 'Instruction Fetch Unit/Area': 5.86007, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00431722, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00431722, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00373113, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.00142843, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.003127, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.0154926, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0424349, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0590479, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.209262, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.43323, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.154316, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.710748, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.96874, 'Instruction Fetch Unit/Runtime Dynamic': 1.13225, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932587, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.264007, 'L2/Runtime Dynamic': 0.0539234, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80969, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 7.71046, 'Load Store Unit/Data Cache/Runtime Dynamic': 3.11775, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0351387, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.209428, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.209428, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 8.70345, 'Load Store Unit/Runtime Dynamic': 4.36, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.516414, 'Load Store Unit/StoreQ/Runtime Dynamic': 1.03283, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591622, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283406, 'Memory Management Unit/Area': 0.434579, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.183277, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.187241, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.399995, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0253017, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.875344, 'Memory Management Unit/Runtime Dynamic': 0.212543, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 30.8543, 'Renaming Unit/Area': 0.369768, 'Renaming Unit/FP Front End RAT/Area': 0.168486, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.438446, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925, 'Renaming Unit/Free List/Area': 0.0414755, 'Renaming Unit/Free List/Gate Leakage': 4.15911e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0401324, 'Renaming Unit/Free List/Runtime Dynamic': 0.0467945, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987, 'Renaming Unit/Gate Leakage': 0.00863632, 'Renaming Unit/Int Front End RAT/Area': 0.114751, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.419444, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781, 'Renaming Unit/Peak Dynamic': 4.56169, 'Renaming Unit/Runtime Dynamic': 0.904684, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 12.5692, 'Subthreshold Leakage': 6.21877, 'Subthreshold Leakage with power gating': 2.58311}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0393331, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.233583, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.210691, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.221723, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.35763, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.18052, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.759873, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.221284, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.62815, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0398041, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00930004, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0820465, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0687795, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.121851, 'Execution Unit/Register Files/Runtime Dynamic': 0.0780796, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.182685, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.534142, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.01105, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00149237, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00149237, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00132665, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000528227, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000988023, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00529942, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0133512, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0661195, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.20577, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0473511, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.224572, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 6.6284, 'Instruction Fetch Unit/Runtime Dynamic': 0.356693, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0854036, 'L2/Runtime Dynamic': 0.0186248, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.28524, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.988901, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0662617, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0662616, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.59815, 'Load Store Unit/Runtime Dynamic': 1.38194, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.16339, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.32678, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0579877, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0592699, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.261499, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.00776373, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.517221, 'Memory Management Unit/Runtime Dynamic': 0.0670336, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 19.0468, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.104706, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0112778, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.112267, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.228251, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 4.0636, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0260857, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.223177, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.139144, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.15024, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.242331, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.122321, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.514892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.150498, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.36348, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0262874, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00630174, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0554057, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0466052, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.0816931, 'Execution Unit/Register Files/Runtime Dynamic': 0.052907, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.123247, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.359889, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.55624, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00102105, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00102105, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000906716, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000360512, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000669488, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.0036183, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00916862, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0448028, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 2.84984, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0365094, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.15217, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 5.20667, 'Instruction Fetch Unit/Runtime Dynamic': 0.24627, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0565014, 'L2/Runtime Dynamic': 0.0126034, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 2.62692, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.671465, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0449633, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0449634, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 2.83925, 'Load Store Unit/Runtime Dynamic': 0.938173, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.110872, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.221744, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0393488, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0401973, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.177193, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.00598583, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.400896, 'Memory Management Unit/Runtime Dynamic': 0.0461831, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 16.4563, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0691504, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00761996, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0761073, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.152878, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.95235, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0213916, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.21949, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.114165, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.123175, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.198677, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.100286, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.422138, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.123373, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.26614, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0215683, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00516652, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.045424, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0382096, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.0669923, 'Execution Unit/Register Files/Runtime Dynamic': 0.0433761, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.101045, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.295135, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.38552, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000836617, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000836617, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000742957, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000295413, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000548884, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00296508, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00751173, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0367319, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 2.33647, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0297895, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.124758, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 4.66837, 'Instruction Fetch Unit/Runtime Dynamic': 0.201756, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0461345, 'L2/Runtime Dynamic': 0.0100438, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 2.37672, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.550107, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0368687, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0368687, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 2.55082, 'Load Store Unit/Runtime Dynamic': 0.768799, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.090912, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.181824, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.032265, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0329574, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.145273, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.00488501, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.356807, 'Memory Management Unit/Runtime Dynamic': 0.0378424, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 15.4777, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0567361, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0062478, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0623969, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.125381, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.52934, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 1.456706483031769, 'Runtime Dynamic': 1.456706483031769, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.139242, 'Runtime Dynamic': 0.0763125, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 81.9744, 'Peak Power': 115.087, 'Runtime Dynamic': 22.1909, 'Subthreshold Leakage': 31.5774, 'Subthreshold Leakage with power gating': 13.9484, 'Total Cores/Area': 128.669, 'Total Cores/Gate Leakage': 1.4798, 'Total Cores/Peak Dynamic': 81.8351, 'Total Cores/Runtime Dynamic': 22.1145, 'Total Cores/Subthreshold Leakage': 24.7074, 'Total Cores/Subthreshold Leakage with power gating': 10.2429, 'Total L3s/Area': 61.9075, 'Total L3s/Gate Leakage': 0.0484137, 'Total L3s/Peak Dynamic': 0.139242, 'Total L3s/Runtime Dynamic': 0.0763125, 'Total L3s/Subthreshold Leakage': 6.80085, 'Total L3s/Subthreshold Leakage with power gating': 3.32364, 'Total Leakage': 33.1122, 'Total NoCs/Area': 1.33155, 'Total NoCs/Gate Leakage': 0.00662954, 'Total NoCs/Peak Dynamic': 0.0, 'Total NoCs/Runtime Dynamic': 0.0, 'Total NoCs/Subthreshold Leakage': 0.0691322, 'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}}
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate Leakage': 0.00662954, 'Peak Dynamic': 0.0, 'Runtime Dynamic': 0.0, 'Subthreshold Leakage': 0.0691322, 'Subthreshold Leakage with power gating': 0.0259246}, 'Core': [{'Area': 32.6082, 'Execution Unit/Area': 8.2042, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.124619, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.30057, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.665215, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.122718, 'Execution Unit/Instruction Scheduler/Area': 2.17927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.811948, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 1.406, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.806381, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 3.02433, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.70059, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 7.4811, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.125673, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0294337, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.259814, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.217681, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.385487, 'Execution Unit/Register Files/Runtime Dynamic': 0.247114, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.661958, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.92845, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155, 'Execution Unit/Runtime Dynamic': 5.90584, 'Execution Unit/Subthreshold Leakage': 1.83518, 'Execution Unit/Subthreshold Leakage with power gating': 0.709678, 'Gate Leakage': 0.372997, 'Instruction Fetch Unit/Area': 5.86007, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00431722, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00431722, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00373113, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.00142843, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.003127, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.0154926, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0424349, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0590479, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.209262, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.43323, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.154316, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.710748, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.96874, 'Instruction Fetch Unit/Runtime Dynamic': 1.13225, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932587, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.264007, 'L2/Runtime Dynamic': 0.0539234, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80969, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 7.71046, 'Load Store Unit/Data Cache/Runtime Dynamic': 3.11775, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0351387, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.209428, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.209428, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 8.70345, 'Load Store Unit/Runtime Dynamic': 4.36, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.516414, 'Load Store Unit/StoreQ/Runtime Dynamic': 1.03283, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591622, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283406, 'Memory Management Unit/Area': 0.434579, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.183277, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.187241, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.399995, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0253017, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.875344, 'Memory Management Unit/Runtime Dynamic': 0.212543, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 30.8543, 'Renaming Unit/Area': 0.369768, 'Renaming Unit/FP Front End RAT/Area': 0.168486, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.438446, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925, 'Renaming Unit/Free List/Area': 0.0414755, 'Renaming Unit/Free List/Gate Leakage': 4.15911e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0401324, 'Renaming Unit/Free List/Runtime Dynamic': 0.0467945, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987, 'Renaming Unit/Gate Leakage': 0.00863632, 'Renaming Unit/Int Front End RAT/Area': 0.114751, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.419444, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781, 'Renaming Unit/Peak Dynamic': 4.56169, 'Renaming Unit/Runtime Dynamic': 0.904684, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 12.5692, 'Subthreshold Leakage': 6.21877, 'Subthreshold Leakage with power gating': 2.58311}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0393331, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.233583, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.210691, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.221723, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.35763, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.18052, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.759873, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.221284, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.62815, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0398041, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00930004, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0820465, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0687795, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.121851, 'Execution Unit/Register Files/Runtime Dynamic': 0.0780796, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.182685, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.534142, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.01105, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00149237, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00149237, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00132665, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000528227, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000988023, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00529942, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0133512, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0661195, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.20577, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0473511, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.224572, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 6.6284, 'Instruction Fetch Unit/Runtime Dynamic': 0.356693, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0854036, 'L2/Runtime Dynamic': 0.0186248, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.28524, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.988901, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0662617, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0662616, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.59815, 'Load Store Unit/Runtime Dynamic': 1.38194, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.16339, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.32678, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0579877, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0592699, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.261499, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.00776373, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.517221, 'Memory Management Unit/Runtime Dynamic': 0.0670336, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 19.0468, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.104706, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0112778, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.112267, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.228251, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 4.0636, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0260857, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.223177, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.139144, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.15024, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.242331, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.122321, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.514892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.150498, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.36348, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0262874, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00630174, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0554057, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0466052, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.0816931, 'Execution Unit/Register Files/Runtime Dynamic': 0.052907, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.123247, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.359889, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.55624, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00102105, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00102105, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000906716, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000360512, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000669488, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.0036183, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00916862, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0448028, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 2.84984, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0365094, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.15217, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 5.20667, 'Instruction Fetch Unit/Runtime Dynamic': 0.24627, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0565014, 'L2/Runtime Dynamic': 0.0126034, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 2.62692, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.671465, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0449633, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0449634, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 2.83925, 'Load Store Unit/Runtime Dynamic': 0.938173, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.110872, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.221744, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0393488, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0401973, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.177193, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.00598583, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.400896, 'Memory Management Unit/Runtime Dynamic': 0.0461831, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 16.4563, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0691504, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.00761996, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0761073, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.152878, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.95235, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0213916, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.21949, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.114165, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.123175, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.198677, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.100286, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.422138, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.123373, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.26614, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0215683, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00516652, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.045424, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0382096, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.0669923, 'Execution Unit/Register Files/Runtime Dynamic': 0.0433761, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.101045, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.295135, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.38552, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000836617, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000836617, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000742957, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000295413, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000548884, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00296508, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00751173, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0367319, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 2.33647, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0297895, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.124758, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 4.66837, 'Instruction Fetch Unit/Runtime Dynamic': 0.201756, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0461345, 'L2/Runtime Dynamic': 0.0100438, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 2.37672, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.550107, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0368687, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0368687, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 2.55082, 'Load Store Unit/Runtime Dynamic': 0.768799, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.090912, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.181824, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.032265, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0329574, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.145273, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.00488501, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.356807, 'Memory Management Unit/Runtime Dynamic': 0.0378424, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 15.4777, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.0567361, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0062478, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0623969, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.125381, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.52934, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 1.456706483031769, 'Runtime Dynamic': 1.456706483031769, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.139242, 'Runtime Dynamic': 0.0763125, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 81.9744, 'Peak Power': 115.087, 'Runtime Dynamic': 22.1909, 'Subthreshold Leakage': 31.5774, 'Subthreshold Leakage with power gating': 13.9484, 'Total Cores/Area': 128.669, 'Total Cores/Gate Leakage': 1.4798, 'Total Cores/Peak Dynamic': 81.8351, 'Total Cores/Runtime Dynamic': 22.1145, 'Total Cores/Subthreshold Leakage': 24.7074, 'Total Cores/Subthreshold Leakage with power gating': 10.2429, 'Total L3s/Area': 61.9075, 'Total L3s/Gate Leakage': 0.0484137, 'Total L3s/Peak Dynamic': 0.139242, 'Total L3s/Runtime Dynamic': 0.0763125, 'Total L3s/Subthreshold Leakage': 6.80085, 'Total L3s/Subthreshold Leakage with power gating': 3.32364, 'Total Leakage': 33.1122, 'Total NoCs/Area': 1.33155, 'Total NoCs/Gate Leakage': 0.00662954, 'Total NoCs/Peak Dynamic': 0.0, 'Total NoCs/Runtime Dynamic': 0.0, 'Total NoCs/Subthreshold Leakage': 0.0691322, 'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}}
__all__ = [ 'phone_regex' ] phone_regex = r'^010[-\s]??\d{3,4}[-\s]??\d{4}$'
__all__ = ['phone_regex'] phone_regex = '^010[-\\s]??\\d{3,4}[-\\s]??\\d{4}$'
def insertion(array): for i in range(1, len(array)): j = i -1 while array[j] > array[j+1] and j >= 0: array[j], array[j+1] = array[j+1], array[j] j-=1 return array print (insertion([7, 8, 5, 4, 9, 2]))
def insertion(array): for i in range(1, len(array)): j = i - 1 while array[j] > array[j + 1] and j >= 0: (array[j], array[j + 1]) = (array[j + 1], array[j]) j -= 1 return array print(insertion([7, 8, 5, 4, 9, 2]))
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2018, Kevin Subileau (@ksubileau) # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) DOCUMENTATION = r''' --- module: win_rds_rap short_description: Manage Resource Authorization Policies (RAP) on a Remote Desktop Gateway server description: - Creates, removes and configures a Remote Desktop resource authorization policy (RD RAP). - A RD RAP allows you to specify the network resources (computers) that users can connect to remotely through a Remote Desktop Gateway server. author: - Kevin Subileau (@ksubileau) options: name: description: - Name of the resource authorization policy. required: yes state: description: - The state of resource authorization policy. - If C(absent) will ensure the policy is removed. - If C(present) will ensure the policy is configured and exists. - If C(enabled) will ensure the policy is configured, exists and enabled. - If C(disabled) will ensure the policy is configured, exists, but disabled. type: str choices: [ absent, disabled, enabled, present ] default: present description: description: - Optional description of the resource authorization policy. type: str user_groups: description: - List of user groups that are associated with this resource authorization policy (RAP). A user must belong to one of these groups to access the RD Gateway server. - Required when a new RAP is created. type: list allowed_ports: description: - List of port numbers through which connections are allowed for this policy. - To allow connections through any port, specify 'any'. type: list computer_group_type: description: - 'The computer group type:' - 'C(rdg_group): RD Gateway-managed group' - 'C(ad_network_resource_group): Active Directory Domain Services network resource group' - 'C(allow_any): Allow users to connect to any network resource.' type: str choices: [ rdg_group, ad_network_resource_group, allow_any ] computer_group: description: - The computer group name that is associated with this resource authorization policy (RAP). - This is required when I(computer_group_type) is C(rdg_group) or C(ad_network_resource_group). type: str requirements: - Windows Server 2008R2 (6.1) or higher. - The Windows Feature "RDS-Gateway" must be enabled. seealso: - module: community.windows.win_rds_cap - module: community.windows.win_rds_rap - module: community.windows.win_rds_settings ''' EXAMPLES = r''' - name: Create a new RDS RAP community.windows.win_rds_rap: name: My RAP description: Allow all users to connect to any resource through ports 3389 and 3390 user_groups: - BUILTIN\users computer_group_type: allow_any allowed_ports: - 3389 - 3390 state: enabled ''' RETURN = r''' '''
documentation = '\n---\nmodule: win_rds_rap\nshort_description: Manage Resource Authorization Policies (RAP) on a Remote Desktop Gateway server\ndescription:\n - Creates, removes and configures a Remote Desktop resource authorization policy (RD RAP).\n - A RD RAP allows you to specify the network resources (computers) that users can connect\n to remotely through a Remote Desktop Gateway server.\nauthor:\n - Kevin Subileau (@ksubileau)\noptions:\n name:\n description:\n - Name of the resource authorization policy.\n required: yes\n state:\n description:\n - The state of resource authorization policy.\n - If C(absent) will ensure the policy is removed.\n - If C(present) will ensure the policy is configured and exists.\n - If C(enabled) will ensure the policy is configured, exists and enabled.\n - If C(disabled) will ensure the policy is configured, exists, but disabled.\n type: str\n choices: [ absent, disabled, enabled, present ]\n default: present\n description:\n description:\n - Optional description of the resource authorization policy.\n type: str\n user_groups:\n description:\n - List of user groups that are associated with this resource authorization policy (RAP).\n A user must belong to one of these groups to access the RD Gateway server.\n - Required when a new RAP is created.\n type: list\n allowed_ports:\n description:\n - List of port numbers through which connections are allowed for this policy.\n - To allow connections through any port, specify \'any\'.\n type: list\n computer_group_type:\n description:\n - \'The computer group type:\'\n - \'C(rdg_group): RD Gateway-managed group\'\n - \'C(ad_network_resource_group): Active Directory Domain Services network resource group\'\n - \'C(allow_any): Allow users to connect to any network resource.\'\n type: str\n choices: [ rdg_group, ad_network_resource_group, allow_any ]\n computer_group:\n description:\n - The computer group name that is associated with this resource authorization policy (RAP).\n - This is required when I(computer_group_type) is C(rdg_group) or C(ad_network_resource_group).\n type: str\nrequirements:\n - Windows Server 2008R2 (6.1) or higher.\n - The Windows Feature "RDS-Gateway" must be enabled.\nseealso:\n- module: community.windows.win_rds_cap\n- module: community.windows.win_rds_rap\n- module: community.windows.win_rds_settings\n' examples = '\n- name: Create a new RDS RAP\n community.windows.win_rds_rap:\n name: My RAP\n description: Allow all users to connect to any resource through ports 3389 and 3390\n user_groups:\n - BUILTIN\\users\n computer_group_type: allow_any\n allowed_ports:\n - 3389\n - 3390\n state: enabled\n' return = '\n'
name = 'causalml' __version__ = '0.11.1' __all__ = ['dataset', 'features', 'feature_selection', 'inference', 'match', 'metrics', 'optimize', 'propensity']
name = 'causalml' __version__ = '0.11.1' __all__ = ['dataset', 'features', 'feature_selection', 'inference', 'match', 'metrics', 'optimize', 'propensity']
# ************************************************************************* # # Author: Pawel Rosikiewicz # # Copyrith: IT IS NOT ALLOWED TO COPY OR TO DISTRIBUTE # # these file without written # # persmission of the Author # # Contact: [email protected] # # # # ************************************************************************* # #!/usr/bin/env python # -*- coding: utf-8 -*- "THIS FILE CONTAINS ONLY ONE VARIABLE, A BASEDIRECTORY, THAT ALLOWS MANAGING FILE DIRECTORIESS TO ALL FILES USED BY PROJECT SOFTWARE AND SCRIPTS" BASEDIR = '/Users/pawel/Desktop/Activities/005__COURSES/000__EPFLext_ADSML/Module 5 __ CAPSTONE PROJECT/skin_cancer_detection'
"""THIS FILE CONTAINS ONLY ONE VARIABLE, A BASEDIRECTORY, THAT ALLOWS MANAGING FILE DIRECTORIESS TO ALL FILES USED BY PROJECT SOFTWARE AND SCRIPTS""" basedir = '/Users/pawel/Desktop/Activities/005__COURSES/000__EPFLext_ADSML/Module 5 __ CAPSTONE PROJECT/skin_cancer_detection'
# # PySNMP MIB module ASANTE-SWITCH-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ASANTE-SWITCH-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:09: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") ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") ModuleIdentity, NotificationType, Unsigned32, ObjectIdentity, MibIdentifier, iso, Integer32, Counter64, Bits, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, enterprises, TimeTicks, Gauge32, Counter32, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "NotificationType", "Unsigned32", "ObjectIdentity", "MibIdentifier", "iso", "Integer32", "Counter64", "Bits", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "enterprises", "TimeTicks", "Gauge32", "Counter32", "NotificationType") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") class MacAddress(OctetString): subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(6, 6) fixedLength = 6 asante = MibIdentifier((1, 3, 6, 1, 4, 1, 298)) products = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1)) snmpAgent = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 1)) agentSw = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 1, 1)) agentFw = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 1, 2)) agentHw = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 1, 3)) agentNetProtocol = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 1, 5)) ipagentProtocol = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 1)) switch = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 5)) eAsntSwitch = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1)) eSWAgent = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1)) eSWAgentSW = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1)) eSWAgentHW = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 2)) eSWAgentFW = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 3)) eSWBasic = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2)) eSWCtrl = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3)) eSWMonitor = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4)) productId = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 2)) concProductId = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 2, 2)) intraswitch = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 2, 2, 11)) intrastack = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 2, 2, 12)) friendlyswitch = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 2, 2, 13)) intraSwitch6216M = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 2, 2, 16)) intraSwitch6224 = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 2, 2, 17)) intraCore8000 = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 2, 2, 22)) intraCore9000 = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 2, 2, 23)) agentRunTimeImageMajorVer = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentRunTimeImageMajorVer.setStatus('mandatory') agentRunTimeImageMinorVer = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentRunTimeImageMinorVer.setStatus('mandatory') agentImageLoadMode = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("localBoot", 2), ("netBoot", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentImageLoadMode.setStatus('mandatory') agentRemoteBootInfo = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("other", 1), ("eepromBootInfo", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentRemoteBootInfo.setStatus('mandatory') agentRemoteBootProtocol = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("bootp-tftp", 2), ("tftp-only", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentRemoteBootProtocol.setStatus('mandatory') agentRemoteBootFile = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentRemoteBootFile.setStatus('mandatory') agentOutBandDialString = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentOutBandDialString.setStatus('mandatory') agentOutBandBaudRate = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("b1200", 2), ("b2400", 3), ("b4800", 4), ("b9600", 5), ("b19200", 6)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentOutBandBaudRate.setStatus('mandatory') agentReset = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("reset", 2), ("not-reset", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentReset.setStatus('mandatory') agentHwReVer = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 3, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentHwReVer.setStatus('mandatory') agentHwVer = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 3, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentHwVer.setStatus('mandatory') agentFwMajorVer = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentFwMajorVer.setStatus('mandatory') agentFwMinorVer = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 2, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentFwMinorVer.setStatus('mandatory') agentNetProtoStkCapMap = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: agentNetProtoStkCapMap.setStatus('mandatory') ipagentIpAddr = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 1, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipagentIpAddr.setStatus('mandatory') ipagentIpNetMask = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipagentIpNetMask.setStatus('mandatory') ipagentDefaultGateway = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipagentDefaultGateway.setStatus('mandatory') ipagentBootServerAddr = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipagentBootServerAddr.setStatus('mandatory') ipagentUnAuthIP = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 1, 5), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipagentUnAuthIP.setStatus('mandatory') ipagentUnAuthComm = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipagentUnAuthComm.setStatus('mandatory') ipagentTrapRcvrTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 2), ) if mibBuilder.loadTexts: ipagentTrapRcvrTable.setStatus('mandatory') ipagentTrapRcvrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 2, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "ipagentTrapRcvrIpAddr")) if mibBuilder.loadTexts: ipagentTrapRcvrEntry.setStatus('mandatory') ipagentTrapRcvrIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 2, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipagentTrapRcvrIpAddr.setStatus('mandatory') ipagentTrapRcvrStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("invalid", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipagentTrapRcvrStatus.setStatus('mandatory') ipagentTrapRcvrComm = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 2, 1, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipagentTrapRcvrComm.setStatus('mandatory') eSWUpDownloadAction = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("off", 2), ("download", 3), ("upload", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWUpDownloadAction.setStatus('mandatory') eSWUpDownloadStatus = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("action-Success", 2), ("action-Failure", 3), ("in-Progress", 4), ("no-Action", 5), ("configError", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWUpDownloadStatus.setStatus('mandatory') eSWRemoteDownloadFile = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("config-File", 2), ("image-File", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWRemoteDownloadFile.setStatus('mandatory') eSWRemoteConfigServer = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWRemoteConfigServer.setStatus('mandatory') eSWRemoteConfigFileName = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWRemoteConfigFileName.setStatus('mandatory') eSWConfigRetryCounter = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 20))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWConfigRetryCounter.setStatus('mandatory') eSWRemoteImageServer = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 7), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWRemoteImageServer.setStatus('mandatory') eSWRemoteImageFileName = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWRemoteImageFileName.setStatus('mandatory') eSWImageRetryCounter = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 20))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWImageRetryCounter.setStatus('mandatory') eSWActiveImageBank = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("bank1", 2), ("bank2", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWActiveImageBank.setStatus('mandatory') eSWRemoteDownloadImageBank = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("bank1", 2), ("bank2", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWRemoteDownloadImageBank.setStatus('mandatory') eSWResetWaitTime = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 86400))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWResetWaitTime.setStatus('mandatory') eSWResetLeftTime = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 13), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWResetLeftTime.setStatus('mandatory') eSWBankImageInfoTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 14), ) if mibBuilder.loadTexts: eSWBankImageInfoTable.setStatus('mandatory') eSWBankImageInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 14, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWBankIndex")) if mibBuilder.loadTexts: eSWBankImageInfoEntry.setStatus('mandatory') eSWBankIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 14, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWBankIndex.setStatus('mandatory') eSWMajorVer = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 14, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWMajorVer.setStatus('mandatory') eSWMinorVer = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 14, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWMinorVer.setStatus('mandatory') eSWDateTime = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 14, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWDateTime.setStatus('mandatory') eSWTelnetSessions = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWTelnetSessions.setStatus('mandatory') eSWTelnetSessionActive = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWTelnetSessionActive.setStatus('mandatory') eSWTelnetTimeOut = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWTelnetTimeOut.setStatus('mandatory') eSWSTP = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("enable", 2), ("disable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWSTP.setStatus('mandatory') eSWUserInterfaceTimeOut = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 60))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWUserInterfaceTimeOut.setStatus('mandatory') eSWBCastMcastThreshold = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 20), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWBCastMcastThreshold.setStatus('mandatory') eSWBCastMcastDuration = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 21), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWBCastMcastDuration.setStatus('mandatory') eSWCfgFileErrStatus = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 22), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWCfgFileErrStatus.setStatus('mandatory') eSWDRAMSize = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWDRAMSize.setStatus('mandatory') eSWFlashRAMSize = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 2, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWFlashRAMSize.setStatus('mandatory') eSWEEPROMSize = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 2, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWEEPROMSize.setStatus('mandatory') eSWType = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("thunderBird", 2), ("intraStack", 3), ("intraSwitch", 4), ("intraCore8000", 5), ("intraCore9000", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWType.setStatus('mandatory') eSWBkpType = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("other", 1), ("no-Bkp", 2), ("intraStack", 3), ("intraSwitch6216M", 4), ("intraSwitch6224", 5), ("intraSwitch6224M", 6), ("intraCore8000", 7), ("intraCore9000", 8)))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWBkpType.setStatus('mandatory') eSWGroupCapacity = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGroupCapacity.setStatus('mandatory') eSWStackLastChange = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWStackLastChange.setStatus('mandatory') eSWGroupInfoTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5), ) if mibBuilder.loadTexts: eSWGroupInfoTable.setStatus('mandatory') eSWGroupInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWGrpIndex")) if mibBuilder.loadTexts: eSWGroupInfoEntry.setStatus('mandatory') eSWGrpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGrpIndex.setStatus('mandatory') eSWGrpID = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGrpID.setStatus('mandatory') eSWGrpState = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("enable", 2), ("disable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWGrpState.setStatus('mandatory') eSWGrpNumofPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGrpNumofPorts.setStatus('mandatory') eSWGrpType = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=NamedValues(("other", 1), ("empty", 2), ("intraSwitch", 3), ("intraStack-Base", 4), ("intraStack-FX8", 5), ("intraStack-TX16", 6), ("enterprise6216M-TX16", 7), ("enterprise6224M-TX24", 8), ("intraCore8000", 9), ("intraCore-RJ45", 10), ("intraCore-RJ21", 11), ("intraCore-GIGA", 12)))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGrpType.setStatus('mandatory') eSWGrpDescrption = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGrpDescrption.setStatus('mandatory') eSWGrpLED = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGrpLED.setStatus('mandatory') eSWGrpFanStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("other", 1), ("no-fan", 2), ("normal", 3), ("fail", 4), ("fan-1-bad", 5), ("fan-2-bad", 6), ("fan-1-2-bad", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGrpFanStatus.setStatus('mandatory') eSWGrpNumofExpPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGrpNumofExpPorts.setStatus('mandatory') eSWGrpLastChange = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 10), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGrpLastChange.setStatus('mandatory') eSWGrpReset = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("noReset", 2), ("reset", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGrpReset.setStatus('mandatory') eSWPortInfoTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6), ) if mibBuilder.loadTexts: eSWPortInfoTable.setStatus('mandatory') eSWPortInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWPortGrpIndex"), (0, "ASANTE-SWITCH-MIB", "eSWPortIndex")) if mibBuilder.loadTexts: eSWPortInfoEntry.setStatus('mandatory') eSWPortGrpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWPortGrpIndex.setStatus('mandatory') eSWPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWPortIndex.setStatus('mandatory') eSWPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("other", 1), ("mii-Empty", 2), ("mii-FL", 3), ("mii-RJ45", 4), ("mii-FX", 5), ("rj45", 6), ("foil", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWPortType.setStatus('mandatory') eSWPortAutoNegAbility = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("with", 2), ("without", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWPortAutoNegAbility.setStatus('mandatory') eSWPortLink = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("up", 2), ("down", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWPortLink.setStatus('mandatory') eSWPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("m10-Mbps", 2), ("m100-Mbps", 3), ("g1-Gbps", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWPortSpeed.setStatus('mandatory') eSWPortDuplex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("half-Duplex", 2), ("full-Duplex", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWPortDuplex.setStatus('mandatory') eSWGpPtInfoTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7), ) if mibBuilder.loadTexts: eSWGpPtInfoTable.setStatus('mandatory') eSWGpPtInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWGpPtInfoIndex")) if mibBuilder.loadTexts: eSWGpPtInfoEntry.setStatus('mandatory') eSWGpPtInfoIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGpPtInfoIndex.setStatus('mandatory') eSWGpPtInfoType = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGpPtInfoType.setStatus('mandatory') eSWGpPtInfoAutoNegAbility = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGpPtInfoAutoNegAbility.setStatus('mandatory') eSWGpPtInfoLink = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGpPtInfoLink.setStatus('mandatory') eSWGpPtInfoSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGpPtInfoSpeed.setStatus('mandatory') eSWGpPtInfoDuplex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGpPtInfoDuplex.setStatus('mandatory') eSWPtMacInfoTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 8), ) if mibBuilder.loadTexts: eSWPtMacInfoTable.setStatus('mandatory') eSWPtMacInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 8, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWPtMacPort"), (0, "ASANTE-SWITCH-MIB", "eSWPtMacMACADDR")) if mibBuilder.loadTexts: eSWPtMacInfoEntry.setStatus('mandatory') eSWPtMacPort = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 8, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWPtMacPort.setStatus('mandatory') eSWPtMacMACADDR = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 8, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWPtMacMACADDR.setStatus('mandatory') eSWVlanInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9)) eSWVlanVersion = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWVlanVersion.setStatus('mandatory') eSWVlanMaxCapacity = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWVlanMaxCapacity.setStatus('mandatory') eSWVlanTypesSupported = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWVlanTypesSupported.setStatus('mandatory') eSWVlanTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 4), ) if mibBuilder.loadTexts: eSWVlanTable.setStatus('mandatory') eSWVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 4, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWVLANIndex")) if mibBuilder.loadTexts: eSWVlanEntry.setStatus('mandatory') eSWVLANIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWVLANIndex.setStatus('mandatory') eSWVlanName = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWVlanName.setStatus('mandatory') eSWVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 4, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWVlanID.setStatus('mandatory') eSWVlanMemberSet = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 4, 1, 4), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWVlanMemberSet.setStatus('mandatory') eSWVlanMgmAccess = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 4, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWVlanMgmAccess.setStatus('mandatory') eSWTrunkBundleCapacity = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWTrunkBundleCapacity.setStatus('mandatory') eSWTrunkBundleTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 11), ) if mibBuilder.loadTexts: eSWTrunkBundleTable.setStatus('mandatory') eSWTrunkBundleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 11, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWTrunkBundleIndex")) if mibBuilder.loadTexts: eSWTrunkBundleEntry.setStatus('mandatory') eSWTrunkBundleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 11, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWTrunkBundleIndex.setStatus('mandatory') eSWTrunkBundlePortA = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 11, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWTrunkBundlePortA.setStatus('mandatory') eSWTrunkBundlePortB = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 11, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWTrunkBundlePortB.setStatus('mandatory') eSWTrunkBundleState = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 11, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("enable", 2), ("disable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWTrunkBundleState.setStatus('mandatory') eSWNetSecurityInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13)) eSWNetworkSecurityVersion = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWNetworkSecurityVersion.setStatus('mandatory') eSWNetworkSecurityMAXLevels = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWNetworkSecurityMAXLevels.setStatus('mandatory') eSWSecurityTypesSupported = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWSecurityTypesSupported.setStatus('mandatory') eSWSecConfigTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 4), ) if mibBuilder.loadTexts: eSWSecConfigTable.setStatus('mandatory') eSWSecConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 4, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWSecPortIndex")) if mibBuilder.loadTexts: eSWSecConfigEntry.setStatus('mandatory') eSWSecPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWSecPortIndex.setStatus('mandatory') eSWSecurityLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("newNodeDetection", 1), ("knownMACAddressForwarding", 2), ("restrictedKnownMACAddressForwarding", 3), ("knownMACAddressForwardingWithIntruderLock", 4), ("normalPort", 5), ("other", 6)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWSecurityLevel.setStatus('mandatory') eSWSecMonitorPort = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWSecMonitorPort.setStatus('mandatory') eSWSecurityTrapEnable = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("other", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWSecurityTrapEnable.setStatus('mandatory') eSWSecIncSetConfigTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 7), ) if mibBuilder.loadTexts: eSWSecIncSetConfigTable.setStatus('mandatory') eSWSecIncSetConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 7, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWIncSetPort"), (0, "ASANTE-SWITCH-MIB", "eSWIncSetMACAddr")) if mibBuilder.loadTexts: eSWSecIncSetConfigEntry.setStatus('mandatory') eSWIncSetPort = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 7, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWIncSetPort.setStatus('mandatory') eSWIncSetMACAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 7, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWIncSetMACAddr.setStatus('mandatory') eSWIncSetMACStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 7, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("valid", 1), ("invalid", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWIncSetMACStatus.setStatus('mandatory') eSWSecIntMACAddrTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 8), ) if mibBuilder.loadTexts: eSWSecIntMACAddrTable.setStatus('mandatory') eSWSecIntMACAddrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 8, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWIntMACAddrPort"), (0, "ASANTE-SWITCH-MIB", "eSWIntMACAddr")) if mibBuilder.loadTexts: eSWSecIntMACAddrEntry.setStatus('mandatory') eSWIntMACAddrPort = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 8, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWIntMACAddrPort.setStatus('mandatory') eSWIntMACAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 8, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWIntMACAddr.setStatus('mandatory') eSWFilteringInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14)) eSWFilteringTypesSupported = MibScalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWFilteringTypesSupported.setStatus('mandatory') eSWFiltMACVLANBasedConfigTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 2), ) if mibBuilder.loadTexts: eSWFiltMACVLANBasedConfigTable.setStatus('mandatory') eSWFiltMACVLANBasedConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 2, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWVLANIndex"), (0, "ASANTE-SWITCH-MIB", "eSWFiltMACAddr")) if mibBuilder.loadTexts: eSWFiltMACVLANBasedConfigEntry.setStatus('mandatory') eSWVIDIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWVIDIndex.setStatus('mandatory') eSWFiltMACAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 2, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWFiltMACAddr.setStatus('mandatory') eSWFiltMACSts = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("valid", 1), ("invalid", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWFiltMACSts.setStatus('mandatory') eSWFiltMACPortBasedConfigTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 3), ) if mibBuilder.loadTexts: eSWFiltMACPortBasedConfigTable.setStatus('mandatory') eSWFiltMACPortBasedConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 3, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWFiltPortIndex"), (0, "ASANTE-SWITCH-MIB", "eSWFiltPMACAddr")) if mibBuilder.loadTexts: eSWFiltMACPortBasedConfigEntry.setStatus('mandatory') eSWFiltPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 3, 1, 1), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWFiltPortIndex.setStatus('mandatory') eSWFiltPMACAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 3, 1, 2), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWFiltPMACAddr.setStatus('mandatory') eSWFiltPMACStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("valid", 1), ("invalid", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWFiltPMACStatus.setStatus('mandatory') eSWFiltProtVLANBasedCFGTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 4), ) if mibBuilder.loadTexts: eSWFiltProtVLANBasedCFGTable.setStatus('mandatory') eSWFiltProtVLANBasedCFGEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 4, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWVLANIndex")) if mibBuilder.loadTexts: eSWFiltProtVLANBasedCFGEntry.setStatus('mandatory') eSWFiltProtocolVID = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 4, 1, 1), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWFiltProtocolVID.setStatus('mandatory') eSWFiltVLANProtocolType = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 4, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWFiltVLANProtocolType.setStatus('mandatory') eSWFiltProtPortBasedCFGTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 5), ) if mibBuilder.loadTexts: eSWFiltProtPortBasedCFGTable.setStatus('mandatory') eSWFiltProtPortBasedCFGEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 5, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWPortIndex")) if mibBuilder.loadTexts: eSWFiltProtPortBasedCFGEntry.setStatus('mandatory') eSWFiltProtPort = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 5, 1, 1), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWFiltProtPort.setStatus('mandatory') eSWFiltProtcolType = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 5, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWFiltProtcolType.setStatus('mandatory') eSWPortCtrlTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1), ) if mibBuilder.loadTexts: eSWPortCtrlTable.setStatus('mandatory') eSWPortCtrlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWGrpPtCtrlIndex"), (0, "ASANTE-SWITCH-MIB", "eSWPortCtrlIndex")) if mibBuilder.loadTexts: eSWPortCtrlEntry.setStatus('mandatory') eSWGrpPtCtrlIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGrpPtCtrlIndex.setStatus('mandatory') eSWPortCtrlIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWPortCtrlIndex.setStatus('mandatory') eSWPortCtrlState = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("enable", 2), ("disable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWPortCtrlState.setStatus('mandatory') eSWPortCtrlBcastFilter = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("enable", 2), ("disable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWPortCtrlBcastFilter.setStatus('mandatory') eSWPortCtrlStNFw = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("enable", 2), ("disable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWPortCtrlStNFw.setStatus('mandatory') eSWPortCtrlSTP = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("enable", 2), ("disable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWPortCtrlSTP.setStatus('mandatory') eSWPortCtrlVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWPortCtrlVlanID.setStatus('mandatory') eSWPortCtrlVlanTagging = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("enable8021Q", 2), ("disable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWPortCtrlVlanTagging.setStatus('mandatory') eSWPortCtrlVlanGroups = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWPortCtrlVlanGroups.setStatus('mandatory') eSWPortCtrlTrunkBundleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWPortCtrlTrunkBundleIndex.setStatus('mandatory') eSWPortCtrlGVRPEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWPortCtrlGVRPEnable.setStatus('mandatory') eSWPortCtrlSecurityLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("newNodeDetection", 1), ("knownMACAddressForwarding", 2), ("restrictedKnownMACAddressForwarding", 3), ("knownMACAddressForwardingWithIntruderLock", 4), ("normalPort", 5), ("other", 6)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWPortCtrlSecurityLevel.setStatus('mandatory') eSWPortProtocolFilter = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 13), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWPortProtocolFilter.setStatus('mandatory') eSWGpPtCtrlTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2), ) if mibBuilder.loadTexts: eSWGpPtCtrlTable.setStatus('mandatory') eSWGpPtCtrlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWGpPtCtrlIndex")) if mibBuilder.loadTexts: eSWGpPtCtrlEntry.setStatus('mandatory') eSWGpPtCtrlIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGpPtCtrlIndex.setStatus('mandatory') eSWGpPtCtrlState = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWGpPtCtrlState.setStatus('mandatory') eSWGpPtCtrlBcastFilter = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWGpPtCtrlBcastFilter.setStatus('mandatory') eSWGpPtCtrlStNFw = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGpPtCtrlStNFw.setStatus('mandatory') eSWGpPtCtrlSTP = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWGpPtCtrlSTP.setStatus('mandatory') eSWGpPtCtrlSecurityLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWGpPtCtrlSecurityLevel.setStatus('mandatory') eSWGpPtProtocolFilter = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWGpPtProtocolFilter.setStatus('mandatory') eSWAutoPortCtrlTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3), ) if mibBuilder.loadTexts: eSWAutoPortCtrlTable.setStatus('mandatory') eSWAutoPortCtrlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWAutoNegGrpIndex"), (0, "ASANTE-SWITCH-MIB", "eSWAutoNegPortIndex")) if mibBuilder.loadTexts: eSWAutoPortCtrlEntry.setStatus('mandatory') eSWAutoNegGrpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWAutoNegGrpIndex.setStatus('mandatory') eSWAutoNegPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWAutoNegPortIndex.setStatus('mandatory') eSWAutoNegAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("enabled", 2), ("disable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWAutoNegAdminState.setStatus('mandatory') eSWAutoNegRemoteAble = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("able", 2), ("not-able", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWAutoNegRemoteAble.setStatus('mandatory') eSWAutoNegAutoConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("configuring", 2), ("complete", 3), ("disable", 4), ("parallel-detect-fail", 5), ("remote-fault", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWAutoNegAutoConfig.setStatus('mandatory') eSWAutoNegLocalAbility = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWAutoNegLocalAbility.setStatus('mandatory') eSWAutoNegAdvertisedAbility = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWAutoNegAdvertisedAbility.setStatus('mandatory') eSWAutoNegReceivedAbility = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWAutoNegReceivedAbility.setStatus('mandatory') eSWAutoNegRestartAutoConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("reStart", 2), ("noRestart", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eSWAutoNegRestartAutoConfig.setStatus('mandatory') eSWMonIPTable = MibTable((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4, 1), ) if mibBuilder.loadTexts: eSWMonIPTable.setStatus('mandatory') eSWMonIPEntry = MibTableRow((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4, 1, 1), ).setIndexNames((0, "ASANTE-SWITCH-MIB", "eSWMonIP")) if mibBuilder.loadTexts: eSWMonIPEntry.setStatus('mandatory') eSWMonIP = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4, 1, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWMonIP.setStatus('mandatory') eSWMonMAC = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4, 1, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWMonMAC.setStatus('mandatory') eSWMonVLANID = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWMonVLANID.setStatus('mandatory') eSWMonGrp = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWMonGrp.setStatus('mandatory') eSWMonPort = MibTableColumn((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eSWMonPort.setStatus('mandatory') eSWFanFail = NotificationType((1, 3, 6, 1, 4, 1, 298) + (0,3)).setObjects(("ASANTE-SWITCH-MIB", "eSWGrpIndex")) eSWExpPortConnectStateChange = NotificationType((1, 3, 6, 1, 4, 1, 298) + (0,4)).setObjects(("ASANTE-SWITCH-MIB", "eSWGrpIndex"), ("ASANTE-SWITCH-MIB", "eSWPortIndex")) eSWIPSpoofing = NotificationType((1, 3, 6, 1, 4, 1, 298) + (0,5)).setObjects(("ASANTE-SWITCH-MIB", "eSWMonIP"), ("ASANTE-SWITCH-MIB", "eSWMonMAC"), ("ASANTE-SWITCH-MIB", "eSWMonPort"), ("ASANTE-SWITCH-MIB", "eSWMonIP"), ("ASANTE-SWITCH-MIB", "eSWMonMAC"), ("ASANTE-SWITCH-MIB", "eSWMonPort")) eSWStationMove = NotificationType((1, 3, 6, 1, 4, 1, 298) + (0,6)).setObjects(("ASANTE-SWITCH-MIB", "eSWMonIP"), ("ASANTE-SWITCH-MIB", "eSWMonMAC"), ("ASANTE-SWITCH-MIB", "eSWMonPort")) eSWNewNodeDetected = NotificationType((1, 3, 6, 1, 4, 1, 298) + (0,7)).setObjects(("ASANTE-SWITCH-MIB", "eSWMonPort"), ("ASANTE-SWITCH-MIB", "eSWMonMAC"), ("ASANTE-SWITCH-MIB", "eSWMonIP")) eSWIntruderDetected = NotificationType((1, 3, 6, 1, 4, 1, 298) + (0,8)).setObjects(("ASANTE-SWITCH-MIB", "eSWMonPort"), ("ASANTE-SWITCH-MIB", "eSWMonMAC"), ("ASANTE-SWITCH-MIB", "eSWMonIP"), ("ASANTE-SWITCH-MIB", "eSWSecurityLevel")) eSWIntruderPortDisable = NotificationType((1, 3, 6, 1, 4, 1, 298) + (0,9)).setObjects(("ASANTE-SWITCH-MIB", "eSWMonPort"), ("ASANTE-SWITCH-MIB", "eSWMonMAC"), ("ASANTE-SWITCH-MIB", "eSWMonIP")) eSWEnhIPSpoofing = NotificationType((1, 3, 6, 1, 4, 1, 298) + (0,10)).setObjects(("ASANTE-SWITCH-MIB", "eSWMonIP"), ("ASANTE-SWITCH-MIB", "eSWMonMAC"), ("ASANTE-SWITCH-MIB", "eSWMonVLANID"), ("ASANTE-SWITCH-MIB", "eSWMonGrp"), ("ASANTE-SWITCH-MIB", "eSWMonPort"), ("ASANTE-SWITCH-MIB", "eSWMonMAC"), ("ASANTE-SWITCH-MIB", "eSWMonVLANID"), ("ASANTE-SWITCH-MIB", "eSWMonGrp"), ("ASANTE-SWITCH-MIB", "eSWMonPort")) eSWEnhStationMove = NotificationType((1, 3, 6, 1, 4, 1, 298) + (0,11)).setObjects(("ASANTE-SWITCH-MIB", "eSWMonIP"), ("ASANTE-SWITCH-MIB", "eSWMonMAC"), ("ASANTE-SWITCH-MIB", "eSWMonVLANID"), ("ASANTE-SWITCH-MIB", "eSWMonGrp"), ("ASANTE-SWITCH-MIB", "eSWMonPort"), ("ASANTE-SWITCH-MIB", "eSWMonGrp"), ("ASANTE-SWITCH-MIB", "eSWMonPort")) eSWEnhNewNodeDetected = NotificationType((1, 3, 6, 1, 4, 1, 298) + (0,12)).setObjects(("ASANTE-SWITCH-MIB", "eSWMonGrp"), ("ASANTE-SWITCH-MIB", "eSWMonPort"), ("ASANTE-SWITCH-MIB", "eSWMonMAC"), ("ASANTE-SWITCH-MIB", "eSWMonVLANID"), ("ASANTE-SWITCH-MIB", "eSWMonIP")) eSWEnhIntruderDetected = NotificationType((1, 3, 6, 1, 4, 1, 298) + (0,13)).setObjects(("ASANTE-SWITCH-MIB", "eSWMonGrp"), ("ASANTE-SWITCH-MIB", "eSWMonPort"), ("ASANTE-SWITCH-MIB", "eSWMonMAC"), ("ASANTE-SWITCH-MIB", "eSWMonVLANID"), ("ASANTE-SWITCH-MIB", "eSWMonIP")) eSWEnhIntruderPortDisable = NotificationType((1, 3, 6, 1, 4, 1, 298) + (0,14)).setObjects(("ASANTE-SWITCH-MIB", "eSWMonGrp"), ("ASANTE-SWITCH-MIB", "eSWMonPort"), ("ASANTE-SWITCH-MIB", "eSWMonMAC"), ("ASANTE-SWITCH-MIB", "eSWMonVLANID"), ("ASANTE-SWITCH-MIB", "eSWMonIP")) mibBuilder.exportSymbols("ASANTE-SWITCH-MIB", eSWUpDownloadStatus=eSWUpDownloadStatus, eSWGroupInfoTable=eSWGroupInfoTable, eSWCtrl=eSWCtrl, agentFwMinorVer=agentFwMinorVer, intraswitch=intraswitch, eSWResetWaitTime=eSWResetWaitTime, eSWFiltProtcolType=eSWFiltProtcolType, snmpAgent=snmpAgent, eSWFiltMACAddr=eSWFiltMACAddr, eSWRemoteConfigServer=eSWRemoteConfigServer, eSWPortInfoTable=eSWPortInfoTable, eSWTrunkBundleEntry=eSWTrunkBundleEntry, eSWMonMAC=eSWMonMAC, eSWGpPtInfoEntry=eSWGpPtInfoEntry, eSWNetSecurityInfo=eSWNetSecurityInfo, eSWGpPtInfoType=eSWGpPtInfoType, eSWTrunkBundleIndex=eSWTrunkBundleIndex, eSWAutoNegLocalAbility=eSWAutoNegLocalAbility, eSWBankImageInfoTable=eSWBankImageInfoTable, eSWSecurityTrapEnable=eSWSecurityTrapEnable, eSWMonIP=eSWMonIP, eSWTelnetSessionActive=eSWTelnetSessionActive, eSWStackLastChange=eSWStackLastChange, eSWFanFail=eSWFanFail, eSWPortCtrlState=eSWPortCtrlState, eSWResetLeftTime=eSWResetLeftTime, eAsntSwitch=eAsntSwitch, ipagentTrapRcvrEntry=ipagentTrapRcvrEntry, friendlyswitch=friendlyswitch, eSWAgentFW=eSWAgentFW, agentFwMajorVer=agentFwMajorVer, eSWBankIndex=eSWBankIndex, eSWTrunkBundlePortB=eSWTrunkBundlePortB, agentRemoteBootInfo=agentRemoteBootInfo, eSWSecurityTypesSupported=eSWSecurityTypesSupported, eSWPtMacMACADDR=eSWPtMacMACADDR, eSWFiltProtocolVID=eSWFiltProtocolVID, eSWFiltVLANProtocolType=eSWFiltVLANProtocolType, eSWRemoteConfigFileName=eSWRemoteConfigFileName, eSWAutoNegAutoConfig=eSWAutoNegAutoConfig, ipagentDefaultGateway=ipagentDefaultGateway, eSWVlanMemberSet=eSWVlanMemberSet, eSWSecPortIndex=eSWSecPortIndex, eSWPortCtrlGVRPEnable=eSWPortCtrlGVRPEnable, eSWAutoNegAdvertisedAbility=eSWAutoNegAdvertisedAbility, agentFw=agentFw, eSWVlanInfo=eSWVlanInfo, eSWFiltPMACAddr=eSWFiltPMACAddr, asante=asante, eSWEEPROMSize=eSWEEPROMSize, eSWUpDownloadAction=eSWUpDownloadAction, eSWTrunkBundlePortA=eSWTrunkBundlePortA, eSWSTP=eSWSTP, agentHwVer=agentHwVer, eSWFiltMACPortBasedConfigTable=eSWFiltMACPortBasedConfigTable, eSWVIDIndex=eSWVIDIndex, intraCore8000=intraCore8000, eSWGpPtCtrlBcastFilter=eSWGpPtCtrlBcastFilter, eSWMonVLANID=eSWMonVLANID, eSWAutoNegRemoteAble=eSWAutoNegRemoteAble, eSWGrpNumofPorts=eSWGrpNumofPorts, eSWGrpLED=eSWGrpLED, agentHw=agentHw, eSWMonPort=eSWMonPort, intraSwitch6216M=intraSwitch6216M, eSWIncSetMACStatus=eSWIncSetMACStatus, eSWIntruderPortDisable=eSWIntruderPortDisable, eSWDRAMSize=eSWDRAMSize, eSWPortCtrlBcastFilter=eSWPortCtrlBcastFilter, ipagentBootServerAddr=ipagentBootServerAddr, eSWPtMacInfoEntry=eSWPtMacInfoEntry, eSWVlanMaxCapacity=eSWVlanMaxCapacity, eSWGpPtCtrlStNFw=eSWGpPtCtrlStNFw, eSWEnhIntruderDetected=eSWEnhIntruderDetected, ipagentUnAuthIP=ipagentUnAuthIP, eSWFiltProtPort=eSWFiltProtPort, eSWPortDuplex=eSWPortDuplex, eSWEnhIntruderPortDisable=eSWEnhIntruderPortDisable, eSWEnhIPSpoofing=eSWEnhIPSpoofing, eSWAgentHW=eSWAgentHW, agentNetProtocol=agentNetProtocol, eSWVlanVersion=eSWVlanVersion, eSWSecMonitorPort=eSWSecMonitorPort, eSWSecIntMACAddrTable=eSWSecIntMACAddrTable, eSWPortCtrlVlanID=eSWPortCtrlVlanID, eSWMonIPTable=eSWMonIPTable, eSWAutoPortCtrlTable=eSWAutoPortCtrlTable, eSWGpPtCtrlState=eSWGpPtCtrlState, agentRemoteBootFile=agentRemoteBootFile, agentOutBandBaudRate=agentOutBandBaudRate, ipagentTrapRcvrStatus=ipagentTrapRcvrStatus, ipagentProtocol=ipagentProtocol, eSWMajorVer=eSWMajorVer, eSWDateTime=eSWDateTime, eSWRemoteDownloadFile=eSWRemoteDownloadFile, eSWGrpType=eSWGrpType, eSWRemoteImageServer=eSWRemoteImageServer, eSWPortAutoNegAbility=eSWPortAutoNegAbility, eSWBkpType=eSWBkpType, eSWFiltMACPortBasedConfigEntry=eSWFiltMACPortBasedConfigEntry, eSWGrpReset=eSWGrpReset, eSWAutoPortCtrlEntry=eSWAutoPortCtrlEntry, eSWFiltMACVLANBasedConfigEntry=eSWFiltMACVLANBasedConfigEntry, eSWPortCtrlEntry=eSWPortCtrlEntry, eSWRemoteImageFileName=eSWRemoteImageFileName, agentNetProtoStkCapMap=agentNetProtoStkCapMap, eSWGpPtCtrlTable=eSWGpPtCtrlTable, eSWRemoteDownloadImageBank=eSWRemoteDownloadImageBank, eSWSecurityLevel=eSWSecurityLevel, eSWFiltPMACStatus=eSWFiltPMACStatus, eSWSecIncSetConfigEntry=eSWSecIncSetConfigEntry, eSWCfgFileErrStatus=eSWCfgFileErrStatus, eSWNetworkSecurityVersion=eSWNetworkSecurityVersion, eSWGrpPtCtrlIndex=eSWGrpPtCtrlIndex, agentRemoteBootProtocol=agentRemoteBootProtocol, eSWBCastMcastDuration=eSWBCastMcastDuration, eSWBasic=eSWBasic, eSWTrunkBundleState=eSWTrunkBundleState, eSWPortCtrlSecurityLevel=eSWPortCtrlSecurityLevel, eSWSecConfigTable=eSWSecConfigTable, eSWPortProtocolFilter=eSWPortProtocolFilter, eSWTelnetSessions=eSWTelnetSessions, eSWIncSetMACAddr=eSWIncSetMACAddr, eSWIntMACAddr=eSWIntMACAddr, eSWGpPtInfoLink=eSWGpPtInfoLink, eSWGrpFanStatus=eSWGrpFanStatus, eSWTrunkBundleCapacity=eSWTrunkBundleCapacity, agentReset=agentReset, ipagentTrapRcvrComm=ipagentTrapRcvrComm, eSWIPSpoofing=eSWIPSpoofing, eSWTelnetTimeOut=eSWTelnetTimeOut, intrastack=intrastack, eSWPtMacPort=eSWPtMacPort, eSWBankImageInfoEntry=eSWBankImageInfoEntry, eSWSecConfigEntry=eSWSecConfigEntry, eSWPortCtrlSTP=eSWPortCtrlSTP, eSWStationMove=eSWStationMove, eSWFilteringTypesSupported=eSWFilteringTypesSupported, eSWFiltMACSts=eSWFiltMACSts, eSWGpPtInfoAutoNegAbility=eSWGpPtInfoAutoNegAbility, agentOutBandDialString=agentOutBandDialString, productId=productId, eSWPortGrpIndex=eSWPortGrpIndex, eSWGpPtInfoDuplex=eSWGpPtInfoDuplex, eSWGpPtInfoTable=eSWGpPtInfoTable, eSWFiltProtPortBasedCFGEntry=eSWFiltProtPortBasedCFGEntry, products=products, ipagentTrapRcvrIpAddr=ipagentTrapRcvrIpAddr, eSWGrpID=eSWGrpID, eSWGpPtCtrlIndex=eSWGpPtCtrlIndex, eSWAutoNegReceivedAbility=eSWAutoNegReceivedAbility, agentRunTimeImageMinorVer=agentRunTimeImageMinorVer, eSWSecIncSetConfigTable=eSWSecIncSetConfigTable, eSWPortCtrlIndex=eSWPortCtrlIndex, eSWVlanEntry=eSWVlanEntry, eSWGpPtProtocolFilter=eSWGpPtProtocolFilter, eSWIntruderDetected=eSWIntruderDetected, ipagentTrapRcvrTable=ipagentTrapRcvrTable, eSWFiltProtVLANBasedCFGEntry=eSWFiltProtVLANBasedCFGEntry, eSWGrpDescrption=eSWGrpDescrption, eSWVlanTable=eSWVlanTable, eSWBCastMcastThreshold=eSWBCastMcastThreshold, eSWAgentSW=eSWAgentSW, eSWFlashRAMSize=eSWFlashRAMSize, eSWNetworkSecurityMAXLevels=eSWNetworkSecurityMAXLevels, intraCore9000=intraCore9000, eSWVlanMgmAccess=eSWVlanMgmAccess, ipagentIpNetMask=ipagentIpNetMask, eSWGpPtCtrlSecurityLevel=eSWGpPtCtrlSecurityLevel, eSWFiltProtVLANBasedCFGTable=eSWFiltProtVLANBasedCFGTable, eSWPortType=eSWPortType, agentRunTimeImageMajorVer=agentRunTimeImageMajorVer, eSWGrpState=eSWGrpState, eSWSecIntMACAddrEntry=eSWSecIntMACAddrEntry, eSWAutoNegPortIndex=eSWAutoNegPortIndex, eSWPortCtrlVlanTagging=eSWPortCtrlVlanTagging, eSWPortCtrlTable=eSWPortCtrlTable, eSWPortCtrlTrunkBundleIndex=eSWPortCtrlTrunkBundleIndex, eSWAutoNegAdminState=eSWAutoNegAdminState, eSWFiltPortIndex=eSWFiltPortIndex, agentHwReVer=agentHwReVer, eSWAutoNegGrpIndex=eSWAutoNegGrpIndex, eSWMonitor=eSWMonitor, eSWMinorVer=eSWMinorVer, eSWGrpLastChange=eSWGrpLastChange, eSWGpPtCtrlSTP=eSWGpPtCtrlSTP, eSWActiveImageBank=eSWActiveImageBank, ipagentUnAuthComm=ipagentUnAuthComm, eSWAutoNegRestartAutoConfig=eSWAutoNegRestartAutoConfig, eSWVlanName=eSWVlanName, eSWGpPtInfoSpeed=eSWGpPtInfoSpeed, eSWPortCtrlVlanGroups=eSWPortCtrlVlanGroups, eSWEnhNewNodeDetected=eSWEnhNewNodeDetected, eSWPortInfoEntry=eSWPortInfoEntry, eSWGrpNumofExpPorts=eSWGrpNumofExpPorts, ipagentIpAddr=ipagentIpAddr, eSWIntMACAddrPort=eSWIntMACAddrPort, eSWMonGrp=eSWMonGrp, eSWVlanTypesSupported=eSWVlanTypesSupported, eSWGroupCapacity=eSWGroupCapacity, eSWImageRetryCounter=eSWImageRetryCounter, eSWVLANIndex=eSWVLANIndex, eSWMonIPEntry=eSWMonIPEntry, eSWPortSpeed=eSWPortSpeed, eSWGrpIndex=eSWGrpIndex, eSWPtMacInfoTable=eSWPtMacInfoTable, eSWEnhStationMove=eSWEnhStationMove, eSWFiltProtPortBasedCFGTable=eSWFiltProtPortBasedCFGTable, agentSw=agentSw, eSWType=eSWType, eSWGpPtInfoIndex=eSWGpPtInfoIndex, eSWExpPortConnectStateChange=eSWExpPortConnectStateChange, eSWConfigRetryCounter=eSWConfigRetryCounter, eSWTrunkBundleTable=eSWTrunkBundleTable, eSWAgent=eSWAgent, eSWPortIndex=eSWPortIndex, eSWFiltMACVLANBasedConfigTable=eSWFiltMACVLANBasedConfigTable, eSWUserInterfaceTimeOut=eSWUserInterfaceTimeOut, eSWNewNodeDetected=eSWNewNodeDetected, eSWGroupInfoEntry=eSWGroupInfoEntry, eSWPortLink=eSWPortLink, eSWVlanID=eSWVlanID, eSWIncSetPort=eSWIncSetPort, agentImageLoadMode=agentImageLoadMode, intraSwitch6224=intraSwitch6224, MacAddress=MacAddress, eSWPortCtrlStNFw=eSWPortCtrlStNFw, eSWFilteringInfo=eSWFilteringInfo, concProductId=concProductId, switch=switch, eSWGpPtCtrlEntry=eSWGpPtCtrlEntry)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_range_constraint, value_size_constraint, single_value_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsUnion') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (module_identity, notification_type, unsigned32, object_identity, mib_identifier, iso, integer32, counter64, bits, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, enterprises, time_ticks, gauge32, counter32, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'ModuleIdentity', 'NotificationType', 'Unsigned32', 'ObjectIdentity', 'MibIdentifier', 'iso', 'Integer32', 'Counter64', 'Bits', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'enterprises', 'TimeTicks', 'Gauge32', 'Counter32', 'NotificationType') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') class Macaddress(OctetString): subtype_spec = OctetString.subtypeSpec + value_size_constraint(6, 6) fixed_length = 6 asante = mib_identifier((1, 3, 6, 1, 4, 1, 298)) products = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1)) snmp_agent = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 1)) agent_sw = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 1, 1)) agent_fw = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 1, 2)) agent_hw = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 1, 3)) agent_net_protocol = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 1, 5)) ipagent_protocol = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 1)) switch = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 5)) e_asnt_switch = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1)) e_sw_agent = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1)) e_sw_agent_sw = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1)) e_sw_agent_hw = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 2)) e_sw_agent_fw = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 3)) e_sw_basic = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2)) e_sw_ctrl = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3)) e_sw_monitor = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4)) product_id = mib_identifier((1, 3, 6, 1, 4, 1, 298, 2)) conc_product_id = mib_identifier((1, 3, 6, 1, 4, 1, 298, 2, 2)) intraswitch = mib_identifier((1, 3, 6, 1, 4, 1, 298, 2, 2, 11)) intrastack = mib_identifier((1, 3, 6, 1, 4, 1, 298, 2, 2, 12)) friendlyswitch = mib_identifier((1, 3, 6, 1, 4, 1, 298, 2, 2, 13)) intra_switch6216_m = mib_identifier((1, 3, 6, 1, 4, 1, 298, 2, 2, 16)) intra_switch6224 = mib_identifier((1, 3, 6, 1, 4, 1, 298, 2, 2, 17)) intra_core8000 = mib_identifier((1, 3, 6, 1, 4, 1, 298, 2, 2, 22)) intra_core9000 = mib_identifier((1, 3, 6, 1, 4, 1, 298, 2, 2, 23)) agent_run_time_image_major_ver = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: agentRunTimeImageMajorVer.setStatus('mandatory') agent_run_time_image_minor_ver = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: agentRunTimeImageMinorVer.setStatus('mandatory') agent_image_load_mode = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('localBoot', 2), ('netBoot', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: agentImageLoadMode.setStatus('mandatory') agent_remote_boot_info = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('other', 1), ('eepromBootInfo', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: agentRemoteBootInfo.setStatus('mandatory') agent_remote_boot_protocol = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('bootp-tftp', 2), ('tftp-only', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: agentRemoteBootProtocol.setStatus('mandatory') agent_remote_boot_file = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite') if mibBuilder.loadTexts: agentRemoteBootFile.setStatus('mandatory') agent_out_band_dial_string = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite') if mibBuilder.loadTexts: agentOutBandDialString.setStatus('mandatory') agent_out_band_baud_rate = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('other', 1), ('b1200', 2), ('b2400', 3), ('b4800', 4), ('b9600', 5), ('b19200', 6)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: agentOutBandBaudRate.setStatus('mandatory') agent_reset = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('reset', 2), ('not-reset', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: agentReset.setStatus('mandatory') agent_hw_re_ver = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 3, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: agentHwReVer.setStatus('mandatory') agent_hw_ver = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 3, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: agentHwVer.setStatus('mandatory') agent_fw_major_ver = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 2, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: agentFwMajorVer.setStatus('mandatory') agent_fw_minor_ver = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 2, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: agentFwMinorVer.setStatus('mandatory') agent_net_proto_stk_cap_map = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readonly') if mibBuilder.loadTexts: agentNetProtoStkCapMap.setStatus('mandatory') ipagent_ip_addr = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 1, 1), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ipagentIpAddr.setStatus('mandatory') ipagent_ip_net_mask = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ipagentIpNetMask.setStatus('mandatory') ipagent_default_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 1, 3), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ipagentDefaultGateway.setStatus('mandatory') ipagent_boot_server_addr = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 1, 4), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ipagentBootServerAddr.setStatus('mandatory') ipagent_un_auth_ip = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 1, 5), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: ipagentUnAuthIP.setStatus('mandatory') ipagent_un_auth_comm = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 1, 6), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ipagentUnAuthComm.setStatus('mandatory') ipagent_trap_rcvr_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 2)) if mibBuilder.loadTexts: ipagentTrapRcvrTable.setStatus('mandatory') ipagent_trap_rcvr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 2, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'ipagentTrapRcvrIpAddr')) if mibBuilder.loadTexts: ipagentTrapRcvrEntry.setStatus('mandatory') ipagent_trap_rcvr_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 2, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: ipagentTrapRcvrIpAddr.setStatus('mandatory') ipagent_trap_rcvr_status = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('invalid', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ipagentTrapRcvrStatus.setStatus('mandatory') ipagent_trap_rcvr_comm = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 1, 5, 2, 1, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ipagentTrapRcvrComm.setStatus('mandatory') e_sw_up_download_action = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('off', 2), ('download', 3), ('upload', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWUpDownloadAction.setStatus('mandatory') e_sw_up_download_status = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('other', 1), ('action-Success', 2), ('action-Failure', 3), ('in-Progress', 4), ('no-Action', 5), ('configError', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWUpDownloadStatus.setStatus('mandatory') e_sw_remote_download_file = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('config-File', 2), ('image-File', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWRemoteDownloadFile.setStatus('mandatory') e_sw_remote_config_server = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 4), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWRemoteConfigServer.setStatus('mandatory') e_sw_remote_config_file_name = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWRemoteConfigFileName.setStatus('mandatory') e_sw_config_retry_counter = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 20))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWConfigRetryCounter.setStatus('mandatory') e_sw_remote_image_server = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 7), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWRemoteImageServer.setStatus('mandatory') e_sw_remote_image_file_name = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWRemoteImageFileName.setStatus('mandatory') e_sw_image_retry_counter = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(1, 20))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWImageRetryCounter.setStatus('mandatory') e_sw_active_image_bank = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('bank1', 2), ('bank2', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWActiveImageBank.setStatus('mandatory') e_sw_remote_download_image_bank = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('bank1', 2), ('bank2', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWRemoteDownloadImageBank.setStatus('mandatory') e_sw_reset_wait_time = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(1, 86400))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWResetWaitTime.setStatus('mandatory') e_sw_reset_left_time = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 13), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWResetLeftTime.setStatus('mandatory') e_sw_bank_image_info_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 14)) if mibBuilder.loadTexts: eSWBankImageInfoTable.setStatus('mandatory') e_sw_bank_image_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 14, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWBankIndex')) if mibBuilder.loadTexts: eSWBankImageInfoEntry.setStatus('mandatory') e_sw_bank_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 14, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWBankIndex.setStatus('mandatory') e_sw_major_ver = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 14, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWMajorVer.setStatus('mandatory') e_sw_minor_ver = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 14, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWMinorVer.setStatus('mandatory') e_sw_date_time = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 14, 1, 4), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWDateTime.setStatus('mandatory') e_sw_telnet_sessions = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(1, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWTelnetSessions.setStatus('mandatory') e_sw_telnet_session_active = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(1, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWTelnetSessionActive.setStatus('mandatory') e_sw_telnet_time_out = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(1, 60))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWTelnetTimeOut.setStatus('mandatory') e_swstp = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('enable', 2), ('disable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWSTP.setStatus('mandatory') e_sw_user_interface_time_out = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 19), integer32().subtype(subtypeSpec=value_range_constraint(0, 60))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWUserInterfaceTimeOut.setStatus('mandatory') e_swb_cast_mcast_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 20), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWBCastMcastThreshold.setStatus('mandatory') e_swb_cast_mcast_duration = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 21), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWBCastMcastDuration.setStatus('mandatory') e_sw_cfg_file_err_status = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 1, 22), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWCfgFileErrStatus.setStatus('mandatory') e_swdram_size = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 2, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWDRAMSize.setStatus('mandatory') e_sw_flash_ram_size = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 2, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWFlashRAMSize.setStatus('mandatory') e_sweeprom_size = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 1, 2, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWEEPROMSize.setStatus('mandatory') e_sw_type = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('other', 1), ('thunderBird', 2), ('intraStack', 3), ('intraSwitch', 4), ('intraCore8000', 5), ('intraCore9000', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWType.setStatus('mandatory') e_sw_bkp_type = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('other', 1), ('no-Bkp', 2), ('intraStack', 3), ('intraSwitch6216M', 4), ('intraSwitch6224', 5), ('intraSwitch6224M', 6), ('intraCore8000', 7), ('intraCore9000', 8)))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWBkpType.setStatus('mandatory') e_sw_group_capacity = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGroupCapacity.setStatus('mandatory') e_sw_stack_last_change = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 4), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWStackLastChange.setStatus('mandatory') e_sw_group_info_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5)) if mibBuilder.loadTexts: eSWGroupInfoTable.setStatus('mandatory') e_sw_group_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWGrpIndex')) if mibBuilder.loadTexts: eSWGroupInfoEntry.setStatus('mandatory') e_sw_grp_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGrpIndex.setStatus('mandatory') e_sw_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGrpID.setStatus('mandatory') e_sw_grp_state = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('enable', 2), ('disable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWGrpState.setStatus('mandatory') e_sw_grp_numof_ports = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGrpNumofPorts.setStatus('mandatory') e_sw_grp_type = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=named_values(('other', 1), ('empty', 2), ('intraSwitch', 3), ('intraStack-Base', 4), ('intraStack-FX8', 5), ('intraStack-TX16', 6), ('enterprise6216M-TX16', 7), ('enterprise6224M-TX24', 8), ('intraCore8000', 9), ('intraCore-RJ45', 10), ('intraCore-RJ21', 11), ('intraCore-GIGA', 12)))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGrpType.setStatus('mandatory') e_sw_grp_descrption = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 6), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGrpDescrption.setStatus('mandatory') e_sw_grp_led = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(128, 128)).setFixedLength(128)).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGrpLED.setStatus('mandatory') e_sw_grp_fan_status = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('other', 1), ('no-fan', 2), ('normal', 3), ('fail', 4), ('fan-1-bad', 5), ('fan-2-bad', 6), ('fan-1-2-bad', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGrpFanStatus.setStatus('mandatory') e_sw_grp_numof_exp_ports = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGrpNumofExpPorts.setStatus('mandatory') e_sw_grp_last_change = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 10), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGrpLastChange.setStatus('mandatory') e_sw_grp_reset = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 5, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('noReset', 2), ('reset', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGrpReset.setStatus('mandatory') e_sw_port_info_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6)) if mibBuilder.loadTexts: eSWPortInfoTable.setStatus('mandatory') e_sw_port_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWPortGrpIndex'), (0, 'ASANTE-SWITCH-MIB', 'eSWPortIndex')) if mibBuilder.loadTexts: eSWPortInfoEntry.setStatus('mandatory') e_sw_port_grp_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWPortGrpIndex.setStatus('mandatory') e_sw_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWPortIndex.setStatus('mandatory') e_sw_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('other', 1), ('mii-Empty', 2), ('mii-FL', 3), ('mii-RJ45', 4), ('mii-FX', 5), ('rj45', 6), ('foil', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWPortType.setStatus('mandatory') e_sw_port_auto_neg_ability = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('with', 2), ('without', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWPortAutoNegAbility.setStatus('mandatory') e_sw_port_link = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('up', 2), ('down', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWPortLink.setStatus('mandatory') e_sw_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('m10-Mbps', 2), ('m100-Mbps', 3), ('g1-Gbps', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWPortSpeed.setStatus('mandatory') e_sw_port_duplex = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 6, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('half-Duplex', 2), ('full-Duplex', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWPortDuplex.setStatus('mandatory') e_sw_gp_pt_info_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7)) if mibBuilder.loadTexts: eSWGpPtInfoTable.setStatus('mandatory') e_sw_gp_pt_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWGpPtInfoIndex')) if mibBuilder.loadTexts: eSWGpPtInfoEntry.setStatus('mandatory') e_sw_gp_pt_info_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGpPtInfoIndex.setStatus('mandatory') e_sw_gp_pt_info_type = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGpPtInfoType.setStatus('mandatory') e_sw_gp_pt_info_auto_neg_ability = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGpPtInfoAutoNegAbility.setStatus('mandatory') e_sw_gp_pt_info_link = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGpPtInfoLink.setStatus('mandatory') e_sw_gp_pt_info_speed = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGpPtInfoSpeed.setStatus('mandatory') e_sw_gp_pt_info_duplex = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 7, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGpPtInfoDuplex.setStatus('mandatory') e_sw_pt_mac_info_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 8)) if mibBuilder.loadTexts: eSWPtMacInfoTable.setStatus('mandatory') e_sw_pt_mac_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 8, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWPtMacPort'), (0, 'ASANTE-SWITCH-MIB', 'eSWPtMacMACADDR')) if mibBuilder.loadTexts: eSWPtMacInfoEntry.setStatus('mandatory') e_sw_pt_mac_port = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 8, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWPtMacPort.setStatus('mandatory') e_sw_pt_mac_macaddr = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 8, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWPtMacMACADDR.setStatus('mandatory') e_sw_vlan_info = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9)) e_sw_vlan_version = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWVlanVersion.setStatus('mandatory') e_sw_vlan_max_capacity = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWVlanMaxCapacity.setStatus('mandatory') e_sw_vlan_types_supported = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWVlanTypesSupported.setStatus('mandatory') e_sw_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 4)) if mibBuilder.loadTexts: eSWVlanTable.setStatus('mandatory') e_sw_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 4, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWVLANIndex')) if mibBuilder.loadTexts: eSWVlanEntry.setStatus('mandatory') e_swvlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWVLANIndex.setStatus('mandatory') e_sw_vlan_name = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 4, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWVlanName.setStatus('mandatory') e_sw_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 4, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWVlanID.setStatus('mandatory') e_sw_vlan_member_set = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 4, 1, 4), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWVlanMemberSet.setStatus('mandatory') e_sw_vlan_mgm_access = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 9, 4, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWVlanMgmAccess.setStatus('mandatory') e_sw_trunk_bundle_capacity = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWTrunkBundleCapacity.setStatus('mandatory') e_sw_trunk_bundle_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 11)) if mibBuilder.loadTexts: eSWTrunkBundleTable.setStatus('mandatory') e_sw_trunk_bundle_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 11, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWTrunkBundleIndex')) if mibBuilder.loadTexts: eSWTrunkBundleEntry.setStatus('mandatory') e_sw_trunk_bundle_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 11, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWTrunkBundleIndex.setStatus('mandatory') e_sw_trunk_bundle_port_a = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 11, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWTrunkBundlePortA.setStatus('mandatory') e_sw_trunk_bundle_port_b = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 11, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWTrunkBundlePortB.setStatus('mandatory') e_sw_trunk_bundle_state = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 11, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('enable', 2), ('disable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWTrunkBundleState.setStatus('mandatory') e_sw_net_security_info = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13)) e_sw_network_security_version = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWNetworkSecurityVersion.setStatus('mandatory') e_sw_network_security_max_levels = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWNetworkSecurityMAXLevels.setStatus('mandatory') e_sw_security_types_supported = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWSecurityTypesSupported.setStatus('mandatory') e_sw_sec_config_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 4)) if mibBuilder.loadTexts: eSWSecConfigTable.setStatus('mandatory') e_sw_sec_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 4, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWSecPortIndex')) if mibBuilder.loadTexts: eSWSecConfigEntry.setStatus('mandatory') e_sw_sec_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWSecPortIndex.setStatus('mandatory') e_sw_security_level = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 4, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('newNodeDetection', 1), ('knownMACAddressForwarding', 2), ('restrictedKnownMACAddressForwarding', 3), ('knownMACAddressForwardingWithIntruderLock', 4), ('normalPort', 5), ('other', 6)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWSecurityLevel.setStatus('mandatory') e_sw_sec_monitor_port = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWSecMonitorPort.setStatus('mandatory') e_sw_security_trap_enable = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('other', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWSecurityTrapEnable.setStatus('mandatory') e_sw_sec_inc_set_config_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 7)) if mibBuilder.loadTexts: eSWSecIncSetConfigTable.setStatus('mandatory') e_sw_sec_inc_set_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 7, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWIncSetPort'), (0, 'ASANTE-SWITCH-MIB', 'eSWIncSetMACAddr')) if mibBuilder.loadTexts: eSWSecIncSetConfigEntry.setStatus('mandatory') e_sw_inc_set_port = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 7, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWIncSetPort.setStatus('mandatory') e_sw_inc_set_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 7, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWIncSetMACAddr.setStatus('mandatory') e_sw_inc_set_mac_status = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 7, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('valid', 1), ('invalid', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWIncSetMACStatus.setStatus('mandatory') e_sw_sec_int_mac_addr_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 8)) if mibBuilder.loadTexts: eSWSecIntMACAddrTable.setStatus('mandatory') e_sw_sec_int_mac_addr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 8, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWIntMACAddrPort'), (0, 'ASANTE-SWITCH-MIB', 'eSWIntMACAddr')) if mibBuilder.loadTexts: eSWSecIntMACAddrEntry.setStatus('mandatory') e_sw_int_mac_addr_port = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 8, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWIntMACAddrPort.setStatus('mandatory') e_sw_int_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 13, 8, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWIntMACAddr.setStatus('mandatory') e_sw_filtering_info = mib_identifier((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14)) e_sw_filtering_types_supported = mib_scalar((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWFilteringTypesSupported.setStatus('mandatory') e_sw_filt_macvlan_based_config_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 2)) if mibBuilder.loadTexts: eSWFiltMACVLANBasedConfigTable.setStatus('mandatory') e_sw_filt_macvlan_based_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 2, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWVLANIndex'), (0, 'ASANTE-SWITCH-MIB', 'eSWFiltMACAddr')) if mibBuilder.loadTexts: eSWFiltMACVLANBasedConfigEntry.setStatus('mandatory') e_swvid_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWVIDIndex.setStatus('mandatory') e_sw_filt_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 2, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWFiltMACAddr.setStatus('mandatory') e_sw_filt_mac_sts = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('valid', 1), ('invalid', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWFiltMACSts.setStatus('mandatory') e_sw_filt_mac_port_based_config_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 3)) if mibBuilder.loadTexts: eSWFiltMACPortBasedConfigTable.setStatus('mandatory') e_sw_filt_mac_port_based_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 3, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWFiltPortIndex'), (0, 'ASANTE-SWITCH-MIB', 'eSWFiltPMACAddr')) if mibBuilder.loadTexts: eSWFiltMACPortBasedConfigEntry.setStatus('mandatory') e_sw_filt_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 3, 1, 1), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWFiltPortIndex.setStatus('mandatory') e_sw_filt_pmac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 3, 1, 2), mac_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWFiltPMACAddr.setStatus('mandatory') e_sw_filt_pmac_status = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('valid', 1), ('invalid', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWFiltPMACStatus.setStatus('mandatory') e_sw_filt_prot_vlan_based_cfg_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 4)) if mibBuilder.loadTexts: eSWFiltProtVLANBasedCFGTable.setStatus('mandatory') e_sw_filt_prot_vlan_based_cfg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 4, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWVLANIndex')) if mibBuilder.loadTexts: eSWFiltProtVLANBasedCFGEntry.setStatus('mandatory') e_sw_filt_protocol_vid = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 4, 1, 1), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWFiltProtocolVID.setStatus('mandatory') e_sw_filt_vlan_protocol_type = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 4, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWFiltVLANProtocolType.setStatus('mandatory') e_sw_filt_prot_port_based_cfg_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 5)) if mibBuilder.loadTexts: eSWFiltProtPortBasedCFGTable.setStatus('mandatory') e_sw_filt_prot_port_based_cfg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 5, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWPortIndex')) if mibBuilder.loadTexts: eSWFiltProtPortBasedCFGEntry.setStatus('mandatory') e_sw_filt_prot_port = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 5, 1, 1), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWFiltProtPort.setStatus('mandatory') e_sw_filt_protcol_type = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 2, 14, 5, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWFiltProtcolType.setStatus('mandatory') e_sw_port_ctrl_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1)) if mibBuilder.loadTexts: eSWPortCtrlTable.setStatus('mandatory') e_sw_port_ctrl_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWGrpPtCtrlIndex'), (0, 'ASANTE-SWITCH-MIB', 'eSWPortCtrlIndex')) if mibBuilder.loadTexts: eSWPortCtrlEntry.setStatus('mandatory') e_sw_grp_pt_ctrl_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGrpPtCtrlIndex.setStatus('mandatory') e_sw_port_ctrl_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWPortCtrlIndex.setStatus('mandatory') e_sw_port_ctrl_state = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('enable', 2), ('disable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWPortCtrlState.setStatus('mandatory') e_sw_port_ctrl_bcast_filter = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('enable', 2), ('disable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWPortCtrlBcastFilter.setStatus('mandatory') e_sw_port_ctrl_st_n_fw = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('enable', 2), ('disable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWPortCtrlStNFw.setStatus('mandatory') e_sw_port_ctrl_stp = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('enable', 2), ('disable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWPortCtrlSTP.setStatus('mandatory') e_sw_port_ctrl_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWPortCtrlVlanID.setStatus('mandatory') e_sw_port_ctrl_vlan_tagging = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('enable8021Q', 2), ('disable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWPortCtrlVlanTagging.setStatus('mandatory') e_sw_port_ctrl_vlan_groups = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 9), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWPortCtrlVlanGroups.setStatus('mandatory') e_sw_port_ctrl_trunk_bundle_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWPortCtrlTrunkBundleIndex.setStatus('mandatory') e_sw_port_ctrl_gvrp_enable = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWPortCtrlGVRPEnable.setStatus('mandatory') e_sw_port_ctrl_security_level = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('newNodeDetection', 1), ('knownMACAddressForwarding', 2), ('restrictedKnownMACAddressForwarding', 3), ('knownMACAddressForwardingWithIntruderLock', 4), ('normalPort', 5), ('other', 6)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWPortCtrlSecurityLevel.setStatus('mandatory') e_sw_port_protocol_filter = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 1, 1, 13), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWPortProtocolFilter.setStatus('mandatory') e_sw_gp_pt_ctrl_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2)) if mibBuilder.loadTexts: eSWGpPtCtrlTable.setStatus('mandatory') e_sw_gp_pt_ctrl_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWGpPtCtrlIndex')) if mibBuilder.loadTexts: eSWGpPtCtrlEntry.setStatus('mandatory') e_sw_gp_pt_ctrl_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGpPtCtrlIndex.setStatus('mandatory') e_sw_gp_pt_ctrl_state = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWGpPtCtrlState.setStatus('mandatory') e_sw_gp_pt_ctrl_bcast_filter = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWGpPtCtrlBcastFilter.setStatus('mandatory') e_sw_gp_pt_ctrl_st_n_fw = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGpPtCtrlStNFw.setStatus('mandatory') e_sw_gp_pt_ctrl_stp = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWGpPtCtrlSTP.setStatus('mandatory') e_sw_gp_pt_ctrl_security_level = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWGpPtCtrlSecurityLevel.setStatus('mandatory') e_sw_gp_pt_protocol_filter = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 2, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWGpPtProtocolFilter.setStatus('mandatory') e_sw_auto_port_ctrl_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3)) if mibBuilder.loadTexts: eSWAutoPortCtrlTable.setStatus('mandatory') e_sw_auto_port_ctrl_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWAutoNegGrpIndex'), (0, 'ASANTE-SWITCH-MIB', 'eSWAutoNegPortIndex')) if mibBuilder.loadTexts: eSWAutoPortCtrlEntry.setStatus('mandatory') e_sw_auto_neg_grp_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWAutoNegGrpIndex.setStatus('mandatory') e_sw_auto_neg_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWAutoNegPortIndex.setStatus('mandatory') e_sw_auto_neg_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('enabled', 2), ('disable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWAutoNegAdminState.setStatus('mandatory') e_sw_auto_neg_remote_able = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('able', 2), ('not-able', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWAutoNegRemoteAble.setStatus('mandatory') e_sw_auto_neg_auto_config = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('other', 1), ('configuring', 2), ('complete', 3), ('disable', 4), ('parallel-detect-fail', 5), ('remote-fault', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWAutoNegAutoConfig.setStatus('mandatory') e_sw_auto_neg_local_ability = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWAutoNegLocalAbility.setStatus('mandatory') e_sw_auto_neg_advertised_ability = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWAutoNegAdvertisedAbility.setStatus('mandatory') e_sw_auto_neg_received_ability = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 8), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWAutoNegReceivedAbility.setStatus('mandatory') e_sw_auto_neg_restart_auto_config = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 3, 3, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('reStart', 2), ('noRestart', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eSWAutoNegRestartAutoConfig.setStatus('mandatory') e_sw_mon_ip_table = mib_table((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4, 1)) if mibBuilder.loadTexts: eSWMonIPTable.setStatus('mandatory') e_sw_mon_ip_entry = mib_table_row((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4, 1, 1)).setIndexNames((0, 'ASANTE-SWITCH-MIB', 'eSWMonIP')) if mibBuilder.loadTexts: eSWMonIPEntry.setStatus('mandatory') e_sw_mon_ip = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4, 1, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWMonIP.setStatus('mandatory') e_sw_mon_mac = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4, 1, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWMonMAC.setStatus('mandatory') e_sw_mon_vlanid = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWMonVLANID.setStatus('mandatory') e_sw_mon_grp = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4, 1, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWMonGrp.setStatus('mandatory') e_sw_mon_port = mib_table_column((1, 3, 6, 1, 4, 1, 298, 1, 5, 1, 4, 1, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eSWMonPort.setStatus('mandatory') e_sw_fan_fail = notification_type((1, 3, 6, 1, 4, 1, 298) + (0, 3)).setObjects(('ASANTE-SWITCH-MIB', 'eSWGrpIndex')) e_sw_exp_port_connect_state_change = notification_type((1, 3, 6, 1, 4, 1, 298) + (0, 4)).setObjects(('ASANTE-SWITCH-MIB', 'eSWGrpIndex'), ('ASANTE-SWITCH-MIB', 'eSWPortIndex')) e_swip_spoofing = notification_type((1, 3, 6, 1, 4, 1, 298) + (0, 5)).setObjects(('ASANTE-SWITCH-MIB', 'eSWMonIP'), ('ASANTE-SWITCH-MIB', 'eSWMonMAC'), ('ASANTE-SWITCH-MIB', 'eSWMonPort'), ('ASANTE-SWITCH-MIB', 'eSWMonIP'), ('ASANTE-SWITCH-MIB', 'eSWMonMAC'), ('ASANTE-SWITCH-MIB', 'eSWMonPort')) e_sw_station_move = notification_type((1, 3, 6, 1, 4, 1, 298) + (0, 6)).setObjects(('ASANTE-SWITCH-MIB', 'eSWMonIP'), ('ASANTE-SWITCH-MIB', 'eSWMonMAC'), ('ASANTE-SWITCH-MIB', 'eSWMonPort')) e_sw_new_node_detected = notification_type((1, 3, 6, 1, 4, 1, 298) + (0, 7)).setObjects(('ASANTE-SWITCH-MIB', 'eSWMonPort'), ('ASANTE-SWITCH-MIB', 'eSWMonMAC'), ('ASANTE-SWITCH-MIB', 'eSWMonIP')) e_sw_intruder_detected = notification_type((1, 3, 6, 1, 4, 1, 298) + (0, 8)).setObjects(('ASANTE-SWITCH-MIB', 'eSWMonPort'), ('ASANTE-SWITCH-MIB', 'eSWMonMAC'), ('ASANTE-SWITCH-MIB', 'eSWMonIP'), ('ASANTE-SWITCH-MIB', 'eSWSecurityLevel')) e_sw_intruder_port_disable = notification_type((1, 3, 6, 1, 4, 1, 298) + (0, 9)).setObjects(('ASANTE-SWITCH-MIB', 'eSWMonPort'), ('ASANTE-SWITCH-MIB', 'eSWMonMAC'), ('ASANTE-SWITCH-MIB', 'eSWMonIP')) e_sw_enh_ip_spoofing = notification_type((1, 3, 6, 1, 4, 1, 298) + (0, 10)).setObjects(('ASANTE-SWITCH-MIB', 'eSWMonIP'), ('ASANTE-SWITCH-MIB', 'eSWMonMAC'), ('ASANTE-SWITCH-MIB', 'eSWMonVLANID'), ('ASANTE-SWITCH-MIB', 'eSWMonGrp'), ('ASANTE-SWITCH-MIB', 'eSWMonPort'), ('ASANTE-SWITCH-MIB', 'eSWMonMAC'), ('ASANTE-SWITCH-MIB', 'eSWMonVLANID'), ('ASANTE-SWITCH-MIB', 'eSWMonGrp'), ('ASANTE-SWITCH-MIB', 'eSWMonPort')) e_sw_enh_station_move = notification_type((1, 3, 6, 1, 4, 1, 298) + (0, 11)).setObjects(('ASANTE-SWITCH-MIB', 'eSWMonIP'), ('ASANTE-SWITCH-MIB', 'eSWMonMAC'), ('ASANTE-SWITCH-MIB', 'eSWMonVLANID'), ('ASANTE-SWITCH-MIB', 'eSWMonGrp'), ('ASANTE-SWITCH-MIB', 'eSWMonPort'), ('ASANTE-SWITCH-MIB', 'eSWMonGrp'), ('ASANTE-SWITCH-MIB', 'eSWMonPort')) e_sw_enh_new_node_detected = notification_type((1, 3, 6, 1, 4, 1, 298) + (0, 12)).setObjects(('ASANTE-SWITCH-MIB', 'eSWMonGrp'), ('ASANTE-SWITCH-MIB', 'eSWMonPort'), ('ASANTE-SWITCH-MIB', 'eSWMonMAC'), ('ASANTE-SWITCH-MIB', 'eSWMonVLANID'), ('ASANTE-SWITCH-MIB', 'eSWMonIP')) e_sw_enh_intruder_detected = notification_type((1, 3, 6, 1, 4, 1, 298) + (0, 13)).setObjects(('ASANTE-SWITCH-MIB', 'eSWMonGrp'), ('ASANTE-SWITCH-MIB', 'eSWMonPort'), ('ASANTE-SWITCH-MIB', 'eSWMonMAC'), ('ASANTE-SWITCH-MIB', 'eSWMonVLANID'), ('ASANTE-SWITCH-MIB', 'eSWMonIP')) e_sw_enh_intruder_port_disable = notification_type((1, 3, 6, 1, 4, 1, 298) + (0, 14)).setObjects(('ASANTE-SWITCH-MIB', 'eSWMonGrp'), ('ASANTE-SWITCH-MIB', 'eSWMonPort'), ('ASANTE-SWITCH-MIB', 'eSWMonMAC'), ('ASANTE-SWITCH-MIB', 'eSWMonVLANID'), ('ASANTE-SWITCH-MIB', 'eSWMonIP')) mibBuilder.exportSymbols('ASANTE-SWITCH-MIB', eSWUpDownloadStatus=eSWUpDownloadStatus, eSWGroupInfoTable=eSWGroupInfoTable, eSWCtrl=eSWCtrl, agentFwMinorVer=agentFwMinorVer, intraswitch=intraswitch, eSWResetWaitTime=eSWResetWaitTime, eSWFiltProtcolType=eSWFiltProtcolType, snmpAgent=snmpAgent, eSWFiltMACAddr=eSWFiltMACAddr, eSWRemoteConfigServer=eSWRemoteConfigServer, eSWPortInfoTable=eSWPortInfoTable, eSWTrunkBundleEntry=eSWTrunkBundleEntry, eSWMonMAC=eSWMonMAC, eSWGpPtInfoEntry=eSWGpPtInfoEntry, eSWNetSecurityInfo=eSWNetSecurityInfo, eSWGpPtInfoType=eSWGpPtInfoType, eSWTrunkBundleIndex=eSWTrunkBundleIndex, eSWAutoNegLocalAbility=eSWAutoNegLocalAbility, eSWBankImageInfoTable=eSWBankImageInfoTable, eSWSecurityTrapEnable=eSWSecurityTrapEnable, eSWMonIP=eSWMonIP, eSWTelnetSessionActive=eSWTelnetSessionActive, eSWStackLastChange=eSWStackLastChange, eSWFanFail=eSWFanFail, eSWPortCtrlState=eSWPortCtrlState, eSWResetLeftTime=eSWResetLeftTime, eAsntSwitch=eAsntSwitch, ipagentTrapRcvrEntry=ipagentTrapRcvrEntry, friendlyswitch=friendlyswitch, eSWAgentFW=eSWAgentFW, agentFwMajorVer=agentFwMajorVer, eSWBankIndex=eSWBankIndex, eSWTrunkBundlePortB=eSWTrunkBundlePortB, agentRemoteBootInfo=agentRemoteBootInfo, eSWSecurityTypesSupported=eSWSecurityTypesSupported, eSWPtMacMACADDR=eSWPtMacMACADDR, eSWFiltProtocolVID=eSWFiltProtocolVID, eSWFiltVLANProtocolType=eSWFiltVLANProtocolType, eSWRemoteConfigFileName=eSWRemoteConfigFileName, eSWAutoNegAutoConfig=eSWAutoNegAutoConfig, ipagentDefaultGateway=ipagentDefaultGateway, eSWVlanMemberSet=eSWVlanMemberSet, eSWSecPortIndex=eSWSecPortIndex, eSWPortCtrlGVRPEnable=eSWPortCtrlGVRPEnable, eSWAutoNegAdvertisedAbility=eSWAutoNegAdvertisedAbility, agentFw=agentFw, eSWVlanInfo=eSWVlanInfo, eSWFiltPMACAddr=eSWFiltPMACAddr, asante=asante, eSWEEPROMSize=eSWEEPROMSize, eSWUpDownloadAction=eSWUpDownloadAction, eSWTrunkBundlePortA=eSWTrunkBundlePortA, eSWSTP=eSWSTP, agentHwVer=agentHwVer, eSWFiltMACPortBasedConfigTable=eSWFiltMACPortBasedConfigTable, eSWVIDIndex=eSWVIDIndex, intraCore8000=intraCore8000, eSWGpPtCtrlBcastFilter=eSWGpPtCtrlBcastFilter, eSWMonVLANID=eSWMonVLANID, eSWAutoNegRemoteAble=eSWAutoNegRemoteAble, eSWGrpNumofPorts=eSWGrpNumofPorts, eSWGrpLED=eSWGrpLED, agentHw=agentHw, eSWMonPort=eSWMonPort, intraSwitch6216M=intraSwitch6216M, eSWIncSetMACStatus=eSWIncSetMACStatus, eSWIntruderPortDisable=eSWIntruderPortDisable, eSWDRAMSize=eSWDRAMSize, eSWPortCtrlBcastFilter=eSWPortCtrlBcastFilter, ipagentBootServerAddr=ipagentBootServerAddr, eSWPtMacInfoEntry=eSWPtMacInfoEntry, eSWVlanMaxCapacity=eSWVlanMaxCapacity, eSWGpPtCtrlStNFw=eSWGpPtCtrlStNFw, eSWEnhIntruderDetected=eSWEnhIntruderDetected, ipagentUnAuthIP=ipagentUnAuthIP, eSWFiltProtPort=eSWFiltProtPort, eSWPortDuplex=eSWPortDuplex, eSWEnhIntruderPortDisable=eSWEnhIntruderPortDisable, eSWEnhIPSpoofing=eSWEnhIPSpoofing, eSWAgentHW=eSWAgentHW, agentNetProtocol=agentNetProtocol, eSWVlanVersion=eSWVlanVersion, eSWSecMonitorPort=eSWSecMonitorPort, eSWSecIntMACAddrTable=eSWSecIntMACAddrTable, eSWPortCtrlVlanID=eSWPortCtrlVlanID, eSWMonIPTable=eSWMonIPTable, eSWAutoPortCtrlTable=eSWAutoPortCtrlTable, eSWGpPtCtrlState=eSWGpPtCtrlState, agentRemoteBootFile=agentRemoteBootFile, agentOutBandBaudRate=agentOutBandBaudRate, ipagentTrapRcvrStatus=ipagentTrapRcvrStatus, ipagentProtocol=ipagentProtocol, eSWMajorVer=eSWMajorVer, eSWDateTime=eSWDateTime, eSWRemoteDownloadFile=eSWRemoteDownloadFile, eSWGrpType=eSWGrpType, eSWRemoteImageServer=eSWRemoteImageServer, eSWPortAutoNegAbility=eSWPortAutoNegAbility, eSWBkpType=eSWBkpType, eSWFiltMACPortBasedConfigEntry=eSWFiltMACPortBasedConfigEntry, eSWGrpReset=eSWGrpReset, eSWAutoPortCtrlEntry=eSWAutoPortCtrlEntry, eSWFiltMACVLANBasedConfigEntry=eSWFiltMACVLANBasedConfigEntry, eSWPortCtrlEntry=eSWPortCtrlEntry, eSWRemoteImageFileName=eSWRemoteImageFileName, agentNetProtoStkCapMap=agentNetProtoStkCapMap, eSWGpPtCtrlTable=eSWGpPtCtrlTable, eSWRemoteDownloadImageBank=eSWRemoteDownloadImageBank, eSWSecurityLevel=eSWSecurityLevel, eSWFiltPMACStatus=eSWFiltPMACStatus, eSWSecIncSetConfigEntry=eSWSecIncSetConfigEntry, eSWCfgFileErrStatus=eSWCfgFileErrStatus, eSWNetworkSecurityVersion=eSWNetworkSecurityVersion, eSWGrpPtCtrlIndex=eSWGrpPtCtrlIndex, agentRemoteBootProtocol=agentRemoteBootProtocol, eSWBCastMcastDuration=eSWBCastMcastDuration, eSWBasic=eSWBasic, eSWTrunkBundleState=eSWTrunkBundleState, eSWPortCtrlSecurityLevel=eSWPortCtrlSecurityLevel, eSWSecConfigTable=eSWSecConfigTable, eSWPortProtocolFilter=eSWPortProtocolFilter, eSWTelnetSessions=eSWTelnetSessions, eSWIncSetMACAddr=eSWIncSetMACAddr, eSWIntMACAddr=eSWIntMACAddr, eSWGpPtInfoLink=eSWGpPtInfoLink, eSWGrpFanStatus=eSWGrpFanStatus, eSWTrunkBundleCapacity=eSWTrunkBundleCapacity, agentReset=agentReset, ipagentTrapRcvrComm=ipagentTrapRcvrComm, eSWIPSpoofing=eSWIPSpoofing, eSWTelnetTimeOut=eSWTelnetTimeOut, intrastack=intrastack, eSWPtMacPort=eSWPtMacPort, eSWBankImageInfoEntry=eSWBankImageInfoEntry, eSWSecConfigEntry=eSWSecConfigEntry, eSWPortCtrlSTP=eSWPortCtrlSTP, eSWStationMove=eSWStationMove, eSWFilteringTypesSupported=eSWFilteringTypesSupported, eSWFiltMACSts=eSWFiltMACSts, eSWGpPtInfoAutoNegAbility=eSWGpPtInfoAutoNegAbility, agentOutBandDialString=agentOutBandDialString, productId=productId, eSWPortGrpIndex=eSWPortGrpIndex, eSWGpPtInfoDuplex=eSWGpPtInfoDuplex, eSWGpPtInfoTable=eSWGpPtInfoTable, eSWFiltProtPortBasedCFGEntry=eSWFiltProtPortBasedCFGEntry, products=products, ipagentTrapRcvrIpAddr=ipagentTrapRcvrIpAddr, eSWGrpID=eSWGrpID, eSWGpPtCtrlIndex=eSWGpPtCtrlIndex, eSWAutoNegReceivedAbility=eSWAutoNegReceivedAbility, agentRunTimeImageMinorVer=agentRunTimeImageMinorVer, eSWSecIncSetConfigTable=eSWSecIncSetConfigTable, eSWPortCtrlIndex=eSWPortCtrlIndex, eSWVlanEntry=eSWVlanEntry, eSWGpPtProtocolFilter=eSWGpPtProtocolFilter, eSWIntruderDetected=eSWIntruderDetected, ipagentTrapRcvrTable=ipagentTrapRcvrTable, eSWFiltProtVLANBasedCFGEntry=eSWFiltProtVLANBasedCFGEntry, eSWGrpDescrption=eSWGrpDescrption, eSWVlanTable=eSWVlanTable, eSWBCastMcastThreshold=eSWBCastMcastThreshold, eSWAgentSW=eSWAgentSW, eSWFlashRAMSize=eSWFlashRAMSize, eSWNetworkSecurityMAXLevels=eSWNetworkSecurityMAXLevels, intraCore9000=intraCore9000, eSWVlanMgmAccess=eSWVlanMgmAccess, ipagentIpNetMask=ipagentIpNetMask, eSWGpPtCtrlSecurityLevel=eSWGpPtCtrlSecurityLevel, eSWFiltProtVLANBasedCFGTable=eSWFiltProtVLANBasedCFGTable, eSWPortType=eSWPortType, agentRunTimeImageMajorVer=agentRunTimeImageMajorVer, eSWGrpState=eSWGrpState, eSWSecIntMACAddrEntry=eSWSecIntMACAddrEntry, eSWAutoNegPortIndex=eSWAutoNegPortIndex, eSWPortCtrlVlanTagging=eSWPortCtrlVlanTagging, eSWPortCtrlTable=eSWPortCtrlTable, eSWPortCtrlTrunkBundleIndex=eSWPortCtrlTrunkBundleIndex, eSWAutoNegAdminState=eSWAutoNegAdminState, eSWFiltPortIndex=eSWFiltPortIndex, agentHwReVer=agentHwReVer, eSWAutoNegGrpIndex=eSWAutoNegGrpIndex, eSWMonitor=eSWMonitor, eSWMinorVer=eSWMinorVer, eSWGrpLastChange=eSWGrpLastChange, eSWGpPtCtrlSTP=eSWGpPtCtrlSTP, eSWActiveImageBank=eSWActiveImageBank, ipagentUnAuthComm=ipagentUnAuthComm, eSWAutoNegRestartAutoConfig=eSWAutoNegRestartAutoConfig, eSWVlanName=eSWVlanName, eSWGpPtInfoSpeed=eSWGpPtInfoSpeed, eSWPortCtrlVlanGroups=eSWPortCtrlVlanGroups, eSWEnhNewNodeDetected=eSWEnhNewNodeDetected, eSWPortInfoEntry=eSWPortInfoEntry, eSWGrpNumofExpPorts=eSWGrpNumofExpPorts, ipagentIpAddr=ipagentIpAddr, eSWIntMACAddrPort=eSWIntMACAddrPort, eSWMonGrp=eSWMonGrp, eSWVlanTypesSupported=eSWVlanTypesSupported, eSWGroupCapacity=eSWGroupCapacity, eSWImageRetryCounter=eSWImageRetryCounter, eSWVLANIndex=eSWVLANIndex, eSWMonIPEntry=eSWMonIPEntry, eSWPortSpeed=eSWPortSpeed, eSWGrpIndex=eSWGrpIndex, eSWPtMacInfoTable=eSWPtMacInfoTable, eSWEnhStationMove=eSWEnhStationMove, eSWFiltProtPortBasedCFGTable=eSWFiltProtPortBasedCFGTable, agentSw=agentSw, eSWType=eSWType, eSWGpPtInfoIndex=eSWGpPtInfoIndex, eSWExpPortConnectStateChange=eSWExpPortConnectStateChange, eSWConfigRetryCounter=eSWConfigRetryCounter, eSWTrunkBundleTable=eSWTrunkBundleTable, eSWAgent=eSWAgent, eSWPortIndex=eSWPortIndex, eSWFiltMACVLANBasedConfigTable=eSWFiltMACVLANBasedConfigTable, eSWUserInterfaceTimeOut=eSWUserInterfaceTimeOut, eSWNewNodeDetected=eSWNewNodeDetected, eSWGroupInfoEntry=eSWGroupInfoEntry, eSWPortLink=eSWPortLink, eSWVlanID=eSWVlanID, eSWIncSetPort=eSWIncSetPort, agentImageLoadMode=agentImageLoadMode, intraSwitch6224=intraSwitch6224, MacAddress=MacAddress, eSWPortCtrlStNFw=eSWPortCtrlStNFw, eSWFilteringInfo=eSWFilteringInfo, concProductId=concProductId, switch=switch, eSWGpPtCtrlEntry=eSWGpPtCtrlEntry)
# Okta codility challenge def solution(A, Y): # write your code in Python 3.6 clientTimestamps = {} clients = [] resultMap = {} result = [] for cur in A: client = cur.split(' ')[0] timestamp = cur.split(' ')[1] if client not in clientTimestamps: clients.append(client) clientTimestamps[client] = list([timestamp]) else: clientTimestamps[client].append(timestamp) eachWindowTotals = {} for client in clients: eachWindowTotals[client] = list() curWindow = int(clientTimestamps[client][0]) // 60 curCount, totalCount = 0, 0 index = 0 for curTimestamp in clientTimestamps[client]: if int(curTimestamp) // 60 == curWindow: if curCount < Y: curCount += 1 else: index = setWindowRequestTotal(index, curWindow, eachWindowTotals, client, curCount, curTimestamp) curWindow = int(curTimestamp) // 60 totalCount += curCount curCount = 1 index = setWindowRequestTotal(index, curWindow, eachWindowTotals, client, curCount, curTimestamp) totalCount += curCount resultMap[client] = totalCount index = setWindowRequestTotal(index, curWindow, eachWindowTotals, client, curCount, curTimestamp) # print(eachWindowTotals) # print(index) for i in range(index): # index here is total no of windows or minutes in input prev5WindowTotal = 0 for j in range(i, i - 5, -1): if j < 0: break for client in eachWindowTotals.keys(): if len(eachWindowTotals[client]) - 1 < j: continue prev5WindowTotal += eachWindowTotals[client][j] if prev5WindowTotal >= 10: for client in eachWindowTotals.keys(): clientTotal = 0 for j in range(i, i - 5, -1): if j < 0: break if len(eachWindowTotals[client]) - 1 < j: continue clientTotal += eachWindowTotals[client][j] if clientTotal / prev5WindowTotal > 0.5: try: eachWindowTotals[client][i + 1] = 0 except: pass try: eachWindowTotals[client][i + 2] = 0 except: pass for client in eachWindowTotals.keys(): newTotal = 0 for cur in eachWindowTotals[client]: newTotal += cur resultMap[client] = newTotal for curClient in resultMap.keys(): result.append(curClient + " " + str(resultMap[curClient])) return result def setWindowRequestTotal(index, curWindow, eachWindowTotals, client, curCount, curTimestamp): if index == curWindow: eachWindowTotals[client].append(curCount) index += 1 elif index != curWindow and index != int(curTimestamp) // 60: for i in range(index, int(curTimestamp) // 60): eachWindowTotals[client].append(0) index += 1 elif index == int(curTimestamp) // 60: pass return index
def solution(A, Y): client_timestamps = {} clients = [] result_map = {} result = [] for cur in A: client = cur.split(' ')[0] timestamp = cur.split(' ')[1] if client not in clientTimestamps: clients.append(client) clientTimestamps[client] = list([timestamp]) else: clientTimestamps[client].append(timestamp) each_window_totals = {} for client in clients: eachWindowTotals[client] = list() cur_window = int(clientTimestamps[client][0]) // 60 (cur_count, total_count) = (0, 0) index = 0 for cur_timestamp in clientTimestamps[client]: if int(curTimestamp) // 60 == curWindow: if curCount < Y: cur_count += 1 else: index = set_window_request_total(index, curWindow, eachWindowTotals, client, curCount, curTimestamp) cur_window = int(curTimestamp) // 60 total_count += curCount cur_count = 1 index = set_window_request_total(index, curWindow, eachWindowTotals, client, curCount, curTimestamp) total_count += curCount resultMap[client] = totalCount index = set_window_request_total(index, curWindow, eachWindowTotals, client, curCount, curTimestamp) for i in range(index): prev5_window_total = 0 for j in range(i, i - 5, -1): if j < 0: break for client in eachWindowTotals.keys(): if len(eachWindowTotals[client]) - 1 < j: continue prev5_window_total += eachWindowTotals[client][j] if prev5WindowTotal >= 10: for client in eachWindowTotals.keys(): client_total = 0 for j in range(i, i - 5, -1): if j < 0: break if len(eachWindowTotals[client]) - 1 < j: continue client_total += eachWindowTotals[client][j] if clientTotal / prev5WindowTotal > 0.5: try: eachWindowTotals[client][i + 1] = 0 except: pass try: eachWindowTotals[client][i + 2] = 0 except: pass for client in eachWindowTotals.keys(): new_total = 0 for cur in eachWindowTotals[client]: new_total += cur resultMap[client] = newTotal for cur_client in resultMap.keys(): result.append(curClient + ' ' + str(resultMap[curClient])) return result def set_window_request_total(index, curWindow, eachWindowTotals, client, curCount, curTimestamp): if index == curWindow: eachWindowTotals[client].append(curCount) index += 1 elif index != curWindow and index != int(curTimestamp) // 60: for i in range(index, int(curTimestamp) // 60): eachWindowTotals[client].append(0) index += 1 elif index == int(curTimestamp) // 60: pass return index
class Circle: __pi = 3.14 def __init__(self, diameter): self.radius = diameter / 2 self.diameter = diameter def calculate_circumference(self): return self.diameter * self.__pi def calculate_area(self): radius = self.diameter / 2 return radius * radius * self.__pi def calculate_area_of_sector(self, angle): return self.calculate_area() * angle / 360 circle = Circle(10) angle = 5 print(f"{circle.calculate_circumference():.2f}") print(f"{circle.calculate_area():.2f}") print(f"{circle.calculate_area_of_sector(angle):.2f}")
class Circle: __pi = 3.14 def __init__(self, diameter): self.radius = diameter / 2 self.diameter = diameter def calculate_circumference(self): return self.diameter * self.__pi def calculate_area(self): radius = self.diameter / 2 return radius * radius * self.__pi def calculate_area_of_sector(self, angle): return self.calculate_area() * angle / 360 circle = circle(10) angle = 5 print(f'{circle.calculate_circumference():.2f}') print(f'{circle.calculate_area():.2f}') print(f'{circle.calculate_area_of_sector(angle):.2f}')
permissions = [ 'accessapproval.requests.approve', 'accessapproval.requests.dismiss', 'accessapproval.requests.get', 'accessapproval.requests.list', 'accessapproval.settings.get', 'accessapproval.settings.update', 'androidmanagement.enterprises.manage', 'appengine.applications.create', 'appengine.applications.get', 'appengine.applications.update', 'appengine.instances.delete', 'appengine.instances.get', 'appengine.instances.list', 'appengine.memcache.addKey', 'appengine.memcache.flush', 'appengine.memcache.get', 'appengine.memcache.getKey', 'appengine.memcache.list', 'appengine.memcache.update', 'appengine.operations.get', 'appengine.operations.list', 'appengine.runtimes.actAsAdmin', 'appengine.services.delete', 'appengine.services.get', 'appengine.services.list', 'appengine.services.update', 'appengine.versions.create', 'appengine.versions.delete', 'appengine.versions.get', 'appengine.versions.getFileContents', 'appengine.versions.list', 'appengine.versions.update', 'automl.annotationSpecs.create', 'automl.annotationSpecs.delete', 'automl.annotationSpecs.get', 'automl.annotationSpecs.list', 'automl.annotationSpecs.update', 'automl.annotations.approve', 'automl.annotations.create', 'automl.annotations.list', 'automl.annotations.manipulate', 'automl.annotations.reject', 'automl.columnSpecs.get', 'automl.columnSpecs.list', 'automl.columnSpecs.update', 'automl.datasets.create', 'automl.datasets.delete', 'automl.datasets.export', 'automl.datasets.get', 'automl.datasets.getIamPolicy', 'automl.datasets.import', 'automl.datasets.list', 'automl.datasets.setIamPolicy', 'automl.datasets.update', 'automl.examples.delete', 'automl.examples.get', 'automl.examples.list', 'automl.humanAnnotationTasks.create', 'automl.humanAnnotationTasks.delete', 'automl.humanAnnotationTasks.get', 'automl.humanAnnotationTasks.list', 'automl.locations.get', 'automl.locations.getIamPolicy', 'automl.locations.list', 'automl.locations.setIamPolicy', 'automl.modelEvaluations.create', 'automl.modelEvaluations.get', 'automl.modelEvaluations.list', 'automl.models.create', 'automl.models.delete', 'automl.models.deploy', 'automl.models.export', 'automl.models.get', 'automl.models.getIamPolicy', 'automl.models.list', 'automl.models.predict', 'automl.models.setIamPolicy', 'automl.models.undeploy', 'automl.operations.cancel', 'automl.operations.delete', 'automl.operations.get', 'automl.operations.list', 'automl.tableSpecs.get', 'automl.tableSpecs.list', 'automl.tableSpecs.update', 'automlrecommendations.apiKeys.create', 'automlrecommendations.apiKeys.delete', 'automlrecommendations.apiKeys.list', 'automlrecommendations.catalogItems.create', 'automlrecommendations.catalogItems.delete', 'automlrecommendations.catalogItems.get', 'automlrecommendations.catalogItems.list', 'automlrecommendations.catalogItems.update', 'automlrecommendations.catalogs.getStats', 'automlrecommendations.catalogs.list', 'automlrecommendations.eventStores.getStats', 'automlrecommendations.events.create', 'automlrecommendations.events.list', 'automlrecommendations.events.purge', 'automlrecommendations.placements.getStats', 'automlrecommendations.placements.list', 'automlrecommendations.recommendations.list', 'bigquery.config.get', 'bigquery.config.update', 'bigquery.connections.create', 'bigquery.connections.delete', 'bigquery.connections.get', 'bigquery.connections.getIamPolicy', 'bigquery.connections.list', 'bigquery.connections.setIamPolicy', 'bigquery.connections.update', 'bigquery.connections.use', 'bigquery.datasets.create', 'bigquery.datasets.delete', 'bigquery.datasets.get', 'bigquery.datasets.getIamPolicy', 'bigquery.datasets.setIamPolicy', 'bigquery.datasets.update', 'bigquery.datasets.updateTag', 'bigquery.jobs.create', 'bigquery.jobs.get', 'bigquery.jobs.list', 'bigquery.jobs.listAll', 'bigquery.jobs.update', 'bigquery.models.create', 'bigquery.models.delete', 'bigquery.models.getData', 'bigquery.models.getMetadata', 'bigquery.models.list', 'bigquery.models.updateData', 'bigquery.models.updateMetadata', 'bigquery.models.updateTag', 'bigquery.readsessions.create', 'bigquery.routines.create', 'bigquery.routines.delete', 'bigquery.routines.get', 'bigquery.routines.list', 'bigquery.routines.update', 'bigquery.savedqueries.create', 'bigquery.savedqueries.delete', 'bigquery.savedqueries.get', 'bigquery.savedqueries.list', 'bigquery.savedqueries.update', 'bigquery.transfers.get', 'bigquery.transfers.update', 'bigtable.appProfiles.create', 'bigtable.appProfiles.delete', 'bigtable.appProfiles.get', 'bigtable.appProfiles.list', 'bigtable.appProfiles.update', 'bigtable.clusters.create', 'bigtable.clusters.delete', 'bigtable.clusters.get', 'bigtable.clusters.list', 'bigtable.clusters.update', 'bigtable.instances.create', 'bigtable.instances.delete', 'bigtable.instances.get', 'bigtable.instances.getIamPolicy', 'bigtable.instances.list', 'bigtable.instances.setIamPolicy', 'bigtable.instances.update', 'bigtable.locations.list', 'bigtable.tables.checkConsistency', 'bigtable.tables.create', 'bigtable.tables.delete', 'bigtable.tables.generateConsistencyToken', 'bigtable.tables.get', 'bigtable.tables.list', 'bigtable.tables.mutateRows', 'bigtable.tables.readRows', 'bigtable.tables.sampleRowKeys', 'bigtable.tables.update', 'billing.resourceCosts.get', 'binaryauthorization.attestors.create', 'binaryauthorization.attestors.delete', 'binaryauthorization.attestors.get', 'binaryauthorization.attestors.getIamPolicy', 'binaryauthorization.attestors.list', 'binaryauthorization.attestors.setIamPolicy', 'binaryauthorization.attestors.update', 'binaryauthorization.attestors.verifyImageAttested', 'binaryauthorization.policy.get', 'binaryauthorization.policy.getIamPolicy', 'binaryauthorization.policy.setIamPolicy', 'binaryauthorization.policy.update', 'cloudasset.assets.exportIamPolicy', 'cloudasset.assets.exportResource', 'cloudbuild.builds.create', 'cloudbuild.builds.get', 'cloudbuild.builds.list', 'cloudbuild.builds.update', 'cloudconfig.configs.get', 'cloudconfig.configs.update', 'clouddebugger.breakpoints.create', 'clouddebugger.breakpoints.delete', 'clouddebugger.breakpoints.get', 'clouddebugger.breakpoints.list', 'clouddebugger.breakpoints.listActive', 'clouddebugger.breakpoints.update', 'clouddebugger.debuggees.create', 'clouddebugger.debuggees.list', 'cloudfunctions.functions.call', 'cloudfunctions.functions.create', 'cloudfunctions.functions.delete', 'cloudfunctions.functions.get', 'cloudfunctions.functions.getIamPolicy', 'cloudfunctions.functions.invoke', 'cloudfunctions.functions.list', 'cloudfunctions.functions.setIamPolicy', 'cloudfunctions.functions.sourceCodeGet', 'cloudfunctions.functions.sourceCodeSet', 'cloudfunctions.functions.update', 'cloudfunctions.locations.list', 'cloudfunctions.operations.get', 'cloudfunctions.operations.list', 'cloudiot.devices.bindGateway', 'cloudiot.devices.create', 'cloudiot.devices.delete', 'cloudiot.devices.get', 'cloudiot.devices.list', 'cloudiot.devices.sendCommand', 'cloudiot.devices.unbindGateway', 'cloudiot.devices.update', 'cloudiot.devices.updateConfig', 'cloudiot.registries.create', 'cloudiot.registries.delete', 'cloudiot.registries.get', 'cloudiot.registries.getIamPolicy', 'cloudiot.registries.list', 'cloudiot.registries.setIamPolicy', 'cloudiot.registries.update', 'cloudiottoken.tokensettings.get', 'cloudiottoken.tokensettings.update', 'cloudjobdiscovery.companies.create', 'cloudjobdiscovery.companies.delete', 'cloudjobdiscovery.companies.get', 'cloudjobdiscovery.companies.list', 'cloudjobdiscovery.companies.update', 'cloudjobdiscovery.events.create', 'cloudjobdiscovery.jobs.create', 'cloudjobdiscovery.jobs.delete', 'cloudjobdiscovery.jobs.get', 'cloudjobdiscovery.jobs.search', 'cloudjobdiscovery.jobs.update', 'cloudjobdiscovery.profiles.create', 'cloudjobdiscovery.profiles.delete', 'cloudjobdiscovery.profiles.get', 'cloudjobdiscovery.profiles.search', 'cloudjobdiscovery.profiles.update', 'cloudjobdiscovery.tenants.create', 'cloudjobdiscovery.tenants.delete', 'cloudjobdiscovery.tenants.get', 'cloudjobdiscovery.tenants.update', 'cloudjobdiscovery.tools.access', 'cloudkms.cryptoKeyVersions.create', 'cloudkms.cryptoKeyVersions.destroy', 'cloudkms.cryptoKeyVersions.get', 'cloudkms.cryptoKeyVersions.list', 'cloudkms.cryptoKeyVersions.restore', 'cloudkms.cryptoKeyVersions.update', 'cloudkms.cryptoKeyVersions.useToDecrypt', 'cloudkms.cryptoKeyVersions.useToEncrypt', 'cloudkms.cryptoKeyVersions.useToSign', 'cloudkms.cryptoKeyVersions.viewPublicKey', 'cloudkms.cryptoKeys.create', 'cloudkms.cryptoKeys.get', 'cloudkms.cryptoKeys.getIamPolicy', 'cloudkms.cryptoKeys.list', 'cloudkms.cryptoKeys.setIamPolicy', 'cloudkms.cryptoKeys.update', 'cloudkms.keyRings.create', 'cloudkms.keyRings.get', 'cloudkms.keyRings.getIamPolicy', 'cloudkms.keyRings.list', 'cloudkms.keyRings.setIamPolicy', 'cloudmessaging.messages.create', 'cloudmigration.velostrataendpoints.connect', 'cloudnotifications.activities.list', 'cloudprivatecatalog.targets.get', 'cloudprivatecatalogproducer.targets.associate', 'cloudprivatecatalogproducer.targets.unassociate', 'cloudprofiler.profiles.create', 'cloudprofiler.profiles.list', 'cloudprofiler.profiles.update', 'cloudscheduler.jobs.create', 'cloudscheduler.jobs.delete', 'cloudscheduler.jobs.enable', 'cloudscheduler.jobs.fullView', 'cloudscheduler.jobs.get', 'cloudscheduler.jobs.list', 'cloudscheduler.jobs.pause', 'cloudscheduler.jobs.run', 'cloudscheduler.jobs.update', 'cloudscheduler.locations.get', 'cloudscheduler.locations.list', 'cloudsecurityscanner.crawledurls.list', 'cloudsecurityscanner.results.get', 'cloudsecurityscanner.results.list', 'cloudsecurityscanner.scanruns.get', 'cloudsecurityscanner.scanruns.getSummary', 'cloudsecurityscanner.scanruns.list', 'cloudsecurityscanner.scanruns.stop', 'cloudsecurityscanner.scans.create', 'cloudsecurityscanner.scans.delete', 'cloudsecurityscanner.scans.get', 'cloudsecurityscanner.scans.list', 'cloudsecurityscanner.scans.run', 'cloudsecurityscanner.scans.update', 'cloudsql.backupRuns.create', 'cloudsql.backupRuns.delete', 'cloudsql.backupRuns.get', 'cloudsql.backupRuns.list', 'cloudsql.databases.create', 'cloudsql.databases.delete', 'cloudsql.databases.get', 'cloudsql.databases.list', 'cloudsql.databases.update', 'cloudsql.instances.addServerCa', 'cloudsql.instances.clone', 'cloudsql.instances.connect', 'cloudsql.instances.create', 'cloudsql.instances.delete', 'cloudsql.instances.demoteMaster', 'cloudsql.instances.export', 'cloudsql.instances.failover', 'cloudsql.instances.get', 'cloudsql.instances.import', 'cloudsql.instances.list', 'cloudsql.instances.listServerCas', 'cloudsql.instances.promoteReplica', 'cloudsql.instances.resetSslConfig', 'cloudsql.instances.restart', 'cloudsql.instances.restoreBackup', 'cloudsql.instances.rotateServerCa', 'cloudsql.instances.startReplica', 'cloudsql.instances.stopReplica', 'cloudsql.instances.truncateLog', 'cloudsql.instances.update', 'cloudsql.sslCerts.create', 'cloudsql.sslCerts.createEphemeral', 'cloudsql.sslCerts.delete', 'cloudsql.sslCerts.get', 'cloudsql.sslCerts.list', 'cloudsql.users.create', 'cloudsql.users.delete', 'cloudsql.users.list', 'cloudsql.users.update', 'cloudtasks.locations.get', 'cloudtasks.locations.list', 'cloudtasks.queues.create', 'cloudtasks.queues.delete', 'cloudtasks.queues.get', 'cloudtasks.queues.getIamPolicy', 'cloudtasks.queues.list', 'cloudtasks.queues.pause', 'cloudtasks.queues.purge', 'cloudtasks.queues.resume', 'cloudtasks.queues.setIamPolicy', 'cloudtasks.queues.update', 'cloudtasks.tasks.create', 'cloudtasks.tasks.delete', 'cloudtasks.tasks.fullView', 'cloudtasks.tasks.get', 'cloudtasks.tasks.list', 'cloudtasks.tasks.run', 'cloudtestservice.environmentcatalog.get', 'cloudtestservice.matrices.create', 'cloudtestservice.matrices.get', 'cloudtestservice.matrices.update', 'cloudtoolresults.executions.create', 'cloudtoolresults.executions.get', 'cloudtoolresults.executions.list', 'cloudtoolresults.executions.update', 'cloudtoolresults.histories.create', 'cloudtoolresults.histories.get', 'cloudtoolresults.histories.list', 'cloudtoolresults.settings.create', 'cloudtoolresults.settings.get', 'cloudtoolresults.settings.update', 'cloudtoolresults.steps.create', 'cloudtoolresults.steps.get', 'cloudtoolresults.steps.list', 'cloudtoolresults.steps.update', 'cloudtrace.insights.get', 'cloudtrace.insights.list', 'cloudtrace.stats.get', 'cloudtrace.tasks.create', 'cloudtrace.tasks.delete', 'cloudtrace.tasks.get', 'cloudtrace.tasks.list', 'cloudtrace.traces.get', 'cloudtrace.traces.list', 'cloudtrace.traces.patch', 'cloudtranslate.generalModels.batchPredict', 'cloudtranslate.generalModels.get', 'cloudtranslate.generalModels.predict', 'cloudtranslate.glossaries.batchPredict', 'cloudtranslate.glossaries.create', 'cloudtranslate.glossaries.delete', 'cloudtranslate.glossaries.get', 'cloudtranslate.glossaries.list', 'cloudtranslate.glossaries.predict', 'cloudtranslate.languageDetectionModels.predict', 'cloudtranslate.locations.get', 'cloudtranslate.locations.list', 'cloudtranslate.operations.cancel', 'cloudtranslate.operations.delete', 'cloudtranslate.operations.get', 'cloudtranslate.operations.list', 'cloudtranslate.operations.wait', 'composer.environments.create', 'composer.environments.delete', 'composer.environments.get', 'composer.environments.list', 'composer.environments.update', 'composer.imageversions.list', 'composer.operations.delete', 'composer.operations.get', 'composer.operations.list', 'compute.acceleratorTypes.get', 'compute.acceleratorTypes.list', 'compute.addresses.create', 'compute.addresses.createInternal', 'compute.addresses.delete', 'compute.addresses.deleteInternal', 'compute.addresses.get', 'compute.addresses.list', 'compute.addresses.setLabels', 'compute.addresses.use', 'compute.addresses.useInternal', 'compute.autoscalers.create', 'compute.autoscalers.delete', 'compute.autoscalers.get', 'compute.autoscalers.list', 'compute.autoscalers.update', 'compute.backendBuckets.create', 'compute.backendBuckets.delete', 'compute.backendBuckets.get', 'compute.backendBuckets.list', 'compute.backendBuckets.update', 'compute.backendBuckets.use', 'compute.backendServices.create', 'compute.backendServices.delete', 'compute.backendServices.get', 'compute.backendServices.list', 'compute.backendServices.setSecurityPolicy', 'compute.backendServices.update', 'compute.backendServices.use', 'compute.commitments.create', 'compute.commitments.get', 'compute.commitments.list', 'compute.diskTypes.get', 'compute.diskTypes.list', 'compute.disks.addResourcePolicies', 'compute.disks.create', 'compute.disks.createSnapshot', 'compute.disks.delete', 'compute.disks.get', 'compute.disks.getIamPolicy', 'compute.disks.list', 'compute.disks.removeResourcePolicies', 'compute.disks.resize', 'compute.disks.setIamPolicy', 'compute.disks.setLabels', 'compute.disks.update', 'compute.disks.use', 'compute.disks.useReadOnly', 'compute.firewalls.create', 'compute.firewalls.delete', 'compute.firewalls.get', 'compute.firewalls.list', 'compute.firewalls.update', 'compute.forwardingRules.create', 'compute.forwardingRules.delete', 'compute.forwardingRules.get', 'compute.forwardingRules.list', 'compute.forwardingRules.setLabels', 'compute.forwardingRules.setTarget', 'compute.globalAddresses.create', 'compute.globalAddresses.createInternal', 'compute.globalAddresses.delete', 'compute.globalAddresses.deleteInternal', 'compute.globalAddresses.get', 'compute.globalAddresses.list', 'compute.globalAddresses.setLabels', 'compute.globalAddresses.use', 'compute.globalForwardingRules.create', 'compute.globalForwardingRules.delete', 'compute.globalForwardingRules.get', 'compute.globalForwardingRules.list', 'compute.globalForwardingRules.setLabels', 'compute.globalForwardingRules.setTarget', 'compute.globalOperations.delete', 'compute.globalOperations.get', 'compute.globalOperations.getIamPolicy', 'compute.globalOperations.list', 'compute.globalOperations.setIamPolicy', 'compute.healthChecks.create', 'compute.healthChecks.delete', 'compute.healthChecks.get', 'compute.healthChecks.list', 'compute.healthChecks.update', 'compute.healthChecks.use', 'compute.healthChecks.useReadOnly', 'compute.httpHealthChecks.create', 'compute.httpHealthChecks.delete', 'compute.httpHealthChecks.get', 'compute.httpHealthChecks.list', 'compute.httpHealthChecks.update', 'compute.httpHealthChecks.use', 'compute.httpHealthChecks.useReadOnly', 'compute.httpsHealthChecks.create', 'compute.httpsHealthChecks.delete', 'compute.httpsHealthChecks.get', 'compute.httpsHealthChecks.list', 'compute.httpsHealthChecks.update', 'compute.httpsHealthChecks.use', 'compute.httpsHealthChecks.useReadOnly', 'compute.images.create', 'compute.images.delete', 'compute.images.deprecate', 'compute.images.get', 'compute.images.getFromFamily', 'compute.images.getIamPolicy', 'compute.images.list', 'compute.images.setIamPolicy', 'compute.images.setLabels', 'compute.images.update', 'compute.images.useReadOnly', 'compute.instanceGroupManagers.create', 'compute.instanceGroupManagers.delete', 'compute.instanceGroupManagers.get', 'compute.instanceGroupManagers.list', 'compute.instanceGroupManagers.update', 'compute.instanceGroupManagers.use', 'compute.instanceGroups.create', 'compute.instanceGroups.delete', 'compute.instanceGroups.get', 'compute.instanceGroups.list', 'compute.instanceGroups.update', 'compute.instanceGroups.use', 'compute.instanceTemplates.create', 'compute.instanceTemplates.delete', 'compute.instanceTemplates.get', 'compute.instanceTemplates.getIamPolicy', 'compute.instanceTemplates.list', 'compute.instanceTemplates.setIamPolicy', 'compute.instanceTemplates.useReadOnly', 'compute.instances.addAccessConfig', 'compute.instances.addMaintenancePolicies', 'compute.instances.attachDisk', 'compute.instances.create', 'compute.instances.delete', 'compute.instances.deleteAccessConfig', 'compute.instances.detachDisk', 'compute.instances.get', 'compute.instances.getGuestAttributes', 'compute.instances.getIamPolicy', 'compute.instances.getSerialPortOutput', 'compute.instances.getShieldedInstanceIdentity', 'compute.instances.getShieldedVmIdentity', 'compute.instances.list', 'compute.instances.listReferrers', 'compute.instances.osAdminLogin', 'compute.instances.osLogin', 'compute.instances.removeMaintenancePolicies', 'compute.instances.reset', 'compute.instances.resume', 'compute.instances.setDeletionProtection', 'compute.instances.setDiskAutoDelete', 'compute.instances.setIamPolicy', 'compute.instances.setLabels', 'compute.instances.setMachineResources', 'compute.instances.setMachineType', 'compute.instances.setMetadata', 'compute.instances.setMinCpuPlatform', 'compute.instances.setScheduling', 'compute.instances.setServiceAccount', 'compute.instances.setShieldedInstanceIntegrityPolicy', 'compute.instances.setShieldedVmIntegrityPolicy', 'compute.instances.setTags', 'compute.instances.start', 'compute.instances.startWithEncryptionKey', 'compute.instances.stop', 'compute.instances.suspend', 'compute.instances.update', 'compute.instances.updateAccessConfig', 'compute.instances.updateDisplayDevice', 'compute.instances.updateNetworkInterface', 'compute.instances.updateShieldedInstanceConfig', 'compute.instances.updateShieldedVmConfig', 'compute.instances.use', 'compute.interconnectAttachments.create', 'compute.interconnectAttachments.delete', 'compute.interconnectAttachments.get', 'compute.interconnectAttachments.list', 'compute.interconnectAttachments.setLabels', 'compute.interconnectAttachments.update', 'compute.interconnectAttachments.use', 'compute.interconnectLocations.get', 'compute.interconnectLocations.list', 'compute.interconnects.create', 'compute.interconnects.delete', 'compute.interconnects.get', 'compute.interconnects.list', 'compute.interconnects.setLabels', 'compute.interconnects.update', 'compute.interconnects.use', 'compute.licenseCodes.get', 'compute.licenseCodes.getIamPolicy', 'compute.licenseCodes.list', 'compute.licenseCodes.setIamPolicy', 'compute.licenseCodes.update', 'compute.licenseCodes.use', 'compute.licenses.create', 'compute.licenses.delete', 'compute.licenses.get', 'compute.licenses.getIamPolicy', 'compute.licenses.list', 'compute.licenses.setIamPolicy', 'compute.machineTypes.get', 'compute.machineTypes.list', 'compute.maintenancePolicies.create', 'compute.maintenancePolicies.delete', 'compute.maintenancePolicies.get', 'compute.maintenancePolicies.getIamPolicy', 'compute.maintenancePolicies.list', 'compute.maintenancePolicies.setIamPolicy', 'compute.maintenancePolicies.use', 'compute.networkEndpointGroups.attachNetworkEndpoints', 'compute.networkEndpointGroups.create', 'compute.networkEndpointGroups.delete', 'compute.networkEndpointGroups.detachNetworkEndpoints', 'compute.networkEndpointGroups.get', 'compute.networkEndpointGroups.getIamPolicy', 'compute.networkEndpointGroups.list', 'compute.networkEndpointGroups.setIamPolicy', 'compute.networkEndpointGroups.use', 'compute.networks.addPeering', 'compute.networks.create', 'compute.networks.delete', 'compute.networks.get', 'compute.networks.list', 'compute.networks.removePeering', 'compute.networks.switchToCustomMode', 'compute.networks.update', 'compute.networks.updatePeering', 'compute.networks.updatePolicy', 'compute.networks.use', 'compute.networks.useExternalIp', 'compute.nodeGroups.addNodes', 'compute.nodeGroups.create', 'compute.nodeGroups.delete', 'compute.nodeGroups.deleteNodes', 'compute.nodeGroups.get', 'compute.nodeGroups.getIamPolicy', 'compute.nodeGroups.list', 'compute.nodeGroups.setIamPolicy', 'compute.nodeGroups.setNodeTemplate', 'compute.nodeTemplates.create', 'compute.nodeTemplates.delete', 'compute.nodeTemplates.get', 'compute.nodeTemplates.getIamPolicy', 'compute.nodeTemplates.list', 'compute.nodeTemplates.setIamPolicy', 'compute.nodeTypes.get', 'compute.nodeTypes.list', 'compute.projects.get', 'compute.projects.setDefaultNetworkTier', 'compute.projects.setDefaultServiceAccount', 'compute.projects.setUsageExportBucket', 'compute.regionBackendServices.create', 'compute.regionBackendServices.delete', 'compute.regionBackendServices.get', 'compute.regionBackendServices.list', 'compute.regionBackendServices.setSecurityPolicy', 'compute.regionBackendServices.update', 'compute.regionBackendServices.use', 'compute.regionOperations.delete', 'compute.regionOperations.get', 'compute.regionOperations.getIamPolicy', 'compute.regionOperations.list', 'compute.regionOperations.setIamPolicy', 'compute.regions.get', 'compute.regions.list', 'compute.reservations.create', 'compute.reservations.delete', 'compute.reservations.get', 'compute.reservations.list', 'compute.reservations.resize', 'compute.resourcePolicies.create', 'compute.resourcePolicies.delete', 'compute.resourcePolicies.get', 'compute.resourcePolicies.list', 'compute.resourcePolicies.use', 'compute.routers.create', 'compute.routers.delete', 'compute.routers.get', 'compute.routers.list', 'compute.routers.update', 'compute.routers.use', 'compute.routes.create', 'compute.routes.delete', 'compute.routes.get', 'compute.routes.list', 'compute.securityPolicies.create', 'compute.securityPolicies.delete', 'compute.securityPolicies.get', 'compute.securityPolicies.getIamPolicy', 'compute.securityPolicies.list', 'compute.securityPolicies.setIamPolicy', 'compute.securityPolicies.update', 'compute.securityPolicies.use', 'compute.snapshots.create', 'compute.snapshots.delete', 'compute.snapshots.get', 'compute.snapshots.getIamPolicy', 'compute.snapshots.list', 'compute.snapshots.setIamPolicy', 'compute.snapshots.setLabels', 'compute.snapshots.useReadOnly', 'compute.sslCertificates.create', 'compute.sslCertificates.delete', 'compute.sslCertificates.get', 'compute.sslCertificates.list', 'compute.sslPolicies.create', 'compute.sslPolicies.delete', 'compute.sslPolicies.get', 'compute.sslPolicies.list', 'compute.sslPolicies.listAvailableFeatures', 'compute.sslPolicies.update', 'compute.sslPolicies.use', 'compute.subnetworks.create', 'compute.subnetworks.delete', 'compute.subnetworks.expandIpCidrRange', 'compute.subnetworks.get', 'compute.subnetworks.getIamPolicy', 'compute.subnetworks.list', 'compute.subnetworks.setIamPolicy', 'compute.subnetworks.setPrivateIpGoogleAccess', 'compute.subnetworks.update', 'compute.subnetworks.use', 'compute.subnetworks.useExternalIp', 'compute.targetHttpProxies.create', 'compute.targetHttpProxies.delete', 'compute.targetHttpProxies.get', 'compute.targetHttpProxies.list', 'compute.targetHttpProxies.setUrlMap', 'compute.targetHttpProxies.use', 'compute.targetHttpsProxies.create', 'compute.targetHttpsProxies.delete', 'compute.targetHttpsProxies.get', 'compute.targetHttpsProxies.list', 'compute.targetHttpsProxies.setSslCertificates', 'compute.targetHttpsProxies.setSslPolicy', 'compute.targetHttpsProxies.setUrlMap', 'compute.targetHttpsProxies.use', 'compute.targetInstances.create', 'compute.targetInstances.delete', 'compute.targetInstances.get', 'compute.targetInstances.list', 'compute.targetInstances.use', 'compute.targetPools.addHealthCheck', 'compute.targetPools.addInstance', 'compute.targetPools.create', 'compute.targetPools.delete', 'compute.targetPools.get', 'compute.targetPools.list', 'compute.targetPools.removeHealthCheck', 'compute.targetPools.removeInstance', 'compute.targetPools.update', 'compute.targetPools.use', 'compute.targetSslProxies.create', 'compute.targetSslProxies.delete', 'compute.targetSslProxies.get', 'compute.targetSslProxies.list', 'compute.targetSslProxies.setBackendService', 'compute.targetSslProxies.setProxyHeader', 'compute.targetSslProxies.setSslCertificates', 'compute.targetSslProxies.use', 'compute.targetTcpProxies.create', 'compute.targetTcpProxies.delete', 'compute.targetTcpProxies.get', 'compute.targetTcpProxies.list', 'compute.targetTcpProxies.update', 'compute.targetTcpProxies.use', 'compute.targetVpnGateways.create', 'compute.targetVpnGateways.delete', 'compute.targetVpnGateways.get', 'compute.targetVpnGateways.list', 'compute.targetVpnGateways.setLabels', 'compute.targetVpnGateways.use', 'compute.urlMaps.create', 'compute.urlMaps.delete', 'compute.urlMaps.get', 'compute.urlMaps.invalidateCache', 'compute.urlMaps.list', 'compute.urlMaps.update', 'compute.urlMaps.use', 'compute.urlMaps.validate', 'compute.vpnGateways.create', 'compute.vpnGateways.delete', 'compute.vpnGateways.get', 'compute.vpnGateways.list', 'compute.vpnGateways.setLabels', 'compute.vpnGateways.use', 'compute.vpnTunnels.create', 'compute.vpnTunnels.delete', 'compute.vpnTunnels.get', 'compute.vpnTunnels.list', 'compute.vpnTunnels.setLabels', 'compute.zoneOperations.delete', 'compute.zoneOperations.get', 'compute.zoneOperations.getIamPolicy', 'compute.zoneOperations.list', 'compute.zoneOperations.setIamPolicy', 'compute.zones.get', 'compute.zones.list', 'container.apiServices.create', 'container.apiServices.delete', 'container.apiServices.get', 'container.apiServices.list', 'container.apiServices.update', 'container.apiServices.updateStatus', 'container.backendConfigs.create', 'container.backendConfigs.delete', 'container.backendConfigs.get', 'container.backendConfigs.list', 'container.backendConfigs.update', 'container.bindings.create', 'container.bindings.delete', 'container.bindings.get', 'container.bindings.list', 'container.bindings.update', 'container.certificateSigningRequests.approve', 'container.certificateSigningRequests.create', 'container.certificateSigningRequests.delete', 'container.certificateSigningRequests.get', 'container.certificateSigningRequests.list', 'container.certificateSigningRequests.update', 'container.certificateSigningRequests.updateStatus', 'container.clusterRoleBindings.create', 'container.clusterRoleBindings.delete', 'container.clusterRoleBindings.get', 'container.clusterRoleBindings.list', 'container.clusterRoleBindings.update', 'container.clusterRoles.bind', 'container.clusterRoles.create', 'container.clusterRoles.delete', 'container.clusterRoles.get', 'container.clusterRoles.list', 'container.clusterRoles.update', 'container.clusters.create', 'container.clusters.delete', 'container.clusters.get', 'container.clusters.getCredentials', 'container.clusters.list', 'container.clusters.update', 'container.componentStatuses.get', 'container.componentStatuses.list', 'container.configMaps.create', 'container.configMaps.delete', 'container.configMaps.get', 'container.configMaps.list', 'container.configMaps.update', 'container.controllerRevisions.create', 'container.controllerRevisions.delete', 'container.controllerRevisions.get', 'container.controllerRevisions.list', 'container.controllerRevisions.update', 'container.cronJobs.create', 'container.cronJobs.delete', 'container.cronJobs.get', 'container.cronJobs.getStatus', 'container.cronJobs.list', 'container.cronJobs.update', 'container.cronJobs.updateStatus', 'container.customResourceDefinitions.create', 'container.customResourceDefinitions.delete', 'container.customResourceDefinitions.get', 'container.customResourceDefinitions.list', 'container.customResourceDefinitions.update', 'container.customResourceDefinitions.updateStatus', 'container.daemonSets.create', 'container.daemonSets.delete', 'container.daemonSets.get', 'container.daemonSets.getStatus', 'container.daemonSets.list', 'container.daemonSets.update', 'container.daemonSets.updateStatus', 'container.deployments.create', 'container.deployments.delete', 'container.deployments.get', 'container.deployments.getScale', 'container.deployments.getStatus', 'container.deployments.list', 'container.deployments.rollback', 'container.deployments.update', 'container.deployments.updateScale', 'container.deployments.updateStatus', 'container.endpoints.create', 'container.endpoints.delete', 'container.endpoints.get', 'container.endpoints.list', 'container.endpoints.update', 'container.events.create', 'container.events.delete', 'container.events.get', 'container.events.list', 'container.events.update', 'container.horizontalPodAutoscalers.create', 'container.horizontalPodAutoscalers.delete', 'container.horizontalPodAutoscalers.get', 'container.horizontalPodAutoscalers.getStatus', 'container.horizontalPodAutoscalers.list', 'container.horizontalPodAutoscalers.update', 'container.horizontalPodAutoscalers.updateStatus', 'container.ingresses.create', 'container.ingresses.delete', 'container.ingresses.get', 'container.ingresses.getStatus', 'container.ingresses.list', 'container.ingresses.update', 'container.ingresses.updateStatus', 'container.initializerConfigurations.create', 'container.initializerConfigurations.delete', 'container.initializerConfigurations.get', 'container.initializerConfigurations.list', 'container.initializerConfigurations.update', 'container.jobs.create', 'container.jobs.delete', 'container.jobs.get', 'container.jobs.getStatus', 'container.jobs.list', 'container.jobs.update', 'container.jobs.updateStatus', 'container.limitRanges.create', 'container.limitRanges.delete', 'container.limitRanges.get', 'container.limitRanges.list', 'container.limitRanges.update', 'container.localSubjectAccessReviews.create', 'container.localSubjectAccessReviews.list', 'container.namespaces.create', 'container.namespaces.delete', 'container.namespaces.get', 'container.namespaces.getStatus', 'container.namespaces.list', 'container.namespaces.update', 'container.namespaces.updateStatus', 'container.networkPolicies.create', 'container.networkPolicies.delete', 'container.networkPolicies.get', 'container.networkPolicies.list', 'container.networkPolicies.update', 'container.nodes.create', 'container.nodes.delete', 'container.nodes.get', 'container.nodes.getStatus', 'container.nodes.list', 'container.nodes.proxy', 'container.nodes.update', 'container.nodes.updateStatus', 'container.operations.get', 'container.operations.list', 'container.persistentVolumeClaims.create', 'container.persistentVolumeClaims.delete', 'container.persistentVolumeClaims.get', 'container.persistentVolumeClaims.getStatus', 'container.persistentVolumeClaims.list', 'container.persistentVolumeClaims.update', 'container.persistentVolumeClaims.updateStatus', 'container.persistentVolumes.create', 'container.persistentVolumes.delete', 'container.persistentVolumes.get', 'container.persistentVolumes.getStatus', 'container.persistentVolumes.list', 'container.persistentVolumes.update', 'container.persistentVolumes.updateStatus', 'container.petSets.create', 'container.petSets.delete', 'container.petSets.get', 'container.petSets.list', 'container.petSets.update', 'container.petSets.updateStatus', 'container.podDisruptionBudgets.create', 'container.podDisruptionBudgets.delete', 'container.podDisruptionBudgets.get', 'container.podDisruptionBudgets.getStatus', 'container.podDisruptionBudgets.list', 'container.podDisruptionBudgets.update', 'container.podDisruptionBudgets.updateStatus', 'container.podPresets.create', 'container.podPresets.delete', 'container.podPresets.get', 'container.podPresets.list', 'container.podPresets.update', 'container.podSecurityPolicies.create', 'container.podSecurityPolicies.delete', 'container.podSecurityPolicies.get', 'container.podSecurityPolicies.list', 'container.podSecurityPolicies.update', 'container.podSecurityPolicies.use', 'container.podTemplates.create', 'container.podTemplates.delete', 'container.podTemplates.get', 'container.podTemplates.list', 'container.podTemplates.update', 'container.pods.attach', 'container.pods.create', 'container.pods.delete', 'container.pods.evict', 'container.pods.exec', 'container.pods.get', 'container.pods.getLogs', 'container.pods.getStatus', 'container.pods.initialize', 'container.pods.list', 'container.pods.portForward', 'container.pods.proxy', 'container.pods.update', 'container.pods.updateStatus', 'container.replicaSets.create', 'container.replicaSets.delete', 'container.replicaSets.get', 'container.replicaSets.getScale', 'container.replicaSets.getStatus', 'container.replicaSets.list', 'container.replicaSets.update', 'container.replicaSets.updateScale', 'container.replicaSets.updateStatus', 'container.replicationControllers.create', 'container.replicationControllers.delete', 'container.replicationControllers.get', 'container.replicationControllers.getScale', 'container.replicationControllers.getStatus', 'container.replicationControllers.list', 'container.replicationControllers.update', 'container.replicationControllers.updateScale', 'container.replicationControllers.updateStatus', 'container.resourceQuotas.create', 'container.resourceQuotas.delete', 'container.resourceQuotas.get', 'container.resourceQuotas.getStatus', 'container.resourceQuotas.list', 'container.resourceQuotas.update', 'container.resourceQuotas.updateStatus', 'container.roleBindings.create', 'container.roleBindings.delete', 'container.roleBindings.get', 'container.roleBindings.list', 'container.roleBindings.update', 'container.roles.bind', 'container.roles.create', 'container.roles.delete', 'container.roles.get', 'container.roles.list', 'container.roles.update', 'container.scheduledJobs.create', 'container.scheduledJobs.delete', 'container.scheduledJobs.get', 'container.scheduledJobs.list', 'container.scheduledJobs.update', 'container.scheduledJobs.updateStatus', 'container.secrets.create', 'container.secrets.delete', 'container.secrets.get', 'container.secrets.list', 'container.secrets.update', 'container.selfSubjectAccessReviews.create', 'container.selfSubjectAccessReviews.list', 'container.serviceAccounts.create', 'container.serviceAccounts.delete', 'container.serviceAccounts.get', 'container.serviceAccounts.list', 'container.serviceAccounts.update', 'container.services.create', 'container.services.delete', 'container.services.get', 'container.services.getStatus', 'container.services.list', 'container.services.proxy', 'container.services.update', 'container.services.updateStatus', 'container.statefulSets.create', 'container.statefulSets.delete', 'container.statefulSets.get', 'container.statefulSets.getScale', 'container.statefulSets.getStatus', 'container.statefulSets.list', 'container.statefulSets.update', 'container.statefulSets.updateScale', 'container.statefulSets.updateStatus', 'container.storageClasses.create', 'container.storageClasses.delete', 'container.storageClasses.get', 'container.storageClasses.list', 'container.storageClasses.update', 'container.subjectAccessReviews.create', 'container.subjectAccessReviews.list', 'container.thirdPartyObjects.create', 'container.thirdPartyObjects.delete', 'container.thirdPartyObjects.get', 'container.thirdPartyObjects.list', 'container.thirdPartyObjects.update', 'container.thirdPartyResources.create', 'container.thirdPartyResources.delete', 'container.thirdPartyResources.get', 'container.thirdPartyResources.list', 'container.thirdPartyResources.update', 'container.tokenReviews.create', 'datacatalog.entries.create', 'datacatalog.entries.delete', 'datacatalog.entries.get', 'datacatalog.entries.getIamPolicy', 'datacatalog.entries.setIamPolicy', 'datacatalog.entries.update', 'datacatalog.entryGroups.create', 'datacatalog.entryGroups.delete', 'datacatalog.entryGroups.get', 'datacatalog.entryGroups.getIamPolicy', 'datacatalog.entryGroups.setIamPolicy', 'datacatalog.tagTemplates.create', 'datacatalog.tagTemplates.delete', 'datacatalog.tagTemplates.get', 'datacatalog.tagTemplates.getIamPolicy', 'datacatalog.tagTemplates.getTag', 'datacatalog.tagTemplates.setIamPolicy', 'datacatalog.tagTemplates.update', 'datacatalog.tagTemplates.use', 'dataflow.jobs.cancel', 'dataflow.jobs.create', 'dataflow.jobs.get', 'dataflow.jobs.list', 'dataflow.jobs.updateContents', 'dataflow.messages.list', 'dataflow.metrics.get', 'datafusion.instances.create', 'datafusion.instances.delete', 'datafusion.instances.get', 'datafusion.instances.getIamPolicy', 'datafusion.instances.list', 'datafusion.instances.restart', 'datafusion.instances.setIamPolicy', 'datafusion.instances.update', 'datafusion.instances.upgrade', 'datafusion.locations.get', 'datafusion.locations.list', 'datafusion.operations.cancel', 'datafusion.operations.get', 'datafusion.operations.list', 'datalabeling.annotateddatasets.delete', 'datalabeling.annotateddatasets.get', 'datalabeling.annotateddatasets.label', 'datalabeling.annotateddatasets.list', 'datalabeling.annotationspecsets.create', 'datalabeling.annotationspecsets.delete', 'datalabeling.annotationspecsets.get', 'datalabeling.annotationspecsets.list', 'datalabeling.dataitems.get', 'datalabeling.dataitems.list', 'datalabeling.datasets.create', 'datalabeling.datasets.delete', 'datalabeling.datasets.export', 'datalabeling.datasets.get', 'datalabeling.datasets.import', 'datalabeling.datasets.list', 'datalabeling.examples.get', 'datalabeling.examples.list', 'datalabeling.instructions.create', 'datalabeling.instructions.delete', 'datalabeling.instructions.get', 'datalabeling.instructions.list', 'datalabeling.operations.cancel', 'datalabeling.operations.get', 'datalabeling.operations.list', 'dataprep.projects.use', 'dataproc.agents.create', 'dataproc.agents.delete', 'dataproc.agents.get', 'dataproc.agents.list', 'dataproc.agents.update', 'dataproc.clusters.create', 'dataproc.clusters.delete', 'dataproc.clusters.get', 'dataproc.clusters.getIamPolicy', 'dataproc.clusters.list', 'dataproc.clusters.setIamPolicy', 'dataproc.clusters.update', 'dataproc.clusters.use', 'dataproc.jobs.cancel', 'dataproc.jobs.create', 'dataproc.jobs.delete', 'dataproc.jobs.get', 'dataproc.jobs.getIamPolicy', 'dataproc.jobs.list', 'dataproc.jobs.setIamPolicy', 'dataproc.jobs.update', 'dataproc.operations.cancel', 'dataproc.operations.delete', 'dataproc.operations.get', 'dataproc.operations.getIamPolicy', 'dataproc.operations.list', 'dataproc.operations.setIamPolicy', 'dataproc.tasks.lease', 'dataproc.tasks.listInvalidatedLeases', 'dataproc.tasks.reportStatus', 'dataproc.workflowTemplates.create', 'dataproc.workflowTemplates.delete', 'dataproc.workflowTemplates.get', 'dataproc.workflowTemplates.getIamPolicy', 'dataproc.workflowTemplates.instantiate', 'dataproc.workflowTemplates.instantiateInline', 'dataproc.workflowTemplates.list', 'dataproc.workflowTemplates.setIamPolicy', 'dataproc.workflowTemplates.update', 'datastore.databases.create', 'datastore.databases.delete', 'datastore.databases.export', 'datastore.databases.get', 'datastore.databases.getIamPolicy', 'datastore.databases.import', 'datastore.databases.list', 'datastore.databases.setIamPolicy', 'datastore.databases.update', 'datastore.entities.allocateIds', 'datastore.entities.create', 'datastore.entities.delete', 'datastore.entities.get', 'datastore.entities.list', 'datastore.entities.update', 'datastore.indexes.create', 'datastore.indexes.delete', 'datastore.indexes.get', 'datastore.indexes.list', 'datastore.indexes.update', 'datastore.locations.get', 'datastore.locations.list', 'datastore.namespaces.get', 'datastore.namespaces.getIamPolicy', 'datastore.namespaces.list', 'datastore.namespaces.setIamPolicy', 'datastore.operations.cancel', 'datastore.operations.delete', 'datastore.operations.get', 'datastore.operations.list', 'datastore.statistics.get', 'datastore.statistics.list', 'deploymentmanager.compositeTypes.create', 'deploymentmanager.compositeTypes.delete', 'deploymentmanager.compositeTypes.get', 'deploymentmanager.compositeTypes.list', 'deploymentmanager.compositeTypes.update', 'deploymentmanager.deployments.cancelPreview', 'deploymentmanager.deployments.create', 'deploymentmanager.deployments.delete', 'deploymentmanager.deployments.get', 'deploymentmanager.deployments.getIamPolicy', 'deploymentmanager.deployments.list', 'deploymentmanager.deployments.setIamPolicy', 'deploymentmanager.deployments.stop', 'deploymentmanager.deployments.update', 'deploymentmanager.manifests.get', 'deploymentmanager.manifests.list', 'deploymentmanager.operations.get', 'deploymentmanager.operations.list', 'deploymentmanager.resources.get', 'deploymentmanager.resources.list', 'deploymentmanager.typeProviders.create', 'deploymentmanager.typeProviders.delete', 'deploymentmanager.typeProviders.get', 'deploymentmanager.typeProviders.getType', 'deploymentmanager.typeProviders.list', 'deploymentmanager.typeProviders.listTypes', 'deploymentmanager.typeProviders.update', 'deploymentmanager.types.create', 'deploymentmanager.types.delete', 'deploymentmanager.types.get', 'deploymentmanager.types.list', 'deploymentmanager.types.update', 'dialogflow.agents.create', 'dialogflow.agents.delete', 'dialogflow.agents.export', 'dialogflow.agents.get', 'dialogflow.agents.import', 'dialogflow.agents.restore', 'dialogflow.agents.search', 'dialogflow.agents.train', 'dialogflow.agents.update', 'dialogflow.contexts.create', 'dialogflow.contexts.delete', 'dialogflow.contexts.get', 'dialogflow.contexts.list', 'dialogflow.contexts.update', 'dialogflow.entityTypes.create', 'dialogflow.entityTypes.createEntity', 'dialogflow.entityTypes.delete', 'dialogflow.entityTypes.deleteEntity', 'dialogflow.entityTypes.get', 'dialogflow.entityTypes.list', 'dialogflow.entityTypes.update', 'dialogflow.entityTypes.updateEntity', 'dialogflow.intents.create', 'dialogflow.intents.delete', 'dialogflow.intents.get', 'dialogflow.intents.list', 'dialogflow.intents.update', 'dialogflow.operations.get', 'dialogflow.sessionEntityTypes.create', 'dialogflow.sessionEntityTypes.delete', 'dialogflow.sessionEntityTypes.get', 'dialogflow.sessionEntityTypes.list', 'dialogflow.sessionEntityTypes.update', 'dialogflow.sessions.detectIntent', 'dialogflow.sessions.streamingDetectIntent', 'dlp.analyzeRiskTemplates.create', 'dlp.analyzeRiskTemplates.delete', 'dlp.analyzeRiskTemplates.get', 'dlp.analyzeRiskTemplates.list', 'dlp.analyzeRiskTemplates.update', 'dlp.deidentifyTemplates.create', 'dlp.deidentifyTemplates.delete', 'dlp.deidentifyTemplates.get', 'dlp.deidentifyTemplates.list', 'dlp.deidentifyTemplates.update', 'dlp.inspectTemplates.create', 'dlp.inspectTemplates.delete', 'dlp.inspectTemplates.get', 'dlp.inspectTemplates.list', 'dlp.inspectTemplates.update', 'dlp.jobTriggers.create', 'dlp.jobTriggers.delete', 'dlp.jobTriggers.get', 'dlp.jobTriggers.list', 'dlp.jobTriggers.update', 'dlp.jobs.cancel', 'dlp.jobs.create', 'dlp.jobs.delete', 'dlp.jobs.get', 'dlp.jobs.list', 'dlp.kms.encrypt', 'dlp.storedInfoTypes.create', 'dlp.storedInfoTypes.delete', 'dlp.storedInfoTypes.get', 'dlp.storedInfoTypes.list', 'dlp.storedInfoTypes.update', 'dns.changes.create', 'dns.changes.get', 'dns.changes.list', 'dns.dnsKeys.get', 'dns.dnsKeys.list', 'dns.managedZoneOperations.get', 'dns.managedZoneOperations.list', 'dns.managedZones.create', 'dns.managedZones.delete', 'dns.managedZones.get', 'dns.managedZones.list', 'dns.managedZones.update', 'dns.networks.bindPrivateDNSPolicy', 'dns.networks.bindPrivateDNSZone', 'dns.networks.targetWithPeeringZone', 'dns.policies.create', 'dns.policies.delete', 'dns.policies.get', 'dns.policies.getIamPolicy', 'dns.policies.list', 'dns.policies.setIamPolicy', 'dns.policies.update', 'dns.projects.get', 'dns.resourceRecordSets.create', 'dns.resourceRecordSets.delete', 'dns.resourceRecordSets.list', 'dns.resourceRecordSets.update', 'endpoints.portals.attachCustomDomain', 'endpoints.portals.detachCustomDomain', 'endpoints.portals.listCustomDomains', 'endpoints.portals.update', 'errorreporting.applications.list', 'errorreporting.errorEvents.create', 'errorreporting.errorEvents.delete', 'errorreporting.errorEvents.list', 'errorreporting.groupMetadata.get', 'errorreporting.groupMetadata.update', 'errorreporting.groups.list', 'file.instances.create', 'file.instances.delete', 'file.instances.get', 'file.instances.list', 'file.instances.restore', 'file.instances.update', 'file.locations.get', 'file.locations.list', 'file.operations.cancel', 'file.operations.delete', 'file.operations.get', 'file.operations.list', 'file.snapshots.create', 'file.snapshots.delete', 'file.snapshots.get', 'file.snapshots.list', 'file.snapshots.update', 'firebase.billingPlans.get', 'firebase.billingPlans.update', 'firebase.clients.create', 'firebase.clients.delete', 'firebase.clients.get', 'firebase.links.create', 'firebase.links.delete', 'firebase.links.list', 'firebase.links.update', 'firebase.projects.delete', 'firebase.projects.get', 'firebase.projects.update', 'firebaseabt.experimentresults.get', 'firebaseabt.experiments.create', 'firebaseabt.experiments.delete', 'firebaseabt.experiments.get', 'firebaseabt.experiments.list', 'firebaseabt.experiments.update', 'firebaseabt.projectmetadata.get', 'firebaseanalytics.resources.googleAnalyticsEdit', 'firebaseanalytics.resources.googleAnalyticsReadAndAnalyze', 'firebaseauth.configs.create', 'firebaseauth.configs.get', 'firebaseauth.configs.getHashConfig', 'firebaseauth.configs.update', 'firebaseauth.users.create', 'firebaseauth.users.createSession', 'firebaseauth.users.delete', 'firebaseauth.users.get', 'firebaseauth.users.sendEmail', 'firebaseauth.users.update', 'firebasecrash.issues.update', 'firebasecrash.reports.get', 'firebasecrashlytics.config.get', 'firebasecrashlytics.config.update', 'firebasecrashlytics.data.get', 'firebasecrashlytics.issues.get', 'firebasecrashlytics.issues.list', 'firebasecrashlytics.issues.update', 'firebasecrashlytics.sessions.get', 'firebasedatabase.instances.create', 'firebasedatabase.instances.get', 'firebasedatabase.instances.list', 'firebasedatabase.instances.update', 'firebasedynamiclinks.destinations.list', 'firebasedynamiclinks.destinations.update', 'firebasedynamiclinks.domains.create', 'firebasedynamiclinks.domains.delete', 'firebasedynamiclinks.domains.get', 'firebasedynamiclinks.domains.list', 'firebasedynamiclinks.domains.update', 'firebasedynamiclinks.links.create', 'firebasedynamiclinks.links.get', 'firebasedynamiclinks.links.list', 'firebasedynamiclinks.links.update', 'firebasedynamiclinks.stats.get', 'firebaseextensions.configs.create', 'firebaseextensions.configs.delete', 'firebaseextensions.configs.list', 'firebaseextensions.configs.update', 'firebasehosting.sites.create', 'firebasehosting.sites.delete', 'firebasehosting.sites.get', 'firebasehosting.sites.list', 'firebasehosting.sites.update', 'firebaseinappmessaging.campaigns.create', 'firebaseinappmessaging.campaigns.delete', 'firebaseinappmessaging.campaigns.get', 'firebaseinappmessaging.campaigns.list', 'firebaseinappmessaging.campaigns.update', 'firebaseml.compressionjobs.create', 'firebaseml.compressionjobs.delete', 'firebaseml.compressionjobs.get', 'firebaseml.compressionjobs.list', 'firebaseml.compressionjobs.start', 'firebaseml.compressionjobs.update', 'firebaseml.models.create', 'firebaseml.models.delete', 'firebaseml.models.get', 'firebaseml.models.list', 'firebaseml.modelversions.create', 'firebaseml.modelversions.get', 'firebaseml.modelversions.list', 'firebaseml.modelversions.update', 'firebasenotifications.messages.create', 'firebasenotifications.messages.delete', 'firebasenotifications.messages.get', 'firebasenotifications.messages.list', 'firebasenotifications.messages.update', 'firebaseperformance.config.create', 'firebaseperformance.config.delete', 'firebaseperformance.config.update', 'firebaseperformance.data.get', 'firebasepredictions.predictions.create', 'firebasepredictions.predictions.delete', 'firebasepredictions.predictions.list', 'firebasepredictions.predictions.update', 'firebaserules.releases.create', 'firebaserules.releases.delete', 'firebaserules.releases.get', 'firebaserules.releases.getExecutable', 'firebaserules.releases.list', 'firebaserules.releases.update', 'firebaserules.rulesets.create', 'firebaserules.rulesets.delete', 'firebaserules.rulesets.get', 'firebaserules.rulesets.list', 'firebaserules.rulesets.test', 'genomics.datasets.create', 'genomics.datasets.delete', 'genomics.datasets.get', 'genomics.datasets.getIamPolicy', 'genomics.datasets.list', 'genomics.datasets.setIamPolicy', 'genomics.datasets.update', 'genomics.operations.cancel', 'genomics.operations.create', 'genomics.operations.get', 'genomics.operations.list', 'healthcare.datasets.create', 'healthcare.datasets.deidentify', 'healthcare.datasets.delete', 'healthcare.datasets.get', 'healthcare.datasets.getIamPolicy', 'healthcare.datasets.list', 'healthcare.datasets.setIamPolicy', 'healthcare.datasets.update', 'healthcare.dicomStores.create', 'healthcare.dicomStores.delete', 'healthcare.dicomStores.dicomWebDelete', 'healthcare.dicomStores.dicomWebRead', 'healthcare.dicomStores.dicomWebWrite', 'healthcare.dicomStores.export', 'healthcare.dicomStores.get', 'healthcare.dicomStores.getIamPolicy', 'healthcare.dicomStores.import', 'healthcare.dicomStores.list', 'healthcare.dicomStores.setIamPolicy', 'healthcare.dicomStores.update', 'healthcare.fhirResources.create', 'healthcare.fhirResources.delete', 'healthcare.fhirResources.get', 'healthcare.fhirResources.patch', 'healthcare.fhirResources.purge', 'healthcare.fhirResources.update', 'healthcare.fhirStores.create', 'healthcare.fhirStores.delete', 'healthcare.fhirStores.export', 'healthcare.fhirStores.get', 'healthcare.fhirStores.getIamPolicy', 'healthcare.fhirStores.import', 'healthcare.fhirStores.list', 'healthcare.fhirStores.searchResources', 'healthcare.fhirStores.setIamPolicy', 'healthcare.fhirStores.update', 'healthcare.hl7V2Messages.create', 'healthcare.hl7V2Messages.delete', 'healthcare.hl7V2Messages.get', 'healthcare.hl7V2Messages.ingest', 'healthcare.hl7V2Messages.list', 'healthcare.hl7V2Messages.update', 'healthcare.hl7V2Stores.create', 'healthcare.hl7V2Stores.delete', 'healthcare.hl7V2Stores.get', 'healthcare.hl7V2Stores.getIamPolicy', 'healthcare.hl7V2Stores.list', 'healthcare.hl7V2Stores.setIamPolicy', 'healthcare.hl7V2Stores.update', 'healthcare.operations.cancel', 'healthcare.operations.get', 'healthcare.operations.list', 'iam.roles.create', 'iam.roles.delete', 'iam.roles.get', 'iam.roles.list', 'iam.roles.undelete', 'iam.roles.update', 'iam.serviceAccountKeys.create', 'iam.serviceAccountKeys.delete', 'iam.serviceAccountKeys.get', 'iam.serviceAccountKeys.list', 'iam.serviceAccounts.actAs', 'iam.serviceAccounts.create', 'iam.serviceAccounts.delete', 'iam.serviceAccounts.get', 'iam.serviceAccounts.getIamPolicy', 'iam.serviceAccounts.list', 'iam.serviceAccounts.setIamPolicy', 'iam.serviceAccounts.update', 'iap.tunnel.getIamPolicy', 'iap.tunnel.setIamPolicy', 'iap.tunnelInstances.accessViaIAP', 'iap.tunnelInstances.getIamPolicy', 'iap.tunnelInstances.setIamPolicy', 'iap.tunnelZones.getIamPolicy', 'iap.tunnelZones.setIamPolicy', 'iap.web.getIamPolicy', 'iap.web.setIamPolicy', 'iap.webServiceVersions.getIamPolicy', 'iap.webServiceVersions.setIamPolicy', 'iap.webServices.getIamPolicy', 'iap.webServices.setIamPolicy', 'iap.webTypes.getIamPolicy', 'iap.webTypes.setIamPolicy', 'logging.exclusions.create', 'logging.exclusions.delete', 'logging.exclusions.get', 'logging.exclusions.list', 'logging.exclusions.update', 'logging.logEntries.create', 'logging.logEntries.list', 'logging.logMetrics.create', 'logging.logMetrics.delete', 'logging.logMetrics.get', 'logging.logMetrics.list', 'logging.logMetrics.update', 'logging.logServiceIndexes.list', 'logging.logServices.list', 'logging.logs.delete', 'logging.logs.list', 'logging.privateLogEntries.list', 'logging.sinks.create', 'logging.sinks.delete', 'logging.sinks.get', 'logging.sinks.list', 'logging.sinks.update', 'logging.usage.get', 'managedidentities.domains.attachTrust', 'managedidentities.domains.create', 'managedidentities.domains.delete', 'managedidentities.domains.detachTrust', 'managedidentities.domains.get', 'managedidentities.domains.getIamPolicy', 'managedidentities.domains.list', 'managedidentities.domains.reconfigureTrust', 'managedidentities.domains.resetpassword', 'managedidentities.domains.setIamPolicy', 'managedidentities.domains.update', 'managedidentities.domains.validateTrust', 'managedidentities.locations.get', 'managedidentities.locations.list', 'managedidentities.operations.cancel', 'managedidentities.operations.delete', 'managedidentities.operations.get', 'managedidentities.operations.list', 'ml.jobs.cancel', 'ml.jobs.create', 'ml.jobs.get', 'ml.jobs.getIamPolicy', 'ml.jobs.list', 'ml.jobs.setIamPolicy', 'ml.jobs.update', 'ml.locations.get', 'ml.locations.list', 'ml.models.create', 'ml.models.delete', 'ml.models.get', 'ml.models.getIamPolicy', 'ml.models.list', 'ml.models.predict', 'ml.models.setIamPolicy', 'ml.models.update', 'ml.operations.cancel', 'ml.operations.get', 'ml.operations.list', 'ml.projects.getConfig', 'ml.versions.create', 'ml.versions.delete', 'ml.versions.get', 'ml.versions.list', 'ml.versions.predict', 'ml.versions.update', 'monitoring.alertPolicies.create', 'monitoring.alertPolicies.delete', 'monitoring.alertPolicies.get', 'monitoring.alertPolicies.list', 'monitoring.alertPolicies.update', 'monitoring.dashboards.create', 'monitoring.dashboards.delete', 'monitoring.dashboards.get', 'monitoring.dashboards.list', 'monitoring.dashboards.update', 'monitoring.groups.create', 'monitoring.groups.delete', 'monitoring.groups.get', 'monitoring.groups.list', 'monitoring.groups.update', 'monitoring.metricDescriptors.create', 'monitoring.metricDescriptors.delete', 'monitoring.metricDescriptors.get', 'monitoring.metricDescriptors.list', 'monitoring.monitoredResourceDescriptors.get', 'monitoring.monitoredResourceDescriptors.list', 'monitoring.notificationChannelDescriptors.get', 'monitoring.notificationChannelDescriptors.list', 'monitoring.notificationChannels.create', 'monitoring.notificationChannels.delete', 'monitoring.notificationChannels.get', 'monitoring.notificationChannels.getVerificationCode', 'monitoring.notificationChannels.list', 'monitoring.notificationChannels.sendVerificationCode', 'monitoring.notificationChannels.update', 'monitoring.notificationChannels.verify', 'monitoring.publicWidgets.create', 'monitoring.publicWidgets.delete', 'monitoring.publicWidgets.get', 'monitoring.publicWidgets.list', 'monitoring.publicWidgets.update', 'monitoring.timeSeries.create', 'monitoring.timeSeries.list', 'monitoring.uptimeCheckConfigs.create', 'monitoring.uptimeCheckConfigs.delete', 'monitoring.uptimeCheckConfigs.get', 'monitoring.uptimeCheckConfigs.list', 'monitoring.uptimeCheckConfigs.update', 'orgpolicy.policy.get', 'proximitybeacon.attachments.create', 'proximitybeacon.attachments.delete', 'proximitybeacon.attachments.get', 'proximitybeacon.attachments.list', 'proximitybeacon.beacons.attach', 'proximitybeacon.beacons.create', 'proximitybeacon.beacons.get', 'proximitybeacon.beacons.getIamPolicy', 'proximitybeacon.beacons.list', 'proximitybeacon.beacons.setIamPolicy', 'proximitybeacon.beacons.update', 'proximitybeacon.namespaces.create', 'proximitybeacon.namespaces.delete', 'proximitybeacon.namespaces.get', 'proximitybeacon.namespaces.getIamPolicy', 'proximitybeacon.namespaces.list', 'proximitybeacon.namespaces.setIamPolicy', 'proximitybeacon.namespaces.update', 'pubsub.snapshots.create', 'pubsub.snapshots.delete', 'pubsub.snapshots.get', 'pubsub.snapshots.getIamPolicy', 'pubsub.snapshots.list', 'pubsub.snapshots.seek', 'pubsub.snapshots.setIamPolicy', 'pubsub.snapshots.update', 'pubsub.subscriptions.consume', 'pubsub.subscriptions.create', 'pubsub.subscriptions.delete', 'pubsub.subscriptions.get', 'pubsub.subscriptions.getIamPolicy', 'pubsub.subscriptions.list', 'pubsub.subscriptions.setIamPolicy', 'pubsub.subscriptions.update', 'pubsub.topics.attachSubscription', 'pubsub.topics.create', 'pubsub.topics.delete', 'pubsub.topics.get', 'pubsub.topics.getIamPolicy', 'pubsub.topics.list', 'pubsub.topics.publish', 'pubsub.topics.setIamPolicy', 'pubsub.topics.update', 'pubsub.topics.updateTag', 'redis.instances.create', 'redis.instances.delete', 'redis.instances.export', 'redis.instances.get', 'redis.instances.import', 'redis.instances.list', 'redis.instances.update', 'redis.locations.get', 'redis.locations.list', 'redis.operations.cancel', 'redis.operations.delete', 'redis.operations.get', 'redis.operations.list', 'remotebuildexecution.actions.create', 'remotebuildexecution.actions.get', 'remotebuildexecution.actions.update', 'remotebuildexecution.blobs.create', 'remotebuildexecution.blobs.get', 'remotebuildexecution.botsessions.create', 'remotebuildexecution.botsessions.update', 'remotebuildexecution.instances.create', 'remotebuildexecution.instances.delete', 'remotebuildexecution.instances.get', 'remotebuildexecution.instances.list', 'remotebuildexecution.logstreams.create', 'remotebuildexecution.logstreams.get', 'remotebuildexecution.logstreams.update', 'remotebuildexecution.workerpools.create', 'remotebuildexecution.workerpools.delete', 'remotebuildexecution.workerpools.get', 'remotebuildexecution.workerpools.list', 'remotebuildexecution.workerpools.update', 'resourcemanager.projects.createBillingAssignment', 'resourcemanager.projects.delete', 'resourcemanager.projects.deleteBillingAssignment', 'resourcemanager.projects.get', 'resourcemanager.projects.getIamPolicy', 'resourcemanager.projects.setIamPolicy', 'resourcemanager.projects.undelete', 'resourcemanager.projects.update', 'resourcemanager.projects.updateLiens', 'run.configurations.get', 'run.configurations.list', 'run.locations.list', 'run.revisions.delete', 'run.revisions.get', 'run.revisions.list', 'run.routes.get', 'run.routes.invoke', 'run.routes.list', 'run.services.create', 'run.services.delete', 'run.services.get', 'run.services.getIamPolicy', 'run.services.list', 'run.services.setIamPolicy', 'run.services.update', 'runtimeconfig.configs.create', 'runtimeconfig.configs.delete', 'runtimeconfig.configs.get', 'runtimeconfig.configs.getIamPolicy', 'runtimeconfig.configs.list', 'runtimeconfig.configs.setIamPolicy', 'runtimeconfig.configs.update', 'runtimeconfig.operations.get', 'runtimeconfig.operations.list', 'runtimeconfig.variables.create', 'runtimeconfig.variables.delete', 'runtimeconfig.variables.get', 'runtimeconfig.variables.getIamPolicy', 'runtimeconfig.variables.list', 'runtimeconfig.variables.setIamPolicy', 'runtimeconfig.variables.update', 'runtimeconfig.variables.watch', 'runtimeconfig.waiters.create', 'runtimeconfig.waiters.delete', 'runtimeconfig.waiters.get', 'runtimeconfig.waiters.getIamPolicy', 'runtimeconfig.waiters.list', 'runtimeconfig.waiters.setIamPolicy', 'runtimeconfig.waiters.update', 'servicebroker.bindingoperations.get', 'servicebroker.bindingoperations.list', 'servicebroker.bindings.create', 'servicebroker.bindings.delete', 'servicebroker.bindings.get', 'servicebroker.bindings.getIamPolicy', 'servicebroker.bindings.list', 'servicebroker.bindings.setIamPolicy', 'servicebroker.catalogs.create', 'servicebroker.catalogs.delete', 'servicebroker.catalogs.get', 'servicebroker.catalogs.getIamPolicy', 'servicebroker.catalogs.list', 'servicebroker.catalogs.setIamPolicy', 'servicebroker.catalogs.validate', 'servicebroker.instanceoperations.get', 'servicebroker.instanceoperations.list', 'servicebroker.instances.create', 'servicebroker.instances.delete', 'servicebroker.instances.get', 'servicebroker.instances.getIamPolicy', 'servicebroker.instances.list', 'servicebroker.instances.setIamPolicy', 'servicebroker.instances.update', 'serviceconsumermanagement.consumers.get', 'serviceconsumermanagement.quota.get', 'serviceconsumermanagement.quota.update', 'serviceconsumermanagement.tenancyu.addResource', 'serviceconsumermanagement.tenancyu.create', 'serviceconsumermanagement.tenancyu.delete', 'serviceconsumermanagement.tenancyu.list', 'serviceconsumermanagement.tenancyu.removeResource', 'servicemanagement.services.bind', 'servicemanagement.services.check', 'servicemanagement.services.create', 'servicemanagement.services.delete', 'servicemanagement.services.get', 'servicemanagement.services.getIamPolicy', 'servicemanagement.services.list', 'servicemanagement.services.quota', 'servicemanagement.services.report', 'servicemanagement.services.setIamPolicy', 'servicemanagement.services.update', 'servicenetworking.operations.cancel', 'servicenetworking.operations.delete', 'servicenetworking.operations.get', 'servicenetworking.operations.list', 'servicenetworking.services.addPeering', 'servicenetworking.services.addSubnetwork', 'servicenetworking.services.get', 'serviceusage.apiKeys.create', 'serviceusage.apiKeys.delete', 'serviceusage.apiKeys.get', 'serviceusage.apiKeys.getProjectForKey', 'serviceusage.apiKeys.list', 'serviceusage.apiKeys.regenerate', 'serviceusage.apiKeys.revert', 'serviceusage.apiKeys.update', 'serviceusage.operations.cancel', 'serviceusage.operations.delete', 'serviceusage.operations.get', 'serviceusage.operations.list', 'serviceusage.quotas.get', 'serviceusage.quotas.update', 'serviceusage.services.disable', 'serviceusage.services.enable', 'serviceusage.services.get', 'serviceusage.services.list', 'serviceusage.services.use', 'source.repos.create', 'source.repos.delete', 'source.repos.get', 'source.repos.getIamPolicy', 'source.repos.getProjectConfig', 'source.repos.list', 'source.repos.setIamPolicy', 'source.repos.update', 'source.repos.updateProjectConfig', 'source.repos.updateRepoConfig', 'spanner.databaseOperations.cancel', 'spanner.databaseOperations.delete', 'spanner.databaseOperations.get', 'spanner.databaseOperations.list', 'spanner.databases.beginOrRollbackReadWriteTransaction', 'spanner.databases.beginReadOnlyTransaction', 'spanner.databases.create', 'spanner.databases.drop', 'spanner.databases.get', 'spanner.databases.getDdl', 'spanner.databases.getIamPolicy', 'spanner.databases.list', 'spanner.databases.read', 'spanner.databases.select', 'spanner.databases.setIamPolicy', 'spanner.databases.update', 'spanner.databases.updateDdl', 'spanner.databases.write', 'spanner.instanceConfigs.get', 'spanner.instanceConfigs.list', 'spanner.instanceOperations.cancel', 'spanner.instanceOperations.delete', 'spanner.instanceOperations.get', 'spanner.instanceOperations.list', 'spanner.instances.create', 'spanner.instances.delete', 'spanner.instances.get', 'spanner.instances.getIamPolicy', 'spanner.instances.list', 'spanner.instances.setIamPolicy', 'spanner.instances.update', 'spanner.sessions.create', 'spanner.sessions.delete', 'spanner.sessions.get', 'spanner.sessions.list', 'stackdriver.projects.edit', 'stackdriver.projects.get', 'stackdriver.resourceMetadata.write', 'storage.buckets.create', 'storage.buckets.delete', 'storage.buckets.list', 'storage.objects.create', 'storage.objects.delete', 'storage.objects.get', 'storage.objects.getIamPolicy', 'storage.objects.list', 'storage.objects.setIamPolicy', 'storage.objects.update', 'storage.hmacKeys.create', 'storage.hmacKeys.delete', 'storage.hmacKeys.get', 'storage.hmacKeys.list', 'storage.hmacKeys.update', 'storagetransfer.jobs.create', 'storagetransfer.jobs.delete', 'storagetransfer.jobs.get', 'storagetransfer.jobs.list', 'storagetransfer.jobs.update', 'storagetransfer.operations.cancel', 'storagetransfer.operations.get', 'storagetransfer.operations.list', 'storagetransfer.operations.pause', 'storagetransfer.operations.resume', 'storagetransfer.projects.getServiceAccount', 'subscribewithgoogledeveloper.tools.get', 'threatdetection.detectorSettings.clear', 'threatdetection.detectorSettings.get', 'threatdetection.detectorSettings.update', 'tpu.acceleratortypes.get', 'tpu.acceleratortypes.list', 'tpu.locations.get', 'tpu.locations.list', 'tpu.nodes.create', 'tpu.nodes.delete', 'tpu.nodes.get', 'tpu.nodes.list', 'tpu.nodes.reimage', 'tpu.nodes.reset', 'tpu.nodes.start', 'tpu.nodes.stop', 'tpu.operations.get', 'tpu.operations.list', 'tpu.tensorflowversions.get', 'tpu.tensorflowversions.list', 'vpcaccess.connectors.create', 'vpcaccess.connectors.delete', 'vpcaccess.connectors.get', 'vpcaccess.connectors.list', 'vpcaccess.connectors.use', 'vpcaccess.locations.list', 'vpcaccess.operations.get', 'vpcaccess.operations.list' ]
permissions = ['accessapproval.requests.approve', 'accessapproval.requests.dismiss', 'accessapproval.requests.get', 'accessapproval.requests.list', 'accessapproval.settings.get', 'accessapproval.settings.update', 'androidmanagement.enterprises.manage', 'appengine.applications.create', 'appengine.applications.get', 'appengine.applications.update', 'appengine.instances.delete', 'appengine.instances.get', 'appengine.instances.list', 'appengine.memcache.addKey', 'appengine.memcache.flush', 'appengine.memcache.get', 'appengine.memcache.getKey', 'appengine.memcache.list', 'appengine.memcache.update', 'appengine.operations.get', 'appengine.operations.list', 'appengine.runtimes.actAsAdmin', 'appengine.services.delete', 'appengine.services.get', 'appengine.services.list', 'appengine.services.update', 'appengine.versions.create', 'appengine.versions.delete', 'appengine.versions.get', 'appengine.versions.getFileContents', 'appengine.versions.list', 'appengine.versions.update', 'automl.annotationSpecs.create', 'automl.annotationSpecs.delete', 'automl.annotationSpecs.get', 'automl.annotationSpecs.list', 'automl.annotationSpecs.update', 'automl.annotations.approve', 'automl.annotations.create', 'automl.annotations.list', 'automl.annotations.manipulate', 'automl.annotations.reject', 'automl.columnSpecs.get', 'automl.columnSpecs.list', 'automl.columnSpecs.update', 'automl.datasets.create', 'automl.datasets.delete', 'automl.datasets.export', 'automl.datasets.get', 'automl.datasets.getIamPolicy', 'automl.datasets.import', 'automl.datasets.list', 'automl.datasets.setIamPolicy', 'automl.datasets.update', 'automl.examples.delete', 'automl.examples.get', 'automl.examples.list', 'automl.humanAnnotationTasks.create', 'automl.humanAnnotationTasks.delete', 'automl.humanAnnotationTasks.get', 'automl.humanAnnotationTasks.list', 'automl.locations.get', 'automl.locations.getIamPolicy', 'automl.locations.list', 'automl.locations.setIamPolicy', 'automl.modelEvaluations.create', 'automl.modelEvaluations.get', 'automl.modelEvaluations.list', 'automl.models.create', 'automl.models.delete', 'automl.models.deploy', 'automl.models.export', 'automl.models.get', 'automl.models.getIamPolicy', 'automl.models.list', 'automl.models.predict', 'automl.models.setIamPolicy', 'automl.models.undeploy', 'automl.operations.cancel', 'automl.operations.delete', 'automl.operations.get', 'automl.operations.list', 'automl.tableSpecs.get', 'automl.tableSpecs.list', 'automl.tableSpecs.update', 'automlrecommendations.apiKeys.create', 'automlrecommendations.apiKeys.delete', 'automlrecommendations.apiKeys.list', 'automlrecommendations.catalogItems.create', 'automlrecommendations.catalogItems.delete', 'automlrecommendations.catalogItems.get', 'automlrecommendations.catalogItems.list', 'automlrecommendations.catalogItems.update', 'automlrecommendations.catalogs.getStats', 'automlrecommendations.catalogs.list', 'automlrecommendations.eventStores.getStats', 'automlrecommendations.events.create', 'automlrecommendations.events.list', 'automlrecommendations.events.purge', 'automlrecommendations.placements.getStats', 'automlrecommendations.placements.list', 'automlrecommendations.recommendations.list', 'bigquery.config.get', 'bigquery.config.update', 'bigquery.connections.create', 'bigquery.connections.delete', 'bigquery.connections.get', 'bigquery.connections.getIamPolicy', 'bigquery.connections.list', 'bigquery.connections.setIamPolicy', 'bigquery.connections.update', 'bigquery.connections.use', 'bigquery.datasets.create', 'bigquery.datasets.delete', 'bigquery.datasets.get', 'bigquery.datasets.getIamPolicy', 'bigquery.datasets.setIamPolicy', 'bigquery.datasets.update', 'bigquery.datasets.updateTag', 'bigquery.jobs.create', 'bigquery.jobs.get', 'bigquery.jobs.list', 'bigquery.jobs.listAll', 'bigquery.jobs.update', 'bigquery.models.create', 'bigquery.models.delete', 'bigquery.models.getData', 'bigquery.models.getMetadata', 'bigquery.models.list', 'bigquery.models.updateData', 'bigquery.models.updateMetadata', 'bigquery.models.updateTag', 'bigquery.readsessions.create', 'bigquery.routines.create', 'bigquery.routines.delete', 'bigquery.routines.get', 'bigquery.routines.list', 'bigquery.routines.update', 'bigquery.savedqueries.create', 'bigquery.savedqueries.delete', 'bigquery.savedqueries.get', 'bigquery.savedqueries.list', 'bigquery.savedqueries.update', 'bigquery.transfers.get', 'bigquery.transfers.update', 'bigtable.appProfiles.create', 'bigtable.appProfiles.delete', 'bigtable.appProfiles.get', 'bigtable.appProfiles.list', 'bigtable.appProfiles.update', 'bigtable.clusters.create', 'bigtable.clusters.delete', 'bigtable.clusters.get', 'bigtable.clusters.list', 'bigtable.clusters.update', 'bigtable.instances.create', 'bigtable.instances.delete', 'bigtable.instances.get', 'bigtable.instances.getIamPolicy', 'bigtable.instances.list', 'bigtable.instances.setIamPolicy', 'bigtable.instances.update', 'bigtable.locations.list', 'bigtable.tables.checkConsistency', 'bigtable.tables.create', 'bigtable.tables.delete', 'bigtable.tables.generateConsistencyToken', 'bigtable.tables.get', 'bigtable.tables.list', 'bigtable.tables.mutateRows', 'bigtable.tables.readRows', 'bigtable.tables.sampleRowKeys', 'bigtable.tables.update', 'billing.resourceCosts.get', 'binaryauthorization.attestors.create', 'binaryauthorization.attestors.delete', 'binaryauthorization.attestors.get', 'binaryauthorization.attestors.getIamPolicy', 'binaryauthorization.attestors.list', 'binaryauthorization.attestors.setIamPolicy', 'binaryauthorization.attestors.update', 'binaryauthorization.attestors.verifyImageAttested', 'binaryauthorization.policy.get', 'binaryauthorization.policy.getIamPolicy', 'binaryauthorization.policy.setIamPolicy', 'binaryauthorization.policy.update', 'cloudasset.assets.exportIamPolicy', 'cloudasset.assets.exportResource', 'cloudbuild.builds.create', 'cloudbuild.builds.get', 'cloudbuild.builds.list', 'cloudbuild.builds.update', 'cloudconfig.configs.get', 'cloudconfig.configs.update', 'clouddebugger.breakpoints.create', 'clouddebugger.breakpoints.delete', 'clouddebugger.breakpoints.get', 'clouddebugger.breakpoints.list', 'clouddebugger.breakpoints.listActive', 'clouddebugger.breakpoints.update', 'clouddebugger.debuggees.create', 'clouddebugger.debuggees.list', 'cloudfunctions.functions.call', 'cloudfunctions.functions.create', 'cloudfunctions.functions.delete', 'cloudfunctions.functions.get', 'cloudfunctions.functions.getIamPolicy', 'cloudfunctions.functions.invoke', 'cloudfunctions.functions.list', 'cloudfunctions.functions.setIamPolicy', 'cloudfunctions.functions.sourceCodeGet', 'cloudfunctions.functions.sourceCodeSet', 'cloudfunctions.functions.update', 'cloudfunctions.locations.list', 'cloudfunctions.operations.get', 'cloudfunctions.operations.list', 'cloudiot.devices.bindGateway', 'cloudiot.devices.create', 'cloudiot.devices.delete', 'cloudiot.devices.get', 'cloudiot.devices.list', 'cloudiot.devices.sendCommand', 'cloudiot.devices.unbindGateway', 'cloudiot.devices.update', 'cloudiot.devices.updateConfig', 'cloudiot.registries.create', 'cloudiot.registries.delete', 'cloudiot.registries.get', 'cloudiot.registries.getIamPolicy', 'cloudiot.registries.list', 'cloudiot.registries.setIamPolicy', 'cloudiot.registries.update', 'cloudiottoken.tokensettings.get', 'cloudiottoken.tokensettings.update', 'cloudjobdiscovery.companies.create', 'cloudjobdiscovery.companies.delete', 'cloudjobdiscovery.companies.get', 'cloudjobdiscovery.companies.list', 'cloudjobdiscovery.companies.update', 'cloudjobdiscovery.events.create', 'cloudjobdiscovery.jobs.create', 'cloudjobdiscovery.jobs.delete', 'cloudjobdiscovery.jobs.get', 'cloudjobdiscovery.jobs.search', 'cloudjobdiscovery.jobs.update', 'cloudjobdiscovery.profiles.create', 'cloudjobdiscovery.profiles.delete', 'cloudjobdiscovery.profiles.get', 'cloudjobdiscovery.profiles.search', 'cloudjobdiscovery.profiles.update', 'cloudjobdiscovery.tenants.create', 'cloudjobdiscovery.tenants.delete', 'cloudjobdiscovery.tenants.get', 'cloudjobdiscovery.tenants.update', 'cloudjobdiscovery.tools.access', 'cloudkms.cryptoKeyVersions.create', 'cloudkms.cryptoKeyVersions.destroy', 'cloudkms.cryptoKeyVersions.get', 'cloudkms.cryptoKeyVersions.list', 'cloudkms.cryptoKeyVersions.restore', 'cloudkms.cryptoKeyVersions.update', 'cloudkms.cryptoKeyVersions.useToDecrypt', 'cloudkms.cryptoKeyVersions.useToEncrypt', 'cloudkms.cryptoKeyVersions.useToSign', 'cloudkms.cryptoKeyVersions.viewPublicKey', 'cloudkms.cryptoKeys.create', 'cloudkms.cryptoKeys.get', 'cloudkms.cryptoKeys.getIamPolicy', 'cloudkms.cryptoKeys.list', 'cloudkms.cryptoKeys.setIamPolicy', 'cloudkms.cryptoKeys.update', 'cloudkms.keyRings.create', 'cloudkms.keyRings.get', 'cloudkms.keyRings.getIamPolicy', 'cloudkms.keyRings.list', 'cloudkms.keyRings.setIamPolicy', 'cloudmessaging.messages.create', 'cloudmigration.velostrataendpoints.connect', 'cloudnotifications.activities.list', 'cloudprivatecatalog.targets.get', 'cloudprivatecatalogproducer.targets.associate', 'cloudprivatecatalogproducer.targets.unassociate', 'cloudprofiler.profiles.create', 'cloudprofiler.profiles.list', 'cloudprofiler.profiles.update', 'cloudscheduler.jobs.create', 'cloudscheduler.jobs.delete', 'cloudscheduler.jobs.enable', 'cloudscheduler.jobs.fullView', 'cloudscheduler.jobs.get', 'cloudscheduler.jobs.list', 'cloudscheduler.jobs.pause', 'cloudscheduler.jobs.run', 'cloudscheduler.jobs.update', 'cloudscheduler.locations.get', 'cloudscheduler.locations.list', 'cloudsecurityscanner.crawledurls.list', 'cloudsecurityscanner.results.get', 'cloudsecurityscanner.results.list', 'cloudsecurityscanner.scanruns.get', 'cloudsecurityscanner.scanruns.getSummary', 'cloudsecurityscanner.scanruns.list', 'cloudsecurityscanner.scanruns.stop', 'cloudsecurityscanner.scans.create', 'cloudsecurityscanner.scans.delete', 'cloudsecurityscanner.scans.get', 'cloudsecurityscanner.scans.list', 'cloudsecurityscanner.scans.run', 'cloudsecurityscanner.scans.update', 'cloudsql.backupRuns.create', 'cloudsql.backupRuns.delete', 'cloudsql.backupRuns.get', 'cloudsql.backupRuns.list', 'cloudsql.databases.create', 'cloudsql.databases.delete', 'cloudsql.databases.get', 'cloudsql.databases.list', 'cloudsql.databases.update', 'cloudsql.instances.addServerCa', 'cloudsql.instances.clone', 'cloudsql.instances.connect', 'cloudsql.instances.create', 'cloudsql.instances.delete', 'cloudsql.instances.demoteMaster', 'cloudsql.instances.export', 'cloudsql.instances.failover', 'cloudsql.instances.get', 'cloudsql.instances.import', 'cloudsql.instances.list', 'cloudsql.instances.listServerCas', 'cloudsql.instances.promoteReplica', 'cloudsql.instances.resetSslConfig', 'cloudsql.instances.restart', 'cloudsql.instances.restoreBackup', 'cloudsql.instances.rotateServerCa', 'cloudsql.instances.startReplica', 'cloudsql.instances.stopReplica', 'cloudsql.instances.truncateLog', 'cloudsql.instances.update', 'cloudsql.sslCerts.create', 'cloudsql.sslCerts.createEphemeral', 'cloudsql.sslCerts.delete', 'cloudsql.sslCerts.get', 'cloudsql.sslCerts.list', 'cloudsql.users.create', 'cloudsql.users.delete', 'cloudsql.users.list', 'cloudsql.users.update', 'cloudtasks.locations.get', 'cloudtasks.locations.list', 'cloudtasks.queues.create', 'cloudtasks.queues.delete', 'cloudtasks.queues.get', 'cloudtasks.queues.getIamPolicy', 'cloudtasks.queues.list', 'cloudtasks.queues.pause', 'cloudtasks.queues.purge', 'cloudtasks.queues.resume', 'cloudtasks.queues.setIamPolicy', 'cloudtasks.queues.update', 'cloudtasks.tasks.create', 'cloudtasks.tasks.delete', 'cloudtasks.tasks.fullView', 'cloudtasks.tasks.get', 'cloudtasks.tasks.list', 'cloudtasks.tasks.run', 'cloudtestservice.environmentcatalog.get', 'cloudtestservice.matrices.create', 'cloudtestservice.matrices.get', 'cloudtestservice.matrices.update', 'cloudtoolresults.executions.create', 'cloudtoolresults.executions.get', 'cloudtoolresults.executions.list', 'cloudtoolresults.executions.update', 'cloudtoolresults.histories.create', 'cloudtoolresults.histories.get', 'cloudtoolresults.histories.list', 'cloudtoolresults.settings.create', 'cloudtoolresults.settings.get', 'cloudtoolresults.settings.update', 'cloudtoolresults.steps.create', 'cloudtoolresults.steps.get', 'cloudtoolresults.steps.list', 'cloudtoolresults.steps.update', 'cloudtrace.insights.get', 'cloudtrace.insights.list', 'cloudtrace.stats.get', 'cloudtrace.tasks.create', 'cloudtrace.tasks.delete', 'cloudtrace.tasks.get', 'cloudtrace.tasks.list', 'cloudtrace.traces.get', 'cloudtrace.traces.list', 'cloudtrace.traces.patch', 'cloudtranslate.generalModels.batchPredict', 'cloudtranslate.generalModels.get', 'cloudtranslate.generalModels.predict', 'cloudtranslate.glossaries.batchPredict', 'cloudtranslate.glossaries.create', 'cloudtranslate.glossaries.delete', 'cloudtranslate.glossaries.get', 'cloudtranslate.glossaries.list', 'cloudtranslate.glossaries.predict', 'cloudtranslate.languageDetectionModels.predict', 'cloudtranslate.locations.get', 'cloudtranslate.locations.list', 'cloudtranslate.operations.cancel', 'cloudtranslate.operations.delete', 'cloudtranslate.operations.get', 'cloudtranslate.operations.list', 'cloudtranslate.operations.wait', 'composer.environments.create', 'composer.environments.delete', 'composer.environments.get', 'composer.environments.list', 'composer.environments.update', 'composer.imageversions.list', 'composer.operations.delete', 'composer.operations.get', 'composer.operations.list', 'compute.acceleratorTypes.get', 'compute.acceleratorTypes.list', 'compute.addresses.create', 'compute.addresses.createInternal', 'compute.addresses.delete', 'compute.addresses.deleteInternal', 'compute.addresses.get', 'compute.addresses.list', 'compute.addresses.setLabels', 'compute.addresses.use', 'compute.addresses.useInternal', 'compute.autoscalers.create', 'compute.autoscalers.delete', 'compute.autoscalers.get', 'compute.autoscalers.list', 'compute.autoscalers.update', 'compute.backendBuckets.create', 'compute.backendBuckets.delete', 'compute.backendBuckets.get', 'compute.backendBuckets.list', 'compute.backendBuckets.update', 'compute.backendBuckets.use', 'compute.backendServices.create', 'compute.backendServices.delete', 'compute.backendServices.get', 'compute.backendServices.list', 'compute.backendServices.setSecurityPolicy', 'compute.backendServices.update', 'compute.backendServices.use', 'compute.commitments.create', 'compute.commitments.get', 'compute.commitments.list', 'compute.diskTypes.get', 'compute.diskTypes.list', 'compute.disks.addResourcePolicies', 'compute.disks.create', 'compute.disks.createSnapshot', 'compute.disks.delete', 'compute.disks.get', 'compute.disks.getIamPolicy', 'compute.disks.list', 'compute.disks.removeResourcePolicies', 'compute.disks.resize', 'compute.disks.setIamPolicy', 'compute.disks.setLabels', 'compute.disks.update', 'compute.disks.use', 'compute.disks.useReadOnly', 'compute.firewalls.create', 'compute.firewalls.delete', 'compute.firewalls.get', 'compute.firewalls.list', 'compute.firewalls.update', 'compute.forwardingRules.create', 'compute.forwardingRules.delete', 'compute.forwardingRules.get', 'compute.forwardingRules.list', 'compute.forwardingRules.setLabels', 'compute.forwardingRules.setTarget', 'compute.globalAddresses.create', 'compute.globalAddresses.createInternal', 'compute.globalAddresses.delete', 'compute.globalAddresses.deleteInternal', 'compute.globalAddresses.get', 'compute.globalAddresses.list', 'compute.globalAddresses.setLabels', 'compute.globalAddresses.use', 'compute.globalForwardingRules.create', 'compute.globalForwardingRules.delete', 'compute.globalForwardingRules.get', 'compute.globalForwardingRules.list', 'compute.globalForwardingRules.setLabels', 'compute.globalForwardingRules.setTarget', 'compute.globalOperations.delete', 'compute.globalOperations.get', 'compute.globalOperations.getIamPolicy', 'compute.globalOperations.list', 'compute.globalOperations.setIamPolicy', 'compute.healthChecks.create', 'compute.healthChecks.delete', 'compute.healthChecks.get', 'compute.healthChecks.list', 'compute.healthChecks.update', 'compute.healthChecks.use', 'compute.healthChecks.useReadOnly', 'compute.httpHealthChecks.create', 'compute.httpHealthChecks.delete', 'compute.httpHealthChecks.get', 'compute.httpHealthChecks.list', 'compute.httpHealthChecks.update', 'compute.httpHealthChecks.use', 'compute.httpHealthChecks.useReadOnly', 'compute.httpsHealthChecks.create', 'compute.httpsHealthChecks.delete', 'compute.httpsHealthChecks.get', 'compute.httpsHealthChecks.list', 'compute.httpsHealthChecks.update', 'compute.httpsHealthChecks.use', 'compute.httpsHealthChecks.useReadOnly', 'compute.images.create', 'compute.images.delete', 'compute.images.deprecate', 'compute.images.get', 'compute.images.getFromFamily', 'compute.images.getIamPolicy', 'compute.images.list', 'compute.images.setIamPolicy', 'compute.images.setLabels', 'compute.images.update', 'compute.images.useReadOnly', 'compute.instanceGroupManagers.create', 'compute.instanceGroupManagers.delete', 'compute.instanceGroupManagers.get', 'compute.instanceGroupManagers.list', 'compute.instanceGroupManagers.update', 'compute.instanceGroupManagers.use', 'compute.instanceGroups.create', 'compute.instanceGroups.delete', 'compute.instanceGroups.get', 'compute.instanceGroups.list', 'compute.instanceGroups.update', 'compute.instanceGroups.use', 'compute.instanceTemplates.create', 'compute.instanceTemplates.delete', 'compute.instanceTemplates.get', 'compute.instanceTemplates.getIamPolicy', 'compute.instanceTemplates.list', 'compute.instanceTemplates.setIamPolicy', 'compute.instanceTemplates.useReadOnly', 'compute.instances.addAccessConfig', 'compute.instances.addMaintenancePolicies', 'compute.instances.attachDisk', 'compute.instances.create', 'compute.instances.delete', 'compute.instances.deleteAccessConfig', 'compute.instances.detachDisk', 'compute.instances.get', 'compute.instances.getGuestAttributes', 'compute.instances.getIamPolicy', 'compute.instances.getSerialPortOutput', 'compute.instances.getShieldedInstanceIdentity', 'compute.instances.getShieldedVmIdentity', 'compute.instances.list', 'compute.instances.listReferrers', 'compute.instances.osAdminLogin', 'compute.instances.osLogin', 'compute.instances.removeMaintenancePolicies', 'compute.instances.reset', 'compute.instances.resume', 'compute.instances.setDeletionProtection', 'compute.instances.setDiskAutoDelete', 'compute.instances.setIamPolicy', 'compute.instances.setLabels', 'compute.instances.setMachineResources', 'compute.instances.setMachineType', 'compute.instances.setMetadata', 'compute.instances.setMinCpuPlatform', 'compute.instances.setScheduling', 'compute.instances.setServiceAccount', 'compute.instances.setShieldedInstanceIntegrityPolicy', 'compute.instances.setShieldedVmIntegrityPolicy', 'compute.instances.setTags', 'compute.instances.start', 'compute.instances.startWithEncryptionKey', 'compute.instances.stop', 'compute.instances.suspend', 'compute.instances.update', 'compute.instances.updateAccessConfig', 'compute.instances.updateDisplayDevice', 'compute.instances.updateNetworkInterface', 'compute.instances.updateShieldedInstanceConfig', 'compute.instances.updateShieldedVmConfig', 'compute.instances.use', 'compute.interconnectAttachments.create', 'compute.interconnectAttachments.delete', 'compute.interconnectAttachments.get', 'compute.interconnectAttachments.list', 'compute.interconnectAttachments.setLabels', 'compute.interconnectAttachments.update', 'compute.interconnectAttachments.use', 'compute.interconnectLocations.get', 'compute.interconnectLocations.list', 'compute.interconnects.create', 'compute.interconnects.delete', 'compute.interconnects.get', 'compute.interconnects.list', 'compute.interconnects.setLabels', 'compute.interconnects.update', 'compute.interconnects.use', 'compute.licenseCodes.get', 'compute.licenseCodes.getIamPolicy', 'compute.licenseCodes.list', 'compute.licenseCodes.setIamPolicy', 'compute.licenseCodes.update', 'compute.licenseCodes.use', 'compute.licenses.create', 'compute.licenses.delete', 'compute.licenses.get', 'compute.licenses.getIamPolicy', 'compute.licenses.list', 'compute.licenses.setIamPolicy', 'compute.machineTypes.get', 'compute.machineTypes.list', 'compute.maintenancePolicies.create', 'compute.maintenancePolicies.delete', 'compute.maintenancePolicies.get', 'compute.maintenancePolicies.getIamPolicy', 'compute.maintenancePolicies.list', 'compute.maintenancePolicies.setIamPolicy', 'compute.maintenancePolicies.use', 'compute.networkEndpointGroups.attachNetworkEndpoints', 'compute.networkEndpointGroups.create', 'compute.networkEndpointGroups.delete', 'compute.networkEndpointGroups.detachNetworkEndpoints', 'compute.networkEndpointGroups.get', 'compute.networkEndpointGroups.getIamPolicy', 'compute.networkEndpointGroups.list', 'compute.networkEndpointGroups.setIamPolicy', 'compute.networkEndpointGroups.use', 'compute.networks.addPeering', 'compute.networks.create', 'compute.networks.delete', 'compute.networks.get', 'compute.networks.list', 'compute.networks.removePeering', 'compute.networks.switchToCustomMode', 'compute.networks.update', 'compute.networks.updatePeering', 'compute.networks.updatePolicy', 'compute.networks.use', 'compute.networks.useExternalIp', 'compute.nodeGroups.addNodes', 'compute.nodeGroups.create', 'compute.nodeGroups.delete', 'compute.nodeGroups.deleteNodes', 'compute.nodeGroups.get', 'compute.nodeGroups.getIamPolicy', 'compute.nodeGroups.list', 'compute.nodeGroups.setIamPolicy', 'compute.nodeGroups.setNodeTemplate', 'compute.nodeTemplates.create', 'compute.nodeTemplates.delete', 'compute.nodeTemplates.get', 'compute.nodeTemplates.getIamPolicy', 'compute.nodeTemplates.list', 'compute.nodeTemplates.setIamPolicy', 'compute.nodeTypes.get', 'compute.nodeTypes.list', 'compute.projects.get', 'compute.projects.setDefaultNetworkTier', 'compute.projects.setDefaultServiceAccount', 'compute.projects.setUsageExportBucket', 'compute.regionBackendServices.create', 'compute.regionBackendServices.delete', 'compute.regionBackendServices.get', 'compute.regionBackendServices.list', 'compute.regionBackendServices.setSecurityPolicy', 'compute.regionBackendServices.update', 'compute.regionBackendServices.use', 'compute.regionOperations.delete', 'compute.regionOperations.get', 'compute.regionOperations.getIamPolicy', 'compute.regionOperations.list', 'compute.regionOperations.setIamPolicy', 'compute.regions.get', 'compute.regions.list', 'compute.reservations.create', 'compute.reservations.delete', 'compute.reservations.get', 'compute.reservations.list', 'compute.reservations.resize', 'compute.resourcePolicies.create', 'compute.resourcePolicies.delete', 'compute.resourcePolicies.get', 'compute.resourcePolicies.list', 'compute.resourcePolicies.use', 'compute.routers.create', 'compute.routers.delete', 'compute.routers.get', 'compute.routers.list', 'compute.routers.update', 'compute.routers.use', 'compute.routes.create', 'compute.routes.delete', 'compute.routes.get', 'compute.routes.list', 'compute.securityPolicies.create', 'compute.securityPolicies.delete', 'compute.securityPolicies.get', 'compute.securityPolicies.getIamPolicy', 'compute.securityPolicies.list', 'compute.securityPolicies.setIamPolicy', 'compute.securityPolicies.update', 'compute.securityPolicies.use', 'compute.snapshots.create', 'compute.snapshots.delete', 'compute.snapshots.get', 'compute.snapshots.getIamPolicy', 'compute.snapshots.list', 'compute.snapshots.setIamPolicy', 'compute.snapshots.setLabels', 'compute.snapshots.useReadOnly', 'compute.sslCertificates.create', 'compute.sslCertificates.delete', 'compute.sslCertificates.get', 'compute.sslCertificates.list', 'compute.sslPolicies.create', 'compute.sslPolicies.delete', 'compute.sslPolicies.get', 'compute.sslPolicies.list', 'compute.sslPolicies.listAvailableFeatures', 'compute.sslPolicies.update', 'compute.sslPolicies.use', 'compute.subnetworks.create', 'compute.subnetworks.delete', 'compute.subnetworks.expandIpCidrRange', 'compute.subnetworks.get', 'compute.subnetworks.getIamPolicy', 'compute.subnetworks.list', 'compute.subnetworks.setIamPolicy', 'compute.subnetworks.setPrivateIpGoogleAccess', 'compute.subnetworks.update', 'compute.subnetworks.use', 'compute.subnetworks.useExternalIp', 'compute.targetHttpProxies.create', 'compute.targetHttpProxies.delete', 'compute.targetHttpProxies.get', 'compute.targetHttpProxies.list', 'compute.targetHttpProxies.setUrlMap', 'compute.targetHttpProxies.use', 'compute.targetHttpsProxies.create', 'compute.targetHttpsProxies.delete', 'compute.targetHttpsProxies.get', 'compute.targetHttpsProxies.list', 'compute.targetHttpsProxies.setSslCertificates', 'compute.targetHttpsProxies.setSslPolicy', 'compute.targetHttpsProxies.setUrlMap', 'compute.targetHttpsProxies.use', 'compute.targetInstances.create', 'compute.targetInstances.delete', 'compute.targetInstances.get', 'compute.targetInstances.list', 'compute.targetInstances.use', 'compute.targetPools.addHealthCheck', 'compute.targetPools.addInstance', 'compute.targetPools.create', 'compute.targetPools.delete', 'compute.targetPools.get', 'compute.targetPools.list', 'compute.targetPools.removeHealthCheck', 'compute.targetPools.removeInstance', 'compute.targetPools.update', 'compute.targetPools.use', 'compute.targetSslProxies.create', 'compute.targetSslProxies.delete', 'compute.targetSslProxies.get', 'compute.targetSslProxies.list', 'compute.targetSslProxies.setBackendService', 'compute.targetSslProxies.setProxyHeader', 'compute.targetSslProxies.setSslCertificates', 'compute.targetSslProxies.use', 'compute.targetTcpProxies.create', 'compute.targetTcpProxies.delete', 'compute.targetTcpProxies.get', 'compute.targetTcpProxies.list', 'compute.targetTcpProxies.update', 'compute.targetTcpProxies.use', 'compute.targetVpnGateways.create', 'compute.targetVpnGateways.delete', 'compute.targetVpnGateways.get', 'compute.targetVpnGateways.list', 'compute.targetVpnGateways.setLabels', 'compute.targetVpnGateways.use', 'compute.urlMaps.create', 'compute.urlMaps.delete', 'compute.urlMaps.get', 'compute.urlMaps.invalidateCache', 'compute.urlMaps.list', 'compute.urlMaps.update', 'compute.urlMaps.use', 'compute.urlMaps.validate', 'compute.vpnGateways.create', 'compute.vpnGateways.delete', 'compute.vpnGateways.get', 'compute.vpnGateways.list', 'compute.vpnGateways.setLabels', 'compute.vpnGateways.use', 'compute.vpnTunnels.create', 'compute.vpnTunnels.delete', 'compute.vpnTunnels.get', 'compute.vpnTunnels.list', 'compute.vpnTunnels.setLabels', 'compute.zoneOperations.delete', 'compute.zoneOperations.get', 'compute.zoneOperations.getIamPolicy', 'compute.zoneOperations.list', 'compute.zoneOperations.setIamPolicy', 'compute.zones.get', 'compute.zones.list', 'container.apiServices.create', 'container.apiServices.delete', 'container.apiServices.get', 'container.apiServices.list', 'container.apiServices.update', 'container.apiServices.updateStatus', 'container.backendConfigs.create', 'container.backendConfigs.delete', 'container.backendConfigs.get', 'container.backendConfigs.list', 'container.backendConfigs.update', 'container.bindings.create', 'container.bindings.delete', 'container.bindings.get', 'container.bindings.list', 'container.bindings.update', 'container.certificateSigningRequests.approve', 'container.certificateSigningRequests.create', 'container.certificateSigningRequests.delete', 'container.certificateSigningRequests.get', 'container.certificateSigningRequests.list', 'container.certificateSigningRequests.update', 'container.certificateSigningRequests.updateStatus', 'container.clusterRoleBindings.create', 'container.clusterRoleBindings.delete', 'container.clusterRoleBindings.get', 'container.clusterRoleBindings.list', 'container.clusterRoleBindings.update', 'container.clusterRoles.bind', 'container.clusterRoles.create', 'container.clusterRoles.delete', 'container.clusterRoles.get', 'container.clusterRoles.list', 'container.clusterRoles.update', 'container.clusters.create', 'container.clusters.delete', 'container.clusters.get', 'container.clusters.getCredentials', 'container.clusters.list', 'container.clusters.update', 'container.componentStatuses.get', 'container.componentStatuses.list', 'container.configMaps.create', 'container.configMaps.delete', 'container.configMaps.get', 'container.configMaps.list', 'container.configMaps.update', 'container.controllerRevisions.create', 'container.controllerRevisions.delete', 'container.controllerRevisions.get', 'container.controllerRevisions.list', 'container.controllerRevisions.update', 'container.cronJobs.create', 'container.cronJobs.delete', 'container.cronJobs.get', 'container.cronJobs.getStatus', 'container.cronJobs.list', 'container.cronJobs.update', 'container.cronJobs.updateStatus', 'container.customResourceDefinitions.create', 'container.customResourceDefinitions.delete', 'container.customResourceDefinitions.get', 'container.customResourceDefinitions.list', 'container.customResourceDefinitions.update', 'container.customResourceDefinitions.updateStatus', 'container.daemonSets.create', 'container.daemonSets.delete', 'container.daemonSets.get', 'container.daemonSets.getStatus', 'container.daemonSets.list', 'container.daemonSets.update', 'container.daemonSets.updateStatus', 'container.deployments.create', 'container.deployments.delete', 'container.deployments.get', 'container.deployments.getScale', 'container.deployments.getStatus', 'container.deployments.list', 'container.deployments.rollback', 'container.deployments.update', 'container.deployments.updateScale', 'container.deployments.updateStatus', 'container.endpoints.create', 'container.endpoints.delete', 'container.endpoints.get', 'container.endpoints.list', 'container.endpoints.update', 'container.events.create', 'container.events.delete', 'container.events.get', 'container.events.list', 'container.events.update', 'container.horizontalPodAutoscalers.create', 'container.horizontalPodAutoscalers.delete', 'container.horizontalPodAutoscalers.get', 'container.horizontalPodAutoscalers.getStatus', 'container.horizontalPodAutoscalers.list', 'container.horizontalPodAutoscalers.update', 'container.horizontalPodAutoscalers.updateStatus', 'container.ingresses.create', 'container.ingresses.delete', 'container.ingresses.get', 'container.ingresses.getStatus', 'container.ingresses.list', 'container.ingresses.update', 'container.ingresses.updateStatus', 'container.initializerConfigurations.create', 'container.initializerConfigurations.delete', 'container.initializerConfigurations.get', 'container.initializerConfigurations.list', 'container.initializerConfigurations.update', 'container.jobs.create', 'container.jobs.delete', 'container.jobs.get', 'container.jobs.getStatus', 'container.jobs.list', 'container.jobs.update', 'container.jobs.updateStatus', 'container.limitRanges.create', 'container.limitRanges.delete', 'container.limitRanges.get', 'container.limitRanges.list', 'container.limitRanges.update', 'container.localSubjectAccessReviews.create', 'container.localSubjectAccessReviews.list', 'container.namespaces.create', 'container.namespaces.delete', 'container.namespaces.get', 'container.namespaces.getStatus', 'container.namespaces.list', 'container.namespaces.update', 'container.namespaces.updateStatus', 'container.networkPolicies.create', 'container.networkPolicies.delete', 'container.networkPolicies.get', 'container.networkPolicies.list', 'container.networkPolicies.update', 'container.nodes.create', 'container.nodes.delete', 'container.nodes.get', 'container.nodes.getStatus', 'container.nodes.list', 'container.nodes.proxy', 'container.nodes.update', 'container.nodes.updateStatus', 'container.operations.get', 'container.operations.list', 'container.persistentVolumeClaims.create', 'container.persistentVolumeClaims.delete', 'container.persistentVolumeClaims.get', 'container.persistentVolumeClaims.getStatus', 'container.persistentVolumeClaims.list', 'container.persistentVolumeClaims.update', 'container.persistentVolumeClaims.updateStatus', 'container.persistentVolumes.create', 'container.persistentVolumes.delete', 'container.persistentVolumes.get', 'container.persistentVolumes.getStatus', 'container.persistentVolumes.list', 'container.persistentVolumes.update', 'container.persistentVolumes.updateStatus', 'container.petSets.create', 'container.petSets.delete', 'container.petSets.get', 'container.petSets.list', 'container.petSets.update', 'container.petSets.updateStatus', 'container.podDisruptionBudgets.create', 'container.podDisruptionBudgets.delete', 'container.podDisruptionBudgets.get', 'container.podDisruptionBudgets.getStatus', 'container.podDisruptionBudgets.list', 'container.podDisruptionBudgets.update', 'container.podDisruptionBudgets.updateStatus', 'container.podPresets.create', 'container.podPresets.delete', 'container.podPresets.get', 'container.podPresets.list', 'container.podPresets.update', 'container.podSecurityPolicies.create', 'container.podSecurityPolicies.delete', 'container.podSecurityPolicies.get', 'container.podSecurityPolicies.list', 'container.podSecurityPolicies.update', 'container.podSecurityPolicies.use', 'container.podTemplates.create', 'container.podTemplates.delete', 'container.podTemplates.get', 'container.podTemplates.list', 'container.podTemplates.update', 'container.pods.attach', 'container.pods.create', 'container.pods.delete', 'container.pods.evict', 'container.pods.exec', 'container.pods.get', 'container.pods.getLogs', 'container.pods.getStatus', 'container.pods.initialize', 'container.pods.list', 'container.pods.portForward', 'container.pods.proxy', 'container.pods.update', 'container.pods.updateStatus', 'container.replicaSets.create', 'container.replicaSets.delete', 'container.replicaSets.get', 'container.replicaSets.getScale', 'container.replicaSets.getStatus', 'container.replicaSets.list', 'container.replicaSets.update', 'container.replicaSets.updateScale', 'container.replicaSets.updateStatus', 'container.replicationControllers.create', 'container.replicationControllers.delete', 'container.replicationControllers.get', 'container.replicationControllers.getScale', 'container.replicationControllers.getStatus', 'container.replicationControllers.list', 'container.replicationControllers.update', 'container.replicationControllers.updateScale', 'container.replicationControllers.updateStatus', 'container.resourceQuotas.create', 'container.resourceQuotas.delete', 'container.resourceQuotas.get', 'container.resourceQuotas.getStatus', 'container.resourceQuotas.list', 'container.resourceQuotas.update', 'container.resourceQuotas.updateStatus', 'container.roleBindings.create', 'container.roleBindings.delete', 'container.roleBindings.get', 'container.roleBindings.list', 'container.roleBindings.update', 'container.roles.bind', 'container.roles.create', 'container.roles.delete', 'container.roles.get', 'container.roles.list', 'container.roles.update', 'container.scheduledJobs.create', 'container.scheduledJobs.delete', 'container.scheduledJobs.get', 'container.scheduledJobs.list', 'container.scheduledJobs.update', 'container.scheduledJobs.updateStatus', 'container.secrets.create', 'container.secrets.delete', 'container.secrets.get', 'container.secrets.list', 'container.secrets.update', 'container.selfSubjectAccessReviews.create', 'container.selfSubjectAccessReviews.list', 'container.serviceAccounts.create', 'container.serviceAccounts.delete', 'container.serviceAccounts.get', 'container.serviceAccounts.list', 'container.serviceAccounts.update', 'container.services.create', 'container.services.delete', 'container.services.get', 'container.services.getStatus', 'container.services.list', 'container.services.proxy', 'container.services.update', 'container.services.updateStatus', 'container.statefulSets.create', 'container.statefulSets.delete', 'container.statefulSets.get', 'container.statefulSets.getScale', 'container.statefulSets.getStatus', 'container.statefulSets.list', 'container.statefulSets.update', 'container.statefulSets.updateScale', 'container.statefulSets.updateStatus', 'container.storageClasses.create', 'container.storageClasses.delete', 'container.storageClasses.get', 'container.storageClasses.list', 'container.storageClasses.update', 'container.subjectAccessReviews.create', 'container.subjectAccessReviews.list', 'container.thirdPartyObjects.create', 'container.thirdPartyObjects.delete', 'container.thirdPartyObjects.get', 'container.thirdPartyObjects.list', 'container.thirdPartyObjects.update', 'container.thirdPartyResources.create', 'container.thirdPartyResources.delete', 'container.thirdPartyResources.get', 'container.thirdPartyResources.list', 'container.thirdPartyResources.update', 'container.tokenReviews.create', 'datacatalog.entries.create', 'datacatalog.entries.delete', 'datacatalog.entries.get', 'datacatalog.entries.getIamPolicy', 'datacatalog.entries.setIamPolicy', 'datacatalog.entries.update', 'datacatalog.entryGroups.create', 'datacatalog.entryGroups.delete', 'datacatalog.entryGroups.get', 'datacatalog.entryGroups.getIamPolicy', 'datacatalog.entryGroups.setIamPolicy', 'datacatalog.tagTemplates.create', 'datacatalog.tagTemplates.delete', 'datacatalog.tagTemplates.get', 'datacatalog.tagTemplates.getIamPolicy', 'datacatalog.tagTemplates.getTag', 'datacatalog.tagTemplates.setIamPolicy', 'datacatalog.tagTemplates.update', 'datacatalog.tagTemplates.use', 'dataflow.jobs.cancel', 'dataflow.jobs.create', 'dataflow.jobs.get', 'dataflow.jobs.list', 'dataflow.jobs.updateContents', 'dataflow.messages.list', 'dataflow.metrics.get', 'datafusion.instances.create', 'datafusion.instances.delete', 'datafusion.instances.get', 'datafusion.instances.getIamPolicy', 'datafusion.instances.list', 'datafusion.instances.restart', 'datafusion.instances.setIamPolicy', 'datafusion.instances.update', 'datafusion.instances.upgrade', 'datafusion.locations.get', 'datafusion.locations.list', 'datafusion.operations.cancel', 'datafusion.operations.get', 'datafusion.operations.list', 'datalabeling.annotateddatasets.delete', 'datalabeling.annotateddatasets.get', 'datalabeling.annotateddatasets.label', 'datalabeling.annotateddatasets.list', 'datalabeling.annotationspecsets.create', 'datalabeling.annotationspecsets.delete', 'datalabeling.annotationspecsets.get', 'datalabeling.annotationspecsets.list', 'datalabeling.dataitems.get', 'datalabeling.dataitems.list', 'datalabeling.datasets.create', 'datalabeling.datasets.delete', 'datalabeling.datasets.export', 'datalabeling.datasets.get', 'datalabeling.datasets.import', 'datalabeling.datasets.list', 'datalabeling.examples.get', 'datalabeling.examples.list', 'datalabeling.instructions.create', 'datalabeling.instructions.delete', 'datalabeling.instructions.get', 'datalabeling.instructions.list', 'datalabeling.operations.cancel', 'datalabeling.operations.get', 'datalabeling.operations.list', 'dataprep.projects.use', 'dataproc.agents.create', 'dataproc.agents.delete', 'dataproc.agents.get', 'dataproc.agents.list', 'dataproc.agents.update', 'dataproc.clusters.create', 'dataproc.clusters.delete', 'dataproc.clusters.get', 'dataproc.clusters.getIamPolicy', 'dataproc.clusters.list', 'dataproc.clusters.setIamPolicy', 'dataproc.clusters.update', 'dataproc.clusters.use', 'dataproc.jobs.cancel', 'dataproc.jobs.create', 'dataproc.jobs.delete', 'dataproc.jobs.get', 'dataproc.jobs.getIamPolicy', 'dataproc.jobs.list', 'dataproc.jobs.setIamPolicy', 'dataproc.jobs.update', 'dataproc.operations.cancel', 'dataproc.operations.delete', 'dataproc.operations.get', 'dataproc.operations.getIamPolicy', 'dataproc.operations.list', 'dataproc.operations.setIamPolicy', 'dataproc.tasks.lease', 'dataproc.tasks.listInvalidatedLeases', 'dataproc.tasks.reportStatus', 'dataproc.workflowTemplates.create', 'dataproc.workflowTemplates.delete', 'dataproc.workflowTemplates.get', 'dataproc.workflowTemplates.getIamPolicy', 'dataproc.workflowTemplates.instantiate', 'dataproc.workflowTemplates.instantiateInline', 'dataproc.workflowTemplates.list', 'dataproc.workflowTemplates.setIamPolicy', 'dataproc.workflowTemplates.update', 'datastore.databases.create', 'datastore.databases.delete', 'datastore.databases.export', 'datastore.databases.get', 'datastore.databases.getIamPolicy', 'datastore.databases.import', 'datastore.databases.list', 'datastore.databases.setIamPolicy', 'datastore.databases.update', 'datastore.entities.allocateIds', 'datastore.entities.create', 'datastore.entities.delete', 'datastore.entities.get', 'datastore.entities.list', 'datastore.entities.update', 'datastore.indexes.create', 'datastore.indexes.delete', 'datastore.indexes.get', 'datastore.indexes.list', 'datastore.indexes.update', 'datastore.locations.get', 'datastore.locations.list', 'datastore.namespaces.get', 'datastore.namespaces.getIamPolicy', 'datastore.namespaces.list', 'datastore.namespaces.setIamPolicy', 'datastore.operations.cancel', 'datastore.operations.delete', 'datastore.operations.get', 'datastore.operations.list', 'datastore.statistics.get', 'datastore.statistics.list', 'deploymentmanager.compositeTypes.create', 'deploymentmanager.compositeTypes.delete', 'deploymentmanager.compositeTypes.get', 'deploymentmanager.compositeTypes.list', 'deploymentmanager.compositeTypes.update', 'deploymentmanager.deployments.cancelPreview', 'deploymentmanager.deployments.create', 'deploymentmanager.deployments.delete', 'deploymentmanager.deployments.get', 'deploymentmanager.deployments.getIamPolicy', 'deploymentmanager.deployments.list', 'deploymentmanager.deployments.setIamPolicy', 'deploymentmanager.deployments.stop', 'deploymentmanager.deployments.update', 'deploymentmanager.manifests.get', 'deploymentmanager.manifests.list', 'deploymentmanager.operations.get', 'deploymentmanager.operations.list', 'deploymentmanager.resources.get', 'deploymentmanager.resources.list', 'deploymentmanager.typeProviders.create', 'deploymentmanager.typeProviders.delete', 'deploymentmanager.typeProviders.get', 'deploymentmanager.typeProviders.getType', 'deploymentmanager.typeProviders.list', 'deploymentmanager.typeProviders.listTypes', 'deploymentmanager.typeProviders.update', 'deploymentmanager.types.create', 'deploymentmanager.types.delete', 'deploymentmanager.types.get', 'deploymentmanager.types.list', 'deploymentmanager.types.update', 'dialogflow.agents.create', 'dialogflow.agents.delete', 'dialogflow.agents.export', 'dialogflow.agents.get', 'dialogflow.agents.import', 'dialogflow.agents.restore', 'dialogflow.agents.search', 'dialogflow.agents.train', 'dialogflow.agents.update', 'dialogflow.contexts.create', 'dialogflow.contexts.delete', 'dialogflow.contexts.get', 'dialogflow.contexts.list', 'dialogflow.contexts.update', 'dialogflow.entityTypes.create', 'dialogflow.entityTypes.createEntity', 'dialogflow.entityTypes.delete', 'dialogflow.entityTypes.deleteEntity', 'dialogflow.entityTypes.get', 'dialogflow.entityTypes.list', 'dialogflow.entityTypes.update', 'dialogflow.entityTypes.updateEntity', 'dialogflow.intents.create', 'dialogflow.intents.delete', 'dialogflow.intents.get', 'dialogflow.intents.list', 'dialogflow.intents.update', 'dialogflow.operations.get', 'dialogflow.sessionEntityTypes.create', 'dialogflow.sessionEntityTypes.delete', 'dialogflow.sessionEntityTypes.get', 'dialogflow.sessionEntityTypes.list', 'dialogflow.sessionEntityTypes.update', 'dialogflow.sessions.detectIntent', 'dialogflow.sessions.streamingDetectIntent', 'dlp.analyzeRiskTemplates.create', 'dlp.analyzeRiskTemplates.delete', 'dlp.analyzeRiskTemplates.get', 'dlp.analyzeRiskTemplates.list', 'dlp.analyzeRiskTemplates.update', 'dlp.deidentifyTemplates.create', 'dlp.deidentifyTemplates.delete', 'dlp.deidentifyTemplates.get', 'dlp.deidentifyTemplates.list', 'dlp.deidentifyTemplates.update', 'dlp.inspectTemplates.create', 'dlp.inspectTemplates.delete', 'dlp.inspectTemplates.get', 'dlp.inspectTemplates.list', 'dlp.inspectTemplates.update', 'dlp.jobTriggers.create', 'dlp.jobTriggers.delete', 'dlp.jobTriggers.get', 'dlp.jobTriggers.list', 'dlp.jobTriggers.update', 'dlp.jobs.cancel', 'dlp.jobs.create', 'dlp.jobs.delete', 'dlp.jobs.get', 'dlp.jobs.list', 'dlp.kms.encrypt', 'dlp.storedInfoTypes.create', 'dlp.storedInfoTypes.delete', 'dlp.storedInfoTypes.get', 'dlp.storedInfoTypes.list', 'dlp.storedInfoTypes.update', 'dns.changes.create', 'dns.changes.get', 'dns.changes.list', 'dns.dnsKeys.get', 'dns.dnsKeys.list', 'dns.managedZoneOperations.get', 'dns.managedZoneOperations.list', 'dns.managedZones.create', 'dns.managedZones.delete', 'dns.managedZones.get', 'dns.managedZones.list', 'dns.managedZones.update', 'dns.networks.bindPrivateDNSPolicy', 'dns.networks.bindPrivateDNSZone', 'dns.networks.targetWithPeeringZone', 'dns.policies.create', 'dns.policies.delete', 'dns.policies.get', 'dns.policies.getIamPolicy', 'dns.policies.list', 'dns.policies.setIamPolicy', 'dns.policies.update', 'dns.projects.get', 'dns.resourceRecordSets.create', 'dns.resourceRecordSets.delete', 'dns.resourceRecordSets.list', 'dns.resourceRecordSets.update', 'endpoints.portals.attachCustomDomain', 'endpoints.portals.detachCustomDomain', 'endpoints.portals.listCustomDomains', 'endpoints.portals.update', 'errorreporting.applications.list', 'errorreporting.errorEvents.create', 'errorreporting.errorEvents.delete', 'errorreporting.errorEvents.list', 'errorreporting.groupMetadata.get', 'errorreporting.groupMetadata.update', 'errorreporting.groups.list', 'file.instances.create', 'file.instances.delete', 'file.instances.get', 'file.instances.list', 'file.instances.restore', 'file.instances.update', 'file.locations.get', 'file.locations.list', 'file.operations.cancel', 'file.operations.delete', 'file.operations.get', 'file.operations.list', 'file.snapshots.create', 'file.snapshots.delete', 'file.snapshots.get', 'file.snapshots.list', 'file.snapshots.update', 'firebase.billingPlans.get', 'firebase.billingPlans.update', 'firebase.clients.create', 'firebase.clients.delete', 'firebase.clients.get', 'firebase.links.create', 'firebase.links.delete', 'firebase.links.list', 'firebase.links.update', 'firebase.projects.delete', 'firebase.projects.get', 'firebase.projects.update', 'firebaseabt.experimentresults.get', 'firebaseabt.experiments.create', 'firebaseabt.experiments.delete', 'firebaseabt.experiments.get', 'firebaseabt.experiments.list', 'firebaseabt.experiments.update', 'firebaseabt.projectmetadata.get', 'firebaseanalytics.resources.googleAnalyticsEdit', 'firebaseanalytics.resources.googleAnalyticsReadAndAnalyze', 'firebaseauth.configs.create', 'firebaseauth.configs.get', 'firebaseauth.configs.getHashConfig', 'firebaseauth.configs.update', 'firebaseauth.users.create', 'firebaseauth.users.createSession', 'firebaseauth.users.delete', 'firebaseauth.users.get', 'firebaseauth.users.sendEmail', 'firebaseauth.users.update', 'firebasecrash.issues.update', 'firebasecrash.reports.get', 'firebasecrashlytics.config.get', 'firebasecrashlytics.config.update', 'firebasecrashlytics.data.get', 'firebasecrashlytics.issues.get', 'firebasecrashlytics.issues.list', 'firebasecrashlytics.issues.update', 'firebasecrashlytics.sessions.get', 'firebasedatabase.instances.create', 'firebasedatabase.instances.get', 'firebasedatabase.instances.list', 'firebasedatabase.instances.update', 'firebasedynamiclinks.destinations.list', 'firebasedynamiclinks.destinations.update', 'firebasedynamiclinks.domains.create', 'firebasedynamiclinks.domains.delete', 'firebasedynamiclinks.domains.get', 'firebasedynamiclinks.domains.list', 'firebasedynamiclinks.domains.update', 'firebasedynamiclinks.links.create', 'firebasedynamiclinks.links.get', 'firebasedynamiclinks.links.list', 'firebasedynamiclinks.links.update', 'firebasedynamiclinks.stats.get', 'firebaseextensions.configs.create', 'firebaseextensions.configs.delete', 'firebaseextensions.configs.list', 'firebaseextensions.configs.update', 'firebasehosting.sites.create', 'firebasehosting.sites.delete', 'firebasehosting.sites.get', 'firebasehosting.sites.list', 'firebasehosting.sites.update', 'firebaseinappmessaging.campaigns.create', 'firebaseinappmessaging.campaigns.delete', 'firebaseinappmessaging.campaigns.get', 'firebaseinappmessaging.campaigns.list', 'firebaseinappmessaging.campaigns.update', 'firebaseml.compressionjobs.create', 'firebaseml.compressionjobs.delete', 'firebaseml.compressionjobs.get', 'firebaseml.compressionjobs.list', 'firebaseml.compressionjobs.start', 'firebaseml.compressionjobs.update', 'firebaseml.models.create', 'firebaseml.models.delete', 'firebaseml.models.get', 'firebaseml.models.list', 'firebaseml.modelversions.create', 'firebaseml.modelversions.get', 'firebaseml.modelversions.list', 'firebaseml.modelversions.update', 'firebasenotifications.messages.create', 'firebasenotifications.messages.delete', 'firebasenotifications.messages.get', 'firebasenotifications.messages.list', 'firebasenotifications.messages.update', 'firebaseperformance.config.create', 'firebaseperformance.config.delete', 'firebaseperformance.config.update', 'firebaseperformance.data.get', 'firebasepredictions.predictions.create', 'firebasepredictions.predictions.delete', 'firebasepredictions.predictions.list', 'firebasepredictions.predictions.update', 'firebaserules.releases.create', 'firebaserules.releases.delete', 'firebaserules.releases.get', 'firebaserules.releases.getExecutable', 'firebaserules.releases.list', 'firebaserules.releases.update', 'firebaserules.rulesets.create', 'firebaserules.rulesets.delete', 'firebaserules.rulesets.get', 'firebaserules.rulesets.list', 'firebaserules.rulesets.test', 'genomics.datasets.create', 'genomics.datasets.delete', 'genomics.datasets.get', 'genomics.datasets.getIamPolicy', 'genomics.datasets.list', 'genomics.datasets.setIamPolicy', 'genomics.datasets.update', 'genomics.operations.cancel', 'genomics.operations.create', 'genomics.operations.get', 'genomics.operations.list', 'healthcare.datasets.create', 'healthcare.datasets.deidentify', 'healthcare.datasets.delete', 'healthcare.datasets.get', 'healthcare.datasets.getIamPolicy', 'healthcare.datasets.list', 'healthcare.datasets.setIamPolicy', 'healthcare.datasets.update', 'healthcare.dicomStores.create', 'healthcare.dicomStores.delete', 'healthcare.dicomStores.dicomWebDelete', 'healthcare.dicomStores.dicomWebRead', 'healthcare.dicomStores.dicomWebWrite', 'healthcare.dicomStores.export', 'healthcare.dicomStores.get', 'healthcare.dicomStores.getIamPolicy', 'healthcare.dicomStores.import', 'healthcare.dicomStores.list', 'healthcare.dicomStores.setIamPolicy', 'healthcare.dicomStores.update', 'healthcare.fhirResources.create', 'healthcare.fhirResources.delete', 'healthcare.fhirResources.get', 'healthcare.fhirResources.patch', 'healthcare.fhirResources.purge', 'healthcare.fhirResources.update', 'healthcare.fhirStores.create', 'healthcare.fhirStores.delete', 'healthcare.fhirStores.export', 'healthcare.fhirStores.get', 'healthcare.fhirStores.getIamPolicy', 'healthcare.fhirStores.import', 'healthcare.fhirStores.list', 'healthcare.fhirStores.searchResources', 'healthcare.fhirStores.setIamPolicy', 'healthcare.fhirStores.update', 'healthcare.hl7V2Messages.create', 'healthcare.hl7V2Messages.delete', 'healthcare.hl7V2Messages.get', 'healthcare.hl7V2Messages.ingest', 'healthcare.hl7V2Messages.list', 'healthcare.hl7V2Messages.update', 'healthcare.hl7V2Stores.create', 'healthcare.hl7V2Stores.delete', 'healthcare.hl7V2Stores.get', 'healthcare.hl7V2Stores.getIamPolicy', 'healthcare.hl7V2Stores.list', 'healthcare.hl7V2Stores.setIamPolicy', 'healthcare.hl7V2Stores.update', 'healthcare.operations.cancel', 'healthcare.operations.get', 'healthcare.operations.list', 'iam.roles.create', 'iam.roles.delete', 'iam.roles.get', 'iam.roles.list', 'iam.roles.undelete', 'iam.roles.update', 'iam.serviceAccountKeys.create', 'iam.serviceAccountKeys.delete', 'iam.serviceAccountKeys.get', 'iam.serviceAccountKeys.list', 'iam.serviceAccounts.actAs', 'iam.serviceAccounts.create', 'iam.serviceAccounts.delete', 'iam.serviceAccounts.get', 'iam.serviceAccounts.getIamPolicy', 'iam.serviceAccounts.list', 'iam.serviceAccounts.setIamPolicy', 'iam.serviceAccounts.update', 'iap.tunnel.getIamPolicy', 'iap.tunnel.setIamPolicy', 'iap.tunnelInstances.accessViaIAP', 'iap.tunnelInstances.getIamPolicy', 'iap.tunnelInstances.setIamPolicy', 'iap.tunnelZones.getIamPolicy', 'iap.tunnelZones.setIamPolicy', 'iap.web.getIamPolicy', 'iap.web.setIamPolicy', 'iap.webServiceVersions.getIamPolicy', 'iap.webServiceVersions.setIamPolicy', 'iap.webServices.getIamPolicy', 'iap.webServices.setIamPolicy', 'iap.webTypes.getIamPolicy', 'iap.webTypes.setIamPolicy', 'logging.exclusions.create', 'logging.exclusions.delete', 'logging.exclusions.get', 'logging.exclusions.list', 'logging.exclusions.update', 'logging.logEntries.create', 'logging.logEntries.list', 'logging.logMetrics.create', 'logging.logMetrics.delete', 'logging.logMetrics.get', 'logging.logMetrics.list', 'logging.logMetrics.update', 'logging.logServiceIndexes.list', 'logging.logServices.list', 'logging.logs.delete', 'logging.logs.list', 'logging.privateLogEntries.list', 'logging.sinks.create', 'logging.sinks.delete', 'logging.sinks.get', 'logging.sinks.list', 'logging.sinks.update', 'logging.usage.get', 'managedidentities.domains.attachTrust', 'managedidentities.domains.create', 'managedidentities.domains.delete', 'managedidentities.domains.detachTrust', 'managedidentities.domains.get', 'managedidentities.domains.getIamPolicy', 'managedidentities.domains.list', 'managedidentities.domains.reconfigureTrust', 'managedidentities.domains.resetpassword', 'managedidentities.domains.setIamPolicy', 'managedidentities.domains.update', 'managedidentities.domains.validateTrust', 'managedidentities.locations.get', 'managedidentities.locations.list', 'managedidentities.operations.cancel', 'managedidentities.operations.delete', 'managedidentities.operations.get', 'managedidentities.operations.list', 'ml.jobs.cancel', 'ml.jobs.create', 'ml.jobs.get', 'ml.jobs.getIamPolicy', 'ml.jobs.list', 'ml.jobs.setIamPolicy', 'ml.jobs.update', 'ml.locations.get', 'ml.locations.list', 'ml.models.create', 'ml.models.delete', 'ml.models.get', 'ml.models.getIamPolicy', 'ml.models.list', 'ml.models.predict', 'ml.models.setIamPolicy', 'ml.models.update', 'ml.operations.cancel', 'ml.operations.get', 'ml.operations.list', 'ml.projects.getConfig', 'ml.versions.create', 'ml.versions.delete', 'ml.versions.get', 'ml.versions.list', 'ml.versions.predict', 'ml.versions.update', 'monitoring.alertPolicies.create', 'monitoring.alertPolicies.delete', 'monitoring.alertPolicies.get', 'monitoring.alertPolicies.list', 'monitoring.alertPolicies.update', 'monitoring.dashboards.create', 'monitoring.dashboards.delete', 'monitoring.dashboards.get', 'monitoring.dashboards.list', 'monitoring.dashboards.update', 'monitoring.groups.create', 'monitoring.groups.delete', 'monitoring.groups.get', 'monitoring.groups.list', 'monitoring.groups.update', 'monitoring.metricDescriptors.create', 'monitoring.metricDescriptors.delete', 'monitoring.metricDescriptors.get', 'monitoring.metricDescriptors.list', 'monitoring.monitoredResourceDescriptors.get', 'monitoring.monitoredResourceDescriptors.list', 'monitoring.notificationChannelDescriptors.get', 'monitoring.notificationChannelDescriptors.list', 'monitoring.notificationChannels.create', 'monitoring.notificationChannels.delete', 'monitoring.notificationChannels.get', 'monitoring.notificationChannels.getVerificationCode', 'monitoring.notificationChannels.list', 'monitoring.notificationChannels.sendVerificationCode', 'monitoring.notificationChannels.update', 'monitoring.notificationChannels.verify', 'monitoring.publicWidgets.create', 'monitoring.publicWidgets.delete', 'monitoring.publicWidgets.get', 'monitoring.publicWidgets.list', 'monitoring.publicWidgets.update', 'monitoring.timeSeries.create', 'monitoring.timeSeries.list', 'monitoring.uptimeCheckConfigs.create', 'monitoring.uptimeCheckConfigs.delete', 'monitoring.uptimeCheckConfigs.get', 'monitoring.uptimeCheckConfigs.list', 'monitoring.uptimeCheckConfigs.update', 'orgpolicy.policy.get', 'proximitybeacon.attachments.create', 'proximitybeacon.attachments.delete', 'proximitybeacon.attachments.get', 'proximitybeacon.attachments.list', 'proximitybeacon.beacons.attach', 'proximitybeacon.beacons.create', 'proximitybeacon.beacons.get', 'proximitybeacon.beacons.getIamPolicy', 'proximitybeacon.beacons.list', 'proximitybeacon.beacons.setIamPolicy', 'proximitybeacon.beacons.update', 'proximitybeacon.namespaces.create', 'proximitybeacon.namespaces.delete', 'proximitybeacon.namespaces.get', 'proximitybeacon.namespaces.getIamPolicy', 'proximitybeacon.namespaces.list', 'proximitybeacon.namespaces.setIamPolicy', 'proximitybeacon.namespaces.update', 'pubsub.snapshots.create', 'pubsub.snapshots.delete', 'pubsub.snapshots.get', 'pubsub.snapshots.getIamPolicy', 'pubsub.snapshots.list', 'pubsub.snapshots.seek', 'pubsub.snapshots.setIamPolicy', 'pubsub.snapshots.update', 'pubsub.subscriptions.consume', 'pubsub.subscriptions.create', 'pubsub.subscriptions.delete', 'pubsub.subscriptions.get', 'pubsub.subscriptions.getIamPolicy', 'pubsub.subscriptions.list', 'pubsub.subscriptions.setIamPolicy', 'pubsub.subscriptions.update', 'pubsub.topics.attachSubscription', 'pubsub.topics.create', 'pubsub.topics.delete', 'pubsub.topics.get', 'pubsub.topics.getIamPolicy', 'pubsub.topics.list', 'pubsub.topics.publish', 'pubsub.topics.setIamPolicy', 'pubsub.topics.update', 'pubsub.topics.updateTag', 'redis.instances.create', 'redis.instances.delete', 'redis.instances.export', 'redis.instances.get', 'redis.instances.import', 'redis.instances.list', 'redis.instances.update', 'redis.locations.get', 'redis.locations.list', 'redis.operations.cancel', 'redis.operations.delete', 'redis.operations.get', 'redis.operations.list', 'remotebuildexecution.actions.create', 'remotebuildexecution.actions.get', 'remotebuildexecution.actions.update', 'remotebuildexecution.blobs.create', 'remotebuildexecution.blobs.get', 'remotebuildexecution.botsessions.create', 'remotebuildexecution.botsessions.update', 'remotebuildexecution.instances.create', 'remotebuildexecution.instances.delete', 'remotebuildexecution.instances.get', 'remotebuildexecution.instances.list', 'remotebuildexecution.logstreams.create', 'remotebuildexecution.logstreams.get', 'remotebuildexecution.logstreams.update', 'remotebuildexecution.workerpools.create', 'remotebuildexecution.workerpools.delete', 'remotebuildexecution.workerpools.get', 'remotebuildexecution.workerpools.list', 'remotebuildexecution.workerpools.update', 'resourcemanager.projects.createBillingAssignment', 'resourcemanager.projects.delete', 'resourcemanager.projects.deleteBillingAssignment', 'resourcemanager.projects.get', 'resourcemanager.projects.getIamPolicy', 'resourcemanager.projects.setIamPolicy', 'resourcemanager.projects.undelete', 'resourcemanager.projects.update', 'resourcemanager.projects.updateLiens', 'run.configurations.get', 'run.configurations.list', 'run.locations.list', 'run.revisions.delete', 'run.revisions.get', 'run.revisions.list', 'run.routes.get', 'run.routes.invoke', 'run.routes.list', 'run.services.create', 'run.services.delete', 'run.services.get', 'run.services.getIamPolicy', 'run.services.list', 'run.services.setIamPolicy', 'run.services.update', 'runtimeconfig.configs.create', 'runtimeconfig.configs.delete', 'runtimeconfig.configs.get', 'runtimeconfig.configs.getIamPolicy', 'runtimeconfig.configs.list', 'runtimeconfig.configs.setIamPolicy', 'runtimeconfig.configs.update', 'runtimeconfig.operations.get', 'runtimeconfig.operations.list', 'runtimeconfig.variables.create', 'runtimeconfig.variables.delete', 'runtimeconfig.variables.get', 'runtimeconfig.variables.getIamPolicy', 'runtimeconfig.variables.list', 'runtimeconfig.variables.setIamPolicy', 'runtimeconfig.variables.update', 'runtimeconfig.variables.watch', 'runtimeconfig.waiters.create', 'runtimeconfig.waiters.delete', 'runtimeconfig.waiters.get', 'runtimeconfig.waiters.getIamPolicy', 'runtimeconfig.waiters.list', 'runtimeconfig.waiters.setIamPolicy', 'runtimeconfig.waiters.update', 'servicebroker.bindingoperations.get', 'servicebroker.bindingoperations.list', 'servicebroker.bindings.create', 'servicebroker.bindings.delete', 'servicebroker.bindings.get', 'servicebroker.bindings.getIamPolicy', 'servicebroker.bindings.list', 'servicebroker.bindings.setIamPolicy', 'servicebroker.catalogs.create', 'servicebroker.catalogs.delete', 'servicebroker.catalogs.get', 'servicebroker.catalogs.getIamPolicy', 'servicebroker.catalogs.list', 'servicebroker.catalogs.setIamPolicy', 'servicebroker.catalogs.validate', 'servicebroker.instanceoperations.get', 'servicebroker.instanceoperations.list', 'servicebroker.instances.create', 'servicebroker.instances.delete', 'servicebroker.instances.get', 'servicebroker.instances.getIamPolicy', 'servicebroker.instances.list', 'servicebroker.instances.setIamPolicy', 'servicebroker.instances.update', 'serviceconsumermanagement.consumers.get', 'serviceconsumermanagement.quota.get', 'serviceconsumermanagement.quota.update', 'serviceconsumermanagement.tenancyu.addResource', 'serviceconsumermanagement.tenancyu.create', 'serviceconsumermanagement.tenancyu.delete', 'serviceconsumermanagement.tenancyu.list', 'serviceconsumermanagement.tenancyu.removeResource', 'servicemanagement.services.bind', 'servicemanagement.services.check', 'servicemanagement.services.create', 'servicemanagement.services.delete', 'servicemanagement.services.get', 'servicemanagement.services.getIamPolicy', 'servicemanagement.services.list', 'servicemanagement.services.quota', 'servicemanagement.services.report', 'servicemanagement.services.setIamPolicy', 'servicemanagement.services.update', 'servicenetworking.operations.cancel', 'servicenetworking.operations.delete', 'servicenetworking.operations.get', 'servicenetworking.operations.list', 'servicenetworking.services.addPeering', 'servicenetworking.services.addSubnetwork', 'servicenetworking.services.get', 'serviceusage.apiKeys.create', 'serviceusage.apiKeys.delete', 'serviceusage.apiKeys.get', 'serviceusage.apiKeys.getProjectForKey', 'serviceusage.apiKeys.list', 'serviceusage.apiKeys.regenerate', 'serviceusage.apiKeys.revert', 'serviceusage.apiKeys.update', 'serviceusage.operations.cancel', 'serviceusage.operations.delete', 'serviceusage.operations.get', 'serviceusage.operations.list', 'serviceusage.quotas.get', 'serviceusage.quotas.update', 'serviceusage.services.disable', 'serviceusage.services.enable', 'serviceusage.services.get', 'serviceusage.services.list', 'serviceusage.services.use', 'source.repos.create', 'source.repos.delete', 'source.repos.get', 'source.repos.getIamPolicy', 'source.repos.getProjectConfig', 'source.repos.list', 'source.repos.setIamPolicy', 'source.repos.update', 'source.repos.updateProjectConfig', 'source.repos.updateRepoConfig', 'spanner.databaseOperations.cancel', 'spanner.databaseOperations.delete', 'spanner.databaseOperations.get', 'spanner.databaseOperations.list', 'spanner.databases.beginOrRollbackReadWriteTransaction', 'spanner.databases.beginReadOnlyTransaction', 'spanner.databases.create', 'spanner.databases.drop', 'spanner.databases.get', 'spanner.databases.getDdl', 'spanner.databases.getIamPolicy', 'spanner.databases.list', 'spanner.databases.read', 'spanner.databases.select', 'spanner.databases.setIamPolicy', 'spanner.databases.update', 'spanner.databases.updateDdl', 'spanner.databases.write', 'spanner.instanceConfigs.get', 'spanner.instanceConfigs.list', 'spanner.instanceOperations.cancel', 'spanner.instanceOperations.delete', 'spanner.instanceOperations.get', 'spanner.instanceOperations.list', 'spanner.instances.create', 'spanner.instances.delete', 'spanner.instances.get', 'spanner.instances.getIamPolicy', 'spanner.instances.list', 'spanner.instances.setIamPolicy', 'spanner.instances.update', 'spanner.sessions.create', 'spanner.sessions.delete', 'spanner.sessions.get', 'spanner.sessions.list', 'stackdriver.projects.edit', 'stackdriver.projects.get', 'stackdriver.resourceMetadata.write', 'storage.buckets.create', 'storage.buckets.delete', 'storage.buckets.list', 'storage.objects.create', 'storage.objects.delete', 'storage.objects.get', 'storage.objects.getIamPolicy', 'storage.objects.list', 'storage.objects.setIamPolicy', 'storage.objects.update', 'storage.hmacKeys.create', 'storage.hmacKeys.delete', 'storage.hmacKeys.get', 'storage.hmacKeys.list', 'storage.hmacKeys.update', 'storagetransfer.jobs.create', 'storagetransfer.jobs.delete', 'storagetransfer.jobs.get', 'storagetransfer.jobs.list', 'storagetransfer.jobs.update', 'storagetransfer.operations.cancel', 'storagetransfer.operations.get', 'storagetransfer.operations.list', 'storagetransfer.operations.pause', 'storagetransfer.operations.resume', 'storagetransfer.projects.getServiceAccount', 'subscribewithgoogledeveloper.tools.get', 'threatdetection.detectorSettings.clear', 'threatdetection.detectorSettings.get', 'threatdetection.detectorSettings.update', 'tpu.acceleratortypes.get', 'tpu.acceleratortypes.list', 'tpu.locations.get', 'tpu.locations.list', 'tpu.nodes.create', 'tpu.nodes.delete', 'tpu.nodes.get', 'tpu.nodes.list', 'tpu.nodes.reimage', 'tpu.nodes.reset', 'tpu.nodes.start', 'tpu.nodes.stop', 'tpu.operations.get', 'tpu.operations.list', 'tpu.tensorflowversions.get', 'tpu.tensorflowversions.list', 'vpcaccess.connectors.create', 'vpcaccess.connectors.delete', 'vpcaccess.connectors.get', 'vpcaccess.connectors.list', 'vpcaccess.connectors.use', 'vpcaccess.locations.list', 'vpcaccess.operations.get', 'vpcaccess.operations.list']
ALL_BLUE_MOUNTAINS_SERVICES = range(9833, 9848) INBOUND_BLUE_MOUNTAINS_SERVICES = (9833, 9835, 9838, 9840, 9841, 9843, 9844, 9847) YELLOW_LINE_SERVICES = [9901, 9903, 9904, 9906, 9908, 9909, 9911, 9964, 9965, 9966, 9967, 9968, 9969, 9972, 9973, 9974] # 9847 has a hornsby to springwood service thrown in for good measure :-( #INBOUND_BLUE_MOUNTAINS_SERVICES = (9833, 9835, 9838, 9840, 9841, 9843, 9844) TEST_SERVICES = (9843,) #SERVICE_LIST = YELLOW_LINE_SERVICES + ALL_BLUE_MOUNTAINS_SERVICES #SERVICE_LIST = ALL_BLUE_MOUNTAINS_SERVICES LITHGOW_TO_CENTRAL_ORIGINS = ("Lithgow Station", "Mount Victoria Station", "Katoomba Station", "Springwood Station") CENTRAL_TO_LITHGOW_ORIGINS = ("Central Station", "Hornsby Station",) PENRITH_TO_HORNSBY_ORIGINS = ("Emu Plains Station", "Penrith Station", "Richmond Station", "Blacktown Station", "Quakers Hill Station") HORNSBY_TO_PENRITH_ORIGINS = ("Berowra Station", "Hornsby Station", "Gordon Station", "North Sydney Station", "Wyong Station", "Lindfield Station") INTERCHANGE_LINE_NAME = "Dummy Interchange Line" LINE_NAMES = ["Blue Mountains - Lithgow to Central", "Blue Mountains - Central to Lithgow", "Western Line - Penrif to Hornsby", "Western Line - Hornsby to Penrif", ] # List the stations that are on each line # TODO: Generate this automatically? INTERCHANGE_STATION_MAP = { "Emu Plains Station": (1, 2, 3, 4), "Penrith Station": (1, 2, 3, 4), "Blacktown Station": (1, 2, 3, 4), "Westmead Station": (1, 2, 3, 4), "Parramatta Station": (1, 2, 3, 4), "Granville Station": (1, 2, 3, 4), "Lidcombe Station": (1, 2, 3, 4), "Strathfield Station": (1, 2, 3, 4), "Burwood Station": (3, 4), "Redfern Station": (1, 2, 3, 4), "Central Station": (1, 2, 3, 4), "Town Hall Station": (3, 4), "Wynyard Station": (3, 4), "North Sydney Station": (3, 4) }
all_blue_mountains_services = range(9833, 9848) inbound_blue_mountains_services = (9833, 9835, 9838, 9840, 9841, 9843, 9844, 9847) yellow_line_services = [9901, 9903, 9904, 9906, 9908, 9909, 9911, 9964, 9965, 9966, 9967, 9968, 9969, 9972, 9973, 9974] test_services = (9843,) lithgow_to_central_origins = ('Lithgow Station', 'Mount Victoria Station', 'Katoomba Station', 'Springwood Station') central_to_lithgow_origins = ('Central Station', 'Hornsby Station') penrith_to_hornsby_origins = ('Emu Plains Station', 'Penrith Station', 'Richmond Station', 'Blacktown Station', 'Quakers Hill Station') hornsby_to_penrith_origins = ('Berowra Station', 'Hornsby Station', 'Gordon Station', 'North Sydney Station', 'Wyong Station', 'Lindfield Station') interchange_line_name = 'Dummy Interchange Line' line_names = ['Blue Mountains - Lithgow to Central', 'Blue Mountains - Central to Lithgow', 'Western Line - Penrif to Hornsby', 'Western Line - Hornsby to Penrif'] interchange_station_map = {'Emu Plains Station': (1, 2, 3, 4), 'Penrith Station': (1, 2, 3, 4), 'Blacktown Station': (1, 2, 3, 4), 'Westmead Station': (1, 2, 3, 4), 'Parramatta Station': (1, 2, 3, 4), 'Granville Station': (1, 2, 3, 4), 'Lidcombe Station': (1, 2, 3, 4), 'Strathfield Station': (1, 2, 3, 4), 'Burwood Station': (3, 4), 'Redfern Station': (1, 2, 3, 4), 'Central Station': (1, 2, 3, 4), 'Town Hall Station': (3, 4), 'Wynyard Station': (3, 4), 'North Sydney Station': (3, 4)}
study_name = 'mperf' # Sampling frequency SAMPLING_FREQ_RIP = 21.33 SAMPLING_FREQ_MOTIONSENSE_ACCEL = 25 SAMPLING_FREQ_MOTIONSENSE_GYRO = 25 # MACD (moving average convergence divergence) related threshold FAST_MOVING_AVG_SIZE = 13 SLOW_MOVING_AVG_SIZE = 131 # FAST_MOVING_AVG_SIZE = 20 # SLOW_MOVING_AVG_SIZE = 205 # Hand orientation related threshold MIN_ROLL = -20 MAX_ROLL = 65 MIN_PITCH = -125 MAX_PITCH = -40 # MotionSense sample range MIN_MSHRV_ACCEL = -2.5 MAX_MSHRV_ACCEL = 2.5 MIN_MSHRV_GYRO = -250 MAX_MSHRV_GYRO = 250 # Puff label PUFF_LABEL_RIGHT = 2 PUFF_LABEL_LEFT = 1 NO_PUFF = 0 # Input stream names required for puffmarker MOTIONSENSE_HRV_ACCEL_LEFT_STREAMNAME = "ACCELEROMETER--org.md2k.motionsense--MOTION_SENSE_HRV--LEFT_WRIST" MOTIONSENSE_HRV_GYRO_LEFT_STREAMNAME = "GYROSCOPE--org.md2k.motionsense--MOTION_SENSE_HRV--LEFT_WRIST" MOTIONSENSE_HRV_ACCEL_RIGHT_STREAMNAME = "ACCELEROMETER--org.md2k.motionsense--MOTION_SENSE_HRV--RIGHT_WRIST" MOTIONSENSE_HRV_GYRO_RIGHT_STREAMNAME = "GYROSCOPE--org.md2k.motionsense--MOTION_SENSE_HRV--RIGHT_WRIST" PUFFMARKER_MODEL_FILENAME = 'puffmarker_wrist_randomforest.model' # Outputs stream names PUFFMARKER_WRIST_SMOKING_EPISODE = "org.md2k.data_analysis.feature.puffmarker.smoking_episode" PUFFMARKER_WRIST_SMOKING_PUFF = "org.md2k.data_analysis.feature.puffmarker.smoking_puff" # smoking episode MINIMUM_TIME_DIFFERENCE_FIRST_AND_LAST_PUFFS = 7 * 60 # seconds MINIMUM_INTER_PUFF_DURATION = 5 # seconds MINIMUM_PUFFS_IN_EPISODE = 4 LEFT_WRIST = 'leftwrist' RIGHT_WRIST = 'rightwrist' # NU ground truth label_sd = 1 # smoking dominant hand label_fd = 2 # feeding dominant hand label_dd = 3 # drinking dominant hand label_cd = 4 # confounding dominant hand text_sd = 'sd' # smoking dominant hand text_fd = 'fd' # feeding dominant hand text_dd = 'dd' # drinking dominant hand text_cd = 'cd' # confounding dominant hand
study_name = 'mperf' sampling_freq_rip = 21.33 sampling_freq_motionsense_accel = 25 sampling_freq_motionsense_gyro = 25 fast_moving_avg_size = 13 slow_moving_avg_size = 131 min_roll = -20 max_roll = 65 min_pitch = -125 max_pitch = -40 min_mshrv_accel = -2.5 max_mshrv_accel = 2.5 min_mshrv_gyro = -250 max_mshrv_gyro = 250 puff_label_right = 2 puff_label_left = 1 no_puff = 0 motionsense_hrv_accel_left_streamname = 'ACCELEROMETER--org.md2k.motionsense--MOTION_SENSE_HRV--LEFT_WRIST' motionsense_hrv_gyro_left_streamname = 'GYROSCOPE--org.md2k.motionsense--MOTION_SENSE_HRV--LEFT_WRIST' motionsense_hrv_accel_right_streamname = 'ACCELEROMETER--org.md2k.motionsense--MOTION_SENSE_HRV--RIGHT_WRIST' motionsense_hrv_gyro_right_streamname = 'GYROSCOPE--org.md2k.motionsense--MOTION_SENSE_HRV--RIGHT_WRIST' puffmarker_model_filename = 'puffmarker_wrist_randomforest.model' puffmarker_wrist_smoking_episode = 'org.md2k.data_analysis.feature.puffmarker.smoking_episode' puffmarker_wrist_smoking_puff = 'org.md2k.data_analysis.feature.puffmarker.smoking_puff' minimum_time_difference_first_and_last_puffs = 7 * 60 minimum_inter_puff_duration = 5 minimum_puffs_in_episode = 4 left_wrist = 'leftwrist' right_wrist = 'rightwrist' label_sd = 1 label_fd = 2 label_dd = 3 label_cd = 4 text_sd = 'sd' text_fd = 'fd' text_dd = 'dd' text_cd = 'cd'
x = y = 1 print(x,y) x = y = z = 1 print(x,y,z)
x = y = 1 print(x, y) x = y = z = 1 print(x, y, z)
#-*- coding: utf-8 -*- # Let's start with lists spam = ["eggs", 7.12345] # This is a list, a comma-separated sequence of values between square brackets print(spam) print(type(spam)) eggs = [spam, 1.2345, "fooo"] # No problem with multi-line declaration print(eggs) #=============================================================================== # - You can mix all kind of types inside a list # - Even other lists, of course #=============================================================================== spam = ["eggs"] # Actually just square brackets is enough to declare a list print(spam) spam = [] # And this is an empty list print(spam) # What about tuples? spam = ("eggs", 7.12345) # This is a tuple, a comma-separated sequence of values between parentheses print(spam) print(type(spam)) eggs = (spam, 1.2345, "fooo") # Again, no problem with multiline declaration print(eggs) #=============================================================================== # - Again, you can mix all kind of types inside a tuple #=============================================================================== #=============================================================================== # Python ordered sequence types (arrays in other languages, not linked lists): # - They are arrays, not linked lists, so they have constant O(1) time for index access # - list: # - Comma-separated with square brackets # - Mutable # - tuple: # - Comma-separated with parentheses # - Parentheses only required in empty tuple # - Immutable # - Slightly better traversing performance than lists # - str and unicode: # - One or three single or double quotes # - They have special methods # - Immutable #=============================================================================== # Let's a play a bit with sequences operations spam = ["1st", "2nd", "3rd", "4th", "5th"] eggs = (spam, 1.2345, "fooo") print("eggs" in spam) print("fooo" not in eggs) print("am" in "spam") # Check items membership print("spam".find("am")) # NOT recommended for membership print(spam.count("1st")) # Count repetitions (slow) print(spam + spam) print(eggs + eggs) print("spam" + "eggs") # Concatenation. must be of the same type print(spam * 5) print(eggs * 3) print("spam" * 3) # Also "multiply" creating copies concatenated print(len(spam)) print(len(eggs)) print(len("spam")) # Obtain its length # Let's see how indexing works spam = ["1st", "2nd", "3rd", "4th", "5th"] eggs = (spam, 1.2345, "fooo") print(spam[0]) print(eggs[1]) print("spam"[2]) # Access by index, starting from 0 to length - 1, may raise an exception print(spam[-1]) print(eggs[-2]) print("spam"[-3]) # Access by index, even negative # Let's see how slicing works spam = ("1st", "2nd", "3rd", "4th", "5th") print(spam[1:3]) # Use colon and a second index for slicing print(type(spam[1:4])) # It generates a brand new object (shallow copy) spam = ["1st", "2nd", "3rd", "4th", "5th"] print(spam[:3]) print(spam[1:7]) print(spam[-2:7]) # Negative indexes are also valid print(spam[3:-2]) print(spam[1:7:2]) # Use another colon and a third int to specify the step print(spam[::2]) #=============================================================================== # - In slicing Python is able to cleverly set the indexes # - No IndexError when slicing index is out of range # - First (0) and last (-1) index is automatically filled # - Step is 1 by default and does not need to be multiple of sequence length #=============================================================================== # Let's try something different spam = ["1st", "2nd", "3rd", "4th", "5th"] spam[3] = 1 print(spam) #=============================================================================== # - lists mutable sequences, so they allow in place modifications #=============================================================================== # Let's see more modification operations spam = [1, 2, 3, 4, 5] eggs = ['a', 'b', 'c'] spam[1:3] = eggs print(spam) # We can use slicing here too! spam = [1, 2, 3, 4, 5, 6, 7, 8] eggs = ['a', 'b', 'c'] spam[1:7:2] = eggs print(spam) # We can use even slicing with step!! spam = [1, 2, 3, 4, 5] spam.append("a") print(spam) # We can append an element at the end (amortized O(1)) spam = [1, 2, 3, 4, 5] eggs = ['a', 'b', 'c'] spam.extend(eggs) print(spam) # We can append another sequence elements at the end (amortized O(1)) spam = [1, 2, 3, 4, 5] eggs = ['a', 'b', 'c'] spam.append(eggs) print(spam) # Take care to not mix both commands!! spam = [1, 2, 3, 4, 5] spam.insert(3, "a") print(spam) # The same like spam[3:3] = ["a"] spam = [1, 2, 3, 4, 5] print(spam.pop()) print(spam) # Pop (remove and return) last item print(spam.pop(2)) print(spam) # Pop (remove and return) given item spam = [1, 2, 3, 4, 5] del spam[3] print(spam) # Delete an item #=============================================================================== # SOURCES: # - http://docs.python.org/2/tutorial/introduction.html#lists # - http://docs.python.org/2/tutorial/datastructures.html#tuples-and-sequences # - http://docs.python.org/2/tutorial/datastructures.html#sets #===============================================================================
spam = ['eggs', 7.12345] print(spam) print(type(spam)) eggs = [spam, 1.2345, 'fooo'] print(eggs) spam = ['eggs'] print(spam) spam = [] print(spam) spam = ('eggs', 7.12345) print(spam) print(type(spam)) eggs = (spam, 1.2345, 'fooo') print(eggs) spam = ['1st', '2nd', '3rd', '4th', '5th'] eggs = (spam, 1.2345, 'fooo') print('eggs' in spam) print('fooo' not in eggs) print('am' in 'spam') print('spam'.find('am')) print(spam.count('1st')) print(spam + spam) print(eggs + eggs) print('spam' + 'eggs') print(spam * 5) print(eggs * 3) print('spam' * 3) print(len(spam)) print(len(eggs)) print(len('spam')) spam = ['1st', '2nd', '3rd', '4th', '5th'] eggs = (spam, 1.2345, 'fooo') print(spam[0]) print(eggs[1]) print('spam'[2]) print(spam[-1]) print(eggs[-2]) print('spam'[-3]) spam = ('1st', '2nd', '3rd', '4th', '5th') print(spam[1:3]) print(type(spam[1:4])) spam = ['1st', '2nd', '3rd', '4th', '5th'] print(spam[:3]) print(spam[1:7]) print(spam[-2:7]) print(spam[3:-2]) print(spam[1:7:2]) print(spam[::2]) spam = ['1st', '2nd', '3rd', '4th', '5th'] spam[3] = 1 print(spam) spam = [1, 2, 3, 4, 5] eggs = ['a', 'b', 'c'] spam[1:3] = eggs print(spam) spam = [1, 2, 3, 4, 5, 6, 7, 8] eggs = ['a', 'b', 'c'] spam[1:7:2] = eggs print(spam) spam = [1, 2, 3, 4, 5] spam.append('a') print(spam) spam = [1, 2, 3, 4, 5] eggs = ['a', 'b', 'c'] spam.extend(eggs) print(spam) spam = [1, 2, 3, 4, 5] eggs = ['a', 'b', 'c'] spam.append(eggs) print(spam) spam = [1, 2, 3, 4, 5] spam.insert(3, 'a') print(spam) spam = [1, 2, 3, 4, 5] print(spam.pop()) print(spam) print(spam.pop(2)) print(spam) spam = [1, 2, 3, 4, 5] del spam[3] print(spam)
#define a dictionary data structure #dictionaries have key:valyue pairs for the elements example_dict = { "class" : "ASTR 119", "prof" : "Brant", "awesomeness" : 10 } print ("The type of example_dict is ", type(example_dict)) #get value via key course = example_dict["class"] print(course) example_dict["awesomeness"] += 1 #print the dictionary print(example_dict) #print dictionary element by element for x in example_dict.key(): print(x, example_dict[x])
example_dict = {'class': 'ASTR 119', 'prof': 'Brant', 'awesomeness': 10} print('The type of example_dict is ', type(example_dict)) course = example_dict['class'] print(course) example_dict['awesomeness'] += 1 print(example_dict) for x in example_dict.key(): print(x, example_dict[x])
## @ GpioDataConfig.py # This is a Gpio config script for Slim Bootloader # # Copyright (c) 2020, Intel Corporation. All rights reserved. <BR> # SPDX-License-Identifier: BSD-2-Clause-Patent # ## # # The index for a group has to match implementation # in a platform specific Gpio library. # grp_info_lp = { # Grp Index 'GPP_B' : [ 0x0], 'GPP_T' : [ 0x1], 'GPP_A' : [ 0x2], 'GPP_R' : [ 0x3], 'GPP_S' : [ 0x5], 'GPP_H' : [ 0x6], 'GPP_D' : [ 0x7], 'GPP_U' : [ 0x8], 'GPP_C' : [ 0xA], 'GPP_F' : [ 0xB], 'GPP_E' : [ 0xC], } grp_info_h = { # Grp Index 'GPP_A' : [ 0x1], 'GPP_R' : [ 0x2], 'GPP_B' : [ 0x3], 'GPP_D' : [ 0x4], 'GPP_C' : [ 0x5], 'GPP_S' : [ 0x6], 'GPP_G' : [ 0x7], 'GPP_E' : [ 0x9], 'GPP_F' : [ 0xA], 'GPP_H' : [ 0xB], 'GPP_K' : [ 0xC], 'GPP_J' : [ 0xD], 'GPP_I' : [ 0xE], } def get_grp_info(pch_series): if pch_series not in ['lp', 'h']: raise Exception ('Invalid pch series passed') else: if pch_series == 'lp': return grp_info_lp elif pch_series == 'h': return grp_info_h def rxraw_override_cfg(): return False def vir_to_phy_grp(): return False def plat_name(): return 'tgl'
grp_info_lp = {'GPP_B': [0], 'GPP_T': [1], 'GPP_A': [2], 'GPP_R': [3], 'GPP_S': [5], 'GPP_H': [6], 'GPP_D': [7], 'GPP_U': [8], 'GPP_C': [10], 'GPP_F': [11], 'GPP_E': [12]} grp_info_h = {'GPP_A': [1], 'GPP_R': [2], 'GPP_B': [3], 'GPP_D': [4], 'GPP_C': [5], 'GPP_S': [6], 'GPP_G': [7], 'GPP_E': [9], 'GPP_F': [10], 'GPP_H': [11], 'GPP_K': [12], 'GPP_J': [13], 'GPP_I': [14]} def get_grp_info(pch_series): if pch_series not in ['lp', 'h']: raise exception('Invalid pch series passed') elif pch_series == 'lp': return grp_info_lp elif pch_series == 'h': return grp_info_h def rxraw_override_cfg(): return False def vir_to_phy_grp(): return False def plat_name(): return 'tgl'
class Solution: def flipAndInvertImage(self, A: [[int]]) -> [[int]]: for row in A : left, right = 0 , len(row) -1 while left < right : if row[left] == row[right] : row[left] ^= 1 row[right] ^= 1 left += 1 right -= 1 if left == right : row[left] ^= 1 return A if __name__ == "__main__" : s = Solution() a1 = [[1,1,0],[1,0,1],[0,0,0]] a2 = s.flipAndInvertImage(a1) print(a2)
class Solution: def flip_and_invert_image(self, A: [[int]]) -> [[int]]: for row in A: (left, right) = (0, len(row) - 1) while left < right: if row[left] == row[right]: row[left] ^= 1 row[right] ^= 1 left += 1 right -= 1 if left == right: row[left] ^= 1 return A if __name__ == '__main__': s = solution() a1 = [[1, 1, 0], [1, 0, 1], [0, 0, 0]] a2 = s.flipAndInvertImage(a1) print(a2)
def read_input(): with open("input.txt", "r") as file: d = [c[2:].split("..") for c in file.read()[13:].split(", ")] return [int(i) for s in d for i in s] def bruteforce(y_v, x_v, b): x,y = 0,0 while True: x+=x_v y+=y_v if b[0] <= x <= b[1] and b[2] <= y <= b[3]: return 1 elif x > b[1] or y < b[2]: return 0 x_v -= 1 if x_v > 0 else 0 y_v -= 1 def main(): data = read_input() print(f"Part 1 {sum([y for y in range(-data[2])])}") p = 0 for y_v in range(data[2], -data[2]+1): for x_v in range(data[1]+1): p+=bruteforce(y_v, x_v, data) print(f"Part 2 {p}") if __name__ == "__main__": main()
def read_input(): with open('input.txt', 'r') as file: d = [c[2:].split('..') for c in file.read()[13:].split(', ')] return [int(i) for s in d for i in s] def bruteforce(y_v, x_v, b): (x, y) = (0, 0) while True: x += x_v y += y_v if b[0] <= x <= b[1] and b[2] <= y <= b[3]: return 1 elif x > b[1] or y < b[2]: return 0 x_v -= 1 if x_v > 0 else 0 y_v -= 1 def main(): data = read_input() print(f'Part 1 {sum([y for y in range(-data[2])])}') p = 0 for y_v in range(data[2], -data[2] + 1): for x_v in range(data[1] + 1): p += bruteforce(y_v, x_v, data) print(f'Part 2 {p}') if __name__ == '__main__': main()
#!/usr/bin/python # Filename: ex_global.py x = 50 def func(): global x print('x is ', x) x = 2 print('Changed local x to ', x) func() print('Value of x is ', x)
x = 50 def func(): global x print('x is ', x) x = 2 print('Changed local x to ', x) func() print('Value of x is ', x)
class RUNLOG: class STATUS: SUCCESS = "SUCCESS" PENDING = "PENDING" RUNNING = "RUNNING" FAILURE = "FAILURE" WARNING = "WARNING" ERROR = "ERROR" APPROVAL = "APPROVAL" APPROVAL_FAILED = "APPROVAL_FAILED" ABORTED = "ABORTED" ABORTING = "ABORTING" SYS_FAILURE = "SYS_FAILURE" SYS_ERROR = "SYS_ERROR" SYS_ABORTED = "SYS_ABORTED" ALREADY_RUN = "ALREADY_RUN" TIMEOUT = "TIMEOUT" INPUT = "INPUT" CONFIRM = "CONFIRM" PAUSED = "PAUSED" TERMINAL_STATES = [ STATUS.SUCCESS, STATUS.FAILURE, STATUS.APPROVAL_FAILED, STATUS.WARNING, STATUS.ERROR, STATUS.ABORTED, STATUS.SYS_FAILURE, STATUS.SYS_ERROR, STATUS.SYS_ABORTED, ] FAILURE_STATES = [ STATUS.FAILURE, STATUS.APPROVAL_FAILED, STATUS.WARNING, STATUS.ERROR, STATUS.ABORTED, STATUS.SYS_FAILURE, STATUS.SYS_ERROR, STATUS.SYS_ABORTED, ] class RUNBOOK: class STATES: ACTIVE = "ACTIVE" DELETED = "DELETED" DRAFT = "DRAFT" ERROR = "ERROR" class ENDPOINT: class STATES: ACTIVE = "ACTIVE" DELETED = "DELETED" DRAFT = "DRAFT" ERROR = "ERROR" class TYPES: HTTP = "HTTP" WINDOWS = "Windows" LINUX = "Linux" class VALUE_TYPES: VM = "VM" IP = "IP" class BLUEPRINT: class STATES: ACTIVE = "ACTIVE" DELETED = "DELETED" DRAFT = "DRAFT" ERROR = "ERROR" class APPLICATION: class STATES: PROVISIONING = "provisioning" STOPPED = "stopped" RUNNING = "running" ERROR = "error" DELETED = "deleted" DELETING = "deleting" STARTING = "starting" STOPPING = "stopping" RESTARTING = "restarting" BUSY = "busy" TIMEOUT = "timeout" RESTARTING = "restarting" class ACCOUNT: class STATES: DELETED = "DELETED" VERIFIED = "VERIFIED" NOT_VERIFIED = "NOT_VERIFIED" VERIFY_FAILED = "VERIFY_FAILED" DRAFT = "DRAFT" ACTIVE = "ACTIVE" UNSAVED = "UNSAVED" class TYPES: AWS = "aws" AHV = "nutanix" KUBERNETES = "k8s" AZURE = "azure" GCP = "gcp" VMWARE = "vmware" class SINGLE_INPUT: class TYPE: TEXT = "text" PASSWORD = "password" CHECKBOX = "checkbox" SELECT = "select" SELECTMULTIPLE = "selectmultiple" DATE = "date" TIME = "time" DATETIME = "datetime" VALID_TYPES = [ TYPE.TEXT, TYPE.PASSWORD, TYPE.CHECKBOX, TYPE.SELECT, TYPE.SELECTMULTIPLE, TYPE.DATE, TYPE.TIME, TYPE.DATETIME, ] class SYSTEM_ACTIONS: CREATE = "create" START = "start" RESTART = "restart" STOP = "stop" DELETE = "delete" SOFT_DELETE = "soft_delete" class MARKETPLACE_ITEM: class TYPES: BLUEPRINT = "blueprint" RUNBOOK = "runbook" class STATES: PENDING = "PENDING" ACCEPTED = "ACCEPTED" REJECTED = "REJECTED" PUBLISHED = "PUBLISHED" class SOURCES: GLOBAL = "GLOBAL_STORE" LOCAL = "LOCAL" class TASKS: class TASK_TYPES: EXEC = "EXEC" SET_VARIABLE = "SET_VARIABLE" HTTP = "HTTP" class SCRIPT_TYPES: POWERSHELL = "npsscript" SHELL = "sh" ESCRIPT = "static" class STATES: ACTIVE = "ACTIVE" DELETED = "DELETED" DRAFT = "DRAFT" class ERGON_TASK: class STATUS: QUEUED = "QUEUED" RUNNING = "RUNNING" ABORTED = "ABORTED" SUCCEEDED = "SUCCEEDED" SUSPENDED = "SUSPENDED" FAILED = "FAILED" TERMINAL_STATES = [ STATUS.SUCCEEDED, STATUS.FAILED, STATUS.ABORTED, STATUS.SUSPENDED, ] FAILURE_STATES = [STATUS.FAILED, STATUS.ABORTED, STATUS.SUSPENDED] class ACP: class ENTITY_FILTER_EXPRESSION_LIST: DEVELOPER = [ { "operator": "IN", "left_hand_side": {"entity_type": "image"}, "right_hand_side": {"collection": "ALL"}, }, { "operator": "IN", "left_hand_side": {"entity_type": "marketplace_item"}, "right_hand_side": {"collection": "SELF_OWNED"}, }, { "operator": "IN", "right_hand_side": {"collection": "ALL"}, "left_hand_side": {"entity_type": "app_icon"}, }, { "operator": "IN", "right_hand_side": {"collection": "ALL"}, "left_hand_side": {"entity_type": "category"}, }, { "operator": "IN", "left_hand_side": {"entity_type": "app_task"}, "right_hand_side": {"collection": "SELF_OWNED"}, }, { "operator": "IN", "left_hand_side": {"entity_type": "app_variable"}, "right_hand_side": {"collection": "SELF_OWNED"}, }, ] OPERATOR = [ { "operator": "IN", "right_hand_side": {"collection": "ALL"}, "left_hand_side": {"entity_type": "app_icon"}, }, { "operator": "IN", "right_hand_side": {"collection": "ALL"}, "left_hand_side": {"entity_type": "category"}, }, ] CONSUMER = [ { "operator": "IN", "left_hand_side": {"entity_type": "image"}, "right_hand_side": {"collection": "ALL"}, }, { "operator": "IN", "left_hand_side": {"entity_type": "marketplace_item"}, "right_hand_side": {"collection": "SELF_OWNED"}, }, { "operator": "IN", "right_hand_side": {"collection": "ALL"}, "left_hand_side": {"entity_type": "app_icon"}, }, { "operator": "IN", "right_hand_side": {"collection": "ALL"}, "left_hand_side": {"entity_type": "category"}, }, { "operator": "IN", "left_hand_side": {"entity_type": "app_task"}, "right_hand_side": {"collection": "SELF_OWNED"}, }, { "operator": "IN", "left_hand_side": {"entity_type": "app_variable"}, "right_hand_side": {"collection": "SELF_OWNED"}, }, ] PROJECT_ADMIN = [ { "operator": "IN", "left_hand_side": {"entity_type": "image"}, "right_hand_side": {"collection": "ALL"}, }, { "operator": "IN", "left_hand_side": {"entity_type": "marketplace_item"}, "right_hand_side": {"collection": "SELF_OWNED"}, }, { "operator": "IN", "right_hand_side": {"collection": "ALL"}, "left_hand_side": {"entity_type": "directory_service"}, }, { "operator": "IN", "right_hand_side": {"collection": "ALL"}, "left_hand_side": {"entity_type": "role"}, }, { "operator": "IN", "right_hand_side": {"uuid_list": []}, "left_hand_side": {"entity_type": "project"}, }, { "operator": "IN", "right_hand_side": {"collection": "ALL"}, "left_hand_side": {"entity_type": "user"}, }, { "operator": "IN", "right_hand_side": {"collection": "ALL"}, "left_hand_side": {"entity_type": "user_group"}, }, { "operator": "IN", "right_hand_side": {"collection": "SELF_OWNED"}, "left_hand_side": {"entity_type": "environment"}, }, { "operator": "IN", "right_hand_side": {"collection": "ALL"}, "left_hand_side": {"entity_type": "app_icon"}, }, { "operator": "IN", "right_hand_side": {"collection": "ALL"}, "left_hand_side": {"entity_type": "category"}, }, { "operator": "IN", "left_hand_side": {"entity_type": "app_task"}, "right_hand_side": {"collection": "SELF_OWNED"}, }, { "operator": "IN", "left_hand_side": {"entity_type": "app_variable"}, "right_hand_side": {"collection": "SELF_OWNED"}, }, ] DEFAULT_CONTEXT = { "scope_filter_expression_list": [ { "operator": "IN", "left_hand_side": "PROJECT", "right_hand_side": {"uuid_list": []}, } ], "entity_filter_expression_list": [ { "operator": "IN", "left_hand_side": {"entity_type": "ALL"}, "right_hand_side": {"collection": "ALL"}, } ], }
class Runlog: class Status: success = 'SUCCESS' pending = 'PENDING' running = 'RUNNING' failure = 'FAILURE' warning = 'WARNING' error = 'ERROR' approval = 'APPROVAL' approval_failed = 'APPROVAL_FAILED' aborted = 'ABORTED' aborting = 'ABORTING' sys_failure = 'SYS_FAILURE' sys_error = 'SYS_ERROR' sys_aborted = 'SYS_ABORTED' already_run = 'ALREADY_RUN' timeout = 'TIMEOUT' input = 'INPUT' confirm = 'CONFIRM' paused = 'PAUSED' terminal_states = [STATUS.SUCCESS, STATUS.FAILURE, STATUS.APPROVAL_FAILED, STATUS.WARNING, STATUS.ERROR, STATUS.ABORTED, STATUS.SYS_FAILURE, STATUS.SYS_ERROR, STATUS.SYS_ABORTED] failure_states = [STATUS.FAILURE, STATUS.APPROVAL_FAILED, STATUS.WARNING, STATUS.ERROR, STATUS.ABORTED, STATUS.SYS_FAILURE, STATUS.SYS_ERROR, STATUS.SYS_ABORTED] class Runbook: class States: active = 'ACTIVE' deleted = 'DELETED' draft = 'DRAFT' error = 'ERROR' class Endpoint: class States: active = 'ACTIVE' deleted = 'DELETED' draft = 'DRAFT' error = 'ERROR' class Types: http = 'HTTP' windows = 'Windows' linux = 'Linux' class Value_Types: vm = 'VM' ip = 'IP' class Blueprint: class States: active = 'ACTIVE' deleted = 'DELETED' draft = 'DRAFT' error = 'ERROR' class Application: class States: provisioning = 'provisioning' stopped = 'stopped' running = 'running' error = 'error' deleted = 'deleted' deleting = 'deleting' starting = 'starting' stopping = 'stopping' restarting = 'restarting' busy = 'busy' timeout = 'timeout' restarting = 'restarting' class Account: class States: deleted = 'DELETED' verified = 'VERIFIED' not_verified = 'NOT_VERIFIED' verify_failed = 'VERIFY_FAILED' draft = 'DRAFT' active = 'ACTIVE' unsaved = 'UNSAVED' class Types: aws = 'aws' ahv = 'nutanix' kubernetes = 'k8s' azure = 'azure' gcp = 'gcp' vmware = 'vmware' class Single_Input: class Type: text = 'text' password = 'password' checkbox = 'checkbox' select = 'select' selectmultiple = 'selectmultiple' date = 'date' time = 'time' datetime = 'datetime' valid_types = [TYPE.TEXT, TYPE.PASSWORD, TYPE.CHECKBOX, TYPE.SELECT, TYPE.SELECTMULTIPLE, TYPE.DATE, TYPE.TIME, TYPE.DATETIME] class System_Actions: create = 'create' start = 'start' restart = 'restart' stop = 'stop' delete = 'delete' soft_delete = 'soft_delete' class Marketplace_Item: class Types: blueprint = 'blueprint' runbook = 'runbook' class States: pending = 'PENDING' accepted = 'ACCEPTED' rejected = 'REJECTED' published = 'PUBLISHED' class Sources: global = 'GLOBAL_STORE' local = 'LOCAL' class Tasks: class Task_Types: exec = 'EXEC' set_variable = 'SET_VARIABLE' http = 'HTTP' class Script_Types: powershell = 'npsscript' shell = 'sh' escript = 'static' class States: active = 'ACTIVE' deleted = 'DELETED' draft = 'DRAFT' class Ergon_Task: class Status: queued = 'QUEUED' running = 'RUNNING' aborted = 'ABORTED' succeeded = 'SUCCEEDED' suspended = 'SUSPENDED' failed = 'FAILED' terminal_states = [STATUS.SUCCEEDED, STATUS.FAILED, STATUS.ABORTED, STATUS.SUSPENDED] failure_states = [STATUS.FAILED, STATUS.ABORTED, STATUS.SUSPENDED] class Acp: class Entity_Filter_Expression_List: developer = [{'operator': 'IN', 'left_hand_side': {'entity_type': 'image'}, 'right_hand_side': {'collection': 'ALL'}}, {'operator': 'IN', 'left_hand_side': {'entity_type': 'marketplace_item'}, 'right_hand_side': {'collection': 'SELF_OWNED'}}, {'operator': 'IN', 'right_hand_side': {'collection': 'ALL'}, 'left_hand_side': {'entity_type': 'app_icon'}}, {'operator': 'IN', 'right_hand_side': {'collection': 'ALL'}, 'left_hand_side': {'entity_type': 'category'}}, {'operator': 'IN', 'left_hand_side': {'entity_type': 'app_task'}, 'right_hand_side': {'collection': 'SELF_OWNED'}}, {'operator': 'IN', 'left_hand_side': {'entity_type': 'app_variable'}, 'right_hand_side': {'collection': 'SELF_OWNED'}}] operator = [{'operator': 'IN', 'right_hand_side': {'collection': 'ALL'}, 'left_hand_side': {'entity_type': 'app_icon'}}, {'operator': 'IN', 'right_hand_side': {'collection': 'ALL'}, 'left_hand_side': {'entity_type': 'category'}}] consumer = [{'operator': 'IN', 'left_hand_side': {'entity_type': 'image'}, 'right_hand_side': {'collection': 'ALL'}}, {'operator': 'IN', 'left_hand_side': {'entity_type': 'marketplace_item'}, 'right_hand_side': {'collection': 'SELF_OWNED'}}, {'operator': 'IN', 'right_hand_side': {'collection': 'ALL'}, 'left_hand_side': {'entity_type': 'app_icon'}}, {'operator': 'IN', 'right_hand_side': {'collection': 'ALL'}, 'left_hand_side': {'entity_type': 'category'}}, {'operator': 'IN', 'left_hand_side': {'entity_type': 'app_task'}, 'right_hand_side': {'collection': 'SELF_OWNED'}}, {'operator': 'IN', 'left_hand_side': {'entity_type': 'app_variable'}, 'right_hand_side': {'collection': 'SELF_OWNED'}}] project_admin = [{'operator': 'IN', 'left_hand_side': {'entity_type': 'image'}, 'right_hand_side': {'collection': 'ALL'}}, {'operator': 'IN', 'left_hand_side': {'entity_type': 'marketplace_item'}, 'right_hand_side': {'collection': 'SELF_OWNED'}}, {'operator': 'IN', 'right_hand_side': {'collection': 'ALL'}, 'left_hand_side': {'entity_type': 'directory_service'}}, {'operator': 'IN', 'right_hand_side': {'collection': 'ALL'}, 'left_hand_side': {'entity_type': 'role'}}, {'operator': 'IN', 'right_hand_side': {'uuid_list': []}, 'left_hand_side': {'entity_type': 'project'}}, {'operator': 'IN', 'right_hand_side': {'collection': 'ALL'}, 'left_hand_side': {'entity_type': 'user'}}, {'operator': 'IN', 'right_hand_side': {'collection': 'ALL'}, 'left_hand_side': {'entity_type': 'user_group'}}, {'operator': 'IN', 'right_hand_side': {'collection': 'SELF_OWNED'}, 'left_hand_side': {'entity_type': 'environment'}}, {'operator': 'IN', 'right_hand_side': {'collection': 'ALL'}, 'left_hand_side': {'entity_type': 'app_icon'}}, {'operator': 'IN', 'right_hand_side': {'collection': 'ALL'}, 'left_hand_side': {'entity_type': 'category'}}, {'operator': 'IN', 'left_hand_side': {'entity_type': 'app_task'}, 'right_hand_side': {'collection': 'SELF_OWNED'}}, {'operator': 'IN', 'left_hand_side': {'entity_type': 'app_variable'}, 'right_hand_side': {'collection': 'SELF_OWNED'}}] default_context = {'scope_filter_expression_list': [{'operator': 'IN', 'left_hand_side': 'PROJECT', 'right_hand_side': {'uuid_list': []}}], 'entity_filter_expression_list': [{'operator': 'IN', 'left_hand_side': {'entity_type': 'ALL'}, 'right_hand_side': {'collection': 'ALL'}}]}
l=int(input("enter length: ")) b=int(input("enter breath: ")) area=l*b perimeter=2*(l+b) print(area) print(perimeter)
l = int(input('enter length: ')) b = int(input('enter breath: ')) area = l * b perimeter = 2 * (l + b) print(area) print(perimeter)
# Simple Math Libraries def add(*nums): number = 0 for num in nums: number += num return number def sub(*nums): number = 0 for num in nums: number -= num return number def multiply(*nums): number = 1 for num in nums: number *= num return number def square(num): return num ** 2 def cube(num): return num ** 3 def powerof(num1, num2): return num1**num2 def div2num(dividend, divisor): return dividend/divisor def sqrt(num): return num ** 0.5 def curt(num): return num ** (1/3)
def add(*nums): number = 0 for num in nums: number += num return number def sub(*nums): number = 0 for num in nums: number -= num return number def multiply(*nums): number = 1 for num in nums: number *= num return number def square(num): return num ** 2 def cube(num): return num ** 3 def powerof(num1, num2): return num1 ** num2 def div2num(dividend, divisor): return dividend / divisor def sqrt(num): return num ** 0.5 def curt(num): return num ** (1 / 3)
#!/usr/bin/env python # coding: utf-8 def countAnswers(__values): batchComplete = False answerCount = 0 answerDict = {} for answers in __values: for answer in answers: answerDict[answer] = 1 if answers == '': batchComplete = True if batchComplete: answerCount += len(answerDict) answerDict = {} batchComplete = False answerCount += len(answerDict) return answerCount values = [] with open('day6_input') as fp: line = fp.readline() while line: if(line != ''): values.append(line.strip()) line = fp.readline() print(countAnswers(values))
def count_answers(__values): batch_complete = False answer_count = 0 answer_dict = {} for answers in __values: for answer in answers: answerDict[answer] = 1 if answers == '': batch_complete = True if batchComplete: answer_count += len(answerDict) answer_dict = {} batch_complete = False answer_count += len(answerDict) return answerCount values = [] with open('day6_input') as fp: line = fp.readline() while line: if line != '': values.append(line.strip()) line = fp.readline() print(count_answers(values))
{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "%matplotlib inline\n", "from matplotlib import style\n", "style.use('fivethirtyeight')\n", "import matplotlib.pyplot as plt" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "import numpy as np\n", "import pandas as pd" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "import datetime as dt\n" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "import sqlalchemy\n", "from sqlalchemy.ext.automap import automap_base\n", "from sqlalchemy.orm import Session\n", "from sqlalchemy import create_engine, func" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [], "source": [ "#set engine\n", "engine = create_engine(\"sqlite:///Resources/hawaii.sqlite\")" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.3" } }, "nbformat": 4, "nbformat_minor": 2 }
{'cells': [{'cell_type': 'code', 'execution_count': 1, 'metadata': {}, 'outputs': [], 'source': ['%matplotlib inline\n', 'from matplotlib import style\n', "style.use('fivethirtyeight')\n", 'import matplotlib.pyplot as plt']}, {'cell_type': 'code', 'execution_count': 2, 'metadata': {}, 'outputs': [], 'source': ['import numpy as np\n', 'import pandas as pd']}, {'cell_type': 'code', 'execution_count': 3, 'metadata': {}, 'outputs': [], 'source': ['import datetime as dt\n']}, {'cell_type': 'code', 'execution_count': 4, 'metadata': {}, 'outputs': [], 'source': ['import sqlalchemy\n', 'from sqlalchemy.ext.automap import automap_base\n', 'from sqlalchemy.orm import Session\n', 'from sqlalchemy import create_engine, func']}, {'cell_type': 'code', 'execution_count': 5, 'metadata': {}, 'outputs': [], 'source': ['#set engine\n', 'engine = create_engine("sqlite:///Resources/hawaii.sqlite")']}, {'cell_type': 'code', 'execution_count': null, 'metadata': {}, 'outputs': [], 'source': []}], 'metadata': {'kernelspec': {'display_name': 'Python 3', 'language': 'python', 'name': 'python3'}, 'language_info': {'codemirror_mode': {'name': 'ipython', 'version': 3}, 'file_extension': '.py', 'mimetype': 'text/x-python', 'name': 'python', 'nbconvert_exporter': 'python', 'pygments_lexer': 'ipython3', 'version': '3.7.3'}}, 'nbformat': 4, 'nbformat_minor': 2}
#!/usr/bin/env python3 class ObjInfo(dict): def __init__(self): #, pre_id, name, letter, expire_state, id): self.side_id_name = ['front', 'back', 'left_side', 'right_side', 'bottom', 'side_id5', 'side_id6', 'side_id7', 'side_id8', 'side_id9'] self.obj = { # predefined merchandise information "pre_id": None, # predefined aruco ID range(i.e. 10~19) "name": '', # 'plum_riceball', 'salmon_riceball', 'sandwich', 'burger', 'drink', 'lunch_box' "letter": '', # ABCD, EFGH, IJK, LMN, OPQ, RST "expired": '', # 'new', 'old', 'expired' # update after camera take picture, changable due to object pose "id": None, # current detected aruco ID "side_id": '', # side_id_name: 'front', 'back', 'left_side', 'right_side', 'bottom', ... "pos": None, # position (x, y, z) "vector": None, # aruco marker z axis vector???? "euler": None, # rotation "sucang": None, # sucker angle? "cam_H_mrk": None, } def __getitem__(self, key): return self.obj[key] def __setitem__(self, key, value): self.obj[key] = value
class Objinfo(dict): def __init__(self): self.side_id_name = ['front', 'back', 'left_side', 'right_side', 'bottom', 'side_id5', 'side_id6', 'side_id7', 'side_id8', 'side_id9'] self.obj = {'pre_id': None, 'name': '', 'letter': '', 'expired': '', 'id': None, 'side_id': '', 'pos': None, 'vector': None, 'euler': None, 'sucang': None, 'cam_H_mrk': None} def __getitem__(self, key): return self.obj[key] def __setitem__(self, key, value): self.obj[key] = value
# Version number as Major.Minor.Patch # The version modification must respect the following rules: # Major should be incremented in case there is a breaking change. (eg: 2.5.8 -> 3.0.0) # Minor should be incremented in case there is an enhancement. (eg: 2.5.8 -> 2.6.0) # Patch should be incremented in case there is a bug fix. (eg: 2.5.8 -> 2.5.9) __version__ = "3.3.1"
__version__ = '3.3.1'
# https://codeforces.com/problemset/problem/427/A n = int(input()) events = [int(x) for x in input().split()] counter = 0 free_officer = 0 for event in events: free_officer += event if free_officer < 0: counter += 1 free_officer = 0 print(counter)
n = int(input()) events = [int(x) for x in input().split()] counter = 0 free_officer = 0 for event in events: free_officer += event if free_officer < 0: counter += 1 free_officer = 0 print(counter)
class Menu: def __init__(self, options: list): self.options = options def printMenu(self): print(' [ Main Menu ] ') for i in range(len(self.options)): print((i + 1), '::', self.options[i]) def getMenuInput(self, waitValidated: bool): returnValue = -2 while returnValue == -2: selection = input('Select Option >> ') if selection.isnumeric(): selection = int(selection) if selection > 0 and selection <= len(self.options): returnValue = selection - 1 elif waitValidated: print('\r') else: returnValue = -1 return returnValue # waitValidated waits for a valid input before returning def createMenu(self, waitValidated = False): self.printMenu() selection = self.getMenuInput(waitValidated) return selection
class Menu: def __init__(self, options: list): self.options = options def print_menu(self): print(' [ Main Menu ] ') for i in range(len(self.options)): print(i + 1, '::', self.options[i]) def get_menu_input(self, waitValidated: bool): return_value = -2 while returnValue == -2: selection = input('Select Option >> ') if selection.isnumeric(): selection = int(selection) if selection > 0 and selection <= len(self.options): return_value = selection - 1 elif waitValidated: print('\r') else: return_value = -1 return returnValue def create_menu(self, waitValidated=False): self.printMenu() selection = self.getMenuInput(waitValidated) return selection
# python DDP_moco_ccrop.py path/to/this/config # model dim = 128 model = dict(type='ResNet', depth=18, num_classes=dim, maxpool=False) moco = dict(dim=dim, K=65536, m=0.999, T=0.20, mlp=True) loss = dict(type='CrossEntropyLoss') # data root = '/path/to/your/dataset' mean = (0.4914, 0.4822, 0.4465) std = (0.2023, 0.1994, 0.2010) batch_size = 512 num_workers = 4 data = dict( train=dict( ds_dict=dict( type='CIFAR10_boxes', root=root, train=True, ), rcrop_dict=dict( type='cifar_train_rcrop', mean=mean, std=std ), ccrop_dict=dict( type='cifar_train_ccrop', alpha=0.1, mean=mean, std=std ), ), eval_train=dict( ds_dict=dict( type='CIFAR10', root=root, train=True, ), trans_dict=dict( type='cifar_test', mean=mean, std=std ), ), ) # boxes warmup_epochs = 100 loc_interval = 100 box_thresh = 0.10 # training optimizer & scheduler epochs = 500 lr = 0.5 optimizer = dict(type='SGD', lr=lr, momentum=0.9, weight_decay=1e-4) lr_cfg = dict( # passed to adjust_learning_rate(cfg=lr_cfg) type='Cosine', steps=epochs, lr=lr, decay_rate=0.1, # decay_steps=[100, 150] warmup_steps=0, # warmup_from=0.01 ) # log & save log_interval = 20 save_interval = 250 work_dir = None # rewritten by args resume = None load = None port = 10001
dim = 128 model = dict(type='ResNet', depth=18, num_classes=dim, maxpool=False) moco = dict(dim=dim, K=65536, m=0.999, T=0.2, mlp=True) loss = dict(type='CrossEntropyLoss') root = '/path/to/your/dataset' mean = (0.4914, 0.4822, 0.4465) std = (0.2023, 0.1994, 0.201) batch_size = 512 num_workers = 4 data = dict(train=dict(ds_dict=dict(type='CIFAR10_boxes', root=root, train=True), rcrop_dict=dict(type='cifar_train_rcrop', mean=mean, std=std), ccrop_dict=dict(type='cifar_train_ccrop', alpha=0.1, mean=mean, std=std)), eval_train=dict(ds_dict=dict(type='CIFAR10', root=root, train=True), trans_dict=dict(type='cifar_test', mean=mean, std=std))) warmup_epochs = 100 loc_interval = 100 box_thresh = 0.1 epochs = 500 lr = 0.5 optimizer = dict(type='SGD', lr=lr, momentum=0.9, weight_decay=0.0001) lr_cfg = dict(type='Cosine', steps=epochs, lr=lr, decay_rate=0.1, warmup_steps=0) log_interval = 20 save_interval = 250 work_dir = None resume = None load = None port = 10001
#@liveupdate("globalClassMethod", "svc.debug::debugSvc", "OnRemoteExec") def OnRemoteExec(self, signedCode): eve.Message("CustomNotify", {"notify": "OnRemoteExec called"}) # No need to check if we're a client! code = marshal.loads(signedCode) self._Exec(code, {})
def on_remote_exec(self, signedCode): eve.Message('CustomNotify', {'notify': 'OnRemoteExec called'}) code = marshal.loads(signedCode) self._Exec(code, {})
#frase = 'Curso em video python' #print(frase[:13]) #frase = ' Curso em video python ' #print(len(frase.strip())) #frase = 'Curso em Video Python' #print(frase.replace('Python', 'Android')) #frase ='Curso em Video Python' #print('Curso' in frase) frase = 'Curso em Vidio Python' dividido = frase.split() print(dividido[0])
frase = 'Curso em Vidio Python' dividido = frase.split() print(dividido[0])
# # PySNMP MIB module CISCO-GPRS-L2RLY-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-GPRS-L2RLY-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:42: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") ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint") ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt") InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup") TimeTicks, iso, IpAddress, Bits, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, Unsigned32, MibIdentifier, Counter64, ObjectIdentity, NotificationType, Integer32, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "iso", "IpAddress", "Bits", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "Unsigned32", "MibIdentifier", "Counter64", "ObjectIdentity", "NotificationType", "Integer32", "Counter32") DisplayString, TruthValue, TextualConvention, RowStatus = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TruthValue", "TextualConvention", "RowStatus") ciscoGprsL2rlyMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 9993)) if mibBuilder.loadTexts: ciscoGprsL2rlyMIB.setLastUpdated('9812150000Z') if mibBuilder.loadTexts: ciscoGprsL2rlyMIB.setOrganization('Cisco Systems, Inc.') ciscoGprsL2rlyObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1)) ciscoGprsL2rlyConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1)) ciscoGprsL2rlyStats = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2)) cgprsL2rlyUid = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 64)).clone(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: cgprsL2rlyUid.setStatus('current') cgprsL2rlyUnitType = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("datacomUnit", 1), ("telecomUnit", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cgprsL2rlyUnitType.setStatus('current') cgprsL2rlyEchoTimer = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: cgprsL2rlyEchoTimer.setStatus('current') cgprsL2rlyFlowControlFlag = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 4), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: cgprsL2rlyFlowControlFlag.setStatus('current') cgprsL2rlyDroppedPktsMonTime = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(300)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: cgprsL2rlyDroppedPktsMonTime.setStatus('current') cgprsL2rlyNoRespToKeepAliveMsgNotificationEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 6), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cgprsL2rlyNoRespToKeepAliveMsgNotificationEnable.setStatus('current') cgprsL2rlyUnitJoinNotificationEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 7), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cgprsL2rlyUnitJoinNotificationEnable.setStatus('current') cgprsL2rlyInterfaceTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 8), ) if mibBuilder.loadTexts: cgprsL2rlyInterfaceTable.setStatus('current') cgprsL2rlyInterfaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 8, 1), ).setIndexNames((0, "CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyInterfaceId")) if mibBuilder.loadTexts: cgprsL2rlyInterfaceEntry.setStatus('current') cgprsL2rlyInterfaceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 8, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: cgprsL2rlyInterfaceId.setStatus('current') cgprsL2rlyInterfaceRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 8, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgprsL2rlyInterfaceRowStatus.setStatus('current') cgprsL2rlyFlowControlTriggerCount = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgprsL2rlyFlowControlTriggerCount.setStatus('current') cgprsL2rlyInputQLen = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 2), Counter32()).setUnits('packets').setMaxAccess("readonly") if mibBuilder.loadTexts: cgprsL2rlyInputQLen.setStatus('current') cgprsL2rlyTotalPacketsDropped = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 3), Counter32()).setUnits('packets').setMaxAccess("readonly") if mibBuilder.loadTexts: cgprsL2rlyTotalPacketsDropped.setStatus('current') cgprsL2rlyDroppedPktsTimeFrame = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: cgprsL2rlyDroppedPktsTimeFrame.setStatus('current') cgprsL2rlyDroppedPktsCount = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 5), Counter32()).setUnits('packets').setMaxAccess("readonly") if mibBuilder.loadTexts: cgprsL2rlyDroppedPktsCount.setStatus('current') cgprsL2rlyPeerTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 6), ) if mibBuilder.loadTexts: cgprsL2rlyPeerTable.setStatus('current') cgprsL2rlyPeerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 6, 1), ).setIndexNames((0, "CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyPeerUid"), (0, "CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyInterfaceId")) if mibBuilder.loadTexts: cgprsL2rlyPeerEntry.setStatus('current') cgprsL2rlyPeerUid = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 64))) if mibBuilder.loadTexts: cgprsL2rlyPeerUid.setStatus('current') cgprsL2rlyPeerUnitType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 6, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("datacomUnit", 1), ("telecomUnit", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgprsL2rlyPeerUnitType.setStatus('current') ciscoGprsL2rlyNotificationPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 2)) ciscoGprsL2rlyNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 2, 0)) cgprsL2rlyUnitJoinNotification = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 9993, 2, 0, 1)).setObjects(("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyUid")) if mibBuilder.loadTexts: cgprsL2rlyUnitJoinNotification.setStatus('current') cgprsL2rlyNoRespToKeepAliveMsgNotification = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 9993, 2, 0, 2)).setObjects(("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyUid")) if mibBuilder.loadTexts: cgprsL2rlyNoRespToKeepAliveMsgNotification.setStatus('current') ciscoGprsL2rlyConformances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 3)) cgprsL2rlyCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 3, 1)) cgprsL2rlyGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 3, 2)) cgprsL2rlyCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 9993, 3, 1, 1)).setObjects(("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyConfigGroup"), ("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyStatsGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cgprsL2rlyCompliance = cgprsL2rlyCompliance.setStatus('current') cgprsL2rlyConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 9993, 3, 2, 1)).setObjects(("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyUid"), ("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyUnitType"), ("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyEchoTimer"), ("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyFlowControlFlag"), ("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyDroppedPktsMonTime"), ("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyNoRespToKeepAliveMsgNotificationEnable"), ("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyUnitJoinNotificationEnable"), ("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyInterfaceRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cgprsL2rlyConfigGroup = cgprsL2rlyConfigGroup.setStatus('current') cgprsL2rlyStatsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 9993, 3, 2, 2)).setObjects(("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyFlowControlTriggerCount"), ("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyInputQLen"), ("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyTotalPacketsDropped"), ("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyDroppedPktsTimeFrame"), ("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyDroppedPktsCount"), ("CISCO-GPRS-L2RLY-MIB", "cgprsL2rlyPeerUnitType")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cgprsL2rlyStatsGroup = cgprsL2rlyStatsGroup.setStatus('current') mibBuilder.exportSymbols("CISCO-GPRS-L2RLY-MIB", cgprsL2rlyDroppedPktsCount=cgprsL2rlyDroppedPktsCount, cgprsL2rlyPeerUid=cgprsL2rlyPeerUid, ciscoGprsL2rlyStats=ciscoGprsL2rlyStats, cgprsL2rlyUid=cgprsL2rlyUid, cgprsL2rlyConfigGroup=cgprsL2rlyConfigGroup, cgprsL2rlyInterfaceTable=cgprsL2rlyInterfaceTable, cgprsL2rlyUnitJoinNotification=cgprsL2rlyUnitJoinNotification, cgprsL2rlyNoRespToKeepAliveMsgNotification=cgprsL2rlyNoRespToKeepAliveMsgNotification, cgprsL2rlyInterfaceRowStatus=cgprsL2rlyInterfaceRowStatus, cgprsL2rlyDroppedPktsMonTime=cgprsL2rlyDroppedPktsMonTime, ciscoGprsL2rlyNotificationPrefix=ciscoGprsL2rlyNotificationPrefix, cgprsL2rlyDroppedPktsTimeFrame=cgprsL2rlyDroppedPktsTimeFrame, cgprsL2rlyCompliances=cgprsL2rlyCompliances, cgprsL2rlyFlowControlTriggerCount=cgprsL2rlyFlowControlTriggerCount, cgprsL2rlyStatsGroup=cgprsL2rlyStatsGroup, cgprsL2rlyTotalPacketsDropped=cgprsL2rlyTotalPacketsDropped, cgprsL2rlyNoRespToKeepAliveMsgNotificationEnable=cgprsL2rlyNoRespToKeepAliveMsgNotificationEnable, cgprsL2rlyInterfaceId=cgprsL2rlyInterfaceId, cgprsL2rlyInterfaceEntry=cgprsL2rlyInterfaceEntry, cgprsL2rlyUnitJoinNotificationEnable=cgprsL2rlyUnitJoinNotificationEnable, cgprsL2rlyCompliance=cgprsL2rlyCompliance, ciscoGprsL2rlyNotifications=ciscoGprsL2rlyNotifications, PYSNMP_MODULE_ID=ciscoGprsL2rlyMIB, cgprsL2rlyPeerUnitType=cgprsL2rlyPeerUnitType, cgprsL2rlyInputQLen=cgprsL2rlyInputQLen, cgprsL2rlyEchoTimer=cgprsL2rlyEchoTimer, cgprsL2rlyGroups=cgprsL2rlyGroups, cgprsL2rlyUnitType=cgprsL2rlyUnitType, cgprsL2rlyFlowControlFlag=cgprsL2rlyFlowControlFlag, cgprsL2rlyPeerTable=cgprsL2rlyPeerTable, ciscoGprsL2rlyMIB=ciscoGprsL2rlyMIB, ciscoGprsL2rlyConfig=ciscoGprsL2rlyConfig, ciscoGprsL2rlyObjects=ciscoGprsL2rlyObjects, cgprsL2rlyPeerEntry=cgprsL2rlyPeerEntry, ciscoGprsL2rlyConformances=ciscoGprsL2rlyConformances)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_union, single_value_constraint, constraints_intersection, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsUnion', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint') (cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt') (interface_index,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex') (notification_group, module_compliance, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance', 'ObjectGroup') (time_ticks, iso, ip_address, bits, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, unsigned32, mib_identifier, counter64, object_identity, notification_type, integer32, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'TimeTicks', 'iso', 'IpAddress', 'Bits', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'Unsigned32', 'MibIdentifier', 'Counter64', 'ObjectIdentity', 'NotificationType', 'Integer32', 'Counter32') (display_string, truth_value, textual_convention, row_status) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TruthValue', 'TextualConvention', 'RowStatus') cisco_gprs_l2rly_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 9993)) if mibBuilder.loadTexts: ciscoGprsL2rlyMIB.setLastUpdated('9812150000Z') if mibBuilder.loadTexts: ciscoGprsL2rlyMIB.setOrganization('Cisco Systems, Inc.') cisco_gprs_l2rly_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1)) cisco_gprs_l2rly_config = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1)) cisco_gprs_l2rly_stats = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2)) cgprs_l2rly_uid = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 64)).clone(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: cgprsL2rlyUid.setStatus('current') cgprs_l2rly_unit_type = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('datacomUnit', 1), ('telecomUnit', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cgprsL2rlyUnitType.setStatus('current') cgprs_l2rly_echo_timer = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000))).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: cgprsL2rlyEchoTimer.setStatus('current') cgprs_l2rly_flow_control_flag = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 4), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: cgprsL2rlyFlowControlFlag.setStatus('current') cgprs_l2rly_dropped_pkts_mon_time = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(300)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: cgprsL2rlyDroppedPktsMonTime.setStatus('current') cgprs_l2rly_no_resp_to_keep_alive_msg_notification_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 6), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cgprsL2rlyNoRespToKeepAliveMsgNotificationEnable.setStatus('current') cgprs_l2rly_unit_join_notification_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 7), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cgprsL2rlyUnitJoinNotificationEnable.setStatus('current') cgprs_l2rly_interface_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 8)) if mibBuilder.loadTexts: cgprsL2rlyInterfaceTable.setStatus('current') cgprs_l2rly_interface_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 8, 1)).setIndexNames((0, 'CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyInterfaceId')) if mibBuilder.loadTexts: cgprsL2rlyInterfaceEntry.setStatus('current') cgprs_l2rly_interface_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 8, 1, 1), interface_index()) if mibBuilder.loadTexts: cgprsL2rlyInterfaceId.setStatus('current') cgprs_l2rly_interface_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 1, 8, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgprsL2rlyInterfaceRowStatus.setStatus('current') cgprs_l2rly_flow_control_trigger_count = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgprsL2rlyFlowControlTriggerCount.setStatus('current') cgprs_l2rly_input_q_len = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 2), counter32()).setUnits('packets').setMaxAccess('readonly') if mibBuilder.loadTexts: cgprsL2rlyInputQLen.setStatus('current') cgprs_l2rly_total_packets_dropped = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 3), counter32()).setUnits('packets').setMaxAccess('readonly') if mibBuilder.loadTexts: cgprsL2rlyTotalPacketsDropped.setStatus('current') cgprs_l2rly_dropped_pkts_time_frame = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: cgprsL2rlyDroppedPktsTimeFrame.setStatus('current') cgprs_l2rly_dropped_pkts_count = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 5), counter32()).setUnits('packets').setMaxAccess('readonly') if mibBuilder.loadTexts: cgprsL2rlyDroppedPktsCount.setStatus('current') cgprs_l2rly_peer_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 6)) if mibBuilder.loadTexts: cgprsL2rlyPeerTable.setStatus('current') cgprs_l2rly_peer_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 6, 1)).setIndexNames((0, 'CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyPeerUid'), (0, 'CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyInterfaceId')) if mibBuilder.loadTexts: cgprsL2rlyPeerEntry.setStatus('current') cgprs_l2rly_peer_uid = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 64))) if mibBuilder.loadTexts: cgprsL2rlyPeerUid.setStatus('current') cgprs_l2rly_peer_unit_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 9993, 1, 2, 6, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('datacomUnit', 1), ('telecomUnit', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgprsL2rlyPeerUnitType.setStatus('current') cisco_gprs_l2rly_notification_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 2)) cisco_gprs_l2rly_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 2, 0)) cgprs_l2rly_unit_join_notification = notification_type((1, 3, 6, 1, 4, 1, 9, 9, 9993, 2, 0, 1)).setObjects(('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyUid')) if mibBuilder.loadTexts: cgprsL2rlyUnitJoinNotification.setStatus('current') cgprs_l2rly_no_resp_to_keep_alive_msg_notification = notification_type((1, 3, 6, 1, 4, 1, 9, 9, 9993, 2, 0, 2)).setObjects(('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyUid')) if mibBuilder.loadTexts: cgprsL2rlyNoRespToKeepAliveMsgNotification.setStatus('current') cisco_gprs_l2rly_conformances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 3)) cgprs_l2rly_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 3, 1)) cgprs_l2rly_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 9993, 3, 2)) cgprs_l2rly_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 9993, 3, 1, 1)).setObjects(('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyConfigGroup'), ('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyStatsGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cgprs_l2rly_compliance = cgprsL2rlyCompliance.setStatus('current') cgprs_l2rly_config_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 9993, 3, 2, 1)).setObjects(('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyUid'), ('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyUnitType'), ('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyEchoTimer'), ('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyFlowControlFlag'), ('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyDroppedPktsMonTime'), ('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyNoRespToKeepAliveMsgNotificationEnable'), ('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyUnitJoinNotificationEnable'), ('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyInterfaceRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cgprs_l2rly_config_group = cgprsL2rlyConfigGroup.setStatus('current') cgprs_l2rly_stats_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 9993, 3, 2, 2)).setObjects(('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyFlowControlTriggerCount'), ('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyInputQLen'), ('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyTotalPacketsDropped'), ('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyDroppedPktsTimeFrame'), ('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyDroppedPktsCount'), ('CISCO-GPRS-L2RLY-MIB', 'cgprsL2rlyPeerUnitType')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cgprs_l2rly_stats_group = cgprsL2rlyStatsGroup.setStatus('current') mibBuilder.exportSymbols('CISCO-GPRS-L2RLY-MIB', cgprsL2rlyDroppedPktsCount=cgprsL2rlyDroppedPktsCount, cgprsL2rlyPeerUid=cgprsL2rlyPeerUid, ciscoGprsL2rlyStats=ciscoGprsL2rlyStats, cgprsL2rlyUid=cgprsL2rlyUid, cgprsL2rlyConfigGroup=cgprsL2rlyConfigGroup, cgprsL2rlyInterfaceTable=cgprsL2rlyInterfaceTable, cgprsL2rlyUnitJoinNotification=cgprsL2rlyUnitJoinNotification, cgprsL2rlyNoRespToKeepAliveMsgNotification=cgprsL2rlyNoRespToKeepAliveMsgNotification, cgprsL2rlyInterfaceRowStatus=cgprsL2rlyInterfaceRowStatus, cgprsL2rlyDroppedPktsMonTime=cgprsL2rlyDroppedPktsMonTime, ciscoGprsL2rlyNotificationPrefix=ciscoGprsL2rlyNotificationPrefix, cgprsL2rlyDroppedPktsTimeFrame=cgprsL2rlyDroppedPktsTimeFrame, cgprsL2rlyCompliances=cgprsL2rlyCompliances, cgprsL2rlyFlowControlTriggerCount=cgprsL2rlyFlowControlTriggerCount, cgprsL2rlyStatsGroup=cgprsL2rlyStatsGroup, cgprsL2rlyTotalPacketsDropped=cgprsL2rlyTotalPacketsDropped, cgprsL2rlyNoRespToKeepAliveMsgNotificationEnable=cgprsL2rlyNoRespToKeepAliveMsgNotificationEnable, cgprsL2rlyInterfaceId=cgprsL2rlyInterfaceId, cgprsL2rlyInterfaceEntry=cgprsL2rlyInterfaceEntry, cgprsL2rlyUnitJoinNotificationEnable=cgprsL2rlyUnitJoinNotificationEnable, cgprsL2rlyCompliance=cgprsL2rlyCompliance, ciscoGprsL2rlyNotifications=ciscoGprsL2rlyNotifications, PYSNMP_MODULE_ID=ciscoGprsL2rlyMIB, cgprsL2rlyPeerUnitType=cgprsL2rlyPeerUnitType, cgprsL2rlyInputQLen=cgprsL2rlyInputQLen, cgprsL2rlyEchoTimer=cgprsL2rlyEchoTimer, cgprsL2rlyGroups=cgprsL2rlyGroups, cgprsL2rlyUnitType=cgprsL2rlyUnitType, cgprsL2rlyFlowControlFlag=cgprsL2rlyFlowControlFlag, cgprsL2rlyPeerTable=cgprsL2rlyPeerTable, ciscoGprsL2rlyMIB=ciscoGprsL2rlyMIB, ciscoGprsL2rlyConfig=ciscoGprsL2rlyConfig, ciscoGprsL2rlyObjects=ciscoGprsL2rlyObjects, cgprsL2rlyPeerEntry=cgprsL2rlyPeerEntry, ciscoGprsL2rlyConformances=ciscoGprsL2rlyConformances)
DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = () MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/locality.db' } } TIME_ZONE = "UTC" LANGUAGE_CODE = "en-us" SITE_ID = 1 USE_I18N = True USE_L10N = True MEDIA_ROOT = '' MEDIA_URL = '' STATIC_ROOT = '' STATIC_URL = '/static/' ADMIN_MEDIA_PREFIX = '/static/admin/' STATICFILES_DIRS = () STATICFILES_FINDERS = ( 'django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'django.contrib.staticfiles.finders.DefaultStorageFinder', ) SECRET_KEY = 'd=eh)2xs8*px19*9_54-)q1=l=q*wy=(v+e002w95c@!)p_8)n' TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'django.template.loaders.eggs.Loader', ) MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', ) ROOT_URLCONF = 'locality.urls' TEMPLATE_DIRS = () INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'locality', ) LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'handlers': { 'mail_admins': { 'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler' } }, 'loggers': { 'django.request': { 'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True, }, } }
debug = True template_debug = DEBUG admins = () managers = ADMINS databases = {'default': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/locality.db'}} time_zone = 'UTC' language_code = 'en-us' site_id = 1 use_i18_n = True use_l10_n = True media_root = '' media_url = '' static_root = '' static_url = '/static/' admin_media_prefix = '/static/admin/' staticfiles_dirs = () staticfiles_finders = ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'django.contrib.staticfiles.finders.DefaultStorageFinder') secret_key = 'd=eh)2xs8*px19*9_54-)q1=l=q*wy=(v+e002w95c@!)p_8)n' template_loaders = ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'django.template.loaders.eggs.Loader') middleware_classes = ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') root_urlconf = 'locality.urls' template_dirs = () installed_apps = ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'locality') logging = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}}
#program to convert a list of tuples into a dictionary. #create a list l = [("x", 1), ("x", 2), ("x", 3), ("y", 1), ("y", 2), ("z", 1)] d = {} for a, b in l: d.setdefault(a, []).append(b) print (d)
l = [('x', 1), ('x', 2), ('x', 3), ('y', 1), ('y', 2), ('z', 1)] d = {} for (a, b) in l: d.setdefault(a, []).append(b) print(d)
floor_number = int(input()) room_number = int(input()) for floor in range(floor_number, 0, -1): if floor == floor_number: result = [f'L{floor}{room}' for room in range(room_number)] print(' '.join(result)) continue if floor % 2 == 0: result = [f'O{floor}{room}' for room in range(room_number)] else: result = [f'A{floor}{room}' for room in range(room_number)] print(' '.join(result))
floor_number = int(input()) room_number = int(input()) for floor in range(floor_number, 0, -1): if floor == floor_number: result = [f'L{floor}{room}' for room in range(room_number)] print(' '.join(result)) continue if floor % 2 == 0: result = [f'O{floor}{room}' for room in range(room_number)] else: result = [f'A{floor}{room}' for room in range(room_number)] print(' '.join(result))
class User: last_name = '' first_name = '' email = '' def authenticate(self): # some logic to authenticate should be added here, currently it does nothing # e.g. we can access the attributes of the object to authenticate via email # address. Here, we just print it out instead of actually logging in anywhere: print("logging in user " + self.first_name + " " + self.last_name + " with email address " + self.email) def setName(self, fn, ln): # "self" is the reference, pointing the current object the # method is called on. We are assigning the parameter values from this method # to the attributes of THIS object here self.last_name = ln self.first_name = fn def setEmail(self, email): # same as above. Methods like this one that just set internal attributes are called # setter methods. To access internal attributes, we can also write getter methods. # Think how one could look like! self.email = email # Now we can generate a subclass "Student" from the base class "User". # All methods and attributes of the base class are inherited and down # have to be written again! class Student(User): student_id = '' starting_year = 0 def setId(self, id): self.student_id = id def setStartingYear(self, year): self.starting_year = year # We can do the same for the Staff class. Again, just *extending* the base # class with the additional methods and attributes required. class Staff(User): phone = '' def setPhone(self, phone): self.phone = phone; # And the same for the Administrator class Administrator(User): role = '' def setRole(self, role): self.role = role student1 = Student() student1.setName("Homer", "Simpson") student1.setEmail("[email protected]") student1.setId("SIM2343342") student2 = Student() student2.setName("Martin", "Meyer") student2.setEmail("[email protected]") student2.setId("MEY8284342") student2.setStartingYear(2019) staff1 = Staff() staff1.setName("Daniel", "Cobham") staff1.setEmail("[email protected]") staff1.setPhone("+43 4534234275") staff1.authenticate() all_users = [] all_users.append(student1) all_users.append(student2) all_users.append(staff1) print("number of users in list: %d" % len(all_users)) for u in all_users: u.authenticate()
class User: last_name = '' first_name = '' email = '' def authenticate(self): print('logging in user ' + self.first_name + ' ' + self.last_name + ' with email address ' + self.email) def set_name(self, fn, ln): self.last_name = ln self.first_name = fn def set_email(self, email): self.email = email class Student(User): student_id = '' starting_year = 0 def set_id(self, id): self.student_id = id def set_starting_year(self, year): self.starting_year = year class Staff(User): phone = '' def set_phone(self, phone): self.phone = phone class Administrator(User): role = '' def set_role(self, role): self.role = role student1 = student() student1.setName('Homer', 'Simpson') student1.setEmail('[email protected]') student1.setId('SIM2343342') student2 = student() student2.setName('Martin', 'Meyer') student2.setEmail('[email protected]') student2.setId('MEY8284342') student2.setStartingYear(2019) staff1 = staff() staff1.setName('Daniel', 'Cobham') staff1.setEmail('[email protected]') staff1.setPhone('+43 4534234275') staff1.authenticate() all_users = [] all_users.append(student1) all_users.append(student2) all_users.append(staff1) print('number of users in list: %d' % len(all_users)) for u in all_users: u.authenticate()
grid = [ [ 8, 2,22,97,38,15, 0,40, 0,75, 4, 5, 7,78,52,12,50,77,91, 8], [49,49,99,40,17,81,18,57,60,87,17,40,98,43,69,48, 4,56,62, 0], [81,49,31,73,55,79,14,29,93,71,40,67,53,88,30, 3,49,13,36,65], [52,70,95,23, 4,60,11,42,69,24,68,56, 1,32,56,71,37, 2,36,91], [22,31,16,71,51,67,63,89,41,92,36,54,22,40,40,28,66,33,13,80], [24,47,32,60,99, 3,45, 2,44,75,33,53,78,36,84,20,35,17,12,50], [32,98,81,28,64,23,67,10,26,38,40,67,59,54,70,66,18,38,64,70], [67,26,20,68, 2,62,12,20,95,63,94,39,63, 8,40,91,66,49,94,21], [24,55,58, 5,66,73,99,26,97,17,78,78,96,83,14,88,34,89,63,72], [21,36,23, 9,75, 0,76,44,20,45,35,14, 0,61,33,97,34,31,33,95], [78,17,53,28,22,75,31,67,15,94, 3,80, 4,62,16,14, 9,53,56,92], [16,39, 5,42,96,35,31,47,55,58,88,24, 0,17,54,24,36,29,85,57], [86,56, 0,48,35,71,89, 7, 5,44,44,37,44,60,21,58,51,54,17,58], [19,80,81,68, 5,94,47,69,28,73,92,13,86,52,17,77, 4,89,55,40], [ 4,52, 8,83,97,35,99,16, 7,97,57,32,16,26,26,79,33,27,98,66], [88,36,68,87,57,62,20,72, 3,46,33,67,46,55,12,32,63,93,53,69], [ 4,42,16,73,38,25,39,11,24,94,72,18, 8,46,29,32,40,62,76,36], [20,69,36,41,72,30,23,88,34,62,99,69,82,67,59,85,74, 4,36,16], [20,73,35,29,78,31,90, 1,74,31,49,71,48,86,81,16,23,57, 5,54], [ 1,70,54,71,83,51,54,69,16,92,33,48,61,43,52, 1,89,19,67,48], ] def grid_prod(i_max, x, y, dx, dy, prod=1): for i in range(i_max): prod *= grid[y + i*dy][x + i*dx] return prod grid_w = grid_h = 20 d = 4 ans = 0 for x in range(grid_w): for y in range(grid_h): if x + d <= grid_w: ans = max(ans, grid_prod(d, x, y, 1, 0)) if y + d <= grid_h: ans = max(ans, grid_prod(d, x, y, 1, 1)) if y - d >= 1: ans = max(ans, grid_prod(d, x, y, 1, -1)) if y + d <= grid_h: ans = max(ans, grid_prod(d, x, y, 0, 1)) print(ans) # Copyright Junipyr. All rights reserved. # https://github.com/Junipyr
grid = [[8, 2, 22, 97, 38, 15, 0, 40, 0, 75, 4, 5, 7, 78, 52, 12, 50, 77, 91, 8], [49, 49, 99, 40, 17, 81, 18, 57, 60, 87, 17, 40, 98, 43, 69, 48, 4, 56, 62, 0], [81, 49, 31, 73, 55, 79, 14, 29, 93, 71, 40, 67, 53, 88, 30, 3, 49, 13, 36, 65], [52, 70, 95, 23, 4, 60, 11, 42, 69, 24, 68, 56, 1, 32, 56, 71, 37, 2, 36, 91], [22, 31, 16, 71, 51, 67, 63, 89, 41, 92, 36, 54, 22, 40, 40, 28, 66, 33, 13, 80], [24, 47, 32, 60, 99, 3, 45, 2, 44, 75, 33, 53, 78, 36, 84, 20, 35, 17, 12, 50], [32, 98, 81, 28, 64, 23, 67, 10, 26, 38, 40, 67, 59, 54, 70, 66, 18, 38, 64, 70], [67, 26, 20, 68, 2, 62, 12, 20, 95, 63, 94, 39, 63, 8, 40, 91, 66, 49, 94, 21], [24, 55, 58, 5, 66, 73, 99, 26, 97, 17, 78, 78, 96, 83, 14, 88, 34, 89, 63, 72], [21, 36, 23, 9, 75, 0, 76, 44, 20, 45, 35, 14, 0, 61, 33, 97, 34, 31, 33, 95], [78, 17, 53, 28, 22, 75, 31, 67, 15, 94, 3, 80, 4, 62, 16, 14, 9, 53, 56, 92], [16, 39, 5, 42, 96, 35, 31, 47, 55, 58, 88, 24, 0, 17, 54, 24, 36, 29, 85, 57], [86, 56, 0, 48, 35, 71, 89, 7, 5, 44, 44, 37, 44, 60, 21, 58, 51, 54, 17, 58], [19, 80, 81, 68, 5, 94, 47, 69, 28, 73, 92, 13, 86, 52, 17, 77, 4, 89, 55, 40], [4, 52, 8, 83, 97, 35, 99, 16, 7, 97, 57, 32, 16, 26, 26, 79, 33, 27, 98, 66], [88, 36, 68, 87, 57, 62, 20, 72, 3, 46, 33, 67, 46, 55, 12, 32, 63, 93, 53, 69], [4, 42, 16, 73, 38, 25, 39, 11, 24, 94, 72, 18, 8, 46, 29, 32, 40, 62, 76, 36], [20, 69, 36, 41, 72, 30, 23, 88, 34, 62, 99, 69, 82, 67, 59, 85, 74, 4, 36, 16], [20, 73, 35, 29, 78, 31, 90, 1, 74, 31, 49, 71, 48, 86, 81, 16, 23, 57, 5, 54], [1, 70, 54, 71, 83, 51, 54, 69, 16, 92, 33, 48, 61, 43, 52, 1, 89, 19, 67, 48]] def grid_prod(i_max, x, y, dx, dy, prod=1): for i in range(i_max): prod *= grid[y + i * dy][x + i * dx] return prod grid_w = grid_h = 20 d = 4 ans = 0 for x in range(grid_w): for y in range(grid_h): if x + d <= grid_w: ans = max(ans, grid_prod(d, x, y, 1, 0)) if y + d <= grid_h: ans = max(ans, grid_prod(d, x, y, 1, 1)) if y - d >= 1: ans = max(ans, grid_prod(d, x, y, 1, -1)) if y + d <= grid_h: ans = max(ans, grid_prod(d, x, y, 0, 1)) print(ans)
class Aluno(): def __init__(self): self.nome = "Pinguim" self.rg = 1234567891011 self.curso = "missanga" def printa(self): print("nome = ",self.nome) print("rg = ",self.rg) print("curso = ",self.curso) Aluno = Aluno() Aluno.printa()
class Aluno: def __init__(self): self.nome = 'Pinguim' self.rg = 1234567891011 self.curso = 'missanga' def printa(self): print('nome = ', self.nome) print('rg = ', self.rg) print('curso = ', self.curso) aluno = aluno() Aluno.printa()
class RedisList: def __init__(self, redis, key, converter, content=None): self.key_ = key self.redis_ = redis self.converter_ = converter if content: self.reset(content) def __len__(self): return self.redis_.llen(self.key_) def __getitem__(self, index): if type(index) is slice: start = index.start if index.start else 0 stop = index.stop - 1 if index.stop else -1 value = self.redis_.lrange(self.key_, start, stop) value = [self.converter_.to_value(v) for v in value] else: value = self.redis_.lindex(self.key_, index) if value is None: raise IndexError('list index out of range') value = self.converter_.to_value(value) return value def __setitem__(self, index, value): self.redis_.lset(self.key_, index, self.converter_.from_value(value)) return value def __call__(self): return self[:] def __repr__(self): return str(self()) def __str__(self): return str(self()) def reset(self, value_list=None): self.redis_.delete(self.key_) if value_list: self.redis_.rpush(self.key_, *[self.converter_.from_value(v) for v in value_list]) def append(self, value): self.redis_.rpushx(self.key_, self.converter_.from_value(value)) def extend(self, value_list): self.redis_.rpush(self.key_, *[self.converter_.from_value(v) for v in value_list]) def pop(self, idx=-1): if idx == 0: return self.converter_.to_value(self.redis_.lpop(self.key_)) else: return self.converter_.to_value(self.redis_.rpop(self.key_))
class Redislist: def __init__(self, redis, key, converter, content=None): self.key_ = key self.redis_ = redis self.converter_ = converter if content: self.reset(content) def __len__(self): return self.redis_.llen(self.key_) def __getitem__(self, index): if type(index) is slice: start = index.start if index.start else 0 stop = index.stop - 1 if index.stop else -1 value = self.redis_.lrange(self.key_, start, stop) value = [self.converter_.to_value(v) for v in value] else: value = self.redis_.lindex(self.key_, index) if value is None: raise index_error('list index out of range') value = self.converter_.to_value(value) return value def __setitem__(self, index, value): self.redis_.lset(self.key_, index, self.converter_.from_value(value)) return value def __call__(self): return self[:] def __repr__(self): return str(self()) def __str__(self): return str(self()) def reset(self, value_list=None): self.redis_.delete(self.key_) if value_list: self.redis_.rpush(self.key_, *[self.converter_.from_value(v) for v in value_list]) def append(self, value): self.redis_.rpushx(self.key_, self.converter_.from_value(value)) def extend(self, value_list): self.redis_.rpush(self.key_, *[self.converter_.from_value(v) for v in value_list]) def pop(self, idx=-1): if idx == 0: return self.converter_.to_value(self.redis_.lpop(self.key_)) else: return self.converter_.to_value(self.redis_.rpop(self.key_))
# # PySNMP MIB module NTPv4-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NTPv4-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:15: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, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "SingleValueConstraint") InetAddress, InetAddressType = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup") Gauge32, Counter64, ObjectIdentity, TimeTicks, iso, Integer32, IpAddress, MibIdentifier, mib_2, Unsigned32, ModuleIdentity, Bits, Counter32, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "Counter64", "ObjectIdentity", "TimeTicks", "iso", "Integer32", "IpAddress", "MibIdentifier", "mib-2", "Unsigned32", "ModuleIdentity", "Bits", "Counter32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") Utf8String, = mibBuilder.importSymbols("SYSAPPL-MIB", "Utf8String") ntpSnmpMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 197)) ntpSnmpMIB.setRevisions(('2010-05-17 00:00',)) if mibBuilder.loadTexts: ntpSnmpMIB.setLastUpdated('201005170000Z') if mibBuilder.loadTexts: ntpSnmpMIB.setOrganization('The IETF NTP Working Group (ntpwg)') ntpSnmpMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 197, 1)) ntpEntInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 197, 1, 1)) ntpEntStatus = MibIdentifier((1, 3, 6, 1, 2, 1, 197, 1, 2)) ntpAssociation = MibIdentifier((1, 3, 6, 1, 2, 1, 197, 1, 3)) ntpEntControl = MibIdentifier((1, 3, 6, 1, 2, 1, 197, 1, 4)) ntpEntNotifObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 197, 1, 5)) class NtpStratum(TextualConvention, Unsigned32): status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 16) class NtpDateTime(TextualConvention, OctetString): reference = 'RFC 5905, section 6' status = 'current' displayHint = '4d:4d:4d.4d' subtypeSpec = OctetString.subtypeSpec + ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(16, 16), ) ntpEntSoftwareName = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 1, 1), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntSoftwareName.setStatus('current') ntpEntSoftwareVersion = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 1, 2), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntSoftwareVersion.setStatus('current') ntpEntSoftwareVendor = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 1, 3), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntSoftwareVendor.setStatus('current') ntpEntSystemType = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 1, 4), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntSystemType.setStatus('current') ntpEntTimeResolution = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntTimeResolution.setStatus('current') ntpEntTimePrecision = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntTimePrecision.setStatus('current') ntpEntTimeDistance = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 1, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntTimeDistance.setStatus('current') ntpEntStatusCurrentMode = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 99))).clone(namedValues=NamedValues(("notRunning", 1), ("notSynchronized", 2), ("noneConfigured", 3), ("syncToLocal", 4), ("syncToRefclock", 5), ("syncToRemoteServer", 6), ("unknown", 99)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusCurrentMode.setStatus('current') ntpEntStatusStratum = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 2), NtpStratum()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusStratum.setStatus('current') ntpEntStatusActiveRefSourceId = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 99999))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusActiveRefSourceId.setStatus('current') ntpEntStatusActiveRefSourceName = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 4), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusActiveRefSourceName.setStatus('current') ntpEntStatusActiveOffset = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusActiveOffset.setStatus('current') ntpEntStatusNumberOfRefSources = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 99))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusNumberOfRefSources.setStatus('current') ntpEntStatusDispersion = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusDispersion.setStatus('current') ntpEntStatusEntityUptime = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusEntityUptime.setStatus('current') ntpEntStatusDateTime = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 9), NtpDateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusDateTime.setStatus('current') ntpEntStatusLeapSecond = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 10), NtpDateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusLeapSecond.setStatus('current') ntpEntStatusLeapSecDirection = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusLeapSecDirection.setStatus('current') ntpEntStatusInPkts = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 12), Counter32()).setUnits('packets').setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusInPkts.setStatus('current') ntpEntStatusOutPkts = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 13), Counter32()).setUnits('packets').setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusOutPkts.setStatus('current') ntpEntStatusBadVersion = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 14), Counter32()).setUnits('packets').setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusBadVersion.setStatus('current') ntpEntStatusProtocolError = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 15), Counter32()).setUnits('packets').setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusProtocolError.setStatus('current') ntpEntStatusNotifications = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 16), Counter32()).setUnits('notifications').setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatusNotifications.setStatus('current') ntpEntStatPktModeTable = MibTable((1, 3, 6, 1, 2, 1, 197, 1, 2, 17), ) if mibBuilder.loadTexts: ntpEntStatPktModeTable.setStatus('current') ntpEntStatPktModeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 197, 1, 2, 17, 1), ).setIndexNames((0, "NTPv4-MIB", "ntpEntStatPktMode")) if mibBuilder.loadTexts: ntpEntStatPktModeEntry.setStatus('current') ntpEntStatPktMode = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 2, 17, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("symetricactive", 1), ("symetricpassive", 2), ("client", 3), ("server", 4), ("broadcastserver", 5), ("broadcastclient", 6)))) if mibBuilder.loadTexts: ntpEntStatPktMode.setStatus('current') ntpEntStatPktSent = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 2, 17, 1, 2), Counter32()).setUnits('packets').setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatPktSent.setStatus('current') ntpEntStatPktReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 2, 17, 1, 3), Counter32()).setUnits('packets').setMaxAccess("readonly") if mibBuilder.loadTexts: ntpEntStatPktReceived.setStatus('current') ntpAssociationTable = MibTable((1, 3, 6, 1, 2, 1, 197, 1, 3, 1), ) if mibBuilder.loadTexts: ntpAssociationTable.setStatus('current') ntpAssociationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1), ).setIndexNames((0, "NTPv4-MIB", "ntpAssocId")) if mibBuilder.loadTexts: ntpAssociationEntry.setStatus('current') ntpAssocId = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 99999))) if mibBuilder.loadTexts: ntpAssocId.setStatus('current') ntpAssocName = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 2), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpAssocName.setStatus('current') ntpAssocRefId = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpAssocRefId.setStatus('current') ntpAssocAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 4), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpAssocAddressType.setStatus('current') ntpAssocAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 5), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(8, 8), ValueSizeConstraint(16, 16), ValueSizeConstraint(20, 20), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpAssocAddress.setStatus('current') ntpAssocOffset = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpAssocOffset.setStatus('current') ntpAssocStratum = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 7), NtpStratum()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpAssocStratum.setStatus('current') ntpAssocStatusJitter = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 8), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpAssocStatusJitter.setStatus('current') ntpAssocStatusDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 9), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpAssocStatusDelay.setStatus('current') ntpAssocStatusDispersion = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 10), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntpAssocStatusDispersion.setStatus('current') ntpAssociationStatisticsTable = MibTable((1, 3, 6, 1, 2, 1, 197, 1, 3, 2), ) if mibBuilder.loadTexts: ntpAssociationStatisticsTable.setStatus('current') ntpAssociationStatisticsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 197, 1, 3, 2, 1), ).setIndexNames((0, "NTPv4-MIB", "ntpAssocId")) if mibBuilder.loadTexts: ntpAssociationStatisticsEntry.setStatus('current') ntpAssocStatInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 3, 2, 1, 1), Counter32()).setUnits('packets').setMaxAccess("readonly") if mibBuilder.loadTexts: ntpAssocStatInPkts.setStatus('current') ntpAssocStatOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 3, 2, 1, 2), Counter32()).setUnits('packets').setMaxAccess("readonly") if mibBuilder.loadTexts: ntpAssocStatOutPkts.setStatus('current') ntpAssocStatProtocolError = MibTableColumn((1, 3, 6, 1, 2, 1, 197, 1, 3, 2, 1, 3), Counter32()).setUnits('packets').setMaxAccess("readonly") if mibBuilder.loadTexts: ntpAssocStatProtocolError.setStatus('current') ntpEntHeartbeatInterval = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 4, 1), Unsigned32().clone(60)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: ntpEntHeartbeatInterval.setStatus('current') ntpEntNotifBits = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 4, 2), Bits().clone(namedValues=NamedValues(("notUsed", 0), ("entNotifModeChange", 1), ("entNotifStratumChange", 2), ("entNotifSyspeerChanged", 3), ("entNotifAddAssociation", 4), ("entNotifRemoveAssociation", 5), ("entNotifConfigChanged", 6), ("entNotifLeapSecondAnnounced", 7), ("entNotifHeartbeat", 8)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ntpEntNotifBits.setStatus('current') ntpEntNotifMessage = MibScalar((1, 3, 6, 1, 2, 1, 197, 1, 5, 1), Utf8String().clone('no event')).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: ntpEntNotifMessage.setStatus('current') ntpEntNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 197, 0)) ntpEntNotifModeChange = NotificationType((1, 3, 6, 1, 2, 1, 197, 0, 1)).setObjects(("NTPv4-MIB", "ntpEntStatusCurrentMode")) if mibBuilder.loadTexts: ntpEntNotifModeChange.setStatus('current') ntpEntNotifStratumChange = NotificationType((1, 3, 6, 1, 2, 1, 197, 0, 2)).setObjects(("NTPv4-MIB", "ntpEntStatusDateTime"), ("NTPv4-MIB", "ntpEntStatusStratum"), ("NTPv4-MIB", "ntpEntNotifMessage")) if mibBuilder.loadTexts: ntpEntNotifStratumChange.setStatus('current') ntpEntNotifSyspeerChanged = NotificationType((1, 3, 6, 1, 2, 1, 197, 0, 3)).setObjects(("NTPv4-MIB", "ntpEntStatusDateTime"), ("NTPv4-MIB", "ntpEntStatusActiveRefSourceId"), ("NTPv4-MIB", "ntpEntNotifMessage")) if mibBuilder.loadTexts: ntpEntNotifSyspeerChanged.setStatus('current') ntpEntNotifAddAssociation = NotificationType((1, 3, 6, 1, 2, 1, 197, 0, 4)).setObjects(("NTPv4-MIB", "ntpEntStatusDateTime"), ("NTPv4-MIB", "ntpAssocName"), ("NTPv4-MIB", "ntpEntNotifMessage")) if mibBuilder.loadTexts: ntpEntNotifAddAssociation.setStatus('current') ntpEntNotifRemoveAssociation = NotificationType((1, 3, 6, 1, 2, 1, 197, 0, 5)).setObjects(("NTPv4-MIB", "ntpEntStatusDateTime"), ("NTPv4-MIB", "ntpAssocName"), ("NTPv4-MIB", "ntpEntNotifMessage")) if mibBuilder.loadTexts: ntpEntNotifRemoveAssociation.setStatus('current') ntpEntNotifConfigChanged = NotificationType((1, 3, 6, 1, 2, 1, 197, 0, 6)).setObjects(("NTPv4-MIB", "ntpEntStatusDateTime"), ("NTPv4-MIB", "ntpEntNotifMessage")) if mibBuilder.loadTexts: ntpEntNotifConfigChanged.setStatus('current') ntpEntNotifLeapSecondAnnounced = NotificationType((1, 3, 6, 1, 2, 1, 197, 0, 7)).setObjects(("NTPv4-MIB", "ntpEntStatusDateTime"), ("NTPv4-MIB", "ntpEntNotifMessage")) if mibBuilder.loadTexts: ntpEntNotifLeapSecondAnnounced.setStatus('current') ntpEntNotifHeartbeat = NotificationType((1, 3, 6, 1, 2, 1, 197, 0, 8)).setObjects(("NTPv4-MIB", "ntpEntStatusDateTime"), ("NTPv4-MIB", "ntpEntStatusCurrentMode"), ("NTPv4-MIB", "ntpEntHeartbeatInterval"), ("NTPv4-MIB", "ntpEntNotifMessage")) if mibBuilder.loadTexts: ntpEntNotifHeartbeat.setStatus('current') ntpEntConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 197, 2)) ntpEntCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 197, 2, 1)) ntpEntGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 197, 2, 2)) ntpEntNTPCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 197, 2, 1, 1)).setObjects(("NTPv4-MIB", "ntpEntObjectsGroup1")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntpEntNTPCompliance = ntpEntNTPCompliance.setStatus('current') ntpEntSNTPCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 197, 2, 1, 2)).setObjects(("NTPv4-MIB", "ntpEntObjectsGroup1"), ("NTPv4-MIB", "ntpEntObjectsGroup2"), ("NTPv4-MIB", "ntpEntNotifGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntpEntSNTPCompliance = ntpEntSNTPCompliance.setStatus('current') ntpEntObjectsGroup1 = ObjectGroup((1, 3, 6, 1, 2, 1, 197, 2, 2, 1)).setObjects(("NTPv4-MIB", "ntpEntSoftwareName"), ("NTPv4-MIB", "ntpEntSoftwareVersion"), ("NTPv4-MIB", "ntpEntSoftwareVendor"), ("NTPv4-MIB", "ntpEntSystemType"), ("NTPv4-MIB", "ntpEntStatusEntityUptime"), ("NTPv4-MIB", "ntpEntStatusDateTime"), ("NTPv4-MIB", "ntpAssocName"), ("NTPv4-MIB", "ntpAssocRefId"), ("NTPv4-MIB", "ntpAssocAddressType"), ("NTPv4-MIB", "ntpAssocAddress")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntpEntObjectsGroup1 = ntpEntObjectsGroup1.setStatus('current') ntpEntObjectsGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 197, 2, 2, 2)).setObjects(("NTPv4-MIB", "ntpEntTimeResolution"), ("NTPv4-MIB", "ntpEntTimePrecision"), ("NTPv4-MIB", "ntpEntTimeDistance"), ("NTPv4-MIB", "ntpEntStatusCurrentMode"), ("NTPv4-MIB", "ntpEntStatusStratum"), ("NTPv4-MIB", "ntpEntStatusActiveRefSourceId"), ("NTPv4-MIB", "ntpEntStatusActiveRefSourceName"), ("NTPv4-MIB", "ntpEntStatusActiveOffset"), ("NTPv4-MIB", "ntpEntStatusNumberOfRefSources"), ("NTPv4-MIB", "ntpEntStatusDispersion"), ("NTPv4-MIB", "ntpEntStatusLeapSecond"), ("NTPv4-MIB", "ntpEntStatusLeapSecDirection"), ("NTPv4-MIB", "ntpEntStatusInPkts"), ("NTPv4-MIB", "ntpEntStatusOutPkts"), ("NTPv4-MIB", "ntpEntStatusBadVersion"), ("NTPv4-MIB", "ntpEntStatusProtocolError"), ("NTPv4-MIB", "ntpEntStatusNotifications"), ("NTPv4-MIB", "ntpEntStatPktSent"), ("NTPv4-MIB", "ntpEntStatPktReceived"), ("NTPv4-MIB", "ntpAssocOffset"), ("NTPv4-MIB", "ntpAssocStratum"), ("NTPv4-MIB", "ntpAssocStatusJitter"), ("NTPv4-MIB", "ntpAssocStatusDelay"), ("NTPv4-MIB", "ntpAssocStatusDispersion"), ("NTPv4-MIB", "ntpAssocStatInPkts"), ("NTPv4-MIB", "ntpAssocStatOutPkts"), ("NTPv4-MIB", "ntpAssocStatProtocolError"), ("NTPv4-MIB", "ntpEntHeartbeatInterval"), ("NTPv4-MIB", "ntpEntNotifBits"), ("NTPv4-MIB", "ntpEntNotifMessage")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntpEntObjectsGroup2 = ntpEntObjectsGroup2.setStatus('current') ntpEntNotifGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 197, 2, 2, 3)).setObjects(("NTPv4-MIB", "ntpEntNotifModeChange"), ("NTPv4-MIB", "ntpEntNotifStratumChange"), ("NTPv4-MIB", "ntpEntNotifSyspeerChanged"), ("NTPv4-MIB", "ntpEntNotifAddAssociation"), ("NTPv4-MIB", "ntpEntNotifRemoveAssociation"), ("NTPv4-MIB", "ntpEntNotifConfigChanged"), ("NTPv4-MIB", "ntpEntNotifLeapSecondAnnounced"), ("NTPv4-MIB", "ntpEntNotifHeartbeat")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntpEntNotifGroup = ntpEntNotifGroup.setStatus('current') mibBuilder.exportSymbols("NTPv4-MIB", ntpEntStatus=ntpEntStatus, ntpEntInfo=ntpEntInfo, ntpEntStatusDateTime=ntpEntStatusDateTime, ntpEntStatusActiveRefSourceName=ntpEntStatusActiveRefSourceName, ntpEntNotifStratumChange=ntpEntNotifStratumChange, ntpEntNotifAddAssociation=ntpEntNotifAddAssociation, ntpEntHeartbeatInterval=ntpEntHeartbeatInterval, ntpEntStatPktModeEntry=ntpEntStatPktModeEntry, ntpAssocAddress=ntpAssocAddress, ntpEntObjectsGroup1=ntpEntObjectsGroup1, ntpAssocStratum=ntpAssocStratum, ntpEntTimeResolution=ntpEntTimeResolution, ntpEntNotifMessage=ntpEntNotifMessage, ntpAssocOffset=ntpAssocOffset, ntpEntStatusActiveRefSourceId=ntpEntStatusActiveRefSourceId, ntpAssociationEntry=ntpAssociationEntry, ntpAssocAddressType=ntpAssocAddressType, ntpAssociationTable=ntpAssociationTable, ntpEntNotifModeChange=ntpEntNotifModeChange, ntpEntSoftwareVersion=ntpEntSoftwareVersion, ntpAssociationStatisticsEntry=ntpAssociationStatisticsEntry, ntpEntNotifObjects=ntpEntNotifObjects, ntpEntStatusEntityUptime=ntpEntStatusEntityUptime, ntpAssocId=ntpAssocId, ntpAssocName=ntpAssocName, ntpEntStatusActiveOffset=ntpEntStatusActiveOffset, ntpEntStatusLeapSecond=ntpEntStatusLeapSecond, ntpEntSystemType=ntpEntSystemType, ntpEntStatPktReceived=ntpEntStatPktReceived, PYSNMP_MODULE_ID=ntpSnmpMIB, ntpSnmpMIB=ntpSnmpMIB, NtpStratum=NtpStratum, ntpEntNotifications=ntpEntNotifications, ntpSnmpMIBObjects=ntpSnmpMIBObjects, ntpAssocStatusDispersion=ntpAssocStatusDispersion, ntpEntNTPCompliance=ntpEntNTPCompliance, ntpEntStatusOutPkts=ntpEntStatusOutPkts, ntpEntStatPktModeTable=ntpEntStatPktModeTable, ntpEntSNTPCompliance=ntpEntSNTPCompliance, NtpDateTime=NtpDateTime, ntpEntNotifSyspeerChanged=ntpEntNotifSyspeerChanged, ntpEntNotifHeartbeat=ntpEntNotifHeartbeat, ntpAssocRefId=ntpAssocRefId, ntpEntStatusProtocolError=ntpEntStatusProtocolError, ntpAssocStatOutPkts=ntpAssocStatOutPkts, ntpAssocStatInPkts=ntpAssocStatInPkts, ntpEntSoftwareName=ntpEntSoftwareName, ntpAssocStatProtocolError=ntpAssocStatProtocolError, ntpEntStatusBadVersion=ntpEntStatusBadVersion, ntpEntGroups=ntpEntGroups, ntpEntStatusDispersion=ntpEntStatusDispersion, ntpEntStatusInPkts=ntpEntStatusInPkts, ntpAssocStatusDelay=ntpAssocStatusDelay, ntpAssociationStatisticsTable=ntpAssociationStatisticsTable, ntpEntStatusNotifications=ntpEntStatusNotifications, ntpEntNotifRemoveAssociation=ntpEntNotifRemoveAssociation, ntpEntNotifLeapSecondAnnounced=ntpEntNotifLeapSecondAnnounced, ntpEntSoftwareVendor=ntpEntSoftwareVendor, ntpEntStatusNumberOfRefSources=ntpEntStatusNumberOfRefSources, ntpEntStatPktMode=ntpEntStatPktMode, ntpEntNotifConfigChanged=ntpEntNotifConfigChanged, ntpEntTimeDistance=ntpEntTimeDistance, ntpEntCompliances=ntpEntCompliances, ntpEntObjectsGroup2=ntpEntObjectsGroup2, ntpEntTimePrecision=ntpEntTimePrecision, ntpEntStatusStratum=ntpEntStatusStratum, ntpEntStatusCurrentMode=ntpEntStatusCurrentMode, ntpEntStatusLeapSecDirection=ntpEntStatusLeapSecDirection, ntpAssocStatusJitter=ntpAssocStatusJitter, ntpEntNotifGroup=ntpEntNotifGroup, ntpEntControl=ntpEntControl, ntpEntNotifBits=ntpEntNotifBits, ntpEntStatPktSent=ntpEntStatPktSent, ntpEntConformance=ntpEntConformance, ntpAssociation=ntpAssociation)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, constraints_union, constraints_intersection, value_range_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint', 'SingleValueConstraint') (inet_address, inet_address_type) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddress', 'InetAddressType') (module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup') (gauge32, counter64, object_identity, time_ticks, iso, integer32, ip_address, mib_identifier, mib_2, unsigned32, module_identity, bits, counter32, mib_scalar, mib_table, mib_table_row, mib_table_column, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'Counter64', 'ObjectIdentity', 'TimeTicks', 'iso', 'Integer32', 'IpAddress', 'MibIdentifier', 'mib-2', 'Unsigned32', 'ModuleIdentity', 'Bits', 'Counter32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'NotificationType') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') (utf8_string,) = mibBuilder.importSymbols('SYSAPPL-MIB', 'Utf8String') ntp_snmp_mib = module_identity((1, 3, 6, 1, 2, 1, 197)) ntpSnmpMIB.setRevisions(('2010-05-17 00:00',)) if mibBuilder.loadTexts: ntpSnmpMIB.setLastUpdated('201005170000Z') if mibBuilder.loadTexts: ntpSnmpMIB.setOrganization('The IETF NTP Working Group (ntpwg)') ntp_snmp_mib_objects = mib_identifier((1, 3, 6, 1, 2, 1, 197, 1)) ntp_ent_info = mib_identifier((1, 3, 6, 1, 2, 1, 197, 1, 1)) ntp_ent_status = mib_identifier((1, 3, 6, 1, 2, 1, 197, 1, 2)) ntp_association = mib_identifier((1, 3, 6, 1, 2, 1, 197, 1, 3)) ntp_ent_control = mib_identifier((1, 3, 6, 1, 2, 1, 197, 1, 4)) ntp_ent_notif_objects = mib_identifier((1, 3, 6, 1, 2, 1, 197, 1, 5)) class Ntpstratum(TextualConvention, Unsigned32): status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 16) class Ntpdatetime(TextualConvention, OctetString): reference = 'RFC 5905, section 6' status = 'current' display_hint = '4d:4d:4d.4d' subtype_spec = OctetString.subtypeSpec + constraints_union(value_size_constraint(0, 0), value_size_constraint(16, 16)) ntp_ent_software_name = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 1, 1), utf8_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntSoftwareName.setStatus('current') ntp_ent_software_version = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 1, 2), utf8_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntSoftwareVersion.setStatus('current') ntp_ent_software_vendor = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 1, 3), utf8_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntSoftwareVendor.setStatus('current') ntp_ent_system_type = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 1, 4), utf8_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntSystemType.setStatus('current') ntp_ent_time_resolution = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntTimeResolution.setStatus('current') ntp_ent_time_precision = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntTimePrecision.setStatus('current') ntp_ent_time_distance = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 1, 7), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntTimeDistance.setStatus('current') ntp_ent_status_current_mode = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 99))).clone(namedValues=named_values(('notRunning', 1), ('notSynchronized', 2), ('noneConfigured', 3), ('syncToLocal', 4), ('syncToRefclock', 5), ('syncToRemoteServer', 6), ('unknown', 99)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusCurrentMode.setStatus('current') ntp_ent_status_stratum = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 2), ntp_stratum()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusStratum.setStatus('current') ntp_ent_status_active_ref_source_id = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 99999))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusActiveRefSourceId.setStatus('current') ntp_ent_status_active_ref_source_name = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 4), utf8_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusActiveRefSourceName.setStatus('current') ntp_ent_status_active_offset = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusActiveOffset.setStatus('current') ntp_ent_status_number_of_ref_sources = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 99))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusNumberOfRefSources.setStatus('current') ntp_ent_status_dispersion = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 7), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusDispersion.setStatus('current') ntp_ent_status_entity_uptime = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 8), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusEntityUptime.setStatus('current') ntp_ent_status_date_time = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 9), ntp_date_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusDateTime.setStatus('current') ntp_ent_status_leap_second = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 10), ntp_date_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusLeapSecond.setStatus('current') ntp_ent_status_leap_sec_direction = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 11), integer32().subtype(subtypeSpec=value_range_constraint(-1, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusLeapSecDirection.setStatus('current') ntp_ent_status_in_pkts = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 12), counter32()).setUnits('packets').setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusInPkts.setStatus('current') ntp_ent_status_out_pkts = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 13), counter32()).setUnits('packets').setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusOutPkts.setStatus('current') ntp_ent_status_bad_version = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 14), counter32()).setUnits('packets').setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusBadVersion.setStatus('current') ntp_ent_status_protocol_error = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 15), counter32()).setUnits('packets').setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusProtocolError.setStatus('current') ntp_ent_status_notifications = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 2, 16), counter32()).setUnits('notifications').setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatusNotifications.setStatus('current') ntp_ent_stat_pkt_mode_table = mib_table((1, 3, 6, 1, 2, 1, 197, 1, 2, 17)) if mibBuilder.loadTexts: ntpEntStatPktModeTable.setStatus('current') ntp_ent_stat_pkt_mode_entry = mib_table_row((1, 3, 6, 1, 2, 1, 197, 1, 2, 17, 1)).setIndexNames((0, 'NTPv4-MIB', 'ntpEntStatPktMode')) if mibBuilder.loadTexts: ntpEntStatPktModeEntry.setStatus('current') ntp_ent_stat_pkt_mode = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 2, 17, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('symetricactive', 1), ('symetricpassive', 2), ('client', 3), ('server', 4), ('broadcastserver', 5), ('broadcastclient', 6)))) if mibBuilder.loadTexts: ntpEntStatPktMode.setStatus('current') ntp_ent_stat_pkt_sent = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 2, 17, 1, 2), counter32()).setUnits('packets').setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatPktSent.setStatus('current') ntp_ent_stat_pkt_received = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 2, 17, 1, 3), counter32()).setUnits('packets').setMaxAccess('readonly') if mibBuilder.loadTexts: ntpEntStatPktReceived.setStatus('current') ntp_association_table = mib_table((1, 3, 6, 1, 2, 1, 197, 1, 3, 1)) if mibBuilder.loadTexts: ntpAssociationTable.setStatus('current') ntp_association_entry = mib_table_row((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1)).setIndexNames((0, 'NTPv4-MIB', 'ntpAssocId')) if mibBuilder.loadTexts: ntpAssociationEntry.setStatus('current') ntp_assoc_id = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 99999))) if mibBuilder.loadTexts: ntpAssocId.setStatus('current') ntp_assoc_name = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 2), utf8_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpAssocName.setStatus('current') ntp_assoc_ref_id = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 3), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpAssocRefId.setStatus('current') ntp_assoc_address_type = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 4), inet_address_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpAssocAddressType.setStatus('current') ntp_assoc_address = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 5), inet_address().subtype(subtypeSpec=constraints_union(value_size_constraint(4, 4), value_size_constraint(8, 8), value_size_constraint(16, 16), value_size_constraint(20, 20)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpAssocAddress.setStatus('current') ntp_assoc_offset = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 6), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpAssocOffset.setStatus('current') ntp_assoc_stratum = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 7), ntp_stratum()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpAssocStratum.setStatus('current') ntp_assoc_status_jitter = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 8), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpAssocStatusJitter.setStatus('current') ntp_assoc_status_delay = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 9), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpAssocStatusDelay.setStatus('current') ntp_assoc_status_dispersion = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 3, 1, 1, 10), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntpAssocStatusDispersion.setStatus('current') ntp_association_statistics_table = mib_table((1, 3, 6, 1, 2, 1, 197, 1, 3, 2)) if mibBuilder.loadTexts: ntpAssociationStatisticsTable.setStatus('current') ntp_association_statistics_entry = mib_table_row((1, 3, 6, 1, 2, 1, 197, 1, 3, 2, 1)).setIndexNames((0, 'NTPv4-MIB', 'ntpAssocId')) if mibBuilder.loadTexts: ntpAssociationStatisticsEntry.setStatus('current') ntp_assoc_stat_in_pkts = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 3, 2, 1, 1), counter32()).setUnits('packets').setMaxAccess('readonly') if mibBuilder.loadTexts: ntpAssocStatInPkts.setStatus('current') ntp_assoc_stat_out_pkts = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 3, 2, 1, 2), counter32()).setUnits('packets').setMaxAccess('readonly') if mibBuilder.loadTexts: ntpAssocStatOutPkts.setStatus('current') ntp_assoc_stat_protocol_error = mib_table_column((1, 3, 6, 1, 2, 1, 197, 1, 3, 2, 1, 3), counter32()).setUnits('packets').setMaxAccess('readonly') if mibBuilder.loadTexts: ntpAssocStatProtocolError.setStatus('current') ntp_ent_heartbeat_interval = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 4, 1), unsigned32().clone(60)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: ntpEntHeartbeatInterval.setStatus('current') ntp_ent_notif_bits = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 4, 2), bits().clone(namedValues=named_values(('notUsed', 0), ('entNotifModeChange', 1), ('entNotifStratumChange', 2), ('entNotifSyspeerChanged', 3), ('entNotifAddAssociation', 4), ('entNotifRemoveAssociation', 5), ('entNotifConfigChanged', 6), ('entNotifLeapSecondAnnounced', 7), ('entNotifHeartbeat', 8)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ntpEntNotifBits.setStatus('current') ntp_ent_notif_message = mib_scalar((1, 3, 6, 1, 2, 1, 197, 1, 5, 1), utf8_string().clone('no event')).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: ntpEntNotifMessage.setStatus('current') ntp_ent_notifications = mib_identifier((1, 3, 6, 1, 2, 1, 197, 0)) ntp_ent_notif_mode_change = notification_type((1, 3, 6, 1, 2, 1, 197, 0, 1)).setObjects(('NTPv4-MIB', 'ntpEntStatusCurrentMode')) if mibBuilder.loadTexts: ntpEntNotifModeChange.setStatus('current') ntp_ent_notif_stratum_change = notification_type((1, 3, 6, 1, 2, 1, 197, 0, 2)).setObjects(('NTPv4-MIB', 'ntpEntStatusDateTime'), ('NTPv4-MIB', 'ntpEntStatusStratum'), ('NTPv4-MIB', 'ntpEntNotifMessage')) if mibBuilder.loadTexts: ntpEntNotifStratumChange.setStatus('current') ntp_ent_notif_syspeer_changed = notification_type((1, 3, 6, 1, 2, 1, 197, 0, 3)).setObjects(('NTPv4-MIB', 'ntpEntStatusDateTime'), ('NTPv4-MIB', 'ntpEntStatusActiveRefSourceId'), ('NTPv4-MIB', 'ntpEntNotifMessage')) if mibBuilder.loadTexts: ntpEntNotifSyspeerChanged.setStatus('current') ntp_ent_notif_add_association = notification_type((1, 3, 6, 1, 2, 1, 197, 0, 4)).setObjects(('NTPv4-MIB', 'ntpEntStatusDateTime'), ('NTPv4-MIB', 'ntpAssocName'), ('NTPv4-MIB', 'ntpEntNotifMessage')) if mibBuilder.loadTexts: ntpEntNotifAddAssociation.setStatus('current') ntp_ent_notif_remove_association = notification_type((1, 3, 6, 1, 2, 1, 197, 0, 5)).setObjects(('NTPv4-MIB', 'ntpEntStatusDateTime'), ('NTPv4-MIB', 'ntpAssocName'), ('NTPv4-MIB', 'ntpEntNotifMessage')) if mibBuilder.loadTexts: ntpEntNotifRemoveAssociation.setStatus('current') ntp_ent_notif_config_changed = notification_type((1, 3, 6, 1, 2, 1, 197, 0, 6)).setObjects(('NTPv4-MIB', 'ntpEntStatusDateTime'), ('NTPv4-MIB', 'ntpEntNotifMessage')) if mibBuilder.loadTexts: ntpEntNotifConfigChanged.setStatus('current') ntp_ent_notif_leap_second_announced = notification_type((1, 3, 6, 1, 2, 1, 197, 0, 7)).setObjects(('NTPv4-MIB', 'ntpEntStatusDateTime'), ('NTPv4-MIB', 'ntpEntNotifMessage')) if mibBuilder.loadTexts: ntpEntNotifLeapSecondAnnounced.setStatus('current') ntp_ent_notif_heartbeat = notification_type((1, 3, 6, 1, 2, 1, 197, 0, 8)).setObjects(('NTPv4-MIB', 'ntpEntStatusDateTime'), ('NTPv4-MIB', 'ntpEntStatusCurrentMode'), ('NTPv4-MIB', 'ntpEntHeartbeatInterval'), ('NTPv4-MIB', 'ntpEntNotifMessage')) if mibBuilder.loadTexts: ntpEntNotifHeartbeat.setStatus('current') ntp_ent_conformance = mib_identifier((1, 3, 6, 1, 2, 1, 197, 2)) ntp_ent_compliances = mib_identifier((1, 3, 6, 1, 2, 1, 197, 2, 1)) ntp_ent_groups = mib_identifier((1, 3, 6, 1, 2, 1, 197, 2, 2)) ntp_ent_ntp_compliance = module_compliance((1, 3, 6, 1, 2, 1, 197, 2, 1, 1)).setObjects(('NTPv4-MIB', 'ntpEntObjectsGroup1')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntp_ent_ntp_compliance = ntpEntNTPCompliance.setStatus('current') ntp_ent_sntp_compliance = module_compliance((1, 3, 6, 1, 2, 1, 197, 2, 1, 2)).setObjects(('NTPv4-MIB', 'ntpEntObjectsGroup1'), ('NTPv4-MIB', 'ntpEntObjectsGroup2'), ('NTPv4-MIB', 'ntpEntNotifGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntp_ent_sntp_compliance = ntpEntSNTPCompliance.setStatus('current') ntp_ent_objects_group1 = object_group((1, 3, 6, 1, 2, 1, 197, 2, 2, 1)).setObjects(('NTPv4-MIB', 'ntpEntSoftwareName'), ('NTPv4-MIB', 'ntpEntSoftwareVersion'), ('NTPv4-MIB', 'ntpEntSoftwareVendor'), ('NTPv4-MIB', 'ntpEntSystemType'), ('NTPv4-MIB', 'ntpEntStatusEntityUptime'), ('NTPv4-MIB', 'ntpEntStatusDateTime'), ('NTPv4-MIB', 'ntpAssocName'), ('NTPv4-MIB', 'ntpAssocRefId'), ('NTPv4-MIB', 'ntpAssocAddressType'), ('NTPv4-MIB', 'ntpAssocAddress')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntp_ent_objects_group1 = ntpEntObjectsGroup1.setStatus('current') ntp_ent_objects_group2 = object_group((1, 3, 6, 1, 2, 1, 197, 2, 2, 2)).setObjects(('NTPv4-MIB', 'ntpEntTimeResolution'), ('NTPv4-MIB', 'ntpEntTimePrecision'), ('NTPv4-MIB', 'ntpEntTimeDistance'), ('NTPv4-MIB', 'ntpEntStatusCurrentMode'), ('NTPv4-MIB', 'ntpEntStatusStratum'), ('NTPv4-MIB', 'ntpEntStatusActiveRefSourceId'), ('NTPv4-MIB', 'ntpEntStatusActiveRefSourceName'), ('NTPv4-MIB', 'ntpEntStatusActiveOffset'), ('NTPv4-MIB', 'ntpEntStatusNumberOfRefSources'), ('NTPv4-MIB', 'ntpEntStatusDispersion'), ('NTPv4-MIB', 'ntpEntStatusLeapSecond'), ('NTPv4-MIB', 'ntpEntStatusLeapSecDirection'), ('NTPv4-MIB', 'ntpEntStatusInPkts'), ('NTPv4-MIB', 'ntpEntStatusOutPkts'), ('NTPv4-MIB', 'ntpEntStatusBadVersion'), ('NTPv4-MIB', 'ntpEntStatusProtocolError'), ('NTPv4-MIB', 'ntpEntStatusNotifications'), ('NTPv4-MIB', 'ntpEntStatPktSent'), ('NTPv4-MIB', 'ntpEntStatPktReceived'), ('NTPv4-MIB', 'ntpAssocOffset'), ('NTPv4-MIB', 'ntpAssocStratum'), ('NTPv4-MIB', 'ntpAssocStatusJitter'), ('NTPv4-MIB', 'ntpAssocStatusDelay'), ('NTPv4-MIB', 'ntpAssocStatusDispersion'), ('NTPv4-MIB', 'ntpAssocStatInPkts'), ('NTPv4-MIB', 'ntpAssocStatOutPkts'), ('NTPv4-MIB', 'ntpAssocStatProtocolError'), ('NTPv4-MIB', 'ntpEntHeartbeatInterval'), ('NTPv4-MIB', 'ntpEntNotifBits'), ('NTPv4-MIB', 'ntpEntNotifMessage')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntp_ent_objects_group2 = ntpEntObjectsGroup2.setStatus('current') ntp_ent_notif_group = notification_group((1, 3, 6, 1, 2, 1, 197, 2, 2, 3)).setObjects(('NTPv4-MIB', 'ntpEntNotifModeChange'), ('NTPv4-MIB', 'ntpEntNotifStratumChange'), ('NTPv4-MIB', 'ntpEntNotifSyspeerChanged'), ('NTPv4-MIB', 'ntpEntNotifAddAssociation'), ('NTPv4-MIB', 'ntpEntNotifRemoveAssociation'), ('NTPv4-MIB', 'ntpEntNotifConfigChanged'), ('NTPv4-MIB', 'ntpEntNotifLeapSecondAnnounced'), ('NTPv4-MIB', 'ntpEntNotifHeartbeat')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntp_ent_notif_group = ntpEntNotifGroup.setStatus('current') mibBuilder.exportSymbols('NTPv4-MIB', ntpEntStatus=ntpEntStatus, ntpEntInfo=ntpEntInfo, ntpEntStatusDateTime=ntpEntStatusDateTime, ntpEntStatusActiveRefSourceName=ntpEntStatusActiveRefSourceName, ntpEntNotifStratumChange=ntpEntNotifStratumChange, ntpEntNotifAddAssociation=ntpEntNotifAddAssociation, ntpEntHeartbeatInterval=ntpEntHeartbeatInterval, ntpEntStatPktModeEntry=ntpEntStatPktModeEntry, ntpAssocAddress=ntpAssocAddress, ntpEntObjectsGroup1=ntpEntObjectsGroup1, ntpAssocStratum=ntpAssocStratum, ntpEntTimeResolution=ntpEntTimeResolution, ntpEntNotifMessage=ntpEntNotifMessage, ntpAssocOffset=ntpAssocOffset, ntpEntStatusActiveRefSourceId=ntpEntStatusActiveRefSourceId, ntpAssociationEntry=ntpAssociationEntry, ntpAssocAddressType=ntpAssocAddressType, ntpAssociationTable=ntpAssociationTable, ntpEntNotifModeChange=ntpEntNotifModeChange, ntpEntSoftwareVersion=ntpEntSoftwareVersion, ntpAssociationStatisticsEntry=ntpAssociationStatisticsEntry, ntpEntNotifObjects=ntpEntNotifObjects, ntpEntStatusEntityUptime=ntpEntStatusEntityUptime, ntpAssocId=ntpAssocId, ntpAssocName=ntpAssocName, ntpEntStatusActiveOffset=ntpEntStatusActiveOffset, ntpEntStatusLeapSecond=ntpEntStatusLeapSecond, ntpEntSystemType=ntpEntSystemType, ntpEntStatPktReceived=ntpEntStatPktReceived, PYSNMP_MODULE_ID=ntpSnmpMIB, ntpSnmpMIB=ntpSnmpMIB, NtpStratum=NtpStratum, ntpEntNotifications=ntpEntNotifications, ntpSnmpMIBObjects=ntpSnmpMIBObjects, ntpAssocStatusDispersion=ntpAssocStatusDispersion, ntpEntNTPCompliance=ntpEntNTPCompliance, ntpEntStatusOutPkts=ntpEntStatusOutPkts, ntpEntStatPktModeTable=ntpEntStatPktModeTable, ntpEntSNTPCompliance=ntpEntSNTPCompliance, NtpDateTime=NtpDateTime, ntpEntNotifSyspeerChanged=ntpEntNotifSyspeerChanged, ntpEntNotifHeartbeat=ntpEntNotifHeartbeat, ntpAssocRefId=ntpAssocRefId, ntpEntStatusProtocolError=ntpEntStatusProtocolError, ntpAssocStatOutPkts=ntpAssocStatOutPkts, ntpAssocStatInPkts=ntpAssocStatInPkts, ntpEntSoftwareName=ntpEntSoftwareName, ntpAssocStatProtocolError=ntpAssocStatProtocolError, ntpEntStatusBadVersion=ntpEntStatusBadVersion, ntpEntGroups=ntpEntGroups, ntpEntStatusDispersion=ntpEntStatusDispersion, ntpEntStatusInPkts=ntpEntStatusInPkts, ntpAssocStatusDelay=ntpAssocStatusDelay, ntpAssociationStatisticsTable=ntpAssociationStatisticsTable, ntpEntStatusNotifications=ntpEntStatusNotifications, ntpEntNotifRemoveAssociation=ntpEntNotifRemoveAssociation, ntpEntNotifLeapSecondAnnounced=ntpEntNotifLeapSecondAnnounced, ntpEntSoftwareVendor=ntpEntSoftwareVendor, ntpEntStatusNumberOfRefSources=ntpEntStatusNumberOfRefSources, ntpEntStatPktMode=ntpEntStatPktMode, ntpEntNotifConfigChanged=ntpEntNotifConfigChanged, ntpEntTimeDistance=ntpEntTimeDistance, ntpEntCompliances=ntpEntCompliances, ntpEntObjectsGroup2=ntpEntObjectsGroup2, ntpEntTimePrecision=ntpEntTimePrecision, ntpEntStatusStratum=ntpEntStatusStratum, ntpEntStatusCurrentMode=ntpEntStatusCurrentMode, ntpEntStatusLeapSecDirection=ntpEntStatusLeapSecDirection, ntpAssocStatusJitter=ntpAssocStatusJitter, ntpEntNotifGroup=ntpEntNotifGroup, ntpEntControl=ntpEntControl, ntpEntNotifBits=ntpEntNotifBits, ntpEntStatPktSent=ntpEntStatPktSent, ntpEntConformance=ntpEntConformance, ntpAssociation=ntpAssociation)
def average_discount(list_of_changes): total = 0 count = 0 for change in list_of_changes: if change < 0: total += (- change) count += 1 return round((total / count), 2) def calculate_discount_averages(x): result=[] for i in x: try: y=average_discount(i) except ZeroDivisionError: y=0 result.append(y) return result
def average_discount(list_of_changes): total = 0 count = 0 for change in list_of_changes: if change < 0: total += -change count += 1 return round(total / count, 2) def calculate_discount_averages(x): result = [] for i in x: try: y = average_discount(i) except ZeroDivisionError: y = 0 result.append(y) return result
n = int(input()) even_ones = set() odd_ones = set() index = 0 sum_of_chars = 0 for _ in range(n): name = input() index += 1 for char in name: sum_of_chars += int(ord(char)) sum_of_chars //= index if sum_of_chars % 2 == 0: even_ones.add(sum_of_chars) else: odd_ones.add(sum_of_chars) sum_of_chars = 0 if sum(even_ones) == sum(odd_ones): result = odd_ones.union(even_ones) elif sum(odd_ones) > sum(even_ones): result = odd_ones.difference(even_ones) elif sum(even_ones) > sum(odd_ones): result = odd_ones.symmetric_difference(even_ones) print(', '.join([str(x) for x in result]))
n = int(input()) even_ones = set() odd_ones = set() index = 0 sum_of_chars = 0 for _ in range(n): name = input() index += 1 for char in name: sum_of_chars += int(ord(char)) sum_of_chars //= index if sum_of_chars % 2 == 0: even_ones.add(sum_of_chars) else: odd_ones.add(sum_of_chars) sum_of_chars = 0 if sum(even_ones) == sum(odd_ones): result = odd_ones.union(even_ones) elif sum(odd_ones) > sum(even_ones): result = odd_ones.difference(even_ones) elif sum(even_ones) > sum(odd_ones): result = odd_ones.symmetric_difference(even_ones) print(', '.join([str(x) for x in result]))
# configs config_path = './config/config.yaml' # urls base_url = 'https://www.finanzen.net/index/' ext_urls = { 'DAX' : 'dax/30-werte', 'TECDAX' : 'tecdax/werte', 'DOW JONES' : 'dow_jones/werte', 'MDAX' : 'mdax/werte', 'SDAX' : 'sdax/werte', 'S&P500' : 's&p_500/werte', 'NASDAQ100' : 'nasdaq_100/werte', 'EUROSTOXX' : 'euro_stoxx_50/werte', 'SMI' : 'smi/werte', 'ATX' : 'atx/werte', 'CAC40' : 'cac_40/werte' } # rename cols mappings rename_dict = { 'name' : 'stock', 'current' : 'current price', 'last_day' : 'previous day price', 'percent_change' : '% drop' } # lower threshold in percent per_threshold = -5.0
config_path = './config/config.yaml' base_url = 'https://www.finanzen.net/index/' ext_urls = {'DAX': 'dax/30-werte', 'TECDAX': 'tecdax/werte', 'DOW JONES': 'dow_jones/werte', 'MDAX': 'mdax/werte', 'SDAX': 'sdax/werte', 'S&P500': 's&p_500/werte', 'NASDAQ100': 'nasdaq_100/werte', 'EUROSTOXX': 'euro_stoxx_50/werte', 'SMI': 'smi/werte', 'ATX': 'atx/werte', 'CAC40': 'cac_40/werte'} rename_dict = {'name': 'stock', 'current': 'current price', 'last_day': 'previous day price', 'percent_change': '% drop'} per_threshold = -5.0
n = int(input("Enter Number:")) sum = 0 while(n != 0): sum += n % 10 n //= 10 #floor division print(sum)
n = int(input('Enter Number:')) sum = 0 while n != 0: sum += n % 10 n //= 10 print(sum)
# Interactive Coding Exercise 2 # Solution - Wrapped the input on line 4 in an int(). year = int(input("Which year do you want to check?")) if year % 4 == 0: if year % 100 == 0: if year % 400 == 0: print("Leap year.") else: print("Not leap year.") else: print("Leap year.") else: print("Not leap year.")
year = int(input('Which year do you want to check?')) if year % 4 == 0: if year % 100 == 0: if year % 400 == 0: print('Leap year.') else: print('Not leap year.') else: print('Leap year.') else: print('Not leap year.')
class CPP: @staticmethod def __protection_exception(prop): raise Exception(f'Can not modify constant property: {prop}') @staticmethod def protect(obj, prop): setattr(obj.__class__, prop, property( lambda self: getattr(self, '_'+prop), lambda self, value: CPP.__protection_exception(prop) ))
class Cpp: @staticmethod def __protection_exception(prop): raise exception(f'Can not modify constant property: {prop}') @staticmethod def protect(obj, prop): setattr(obj.__class__, prop, property(lambda self: getattr(self, '_' + prop), lambda self, value: CPP.__protection_exception(prop)))
class User: def __init__(self, username, password): self.name = username self.password = password def login(self): return def logout(self): return
class User: def __init__(self, username, password): self.name = username self.password = password def login(self): return def logout(self): return
def is_valid(s): stack = [] for i in range(len(s)): if s[i] == "(" or s[i] == "[" or s[i] == "{": stack.append(s[i]) else: if len(stack) == 0: return False if s[i] == ")" and stack[-1] != "(": return False if s[i] == "]" and stack[-1] != "[": return False if s[i] == "}" and stack[-1] != "{": return False stack.pop() return len(stack) == 0 if __name__ == "__main__": s_ = "()[]{}" print(is_valid(s_))
def is_valid(s): stack = [] for i in range(len(s)): if s[i] == '(' or s[i] == '[' or s[i] == '{': stack.append(s[i]) else: if len(stack) == 0: return False if s[i] == ')' and stack[-1] != '(': return False if s[i] == ']' and stack[-1] != '[': return False if s[i] == '}' and stack[-1] != '{': return False stack.pop() return len(stack) == 0 if __name__ == '__main__': s_ = '()[]{}' print(is_valid(s_))
#W.A.P TO TAKE INPUT FROM USER (empid,name,salary) AND PRINT EMPLOYEE DETAILS emp=int(input('Enter employee ID:')) name=input('Enter your name:') sal=int(input('Enter your annual salary:')) print('Employee Details --> \n Employee ID:',emp,'\n Name:',name,'\n Annual Salary:',sal)
emp = int(input('Enter employee ID:')) name = input('Enter your name:') sal = int(input('Enter your annual salary:')) print('Employee Details --> \n Employee ID:', emp, '\n Name:', name, '\n Annual Salary:', sal)
def main(): def findMin(x): minNum = x[0] for i in x: if minNum > i: minNum = i return minNum print(findMin([0,1,2,3,4,5,-3,24,-56])) # = -56 if __name__ == '__main__': main()
def main(): def find_min(x): min_num = x[0] for i in x: if minNum > i: min_num = i return minNum print(find_min([0, 1, 2, 3, 4, 5, -3, 24, -56])) if __name__ == '__main__': main()
a = 'some_string' b = 'some' + '_' + 'string' c = 'somestring' print(id(a)) print(id(b)) print(id(c))
a = 'some_string' b = 'some' + '_' + 'string' c = 'somestring' print(id(a)) print(id(b)) print(id(c))
# Copyright 2019, A10 Networks # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. # ============== # Argument Names # ============== LOADBALANCERS_LIST = 'loadbalancers_list' VRID_LIST = 'vrid_list' SET_THUNDER_UPDATE_AT = 'set-thunder-update-at' SET_THUNDER_BACKUP_UPDATE_AT = 'set-thunder-backup-update-at' # Member count with specific IP. MEMBER_COUNT_IP = 'member_count_ip' MEMBER_COUNT_IP_PORT_PROTOCOL = 'member_count_ip_port_protocol' POOL_COUNT_IP = 'pool_count_ip' WRITE_MEM_SHARED_PART = 'write_mem_shared_part' WRITE_MEM_FOR_SHARED_PARTITION = 'write_memory_for_shared_partition' WRITE_MEM_FOR_LOCAL_PARTITION = 'write_memory_for_local_partition' MEMBER_LIST = 'member_list' SUBNET_LIST = 'subnet_list' MEMBERS = 'members' POOLS = 'pools' PARTITION_PROJECT_LIST = 'partition_project_list' IFNUM_BACKUP = 'ifnum_backup' IFNUM_MASTER = 'ifnum_master' LISTENER_STATS = 'listener_stats' # Octavia taskflow flow and task names (missing name in victoria octavia) RELOADLOAD_BALANCER = 'octavia-reloadload-balancer' VTHUNDER = 'vthunder' STATUS = 'status' ROLE = 'role' BACKUP_VTHUNDER = 'backup_vthunder' MASTER_VTHUNDER = 'master_vthunder' VRRP_STATUS = 'vrrp_status' MASTER_VRRP_STATUS = 'master_vrrp_status' BACKUP_VRRP_STATUS = 'backup_vrrp_status' NAT_POOL = 'nat_pool' NAT_FLAVOR = 'nat_flavor' SUBNET_PORT = 'subnet_port' WRITE_MEM_SHARED = 'write_mem_shared' WRITE_MEM_PRIVATE = 'write_mem_private' FAILED = 'FAILED' USED_SPARE = 'USED_SPARE' SPARE_VTHUNDER = 'spare_vthunder' FAILOVER_VTHUNDER = 'failover_vthunder' OCTAVIA_HEALTH_MANAGER_CONTROLLER = 'octavia_health_manager_controller' OCTAVIA_HEALTH_MONITOR = 'octavia_health_monitor' VTHUNDER_CONFIG = 'vthunder_config' DEVICE_CONFIG_DICT = 'device_config_dict' DEVICE_KEY_PREFIX = '[dev]' USE_DEVICE_FLAVOR = 'use_device_flavor' VTHUNDER_ID = "vthunder_id" DEVICE_ID = "device_id" SET_ID = "set_id" VRID = "vrid" DEVICE_PRIORITY = 'device_priority' FLOATING_IP = 'floating_ip' FLOATING_IP_MASK = 'floating_ip_mask' CERT_DATA = 'cert_data' SP_OBJ_DICT = { 'HTTP_COOKIE': "cookie_persistence", 'APP_COOKIE': "cookie_persistence", 'SOURCE_IP': "src_ip_persistence", } HTTP_TYPE = ['HTTP', 'HTTPS'] PERS_TYPE = ['cookie_persistence', 'src_ip_persistence'] NO_DEST_NAT_SUPPORTED_PROTOCOL = ['tcp', 'udp'] PORT = 'port' LB_COUNT = 'lb_count' LB_COUNT_SUBNET = 'lb_count_subnet' LB_COUNT_FLAVOR = 'lb_count_flavor' MEMBER_COUNT = 'member_count' DELETE_VRID = 'delete_vrid' LB_COUNT_THUNDER = 'lb_count_thunder' MEMBER_COUNT_THUNDER = 'member_count_thunder' LB_COUNT_THUNDER_PARTITION = 'lb_count_thunder_partition' ID = 'id' SECURITY_GROUPS = 'security_groups' VIP_SEC_GROUP_PREFIX = 'lb-' LB_RESOURCE = 'lb_resource' SUBNET_ID = "subnet_id" VLAN_ID = "vlan_id" TAG_INTERFACE = "tag_interface" VE_INTERFACE = "ve_interface" DELETE_VLAN = "delete_vlan" VLAN = "vlan" FLAT = "flat" SUPPORTED_NETWORK_TYPE = [FLAT, VLAN] SSL_TEMPLATE = "ssl_template" COMPUTE_BUSY = "compute_busy" VTHUNDER_LIST = "vthunder_list" NETWORK_LIST = "network_list" ADDED_NETWORK = "added_network" COMPUTE_PAUSED = "PAUSED" L2DSR_FLAVOR = "l2dsr_flavor" MASTER_AMPHORA_STATUS = "master_amphora_status" BACKUP_AMPHORA_STATUS = "backup_amphora_status" # ACOS versions ACOS_5_2_1_P2 = "5.2.1-P2" # ============================ # Taskflow flow and task names # ============================ GET_VTHUNDER_FOR_LB_SUBFLOW = 'octavia-get-vthunder-for-lb-subflow' BACKUP_AMPHORA_PLUG = 'backup-amphora-plug' GET_MASTER_VTHUNDER_INTERFACE = 'get-master-vthunder-intercae' GET_BACKUP_VTHUNDER_INTERFACE = 'get-backup-vthunder-intercae' MASTER_CONNECTIVITY_WAIT = 'master-connectivity-wait' BACKUP_CONNECTIVITY_WAIT = 'backup-connectivity-wait' ENABLE_MASTER_VTHUNDER_INTERFACE = 'enable-master-vthunder-interface' ENABLE_BACKUP_VTHUNDER_INTERFACE = 'enable-backup-vthunder-interface' ENABLE_VTHUNDER_INTERFACE = 'enable-vthunder-interface' MASTER_ENABLE_INTERFACE = 'master-enable-interface' BACKUP_ENABLE_INTERFACE = 'backup-enable-interface' MARK_VTHUNDER_MASTER_ACTIVE_IN_DB = 'mark-vthunder-master-active-in-db' MARK_VTHUNDER_BACKUP_ACTIVE_IN_DB = 'mark-vthunder-backup-active-in-db' MARK_VTHUNDER_MASTER_DELETED_IN_DB = 'mark-vthunder-master-deleted-in-db' MARK_VTHUNDER_BACKUP_DELETED_IN_DB = 'mark-vthunder-backup-deleted-in-db' GET_BACKUP_VTHUNDER_BY_LB = 'get-backup-vthunder-by-lb' GET_VTHUNDER_FROM_LB = 'get-vthunder-from-lb' CREATE_HEALTH_MONITOR_ON_VTHUNDER = 'create-health-monitor-on-vthunder' CREATE_HEALTH_MONITOR_ON_SPARE = 'create-health-monitor-on-spare' MARK_AMPHORA_READY_INDB = 'mark-amphora-ready-indb' HANDLE_SESS_PERS = 'handle-session-persistence-delta-subflow' GET_LOADBALANCER_FROM_DB = 'Get-Loadbalancer-from-db' GET_BACKUP_LOADBALANCER_FROM_DB = 'get-backup-loadbalancer-from-db' CONFIGURE_VRRP_FOR_MASTER_VTHUNDER = 'configure-vrrp-for-master-vthunder' CONFIGURE_VRRP_FOR_BACKUP_VTHUNDER = 'configure-vrrp-for-backup-vthunder' CONFIGURE_VRID_FOR_MASTER_VTHUNDER = 'configure-vrid-for-master-vthunder' CONFIGURE_VRID_FOR_BACKUP_VTHUNDER = 'configure-vrid-for-backup-vthunder' WAIT_FOR_MASTER_SYNC = 'wait-for-master-sync' WAIT_FOR_BACKUP_SYNC = 'wait-for-backup-sync' CONFIGURE_AVCS_SYNC_FOR_MASTER = 'configure-avcs-sync-for-master' CONFIGURE_AVCS_SYNC_FOR_BACKUP = 'configure-avcs-sync-for-backup' CONFIGURE_AVCS_FOR_FAILOVER = 'configure-avcs-for-failover' CHECK_VRRP_STATUS = 'check-vrrp-status' CHECK_VRRP_MASTER_STATUS = 'check-vrrp-master-status' CHECK_VRRP_BACKUP_STATUS = 'check-vrrp-backup-status' CONFIRM_VRRP_STATUS = 'confirm-vrrp-status' ADD_VRRP_SET_ID_INDB = 'add-vrrp-set-id-db' DELETE_VRRP_SET_ID_INDB = 'delete-vrrp-set-id-db' GET_VRRP_SET_ID_INDB = 'get-vrrp-set-id-db' ALLOCATE_VIP = 'allocate-vip' UPDATE_VIP_AFTER_ALLOCATION = 'update-vip-after-allocation' ALLOW_L2DSR = 'allow-l2dsr' ALLOW_NO_SNAT = 'allow-no-snat' AMPHORAE_POST_VIP_PLUG = 'amphorae-post-vip-plug' AMPHORA_POST_NETWORK_UNPLUG = 'amphorae-post-network-plug' AMPHORA_POST_NETWORK_UNPLUG_FOR_BACKUP_VTHUNDER = 'amphorae-post-network-plug-for-backup-vthunder' AMP_POST_VIP_PLUG = 'amp-post-vip-plug' AMPHORAE_POST_VIP_PLUG_FOR_MASTER = 'amphorae-post-vip-plug-for-master' AMPHORAE_POST_VIP_PLUG_FOR_BACKUP = 'amphorae-post-vip-plug-for-backup' VCS_RELOAD = 'vcs-reload' GET_BACKUP_VTHUNDER = 'get-backup-vthunder' GET_MASTER_VTHUNDER = 'get-master-vthunder' CONNECTIVITY_WAIT_FOR_MASTER_VTHUNDER = 'connectivity-wait-for-master-vthunder' CONNECTIVITY_WAIT_FOR_BACKUP_VTHUNDER = 'connectivity-wait-for-backup-vthunder' GET_VTHUNDER_MASTER = 'get-vthunder-master' WAIT_FOR_MASTER_VCS_RELOAD = 'wait-for-master-vcs-reload' WAIT_FOR_BACKUP_VCS_RELOAD = 'wait-for-backup-vcs-reload' VCS_SYNC_WAIT = "wait-for-vcs_ready" GET_COMPUTE_FOR_PROJECT = 'get-compute-for-project' VALIDATE_COMPUTE_FOR_PROJECT = 'validate-compute-for-project' GET_SPARE_COMPUTE_FOR_PROJECT = 'get-spare-compute-for-project' DELETE_STALE_SPARE_VTHUNDER = 'delete-stale-spare-vthunder' CREATE_VTHUNDER_ENTRY = 'create-vthunder-entry' UPDATE_ACOS_VERSION_IN_VTHUNDER_ENTRY = 'update-acos-version-in-vthunder-entry' UPDATE_ACOS_VERSION_FOR_BACKUP_VTHUNDER = 'update-acos-version-for-backup-vthunder' VTHUNDER_BY_LB = 'vthunder-by-loadbalancer' GET_VTHUNDER_BY_LB = 'get-vthunder-by-lb' VTHUNDER_CONNECTIVITY_WAIT = 'vthunder-connectivity-wait' WAIT_FOR_VTHUNDER_CONNECTIVITY = 'wait-for-vthunder-connectivity' CHANGE_PARTITION = 'change-partition' CREATE_SSL_CERT_FLOW = 'create-ssl-cert-flow' DELETE_SSL_CERT_FLOW = 'delete-ssl-cert-flow' LISTENER_TYPE_DECIDER_FLOW = 'listener_type_decider_flow' DELETE_LOADBALANCER_VRID_SUBFLOW = 'delete-loadbalancer-vrid-subflow' REVOKE_ACTIVE_VTHUNDER_LICENSE = 'revoke-active-vthunder-license' REVOKE_BACKUP_VTHUNDER_LICENSE = 'revoke-backup-vthunder-license' HANDLE_VRID_LOADBALANCER_SUBFLOW = 'handle-vrid-loadbalancer-subflow' CREATE_MEMBER_SNAT_POOL_SUBFLOW = 'create-member-snat-pool-subflow' DELETE_MEMBER_VTHUNDER_INTERNAL_SUBFLOW = 'delete-member-vthunder-internal-subflow' DELETE_MEMBER_VRID_SUBFLOW = 'delete-member-vrid-subflow' DELETE_MEMBER_VRID_INTERNAL_SUBFLOW = 'delete-member-vrid-internal-subflow' DELETE_HEALTH_MONITOR_VTHUNDER_SUBFLOW = 'delete-hm-vthunder-subflow' DELETE_HEALTH_MONITOR_SUBFLOW_WITH_POOL_DELETE_FLOW = 'delete-health-monitor-subflow' \ '-with-pool-delete-flow' DELETE_MEMBERS_SUBFLOW_WITH_POOL_DELETE_FLOW = 'delete-members-subflow-with-pool-delete-flow' HANDLE_VRID_MEMBER_SUBFLOW = 'handle-vrid-member-subflow' SPARE_VTHUNDER_CREATE = 'spare-vthunder-create' ACTIVATE_GLM_LICENSE_SUBFLOW = 'activate-glm-license-subflow' CONFIGURE_DNS_NAMESERVERS = 'configure-dns-nameservers' ACTIVATE_FLEXPOOL_LICENSE = 'activate-flexpool-license' CONFIGURE_PROXY_SERVER = 'configure-proxy-server' SET_VTHUNDER_HOSTNAME = 'set-vthunder-hostname' WRITE_MEMORY_THUNDER_FLOW = 'write-memory-thunder-flow' RELOAD_CHECK_THUNDER_FLOW = 'reload-check-thunder-flow' LB_TO_VTHUNDER_SUBFLOW = 'lb-to-vthunder-subflow' GET_SPARE_AMPHORA_SBUFLOW = 'get-sapre_amphora-subflow' GET_LB_RESOURCE = 'get-lb-resource' GET_LB_RESOURCE_SUBNET = 'get-lb-resource-subnet' GET_PROJECT_COUNT = 'get-child-parent-project-count' GET_LB_COUNT_SUBNET = 'get-lb-count-by-subnet' UPDATE_LISTENER_STATS_FLOW = 'update-listener-stats-flow' GET_VTHUNDER_AMPHORA = 'get-vthunder-amphora' COMPUTE_DELETE = 'compute-delete' SET_VTHUNDER_TO_STANDBY = 'set-vthunder-to-standby' GET_LBS_BY_THUNDER = 'get-loadbalancers-by-thunder' MARK_LB_PENIND_UPDATE_IN_DB = 'mark-vthunder-pending-update-in-db' MARK_LB_ACTIVE_IN_DB = 'mark-vthunder-active-in-db' GET_VTHUNDER_NETWORK_LIST = 'get-vthunder-network-list' GET_AMPHORA_FOR_FAILOVER = 'get-amphora-for-failover' PLUG_NETWORK_BY_IDS = 'plug-network-by-ids' PLUG_VIP_NETWORK_ON_SPARE = 'plusg-vip-network-on-spare' POST_SPARE_PLUG_NETWORK = 'post-failover-plug-network' GET_VCS_DEVICE_ID = 'get-vcs-device-id' POST_FAILOVER_DB_UPDATE = 'post-failover-db-update' MARK_LB_LIST_ERROR_ON_REVERT = 'mark-lb-list-error-on-revert' # ====================== # Non-Taskflow Constants # ====================== OCTAVIA_OWNER = 'Octavia' TOPOLOGY_SPARE = 'SPARE' READY = "READY"
loadbalancers_list = 'loadbalancers_list' vrid_list = 'vrid_list' set_thunder_update_at = 'set-thunder-update-at' set_thunder_backup_update_at = 'set-thunder-backup-update-at' member_count_ip = 'member_count_ip' member_count_ip_port_protocol = 'member_count_ip_port_protocol' pool_count_ip = 'pool_count_ip' write_mem_shared_part = 'write_mem_shared_part' write_mem_for_shared_partition = 'write_memory_for_shared_partition' write_mem_for_local_partition = 'write_memory_for_local_partition' member_list = 'member_list' subnet_list = 'subnet_list' members = 'members' pools = 'pools' partition_project_list = 'partition_project_list' ifnum_backup = 'ifnum_backup' ifnum_master = 'ifnum_master' listener_stats = 'listener_stats' reloadload_balancer = 'octavia-reloadload-balancer' vthunder = 'vthunder' status = 'status' role = 'role' backup_vthunder = 'backup_vthunder' master_vthunder = 'master_vthunder' vrrp_status = 'vrrp_status' master_vrrp_status = 'master_vrrp_status' backup_vrrp_status = 'backup_vrrp_status' nat_pool = 'nat_pool' nat_flavor = 'nat_flavor' subnet_port = 'subnet_port' write_mem_shared = 'write_mem_shared' write_mem_private = 'write_mem_private' failed = 'FAILED' used_spare = 'USED_SPARE' spare_vthunder = 'spare_vthunder' failover_vthunder = 'failover_vthunder' octavia_health_manager_controller = 'octavia_health_manager_controller' octavia_health_monitor = 'octavia_health_monitor' vthunder_config = 'vthunder_config' device_config_dict = 'device_config_dict' device_key_prefix = '[dev]' use_device_flavor = 'use_device_flavor' vthunder_id = 'vthunder_id' device_id = 'device_id' set_id = 'set_id' vrid = 'vrid' device_priority = 'device_priority' floating_ip = 'floating_ip' floating_ip_mask = 'floating_ip_mask' cert_data = 'cert_data' sp_obj_dict = {'HTTP_COOKIE': 'cookie_persistence', 'APP_COOKIE': 'cookie_persistence', 'SOURCE_IP': 'src_ip_persistence'} http_type = ['HTTP', 'HTTPS'] pers_type = ['cookie_persistence', 'src_ip_persistence'] no_dest_nat_supported_protocol = ['tcp', 'udp'] port = 'port' lb_count = 'lb_count' lb_count_subnet = 'lb_count_subnet' lb_count_flavor = 'lb_count_flavor' member_count = 'member_count' delete_vrid = 'delete_vrid' lb_count_thunder = 'lb_count_thunder' member_count_thunder = 'member_count_thunder' lb_count_thunder_partition = 'lb_count_thunder_partition' id = 'id' security_groups = 'security_groups' vip_sec_group_prefix = 'lb-' lb_resource = 'lb_resource' subnet_id = 'subnet_id' vlan_id = 'vlan_id' tag_interface = 'tag_interface' ve_interface = 've_interface' delete_vlan = 'delete_vlan' vlan = 'vlan' flat = 'flat' supported_network_type = [FLAT, VLAN] ssl_template = 'ssl_template' compute_busy = 'compute_busy' vthunder_list = 'vthunder_list' network_list = 'network_list' added_network = 'added_network' compute_paused = 'PAUSED' l2_dsr_flavor = 'l2dsr_flavor' master_amphora_status = 'master_amphora_status' backup_amphora_status = 'backup_amphora_status' acos_5_2_1_p2 = '5.2.1-P2' get_vthunder_for_lb_subflow = 'octavia-get-vthunder-for-lb-subflow' backup_amphora_plug = 'backup-amphora-plug' get_master_vthunder_interface = 'get-master-vthunder-intercae' get_backup_vthunder_interface = 'get-backup-vthunder-intercae' master_connectivity_wait = 'master-connectivity-wait' backup_connectivity_wait = 'backup-connectivity-wait' enable_master_vthunder_interface = 'enable-master-vthunder-interface' enable_backup_vthunder_interface = 'enable-backup-vthunder-interface' enable_vthunder_interface = 'enable-vthunder-interface' master_enable_interface = 'master-enable-interface' backup_enable_interface = 'backup-enable-interface' mark_vthunder_master_active_in_db = 'mark-vthunder-master-active-in-db' mark_vthunder_backup_active_in_db = 'mark-vthunder-backup-active-in-db' mark_vthunder_master_deleted_in_db = 'mark-vthunder-master-deleted-in-db' mark_vthunder_backup_deleted_in_db = 'mark-vthunder-backup-deleted-in-db' get_backup_vthunder_by_lb = 'get-backup-vthunder-by-lb' get_vthunder_from_lb = 'get-vthunder-from-lb' create_health_monitor_on_vthunder = 'create-health-monitor-on-vthunder' create_health_monitor_on_spare = 'create-health-monitor-on-spare' mark_amphora_ready_indb = 'mark-amphora-ready-indb' handle_sess_pers = 'handle-session-persistence-delta-subflow' get_loadbalancer_from_db = 'Get-Loadbalancer-from-db' get_backup_loadbalancer_from_db = 'get-backup-loadbalancer-from-db' configure_vrrp_for_master_vthunder = 'configure-vrrp-for-master-vthunder' configure_vrrp_for_backup_vthunder = 'configure-vrrp-for-backup-vthunder' configure_vrid_for_master_vthunder = 'configure-vrid-for-master-vthunder' configure_vrid_for_backup_vthunder = 'configure-vrid-for-backup-vthunder' wait_for_master_sync = 'wait-for-master-sync' wait_for_backup_sync = 'wait-for-backup-sync' configure_avcs_sync_for_master = 'configure-avcs-sync-for-master' configure_avcs_sync_for_backup = 'configure-avcs-sync-for-backup' configure_avcs_for_failover = 'configure-avcs-for-failover' check_vrrp_status = 'check-vrrp-status' check_vrrp_master_status = 'check-vrrp-master-status' check_vrrp_backup_status = 'check-vrrp-backup-status' confirm_vrrp_status = 'confirm-vrrp-status' add_vrrp_set_id_indb = 'add-vrrp-set-id-db' delete_vrrp_set_id_indb = 'delete-vrrp-set-id-db' get_vrrp_set_id_indb = 'get-vrrp-set-id-db' allocate_vip = 'allocate-vip' update_vip_after_allocation = 'update-vip-after-allocation' allow_l2_dsr = 'allow-l2dsr' allow_no_snat = 'allow-no-snat' amphorae_post_vip_plug = 'amphorae-post-vip-plug' amphora_post_network_unplug = 'amphorae-post-network-plug' amphora_post_network_unplug_for_backup_vthunder = 'amphorae-post-network-plug-for-backup-vthunder' amp_post_vip_plug = 'amp-post-vip-plug' amphorae_post_vip_plug_for_master = 'amphorae-post-vip-plug-for-master' amphorae_post_vip_plug_for_backup = 'amphorae-post-vip-plug-for-backup' vcs_reload = 'vcs-reload' get_backup_vthunder = 'get-backup-vthunder' get_master_vthunder = 'get-master-vthunder' connectivity_wait_for_master_vthunder = 'connectivity-wait-for-master-vthunder' connectivity_wait_for_backup_vthunder = 'connectivity-wait-for-backup-vthunder' get_vthunder_master = 'get-vthunder-master' wait_for_master_vcs_reload = 'wait-for-master-vcs-reload' wait_for_backup_vcs_reload = 'wait-for-backup-vcs-reload' vcs_sync_wait = 'wait-for-vcs_ready' get_compute_for_project = 'get-compute-for-project' validate_compute_for_project = 'validate-compute-for-project' get_spare_compute_for_project = 'get-spare-compute-for-project' delete_stale_spare_vthunder = 'delete-stale-spare-vthunder' create_vthunder_entry = 'create-vthunder-entry' update_acos_version_in_vthunder_entry = 'update-acos-version-in-vthunder-entry' update_acos_version_for_backup_vthunder = 'update-acos-version-for-backup-vthunder' vthunder_by_lb = 'vthunder-by-loadbalancer' get_vthunder_by_lb = 'get-vthunder-by-lb' vthunder_connectivity_wait = 'vthunder-connectivity-wait' wait_for_vthunder_connectivity = 'wait-for-vthunder-connectivity' change_partition = 'change-partition' create_ssl_cert_flow = 'create-ssl-cert-flow' delete_ssl_cert_flow = 'delete-ssl-cert-flow' listener_type_decider_flow = 'listener_type_decider_flow' delete_loadbalancer_vrid_subflow = 'delete-loadbalancer-vrid-subflow' revoke_active_vthunder_license = 'revoke-active-vthunder-license' revoke_backup_vthunder_license = 'revoke-backup-vthunder-license' handle_vrid_loadbalancer_subflow = 'handle-vrid-loadbalancer-subflow' create_member_snat_pool_subflow = 'create-member-snat-pool-subflow' delete_member_vthunder_internal_subflow = 'delete-member-vthunder-internal-subflow' delete_member_vrid_subflow = 'delete-member-vrid-subflow' delete_member_vrid_internal_subflow = 'delete-member-vrid-internal-subflow' delete_health_monitor_vthunder_subflow = 'delete-hm-vthunder-subflow' delete_health_monitor_subflow_with_pool_delete_flow = 'delete-health-monitor-subflow-with-pool-delete-flow' delete_members_subflow_with_pool_delete_flow = 'delete-members-subflow-with-pool-delete-flow' handle_vrid_member_subflow = 'handle-vrid-member-subflow' spare_vthunder_create = 'spare-vthunder-create' activate_glm_license_subflow = 'activate-glm-license-subflow' configure_dns_nameservers = 'configure-dns-nameservers' activate_flexpool_license = 'activate-flexpool-license' configure_proxy_server = 'configure-proxy-server' set_vthunder_hostname = 'set-vthunder-hostname' write_memory_thunder_flow = 'write-memory-thunder-flow' reload_check_thunder_flow = 'reload-check-thunder-flow' lb_to_vthunder_subflow = 'lb-to-vthunder-subflow' get_spare_amphora_sbuflow = 'get-sapre_amphora-subflow' get_lb_resource = 'get-lb-resource' get_lb_resource_subnet = 'get-lb-resource-subnet' get_project_count = 'get-child-parent-project-count' get_lb_count_subnet = 'get-lb-count-by-subnet' update_listener_stats_flow = 'update-listener-stats-flow' get_vthunder_amphora = 'get-vthunder-amphora' compute_delete = 'compute-delete' set_vthunder_to_standby = 'set-vthunder-to-standby' get_lbs_by_thunder = 'get-loadbalancers-by-thunder' mark_lb_penind_update_in_db = 'mark-vthunder-pending-update-in-db' mark_lb_active_in_db = 'mark-vthunder-active-in-db' get_vthunder_network_list = 'get-vthunder-network-list' get_amphora_for_failover = 'get-amphora-for-failover' plug_network_by_ids = 'plug-network-by-ids' plug_vip_network_on_spare = 'plusg-vip-network-on-spare' post_spare_plug_network = 'post-failover-plug-network' get_vcs_device_id = 'get-vcs-device-id' post_failover_db_update = 'post-failover-db-update' mark_lb_list_error_on_revert = 'mark-lb-list-error-on-revert' octavia_owner = 'Octavia' topology_spare = 'SPARE' ready = 'READY'
lots_of_numbers = range(-1000, 1000) the_same_numbers = range(-1000, 1000) same_numbers = ( i for i, j in zip(lots_of_numbers, the_same_numbers) if i is j ) print(*same_numbers, sep=", ")
lots_of_numbers = range(-1000, 1000) the_same_numbers = range(-1000, 1000) same_numbers = (i for (i, j) in zip(lots_of_numbers, the_same_numbers) if i is j) print(*same_numbers, sep=', ')
class Config: BOT_TOKEN = '' # from @botfather APP_ID = '' # from https://my.telegram.org/apps API_HASH = '' # from https://my.telegram.org/apps API_KEY = '' # from https://mixdrop.co API_EMAIL = '' # from https://mixdrop.co AUTH_USERS = [694380168] # ADD YOUR USER ID
class Config: bot_token = '' app_id = '' api_hash = '' api_key = '' api_email = '' auth_users = [694380168]
debug = True run = { "echo": True }
debug = True run = {'echo': True}
age = float(input()) gender = input() if gender =="m": if age >= 16: print("Mr.") else: print("Master") if gender == "f": if age >= 16: print("Ms.") else: print("Miss")
age = float(input()) gender = input() if gender == 'm': if age >= 16: print('Mr.') else: print('Master') if gender == 'f': if age >= 16: print('Ms.') else: print('Miss')
T = int(input()) if 1 <= T <= 100: for i in range(T): N = int(input()) a = [] for j in range(N - 1): l = int(input()) if l <= N: a.append(l) for k in range(1, N + 1): if k not in a: print(k)
t = int(input()) if 1 <= T <= 100: for i in range(T): n = int(input()) a = [] for j in range(N - 1): l = int(input()) if l <= N: a.append(l) for k in range(1, N + 1): if k not in a: print(k)
# # PySNMP MIB module ALCATEL-IND1-IGMP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ALCATEL-IND1-IGMP-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:17:51 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # softentIND1Igmp, = mibBuilder.importSymbols("ALCATEL-IND1-BASE", "softentIND1Igmp") Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection") InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") InetAddressIPv4, InetAddressType, InetAddress = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressIPv4", "InetAddressType", "InetAddress") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") Unsigned32, Bits, MibIdentifier, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Counter64, IpAddress, Counter32, iso, NotificationType, Integer32, ModuleIdentity, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Unsigned32", "Bits", "MibIdentifier", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Counter64", "IpAddress", "Counter32", "iso", "NotificationType", "Integer32", "ModuleIdentity", "ObjectIdentity") RowStatus, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "DisplayString") alcatelIND1IgmpMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1)) alcatelIND1IgmpMIB.setRevisions(('2011-02-23 00:00', '2009-03-31 00:00', '2008-09-10 00:00', '2008-08-08 00:00', '2007-04-03 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: alcatelIND1IgmpMIB.setRevisionsDescriptions(('Add zero-based query object', 'IGMP helper address changes', 'Add flood unknown object', 'The latest version of this MIB Module. Added maximum group limit objects.', 'The revised version of this MIB Module.',)) if mibBuilder.loadTexts: alcatelIND1IgmpMIB.setLastUpdated('201102230000Z') if mibBuilder.loadTexts: alcatelIND1IgmpMIB.setOrganization('Alcatel-Lucent') if mibBuilder.loadTexts: alcatelIND1IgmpMIB.setContactInfo('Please consult with Customer Service to ensure the most appropriate version of this document is used with the products in question: Alcatel-Lucent, Enterprise Solutions Division (Formerly Alcatel Internetworking, Incorporated) 26801 West Agoura Road Agoura Hills, CA 91301-5122 United States Of America Telephone: North America +1 800 995 2696 Latin America +1 877 919 9526 Europe +31 23 556 0100 Asia +65 394 7933 All Other +1 818 878 4507 Electronic Mail: [email protected] World Wide Web: http://alcatel-lucent.com/wps/portal/enterprise File Transfer Protocol: ftp://ftp.ind.alcatel.com/pub/products/mibs') if mibBuilder.loadTexts: alcatelIND1IgmpMIB.setDescription('This module describes an authoritative enterprise-specific Simple Network Management Protocol (SNMP) Management Information Base (MIB): Proprietary IPv4 Multicast MIB definitions The right to make changes in specification and other information contained in this document without prior notice is reserved. No liability shall be assumed for any incidental, indirect, special, or consequential damages whatsoever arising from or related to this document or the information contained herein. Vendors, end-users, and other interested parties are granted non-exclusive license to use this specification in connection with management of the products for which it is intended to be used. Copyright (C) 1995-2007 Alcatel-Lucent ALL RIGHTS RESERVED WORLDWIDE') alcatelIND1IgmpMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1)) alaIgmp = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1)) alaIgmpStatus = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpStatus.setStatus('current') if mibBuilder.loadTexts: alaIgmpStatus.setDescription('Administratively enable IPv4 multicast switching and routing on the system.') alaIgmpQuerying = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpQuerying.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerying.setDescription('Administratively enable IGMP Querying on the system.') alaIgmpSpoofing = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpSpoofing.setStatus('current') if mibBuilder.loadTexts: alaIgmpSpoofing.setDescription('Administratively enable IGMP Spoofing on the system.') alaIgmpZapping = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpZapping.setStatus('current') if mibBuilder.loadTexts: alaIgmpZapping.setDescription('Administratively enable IGMP Zapping on the system.') alaIgmpVersion = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 5), Unsigned32().clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVersion.setStatus('current') if mibBuilder.loadTexts: alaIgmpVersion.setDescription('Set the default IGMP protocol Version running on the system.') alaIgmpRobustness = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 6), Unsigned32().clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpRobustness.setStatus('current') if mibBuilder.loadTexts: alaIgmpRobustness.setDescription('Set the IGMP Robustness variable used on the system.') alaIgmpQueryInterval = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 7), Unsigned32().clone(125)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpQueryInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpQueryInterval.setDescription('Set the IGMP Query Interval used on the system.') alaIgmpQueryResponseInterval = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 8), Unsigned32().clone(100)).setUnits('tenths of seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpQueryResponseInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpQueryResponseInterval.setDescription('Set the IGMP Query Response Interval on the system.') alaIgmpLastMemberQueryInterval = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 9), Unsigned32().clone(10)).setUnits('tenths of seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpLastMemberQueryInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpLastMemberQueryInterval.setDescription('Set the IGMP Last Member Query Interval on the system.') alaIgmpRouterTimeout = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 10), Unsigned32().clone(90)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpRouterTimeout.setStatus('current') if mibBuilder.loadTexts: alaIgmpRouterTimeout.setDescription('The IGMP Router Timeout on the system.') alaIgmpSourceTimeout = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 11), Unsigned32().clone(30)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpSourceTimeout.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceTimeout.setDescription('The IGMP Source Timeout on the system.') alaIgmpProxying = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpProxying.setStatus('current') if mibBuilder.loadTexts: alaIgmpProxying.setDescription('Administratively enable IGMP Proxying on the system.') alaIgmpUnsolicitedReportInterval = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 13), Unsigned32().clone(1)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpUnsolicitedReportInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpUnsolicitedReportInterval.setDescription('The IGMP Unsolicited Report Interval on the system.') alaIgmpQuerierForwarding = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpQuerierForwarding.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierForwarding.setDescription('Administratively enable IGMP Querier Forwarding on the system.') alaIgmpMaxGroupLimit = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 15), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpMaxGroupLimit.setStatus('current') if mibBuilder.loadTexts: alaIgmpMaxGroupLimit.setDescription('The global limit on maximum number of IGMP Group memberships that can be learnt on each port/vlan instance.') alaIgmpMaxGroupExceedAction = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("drop", 1), ("replace", 2))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpMaxGroupExceedAction.setStatus('current') if mibBuilder.loadTexts: alaIgmpMaxGroupExceedAction.setDescription('The global configuration of action to be taken when IGMP group membership limit is exceeded on a port/vlan instance.') alaIgmpFloodUnknown = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpFloodUnknown.setStatus('current') if mibBuilder.loadTexts: alaIgmpFloodUnknown.setDescription('Administratively enable flooding of multicast data packets during flow learning and setup.') alaIgmpHelperAddressType = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 18), InetAddressType().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpHelperAddressType.setStatus('current') if mibBuilder.loadTexts: alaIgmpHelperAddressType.setDescription('Set the address type of the helper address. Must be ipv4(1) and set at the same time as alaIgmpHelperAddress.') alaIgmpHelperAddress = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 19), InetAddress().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpHelperAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpHelperAddress.setDescription('The configured IPv4 helper address. When an IGMP report or leave is received by the device it will remove the IP header and regenerate a new IP header with a destination IP address specified. Use 0.0.0.0 to no longer help an IGMP report to an remote address. Must be set at the same time as alaIgmpHelperAddressType') alaIgmpZeroBasedQuery = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpZeroBasedQuery.setStatus('current') if mibBuilder.loadTexts: alaIgmpZeroBasedQuery.setDescription('Administratively enable the use of an all-zero source IPv4 address for query packets when a non-querier is querying the membership of a port') alaIgmpVlan = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2)) alaIgmpVlanTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1), ) if mibBuilder.loadTexts: alaIgmpVlanTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanTable.setDescription('The VLAN table contains the information on which IPv4 multicast switching and routing is configured.') alaIgmpVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanIndex")) if mibBuilder.loadTexts: alaIgmpVlanEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanEntry.setDescription('An entry corresponds to a VLAN on which IPv4 multicast switching and routing is configured.') alaIgmpVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: alaIgmpVlanIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanIndex.setDescription('The VLAN on which IPv4 multicast switching and routing is configured.') alaIgmpVlanStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanStatus.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanStatus.setDescription('Administratively enable IPv4 multicast switching and routing on the VLAN.') alaIgmpVlanQuerying = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanQuerying.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanQuerying.setDescription('Administratively enable IGMP Querying on the VLAN.') alaIgmpVlanSpoofing = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanSpoofing.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanSpoofing.setDescription('Administratively enable IGMP Spoofing on the VLAN.') alaIgmpVlanZapping = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanZapping.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanZapping.setDescription('Administratively enable IGMP Zapping on the VLAN.') alaIgmpVlanVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 6), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanVersion.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanVersion.setDescription('Set the default IGMP protocol Version running on the VLAN.') alaIgmpVlanRobustness = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 7), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanRobustness.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanRobustness.setDescription('Set the IGMP Robustness variable used on the VLAN.') alaIgmpVlanQueryInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 8), Unsigned32()).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanQueryInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanQueryInterval.setDescription('Set the IGMP Query Interval used on the VLAN.') alaIgmpVlanQueryResponseInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 9), Unsigned32()).setUnits('tenths of seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanQueryResponseInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanQueryResponseInterval.setDescription('Set the IGMP Query Response Interval on the VLAN.') alaIgmpVlanLastMemberQueryInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 10), Unsigned32()).setUnits('tenths of seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanLastMemberQueryInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanLastMemberQueryInterval.setDescription('Set the IGMP Last Member Query Interval on the VLAN.') alaIgmpVlanRouterTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 11), Unsigned32()).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanRouterTimeout.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanRouterTimeout.setDescription('Set the IGMP Router Timeout on the VLAN.') alaIgmpVlanSourceTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 12), Unsigned32()).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanSourceTimeout.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanSourceTimeout.setDescription('Set the IGMP Source Timeout on the VLAN.') alaIgmpVlanProxying = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanProxying.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanProxying.setDescription('Administratively enable IGMP Proxying on the VLAN.') alaIgmpVlanUnsolicitedReportInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 14), Unsigned32()).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanUnsolicitedReportInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanUnsolicitedReportInterval.setDescription('Set the IGMP Unsolicited Report Interval on the VLAN.') alaIgmpVlanQuerierForwarding = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanQuerierForwarding.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanQuerierForwarding.setDescription('Administratively enable IGMP Querier Forwarding on the VLAN.') alaIgmpVlanMaxGroupLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 16), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanMaxGroupLimit.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanMaxGroupLimit.setDescription('The maximum number of IGMP Group memberships that can be learnt on the VLAN.') alaIgmpVlanMaxGroupExceedAction = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("drop", 1), ("replace", 2))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanMaxGroupExceedAction.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanMaxGroupExceedAction.setDescription('The action to be taken when the IGMP group membership limit is exceeded on the VLAN.') alaIgmpVlanZeroBasedQuery = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpVlanZeroBasedQuery.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanZeroBasedQuery.setDescription('Administratively enable the use of an all-zero source IPv4 address for query packets when a non-querier is querying the membership of a port on the VLAN') alaIgmpMember = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3)) alaIgmpMemberTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1), ) if mibBuilder.loadTexts: alaIgmpMemberTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberTable.setDescription('The table listing the IGMP group membership information.') alaIgmpMemberEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpMemberVlan"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpMemberIfIndex"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpMemberGroupAddress"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpMemberSourceAddress")) if mibBuilder.loadTexts: alaIgmpMemberEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberEntry.setDescription('An entry corresponding to an IGMP group membership request.') alaIgmpMemberVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: alaIgmpMemberVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberVlan.setDescription("The group membership request's VLAN.") alaIgmpMemberIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1, 2), InterfaceIndex()) if mibBuilder.loadTexts: alaIgmpMemberIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberIfIndex.setDescription("The group membership request's ifIndex.") alaIgmpMemberGroupAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1, 3), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpMemberGroupAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberGroupAddress.setDescription("The group membership request's IPv4 group address.") alaIgmpMemberSourceAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1, 4), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpMemberSourceAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberSourceAddress.setDescription("The group membership request's IPv4 source address.") alaIgmpMemberMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("include", 1), ("exclude", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpMemberMode.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberMode.setDescription("The group membership request's IGMP source filter mode.") alaIgmpMemberCount = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpMemberCount.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberCount.setDescription("The group membership request's counter.") alaIgmpMemberTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1, 7), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpMemberTimeout.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberTimeout.setDescription("The group membership request's timeout.") alaIgmpStaticMember = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 4)) alaIgmpStaticMemberTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 4, 1), ) if mibBuilder.loadTexts: alaIgmpStaticMemberTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticMemberTable.setDescription('The table listing the static IGMP group membership information.') alaIgmpStaticMemberEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 4, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpStaticMemberVlan"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpStaticMemberIfIndex"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpStaticMemberGroupAddress")) if mibBuilder.loadTexts: alaIgmpStaticMemberEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticMemberEntry.setDescription('An entry corresponding to a static IGMP group membership request.') alaIgmpStaticMemberVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 4, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: alaIgmpStaticMemberVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticMemberVlan.setDescription("The static group membership request's VLAN.") alaIgmpStaticMemberIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 4, 1, 1, 2), InterfaceIndex()) if mibBuilder.loadTexts: alaIgmpStaticMemberIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticMemberIfIndex.setDescription("The static group membership request's ifIndex.") alaIgmpStaticMemberGroupAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 4, 1, 1, 3), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpStaticMemberGroupAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticMemberGroupAddress.setDescription("The static group membership request's IPv4 group address.") alaIgmpStaticMemberRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 4, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIgmpStaticMemberRowStatus.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticMemberRowStatus.setDescription('Used in accordance with installation and removal conventions for conceptual rows.') alaIgmpNeighbor = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5)) alaIgmpNeighborTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5, 1), ) if mibBuilder.loadTexts: alaIgmpNeighborTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborTable.setDescription('The table listing the neighboring IP multicast routers.') alaIgmpNeighborEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpNeighborVlan"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpNeighborIfIndex"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpNeighborHostAddress")) if mibBuilder.loadTexts: alaIgmpNeighborEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborEntry.setDescription('An entry corresponding to an IP multicast router.') alaIgmpNeighborVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: alaIgmpNeighborVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborVlan.setDescription("The IP multicast router's VLAN.") alaIgmpNeighborIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5, 1, 1, 2), InterfaceIndex()) if mibBuilder.loadTexts: alaIgmpNeighborIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborIfIndex.setDescription("The IP multicast router's ifIndex.") alaIgmpNeighborHostAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5, 1, 1, 3), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpNeighborHostAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborHostAddress.setDescription("The IP multicast router's IPv4 host address.") alaIgmpNeighborCount = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpNeighborCount.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborCount.setDescription("The IP multicast router's counter.") alaIgmpNeighborTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5, 1, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpNeighborTimeout.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborTimeout.setDescription("The IP multicast router's timeout.") alaIgmpStaticNeighbor = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 6)) alaIgmpStaticNeighborTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 6, 1), ) if mibBuilder.loadTexts: alaIgmpStaticNeighborTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticNeighborTable.setDescription('The table listing the static IP multicast routers.') alaIgmpStaticNeighborEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 6, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpStaticNeighborVlan"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpStaticNeighborIfIndex")) if mibBuilder.loadTexts: alaIgmpStaticNeighborEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticNeighborEntry.setDescription('An entry corresponding to a static IP multicast router.') alaIgmpStaticNeighborVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 6, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: alaIgmpStaticNeighborVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticNeighborVlan.setDescription("The static IP multicast router's VLAN.") alaIgmpStaticNeighborIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 6, 1, 1, 2), InterfaceIndex()) if mibBuilder.loadTexts: alaIgmpStaticNeighborIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticNeighborIfIndex.setDescription("The static IP multicast router's ifIndex.") alaIgmpStaticNeighborRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 6, 1, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIgmpStaticNeighborRowStatus.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticNeighborRowStatus.setDescription('Used in accordance with installation and removal conventions for conceptual rows.') alaIgmpQuerier = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7)) alaIgmpQuerierTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7, 1), ) if mibBuilder.loadTexts: alaIgmpQuerierTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierTable.setDescription('The table listing the neighboring IGMP queriers.') alaIgmpQuerierEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpQuerierVlan"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpQuerierIfIndex"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpQuerierHostAddress")) if mibBuilder.loadTexts: alaIgmpQuerierEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierEntry.setDescription('An entry corresponding to an IGMP querier.') alaIgmpQuerierVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: alaIgmpQuerierVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierVlan.setDescription("The IGMP querier's VLAN.") alaIgmpQuerierIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7, 1, 1, 2), InterfaceIndex()) if mibBuilder.loadTexts: alaIgmpQuerierIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierIfIndex.setDescription("The IGMP querier's ifIndex.") alaIgmpQuerierHostAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7, 1, 1, 3), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpQuerierHostAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierHostAddress.setDescription("The IGMP querier's IPv4 host address.") alaIgmpQuerierCount = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpQuerierCount.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierCount.setDescription("The IGMP querier's counter.") alaIgmpQuerierTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7, 1, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpQuerierTimeout.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierTimeout.setDescription("The IGMP querier's timeout.") alaIgmpStaticQuerier = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 8)) alaIgmpStaticQuerierTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 8, 1), ) if mibBuilder.loadTexts: alaIgmpStaticQuerierTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticQuerierTable.setDescription('The table listing the static IGMP queriers.') alaIgmpStaticQuerierEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 8, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpStaticQuerierVlan"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpStaticQuerierIfIndex")) if mibBuilder.loadTexts: alaIgmpStaticQuerierEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticQuerierEntry.setDescription('An entry corresponding to a static IGMP querier.') alaIgmpStaticQuerierVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 8, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: alaIgmpStaticQuerierVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticQuerierVlan.setDescription("The static IGMP querier's VLAN.") alaIgmpStaticQuerierIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 8, 1, 1, 2), InterfaceIndex()) if mibBuilder.loadTexts: alaIgmpStaticQuerierIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticQuerierIfIndex.setDescription("The static IGMP querier's ifIndex.") alaIgmpStaticQuerierRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 8, 1, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alaIgmpStaticQuerierRowStatus.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticQuerierRowStatus.setDescription('Used in accordance with installation and removal conventions for conceptual rows.') alaIgmpSource = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9)) alaIgmpSourceTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1), ) if mibBuilder.loadTexts: alaIgmpSourceTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceTable.setDescription('The table listing the IP multicast source information.') alaIgmpSourceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpSourceVlan"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpSourceGroupAddress"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpSourceHostAddress"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpSourceDestAddress"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpSourceOrigAddress")) if mibBuilder.loadTexts: alaIgmpSourceEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceEntry.setDescription('An entry corresponding to an IP multicast source flow.') alaIgmpSourceVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: alaIgmpSourceVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceVlan.setDescription("The IP multicast source flow's VLAN.") alaIgmpSourceIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpSourceIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceIfIndex.setDescription("The IP multicast source flow's ifIndex.") alaIgmpSourceGroupAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1, 3), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpSourceGroupAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceGroupAddress.setDescription("The IP multicast source flow's IPv4 group address.") alaIgmpSourceHostAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1, 4), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpSourceHostAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceHostAddress.setDescription("The IP multicast source flow's IPv4 host address.") alaIgmpSourceDestAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1, 5), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpSourceDestAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceDestAddress.setDescription("The IP multicast source flow's IPv4 tunnel destination address.") alaIgmpSourceOrigAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1, 6), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpSourceOrigAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceOrigAddress.setDescription("The IP multicast source flow's IPv4 tunnel source address.") alaIgmpSourceType = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("mcast", 1), ("pim", 2), ("ipip", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpSourceType.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceType.setDescription("The IP multicast source flow's encapsulation type.") alaIgmpForward = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10)) alaIgmpForwardTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1), ) if mibBuilder.loadTexts: alaIgmpForwardTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardTable.setDescription('The table listing the IP multicast forward information.') alaIgmpForwardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpForwardVlan"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpForwardGroupAddress"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpForwardHostAddress"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpForwardDestAddress"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpForwardOrigAddress"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpForwardNextVlan"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpForwardNextIfIndex")) if mibBuilder.loadTexts: alaIgmpForwardEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardEntry.setDescription('An entry corresponding to an IP multicast forwarded flow.') alaIgmpForwardVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: alaIgmpForwardVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardVlan.setDescription("The IP multicast forwarded flow's VLAN.") alaIgmpForwardIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpForwardIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardIfIndex.setDescription("The IP multicast forwarded flow's ifIndex.") alaIgmpForwardGroupAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 3), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpForwardGroupAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardGroupAddress.setDescription("The IP multicast forwarded flow's IPv4 group address.") alaIgmpForwardHostAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 4), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpForwardHostAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardHostAddress.setDescription("The IP multicast forwarded flow's IPv4 host address.") alaIgmpForwardDestAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 5), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpForwardDestAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardDestAddress.setDescription("The IP multicast forwarded flow's IPv4 tunnel destination address.") alaIgmpForwardOrigAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 6), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpForwardOrigAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardOrigAddress.setDescription("The IP multicast forwarded flow's IPv4 tunnel source address.") alaIgmpForwardType = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("mcast", 1), ("pim", 2), ("ipip", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpForwardType.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardType.setDescription("The IP multicast forwarded flow's encapsulation type.") alaIgmpForwardNextVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 8), Unsigned32()) if mibBuilder.loadTexts: alaIgmpForwardNextVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardNextVlan.setDescription("The IP multicast forwarded flow's next VLAN.") alaIgmpForwardNextIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 9), InterfaceIndex()) if mibBuilder.loadTexts: alaIgmpForwardNextIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardNextIfIndex.setDescription("The IP multicast forwarded flow's next ifIndex.") alaIgmpForwardNextType = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("mcast", 1), ("pim", 2), ("ipip", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpForwardNextType.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardNextType.setDescription("The IP multicast forwarded flow's next encapsulation type.") alaIgmpTunnel = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11)) alaIgmpTunnelTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1), ) if mibBuilder.loadTexts: alaIgmpTunnelTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelTable.setDescription('The table listing the IP multicast tunnel information.') alaIgmpTunnelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpTunnelVlan"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpTunnelGroupAddress"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpTunnelHostAddress"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpTunnelDestAddress"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpTunnelOrigAddress"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpTunnelNextDestAddress")) if mibBuilder.loadTexts: alaIgmpTunnelEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelEntry.setDescription('An entry corresponding to an IP multicast tunneled flow.') alaIgmpTunnelVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: alaIgmpTunnelVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelVlan.setDescription("The IP multicast tunneled flow's VLAN.") alaIgmpTunnelIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpTunnelIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelIfIndex.setDescription("The IP multicast tunneled flow's ifIndex.") alaIgmpTunnelGroupAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 3), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpTunnelGroupAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelGroupAddress.setDescription("The IP multicast tunneled flow's IPv4 group address.") alaIgmpTunnelHostAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 4), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpTunnelHostAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelHostAddress.setDescription("The IP multicast tunneled flow's IPv4 host address.") alaIgmpTunnelDestAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 5), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpTunnelDestAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelDestAddress.setDescription("The IP multicast tunneled flow's IPv4 tunnel destination address.") alaIgmpTunnelOrigAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 6), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpTunnelOrigAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelOrigAddress.setDescription("The IP multicast tunneled flow's IPv4 tunnel source address.") alaIgmpTunnelType = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("mcast", 1), ("pim", 2), ("ipip", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpTunnelType.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelType.setDescription("The IP multicast tunneled flow's encapsulation type.") alaIgmpTunnelNextDestAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 8), InetAddressIPv4()) if mibBuilder.loadTexts: alaIgmpTunnelNextDestAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelNextDestAddress.setDescription("The IP multicast tunneled flow's next IPv4 tunnel destination address.") alaIgmpTunnelNextType = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("mcast", 1), ("pim", 2), ("ipip", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpTunnelNextType.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelNextType.setDescription("The IP multicast tunneled flow's next encapsulation type.") alaIgmpPort = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 12)) alaIgmpPortTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 12, 1), ) if mibBuilder.loadTexts: alaIgmpPortTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortTable.setDescription('The table listing the IP multicast port information.') alaIgmpPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 12, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpPortIfIndex")) if mibBuilder.loadTexts: alaIgmpPortEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortEntry.setDescription('An entry corresponding to IP multicast port information.') alaIgmpPortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 12, 1, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: alaIgmpPortIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortIfIndex.setDescription("The IP multicast port's ifIndex.") alaIgmpPortMaxGroupLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 12, 1, 1, 2), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpPortMaxGroupLimit.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortMaxGroupLimit.setDescription('The maximum number of IGMP Group memberships that can be learnt on the port.') alaIgmpPortMaxGroupExceedAction = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 12, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("drop", 1), ("replace", 2))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: alaIgmpPortMaxGroupExceedAction.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortMaxGroupExceedAction.setDescription('The action to be taken when IGMP group membership limit is exceeded for the port.') alaIgmpPortVlan = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 13)) alaIgmpPortVlanTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 13, 1), ) if mibBuilder.loadTexts: alaIgmpPortVlanTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortVlanTable.setDescription('The table listing the IGMP group membership limit information for a port/vlan instance.') alaIgmpPortVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 13, 1, 1), ).setIndexNames((0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpPortIfIndex"), (0, "ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanId")) if mibBuilder.loadTexts: alaIgmpPortVlanEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortVlanEntry.setDescription('An entry corresponding to IGMP group membership limit on a port/vlan.') alaIgmpVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 13, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: alaIgmpVlanId.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanId.setDescription('The IP multicast group membership VLAN.') alaIgmpPortVlanCurrentGroupCount = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 13, 1, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpPortVlanCurrentGroupCount.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortVlanCurrentGroupCount.setDescription('The current IP multicast group memberships on a port/vlan instance.') alaIgmpPortVlanMaxGroupLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 13, 1, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpPortVlanMaxGroupLimit.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortVlanMaxGroupLimit.setDescription('Maximum IGMP Group memberships on the port/vlan instance.') alaIgmpPortVlanMaxGroupExceedAction = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 13, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("drop", 1), ("replace", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: alaIgmpPortVlanMaxGroupExceedAction.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortVlanMaxGroupExceedAction.setDescription('The action to be taken when IGMP group membership limit is exceeded for the port/vlan instance.') alcatelIND1IgmpMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2)) alcatelIND1IgmpMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 1)) alaIgmpCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 1, 1)).setObjects(("ALCATEL-IND1-IGMP-MIB", "alaIgmpGroup"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanGroup"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpMemberGroup"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpStaticMemberGroup"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpNeighborGroup"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpStaticNeighborGroup"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpQuerierGroup"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpStaticQuerierGroup"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpSourceGroup"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpForwardGroup"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpTunnelGroup"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpPortGroup"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpPortVlanGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alaIgmpCompliance = alaIgmpCompliance.setStatus('current') if mibBuilder.loadTexts: alaIgmpCompliance.setDescription('The compliance statement for systems running IPv4 multicast switch and routing and implementing ALCATEL-IND1-IGMP-MIB.') alcatelIND1IgmpMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2)) alaIgmpGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 1)).setObjects(("ALCATEL-IND1-IGMP-MIB", "alaIgmpStatus"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpQuerying"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpSpoofing"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpZapping"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVersion"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpRobustness"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpQueryInterval"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpQueryResponseInterval"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpLastMemberQueryInterval"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpRouterTimeout"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpSourceTimeout"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpProxying"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpUnsolicitedReportInterval"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpQuerierForwarding"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpMaxGroupLimit"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpMaxGroupExceedAction"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpFloodUnknown"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpHelperAddressType"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpHelperAddress"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpZeroBasedQuery")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alaIgmpGroup = alaIgmpGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpGroup.setDescription('A collection of objects to support management of IPv4 multicast switching and routing system configuration.') alaIgmpVlanGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 2)).setObjects(("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanStatus"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanQuerying"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanSpoofing"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanZapping"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanVersion"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanRobustness"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanQueryInterval"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanQueryResponseInterval"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanLastMemberQueryInterval"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanRouterTimeout"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanSourceTimeout"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanProxying"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanUnsolicitedReportInterval"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanQuerierForwarding"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanMaxGroupLimit"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanMaxGroupExceedAction"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpVlanZeroBasedQuery")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alaIgmpVlanGroup = alaIgmpVlanGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanGroup.setDescription('A collection of objects to support management of IPv4 multicast switching and routing vlan configuration.') alaIgmpMemberGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 3)).setObjects(("ALCATEL-IND1-IGMP-MIB", "alaIgmpMemberMode"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpMemberCount"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpMemberTimeout")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alaIgmpMemberGroup = alaIgmpMemberGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing group membership information.') alaIgmpStaticMemberGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 4)).setObjects(("ALCATEL-IND1-IGMP-MIB", "alaIgmpStaticMemberRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alaIgmpStaticMemberGroup = alaIgmpStaticMemberGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticMemberGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing static group membership information tables.') alaIgmpNeighborGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 5)).setObjects(("ALCATEL-IND1-IGMP-MIB", "alaIgmpNeighborCount"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpNeighborTimeout")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alaIgmpNeighborGroup = alaIgmpNeighborGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing IP multicast router information.') alaIgmpStaticNeighborGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 6)).setObjects(("ALCATEL-IND1-IGMP-MIB", "alaIgmpStaticNeighborRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alaIgmpStaticNeighborGroup = alaIgmpStaticNeighborGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticNeighborGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing static IP multicast router information.') alaIgmpQuerierGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 7)).setObjects(("ALCATEL-IND1-IGMP-MIB", "alaIgmpQuerierCount"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpQuerierTimeout")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alaIgmpQuerierGroup = alaIgmpQuerierGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing IGMP querier information.') alaIgmpStaticQuerierGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 8)).setObjects(("ALCATEL-IND1-IGMP-MIB", "alaIgmpStaticQuerierRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alaIgmpStaticQuerierGroup = alaIgmpStaticQuerierGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticQuerierGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing static IGMP querier information.') alaIgmpSourceGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 9)).setObjects(("ALCATEL-IND1-IGMP-MIB", "alaIgmpSourceIfIndex"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpSourceType")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alaIgmpSourceGroup = alaIgmpSourceGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing IP multicast source information.') alaIgmpForwardGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 10)).setObjects(("ALCATEL-IND1-IGMP-MIB", "alaIgmpForwardIfIndex"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpForwardType"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpForwardNextType")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alaIgmpForwardGroup = alaIgmpForwardGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing IP multicast forward information.') alaIgmpTunnelGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 11)).setObjects(("ALCATEL-IND1-IGMP-MIB", "alaIgmpTunnelIfIndex"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpTunnelType"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpTunnelNextType")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alaIgmpTunnelGroup = alaIgmpTunnelGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing IP multicast tunnel information.') alaIgmpPortGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 12)).setObjects(("ALCATEL-IND1-IGMP-MIB", "alaIgmpPortMaxGroupLimit"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpPortMaxGroupExceedAction")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alaIgmpPortGroup = alaIgmpPortGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortGroup.setDescription('A collection of objects to support IPv4 multicast switching configuration.') alaIgmpPortVlanGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 13)).setObjects(("ALCATEL-IND1-IGMP-MIB", "alaIgmpPortVlanCurrentGroupCount"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpPortVlanMaxGroupLimit"), ("ALCATEL-IND1-IGMP-MIB", "alaIgmpPortVlanMaxGroupExceedAction")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alaIgmpPortVlanGroup = alaIgmpPortVlanGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortVlanGroup.setDescription('An object to support IPv4 multicast switching group limit information for a port/vlan instance.') mibBuilder.exportSymbols("ALCATEL-IND1-IGMP-MIB", alaIgmpMember=alaIgmpMember, alaIgmpPortVlanMaxGroupLimit=alaIgmpPortVlanMaxGroupLimit, alaIgmpPortTable=alaIgmpPortTable, alaIgmpForward=alaIgmpForward, alaIgmpGroup=alaIgmpGroup, alaIgmpSourceOrigAddress=alaIgmpSourceOrigAddress, alaIgmpSourceIfIndex=alaIgmpSourceIfIndex, alaIgmpQuerierVlan=alaIgmpQuerierVlan, alaIgmpHelperAddressType=alaIgmpHelperAddressType, alaIgmpZeroBasedQuery=alaIgmpZeroBasedQuery, alaIgmpSourceTable=alaIgmpSourceTable, alaIgmpPortVlanCurrentGroupCount=alaIgmpPortVlanCurrentGroupCount, alaIgmp=alaIgmp, alaIgmpStaticMember=alaIgmpStaticMember, alaIgmpMemberGroupAddress=alaIgmpMemberGroupAddress, alaIgmpStaticMemberIfIndex=alaIgmpStaticMemberIfIndex, alaIgmpTunnelIfIndex=alaIgmpTunnelIfIndex, alaIgmpNeighborCount=alaIgmpNeighborCount, alaIgmpMemberMode=alaIgmpMemberMode, alaIgmpSourceHostAddress=alaIgmpSourceHostAddress, alaIgmpSourceGroup=alaIgmpSourceGroup, alaIgmpPortVlanEntry=alaIgmpPortVlanEntry, alaIgmpMemberVlan=alaIgmpMemberVlan, alaIgmpForwardNextType=alaIgmpForwardNextType, alaIgmpSourceEntry=alaIgmpSourceEntry, alaIgmpHelperAddress=alaIgmpHelperAddress, alaIgmpStaticMemberVlan=alaIgmpStaticMemberVlan, alcatelIND1IgmpMIBObjects=alcatelIND1IgmpMIBObjects, alaIgmpVlanLastMemberQueryInterval=alaIgmpVlanLastMemberQueryInterval, alaIgmpFloodUnknown=alaIgmpFloodUnknown, alcatelIND1IgmpMIBConformance=alcatelIND1IgmpMIBConformance, alaIgmpVlanVersion=alaIgmpVlanVersion, alaIgmpPortEntry=alaIgmpPortEntry, alaIgmpVlanZeroBasedQuery=alaIgmpVlanZeroBasedQuery, alaIgmpPortGroup=alaIgmpPortGroup, alaIgmpVlanMaxGroupExceedAction=alaIgmpVlanMaxGroupExceedAction, alaIgmpVlanZapping=alaIgmpVlanZapping, alaIgmpForwardDestAddress=alaIgmpForwardDestAddress, alaIgmpSource=alaIgmpSource, alaIgmpNeighborVlan=alaIgmpNeighborVlan, alaIgmpForwardGroupAddress=alaIgmpForwardGroupAddress, alaIgmpStaticQuerierEntry=alaIgmpStaticQuerierEntry, alaIgmpForwardHostAddress=alaIgmpForwardHostAddress, alaIgmpVersion=alaIgmpVersion, alaIgmpVlanStatus=alaIgmpVlanStatus, alaIgmpPort=alaIgmpPort, alaIgmpStaticQuerierGroup=alaIgmpStaticQuerierGroup, alaIgmpNeighborHostAddress=alaIgmpNeighborHostAddress, alaIgmpVlanGroup=alaIgmpVlanGroup, alaIgmpVlanUnsolicitedReportInterval=alaIgmpVlanUnsolicitedReportInterval, alaIgmpTunnelDestAddress=alaIgmpTunnelDestAddress, alaIgmpQueryInterval=alaIgmpQueryInterval, alaIgmpMaxGroupExceedAction=alaIgmpMaxGroupExceedAction, alaIgmpNeighborTimeout=alaIgmpNeighborTimeout, alaIgmpSourceDestAddress=alaIgmpSourceDestAddress, alaIgmpQuerierIfIndex=alaIgmpQuerierIfIndex, alaIgmpZapping=alaIgmpZapping, alaIgmpMemberTable=alaIgmpMemberTable, alaIgmpTunnelVlan=alaIgmpTunnelVlan, alaIgmpTunnelTable=alaIgmpTunnelTable, alaIgmpStaticNeighborGroup=alaIgmpStaticNeighborGroup, alaIgmpPortMaxGroupLimit=alaIgmpPortMaxGroupLimit, alaIgmpPortVlan=alaIgmpPortVlan, alaIgmpQuerierCount=alaIgmpQuerierCount, alaIgmpNeighborEntry=alaIgmpNeighborEntry, alaIgmpSourceTimeout=alaIgmpSourceTimeout, alcatelIND1IgmpMIBGroups=alcatelIND1IgmpMIBGroups, alaIgmpMemberIfIndex=alaIgmpMemberIfIndex, alaIgmpTunnelGroupAddress=alaIgmpTunnelGroupAddress, alaIgmpMemberEntry=alaIgmpMemberEntry, alaIgmpVlanIndex=alaIgmpVlanIndex, alaIgmpStaticMemberRowStatus=alaIgmpStaticMemberRowStatus, alaIgmpPortMaxGroupExceedAction=alaIgmpPortMaxGroupExceedAction, alaIgmpStaticNeighborVlan=alaIgmpStaticNeighborVlan, alaIgmpStaticQuerierRowStatus=alaIgmpStaticQuerierRowStatus, alaIgmpForwardNextIfIndex=alaIgmpForwardNextIfIndex, alaIgmpStaticNeighbor=alaIgmpStaticNeighbor, alaIgmpTunnelEntry=alaIgmpTunnelEntry, alaIgmpForwardIfIndex=alaIgmpForwardIfIndex, alaIgmpMaxGroupLimit=alaIgmpMaxGroupLimit, alaIgmpVlanId=alaIgmpVlanId, alaIgmpMemberGroup=alaIgmpMemberGroup, alaIgmpQuerierTimeout=alaIgmpQuerierTimeout, alaIgmpVlanRobustness=alaIgmpVlanRobustness, alaIgmpVlan=alaIgmpVlan, alaIgmpTunnelType=alaIgmpTunnelType, alaIgmpForwardEntry=alaIgmpForwardEntry, alaIgmpVlanSpoofing=alaIgmpVlanSpoofing, alaIgmpQuerierHostAddress=alaIgmpQuerierHostAddress, alaIgmpRouterTimeout=alaIgmpRouterTimeout, alaIgmpStaticMemberGroupAddress=alaIgmpStaticMemberGroupAddress, alaIgmpStaticQuerierVlan=alaIgmpStaticQuerierVlan, alaIgmpLastMemberQueryInterval=alaIgmpLastMemberQueryInterval, alaIgmpMemberSourceAddress=alaIgmpMemberSourceAddress, alaIgmpQuerierTable=alaIgmpQuerierTable, alaIgmpStaticMemberTable=alaIgmpStaticMemberTable, alaIgmpQuerierForwarding=alaIgmpQuerierForwarding, alaIgmpStaticNeighborEntry=alaIgmpStaticNeighborEntry, alaIgmpCompliance=alaIgmpCompliance, alaIgmpVlanQueryInterval=alaIgmpVlanQueryInterval, alaIgmpQuerying=alaIgmpQuerying, alaIgmpNeighbor=alaIgmpNeighbor, alaIgmpVlanProxying=alaIgmpVlanProxying, alaIgmpSourceVlan=alaIgmpSourceVlan, alaIgmpUnsolicitedReportInterval=alaIgmpUnsolicitedReportInterval, alaIgmpTunnel=alaIgmpTunnel, alaIgmpVlanSourceTimeout=alaIgmpVlanSourceTimeout, alaIgmpForwardNextVlan=alaIgmpForwardNextVlan, alaIgmpQuerier=alaIgmpQuerier, alaIgmpProxying=alaIgmpProxying, alaIgmpVlanQuerierForwarding=alaIgmpVlanQuerierForwarding, alaIgmpSpoofing=alaIgmpSpoofing, alaIgmpStaticQuerierTable=alaIgmpStaticQuerierTable, alcatelIND1IgmpMIB=alcatelIND1IgmpMIB, alaIgmpStaticNeighborRowStatus=alaIgmpStaticNeighborRowStatus, alaIgmpStatus=alaIgmpStatus, alaIgmpForwardType=alaIgmpForwardType, alaIgmpVlanTable=alaIgmpVlanTable, alaIgmpQueryResponseInterval=alaIgmpQueryResponseInterval, alaIgmpStaticNeighborIfIndex=alaIgmpStaticNeighborIfIndex, alaIgmpForwardGroup=alaIgmpForwardGroup, alaIgmpTunnelHostAddress=alaIgmpTunnelHostAddress, alaIgmpPortVlanTable=alaIgmpPortVlanTable, alaIgmpStaticMemberGroup=alaIgmpStaticMemberGroup, alaIgmpTunnelNextDestAddress=alaIgmpTunnelNextDestAddress, alcatelIND1IgmpMIBCompliances=alcatelIND1IgmpMIBCompliances, alaIgmpNeighborIfIndex=alaIgmpNeighborIfIndex, alaIgmpVlanQueryResponseInterval=alaIgmpVlanQueryResponseInterval, alaIgmpForwardTable=alaIgmpForwardTable, alaIgmpStaticQuerierIfIndex=alaIgmpStaticQuerierIfIndex, alaIgmpVlanMaxGroupLimit=alaIgmpVlanMaxGroupLimit, alaIgmpRobustness=alaIgmpRobustness, alaIgmpTunnelNextType=alaIgmpTunnelNextType, alaIgmpQuerierEntry=alaIgmpQuerierEntry, PYSNMP_MODULE_ID=alcatelIND1IgmpMIB, alaIgmpMemberTimeout=alaIgmpMemberTimeout, alaIgmpStaticQuerier=alaIgmpStaticQuerier, alaIgmpPortVlanMaxGroupExceedAction=alaIgmpPortVlanMaxGroupExceedAction, alaIgmpVlanQuerying=alaIgmpVlanQuerying, alaIgmpVlanRouterTimeout=alaIgmpVlanRouterTimeout, alaIgmpForwardOrigAddress=alaIgmpForwardOrigAddress, alaIgmpQuerierGroup=alaIgmpQuerierGroup, alaIgmpPortVlanGroup=alaIgmpPortVlanGroup, alaIgmpForwardVlan=alaIgmpForwardVlan, alaIgmpNeighborGroup=alaIgmpNeighborGroup, alaIgmpSourceType=alaIgmpSourceType, alaIgmpSourceGroupAddress=alaIgmpSourceGroupAddress, alaIgmpPortIfIndex=alaIgmpPortIfIndex, alaIgmpVlanEntry=alaIgmpVlanEntry, alaIgmpMemberCount=alaIgmpMemberCount, alaIgmpTunnelGroup=alaIgmpTunnelGroup, alaIgmpStaticMemberEntry=alaIgmpStaticMemberEntry, alaIgmpTunnelOrigAddress=alaIgmpTunnelOrigAddress, alaIgmpStaticNeighborTable=alaIgmpStaticNeighborTable, alaIgmpNeighborTable=alaIgmpNeighborTable)
(softent_ind1_igmp,) = mibBuilder.importSymbols('ALCATEL-IND1-BASE', 'softentIND1Igmp') (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_range_constraint, value_size_constraint, constraints_union, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection') (interface_index,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex') (inet_address_i_pv4, inet_address_type, inet_address) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressIPv4', 'InetAddressType', 'InetAddress') (notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance') (unsigned32, bits, mib_identifier, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, counter64, ip_address, counter32, iso, notification_type, integer32, module_identity, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'Unsigned32', 'Bits', 'MibIdentifier', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'Counter64', 'IpAddress', 'Counter32', 'iso', 'NotificationType', 'Integer32', 'ModuleIdentity', 'ObjectIdentity') (row_status, textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'TextualConvention', 'DisplayString') alcatel_ind1_igmp_mib = module_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1)) alcatelIND1IgmpMIB.setRevisions(('2011-02-23 00:00', '2009-03-31 00:00', '2008-09-10 00:00', '2008-08-08 00:00', '2007-04-03 00:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: alcatelIND1IgmpMIB.setRevisionsDescriptions(('Add zero-based query object', 'IGMP helper address changes', 'Add flood unknown object', 'The latest version of this MIB Module. Added maximum group limit objects.', 'The revised version of this MIB Module.')) if mibBuilder.loadTexts: alcatelIND1IgmpMIB.setLastUpdated('201102230000Z') if mibBuilder.loadTexts: alcatelIND1IgmpMIB.setOrganization('Alcatel-Lucent') if mibBuilder.loadTexts: alcatelIND1IgmpMIB.setContactInfo('Please consult with Customer Service to ensure the most appropriate version of this document is used with the products in question: Alcatel-Lucent, Enterprise Solutions Division (Formerly Alcatel Internetworking, Incorporated) 26801 West Agoura Road Agoura Hills, CA 91301-5122 United States Of America Telephone: North America +1 800 995 2696 Latin America +1 877 919 9526 Europe +31 23 556 0100 Asia +65 394 7933 All Other +1 818 878 4507 Electronic Mail: [email protected] World Wide Web: http://alcatel-lucent.com/wps/portal/enterprise File Transfer Protocol: ftp://ftp.ind.alcatel.com/pub/products/mibs') if mibBuilder.loadTexts: alcatelIND1IgmpMIB.setDescription('This module describes an authoritative enterprise-specific Simple Network Management Protocol (SNMP) Management Information Base (MIB): Proprietary IPv4 Multicast MIB definitions The right to make changes in specification and other information contained in this document without prior notice is reserved. No liability shall be assumed for any incidental, indirect, special, or consequential damages whatsoever arising from or related to this document or the information contained herein. Vendors, end-users, and other interested parties are granted non-exclusive license to use this specification in connection with management of the products for which it is intended to be used. Copyright (C) 1995-2007 Alcatel-Lucent ALL RIGHTS RESERVED WORLDWIDE') alcatel_ind1_igmp_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1)) ala_igmp = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1)) ala_igmp_status = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpStatus.setStatus('current') if mibBuilder.loadTexts: alaIgmpStatus.setDescription('Administratively enable IPv4 multicast switching and routing on the system.') ala_igmp_querying = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpQuerying.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerying.setDescription('Administratively enable IGMP Querying on the system.') ala_igmp_spoofing = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpSpoofing.setStatus('current') if mibBuilder.loadTexts: alaIgmpSpoofing.setDescription('Administratively enable IGMP Spoofing on the system.') ala_igmp_zapping = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpZapping.setStatus('current') if mibBuilder.loadTexts: alaIgmpZapping.setDescription('Administratively enable IGMP Zapping on the system.') ala_igmp_version = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 5), unsigned32().clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVersion.setStatus('current') if mibBuilder.loadTexts: alaIgmpVersion.setDescription('Set the default IGMP protocol Version running on the system.') ala_igmp_robustness = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 6), unsigned32().clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpRobustness.setStatus('current') if mibBuilder.loadTexts: alaIgmpRobustness.setDescription('Set the IGMP Robustness variable used on the system.') ala_igmp_query_interval = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 7), unsigned32().clone(125)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpQueryInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpQueryInterval.setDescription('Set the IGMP Query Interval used on the system.') ala_igmp_query_response_interval = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 8), unsigned32().clone(100)).setUnits('tenths of seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpQueryResponseInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpQueryResponseInterval.setDescription('Set the IGMP Query Response Interval on the system.') ala_igmp_last_member_query_interval = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 9), unsigned32().clone(10)).setUnits('tenths of seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpLastMemberQueryInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpLastMemberQueryInterval.setDescription('Set the IGMP Last Member Query Interval on the system.') ala_igmp_router_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 10), unsigned32().clone(90)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpRouterTimeout.setStatus('current') if mibBuilder.loadTexts: alaIgmpRouterTimeout.setDescription('The IGMP Router Timeout on the system.') ala_igmp_source_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 11), unsigned32().clone(30)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpSourceTimeout.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceTimeout.setDescription('The IGMP Source Timeout on the system.') ala_igmp_proxying = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpProxying.setStatus('current') if mibBuilder.loadTexts: alaIgmpProxying.setDescription('Administratively enable IGMP Proxying on the system.') ala_igmp_unsolicited_report_interval = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 13), unsigned32().clone(1)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpUnsolicitedReportInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpUnsolicitedReportInterval.setDescription('The IGMP Unsolicited Report Interval on the system.') ala_igmp_querier_forwarding = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpQuerierForwarding.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierForwarding.setDescription('Administratively enable IGMP Querier Forwarding on the system.') ala_igmp_max_group_limit = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 15), unsigned32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpMaxGroupLimit.setStatus('current') if mibBuilder.loadTexts: alaIgmpMaxGroupLimit.setDescription('The global limit on maximum number of IGMP Group memberships that can be learnt on each port/vlan instance.') ala_igmp_max_group_exceed_action = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('drop', 1), ('replace', 2))).clone('none')).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpMaxGroupExceedAction.setStatus('current') if mibBuilder.loadTexts: alaIgmpMaxGroupExceedAction.setDescription('The global configuration of action to be taken when IGMP group membership limit is exceeded on a port/vlan instance.') ala_igmp_flood_unknown = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpFloodUnknown.setStatus('current') if mibBuilder.loadTexts: alaIgmpFloodUnknown.setDescription('Administratively enable flooding of multicast data packets during flow learning and setup.') ala_igmp_helper_address_type = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 18), inet_address_type().subtype(subtypeSpec=value_range_constraint(1, 1))).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpHelperAddressType.setStatus('current') if mibBuilder.loadTexts: alaIgmpHelperAddressType.setDescription('Set the address type of the helper address. Must be ipv4(1) and set at the same time as alaIgmpHelperAddress.') ala_igmp_helper_address = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 19), inet_address().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpHelperAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpHelperAddress.setDescription('The configured IPv4 helper address. When an IGMP report or leave is received by the device it will remove the IP header and regenerate a new IP header with a destination IP address specified. Use 0.0.0.0 to no longer help an IGMP report to an remote address. Must be set at the same time as alaIgmpHelperAddressType') ala_igmp_zero_based_query = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpZeroBasedQuery.setStatus('current') if mibBuilder.loadTexts: alaIgmpZeroBasedQuery.setDescription('Administratively enable the use of an all-zero source IPv4 address for query packets when a non-querier is querying the membership of a port') ala_igmp_vlan = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2)) ala_igmp_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1)) if mibBuilder.loadTexts: alaIgmpVlanTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanTable.setDescription('The VLAN table contains the information on which IPv4 multicast switching and routing is configured.') ala_igmp_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanIndex')) if mibBuilder.loadTexts: alaIgmpVlanEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanEntry.setDescription('An entry corresponds to a VLAN on which IPv4 multicast switching and routing is configured.') ala_igmp_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 1), unsigned32()) if mibBuilder.loadTexts: alaIgmpVlanIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanIndex.setDescription('The VLAN on which IPv4 multicast switching and routing is configured.') ala_igmp_vlan_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanStatus.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanStatus.setDescription('Administratively enable IPv4 multicast switching and routing on the VLAN.') ala_igmp_vlan_querying = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanQuerying.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanQuerying.setDescription('Administratively enable IGMP Querying on the VLAN.') ala_igmp_vlan_spoofing = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanSpoofing.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanSpoofing.setDescription('Administratively enable IGMP Spoofing on the VLAN.') ala_igmp_vlan_zapping = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanZapping.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanZapping.setDescription('Administratively enable IGMP Zapping on the VLAN.') ala_igmp_vlan_version = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 6), unsigned32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanVersion.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanVersion.setDescription('Set the default IGMP protocol Version running on the VLAN.') ala_igmp_vlan_robustness = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 7), unsigned32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanRobustness.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanRobustness.setDescription('Set the IGMP Robustness variable used on the VLAN.') ala_igmp_vlan_query_interval = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 8), unsigned32()).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanQueryInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanQueryInterval.setDescription('Set the IGMP Query Interval used on the VLAN.') ala_igmp_vlan_query_response_interval = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 9), unsigned32()).setUnits('tenths of seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanQueryResponseInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanQueryResponseInterval.setDescription('Set the IGMP Query Response Interval on the VLAN.') ala_igmp_vlan_last_member_query_interval = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 10), unsigned32()).setUnits('tenths of seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanLastMemberQueryInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanLastMemberQueryInterval.setDescription('Set the IGMP Last Member Query Interval on the VLAN.') ala_igmp_vlan_router_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 11), unsigned32()).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanRouterTimeout.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanRouterTimeout.setDescription('Set the IGMP Router Timeout on the VLAN.') ala_igmp_vlan_source_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 12), unsigned32()).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanSourceTimeout.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanSourceTimeout.setDescription('Set the IGMP Source Timeout on the VLAN.') ala_igmp_vlan_proxying = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanProxying.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanProxying.setDescription('Administratively enable IGMP Proxying on the VLAN.') ala_igmp_vlan_unsolicited_report_interval = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 14), unsigned32()).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanUnsolicitedReportInterval.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanUnsolicitedReportInterval.setDescription('Set the IGMP Unsolicited Report Interval on the VLAN.') ala_igmp_vlan_querier_forwarding = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanQuerierForwarding.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanQuerierForwarding.setDescription('Administratively enable IGMP Querier Forwarding on the VLAN.') ala_igmp_vlan_max_group_limit = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 16), unsigned32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanMaxGroupLimit.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanMaxGroupLimit.setDescription('The maximum number of IGMP Group memberships that can be learnt on the VLAN.') ala_igmp_vlan_max_group_exceed_action = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('drop', 1), ('replace', 2))).clone('none')).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanMaxGroupExceedAction.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanMaxGroupExceedAction.setDescription('The action to be taken when the IGMP group membership limit is exceeded on the VLAN.') ala_igmp_vlan_zero_based_query = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 2, 1, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpVlanZeroBasedQuery.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanZeroBasedQuery.setDescription('Administratively enable the use of an all-zero source IPv4 address for query packets when a non-querier is querying the membership of a port on the VLAN') ala_igmp_member = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3)) ala_igmp_member_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1)) if mibBuilder.loadTexts: alaIgmpMemberTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberTable.setDescription('The table listing the IGMP group membership information.') ala_igmp_member_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpMemberVlan'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpMemberIfIndex'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpMemberGroupAddress'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpMemberSourceAddress')) if mibBuilder.loadTexts: alaIgmpMemberEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberEntry.setDescription('An entry corresponding to an IGMP group membership request.') ala_igmp_member_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1, 1), unsigned32()) if mibBuilder.loadTexts: alaIgmpMemberVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberVlan.setDescription("The group membership request's VLAN.") ala_igmp_member_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1, 2), interface_index()) if mibBuilder.loadTexts: alaIgmpMemberIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberIfIndex.setDescription("The group membership request's ifIndex.") ala_igmp_member_group_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1, 3), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpMemberGroupAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberGroupAddress.setDescription("The group membership request's IPv4 group address.") ala_igmp_member_source_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1, 4), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpMemberSourceAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberSourceAddress.setDescription("The group membership request's IPv4 source address.") ala_igmp_member_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('include', 1), ('exclude', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpMemberMode.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberMode.setDescription("The group membership request's IGMP source filter mode.") ala_igmp_member_count = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpMemberCount.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberCount.setDescription("The group membership request's counter.") ala_igmp_member_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 3, 1, 1, 7), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpMemberTimeout.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberTimeout.setDescription("The group membership request's timeout.") ala_igmp_static_member = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 4)) ala_igmp_static_member_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 4, 1)) if mibBuilder.loadTexts: alaIgmpStaticMemberTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticMemberTable.setDescription('The table listing the static IGMP group membership information.') ala_igmp_static_member_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 4, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpStaticMemberVlan'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpStaticMemberIfIndex'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpStaticMemberGroupAddress')) if mibBuilder.loadTexts: alaIgmpStaticMemberEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticMemberEntry.setDescription('An entry corresponding to a static IGMP group membership request.') ala_igmp_static_member_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 4, 1, 1, 1), unsigned32()) if mibBuilder.loadTexts: alaIgmpStaticMemberVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticMemberVlan.setDescription("The static group membership request's VLAN.") ala_igmp_static_member_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 4, 1, 1, 2), interface_index()) if mibBuilder.loadTexts: alaIgmpStaticMemberIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticMemberIfIndex.setDescription("The static group membership request's ifIndex.") ala_igmp_static_member_group_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 4, 1, 1, 3), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpStaticMemberGroupAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticMemberGroupAddress.setDescription("The static group membership request's IPv4 group address.") ala_igmp_static_member_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 4, 1, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIgmpStaticMemberRowStatus.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticMemberRowStatus.setDescription('Used in accordance with installation and removal conventions for conceptual rows.') ala_igmp_neighbor = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5)) ala_igmp_neighbor_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5, 1)) if mibBuilder.loadTexts: alaIgmpNeighborTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborTable.setDescription('The table listing the neighboring IP multicast routers.') ala_igmp_neighbor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpNeighborVlan'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpNeighborIfIndex'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpNeighborHostAddress')) if mibBuilder.loadTexts: alaIgmpNeighborEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborEntry.setDescription('An entry corresponding to an IP multicast router.') ala_igmp_neighbor_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5, 1, 1, 1), unsigned32()) if mibBuilder.loadTexts: alaIgmpNeighborVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborVlan.setDescription("The IP multicast router's VLAN.") ala_igmp_neighbor_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5, 1, 1, 2), interface_index()) if mibBuilder.loadTexts: alaIgmpNeighborIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborIfIndex.setDescription("The IP multicast router's ifIndex.") ala_igmp_neighbor_host_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5, 1, 1, 3), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpNeighborHostAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborHostAddress.setDescription("The IP multicast router's IPv4 host address.") ala_igmp_neighbor_count = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5, 1, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpNeighborCount.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborCount.setDescription("The IP multicast router's counter.") ala_igmp_neighbor_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 5, 1, 1, 5), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpNeighborTimeout.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborTimeout.setDescription("The IP multicast router's timeout.") ala_igmp_static_neighbor = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 6)) ala_igmp_static_neighbor_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 6, 1)) if mibBuilder.loadTexts: alaIgmpStaticNeighborTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticNeighborTable.setDescription('The table listing the static IP multicast routers.') ala_igmp_static_neighbor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 6, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpStaticNeighborVlan'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpStaticNeighborIfIndex')) if mibBuilder.loadTexts: alaIgmpStaticNeighborEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticNeighborEntry.setDescription('An entry corresponding to a static IP multicast router.') ala_igmp_static_neighbor_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 6, 1, 1, 1), unsigned32()) if mibBuilder.loadTexts: alaIgmpStaticNeighborVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticNeighborVlan.setDescription("The static IP multicast router's VLAN.") ala_igmp_static_neighbor_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 6, 1, 1, 2), interface_index()) if mibBuilder.loadTexts: alaIgmpStaticNeighborIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticNeighborIfIndex.setDescription("The static IP multicast router's ifIndex.") ala_igmp_static_neighbor_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 6, 1, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIgmpStaticNeighborRowStatus.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticNeighborRowStatus.setDescription('Used in accordance with installation and removal conventions for conceptual rows.') ala_igmp_querier = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7)) ala_igmp_querier_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7, 1)) if mibBuilder.loadTexts: alaIgmpQuerierTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierTable.setDescription('The table listing the neighboring IGMP queriers.') ala_igmp_querier_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpQuerierVlan'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpQuerierIfIndex'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpQuerierHostAddress')) if mibBuilder.loadTexts: alaIgmpQuerierEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierEntry.setDescription('An entry corresponding to an IGMP querier.') ala_igmp_querier_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7, 1, 1, 1), unsigned32()) if mibBuilder.loadTexts: alaIgmpQuerierVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierVlan.setDescription("The IGMP querier's VLAN.") ala_igmp_querier_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7, 1, 1, 2), interface_index()) if mibBuilder.loadTexts: alaIgmpQuerierIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierIfIndex.setDescription("The IGMP querier's ifIndex.") ala_igmp_querier_host_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7, 1, 1, 3), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpQuerierHostAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierHostAddress.setDescription("The IGMP querier's IPv4 host address.") ala_igmp_querier_count = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7, 1, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpQuerierCount.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierCount.setDescription("The IGMP querier's counter.") ala_igmp_querier_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 7, 1, 1, 5), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpQuerierTimeout.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierTimeout.setDescription("The IGMP querier's timeout.") ala_igmp_static_querier = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 8)) ala_igmp_static_querier_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 8, 1)) if mibBuilder.loadTexts: alaIgmpStaticQuerierTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticQuerierTable.setDescription('The table listing the static IGMP queriers.') ala_igmp_static_querier_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 8, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpStaticQuerierVlan'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpStaticQuerierIfIndex')) if mibBuilder.loadTexts: alaIgmpStaticQuerierEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticQuerierEntry.setDescription('An entry corresponding to a static IGMP querier.') ala_igmp_static_querier_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 8, 1, 1, 1), unsigned32()) if mibBuilder.loadTexts: alaIgmpStaticQuerierVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticQuerierVlan.setDescription("The static IGMP querier's VLAN.") ala_igmp_static_querier_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 8, 1, 1, 2), interface_index()) if mibBuilder.loadTexts: alaIgmpStaticQuerierIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticQuerierIfIndex.setDescription("The static IGMP querier's ifIndex.") ala_igmp_static_querier_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 8, 1, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: alaIgmpStaticQuerierRowStatus.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticQuerierRowStatus.setDescription('Used in accordance with installation and removal conventions for conceptual rows.') ala_igmp_source = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9)) ala_igmp_source_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1)) if mibBuilder.loadTexts: alaIgmpSourceTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceTable.setDescription('The table listing the IP multicast source information.') ala_igmp_source_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpSourceVlan'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpSourceGroupAddress'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpSourceHostAddress'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpSourceDestAddress'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpSourceOrigAddress')) if mibBuilder.loadTexts: alaIgmpSourceEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceEntry.setDescription('An entry corresponding to an IP multicast source flow.') ala_igmp_source_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1, 1), unsigned32()) if mibBuilder.loadTexts: alaIgmpSourceVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceVlan.setDescription("The IP multicast source flow's VLAN.") ala_igmp_source_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1, 2), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpSourceIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceIfIndex.setDescription("The IP multicast source flow's ifIndex.") ala_igmp_source_group_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1, 3), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpSourceGroupAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceGroupAddress.setDescription("The IP multicast source flow's IPv4 group address.") ala_igmp_source_host_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1, 4), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpSourceHostAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceHostAddress.setDescription("The IP multicast source flow's IPv4 host address.") ala_igmp_source_dest_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1, 5), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpSourceDestAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceDestAddress.setDescription("The IP multicast source flow's IPv4 tunnel destination address.") ala_igmp_source_orig_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1, 6), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpSourceOrigAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceOrigAddress.setDescription("The IP multicast source flow's IPv4 tunnel source address.") ala_igmp_source_type = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 9, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('mcast', 1), ('pim', 2), ('ipip', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpSourceType.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceType.setDescription("The IP multicast source flow's encapsulation type.") ala_igmp_forward = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10)) ala_igmp_forward_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1)) if mibBuilder.loadTexts: alaIgmpForwardTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardTable.setDescription('The table listing the IP multicast forward information.') ala_igmp_forward_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpForwardVlan'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpForwardGroupAddress'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpForwardHostAddress'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpForwardDestAddress'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpForwardOrigAddress'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpForwardNextVlan'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpForwardNextIfIndex')) if mibBuilder.loadTexts: alaIgmpForwardEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardEntry.setDescription('An entry corresponding to an IP multicast forwarded flow.') ala_igmp_forward_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 1), unsigned32()) if mibBuilder.loadTexts: alaIgmpForwardVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardVlan.setDescription("The IP multicast forwarded flow's VLAN.") ala_igmp_forward_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 2), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpForwardIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardIfIndex.setDescription("The IP multicast forwarded flow's ifIndex.") ala_igmp_forward_group_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 3), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpForwardGroupAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardGroupAddress.setDescription("The IP multicast forwarded flow's IPv4 group address.") ala_igmp_forward_host_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 4), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpForwardHostAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardHostAddress.setDescription("The IP multicast forwarded flow's IPv4 host address.") ala_igmp_forward_dest_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 5), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpForwardDestAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardDestAddress.setDescription("The IP multicast forwarded flow's IPv4 tunnel destination address.") ala_igmp_forward_orig_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 6), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpForwardOrigAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardOrigAddress.setDescription("The IP multicast forwarded flow's IPv4 tunnel source address.") ala_igmp_forward_type = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('mcast', 1), ('pim', 2), ('ipip', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpForwardType.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardType.setDescription("The IP multicast forwarded flow's encapsulation type.") ala_igmp_forward_next_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 8), unsigned32()) if mibBuilder.loadTexts: alaIgmpForwardNextVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardNextVlan.setDescription("The IP multicast forwarded flow's next VLAN.") ala_igmp_forward_next_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 9), interface_index()) if mibBuilder.loadTexts: alaIgmpForwardNextIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardNextIfIndex.setDescription("The IP multicast forwarded flow's next ifIndex.") ala_igmp_forward_next_type = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 10, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('mcast', 1), ('pim', 2), ('ipip', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpForwardNextType.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardNextType.setDescription("The IP multicast forwarded flow's next encapsulation type.") ala_igmp_tunnel = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11)) ala_igmp_tunnel_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1)) if mibBuilder.loadTexts: alaIgmpTunnelTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelTable.setDescription('The table listing the IP multicast tunnel information.') ala_igmp_tunnel_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpTunnelVlan'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpTunnelGroupAddress'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpTunnelHostAddress'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpTunnelDestAddress'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpTunnelOrigAddress'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpTunnelNextDestAddress')) if mibBuilder.loadTexts: alaIgmpTunnelEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelEntry.setDescription('An entry corresponding to an IP multicast tunneled flow.') ala_igmp_tunnel_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 1), unsigned32()) if mibBuilder.loadTexts: alaIgmpTunnelVlan.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelVlan.setDescription("The IP multicast tunneled flow's VLAN.") ala_igmp_tunnel_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 2), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpTunnelIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelIfIndex.setDescription("The IP multicast tunneled flow's ifIndex.") ala_igmp_tunnel_group_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 3), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpTunnelGroupAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelGroupAddress.setDescription("The IP multicast tunneled flow's IPv4 group address.") ala_igmp_tunnel_host_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 4), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpTunnelHostAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelHostAddress.setDescription("The IP multicast tunneled flow's IPv4 host address.") ala_igmp_tunnel_dest_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 5), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpTunnelDestAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelDestAddress.setDescription("The IP multicast tunneled flow's IPv4 tunnel destination address.") ala_igmp_tunnel_orig_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 6), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpTunnelOrigAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelOrigAddress.setDescription("The IP multicast tunneled flow's IPv4 tunnel source address.") ala_igmp_tunnel_type = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('mcast', 1), ('pim', 2), ('ipip', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpTunnelType.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelType.setDescription("The IP multicast tunneled flow's encapsulation type.") ala_igmp_tunnel_next_dest_address = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 8), inet_address_i_pv4()) if mibBuilder.loadTexts: alaIgmpTunnelNextDestAddress.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelNextDestAddress.setDescription("The IP multicast tunneled flow's next IPv4 tunnel destination address.") ala_igmp_tunnel_next_type = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 11, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('mcast', 1), ('pim', 2), ('ipip', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpTunnelNextType.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelNextType.setDescription("The IP multicast tunneled flow's next encapsulation type.") ala_igmp_port = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 12)) ala_igmp_port_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 12, 1)) if mibBuilder.loadTexts: alaIgmpPortTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortTable.setDescription('The table listing the IP multicast port information.') ala_igmp_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 12, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpPortIfIndex')) if mibBuilder.loadTexts: alaIgmpPortEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortEntry.setDescription('An entry corresponding to IP multicast port information.') ala_igmp_port_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 12, 1, 1, 1), interface_index()) if mibBuilder.loadTexts: alaIgmpPortIfIndex.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortIfIndex.setDescription("The IP multicast port's ifIndex.") ala_igmp_port_max_group_limit = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 12, 1, 1, 2), unsigned32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpPortMaxGroupLimit.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortMaxGroupLimit.setDescription('The maximum number of IGMP Group memberships that can be learnt on the port.') ala_igmp_port_max_group_exceed_action = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 12, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('drop', 1), ('replace', 2))).clone('none')).setMaxAccess('readwrite') if mibBuilder.loadTexts: alaIgmpPortMaxGroupExceedAction.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortMaxGroupExceedAction.setDescription('The action to be taken when IGMP group membership limit is exceeded for the port.') ala_igmp_port_vlan = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 13)) ala_igmp_port_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 13, 1)) if mibBuilder.loadTexts: alaIgmpPortVlanTable.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortVlanTable.setDescription('The table listing the IGMP group membership limit information for a port/vlan instance.') ala_igmp_port_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 13, 1, 1)).setIndexNames((0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpPortIfIndex'), (0, 'ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanId')) if mibBuilder.loadTexts: alaIgmpPortVlanEntry.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortVlanEntry.setDescription('An entry corresponding to IGMP group membership limit on a port/vlan.') ala_igmp_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 13, 1, 1, 1), unsigned32()) if mibBuilder.loadTexts: alaIgmpVlanId.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanId.setDescription('The IP multicast group membership VLAN.') ala_igmp_port_vlan_current_group_count = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 13, 1, 1, 2), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpPortVlanCurrentGroupCount.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortVlanCurrentGroupCount.setDescription('The current IP multicast group memberships on a port/vlan instance.') ala_igmp_port_vlan_max_group_limit = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 13, 1, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpPortVlanMaxGroupLimit.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortVlanMaxGroupLimit.setDescription('Maximum IGMP Group memberships on the port/vlan instance.') ala_igmp_port_vlan_max_group_exceed_action = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 1, 13, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('drop', 1), ('replace', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: alaIgmpPortVlanMaxGroupExceedAction.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortVlanMaxGroupExceedAction.setDescription('The action to be taken when IGMP group membership limit is exceeded for the port/vlan instance.') alcatel_ind1_igmp_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2)) alcatel_ind1_igmp_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 1)) ala_igmp_compliance = module_compliance((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 1, 1)).setObjects(('ALCATEL-IND1-IGMP-MIB', 'alaIgmpGroup'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanGroup'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpMemberGroup'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpStaticMemberGroup'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpNeighborGroup'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpStaticNeighborGroup'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpQuerierGroup'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpStaticQuerierGroup'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpSourceGroup'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpForwardGroup'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpTunnelGroup'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpPortGroup'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpPortVlanGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ala_igmp_compliance = alaIgmpCompliance.setStatus('current') if mibBuilder.loadTexts: alaIgmpCompliance.setDescription('The compliance statement for systems running IPv4 multicast switch and routing and implementing ALCATEL-IND1-IGMP-MIB.') alcatel_ind1_igmp_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2)) ala_igmp_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 1)).setObjects(('ALCATEL-IND1-IGMP-MIB', 'alaIgmpStatus'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpQuerying'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpSpoofing'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpZapping'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVersion'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpRobustness'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpQueryInterval'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpQueryResponseInterval'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpLastMemberQueryInterval'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpRouterTimeout'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpSourceTimeout'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpProxying'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpUnsolicitedReportInterval'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpQuerierForwarding'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpMaxGroupLimit'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpMaxGroupExceedAction'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpFloodUnknown'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpHelperAddressType'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpHelperAddress'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpZeroBasedQuery')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ala_igmp_group = alaIgmpGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpGroup.setDescription('A collection of objects to support management of IPv4 multicast switching and routing system configuration.') ala_igmp_vlan_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 2)).setObjects(('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanStatus'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanQuerying'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanSpoofing'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanZapping'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanVersion'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanRobustness'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanQueryInterval'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanQueryResponseInterval'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanLastMemberQueryInterval'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanRouterTimeout'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanSourceTimeout'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanProxying'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanUnsolicitedReportInterval'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanQuerierForwarding'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanMaxGroupLimit'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanMaxGroupExceedAction'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpVlanZeroBasedQuery')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ala_igmp_vlan_group = alaIgmpVlanGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpVlanGroup.setDescription('A collection of objects to support management of IPv4 multicast switching and routing vlan configuration.') ala_igmp_member_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 3)).setObjects(('ALCATEL-IND1-IGMP-MIB', 'alaIgmpMemberMode'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpMemberCount'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpMemberTimeout')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ala_igmp_member_group = alaIgmpMemberGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpMemberGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing group membership information.') ala_igmp_static_member_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 4)).setObjects(('ALCATEL-IND1-IGMP-MIB', 'alaIgmpStaticMemberRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ala_igmp_static_member_group = alaIgmpStaticMemberGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticMemberGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing static group membership information tables.') ala_igmp_neighbor_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 5)).setObjects(('ALCATEL-IND1-IGMP-MIB', 'alaIgmpNeighborCount'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpNeighborTimeout')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ala_igmp_neighbor_group = alaIgmpNeighborGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpNeighborGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing IP multicast router information.') ala_igmp_static_neighbor_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 6)).setObjects(('ALCATEL-IND1-IGMP-MIB', 'alaIgmpStaticNeighborRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ala_igmp_static_neighbor_group = alaIgmpStaticNeighborGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticNeighborGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing static IP multicast router information.') ala_igmp_querier_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 7)).setObjects(('ALCATEL-IND1-IGMP-MIB', 'alaIgmpQuerierCount'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpQuerierTimeout')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ala_igmp_querier_group = alaIgmpQuerierGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpQuerierGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing IGMP querier information.') ala_igmp_static_querier_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 8)).setObjects(('ALCATEL-IND1-IGMP-MIB', 'alaIgmpStaticQuerierRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ala_igmp_static_querier_group = alaIgmpStaticQuerierGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpStaticQuerierGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing static IGMP querier information.') ala_igmp_source_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 9)).setObjects(('ALCATEL-IND1-IGMP-MIB', 'alaIgmpSourceIfIndex'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpSourceType')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ala_igmp_source_group = alaIgmpSourceGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpSourceGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing IP multicast source information.') ala_igmp_forward_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 10)).setObjects(('ALCATEL-IND1-IGMP-MIB', 'alaIgmpForwardIfIndex'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpForwardType'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpForwardNextType')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ala_igmp_forward_group = alaIgmpForwardGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpForwardGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing IP multicast forward information.') ala_igmp_tunnel_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 11)).setObjects(('ALCATEL-IND1-IGMP-MIB', 'alaIgmpTunnelIfIndex'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpTunnelType'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpTunnelNextType')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ala_igmp_tunnel_group = alaIgmpTunnelGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpTunnelGroup.setDescription('A collection of objects to support IPv4 multicast switching and routing IP multicast tunnel information.') ala_igmp_port_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 12)).setObjects(('ALCATEL-IND1-IGMP-MIB', 'alaIgmpPortMaxGroupLimit'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpPortMaxGroupExceedAction')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ala_igmp_port_group = alaIgmpPortGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortGroup.setDescription('A collection of objects to support IPv4 multicast switching configuration.') ala_igmp_port_vlan_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 34, 1, 2, 2, 13)).setObjects(('ALCATEL-IND1-IGMP-MIB', 'alaIgmpPortVlanCurrentGroupCount'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpPortVlanMaxGroupLimit'), ('ALCATEL-IND1-IGMP-MIB', 'alaIgmpPortVlanMaxGroupExceedAction')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ala_igmp_port_vlan_group = alaIgmpPortVlanGroup.setStatus('current') if mibBuilder.loadTexts: alaIgmpPortVlanGroup.setDescription('An object to support IPv4 multicast switching group limit information for a port/vlan instance.') mibBuilder.exportSymbols('ALCATEL-IND1-IGMP-MIB', alaIgmpMember=alaIgmpMember, alaIgmpPortVlanMaxGroupLimit=alaIgmpPortVlanMaxGroupLimit, alaIgmpPortTable=alaIgmpPortTable, alaIgmpForward=alaIgmpForward, alaIgmpGroup=alaIgmpGroup, alaIgmpSourceOrigAddress=alaIgmpSourceOrigAddress, alaIgmpSourceIfIndex=alaIgmpSourceIfIndex, alaIgmpQuerierVlan=alaIgmpQuerierVlan, alaIgmpHelperAddressType=alaIgmpHelperAddressType, alaIgmpZeroBasedQuery=alaIgmpZeroBasedQuery, alaIgmpSourceTable=alaIgmpSourceTable, alaIgmpPortVlanCurrentGroupCount=alaIgmpPortVlanCurrentGroupCount, alaIgmp=alaIgmp, alaIgmpStaticMember=alaIgmpStaticMember, alaIgmpMemberGroupAddress=alaIgmpMemberGroupAddress, alaIgmpStaticMemberIfIndex=alaIgmpStaticMemberIfIndex, alaIgmpTunnelIfIndex=alaIgmpTunnelIfIndex, alaIgmpNeighborCount=alaIgmpNeighborCount, alaIgmpMemberMode=alaIgmpMemberMode, alaIgmpSourceHostAddress=alaIgmpSourceHostAddress, alaIgmpSourceGroup=alaIgmpSourceGroup, alaIgmpPortVlanEntry=alaIgmpPortVlanEntry, alaIgmpMemberVlan=alaIgmpMemberVlan, alaIgmpForwardNextType=alaIgmpForwardNextType, alaIgmpSourceEntry=alaIgmpSourceEntry, alaIgmpHelperAddress=alaIgmpHelperAddress, alaIgmpStaticMemberVlan=alaIgmpStaticMemberVlan, alcatelIND1IgmpMIBObjects=alcatelIND1IgmpMIBObjects, alaIgmpVlanLastMemberQueryInterval=alaIgmpVlanLastMemberQueryInterval, alaIgmpFloodUnknown=alaIgmpFloodUnknown, alcatelIND1IgmpMIBConformance=alcatelIND1IgmpMIBConformance, alaIgmpVlanVersion=alaIgmpVlanVersion, alaIgmpPortEntry=alaIgmpPortEntry, alaIgmpVlanZeroBasedQuery=alaIgmpVlanZeroBasedQuery, alaIgmpPortGroup=alaIgmpPortGroup, alaIgmpVlanMaxGroupExceedAction=alaIgmpVlanMaxGroupExceedAction, alaIgmpVlanZapping=alaIgmpVlanZapping, alaIgmpForwardDestAddress=alaIgmpForwardDestAddress, alaIgmpSource=alaIgmpSource, alaIgmpNeighborVlan=alaIgmpNeighborVlan, alaIgmpForwardGroupAddress=alaIgmpForwardGroupAddress, alaIgmpStaticQuerierEntry=alaIgmpStaticQuerierEntry, alaIgmpForwardHostAddress=alaIgmpForwardHostAddress, alaIgmpVersion=alaIgmpVersion, alaIgmpVlanStatus=alaIgmpVlanStatus, alaIgmpPort=alaIgmpPort, alaIgmpStaticQuerierGroup=alaIgmpStaticQuerierGroup, alaIgmpNeighborHostAddress=alaIgmpNeighborHostAddress, alaIgmpVlanGroup=alaIgmpVlanGroup, alaIgmpVlanUnsolicitedReportInterval=alaIgmpVlanUnsolicitedReportInterval, alaIgmpTunnelDestAddress=alaIgmpTunnelDestAddress, alaIgmpQueryInterval=alaIgmpQueryInterval, alaIgmpMaxGroupExceedAction=alaIgmpMaxGroupExceedAction, alaIgmpNeighborTimeout=alaIgmpNeighborTimeout, alaIgmpSourceDestAddress=alaIgmpSourceDestAddress, alaIgmpQuerierIfIndex=alaIgmpQuerierIfIndex, alaIgmpZapping=alaIgmpZapping, alaIgmpMemberTable=alaIgmpMemberTable, alaIgmpTunnelVlan=alaIgmpTunnelVlan, alaIgmpTunnelTable=alaIgmpTunnelTable, alaIgmpStaticNeighborGroup=alaIgmpStaticNeighborGroup, alaIgmpPortMaxGroupLimit=alaIgmpPortMaxGroupLimit, alaIgmpPortVlan=alaIgmpPortVlan, alaIgmpQuerierCount=alaIgmpQuerierCount, alaIgmpNeighborEntry=alaIgmpNeighborEntry, alaIgmpSourceTimeout=alaIgmpSourceTimeout, alcatelIND1IgmpMIBGroups=alcatelIND1IgmpMIBGroups, alaIgmpMemberIfIndex=alaIgmpMemberIfIndex, alaIgmpTunnelGroupAddress=alaIgmpTunnelGroupAddress, alaIgmpMemberEntry=alaIgmpMemberEntry, alaIgmpVlanIndex=alaIgmpVlanIndex, alaIgmpStaticMemberRowStatus=alaIgmpStaticMemberRowStatus, alaIgmpPortMaxGroupExceedAction=alaIgmpPortMaxGroupExceedAction, alaIgmpStaticNeighborVlan=alaIgmpStaticNeighborVlan, alaIgmpStaticQuerierRowStatus=alaIgmpStaticQuerierRowStatus, alaIgmpForwardNextIfIndex=alaIgmpForwardNextIfIndex, alaIgmpStaticNeighbor=alaIgmpStaticNeighbor, alaIgmpTunnelEntry=alaIgmpTunnelEntry, alaIgmpForwardIfIndex=alaIgmpForwardIfIndex, alaIgmpMaxGroupLimit=alaIgmpMaxGroupLimit, alaIgmpVlanId=alaIgmpVlanId, alaIgmpMemberGroup=alaIgmpMemberGroup, alaIgmpQuerierTimeout=alaIgmpQuerierTimeout, alaIgmpVlanRobustness=alaIgmpVlanRobustness, alaIgmpVlan=alaIgmpVlan, alaIgmpTunnelType=alaIgmpTunnelType, alaIgmpForwardEntry=alaIgmpForwardEntry, alaIgmpVlanSpoofing=alaIgmpVlanSpoofing, alaIgmpQuerierHostAddress=alaIgmpQuerierHostAddress, alaIgmpRouterTimeout=alaIgmpRouterTimeout, alaIgmpStaticMemberGroupAddress=alaIgmpStaticMemberGroupAddress, alaIgmpStaticQuerierVlan=alaIgmpStaticQuerierVlan, alaIgmpLastMemberQueryInterval=alaIgmpLastMemberQueryInterval, alaIgmpMemberSourceAddress=alaIgmpMemberSourceAddress, alaIgmpQuerierTable=alaIgmpQuerierTable, alaIgmpStaticMemberTable=alaIgmpStaticMemberTable, alaIgmpQuerierForwarding=alaIgmpQuerierForwarding, alaIgmpStaticNeighborEntry=alaIgmpStaticNeighborEntry, alaIgmpCompliance=alaIgmpCompliance, alaIgmpVlanQueryInterval=alaIgmpVlanQueryInterval, alaIgmpQuerying=alaIgmpQuerying, alaIgmpNeighbor=alaIgmpNeighbor, alaIgmpVlanProxying=alaIgmpVlanProxying, alaIgmpSourceVlan=alaIgmpSourceVlan, alaIgmpUnsolicitedReportInterval=alaIgmpUnsolicitedReportInterval, alaIgmpTunnel=alaIgmpTunnel, alaIgmpVlanSourceTimeout=alaIgmpVlanSourceTimeout, alaIgmpForwardNextVlan=alaIgmpForwardNextVlan, alaIgmpQuerier=alaIgmpQuerier, alaIgmpProxying=alaIgmpProxying, alaIgmpVlanQuerierForwarding=alaIgmpVlanQuerierForwarding, alaIgmpSpoofing=alaIgmpSpoofing, alaIgmpStaticQuerierTable=alaIgmpStaticQuerierTable, alcatelIND1IgmpMIB=alcatelIND1IgmpMIB, alaIgmpStaticNeighborRowStatus=alaIgmpStaticNeighborRowStatus, alaIgmpStatus=alaIgmpStatus, alaIgmpForwardType=alaIgmpForwardType, alaIgmpVlanTable=alaIgmpVlanTable, alaIgmpQueryResponseInterval=alaIgmpQueryResponseInterval, alaIgmpStaticNeighborIfIndex=alaIgmpStaticNeighborIfIndex, alaIgmpForwardGroup=alaIgmpForwardGroup, alaIgmpTunnelHostAddress=alaIgmpTunnelHostAddress, alaIgmpPortVlanTable=alaIgmpPortVlanTable, alaIgmpStaticMemberGroup=alaIgmpStaticMemberGroup, alaIgmpTunnelNextDestAddress=alaIgmpTunnelNextDestAddress, alcatelIND1IgmpMIBCompliances=alcatelIND1IgmpMIBCompliances, alaIgmpNeighborIfIndex=alaIgmpNeighborIfIndex, alaIgmpVlanQueryResponseInterval=alaIgmpVlanQueryResponseInterval, alaIgmpForwardTable=alaIgmpForwardTable, alaIgmpStaticQuerierIfIndex=alaIgmpStaticQuerierIfIndex, alaIgmpVlanMaxGroupLimit=alaIgmpVlanMaxGroupLimit, alaIgmpRobustness=alaIgmpRobustness, alaIgmpTunnelNextType=alaIgmpTunnelNextType, alaIgmpQuerierEntry=alaIgmpQuerierEntry, PYSNMP_MODULE_ID=alcatelIND1IgmpMIB, alaIgmpMemberTimeout=alaIgmpMemberTimeout, alaIgmpStaticQuerier=alaIgmpStaticQuerier, alaIgmpPortVlanMaxGroupExceedAction=alaIgmpPortVlanMaxGroupExceedAction, alaIgmpVlanQuerying=alaIgmpVlanQuerying, alaIgmpVlanRouterTimeout=alaIgmpVlanRouterTimeout, alaIgmpForwardOrigAddress=alaIgmpForwardOrigAddress, alaIgmpQuerierGroup=alaIgmpQuerierGroup, alaIgmpPortVlanGroup=alaIgmpPortVlanGroup, alaIgmpForwardVlan=alaIgmpForwardVlan, alaIgmpNeighborGroup=alaIgmpNeighborGroup, alaIgmpSourceType=alaIgmpSourceType, alaIgmpSourceGroupAddress=alaIgmpSourceGroupAddress, alaIgmpPortIfIndex=alaIgmpPortIfIndex, alaIgmpVlanEntry=alaIgmpVlanEntry, alaIgmpMemberCount=alaIgmpMemberCount, alaIgmpTunnelGroup=alaIgmpTunnelGroup, alaIgmpStaticMemberEntry=alaIgmpStaticMemberEntry, alaIgmpTunnelOrigAddress=alaIgmpTunnelOrigAddress, alaIgmpStaticNeighborTable=alaIgmpStaticNeighborTable, alaIgmpNeighborTable=alaIgmpNeighborTable)
def vector_bits2int(arr): n = arr.shape[0] # number of columns a = arr[0] << n - 1 for j in range(1, n): # "overlay" with the shifted bits of the next column a |= arr[j] << n - 1 - j return a
def vector_bits2int(arr): n = arr.shape[0] a = arr[0] << n - 1 for j in range(1, n): a |= arr[j] << n - 1 - j return a
#! /usr/bin/env python3 def func1(): x = set([1,2,3,4]) y = set([3,4,5,6,7]) z = frozenset([4,5]) print(x) print(y) x.add(5) x.remove(3) print(x) print("x|y=", x | y) # x U y print("x.union(y)=", x.union(y)) print("x&y=", x & y) # x ~U y print("x.intersection(y)=", x.intersection(y)) print("x-y=", x - y) # x - (x ~U y) print("x.difference(y)=", x.difference(y)) print("x.symmetric_difference(y)=", x.symmetric_difference(y)) def func2(): x = frozenset([1,2,3,4]) y = frozenset([1,2]) print(x) print(y) print("x.issubset(y)=", x.issubset(y)) print("x.issuperset(y)=", x.issuperset(y)) def func3(): x = set([1,2,3]) y = set([5,6,7]) print(x) x.update(y) print(x) if __name__=="__main__": print("\nfunc1()") func1() print("\nfunc2()") func2() print("\nfunc3()") func3()
def func1(): x = set([1, 2, 3, 4]) y = set([3, 4, 5, 6, 7]) z = frozenset([4, 5]) print(x) print(y) x.add(5) x.remove(3) print(x) print('x|y=', x | y) print('x.union(y)=', x.union(y)) print('x&y=', x & y) print('x.intersection(y)=', x.intersection(y)) print('x-y=', x - y) print('x.difference(y)=', x.difference(y)) print('x.symmetric_difference(y)=', x.symmetric_difference(y)) def func2(): x = frozenset([1, 2, 3, 4]) y = frozenset([1, 2]) print(x) print(y) print('x.issubset(y)=', x.issubset(y)) print('x.issuperset(y)=', x.issuperset(y)) def func3(): x = set([1, 2, 3]) y = set([5, 6, 7]) print(x) x.update(y) print(x) if __name__ == '__main__': print('\nfunc1()') func1() print('\nfunc2()') func2() print('\nfunc3()') func3()
size = 21 array = [[0 for i in range(size)] for j in range(size)] for i in range(size): array[0][i] = 1 array[i][0] = 1 for i in range(1,size): for j in range(1,size): array[i][j] = array[i-1][j] + array[i][j-1] print(array[size-1][size-1])
size = 21 array = [[0 for i in range(size)] for j in range(size)] for i in range(size): array[0][i] = 1 array[i][0] = 1 for i in range(1, size): for j in range(1, size): array[i][j] = array[i - 1][j] + array[i][j - 1] print(array[size - 1][size - 1])
def peak(arr, low, high): n = len(arr) while low <= high: mid = low + (high - low) / 2 mid = int(mid) if (mid == 0 or arr[mid-1] <= arr[mid]) and (mid == n-1 or arr[mid+1] <= arr[mid]): return(arr[mid]) elif mid > 0 and arr[mid-1] > arr[mid]: high = mid - 1 else: low = mid + 1 arr = [1, 3, 20, 4, 1, 0] print(peak(arr, 0, len(arr) - 1))
def peak(arr, low, high): n = len(arr) while low <= high: mid = low + (high - low) / 2 mid = int(mid) if (mid == 0 or arr[mid - 1] <= arr[mid]) and (mid == n - 1 or arr[mid + 1] <= arr[mid]): return arr[mid] elif mid > 0 and arr[mid - 1] > arr[mid]: high = mid - 1 else: low = mid + 1 arr = [1, 3, 20, 4, 1, 0] print(peak(arr, 0, len(arr) - 1))
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. def main(client, routine_id): # [START bigquery_update_routine] # TODO(developer): Import the client library. # from google.cloud import bigquery # TODO(developer): Construct a BigQuery client object. # client = bigquery.Client() # TODO(developer): Set the fully-qualified ID for the routine. # routine_id = "my-project.my_dataset.my_routine" routine = client.get_routine(routine_id) routine.body = "x * 4" routine = client.update_routine( routine, [ "body", # Due to a limitation of the API, all fields are required, not just # those that have been updated. "arguments", "language", "type_", "return_type", ], ) # [END bigquery_update_routine] return routine
def main(client, routine_id): routine = client.get_routine(routine_id) routine.body = 'x * 4' routine = client.update_routine(routine, ['body', 'arguments', 'language', 'type_', 'return_type']) return routine
def vsota(mat1, mat2): vsota = [] for i in range(len(mat1)): nova_vrsta = [] for j in range(len(mat1[0])): nova_vrsta.append((mat1[i][j] + mat2[i][j])) vsota.append(nova_vrsta) return vsota def razlika(mat1, mat2): razlika = [] for i in range(len(mat1)): nova_vrsta = [] for j in range(len(mat1[0])): nova_vrsta.append((mat1[i][j] - mat2[i][j])) razlika.append(nova_vrsta) return razlika def mnozi_s_skalarjem(mat, skal): for i in range(len(mat)): for j in range(len(mat[0])): mat[i][j] = skal * mat[i][j] return mat def zmnozek(mat1, mat2): zmnozek = [] for i in range(len(mat1)): nova_vrsta = [] for j in range(len(mat2[0])): element = 0 for k in range(len(mat2)): element += (mat1[i][k] * mat2[k][j]) nova_vrsta.append(element) zmnozek.append(nova_vrsta) return zmnozek def potenca(mat, stopnja): potencirana_mat = mat s = 1 while s < stopnja: potencirana_mat = zmnozek(potencirana_mat, mat) s += 1 return potencirana_mat def sled(mat): sled = 0 for i in range(len(mat)): sled += mat[i][i] return sled def transponiraj(mat): transponiranka = [[0 for i in range(len(mat[0]))] for j in range(len(mat))] for j in range(len(mat)): for k in range(len(mat[0])): transponiranka[k][j] = mat[j][k] return transponiranka #vrne matriko brez a-te vrstica in b-tega stolpca def podmatrika(mat, a, b): return [vrstica[:b - 1] + vrstica[b:] for vrstica in (mat[: a - 1] + mat[a:])] def determinanta(mat): if len(mat) == 1: return mat[0][0] elif len(mat) == 2: return mat[0][0] * mat[1][1] - mat[0][1] * mat[1][0] else: #razvoj po 1. vrstici det = 0 for i in range(len(mat)): det += ((-1) ** i) * mat[0][i] * determinanta(podmatrika(mat, 1, i + 1)) return det def zamenjaj_vrstici(mat, a, b): nova_a = mat[b - 1] mat[b - 1] = mat[a - 1] mat[a - 1] = nova_a return mat def uredi_v_zgornjetrikotno(mat): nova_mat = [] for j in range(len(mat[0])): for i in range(len(mat)): if mat[i][j] != 0: nova_mat += [mat[i]] mat = [x for x in mat if x not in nova_mat] return nova_mat + mat def Gaussova_eliminacija(mat): n = min(len(mat), len(mat[0])) for j in range(n): if mat[j][j] != 0: for i in range(j + 1, len(mat)): mat[i] = razlika([mat[i]], mnozi_s_skalarjem([mat[j]], mat[i][j] / mat[j][j]))[0] return uredi_v_zgornjetrikotno(mat) def rang(mat): gauss = Gaussova_eliminacija(mat) rang = 0 nicelna = [0 for i in range(len(mat[0]))] for i in range(len(mat)): if gauss[i] != nicelna: rang += 1 return rang
def vsota(mat1, mat2): vsota = [] for i in range(len(mat1)): nova_vrsta = [] for j in range(len(mat1[0])): nova_vrsta.append(mat1[i][j] + mat2[i][j]) vsota.append(nova_vrsta) return vsota def razlika(mat1, mat2): razlika = [] for i in range(len(mat1)): nova_vrsta = [] for j in range(len(mat1[0])): nova_vrsta.append(mat1[i][j] - mat2[i][j]) razlika.append(nova_vrsta) return razlika def mnozi_s_skalarjem(mat, skal): for i in range(len(mat)): for j in range(len(mat[0])): mat[i][j] = skal * mat[i][j] return mat def zmnozek(mat1, mat2): zmnozek = [] for i in range(len(mat1)): nova_vrsta = [] for j in range(len(mat2[0])): element = 0 for k in range(len(mat2)): element += mat1[i][k] * mat2[k][j] nova_vrsta.append(element) zmnozek.append(nova_vrsta) return zmnozek def potenca(mat, stopnja): potencirana_mat = mat s = 1 while s < stopnja: potencirana_mat = zmnozek(potencirana_mat, mat) s += 1 return potencirana_mat def sled(mat): sled = 0 for i in range(len(mat)): sled += mat[i][i] return sled def transponiraj(mat): transponiranka = [[0 for i in range(len(mat[0]))] for j in range(len(mat))] for j in range(len(mat)): for k in range(len(mat[0])): transponiranka[k][j] = mat[j][k] return transponiranka def podmatrika(mat, a, b): return [vrstica[:b - 1] + vrstica[b:] for vrstica in mat[:a - 1] + mat[a:]] def determinanta(mat): if len(mat) == 1: return mat[0][0] elif len(mat) == 2: return mat[0][0] * mat[1][1] - mat[0][1] * mat[1][0] else: det = 0 for i in range(len(mat)): det += (-1) ** i * mat[0][i] * determinanta(podmatrika(mat, 1, i + 1)) return det def zamenjaj_vrstici(mat, a, b): nova_a = mat[b - 1] mat[b - 1] = mat[a - 1] mat[a - 1] = nova_a return mat def uredi_v_zgornjetrikotno(mat): nova_mat = [] for j in range(len(mat[0])): for i in range(len(mat)): if mat[i][j] != 0: nova_mat += [mat[i]] mat = [x for x in mat if x not in nova_mat] return nova_mat + mat def gaussova_eliminacija(mat): n = min(len(mat), len(mat[0])) for j in range(n): if mat[j][j] != 0: for i in range(j + 1, len(mat)): mat[i] = razlika([mat[i]], mnozi_s_skalarjem([mat[j]], mat[i][j] / mat[j][j]))[0] return uredi_v_zgornjetrikotno(mat) def rang(mat): gauss = gaussova_eliminacija(mat) rang = 0 nicelna = [0 for i in range(len(mat[0]))] for i in range(len(mat)): if gauss[i] != nicelna: rang += 1 return rang
# Testing configurations config = {} training_opt = {} training_opt['dataset'] = 'iNaturalist18' training_opt['log_dir'] = './logs/iNaturalist18' training_opt['num_classes'] = 8142 training_opt['batch_size'] = 64 training_opt['num_workers'] = 8 training_opt['num_epochs'] = 90 training_opt['display_step'] = 10 training_opt['feature_dim'] = 2048 training_opt['open_threshold'] = 0.1 training_opt['sampler'] = None#{'def_file': './data/ClassAwareSampler.py', 'num_samples_cls': 4, 'type': 'ClassAwareSampler'} training_opt['scheduler_params'] = {'step_size':int(training_opt['num_epochs']/3), 'gamma': 0.1} # every 10 epochs decrease lr by 0.1 config['training_opt'] = training_opt networks = {} feature_param = {'use_modulatedatt': False, 'use_fc': False, 'dropout': None, 'stage1_weights': False, 'dataset': training_opt['dataset']} feature_optim_param = {'lr': 0.05, 'momentum': 0.9, 'weight_decay': 0.0005} networks['feat_model'] = {'def_file': './models/ResNet50Feature.py', 'params': feature_param, 'optim_params': feature_optim_param, 'fix': False} classifier_param = {'in_dim': training_opt['feature_dim'], 'num_classes': training_opt['num_classes'], 'stage1_weights': False, 'dataset': training_opt['dataset']} classifier_optim_param = {'lr': 0.05, 'momentum': 0.9, 'weight_decay': 0.0005} networks['classifier'] = {'def_file': './models/DotProductClassifier.py', 'params': classifier_param, 'optim_params': classifier_optim_param} config['networks'] = networks criterions = {} perf_loss_param = {} criterions['PerformanceLoss'] = {'def_file': './loss/SoftmaxLoss.py', 'loss_params': perf_loss_param, 'optim_params': None, 'weight': 1.0} config['criterions'] = criterions memory = {} memory['centroids'] = False memory['init_centroids'] = False config['memory'] = memory
config = {} training_opt = {} training_opt['dataset'] = 'iNaturalist18' training_opt['log_dir'] = './logs/iNaturalist18' training_opt['num_classes'] = 8142 training_opt['batch_size'] = 64 training_opt['num_workers'] = 8 training_opt['num_epochs'] = 90 training_opt['display_step'] = 10 training_opt['feature_dim'] = 2048 training_opt['open_threshold'] = 0.1 training_opt['sampler'] = None training_opt['scheduler_params'] = {'step_size': int(training_opt['num_epochs'] / 3), 'gamma': 0.1} config['training_opt'] = training_opt networks = {} feature_param = {'use_modulatedatt': False, 'use_fc': False, 'dropout': None, 'stage1_weights': False, 'dataset': training_opt['dataset']} feature_optim_param = {'lr': 0.05, 'momentum': 0.9, 'weight_decay': 0.0005} networks['feat_model'] = {'def_file': './models/ResNet50Feature.py', 'params': feature_param, 'optim_params': feature_optim_param, 'fix': False} classifier_param = {'in_dim': training_opt['feature_dim'], 'num_classes': training_opt['num_classes'], 'stage1_weights': False, 'dataset': training_opt['dataset']} classifier_optim_param = {'lr': 0.05, 'momentum': 0.9, 'weight_decay': 0.0005} networks['classifier'] = {'def_file': './models/DotProductClassifier.py', 'params': classifier_param, 'optim_params': classifier_optim_param} config['networks'] = networks criterions = {} perf_loss_param = {} criterions['PerformanceLoss'] = {'def_file': './loss/SoftmaxLoss.py', 'loss_params': perf_loss_param, 'optim_params': None, 'weight': 1.0} config['criterions'] = criterions memory = {} memory['centroids'] = False memory['init_centroids'] = False config['memory'] = memory
TESTING = True POSTGRESQL_DATABASE_URI = "" URLS = 'app.urls'
testing = True postgresql_database_uri = '' urls = 'app.urls'
text = input() cipher = [] for char in text: new_char = chr(ord(char) + 3) cipher.append(new_char) print(''.join(cipher))
text = input() cipher = [] for char in text: new_char = chr(ord(char) + 3) cipher.append(new_char) print(''.join(cipher))
a, b, c = map(int, input().split()) if c - b <= 0: result = -1 else: result = a // (c - b) result += 1 print(result)
(a, b, c) = map(int, input().split()) if c - b <= 0: result = -1 else: result = a // (c - b) result += 1 print(result)
def checkPassword(data): return (data["password"][data["pos1"] - 1] == data["char"]) != (data["password"][data["pos2"] -1 ] == data["char"]) passwords = [] with open("./2/input.txt") as inputFile: for line in inputFile: tokens = line.split(" ") minMax = tokens[0].split("-") data = { "pos1": int(minMax[0]), "pos2": int(minMax[1]), "char": tokens[1][:-1], "password": tokens[2][:-1] } passwords.append(data) countOfValidPasswords = 0 for password in passwords: if checkPassword(password): countOfValidPasswords += 1 print("{} passwords are valid of {} total passwords".format(countOfValidPasswords, len(passwords)))
def check_password(data): return (data['password'][data['pos1'] - 1] == data['char']) != (data['password'][data['pos2'] - 1] == data['char']) passwords = [] with open('./2/input.txt') as input_file: for line in inputFile: tokens = line.split(' ') min_max = tokens[0].split('-') data = {'pos1': int(minMax[0]), 'pos2': int(minMax[1]), 'char': tokens[1][:-1], 'password': tokens[2][:-1]} passwords.append(data) count_of_valid_passwords = 0 for password in passwords: if check_password(password): count_of_valid_passwords += 1 print('{} passwords are valid of {} total passwords'.format(countOfValidPasswords, len(passwords)))