content
stringlengths
7
1.05M
#!/usr/bin/env python def simple_generator(): yield 1 yield 2 yield 3 simple_generator() print(simple_generator) print(simple_generator())
# # PySNMP MIB module HH3C-VOICE-IF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HH3C-VOICE-IF-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:30:25 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") ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint") hh3cVoice, = mibBuilder.importSymbols("HH3C-OID-MIB", "hh3cVoice") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") ObjectIdentity, Counter32, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Unsigned32, MibIdentifier, Bits, TimeTicks, Gauge32, NotificationType, IpAddress, Counter64, ModuleIdentity, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "Counter32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Unsigned32", "MibIdentifier", "Bits", "TimeTicks", "Gauge32", "NotificationType", "IpAddress", "Counter64", "ModuleIdentity", "Integer32") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") hh3cVoiceInterface = ModuleIdentity((1, 3, 6, 1, 4, 1, 25506, 2, 39, 13)) hh3cVoiceInterface.setRevisions(('2007-12-10 17:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hh3cVoiceInterface.setRevisionsDescriptions(('The initial version of this MIB file.',)) if mibBuilder.loadTexts: hh3cVoiceInterface.setLastUpdated('200712101700Z') if mibBuilder.loadTexts: hh3cVoiceInterface.setOrganization('Hangzhou H3C Technologies Co., Ltd.') if mibBuilder.loadTexts: hh3cVoiceInterface.setContactInfo('Platform Team H3C Technologies Co., Ltd. Hai-Dian District Beijing P.R. China Http://www.hh3c.com Zip:100085') if mibBuilder.loadTexts: hh3cVoiceInterface.setDescription('This MIB file is to provide the definition of the voice interface general configuration.') hh3cVoiceIfObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 39, 13, 1)) hh3cVoiceIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 2, 39, 13, 1, 1), ) if mibBuilder.loadTexts: hh3cVoiceIfConfigTable.setStatus('current') if mibBuilder.loadTexts: hh3cVoiceIfConfigTable.setDescription('The table contains configurable parameters for both analog voice interface and digital voice interface.') hh3cVoiceIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 2, 39, 13, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hh3cVoiceIfConfigEntry.setStatus('current') if mibBuilder.loadTexts: hh3cVoiceIfConfigEntry.setDescription('The entry of voice interface table.') hh3cVoiceIfCfgCngOn = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 39, 13, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cVoiceIfCfgCngOn.setStatus('current') if mibBuilder.loadTexts: hh3cVoiceIfCfgCngOn.setDescription('This object indicates whether the silence gaps should be filled with background noise. It is applicable to FXO, FXS, E&M subscriber lines and E1/T1 voice subscriber line.') hh3cVoiceIfCfgNonLinearSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 39, 13, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cVoiceIfCfgNonLinearSwitch.setStatus('current') if mibBuilder.loadTexts: hh3cVoiceIfCfgNonLinearSwitch.setDescription('This object expresses the nonlinear processing is enable or disable for the voice interface. It is applicable to FXO, FXS, E&M subscriber lines and E1/T1 voice subscriber line. Currently, only digital voice subscriber lines can be set disabled.') hh3cVoiceIfCfgInputGain = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 39, 13, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-140, 139))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cVoiceIfCfgInputGain.setStatus('current') if mibBuilder.loadTexts: hh3cVoiceIfCfgInputGain.setDescription('This object indicates the amount of gain added to the receiver side of the voice interface. Unit is 0.1 db. It is applicable to FXO, FXS, E&M subscriber lines and E1/T1 voice subscriber line.') hh3cVoiceIfCfgOutputGain = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 39, 13, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-140, 139))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cVoiceIfCfgOutputGain.setStatus('current') if mibBuilder.loadTexts: hh3cVoiceIfCfgOutputGain.setDescription('This object indicates the amount of gain added to the send side of the voice interface. Unit is 0.1 db. It is applicable to FXO, FXS, E&M subscriber lines and E1/T1 voice subscriber line.') hh3cVoiceIfCfgEchoCancelSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 39, 13, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cVoiceIfCfgEchoCancelSwitch.setStatus('current') if mibBuilder.loadTexts: hh3cVoiceIfCfgEchoCancelSwitch.setDescription('This object indicates whether the echo cancellation is enabled. It is applicable to FXO, FXS, E&M subscriber lines and E1/T1 voice subscriber line.') hh3cVoiceIfCfgEchoCancelDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 39, 13, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cVoiceIfCfgEchoCancelDelay.setStatus('current') if mibBuilder.loadTexts: hh3cVoiceIfCfgEchoCancelDelay.setDescription("This object indicates the delay of the echo cancellation for the voice interface. This value couldn't be modified unless hh3cVoiceIfCfgEchoCancelSwitch is enable. Unit is milliseconds. It is applicable to FXO, FXS, E&M subscriber lines and E1/T1 voice subscriber line. The default value of this object is 32.") hh3cVoiceIfCfgTimerDialInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 39, 13, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 300))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cVoiceIfCfgTimerDialInterval.setStatus('current') if mibBuilder.loadTexts: hh3cVoiceIfCfgTimerDialInterval.setDescription('The interval, in seconds, between two dialing numbers. The default value of this object is 10 seconds. It is applicable to FXO, FXS, E&M subscriber lines and E1/T1 with loop-start or ground-start protocol voice subscriber line.') hh3cVoiceIfCfgTimerFirstDial = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 39, 13, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 300))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cVoiceIfCfgTimerFirstDial.setStatus('current') if mibBuilder.loadTexts: hh3cVoiceIfCfgTimerFirstDial.setDescription('The period of time, in seconds, before dialing the first number. The default value of this object is 10 seconds. It is applicable to FXO, FXS subscriber lines and E1/T1 with loop-start or ground-start protocol voice subscriber line.') hh3cVoiceIfCfgPrivateline = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 39, 13, 1, 1, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cVoiceIfCfgPrivateline.setStatus('current') if mibBuilder.loadTexts: hh3cVoiceIfCfgPrivateline.setDescription('This object indicates the E.164 phone number for plar mode. It is applicable to FXO, FXS, E&M subscriber lines and E1/T1 voice subscriber line.') hh3cVoiceIfCfgRegTone = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 39, 13, 1, 1, 1, 10), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(2, 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cVoiceIfCfgRegTone.setStatus('current') if mibBuilder.loadTexts: hh3cVoiceIfCfgRegTone.setDescription('This object uses 2 or 3 letter country code specify voice parameters of different countrys. This value will take effect on all voice interfaces of all cards on the device.') mibBuilder.exportSymbols("HH3C-VOICE-IF-MIB", hh3cVoiceInterface=hh3cVoiceInterface, hh3cVoiceIfCfgNonLinearSwitch=hh3cVoiceIfCfgNonLinearSwitch, hh3cVoiceIfCfgCngOn=hh3cVoiceIfCfgCngOn, hh3cVoiceIfObjects=hh3cVoiceIfObjects, hh3cVoiceIfCfgPrivateline=hh3cVoiceIfCfgPrivateline, hh3cVoiceIfCfgOutputGain=hh3cVoiceIfCfgOutputGain, hh3cVoiceIfCfgRegTone=hh3cVoiceIfCfgRegTone, hh3cVoiceIfCfgEchoCancelSwitch=hh3cVoiceIfCfgEchoCancelSwitch, hh3cVoiceIfConfigTable=hh3cVoiceIfConfigTable, hh3cVoiceIfCfgInputGain=hh3cVoiceIfCfgInputGain, hh3cVoiceIfCfgEchoCancelDelay=hh3cVoiceIfCfgEchoCancelDelay, hh3cVoiceIfCfgTimerFirstDial=hh3cVoiceIfCfgTimerFirstDial, hh3cVoiceIfCfgTimerDialInterval=hh3cVoiceIfCfgTimerDialInterval, PYSNMP_MODULE_ID=hh3cVoiceInterface, hh3cVoiceIfConfigEntry=hh3cVoiceIfConfigEntry)
# Python3 Finding Lowest Common Ancestor in Binary Tree ----> O(N) def find_lca_bt(root, n1, n2): if not root: return None left_lca = find_lca_bt(root.left, n1, n2) right_lca = find_lca_bt(root.right, n1, n2) if left_lca and right_lca: return root return left_lca if left_lca else right_lca # Python3 Finding Lowest Common Ancestor in Binary Seacrh Tree ----> O(logN) def find_lca_bst(root, n1, n2): if not root: return None if root.data > n1 and root.data > n2: return find_lca_bst(root.left) if root.data < n1 and root.data < n2: return find_lca_bst(root.right) return root
class DF_Filter(dict): ''' store and format query where clause ''' def __init__(self,filter_value={}): self['filter_list'] = [] def add(self,val): self['filter_list'].append(val) return self def getFilter(self): if len(self['filter_list'])==0: msg = 'Empty Filter, set to None or omit.' raise ValueError(msg) return ' and '.join(self['filter_list']) def test_emptyfilter(): print('###### Empty Filter') filter = DF_Filter() try: print('',filter.getFilter()) except ValueError as inst: print(inst) def test_filter(): print('###### Filter') filter = DF_Filter() filter.add('a == b')\ .add('c > 34') print('',filter.getFilter()) def main(): test_emptyfilter() test_filter() if __name__ == "__main__": # execute only if run as a script main()
# F - номинал облигации # C - купонная выплата # P0 - приведенная внутренняя цена облигации # n - число купонных доходов n = 4 i0 = 0.1 c = 0.08 F = 100 r = 0.0001 * -5 C = c * F p_koeffs = [] for t in range(1,n+1): koeff = C/((1+i0)**t) print(f"Коэфф при t={t}: {koeff}") p_koeffs.append(koeff) P0 = sum(p_koeffs) + F/((1+i0)**n) print(f"Полученное P0: {P0}") duration_koeffs = [] for t in range(1,n+1): koeff = t *C/((1+i0)**t) print(f"Коэфф при t={t}: {koeff}") duration_koeffs.append(koeff) D = (1/P0) * (sum(duration_koeffs) + n* (F/((1+i0)**n))) print(f"Полученная дюрация: {D}") D_modify = D/(1+i0) print(f"Полученная мод дюрация: {D_modify}") delta_P = -D_modify*P0*r print(f"Изменение цены: {delta_P}")
def my_count(lst, e): res = 0 if type(lst) == list: res = lst.count(e) return res print(my_count([1, 2, 3, 4, 3, 2, 1], 3)) print(my_count([1, 2, 3], 4)) print(my_count((2, 3, 5), 3))
def mdc(x1, x2): while x1%x2 != 0: nx1 = x1 nx2 = x2 # Trocando os valores de variavel x1 = nx2 x2 = nx1 % nx2 # x2 recebe o resto da divisao entre nx1 e nx2 return x2 class Fracao: def __init__(self, numerador, denominador): self.num = numerador self.den = denominador def __str__(self): return str(self.num) + '/' + str(self.den) def simplifica(self): div_comum = mdc(self.num, self.den) self.num //= div_comum # self.num = self.num // div_comum self.den //= div_comum # self.den = self.den // div_comum def __add__(self, n2): # com __add__ podemos fazer soma de metodos criados novo_num = (self.num * n2.den) + (self.den * n2.num) novo_den = (self.den * n2.den) comum = mdc(novo_num, novo_den) # divisor comum entre eles n = novo_num // comum d = novo_den // comum return Fracao(n,d) n1 = Fracao(1,8) print(n1) n1.simplifica() print(n1) n2 = Fracao(2,4) n3 = n1 + n2 print(n3)
cores = {"azul": '\033[36m', "vermelho": '\033[31m', "normal": '\033[m'} sal1 = float(input('Qual é o salário do funcionário? R$')) sal2 = sal1 * (10 / 100) if sal1 <= 1250: sal2 = sal1 + (sal1 * 15 / 100) else: sal2 = sal1 + (sal1 * 10 / 100) print(f'Quem ganhava {cores["vermelho"]}R${sal1:.2f} {cores["normal"]}passa a ganhar {cores["azul"]}R${sal2:.2f}')
# ============================================================================# # author : louis TOMCZYK # goal : Definition of personalized Mathematics Basics functions # ============================================================================# # version : 0.0.1 - 2021 09 27 - derivative # - average # - moving_average # - basic_uncertainty # --------------- # version : 0.0.2 - 2021 03 01 - num2bin # ============================================================================# def derivative(Y,dx): dYdx = [] for k in range(len(Y)-1): dYdx.append((Y[k+1]-Y[k])/dx) return(dYdx) # ================================================# # ================================================# # ================================================# def average(arr, n): end = n*int(len(arr)/n) return np.mean(arr[:end].reshape(-1, n), 1) # ================================================# # ================================================# # ================================================# def moving_average(List,N_samples): return np.convolve(List,np.ones(N_samples),'valid')/N_samples # ================================================# # ================================================# # ================================================# # Uncertainty of data def basic_uncertainty(data): std_deviation = np.std(data) nb_data = len(data) b_uncertainty = std_deviation/np.sqrt(nb_data) return b_uncertainty # ================================================# # ================================================# # ================================================# # convert number to binary # ------- def num2bin(num): if num == 0: return [0] else: pow_max = int(np.floor(np.log2(num))) pow_list= [k for k in range(pow_max+1)] bin_list= [] num_tmp = num for k in range(1,len(pow_list)+1): pow_tmp = 2**pow_list[-k] diff = num_tmp-pow_tmp if diff >= 0: num_tmp = diff bin_list.append(1) else: bin_list.append(0) return bin_list # -------
def Bonjour(name): print(f"Bonjour, {name} comment allez vous ?") Bonjour("wassila")
""" A simple package that does nothing. """ __version__ = '0.0.3'
# test async with, escaped by a break class AContext: async def __aenter__(self): print('enter') return 1 async def __aexit__(self, exc_type, exc, tb): print('exit', exc_type, exc) async def f1(): while 1: async with AContext(): print('body') break print('no 1') print('no 2') o = f1() try: print(o.send(None)) except StopIteration: print('finished') async def f2(): while 1: try: async with AContext(): print('body') break print('no 1') finally: print('finally') print('no 2') o = f2() try: print(o.send(None)) except StopIteration: print('finished') async def f3(): while 1: try: try: async with AContext(): print('body') break print('no 1') finally: print('finally inner') finally: print('finally outer') print('no 2') o = f3() try: print(o.send(None)) except StopIteration: print('finished')
file_name = 'words_ex1~' # <= Error file name try: content = open(file_name, 'r', encoding='utf-8') for line in content: print(line) except IOError as io_err: print(io_err) # Output the exception message # [Errno 2] No such file or directory: 'words_ex1~' # You can use 'with' statement with open(file_name, 'r', encoding='utf-8') as content: for line in content: print(line) # [Errno 2] No such file or directory: 'words_ex1~'
def product_sans_n(nums): if nums.count(0)>=2: return [0]*len(nums) elif nums.count(0)==1: temp=[0]*len(nums) temp[nums.index(0)]=product(nums) return temp res=product(nums) return [res//i for i in nums] def product(arr): total=1 for i in arr: if i==0: continue total*=i return total
# Event: LCCS Python Fundamental Skills Workshop # Date: Dec 2018 # Author: Joe English, PDST # eMail: computerscience@pdst.ie # Purpose: Dictionary Programming Exercises 7.1 # Q1(e) solution car = dict( { 'reg': "131 CN 6439", 'make': "Audi", 'model' : "A6", 'year' : 2013, 'kms' : 52739, 'colour': "Silver", 'diesel': True, }) print(car['make']) # print(car[model]) # NameError - model is not defined # print(car['miles']) # KeyError - miles is not a key print(car['colour'][0]) #print(car['diesel'][0]) # TypeError - cannot subscript a Boolean print(car['reg'][4:5])
# -*- coding: utf-8 -*- """ Created on Tue Aug 08 13:55:56 2017 @author: Keerthi """ # def subseq_gen(newsubseq): # subseq.append(dum) def subseq_rule(seq): # Import the subsequence subseq = [] # Rule 1 - subsequence is derived by removing the first element from the sequence if len(seq[0]) == 1: dum = [] # Dummy variable dum = list(seq[1:]) subseq.append(dum) # Rule 2 - subsequence is derived by removing the last element of the sequence if len(seq[-1]) == 1: dum = list(seq[0:-1]) subseq.append(dum) # Rule 3 - subsequence c is derived from seq "s" by dropping an item from an element si which has at least 2 items for k in xrange(len(seq)): if len(seq[k]) > 1: dum = [] seq_new = list(seq) dum = list(seq[k]) for j in xrange(len(dum)): dum1 = [] dum1 = list(dum) del dum1[j] seq_new[k] = list(dum1) seq_new1 = list(seq_new) subseq.append(seq_new1) return subseq
n = int(input()) continents = {} for i in range(n): str = input().split(' ') if str[0] in continents: if str[1] in continents[str[0]]: continents[str[0]][str[1]].append(str[2]) else: continents[str[0]][str[1]] = [str[2]] else: continents[str[0]] = { str[1]: [str[2]] } for i in continents: print('{}'.format(i)) for task in continents[i]: print('\t {} -> '.format(task), end='') print()
#! /usr/bin/python3 vorname = "Joe" nachname = "Biden" print("{0} {1} is elected!".format(vorname, nachname)) print("Hallo World!")
''' Составить описание класса прямоугольников со сторонами, параллельными осям координат. Предусмотреть возможность перемещения прямоугольников на плоскости, изменения размеров, построения наименьшего прямоугольника, содержащего два заданных прямоугольника, и прямоугольника, являющегося общей частью (пересечением) двух прямоугольников. Написать программу, демонстрирующую работу с этим классом. Программа должна содержать меню, позволяющее осуществить проверку всех методов класса. (Программа должна быть реализована на языке Python, вывод в консоль) ''' class Rectangle: def __init__(self, x, y, width, height): self.x = x self.y = y self.width = width self.height = height self.diagonal_x = x + width self.diagonal_y = y + height def __repr__(self): return f'Координаты левой нижней точки {self.x}:{self.y}. Ширина: {self.width}. Высота: {self.height}.' def move(self, x, y): self.x += x self.y += y def resize(self, action, x): if action == 'more': self.width *= x self.height *= x elif action == 'less': self.width //= x self.height //= x def set_diagonal_point(self): self.diagonal_x = self.x + self.width self.diagonal_y = self.y + self.height def set_width(self, width): self.width = width self.set_diagonal_point() def set_height(self, height): self.height = height self.set_diagonal_point() def union(self, rect): x = self.x if self.x < rect.x else rect.x y = self.y if self.y < rect.y else rect.y diagonal_x = self.diagonal_x if self.diagonal_x > rect.diagonal_x else rect.diagonal_x diagonal_y = self.diagonal_y if self.diagonal_y > rect.diagonal_y else rect.diagonal_y width = diagonal_x - x height = diagonal_y - y return Rectangle(x, y, width, height) def intersection(self, rect): x = self.x if self.x > rect.x else rect.x y = self.y if self.y > rect.y else rect.y diagonal_x = self.diagonal_x if self.diagonal_x < rect.diagonal_x else rect.diagonal_x diagonal_y = self.diagonal_y if self.diagonal_y < rect.diagonal_y else rect.diagonal_y width = diagonal_x - x height = diagonal_y - y return Rectangle(x, y, width, height) def create_rect(): args = input('Введите координаты левой точки, ширину и высотв прямоугольника ' '(пример: 1, 2, 5, 3)\n').split(',') return Rectangle(*args) def main(): ans = True while ans: print(""" 1. Создать прямоугольник 2. Посмотреть сущетсвующий прямоугольник 3. Изменить высоты прямоугольника 4. 4. Exit/Quit """) ans = input("What would you like to do? ") if ans == "1": rect = create_rect() print(f'Создан прямоугольник: \n{rect}') elif ans == "2": print("\n Student Deleted") elif ans == "3": print("\n Student Record Found") elif ans == "4": print("\n Goodbye") elif ans != "": print("\n Not Valid Choice Try again") if __name__ == '__main__': main()
size(800, 800) background(255) noStroke() # Startwert für den Kreisradius # Dieser muss ein Vielfaches von 255 sein, damit alle 255 Farbtöne in den # Farbverlauf einfließen können. radius = 510 # Gehe alle Grautöne von Weiß nach Schwarz durch for c in range(255, 0, -1): # Ändere Farbe fill(c) # Zeichne einen Kreis ellipse(400, 400, radius, radius) # Verkleinere den Radius # Dadurch ergeben sich konzentrische Kreise, die immer kleiner werden # und dabei die Grautöne von Weiß (255) nach Schwarz (0) annehmen. radius -= 2
class Node: def __init__(self, valor): self.valor = valor self.hijo_izquierdo = None self.hijo_derecho = None self.altura = 0 class AVLTree: def __init__(self): self.raiz = None def add(self, valor): self.raiz = self._add(valor, self.raiz) def _add(self, valor, aux): if aux is None: return Node(valor) elif valor > aux.valor: aux.hijo_derecho = self._add(valor, aux.hijo_derecho) if (self.alturaNodo(aux.hijo_derecho)-self.alturaNodo(aux.hijo_izquierdo)) == 2: if valor > aux.hijo_derecho.valor: aux = self.RotacionIzquierda(aux) else: aux = self.RotacionDobleIzquierda(aux) else: aux.hijo_izquierdo = self._add(valor, aux.hijo_izquierdo) if (self.alturaNodo(aux.hijo_izquierdo)-self.alturaNodo(aux.hijo_derecho)) == 2: if valor < aux.hijo_izquierdo.valor: aux = self.RotacionDerecha(aux) else: aux = self.RotacionDobleDerecha(aux) r = self.alturaNodo(aux.hijo_derecho) l = self.alturaNodo(aux.hijo_izquierdo) m = self.maxi(r, l) aux.altura = m+1 return aux def alturaNodo(self, aux): if aux is None: return -1 else: return aux.altura def maxi(self, r, l): return (l, r)[r > l] def RotacionDerecha(self, t1): t2 = t1.hijo_izquierdo t1.hijo_izquierdo = t2.hijo_derecho t2.hijo_derecho = t1 t1.altura = self.maxi(self.alturaNodo( t1.hijo_izquierdo), self.alturaNodo(t1.hijo_derecho))+1 t2.altura = self.maxi(self.alturaNodo(t2.hijo_izquierdo), t1.altura)+1 return t2 def RotacionIzquierda(self, t1): t2 = t1.hijo_derecho t1.hijo_derecho = t2.hijo_izquierdo t2.hijo_izquierdo = t1 t1.altura = self.maxi(self.alturaNodo( t1.hijo_izquierdo), self.alturaNodo(t1.hijo_derecho))+1 t2.altura = self.maxi(self.alturaNodo(t2.hijo_izquierdo), t1.altura)+1 return t2 def RotacionDobleDerecha(self, aux): aux.hijo_izquierdo = self.RotacionIzquierda(aux.hijo_izquierdo) return self.RotacionDerecha(aux) def RotacionDobleIzquierda(self, aux): aux.hijo_derecho = self.RotacionDerecha(aux.hijo_derecho) return self.RotacionIzquierda(aux) def _Eliminar(self, valor): self.raiz = self.Eliminar(valor, self.raiz) def Eliminar(self, valor, nodo): if nodo is None: print("Elemento no encontrado") return None elif (nodo.valor > valor): nodo.hijo_izquierdo = self.Eliminar(valor, nodo.hijo_izquierdo) elif (nodo.valor < valor): nodo.hijo_derecho = self.Eliminar(valor, nodo.hijo_derecho) elif (nodo.hijo_izquierdo != None and nodo.hijo_derecho != None): aux = self.EncontrarMenor(nodo.hijo_derecho) nodo.valor = aux.valor nodo.hijo_derecho = self.Eliminar(nodo.valor, nodo.hijo_derecho) else: aux = nodo if (nodo.hijo_izquierdo is None): nodo = nodo.hijo_derecho elif (nodo.hijo_derecho is None): nodo = nodo.hijo_izquierdo del aux if (nodo is None): return nodo nodo.altura = self.maxi(self.alturaNodo( nodo.hijo_izquierdo), self.alturaNodo(nodo.hijo_derecho)) + 1 balance = self.GetBalance(nodo) if (balance < -1): if (self.GetBalance(nodo.hijo_derecho) <= 0): return self.RotacionIzquierda(nodo) else: return self.RotacionDobleIzquierda(nodo) elif (balance > 1): if (self.GetBalance(nodo.hijo_izquierdo) >= 0): return self.RotacionDerecha(nodo) else: return self.RotacionDobleDerecha(nodo) return nodo def GetBalance(self, nodo): if (nodo is None): return 0 return (self.alturaNodo(nodo.hijo_izquierdo) - self.alturaNodo(nodo.hijo_derecho)) def EncontrarMenor(self, nodo): if nodo is None: return None elif (nodo.hijo_izquierdo is None): return nodo else: return self.EncontrarMenor(nodo.hijo_izquierdo) def preorder(self): self._preorder(self.raiz) def _preorder(self, aux): if aux: print(aux.valor, end=' ') self._preorder(aux.hijo_izquierdo) self._preorder(aux.hijo_derecho) def inorder(self): self._inorder(self.raiz) def _inorder(self, aux): if aux: self._inorder(aux.hijo_izquierdo) print(aux.valor, end=' ') self._inorder(aux.hijo_derecho) def postorder(self): self._postorder(self.raiz) def _postorder(self, aux): if aux: self._postorder(aux.hijo_izquierdo) self._postorder(aux.hijo_derecho) print(aux.valor, end=' ') def getValor(self, nodo): return nodo.valor CADENA="" Count=0 def GetDotArbol(self, inicio): self.Count+=1 # nodo = str(inicio.valor) + " [label=\"" + str(inicio.valor) + "]\n" nodo = "" if (inicio.hijo_izquierdo != None): nodo += str(inicio.valor) + " -> " + \ str(self.getValor(inicio.hijo_izquierdo))+"\n" self.GetDotArbol(inicio.hijo_izquierdo) if (inicio.hijo_derecho != None): nodo += str(inicio.valor) + " -> " + \ str(self.getValor(inicio.hijo_derecho)) + "\n" self.GetDotArbol(inicio.hijo_derecho) self.CADENA+=nodo return nodo def PRINT(self,raiz): self.GetDotArbol(raiz) x="\nDigraph Arbol{\nrankdir = TB;\nnode[shape = circle];\n"+self.CADENA+"}" print(x) t = AVLTree() t.add(56) t.add(61) t.add(68) t.add(89) t.add(100) t.add(1) t.add(12) t.add(19) t.add(10) t.add(15) t.add(58) t.add(9) #t._Eliminar(15) # t._Eliminar(10) # t._Eliminar(9) t.preorder() print() t.inorder() print() t.postorder() # t.preorder() # print() # t.inorder() # print() # t.postorder() t.PRINT(t.raiz)
p = 196732205348849427366498732223276547339 secret = REDACTED def calc_root(num, mod, n): f = GF(mod) temp = f(num) return temp.nth_root(n) def gen_v_list(primelist, p, secret): a = [] for prime in primelist: a.append(calc_root(prime, p, secret)) return a def decodeInt(i, primelist): pl = sorted(primelist)[::-1] out = '' for j in pl: if i%j == 0: out += '1' else: out += '0' return out def bin2asc(b): return hex(int(b,2)).replace('0x','').decode('hex') primelist = [2,3,5,7,11,13,17,19,23,29,31,37,43,47,53,59] message = REDACTED chunks = [] for i in range(0,len(message),2): chunks += [message[i:i+2]] vlist = gen_v_list(primelist,p,secret) print(vlist) for chunk in chunks: binarized = bin(int(chunk.encode('hex'),16)).replace('0b','').zfill(16)[::-1] #lsb first enc = 1 for bit in range(len(binarized)): enc *= vlist[bit]**int(binarized[bit]) enc = enc%p print(enc)
# 编写一个 Java 程序在屏幕上输出 1!+2!+3!+……+10!的和。(循环) cou = 0 for i in range(10): cou += i print("1!+2!+3!+……+10!=", cou)
#!/usr/bin/env python # -*- coding: utf-8 -*- class Solution: """ 给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。 示例 1: 输入: "abcabcbb" 输出: 3 解释: 因为无重复字符的最长子串是 "abc",所以其长度为 3。 示例 2: 输入: "bbbbb" 输出: 1 解释: 因为无重复字符的最长子串是 "b",所以其长度为 1。 示例 3: 输入: "pwwkew" 输出: 3 解释: 因为无重复字符的最长子串是 "wke",所以其长度为 3。   请注意,你的答案必须是 子串 的长度,"pwke" 是一个子序列,不是子串。 """ def __init__(self): pass def lengthOfLongestSubstring(self, s): smap = {} num, ans = 0, 0 for i in range(len(s)): if s[i] in smap: num = max(smap[s[i]], num) ans = max(ans, i - num + 1) smap[s[i]] = i + 1 return ans if __name__ == '__main__': print(Solution().lengthOfLongestSubstring("liubaobao"))
#숫자카드게임-1 #n,m을 공백으로 구분하여 입력받기 n, m = map(int, input().split()) result = 0 for i in range(n): data = list(map(int, input().split())) min_value = min(data) result = max(result, min_value) print(result)
def for_e(): """ Pattern of Small Alphabet: 'e' using for loop""" for i in range(5): for j in range(5): if i%4==0 and j not in(0,4) or j==0 and i in(1,2,3) or i==2 and j>1 or i==1 and j==4: print('*',end=' ') else: print(' ',end=' ') print() def while_e(): """ Pattern of Small Alphabet: 'e' using while loop""" i=0 while i<5: j=0 while j<5: if i%4==0 and j not in(0,4) or j==0 and i in(1,2,3) or i==2 and j>1 or i==1 and j==4: print('*',end=' ') else: print(' ',end=' ') j+=1 i+=1 print()
#2 total=0 for number in range(1, 10 + 1): print(number) total = total + number print(total) #3 def add_numbers (x,y): for number in range (x,y): print (number) tot= total+number print(total) add_numbers(10,45) #4 def jamie_1(x,y): total=0 for jamie in range(x,y+1): print(jamie) total=total+jamie return(total) x=jamie_1(333,777) print(x) squared_x = x**2 print(squared_x)
product_map = { 1: 'Original 1000', 3: 'Color 650', 10: 'White 800 (Low Voltage)', 11: 'White 800 (High Voltage)', 18: 'White 900 BR30 (Low Voltage)', 20: 'Color 1000 BR30', 22: 'Color 1000', 27: 'LIFX A19', 28: 'LIFX BR30', 29: 'LIFX+ A19', 30: 'LIFX+ BR30', 31: 'LIFX Z', 32: 'LIFX Z 2', 36: 'LIFX Downlight', 37: 'LIFX Downlight', 38: 'LIFX Beam', 43: 'LIFX A19', 44: 'LIFX BR30', 45: 'LIFX+ A19', 46: 'LIFX+ BR30', 49: 'LIFX Mini', 50: 'LIFX Mini Day and Dusk', 51: 'LIFX Mini White', 52: 'LIFX GU10', 55: 'LIFX Tile', 59: 'LIFX Mini Color', 60: 'LIFX Mini Day and Dusk', 61: 'LIFX Mini White'} features_map = { 1: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 3: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 10: { 'chain': False, 'color': False, 'infrared': False, 'max_kelvin': 6500, 'min_kelvin': 2700, 'multizone': False}, 11: { 'chain': False, 'color': False, 'infrared': False, 'max_kelvin': 6500, 'min_kelvin': 2700, 'multizone': False}, 18: { 'chain': False, 'color': False, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 20: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 22: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 27: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 28: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 29: { 'chain': False, 'color': True, 'infrared': True, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 30: { 'chain': False, 'color': True, 'infrared': True, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 31: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': True}, 32: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': True}, 36: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 37: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 38: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': True}, 43: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 44: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 45: { 'chain': False, 'color': True, 'infrared': True, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 46: { 'chain': False, 'color': True, 'infrared': True, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 49: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 50: { 'chain': False, 'color': False, 'infrared': False, 'max_kelvin': 4000, 'min_kelvin': 1500, 'multizone': False}, 51: { 'chain': False, 'color': False, 'infrared': False, 'max_kelvin': 2700, 'min_kelvin': 2700, 'multizone': False}, 52: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 55: { 'chain': True, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 59: { 'chain': False, 'color': True, 'infrared': False, 'max_kelvin': 9000, 'min_kelvin': 2500, 'multizone': False}, 60: { 'chain': False, 'color': False, 'infrared': False, 'max_kelvin': 4000, 'min_kelvin': 1500, 'multizone': False}, 61: { 'chain': False, 'color': False, 'infrared': False, 'max_kelvin': 2700, 'min_kelvin': 2700, 'multizone': False}}
x,y,z=0,1,0 print(x,',',y,end="") for i in range(1,49): z=x+y print(',',z,end="") x=y y=z
salario = float(input('Qual é o seu atual salário?: R$')) if salario > 1250: aumento = 10 novosalario = salario * (1 + 10 / 100) else: aumento = 15 novosalario = salario * (1 + 15 / 100) print('O valor do novo salário com um aumento de {}% é R${:.2f}'.format(aumento, novosalario))
# coding:utf-8 ''' COTOHA APIの認識結果を整形するためのスクリプト ''' def clean_response(text): # 全角を半角に変換 OFFSET = ord('0')-ord('0') # 全角コードと半角コードの差分を取得 dic = {chr(ord('0')+i): chr(ord('0')+i-OFFSET) for i in range(10)} # 数字 dic.update({chr(ord('A')+i): chr(ord('A')+i-OFFSET) for i in range(26)}) # 英字大文字 dic.update({chr(ord('a')+i): chr(ord('a')+i-OFFSET) for i in range(26)}) # 英字小文字 text = text.translate(str.maketrans(dic)) return text
class RocketNotEnoughInfo(Exception): """ Exception raised when not enough information is provided to fetch/find a Rocket. """ def __init__(self, message, errors=None): # Call the base class constructor with the parameters it needs super().__init__(message) class RocketInfoFormat(Exception): """ Exception raised when the format of a Rocket's information is not conform. """ def __init__(self, message, errors=None): # Call the base class constructor with the parameters it needs super().__init__(message) class RocketAPIError(Exception): """ Exception raised when the RocketAPI is returning an error code. """ def __init__(self, message, errors=None): # Call the base class constructor with the parameters it needs super().__init__(message) class RocketNotFound(Exception): """ Exception raised when no Rocket is found. """ def __init__(self, message, errors=None): # Call the base class constructor with the parameters it needs super().__init__(message) class RocketHashNotValid(Exception): """ Exception raised when the hash of a Rocket is not valid. """ def __init__(self, message, errors=None): # Call the base class constructor with the parameters it needs super().__init__(message) class RocketDeviceNotFound(Exception): """ Exception raised when the device requested to run the Rocket doesn't exist. """ def __init__(self, message, errors=None): # Call the base class constructor with the parameters it needs super().__init__(message) class CloudStorageCredentials(Exception): """ Exception raised when the retrieval of the credentials for the Cloud Storage failed """ def __init__(self, message, errors=None): # Call the base class constructor with the parameters it needs super().__init__(message) class ShadowRocketPostprocessData(Exception): """ Exception raised when there are some missing information to successfully complete the post-process function of a ShadowRocket. """ def __init__(self, message, errors=None): # Call the base class constructor with the parameters it needs super().__init__(message)
def first_last(full_name): first_name = '' last_name = '' has_been_a_space = False for letter in full_name: if letter == ' ': has_been_a_space = True elif has_been_a_space: last_name = last_name + letter else: first_name = first_name + letter print('First: ', first_name) print('Last: ', last_name) first_last('Tony Macaroni')
""" for case if find caesar message bruteforce """ message = "GIEWIVrGMTLIVrHIQS" letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' for key in range(len(letters)): translated = '' for symbol in message: if symbol in letters: num = letters.find(symbol) num = num - key if num < 0: num = num + len(letters) translated = translated + letters[num] else: translated = translated + symbol print("key #%s : %s"%(key, translated))
class Pessoa: olhos = 2 #atributs de classe def __init__(self, *filhos, nome=None, idade=35): #dá um alt+enter self.idade = idade #atributos de instância self.nome = nome self.filhos = list(filhos) def Cumprimentar(self): return 'Olá' @staticmethod def metodo_estatico(): return 42 @classmethod def nome_e_atributos_de_classe(cls): return f'{cls} - olhos {cls.olhos}' if __name__ == '__main__': renzo = Pessoa(nome= 'Renzo') #instanciamento da classe cesar = Pessoa(nome='César') luciano = Pessoa(renzo, cesar, nome = 'luciano') luciano.sobrenome = "Ramalho" #cria dinamicamente print(luciano.__dict__) for filho in luciano.filhos: print(filho.nome) del luciano.filhos # Apaga filhos dinamicamente print(Pessoa.metodo_estatico(), luciano.metodo_estatico()) print(Pessoa.nome_e_atributos_de_classe(), luciano.nome_e_atributos_de_classe())
RUN_STRINGS = ( "Where do you think you're going?", "Huh? what? did they get away?", "ZZzzZZzz... Huh? what? oh, just them again, nevermind.", "Get back here!", "Not so fast...", "Look out for the wall!", "Don't leave me alone with them!!", "You run, you die.", "Jokes on you, I'm everywhere", "You're gonna regret that...", "You could also try /kickme, I hear that's fun.", "Go bother someone else, no-one here cares.", "You can run, but you can't hide.", "Is that all you've got?", "I'm behind you...", "You've got company!", "We can do this the easy way, or the hard way.", "You just don't get it, do you?", "Yeah, you better run!", "Please, remind me how much I care?", "I'd run faster if I were you.", "That's definitely the droid we're looking for.", "May the odds be ever in your favour.", "Famous last words.", "And they disappeared forever, never to be seen again.", "\"Oh, look at me! I'm so cool, I can run from a bot!\" - this person", "Yeah yeah, just tap /kickme already.", "Here, take this ring and head to Mordor while you're at it.", "Legend has it, they're still running...", "Unlike Harry Potter, your parents can't protect you from me.", "Fear leads to anger. Anger leads to hate. Hate leads to suffering. If you keep running in fear, you might " "be the next Vader.", "Multiple calculations later, I have decided my interest in your shenanigans is exactly 0.", "Legend has it, they're still running.", "Keep it up, not sure we want you here anyway.", "You're a wiza- Oh. Wait. You're not Harry, keep moving.", "NO RUNNING IN THE HALLWAYS!", "Hasta la vista, baby.", "Who let the dogs out?", "It's funny, because no one cares.", "Ah, what a waste. I liked that one.", "Frankly, my dear, I don't give a damn.", "My milkshake brings all the boys to yard... So run faster!", "You can't HANDLE the truth!", "A long time ago, in a galaxy far far away... Someone would've cared about that. Not anymore though.", "Hey, look at them! They're running from the inevitable banhammer... Cute.", "Han shot first. So will I.", "What are you running after, a white rabbit?", "As The Doctor would say... RUN!", ) SLAP_TEMPLATES = ( "{user1} {hits} {user2} with a {item}.", "{user1} {hits} {user2} in the face with a {item}.", "{user1} {hits} {user2} around a bit with a {item}.", "{user1} {throws} a {item} at {user2}.", "{user1} grabs a {item} and {throws} it at {user2}'s face.", "{user1} launches a {item} in {user2}'s general direction.", "{user1} starts slapping {user2} silly with a {item}.", "{user1} pins {user2} down and repeatedly {hits} them with a {item}.", "{user1} grabs up a {item} and {hits} {user2} with it.", "{user1} ties {user2} to a chair and {throws} a {item} at them.", "{user1} gave a friendly push to help {user2} learn to swim in lava." ) ITEMS = ( "cast iron skillet", "large trout", "baseball bat", "cricket bat", "wooden cane", "nail", "printer", "shovel", "CRT monitor", "physics textbook", "toaster", "portrait of Richard Stallman", "television", "five ton truck", "roll of duct tape", "book", "laptop", "old television", "sack of rocks", "rainbow trout", "rubber chicken", "spiked bat", "fire extinguisher", "heavy rock", "chunk of dirt", "beehive", "piece of rotten meat", "bear", "ton of bricks", ) THROW = ( "throws", "flings", "chucks", "hurls", ) HIT = ( "hits", "whacks", "slaps", "smacks", "bashes", ) MARKDOWN_HELP = """ Markdown is a very powerful formatting tool supported by telegram. {} has some enhancements, to make sure that \ saved messages are correctly parsed, and to allow you to create buttons. - <code>_italic_</code>: wrapping text with '_' will produce italic text - <code>*bold*</code>: wrapping text with '*' will produce bold text - <code>`code`</code>: wrapping text with '`' will produce monospaced text, also known as 'code' - <code>[sometext](someURL)</code>: this will create a link - the message will just show <code>sometext</code>, \ and tapping on it will open the page at <code>someURL</code>. EG: <code>[test](example.com)</code> - <code>[buttontext](buttonurl:someURL)</code>: this is a special enhancement to allow users to have telegram \ buttons in their markdown. <code>buttontext</code> will be what is displayed on the button, and <code>someurl</code> \ will be the url which is opened. EG: <code>[This is a button](buttonurl:example.com)</code> If you want multiple buttons on the same line, use :same, as such: <code>[one](buttonurl://example.com) [two](buttonurl://google.com:same)</code> This will create two buttons on a single line, instead of one button per line. """ EnglishStrings = { "send-help": """*Main commands available*: - /start: start the bot - /help or /help <module name>: PM's you info about that module. - /lang: Change bot language - /settings: - in PM: will send you your settings for all supported modules. - in a group: will redirect you to pm, with all that chat's settings. {} """, "send-group-settings": """Hi there! There are quite a few settings for *{}* - go ahead and pick what you're interested in.""", #Misc "RUNS-K": RUN_STRINGS, "SLAP_TEMPLATES-K": SLAP_TEMPLATES, "ITEMS-K": ITEMS, "HIT-K": HIT, "THROW-K": THROW, "ITEMP-K": ITEMS, "ITEMR-K": ITEMS, "MARKDOWN_HELP-K": MARKDOWN_HELP, #GDPR "send-gdpr": """Your personal data has been deleted.\n\nNote that this will not unban \ you from any chats, as that is telegram data, not YanaBot data. Flooding, warns, and gbans are also preserved, as of \ [this](https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/individual-rights/right-to-erasure/), " which clearly states that the right to erasure does not apply \ \"for the performance of a task carried out in the public interest\", as is \ the case for the aforementioned pieces of data.""" }
""" Expose PV data """ # # import logging # from datetime import datetime, timedelta # from typing import List # # from fastapi import APIRouter, Depends # from nowcasting_datamodel.models import PVYield # from nowcasting_datamodel.read.read_pv import get_latest_pv_yield, get_pv_systems # from sqlalchemy.orm.session import Session # # from database import get_session_pv # # logger = logging.getLogger(__name__) # # # router = APIRouter() # # @router.get("/pv_latest", response_model=List[PVYield]) # def get_latest_pv_data(session: Session = Depends(get_session_pv)) -> List[PVYield]: # """Get Latest PV data from specific pv sites # # Only provide PV data received within the last 1 hour # """ # # # get latest pv data # pv_systems_sql = get_pv_systems(session=session) # pv_yields_sql = get_latest_pv_yield(session=session, pv_systems=pv_systems_sql) # # # remove any data older than 1 hours # now_minus_1_hours = datetime.utcnow() - timedelta(hours=1) # pv_yields_sql = [ # pv_yield_sql # for pv_yield_sql in pv_yields_sql # if pv_yield_sql.datetime_utc >= now_minus_1_hours # ] # # # convert to pydantic # pv_yields = [PVYield.from_orm(pv_yield_sql) for pv_yield_sql in pv_yields_sql] # # return pv_yields
class Solution: def word_pattern(self, pattern: str, str: str) -> bool: words = str.split(" ") return len(pattern) == len(words) and len(set(pattern)) == len(set(words)) == len(set(zip(pattern, words)))
print('Hello') print('World') # adding a keyword argument will get "Hello World" on the same line. print('Hello', end=' ') print('World') # the "end=' '" adds a single space character at the end of Hello starts the next print right next ot it print('cat', 'dog', 'mouse') #the above will have a single space character print('cat', 'dog', 'mouse', sep='ABC') #the above "sep" argument will make ABC show in the spaces instead of a single space character
# # PySNMP MIB module ASCEND-MIBINET-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ASCEND-MIBINET-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:27:29 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) # configuration, = mibBuilder.importSymbols("ASCEND-MIB", "configuration") ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ConstraintsUnion, ValueSizeConstraint, SingleValueConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "ValueSizeConstraint", "SingleValueConstraint", "ValueRangeConstraint") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") TimeTicks, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, Counter32, Unsigned32, Gauge32, iso, IpAddress, Integer32, Bits, MibIdentifier, ModuleIdentity, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "Counter32", "Unsigned32", "Gauge32", "iso", "IpAddress", "Integer32", "Bits", "MibIdentifier", "ModuleIdentity", "Counter64") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") class DisplayString(OctetString): pass mibinternetProfile = MibIdentifier((1, 3, 6, 1, 4, 1, 529, 23, 1)) mibinternetProfileTable = MibTable((1, 3, 6, 1, 4, 1, 529, 23, 1, 1), ) if mibBuilder.loadTexts: mibinternetProfileTable.setStatus('mandatory') if mibBuilder.loadTexts: mibinternetProfileTable.setDescription('A list of mibinternetProfile profile entries.') mibinternetProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1), ).setIndexNames((0, "ASCEND-MIBINET-MIB", "internetProfile-Station")) if mibBuilder.loadTexts: mibinternetProfileEntry.setStatus('mandatory') if mibBuilder.loadTexts: mibinternetProfileEntry.setDescription('A mibinternetProfile entry containing objects that maps to the parameters of mibinternetProfile profile.') internetProfile_Station = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 1), DisplayString()).setLabel("internetProfile-Station").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_Station.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_Station.setDescription('The name of the host we will be communicating with. This name is used as part of the authentication process when authentication is being used.') internetProfile_Active = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-Active").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_Active.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_Active.setDescription('A profile can be disabled by setting this field to no. There is no difference between an inactive profile and no profile at all to the remainder of the code.') internetProfile_EncapsulationProtocol = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 9, 4, 5, 6, 10, 11, 12, 13, 7, 14, 15, 17, 8, 18, 21, 22, 23, 24, 26, 27, 28))).clone(namedValues=NamedValues(("mpp", 1), ("mp", 2), ("ppp", 3), ("combinet", 9), ("slip", 4), ("cslip", 5), ("frameRelay", 6), ("frameRelayCircuit", 10), ("x25pad", 11), ("euraw", 12), ("euui", 13), ("tcpRaw", 7), ("rfc1356X25", 14), ("ara", 15), ("t3pos", 17), ("dtpt", 8), ("x32", 18), ("atm", 21), ("atmFrameRelayCircuit", 22), ("hdlcNrm", 23), ("atmCircuit", 24), ("visa2", 26), ("atmSvcSig", 27), ("atmIma", 28)))).setLabel("internetProfile-EncapsulationProtocol").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_EncapsulationProtocol.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_EncapsulationProtocol.setDescription('The encapsulation protocol to be used when communicating with the named station.') internetProfile_CalledNumberType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 7))).clone(namedValues=NamedValues(("unknown", 1), ("international", 2), ("national", 3), ("networkSpecific", 4), ("local", 5), ("abbrev", 7)))).setLabel("internetProfile-CalledNumberType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_CalledNumberType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_CalledNumberType.setDescription('Indication of whether national number, international number, etc. is specified.') internetProfile_DialNumber = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 5), DisplayString()).setLabel("internetProfile-DialNumber").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_DialNumber.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_DialNumber.setDescription('The phone number of the named station.') internetProfile_SubAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 292), DisplayString()).setLabel("internetProfile-SubAddress").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SubAddress.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SubAddress.setDescription('The sub-address extension to the dialed number of the station.') internetProfile_Clid = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 6), DisplayString()).setLabel("internetProfile-Clid").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_Clid.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_Clid.setDescription('The calling line number for authentication.') internetProfile_AutoProfiles = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 420), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-AutoProfiles").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AutoProfiles.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AutoProfiles.setDescription('This parameter enables or disables automatic profile creation. Currently only the Stinger IDSL provides this capability for PPP Circuits and Frame Relay Circuits.') internetProfile_IpOptions_IpRoutingEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpOptions-IpRoutingEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_IpRoutingEnabled.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_IpRoutingEnabled.setDescription('Enable/disable IP routing for this connection.') internetProfile_IpOptions_VjHeaderPrediction = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpOptions-VjHeaderPrediction").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_VjHeaderPrediction.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_VjHeaderPrediction.setDescription('Enable/disable Van Jacabson TCP Header prediction processing on this connection if supported by the selected encapsulation protocol.') internetProfile_IpOptions_RemoteAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 9), IpAddress()).setLabel("internetProfile-IpOptions-RemoteAddress").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_RemoteAddress.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_RemoteAddress.setDescription('The remote address with netmask of the named host.') internetProfile_IpOptions_NetmaskRemote = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 10), IpAddress()).setLabel("internetProfile-IpOptions-NetmaskRemote").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_NetmaskRemote.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_NetmaskRemote.setDescription('The netmask of the remote address.') internetProfile_IpOptions_LocalAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 11), IpAddress()).setLabel("internetProfile-IpOptions-LocalAddress").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_LocalAddress.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_LocalAddress.setDescription('The interface address with netmask, if required, of the local end. If left zero the interface is assumed to be an unnumbered interface.') internetProfile_IpOptions_NetmaskLocal = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 12), IpAddress()).setLabel("internetProfile-IpOptions-NetmaskLocal").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_NetmaskLocal.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_NetmaskLocal.setDescription('The netmask of the local interface address.') internetProfile_IpOptions_RoutingMetric = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 13), Integer32()).setLabel("internetProfile-IpOptions-RoutingMetric").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_RoutingMetric.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_RoutingMetric.setDescription('The routing metric, typically measured in number of hops, to be used in the routing table entry created for this connection when the connection is active.') internetProfile_IpOptions_Preference = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 14), Integer32()).setLabel("internetProfile-IpOptions-Preference").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_Preference.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_Preference.setDescription('The preference used for comparing this route to other routes. Preference has a higher priority than metric. As with the metric field, the lower the number, the higher the preference.') internetProfile_IpOptions_DownPreference = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 15), Integer32()).setLabel("internetProfile-IpOptions-DownPreference").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_DownPreference.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_DownPreference.setDescription('The preference used for comparing the down-metric route to other routes. Preference has a higher priority than metric. As with the metric field, the lower the number, the higher the preference.') internetProfile_IpOptions_PrivateRoute = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpOptions-PrivateRoute").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_PrivateRoute.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_PrivateRoute.setDescription('Enable/disable distribution of the route created for this connection via routing protocols. Private routes are used internally, but never advertized to the outside world.') internetProfile_IpOptions_MulticastAllowed = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpOptions-MulticastAllowed").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_MulticastAllowed.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_MulticastAllowed.setDescription('Enable this connection as a multicast traffic client.') internetProfile_IpOptions_AddressPool = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 18), Integer32()).setLabel("internetProfile-IpOptions-AddressPool").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_AddressPool.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_AddressPool.setDescription('The number of the address pool from which an address for this host should be obtained when using assigned addresses.') internetProfile_IpOptions_IpDirect = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 19), IpAddress()).setLabel("internetProfile-IpOptions-IpDirect").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_IpDirect.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_IpDirect.setDescription('The address of the next-hop when IP direct routing is used.') internetProfile_IpOptions_Rip = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("routingOff", 1), ("routingSendOnly", 2), ("routingRecvOnly", 3), ("routingSendAndRecv", 4), ("routingSendOnlyV2", 5), ("routingRecvOnlyV2", 6), ("routingSendAndRecvV2", 7)))).setLabel("internetProfile-IpOptions-Rip").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_Rip.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_Rip.setDescription('Specify if RIP or RIP-2 should be used over this connection and if used in both directions or not.') internetProfile_IpOptions_RouteFilter = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 21), DisplayString()).setLabel("internetProfile-IpOptions-RouteFilter").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_RouteFilter.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_RouteFilter.setDescription('The name of this filter. All filters are referenced by name so a name must be assigned to active filters.') internetProfile_IpOptions_SourceIpCheck = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpOptions-SourceIpCheck").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_SourceIpCheck.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_SourceIpCheck.setDescription("Enable/disable source ip checking. Packets with source ip address which doesn't match with negotiated remote ip address will be dropped.") internetProfile_IpOptions_OspfOptions_Active = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpOptions-OspfOptions-Active").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_Active.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_Active.setDescription('Is OSPF active on this interface.') internetProfile_IpOptions_OspfOptions_Area = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 24), IpAddress()).setLabel("internetProfile-IpOptions-OspfOptions-Area").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_Area.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_Area.setDescription('The area that this interface belongs to.') internetProfile_IpOptions_OspfOptions_AreaType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("normal", 1), ("stub", 2), ("nSSA", 3)))).setLabel("internetProfile-IpOptions-OspfOptions-AreaType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_AreaType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_AreaType.setDescription('The type of Area. Normal, Stub, NSSA') internetProfile_IpOptions_OspfOptions_HelloInterval = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 26), Integer32()).setLabel("internetProfile-IpOptions-OspfOptions-HelloInterval").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_HelloInterval.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_HelloInterval.setDescription('The hello interval (seconds).') internetProfile_IpOptions_OspfOptions_DeadInterval = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 27), Integer32()).setLabel("internetProfile-IpOptions-OspfOptions-DeadInterval").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_DeadInterval.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_DeadInterval.setDescription('The dead interval (seconds).') internetProfile_IpOptions_OspfOptions_Priority = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 28), Integer32()).setLabel("internetProfile-IpOptions-OspfOptions-Priority").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_Priority.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_Priority.setDescription('The priority of this router in DR elections.') internetProfile_IpOptions_OspfOptions_AuthenType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("simple", 2), ("md5", 3)))).setLabel("internetProfile-IpOptions-OspfOptions-AuthenType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_AuthenType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_AuthenType.setDescription('The type of OSPF authentication in effect.') internetProfile_IpOptions_OspfOptions_AuthKey = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 30), DisplayString()).setLabel("internetProfile-IpOptions-OspfOptions-AuthKey").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_AuthKey.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_AuthKey.setDescription('The authentication key.') internetProfile_IpOptions_OspfOptions_KeyId = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 31), Integer32()).setLabel("internetProfile-IpOptions-OspfOptions-KeyId").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_KeyId.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_KeyId.setDescription('The key identifier for MD5 authentication.') internetProfile_IpOptions_OspfOptions_Cost = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 32), Integer32()).setLabel("internetProfile-IpOptions-OspfOptions-Cost").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_Cost.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_Cost.setDescription('The output cost.') internetProfile_IpOptions_OspfOptions_DownCost = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 33), Integer32()).setLabel("internetProfile-IpOptions-OspfOptions-DownCost").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_DownCost.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_DownCost.setDescription('The output cost when the link is physically down but virtually up.') internetProfile_IpOptions_OspfOptions_AseType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("type1", 1), ("type2", 2)))).setLabel("internetProfile-IpOptions-OspfOptions-AseType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_AseType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_AseType.setDescription('The OSPF ASE type of this LSA.') internetProfile_IpOptions_OspfOptions_AseTag = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 35), DisplayString()).setLabel("internetProfile-IpOptions-OspfOptions-AseTag").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_AseTag.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_AseTag.setDescription('The OSPF ASE tag of this link.') internetProfile_IpOptions_OspfOptions_TransitDelay = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 36), Integer32()).setLabel("internetProfile-IpOptions-OspfOptions-TransitDelay").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_TransitDelay.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_TransitDelay.setDescription('The estimated transit delay (seconds).') internetProfile_IpOptions_OspfOptions_RetransmitInterval = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 37), Integer32()).setLabel("internetProfile-IpOptions-OspfOptions-RetransmitInterval").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_RetransmitInterval.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_RetransmitInterval.setDescription('The retransmit time (seconds).') internetProfile_IpOptions_OspfOptions_NonMulticast = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 38), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpOptions-OspfOptions-NonMulticast").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_NonMulticast.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_NonMulticast.setDescription('Use direct addresses instead of multicast addresses.') internetProfile_IpOptions_OspfOptions_NetworkType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 250), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3, 4))).clone(namedValues=NamedValues(("broadcast", 2), ("nonBroadcast", 3), ("pointToPoint", 4)))).setLabel("internetProfile-IpOptions-OspfOptions-NetworkType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_NetworkType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_NetworkType.setDescription('The type of network attachment.') internetProfile_IpOptions_OspfOptions_PollInterval = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 251), Integer32()).setLabel("internetProfile-IpOptions-OspfOptions-PollInterval").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_PollInterval.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_PollInterval.setDescription('The poll interval for non-broadcast multi-access network (seconds).') internetProfile_IpOptions_OspfOptions_Md5AuthKey = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 252), DisplayString()).setLabel("internetProfile-IpOptions-OspfOptions-Md5AuthKey").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_Md5AuthKey.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_OspfOptions_Md5AuthKey.setDescription('The MD5 authentication key.') internetProfile_IpOptions_MulticastRateLimit = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 39), Integer32()).setLabel("internetProfile-IpOptions-MulticastRateLimit").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_MulticastRateLimit.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_MulticastRateLimit.setDescription('The multicast rate limit in seconds.') internetProfile_IpOptions_MulticastGroupLeaveDelay = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 40), Integer32()).setLabel("internetProfile-IpOptions-MulticastGroupLeaveDelay").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_MulticastGroupLeaveDelay.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_MulticastGroupLeaveDelay.setDescription('The multicast group leave in seconds. This is only for IGMP Version 2') internetProfile_IpOptions_ClientDnsPrimaryAddr = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 41), IpAddress()).setLabel("internetProfile-IpOptions-ClientDnsPrimaryAddr").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_ClientDnsPrimaryAddr.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_ClientDnsPrimaryAddr.setDescription('User specific DNS Primary Address.') internetProfile_IpOptions_ClientDnsSecondaryAddr = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 42), IpAddress()).setLabel("internetProfile-IpOptions-ClientDnsSecondaryAddr").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_ClientDnsSecondaryAddr.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_ClientDnsSecondaryAddr.setDescription('User specific DNS Secondary Address.') internetProfile_IpOptions_ClientDnsAddrAssign = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 43), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpOptions-ClientDnsAddrAssign").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_ClientDnsAddrAssign.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_ClientDnsAddrAssign.setDescription('A flag to control assigning user specific DNS Addresses.') internetProfile_IpOptions_ClientDefaultGateway = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 44), IpAddress()).setLabel("internetProfile-IpOptions-ClientDefaultGateway").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_ClientDefaultGateway.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_ClientDefaultGateway.setDescription("The default gateway to be used for traffic from this connection, if no specific route is found in the routing table. If left zero, the system's default route will be used.") internetProfile_IpOptions_TosOptions_Active = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 45), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpOptions-TosOptions-Active").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_TosOptions_Active.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_TosOptions_Active.setDescription('Activate type of service for this connection.') internetProfile_IpOptions_TosOptions_Precedence = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 46), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 33, 65, 97, 129, 161, 193, 225))).clone(namedValues=NamedValues(("n-000", 1), ("n-001", 33), ("n-010", 65), ("n-011", 97), ("n-100", 129), ("n-101", 161), ("n-110", 193), ("n-111", 225)))).setLabel("internetProfile-IpOptions-TosOptions-Precedence").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_TosOptions_Precedence.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_TosOptions_Precedence.setDescription('Tag the precedence bits (priority bits) in the TOS octet of IP datagram header with this value when match occurs.') internetProfile_IpOptions_TosOptions_TypeOfService = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 47), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 5, 9, 17))).clone(namedValues=NamedValues(("normal", 1), ("cost", 3), ("reliability", 5), ("throughput", 9), ("latency", 17)))).setLabel("internetProfile-IpOptions-TosOptions-TypeOfService").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_TosOptions_TypeOfService.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_TosOptions_TypeOfService.setDescription('Tag the type of service field in the TOS octet of IP datagram header with this value when match occurs.') internetProfile_IpOptions_TosOptions_ApplyTo = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 48), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1025, 2049, 3073))).clone(namedValues=NamedValues(("incoming", 1025), ("outgoing", 2049), ("both", 3073)))).setLabel("internetProfile-IpOptions-TosOptions-ApplyTo").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_TosOptions_ApplyTo.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_TosOptions_ApplyTo.setDescription('Define how the type-of-service applies to data flow for this connection.') internetProfile_IpOptions_TosOptions_MarkingType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 459), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("precedenceTos", 1), ("dscp", 2)))).setLabel("internetProfile-IpOptions-TosOptions-MarkingType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_TosOptions_MarkingType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_TosOptions_MarkingType.setDescription('Select type of packet marking.') internetProfile_IpOptions_TosOptions_Dscp = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 460), DisplayString()).setLabel("internetProfile-IpOptions-TosOptions-Dscp").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_TosOptions_Dscp.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_TosOptions_Dscp.setDescription('DSCP tag to be used in marking of the packets (if marking-type = dscp).') internetProfile_IpOptions_TosFilter = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 49), DisplayString()).setLabel("internetProfile-IpOptions-TosFilter").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_TosFilter.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_TosFilter.setDescription('The name of type-of-service filter. All filters are referenced by name so a name must be assigned to active filters.') internetProfile_IpOptions_ClientWinsPrimaryAddr = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 293), IpAddress()).setLabel("internetProfile-IpOptions-ClientWinsPrimaryAddr").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_ClientWinsPrimaryAddr.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_ClientWinsPrimaryAddr.setDescription('User specific WINS Primary Address.') internetProfile_IpOptions_ClientWinsSecondaryAddr = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 294), IpAddress()).setLabel("internetProfile-IpOptions-ClientWinsSecondaryAddr").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_ClientWinsSecondaryAddr.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_ClientWinsSecondaryAddr.setDescription('User specific WINS Secondary Address.') internetProfile_IpOptions_ClientWinsAddrAssign = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 295), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpOptions-ClientWinsAddrAssign").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_ClientWinsAddrAssign.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_ClientWinsAddrAssign.setDescription('A flag to control assigning user specific WINS Addresses.') internetProfile_IpOptions_PrivateRouteTable = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 296), DisplayString()).setLabel("internetProfile-IpOptions-PrivateRouteTable").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_PrivateRouteTable.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_PrivateRouteTable.setDescription('Private route table ID for this connection') internetProfile_IpOptions_PrivateRouteProfileRequired = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 297), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpOptions-PrivateRouteProfileRequired").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_PrivateRouteProfileRequired.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_PrivateRouteProfileRequired.setDescription('Parameter to decide default action,if private route table not found. If set to yes, the call will be cleared if the private route profile cannot be found. If set to no, the call will be allowed to complete, even if the private route profile cannot be found.') internetProfile_IpOptions_NatProfileName = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 419), DisplayString()).setLabel("internetProfile-IpOptions-NatProfileName").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_NatProfileName.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_NatProfileName.setDescription('The profile to use for NAT translations on this connection.') internetProfile_IpOptions_AddressRealm = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 421), Integer32()).setLabel("internetProfile-IpOptions-AddressRealm").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpOptions_AddressRealm.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpOptions_AddressRealm.setDescription('Used to determine which interfaces and WANs are connected to the same address space--they will have the identical values in this field.') internetProfile_IpxOptions_IpxRoutingEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 50), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpxOptions-IpxRoutingEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpxOptions_IpxRoutingEnabled.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_IpxRoutingEnabled.setDescription('Enable/disable IPX routing for this connection.') internetProfile_IpxOptions_PeerMode = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 51), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("routerPeer", 1), ("dialinPeer", 2)))).setLabel("internetProfile-IpxOptions-PeerMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpxOptions_PeerMode.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_PeerMode.setDescription('Enable/disable full routing between peer or use the pool to assign a network number.') internetProfile_IpxOptions_Rip = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 52), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("both", 1), ("send", 2), ("recv", 3), ("off", 4)))).setLabel("internetProfile-IpxOptions-Rip").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpxOptions_Rip.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_Rip.setDescription('This field specifies RIP traffic when peer is a Router.') internetProfile_IpxOptions_Sap = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 53), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("both", 1), ("send", 2), ("recv", 3), ("off", 4)))).setLabel("internetProfile-IpxOptions-Sap").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpxOptions_Sap.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_Sap.setDescription('This field specifies SAP traffic when peer is a Router.') internetProfile_IpxOptions_DialQuery = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 54), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpxOptions-DialQuery").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpxOptions_DialQuery.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_DialQuery.setDescription('Indicate if we should dial to this connection if our SAP table contains no NetWare file servers, and a workstation makes a get-nearest-server query.') internetProfile_IpxOptions_NetNumber = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 55), DisplayString()).setLabel("internetProfile-IpxOptions-NetNumber").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpxOptions_NetNumber.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_NetNumber.setDescription("The network number of the other router. May be zero, if we don't know what it is.") internetProfile_IpxOptions_NetAlias = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 56), DisplayString()).setLabel("internetProfile-IpxOptions-NetAlias").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpxOptions_NetAlias.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_NetAlias.setDescription('The network number of the point to point link.') internetProfile_IpxOptions_SapFilter = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 57), DisplayString()).setLabel("internetProfile-IpxOptions-SapFilter").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpxOptions_SapFilter.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_SapFilter.setDescription('The name of the IPX SAP filter, if any, to use with this connection.') internetProfile_IpxOptions_IpxSpoofing = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 58), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("clientSpoofing", 2), ("serverSpoofing", 3)))).setLabel("internetProfile-IpxOptions-IpxSpoofing").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpxOptions_IpxSpoofing.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_IpxSpoofing.setDescription('Selects the IPX spoofing mode when bridging.') internetProfile_IpxOptions_SpoofingTimeout = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 59), Integer32()).setLabel("internetProfile-IpxOptions-SpoofingTimeout").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpxOptions_SpoofingTimeout.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_SpoofingTimeout.setDescription('IPX NetWare connection timeout value.') internetProfile_IpxOptions_IpxSapHsProxy = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 60), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpxOptions-IpxSapHsProxy").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpxOptions_IpxSapHsProxy.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_IpxSapHsProxy.setDescription('Use IPX SAP Home Server Proxy.') internetProfile_IpxOptions_IpxHeaderCompression = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 61), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpxOptions-IpxHeaderCompression").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpxOptions_IpxHeaderCompression.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_IpxHeaderCompression.setDescription('Use IPX header compression if encapsulation supports it.') internetProfile_BridgingOptions_BridgingGroup = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 62), Integer32()).setLabel("internetProfile-BridgingOptions-BridgingGroup").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_BridgingOptions_BridgingGroup.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_BridgingOptions_BridgingGroup.setDescription('Select the bridging group for this connection. Group 0 disables bridging. All packets not routed will be bridged to interfaces belonging to the same group.') internetProfile_BridgingOptions_DialOnBroadcast = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 63), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-BridgingOptions-DialOnBroadcast").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_BridgingOptions_DialOnBroadcast.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_BridgingOptions_DialOnBroadcast.setDescription('Enable/disable outdial when broadcast frames are received.') internetProfile_BridgingOptions_IpxSpoofing = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 64), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("clientSpoofing", 2), ("serverSpoofing", 3)))).setLabel("internetProfile-BridgingOptions-IpxSpoofing").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_BridgingOptions_IpxSpoofing.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_BridgingOptions_IpxSpoofing.setDescription('Selects the IPX spoofing mode when bridging.') internetProfile_BridgingOptions_SpoofingTimeout = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 65), Integer32()).setLabel("internetProfile-BridgingOptions-SpoofingTimeout").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_BridgingOptions_SpoofingTimeout.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_BridgingOptions_SpoofingTimeout.setDescription('IPX NetWare connection timeout value.') internetProfile_BridgingOptions_Fill2 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 253), Integer32()).setLabel("internetProfile-BridgingOptions-Fill2").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_BridgingOptions_Fill2.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_BridgingOptions_Fill2.setDescription('filler to get to 32 bit boundary') internetProfile_BridgingOptions_BridgeType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 66), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("transparentBridging", 1), ("ipxClientBridging", 2), ("noBridging", 3)))).setLabel("internetProfile-BridgingOptions-BridgeType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_BridgingOptions_BridgeType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_BridgingOptions_BridgeType.setDescription('For the P25 user interface.') internetProfile_BridgingOptions_Egress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 285), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-BridgingOptions-Egress").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_BridgingOptions_Egress.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_BridgingOptions_Egress.setDescription('Enable/disable Egress on this interface. This interface will become the exit path for all packets destined to the network.') internetProfile_SessionOptions_CallFilter = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 67), DisplayString()).setLabel("internetProfile-SessionOptions-CallFilter").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_CallFilter.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_CallFilter.setDescription('The name of the filter used to determine if a packet should cause the idle timer to be reset or, when the answer profile is used for connection profile defaults, if a call should be placed.') internetProfile_SessionOptions_DataFilter = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 68), DisplayString()).setLabel("internetProfile-SessionOptions-DataFilter").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_DataFilter.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_DataFilter.setDescription('The name of the filter used to determine if packets should be forwarded or dropped.') internetProfile_SessionOptions_FilterPersistence = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 69), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-SessionOptions-FilterPersistence").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_FilterPersistence.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_FilterPersistence.setDescription('Determines if filters should persist between calls.') internetProfile_SessionOptions_FilterRequired = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 298), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-SessionOptions-FilterRequired").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_FilterRequired.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_FilterRequired.setDescription('If No, the call will be allowed to come up even if the specified filter was not found either locally, in the cache or in RADIUS. If Yes, then the call will be cleared if the specified filter was not found either locally, in the cache or in RADIUS.') internetProfile_SessionOptions_IdleTimer = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 70), Integer32()).setLabel("internetProfile-SessionOptions-IdleTimer").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_IdleTimer.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_IdleTimer.setDescription('The number of seconds of no activity before a call will be dropped. The value 0 disables the idle timer.') internetProfile_SessionOptions_TsIdleMode = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 71), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("noIdle", 1), ("inputOnlyIdle", 2), ("inputOutputIdle", 3)))).setLabel("internetProfile-SessionOptions-TsIdleMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_TsIdleMode.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_TsIdleMode.setDescription('The method used to determine when the terminal server idle session timer is reset.') internetProfile_SessionOptions_TsIdleTimer = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 72), Integer32()).setLabel("internetProfile-SessionOptions-TsIdleTimer").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_TsIdleTimer.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_TsIdleTimer.setDescription('The number of seconds of no activity as defined by the idle mode before a session will be terminated.') internetProfile_SessionOptions_Backup = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 73), DisplayString()).setLabel("internetProfile-SessionOptions-Backup").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_Backup.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_Backup.setDescription('Name of the backup connection profile.') internetProfile_SessionOptions_Secondary = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 74), DisplayString()).setLabel("internetProfile-SessionOptions-Secondary").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_Secondary.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_Secondary.setDescription('A secondary internet profile used for dial back-up support.') internetProfile_SessionOptions_MaxCallDuration = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 76), Integer32()).setLabel("internetProfile-SessionOptions-MaxCallDuration").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_MaxCallDuration.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_MaxCallDuration.setDescription('The number of minutes of connect time before a call will be dropped. The value 0 disables the connection timer.') internetProfile_SessionOptions_VtpGateway = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 77), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-SessionOptions-VtpGateway").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_VtpGateway.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_VtpGateway.setDescription("This profile is an VTP gateway connection to an mobile client's home network.") internetProfile_SessionOptions_Blockcountlimit = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 78), Integer32()).setLabel("internetProfile-SessionOptions-Blockcountlimit").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_Blockcountlimit.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_Blockcountlimit.setDescription('Maximum number of failed attempts allowed for connection before blocking the call.') internetProfile_SessionOptions_Blockduration = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 79), Integer32()).setLabel("internetProfile-SessionOptions-Blockduration").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_Blockduration.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_Blockduration.setDescription('Number of seconds that connection attempts to non responding network will be blocked before allowing retries.') internetProfile_SessionOptions_MaxVtpTunnels = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 81), Integer32()).setLabel("internetProfile-SessionOptions-MaxVtpTunnels").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_MaxVtpTunnels.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_MaxVtpTunnels.setDescription('If this profile is a VTP gateway, then this parameter specifies the maximum number of VTP tunnels allowed to the VTP home network specified by the name of this profile.') internetProfile_SessionOptions_RedialDelayLimit = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 82), Integer32()).setLabel("internetProfile-SessionOptions-RedialDelayLimit").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_RedialDelayLimit.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_RedialDelayLimit.setDescription('Number of seconds delay before allowing a redial') internetProfile_SessionOptions_SesRateType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 83), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("disabled", 1), ("sdsl", 2), ("adslCap", 3), ("adslCell", 4), ("adslDmt", 5)))).setLabel("internetProfile-SessionOptions-SesRateType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_SesRateType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_SesRateType.setDescription('The per ses rate type.') internetProfile_SessionOptions_SesRateMode = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 84), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3))).clone(namedValues=NamedValues(("autobaud", 2), ("singlebaud", 3)))).setLabel("internetProfile-SessionOptions-SesRateMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_SesRateMode.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_SesRateMode.setDescription('The per ses rate mode.') internetProfile_SessionOptions_SesAdslCapUpRate = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 85), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(51, 52, 53, 54, 55, 56, 57))).clone(namedValues=NamedValues(("n-1088000", 51), ("n-952000", 52), ("n-816000", 53), ("n-680000", 54), ("n-544000", 55), ("n-408000", 56), ("n-272000", 57)))).setLabel("internetProfile-SessionOptions-SesAdslCapUpRate").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_SesAdslCapUpRate.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_SesAdslCapUpRate.setDescription('The per session adsl-cap up stream data rate') internetProfile_SessionOptions_SesAdslCapDownRate = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 86), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=NamedValues(("n-7168000", 1), ("n-6272000", 2), ("n-5120000", 3), ("n-4480000", 4), ("n-3200000", 5), ("n-2688000", 6), ("n-2560000", 7), ("n-2240000", 8), ("n-1920000", 9), ("n-1600000", 10), ("n-1280000", 11), ("n-960000", 12), ("n-640000", 13)))).setLabel("internetProfile-SessionOptions-SesAdslCapDownRate").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_SesAdslCapDownRate.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_SesAdslCapDownRate.setDescription('The per session adsl-cap down stream data rate') internetProfile_SessionOptions_SesSdslRate = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 87), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))).clone(namedValues=NamedValues(("n-144000", 1), ("n-272000", 2), ("n-400000", 3), ("n-528000", 4), ("n-784000", 5), ("n-1168000", 6), ("n-1552000", 7), ("n-2320000", 8), ("n-160000", 9), ("n-192000", 10), ("n-208000", 11), ("n-384000", 12), ("n-416000", 13), ("n-768000", 14), ("n-1040000", 15), ("n-1152000", 16), ("n-1536000", 17), ("n-1568000", 18), ("n-1680000", 19), ("n-1920000", 20), ("n-2160000", 21)))).setLabel("internetProfile-SessionOptions-SesSdslRate").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_SesSdslRate.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_SesSdslRate.setDescription('The per session symetrical data rate. This parameter does not pertain to the old 16 port sdsl card.') internetProfile_SessionOptions_SesAdslDmtUpRate = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 88), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161))).clone(namedValues=NamedValues(("upstrmMegMax", 151), ("n-1088000", 152), ("n-928000", 153), ("n-896000", 154), ("n-800000", 155), ("n-768000", 156), ("n-640000", 157), ("n-512000", 158), ("n-384000", 159), ("n-256000", 160), ("n-128000", 161)))).setLabel("internetProfile-SessionOptions-SesAdslDmtUpRate").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_SesAdslDmtUpRate.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_SesAdslDmtUpRate.setDescription('The per session adsl-dmt up stream data rate') internetProfile_SessionOptions_SesAdslDmtDownRate = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 89), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122))).clone(namedValues=NamedValues(("dwnstrmMegMax", 101), ("n-9504000", 102), ("n-8960000", 103), ("n-8000000", 104), ("n-7168000", 105), ("n-6272000", 106), ("n-5120000", 107), ("n-4480000", 108), ("n-3200000", 109), ("n-2688000", 110), ("n-2560000", 111), ("n-2240000", 112), ("n-1920000", 113), ("n-1600000", 114), ("n-1280000", 115), ("n-960000", 116), ("n-768000", 117), ("n-640000", 118), ("n-512000", 119), ("n-384000", 120), ("n-256000", 121), ("n-128000", 122)))).setLabel("internetProfile-SessionOptions-SesAdslDmtDownRate").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_SesAdslDmtDownRate.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_SesAdslDmtDownRate.setDescription('The per session adsl-dmt down stream data rate') internetProfile_SessionOptions_RxDataRateLimit = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 90), Integer32()).setLabel("internetProfile-SessionOptions-RxDataRateLimit").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_RxDataRateLimit.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_RxDataRateLimit.setDescription('The maximum information rate to be received from the named station (kbps).') internetProfile_SessionOptions_TxDataRateLimit = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 91), Integer32()).setLabel("internetProfile-SessionOptions-TxDataRateLimit").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_TxDataRateLimit.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_TxDataRateLimit.setDescription('The maximum information rate to be transmitted to the named station (kbps).') internetProfile_SessionOptions_CirTimer = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 414), Integer32()).setLabel("internetProfile-SessionOptions-CirTimer").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_CirTimer.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_CirTimer.setDescription('The CIR timer in (milli-sec).') internetProfile_SessionOptions_TrafficShaper = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 286), Integer32()).setLabel("internetProfile-SessionOptions-TrafficShaper").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_TrafficShaper.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_TrafficShaper.setDescription('The traffic shaper assigned to this profile.') internetProfile_SessionOptions_MaxtapLogServer = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 299), DisplayString()).setLabel("internetProfile-SessionOptions-MaxtapLogServer").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_MaxtapLogServer.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_MaxtapLogServer.setDescription('The name or the IP Address of the host to which the MaxTap start/stop notifications has to be sent.') internetProfile_SessionOptions_MaxtapDataServer = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 300), DisplayString()).setLabel("internetProfile-SessionOptions-MaxtapDataServer").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_MaxtapDataServer.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_MaxtapDataServer.setDescription('The name or the IP Address of the host to which the tapped data has to be sent.') internetProfile_SessionOptions_Priority = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 415), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("high", 2)))).setLabel("internetProfile-SessionOptions-Priority").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SessionOptions_Priority.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SessionOptions_Priority.setDescription('Priority of the link') internetProfile_TelcoOptions_AnswerOriginate = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 92), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("ansAndOrig", 1), ("answerOnly", 2), ("originateOnly", 3)))).setLabel("internetProfile-TelcoOptions-AnswerOriginate").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TelcoOptions_AnswerOriginate.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TelcoOptions_AnswerOriginate.setDescription('Specifies if this profile can be used for incoming calls, outgoing calls, or both.') internetProfile_TelcoOptions_Callback = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 93), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-TelcoOptions-Callback").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TelcoOptions_Callback.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TelcoOptions_Callback.setDescription('When true a call received from the named host requires callback security. The number dialed is the phoneNumber from this connection profile.') internetProfile_TelcoOptions_CallType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 94), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("off", 1), ("ft1", 2), ("ft1Mpp", 3), ("bri", 4), ("ft1Bo", 5), ("dChan", 6), ("aodi", 7), ("megamax", 8)))).setLabel("internetProfile-TelcoOptions-CallType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TelcoOptions_CallType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TelcoOptions_CallType.setDescription('Nailed channel usage for this connection.') internetProfile_TelcoOptions_NailedGroups = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 95), DisplayString()).setLabel("internetProfile-TelcoOptions-NailedGroups").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TelcoOptions_NailedGroups.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TelcoOptions_NailedGroups.setDescription('All the nailed groups belonging to a session. MPP supports multiple groups.') internetProfile_TelcoOptions_Ft1Caller = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 96), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-TelcoOptions-Ft1Caller").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TelcoOptions_Ft1Caller.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TelcoOptions_Ft1Caller.setDescription('Specifies if this side should initiate calls when a mix of nailed and switched calls are being used.') internetProfile_TelcoOptions_Force56kbps = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 97), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-TelcoOptions-Force56kbps").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TelcoOptions_Force56kbps.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TelcoOptions_Force56kbps.setDescription('If yes then inbound 64 kbps calls are connected at 56 kbps.') internetProfile_TelcoOptions_DataService = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 98), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 255, 263))).clone(namedValues=NamedValues(("voice", 1), ("n-56kRestricted", 2), ("n-64kClear", 3), ("n-64kRestricted", 4), ("n-56kClear", 5), ("n-384kRestricted", 6), ("n-384kClear", 7), ("n-1536kClear", 8), ("n-1536kRestricted", 9), ("n-128kClear", 10), ("n-192kClear", 11), ("n-256kClear", 12), ("n-320kClear", 13), ("dws384Clear", 14), ("n-448Clear", 15), ("n-512Clear", 16), ("n-576Clear", 17), ("n-640Clear", 18), ("n-704Clear", 19), ("n-768Clear", 20), ("n-832Clear", 21), ("n-896Clear", 22), ("n-960Clear", 23), ("n-1024Clear", 24), ("n-1088Clear", 25), ("n-1152Clear", 26), ("n-1216Clear", 27), ("n-1280Clear", 28), ("n-1344Clear", 29), ("n-1408Clear", 30), ("n-1472Clear", 31), ("n-1600Clear", 32), ("n-1664Clear", 33), ("n-1728Clear", 34), ("n-1792Clear", 35), ("n-1856Clear", 36), ("n-1920Clear", 37), ("x30RestrictedBearer", 39), ("v110ClearBearer", 40), ("n-64kX30Restricted", 41), ("n-56kV110Clear", 42), ("modem", 43), ("atmodem", 44), ("n-2456kV110", 46), ("n-4856kV110", 47), ("n-9656kV110", 48), ("n-19256kV110", 49), ("n-38456kV110", 50), ("n-2456krV110", 51), ("n-4856krV110", 52), ("n-9656krV110", 53), ("n-19256krV110", 54), ("n-38456krV110", 55), ("n-2464kV110", 56), ("n-4864kV110", 57), ("n-9664kV110", 58), ("n-19264kV110", 59), ("n-38464kV110", 60), ("n-2464krV110", 61), ("n-4864krV110", 62), ("n-9664krV110", 63), ("n-19264krV110", 64), ("n-38464krV110", 65), ("v32", 66), ("phs64k", 67), ("voiceOverIp", 68), ("atmSvc", 70), ("frameRelaySvc", 71), ("vpnTunnel", 72), ("wormarq", 73), ("n-14456kV110", 74), ("n-28856kV110", 75), ("n-14456krV110", 76), ("n-28856krV110", 77), ("n-14464kV110", 78), ("n-28864kV110", 79), ("n-14464krV110", 80), ("n-28864krV110", 81), ("modem31khzAudio", 82), ("x25Svc", 83), ("n-144kClear", 255), ("iptoip", 263)))).setLabel("internetProfile-TelcoOptions-DataService").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TelcoOptions_DataService.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TelcoOptions_DataService.setDescription('The type of bearer channel capability to set up for each switched call in the session.') internetProfile_TelcoOptions_CallByCall = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 99), Integer32()).setLabel("internetProfile-TelcoOptions-CallByCall").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TelcoOptions_CallByCall.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TelcoOptions_CallByCall.setDescription('The call-by-call signaling value for PRI lines.') internetProfile_TelcoOptions_BillingNumber = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 100), DisplayString()).setLabel("internetProfile-TelcoOptions-BillingNumber").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TelcoOptions_BillingNumber.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TelcoOptions_BillingNumber.setDescription("A number used for billing purposes. This number, if present, is used as either a 'billing suffix' or the 'calling party number'.") internetProfile_TelcoOptions_TransitNumber = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 101), DisplayString()).setLabel("internetProfile-TelcoOptions-TransitNumber").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TelcoOptions_TransitNumber.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TelcoOptions_TransitNumber.setDescription("The string for use in the 'transit network IE' for PRI calling when going through a LEC.") internetProfile_TelcoOptions_ExpectCallback = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 102), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-TelcoOptions-ExpectCallback").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TelcoOptions_ExpectCallback.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TelcoOptions_ExpectCallback.setDescription('When true we expect calls to the named host will result in a callback from that host. This would occur if the remote host were authenticating us based on Caller ID.') internetProfile_TelcoOptions_DialoutAllowed = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 103), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-TelcoOptions-DialoutAllowed").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TelcoOptions_DialoutAllowed.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TelcoOptions_DialoutAllowed.setDescription('When true, this connection is allowed to use the LAN modems to place outgoing calls.') internetProfile_TelcoOptions_DelayCallback = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 104), Integer32()).setLabel("internetProfile-TelcoOptions-DelayCallback").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TelcoOptions_DelayCallback.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TelcoOptions_DelayCallback.setDescription('Number of seconds to delay before dialing back. Values of 0-3 seconds are treated as 3 seconds.') internetProfile_TelcoOptions_NasPortType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 254), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3))).clone(namedValues=NamedValues(("async", 4), ("sync", 5), ("isdnSync", 6), ("v120IsdnAsync", 7), ("v110IsdnAsync", 8), ("virtual", 9), ("v32IsdnAsync", 10), ("vdspAsyncIsdn", 11), ("arqPdcIsdn", 12), ("any", 1), ("digital", 2), ("analog", 3)))).setLabel("internetProfile-TelcoOptions-NasPortType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TelcoOptions_NasPortType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TelcoOptions_NasPortType.setDescription('Indicates the type of physical port being used.') internetProfile_PppOptions_SendAuthMode = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 105), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("noPppAuth", 1), ("papPppAuth", 2), ("chapPppAuth", 3), ("anyPppAuth", 4), ("desPapPppAuth", 5), ("tokenPapPppAuth", 6), ("tokenChapPppAuth", 7), ("cacheTokenPppAuth", 8), ("msChapPppAuth", 9), ("papPreferred", 10)))).setLabel("internetProfile-PppOptions-SendAuthMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_SendAuthMode.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_SendAuthMode.setDescription('The type of PPP authentication to use for this call.') internetProfile_PppOptions_PppCircuit = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 422), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("transparent", 2)))).setLabel("internetProfile-PppOptions-PppCircuit").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_PppCircuit.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_PppCircuit.setDescription('PPP Circuit. Set to type to enable the PPP Circuit Mode.') internetProfile_PppOptions_PppCircuitName = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 423), DisplayString()).setLabel("internetProfile-PppOptions-PppCircuitName").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_PppCircuitName.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_PppCircuitName.setDescription('The peer datalink identifier for a PPP circuit.') internetProfile_PppOptions_BiDirectionalAuth = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 354), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("allowed", 2), ("required", 3)))).setLabel("internetProfile-PppOptions-BiDirectionalAuth").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_BiDirectionalAuth.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_BiDirectionalAuth.setDescription('This parameter enables the authentication to be done in both directions. It can be used only with CHAP or MS-CHAP authentication.') internetProfile_PppOptions_SendPassword = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 106), DisplayString()).setLabel("internetProfile-PppOptions-SendPassword").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_SendPassword.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_SendPassword.setDescription('This is the password sent to the far end; used for MPP and PPP PAP and CHAP security.') internetProfile_PppOptions_SubstituteSendName = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 107), DisplayString()).setLabel("internetProfile-PppOptions-SubstituteSendName").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_SubstituteSendName.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_SubstituteSendName.setDescription('Name send to the far end, if different from the global system name.') internetProfile_PppOptions_RecvPassword = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 108), DisplayString()).setLabel("internetProfile-PppOptions-RecvPassword").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_RecvPassword.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_RecvPassword.setDescription('This is the password received from the far end; used for MPP and PPP PAP and CHAP security.') internetProfile_PppOptions_SubstituteRecvName = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 355), DisplayString()).setLabel("internetProfile-PppOptions-SubstituteRecvName").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_SubstituteRecvName.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_SubstituteRecvName.setDescription('Name expected from the far end used during a bi-directional authentication. If it is null the profile name will be used in place. This parameter is used only for outgoing calls.') internetProfile_PppOptions_LinkCompression = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 109), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("none", 1), ("stac", 2), ("stac9", 3), ("msStac", 4), ("mppc", 5)))).setLabel("internetProfile-PppOptions-LinkCompression").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_LinkCompression.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_LinkCompression.setDescription('The type of link compression to use for PPP, MP, and MPP calls.') internetProfile_PppOptions_Mru = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 110), Integer32()).setLabel("internetProfile-PppOptions-Mru").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_Mru.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_Mru.setDescription('The Maximum Receive Unit, i.e. the largest frame we will accept.') internetProfile_PppOptions_Lqm = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 111), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-PppOptions-Lqm").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_Lqm.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_Lqm.setDescription('Link Quality Monitoring. Set to Yes to enable the PPP LQM protocol.') internetProfile_PppOptions_LqmMinimumPeriod = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 112), Integer32()).setLabel("internetProfile-PppOptions-LqmMinimumPeriod").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_LqmMinimumPeriod.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_LqmMinimumPeriod.setDescription('The minimum period, in 1/100 of a second, that we will accept/send link quality monitoring packets.') internetProfile_PppOptions_LqmMaximumPeriod = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 113), Integer32()).setLabel("internetProfile-PppOptions-LqmMaximumPeriod").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_LqmMaximumPeriod.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_LqmMaximumPeriod.setDescription('The maximum period, in 1/100 of a second, that we will accept/send link quality monitoring packets.') internetProfile_PppOptions_CbcpEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 114), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-PppOptions-CbcpEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_CbcpEnabled.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_CbcpEnabled.setDescription('Enable Microsoft Callback Control Protocol Negotiation.') internetProfile_PppOptions_ModeCallbackControl = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 115), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3, 4, 8))).clone(namedValues=NamedValues(("cbcpNoCallback", 2), ("cbcpUserNumber", 3), ("cbcpProfileNum", 4), ("cbcpAll", 8)))).setLabel("internetProfile-PppOptions-ModeCallbackControl").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_ModeCallbackControl.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_ModeCallbackControl.setDescription('CBCP operation allowed on to use for this call.') internetProfile_PppOptions_DelayCallbackControl = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 116), Integer32()).setLabel("internetProfile-PppOptions-DelayCallbackControl").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_DelayCallbackControl.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_DelayCallbackControl.setDescription('Delay to request before callback to us is initiated') internetProfile_PppOptions_TrunkGroupCallbackControl = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 117), Integer32()).setLabel("internetProfile-PppOptions-TrunkGroupCallbackControl").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_TrunkGroupCallbackControl.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_TrunkGroupCallbackControl.setDescription('Trunk group to use for the callback.') internetProfile_PppOptions_SplitCodeDotUserEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 118), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-PppOptions-SplitCodeDotUserEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_SplitCodeDotUserEnabled.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_SplitCodeDotUserEnabled.setDescription('TRUE if local splitting of passwords is desired in CACHE-TOKEN. This feature permits the use of usernames longer than five chars, when using a typical 4 digit pin and 6 digit ACE token code.') internetProfile_PppOptions_PppInterfaceType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 119), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("hdlcLike", 1), ("frameRelay", 2), ("aal5", 3), ("x25", 4)))).setLabel("internetProfile-PppOptions-PppInterfaceType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_PppInterfaceType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_PppInterfaceType.setDescription('PPP network interface for this profile.') internetProfile_PppOptions_Mtu = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 301), Integer32()).setLabel("internetProfile-PppOptions-Mtu").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppOptions_Mtu.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppOptions_Mtu.setDescription('The Maximum Transmit Unit, i.e. the largest frame we will transmit.') internetProfile_MpOptions_BaseChannelCount = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 120), Integer32()).setLabel("internetProfile-MpOptions-BaseChannelCount").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MpOptions_BaseChannelCount.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MpOptions_BaseChannelCount.setDescription('When the session is initially set up, and if it is a fixed session, the number of channels to be used for the call.') internetProfile_MpOptions_MinimumChannels = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 121), Integer32()).setLabel("internetProfile-MpOptions-MinimumChannels").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MpOptions_MinimumChannels.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MpOptions_MinimumChannels.setDescription('The default value for the minimum number of channels in a multi-channel call.') internetProfile_MpOptions_MaximumChannels = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 122), Integer32()).setLabel("internetProfile-MpOptions-MaximumChannels").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MpOptions_MaximumChannels.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MpOptions_MaximumChannels.setDescription('The default value for the maximum number of channels in a multi-channel call.') internetProfile_MpOptions_BacpEnable = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 123), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-MpOptions-BacpEnable").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MpOptions_BacpEnable.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MpOptions_BacpEnable.setDescription('Enable Bandwidth Allocation Control Protocol (BACP).') internetProfile_MpOptions_BodEnable = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 255), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-MpOptions-BodEnable").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MpOptions_BodEnable.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MpOptions_BodEnable.setDescription('Enable Bandwidth On Demand.') internetProfile_MpOptions_CallbackrequestEnable = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 284), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-MpOptions-CallbackrequestEnable").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MpOptions_CallbackrequestEnable.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MpOptions_CallbackrequestEnable.setDescription('Allow BAP CallBackRequest.') internetProfile_MppOptions_AuxSendPassword = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 124), DisplayString()).setLabel("internetProfile-MppOptions-AuxSendPassword").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MppOptions_AuxSendPassword.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MppOptions_AuxSendPassword.setDescription('This is the password sent to the far end; used for MPP PAP-TOKEN-CHAP security.') internetProfile_MppOptions_DynamicAlgorithm = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 125), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("constant", 1), ("linear", 2), ("quadratic", 3)))).setLabel("internetProfile-MppOptions-DynamicAlgorithm").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MppOptions_DynamicAlgorithm.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MppOptions_DynamicAlgorithm.setDescription('The algorithm to use to calculate the average link utilization. Bandwidth changes are performed on the average utilization, not current utilization.') internetProfile_MppOptions_BandwidthMonitorDirection = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 126), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("transmit", 1), ("transmitRecv", 2), ("none", 3)))).setLabel("internetProfile-MppOptions-BandwidthMonitorDirection").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MppOptions_BandwidthMonitorDirection.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MppOptions_BandwidthMonitorDirection.setDescription('The direction to monitor link utilization. A unit can monitor transmit, transmit and receive, or turn off monitoring entirely.') internetProfile_MppOptions_IncrementChannelCount = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 127), Integer32()).setLabel("internetProfile-MppOptions-IncrementChannelCount").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MppOptions_IncrementChannelCount.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MppOptions_IncrementChannelCount.setDescription('Number of channels to increment as a block.') internetProfile_MppOptions_DecrementChannelCount = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 128), Integer32()).setLabel("internetProfile-MppOptions-DecrementChannelCount").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MppOptions_DecrementChannelCount.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MppOptions_DecrementChannelCount.setDescription('Number of channels to decrement as a block.') internetProfile_MppOptions_SecondsHistory = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 129), Integer32()).setLabel("internetProfile-MppOptions-SecondsHistory").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MppOptions_SecondsHistory.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MppOptions_SecondsHistory.setDescription('The number of seconds of history that link utilization is averaged over to make bandwidth changes.') internetProfile_MppOptions_AddPersistence = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 130), Integer32()).setLabel("internetProfile-MppOptions-AddPersistence").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MppOptions_AddPersistence.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MppOptions_AddPersistence.setDescription('The number of seconds of that the average line utilization must exceed the target utilization before bandwidth will be added.') internetProfile_MppOptions_SubPersistence = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 131), Integer32()).setLabel("internetProfile-MppOptions-SubPersistence").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MppOptions_SubPersistence.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MppOptions_SubPersistence.setDescription('The number of seconds of that the average line utilization must fall below the target utilization before bandwidth will be reduced. Bandwidth will not be reduced if the reduced bandwidth would exceed the target utilization.') internetProfile_MppOptions_TargetUtilization = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 132), Integer32()).setLabel("internetProfile-MppOptions-TargetUtilization").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MppOptions_TargetUtilization.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MppOptions_TargetUtilization.setDescription('The default value for the target utilization. Bandwidth changes occur when the average utilization exceeds or falls below this value.') internetProfile_MppOptions_X25chanTargetUtilization = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 380), Integer32()).setLabel("internetProfile-MppOptions-X25chanTargetUtilization").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MppOptions_X25chanTargetUtilization.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MppOptions_X25chanTargetUtilization.setDescription('The default value for the X25 channel target utilization. Bandwidth changes occur when the average utilization exceeds or falls below this value.') internetProfile_FrOptions_FrameRelayProfile = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 133), DisplayString()).setLabel("internetProfile-FrOptions-FrameRelayProfile").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_FrOptions_FrameRelayProfile.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_FrOptions_FrameRelayProfile.setDescription('Frame Relay profile name, specifies link over which this circuit is established.') internetProfile_FrOptions_CircuitType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 302), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("pvc", 1), ("svc", 2)))).setLabel("internetProfile-FrOptions-CircuitType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_FrOptions_CircuitType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_FrOptions_CircuitType.setDescription('The type of circuit, permanent (PVC) or switched (SVC).') internetProfile_FrOptions_Dlci = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 134), Integer32()).setLabel("internetProfile-FrOptions-Dlci").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_FrOptions_Dlci.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_FrOptions_Dlci.setDescription('The assigned DLCI value for this connection, for PVC.') internetProfile_FrOptions_CircuitName = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 135), DisplayString()).setLabel("internetProfile-FrOptions-CircuitName").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_FrOptions_CircuitName.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_FrOptions_CircuitName.setDescription('The peer frame relay datalink for a FR circuit.') internetProfile_FrOptions_FrLinkType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 303), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("transparentLink", 1), ("hostLink", 2), ("trunkLink", 3)))).setLabel("internetProfile-FrOptions-FrLinkType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_FrOptions_FrLinkType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_FrOptions_FrLinkType.setDescription('The frame relay link type.') internetProfile_FrOptions_FrDirectEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 136), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-FrOptions-FrDirectEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_FrOptions_FrDirectEnabled.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_FrOptions_FrDirectEnabled.setDescription('Enable the frame relay direct option for this connection.') internetProfile_FrOptions_FrDirectProfile = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 137), DisplayString()).setLabel("internetProfile-FrOptions-FrDirectProfile").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_FrOptions_FrDirectProfile.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_FrOptions_FrDirectProfile.setDescription('Name of the frame relay profile that will be used for frame-relay-direct routing.') internetProfile_FrOptions_FrDirectDlci = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 138), Integer32()).setLabel("internetProfile-FrOptions-FrDirectDlci").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_FrOptions_FrDirectDlci.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_FrOptions_FrDirectDlci.setDescription('The DLCI of the frame relay direct connection.') internetProfile_FrOptions_MfrBundleName = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 287), DisplayString()).setLabel("internetProfile-FrOptions-MfrBundleName").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_FrOptions_MfrBundleName.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_FrOptions_MfrBundleName.setDescription('Name of the multi-link frame-relay profile.') internetProfile_TcpClearOptions_Host = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 139), DisplayString()).setLabel("internetProfile-TcpClearOptions-Host").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Host.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Host.setDescription('The first TCP CLEAR login host.') internetProfile_TcpClearOptions_Port = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 140), Integer32()).setLabel("internetProfile-TcpClearOptions-Port").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Port.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Port.setDescription('The TCP port of the first login-host.') internetProfile_TcpClearOptions_Host2 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 141), DisplayString()).setLabel("internetProfile-TcpClearOptions-Host2").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Host2.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Host2.setDescription('The second TCP CLEAR login host.') internetProfile_TcpClearOptions_Port2 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 142), Integer32()).setLabel("internetProfile-TcpClearOptions-Port2").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Port2.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Port2.setDescription('The TCP port of the second login-host.') internetProfile_TcpClearOptions_Host3 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 143), DisplayString()).setLabel("internetProfile-TcpClearOptions-Host3").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Host3.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Host3.setDescription('The third TCP CLEAR login host.') internetProfile_TcpClearOptions_Port3 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 144), Integer32()).setLabel("internetProfile-TcpClearOptions-Port3").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Port3.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Port3.setDescription('The TCP port of the third login-host.') internetProfile_TcpClearOptions_Host4 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 145), DisplayString()).setLabel("internetProfile-TcpClearOptions-Host4").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Host4.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Host4.setDescription('The fourth TCP CLEAR login host.') internetProfile_TcpClearOptions_Port4 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 146), Integer32()).setLabel("internetProfile-TcpClearOptions-Port4").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Port4.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TcpClearOptions_Port4.setDescription('The TCP port of the fourth login-host.') internetProfile_TcpClearOptions_DetectEndOfPacket = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 147), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-TcpClearOptions-DetectEndOfPacket").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TcpClearOptions_DetectEndOfPacket.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TcpClearOptions_DetectEndOfPacket.setDescription('Set to yes to attempt packet detection') internetProfile_TcpClearOptions_EndOfPacketPattern = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 148), DisplayString()).setLabel("internetProfile-TcpClearOptions-EndOfPacketPattern").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TcpClearOptions_EndOfPacketPattern.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TcpClearOptions_EndOfPacketPattern.setDescription('End of packet pattern to match') internetProfile_TcpClearOptions_FlushLength = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 149), Integer32()).setLabel("internetProfile-TcpClearOptions-FlushLength").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TcpClearOptions_FlushLength.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TcpClearOptions_FlushLength.setDescription('Set the maximum packet length before flush') internetProfile_TcpClearOptions_FlushTime = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 150), Integer32()).setLabel("internetProfile-TcpClearOptions-FlushTime").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TcpClearOptions_FlushTime.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TcpClearOptions_FlushTime.setDescription('Set the maximum packet hold time before flush') internetProfile_AraOptions_RecvPassword = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 151), DisplayString()).setLabel("internetProfile-AraOptions-RecvPassword").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AraOptions_RecvPassword.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AraOptions_RecvPassword.setDescription('The password received from the far end.') internetProfile_AraOptions_MaximumConnectTime = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 152), Integer32()).setLabel("internetProfile-AraOptions-MaximumConnectTime").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AraOptions_MaximumConnectTime.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AraOptions_MaximumConnectTime.setDescription('Maximum time in minutes that an ARA session can stay connected.') internetProfile_X25Options_X25Profile = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 157), DisplayString()).setLabel("internetProfile-X25Options-X25Profile").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_X25Profile.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_X25Profile.setDescription('Name of the x25 profile that this profile is associated with.') internetProfile_X25Options_Lcn = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 158), Integer32()).setLabel("internetProfile-X25Options-Lcn").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_Lcn.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_Lcn.setDescription('The LCN (if any) for this profile (for PVCs).') internetProfile_X25Options_X3Profile = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 159), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 10, 11))).clone(namedValues=NamedValues(("crtProfile", 1), ("infonetProfile", 2), ("defaultProfile", 3), ("scenProfile", 4), ("ccSspProfile", 5), ("ccTspProfile", 6), ("hardcopyProfile", 7), ("hdxProfile", 8), ("sharkProfile", 9), ("posProfile", 12), ("nullProfile", 10), ("customProfile", 11)))).setLabel("internetProfile-X25Options-X3Profile").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_X3Profile.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_X3Profile.setDescription('X.3 profile parameter index') internetProfile_X25Options_MaxCalls = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 160), Integer32()).setLabel("internetProfile-X25Options-MaxCalls").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_MaxCalls.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_MaxCalls.setDescription('Max number of unsuccessful calls') internetProfile_X25Options_VcTimerEnable = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 161), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-X25Options-VcTimerEnable").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_VcTimerEnable.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_VcTimerEnable.setDescription('PAD VCE enable flag') internetProfile_X25Options_X25EncapsType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 162), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("rfc877", 1), ("snap", 2), ("null", 3), ("ppp", 4), ("aodi", 5)))).setLabel("internetProfile-X25Options-X25EncapsType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_X25EncapsType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_X25EncapsType.setDescription('RFC1356 encaps Type: RFC877/SNAP/NULL') internetProfile_X25Options_RemoteX25Address = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 461), DisplayString()).setLabel("internetProfile-X25Options-RemoteX25Address").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_RemoteX25Address.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_RemoteX25Address.setDescription('X.25 address of remote station.') internetProfile_X25Options_ReverseCharge = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 164), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-X25Options-ReverseCharge").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_ReverseCharge.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_ReverseCharge.setDescription('Reverse charge request') internetProfile_X25Options_CallMode = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 165), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("both", 1), ("outgoing", 2), ("incoming", 3)))).setLabel("internetProfile-X25Options-CallMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_CallMode.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_CallMode.setDescription('Call mode for this interface: Both/Outgoing/Incoming') internetProfile_X25Options_AnswerX25Address = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 462), DisplayString()).setLabel("internetProfile-X25Options-AnswerX25Address").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_AnswerX25Address.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_AnswerX25Address.setDescription('Answer number: mandatory if call mode is incoming or both.') internetProfile_X25Options_InactivityTimer = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 167), Integer32()).setLabel("internetProfile-X25Options-InactivityTimer").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_X25Options_InactivityTimer.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_InactivityTimer.setDescription('X.25 Inactivity Timer.') internetProfile_X25Options_Windowsize = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 463), Integer32()).setLabel("internetProfile-X25Options-Windowsize").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_Windowsize.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_Windowsize.setDescription('Window size requested on outgoing X.25 calls.') internetProfile_X25Options_Packetsize = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 464), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(7, 8, 9, 10, 11, 12, 13))).clone(namedValues=NamedValues(("n-6", 7), ("n-7", 8), ("n-8", 9), ("n-9", 10), ("n-10", 11), ("n-11", 12), ("n-12", 13)))).setLabel("internetProfile-X25Options-Packetsize").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_Packetsize.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_Packetsize.setDescription('Packet size requested on outgoing X.25 calls.') internetProfile_X25Options_X25Rpoa = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 169), DisplayString()).setLabel("internetProfile-X25Options-X25Rpoa").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_X25Rpoa.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_X25Rpoa.setDescription('X.25 RPOA facility.') internetProfile_X25Options_X25CugIndex = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 170), DisplayString()).setLabel("internetProfile-X25Options-X25CugIndex").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_X25CugIndex.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_X25CugIndex.setDescription('X.25 CUG index. Supplied as a right-justified field e.g. 1 should be 0001') internetProfile_X25Options_X25Nui = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 171), DisplayString()).setLabel("internetProfile-X25Options-X25Nui").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_X25Nui.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_X25Nui.setDescription('X.25 NUI facility.') internetProfile_X25Options_PadBanner = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 172), DisplayString()).setLabel("internetProfile-X25Options-PadBanner").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_X25Options_PadBanner.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_PadBanner.setDescription('PAD banner message.') internetProfile_X25Options_PadPrompt = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 173), DisplayString()).setLabel("internetProfile-X25Options-PadPrompt").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_X25Options_PadPrompt.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_PadPrompt.setDescription('PAD prompt.') internetProfile_X25Options_PadNuiPrompt = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 174), DisplayString()).setLabel("internetProfile-X25Options-PadNuiPrompt").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_X25Options_PadNuiPrompt.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_PadNuiPrompt.setDescription('NUI prompt.') internetProfile_X25Options_PadNuiPwPrompt = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 175), DisplayString()).setLabel("internetProfile-X25Options-PadNuiPwPrompt").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_X25Options_PadNuiPwPrompt.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_PadNuiPwPrompt.setDescription('NUI password prompt.') internetProfile_X25Options_PadAlias1 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 176), DisplayString()).setLabel("internetProfile-X25Options-PadAlias1").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_X25Options_PadAlias1.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_PadAlias1.setDescription('PAD Alias number 1.') internetProfile_X25Options_PadAlias2 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 177), DisplayString()).setLabel("internetProfile-X25Options-PadAlias2").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_X25Options_PadAlias2.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_PadAlias2.setDescription('PAD Alias number 2.') internetProfile_X25Options_PadAlias3 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 178), DisplayString()).setLabel("internetProfile-X25Options-PadAlias3").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_X25Options_PadAlias3.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_PadAlias3.setDescription('PAD Alias number 3.') internetProfile_X25Options_PadDiagDisp = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 179), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-X25Options-PadDiagDisp").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_PadDiagDisp.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_PadDiagDisp.setDescription('PAD D/B channel Diagnostic display.') internetProfile_X25Options_PadDefaultListen = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 180), DisplayString()).setLabel("internetProfile-X25Options-PadDefaultListen").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_PadDefaultListen.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_PadDefaultListen.setDescription('PAD diag listen address.') internetProfile_X25Options_PadDefaultPw = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 181), DisplayString()).setLabel("internetProfile-X25Options-PadDefaultPw").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_PadDefaultPw.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_PadDefaultPw.setDescription('PAD diag password.') internetProfile_X25Options_X121SourceAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 471), DisplayString()).setLabel("internetProfile-X25Options-X121SourceAddress").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_X121SourceAddress.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_X121SourceAddress.setDescription('X.121 address to use to identify this call') internetProfile_X25Options_PosAuth = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 472), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2)))).setLabel("internetProfile-X25Options-PosAuth").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X25Options_PosAuth.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X25Options_PosAuth.setDescription('Use POS Authentication') internetProfile_EuOptions_DceAddr = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 182), Integer32()).setLabel("internetProfile-EuOptions-DceAddr").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_EuOptions_DceAddr.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_EuOptions_DceAddr.setDescription('The address of the DCE side of the link when the EUNET UI protocol is used.') internetProfile_EuOptions_DteAddr = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 183), Integer32()).setLabel("internetProfile-EuOptions-DteAddr").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_EuOptions_DteAddr.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_EuOptions_DteAddr.setDescription('The address of the DTE side of the link when the EUNET UI protocol is used.') internetProfile_EuOptions_Mru = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 184), Integer32()).setLabel("internetProfile-EuOptions-Mru").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_EuOptions_Mru.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_EuOptions_Mru.setDescription('The MRU used for EUNET protocol connections.') internetProfile_X75Options_KFramesOutstanding = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 185), Integer32()).setLabel("internetProfile-X75Options-KFramesOutstanding").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X75Options_KFramesOutstanding.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X75Options_KFramesOutstanding.setDescription('Number of frames outstanding before we require an ack. Defaults to 7.') internetProfile_X75Options_N2Retransmissions = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 186), Integer32()).setLabel("internetProfile-X75Options-N2Retransmissions").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X75Options_N2Retransmissions.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X75Options_N2Retransmissions.setDescription('Number of retransmissions allowed. Defaults to 10.') internetProfile_X75Options_T1RetranTimer = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 187), Integer32()).setLabel("internetProfile-X75Options-T1RetranTimer").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X75Options_T1RetranTimer.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X75Options_T1RetranTimer.setDescription('Number of milliseconds between retransmissions. Defaults to 1000.') internetProfile_X75Options_FrameLength = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 188), Integer32()).setLabel("internetProfile-X75Options-FrameLength").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X75Options_FrameLength.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X75Options_FrameLength.setDescription('Frame length to use for incoming X.75 connections. Defaults to 1024.') internetProfile_AppletalkOptions_AtalkRoutingEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 189), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-AppletalkOptions-AtalkRoutingEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AppletalkOptions_AtalkRoutingEnabled.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AppletalkOptions_AtalkRoutingEnabled.setDescription('Enable/disable AppleTalk routine for this connection.') internetProfile_AppletalkOptions_AtalkStaticZoneName = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 190), DisplayString()).setLabel("internetProfile-AppletalkOptions-AtalkStaticZoneName").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AppletalkOptions_AtalkStaticZoneName.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AppletalkOptions_AtalkStaticZoneName.setDescription('The static Zone Name to show for this route.') internetProfile_AppletalkOptions_AtalkStaticNetStart = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 191), Integer32()).setLabel("internetProfile-AppletalkOptions-AtalkStaticNetStart").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AppletalkOptions_AtalkStaticNetStart.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AppletalkOptions_AtalkStaticNetStart.setDescription('The Net Number start value for this route.') internetProfile_AppletalkOptions_AtalkStaticNetEnd = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 192), Integer32()).setLabel("internetProfile-AppletalkOptions-AtalkStaticNetEnd").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AppletalkOptions_AtalkStaticNetEnd.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AppletalkOptions_AtalkStaticNetEnd.setDescription('The Net Number end value for this route.') internetProfile_AppletalkOptions_AtalkPeerMode = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 193), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("routerPeer", 1), ("dialinPeer", 2)))).setLabel("internetProfile-AppletalkOptions-AtalkPeerMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AppletalkOptions_AtalkPeerMode.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AppletalkOptions_AtalkPeerMode.setDescription('Enable/disable full routing between peer or using proxy AARP to assign a network address.') internetProfile_UsrRadOptions_AcctType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 194), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("global", 1), ("local", 2), ("both", 3)))).setLabel("internetProfile-UsrRadOptions-AcctType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_UsrRadOptions_AcctType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_UsrRadOptions_AcctType.setDescription('Specify where accounting information for this connection will be sent, either the global server list, a per-user override, or both.') internetProfile_UsrRadOptions_AcctHost = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 195), IpAddress()).setLabel("internetProfile-UsrRadOptions-AcctHost").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_UsrRadOptions_AcctHost.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_UsrRadOptions_AcctHost.setDescription('The IP address of the RADIUS accounting host.') internetProfile_UsrRadOptions_AcctPort = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 196), Integer32()).setLabel("internetProfile-UsrRadOptions-AcctPort").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_UsrRadOptions_AcctPort.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_UsrRadOptions_AcctPort.setDescription('The UDP port of the RADIUS Accounting server.') internetProfile_UsrRadOptions_AcctKey = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 197), DisplayString()).setLabel("internetProfile-UsrRadOptions-AcctKey").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_UsrRadOptions_AcctKey.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_UsrRadOptions_AcctKey.setDescription('The RADIUS accounting key.') internetProfile_UsrRadOptions_AcctTimeout = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 198), Integer32()).setLabel("internetProfile-UsrRadOptions-AcctTimeout").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_UsrRadOptions_AcctTimeout.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_UsrRadOptions_AcctTimeout.setDescription('Number of seconds to wait for a response to accounting request.') internetProfile_UsrRadOptions_AcctIdBase = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 199), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("acctBase10", 1), ("acctBase16", 2)))).setLabel("internetProfile-UsrRadOptions-AcctIdBase").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_UsrRadOptions_AcctIdBase.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_UsrRadOptions_AcctIdBase.setDescription('The Base to use in reporting the Account ID') internetProfile_CalledNumber = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 200), DisplayString()).setLabel("internetProfile-CalledNumber").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_CalledNumber.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_CalledNumber.setDescription('The called line number for authentication.') internetProfile_DhcpOptions_ReplyEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 201), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-DhcpOptions-ReplyEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_DhcpOptions_ReplyEnabled.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_DhcpOptions_ReplyEnabled.setDescription('Set to yes to enable replies to DHCP clients.') internetProfile_DhcpOptions_PoolNumber = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 202), Integer32()).setLabel("internetProfile-DhcpOptions-PoolNumber").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_DhcpOptions_PoolNumber.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_DhcpOptions_PoolNumber.setDescription('Allocate addresses from this pool.') internetProfile_DhcpOptions_MaximumLeases = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 203), Integer32()).setLabel("internetProfile-DhcpOptions-MaximumLeases").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_DhcpOptions_MaximumLeases.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_DhcpOptions_MaximumLeases.setDescription('Maximum number of leases allowed on this connection.') internetProfile_SharedProf = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 283), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-SharedProf").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SharedProf.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SharedProf.setDescription('When TRUE multiple users may share a connection profile, as long as IP addresses are not duplicated.') internetProfile_MaxSharedUsers = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 465), Integer32()).setLabel("internetProfile-MaxSharedUsers").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_MaxSharedUsers.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_MaxSharedUsers.setDescription('Limits the maximum number of end users allowed to connect using a shared connection profile. The default value is 0 which means there is no limit.') internetProfile_T3posOptions_X25Profile = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 205), DisplayString()).setLabel("internetProfile-T3posOptions-X25Profile").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_T3posOptions_X25Profile.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_X25Profile.setDescription('Name of the x25 profile that this profile is associated with.') internetProfile_T3posOptions_MaxCalls = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 206), Integer32()).setLabel("internetProfile-T3posOptions-MaxCalls").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_T3posOptions_MaxCalls.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_MaxCalls.setDescription('Max number of unsuccessful calls') internetProfile_T3posOptions_AutoCallX121Address = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 207), DisplayString()).setLabel("internetProfile-T3posOptions-AutoCallX121Address").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_AutoCallX121Address.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_AutoCallX121Address.setDescription('X.121 address to auto-call upon session startup.') internetProfile_T3posOptions_ReverseCharge = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 208), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-T3posOptions-ReverseCharge").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_T3posOptions_ReverseCharge.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_ReverseCharge.setDescription('Reverse charge request') internetProfile_T3posOptions_Answer = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 209), DisplayString()).setLabel("internetProfile-T3posOptions-Answer").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_Answer.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_Answer.setDescription('Answer number: mandatory if call mode is incoming or both.') internetProfile_T3posOptions_T3PosHostInitMode = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 210), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("local", 1), ("binLocal", 2), ("transparent", 3), ("blind", 4), ("unknown", 5)))).setLabel("internetProfile-T3posOptions-T3PosHostInitMode").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosHostInitMode.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosHostInitMode.setDescription('T3POS Host Initialization mode: LOCAL/BIN-LOCAL/TRANSPARENT/BLIND') internetProfile_T3posOptions_T3PosDteInitMode = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 211), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("local", 1), ("binLocal", 2), ("transparent", 3), ("blind", 4), ("unknown", 5)))).setLabel("internetProfile-T3posOptions-T3PosDteInitMode").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosDteInitMode.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosDteInitMode.setDescription('T3POS DTE Initialization mode: LOCAL/BIN-LOCAL/TRANSPARENT/BLIND') internetProfile_T3posOptions_T3PosEnqHandling = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 212), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("off", 1), ("on", 2)))).setLabel("internetProfile-T3posOptions-T3PosEnqHandling").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosEnqHandling.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosEnqHandling.setDescription('T3POS ENQ handling param') internetProfile_T3posOptions_T3PosMaxBlockSize = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 213), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("n-512", 1), ("n-1024", 2)))).setLabel("internetProfile-T3posOptions-T3PosMaxBlockSize").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosMaxBlockSize.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosMaxBlockSize.setDescription('T3POS Max block size: 512/1024') internetProfile_T3posOptions_T3PosT1 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 214), Integer32()).setLabel("internetProfile-T3posOptions-T3PosT1").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosT1.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosT1.setDescription('T3POS T1 timer.') internetProfile_T3posOptions_T3PosT2 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 215), Integer32()).setLabel("internetProfile-T3posOptions-T3PosT2").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosT2.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosT2.setDescription('T3POS T2 timer.') internetProfile_T3posOptions_T3PosT3 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 216), Integer32()).setLabel("internetProfile-T3posOptions-T3PosT3").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosT3.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosT3.setDescription('T3POS T3 timer.') internetProfile_T3posOptions_T3PosT4 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 217), Integer32()).setLabel("internetProfile-T3posOptions-T3PosT4").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosT4.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosT4.setDescription('T3POS T4 timer.') internetProfile_T3posOptions_T3PosT5 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 218), Integer32()).setLabel("internetProfile-T3posOptions-T3PosT5").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosT5.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosT5.setDescription('T3POS T5 timer.') internetProfile_T3posOptions_T3PosT6 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 219), Integer32()).setLabel("internetProfile-T3posOptions-T3PosT6").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosT6.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosT6.setDescription('T3POS T6 timer.') internetProfile_T3posOptions_T3PosMethodOfHostNotif = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 220), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("callRequestPacket", 2), ("modeSwitchFrame", 3)))).setLabel("internetProfile-T3posOptions-T3PosMethodOfHostNotif").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosMethodOfHostNotif.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosMethodOfHostNotif.setDescription('T3POS Method of Host Notification.') internetProfile_T3posOptions_T3PosPidSelection = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 221), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("x29", 1), ("t3pos", 2)))).setLabel("internetProfile-T3posOptions-T3PosPidSelection").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosPidSelection.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosPidSelection.setDescription('T3POS PID selection: X.29, T3POS.') internetProfile_T3posOptions_T3PosAckSuppression = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 222), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("off", 1), ("on", 2)))).setLabel("internetProfile-T3posOptions-T3PosAckSuppression").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosAckSuppression.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_T3PosAckSuppression.setDescription('T3POS ACK suppression.') internetProfile_T3posOptions_X25Rpoa = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 223), DisplayString()).setLabel("internetProfile-T3posOptions-X25Rpoa").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_X25Rpoa.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_X25Rpoa.setDescription('X.25 RPOA facility.') internetProfile_T3posOptions_X25CugIndex = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 224), DisplayString()).setLabel("internetProfile-T3posOptions-X25CugIndex").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_X25CugIndex.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_X25CugIndex.setDescription('X.25 CUG index.') internetProfile_T3posOptions_X25Nui = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 225), DisplayString()).setLabel("internetProfile-T3posOptions-X25Nui").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_X25Nui.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_X25Nui.setDescription('X.25 NUI facility.') internetProfile_T3posOptions_DataFormat = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 226), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("dataFormat7e1", 1), ("dataFormat7o1", 2), ("dataFormat7m1", 3), ("dataFormat7s1", 4), ("dataFormat8n1", 5)))).setLabel("internetProfile-T3posOptions-DataFormat").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_DataFormat.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_DataFormat.setDescription('T3POS Open/Local Data Format.') internetProfile_T3posOptions_LinkAccessType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 227), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("axtypeDedicated", 1), ("axtypeDialIn", 2)))).setLabel("internetProfile-T3posOptions-LinkAccessType").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_T3posOptions_LinkAccessType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_T3posOptions_LinkAccessType.setDescription('T3POS Link access type.') internetProfile_FramedOnly = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 228), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-FramedOnly").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_FramedOnly.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_FramedOnly.setDescription('A profile can be restricted to only doing the framed commands (ppp, mpp, slip, and quit) by setting this to YES') internetProfile_AltdialNumber1 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 229), DisplayString()).setLabel("internetProfile-AltdialNumber1").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AltdialNumber1.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AltdialNumber1.setDescription('The first alternate phone number of the named station.') internetProfile_AltdialNumber2 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 230), DisplayString()).setLabel("internetProfile-AltdialNumber2").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AltdialNumber2.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AltdialNumber2.setDescription('The second alternate phone number of the named station.') internetProfile_AltdialNumber3 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 231), DisplayString()).setLabel("internetProfile-AltdialNumber3").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AltdialNumber3.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AltdialNumber3.setDescription('The third alternate phone number of the named station.') internetProfile_X32Options_X32Profile = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 232), DisplayString()).setLabel("internetProfile-X32Options-X32Profile").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X32Options_X32Profile.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X32Options_X32Profile.setDescription('Name of the x25 profile that this profile is associated with.') internetProfile_X32Options_CallMode = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 233), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("both", 1), ("outgoing", 2), ("incoming", 3)))).setLabel("internetProfile-X32Options-CallMode").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_X32Options_CallMode.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X32Options_CallMode.setDescription('Call mode for this interface: Incoming') internetProfile_X32Options_X32ApplMode = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 424), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("netToNet", 1), ("isdnCircuitMode", 2), ("isdnPacketMode", 3), ("last", 4)))).setLabel("internetProfile-X32Options-X32ApplMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_X32Options_X32ApplMode.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_X32Options_X32ApplMode.setDescription('Appl mode for this interface') internetProfile_TunnelOptions_ProfileType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 234), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("disabled", 1), ("mobileClient", 2), ("gatewayProfile", 3), ("dialoutProfile", 4)))).setLabel("internetProfile-TunnelOptions-ProfileType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TunnelOptions_ProfileType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TunnelOptions_ProfileType.setDescription('The type of connection this profile describes') internetProfile_TunnelOptions_TunnelingProtocol = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 235), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 8))).clone(namedValues=NamedValues(("disabled", 1), ("pptpProtocol", 2), ("l2fProtocol", 3), ("l2tpProtocol", 4), ("atmpProtocol", 5), ("vtpProtocol", 6), ("ipinipProtocol", 8)))).setLabel("internetProfile-TunnelOptions-TunnelingProtocol").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TunnelOptions_TunnelingProtocol.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TunnelOptions_TunnelingProtocol.setDescription('The protocol used for tunneling, if enabled') internetProfile_TunnelOptions_MaxTunnels = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 236), Integer32()).setLabel("internetProfile-TunnelOptions-MaxTunnels").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TunnelOptions_MaxTunnels.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TunnelOptions_MaxTunnels.setDescription('If this profile is a tunnel gateway, then this parameter specifies the maximum number of tunnels allowed to the home network specified by the name of this profile.') internetProfile_TunnelOptions_AtmpHaRip = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 237), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ripOff", 1), ("ripSendV2", 2)))).setLabel("internetProfile-TunnelOptions-AtmpHaRip").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TunnelOptions_AtmpHaRip.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TunnelOptions_AtmpHaRip.setDescription("Allows an ATMP home agent to send routing updates to the home network consisting of the mobile nodes' addresses.") internetProfile_TunnelOptions_PrimaryTunnelServer = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 238), DisplayString()).setLabel("internetProfile-TunnelOptions-PrimaryTunnelServer").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TunnelOptions_PrimaryTunnelServer.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TunnelOptions_PrimaryTunnelServer.setDescription("The IP address or hostname of the primary tunnel server if this is a mobile client's profile.") internetProfile_TunnelOptions_SecondaryTunnelServer = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 239), DisplayString()).setLabel("internetProfile-TunnelOptions-SecondaryTunnelServer").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TunnelOptions_SecondaryTunnelServer.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TunnelOptions_SecondaryTunnelServer.setDescription("The IP address or hostname of the secondary tunnel server if this is a mobile client's profile.") internetProfile_TunnelOptions_UdpPort = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 240), Integer32()).setLabel("internetProfile-TunnelOptions-UdpPort").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TunnelOptions_UdpPort.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TunnelOptions_UdpPort.setDescription("The default UDP port to use when communicating with the ATMP home agent, if this is a mobile client's profile.") internetProfile_TunnelOptions_Password = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 241), DisplayString()).setLabel("internetProfile-TunnelOptions-Password").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TunnelOptions_Password.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TunnelOptions_Password.setDescription('The password required by the tunnel server, if this is a mobile client profile.') internetProfile_TunnelOptions_HomeNetworkName = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 242), DisplayString()).setLabel("internetProfile-TunnelOptions-HomeNetworkName").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TunnelOptions_HomeNetworkName.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TunnelOptions_HomeNetworkName.setDescription("The name of the home network if the ATMP home agent is operating in gateway mode. It should be empty if the ATMP home agent is operating in router mode. For L2TP, it indicates the Private Group ID value for a client. Used for ATMP and L2TP mobile client's profiles.") internetProfile_TunnelOptions_ClientAuthId = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 413), DisplayString()).setLabel("internetProfile-TunnelOptions-ClientAuthId").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TunnelOptions_ClientAuthId.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TunnelOptions_ClientAuthId.setDescription('The system name used by the Tunnel Initiator during Tunnel establishment for the purposes of tunnel authentication. This is different and independent from user authentication. Used on L2TP and L2F.') internetProfile_TunnelOptions_ServerAuthId = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 417), DisplayString()).setLabel("internetProfile-TunnelOptions-ServerAuthId").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TunnelOptions_ServerAuthId.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TunnelOptions_ServerAuthId.setDescription('The system name used by the Tunnel Terminator during Tunnel establishment for the purposes of tunnel authentication. This is different and independent from user authentication. Used on L2TP and L2F.') internetProfile_TunnelOptions_Vrouter = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 356), DisplayString()).setLabel("internetProfile-TunnelOptions-Vrouter").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TunnelOptions_Vrouter.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TunnelOptions_Vrouter.setDescription('The name of the virtual router used for the tunnel.') internetProfile_TunnelOptions_AssignmentId = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 418), DisplayString()).setLabel("internetProfile-TunnelOptions-AssignmentId").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TunnelOptions_AssignmentId.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TunnelOptions_AssignmentId.setDescription('The identification assigned to tunnels so that sessions could be grouped into different tunnels based on this Id. This Id only has local significance and is not transmited to the remote tunnel-endpoint.') internetProfile_TunnelOptions_TosCopying = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 473), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-TunnelOptions-TosCopying").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_TunnelOptions_TosCopying.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_TunnelOptions_TosCopying.setDescription('Control the TOS byte of the outer IP header') internetProfile_IpsecOptions_Enabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 474), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-IpsecOptions-Enabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpsecOptions_Enabled.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpsecOptions_Enabled.setDescription('IPSec can be disabled on a profile by setting this field to no.') internetProfile_IpsecOptions_SecurityPolicyDatabase = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 475), DisplayString()).setLabel("internetProfile-IpsecOptions-SecurityPolicyDatabase").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpsecOptions_SecurityPolicyDatabase.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpsecOptions_SecurityPolicyDatabase.setDescription('The name of the IPSec SPD profile to be used.') internetProfile_PriNumberingPlanId = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 244), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 10))).clone(namedValues=NamedValues(("unknown", 1), ("iSDN", 2), ("private", 10)))).setLabel("internetProfile-PriNumberingPlanId").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PriNumberingPlanId.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PriNumberingPlanId.setDescription("PRI Called Party element's Numbering-Plan-ID value for outgoing PRI calls.") internetProfile_Vrouter = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 245), DisplayString()).setLabel("internetProfile-Vrouter").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_Vrouter.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_Vrouter.setDescription('Specifies the VRouter in which this profile belongs.') internetProfile_CrossConnectIndex = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 425), Integer32()).setLabel("internetProfile-CrossConnectIndex").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_CrossConnectIndex.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_CrossConnectIndex.setDescription('AToM Mib cross connect index.') internetProfile_AtmOptions_Atm1483type = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 246), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("aal5Llc", 1), ("aal5Vc", 2)))).setLabel("internetProfile-AtmOptions-Atm1483type").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_Atm1483type.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_Atm1483type.setDescription('The type of AAL5 multiplexing.') internetProfile_AtmOptions_Vpi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 247), Integer32()).setLabel("internetProfile-AtmOptions-Vpi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_Vpi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_Vpi.setDescription('The VPI of this connection.') internetProfile_AtmOptions_Vci = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 248), Integer32()).setLabel("internetProfile-AtmOptions-Vci").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_Vci.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_Vci.setDescription('The VCI of this connection.') internetProfile_AtmOptions_NailedGroup = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 256), Integer32()).setLabel("internetProfile-AtmOptions-NailedGroup").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_NailedGroup.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_NailedGroup.setDescription('A number that identifies the set of lines that makes up a nailed-group.') internetProfile_AtmOptions_CastType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 426), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3, 4))).clone(namedValues=NamedValues(("p2p", 2), ("p2mproot", 3), ("p2mpleaf", 4)))).setLabel("internetProfile-AtmOptions-CastType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_CastType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_CastType.setDescription('The connection topology type.') internetProfile_AtmOptions_ConnKind = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 427), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("pvc", 2), ("svcIncoming", 3), ("svcOutgoing", 4), ("spvcInitiator", 5), ("spvcTarget", 6)))).setLabel("internetProfile-AtmOptions-ConnKind").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_ConnKind.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_ConnKind.setDescription('The use of call control.') internetProfile_AtmOptions_AtmServiceType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 257), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("atmUbrService", 1), ("atmCbrService", 2), ("atmAbrService", 3), ("atmVbrService", 4)))).setLabel("internetProfile-AtmOptions-AtmServiceType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_AtmServiceType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_AtmServiceType.setDescription('ATM service type.') internetProfile_AtmOptions_AtmServiceRate = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 258), Integer32()).setLabel("internetProfile-AtmOptions-AtmServiceRate").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_AtmServiceRate.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_AtmServiceRate.setDescription('ATM service rate is the minimum bits per second that is required.') internetProfile_AtmOptions_VpSwitching = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 304), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-AtmOptions-VpSwitching").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_VpSwitching.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_VpSwitching.setDescription('Is this VP switching? VP = 0 is used for VC switching and VP > 0 is used for VP switching.') internetProfile_AtmOptions_TargetAtmAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 428), DisplayString()).setLabel("internetProfile-AtmOptions-TargetAtmAddress").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_TargetAtmAddress.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_TargetAtmAddress.setDescription('The target ATM Address of this Soft PVcc or PVpc.') internetProfile_AtmOptions_TargetSelect = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 429), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3))).clone(namedValues=NamedValues(("required", 2), ("any", 3)))).setLabel("internetProfile-AtmOptions-TargetSelect").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_AtmOptions_TargetSelect.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_TargetSelect.setDescription('Indicates whether the target VPI/VCI values are to be used at the destination.') internetProfile_AtmOptions_TargetVpi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 430), Integer32()).setLabel("internetProfile-AtmOptions-TargetVpi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_TargetVpi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_TargetVpi.setDescription('Target VPI.') internetProfile_AtmOptions_TargetVci = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 431), Integer32()).setLabel("internetProfile-AtmOptions-TargetVci").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_TargetVci.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_TargetVci.setDescription('Target VCI.') internetProfile_AtmOptions_SpvcRetryInterval = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 448), Integer32()).setLabel("internetProfile-AtmOptions-SpvcRetryInterval").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SpvcRetryInterval.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SpvcRetryInterval.setDescription('Period to wait before attempting to establish SPVC after the first SPVC setup failure. 0 indicates no retry') internetProfile_AtmOptions_SpvcRetryThreshold = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 449), Integer32()).setLabel("internetProfile-AtmOptions-SpvcRetryThreshold").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SpvcRetryThreshold.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SpvcRetryThreshold.setDescription('The number of consecutive call setup attempts for the SPVC to fail before the call failure is declared. 0 indicates infinite number of call attempts that means failure is not declared.') internetProfile_AtmOptions_SpvcRetryLimit = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 450), Integer32()).setLabel("internetProfile-AtmOptions-SpvcRetryLimit").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SpvcRetryLimit.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SpvcRetryLimit.setDescription('Maximum limit on how many consecutive unsuccessful call setup attempts can be made before stopping the attempt to set up the connection.') internetProfile_AtmOptions_AtmDirectEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 306), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-AtmOptions-AtmDirectEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_AtmDirectEnabled.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_AtmDirectEnabled.setDescription('Enable ATM Direct.') internetProfile_AtmOptions_AtmDirectProfile = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 307), DisplayString()).setLabel("internetProfile-AtmOptions-AtmDirectProfile").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_AtmDirectProfile.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_AtmDirectProfile.setDescription('The atm connection profile name to be used for the ATM Direct connection.') internetProfile_AtmOptions_VcFaultManagement = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 357), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("segmentLoopback", 2), ("endToEndLoopback", 3)))).setLabel("internetProfile-AtmOptions-VcFaultManagement").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_VcFaultManagement.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_VcFaultManagement.setDescription('The VC fault management function to be used for this VC.') internetProfile_AtmOptions_VcMaxLoopbackCellLoss = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 358), Integer32()).setLabel("internetProfile-AtmOptions-VcMaxLoopbackCellLoss").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_VcMaxLoopbackCellLoss.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_VcMaxLoopbackCellLoss.setDescription('The maximum number of consecutive cell loopback failures before the call is disconnected.') internetProfile_AtmOptions_SvcOptions_Enabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 308), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-AtmOptions-SvcOptions-Enabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_Enabled.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_Enabled.setDescription('Enable ATM SVC.') internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_NumberingPlan = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 381), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 5, 9))).clone(namedValues=NamedValues(("undefined", 1), ("isdn", 2), ("aesa", 3), ("unknown", 5), ("x121", 9)))).setLabel("internetProfile-AtmOptions-SvcOptions-IncomingCallerAddr-NumberingPlan").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_NumberingPlan.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_NumberingPlan.setDescription('Numbering plan for an SVC address') internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_E164NativeAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 382), DisplayString()).setLabel("internetProfile-AtmOptions-SvcOptions-IncomingCallerAddr-E164NativeAddress").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_E164NativeAddress.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_E164NativeAddress.setDescription('An SVC address in a native E.164 format.') internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_Format = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 383), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 6, 4, 5))).clone(namedValues=NamedValues(("undefined", 1), ("dccAesa", 2), ("icdAesa", 6), ("e164Aesa", 4), ("customAesa", 5)))).setLabel("internetProfile-AtmOptions-SvcOptions-IncomingCallerAddr-AesaAddress-Format").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_Format.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_Format.setDescription('An AESA address format used to define this SVC address.') internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Afi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 384), DisplayString()).setLabel("internetProfile-AtmOptions-SvcOptions-IncomingCallerAddr-AesaAddress-IdpPortion-Afi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Afi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Afi.setDescription('An Authority and Format Identifier(AFI) for AESA address. Must be defined for every AESA address.') internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Idi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 385), DisplayString()).setLabel("internetProfile-AtmOptions-SvcOptions-IncomingCallerAddr-AesaAddress-IdpPortion-Idi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Idi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Idi.setDescription('An Initial Domain Identifier (IDI) portion of the AESA address.') internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_HoDsp = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 386), DisplayString()).setLabel("internetProfile-AtmOptions-SvcOptions-IncomingCallerAddr-AesaAddress-DspPortion-HoDsp").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_HoDsp.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_HoDsp.setDescription('A High-Order Domain-Specific Part of AESA address. The IDP portion determine the format of the HO-DSP.') internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Esi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 387), DisplayString()).setLabel("internetProfile-AtmOptions-SvcOptions-IncomingCallerAddr-AesaAddress-DspPortion-Esi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Esi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Esi.setDescription('An End System Identifier (ESI) which uniquely identifies the end system within the specified subnetwork.') internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Sel = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 388), DisplayString()).setLabel("internetProfile-AtmOptions-SvcOptions-IncomingCallerAddr-AesaAddress-DspPortion-Sel").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Sel.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Sel.setDescription('A selector (SEL) field that may be used by the end system.') internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_NumberingPlan = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 389), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 5, 9))).clone(namedValues=NamedValues(("undefined", 1), ("isdn", 2), ("aesa", 3), ("unknown", 5), ("x121", 9)))).setLabel("internetProfile-AtmOptions-SvcOptions-OutgoingCalledAddr-NumberingPlan").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_NumberingPlan.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_NumberingPlan.setDescription('Numbering plan for an SVC address') internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_E164NativeAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 390), DisplayString()).setLabel("internetProfile-AtmOptions-SvcOptions-OutgoingCalledAddr-E164NativeAddress").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_E164NativeAddress.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_E164NativeAddress.setDescription('An SVC address in a native E.164 format.') internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_Format = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 391), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 6, 4, 5))).clone(namedValues=NamedValues(("undefined", 1), ("dccAesa", 2), ("icdAesa", 6), ("e164Aesa", 4), ("customAesa", 5)))).setLabel("internetProfile-AtmOptions-SvcOptions-OutgoingCalledAddr-AesaAddress-Format").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_Format.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_Format.setDescription('An AESA address format used to define this SVC address.') internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Afi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 392), DisplayString()).setLabel("internetProfile-AtmOptions-SvcOptions-OutgoingCalledAddr-AesaAddress-IdpPortion-Afi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Afi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Afi.setDescription('An Authority and Format Identifier(AFI) for AESA address. Must be defined for every AESA address.') internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Idi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 393), DisplayString()).setLabel("internetProfile-AtmOptions-SvcOptions-OutgoingCalledAddr-AesaAddress-IdpPortion-Idi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Idi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Idi.setDescription('An Initial Domain Identifier (IDI) portion of the AESA address.') internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_HoDsp = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 394), DisplayString()).setLabel("internetProfile-AtmOptions-SvcOptions-OutgoingCalledAddr-AesaAddress-DspPortion-HoDsp").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_HoDsp.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_HoDsp.setDescription('A High-Order Domain-Specific Part of AESA address. The IDP portion determine the format of the HO-DSP.') internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Esi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 395), DisplayString()).setLabel("internetProfile-AtmOptions-SvcOptions-OutgoingCalledAddr-AesaAddress-DspPortion-Esi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Esi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Esi.setDescription('An End System Identifier (ESI) which uniquely identifies the end system within the specified subnetwork.') internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Sel = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 396), DisplayString()).setLabel("internetProfile-AtmOptions-SvcOptions-OutgoingCalledAddr-AesaAddress-DspPortion-Sel").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Sel.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Sel.setDescription('A selector (SEL) field that may be used by the end system.') internetProfile_AtmOptions_AtmInverseArp = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 327), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-AtmOptions-AtmInverseArp").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_AtmInverseArp.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_AtmInverseArp.setDescription('Send Atm Inverse Arp request for this connection.') internetProfile_AtmOptions_Fr08Mode = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 367), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("translation", 1), ("transparent", 2)))).setLabel("internetProfile-AtmOptions-Fr08Mode").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_Fr08Mode.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_Fr08Mode.setDescription('The FR-08 transparent mode') internetProfile_AtmOptions_AtmCircuitProfile = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 432), DisplayString()).setLabel("internetProfile-AtmOptions-AtmCircuitProfile").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_AtmCircuitProfile.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_AtmCircuitProfile.setDescription('The atm circuit profile name to be used for this connection.') internetProfile_AtmOptions_OamAisF5 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 451), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disable", 1), ("segment", 2), ("endToEnd", 3)))).setLabel("internetProfile-AtmOptions-OamAisF5").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_OamAisF5.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_OamAisF5.setDescription('Disable/Enable sending OAM AIS F5 cells when pvc is down.') internetProfile_AtmOptions_OamSupport = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 452), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-AtmOptions-OamSupport").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_OamSupport.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_OamSupport.setDescription('Is F4 OAM supported? It is used only when vp-switching is yes. The Stinger system can only support F4 OAM for 50 VPC segments in total.') internetProfile_AtmOptions_Mtu = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 468), Integer32()).setLabel("internetProfile-AtmOptions-Mtu").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmOptions_Mtu.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmOptions_Mtu.setDescription('The maximum packet size (excluding LLC encapsulation if used) that can be transmitted to a remote peer without performing fragmentation.') internetProfile_HdlcNrmOptions_SnrmResponseTimeout = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 259), Integer32()).setLabel("internetProfile-HdlcNrmOptions-SnrmResponseTimeout").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_SnrmResponseTimeout.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_SnrmResponseTimeout.setDescription('SNRM Response Timeout in milliseconds.') internetProfile_HdlcNrmOptions_SnrmRetryCounter = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 260), Integer32()).setLabel("internetProfile-HdlcNrmOptions-SnrmRetryCounter").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_SnrmRetryCounter.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_SnrmRetryCounter.setDescription('SNRM Retry Counter in units.') internetProfile_HdlcNrmOptions_PollTimeout = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 261), Integer32()).setLabel("internetProfile-HdlcNrmOptions-PollTimeout").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_PollTimeout.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_PollTimeout.setDescription('HDLC-NRM Poll Reponse Timeout in milliseconds') internetProfile_HdlcNrmOptions_PollRate = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 262), Integer32()).setLabel("internetProfile-HdlcNrmOptions-PollRate").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_PollRate.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_PollRate.setDescription('HDLC-NRM Poll Rate in milliseconds') internetProfile_HdlcNrmOptions_PollRetryCount = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 263), Integer32()).setLabel("internetProfile-HdlcNrmOptions-PollRetryCount").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_PollRetryCount.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_PollRetryCount.setDescription('Poll Response Retry Counter in units') internetProfile_HdlcNrmOptions_Primary = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 264), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-HdlcNrmOptions-Primary").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_Primary.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_Primary.setDescription('Primary station (Yes) or Secondary station (No).') internetProfile_HdlcNrmOptions_AsyncDrop = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 368), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-HdlcNrmOptions-AsyncDrop").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_AsyncDrop.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_AsyncDrop.setDescription('Drop Async I-frames (Yes) or process (No).') internetProfile_HdlcNrmOptions_StationPollAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 416), Integer32()).setLabel("internetProfile-HdlcNrmOptions-StationPollAddress").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_StationPollAddress.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_HdlcNrmOptions_StationPollAddress.setDescription('Secondary station address to use for SNRM polling') internetProfile_AtmConnectOptions_Atm1483type = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 265), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("aal5Llc", 1), ("aal5Vc", 2)))).setLabel("internetProfile-AtmConnectOptions-Atm1483type").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_Atm1483type.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_Atm1483type.setDescription('The type of AAL5 multiplexing.') internetProfile_AtmConnectOptions_Vpi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 266), Integer32()).setLabel("internetProfile-AtmConnectOptions-Vpi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_Vpi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_Vpi.setDescription('The VPI of this connection.') internetProfile_AtmConnectOptions_Vci = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 267), Integer32()).setLabel("internetProfile-AtmConnectOptions-Vci").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_Vci.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_Vci.setDescription('The VCI of this connection.') internetProfile_AtmConnectOptions_NailedGroup = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 268), Integer32()).setLabel("internetProfile-AtmConnectOptions-NailedGroup").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_NailedGroup.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_NailedGroup.setDescription('A number that identifies the set of lines that makes up a nailed-group.') internetProfile_AtmConnectOptions_CastType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 433), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3, 4))).clone(namedValues=NamedValues(("p2p", 2), ("p2mproot", 3), ("p2mpleaf", 4)))).setLabel("internetProfile-AtmConnectOptions-CastType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_CastType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_CastType.setDescription('The connection topology type.') internetProfile_AtmConnectOptions_ConnKind = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 434), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("pvc", 2), ("svcIncoming", 3), ("svcOutgoing", 4), ("spvcInitiator", 5), ("spvcTarget", 6)))).setLabel("internetProfile-AtmConnectOptions-ConnKind").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_ConnKind.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_ConnKind.setDescription('The use of call control.') internetProfile_AtmConnectOptions_AtmServiceType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 269), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("atmUbrService", 1), ("atmCbrService", 2), ("atmAbrService", 3), ("atmVbrService", 4)))).setLabel("internetProfile-AtmConnectOptions-AtmServiceType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_AtmServiceType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_AtmServiceType.setDescription('ATM service type.') internetProfile_AtmConnectOptions_AtmServiceRate = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 270), Integer32()).setLabel("internetProfile-AtmConnectOptions-AtmServiceRate").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_AtmServiceRate.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_AtmServiceRate.setDescription('ATM service rate is the minimum bits per second that is required.') internetProfile_AtmConnectOptions_VpSwitching = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 328), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-AtmConnectOptions-VpSwitching").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_VpSwitching.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_VpSwitching.setDescription('Is this VP switching? VP = 0 is used for VC switching and VP > 0 is used for VP switching.') internetProfile_AtmConnectOptions_TargetAtmAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 435), DisplayString()).setLabel("internetProfile-AtmConnectOptions-TargetAtmAddress").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_TargetAtmAddress.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_TargetAtmAddress.setDescription('The target ATM Address of this Soft PVcc or PVpc.') internetProfile_AtmConnectOptions_TargetSelect = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 436), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3))).clone(namedValues=NamedValues(("required", 2), ("any", 3)))).setLabel("internetProfile-AtmConnectOptions-TargetSelect").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_TargetSelect.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_TargetSelect.setDescription('Indicates whether the target VPI/VCI values are to be used at the destination.') internetProfile_AtmConnectOptions_TargetVpi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 437), Integer32()).setLabel("internetProfile-AtmConnectOptions-TargetVpi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_TargetVpi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_TargetVpi.setDescription('Target VPI.') internetProfile_AtmConnectOptions_TargetVci = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 438), Integer32()).setLabel("internetProfile-AtmConnectOptions-TargetVci").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_TargetVci.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_TargetVci.setDescription('Target VCI.') internetProfile_AtmConnectOptions_SpvcRetryInterval = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 453), Integer32()).setLabel("internetProfile-AtmConnectOptions-SpvcRetryInterval").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SpvcRetryInterval.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SpvcRetryInterval.setDescription('Period to wait before attempting to establish SPVC after the first SPVC setup failure. 0 indicates no retry') internetProfile_AtmConnectOptions_SpvcRetryThreshold = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 454), Integer32()).setLabel("internetProfile-AtmConnectOptions-SpvcRetryThreshold").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SpvcRetryThreshold.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SpvcRetryThreshold.setDescription('The number of consecutive call setup attempts for the SPVC to fail before the call failure is declared. 0 indicates infinite number of call attempts that means failure is not declared.') internetProfile_AtmConnectOptions_SpvcRetryLimit = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 455), Integer32()).setLabel("internetProfile-AtmConnectOptions-SpvcRetryLimit").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SpvcRetryLimit.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SpvcRetryLimit.setDescription('Maximum limit on how many consecutive unsuccessful call setup attempts can be made before stopping the attempt to set up the connection.') internetProfile_AtmConnectOptions_AtmDirectEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 330), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-AtmConnectOptions-AtmDirectEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_AtmDirectEnabled.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_AtmDirectEnabled.setDescription('Enable ATM Direct.') internetProfile_AtmConnectOptions_AtmDirectProfile = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 331), DisplayString()).setLabel("internetProfile-AtmConnectOptions-AtmDirectProfile").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_AtmDirectProfile.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_AtmDirectProfile.setDescription('The atm connection profile name to be used for the ATM Direct connection.') internetProfile_AtmConnectOptions_VcFaultManagement = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 369), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("segmentLoopback", 2), ("endToEndLoopback", 3)))).setLabel("internetProfile-AtmConnectOptions-VcFaultManagement").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_VcFaultManagement.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_VcFaultManagement.setDescription('The VC fault management function to be used for this VC.') internetProfile_AtmConnectOptions_VcMaxLoopbackCellLoss = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 370), Integer32()).setLabel("internetProfile-AtmConnectOptions-VcMaxLoopbackCellLoss").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_VcMaxLoopbackCellLoss.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_VcMaxLoopbackCellLoss.setDescription('The maximum number of consecutive cell loopback failures before the call is disconnected.') internetProfile_AtmConnectOptions_SvcOptions_Enabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 332), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-AtmConnectOptions-SvcOptions-Enabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_Enabled.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_Enabled.setDescription('Enable ATM SVC.') internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_NumberingPlan = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 397), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 5, 9))).clone(namedValues=NamedValues(("undefined", 1), ("isdn", 2), ("aesa", 3), ("unknown", 5), ("x121", 9)))).setLabel("internetProfile-AtmConnectOptions-SvcOptions-IncomingCallerAddr-NumberingPlan").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_NumberingPlan.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_NumberingPlan.setDescription('Numbering plan for an SVC address') internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_E164NativeAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 398), DisplayString()).setLabel("internetProfile-AtmConnectOptions-SvcOptions-IncomingCallerAddr-E164NativeAddress").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_E164NativeAddress.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_E164NativeAddress.setDescription('An SVC address in a native E.164 format.') internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_Format = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 399), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 6, 4, 5))).clone(namedValues=NamedValues(("undefined", 1), ("dccAesa", 2), ("icdAesa", 6), ("e164Aesa", 4), ("customAesa", 5)))).setLabel("internetProfile-AtmConnectOptions-SvcOptions-IncomingCallerAddr-AesaAddress-Format").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_Format.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_Format.setDescription('An AESA address format used to define this SVC address.') internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Afi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 400), DisplayString()).setLabel("internetProfile-AtmConnectOptions-SvcOptions-IncomingCallerAddr-AesaAddress-IdpPortion-Afi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Afi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Afi.setDescription('An Authority and Format Identifier(AFI) for AESA address. Must be defined for every AESA address.') internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Idi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 401), DisplayString()).setLabel("internetProfile-AtmConnectOptions-SvcOptions-IncomingCallerAddr-AesaAddress-IdpPortion-Idi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Idi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Idi.setDescription('An Initial Domain Identifier (IDI) portion of the AESA address.') internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_HoDsp = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 402), DisplayString()).setLabel("internetProfile-AtmConnectOptions-SvcOptions-IncomingCallerAddr-AesaAddress-DspPortion-HoDsp").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_HoDsp.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_HoDsp.setDescription('A High-Order Domain-Specific Part of AESA address. The IDP portion determine the format of the HO-DSP.') internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Esi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 403), DisplayString()).setLabel("internetProfile-AtmConnectOptions-SvcOptions-IncomingCallerAddr-AesaAddress-DspPortion-Esi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Esi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Esi.setDescription('An End System Identifier (ESI) which uniquely identifies the end system within the specified subnetwork.') internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Sel = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 404), DisplayString()).setLabel("internetProfile-AtmConnectOptions-SvcOptions-IncomingCallerAddr-AesaAddress-DspPortion-Sel").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Sel.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Sel.setDescription('A selector (SEL) field that may be used by the end system.') internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_NumberingPlan = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 405), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 5, 9))).clone(namedValues=NamedValues(("undefined", 1), ("isdn", 2), ("aesa", 3), ("unknown", 5), ("x121", 9)))).setLabel("internetProfile-AtmConnectOptions-SvcOptions-OutgoingCalledAddr-NumberingPlan").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_NumberingPlan.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_NumberingPlan.setDescription('Numbering plan for an SVC address') internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_E164NativeAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 406), DisplayString()).setLabel("internetProfile-AtmConnectOptions-SvcOptions-OutgoingCalledAddr-E164NativeAddress").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_E164NativeAddress.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_E164NativeAddress.setDescription('An SVC address in a native E.164 format.') internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_Format = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 407), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 6, 4, 5))).clone(namedValues=NamedValues(("undefined", 1), ("dccAesa", 2), ("icdAesa", 6), ("e164Aesa", 4), ("customAesa", 5)))).setLabel("internetProfile-AtmConnectOptions-SvcOptions-OutgoingCalledAddr-AesaAddress-Format").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_Format.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_Format.setDescription('An AESA address format used to define this SVC address.') internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Afi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 408), DisplayString()).setLabel("internetProfile-AtmConnectOptions-SvcOptions-OutgoingCalledAddr-AesaAddress-IdpPortion-Afi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Afi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Afi.setDescription('An Authority and Format Identifier(AFI) for AESA address. Must be defined for every AESA address.') internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Idi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 409), DisplayString()).setLabel("internetProfile-AtmConnectOptions-SvcOptions-OutgoingCalledAddr-AesaAddress-IdpPortion-Idi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Idi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Idi.setDescription('An Initial Domain Identifier (IDI) portion of the AESA address.') internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_HoDsp = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 410), DisplayString()).setLabel("internetProfile-AtmConnectOptions-SvcOptions-OutgoingCalledAddr-AesaAddress-DspPortion-HoDsp").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_HoDsp.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_HoDsp.setDescription('A High-Order Domain-Specific Part of AESA address. The IDP portion determine the format of the HO-DSP.') internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Esi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 411), DisplayString()).setLabel("internetProfile-AtmConnectOptions-SvcOptions-OutgoingCalledAddr-AesaAddress-DspPortion-Esi").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Esi.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Esi.setDescription('An End System Identifier (ESI) which uniquely identifies the end system within the specified subnetwork.') internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Sel = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 412), DisplayString()).setLabel("internetProfile-AtmConnectOptions-SvcOptions-OutgoingCalledAddr-AesaAddress-DspPortion-Sel").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Sel.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Sel.setDescription('A selector (SEL) field that may be used by the end system.') internetProfile_AtmConnectOptions_AtmInverseArp = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 351), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-AtmConnectOptions-AtmInverseArp").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_AtmInverseArp.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_AtmInverseArp.setDescription('Send Atm Inverse Arp request for this connection.') internetProfile_AtmConnectOptions_Fr08Mode = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 379), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("translation", 1), ("transparent", 2)))).setLabel("internetProfile-AtmConnectOptions-Fr08Mode").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_Fr08Mode.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_Fr08Mode.setDescription('The FR-08 transparent mode') internetProfile_AtmConnectOptions_AtmCircuitProfile = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 439), DisplayString()).setLabel("internetProfile-AtmConnectOptions-AtmCircuitProfile").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_AtmCircuitProfile.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_AtmCircuitProfile.setDescription('The atm circuit profile name to be used for this connection.') internetProfile_AtmConnectOptions_OamAisF5 = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 456), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disable", 1), ("segment", 2), ("endToEnd", 3)))).setLabel("internetProfile-AtmConnectOptions-OamAisF5").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_OamAisF5.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_OamAisF5.setDescription('Disable/Enable sending OAM AIS F5 cells when pvc is down.') internetProfile_AtmConnectOptions_OamSupport = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 457), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-AtmConnectOptions-OamSupport").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_OamSupport.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_OamSupport.setDescription('Is F4 OAM supported? It is used only when vp-switching is yes. The Stinger system can only support F4 OAM for 50 VPC segments in total.') internetProfile_AtmConnectOptions_Mtu = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 469), Integer32()).setLabel("internetProfile-AtmConnectOptions-Mtu").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_Mtu.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmConnectOptions_Mtu.setDescription('The maximum packet size (excluding LLC encapsulation if used) that can be transmitted to a remote peer without performing fragmentation.') internetProfile_Visa2Options_IdleCharacterDelay = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 271), Integer32()).setLabel("internetProfile-Visa2Options-IdleCharacterDelay").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_Visa2Options_IdleCharacterDelay.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_Visa2Options_IdleCharacterDelay.setDescription('Idle Character Delay in milliseconds.') internetProfile_Visa2Options_FirstDataForwardCharacter = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 272), DisplayString()).setLabel("internetProfile-Visa2Options-FirstDataForwardCharacter").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_Visa2Options_FirstDataForwardCharacter.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_Visa2Options_FirstDataForwardCharacter.setDescription('First Data Forwarding Character. Default is 0x04') internetProfile_Visa2Options_SecondDataForwardCharacter = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 273), DisplayString()).setLabel("internetProfile-Visa2Options-SecondDataForwardCharacter").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_Visa2Options_SecondDataForwardCharacter.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_Visa2Options_SecondDataForwardCharacter.setDescription('Second Data Forwarding Character. Default is 0x06') internetProfile_Visa2Options_ThirdDataForwardCharacter = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 274), DisplayString()).setLabel("internetProfile-Visa2Options-ThirdDataForwardCharacter").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_Visa2Options_ThirdDataForwardCharacter.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_Visa2Options_ThirdDataForwardCharacter.setDescription('Third Data Forwarding Character. Default is 0x15') internetProfile_Visa2Options_FourthDataForwardCharacter = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 275), DisplayString()).setLabel("internetProfile-Visa2Options-FourthDataForwardCharacter").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_Visa2Options_FourthDataForwardCharacter.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_Visa2Options_FourthDataForwardCharacter.setDescription('Fourth Data Forwarding Character. Default is 0x05') internetProfile_Visa2Options_o1CharSequence = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 276), DisplayString()).setLabel("internetProfile-Visa2Options-o1CharSequence").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_Visa2Options_o1CharSequence.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_Visa2Options_o1CharSequence.setDescription('1 character data forwarding sequence. Default is 0x03') internetProfile_Visa2Options_o2CharSequence = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 277), DisplayString()).setLabel("internetProfile-Visa2Options-o2CharSequence").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_Visa2Options_o2CharSequence.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_Visa2Options_o2CharSequence.setDescription('2 character data forwarding sequence. Default is 0x00:0x03') internetProfile_SdtnPacketsServer = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 278), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-SdtnPacketsServer").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_SdtnPacketsServer.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_SdtnPacketsServer.setDescription('Decides if this profile Handles sdtn-packets. Note, the Sdtn data packets may still be encapsulated') internetProfile_oATString = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 279), DisplayString()).setLabel("internetProfile-oATString").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_oATString.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_oATString.setDescription('Allows the user to enter customized AT commands in the modem dial or answer string.') internetProfile_PortRedirectOptions_Protocol = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 280), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 7, 18))).clone(namedValues=NamedValues(("none", 1), ("tcp", 7), ("udp", 18)))).setLabel("internetProfile-PortRedirectOptions-Protocol").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PortRedirectOptions_Protocol.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PortRedirectOptions_Protocol.setDescription('The protocol to be redirected.') internetProfile_PortRedirectOptions_PortNumber = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 281), Integer32()).setLabel("internetProfile-PortRedirectOptions-PortNumber").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PortRedirectOptions_PortNumber.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PortRedirectOptions_PortNumber.setDescription('Port number to be redirected.') internetProfile_PortRedirectOptions_RedirectAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 282), IpAddress()).setLabel("internetProfile-PortRedirectOptions-RedirectAddress").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PortRedirectOptions_RedirectAddress.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PortRedirectOptions_RedirectAddress.setDescription('IP Address of server to which packet is to be redirected.') internetProfile_PppoeOptions_Pppoe = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 288), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-PppoeOptions-Pppoe").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppoeOptions_Pppoe.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppoeOptions_Pppoe.setDescription('Enable or disable the ability to establish PPP over Ethernet session over this interface.') internetProfile_PppoeOptions_BridgeNonPppoe = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 289), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-PppoeOptions-BridgeNonPppoe").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PppoeOptions_BridgeNonPppoe.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PppoeOptions_BridgeNonPppoe.setDescription('States wheather to bridge all other protocols except PPPoE on this interface or not.') internetProfile_AtmQosOptions_UsrUpStreamContract = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 352), DisplayString()).setLabel("internetProfile-AtmQosOptions-UsrUpStreamContract").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmQosOptions_UsrUpStreamContract.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmQosOptions_UsrUpStreamContract.setDescription('Quality of Service (QOS) contract for user up stream traffic') internetProfile_AtmQosOptions_UsrDnStreamContract = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 353), DisplayString()).setLabel("internetProfile-AtmQosOptions-UsrDnStreamContract").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmQosOptions_UsrDnStreamContract.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmQosOptions_UsrDnStreamContract.setDescription('Quality of Service (QOS) contract for user down stream traffic') internetProfile_AtmQosOptions_SubtendingHops = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 470), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("n-0Level", 1), ("n-1Level", 2), ("n-2Level", 3), ("n-3Level", 4)))).setLabel("internetProfile-AtmQosOptions-SubtendingHops").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmQosOptions_SubtendingHops.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmQosOptions_SubtendingHops.setDescription('Number of hops from which the end-point of this connection originates') internetProfile_BirOptions_Enable = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 290), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-BirOptions-Enable").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_BirOptions_Enable.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_BirOptions_Enable.setDescription('Enable or disable the BIR on this interface.') internetProfile_BirOptions_ProxyArp = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 291), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-BirOptions-ProxyArp").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_BirOptions_ProxyArp.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_BirOptions_ProxyArp.setDescription('Specify how proxy arp is to be used on an interface.') internetProfile_AtmAalOptions_AalEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 440), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-AtmAalOptions-AalEnabled").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_AtmAalOptions_AalEnabled.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmAalOptions_AalEnabled.setDescription('Enable the AAl options') internetProfile_AtmAalOptions_AalType = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 441), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("aal0", 1), ("aal5", 2), ("unspecified", 3)))).setLabel("internetProfile-AtmAalOptions-AalType").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmAalOptions_AalType.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmAalOptions_AalType.setDescription('ATM Adaptation Layer type') internetProfile_AtmAalOptions_TransmitSduSize = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 442), Integer32()).setLabel("internetProfile-AtmAalOptions-TransmitSduSize").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmAalOptions_TransmitSduSize.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmAalOptions_TransmitSduSize.setDescription('Size of the trasmitt Service Data Unit in octets.') internetProfile_AtmAalOptions_ReceiveSduSize = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 443), Integer32()).setLabel("internetProfile-AtmAalOptions-ReceiveSduSize").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_AtmAalOptions_ReceiveSduSize.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_AtmAalOptions_ReceiveSduSize.setDescription('Size of the receive Service Data Unit in octets.') internetProfile_ConnUser = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 444), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("default", 1), ("cpcs", 2)))).setLabel("internetProfile-ConnUser").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_ConnUser.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_ConnUser.setDescription('Connetion User type .') internetProfile_ModemOnHoldTimeout = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 458), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15))).clone(namedValues=NamedValues(("mohDisabled", 1), ("n-10SecMohTimeout", 2), ("n-20SecMohTimeout", 3), ("n-30SecMohTimeout", 4), ("n-40SecMohTimeout", 5), ("n-1MinMohTimeout", 6), ("n-2MinMohTimeout", 7), ("n-3MinMohTimeout", 8), ("n-4MinMohTimeout", 9), ("n-6MinMohTimeout", 10), ("n-8MinMohTimeout", 11), ("n-12MinMohTimeout", 12), ("n-16MinMohTimeout", 13), ("noLimitMohTimeout", 14), ("connProfileUseGlobal", 15)))).setLabel("internetProfile-ModemOnHoldTimeout").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_ModemOnHoldTimeout.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_ModemOnHoldTimeout.setDescription('The allowable Modem-on-Hold timeout values.') internetProfile_PriorityOptions_Enabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 482), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("internetProfile-PriorityOptions-Enabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PriorityOptions_Enabled.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PriorityOptions_Enabled.setDescription('Enable priority classification.') internetProfile_PriorityOptions_PacketClassification = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 477), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3))).clone(namedValues=NamedValues(("qosTag", 2), ("udpPortRange", 3)))).setLabel("internetProfile-PriorityOptions-PacketClassification").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PriorityOptions_PacketClassification.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PriorityOptions_PacketClassification.setDescription('Method used to classify PPP packets.') internetProfile_PriorityOptions_MaxRtpPacketDelay = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 478), Integer32()).setLabel("internetProfile-PriorityOptions-MaxRtpPacketDelay").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PriorityOptions_MaxRtpPacketDelay.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PriorityOptions_MaxRtpPacketDelay.setDescription('Maximum delay for RTP packets in milli-seconds. Used for calculating the fragment size for the non-rtp traffic using the same link.') internetProfile_PriorityOptions_MinimumRtpPort = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 479), Integer32()).setLabel("internetProfile-PriorityOptions-MinimumRtpPort").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PriorityOptions_MinimumRtpPort.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PriorityOptions_MinimumRtpPort.setDescription('Minimum UDP port for prioritization') internetProfile_PriorityOptions_MaximumRtpPort = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 480), Integer32()).setLabel("internetProfile-PriorityOptions-MaximumRtpPort").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PriorityOptions_MaximumRtpPort.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PriorityOptions_MaximumRtpPort.setDescription('Maximum UDP port for prioritization') internetProfile_PriorityOptions_NoHighPrioPktDuration = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 481), Integer32()).setLabel("internetProfile-PriorityOptions-NoHighPrioPktDuration").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_PriorityOptions_NoHighPrioPktDuration.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_PriorityOptions_NoHighPrioPktDuration.setDescription('The number of seconds of no high priority packets before disabling IP fragmentation of low priority packets. The value 0 disables checking duration of no high priority packet.') internetProfile_Action_o = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 1, 1, 249), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("noAction", 1), ("createProfile", 2), ("deleteProfile", 3)))).setLabel("internetProfile-Action-o").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_Action_o.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_Action_o.setDescription('') mibinternetProfile_IpxOptions_IpxSapHsProxyNetTable = MibTable((1, 3, 6, 1, 4, 1, 529, 23, 1, 2), ).setLabel("mibinternetProfile-IpxOptions-IpxSapHsProxyNetTable") if mibBuilder.loadTexts: mibinternetProfile_IpxOptions_IpxSapHsProxyNetTable.setStatus('mandatory') if mibBuilder.loadTexts: mibinternetProfile_IpxOptions_IpxSapHsProxyNetTable.setDescription('A list of mibinternetProfile__ipx_options__ipx_sap_hs_proxy_net profile entries.') mibinternetProfile_IpxOptions_IpxSapHsProxyNetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 529, 23, 1, 2, 1), ).setLabel("mibinternetProfile-IpxOptions-IpxSapHsProxyNetEntry").setIndexNames((0, "ASCEND-MIBINET-MIB", "internetProfile-IpxOptions-IpxSapHsProxyNet-Station"), (0, "ASCEND-MIBINET-MIB", "internetProfile-IpxOptions-IpxSapHsProxyNet-Index-o")) if mibBuilder.loadTexts: mibinternetProfile_IpxOptions_IpxSapHsProxyNetEntry.setStatus('mandatory') if mibBuilder.loadTexts: mibinternetProfile_IpxOptions_IpxSapHsProxyNetEntry.setDescription('A mibinternetProfile__ipx_options__ipx_sap_hs_proxy_net entry containing objects that maps to the parameters of mibinternetProfile__ipx_options__ipx_sap_hs_proxy_net profile.') internetProfile_IpxOptions_IpxSapHsProxyNet_Station = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 2, 1, 1), DisplayString()).setLabel("internetProfile-IpxOptions-IpxSapHsProxyNet-Station").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_IpxOptions_IpxSapHsProxyNet_Station.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_IpxSapHsProxyNet_Station.setDescription('') internetProfile_IpxOptions_IpxSapHsProxyNet_Index_o = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 2, 1, 2), Integer32()).setLabel("internetProfile-IpxOptions-IpxSapHsProxyNet-Index-o").setMaxAccess("readonly") if mibBuilder.loadTexts: internetProfile_IpxOptions_IpxSapHsProxyNet_Index_o.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_IpxSapHsProxyNet_Index_o.setDescription('') internetProfile_IpxOptions_IpxSapHsProxyNet = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 1, 2, 1, 3), Integer32()).setLabel("internetProfile-IpxOptions-IpxSapHsProxyNet").setMaxAccess("readwrite") if mibBuilder.loadTexts: internetProfile_IpxOptions_IpxSapHsProxyNet.setStatus('mandatory') if mibBuilder.loadTexts: internetProfile_IpxOptions_IpxSapHsProxyNet.setDescription('The Network# for IPX SAP Proxy Home Server.') mibBuilder.exportSymbols("ASCEND-MIBINET-MIB", internetProfile_IpxOptions_NetAlias=internetProfile_IpxOptions_NetAlias, internetProfile_IpxOptions_Rip=internetProfile_IpxOptions_Rip, internetProfile_X25Options_PadAlias2=internetProfile_X25Options_PadAlias2, internetProfile_Clid=internetProfile_Clid, internetProfile_AtmConnectOptions_Atm1483type=internetProfile_AtmConnectOptions_Atm1483type, internetProfile_IpOptions_NetmaskLocal=internetProfile_IpOptions_NetmaskLocal, internetProfile_TelcoOptions_Callback=internetProfile_TelcoOptions_Callback, internetProfile_T3posOptions_T3PosEnqHandling=internetProfile_T3posOptions_T3PosEnqHandling, internetProfile_T3posOptions_X25CugIndex=internetProfile_T3posOptions_X25CugIndex, internetProfile_X25Options_PadAlias3=internetProfile_X25Options_PadAlias3, internetProfile_IpOptions_TosOptions_Dscp=internetProfile_IpOptions_TosOptions_Dscp, internetProfile_T3posOptions_X25Rpoa=internetProfile_T3posOptions_X25Rpoa, internetProfile_Visa2Options_FourthDataForwardCharacter=internetProfile_Visa2Options_FourthDataForwardCharacter, internetProfile_TelcoOptions_AnswerOriginate=internetProfile_TelcoOptions_AnswerOriginate, internetProfile_TelcoOptions_TransitNumber=internetProfile_TelcoOptions_TransitNumber, internetProfile_IpxOptions_IpxSapHsProxy=internetProfile_IpxOptions_IpxSapHsProxy, internetProfile_IpOptions_OspfOptions_AreaType=internetProfile_IpOptions_OspfOptions_AreaType, internetProfile_AtmQosOptions_UsrUpStreamContract=internetProfile_AtmQosOptions_UsrUpStreamContract, internetProfile_IpOptions_VjHeaderPrediction=internetProfile_IpOptions_VjHeaderPrediction, internetProfile_T3posOptions_DataFormat=internetProfile_T3posOptions_DataFormat, internetProfile_AtmConnectOptions_SpvcRetryLimit=internetProfile_AtmConnectOptions_SpvcRetryLimit, internetProfile_AtmOptions_Mtu=internetProfile_AtmOptions_Mtu, internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Idi=internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Idi, internetProfile_AtmConnectOptions_OamSupport=internetProfile_AtmConnectOptions_OamSupport, internetProfile_DhcpOptions_PoolNumber=internetProfile_DhcpOptions_PoolNumber, internetProfile_HdlcNrmOptions_Primary=internetProfile_HdlcNrmOptions_Primary, internetProfile_IpOptions_OspfOptions_DownCost=internetProfile_IpOptions_OspfOptions_DownCost, internetProfile_PppOptions_PppInterfaceType=internetProfile_PppOptions_PppInterfaceType, internetProfile_UsrRadOptions_AcctPort=internetProfile_UsrRadOptions_AcctPort, internetProfile_T3posOptions_T3PosT4=internetProfile_T3posOptions_T3PosT4, internetProfile_PriorityOptions_Enabled=internetProfile_PriorityOptions_Enabled, internetProfile_TcpClearOptions_Port2=internetProfile_TcpClearOptions_Port2, internetProfile_PppOptions_PppCircuit=internetProfile_PppOptions_PppCircuit, internetProfile_DhcpOptions_MaximumLeases=internetProfile_DhcpOptions_MaximumLeases, internetProfile_PriorityOptions_MaxRtpPacketDelay=internetProfile_PriorityOptions_MaxRtpPacketDelay, internetProfile_TunnelOptions_Password=internetProfile_TunnelOptions_Password, internetProfile_IpOptions_AddressRealm=internetProfile_IpOptions_AddressRealm, internetProfile_SessionOptions_MaxtapLogServer=internetProfile_SessionOptions_MaxtapLogServer, internetProfile_AtmConnectOptions_OamAisF5=internetProfile_AtmConnectOptions_OamAisF5, internetProfile_X25Options_PosAuth=internetProfile_X25Options_PosAuth, internetProfile_PppOptions_LinkCompression=internetProfile_PppOptions_LinkCompression, internetProfile_BridgingOptions_SpoofingTimeout=internetProfile_BridgingOptions_SpoofingTimeout, internetProfile_AppletalkOptions_AtalkRoutingEnabled=internetProfile_AppletalkOptions_AtalkRoutingEnabled, internetProfile_IpOptions_IpDirect=internetProfile_IpOptions_IpDirect, internetProfile_SharedProf=internetProfile_SharedProf, internetProfile_SessionOptions_Blockduration=internetProfile_SessionOptions_Blockduration, internetProfile_TcpClearOptions_FlushLength=internetProfile_TcpClearOptions_FlushLength, internetProfile_SessionOptions_VtpGateway=internetProfile_SessionOptions_VtpGateway, internetProfile_AtmOptions_AtmServiceType=internetProfile_AtmOptions_AtmServiceType, internetProfile_TunnelOptions_TunnelingProtocol=internetProfile_TunnelOptions_TunnelingProtocol, internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Sel=internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Sel, internetProfile_HdlcNrmOptions_PollRetryCount=internetProfile_HdlcNrmOptions_PollRetryCount, internetProfile_X25Options_X3Profile=internetProfile_X25Options_X3Profile, internetProfile_PriorityOptions_MinimumRtpPort=internetProfile_PriorityOptions_MinimumRtpPort, internetProfile_SessionOptions_CallFilter=internetProfile_SessionOptions_CallFilter, internetProfile_AtmConnectOptions_AtmInverseArp=internetProfile_AtmConnectOptions_AtmInverseArp, internetProfile_IpOptions_Rip=internetProfile_IpOptions_Rip, internetProfile_IpxOptions_IpxSapHsProxyNet_Index_o=internetProfile_IpxOptions_IpxSapHsProxyNet_Index_o, internetProfile_TelcoOptions_Force56kbps=internetProfile_TelcoOptions_Force56kbps, internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Sel=internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Sel, internetProfile_IpOptions_OspfOptions_Active=internetProfile_IpOptions_OspfOptions_Active, internetProfile_IpxOptions_IpxHeaderCompression=internetProfile_IpxOptions_IpxHeaderCompression, internetProfile_AppletalkOptions_AtalkStaticNetStart=internetProfile_AppletalkOptions_AtalkStaticNetStart, internetProfile_Visa2Options_o1CharSequence=internetProfile_Visa2Options_o1CharSequence, internetProfile_PriorityOptions_MaximumRtpPort=internetProfile_PriorityOptions_MaximumRtpPort, internetProfile_IpOptions_Preference=internetProfile_IpOptions_Preference, internetProfile_AtmQosOptions_UsrDnStreamContract=internetProfile_AtmQosOptions_UsrDnStreamContract, internetProfile_TelcoOptions_Ft1Caller=internetProfile_TelcoOptions_Ft1Caller, internetProfile_AtmOptions_Fr08Mode=internetProfile_AtmOptions_Fr08Mode, internetProfile_IpOptions_OspfOptions_PollInterval=internetProfile_IpOptions_OspfOptions_PollInterval, internetProfile_PppOptions_BiDirectionalAuth=internetProfile_PppOptions_BiDirectionalAuth, internetProfile_EuOptions_DceAddr=internetProfile_EuOptions_DceAddr, internetProfile_AtmConnectOptions_SvcOptions_Enabled=internetProfile_AtmConnectOptions_SvcOptions_Enabled, internetProfile_IpOptions_OspfOptions_AseTag=internetProfile_IpOptions_OspfOptions_AseTag, internetProfile_BridgingOptions_BridgingGroup=internetProfile_BridgingOptions_BridgingGroup, internetProfile_TunnelOptions_HomeNetworkName=internetProfile_TunnelOptions_HomeNetworkName, internetProfile_HdlcNrmOptions_AsyncDrop=internetProfile_HdlcNrmOptions_AsyncDrop, internetProfile_SessionOptions_SesAdslCapUpRate=internetProfile_SessionOptions_SesAdslCapUpRate, internetProfile_BridgingOptions_IpxSpoofing=internetProfile_BridgingOptions_IpxSpoofing, internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_HoDsp=internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_HoDsp, internetProfile_PppOptions_CbcpEnabled=internetProfile_PppOptions_CbcpEnabled, internetProfile_X25Options_PadDefaultListen=internetProfile_X25Options_PadDefaultListen, internetProfile_IpOptions_RemoteAddress=internetProfile_IpOptions_RemoteAddress, internetProfile_SessionOptions_RedialDelayLimit=internetProfile_SessionOptions_RedialDelayLimit, internetProfile_AtmOptions_OamSupport=internetProfile_AtmOptions_OamSupport, internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_Format=internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_Format, internetProfile_BridgingOptions_DialOnBroadcast=internetProfile_BridgingOptions_DialOnBroadcast, internetProfile_IpOptions_PrivateRoute=internetProfile_IpOptions_PrivateRoute, internetProfile_MppOptions_X25chanTargetUtilization=internetProfile_MppOptions_X25chanTargetUtilization, internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_Format=internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_Format, mibinternetProfile_IpxOptions_IpxSapHsProxyNetEntry=mibinternetProfile_IpxOptions_IpxSapHsProxyNetEntry, internetProfile_BridgingOptions_BridgeType=internetProfile_BridgingOptions_BridgeType, internetProfile_AtmConnectOptions_CastType=internetProfile_AtmConnectOptions_CastType, internetProfile_PriorityOptions_NoHighPrioPktDuration=internetProfile_PriorityOptions_NoHighPrioPktDuration, DisplayString=DisplayString, internetProfile_AtmAalOptions_AalType=internetProfile_AtmAalOptions_AalType, internetProfile_AtmAalOptions_ReceiveSduSize=internetProfile_AtmAalOptions_ReceiveSduSize, internetProfile_AtmConnectOptions_SpvcRetryThreshold=internetProfile_AtmConnectOptions_SpvcRetryThreshold, internetProfile_SessionOptions_IdleTimer=internetProfile_SessionOptions_IdleTimer, internetProfile_T3posOptions_T3PosDteInitMode=internetProfile_T3posOptions_T3PosDteInitMode, internetProfile_AtmConnectOptions_TargetVpi=internetProfile_AtmConnectOptions_TargetVpi, internetProfile_AtmConnectOptions_VcMaxLoopbackCellLoss=internetProfile_AtmConnectOptions_VcMaxLoopbackCellLoss, internetProfile_BirOptions_ProxyArp=internetProfile_BirOptions_ProxyArp, internetProfile_X25Options_PadPrompt=internetProfile_X25Options_PadPrompt, internetProfile_AtmOptions_SpvcRetryLimit=internetProfile_AtmOptions_SpvcRetryLimit, internetProfile_AtmConnectOptions_TargetSelect=internetProfile_AtmConnectOptions_TargetSelect, internetProfile_T3posOptions_T3PosT3=internetProfile_T3posOptions_T3PosT3, internetProfile_X25Options_MaxCalls=internetProfile_X25Options_MaxCalls, internetProfile_Vrouter=internetProfile_Vrouter, internetProfile_UsrRadOptions_AcctKey=internetProfile_UsrRadOptions_AcctKey, internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_E164NativeAddress=internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_E164NativeAddress, internetProfile_TunnelOptions_Vrouter=internetProfile_TunnelOptions_Vrouter, internetProfile_SessionOptions_TsIdleMode=internetProfile_SessionOptions_TsIdleMode, internetProfile_AtmOptions_SpvcRetryThreshold=internetProfile_AtmOptions_SpvcRetryThreshold, internetProfile_IpOptions_ClientWinsAddrAssign=internetProfile_IpOptions_ClientWinsAddrAssign, internetProfile_TcpClearOptions_DetectEndOfPacket=internetProfile_TcpClearOptions_DetectEndOfPacket, internetProfile_TcpClearOptions_Host3=internetProfile_TcpClearOptions_Host3, internetProfile_X25Options_X121SourceAddress=internetProfile_X25Options_X121SourceAddress, internetProfile_HdlcNrmOptions_PollRate=internetProfile_HdlcNrmOptions_PollRate, internetProfile_AtmOptions_AtmDirectProfile=internetProfile_AtmOptions_AtmDirectProfile, internetProfile_IpOptions_TosFilter=internetProfile_IpOptions_TosFilter, internetProfile_SessionOptions_MaxCallDuration=internetProfile_SessionOptions_MaxCallDuration, internetProfile_IpxOptions_DialQuery=internetProfile_IpxOptions_DialQuery, internetProfile_MppOptions_TargetUtilization=internetProfile_MppOptions_TargetUtilization, internetProfile_T3posOptions_AutoCallX121Address=internetProfile_T3posOptions_AutoCallX121Address, internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_E164NativeAddress=internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_E164NativeAddress, internetProfile_X75Options_T1RetranTimer=internetProfile_X75Options_T1RetranTimer, internetProfile_T3posOptions_T3PosPidSelection=internetProfile_T3posOptions_T3PosPidSelection, internetProfile_X32Options_X32ApplMode=internetProfile_X32Options_X32ApplMode, internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_NumberingPlan=internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_NumberingPlan, internetProfile_AtmConnectOptions_SpvcRetryInterval=internetProfile_AtmConnectOptions_SpvcRetryInterval, internetProfile_AtmOptions_AtmInverseArp=internetProfile_AtmOptions_AtmInverseArp, internetProfile_X25Options_X25EncapsType=internetProfile_X25Options_X25EncapsType, internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Idi=internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Idi, internetProfile_PriNumberingPlanId=internetProfile_PriNumberingPlanId, internetProfile_Visa2Options_ThirdDataForwardCharacter=internetProfile_Visa2Options_ThirdDataForwardCharacter, internetProfile_X25Options_CallMode=internetProfile_X25Options_CallMode, internetProfile_X25Options_PadNuiPrompt=internetProfile_X25Options_PadNuiPrompt, internetProfile_X25Options_RemoteX25Address=internetProfile_X25Options_RemoteX25Address, internetProfile_SessionOptions_TsIdleTimer=internetProfile_SessionOptions_TsIdleTimer, internetProfile_MppOptions_AddPersistence=internetProfile_MppOptions_AddPersistence, internetProfile_BridgingOptions_Egress=internetProfile_BridgingOptions_Egress, internetProfile_FrOptions_FrDirectProfile=internetProfile_FrOptions_FrDirectProfile, internetProfile_AtmConnectOptions_VcFaultManagement=internetProfile_AtmConnectOptions_VcFaultManagement, internetProfile_IpOptions_ClientWinsSecondaryAddr=internetProfile_IpOptions_ClientWinsSecondaryAddr, internetProfile_SessionOptions_DataFilter=internetProfile_SessionOptions_DataFilter, internetProfile_EuOptions_DteAddr=internetProfile_EuOptions_DteAddr, internetProfile_UsrRadOptions_AcctIdBase=internetProfile_UsrRadOptions_AcctIdBase, internetProfile_X25Options_X25Profile=internetProfile_X25Options_X25Profile, internetProfile_AltdialNumber1=internetProfile_AltdialNumber1, internetProfile_IpOptions_OspfOptions_NetworkType=internetProfile_IpOptions_OspfOptions_NetworkType, internetProfile_AtmOptions_TargetAtmAddress=internetProfile_AtmOptions_TargetAtmAddress, internetProfile_MppOptions_DynamicAlgorithm=internetProfile_MppOptions_DynamicAlgorithm, internetProfile_EuOptions_Mru=internetProfile_EuOptions_Mru, internetProfile_SessionOptions_FilterRequired=internetProfile_SessionOptions_FilterRequired, internetProfile_PortRedirectOptions_PortNumber=internetProfile_PortRedirectOptions_PortNumber, internetProfile_IpOptions_TosOptions_Active=internetProfile_IpOptions_TosOptions_Active, internetProfile_SessionOptions_SesAdslDmtDownRate=internetProfile_SessionOptions_SesAdslDmtDownRate, internetProfile_AtmConnectOptions_TargetVci=internetProfile_AtmConnectOptions_TargetVci, internetProfile_MppOptions_BandwidthMonitorDirection=internetProfile_MppOptions_BandwidthMonitorDirection, internetProfile_X25Options_X25CugIndex=internetProfile_X25Options_X25CugIndex, internetProfile_AtmConnectOptions_TargetAtmAddress=internetProfile_AtmConnectOptions_TargetAtmAddress, internetProfile_IpOptions_RouteFilter=internetProfile_IpOptions_RouteFilter, internetProfile_TelcoOptions_DelayCallback=internetProfile_TelcoOptions_DelayCallback, internetProfile_AtmConnectOptions_VpSwitching=internetProfile_AtmConnectOptions_VpSwitching, internetProfile_AtmOptions_AtmDirectEnabled=internetProfile_AtmOptions_AtmDirectEnabled, internetProfile_SessionOptions_TrafficShaper=internetProfile_SessionOptions_TrafficShaper, internetProfile_BridgingOptions_Fill2=internetProfile_BridgingOptions_Fill2, internetProfile_X25Options_X25Nui=internetProfile_X25Options_X25Nui, internetProfile_IpOptions_OspfOptions_Cost=internetProfile_IpOptions_OspfOptions_Cost, internetProfile_IpOptions_OspfOptions_KeyId=internetProfile_IpOptions_OspfOptions_KeyId, internetProfile_SessionOptions_SesRateType=internetProfile_SessionOptions_SesRateType, internetProfile_IpxOptions_IpxRoutingEnabled=internetProfile_IpxOptions_IpxRoutingEnabled, internetProfile_FrOptions_Dlci=internetProfile_FrOptions_Dlci, internetProfile_IpOptions_NetmaskRemote=internetProfile_IpOptions_NetmaskRemote, internetProfile_MaxSharedUsers=internetProfile_MaxSharedUsers, internetProfile_CalledNumber=internetProfile_CalledNumber, internetProfile_T3posOptions_MaxCalls=internetProfile_T3posOptions_MaxCalls, internetProfile_TunnelOptions_SecondaryTunnelServer=internetProfile_TunnelOptions_SecondaryTunnelServer, internetProfile_IpOptions_MulticastRateLimit=internetProfile_IpOptions_MulticastRateLimit, internetProfile_T3posOptions_LinkAccessType=internetProfile_T3posOptions_LinkAccessType, internetProfile_oATString=internetProfile_oATString, internetProfile_AraOptions_RecvPassword=internetProfile_AraOptions_RecvPassword, internetProfile_PppOptions_SubstituteSendName=internetProfile_PppOptions_SubstituteSendName, internetProfile_TelcoOptions_CallByCall=internetProfile_TelcoOptions_CallByCall, internetProfile_AtmOptions_ConnKind=internetProfile_AtmOptions_ConnKind, internetProfile_ConnUser=internetProfile_ConnUser, internetProfile_TunnelOptions_TosCopying=internetProfile_TunnelOptions_TosCopying, internetProfile_UsrRadOptions_AcctType=internetProfile_UsrRadOptions_AcctType, internetProfile_MppOptions_AuxSendPassword=internetProfile_MppOptions_AuxSendPassword, internetProfile_X75Options_FrameLength=internetProfile_X75Options_FrameLength, internetProfile_IpOptions_TosOptions_ApplyTo=internetProfile_IpOptions_TosOptions_ApplyTo, internetProfile_AppletalkOptions_AtalkStaticZoneName=internetProfile_AppletalkOptions_AtalkStaticZoneName, internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_Format=internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_Format, internetProfile_IpOptions_RoutingMetric=internetProfile_IpOptions_RoutingMetric, internetProfile_X25Options_VcTimerEnable=internetProfile_X25Options_VcTimerEnable, mibinternetProfileEntry=mibinternetProfileEntry, internetProfile_SessionOptions_SesAdslCapDownRate=internetProfile_SessionOptions_SesAdslCapDownRate, internetProfile_IpxOptions_NetNumber=internetProfile_IpxOptions_NetNumber, internetProfile_CrossConnectIndex=internetProfile_CrossConnectIndex, internetProfile_TelcoOptions_NailedGroups=internetProfile_TelcoOptions_NailedGroups, internetProfile_Visa2Options_o2CharSequence=internetProfile_Visa2Options_o2CharSequence, internetProfile_T3posOptions_Answer=internetProfile_T3posOptions_Answer, internetProfile_X25Options_Windowsize=internetProfile_X25Options_Windowsize, internetProfile_X25Options_X25Rpoa=internetProfile_X25Options_X25Rpoa, internetProfile_AtmAalOptions_TransmitSduSize=internetProfile_AtmAalOptions_TransmitSduSize, internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Afi=internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Afi, internetProfile_X25Options_InactivityTimer=internetProfile_X25Options_InactivityTimer, internetProfile_SessionOptions_SesSdslRate=internetProfile_SessionOptions_SesSdslRate, internetProfile_MpOptions_CallbackrequestEnable=internetProfile_MpOptions_CallbackrequestEnable, internetProfile_PppOptions_Mru=internetProfile_PppOptions_Mru, internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_HoDsp=internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_HoDsp, internetProfile_X25Options_PadDiagDisp=internetProfile_X25Options_PadDiagDisp, internetProfile_TcpClearOptions_EndOfPacketPattern=internetProfile_TcpClearOptions_EndOfPacketPattern, internetProfile_TelcoOptions_BillingNumber=internetProfile_TelcoOptions_BillingNumber, internetProfile_IpOptions_AddressPool=internetProfile_IpOptions_AddressPool, internetProfile_AtmOptions_TargetVci=internetProfile_AtmOptions_TargetVci, internetProfile_AtmConnectOptions_NailedGroup=internetProfile_AtmConnectOptions_NailedGroup, internetProfile_IpOptions_ClientDnsAddrAssign=internetProfile_IpOptions_ClientDnsAddrAssign, internetProfile_TcpClearOptions_Port=internetProfile_TcpClearOptions_Port, internetProfile_T3posOptions_T3PosMaxBlockSize=internetProfile_T3posOptions_T3PosMaxBlockSize, internetProfile_UsrRadOptions_AcctHost=internetProfile_UsrRadOptions_AcctHost, internetProfile_AtmOptions_NailedGroup=internetProfile_AtmOptions_NailedGroup, internetProfile_FrOptions_MfrBundleName=internetProfile_FrOptions_MfrBundleName, internetProfile_AppletalkOptions_AtalkStaticNetEnd=internetProfile_AppletalkOptions_AtalkStaticNetEnd, internetProfile_SubAddress=internetProfile_SubAddress, internetProfile_PppOptions_DelayCallbackControl=internetProfile_PppOptions_DelayCallbackControl, internetProfile_AtmConnectOptions_AtmServiceRate=internetProfile_AtmConnectOptions_AtmServiceRate, internetProfile_IpOptions_OspfOptions_Md5AuthKey=internetProfile_IpOptions_OspfOptions_Md5AuthKey, internetProfile_T3posOptions_T3PosAckSuppression=internetProfile_T3posOptions_T3PosAckSuppression, internetProfile_T3posOptions_X25Nui=internetProfile_T3posOptions_X25Nui, internetProfile_TunnelOptions_PrimaryTunnelServer=internetProfile_TunnelOptions_PrimaryTunnelServer, internetProfile_IpOptions_TosOptions_Precedence=internetProfile_IpOptions_TosOptions_Precedence, internetProfile_AltdialNumber3=internetProfile_AltdialNumber3, internetProfile_MpOptions_BodEnable=internetProfile_MpOptions_BodEnable, internetProfile_AtmConnectOptions_AtmDirectProfile=internetProfile_AtmConnectOptions_AtmDirectProfile, internetProfile_TelcoOptions_DialoutAllowed=internetProfile_TelcoOptions_DialoutAllowed, internetProfile_SessionOptions_Backup=internetProfile_SessionOptions_Backup, internetProfile_SdtnPacketsServer=internetProfile_SdtnPacketsServer, internetProfile_IpOptions_MulticastAllowed=internetProfile_IpOptions_MulticastAllowed, internetProfile_IpOptions_ClientWinsPrimaryAddr=internetProfile_IpOptions_ClientWinsPrimaryAddr, internetProfile_AtmConnectOptions_AtmServiceType=internetProfile_AtmConnectOptions_AtmServiceType, internetProfile_IpOptions_LocalAddress=internetProfile_IpOptions_LocalAddress, internetProfile_MpOptions_BacpEnable=internetProfile_MpOptions_BacpEnable, internetProfile_SessionOptions_Blockcountlimit=internetProfile_SessionOptions_Blockcountlimit, internetProfile_TelcoOptions_DataService=internetProfile_TelcoOptions_DataService, internetProfile_AtmConnectOptions_ConnKind=internetProfile_AtmConnectOptions_ConnKind, internetProfile_IpOptions_OspfOptions_AuthKey=internetProfile_IpOptions_OspfOptions_AuthKey, internetProfile_FrOptions_FrDirectEnabled=internetProfile_FrOptions_FrDirectEnabled, internetProfile_PppOptions_LqmMaximumPeriod=internetProfile_PppOptions_LqmMaximumPeriod, internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Sel=internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Sel, internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Idi=internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Idi, internetProfile_PortRedirectOptions_Protocol=internetProfile_PortRedirectOptions_Protocol, internetProfile_SessionOptions_SesAdslDmtUpRate=internetProfile_SessionOptions_SesAdslDmtUpRate) mibBuilder.exportSymbols("ASCEND-MIBINET-MIB", internetProfile_T3posOptions_T3PosT6=internetProfile_T3posOptions_T3PosT6, internetProfile_PortRedirectOptions_RedirectAddress=internetProfile_PortRedirectOptions_RedirectAddress, internetProfile_X32Options_CallMode=internetProfile_X32Options_CallMode, internetProfile_AtmConnectOptions_Vci=internetProfile_AtmConnectOptions_Vci, internetProfile_IpOptions_ClientDefaultGateway=internetProfile_IpOptions_ClientDefaultGateway, internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_NumberingPlan=internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_NumberingPlan, internetProfile_AtmOptions_SvcOptions_Enabled=internetProfile_AtmOptions_SvcOptions_Enabled, internetProfile_DialNumber=internetProfile_DialNumber, internetProfile_IpOptions_TosOptions_MarkingType=internetProfile_IpOptions_TosOptions_MarkingType, internetProfile_TcpClearOptions_Host=internetProfile_TcpClearOptions_Host, internetProfile_IpsecOptions_Enabled=internetProfile_IpsecOptions_Enabled, internetProfile_HdlcNrmOptions_PollTimeout=internetProfile_HdlcNrmOptions_PollTimeout, internetProfile_IpOptions_OspfOptions_TransitDelay=internetProfile_IpOptions_OspfOptions_TransitDelay, internetProfile_IpxOptions_SapFilter=internetProfile_IpxOptions_SapFilter, internetProfile_X25Options_ReverseCharge=internetProfile_X25Options_ReverseCharge, internetProfile_EncapsulationProtocol=internetProfile_EncapsulationProtocol, internetProfile_TcpClearOptions_Host2=internetProfile_TcpClearOptions_Host2, internetProfile_T3posOptions_T3PosT2=internetProfile_T3posOptions_T3PosT2, internetProfile_MpOptions_BaseChannelCount=internetProfile_MpOptions_BaseChannelCount, internetProfile_PriorityOptions_PacketClassification=internetProfile_PriorityOptions_PacketClassification, internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_Format=internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_Format, internetProfile_IpOptions_OspfOptions_DeadInterval=internetProfile_IpOptions_OspfOptions_DeadInterval, internetProfile_IpOptions_DownPreference=internetProfile_IpOptions_DownPreference, internetProfile_AtmOptions_Vpi=internetProfile_AtmOptions_Vpi, internetProfile_X25Options_PadBanner=internetProfile_X25Options_PadBanner, internetProfile_HdlcNrmOptions_StationPollAddress=internetProfile_HdlcNrmOptions_StationPollAddress, internetProfile_T3posOptions_T3PosT5=internetProfile_T3posOptions_T3PosT5, internetProfile_UsrRadOptions_AcctTimeout=internetProfile_UsrRadOptions_AcctTimeout, internetProfile_TunnelOptions_UdpPort=internetProfile_TunnelOptions_UdpPort, internetProfile_MppOptions_SubPersistence=internetProfile_MppOptions_SubPersistence, internetProfile_PppOptions_LqmMinimumPeriod=internetProfile_PppOptions_LqmMinimumPeriod, internetProfile_IpxOptions_IpxSapHsProxyNet=internetProfile_IpxOptions_IpxSapHsProxyNet, internetProfile_SessionOptions_CirTimer=internetProfile_SessionOptions_CirTimer, internetProfile_AtmConnectOptions_Vpi=internetProfile_AtmConnectOptions_Vpi, internetProfile_Visa2Options_FirstDataForwardCharacter=internetProfile_Visa2Options_FirstDataForwardCharacter, internetProfile_TcpClearOptions_FlushTime=internetProfile_TcpClearOptions_FlushTime, internetProfile_FrOptions_CircuitType=internetProfile_FrOptions_CircuitType, internetProfile_IpOptions_OspfOptions_Area=internetProfile_IpOptions_OspfOptions_Area, internetProfile_IpOptions_IpRoutingEnabled=internetProfile_IpOptions_IpRoutingEnabled, internetProfile_AtmOptions_AtmCircuitProfile=internetProfile_AtmOptions_AtmCircuitProfile, internetProfile_PppOptions_RecvPassword=internetProfile_PppOptions_RecvPassword, internetProfile_IpOptions_ClientDnsPrimaryAddr=internetProfile_IpOptions_ClientDnsPrimaryAddr, internetProfile_Visa2Options_SecondDataForwardCharacter=internetProfile_Visa2Options_SecondDataForwardCharacter, internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_NumberingPlan=internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_NumberingPlan, internetProfile_IpxOptions_PeerMode=internetProfile_IpxOptions_PeerMode, internetProfile_Active=internetProfile_Active, internetProfile_T3posOptions_T3PosMethodOfHostNotif=internetProfile_T3posOptions_T3PosMethodOfHostNotif, internetProfile_IpOptions_NatProfileName=internetProfile_IpOptions_NatProfileName, internetProfile_FrOptions_FrDirectDlci=internetProfile_FrOptions_FrDirectDlci, internetProfile_X32Options_X32Profile=internetProfile_X32Options_X32Profile, internetProfile_PppOptions_Lqm=internetProfile_PppOptions_Lqm, internetProfile_T3posOptions_X25Profile=internetProfile_T3posOptions_X25Profile, internetProfile_FrOptions_FrameRelayProfile=internetProfile_FrOptions_FrameRelayProfile, internetProfile_SessionOptions_FilterPersistence=internetProfile_SessionOptions_FilterPersistence, internetProfile_PppOptions_SendPassword=internetProfile_PppOptions_SendPassword, internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Afi=internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_IdpPortion_Afi, internetProfile_PppOptions_TrunkGroupCallbackControl=internetProfile_PppOptions_TrunkGroupCallbackControl, internetProfile_T3posOptions_T3PosHostInitMode=internetProfile_T3posOptions_T3PosHostInitMode, mibinternetProfile_IpxOptions_IpxSapHsProxyNetTable=mibinternetProfile_IpxOptions_IpxSapHsProxyNetTable, internetProfile_AtmQosOptions_SubtendingHops=internetProfile_AtmQosOptions_SubtendingHops, internetProfile_AtmOptions_Vci=internetProfile_AtmOptions_Vci, internetProfile_IpxOptions_IpxSpoofing=internetProfile_IpxOptions_IpxSpoofing, internetProfile_HdlcNrmOptions_SnrmRetryCounter=internetProfile_HdlcNrmOptions_SnrmRetryCounter, internetProfile_PppOptions_SplitCodeDotUserEnabled=internetProfile_PppOptions_SplitCodeDotUserEnabled, internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Sel=internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Sel, internetProfile_SessionOptions_MaxtapDataServer=internetProfile_SessionOptions_MaxtapDataServer, internetProfile_AraOptions_MaximumConnectTime=internetProfile_AraOptions_MaximumConnectTime, internetProfile_DhcpOptions_ReplyEnabled=internetProfile_DhcpOptions_ReplyEnabled, internetProfile_Action_o=internetProfile_Action_o, internetProfile_SessionOptions_Priority=internetProfile_SessionOptions_Priority, internetProfile_SessionOptions_MaxVtpTunnels=internetProfile_SessionOptions_MaxVtpTunnels, internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Esi=internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Esi, internetProfile_FrOptions_CircuitName=internetProfile_FrOptions_CircuitName, internetProfile_IpOptions_OspfOptions_AuthenType=internetProfile_IpOptions_OspfOptions_AuthenType, internetProfile_BirOptions_Enable=internetProfile_BirOptions_Enable, internetProfile_AppletalkOptions_AtalkPeerMode=internetProfile_AppletalkOptions_AtalkPeerMode, internetProfile_AtmOptions_Atm1483type=internetProfile_AtmOptions_Atm1483type, internetProfile_IpxOptions_Sap=internetProfile_IpxOptions_Sap, internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_E164NativeAddress=internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_E164NativeAddress, internetProfile_IpsecOptions_SecurityPolicyDatabase=internetProfile_IpsecOptions_SecurityPolicyDatabase, internetProfile_TunnelOptions_ServerAuthId=internetProfile_TunnelOptions_ServerAuthId, internetProfile_TcpClearOptions_Host4=internetProfile_TcpClearOptions_Host4, internetProfile_IpOptions_OspfOptions_AseType=internetProfile_IpOptions_OspfOptions_AseType, internetProfile_TunnelOptions_ProfileType=internetProfile_TunnelOptions_ProfileType, internetProfile_IpOptions_MulticastGroupLeaveDelay=internetProfile_IpOptions_MulticastGroupLeaveDelay, internetProfile_AltdialNumber2=internetProfile_AltdialNumber2, internetProfile_FramedOnly=internetProfile_FramedOnly, internetProfile_TcpClearOptions_Port3=internetProfile_TcpClearOptions_Port3, internetProfile_AtmOptions_CastType=internetProfile_AtmOptions_CastType, internetProfile_TunnelOptions_AssignmentId=internetProfile_TunnelOptions_AssignmentId, internetProfile_IpxOptions_IpxSapHsProxyNet_Station=internetProfile_IpxOptions_IpxSapHsProxyNet_Station, internetProfile_PppoeOptions_Pppoe=internetProfile_PppoeOptions_Pppoe, internetProfile_AtmOptions_AtmServiceRate=internetProfile_AtmOptions_AtmServiceRate, internetProfile_IpOptions_OspfOptions_HelloInterval=internetProfile_IpOptions_OspfOptions_HelloInterval, internetProfile_CalledNumberType=internetProfile_CalledNumberType, internetProfile_PppOptions_SubstituteRecvName=internetProfile_PppOptions_SubstituteRecvName, internetProfile_AtmOptions_VpSwitching=internetProfile_AtmOptions_VpSwitching, internetProfile_HdlcNrmOptions_SnrmResponseTimeout=internetProfile_HdlcNrmOptions_SnrmResponseTimeout, internetProfile_X75Options_N2Retransmissions=internetProfile_X75Options_N2Retransmissions, internetProfile_X25Options_PadNuiPwPrompt=internetProfile_X25Options_PadNuiPwPrompt, internetProfile_SessionOptions_RxDataRateLimit=internetProfile_SessionOptions_RxDataRateLimit, internetProfile_T3posOptions_T3PosT1=internetProfile_T3posOptions_T3PosT1, internetProfile_T3posOptions_ReverseCharge=internetProfile_T3posOptions_ReverseCharge, internetProfile_AtmOptions_VcMaxLoopbackCellLoss=internetProfile_AtmOptions_VcMaxLoopbackCellLoss, internetProfile_TelcoOptions_CallType=internetProfile_TelcoOptions_CallType, internetProfile_Visa2Options_IdleCharacterDelay=internetProfile_Visa2Options_IdleCharacterDelay, internetProfile_IpxOptions_SpoofingTimeout=internetProfile_IpxOptions_SpoofingTimeout, internetProfile_PppOptions_Mtu=internetProfile_PppOptions_Mtu, internetProfile_IpOptions_PrivateRouteProfileRequired=internetProfile_IpOptions_PrivateRouteProfileRequired, internetProfile_PppOptions_ModeCallbackControl=internetProfile_PppOptions_ModeCallbackControl, internetProfile_AutoProfiles=internetProfile_AutoProfiles, internetProfile_TcpClearOptions_Port4=internetProfile_TcpClearOptions_Port4, internetProfile_TunnelOptions_AtmpHaRip=internetProfile_TunnelOptions_AtmpHaRip, internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Esi=internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Esi, internetProfile_X75Options_KFramesOutstanding=internetProfile_X75Options_KFramesOutstanding, internetProfile_MppOptions_DecrementChannelCount=internetProfile_MppOptions_DecrementChannelCount, mibinternetProfileTable=mibinternetProfileTable, internetProfile_TunnelOptions_ClientAuthId=internetProfile_TunnelOptions_ClientAuthId, internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Afi=internetProfile_AtmConnectOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Afi, internetProfile_X25Options_Lcn=internetProfile_X25Options_Lcn, internetProfile_IpOptions_SourceIpCheck=internetProfile_IpOptions_SourceIpCheck, internetProfile_AtmOptions_TargetVpi=internetProfile_AtmOptions_TargetVpi, internetProfile_AtmConnectOptions_Fr08Mode=internetProfile_AtmConnectOptions_Fr08Mode, internetProfile_IpOptions_OspfOptions_NonMulticast=internetProfile_IpOptions_OspfOptions_NonMulticast, internetProfile_FrOptions_FrLinkType=internetProfile_FrOptions_FrLinkType, internetProfile_SessionOptions_TxDataRateLimit=internetProfile_SessionOptions_TxDataRateLimit, internetProfile_X25Options_PadDefaultPw=internetProfile_X25Options_PadDefaultPw, internetProfile_AtmConnectOptions_Mtu=internetProfile_AtmConnectOptions_Mtu, internetProfile_SessionOptions_Secondary=internetProfile_SessionOptions_Secondary, internetProfile_PppOptions_SendAuthMode=internetProfile_PppOptions_SendAuthMode, internetProfile_Station=internetProfile_Station, internetProfile_MpOptions_MaximumChannels=internetProfile_MpOptions_MaximumChannels, internetProfile_AtmAalOptions_AalEnabled=internetProfile_AtmAalOptions_AalEnabled, internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_NumberingPlan=internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_NumberingPlan, internetProfile_AtmOptions_OamAisF5=internetProfile_AtmOptions_OamAisF5, internetProfile_MppOptions_SecondsHistory=internetProfile_MppOptions_SecondsHistory, internetProfile_IpOptions_ClientDnsSecondaryAddr=internetProfile_IpOptions_ClientDnsSecondaryAddr, internetProfile_X25Options_Packetsize=internetProfile_X25Options_Packetsize, internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Afi=internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Afi, internetProfile_IpOptions_OspfOptions_RetransmitInterval=internetProfile_IpOptions_OspfOptions_RetransmitInterval, internetProfile_AtmConnectOptions_AtmCircuitProfile=internetProfile_AtmConnectOptions_AtmCircuitProfile, internetProfile_TelcoOptions_ExpectCallback=internetProfile_TelcoOptions_ExpectCallback, internetProfile_AtmOptions_TargetSelect=internetProfile_AtmOptions_TargetSelect, internetProfile_TelcoOptions_NasPortType=internetProfile_TelcoOptions_NasPortType, internetProfile_MpOptions_MinimumChannels=internetProfile_MpOptions_MinimumChannels, internetProfile_X25Options_PadAlias1=internetProfile_X25Options_PadAlias1, internetProfile_PppOptions_PppCircuitName=internetProfile_PppOptions_PppCircuitName, internetProfile_IpOptions_OspfOptions_Priority=internetProfile_IpOptions_OspfOptions_Priority, internetProfile_PppoeOptions_BridgeNonPppoe=internetProfile_PppoeOptions_BridgeNonPppoe, internetProfile_SessionOptions_SesRateMode=internetProfile_SessionOptions_SesRateMode, internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Esi=internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_Esi, internetProfile_AtmOptions_SpvcRetryInterval=internetProfile_AtmOptions_SpvcRetryInterval, internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Idi=internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_IdpPortion_Idi, internetProfile_IpOptions_TosOptions_TypeOfService=internetProfile_IpOptions_TosOptions_TypeOfService, internetProfile_TunnelOptions_MaxTunnels=internetProfile_TunnelOptions_MaxTunnels, internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Esi=internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_Esi, internetProfile_X25Options_AnswerX25Address=internetProfile_X25Options_AnswerX25Address, internetProfile_ModemOnHoldTimeout=internetProfile_ModemOnHoldTimeout, mibinternetProfile=mibinternetProfile, internetProfile_AtmOptions_VcFaultManagement=internetProfile_AtmOptions_VcFaultManagement, internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_E164NativeAddress=internetProfile_AtmConnectOptions_SvcOptions_OutgoingCalledAddr_E164NativeAddress, internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_HoDsp=internetProfile_AtmOptions_SvcOptions_IncomingCallerAddr_AesaAddress_DspPortion_HoDsp, internetProfile_IpOptions_PrivateRouteTable=internetProfile_IpOptions_PrivateRouteTable, internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_HoDsp=internetProfile_AtmOptions_SvcOptions_OutgoingCalledAddr_AesaAddress_DspPortion_HoDsp, internetProfile_MppOptions_IncrementChannelCount=internetProfile_MppOptions_IncrementChannelCount, internetProfile_AtmConnectOptions_AtmDirectEnabled=internetProfile_AtmConnectOptions_AtmDirectEnabled)
def main(): s = input("") x = s.isdigit() print(x, end="") main()
table = {"깍두기":1, "민혀기":2, "서주니":3} print(table.keys()) print(table.values()) for item in table.items(): key = item[0] value = item[1] print(key, ":", value) table["깍두기"] = 4 print(table)
# 1. Two Sum class Solution: # Approach 1 : Naive def twoSum1(self, nums, target): for i in range(len(nums)-1): for j in range(i+1, len(nums)): if nums[i]+nums[j] == target: return [i, j] return None # Approach 2: Two-pass Hash Table def twoSum2(self, nums, target): foo = {} for i,j in enumerate(nums): foo[j] = i for i in range(len(nums)): complement = target - nums[i] if (complement in foo) and (foo.get(complement) != i): return [i, foo.get(complement)] return None # Approach 3: One-pass Hash Table def twoSum(self, nums, target): foo = {} for i,j in enumerate(nums): complement = target-j if (complement in foo): return [foo.get(complement), i] foo[j] = i return None # Test solution = Solution() # Expected: [] nums = [1, 16, 0 , 2, 0] print(solution.twoSum(nums, 18))
class Node: pass class Edge: pass class Graph: pass
def highest_product_of_3(list_of_ints): # initialize lowest to the minimum of the first two integers lowest = min(list_of_ints[0], list_of_ints[1]) # initialize highest to the maximum of the first two integers highest = max(list_of_ints[0], list_of_ints[1]) # initialize lowest_product_of_two and highest_product_of_two # to the product of the first two integers lowest_product_of_two, highest_product_of_two = list_of_ints[0] * \ list_of_ints[1], list_of_ints[0] * list_of_ints[1] # initialize highest_product_of_three to the product of the first three integers highest_product_of_three = list_of_ints[0] * \ list_of_ints[1] * list_of_ints[2] # loop through every integer in list_of_ints # starting from the third for index in range(2, len(list_of_ints)): # set current to the value at index of list_of_ints current = list_of_ints[index] # set highest_product_of_three to the maximum of highest_product_of_three # current multiplied by highest_product_of_two and # current multiplied by lowest_product_of_two highest_product_of_three = max( highest_product_of_three, current * highest_product_of_two, current * lowest_product_of_two) # set highest_product_of_two to the maximum of of highest_product_of_two # and interger multiplied by lowest and current multiplied by highest highest_product_of_two = max( highest_product_of_two, current * highest, current * lowest) # set lowest_product_of_two to the minimum of lowest_product_of_two # and current multiplied by lowest and current multiplied by highest lowest_product_of_two = min( lowest_product_of_two, current * highest, current * lowest) # set lowest to the minimum of lowest and interger lowest = min(lowest, current) # set highest to the maximum of highest and interger highest = max(highest, current) # return highest_product_of_three return highest_product_of_three
ll = [1, 2, 3] def increment(x): print(f'Old value: {x}') return x + 1 print(map(increment, ll)) for x in map(increment, ll): print(x) iter = map(increment, ll)
class MessageTypes: InstrumentStateChange = 505 ClassStateChange = 516 Mail = 523 IndicativeMatchingPrice = 530 Collars = 537 SessionTimetable = 539 StartReferential = 550 EndReferential = 551 Referential = 556 ShortSaleChange = 560 SessionSummary = 561 GenericMessage = 592 OpenPosition = 595 #PRICES AND TRADES TradeCancellation = 221 TradeFullInformation = 240 PriceUpdate = 241 TradePublication = 243 AuctionSummary = 245 ClosingPrice = 247 #BBO QuotesAndBBO5 = 140 IndicationOfInterest = 142 #ORDER BOOK OrderUpdate = 230 OrderBookRetrans = 231 #INDEX RealTimeIndex = 546 IndexSummary = 547 IndexPortfolio = 548 #BOND AccuredInterest = 601 InterestForSettlementDay = 602 YieldToMaturity = 603
# -*- coding: utf-8 -*- # Scrapy settings for newblogs project # # For simplicity, this file contains only the most important settings by # default. All the other settings are documented here: # # http://doc.scrapy.org/en/latest/topics/settings.html # BOT_NAME = 'newblogs' SPIDER_MODULES = ['newblogs.spiders'] NEWSPIDER_MODULE = 'newblogs.spiders' # Crawl responsibly by identifying yourself (and your website) on the user-agent #USER_AGENT = 'newblogs (+http://www.yourdomain.com)' ITEM_PIPELINES = { 'newblogs.pipelines.NormalPipeline': 1, 'newblogs.pipelines.SaveDbPipeline': 2, # 'newblogs.pipelines.SaveLocalPipeline':3, # 'newblogs.pipelines.JsonWriterPipeline': 800, }
# -*- coding: utf-8 -*- """ Created on Tue Apr 6 08:39:12 2021 @author: ELCOT """ """ Given an m x n matrix. If an element is 0, set its entire row and column to 0. Do it in-place. Follow up: A straight forward solution using O(mn) space is probably a bad idea. A simple improvement uses O(m + n) space, but still not the best solution. Could you devise a constant space solution? Input: matrix = [[1,1,1],[1,0,1],[1,1,1]] Output: [[1,0,1],[0,0,0],[1,0,1]] """ class Solution: def setZeroes(self, ma): """ Do not return anything, modify matrix in-place instead. """ m=len(ma) n = len(ma[0]) for i in range(m): for j in range(n): if ma[i][j] == 0: print('set the value to zero',i,j) print('set the roe marker') if ( ma[0][0]=='c' or ma[0 ][0] == 'rc' ) and i == 0: ma[0][0] = 'rc' print(ma) else : ma[i][0] = 'r' print(ma) print('set the column marker') if (ma[0][0]=='r' or ma[0][0]=='rc') and j==0: ma[0][0] = 'rc' print(ma) else: ma[0][j] = 'c' print(ma) print(ma) #set the value as '0' to do that only need to visit the first column and first row only #if it has '-1' then set that row and column to 0 #to traver the column print('column traversal') for i in range(1): for j in range(1,n): #print(i,j) if ma[i][j] == 'c': print(i,j) for row in range(1,m): #levae the first row beacese it actng like a marker print('row',row,j) ma[row][j] = 0 #travers the row to set it zero #print('row traversal') for i in range(m): for j in range(1): #print(i,j) #print(ma[i][j]) if ma[i][j] == 'r': for col in range(n): #print(i,col) ma[i][col] = 0 print(ma) if ma[0][0] == 'c': for row in range(1,m): ma[row][0] = 0 #handle the fort row for i in range(1): for j in range(n): if ma[i][j] == 'c': print('first row c') ma[i][j] = 0 print(ma) if ma[0][0] == 'rc': for col in range(n): ma[0][col] = 0 for row in range(m): ma[row][0] = 0 print(ma) Solution().setZeroes([[1],[0],[3]]) #[[0,1,2,0],[3,4,5,2],[1,3,1,5]]
def dig_pow(n, p): """ Some numbers have funny properties. For example: 89 --> 8¹ + 9² = 89 * 1 695 --> 6² + 9³ + 5⁴= 1390 = 695 * 2 46288 --> 4³ + 6⁴+ 2⁵ + 8⁶ + 8⁷ = 2360688 = 46288 * 51 Given a positive integer n written as abcd... (a, b, c, d... being digits) and a positive integer p we want to find a positive integer k, if it exists, such that the sum of the digits of n taken to the successive powers of p is equal to k * n. In other words: Is there an integer k such as : (a ^ p + b ^ (p+1) + c ^(p+2) + d ^ (p+3) + ...) = n * k If it is the case we will return k, if not return -1. Note: n and p will always be given as strictly positive integers. """ num = 0 n = str(n) for i in range(len(n)): num += int(n[i]) ** p p += 1 k = num / int(n) if k.is_integer(): return k else: return -1 # TESTS dig_pow(89, 1, 1) dig_pow(92, 1, -1) dig_pow(46288, 3, 51) dig_pow(114, 3, 9)
route = [(1, -1), (1, 1), (1, -1), (-1, 1), (-1, 1), (1, -1), (1, -1), (1, 1), (-1, -1), (1, 1), (1, -1), (-1, 1), (1, -1), (-1, 1), (-1, 1), (-1, -1), (1, -1), (1, 1), (-1, -1), (1, -1), (1, -1), (1, 1), (1, -1), (-1, 1), (-1, 1), (-1, 1), (-1, -1), (1, -1), (1, -1), (1, 1), (-1, -1), (1, 1), (1, -1), (1, -1), (-1, -1), (-1, -1)] route.reverse() result = '' bit = '' i = 0 for move in route: if move[0] == 1: bit += '1' elif move[0] == -1: bit += '0' if move[1] == 1: bit += '1' elif move[1] == -1: bit += '0' i += 1 if i == 4: result += bit[::-1] bit = '' i = 0 print(result) print(len(route))
TEMPLATE = """\ # Include the license file include LICENSE.md include README.rst # Include the data files {include_data_files} # Include the docs # {include_docs_folder} """
lista = [['edu', 'joao', 'luizr'], ['maria', ' aline', 'joana'],['helena', 'ed', 'lu']] enumerada = list(enumerate(lista)) print(enumerada[1][1][2][0])
""" Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or transmitted across a network connection link to be reconstructed later in the same or another computer environment. Design an algorithm to serialize and deserialize a binary tree. There is no restriction on how your serialization/deserialization algorithm should work. You just need to ensure that a binary tree can be serialized to a string and this string can be deserialized to the original tree structure. Example: You may serialize the following tree: 1 / \ 2 3 / \ 4 5 as "[1,2,3,null,null,4,5]" Clarification: The above format is the same as how LeetCode serializes a binary tree. You do not necessarily need to follow this format, so please be creative and come up with different approaches yourself. Note: Do not use class member/global/static variables to store states. Your serialize and deserialize algorithms should be stateless. """ #Difficulty: Hard #48 / 48 test cases passed. #Runtime: 240 ms #Memory Usage: 21.1 MB #Runtime: 240 ms, faster than 14.61% of Python3 online submissions for Serialize and Deserialize Binary Tree. #Memory Usage: 21.1 MB, less than 13.11% of Python3 online submissions for Serialize and Deserialize Binary Tree. # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Codec: def serialize(self, root): """Encodes a tree to a single string. :type root: TreeNode :rtype: str """ if not root: return queue = [root] serialize = [] while queue: length = len(queue) level = [] while length: length -= 1 node = queue.pop(0) level.append(str(node.val) if node else 'null') if node: queue.append(node.left) queue.append(node.right) for value in level[::-1]: if value != 'null': serialize.extend(level) break return ','.join(serialize) def deserialize(self, data): """Decodes your encoded data to tree. :type data: str :rtype: TreeNode """ if not data: return data = data.split(',') root = None index = 0 count = len(data) return self.constructTree(root, data, count, index) def constructTree(self, root, data, count, index): """Tree construction function. :type root: None :type data: str :type count: int :type index: int :rtype: TreeNode """ if index < count: root = TreeNode(data[index]) left = 2 * index + 1 right = 2 * index + 2 root.left = self.constructTree(root.left, data, count, left) root.right = self.constructTree(root.right, data, count, right) return root # Your Codec object will be instantiated and called as such: # codec = Codec() # codec.deserialize(codec.serialize(root))
""" * Author: ZHAO Zinan * Created: 01/25/2019 341. Flatten Nested List Iterator """ # """ # This is the interface that allows for creating nested lists. # You should not implement it, or speculate about its implementation # """ #class NestedInteger(object): # def isInteger(self): # """ # @return True if this NestedInteger holds a single integer, rather than a nested list. # :rtype bool # """ # # def getInteger(self): # """ # @return the single integer that this NestedInteger holds, if it holds a single integer # Return None if this NestedInteger holds a nested list # :rtype int # """ # # def getList(self): # """ # @return the nested list that this NestedInteger holds, if it holds a nested list # Return None if this NestedInteger holds a single integer # :rtype List[NestedInteger] # """ def flatten(nestedList): result = [] if len(nestedList) == 0: return [] for ele in nestedList: if ele.isInteger(): result.append(ele) else: result.extend(flatten(ele.getList())) return result class NestedIterator(object): def __init__(self, nestedList): """ Initialize your data structure here. :type nestedList: List[NestedInteger] """ self.nestedList = flatten(nestedList) def next(self): """ :rtype: int """ return self.nestedList.pop(0) def hasNext(self): """ :rtype: bool """ return len(self.nestedList) != 0 # Your NestedIterator object will be instantiated and called as such: # i, v = NestedIterator(nestedList), [] # while i.hasNext(): v.append(i.next())
numbers = [ 386, 462, 47, 418, 907, 344, 236, 375, 823, 566, 597, 978, 328, 615, 953, 345, 399, 162, 758, 219, 918, 237, 412, 566, 826, 248, 866, 950, 626, 949, 687, 217, 815, 67, 104, 58, 512, 24, 892, 894, 767, 553, 81, 379, 843, 831, 445, 742, 717, 958,743, 527 ] for number in numbers: if number is 237: print("Number 237 reached. Stopping") break print(number)
# Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase. class Solution: def toLowerCase(self, str): res = [] for char in str: if ord(char) >= 65 and ord(char) <= 90: res += chr(ord(char) + 32) # res += (chr(ord(char) | (1 << 5))) else: res += char return "".join(res) s = Solution().toLowerCase("HELwwLO") print(s)
def foo(): if 1: if 2: pass
#!/usr/bin/python # https://practice.geeksforgeeks.org/problems/relative-sorting/0 def sol(a, b, m, n): """ Store the counts of each element, traverse through the second array and keep building a temp. array, finally insert the elements which are not in the second array complextiy = m+n """ me = max(a) c = [0 for i in range(me+1)] for x in a: c[x] += 1 tmp = [] for x in b: while c[x]: tmp.append(x) c[x] -= 1 for i in range(me+1): while c[i]: tmp.append(i) c[i] -= 1 for x in tmp: print(x, end=" ") print()
# Exercício Python 13: Desenvolva um programa que pergunte a distância de uma viagem em Km. Calcule o preço da passagem, cobrando R$0,50 por Km para viagens de até 200Km e R$0,45 parta viagens mais longas. dist = float(input('Insira a distância da viagem em km: ')) if dist <= 200.00: print(f'O preço da passagem será: R$ {dist * 0.50:.2f}') else: print(f'O preço da passagem será: R$ {dist * 0.45:.2f}')
SQL_INIT_TABLES_AND_TRIGGERS = ''' CREATE TABLE consumers ( component TEXT NOT NULL, subcomponent TEXT NOT NULL, host TEXT NOT NULL, itype TEXT NOT NULL, iprimary TEXT NOT NULL, isecondary TEXT NOT NULL, itertiary TEXT NOT NULL, optional BOOLEAN NOT NULL, unique (component, subcomponent, host, itype, iprimary, isecondary, itertiary) ); CREATE TABLE producers ( component TEXT NOT NULL, subcomponent TEXT NOT NULL, host TEXT NOT NULL, itype TEXT NOT NULL, iprimary TEXT NOT NULL, isecondary TEXT NOT NULL, itertiary TEXT NOT NULL, deprecated BOOLEAN NOT NULL, unique (component, subcomponent, host, itype, iprimary, isecondary, itertiary) ); CREATE OR REPLACE FUNCTION ensure_producer_exists() RETURNS TRIGGER AS $producers_check$ BEGIN IF ( NEW.optional OR EXISTS( SELECT 1 FROM producers as other WHERE other.host = NEW.host AND other.itype = NEW.itype AND other.iprimary = NEW.iprimary AND other.isecondary = NEW.isecondary AND other.itertiary = NEW.itertiary ) ) THEN RETURN NEW; END IF; RAISE EXCEPTION 'no producer for interface "%" "%" "%" "%" "%"', NEW.host, NEW.itype, NEW.iprimary, NEW.isecondary, NEW.itertiary; END; $producers_check$ LANGUAGE plpgsql; CREATE OR REPLACE FUNCTION ensure_no_consumer_exists() RETURNS TRIGGER AS $consumers_check$ BEGIN IF ( EXISTS( SELECT 1 FROM consumers as other WHERE other.host = OLD.host AND other.itype = OLD.itype AND other.iprimary = OLD.iprimary AND other.isecondary = OLD.isecondary AND other.itertiary = OLD.itertiary AND other.optional = FALSE ) ) THEN IF ( NOT EXISTS( SELECT 1 FROM producers as other WHERE other.host = OLD.host AND other.itype = OLD.itype AND other.iprimary = OLD.iprimary AND other.isecondary = OLD.isecondary AND other.itertiary = OLD.itertiary AND other.component <> OLD.component AND other.subcomponent <> OLD.subcomponent ) ) THEN RAISE EXCEPTION 'no other producer for used interface "%" "%" "%" "%" "%"', OLD.host, OLD.itype, OLD.iprimary, OLD.isecondary, OLD.itertiary; END IF; END IF; RETURN OLD; END; $consumers_check$ LANGUAGE plpgsql; CREATE TRIGGER producers_check BEFORE INSERT ON consumers FOR each row execute procedure ensure_producer_exists(); CREATE TRIGGER consumers_check BEFORE DELETE ON producers FOR each row execute procedure ensure_no_consumer_exists(); CREATE INDEX consumers_component on consumers (component); CREATE INDEX producers_component on producers (component); ''' SQL_DROP_ALL = ''' DROP INDEX IF EXISTS consumers_component; DROP INDEX IF EXISTS producers_component; DROP TRIGGER IF EXISTS consumers_check ON producers; DROP TRIGGER IF EXISTS producers_check ON consumers; DROP FUNCTION If EXISTS ensure_no_consumer_exists(); DROP FUNCTION IF EXISTS ensure_producer_exists(); DROP TABLE IF EXISTS consumers; DROP TABLE IF EXISTS producers; '''
"""Isotopic Abundances for each isotope""" class Natural_Isotope(object): def __init__(self, symbol, mass_number, mass, isotopic_abundance, cross_section): self.symbol = symbol self.mass_number = mass_number self.mass = mass self.isotopic_abundance = .01 * isotopic_abundance self.cross_section = cross_section Hydrogen_1 = Natural_Isotope("H", 1, 1.007825, 99.9885, 0.332015) Hydrogen_2 = Natural_Isotope("H", 2, 2.014102, 0.0115, 0.000505706) Helium_3 = Natural_Isotope("HE", 3, 3.016029, 0.000137, 5.49873e-05) Helium_4 = Natural_Isotope("HE", 4, 4.002603, 99.999893, 0) Lithium_6 = Natural_Isotope("LI", 6, 6.015122, 7.59, 0.0385003) Lithium_7 = Natural_Isotope("LI", 7, 7.016004, 92.41, 0.045402) Beryllium_9 = Natural_Isotope("BE", 9, 9.012182, 100, 0.0100308) Boron_10 = Natural_Isotope("B", 10, 10.012937, 19.9, 0.499871) Boron_11 = Natural_Isotope("B", 11, 11.009305, 80.1, 0.00550004) Carbon_12 = Natural_Isotope("C", 12, 12, 98.93, 0.0035) Carbon_13 = Natural_Isotope("C", 13, 13.003355, 1.07, 0.0014) Nitrogen_14 = Natural_Isotope("N", 14, 14.003074, 99.632, 0.0749913) Nitrogen_15 = Natural_Isotope("N", 15, 15.000109, 0.368, 2.40099e-05) Oxygen_16 = Natural_Isotope("O", 16, 15.994915, 99.757, 0.000189986) Oxygen_17 = Natural_Isotope("O", 17, 16.999132, 0.038, 0.00382862) Oxygen_18 = Natural_Isotope("O", 18, 17.9916, 0.205, 0.00016) Fluorine_19 = Natural_Isotope("F", 19, 18.998403, 100, 0.00957834) Neon_20 = Natural_Isotope("NE", 20, 19.99244, 90.48, 0.040) Neon_21 = Natural_Isotope("NE", 21, 20.993847, 0.27, 0.7) Neon_22 = Natural_Isotope("NE", 22, 21.991386, 9.25, 0.05) Sodium_23 = Natural_Isotope("NA", 23, 22.98977, 100, 0.528001) Magnesium_24 = Natural_Isotope("MG", 24, 23.985042, 78.99, 0.0502894) Magnesium_25 = Natural_Isotope("MG", 25, 24.985837, 10, 0.190374) Magnesium_26 = Natural_Isotope("Mg", 26, 25.982593, 11.01, 0.03831) Aluminum_27 = Natural_Isotope("AL", 27, 26.981538, 100, 0.233463) Silicon_28 = Natural_Isotope("SI", 28, 27.976927, 92.2297, 0.169141) Silicon_29 = Natural_Isotope("SI", 29, 28.976495, 4.6832, 0.119961) Silicon_30 = Natural_Isotope("SI", 30, 29.97377, 3.0872, 0.107085) Phosphorus_31 = Natural_Isotope("P", 31, 30.973762, 100, 0.169361) Sulfur_32 = Natural_Isotope("S", 32, 31.972071, 94.93, 0.528215) Sulfur_33 = Natural_Isotope("S", 33, 32.971458, 0.76, 0.350075) Sulfur_34 = Natural_Isotope("S", 34, 33.967867, 4.29, 0.223618) Sulfur_36 = Natural_Isotope("S", 36, 35.967081, 0.02, 0.150482) Chlorine_35 = Natural_Isotope("CL", 35, 34.968853, 75.78, 43.6122) Chlorine_37 = Natural_Isotope("CL", 37, 36.965903, 24.22, 0.43311) Argon_36 = Natural_Isotope("AR", 36, 35.967546, 0.3365, 5.04467) Argon_38 = Natural_Isotope("AR", 38, 37.962732, 0.0632, 0.80184) Argon_40 = Natural_Isotope("AR", 40, 39.962383, 99.6003, 0.660152) Potassium_39 = Natural_Isotope("K", 39, 38.963707, 93.2581, 2.12742) Potassium_40 = Natural_Isotope("K", 40, 39.963999, 0.0117, 30.0098) Potassium_41 = Natural_Isotope("K", 41, 40.961826, 6.7302, 1.46113) Calcium_40 = Natural_Isotope("CA", 40, 39.962591, 96.941, 0.407588) Calcium_42 = Natural_Isotope("CA", 42, 41.958618, 0.647, 0.683094) Calcium_43 = Natural_Isotope("CA", 43, 42.958768, 0.135, 11.6649) Calcium_44 = Natural_Isotope("CA", 44, 43.955481, 2.086, 0.888633) Calcium_46 = Natural_Isotope("CA", 46, 45.953693, 0.004, 0.740179) Calcium_48 = Natural_Isotope("CA", 48, 47.952534, 0.187, 1.09293) Scandium_45 = Natural_Isotope("SC", 45, 44.96691, 100, 27.1628) Titanium_46 = Natural_Isotope("TI", 46, 45.952629, 8.25, 0.589748) Titanium_47 = Natural_Isotope("TI", 47, 46.951764, 7.44, 1.62638) Titanium_48 = Natural_Isotope("TI", 48, 47.947947, 73.72, 8.31791) Titanium_49 = Natural_Isotope("TI", 49, 48.947871, 5.41, 1.86282) Titanium_50 = Natural_Isotope("TI", 50, 49.944792, 5.18, 0.179537) Vanadium_50 = Natural_Isotope("V", 50, 49.947163, 0.25, 44.6849) Vanadium_51 = Natural_Isotope("V", 51, 50.943964, 99.75, 4.91912) Chromium_50 = Natural_Isotope("CR", 50, 49.94605, 4.345, 15.4049) Chromium_52 = Natural_Isotope("CR", 52, 51.940512, 83.789, 0.856093) Chromium_53 = Natural_Isotope("CR", 53, 52.940654, 9.501, 18.0927) Chromium_54 = Natural_Isotope("CR", 54, 53.938885, 2.365, 0.411198) Manganese_55 = Natural_Isotope("MN", 55, 54.93805, 100, 13.2784) Iron_54 = Natural_Isotope("FE", 54, 53.939615, 5.845, 2.25193) Iron_56 = Natural_Isotope("FE", 56, 55.934942, 91.754, 2.58936) Iron_57 = Natural_Isotope("FE", 57, 56.935399, 2.119, 2.42654) Iron_58 = Natural_Isotope("FE", 58, 57.93328, 0.282, 1.14965) Cobalt_59 = Natural_Isotope("CO", 59, 58.9332, 100, 37.1837) Nickel_58 = Natural_Isotope("NI", 58, 57.935348, 68.0769, 4.22661) Nickel_60 = Natural_Isotope("NI", 60, 59.930791, 26.2231, 2.40101) Nickel_61 = Natural_Isotope("NI", 61, 60.93106, 1.1399, 2.5094) Nickel_62 = Natural_Isotope("NI", 62, 61.928349, 3.6345, 14.9058) Nickel_64 = Natural_Isotope("NI", 64, 63.92797, 0.9256, 1.48038) Copper_63 = Natural_Isotope("CU", 63, 62.929601, 69.17, 4.47031) Copper_65 = Natural_Isotope("CU", 65, 64.927794, 30.93, 2.14927) Zinc_64 = Natural_Isotope("ZN", 64, 63.929147, 48.63, 0.787472) Zinc_66 = Natural_Isotope("ZN", 66, 65.926037, 27.9, 0.617964) Zinc_67 = Natural_Isotope("ZN", 67, 66.927131, 4.1, 7.47184) Zinc_68 = Natural_Isotope("ZN", 68, 67.924848, 18.75, 1.0655) Zinc_70 = Natural_Isotope("ZN", 70, 69.925325, 0.62, 0.0917385) Gallium_69 = Natural_Isotope("GA", 69, 68.925581, 60.108, 1.73069) Gallium_71 = Natural_Isotope("GA", 71, 70.924705, 39.892, 4.73143) Germanium_70 = Natural_Isotope("GE", 70, 69.92425, 20.84, 3.05256) Germanium_72 = Natural_Isotope("GE", 72, 71.922076, 27.45, 0.885938) Germanium_73 = Natural_Isotope("GE", 73, 72.923459, 7.73, 14.705) Germanium_74 = Natural_Isotope("GE", 74, 73.921178, 36.28, 0.519036) Germanium_76 = Natural_Isotope("GE", 76, 75.921403, 7.61, 0.154659) Arsenic_75 = Natural_Isotope("AS", 75, 74.921596, 100, 4.50161) Selenium_74 = Natural_Isotope("SE", 74, 73.922477, 0.89, 51.8151) Selenium_76 = Natural_Isotope("SE", 76, 75.919214, 9.37, 85.0218) Selenium_77 = Natural_Isotope("SE", 77, 76.919915, 7.63, 42.0096) Selenium_78 = Natural_Isotope("SE", 78, 77.91731, 23.77, 0.430126) Selenium_80 = Natural_Isotope("SE", 80, 79.91652, 49.61, 0.610202) Selenium_82 = Natural_Isotope("SE", 81, 81.9167, 8.73, 0.0444242) Bromine_79 = Natural_Isotope("BR", 79, 78.918338, 50.69, 11.0042) Bromine_81 = Natural_Isotope("BR", 81, 80.916291, 49.31, 2.3651) Krypton_78 = Natural_Isotope("KR", 78, 77.920386, 0.35, 6.35568) Krypton_80 = Natural_Isotope("KR", 80, 79.916378, 2.28, 11.5046) Krypton_82 = Natural_Isotope("KR", 82, 81.913485, 11.58, 19.1672) Krypton_83 = Natural_Isotope("KR", 83, 82.914136, 11.49, 198.19) Krypton_84 = Natural_Isotope("KR", 84, 83.911507, 57, 0.110022) Krypton_86 = Natural_Isotope("KR", 86, 85.91061, 17.3, 0.000878224) Rubidium_85 = Natural_Isotope("RB", 85, 84.911789, 72.17, 0.493607) Rubidium_87 = Natural_Isotope("RB", 86, 86.909183, 27.83, 0.120037) Strontium_84 = Natural_Isotope("SR", 84, 83.913425, 0.56, 0.82219) Strontium_86 = Natural_Isotope("SR", 86, 85.909262, 9.86, 1.00556) Strontium_87 = Natural_Isotope("SR", 87, 86.908879, 7, 16.0085) Strontium_88 = Natural_Isotope("SR", 88, 87.905848, 82.58, 0.00868793) Yttrium_89 = Natural_Isotope("Y", 89, 88.905848, 100, 1.2787) Zirconium_90 = Natural_Isotope("ZR", 90, 89.904704, 51.45, 0.00997575) Zirconium_91 = Natural_Isotope("ZR", 91, 90.905645, 11.22, 1.21603) Zirconium_92 = Natural_Isotope("ZR", 92, 91.90504, 17.15, 0.229231) Zirconium_94 = Natural_Isotope("ZR", 94, 93.906316, 17.38, 0.0498845) Zirconium_96 = Natural_Isotope("ZR", 96, 95.908276, 2.8, 0.0228521) Niobium_93 = Natural_Isotope("NB", 93, 92.906378, 100, 1.15554) Molybdenum_92 = Natural_Isotope("MO", 92, 91.90681, 14.84, 0.0798857) Molybdenum_94 = Natural_Isotope("MO", 94, 93.905088, 9.25, 0.340371) Molybdenum_95 = Natural_Isotope("MO", 95, 94.905841, 15.92, 13.3957) Molybdenum_96 = Natural_Isotope("MO", 96, 95.904679, 16.68, 0.595576) Molybdenum_97 = Natural_Isotope("MO", 97, 96.906021, 9.55, 2.19677) Molybdenum_98 = Natural_Isotope("MO", 98, 97.905408, 24.13, 0.130026) Molybdenum_100 = Natural_Isotope("MO", 100, 99.907477, 9.63, 0.199087) Ruthenium_96 = Natural_Isotope("RU", 96, 95.907598, 5.54, 0.290132) Ruthenium_98 = Natural_Isotope("RU", 98, 97.905287, 1.87, 8.00361) Ruthenium_99 = Natural_Isotope("RU", 99, 98.905939, 12.76, 7.31152) Ruthenium_100 = Natural_Isotope("RU", 100, 99.90422, 12.6, 5.79179) Ruthenium_101 = Natural_Isotope("RU", 101, 100.905582, 17.06, 5.22585) Ruthenium_102 = Natural_Isotope("RU", 102, 1101.90435, 31.55, 1.27024) Ruthenium_104 = Natural_Isotope("RU", 104, 103.90543, 18.62, 0.471636) Rhodium_103 = Natural_Isotope("RH", 103, 102.905504, 100, 142.13) Palladium_102 = Natural_Isotope("PD", 102, 101.905608, 1.02, 1.82175) Palladium_104 = Natural_Isotope("PD", 104, 103.904035, 11.14, 0.648775) Palladium_105 = Natural_Isotope("PD", 105, 104.905084, 22.33, 20.8813) Palladium_106 = Natural_Isotope("PD", 106, 105.903483, 27.33, 0.30831) Palladium_108 = Natural_Isotope("PD", 108, 107.903894, 26.46, 8.48118) Palladium_110 = Natural_Isotope("PD", 110, 109.905152, 11.72, 0.229065) Silver_107 = Natural_Isotope("AG", 107, 106.905093, 51.839, 37.6085) Silver_109 = Natural_Isotope("AG", 109, 108.904756, 48.161, 90.2639) Cadmium_106 = Natural_Isotope("CD", 106, 105.906458, 1.25, 0.985925) Cadmium_108 = Natural_Isotope("CD", 108, 107.904183, 0.89, 0.905986) Cadmium_110 = Natural_Isotope("CD", 110, 109.903006, 12.49, 11.0017) Cadmium_111 = Natural_Isotope("CD", 111, 110.904182, 12.8, 6.8683) Cadmium_112 = Natural_Isotope("CD", 112, 111.902757, 24.13, 2.19876) Cadmium_113 = Natural_Isotope("CD", 113, 112.904401, 12.22, 19964.1) Cadmium_114 = Natural_Isotope("CD", 114, 113.903358, 28.73, 0.305462) Cadmium_116 = Natural_Isotope("CD", 116, 115.904755, 7.49, 0.0761819) Indium_113 = Natural_Isotope("IN", 113, 112.904061, 4.29, 12.1347) Indium_115 = Natural_Isotope("IN", 115, 114.903878, 95.71, 202.272) Tin_112 = Natural_Isotope("SN", 112, 111.904821, 0.97, 0.850333) Tin_114 = Natural_Isotope("SN", 114, 113.902782, 0.66, 0.12533) Tin_115 = Natural_Isotope("SN", 115, 114.903346, 0.34, 58.0177) Tin_116 = Natural_Isotope("SN", 116, 115.901744, 14.54, 0.127698) Tin_117 = Natural_Isotope("SN", 117, 116.902954, 7.68, 1.07097) Tin_118 = Natural_Isotope("SN", 118, 117.901606, 24.22, 0.219838) Tin_119 = Natural_Isotope("SN", 119, 118.903309, 8.59, 2.17455) Tin_120 = Natural_Isotope("SN", 120, 119.902197, 32.58, 0.139557) Tin_122 = Natural_Isotope("SN", 122, 121.90344, 4.63, 0.146058) Tin_124 = Natural_Isotope("SN", 124, 123.905275, 5.79, 0.133765) Antimony_121 = Natural_Isotope("SB", 121, 120.903818, 57.21, 5.77312) Antimony_123 = Natural_Isotope("SB", 123, 122.904216, 42.79, 3.87523) Tellurium_120 = Natural_Isotope("TE", 120, 119.904020, 0.09, 2.34103) Tellurium_122 = Natural_Isotope("TE", 122, 121.903047, 2.55, 3.27307) Tellurium_123 = Natural_Isotope("TE", 123, 122.904273, 0.89, 418.347) Tellurium_124 = Natural_Isotope("TE", 124, 123.902819, 4.74, 6.32463) Tellurium_125 = Natural_Isotope("TE", 125, 124.904425, 7.07, 1.28696) Tellurium_126 = Natural_Isotope("TE", 126, 125.903306, 18.84, 0.442305) Tellurium_128 = Natural_Isotope("TE", 128, 127.904461, 31.74, 0.199993) Tellurium_130 = Natural_Isotope("TE", 130, 129.906223, 34.08, 0.195241) Iodine_127 = Natural_Isotope("I", 127, 126.904468, 100, 6.14643) Xenon_124 = Natural_Isotope("XE", 124, 123.905896, 0.09, 150.2) Xenon_126 = Natural_Isotope("XE", 126, 125.903530, 0.09, 3.4874) Xenon_128 = Natural_Isotope("XE", 128, 127.903530, 1.92, 5.19249) Xenon_129 = Natural_Isotope("XE", 129, 128.904779, 26.44, 21.0066) Xenon_130 = Natural_Isotope("XE", 130, 129.903508, 4.08, 4.77859) Xenon_131 = Natural_Isotope("XE", 131, 130.905082, 21.18, 90.0327) Xenon_132 = Natural_Isotope("XE", 132, 131.904154, 26.89, 0.450652) Xenon_134 = Natural_Isotope("XE", 134, 133.905395, 10.44, 0.26489) Xenon_136 = Natural_Isotope("XE", 136, 135.907220, 8.87, 0.260738) Cesium_133 = Natural_Isotope("CS", 133, 132.905447, 100, 29.0552) Barium_130 = Natural_Isotope("BA", 130, 129.906310, 0.106, 8.68002) Barium_132 = Natural_Isotope("BA", 132, 131.905056, 0.101, 6.53133) Barium_134 = Natural_Isotope("BA", 134, 133.904503, 2.417, 1.50433) Barium_135 = Natural_Isotope("BA", 135, 134.905683, 6.592, 5.87216) Barium_136 = Natural_Isotope("BA", 136, 135.904570, 7.854, 0.679633) Barium_137 = Natural_Isotope("BA", 137, 136.905821, 11.232, 3.59734) Barium_138 = Natural_Isotope("BA", 138, 137.905241, 71.698, 0.403537) Lanthanum_138 = Natural_Isotope("LA", 138, 137.907107, 0.09, 57.1047) Lanthanum_139 = Natural_Isotope("LA", 139, 138.907107, 99.91, 9.0416) Cerium_136 = Natural_Isotope("CE", 136, 135.907144, 0.185, 7.45753) Cerium_138 = Natural_Isotope("CE", 138, 137.905986, 0.251, 1.03713) Cerium_140 = Natural_Isotope("CE", 140, 139.905434, 88.45, 0.577524) Cerium_142 = Natural_Isotope("CE", 142, 141.90924, 11.114, 0.96504) Praseodymium_141 = Natural_Isotope("PR", 141, 140.9076448, 100, 11.5092) Neodymium_142 = Natural_Isotope("ND", 142, 141.907719, 27.2, 18.702) Neodymium_143 = Natural_Isotope("ND", 143, 142.90981, 12.2, 325.207) Neodymium_144 = Natural_Isotope("ND", 144, 143.910083, 23.8, 3.59476) Neodymium_145 = Natural_Isotope("ND", 145, 144.912569, 8.3, 42.0042) Neodymium_146 = Natural_Isotope("ND", 146, 145.913112, 17.2, 1.48972) Neodymium_148 = Natural_Isotope("ND", 148, 147.916889, 5.7, 2.58455) Neodymium_150 = Natural_Isotope("ND", 150, 149.920887, 5.6, 1.04087) Samarium_144 = Natural_Isotope("SM", 144, 143.911995, 3.07, 1.63074) Samarium_147 = Natural_Isotope("SM", 147, 146.914893, 14.99, 57.0005) Samarium_148 = Natural_Isotope("SM", 148, 147.914818, 11.24, 2.40081) Samarium_149 = Natural_Isotope("SM", 149, 148.91718, 13.82, 40513.5) Samarium_150 = Natural_Isotope("SM", 150, 149.917271, 7.38, 100.028) Samarium_152 = Natural_Isotope("SM", 152, 151.919728, 26.75, 206.002) Samarium_154 = Natural_Isotope("SM", 154, 153.922205, 22.75, 8.32501) Europium_151 = Natural_Isotope("EU", 151, 150.919846, 47.81, 9185.34) Europium_153 = Natural_Isotope("EU", 153, 152.921226, 52.19, 358.045) Gadolinium_152 = Natural_Isotope("GD", 152, 151.919788, 0.2, 735.135) Gadolinium_154 = Natural_Isotope("GD", 154, 1553.920862, 2.18, 85.2086) Gadolinium_155 = Natural_Isotope("GD", 155, 154.922619, 14.8, 60740.1) Gadolinium_156 = Natural_Isotope("GD", 156, 155.92212, 20.47, 1.7951) Gadolinium_157 = Natural_Isotope("GD", 157, 156.923957, 15.65, 252928) Gadolinium_158 = Natural_Isotope("GD", 158, 157.924101, 24.84, 2.20303) Gadolinium_160 = Natural_Isotope("GD", 160, 159.927051, 21.86, 1.41027) Terbium_159 = Natural_Isotope("TB", 159, 158.925343, 100, 23.3595) Dysprosium_156 = Natural_Isotope("DY", 156, 155.924278, 0.06, 33.0649) Dysprosium_158 = Natural_Isotope("DY", 158, 157.924405, 0.1, 43.0828) Dysprosium_160 = Natural_Isotope("DY", 160, 159.925194, 2.34, 55.9966) Dysprosium_161 = Natural_Isotope("DY", 161, 160.92693, 18.91, 600.248) Dysprosium_162 = Natural_Isotope("DY", 162, 161.926795, 25.51, 193.986) Dysprosium_163 = Natural_Isotope("DY", 163, 162.928728, 24.9, 123.433) Dysprosium_164 = Natural_Isotope("DY", 164, 163.929171, 28.18, 2653.58) Holmium_165 = Natural_Isotope("HO", 165, 164.930319, 100, 64.6959) Erbium_162 = Natural_Isotope("ER", 162, 161.928775, 0.14, 18.9178) Erbium_164 = Natural_Isotope("ER", 164, 163.929197, 1.61, 12.9572) Erbium_166 = Natural_Isotope("ER", 166, 165.93029, 33.61, 16.8769) Erbium_167 = Natural_Isotope("ER", 167, 166.932045, 22.93, 649.812) Erbium_168 = Natural_Isotope("ER", 168, 167.932368, 26.78, 2.74199) Erbium_170 = Natural_Isotope("ER", 170, 160.93546, 14.94, 8.8531) Thulium_169 = Natural_Isotope("TM", 169, 168.934211, 100, 105.049) Ytterbium_168 = Natural_Isotope("YB", 168, 167.933894, 0.13, 2308.65) Ytterbium_170 = Natural_Isotope("YB", 170, 169.934759, 3.04, 10.4239) Ytterbium_171 = Natural_Isotope("YB", 171, 170.936322, 14.28, 55.1482) Ytterbium_172 = Natural_Isotope("YB", 172, 171.936378, 21.83, 1.13789) Ytterbium_173 = Natural_Isotope("YB", 173, 172.938207, 16.13, 16.0429) Ytterbium_174 = Natural_Isotope("YB", 174, 173.938858, 31.83, 66.2165) Ytterbium_176 = Natural_Isotope("YB", 176, 175.942568, 12.76, 2.8382) Lutetium_175 = Natural_Isotope("LU", 175, 174.940768, 97.41, 23.0819) Lutetium_176 = Natural_Isotope("LU", 176, 175.942682, 2.59, 2096.98) Hafnium_174 = Natural_Isotope("HF", 174, 173.94004, 0.16, 549.546) Hafnium_176 = Natural_Isotope("HF", 176, 175.941402, 5.26, 21.3847) Hafnium_177 = Natural_Isotope("HF", 177, 176.94322, 18.6, 373.667) Hafnium_178 = Natural_Isotope("HF", 178, 177.943698, 27.28, 83.9482) Hafnium_179 = Natural_Isotope("HF", 179, 178.945815, 13.62, 42.7982) Hafnium_180 = Natural_Isotope("HF", 180, 179.946549, 35.08, 13.0744) Tantalum_180 = Natural_Isotope("TA", 180, 179.947466, 0.012, 791.213) Tantalum_181 = Natural_Isotope("TA", 181, 180.947996, 99.988, 21.1306) Tungsten_180 = Natural_Isotope("W", 180, 179.946706, 0.12, 29.6565) Tungsten_182 = Natural_Isotope("W", 182, 181.948206, 26.5, 20.7155) Tungsten_183 = Natural_Isotope("W", 183, 182.950224, 14.31, 10.1168) Tungsten_184 = Natural_Isotope("W", 184, 183.950933, 30.64, 1.50204) Tungsten_186 = Natural_Isotope("W", 186, 185.954362, 28.43, 38.0949) Rhenium_185 = Natural_Isotope("RE", 185, 184.952956, 37.4, 112.176) Rhenium_187 = Natural_Isotope("RE", 187, 186.955751, 62.6, 76.7062) Osmium_184 = Natural_Isotope("OS", 184, 183.952491, 0.02, 3081.89) Osmium_186 = Natural_Isotope("OS", 186, 185.953838, 1.59, 80.35977) Osmium_187 = Natural_Isotope("OS", 187, 186.955748, 1.96, 320.331) Osmium_188 = Natural_Isotope("OS", 188, 187.955836, 1.96, 5.22819) Osmium_189 = Natural_Isotope("OS", 189, 188.958145, 13.24, 25.0801) Osmium_190 = Natural_Isotope("OS", 190, 189.958445, 26.26, 13.0864) Osmium_192 = Natural_Isotope("OS", 192, 191.961479, 40.78, 2.74746) Iridium_191 = Natural_Isotope("IR", 191, 190.960591, 37.3, 954.468) Iridium_193 = Natural_Isotope("IR", 193, 192.962924, 62.7, 111.173) Platinum_190 = Natural_Isotope("PT", 190, 189.95993, 0.014, 153.122) Platinum_192 = Natural_Isotope("PT", 192, 191.961035, 0.782, 10.6592) Platinum_194 = Natural_Isotope("PT", 194, 193.962664, 32.967, 1.37928) Platinum_195 = Natural_Isotope("PT", 195, 194.964774, 33.832, 27.5463) Platinum_196 = Natural_Isotope("PT", 196, 195.964935, 25.242, 0.6488625) Platinum_198 = Natural_Isotope("PT", 198, 197.967876, 7.163, 3.51825) Gold_197 = Natural_Isotope("AU", 197, 196.966552, 100, 99.10925) Mercury_196 = Natural_Isotope("HG", 196, 195.965815, 0.15, 3078.91) Mercury_198 = Natural_Isotope("HG", 198, 197.966752, 9.97, 1.98586) Mercury_199 = Natural_Isotope("HG", 199, 198.968262, 16.87, 2150.18) Mercury_200 = Natural_Isotope("HG", 200, 199.968309, 23.1, 1.44314) Mercury_201 = Natural_Isotope("HG", 201, 200.970285, 13.18, 4.90396) Mercury_202 = Natural_Isotope("HG", 202, 201.970626, 29.86, 4.95514) Mercury_204 = Natural_Isotope("HG", 204, 203.973476, 6.87, 0.431558) Thallium_203 = Natural_Isotope("TL", 203, 202.972329, 29.524, 11.411) Thallium_205 = Natural_Isotope("TL", 205, 204.974412, 70.476, 0.130514) Lead_204 = Natural_Isotope("PB", 204, 203.973029, 1.4, 0.660895) Lead_206 = Natural_Isotope("PB", 206, 205.974449, 24.1, 0.0297921) Lead_207 = Natural_Isotope("PB", 207, 206.975881, 22.1, 0.712178) Lead_208 = Natural_Isotope("PB", 208, 207.976636, 52.4, 0.000232076) Bismuth_209 = Natural_Isotope("BI", 209, 208.980383, 100, 0.0338121) Thorium_232 = Natural_Isotope("TH", 232, 232.0385879, 100, 7.33806) Proactinium_231 = Natural_Isotope("PA", 231, 231.035879, 100, 200.689) Uranium_234 = Natural_Isotope("U", 234, 234.040946, 0.0055, 100.908) Uranium_235 = Natural_Isotope("U", 235, 235.043923, 0.72, 98.6866) Uranium_238 = Natural_Isotope("U", 238, 238.050783, 99.2745, 2.68346) natural_isotope_list = [Hydrogen_1, Hydrogen_2, Helium_3, Helium_4, Lithium_6, Lithium_7, Beryllium_9, Boron_10, Boron_11, Carbon_12, Carbon_13, Nitrogen_14, Nitrogen_15, Oxygen_16, Oxygen_17, Oxygen_18, Fluorine_19, Neon_20, Neon_21, Neon_22, Sodium_23, Magnesium_24, Magnesium_25, Magnesium_26, Aluminum_27, Silicon_28, Silicon_29, Silicon_30, Phosphorus_31, Sulfur_32, Sulfur_33, Sulfur_34, Sulfur_36, Chlorine_35, Chlorine_37, Argon_36, Argon_38, Argon_40, Potassium_39, Potassium_40, Potassium_41, Calcium_40, Calcium_42, Calcium_43, Calcium_44, Calcium_46, Calcium_48, Scandium_45, Titanium_46, Titanium_47, Titanium_48, Titanium_49, Titanium_50, Vanadium_50, Vanadium_51, Chromium_50, Chromium_52, Chromium_53, Chromium_54, Manganese_55, Iron_54, Iron_56, Iron_57, Iron_58, Cobalt_59, Nickel_58, Nickel_60, Nickel_61, Nickel_62, Nickel_64, Copper_63, Copper_65, Zinc_64, Zinc_66, Zinc_67, Zinc_68, Zinc_70, Gallium_69, Gallium_71, Germanium_70, Germanium_72, Germanium_73, Germanium_74, Germanium_76, Arsenic_75, Selenium_74, Selenium_76, Selenium_77, Selenium_78, Selenium_80, Selenium_82, Bromine_79, Bromine_81, Krypton_78, Krypton_80, Krypton_82, Krypton_83, Krypton_84, Krypton_86, Rubidium_85, Rubidium_87, Strontium_84, Strontium_86, Strontium_87, Strontium_88, Yttrium_89, Zirconium_90, Zirconium_91, Zirconium_92, Zirconium_94, Zirconium_96, Niobium_93, Molybdenum_92, Molybdenum_94, Molybdenum_95, Molybdenum_96, Molybdenum_97, Molybdenum_98, Molybdenum_100, Ruthenium_96, Ruthenium_98, Ruthenium_99, Ruthenium_100, Ruthenium_101, Ruthenium_102, Ruthenium_104, Rhodium_103, Palladium_102, Palladium_104, Palladium_105, Palladium_106, Palladium_108, Palladium_110, Silver_107, Silver_109, Cadmium_106, Cadmium_108, Cadmium_110, Cadmium_111, Cadmium_112, Cadmium_113, Cadmium_114, Cadmium_116, Indium_113, Indium_115, Tin_112, Tin_114, Tin_115, Tin_116, Tin_117, Tin_118, Tin_119, Tin_120, Tin_122, Tin_124, Antimony_121, Antimony_123, Tellurium_120, Tellurium_122, Tellurium_123, Tellurium_124, Tellurium_125, Tellurium_126, Tellurium_128, Tellurium_130, Iodine_127, Xenon_124, Xenon_126, Xenon_128, Xenon_129, Xenon_130, Xenon_131, Xenon_132, Xenon_134, Xenon_136, Cesium_133, Barium_130, Barium_132, Barium_134, Barium_135, Barium_136, Barium_137, Barium_138, Lanthanum_138, Lanthanum_139, Cerium_136, Cerium_138, Cerium_140, Cerium_142, Praseodymium_141, Neodymium_142, Neodymium_143, Neodymium_144, Neodymium_145, Neodymium_146, Neodymium_148, Neodymium_150, Samarium_144, Samarium_147, Samarium_148, Samarium_149, Samarium_150, Samarium_152, Samarium_154, Europium_151, Europium_153, Gadolinium_152, Gadolinium_154, Gadolinium_155, Gadolinium_156, Gadolinium_157, Gadolinium_158, Gadolinium_160, Terbium_159, Dysprosium_156, Dysprosium_158, Dysprosium_160, Dysprosium_161, Dysprosium_162, Dysprosium_163, Dysprosium_164, Holmium_165, Erbium_162, Erbium_164, Erbium_166, Erbium_167, Erbium_168, Erbium_170, Thulium_169, Ytterbium_168, Ytterbium_170, Ytterbium_171, Ytterbium_172, Ytterbium_173, Ytterbium_174, Ytterbium_176, Lutetium_175, Lutetium_176, Hafnium_174, Hafnium_176, Hafnium_177, Hafnium_178, Hafnium_179, Hafnium_180, Tantalum_180, Tantalum_181, Tungsten_180, Tungsten_182, Tungsten_183, Tungsten_184, Tungsten_186, Rhenium_185, Rhenium_187, Osmium_184, Osmium_186, Osmium_187, Osmium_188, Osmium_189, Osmium_190, Osmium_192, Iridium_191, Iridium_193, Platinum_190, Platinum_192, Platinum_194, Platinum_195, Platinum_196, Platinum_198, Gold_197, Mercury_196, Mercury_198, Mercury_199, Mercury_200, Mercury_201, Mercury_202, Mercury_204, Thallium_203, Thallium_205, Lead_204, Lead_206, Lead_207, Lead_208, Bismuth_209, Thorium_232, Proactinium_231, Uranium_234, Uranium_235, Uranium_238]
# Achar o maior número palíndromo resultado de uma multiplicação entre dois números com 3 digitos. # Função para testar se é palíndromo def is_palindrome(word): word = str(word) if len(str(word)) <= 1: return True if str(word)[0] == str(word)[-1]: return is_palindrome(word[1:-1]) return False # Retorna uma tupla com o maior valor e os números que multiplicam para chegar nele def get_result(): max = [0] for i in range(1000, 100, -1): for j in range(1000, 100, -1): product = i*j if is_palindrome(product): if product > max[0]: max = product, i, j return max
__project__ = 'OCRErrorCorrectpy3' __author__ = 'jcavalie' __email__ = "Jcavalieri8619@gmail.com" __date__ = '10/25/14' EpsilonTransition = None TransitionWeight = None outputsModel=None NUM_PARTITIONS=None EM_STEP=True
def test_get_page_hierarchy_as_xml(): given_pages('PageOne', 'PageOne.ChildOne', 'PageTwo') when_request_is_issued('root', 'type:pages') then_response_should_be_xml() def test_get_page_hierarchy_has_right_tags(): given_pages('PageOne', 'PageOne.ChildOne', 'PageTwo') when_request_is_issued('root', 'type:pages') then_response_should_be_contain( '<name>PageOne</name>', '<name>PageTwo</name>', '<name>ChildOne</name>' )
def new_file(filename, content): with open(filename, 'w+') as f: f.write(content) print('Created at', filename)
#################################################### # Block ######################## blocks_head = [] class Block: name = "Block" tag = "div" content_seperator = "" allows_nesting = True def __init__(self, parent): self.parent = parent self.parent.add(self) if parent else None self.content = [] def add(self, x): self.content.append(x) def get_parent(self): return self.parent if self.parent else self def __getitem__(self, i): return self.content[i] def __iter__(self): return iter(self.content) def tostring(self): s = "%s[" % self.name s += self.content_seperator.join(map(str,self.content)) s += "]" return s __str__ = tostring; __repr__ = tostring #################################################### # Body ######################## class Body(Block): name = "Body" content_seperator = "\n" def __init__(self): super().__init__(None) # class Paragraph(Block): name = "Paragraph" #################################################### # Inline ######################## blocks_inline = [] class Inline(Block): start, end = "", "" @classmethod def is_start(cls, c): return c == cls.start @classmethod def is_end (cls, c): return c == cls.end class Span(Inline): name = "span" tag = "span" # # def make_inline(_name, _tag, _start, _end=None, _allows_nesting=True, is_head=False): class X(Inline): name, start, tag, allows_nesting = _name, _start, _tag, _allows_nesting end = _end if _end else _start blocks_inline.append(X) if is_head: blocks_head.append(X) # make_inline("allcaps" , "span", "**") # TODO make_inline("italic" , "span" , "_") make_inline("bold" , "span" , "*") make_inline("link" , "a" , "@", _allows_nesting=False) make_inline("codeinline" , "code" , "`", _allows_nesting=False) make_inline("mathinline" , "span" , "$", _allows_nesting=False) #################################################### # Line ######################## blocks_line = [] class Line(Block): start = "" allows_nesting = True def __init__(self, parent, line): super().__init__(parent) self.arg = line @classmethod def is_start(cls, line): return line.startswith(cls.start) @classmethod def remove_start(cls, line): return line[len(cls.start):].strip() # # class UnorderedListItem(Line): name = "unorderedlistitem" starts = ["-", "* "] tag = "li" allows_nesting = True @classmethod def is_start(cls, line): return any([line.startswith(s) for s in cls.starts]) @classmethod def remove_start(cls, line): for s in cls.starts: if line.startswith(s): return line[len(s):] blocks_line.append(UnorderedListItem) # this didn't work out so well... # # class OrderedListItem(Line): # name = "orderedlistitem" # tag = "li" # allows_nesting = True # def __init__(self, parent, line): # if ". " in line: # line = line[:line.index(". ")] # elif ") " in line: # line = line[:line.index(") ")] # super().__init__(parent, line) # @classmethod # def is_start(cls, line): # if ". " in line: # s = line[:line.index(". ")] # return s.isalnum() and len(s) <= 3 # elif ") " in line: # s = line[:line.index(") ")] # return s.isalnum() and len(s) <= 3 # return False # @classmethod # def remove_start(cls, line): # if ". " in line: # return line[line.index(". ")+2:] # elif ") " in line: # return line[line.index(") ")+2:] # blocks_line.append(OrderedListItem) # # def make_line(_name, _start, _tag, _allows_nesting=True, is_head=False): class X(Line): name, start, tag, allows_nesting = _name, _start, _tag, _allows_nesting blocks_line.append(X) if is_head: blocks_head.append(X) # # make_line("h5", "#####" , "h5") make_line("h4", "####" , "h4") make_line("h3", "###" , "h3") make_line("h2", "##" , "h2") make_line("h1", "#" , "h1") make_line("image", "%" , "img", False) make_line("quote", "> " , "div") make_line("align-right", "]]]", "div") make_line("style" , "::style" , "link" , False, True) make_line("script" , "::script" , "script" , False, True) make_line("title" , "::title" , "title" , False, True) make_line("highlight" , "::highlight" , "link" , False, True) #################################################### # Multiline ######################## blocks_multiline = [] class Multiline(Block): start, end = "", "" def __init__(self, parent, arg): super().__init__(parent) self.arg = arg @classmethod def is_start(cls, line): return line.startswith(cls.start) @classmethod def is_end(cls, line): return line.startswith(cls.end) @classmethod def remove_start(cls, line): return line[len(cls.start):].strip() def tostring(self): s = "(%s:%s)" % (self.name, self.arg) s += self.content_seperator.join(map(str,self.content)) s += "]" return s __str__ = tostring; __repr__ = tostring # # def make_multiline(_name, _start, _end, _tag, is_head=False): class X(Multiline): name, start, end, tag = _name, _start, _end, _tag blocks_multiline.append(X) if is_head: blocks_head.append(X) make_multiline("codemultiline", "```" , "```" , "pre code") make_multiline("mathmultiline", "$$" , "$$" , "p") make_multiline("style" , "::style{" , "::}" , "style", True) make_multiline("script" , "::script{" , "::}" , "script", True) # # # def lex(file): block = Body() for line in file: if line.startswith("---"): continue elif isinstance(block, Multiline): # special line (inside multiline) # check if current multiline end if block.is_end(line): block = block.get_parent() continue # else, just add to multiline block.add(line.strip("\n")) else: # normal line line = line.strip() if line == "": continue # check if a new multiline start is_multiline = False for bmultiline in blocks_multiline: if bmultiline.is_start(line): block = bmultiline(block, bmultiline.remove_start(line)) is_multiline = True break if is_multiline: continue # get line block for this line is_paragraph = True for bline in blocks_line: if bline.is_start(line): block = bline(block, line) line = bline.remove_start(line) is_paragraph = False break # if not a special block line, then paragraph if is_paragraph: block = Paragraph(block) # lex line for inline block # alows lexed nesting if block.allows_nesting: inline = Span(block) for c in line: normal = True # check for end of current inline block if inline.is_end(c): inline = inline.get_parent() continue if inline.allows_nesting: # check for start of new inline block for binline in blocks_inline: if binline.is_start(c): inline = binline(inline) normal = False break # else, just normal add if normal: inline.add(c) # doesn't allow lexed nesting, so just # add line raw else: block.add(line) # end of line, so escape block block = block.get_parent() # escape all inlines while not isinstance(block, Body): block = block.get_parent() return block
""" * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * """ n=int(input()) a=[*map(int,input().split())] r=a[1]-a[0] print(a[-1]+r*all(y-x==r for x,y in zip(a,a[1:])))
''' Function: 打印从1到最大的n位数 Author: Charles ''' class Solution: def printNumbers(self, n: int) -> List[int]: start, end = 1, 10 ** n return list(range(start, end))
# -*- coding: utf-8 -*- """ List Data Examples and Operations Intro to Python Workshop """ # List Data are NOT immutable, unlike string data testlist = [10,11,13,7,8,3] print (testlist) testlist[2] = 14 print (testlist) # Lists are collections of items - we can put many values in a single variable dmb = ['dave','tim','leroy','carter','steffan','boyd'] for i in dmb: print ('Band member:', i) for i in range(len(dmb)): dm = dmb[i] # Can we have this count start at 1 instead? print ('Band member:', i, dm) # Lists are surrounded by square brackets, elements in list separatedd by commas # Can include a mixture of data types dmbsongs = ['crush', 41,'too much', 'grace is gone','two step'] dmbsongs2 = [[41,'too much','twostep'],['crush','stone','rapunzel'],'grace is gone',(1991,2018)] # List elements and subelements and be accessed as follows: print (len(dmbsongs2)) print (len(dmbsongs2[0])) print (list((range(len(dmbsongs2))))) a = [10,11,13,7,8,3] b = [17,10,5,4,9,15] # Concatenating lists c = a + b print (c) # Review the allowable operations for lists dir(c) # Here is a major tool in your toolkit and it's made some # appearance already - setting an empty list, which you add items to mylist = [] # Another way myotherlist = list() # Now add elements to it. They will stay in the order in which they are added # New elements go to the end of the list myotherlist.append('Ants Marching') myotherlist.append(41) # Test whether an item is there, but won't modify 41 in myotherlist 41 not in myotherlist # There are a number of built-in functions that apply to lists print (len(c)) print (max(c)) print (min(c)) print (sum(c)) print (sum(c)/len(c)) # Working with lists NVPopulations2017 = [54745,24230,2204079,48309,52649,850,1961,16826,5693,5223,54122,4457,44202,6508,4006,460587,9592] NVCounties = [] NVcountynames = " Washoe, Clark, Lyon, Carson City, Pershing, Douglas, White Pine, Nye, Humboldt, Lincoln, Esmeralda, Mineral, Elko, Storey, Eureka, Churchill, Lander" NVList = NVcountynames.split(",") NVList.sort() # Add items to an empty list for i in NVList: x = i.strip() NVCounties.append(x) print ("In List Form(!) - that's Nevada!", NVCounties) # A more compact way to add items to a list NVCounties2 = [i.strip() for i in NVList]
test = { 'name': 'q4c', 'points': 1, 'suites': [ { 'cases': [ {'code': ">>> is_valid_november_2020_sweden('Sweden', '2020-11-04')\nTrue", 'hidden': False, 'locked': False}, {'code': ">>> not is_valid_november_2020_sweden('sweden', '2020-11-04')\nTrue", 'hidden': False, 'locked': False}, {'code': ">>> not is_valid_november_2020_sweden('Sweden', '2020-11-302')\nTrue", 'hidden': False, 'locked': False}, {'code': ">>> not is_valid_november_2020_sweden('Sweden', '2019-11-24')\nTrue", 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardown': '', 'type': 'doctest'}]}
class complex: def __init__(self, real, img): self.real = real self.img = img def add(self, b): res = complex(0,0) res.real = self.real + b.real res.img = self.img + b.img return res def display(self): if self.img>=0: print("{} + i{}".format(self.real, self.img)) if self.img<0: print("{} - i{}".format(self.real, -self.img)) def conjugate(self): res = complex(0,0) res.img = -self.img res.real = self.real return res a = complex(1,2) b = complex(-3,-4)
"""A macro for creating a webpack federation route module""" load("@aspect_rules_swc//swc:swc.bzl", "swc") # Defines this as an importable module area for shared macros and configs def build_route(name, entry, srcs, data, webpack, federation_shared_config): """ Macro that allows easy composition of routes from a multi route spa Args: name: name of a route (route) entry: the entry file to the route srcs: source files to be transpiled and bundled data: any dependencies the route needs to build webpack: the webpack module to invoke. The users must provide their own load statement for webpack before this macro is called federation_shared_config: a nodejs module file that exposes a map of dependencies to their shared module spec https://webpack.js.org/plugins/module-federation-plugin/#sharing-hints. An example of this is located within this repository under the private/webpack folder. """ build_name = name + "_route" # list of all transpilation targets from SWC to be passed to webpack deps = [ ":transpile_" + files.replace("//", "").replace("/", "_").split(".")[0] for files in srcs ] + data # buildifier: disable=no-effect [ swc( name = "transpile_" + s.replace("//", "").replace("/", "_").split(".")[0], args = [ "-C jsc.parser.jsx=true", "-C jsc.parser.syntax=typescript", "-C jsc.transform.react.runtime=automatic", "-C jsc.transform.react.development=false", "-C module.type=commonjs", ], srcs = [s], ) for s in srcs ] route_config = Label("//spa/private/webpack:webpack.route.config.js") webpack( name = name, args = [ "--env name=" + build_name, "--env entry=./$(execpath :transpile_" + name + ")", "--env SHARED_CONFIG=$(location %s)" % federation_shared_config, "--env BAZEL_SRC_PATH=$(execpath :transpile_" + name + ")", "--output-path=$(@D)", "--config=$(rootpath %s)" % route_config, ], data = [ route_config, federation_shared_config, Label("//spa/private/webpack:webpack.common.config.js"), ] + deps, output_dir = True, visibility = ["//src/client/routes:__pkg__"], )
""" Author: Justin Cappos Description: It should be okay to put __ in a doc string... """ #pragma repy def foo(): """__ should also be allowed here__""" pass class bar: """__ and here__""" pass
#1st method sq1 = [] for x in range(10): sq1.append(x**2) print("sq1 = ", sq1) # 2nd method sq2 = [x**2 for x in range(10)] print("sq2 = ", sq2) sq3 = [(x,y) for x in [1,2,3] for y in [3,1,4] if x!=y] print("sq3 = ", sq3) vec = [-4, -2, 0, 2, 4] print("x*2", [x*2 for x in vec]) print("x if x>0", [x for x in vec if x>=0]) print("abs(x) = ", [abs(x) for x in vec]) freshfruit = [' banana', ' loganberry ', 'passion fruit '] print("weapon.strip() = ", [weapon.strip() for weapon in freshfruit]) print("(x, x**2) = ", [(x, x**2) for x in range(6)]) vec2 = [[1,2,3], [4,5,6], [7,8,9]] print("num = ", [num for elem in vec2 for num in elem])
salario = float(input('Qual o salário do funcionário?: ')) porcentagem = float(input('Quantos % de aumento?: ')) aumento = salario + (salario * porcentagem /100) print('O aumento vai ser de {:.2f}R$ para {:.2f}R$'.format(salario, aumento))
n = str(input('Digite o seu nome completo: ')).strip() print('Muito prazer em te conhecer,',n,'!') nome = n.split() print(f'Seu primeiro nome é {nome[0]}') print(f'Seu último nome é {nome[len(nome)-1]}')
# Created by Egor Kostan. # GitHub: https://github.com/ikostan # LinkedIn: https://www.linkedin.com/in/egor-kostan/ def solution(value: int) -> str: """ Complete the solution so that it returns a formatted string. The return value should equal "Value is VALUE" where value is a 5 digit padded number. :param value: :return: """ result = str(value) while len(result) != 5: result = '0' + result return 'Value is {}'.format(result)
# module trackmod.namereg class NameRegistry(object): class AllRegistered(object): terminal = True def register(self, names): return def __contains__(self, name): return True all_registered = AllRegistered() class AllFound(object): def __init__(self, value): self.value = value def __getitem__(self, key): return self.value all_found = AllFound(all_registered) def __init__(self, names=None): self.names = {} if names is not None: self.add(names) self.terminal = False def add(self, names): if names is None: self.terminal = True return for name in names: parts = name.split('.', 1) first = parts[0] if first == '*': self.names = self.all_found return else: try: sub_registry = self.names[first] except KeyError: sub_registry = NameRegistry() self.names[first] = sub_registry if len(parts) == 2: sub_registry.add(parts[1:]) else: sub_registry.terminal = True def __contains__(self, name): parts = name.split('.', 1) try: sub_registry = self.names[parts[0]] except KeyError: return False # This uses a conditional or. if len(parts) == 1: return sub_registry.terminal return parts[1] in sub_registry
""" For a given string and dictionary, how many sentences can you make from the string, such that all the words are contained in the dictionary. eg: for given string -> "appletablet" "apple", "tablet" "applet", "able", "t" "apple", "table", "t" "app", "let", "able", "t" "applet", {app, let, apple, t, applet} => 3 "thing", {"thing"} -> 1 """ count = 0 def make_sentence(str_piece, dictionarys): global count if len(str_piece) == 0: return True for i in range(0, len(str_piece)): prefix, suffix = str_piece[0:i], str_piece[i:] if prefix in dictionarys: if suffix in dictionarys or make_sentence(suffix, dictionarys): count += 1 return True if __name__ == "__main__": dictionarys = ["", "app", "let", "t", "apple", "applet"] word = "applet" make_sentence(word, dictionarys) print(count)
BOP_CONFIG = dict() BOP_CONFIG['hb'] = dict( input_resize=(640, 480), urdf_ds_name='hb', obj_ds_name='hb', train_pbr_ds_name=['hb.pbr'], inference_ds_name=['hb.bop19'], test_ds_name=[], ) BOP_CONFIG['icbin'] = dict( input_resize=(640, 480), urdf_ds_name='icbin', obj_ds_name='icbin', train_pbr_ds_name=['icbin.pbr'], inference_ds_name=['icbin.bop19'], test_ds_name=['icbin.bop19'], ) BOP_CONFIG['itodd'] = dict( input_resize=(1280, 960), urdf_ds_name='itodd', obj_ds_name='itodd', train_pbr_ds_name=['itodd.pbr'], inference_ds_name=['itodd.bop19'], test_ds_name=[], val_ds_name=['itodd.val'], ) BOP_CONFIG['lmo'] = dict( input_resize=(640, 480), urdf_ds_name='lm', obj_ds_name='lm', train_pbr_ds_name=['lm.pbr'], inference_ds_name=['lmo.bop19'], test_ds_name=['lmo.bop19'], ) BOP_CONFIG['tless'] = dict( input_resize=(720, 540), urdf_ds_name='tless.cad', obj_ds_name='tless.cad', train_pbr_ds_name=['tless.pbr'], inference_ds_name=['tless.bop19'], test_ds_name=['tless.bop19'], train_synt_real_ds_names=[('tless.pbr', 4), ('tless.primesense.train', 1)] ) BOP_CONFIG['tudl'] = dict( input_resize=(640, 480), urdf_ds_name='tudl', obj_ds_name='tudl', train_pbr_ds_name=['tudl.pbr'], inference_ds_name=['tudl.bop19'], test_ds_name=['tudl.bop19'], train_synt_real_ds_names=[('tudl.pbr', 10), ('tudl.train.real', 1)] ) BOP_CONFIG['ycbv'] = dict( input_resize=(640, 480), urdf_ds_name='ycbv', obj_ds_name='ycbv.bop', train_pbr_ds_name=['ycbv.pbr'], train_pbr_real_ds_names=[('ycbv.pbr', 1), ()], inference_ds_name=['ycbv.bop19'], test_ds_name=['ycbv.bop19'], train_synt_real_ds_names=[('ycbv.pbr', 20), ('ycbv.train.synt', 1), ('ycbv.train.real', 3)] ) BOP_CONFIG['synpick'] = dict( input_resize=(640, 480), urdf_ds_name='ycbv', # Reuse ycbv models obj_ds_name='ycbv.bop', # Reuse ycbv models # train_pbr_ds_name='', # train_pbr_real_ds_names='', inference_ds_name=[('synpick.test.pick3', 'synpick.test.move3', 'synpick.test.pick_bad')], # TODO test_ds_name='', # TODO val_ds_names=[('synpick.test.pick3', 1), ('synpick.test.move3', 1), ('synpick.test.pick_bad', 1)], # NOT used as a real validation set. Just here for generating predictions train_synt_real_ds_names=[('synpick.train.pick3', 1), ('synpick.train.move3', 1), ('synpick.train.pick_bad', 1)] ) PBR_DETECTORS = dict( hb='detector-bop-hb-pbr--497808', icbin='detector-bop-icbin-pbr--947409', itodd='detector-bop-itodd-pbr--509908', lmo='detector-bop-lmo-pbr--517542', tless='detector-bop-tless-pbr--873074', tudl='detector-bop-tudl-pbr--728047', ycbv='detector-bop-ycbv-pbr--970850', ) PBR_COARSE = dict( hb='coarse-bop-hb-pbr--70752', icbin='coarse-bop-icbin-pbr--915044', itodd='coarse-bop-itodd-pbr--681884', lmo='coarse-bop-lmo-pbr--707448', tless='coarse-bop-tless-pbr--506801', tudl='coarse-bop-tudl-pbr--373484', ycbv='coarse-bop-ycbv-pbr--724183', ) PBR_REFINER = dict( hb='refiner-bop-hb-pbr--247731', icbin='refiner-bop-icbin-pbr--841882', itodd='refiner-bop-itodd-pbr--834427', lmo='refiner-bop-lmo-pbr--325214', tless='refiner-bop-tless-pbr--233420', tudl='refiner-bop-tudl-pbr--487212', ycbv='refiner-bop-ycbv-pbr--604090', ) SYNT_REAL_DETECTORS = dict( tudl='detector-bop-tudl-synt+real--298779', tless='detector-bop-tless-synt+real--452847', ycbv='detector-bop-ycbv-synt+real--292971', # synpick='detector-bop-ycbv-synt+real--292971', <--- cosypose models synpick='detector-synpick--745328', # <--- synpick without pick_bad split ) SYNT_REAL_COARSE = dict( tudl='coarse-bop-tudl-synt+real--610074', tless='coarse-bop-tless-synt+real--160982', ycbv='coarse-bop-ycbv-synt+real--822463', synpick='coarse-bop-ycbv-synt+real--822463', ) SYNT_REAL_REFINER = dict( tudl='refiner-bop-tudl-synt+real--423239', tless='refiner-bop-tless-synt+real--881314', ycbv='refiner-bop-ycbv-synt+real--631598', # synpick='refiner-bop-ycbv-synt+real--631598', <--- cosypose models synpick='synpick-refiner-finetune--666878', # <--- synpick without pick_bad split ) for k, v in PBR_COARSE.items(): if k not in SYNT_REAL_COARSE: SYNT_REAL_COARSE[k] = v for k, v in PBR_REFINER.items(): if k not in SYNT_REAL_REFINER: SYNT_REAL_REFINER[k] = v for k, v in PBR_DETECTORS.items(): if k not in SYNT_REAL_DETECTORS: SYNT_REAL_DETECTORS[k] = v PBR_INFERENCE_ID = 'bop-pbr--223026' SYNT_REAL_INFERENCE_ID = 'bop-synt+real--815712' SYNT_REAL_ICP_INFERENCE_ID = 'bop-synt+real-icp--121351' SYNT_REAL_4VIEWS_INFERENCE_ID = 'bop-synt+real-nviews=4--419066' SYNT_REAL_8VIEWS_INFERENCE_ID = 'bop-synt+real-nviews=8--763684' ###################################### SYNPICK INFERENCE PARAMS ############################################ # used by scripts/run_synpick_inference.py SYNPICK_REAL_DETECTORS = dict( synpick='detector-synpick-synt--35428', ) SYNPICK_REAL_COARSE = dict( synpick='coarse-bop-ycbv-synt+real--822463', #'coarse-bop-ycbv-synt+real--822463' --> models from CosyPose trained on synt data ) SYNPICK_REAL_REFINER = dict( synpick='synpick-refiner-finetune--10468', # refined on synpick ) ###################################### SYNPICK INFERENCE PARAMS ############################################
class MixUp: def __init__(self): pass class CutMix: def __init__(self): pass
s = help(list) print(s) L = [] # пустой список L = [1, 3, "test", {}] # 4 элемента L = [1, 3, 'test2', ['e1', 'e2']] # вложенные подсписки print(L[3][0]) # e1 ''' Генерация списков из итерируемых объектов ''' L = list('spam') L = list(range(-10, 10)) print(len(L)) # 20 print(L) # [-10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9] print(L[4]) # -6 print(L[5:10]) # [-5, -4, -3, -2, -1] L2 = L + ['new1'] # concatination L3 = L2 * 10 # повторение print(L2) print(L3) L.append(5) L.sort() L.reverse() print(L.count(5)) L.extend([5, 5]) print(L.count(5)) # 4 L.copy() print(L) L.clear() print(L) # [] print(list(map(abs, [-3, 3]))) # [3, 3] L = ['spam', 'eggs', 'SPAM!'] L[1] = ('eat') print(L) # ['spam', 'eat', 'SPAM!'] L[1:2] = ['test1'] print(L) # ['spam', 'test1', 'SPAM!'] L[0:2] = ['eat', 'more'] print(L) # ['eat', 'more', 'SPAM!'] print(L[1:2]) L = [1, 2, 3] L[1:2] = [4, 5] print(L) # [1, 4, 5, 3] L[1:1] = [7, 8] print(L) # [1, 7, 8, 4, 5, 3] L[1:2] = [] print(L) # [1, 8, 4, 5, 3] L[1:1] = [] print(L) # [1, 8, 4, 5, 3] L = [1] L[:0] = [2, 3, 4] # insert list in first position print(L) # [2, 3, 4, 1] L[len(L):] = [5, 6, 7] # insert list at the end print(L) # [2, 3, 4, 1, 5, 6, 7] L.extend([8, 9, 10]) print(L) # [2, 3, 4, 1, 5, 6, 7, 8, 9, 10] L.append(11) print(L) # [2, 3, 4, 1, 5, 6, 7, 8, 9, 10, 11] #print([1, 2, 'test'].sort()) # TypeError: '<' not supported between instances of 'str' and 'int' print(sorted(L, reverse=True)) # [11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1] print(L.pop()) # 11 - last element will be deleted and returned print(L) # [2, 3, 4, 1, 5, 6, 7, 8, 9, 10] ''' L.extend() - adds many arguments L.append() - adds one argument ''' print(L.index(10)) # 9 L.insert(10, 'test') print(L) L.remove('test') # remove by value print(L) print(L.count(8)) # 1 g = 45 print(2**32 / 1024) print(2**64)
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def calc_diameter(self, diameter, node): if node: l_height = calc_diameter(node.left) r_height = calc_diameter(node.right) diameter[0] = max(diameter[0], l_height + r_height + 1) return 1 + max(l_height, r_height) return 0 def diameterOfBinaryTree(self, root: TreeNode) -> int: if root: diameter = [-1] calc_diameter(diameter, root) return diameter[0] - 1 return 0 # [4,-7,-3,null,null,-9,-3,9,-7,-4,null,6,null,-6,-6,null,null,0,6,5,null,9,null,null,-1,-4,null,null,null,-2]
class C: def f(self, x): pass def g(self): def f(x): #gets ignored by pytype but fixer sees it, generates warning (FIXME?) return 1 return f
"""定义了服务器的错误. 包括: * ListenerError 钩子注册错误 * MultipleProcessDone 通过抛出这个异常来中断多进程任务的主进程循环 """ class ListenerError(Exception): """钩子注册错误.""" pass class MultipleProcessDone(Exception): """通过抛出这个异常来中断多进程任务的主进程循环.""" pass
var1 = 10 var2 = 15 var3 = 12.6 print (var1, var2, var3) A = 89 B = 56 Addition = A + B print (Addition) A = 89 B = 56 Substraction = A - B print (Substraction) #type function #variable #operands #operator f = 9/5*+32 print (float(f)) #type function #variable #operands #operator c = 5*32/9 print (float(c))
expected_output = { "main": { "chassis": { "name": { "descr": "A901-6CZ-FT-A Chassis", "name": "A901-6CZ-FT-A Chassis", "pid": "A901-6CZ-FT-A", "sn": "CAT2342U1S6", "vid": "V04 " } } }, "slot": { "0": { "rp": { "A901-6CZ-FT-A Chassis": { "descr": "A901-6CZ-FT-A Chassis", "name": "A901-6CZ-FT-A Chassis", "pid": "A901-6CZ-FT-A", "sn": "CAT2342U1S6", "subslot": { "0/11": { "GigabitEthernet 0/11": { "descr": "1000BASE-T SFP", "name": "GigabitEthernet 0/11", "pid": "GLC-T", "sn": "AGM183321AW", "vid": "B2 " } } }, "vid": "V04 " } } }, "AC/DC Power supply": { "other": { "AC/DC Power supply": { "descr": "AC/DC Power Supply 1 (12V)", "name": "AC/DC Power supply", "pid": "POWER SUPPLY", "sn": "34-2593-01", "vid": "" } } }, "Board Temperature Sensor": { "other": { "Board Temperature Sensor": { "descr": "Board Temperature Sensor", "name": "Board Temperature Sensor", "pid": "Temperature Sensor", "sn": "15-9325-01", "vid": "" } } }, "Fan1": { "other": { "Fan1": { "descr": "High Speed Fan1 Module for A901-6CZ-FT-A", "name": "Fan1", "pid": "FAN", "sn": "33-0629-01", "vid": "" } } }, "Fan2": { "other": { "Fan2": { "descr": "High Speed Fan2 Module for A901-6CZ-FT-A", "name": "Fan2", "pid": "FAN", "sn": "33-0629-01", "vid": "" } } }, "Fan3": { "other": { "Fan3": { "descr": "High Speed Fan3 Module for A901-6CZ-FT-A", "name": "Fan3", "pid": "FAN", "sn": "33-0629-01", "vid": "" } } }, "GigabitEthernet 0/10": { "other": { "GigabitEthernet 0/10": { "descr": "1000BASE-T SFP", "name": "GigabitEthernet 0/10", "pid": "SBCU-5740ARZ-CS1", "sn": "AVC211321TE", "vid": "G3." } } }, "Inlet Temperature Sensor": { "other": { "Inlet Temperature Sensor": { "descr": "Inlet Temperature Sensor", "name": "Inlet Temperature Sensor", "pid": "Temperature Sensor", "sn": "15-9325-01", "vid": "" } } } } }
# Faça um algoritmo que leia o preço de um produto e mostre seu novo preço, com 5% de desconto. prod = float(input('Digite o valor do produto: ')) print('O valor do prpduto com desconto é {:.2f}'.format(prod - (prod * 0.05)))
# -*- coding: utf-8 -*- """ @author: 2series """ class Node(object): def __init__(self, name): """Assumes name is a string""" self.name = name def getName(self): return self.name def __str__(self): return self.name class Edge(object): def __init__(self, src, dest): """Assumes src and dest are nodes""" self.src = src self.dest = dest def getSource(self): return self.src def getDestination(self): return self.dest def __str__(self): return self.src.getName() + '->' + self.dest.getName() class Digraph(object): """edges is a dict mapping each node to a list of its children""" def __init__(self): self.edges = {} def addNode(self, node): if node in self.edges: raise ValueError('Duplicate node') else: self.edges[node] = [] def addEdge(self, edge): src = edge.getSource() dest = edge.getDestination() if not (src in self.edges and dest in self.edges): raise ValueError('Node not in graph') self.edges[src].append(dest) def childrenOf(self, node): return self.edges[node] def hasNode(self, node): return node in self.edges def getNode(self, name): for n in self.edges: if n.getName() == name: return n raise NameError(name) def __str__(self): result = '' for src in self.edges: for dest in self.edges[src]: result = result + src.getName() + '->'\ + dest.getName() + '\n' return result[:-1] #omit final newline class Graph(Digraph): def addEdge(self, edge): Digraph.addEdge(self, edge) rev = Edge(edge.getDestination(), edge.getSource()) Digraph.addEdge(self, rev) def buildCityGraph(graphType): g = graphType() for name in ('Boston', 'Providence', 'New York', 'Chicago', 'Denver', 'Phoenix', 'Los Angeles'): #Create 7 nodes g.addNode(Node(name)) g.addEdge(Edge(g.getNode('Boston'), g.getNode('Providence'))) g.addEdge(Edge(g.getNode('Boston'), g.getNode('New York'))) g.addEdge(Edge(g.getNode('Providence'), g.getNode('Boston'))) g.addEdge(Edge(g.getNode('Providence'), g.getNode('New York'))) g.addEdge(Edge(g.getNode('New York'), g.getNode('Chicago'))) g.addEdge(Edge(g.getNode('Chicago'), g.getNode('Phoenix'))) g.addEdge(Edge(g.getNode('Chicago'), g.getNode('Denver'))) g.addEdge(Edge(g.getNode('Denver'), g.getNode('Phoenix'))) g.addEdge(Edge(g.getNode('Denver'), g.getNode('New York'))) g.addEdge(Edge(g.getNode('Los Angeles'), g.getNode('Boston'))) return g def printPath(path): """Assumes path is a list of nodes""" result = '' for i in range(len(path)): result = result + str(path[i]) if i != len(path) - 1: result = result + '->' return result def DFS(graph, start, end, path, shortest, toPrint = False): """Assumes graph is a Digraph; start and end are nodes; path and shortest are lists of nodes Returns a shortest path from start to end in graph""" path = path + [start] if toPrint: print('Current DFS path:', printPath(path)) if start == end: return path for node in graph.childrenOf(start): if node not in path: #avoid cycles if shortest == None or len(path) < len(shortest): newPath = DFS(graph, node, end, path, shortest, toPrint) if newPath != None: shortest = newPath elif toPrint: print('Already visited', node) return shortest def shortestPath(graph, start, end, toPrint = False): """Assumes graph is a Digraph; start and end are nodes Returns a shortest path from start to end in graph""" return DFS(graph, start, end, [], None, toPrint) def testSP(source, destination): g = buildCityGraph(Digraph) sp = shortestPath(g, g.getNode(source), g.getNode(destination), toPrint = True) if sp != None: print('Shortest path from', source, 'to', destination, 'is', printPath(sp)) else: print('There is no path from', source, 'to', destination) #testSP('Chicago', 'Boston') testSP('Boston', 'Phoenix') def BFS(graph, start, end, toPrint = False): """Assumes graph is a Digraph; start and end are nodes Returns a shortest path from start to end in graph""" initPath = [start] pathQueue = [initPath] while len(pathQueue) != 0: #Get and remove oldest element in pathQueue tmpPath = pathQueue.pop(0) if toPrint: print('Current BFS path:', printPath(tmpPath)) lastNode = tmpPath[-1] if lastNode == end: return tmpPath for nextNode in graph.childrenOf(lastNode): if nextNode not in tmpPath: newPath = tmpPath + [nextNode] pathQueue.append(newPath) return None def shortestPath(graph, start, end, toPrint = False): """Assumes graph is a Digraph; start and end are nodes Returns a shortest path from start to end in graph""" return BFS(graph, start, end, toPrint) testSP('Boston', 'Phoenix') #def cost(path): # result = 0 # for i in range(len(path)): # result += str(path[i]) # if i != len(path) - 1: # result = result + '->' # return result # # #def DFS(graph, start, end, path, shortest, toPrint = False): # """Assumes graph is a Digraph; start and end are nodes; # path and shortest are tuples containing a list of # nodes and a cost # Returns a shortest path from start to end in graph""" # path = (path + [start], 0) # if toPrint: # print('Current DFS path:', printPath(path[0])) # if start == end: # return path # for node in graph.childrenOf(start): # if node not in path: #avoid cycles # if shortest == None or cost(path) < cost(shortest): # newPath = DFS(graph, node, end, path, shortest, # toPrint) # if newPath != None: # shortest = newPath # #def testSP(): # nodes = [] # for name in ('Boston', 'Providence', 'New York', 'Chicago', # 'Denver', 'Phoenix', 'Los Angeles'): #Create 6 nodes # nodes.append(Node(str(name))) # g = Digraph() # for n in nodes: # g.addNode(n) # g.addEdge(WeightedEdge(nodes[0],nodes[1])) # g.addEdge(WeightedEdge(nodes[1],nodes[2])) # g.addEdge(WeightedEdge(nodes[2],nodes[3])) # g.addEdge(WeightedEdge(nodes[2],nodes[4])) # g.addEdge(WeightedEdge(nodes[3],nodes[4])) # g.addEdge(WeightedEdge(nodes[3],nodes[5])) # g.addEdge(WeightedEdge(nodes[0],nodes[2],10)) # g.addEdge(WeightedEdge(nodes[1],nodes[0])) # g.addEdge(WeightedEdge(nodes[3],nodes[1])) # g.addEdge(WeightedEdge(nodes[4],nodes[0])) # sp = shortestPath(g, nodes[0], nodes[5], toPrint = True) # print('Shortest path is', printPath(sp)) # sp = BFS(g, nodes[0], nodes[5]) # print('Shortest path found by BFS:', printPath(sp)) # #testSP()
class Clock: def __init__(self, hour, minute): self.hour = (hour + (minute // 60)) % 24 self.minute = minute % 60 def __repr__(self): return "{:02d}:{:02d}".format(self.hour, self.minute) def __eq__(self, other): return self.hour == other.hour and self.minute == other.minute def __add__(self, minutes): return Clock(self.hour, self.minute + minutes) def __sub__(self, minutes): return self + (-minutes)
{'name': 'Library Management Application', 'description': 'Library books, members and book borrowing.', 'author': 'Daniel Reis', 'depends': ['base'], 'data': [ 'security/library_security.xml', 'security/ir.model.access.csv', 'views/library_menu.xml', 'views/book_view.xml', 'views/book_list_template.xml', ], 'application': True, 'installable': True, }
number = int(input('Enter a number: ')) times = int(input('Enter a times: ')) def multiplication(numbers, x): z = 1 while z <= numbers: b = '{} x {} = {}'.format(z, x, x * z) print(b) z += 1 multiplication(number, times)
"""The Sampling configuration file consists of the parameters which conducting adaptive sampling/active learning from the VRM system :param sampling_config['sample_dim']: Initial set (number) of KCC values to be generated to be sent to VRM for deviation pattern simulation :type sampling_config['sample_dim']: int (required) :param sampling_config['adaptive_sample_dim']: Consecutive adaptive set (number) of KCC values to be generated to be sent to VRM for deviation pattern simulation :type sampling_config['adaptive_sample_dim']: int (required) :param sampling_config['adaptive_runs']: Number of adaptive runs to conducted used as a terminating criteria for active learning :type sampling_config['adaptive_runs']: int (required) :param sampling_config['sample_type']: Initial sampling strategy uniform or LHS (Latin Hypercube Sampling), defaults to LHS :type sampling_config['sample_type']: str (required) :param sampling_config['sample_type']: The output filename of the generated samples to be used as input for the VRM software :type sampling_config['sample_type']: str (required) """ sampling_config={'sample_dim':3000, 'adaptive_sample_dim':2000, 'adaptive_runs':5, 'sample_type':'lhs', 'output_file_name':'samples_train_set.csv' }
#! python3 # isPhoneNumber.py - Program without regular expressions to find a phone number in text def isPhoneNumber(text): if len(text) != 12: return False for i in range(0,3): if not text[i].isdecimal(): return False if text[3] != '-': return False for i in range(4,7): if not text[i].isdecimal(): return False if text[7] != '-': return False for i in range(8,12): if not text[i].isdecimal(): return False return True print('415-555-4242 is a phone number:') print(isPhoneNumber('415-555-4242')) print('Moshi moshi is a phone number:') print(isPhoneNumber('Moshi moshi')) # Additional code to check a string containing the number message = 'Call me at 415-555-1011 tomorrow. 415-555-9999 is my office.' for i in range(len(message)): chunk = message[i:i+12] if isPhoneNumber(chunk): print('Phone number found: ' + chunk) print('Done')
# -*- coding:utf-8 -*- def payment(balance, paid): if balance < paid: return balance, 0 else: return paid, balance - paid if __name__ == '__main__': balance = float(input("Enter opening balance: ")) paid = float(input("Enter monthly payment: ")) print(" Amount Remaining") print("Pymt# Paid Balance") print("----- ---- -------") print("{:3d} {:7.2f} {:7.2f}".format(0, 0, balance)) month = 1 while(True): paid, balance = payment(balance, paid) print("{:3d} {:7.2f} {:7.2f}".format(month, paid, balance)) month += 1 if balance == 0: break
# Title : Lambda example # Author : Kiran raj R. # Date : 31:10:2020 def higher_o_func(x, func): return x + func(x) result1 = higher_o_func(2, lambda x: x * x) # result1 x = 2, (2*2) + 2, x = 6 result2 = higher_o_func(2, lambda x: x + 3) # result2 x=2, (2 + 3) + 2, x = 7 result3 = higher_o_func(4, lambda x: x*x) # result3 = (4 * 4) + 4, x = 20 result4 = higher_o_func(4, lambda x: x + 3) # result4 (4 + 3) + 4, x = 11 print(result1, result2) print(result3, result4) # add = lambda x, y: x+y def add(x, y): return x+y result5 = add(3, 4) print(result5) print((lambda x: x % 2 and 'odd' or 'even')(3)) # odd # bool(2%2) => False # bool(2%3) => True #
class ListTransformer(): def __init__(self, _list): self._list = _list @property def tuple(self): return tuple(self._list)
#!/usr/bin/python # -*- coding: UTF-8 -*- # condition = '(![(NSString *)[[NSThread callStackSymbols] description] containsString:@"test1"])&&(![(NSString *)[[NSThread callStackSymbols] description] containsString:@"test2"])' condition = '1' # 忽略 C++ 的异常 IGNORE_CXX_COUNT = 0 IGNORE_CXX_CONDITION = condition # 忽略 OC 的异常 IGNORE_OC_COUNT = 0 IGNORE_OC_CONDITION = condition
class Solution: def slowestKey(self, releaseTimes: List[int], keysPressed: str) -> str: # Time Complexity: O(N) # Space Complexity: O(1) longest = releaseTimes[0] slowestKey = keysPressed[0] for i in range(1, len(releaseTimes)): cur = releaseTimes[i] - releaseTimes[i-1] if (cur > longest or (cur==longest and keysPressed[i] > slowestKey)): longest = cur slowestKey = keysPressed[i] return slowestKey