content
stringlengths
7
1.05M
n, l, r = map(int, input().split()) box = [] for i in range(n): box += [list(map(int, input().split()))] total = 0 for i in range(n): firstX = box[i][0] + box[i][1] lastX = box[i][2] + box[i][3] fx, lx = max(firstX, l), min(lastX, r) uly = min(lx - box[i][2], box[i][3]) dly = max(box[i][3]+(lx - box[i][2]), box[i][1]) ufy = max(box[i][0] - fx, box[i][3]) dfy = min(-(box[i][0] - fx), box[i][1]) print(uly, dly, ufy, dfy) print(box[i][1], box[i][3]) total += (lx - fx) * (box[i][2] - box[i][0]) print(total) # uly = min(lx - box[i][2], box[i][3]) # dly = max(-(lx - box[i][2]), box[i][1]) # ufy = max(box[i][0] - fx, box[i][3]) # dfy = min(-(box[i][0] - fx), box[i][1]) # uly = (lx - box[i][2]) # dly = -(lx - box[i][2]) # # ufy = (box[i][0] - fx) # dfy = -(box[i][0] - fx)
# Questão 8. Elabore um programa que utilize uma função que informe a # quantidade de dígitos de um determinado número inteiro informado. def quantidadeDigito(numero): print(len(str(numero))) num = int(input('Digite um número: ')) quantidadeDigito(num)
# D = {4:5, "apple":6, (4,3):"test"} print(D) print('\n') for key in D: print(key,D[key]) print('\n') for item in D.items(): print(item) print('\n') for key,value in D.items(): print(key,value) print('\n') for value in D.values(): print(value) print('\n') L = [4 , 5, 7] for ind,item in enumerate(L): print(ind,item) print('\n') for i in range(len(L)): print(i,L[i]) print('\n') for i in range(5): print(i,D.get(i,"None")) print('\n')
# From : https://en.wikipedia.org/wiki/Computation_of_cyclic_redundancy_checks # Most significant bit first (big-endian) # x^16+x^12+x^5+1 = (1) 0001 0000 0010 0001 = 0x1021 def crc16(data): rem = 0 n = 16 # A popular variant complements rem here for d in data: rem = rem ^ (d << (n-8)) # n = 16 in this example for j in range(1,8): # Assuming 8 bits per byte if rem & 0x8000: # if leftmost (most significant) bit is set rem = (rem << 1) ^ 0x1021 else: rem = rem << 1 rem = rem & 0xffff # Trim remainder to 16 bits # A popular variant complements rem here return rem
flash_size_table = {} flash_size_table['4'] = 16 flash_size_table['6'] = 32 flash_size_table['8'] = 64 flash_size_table['B'] = 128 flash_size_table['C'] = 256 flash_size_table['D'] = 384 flash_size_table['E'] = 512 flash_size_table['F'] = 768 flash_size_table['G'] = 1024 flash_size_table['I'] = 2048 flash_size_table['K'] = 3072 def get_size_kb(soc): flash_size = flash_size_table[soc[-1]] if flash_size != 0: return flash_size else: return 0 def get_size_byte(soc): flash_size = flash_size_table[soc[-1]] if flash_size != 0: return flash_size * 1024 else: return 0 def get_startaddr(soc): return '08000000'
def test(): assert ( "import Doc, Span" in __solution__ or "import Span, Doc" in __solution__ ), "Did you import the Doc and Span correctly?" assert doc.text == "I like David Bowie", "Did you create the Doc correctly?" assert span.text == "David Bowie", "Did you create the span correctly?" assert span.label_ == "PERSON", "Did you add the label PERSON to the span?" assert "doc.ents =" in __solution__, "Did you overwrite the doc.ents?" assert len(doc.ents) == 1, "Did you add the span to the doc.ents?" assert ( list(doc.ents)[0].text == "David Bowie" ), "Did you add the span to the doc.ents?" __msg__.good( "Perfect! Creating spaCy's objects manually and modifying the " "entities will come in handy later when you're writing your own " "information extraction pipelines." )
# mensagens que aparecem no "sistema" # instructions INPUT_INST = "Enter info:" VAL1 = "FIRST VALUE" VAL2 = "SECOND VALUE" VAL3 = "THIRD VALUE" op1 = "1 TO TEST A SAMPLE" op2 = "2 TO END CONECTION" # success CONNECTED = "CONNECTED TO SERVER." # 00 PROCESSING = "10 - Data received, PROCESSING..." # 10 data received and accepted OK = "20 - OK" # 20 data return success # error CONNECTION_ERROR = "53 - Service Unavailable :(" # 53 Service Unavailable SERVER_ERROR = "50 - Internal Server Error." # 50 Internal Server Error INPUT_LEN = "40 - Request Entity Too Large." # 40 Request Entity Too Large INPUT_ERROR = "21 - invalid data type" # 21 invalid data type NO_CONTENT = "22 - No content to send back" # 22 no content to send back BAD_REQUEST = "30 - bad request" # 30 bad request # outher CONNECTION_ENDED = "Connection ended" SAMPLE_CLASS = "The sample belongs to class: "
pos=-1 def binarysearch(lst,num): '''Function that returns True and index number of element if found else returns False and -1''' lst.sort()#any sort algorithm can be used print(lst) l=0 u=len(lst)-1 while l<= u: mid=(u+l)//2 if lst[mid] == num: global pos pos=mid return True,pos else: if lst[mid] < num: l=mid+1 else: u=mid-1 return False,pos a=[1,3,12,8,34,2] s,index=binarysearch(a,102) print(s,'\nIndex:',index)
''' 函数的参数 - 位置参数 - 可变参数 - 关键字参数 - 命名关键字参数 ''' #参数默认值 def f1(a, b=5, c=10): return a + b * 2 + c * 3 print(f1(1, 2, 3)) print(f1(100, 200)) print(f1(100)) print(f1(c=2, b=2, a=1)) #可变参数 def f2(*args): sum = 0 for num in args: sum += num return sum print(f2(1, 2, 3)) print(f2(1, 2, 3, 4, 5)) print(f2()) # 关键字参数 def f3(**kw): if 'name' in kw: print('欢迎您%s!' % kw['name']) elif 'tel' in kw: print('你的联系电话是: %s' % kw['tel']) else: print('没找到你的个人信息!') param = {'name': 'mike', 'age': 28} f3(**param) f3(name='mike', age=28, tel='123456789') f3(user='mike', age=28, tel='123456789') f3(user='mike', age=28, mobile='123456789')
suffix = ['', 'K', 'M', 'B', 'T', 'P'] def human_format(num): num = float('{:.3g}'.format(num)) magnitude = 0 while abs(num) >= 1000: magnitude += 1 num /= 1000.0 return '{}{}'.format('{:f}'.format(num).rstrip('0').rstrip('.'), suffix[magnitude])
#!/usr/bin/env python # -*- encoding: utf-8 -*- """ @Filename :prime_origin.py @Author :Arthur Zhan @Init Time :2020/06/16 """ def primes_1(num): i = 2 lst = [] while len(lst) < num: if 2 > i // 2 + 1: limit = i else: limit = i // 2 + 1 for d in range(2, limit): if i % d == 0: break else: lst.append(i) i += 1 return lst def primes_2(num): # According to documentation's example i = 2 lst = [] while len(lst) < num: for d in lst: if i % d == 0: break else: lst.append(i) i += 1 return lst
# # PySNMP MIB module NNCEXTSPVC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NNCEXTSPVC-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:22:57 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint") atmVplVpi, atmVclVci, atmVclVpi = mibBuilder.importSymbols("ATM-MIB", "atmVplVpi", "atmVclVci", "atmVclVpi") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") nncExtensions, = mibBuilder.importSymbols("NNCGNI0001-SMI", "nncExtensions") ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance") Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, MibIdentifier, TimeTicks, Bits, Counter64, Counter32, IpAddress, iso, NotificationType, ObjectIdentity, Gauge32, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "MibIdentifier", "TimeTicks", "Bits", "Counter64", "Counter32", "IpAddress", "iso", "NotificationType", "ObjectIdentity", "Gauge32", "Unsigned32") RowStatus, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "DisplayString", "TextualConvention") nncExtSpvc = ModuleIdentity((1, 3, 6, 1, 4, 1, 123, 3, 82)) if mibBuilder.loadTexts: nncExtSpvc.setLastUpdated('20010215121735Z') if mibBuilder.loadTexts: nncExtSpvc.setOrganization('Alcatel CID') if mibBuilder.loadTexts: nncExtSpvc.setContactInfo('Alcatel CID Postal: 600 March Road Kanata, Ontario Canada K2K 2E6 Phone: +1 613 591 3600 Fax: +1 613 591 3680') if mibBuilder.loadTexts: nncExtSpvc.setDescription("This module contains Alcatel CID's proprietary MIB definition for managing Soft Permanent Virtual Connections (SPVCs). This MIB supports the creation, modification, query, and deletion of SPVCs (Soft Permanent Virtual Connections), on Cell Relay (ATM), Frame Relay, and Circuit Emulation endpoints. For Cell Relay-based endpoints, Permanent Virtual Path Connection (PVPC) and Permanent Virtual Channel Connection (PVCC) are supported, while SPVCCs are supported on Frame Relay and Circuit Emulation endpoints. Cell Relay SPVCs, Frame Relay SPVCs and Circuit Emulation SPVCs are supported in this MIB. SPVCs with any other service types are not supported at this point. For SPVCs interworking across different endpoint types, CR to FR, FR to CR, CR to CE, CE to CR connections are supported. CE to FR or FR to CE are not suppported. Operator directed routing for SPVC connections is not supported at this point. To create an SPVC, the required MIB objects from the destination table must be configured and sent to the destination endpoint. Next, the MIB objects from the source endpoint table (based on the endpoint type and SPVC type - either nncCrSpvpcTable, nncCrSpvccTable, nncFrSpvcTable, or nncCeSpvcTable) are configured and sent to the source endpoint. Assuming a PDU with a RowStatus of 'createAndGo' or 'Active' has been received, if the adminStatus of the SPVC is set to 'enabled', the SPVC will be connected; if the adminStatus of the SPVC is set to 'disabled', the SPVC will be configured but not connected. SPVC creation SET-REQuests can be sent two ways: using a RowStatus value of 'createAndGo', or using multiple SET-REQs using RowStatus values of 'createAndWait' and 'active'. Creating an SPVC using rowStatus=createAndWait(5) In the case of multiple SET-REQs, the RowStatus is set to createAndWait(5) for all but the last SET-REQ, and set to active(1) for the last SET-REQ. The SPVC is configured only after the last PDU (with RowStatus as 'active') is received. Creating an SPVC using rowStatus=createAndGo(4) In the other case, all required MIB objects can fit in one SET-REQ. If using only one SET-REQ, the RowStatus should be set to createAndGo(4). In both cases, default values for MIB objects will be used wherever possible. To delete an SPVC, the correct table objects must be sent to both the destination endpoint and the source endpoint for the given SPVC, using the correct index, and setting the rowStatus to 'destroy'. This will delete the specified SPVC. Some abreviations: abr/ABR/Abr: Available Bit Rate Bwd: Backward. For traffice descriptors from destination endpoint to source endpoint (receiving traffic) cbr/CBR/Cbr: Constant Bit Rate Dst: Destination endpoint Fwd: Forward. For traffic descriptors from source endpoint to destination endpoint (transmitting traffic) nt-vbr/nrtvbr/NRT-VBR: Non-Real-Time Variable Bit Rate Src: Source endpoint Targ: Target. For the destination endpoint info in source endpoint table ubr/UBR/Ubr: Unspecified Bit Rate ") class AtmFormatDisplay(TextualConvention, OctetString): description = 'This display is for the ATM address prefix format. The following formats which are supported are displayed: DCC ATM Format ------------------------------------------------------------- |A | | | | | | | | | | | | | | | | | | | S| |F | DCC | HO-DSP | ESI | E| |I | | | | | | | | | | | | | | | | | | | L| ------------------------------------------------------------- |...IDP..|......................DSP.........................| |.IDI.| ICD ATM Format ------------------------------------------------------------- |A | | | | | | | | | | | | | | | | | | | S| |F | ICD | HO-DSP | ESI | E| |I | | | | | | | | | | | | | | | | | | | L| ------------------------------------------------------------- |...IDP..|......................DSP.........................| |.IDI.| For the DCC ATM Format, the following format will be displayed: afi-dcc-hodsp-esi-sel For the ICD ATM Format, the following format will be displayed: afi-icd-hodsp-esi-sel Abbreviations: IDP: Initial Domain Part AFI: Authority and Format Identifier IDI: Initial Domain Part DCC: Data Country Code ICD: International Code Designator DSP: Domain Specific Part HO-DSP: The coding of this field is specified by the authority or the coding scheme identified by the IDP. ESI: End System Identifier SEL: Selector ' status = 'current' displayHint = '1x-2x-10x-6x-1x' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(20, 20) fixedLength = 20 nncExtSpvcObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 123, 3, 82, 1)) nncExtSpvcGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 123, 3, 82, 3)) nncExtSpvcCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 123, 3, 82, 4)) nncCrSpvpcTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1), ) if mibBuilder.loadTexts: nncCrSpvpcTable.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcTable.setDescription('nncCrSpvpcTable contains all the objects sent to a source endpoint that are used to create, modify, query and delete SPVC connections.') nncCrSpvpcTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "atmVplVpi")) if mibBuilder.loadTexts: nncCrSpvpcTableEntry.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcTableEntry.setDescription('An entry of nncCrSpvpcTable') nncCrSpvpcServiceCategory = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 6))).clone(namedValues=NamedValues(("cbr", 1), ("nrtvbr", 2), ("abr", 3), ("ubr", 4), ("rtvbr", 6))).clone('nrtvbr')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcServiceCategory.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcServiceCategory.setDescription('This object is used to set the traffic service category. This object is dependent on the value specified in nncCrSpvpcTrafficDescriptor') nncCrSpvpcTargEpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 2), AtmFormatDisplay()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcTargEpAddr.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcTargEpAddr.setDescription('This object is used to specify the 20 byte AESA address for the target endpoint. The address map is as the following: Byte\\Bit 8 7 6 5 4 3 2 1 ------------------------------------------------------------------------ 1-13 byte | 13-byte Internal Subscriber Prefix | ------------------------------------------------------------------------ 14th byte | I/G | U/L | OUI(most significant 6 bits) | ------------------------------------------------------------------------ 15th byte | OUI(2nd most significant 8 bits | ------------------------------------------------------------------------ 16th byte | OUI(3rd most significant 8 bits | ------------------------------------------------------------------------ 17th byte | Shelf/Slot(1st most significant 8 bits | ------------------------------------------------------------------------ 18th byte | Shelf/Slot(2nd most significant 8 bits | ------------------------------------------------------------------------ 19th byte |Flag0| Port | ------------------------------------------------------------------------ 20th byte | 0 | ------------------------------------------------------------------------ ') nncCrSpvpcTargVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcTargVpi.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcTargVpi.setDescription('This object contains the virtual path identifier (VPI) value for the target endpoint. Range: 0 - 4095') nncCrSpvpcAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcAdminStatus.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcAdminStatus.setDescription('This object accepts two values, enabled (1), and disabled (2). When the value is disabled, the SPVC is not connected. When enabled, the SPVC is connected when possible. Use nncCrSpvpcAdminStatus to determine if the connection is successful.') nncCrSpvpcPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcPriority.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcPriority.setDescription('This object is used to set the priority for a SPVC connection request. It ranges between 1-16, with the following values: Best Priority = 1 Default Priority = 3 Worst Priority = 16') nncCrSpvpcMaxAdminWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647)).clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcMaxAdminWeight.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcMaxAdminWeight.setDescription('This object is used to set a cost threshold for an SPVC connection. If the total cost of all VPCs exceeds this weight value for a given path, this SPVC will choose an alternative path or give up. Infinite = -1 Min Admin Weight = 0 Max Admin Weight = 2147483647') nncCrSpvpcOperation = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(7))).clone(namedValues=NamedValues(("reRouteDualEp", 7)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcOperation.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcOperation.setDescription('This object is used to request a reroute operation. Querying this object will not provide any useful information.') nncCrSpvpcCallStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 4, 7))).clone(namedValues=NamedValues(("connected", 2), ("waitingForResources", 4), ("readyToConnect", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nncCrSpvpcCallStatus.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcCallStatus.setDescription("This read-only object is used to query the state of a particular SPVC. SPVCs that are connected and operational will return a value of 'connected', while those that are incomplete or otherwise unable to be connected will return 'waitingForResources'. SPVCs that are configured but not yet connected will contain a value of 'readyForConnect'.") nncCrSpvpcLocRerouteConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabledUniSide", 2), ("enabledNniSide", 3))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcLocRerouteConfig.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcLocRerouteConfig.setDescription("This object is used to configure the 'reroute on loss of continuity' feature using OAM-CC cells. It can be configured for either the UNI side or the NNI side, or disabled.") nncCrSpvpcFwdAbrDynTrfcIcr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(1000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcFwdAbrDynTrfcIcr.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcFwdAbrDynTrfcIcr.setDescription("ABR dynamic traffic descriptor's Initial Cell (Information) Rate for the forward direction. Range: 0 - 2488320 Kb/s") nncCrSpvpcFwdAbrDynTrfcRif = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9)).clone(9)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcFwdAbrDynTrfcRif.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcFwdAbrDynTrfcRif.setDescription('ABR traffic Rate Increase Factor for the forward direction. Value is expressed as the -power of 2. Range: 0 - 9') nncCrSpvpcFwdAbrDynTrfcRdf = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9)).clone(9)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcFwdAbrDynTrfcRdf.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcFwdAbrDynTrfcRdf.setDescription('ABR traffic Rate Decrease Factor descriptor for the forward direction. Value is expressed as the -power of 2 Range: 0 - 9') nncCrSpvpcBwdAbrDynTrfcIcr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(1000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcBwdAbrDynTrfcIcr.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcBwdAbrDynTrfcIcr.setDescription("ABR dynamic traffic descriptor's Initial Cell Rate for the destination endpoint. Range: 0 - 2488320 Kb/s") nncCrSpvpcBwdAbrDynTrfcRif = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9)).clone(9)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcBwdAbrDynTrfcRif.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcBwdAbrDynTrfcRif.setDescription('ABR traffic Rate Increase Factor for the backward direction. Value is expressed as the -power of 2. Range: 0 - 9') nncCrSpvpcBwdAbrDynTrfcRdf = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9)).clone(9)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcBwdAbrDynTrfcRdf.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcBwdAbrDynTrfcRdf.setDescription('ABR traffic Rate Decrease Factor descriptor for the backward direction. Value is expressed as the -power of 2 Range: 0 - 9') nncCrSpvpcSrcBillingFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcSrcBillingFlag.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcSrcBillingFlag.setDescription('Billing Configuration for the source endpoint') nncCrSpvpcFwdTmTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("tagAll", 1), ("p0Plus1", 2), ("p0Plus1SlashS0Plus1", 3), ("p0Plus1SlashS0", 4), ("p0Plus1SlashM0Plus1", 5))).clone('p0Plus1SlashS0Plus1')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcFwdTmTrafficDescriptor.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcFwdTmTrafficDescriptor.setDescription('This object contains the traffic descriptor for the SPVC. Tag All (1) (UBR using 2k/12k fabric only) P_0+1 (2) (CBR only) P_0+1/S_0+1 (3) (NRT/RT-VBR only) P_0+1/S_0 (4) (NRT/RT-VBR only) P_0+1/M_0+1 (5) (ABR and UBR only)') nncCrSpvpcFwdTmPolicingOption = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("tag", 2), ("discard", 3))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcFwdTmPolicingOption.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcFwdTmPolicingOption.setDescription('Policing Option for an SPVPC. tag is supported only on rt-VBR/nrt-VBR connections that use the P_0+1/S_0 traffic descriptor') nncCrSpvpcFwdTmBucketOneRate = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(1000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcFwdTmBucketOneRate.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcFwdTmBucketOneRate.setDescription("This object is for peak cell rate (PCR), the cell rate which the source may never exceed. It is used to determine which cells are 'excess'. Measured in Kb/s. Range: 0 - 2488320 Kb/s") nncCrSpvpcFwdTmBucketOneCdvt = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 190000)).clone(500)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcFwdTmBucketOneCdvt.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcFwdTmBucketOneCdvt.setDescription('This object is used to set cell delay variation tolerance (CDVT) for one endpoint, measured in microseconds. Range: 1 - 190,000 microseconds') nncCrSpvpcFwdTmBucketTwoRate = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(1000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcFwdTmBucketTwoRate.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcFwdTmBucketTwoRate.setDescription('SIR_0p, SIR_0+1p or MIR_0+1p. This parameter holds the sustained information rate for VBR traffic, and the minimum information rate for ABR/UBR traffic. Range: 0 - 2488320 Kb/s') nncCrSpvpcFwdTmBucketTwoMbs = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10000)).clone(32)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcFwdTmBucketTwoMbs.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcFwdTmBucketTwoMbs.setDescription('This object is for the maximum burst size, in cells, for SIR_0p or SIR_0+1p (nrtVbr and rtVbr only). Range: 1 - 10000 cells') nncCrSpvpcFwdTmCdv = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(250, 10000)).clone(250)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcFwdTmCdv.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcFwdTmCdv.setDescription('This value is to set the cell delay variation (CDV) between two endpoints to support the rt-VBR service category. Range: 250-10000 microseconds') nncCrSpvpcFwdTmClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7)).clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcFwdTmClr.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcFwdTmClr.setDescription('The object is to set the cell loss ratio (CLR) between two SPVC endpoints when using the nrt-VBR service category. Value set as 1.0e-#') nncCrSpvpcBwdTmTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("tagAll", 1), ("p0Plus1", 2), ("p0Plus1SlashS0Plus1", 3), ("p0Plus1SlashS0", 4), ("p0Plus1SlashM0Plus1", 5))).clone('p0Plus1SlashS0Plus1')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcBwdTmTrafficDescriptor.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcBwdTmTrafficDescriptor.setDescription('This object contains the traffic descriptor for the SPVC. Tag All (1) (UBR using 2k/12k fabric only) P_0+1 (2) (CBR only) P_0+1/S_0+1 (3) (NRT/RT-VBR only) P_0+1/S_0 (4) (NRT/RT-VBR only) P_0+1/M_0+1 (5) (ABR and UBR only)') nncCrSpvpcBwdTmPolicingOption = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("tag", 2), ("discard", 3))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcBwdTmPolicingOption.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcBwdTmPolicingOption.setDescription('Policing Option for an SPVPC. tag is supported only on rt-VBR/nrt-VBR connections that use the P_0+1/S_0 traffic descriptor') nncCrSpvpcBwdTmBucketOneRate = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(1000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcBwdTmBucketOneRate.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcBwdTmBucketOneRate.setDescription("This object is for peak information rate (PIR), the cell rate which the source may never exceed. It is used to determine which cells are 'excess'. Measured in Kb/s. Range: 0 - 2488320 Kb/s") nncCrSpvpcBwdTmBucketOneCdvt = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 190000)).clone(500)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcBwdTmBucketOneCdvt.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcBwdTmBucketOneCdvt.setDescription('This object is used to set cell delay variation tolerance (CDVT) for one endpoint, measured in microseconds. Range: 1 - 190,000 microseconds') nncCrSpvpcBwdTmBucketTwoRate = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(1000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcBwdTmBucketTwoRate.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcBwdTmBucketTwoRate.setDescription('SIR_0p, SIR_0+1p or MIR_0+1p. This parameter holds the sustained information rate for VBR traffic, and the minimum information rate for ABR/UBR traffic. Range: 0 - 2488320 Kb/s') nncCrSpvpcBwdTmBucketTwoMbs = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10000)).clone(32)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcBwdTmBucketTwoMbs.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcBwdTmBucketTwoMbs.setDescription('This object is for the maximum burst size, in cells, for SIR_0p or SIR_0+1p (nrtVbr and rtVbr only). Range: 1 - 10000 cells') nncCrSpvpcBwdTmCdv = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(250, 10000)).clone(250)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcBwdTmCdv.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcBwdTmCdv.setDescription('This value is to set the cell delay variation (CDV) between two endpoints to support the rt-VBR service category. Range: 250-10000 microseconds') nncCrSpvpcBwdTmClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7)).clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcBwdTmClr.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcBwdTmClr.setDescription('The object is to set the cell loss ratio (CLR) between two SPVC endpoints when using the nrt-VBR service category. Value set as 1.0e-#') nncCrSpvpcCreator = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 9))).clone(namedValues=NamedValues(("unknown", 0), ("nmti", 1), ("nm5620", 2), ("snmp", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nncCrSpvpcCreator.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcCreator.setDescription('The object retrieves the creator of a SPVC connection.') nncCrSpvpcRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 1, 1, 34), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcRowStatus.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcRowStatus.setDescription("This object is used to control the status of a PDU and to query the status of an SPVC. When the RowStatus value is 'createAndWait', information for a row is cached in memory; when RowStatus is set to 'createAndGo' or 'active', it indicates that all information is to be written to permanent storage, and the SPVC to be enabled (AdminStatus must also be set to 'enabled'). When querying the object, 'active' indicates a configured SPVC with its AdminStatus enabled, while a status of 'notInService' indicates either a disabled AdminStatus or an inability to connect the SPVC. If a query returns 'notInService', use the CallStatus object to further determine the state of the SPVC. If the value 'notReady' is returned, it indicates that the SNMP agent is awaiting further information before activating the connection. When deleting a connection, use this object with the value 'destroy'") nncCrSpvpcDstCfgTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 2), ) if mibBuilder.loadTexts: nncCrSpvpcDstCfgTable.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcDstCfgTable.setDescription('the nncCrSpvpcDstCfg table contains common objects used to configure, delete, modify and query the destination end point of an SPVC across different Alcatel CID platforms.') nncCrSpvpcDstCfgTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "atmVplVpi")) if mibBuilder.loadTexts: nncCrSpvpcDstCfgTableEntry.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcDstCfgTableEntry.setDescription('An entry of nncCrSpvpcDstCfgTable.') nncCrSpvpcDstCfgCdvt = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 190000)).clone(500)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcDstCfgCdvt.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcDstCfgCdvt.setDescription('This object is used to set cell delay variation tolerance (CDVT) for one endpoint, measured in microseconds. Range: 1 - 190,000 microseconds') nncCrSpvpcDstCfgPolicing = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("nullPolicing", 0), ("disabled", 1), ("tag", 2), ("discard", 3), ("useSignalled", 4))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcDstCfgPolicing.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcDstCfgPolicing.setDescription('CR Policing') nncCrSpvpcDstCfgBillingFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcDstCfgBillingFlag.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcDstCfgBillingFlag.setDescription('Billing Configuration for the destination endpoint.') nncCrSpvpcDstCfgLocRerouteConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabledUniSide", 2), ("enabledNniSide", 3))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcDstCfgLocRerouteConfig.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcDstCfgLocRerouteConfig.setDescription("This object is used to configure the 'reroute on loss of continuity' feature using OAM-CC cells. It can be configured for either the UNI side or the NNI side, or disabled.") nncCrSpvpcDstCfgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 2, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvpcDstCfgRowStatus.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcDstCfgRowStatus.setDescription("This object is used to control the status of a PDU and to query the status of an SPVC. When the RowStatus value is 'createAndWait', information for a row is cached in memory; when RowStatus is set to 'createAndGo' or 'active', it indicates that all information is to be written to permanent storage, and the SPVC to be enabled (AdminStatus must also be set to 'enabled'). When querying the object, 'active' indicates a configured SPVC with its AdminStatus enabled, while a status of 'notInService' indicates either a disabled AdminStatus or an inability to connect the SPVC. If a query returns 'notInService', use the CallStatus object to further determine the state of the SPVC. If the value 'notReady' is returned, it indicates that the SNMP agent is awaiting further information before activating the connection. When deleting a connection, use this object with the value 'destroy'") nncCrSpvccTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3), ) if mibBuilder.loadTexts: nncCrSpvccTable.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccTable.setDescription('nncCrSpvccTable contains all the objects sent to a source endpoint that are used to create, modify, delete and query Cell Relay SPVC connections.') nncCrSpvccTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "atmVclVpi"), (0, "ATM-MIB", "atmVclVci")) if mibBuilder.loadTexts: nncCrSpvccTableEntry.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccTableEntry.setDescription('An entry of nncCrSpvccTable. It contains the objects required to manage CR SPVCs.') nncCrSpvccServiceCategory = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 6))).clone(namedValues=NamedValues(("cbr", 1), ("nrtvbr", 2), ("abr", 3), ("ubr", 4), ("rtvbr", 6))).clone('nrtvbr')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccServiceCategory.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccServiceCategory.setDescription('This object is used to set the traffic service category. This object is dependent on the value specified in nncCrSpvccTrafficDescriptor') nncCrSpvccTargEpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 2), AtmFormatDisplay()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccTargEpAddr.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccTargEpAddr.setDescription('This object is used to specify the AESA address for the target endpoint. The mapping scheme is as follows: Byte\\Bit 8 7 6 5 4 3 2 1 ------------------------------------------------------------------------ 1-13 byte | 13-byte Internal Subscriber Prefix | ------------------------------------------------------------------------ 14th byte | I/G | U/L | OUI(most significant 6 bits) | ------------------------------------------------------------------------ 15th byte | OUI(2nd most significant 8 bits | ------------------------------------------------------------------------ 16th byte | OUI(3rd most significant 8 bits | ------------------------------------------------------------------------ 17th byte | Shelf/Slot(1st most significant 8 bits | ------------------------------------------------------------------------ 18th byte | Shelf/Slot(2nd most significant 8 bits | ------------------------------------------------------------------------ 19th byte |Flag0| Port | ------------------------------------------------------------------------ 20th byte | 0 | ------------------------------------------------------------------------ ') nncCrSpvccTargVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccTargVpi.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccTargVpi.setDescription('This object contains the virtual path identifier (VPI) value for the target endpoint. Range: 0 - 4095') nncCrSpvccTargVci = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccTargVci.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccTargVci.setDescription('This object contains the virtual channel identifier (VCI) value for the target endpoint. Range: 1 - 65535') nncCrSpvccTargDlci = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 1023))) if mibBuilder.loadTexts: nncCrSpvccTargDlci.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccTargDlci.setDescription('This object contains the data link connection identifier for a frame relay endpoint. This number is used to identify the target endpoint, and has only local significance to the specified link. Range: 16 - 1023') nncCrSpvccTargCeNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(1)) if mibBuilder.loadTexts: nncCrSpvccTargCeNumber.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccTargCeNumber.setDescription("This object contains circuit number, channel group number or both for the Circuit Emulation endpoint. Used in CR to CE connections when nncCrSpvccTargEpType is configured as circuitEmulation(3). For CE connections on unchannelized DS3_CCE card, it's the circuit number 1-28 for UDT circuit number For CE connections on unchannelized E3_CCE card, it's the circuit number 1-16 for UDT circuit number For CE connections on E1/T1 CES, it's channel group number. 0 for UDT mode, both T1 and E1 1-31 for E1 in SDT mode 1-24 for T1 in SDT mode For CE connections on channelized DS3_CCE-2 card, it's circuit number and channel group number combined in the upper and lower byte. circuitNum (bits 9-16, = 1 to 28 for channelized DS3, = 0 for unstructured DS3) channelGroupNum (bits 1-8, = 1 to 24 for SDT mode, = 0 for UDT Mode) For CE connections on channelized E3_CCE-2, it's circuit number and channel group number combined in the upper and lower byte. circuitNum (bits 9-16, = 1 to 16) channelGroupNum (bits 1-8, = 1 to 31 for SDT mode, = 0 for UDT Mode) Example: Circuit Number = 7, Channel Group = 3 : nncCrSpvccTargCeNumber = (Circuit Number * 256) + Channel Group = 1795 SPVCs across service types other than circuit emulation do not require this object.") nncCrSpvccTargEpType = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("cellRelay", 1), ("frameRelay", 2), ("circuitEmulation", 3))).clone('cellRelay')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccTargEpType.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccTargEpType.setDescription('This object specifies a target endpoint as one of the following types: cellRelay (1) frameRelay (2) circuitEmulation (3) ') nncCrSpvccAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccAdminStatus.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccAdminStatus.setDescription('This object accepts two values, enabled (1), and disabled (2). When the value is disabled, the SPVC is not connected. When enabled, the SPVC is connected when possible. Use nncCrSpvccAdminStatus to determine if the connection is successful.') nncCrSpvccPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccPriority.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccPriority.setDescription('This object is used to set the priority for a SPVC connection request. It ranges between 1-16, with the following values: Best Priority = 1 Default Priority = 3 Worst Priority = 16') nncCrSpvccMaxAdminWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647)).clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccMaxAdminWeight.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccMaxAdminWeight.setDescription('This object is used to set a cost threshold for an SPVC connection. If the total cost of all VPCs exceeds this weight value for a given path, this SPVC will choose an alternative path or give up. Infinite = -1 Min Admin Weight = 0 Max Admin Weight = 2147483647') nncCrSpvccOperation = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(7))).clone(namedValues=NamedValues(("reRouteDualEp", 7)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccOperation.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccOperation.setDescription('This object is used to request a reroute operation. Querying this object will not provide any useful information.') nncCrSpvccCallStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 4, 7))).clone(namedValues=NamedValues(("connected", 2), ("waitingForResources", 4), ("readyToConnect", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nncCrSpvccCallStatus.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccCallStatus.setDescription("This read-only object is used to query the state of a particular SPVC. SPVCs that are connected and operational will return a value of 'connected', while those that are incomplete or otherwise unable to be connected will return 'waitingForResources'. SPVCs that are configured but not yet connected will contain a value of 'readyForConnect'.") nncCrSpvccLocRerouteConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabledUniSide", 2), ("enabledNniSide", 3))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccLocRerouteConfig.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccLocRerouteConfig.setDescription("This object is used to configure the 'reroute on loss of continuity' feature using OAM-CC cells. It can be configured for either the UNI side or the NNI side, or disabled.") nncCrSpvccFwdAbrDynTrfcIcr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(1000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFwdAbrDynTrfcIcr.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFwdAbrDynTrfcIcr.setDescription("ABR dynamic traffic descriptor's Initial Cell Rate for the forward direction. Range: 0 - 2488320 Kb/s") nncCrSpvccFwdAbrDynTrfcRif = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9)).clone(9)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFwdAbrDynTrfcRif.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFwdAbrDynTrfcRif.setDescription('ABR traffic Rate Increase Factor for the forward direction. Value is expressed as the -power of 2. Range: 0 - 9') nncCrSpvccFwdAbrDynTrfcRdf = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9)).clone(9)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFwdAbrDynTrfcRdf.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFwdAbrDynTrfcRdf.setDescription('ABR traffic Rate Decrease Factor descriptor for the forward direction. Value is expressed as the -power of 2 Range: 0 - 9') nncCrSpvccBwdAbrDynTrfcIcr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(1000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccBwdAbrDynTrfcIcr.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccBwdAbrDynTrfcIcr.setDescription("ABR dynamic traffic descriptor's Initial Cell Rate for the destination endpoint. Range: 0 - 2488320 Kb/s") nncCrSpvccBwdAbrDynTrfcRif = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9)).clone(9)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccBwdAbrDynTrfcRif.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccBwdAbrDynTrfcRif.setDescription('ABR traffic Rate Increase Factor for the backward direction. Value is expressed as the -power of 2. Range: 0 - 9') nncCrSpvccBwdAbrDynTrfcRdf = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9)).clone(9)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccBwdAbrDynTrfcRdf.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccBwdAbrDynTrfcRdf.setDescription('ABR traffic Rate Decrease Factor descriptor for the backward direction. Value is expressed as the -power of 2 Range: 0 - 9') nncCrSpvccSrcBillingFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccSrcBillingFlag.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccSrcBillingFlag.setDescription('Billing Configuration for the source endpoint') nncCrSpvccFwdTmTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("tagAll", 1), ("p0Plus1", 2), ("p0Plus1SlashS0Plus1", 3), ("p0Plus1SlashS0", 4), ("p0Plus1SlashM0Plus1", 5))).clone('p0Plus1SlashS0Plus1')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFwdTmTrafficDescriptor.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFwdTmTrafficDescriptor.setDescription('This object contains the traffic descriptor for the SPVC. Tag All (1) (UBR using 2k/12k fabric only) P_0+1 (2) (CBR only) P_0+1/S_0+1 (3) (NRT/RT-VBR only) P_0+1/S_0 (4) (NRT/RT-VBR only) P_0+1/M_0+1 (5) (ABR and UBR only)') nncCrSpvccFwdTmPolicingOption = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("tag", 2), ("discard", 3))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFwdTmPolicingOption.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFwdTmPolicingOption.setDescription('Policing Option for an SPVCC. tag is supported only on rt-VBR/nrt-VBR connections that use the P_0+1/S_0 traffic descriptor') nncCrSpvccFwdTmBucketOneRate = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(1000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFwdTmBucketOneRate.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFwdTmBucketOneRate.setDescription("This object is for peak cell rate (PCR), the cell rate which the source may never exceed. It is used to determine which cells are 'excess'. Measured in Kb/s. Range: 0 - 2488320 Kb/s") nncCrSpvccFwdTmBucketOneCdvt = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 190000)).clone(500)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFwdTmBucketOneCdvt.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFwdTmBucketOneCdvt.setDescription('This object is used to set cell delay variation tolerance (CDVT) for one endpoint, measured in microseconds. Range: 1 - 190,000 microseconds') nncCrSpvccFwdTmBucketTwoRate = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(1000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFwdTmBucketTwoRate.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFwdTmBucketTwoRate.setDescription('SIR_0p, SIR_0+1p or MIR_0+1p. This parameter holds the sustained information rate for VBR traffic, and the minimum information rate for ABR/UBR traffic. Range: 0 - 2488320 Kb/s') nncCrSpvccFwdTmBucketTwoMbs = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10000)).clone(32)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFwdTmBucketTwoMbs.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFwdTmBucketTwoMbs.setDescription('This object is for the maximum burst size, in cells, for SIR_0p or SIR_0+1p (nrtVbr and rtVbr only). Range: 1 - 10000 cells') nncCrSpvccFwdTmCdv = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(250, 10000)).clone(250)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFwdTmCdv.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFwdTmCdv.setDescription('This value is to set the cell delay variation (CDV) between two endpoints to support the rt-VBR service category. Range: 250-10000 microseconds') nncCrSpvccFwdTmClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7)).clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFwdTmClr.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFwdTmClr.setDescription('The object is to set the cell loss ratio (CLR) between two SPVC endpoints when using the nrt-VBR service category. Value set as 1.0e-#') nncCrSpvccFwdTmFrameDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFwdTmFrameDiscard.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFwdTmFrameDiscard.setDescription('The Frame (AAL protocol data unit) Discard option. When enabled, cells are discarded at the frame level by examining the SDU-type in the payload type field of the ATM cell header.') nncCrSpvccBwdTmTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("tagAll", 1), ("p0Plus1", 2), ("p0Plus1SlashS0Plus1", 3), ("p0Plus1SlashS0", 4), ("p0Plus1SlashM0Plus1", 5))).clone('p0Plus1SlashS0Plus1')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccBwdTmTrafficDescriptor.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccBwdTmTrafficDescriptor.setDescription('This object contains the traffic descriptor for the SPVC. Tag All (1) (UBR using 2k/12k fabric only) P_0+1 (2) (CBR only) P_0+1/S_0+1 (3) (NRT/RT-VBR only) P_0+1/S_0 (4) (NRT/RT-VBR only) P_0+1/M_0+1 (5) (ABR and UBR only)') nncCrSpvccBwdTmPolicingOption = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("tag", 2), ("discard", 3))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccBwdTmPolicingOption.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccBwdTmPolicingOption.setDescription('Policing Option for an SPVCC. tag is supported only on rt-VBR/nrt-VBR connections that use the P_0+1/S_0 traffic descriptor') nncCrSpvccBwdTmBucketOneRate = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(1000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccBwdTmBucketOneRate.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccBwdTmBucketOneRate.setDescription("This object is for peak cell rate (PCR), the cell rate which the source may never exceed. It is used to determine which cells are 'excess'. Measured in Kb/s. Range: 0 - 2488320 Kb/s") nncCrSpvccBwdTmBucketOneCdvt = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 33), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 190000)).clone(500)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccBwdTmBucketOneCdvt.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccBwdTmBucketOneCdvt.setDescription('This object is used to set cell delay variation tolerance (CDVT) for one endpoint, measured in microseconds. Range: 1 - 190,000 microseconds') nncCrSpvccBwdTmBucketTwoRate = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 34), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(1000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccBwdTmBucketTwoRate.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccBwdTmBucketTwoRate.setDescription('SIR_0p, SIR_0+1p or MIR_0+1p. This parameter holds the sustained information rate for VBR traffic, and the minimum information rate for ABR/UBR traffic. Range: 0 - 2488320 Kb/s') nncCrSpvccBwdTmBucketTwoMbs = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10000)).clone(32)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccBwdTmBucketTwoMbs.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccBwdTmBucketTwoMbs.setDescription('This object is for the maximum burst size, in cells, for SIR_0p or SIR_0+1p (nrt-VBR and rt-VBR only). Range: 1 - 10000 cells') nncCrSpvccBwdTmCdv = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 36), Integer32().subtype(subtypeSpec=ValueRangeConstraint(250, 10000)).clone(250)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccBwdTmCdv.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccBwdTmCdv.setDescription('This value is to set the cell delay variation (CDV) between two endpoints to support the rt-VBR service category. Range: 250-10000 microseconds') nncCrSpvccBwdTmClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 37), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7)).clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccBwdTmClr.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccBwdTmClr.setDescription('The object is to set the cell loss ratio (CLR) between two SPVC endpoints when using the nrt-VBR service category. Value set as 1.0e-#') nncCrSpvccBwdTmFrameDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 38), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccBwdTmFrameDiscard.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccBwdTmFrameDiscard.setDescription('The Frame (AAL protocol data unit) Discard option. When enabled, cells are discarded at the frame level by examining the SDU-type in the payload type field of the ATM cell header.') nncCrSpvccFrBwdTmAr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 39), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 44210)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFrBwdTmAr.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFrBwdTmAr.setDescription('This object is used to specify the Access Rate, in Kb/s.') nncCrSpvccFrBwdTmCir = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 40), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 44210)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFrBwdTmCir.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFrBwdTmCir.setDescription('The committed Information Rate, in Kb/s.') nncCrSpvccFrBwdTmBc = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 41), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2097151)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFrBwdTmBc.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFrBwdTmBc.setDescription('The Committed Burst Size, in Kb.') nncCrSpvccFrBwdTmBe = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 42), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2097151)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFrBwdTmBe.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFrBwdTmBe.setDescription('The Excess Burst Size, in Kb.') nncCrSpvccFrBwdTmIwf = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 43), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 2, 3, 4))).clone(namedValues=NamedValues(("none", 0), ("networkInterworking", 2), ("serviceInterworking", 3), ("fFwdInterworking", 4))).clone('networkInterworking')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFrBwdTmIwf.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFrBwdTmIwf.setDescription('Interworking Function. Values: none (None (FR Switching) = 0) networkInterworking (Network Interworking = 2) serviceInterworking (Service Interworking = 3) FFwd Interworking (FFwd Interworking = 4)') nncCrSpvccFrBwdTmPo = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 44), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabled", 3))).clone('enabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFrBwdTmPo.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFrBwdTmPo.setDescription('Policing') nncCrSpvccFrBwdTmPacing = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 45), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFrBwdTmPacing.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFrBwdTmPacing.setDescription('Pacing') nncCrSpvccFrBwdTmPtclMapping = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 46), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("transparent", 0), ("translated", 1))).clone('transparent')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFrBwdTmPtclMapping.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFrBwdTmPtclMapping.setDescription('Protocol Mapping for Service Interworking SPVCs. If Translated Service Interworking is selected, the a profile must be set using the attribute nncFrSpvcTmSIWProfile. Values: transparent (0), translated (1) (see also nncFrSpvcTmSIWProfile)') nncCrSpvccFrBwdTmClpMapping = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 47), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("cLPEqualsDE", 0), ("cLPEquals0", 1), ("cLPEquals1", 2))).clone('cLPEquals1')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFrBwdTmClpMapping.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFrBwdTmClpMapping.setDescription('Cell Loss Priority Mapping. Values: cLPEqualsDE (CLP = DE, 0) cLPEquals0 (CLP = 0, 1 ) cLPEquals1 (CLP = 1, 2 )') nncCrSpvccFrBwdTmDeMapping = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 48), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("dEEqualsCLP", 0), ("dESSCSor0", 1), ("dEEquals1", 2))).clone('dEEqualsCLP')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFrBwdTmDeMapping.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFrBwdTmDeMapping.setDescription('Discard Eligibility Mapping Values: dEEqualsCLP (DE = CLP, 0) dESSCSor0 (Network Interworking: DE=FR_SSCS Service Interworking: DE=0, 1) dEEquals1 (Service Interworking: DE = 1, 2) Only the first two values are valid when using Network Interworking.') nncCrSpvccFrBwdTmEfciMapping = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 49), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("eFCIEqualsFECN", 0), ("eFCIEquals0", 1))).clone('eFCIEqualsFECN')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFrBwdTmEfciMapping.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFrBwdTmEfciMapping.setDescription('Explicit Forward Congestion Indication Mapping (Applies only to Service Interworking (IWF3), FR to ATM) Values: eFCIEqualsFECN (EFCI = FECN, 0) eFCIEquals0 (EFCI = 0, 1)') nncCrSpvccFrBwdTmPvcMgntProfile = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 50), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enabled", 0), ("disabled", 1))).clone('enabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFrBwdTmPvcMgntProfile.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFrBwdTmPvcMgntProfile.setDescription('Enables or disables the PVC Management Profile. When enabled, LMI is enabled on the network-side of the connection. Used only with FR-CR network interworking selected.') nncCrSpvccFrBwdTmSIWProfile = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 51), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccFrBwdTmSIWProfile.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccFrBwdTmSIWProfile.setDescription("The FR-CR profile index for service interworking connections. This attribute is used to define the translation profile to use when a FR to CR SPVC is configured for Translated Service Interworking (using the attributes nncFrSpvcTmIwf and nncFrSpvcTmPtclMapping). If the profile selected isn't defined on the remote node then the connection will be rejected. Range: 1 = 16.") nncCrSpvccCreator = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 52), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 9))).clone(namedValues=NamedValues(("unknown", 0), ("nmti", 1), ("nm5620", 2), ("snmp", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nncCrSpvccCreator.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccCreator.setDescription('The object retrieves the creator of a SPVC connection.') nncCrSpvccRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 3, 1, 53), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccRowStatus.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccRowStatus.setDescription("This object is used to control the status of a PDU and to query the status of an SPVC. When the RowStatus value is 'createAndWait', information for a row is cached in memory; when RowStatus is set to 'createAndGo' or 'active', it indicates that all information is to be written to permanent storage, and the SPVC to be enabled (AdminStatus must also be set to 'enabled'). When querying the object, 'active' indicates a configured SPVC with its AdminStatus enabled, while a status of 'notInService' indicates either a disabled AdminStatus or an inability to connect the SPVC. If a query returns 'notInService', use the CallStatus object to further determine the state of the SPVC. If the value 'notReady' is returned, it indicates that the SNMP agent is awaiting further information before activating the connection. When deleting a connection, use this object with the value 'destroy'") nncCrSpvccDstCfgTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 4), ) if mibBuilder.loadTexts: nncCrSpvccDstCfgTable.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccDstCfgTable.setDescription('the nncCrSpvccDstCfg table contains common objects used to configure, delete, modify and query the destination end point of an SPVC across different Alcatel CID platforms.') nncCrSpvccDstCfgTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "atmVclVpi"), (0, "ATM-MIB", "atmVclVci")) if mibBuilder.loadTexts: nncCrSpvccDstCfgTableEntry.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccDstCfgTableEntry.setDescription('An entry of nncCrSpvccDstCfgTable.') nncCrSpvccDstCfgCdvt = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 190000)).clone(500)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccDstCfgCdvt.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccDstCfgCdvt.setDescription('This object is used to set cell delay variation tolerance (CDVT) for one endpoint, measured in microseconds. Range: 1 - 190,000 microseconds') nncCrSpvccDstCfgPolicing = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("nullPolicing", 0), ("disabled", 1), ("tag", 2), ("discard", 3), ("useSignalled", 4))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccDstCfgPolicing.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccDstCfgPolicing.setDescription('CR Policing') nncCrSpvccDstCfgBillingFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccDstCfgBillingFlag.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccDstCfgBillingFlag.setDescription('Billing Configuration for the destination endpoint') nncCrSpvccDstCfgFrVsvdCongestionControl = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccDstCfgFrVsvdCongestionControl.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccDstCfgFrVsvdCongestionControl.setDescription('Congestion Control for VS/VD endpoints, also known as Closed Loop Congestion Control (CLCC).') nncCrSpvccDstCfgLocRerouteConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 4, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabledUniSide", 2), ("enabledNniSide", 3))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccDstCfgLocRerouteConfig.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccDstCfgLocRerouteConfig.setDescription("This object is used to configure the 'reroute on loss of continuity' feature using OAM-CC cells. It can be configured for either the UNI side or the NNI side, or disabled.") nncCrSpvccDstCfgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 4, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCrSpvccDstCfgRowStatus.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccDstCfgRowStatus.setDescription("This object is used to control the status of a PDU and to query the status of an SPVC. When the RowStatus value is 'createAndWait', information for a row is cached in memory; when RowStatus is set to 'createAndGo' or 'active', it indicates that all information is to be written to permanent storage, and the SPVC to be enabled (AdminStatus must also be set to 'enabled'). When querying the object, 'active' indicates a configured SPVC with its AdminStatus enabled, while a status of 'notInService' indicates either a disabled AdminStatus or an inability to connect the SPVC. If a query returns 'notInService', use the CallStatus object to further determine the state of the SPVC. If the value 'notReady' is returned, it indicates that the SNMP agent is awaiting further information before activating the connection. When deleting a connection, use this object with the value 'destroy'") nncFrSpvcTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5), ) if mibBuilder.loadTexts: nncFrSpvcTable.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTable.setDescription('nncFrSpvcTable contains all the objects sent to a source endpoint that are used to create, modify, delete and query FR SPVCCs.') nncFrSpvcTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "NNCEXTSPVC-MIB", "nncFrSpvcSrcDlci")) if mibBuilder.loadTexts: nncFrSpvcTableEntry.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTableEntry.setDescription('An entry of nncFrSpvcTable.') nncFrSpvcSrcDlci = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 1023)).clone(17)) if mibBuilder.loadTexts: nncFrSpvcSrcDlci.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcSrcDlci.setDescription('This object contains the data link connection identifier for a frame relay endpoint. This number is used to identify the source endpoint, and has only local significance to the specified link. Range: 16 - 1023') nncFrSpvcTargEpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 2), AtmFormatDisplay()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcTargEpAddr.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTargEpAddr.setDescription("This object contains the target endpoint's 20-byte ATM End System Address (AESA) proposed by ATM Forum. An endpoint address is created by appending the switch-wide 13-byte Internal Switch Subscriber Address Prefix with a 6-byte End Station Identifier (ESI) followed by a selector byte. The ESI is in IEEE MAC address format and the exact form depends upon the destination endpoint and the SPVC commissioning method. The mapping scheme is as follows: Byte\\Bit 8 7 6 5 4 3 2 1 ------------------------------------------------------------------------ 1-13 byte | 13-byte Internal Subscriber Prefix | ------------------------------------------------------------------------ 14th byte | I/G | U/L | OUI(most significant 6 bits) | ------------------------------------------------------------------------ 15th byte | OUI(2nd most significant 8 bits | ------------------------------------------------------------------------ 16th byte | OUI(3rd most significant 8 bits | ------------------------------------------------------------------------ 17th byte | Shelf/Slot(1st most significant 8 bits | ------------------------------------------------------------------------ 18th byte | Shelf/Slot(2nd most significant 8 bits | ------------------------------------------------------------------------ 19th byte |Flag1| Port | Circuit | ------------------------------------------------------------------------ 20th byte |Circuit(continued) | Stream | ------------------------------------------------------------------------ ") nncFrSpvcTargDlci = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 1023)).clone(17)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcTargDlci.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTargDlci.setDescription('This object contains the data link connection identifier for a frame relay endpoint. This number is used to identify the target endpoint, and has only local significance to the specified link. Range: 16 - 1023') nncFrSpvcTargVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcTargVpi.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTargVpi.setDescription('This object contains the virtual path identifier (VPI) value for the Cell Relay based target endpoint. Range: 0 - 4095') nncFrSpvcTargVci = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcTargVci.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTargVci.setDescription('This object contains the virtual channel identifier (VCI) value for the cell-relay based target endpoint. Range: 1 - 65535') nncFrSpvcTargEpType = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("cellRelay", 1), ("frameRelay", 2))).clone('frameRelay')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcTargEpType.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTargEpType.setDescription('This object specifies a target endpoint as one of the following types: cellRelay (1) frameRelay (2) ') nncFrSpvcAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcAdminStatus.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcAdminStatus.setDescription('This object accepts two values, enabled (1), and disabled (2). When the value is disabled, the SPVC is not connected. When enabled, the SPVC is connected when possible. Use nncFrSpvcAdminStatus to determine if the connection is successful.') nncFrSpvcPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcPriority.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcPriority.setDescription('This object is used to set the priority for a SPVC connection request. It ranges between 1-16, with the following values: Best Priority = 1 Default Priority = 3 Worst Priority = 16') nncFrSpvcMaxAdminWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647)).clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcMaxAdminWeight.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcMaxAdminWeight.setDescription('This object is used to set a cost threshold for an SPVC connection. If the total cost of all VPCs exceeds this weight value for a given path, this SPVC will choose an alternative path or give up. Infinite = -1 Min Admin Weight = 0 Max Admin Weight = 2147483647') nncFrSpvcOperation = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(7))).clone(namedValues=NamedValues(("reRouteDualEp", 7)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcOperation.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcOperation.setDescription('This object is used to request a reroute operation. Querying this object will not provide any useful information.') nncFrSpvcCallStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 4, 7))).clone(namedValues=NamedValues(("connected", 2), ("waitingForResources", 4), ("readyToConnect", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nncFrSpvcCallStatus.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcCallStatus.setDescription("This read-only object is used to query the state of a particular SPVC. SPVCs that are connected and operational will return a value of 'connected', while those that are incomplete or otherwise unable to be connected will return 'waitingForResources'. SPVCs that are configured but not yet connected will contain a value of 'readyForConnect'.") nncFrSpvcLocRerouteConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabledUniSide", 2), ("enabledNniSide", 3))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcLocRerouteConfig.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcLocRerouteConfig.setDescription("This object is used to configure the 'reroute on loss of continuity' feature using OAM-CC cells. It can be configured for either the UNI side or the NNI side, or disabled.") nncFrSpvcSrcBillingFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcSrcBillingFlag.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcSrcBillingFlag.setDescription('Billing Configuration for the source endpoint.') nncFrSpvcFrPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("bestEffort", 1), ("committedThroughput", 2), ("lowLatency", 3), ("realTime", 4))).clone('bestEffort')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcFrPriority.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcFrPriority.setDescription('Frame Relay Priority.') nncFrSpvcFrVsvdCongestionControl = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcFrVsvdCongestionControl.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcFrVsvdCongestionControl.setDescription('Congestion Control for VS/VD endpoints, also known as Closed Loop Congestion Control (CLCC).') nncFrSpvcFwdFrMir = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 44210)).clone(72)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcFwdFrMir.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcFwdFrMir.setDescription('The FR Src->Dst Minimum Information Rate, used to set the minimum rate on a CLCC FR-FR SPVC connection. If nncFrSpvcFrVsvdCongestionControl is not enabled, this attribute has no effect. Range: 0 - 44210 Kb/s') nncFrSpvcFwdTmAr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 44210)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcFwdTmAr.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcFwdTmAr.setDescription('This object is used to specify the Access Rate, in Kb/s') nncFrSpvcFwdTmCir = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 44210)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcFwdTmCir.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcFwdTmCir.setDescription('The committed Information Rate, in Kb/s') nncFrSpvcFwdTmBc = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2097151)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcFwdTmBc.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcFwdTmBc.setDescription('The Committed Burst Size, in Kb.') nncFrSpvcFwdTmBe = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2097151)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcFwdTmBe.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcFwdTmBe.setDescription('Excess Burst Size, Kb.') nncFrSpvcTmIwf = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 2, 3, 4))).clone(namedValues=NamedValues(("none", 0), ("networkInterworking", 2), ("serviceInterworking", 3), ("fFwdInterworking", 4))).clone('networkInterworking')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcTmIwf.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTmIwf.setDescription('Interworking Function. Values: none (None (FR Switching) = 0) networkInterworking (Network Interworking = 2) serviceInterworking (Service Interworking = 3) FFwd Interworking (FFwd Interworking = 4)') nncFrSpvcFwdTmPo = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabled", 3))).clone('enabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcFwdTmPo.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcFwdTmPo.setDescription('Policing. ') nncFrSpvcFwdTmPacing = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcFwdTmPacing.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcFwdTmPacing.setDescription('Pacing.') nncFrSpvcTmPtclMapping = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("transparent", 0), ("translated", 1))).clone('transparent')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcTmPtclMapping.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTmPtclMapping.setDescription('Protocol Mapping for Service Interworking SPVCs. If Translated Service Interworking is selected, the a profile must be set using the attribute nncFrSpvcTmSIWProfile. Values: transparent (0), translated (1) (see also nncFrSpvcTmSIWProfile)') nncFrSpvcTmClpMapping = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("cLPEqualsDE", 0), ("cLPEquals0", 1), ("cLPEquals1", 2))).clone('cLPEquals1')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcTmClpMapping.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTmClpMapping.setDescription('Cell Loss Priority Mapping, for use in FR-CR interworking SPVCs. Values: cLPEqualsDE (CLP = DE, 0) cLPEquals0 (CLP = 0, 1 ) cLPEquals1 (CLP = 1, 2 )') nncFrSpvcTmDeMapping = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("dEEqualsCLP", 0), ("dESSCSor0", 1), ("dEEquals1", 2))).clone('dEEqualsCLP')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcTmDeMapping.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTmDeMapping.setDescription('Discard Eligibility Mapping, for use in FR-CR interworking SPVCs. Values: dEEqualsCLP (DE = CLP, 0) dESSCSor0 (Network Interworking: DE=FR_SSCS Service Interworking: DE=0, 1) dEEquals1 (Service Interworking: DE = 1, 2) Only the first two values are valid when using Network Interworking.') nncFrSpvcTmEfciMapping = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("eFCIEqualsFECN", 0), ("eFCIEquals0", 1))).clone('eFCIEqualsFECN')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcTmEfciMapping.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTmEfciMapping.setDescription('Explicit Forward Congestion Indication Mapping (Applies only to Service Interworking (IWF3), FR to ATM) Values: eFCIEqualsFECN (EFCI = FECN, 0) eFCIEquals0 (EFCI = 0, 1)') nncFrSpvcTmPvcMgntProfile = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enabled", 0), ("disabled", 1))).clone('enabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcTmPvcMgntProfile.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTmPvcMgntProfile.setDescription('Enables or disables the PVC Management Profile. When enabled, LMI is enabled on the network-side of the connection. Used only with FR-CR network interworking selected.') nncFrSpvcTmSIWProfile = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcTmSIWProfile.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTmSIWProfile.setDescription("The FR-CR profile index for service interworking connections. This attribute is used to define the translation profile to use when a FR to CR SPVC is configured for Translated Service Interworking (using the attributes nncFrSpvcTmIwf and nncFrSpvcTmPtclMapping). If the profile selected isn't defined on the remote node then the connection will be rejected. Range: 1 - 16.") nncFrSpvcTmRemapDlci = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 1023)).clone(17)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcTmRemapDlci.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcTmRemapDlci.setDescription('The source end-point Data Link Connection Identifier for many-to-one Network Interworking (IWF2) connections.') nncFrSpvcBwdFrMir = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 44210)).clone(72)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcBwdFrMir.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcBwdFrMir.setDescription('The FR Dst->Src Minimum Information Rate, used on CLCC-enabled connections. Range: 0 - 44210 Kb/s') nncFrSpvcBwdTmAr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 44210)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcBwdTmAr.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcBwdTmAr.setDescription('This object is used to specify the Access Rate, in Kb/s') nncFrSpvcBwdTmCir = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 33), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 44210)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcBwdTmCir.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcBwdTmCir.setDescription('The committed Information Rate, in Kb/s') nncFrSpvcBwdTmBc = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 34), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2097151)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcBwdTmBc.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcBwdTmBc.setDescription('The Committed Burst Size, in Kb.') nncFrSpvcBwdTmBe = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2097151)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcBwdTmBe.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcBwdTmBe.setDescription('The Excess Burst Size, Kb.') nncFrSpvcBwdTmPo = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabled", 3))).clone('enabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcBwdTmPo.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcBwdTmPo.setDescription('Policing.') nncFrSpvcBwdTmPacing = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 37), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcBwdTmPacing.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcBwdTmPacing.setDescription('Pacing.') nncFrSpvcCrTmServiceCategory = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 38), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3, 4, 6))).clone(namedValues=NamedValues(("nrtvbr", 2), ("abr", 3), ("ubr", 4), ("rtvbr", 6))).clone('ubr')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcCrTmServiceCategory.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcCrTmServiceCategory.setDescription('This object is used to set the traffic service category for SPVC Connections. This object is dependent on the value specified in nncFrSpvcCrBwdTmTrafficDescriptor.') nncFrSpvcCrBwdTmTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 39), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4, 5))).clone(namedValues=NamedValues(("tagAll", 1), ("p0Plus1SlashS0Plus1", 3), ("p0Plus1SlashS0", 4), ("p0Plus1SlashM0Plus1", 5))).clone('p0Plus1SlashS0Plus1')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcCrBwdTmTrafficDescriptor.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcCrBwdTmTrafficDescriptor.setDescription('This object contains the CR traffic descriptor for a FR-CR SPVC. Tag All (1) (UBR using 2k/12k fabric only) P_0+1/S_0+1 (3) (NRT/RT-VBR only) P_0+1/S_0 (4) (NRT/RT-VBR only) P_0+1/M_0+1 (5) (ABR and UBR only)') nncFrSpvcCrBwdTmPolicingOption = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 40), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("tag", 2), ("discard", 3))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcCrBwdTmPolicingOption.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcCrBwdTmPolicingOption.setDescription('Policing Option for a FR SPVC. tag is supported only on rt-VBR/nrt-VBR connections that use the P_0+1/S_0 traffic descriptor') nncFrSpvcCrBwdTmBucketOneRate = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 41), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(256)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcCrBwdTmBucketOneRate.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcCrBwdTmBucketOneRate.setDescription("Used in FR - CR interworking. This object is for peak cell rate (PCR), the cell rate which the cell endpoint may never exceed. It is used to determine which cells are 'excess'. Measured in Kb/s. Range: 0 - 2488320 Kb/s") nncFrSpvcCrBwdTmBucketOneCdvt = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 42), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 190000)).clone(500)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcCrBwdTmBucketOneCdvt.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcCrBwdTmBucketOneCdvt.setDescription('This object is used to set cell delay variation tolerance (CDVT) for the CR endpoint, measured in microseconds. Range: 1 - 190,000 microseconds') nncFrSpvcCrBwdTmBucketTwoRate = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 43), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(72)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcCrBwdTmBucketTwoRate.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcCrBwdTmBucketTwoRate.setDescription('Used in FR - CR interworking. The attribute contains the SIR_0, SIR_0+1 or MIR_0+1. This parameter holds the sustained information rate (SIR_0 or SIR_0+1) for VBR traffic, and the minimum information rate for ABR/UBR traffic. Range: 0 - 2488320 Kb/s') nncFrSpvcCrBwdTmBucketTwoMbs = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 44), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10000)).clone(32)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcCrBwdTmBucketTwoMbs.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcCrBwdTmBucketTwoMbs.setDescription('This object is for the maximum burst size, in cells, for SIR_0p or SIR_0+1p (nrtVbr and rtVbr only). Range: 1 - 10000 cells') nncFrSpvcCrBwdTmCdv = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 45), Integer32().subtype(subtypeSpec=ValueRangeConstraint(250, 10000)).clone(250)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcCrBwdTmCdv.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcCrBwdTmCdv.setDescription('This value is to set the cell delay variation (CDV) at the CR endpoint. Applicable only when the rt-VBR service category is used. Range: 250-10000 microseconds') nncFrSpvcCrBwdTmClr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 46), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7)).clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcCrBwdTmClr.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcCrBwdTmClr.setDescription('The object is to set the cell loss ratio (CLR) at the CR endpoint of a FR-CR SPVC. Valid only when using the nrt-VBR service category. Value set as 1.0e-#') nncFrSpvcCrBwdTmFrameDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 47), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcCrBwdTmFrameDiscard.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcCrBwdTmFrameDiscard.setDescription('The Frame (AAL protocol data unit) Discard option. When enabled, cells are discarded at the frame level by examining the SDU-type in the payload type field of the ATM cell header.') nncFrSpvcCreator = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 48), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 9))).clone(namedValues=NamedValues(("unknown", 0), ("nmti", 1), ("nm5620", 2), ("snmp", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nncFrSpvcCreator.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcCreator.setDescription('The object retrieves the creator of a given SPVC connection.') nncFrSpvcRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 5, 1, 49), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcRowStatus.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcRowStatus.setDescription("This object is used to control the status of a PDU and to query the status of an SPVC. When the RowStatus value is 'createAndWait', information for a row is cached in memory; when RowStatus is set to 'createAndGo' or 'active', it indicates that all information is to be written to permanent storage, and the SPVC to be enabled (AdminStatus must also be set to 'enabled'). When querying the object, 'active' indicates a configured SPVC with its AdminStatus enabled, while a status of 'notInService' indicates either a disabled AdminStatus or an inability to connect the SPVC. If a query returns 'notInService', use the CallStatus object to further determine the state of the SPVC. If the value 'notReady' is returned, it indicates that the SNMP agent is awaiting further information before activating the connection. When deleting a connection, use this object with the value 'destroy'") nncFrSpvcDstCfgTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6), ) if mibBuilder.loadTexts: nncFrSpvcDstCfgTable.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTable.setDescription('the nncFrSpvcDstCfg table contains common objects used to configure, delete, modify and query the destination end point of an SPVC across different Alcatel CID platforms.') nncFrSpvcDstCfgTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmRemapDlci")) if mibBuilder.loadTexts: nncFrSpvcDstCfgTableEntry.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTableEntry.setDescription('An entry of nncFrSpvcDstCfgTable.') nncFrSpvcDstCfgTmAr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 44210)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgTmAr.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTmAr.setDescription('This object is used to specify the Access Rate, in Kb/s') nncFrSpvcDstCfgTmCir = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 44210)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgTmCir.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTmCir.setDescription('The committed Information Rate, Kb/s') nncFrSpvcDstCfgTmBc = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2097151)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgTmBc.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTmBc.setDescription('The Committed Burst Size, in Kb.') nncFrSpvcDstCfgTmBe = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2097151)).clone(64)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgTmBe.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTmBe.setDescription('Excess Burst Size, in Kb.') nncFrSpvcDstCfgTmIwf = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 2, 3, 4))).clone(namedValues=NamedValues(("none", 0), ("networkInterworking", 2), ("serviceInterworking", 3), ("fFwdInterworking", 4))).clone('networkInterworking')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgTmIwf.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTmIwf.setDescription('Interworking Function. Values: none (None (FR Switching) = 0) networkInterworking (Network Interworking = 2) serviceInterworking (Service Interworking = 3) FFwd Interworking (FFwd Interworking = 4)') nncFrSpvcDstCfgTmPo = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabled", 3))).clone('enabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgTmPo.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTmPo.setDescription('Policing.') nncFrSpvcDstCfgTmPacing = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgTmPacing.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTmPacing.setDescription('Pacing.') nncFrSpvcDstCfgTmPtclMapping = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("transparent", 0), ("translated", 1))).clone('transparent')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgTmPtclMapping.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTmPtclMapping.setDescription('Protocol Mapping for Service Interworking SPVCs. If Translated Service Interworking is selected, the a profile must be set using the attribute nncFrSpvcTmPvcMgntProfile.') nncFrSpvcDstCfgTmClpMapping = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("cLPEqualsDE", 0), ("cLPEquals0", 1), ("cLPEquals1", 2))).clone('cLPEquals1')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgTmClpMapping.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTmClpMapping.setDescription('Cell Loss Priority Mapping. Values: cLPEqualsDE (CLP = DE) cLPEquals0 (CLP = 0 ) cLPEquals1 (CLP = 1 )') nncFrSpvcDstCfgTmDeMapping = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("dEEqualsCLP", 0), ("dESSCSor0", 1), ("dEEquals1", 2))).clone('dEEqualsCLP')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgTmDeMapping.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTmDeMapping.setDescription('Discard Eligibility Mapping Values: dEEqualsCLP (DE = CLP, 0) dESSCSor0 (Network Interworking: DE=FR_SSCS Service Interworking: DE=0, 1) dEEquals1 (Service Interworking: DE = 1, 2) Only the first two values are valid when using Network Interworking.') nncFrSpvcDstCfgTmEfciMapping = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("eFCIEqualsFECN", 0), ("eFCIEquals0", 1))).clone('eFCIEqualsFECN')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgTmEfciMapping.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTmEfciMapping.setDescription('Explicit Forward Congestion Indication Mapping (Applies only to Service Interworking (IWF3), FR to ATM) Values: eFCIEqualsFECN (0) eFCIEquals0 (1)') nncFrSpvcDstCfgTmPvcMgntProfile = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("enabled", 0), ("disabled", 1))).clone('enabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgTmPvcMgntProfile.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTmPvcMgntProfile.setDescription('Enables or disables the PVC Management Profile. When enabled, LMI is enabled on the network-side of the connection. Used only with FR-CR network interworking selected.') nncFrSpvcDstCfgTmSIWProfile = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgTmSIWProfile.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTmSIWProfile.setDescription("The FR-CR profile index for service interworking connections. This attribute is used to define the translation profile to use when a FR to CR SPVC is configured for Translated Service Interworking (using the attribute nncFrSpvcTmPtclMapping). If the profile selected isn't defined on the remote node then the connection will be rejected. Range: 1 = 16.") nncFrSpvcDstCfgTmRemapDlci = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 1023)).clone(17)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgTmRemapDlci.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgTmRemapDlci.setDescription('The source end-point Data Link Connection Identifier for many-to-one Network Interworking (IWF2) connections.') nncFrSpvcDstCfgBillingFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgBillingFlag.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgBillingFlag.setDescription('Billing Configuration for the destination endpoint.') nncFrSpvcDstCfgFrPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("bestEffort", 1), ("committedThroughput", 2), ("lowLatency", 3), ("realTime", 4))).clone('bestEffort')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgFrPriority.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgFrPriority.setDescription('Frame Relay Priority.') nncFrSpvcDstCfgLocRerouteConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabledUniSide", 2), ("enabledNniSide", 3))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgLocRerouteConfig.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgLocRerouteConfig.setDescription("This object is used to configure the 'reroute on loss of continuity' feature using OAM-CC cells. It can be configured for either the UNI side or the NNI side, or disabled.") nncFrSpvcDstCfgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 6, 1, 18), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncFrSpvcDstCfgRowStatus.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgRowStatus.setDescription("This object is used to control the status of a PDU and to query the status of an SPVC. When the RowStatus value is 'createAndWait', information for a row is cached in memory; when RowStatus is set to 'createAndGo' or 'active', it indicates that all information is to be written to permanent storage, and the SPVC to be enabled (AdminStatus must also be set to 'enabled'). When querying the object, 'active' indicates a configured SPVC with its AdminStatus enabled, while a status of 'notInService' indicates either a disabled AdminStatus or an inability to connect the SPVC. If a query returns 'notInService', use the CallStatus object to further determine the state of the SPVC. If the value 'notReady' is returned, it indicates that the SNMP agent is awaiting further information before activating the connection. When deleting a connection, use this object with the value 'destroy'") nncCeSpvcTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7), ) if mibBuilder.loadTexts: nncCeSpvcTable.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcTable.setDescription('nncCeSpvcTable contains all the objects sent to a source endpoint that are used to create, modify, delete and query CE SPVCCs. The table is indexed using ifIndex, which includes the circuit number field.') nncCeSpvcTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: nncCeSpvcTableEntry.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcTableEntry.setDescription('An entry of nncCeSpvcTable.') nncCeSpvcTargEpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 1), AtmFormatDisplay()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcTargEpAddr.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcTargEpAddr.setDescription('This object is used to specify the AESA address of the target endpoint. The mapping scheme is as follows: Byte\\Bit 8 7 6 5 4 3 2 1 ------------------------------------------------------------------------ 1-13 byte | 13-byte Internal Subscriber Prefix | ------------------------------------------------------------------------ 14th byte | I/G | U/L | OUI(most significant 6 bits) | ------------------------------------------------------------------------ 15th byte | OUI(2nd most significant 8 bits | ------------------------------------------------------------------------ 16th byte | OUI(3rd most significant 8 bits | ------------------------------------------------------------------------ 17th byte | Shelf/Slot(1st most significant 8 bits | ------------------------------------------------------------------------ 18th byte | Shelf/Slot(2nd most significant 8 bits | ------------------------------------------------------------------------ 19th byte |Flag0| Port | ------------------------------------------------------------------------ 20th byte | Not used, default 0 | ------------------------------------------------------------------------ ') nncCeSpvcTargVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcTargVpi.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcTargVpi.setDescription('This object contains the virtual path identifier (VPI) value for the target endpoint. Used in interworking CE to CR connections when nncCeSpvcTargEpType configured as cellRelay(1). Range: 0 - 4095') nncCeSpvcTargVci = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcTargVci.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcTargVci.setDescription('This object contains the virtual channel identifier (VCI) value for the target endpoint. Used in interworking CE to CR connections when nncCeSpvcTargEpType configured as cellRelay(1). Range: 1 - 65535') nncCeSpvcTargCeNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcTargCeNumber.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcTargCeNumber.setDescription("This object contains circuit number, channel group number or both for the Circuit Emulation endpoint. Used in CE to CE connections when nncCrSpvccTargEpType is configured as circuitEmulation(3). For CE connections on unchannelized DS3_CCE card, it's the circuit number 1-28 for UDT circuit number For CE connections on unchannelized E3_CCE card, it's the circuit number 1-16 for UDT circuit number For CE connections on E1/T1 CES, it's channel group number. 0 for UDT mode, both T1 and E1 1-31 for E1 in SDT mode 1-24 for T1 in SDT mode For CE connections on channelized DS3_CCE-2 card, it's circuit number and channel group number combined in the upper and lower byte. circuitNum (bits 9-16, = 1 to 28 for channelized DS3, = 0 for unstructured DS3) channelGroupNum (bits 1-8, = 1 to 24 for SDT mode, = 0 for UDT Mode) For CE connections on channelized E3_CCE-2, it's circuit number and channel group number combined in the upper and lower byte. circuitNum (bits 9-16, = 1 to 16) channelGroupNum (bits 1-8, = 1 to 31 for SDT mode, = 0 for UDT Mode) Example: Circuit Number = 7, Channel Group = 3 : nncCrSpvccTargCeNumber = (Circuit Number * 256) + Channel Group = 1795 SPVCs across service types other than circuit emulation do not require this object.") nncCeSpvcTargEpType = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3))).clone(namedValues=NamedValues(("cellRelay", 1), ("circuitEmulation", 3))).clone('circuitEmulation')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcTargEpType.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcTargEpType.setDescription('This object specifies a target endpoint as one of the following types: cellRelay (1) circuitEmulation (3) ') nncCeSpvcAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcAdminStatus.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcAdminStatus.setDescription('This object accepts two values, enabled (1), and disabled (2). When the value is disabled, the SPVC is not connected. When enabled, the SPVC is connected when possible. Use nncCeSpvcAdminStatus to determine if the connection is successful.') nncCeSpvcPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcPriority.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcPriority.setDescription('This object is used to set the priority for a SPVC connection request. It ranges between 1-16, with the following values: Best Priority = 1 Default Priority = 3 Worst Priority = 16') nncCeSpvcMaxAdminWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647)).clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcMaxAdminWeight.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcMaxAdminWeight.setDescription('This object is used to set a cost threshold for an SPVC connection. If the total cost of all VPCs exceeds this weight value for a given path, this SPVC will choose an alternative path or give up. Infinite = -1 Min Admin Weight = 0 Max Admin Weight = 2147483647') nncCeSpvcOperation = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(7))).clone(namedValues=NamedValues(("reRouteDualEp", 7)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcOperation.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcOperation.setDescription('This object is used to request a reroute operation. Querying this object will not provide any useful information.') nncCeSpvcCallStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 4, 7))).clone(namedValues=NamedValues(("connected", 2), ("waitingForResources", 4), ("readyToConnect", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nncCeSpvcCallStatus.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcCallStatus.setDescription("This read-only object is used to query the state of a particular SPVC. SPVCs that are connected and operational will return a value of 'connected', while those that are incomplete or otherwise unable to be connected will return 'waitingForResources'. SPVCs that are configured but not yet connected will contain a value of 'readyForConnect'.") nncCeSpvcLocRerouteConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabledNniSide", 3))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcLocRerouteConfig.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcLocRerouteConfig.setDescription("This object is used to configure the 'reroute on loss of continuity' feature using OAM-CC cells. For circuit emulation UNI side is not supported. It can be configured for either NNI side or disabled.") nncCeSpvcFwdTmBucketOneRate = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(73)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcFwdTmBucketOneRate.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcFwdTmBucketOneRate.setDescription("This object is for peak cell rate (PCR), the cell rate which the source may never exceed. It is used to determine which cells are 'excess'. Measured in Kb/s. Range: 0 - 2488320 Kb/s For N x DS0 SDT Basic connections = ((((1 + 1.0 / 128) * 8 * N / K) + (1.0/1000)) * 53.0 * 8.0) where N = 1..24 for T1 N = 1..31 for E1 K = 1..47 is the number of data octets per cell. For N x DS0 SDT CAS connections = ((((1 + 1.0 / 128) * 8 * (((Cn * N) + (N % 2)) / (Ck * K))) + (1.0/1000)) * 53.0 * 8.0) where N = 1..24 for T1 N = 1..31 for E1 K = 2..47 is the number of data octets per cell. Cn = 49 for T1 Cn = 33 for E1 Ck = 48 for T1 Ck = 32 for E1 = 1755 Kb/s for T1,DS1 UDT connections = 2328 Kb/s for E1 UDT connections = 50842 Kb/s for DS3 UDT connections") nncCeSpvcFwdTmBucketOneCdvt = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 190000)).clone(3000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcFwdTmBucketOneCdvt.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcFwdTmBucketOneCdvt.setDescription('This object is used to set cell delay variation tolerance (CDVT) for one endpoint, measured in microseconds. Range: 1 - 190,000 microseconds') nncCeSpvcBwdTmBucketOneRate = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2488320)).clone(73)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcBwdTmBucketOneRate.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcBwdTmBucketOneRate.setDescription("This object is for peak cell rate (PCR), the cell rate which the source may never exceed. It is used to determine which cells are 'excess'. Measured in Kb/s. Range: 0 - 2488320 Kb/s For N x DS0 SDT Basic connections = ((((1 + 1.0 / 128) * 8 * N / K) + (1.0/1000)) * 53.0 * 8.0) where N = 1..24 for T1 N = 1..31 for E1 K = 1..47 is the number of data octets per cell. For N x DS0 SDT CAS connections = ((((1 + 1.0 / 128) * 8 * (((Cn * N) + (N % 2)) / (Ck * K))) + (1.0/1000)) * 53.0 * 8.0) where N = 1..24 for T1 N = 1..31 for E1 K = 2..47 is the number of data octets per cell. Cn = 49 for T1 Cn = 33 for E1 Ck = 48 for T1 Ck = 32 for E1 = 1755 Kb/s for T1,DS1 UDT connections = 2328 Kb/s for E1 UDT connections = 50842 Kb/s for DS3 UDT connections") nncCeSpvcBwdTmBucketOneCdvt = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 190000)).clone(3000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcBwdTmBucketOneCdvt.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcBwdTmBucketOneCdvt.setDescription('This object is used to set cell delay variation tolerance (CDVT) for one endpoint, measured in microseconds. Range: 1 - 190,000 microseconds') nncCeSpvcCreator = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 9))).clone(namedValues=NamedValues(("unknown", 0), ("nmti", 1), ("nm5620", 2), ("snmp", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nncCeSpvcCreator.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcCreator.setDescription('The object retrieves the creator of a SPVC connection.') nncCeSpvcRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 7, 1, 17), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcRowStatus.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcRowStatus.setDescription("This object is used to control the status of a PDU and to query the status of an SPVC. When the RowStatus value is 'createAndWait', information for a row is cached in memory; when RowStatus is set to 'createAndGo' or 'active', it indicates that all information is to be written to permanent storage, and the SPVC to be enabled (AdminStatus must also be set to 'enabled'). When querying the object, 'active' indicates a configured SPVC with its AdminStatus enabled, while a status of 'notInService' indicates either a disabled AdminStatus or an inability to connect the SPVC. If a query returns 'notInService', use the CallStatus object to further determine the state of the SPVC. If the value 'notReady' is returned, it indicates that the SNMP agent is awaiting further information before activating the connection. When deleting a connection, use this object with the value 'destroy'") nncCeSpvcDstCfgTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 8), ) if mibBuilder.loadTexts: nncCeSpvcDstCfgTable.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcDstCfgTable.setDescription('the nncCeSpvcDstCfg table contains common objects used to configure, delete, modify and query the destination end point of an SPVC across different Alcatel CID platforms.') nncCeSpvcDstCfgTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 8, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: nncCeSpvcDstCfgTableEntry.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcDstCfgTableEntry.setDescription('An entry of nncCeSpvcDstCfgTable.') nncCeSpvcDstCfgCdvt = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 190000)).clone(3000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcDstCfgCdvt.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcDstCfgCdvt.setDescription('This object is used to set cell delay variation tolerance (CDVT) for one endpoint, measured in microseconds. Range: 1 - 190,000 microseconds') nncCeSpvcDstCfgLocRerouteConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 8, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabledNniSide", 3))).clone('disabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcDstCfgLocRerouteConfig.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcDstCfgLocRerouteConfig.setDescription("This object is used to configure the 'reroute on loss of continuity' feature using OAM-CC cells. For circuit emulation UNI side is not supported. It can be configured for either NNI side or disabled.") nncCeSpvcDstCfgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 82, 1, 8, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nncCeSpvcDstCfgRowStatus.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcDstCfgRowStatus.setDescription("This object is used to control the status of a PDU and to query the status of an SPVC. When the RowStatus value is 'createAndWait', information for a row is cached in memory; when RowStatus is set to 'createAndGo' or 'active', it indicates that all information is to be written to permanent storage, and the SPVC to be enabled (AdminStatus must also be set to 'enabled'). When querying the object, 'active' indicates a configured SPVC with its AdminStatus enabled, while a status of 'notInService' indicates either a disabled AdminStatus or an inability to connect the SPVC. If a query returns 'notInService', use the CallStatus object to further determine the state of the SPVC. If the value 'notReady' is returned, it indicates that the SNMP agent is awaiting further information before activating the connection. When deleting a connection, use this object with the value 'destroy'") nncCrSpvpcGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 82, 3, 1)).setObjects(("NNCEXTSPVC-MIB", "nncCrSpvpcServiceCategory"), ("NNCEXTSPVC-MIB", "nncCrSpvpcTargEpAddr"), ("NNCEXTSPVC-MIB", "nncCrSpvpcTargVpi"), ("NNCEXTSPVC-MIB", "nncCrSpvpcAdminStatus"), ("NNCEXTSPVC-MIB", "nncCrSpvpcPriority"), ("NNCEXTSPVC-MIB", "nncCrSpvpcMaxAdminWeight"), ("NNCEXTSPVC-MIB", "nncCrSpvpcOperation"), ("NNCEXTSPVC-MIB", "nncCrSpvpcCallStatus"), ("NNCEXTSPVC-MIB", "nncCrSpvpcLocRerouteConfig"), ("NNCEXTSPVC-MIB", "nncCrSpvpcFwdAbrDynTrfcIcr"), ("NNCEXTSPVC-MIB", "nncCrSpvpcFwdAbrDynTrfcRif"), ("NNCEXTSPVC-MIB", "nncCrSpvpcFwdAbrDynTrfcRdf"), ("NNCEXTSPVC-MIB", "nncCrSpvpcBwdAbrDynTrfcIcr"), ("NNCEXTSPVC-MIB", "nncCrSpvpcBwdAbrDynTrfcRif"), ("NNCEXTSPVC-MIB", "nncCrSpvpcBwdAbrDynTrfcRdf"), ("NNCEXTSPVC-MIB", "nncCrSpvpcSrcBillingFlag"), ("NNCEXTSPVC-MIB", "nncCrSpvpcFwdTmTrafficDescriptor"), ("NNCEXTSPVC-MIB", "nncCrSpvpcFwdTmPolicingOption"), ("NNCEXTSPVC-MIB", "nncCrSpvpcFwdTmBucketOneRate"), ("NNCEXTSPVC-MIB", "nncCrSpvpcFwdTmBucketOneCdvt"), ("NNCEXTSPVC-MIB", "nncCrSpvpcFwdTmBucketTwoRate"), ("NNCEXTSPVC-MIB", "nncCrSpvpcFwdTmBucketTwoMbs"), ("NNCEXTSPVC-MIB", "nncCrSpvpcFwdTmCdv"), ("NNCEXTSPVC-MIB", "nncCrSpvpcFwdTmClr"), ("NNCEXTSPVC-MIB", "nncCrSpvpcBwdTmTrafficDescriptor"), ("NNCEXTSPVC-MIB", "nncCrSpvpcBwdTmPolicingOption"), ("NNCEXTSPVC-MIB", "nncCrSpvpcBwdTmBucketOneRate"), ("NNCEXTSPVC-MIB", "nncCrSpvpcBwdTmBucketOneCdvt"), ("NNCEXTSPVC-MIB", "nncCrSpvpcBwdTmBucketTwoRate"), ("NNCEXTSPVC-MIB", "nncCrSpvpcBwdTmBucketTwoMbs"), ("NNCEXTSPVC-MIB", "nncCrSpvpcBwdTmCdv"), ("NNCEXTSPVC-MIB", "nncCrSpvpcBwdTmClr"), ("NNCEXTSPVC-MIB", "nncCrSpvpcCreator"), ("NNCEXTSPVC-MIB", "nncCrSpvpcRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): nncCrSpvpcGroup = nncCrSpvpcGroup.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcGroup.setDescription('Common MIB objects for configuring a CR SPVPC source end-point across all Alcatel CID ATM platforms.') nncCrSpvpcDstCfgGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 82, 3, 2)).setObjects(("NNCEXTSPVC-MIB", "nncCrSpvpcDstCfgCdvt"), ("NNCEXTSPVC-MIB", "nncCrSpvpcDstCfgPolicing"), ("NNCEXTSPVC-MIB", "nncCrSpvpcDstCfgBillingFlag"), ("NNCEXTSPVC-MIB", "nncCrSpvpcDstCfgLocRerouteConfig"), ("NNCEXTSPVC-MIB", "nncCrSpvpcDstCfgRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): nncCrSpvpcDstCfgGroup = nncCrSpvpcDstCfgGroup.setStatus('current') if mibBuilder.loadTexts: nncCrSpvpcDstCfgGroup.setDescription('Common MIB objects for configuring a Cell Relay SPVPC destination end-point across all Alcatel CID ATM platforms.') nncCrSpvccGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 82, 3, 3)).setObjects(("NNCEXTSPVC-MIB", "nncCrSpvccServiceCategory"), ("NNCEXTSPVC-MIB", "nncCrSpvccTargEpAddr"), ("NNCEXTSPVC-MIB", "nncCrSpvccTargVpi"), ("NNCEXTSPVC-MIB", "nncCrSpvccTargVci"), ("NNCEXTSPVC-MIB", "nncCrSpvccTargDlci"), ("NNCEXTSPVC-MIB", "nncCrSpvccTargCeNumber"), ("NNCEXTSPVC-MIB", "nncCrSpvccTargEpType"), ("NNCEXTSPVC-MIB", "nncCrSpvccAdminStatus"), ("NNCEXTSPVC-MIB", "nncCrSpvccPriority"), ("NNCEXTSPVC-MIB", "nncCrSpvccMaxAdminWeight"), ("NNCEXTSPVC-MIB", "nncCrSpvccOperation"), ("NNCEXTSPVC-MIB", "nncCrSpvccCallStatus"), ("NNCEXTSPVC-MIB", "nncCrSpvccLocRerouteConfig"), ("NNCEXTSPVC-MIB", "nncCrSpvccFwdAbrDynTrfcIcr"), ("NNCEXTSPVC-MIB", "nncCrSpvccFwdAbrDynTrfcRif"), ("NNCEXTSPVC-MIB", "nncCrSpvccFwdAbrDynTrfcRdf"), ("NNCEXTSPVC-MIB", "nncCrSpvccBwdAbrDynTrfcIcr"), ("NNCEXTSPVC-MIB", "nncCrSpvccBwdAbrDynTrfcRif"), ("NNCEXTSPVC-MIB", "nncCrSpvccBwdAbrDynTrfcRdf"), ("NNCEXTSPVC-MIB", "nncCrSpvccSrcBillingFlag"), ("NNCEXTSPVC-MIB", "nncCrSpvccFwdTmTrafficDescriptor"), ("NNCEXTSPVC-MIB", "nncCrSpvccFwdTmPolicingOption"), ("NNCEXTSPVC-MIB", "nncCrSpvccFwdTmBucketOneRate"), ("NNCEXTSPVC-MIB", "nncCrSpvccFwdTmBucketOneCdvt"), ("NNCEXTSPVC-MIB", "nncCrSpvccFwdTmBucketTwoRate"), ("NNCEXTSPVC-MIB", "nncCrSpvccFwdTmBucketTwoMbs"), ("NNCEXTSPVC-MIB", "nncCrSpvccFwdTmCdv"), ("NNCEXTSPVC-MIB", "nncCrSpvccFwdTmClr"), ("NNCEXTSPVC-MIB", "nncCrSpvccFwdTmFrameDiscard"), ("NNCEXTSPVC-MIB", "nncCrSpvccBwdTmTrafficDescriptor"), ("NNCEXTSPVC-MIB", "nncCrSpvccBwdTmPolicingOption"), ("NNCEXTSPVC-MIB", "nncCrSpvccBwdTmBucketOneRate"), ("NNCEXTSPVC-MIB", "nncCrSpvccBwdTmBucketOneCdvt"), ("NNCEXTSPVC-MIB", "nncCrSpvccBwdTmBucketTwoRate"), ("NNCEXTSPVC-MIB", "nncCrSpvccBwdTmBucketTwoMbs"), ("NNCEXTSPVC-MIB", "nncCrSpvccBwdTmCdv"), ("NNCEXTSPVC-MIB", "nncCrSpvccBwdTmClr"), ("NNCEXTSPVC-MIB", "nncCrSpvccBwdTmFrameDiscard"), ("NNCEXTSPVC-MIB", "nncCrSpvccFrBwdTmAr"), ("NNCEXTSPVC-MIB", "nncCrSpvccFrBwdTmCir"), ("NNCEXTSPVC-MIB", "nncCrSpvccFrBwdTmBc"), ("NNCEXTSPVC-MIB", "nncCrSpvccFrBwdTmBe"), ("NNCEXTSPVC-MIB", "nncCrSpvccFrBwdTmIwf"), ("NNCEXTSPVC-MIB", "nncCrSpvccFrBwdTmPo"), ("NNCEXTSPVC-MIB", "nncCrSpvccFrBwdTmPacing"), ("NNCEXTSPVC-MIB", "nncCrSpvccFrBwdTmPtclMapping"), ("NNCEXTSPVC-MIB", "nncCrSpvccFrBwdTmClpMapping"), ("NNCEXTSPVC-MIB", "nncCrSpvccFrBwdTmDeMapping"), ("NNCEXTSPVC-MIB", "nncCrSpvccFrBwdTmEfciMapping"), ("NNCEXTSPVC-MIB", "nncCrSpvccFrBwdTmPvcMgntProfile"), ("NNCEXTSPVC-MIB", "nncCrSpvccFrBwdTmSIWProfile"), ("NNCEXTSPVC-MIB", "nncCrSpvccCreator"), ("NNCEXTSPVC-MIB", "nncCrSpvccRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): nncCrSpvccGroup = nncCrSpvccGroup.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccGroup.setDescription('Common MIB objects for configuring a CR SPVC source end-point across all Alcatel CID ATM platforms.') nncCrSpvccDstCfgGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 82, 3, 4)).setObjects(("NNCEXTSPVC-MIB", "nncCrSpvccDstCfgCdvt"), ("NNCEXTSPVC-MIB", "nncCrSpvccDstCfgPolicing"), ("NNCEXTSPVC-MIB", "nncCrSpvccDstCfgBillingFlag"), ("NNCEXTSPVC-MIB", "nncCrSpvccDstCfgFrVsvdCongestionControl"), ("NNCEXTSPVC-MIB", "nncCrSpvccDstCfgLocRerouteConfig"), ("NNCEXTSPVC-MIB", "nncCrSpvccDstCfgRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): nncCrSpvccDstCfgGroup = nncCrSpvccDstCfgGroup.setStatus('current') if mibBuilder.loadTexts: nncCrSpvccDstCfgGroup.setDescription('Common MIB objects for configuring a Cell Relay SPVC destination end-point across all Alcatel CID ATM platforms.') nncFrSpvcGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 82, 3, 5)).setObjects(("NNCEXTSPVC-MIB", "nncFrSpvcSrcDlci"), ("NNCEXTSPVC-MIB", "nncFrSpvcTargEpAddr"), ("NNCEXTSPVC-MIB", "nncFrSpvcTargDlci"), ("NNCEXTSPVC-MIB", "nncFrSpvcTargVpi"), ("NNCEXTSPVC-MIB", "nncFrSpvcTargVci"), ("NNCEXTSPVC-MIB", "nncFrSpvcTargEpType"), ("NNCEXTSPVC-MIB", "nncFrSpvcAdminStatus"), ("NNCEXTSPVC-MIB", "nncFrSpvcPriority"), ("NNCEXTSPVC-MIB", "nncFrSpvcMaxAdminWeight"), ("NNCEXTSPVC-MIB", "nncFrSpvcOperation"), ("NNCEXTSPVC-MIB", "nncFrSpvcCallStatus"), ("NNCEXTSPVC-MIB", "nncFrSpvcLocRerouteConfig"), ("NNCEXTSPVC-MIB", "nncFrSpvcSrcBillingFlag"), ("NNCEXTSPVC-MIB", "nncFrSpvcFrPriority"), ("NNCEXTSPVC-MIB", "nncFrSpvcFrVsvdCongestionControl"), ("NNCEXTSPVC-MIB", "nncFrSpvcFwdFrMir"), ("NNCEXTSPVC-MIB", "nncFrSpvcFwdTmAr"), ("NNCEXTSPVC-MIB", "nncFrSpvcFwdTmCir"), ("NNCEXTSPVC-MIB", "nncFrSpvcFwdTmBc"), ("NNCEXTSPVC-MIB", "nncFrSpvcFwdTmBe"), ("NNCEXTSPVC-MIB", "nncFrSpvcTmIwf"), ("NNCEXTSPVC-MIB", "nncFrSpvcFwdTmPo"), ("NNCEXTSPVC-MIB", "nncFrSpvcFwdTmPacing"), ("NNCEXTSPVC-MIB", "nncFrSpvcTmPtclMapping"), ("NNCEXTSPVC-MIB", "nncFrSpvcTmClpMapping"), ("NNCEXTSPVC-MIB", "nncFrSpvcTmDeMapping"), ("NNCEXTSPVC-MIB", "nncFrSpvcTmEfciMapping"), ("NNCEXTSPVC-MIB", "nncFrSpvcTmPvcMgntProfile"), ("NNCEXTSPVC-MIB", "nncFrSpvcTmSIWProfile"), ("NNCEXTSPVC-MIB", "nncFrSpvcTmRemapDlci"), ("NNCEXTSPVC-MIB", "nncFrSpvcBwdTmAr"), ("NNCEXTSPVC-MIB", "nncFrSpvcBwdTmCir"), ("NNCEXTSPVC-MIB", "nncFrSpvcBwdTmBc"), ("NNCEXTSPVC-MIB", "nncFrSpvcBwdTmBe"), ("NNCEXTSPVC-MIB", "nncFrSpvcBwdTmPo"), ("NNCEXTSPVC-MIB", "nncFrSpvcBwdTmPacing"), ("NNCEXTSPVC-MIB", "nncFrSpvcCrTmServiceCategory"), ("NNCEXTSPVC-MIB", "nncFrSpvcCrBwdTmTrafficDescriptor"), ("NNCEXTSPVC-MIB", "nncFrSpvcCrBwdTmPolicingOption"), ("NNCEXTSPVC-MIB", "nncFrSpvcCrBwdTmBucketOneRate"), ("NNCEXTSPVC-MIB", "nncFrSpvcCrBwdTmBucketOneCdvt"), ("NNCEXTSPVC-MIB", "nncFrSpvcCrBwdTmBucketTwoRate"), ("NNCEXTSPVC-MIB", "nncFrSpvcCrBwdTmBucketTwoMbs"), ("NNCEXTSPVC-MIB", "nncFrSpvcCrBwdTmCdv"), ("NNCEXTSPVC-MIB", "nncFrSpvcCrBwdTmClr"), ("NNCEXTSPVC-MIB", "nncFrSpvcCrBwdTmFrameDiscard"), ("NNCEXTSPVC-MIB", "nncFrSpvcCreator"), ("NNCEXTSPVC-MIB", "nncFrSpvcRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): nncFrSpvcGroup = nncFrSpvcGroup.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcGroup.setDescription('Common MIB objects for configuring an SPVC using a Frame Relay source end-point across all Alcatel CID ATM platforms.') nncFrSpvcDstCfgGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 82, 3, 6)).setObjects(("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmAr"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmCir"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmBc"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmBe"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmIwf"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmPo"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmPacing"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmPtclMapping"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmClpMapping"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmDeMapping"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmEfciMapping"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmPvcMgntProfile"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmSIWProfile"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgTmRemapDlci"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgBillingFlag"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgFrPriority"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgLocRerouteConfig"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): nncFrSpvcDstCfgGroup = nncFrSpvcDstCfgGroup.setStatus('current') if mibBuilder.loadTexts: nncFrSpvcDstCfgGroup.setDescription('Common MIB objects for configuring a Frame-Relay SPVC destination end-point across all Alcatel CID ATM platforms.') nncCeSpvcGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 82, 3, 7)).setObjects(("NNCEXTSPVC-MIB", "nncCeSpvcTargEpAddr"), ("NNCEXTSPVC-MIB", "nncCeSpvcTargVpi"), ("NNCEXTSPVC-MIB", "nncCeSpvcTargVci"), ("NNCEXTSPVC-MIB", "nncCeSpvcTargCeNumber"), ("NNCEXTSPVC-MIB", "nncCeSpvcTargEpType"), ("NNCEXTSPVC-MIB", "nncCeSpvcAdminStatus"), ("NNCEXTSPVC-MIB", "nncCeSpvcPriority"), ("NNCEXTSPVC-MIB", "nncCeSpvcMaxAdminWeight"), ("NNCEXTSPVC-MIB", "nncCeSpvcOperation"), ("NNCEXTSPVC-MIB", "nncCeSpvcCallStatus"), ("NNCEXTSPVC-MIB", "nncCeSpvcLocRerouteConfig"), ("NNCEXTSPVC-MIB", "nncCeSpvcFwdTmBucketOneRate"), ("NNCEXTSPVC-MIB", "nncCeSpvcFwdTmBucketOneCdvt"), ("NNCEXTSPVC-MIB", "nncCeSpvcBwdTmBucketOneRate"), ("NNCEXTSPVC-MIB", "nncCeSpvcBwdTmBucketOneCdvt"), ("NNCEXTSPVC-MIB", "nncCeSpvcCreator"), ("NNCEXTSPVC-MIB", "nncCeSpvcRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): nncCeSpvcGroup = nncCeSpvcGroup.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcGroup.setDescription('Common MIB objects for configuring a Circuit Emulation-based SPVC source end-point across all Alcatel CID ATM platforms.') nncCeSpvcDstCfgGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 82, 3, 8)).setObjects(("NNCEXTSPVC-MIB", "nncCeSpvcDstCfgCdvt"), ("NNCEXTSPVC-MIB", "nncCeSpvcDstCfgLocRerouteConfig"), ("NNCEXTSPVC-MIB", "nncCeSpvcDstCfgRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): nncCeSpvcDstCfgGroup = nncCeSpvcDstCfgGroup.setStatus('current') if mibBuilder.loadTexts: nncCeSpvcDstCfgGroup.setDescription('Common MIB objects for configuring a Circuit Emulation SPVC destination end-point across all Alcatel CID ATM platforms.') nncSpvcCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 123, 3, 82, 4, 1)).setObjects(("NNCEXTSPVC-MIB", "nncCrSpvpcGroup"), ("NNCEXTSPVC-MIB", "nncCrSpvpcDstCfgGroup"), ("NNCEXTSPVC-MIB", "nncCrSpvccGroup"), ("NNCEXTSPVC-MIB", "nncCrSpvccDstCfgGroup"), ("NNCEXTSPVC-MIB", "nncFrSpvcGroup"), ("NNCEXTSPVC-MIB", "nncFrSpvcDstCfgGroup"), ("NNCEXTSPVC-MIB", "nncCeSpvcGroup"), ("NNCEXTSPVC-MIB", "nncCeSpvcDstCfgGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): nncSpvcCompliance = nncSpvcCompliance.setStatus('current') if mibBuilder.loadTexts: nncSpvcCompliance.setDescription('The compliance statement for Alcatel CID SPVC MIB implementation.') mibBuilder.exportSymbols("NNCEXTSPVC-MIB", nncCrSpvpcTableEntry=nncCrSpvpcTableEntry, nncCeSpvcOperation=nncCeSpvcOperation, nncCrSpvpcBwdTmBucketOneRate=nncCrSpvpcBwdTmBucketOneRate, nncCrSpvccBwdTmPolicingOption=nncCrSpvccBwdTmPolicingOption, nncFrSpvcTargDlci=nncFrSpvcTargDlci, nncCrSpvccFwdTmTrafficDescriptor=nncCrSpvccFwdTmTrafficDescriptor, nncFrSpvcDstCfgTmAr=nncFrSpvcDstCfgTmAr, nncCrSpvpcDstCfgTable=nncCrSpvpcDstCfgTable, nncCrSpvccBwdAbrDynTrfcRdf=nncCrSpvccBwdAbrDynTrfcRdf, nncFrSpvcDstCfgTmCir=nncFrSpvcDstCfgTmCir, nncFrSpvcDstCfgTmDeMapping=nncFrSpvcDstCfgTmDeMapping, nncCrSpvpcDstCfgPolicing=nncCrSpvpcDstCfgPolicing, nncFrSpvcFwdTmAr=nncFrSpvcFwdTmAr, nncFrSpvcFwdTmPo=nncFrSpvcFwdTmPo, nncCrSpvccFwdTmClr=nncCrSpvccFwdTmClr, nncFrSpvcCrBwdTmClr=nncFrSpvcCrBwdTmClr, nncFrSpvcFwdTmPacing=nncFrSpvcFwdTmPacing, nncCrSpvccBwdTmBucketOneCdvt=nncCrSpvccBwdTmBucketOneCdvt, nncFrSpvcDstCfgTmClpMapping=nncFrSpvcDstCfgTmClpMapping, nncCrSpvpcFwdTmPolicingOption=nncCrSpvpcFwdTmPolicingOption, nncFrSpvcBwdTmBc=nncFrSpvcBwdTmBc, nncCrSpvpcAdminStatus=nncCrSpvpcAdminStatus, nncCrSpvpcFwdTmClr=nncCrSpvpcFwdTmClr, nncCrSpvccFwdTmBucketTwoRate=nncCrSpvccFwdTmBucketTwoRate, nncFrSpvcFrVsvdCongestionControl=nncFrSpvcFrVsvdCongestionControl, nncFrSpvcDstCfgTmBe=nncFrSpvcDstCfgTmBe, nncFrSpvcDstCfgTmPacing=nncFrSpvcDstCfgTmPacing, nncCeSpvcCreator=nncCeSpvcCreator, nncCrSpvccTargEpAddr=nncCrSpvccTargEpAddr, nncCrSpvpcBwdTmPolicingOption=nncCrSpvpcBwdTmPolicingOption, nncFrSpvcDstCfgGroup=nncFrSpvcDstCfgGroup, nncFrSpvcTmSIWProfile=nncFrSpvcTmSIWProfile, nncCeSpvcCallStatus=nncCeSpvcCallStatus, nncSpvcCompliance=nncSpvcCompliance, nncCrSpvccFrBwdTmEfciMapping=nncCrSpvccFrBwdTmEfciMapping, nncCrSpvccDstCfgTableEntry=nncCrSpvccDstCfgTableEntry, nncCeSpvcDstCfgLocRerouteConfig=nncCeSpvcDstCfgLocRerouteConfig, nncCrSpvpcBwdAbrDynTrfcRdf=nncCrSpvpcBwdAbrDynTrfcRdf, nncFrSpvcTmRemapDlci=nncFrSpvcTmRemapDlci, nncFrSpvcCrBwdTmCdv=nncFrSpvcCrBwdTmCdv, nncCrSpvccFwdTmBucketOneCdvt=nncCrSpvccFwdTmBucketOneCdvt, nncCrSpvccBwdTmBucketOneRate=nncCrSpvccBwdTmBucketOneRate, nncCeSpvcFwdTmBucketOneCdvt=nncCeSpvcFwdTmBucketOneCdvt, nncCrSpvccFrBwdTmPo=nncCrSpvccFrBwdTmPo, nncCeSpvcTargEpType=nncCeSpvcTargEpType, nncCrSpvpcBwdTmBucketTwoMbs=nncCrSpvpcBwdTmBucketTwoMbs, nncCeSpvcBwdTmBucketOneCdvt=nncCeSpvcBwdTmBucketOneCdvt, nncCrSpvccFrBwdTmClpMapping=nncCrSpvccFrBwdTmClpMapping, nncExtSpvcObjects=nncExtSpvcObjects, nncCrSpvpcDstCfgBillingFlag=nncCrSpvpcDstCfgBillingFlag, nncCrSpvccFrBwdTmPvcMgntProfile=nncCrSpvccFrBwdTmPvcMgntProfile, nncCrSpvccFrBwdTmSIWProfile=nncCrSpvccFrBwdTmSIWProfile, nncCrSpvccCreator=nncCrSpvccCreator, nncFrSpvcCallStatus=nncFrSpvcCallStatus, nncCrSpvccPriority=nncCrSpvccPriority, nncCrSpvccBwdTmBucketTwoRate=nncCrSpvccBwdTmBucketTwoRate, nncCrSpvccBwdTmCdv=nncCrSpvccBwdTmCdv, nncCrSpvccTargVci=nncCrSpvccTargVci, nncCrSpvpcBwdAbrDynTrfcRif=nncCrSpvpcBwdAbrDynTrfcRif, nncFrSpvcCrBwdTmBucketTwoRate=nncFrSpvcCrBwdTmBucketTwoRate, nncCeSpvcFwdTmBucketOneRate=nncCeSpvcFwdTmBucketOneRate, nncCrSpvccFrBwdTmDeMapping=nncCrSpvccFrBwdTmDeMapping, nncCrSpvccTargEpType=nncCrSpvccTargEpType, nncCrSpvccFwdTmBucketOneRate=nncCrSpvccFwdTmBucketOneRate, nncCeSpvcLocRerouteConfig=nncCeSpvcLocRerouteConfig, nncCrSpvccFwdTmBucketTwoMbs=nncCrSpvccFwdTmBucketTwoMbs, nncFrSpvcSrcBillingFlag=nncFrSpvcSrcBillingFlag, nncCrSpvpcFwdTmTrafficDescriptor=nncCrSpvpcFwdTmTrafficDescriptor, nncFrSpvcSrcDlci=nncFrSpvcSrcDlci, nncCrSpvpcCreator=nncCrSpvpcCreator, nncCrSpvccCallStatus=nncCrSpvccCallStatus, nncCrSpvccFwdAbrDynTrfcIcr=nncCrSpvccFwdAbrDynTrfcIcr, nncCeSpvcTargVpi=nncCeSpvcTargVpi, nncCrSpvpcRowStatus=nncCrSpvpcRowStatus, nncCrSpvccBwdTmClr=nncCrSpvccBwdTmClr, nncCrSpvccFrBwdTmPtclMapping=nncCrSpvccFrBwdTmPtclMapping, nncFrSpvcDstCfgLocRerouteConfig=nncFrSpvcDstCfgLocRerouteConfig, nncCeSpvcRowStatus=nncCeSpvcRowStatus, nncCrSpvccFwdTmPolicingOption=nncCrSpvccFwdTmPolicingOption, nncCrSpvpcFwdTmBucketTwoMbs=nncCrSpvpcFwdTmBucketTwoMbs, nncCrSpvccFwdAbrDynTrfcRif=nncCrSpvccFwdAbrDynTrfcRif, nncCeSpvcDstCfgCdvt=nncCeSpvcDstCfgCdvt, nncCrSpvccBwdTmBucketTwoMbs=nncCrSpvccBwdTmBucketTwoMbs, nncCrSpvpcTargEpAddr=nncCrSpvpcTargEpAddr, nncFrSpvcCrTmServiceCategory=nncFrSpvcCrTmServiceCategory, nncCrSpvccGroup=nncCrSpvccGroup, nncFrSpvcCrBwdTmBucketOneCdvt=nncFrSpvcCrBwdTmBucketOneCdvt, nncFrSpvcBwdTmBe=nncFrSpvcBwdTmBe, nncFrSpvcPriority=nncFrSpvcPriority, nncCrSpvpcTable=nncCrSpvpcTable, nncCrSpvccServiceCategory=nncCrSpvccServiceCategory, nncCrSpvccDstCfgPolicing=nncCrSpvccDstCfgPolicing, nncCrSpvpcPriority=nncCrSpvpcPriority, nncCrSpvccTable=nncCrSpvccTable, nncCrSpvpcFwdAbrDynTrfcIcr=nncCrSpvpcFwdAbrDynTrfcIcr, nncCrSpvpcFwdTmBucketTwoRate=nncCrSpvpcFwdTmBucketTwoRate, nncCrSpvpcBwdTmBucketOneCdvt=nncCrSpvpcBwdTmBucketOneCdvt, nncFrSpvcBwdFrMir=nncFrSpvcBwdFrMir, nncCeSpvcTargEpAddr=nncCeSpvcTargEpAddr, nncFrSpvcDstCfgBillingFlag=nncFrSpvcDstCfgBillingFlag, nncFrSpvcDstCfgTmBc=nncFrSpvcDstCfgTmBc, nncFrSpvcCreator=nncFrSpvcCreator, nncCrSpvccFwdTmCdv=nncCrSpvccFwdTmCdv, nncCrSpvpcBwdTmCdv=nncCrSpvpcBwdTmCdv, nncCrSpvpcDstCfgGroup=nncCrSpvpcDstCfgGroup, nncCrSpvccTargVpi=nncCrSpvccTargVpi, nncCrSpvpcDstCfgTableEntry=nncCrSpvpcDstCfgTableEntry, nncCrSpvccTargDlci=nncCrSpvccTargDlci, nncFrSpvcTargEpType=nncFrSpvcTargEpType, nncFrSpvcTmClpMapping=nncFrSpvcTmClpMapping, nncCrSpvccTableEntry=nncCrSpvccTableEntry, nncFrSpvcGroup=nncFrSpvcGroup, nncCrSpvccRowStatus=nncCrSpvccRowStatus, nncFrSpvcCrBwdTmPolicingOption=nncFrSpvcCrBwdTmPolicingOption, nncCrSpvpcBwdTmBucketTwoRate=nncCrSpvpcBwdTmBucketTwoRate, nncExtSpvcCompliances=nncExtSpvcCompliances, nncCrSpvpcMaxAdminWeight=nncCrSpvpcMaxAdminWeight, nncFrSpvcDstCfgTable=nncFrSpvcDstCfgTable, nncCrSpvccDstCfgLocRerouteConfig=nncCrSpvccDstCfgLocRerouteConfig, nncCeSpvcDstCfgRowStatus=nncCeSpvcDstCfgRowStatus, nncFrSpvcDstCfgFrPriority=nncFrSpvcDstCfgFrPriority, nncFrSpvcDstCfgTmPvcMgntProfile=nncFrSpvcDstCfgTmPvcMgntProfile, nncCrSpvccFrBwdTmBe=nncCrSpvccFrBwdTmBe, nncCrSpvccBwdTmTrafficDescriptor=nncCrSpvccBwdTmTrafficDescriptor, nncCrSpvccOperation=nncCrSpvccOperation, nncFrSpvcDstCfgTmPtclMapping=nncFrSpvcDstCfgTmPtclMapping, nncFrSpvcFwdTmBc=nncFrSpvcFwdTmBc, nncCrSpvpcBwdAbrDynTrfcIcr=nncCrSpvpcBwdAbrDynTrfcIcr, nncCeSpvcAdminStatus=nncCeSpvcAdminStatus, nncCrSpvpcDstCfgLocRerouteConfig=nncCrSpvpcDstCfgLocRerouteConfig, nncCrSpvpcTargVpi=nncCrSpvpcTargVpi, nncCrSpvpcFwdTmCdv=nncCrSpvpcFwdTmCdv, nncCrSpvccBwdAbrDynTrfcRif=nncCrSpvccBwdAbrDynTrfcRif, nncCeSpvcBwdTmBucketOneRate=nncCeSpvcBwdTmBucketOneRate, nncFrSpvcBwdTmPo=nncFrSpvcBwdTmPo, nncCeSpvcDstCfgGroup=nncCeSpvcDstCfgGroup, nncExtSpvc=nncExtSpvc, nncFrSpvcTargEpAddr=nncFrSpvcTargEpAddr, nncCrSpvccTargCeNumber=nncCrSpvccTargCeNumber, nncCrSpvccFrBwdTmBc=nncCrSpvccFrBwdTmBc, nncCrSpvpcBwdTmTrafficDescriptor=nncCrSpvpcBwdTmTrafficDescriptor, nncFrSpvcTargVci=nncFrSpvcTargVci, nncCeSpvcTableEntry=nncCeSpvcTableEntry, nncCeSpvcTargVci=nncCeSpvcTargVci, nncCeSpvcTable=nncCeSpvcTable, nncCeSpvcPriority=nncCeSpvcPriority, nncFrSpvcRowStatus=nncFrSpvcRowStatus, nncCrSpvccFrBwdTmAr=nncCrSpvccFrBwdTmAr, nncCrSpvpcLocRerouteConfig=nncCrSpvpcLocRerouteConfig, nncFrSpvcTable=nncFrSpvcTable, nncCrSpvpcDstCfgCdvt=nncCrSpvpcDstCfgCdvt, nncFrSpvcBwdTmPacing=nncFrSpvcBwdTmPacing, nncCrSpvpcFwdTmBucketOneRate=nncCrSpvpcFwdTmBucketOneRate, nncFrSpvcTargVpi=nncFrSpvcTargVpi, PYSNMP_MODULE_ID=nncExtSpvc, nncCrSpvccDstCfgCdvt=nncCrSpvccDstCfgCdvt, nncCrSpvpcBwdTmClr=nncCrSpvpcBwdTmClr, AtmFormatDisplay=AtmFormatDisplay, nncFrSpvcFwdTmBe=nncFrSpvcFwdTmBe, nncCrSpvpcCallStatus=nncCrSpvpcCallStatus, nncFrSpvcCrBwdTmBucketTwoMbs=nncFrSpvcCrBwdTmBucketTwoMbs, nncCrSpvpcDstCfgRowStatus=nncCrSpvpcDstCfgRowStatus, nncCrSpvccFrBwdTmPacing=nncCrSpvccFrBwdTmPacing, nncCrSpvccFrBwdTmCir=nncCrSpvccFrBwdTmCir, nncFrSpvcCrBwdTmTrafficDescriptor=nncFrSpvcCrBwdTmTrafficDescriptor, nncCeSpvcDstCfgTableEntry=nncCeSpvcDstCfgTableEntry, nncFrSpvcTmDeMapping=nncFrSpvcTmDeMapping, nncFrSpvcDstCfgTmSIWProfile=nncFrSpvcDstCfgTmSIWProfile, nncCrSpvccMaxAdminWeight=nncCrSpvccMaxAdminWeight, nncFrSpvcFrPriority=nncFrSpvcFrPriority, nncCrSpvccLocRerouteConfig=nncCrSpvccLocRerouteConfig, nncFrSpvcDstCfgTmPo=nncFrSpvcDstCfgTmPo, nncCrSpvccFrBwdTmIwf=nncCrSpvccFrBwdTmIwf, nncCrSpvccDstCfgBillingFlag=nncCrSpvccDstCfgBillingFlag, nncFrSpvcMaxAdminWeight=nncFrSpvcMaxAdminWeight, nncCrSpvccFwdAbrDynTrfcRdf=nncCrSpvccFwdAbrDynTrfcRdf, nncFrSpvcAdminStatus=nncFrSpvcAdminStatus, nncExtSpvcGroups=nncExtSpvcGroups, nncFrSpvcTmEfciMapping=nncFrSpvcTmEfciMapping, nncFrSpvcDstCfgTmEfciMapping=nncFrSpvcDstCfgTmEfciMapping, nncCrSpvccBwdAbrDynTrfcIcr=nncCrSpvccBwdAbrDynTrfcIcr, nncCrSpvccFwdTmFrameDiscard=nncCrSpvccFwdTmFrameDiscard, nncCeSpvcTargCeNumber=nncCeSpvcTargCeNumber, nncCrSpvccDstCfgRowStatus=nncCrSpvccDstCfgRowStatus, nncFrSpvcFwdTmCir=nncFrSpvcFwdTmCir, nncFrSpvcBwdTmCir=nncFrSpvcBwdTmCir, nncCrSpvccDstCfgTable=nncCrSpvccDstCfgTable, nncFrSpvcTmPtclMapping=nncFrSpvcTmPtclMapping, nncCrSpvpcFwdAbrDynTrfcRdf=nncCrSpvpcFwdAbrDynTrfcRdf, nncFrSpvcTmIwf=nncFrSpvcTmIwf, nncCrSpvccAdminStatus=nncCrSpvccAdminStatus, nncFrSpvcDstCfgTableEntry=nncFrSpvcDstCfgTableEntry, nncFrSpvcTableEntry=nncFrSpvcTableEntry, nncFrSpvcBwdTmAr=nncFrSpvcBwdTmAr, nncFrSpvcDstCfgTmRemapDlci=nncFrSpvcDstCfgTmRemapDlci, nncCrSpvccDstCfgGroup=nncCrSpvccDstCfgGroup, nncCrSpvpcFwdTmBucketOneCdvt=nncCrSpvpcFwdTmBucketOneCdvt, nncCeSpvcGroup=nncCeSpvcGroup, nncFrSpvcFwdFrMir=nncFrSpvcFwdFrMir, nncCrSpvpcSrcBillingFlag=nncCrSpvpcSrcBillingFlag, nncCeSpvcDstCfgTable=nncCeSpvcDstCfgTable, nncFrSpvcLocRerouteConfig=nncFrSpvcLocRerouteConfig, nncCrSpvpcOperation=nncCrSpvpcOperation, nncCrSpvccSrcBillingFlag=nncCrSpvccSrcBillingFlag, nncCrSpvccBwdTmFrameDiscard=nncCrSpvccBwdTmFrameDiscard, nncFrSpvcCrBwdTmBucketOneRate=nncFrSpvcCrBwdTmBucketOneRate, nncCrSpvpcGroup=nncCrSpvpcGroup, nncFrSpvcDstCfgTmIwf=nncFrSpvcDstCfgTmIwf, nncCrSpvpcServiceCategory=nncCrSpvpcServiceCategory, nncFrSpvcOperation=nncFrSpvcOperation, nncCeSpvcMaxAdminWeight=nncCeSpvcMaxAdminWeight, nncFrSpvcCrBwdTmFrameDiscard=nncFrSpvcCrBwdTmFrameDiscard, nncFrSpvcDstCfgRowStatus=nncFrSpvcDstCfgRowStatus, nncFrSpvcTmPvcMgntProfile=nncFrSpvcTmPvcMgntProfile, nncCrSpvccDstCfgFrVsvdCongestionControl=nncCrSpvccDstCfgFrVsvdCongestionControl, nncCrSpvpcFwdAbrDynTrfcRif=nncCrSpvpcFwdAbrDynTrfcRif)
#!/usr/bin/python3 # -*- coding : UTF-8 -*- """ Name : Pyrix/Exceptions\n Author : Abhi-1U <https://github.com/Abhi-1U>\n Description : Exceptions are implemented here \n Encoding : UTF-8\n Version :0.7.19\n Build :0.7.19/21-12-2020 """ class ExceptionTemplate(Exception): def __call__(self, *args): return self.__class__(*(self.args + args)) def __str__(self): return ": ".join(self.args) class bitWiseOnMatrix(ExceptionTemplate): """ Traditional Bitwise Operators are not allowed to work on matrix objects as of now.\n Maybe in future we will find a creative use case of them. """ class binaryMatrixException(ExceptionTemplate): """ Not a Binary Matrix """ class divisionErrorException(ExceptionTemplate): """ Can Matrices be Divided ? """ class incompaitableTypeException(Exception): """ If you come across this Exception then the issue is probably out of these four cases:\n Case 1: The dimensions of matrices dont match for the operation to happen\n Case 2: The matrix is not a square matrix\n Case 3: The matrices do not satisfy the condition for multiplication\n Case 4: The Data of the Matrix is not of the Dimensions Given. """ class nonInvertibleException(Exception): """ Matrix is not invertible due to its singular nature and determinant being zero. """
# Client Messages disconnectServer = "[x] Server disconnected." keysUnpacked = "[+] Symmetric keys unpacked." keysUnpackFail = "[x] Keys not unpacked. Try again." welcome = "@Yo: You're in. Welcome to the underground." # Default Commands bootNoUser = "[!] Which user do you want to boot? Eg: /boot <user>" bootUserNotFound = "[x] No one here by that name. Try again." bootMsg = "[x_x] You've been kicked sucka! [x_x]" bootSelf = "[x] Whoops! Can't boot yourself bub" bootSuccess = "[!] You successfully booted" # Handshake getNick = "[+] What is your name? @" getNickAgain = "[x] User already exists. Try something else: @" getNickErr = "[x] Handle needs at least one character. Try again" keysNewPub = "[+] New NACL keys generated." keysNewSign = "[+] New NACL signing keys generated." # Server Messages connectAttempt = "[/] Client trying to connect..." connectFailed = "[x] Connection failed. Check server address or port." connectListening = "[*] Listening for connections..." disconnectClient = "[x] Client disconnected." sendStatus = "[*] ===> Send status to client."
"""Aggregator functions are monkey patched into the DarshanReport object during initialization of DarshanReport class. .. note:: These functions are only enabled if the `darshan.enable_experimental(True)` function is called. Example usage:: import darshan import darshan.report dasrhan.enable_experimental(True) report = darshan.report.DarshanReport() ... result = report.agg_ioops() """
class Solution: """ @param grid: Given a 2D grid, each cell is either 'W', 'E' or '0' @return: an integer, the maximum enemies you can kill using one bomb """ def maxKilledEnemies(self, grid): if grid == []: return 0 n_row, n_col = len(grid), len(grid[0]) res = 0 bombs_cols = [0] * n_col for i in range(n_row): for j in range(n_col): if j == 0 or grid[i][j-1] == 'W': bombs_row = 0 for k in range(j, n_col): if grid[i][k] == 'E': bombs_row += 1 if grid[i][k] == 'W': break if i == 0 or grid[i-1][j] == 'W': bombs_cols[j] = 0 for k in range(i, n_row): if grid[k][j] == 'E': bombs_cols[j] += 1 if grid[k][j] == 'W': break if grid[i][j] == '0' and bombs_row + bombs_cols[j] > res: res = bombs_row + bombs_cols[j] return res
# name: csc_devices.py # desc: lists all devices with devicename, IP, username, password, secret router_013 = {'device_name': 'router_013', 'device_type': 'cisco_nxos', 'ip': '1.1.1.10', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } router_023 = {'device_name': 'router_023', 'device_type': 'cisco_nxos', 'ip': '1.1.1.11', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } router_014 = {'device_name': 'router_014', 'device_type': 'cisco_nxos', 'ip': '1.1.1.26', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } router_024 = {'device_name': 'router_024', 'device_type': 'cisco_nxos', 'ip': '1.1.1.27', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } switch_013 = {'device_name': 'switch_013', 'device_type': 'cisco_nxos', 'ip': '1.1.1.3', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } switch_023 = {'device_name': 'switch_023', 'device_type': 'cisco_nxos', 'ip': '1.1.1.4', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } switch_033 = {'device_name': 'switch_033', 'device_type': 'cisco_nxos', 'ip': '1.1.1.5', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } switch_043 = {'device_name': 'switch_043', 'device_type': 'cisco_nxos', 'ip': '1.1.1.6', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } switch_053 = {'device_name': 'switch_053', 'device_type': 'cisco_nxos', 'ip': '1.1.1.7', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } switch_063 = {'device_name': 'switch_063', 'device_type': 'cisco_nxos', 'ip': '1.1.1.8', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } switch_014 = {'device_name': 'switch_014', 'device_type': 'cisco_nxos', 'ip': '1.1.1.19', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } switch_024 = {'device_name': 'switch_024', 'device_type': 'cisco_nxos', 'ip': '1.1.1.20', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } switch_034 = {'device_name': 'switch_034', 'device_type': 'cisco_nxos', 'ip': '1.1.1.21', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } switch_044 = {'device_name': 'switch_044', 'device_type': 'cisco_nxos', 'ip': '1.1.1.22', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } switch_054 = {'device_name': 'switch_054', 'device_type': 'cisco_nxos', 'ip': '1.1.1.23', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', } switch_064 = {'device_name': 'switch_064', 'device_type': 'cisco_nxos', 'ip': '1.1.1.24', 'username': 'dummy_username', 'password': 'dummy_password', 'port': 22, 'verbose': False, 'secret': 'dummy_secret', }
# class Persona: # #def __init__(self): # def __init__(self,nombre,apellido,edad): # self.nombre = nombre # self.apellido = apellido # self.edad = edad # persona1 = Persona('Juan','Castellanos',21) # print(f'Objeto Persona 1: {persona1.nombre} {persona1.apellido} {persona1.edad}') # #Modificar atributos directamente # persona1.nombre = 'Juan Manuel' # persona1.apellido = 'Juarez' # persona1.edad = 34 # print(f'Objeto Persona 1: {persona1.nombre} {persona1.apellido} {persona1.edad}') # persona2 = Persona('Gabriela','Rodriguez', 20) # print(f'Objeto Persona 2: {persona2.nombre} {persona2.apellido} {persona2.edad}') class Person: # self puede llamarse this, pero en python se recomienda el uso de self def __init__(self, name:str, last_name:str, age:int): self.name = name self.last_name = last_name self.age = age def show_details(self): print(f'Person: {self.name} {self.last_name} {self.age}') persona1 = Person('Juan', 'Castellanos',21) persona1.show_details() print('-------------') #Otra forma de llamar metodos, pero requieren por parametro un objeto Person.show_details(persona1) persona1.telefono = '3223432343' print(f'Telefono de persona1 :{persona1.telefono}') persona2 = Person('Gabriela', 'Rodriguez', 20) persona2.show_details()
# # PySNMP MIB module XEDIA-DRIVER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/XEDIA-DRIVER-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:42:41 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint, SingleValueConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "SingleValueConstraint", "ValueSizeConstraint") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance") Counter32, MibIdentifier, NotificationType, TimeTicks, Bits, ObjectIdentity, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, Unsigned32, Counter64, ModuleIdentity, IpAddress, iso = mibBuilder.importSymbols("SNMPv2-SMI", "Counter32", "MibIdentifier", "NotificationType", "TimeTicks", "Bits", "ObjectIdentity", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "Unsigned32", "Counter64", "ModuleIdentity", "IpAddress", "iso") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") xediaMibs, = mibBuilder.importSymbols("XEDIA-REG", "xediaMibs") xediaDriverMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 838, 3, 6)) if mibBuilder.loadTexts: xediaDriverMIB.setLastUpdated('9703252155Z') if mibBuilder.loadTexts: xediaDriverMIB.setOrganization('Xedia Corp.') if mibBuilder.loadTexts: xediaDriverMIB.setContactInfo('[email protected]') if mibBuilder.loadTexts: xediaDriverMIB.setDescription('This module defines proprietary objects that extend those in the driver type MIBs.') xdriverObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 838, 3, 6, 1)) xdriverConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 838, 3, 6, 2)) xdriverStatsTable = MibTable((1, 3, 6, 1, 4, 1, 838, 3, 6, 1, 1), ) if mibBuilder.loadTexts: xdriverStatsTable.setStatus('current') if mibBuilder.loadTexts: xdriverStatsTable.setDescription('Xedia proprietary statistics for drivers.') xdriverStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 838, 3, 6, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: xdriverStatsEntry.setStatus('current') if mibBuilder.loadTexts: xdriverStatsEntry.setDescription('Xedia proprietary statistics for single driver interface.') xdriverStatsInternalQOverflows = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 6, 1, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xdriverStatsInternalQOverflows.setStatus('current') if mibBuilder.loadTexts: xdriverStatsInternalQOverflows.setDescription("A count of the number of times the driver software failed to drain the hardware's statistics queue fast enough (and therefore may not have incremented some statistics properly).") xdriverStatsOutGoodFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 6, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xdriverStatsOutGoodFrames.setStatus('current') if mibBuilder.loadTexts: xdriverStatsOutGoodFrames.setDescription('The total number of frames that were transmitted without error. This is the sum of ifOutUcastPkts, ifOutMulticastPkts, and ifOutBroadcastPkts.') xdriverStatsOutPercentGood = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 6, 1, 1, 1, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('%').setMaxAccess("readonly") if mibBuilder.loadTexts: xdriverStatsOutPercentGood.setStatus('current') if mibBuilder.loadTexts: xdriverStatsOutPercentGood.setDescription('The percentage of the total frames that were transmitted without error. (This is the throughput of the interface.)') xdriverStatsOutPercentBad = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 6, 1, 1, 1, 4), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('%').setMaxAccess("readonly") if mibBuilder.loadTexts: xdriverStatsOutPercentBad.setStatus('current') if mibBuilder.loadTexts: xdriverStatsOutPercentBad.setDescription('The percentage of the total frames that the higher layers requested to be transmitted that could not be due to errors.') xdriverStatsOutAvgFrameLen = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 6, 1, 1, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xdriverStatsOutAvgFrameLen.setStatus('current') if mibBuilder.loadTexts: xdriverStatsOutAvgFrameLen.setDescription('The average length of the frames transmitted out this interface.') xdriverStatsInCRCErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 6, 1, 1, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xdriverStatsInCRCErrors.setStatus('current') if mibBuilder.loadTexts: xdriverStatsInCRCErrors.setDescription('The number of frames that had CRC errors on this interface.') xdriverStatsInGoodFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 6, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xdriverStatsInGoodFrames.setStatus('current') if mibBuilder.loadTexts: xdriverStatsInGoodFrames.setDescription('The number of frames that were received on this interface that did not have errors.') xdriverStatsInNoResources = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 6, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xdriverStatsInNoResources.setStatus('current') if mibBuilder.loadTexts: xdriverStatsInNoResources.setDescription('The number of times the driver was suspended because of a lack of resources.') xdriverStatsInPercentGood = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 6, 1, 1, 1, 9), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('%').setMaxAccess("readonly") if mibBuilder.loadTexts: xdriverStatsInPercentGood.setStatus('current') if mibBuilder.loadTexts: xdriverStatsInPercentGood.setDescription('The percentage of incoming frames that did not have any error.') xdriverStatsInPercentBad = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 6, 1, 1, 1, 10), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('%').setMaxAccess("readonly") if mibBuilder.loadTexts: xdriverStatsInPercentBad.setStatus('current') if mibBuilder.loadTexts: xdriverStatsInPercentBad.setDescription('The percentage of incoming frames that had errors.') xdriverStatsInAvgFrameLen = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 6, 1, 1, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xdriverStatsInAvgFrameLen.setStatus('current') if mibBuilder.loadTexts: xdriverStatsInAvgFrameLen.setDescription('The average length of a frame received on the interface.') xdriverCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 838, 3, 6, 2, 1)) xdriverGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 838, 3, 6, 2, 2)) xdriverCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 838, 3, 6, 2, 1, 1)).setObjects(("XEDIA-DRIVER-MIB", "xdriverGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): xdriverCompliance = xdriverCompliance.setStatus('current') if mibBuilder.loadTexts: xdriverCompliance.setDescription('The compliance statement for all agents that support this MIB. A compliant agent implements all objects defined in this MIB.') xdriverGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 838, 3, 6, 2, 2, 1)).setObjects(("XEDIA-DRIVER-MIB", "xdriverStatsInternalQOverflows"), ("XEDIA-DRIVER-MIB", "xdriverStatsOutGoodFrames"), ("XEDIA-DRIVER-MIB", "xdriverStatsOutPercentGood"), ("XEDIA-DRIVER-MIB", "xdriverStatsOutPercentBad"), ("XEDIA-DRIVER-MIB", "xdriverStatsOutAvgFrameLen"), ("XEDIA-DRIVER-MIB", "xdriverStatsInCRCErrors"), ("XEDIA-DRIVER-MIB", "xdriverStatsInGoodFrames"), ("XEDIA-DRIVER-MIB", "xdriverStatsInNoResources"), ("XEDIA-DRIVER-MIB", "xdriverStatsInPercentGood"), ("XEDIA-DRIVER-MIB", "xdriverStatsInPercentBad"), ("XEDIA-DRIVER-MIB", "xdriverStatsInAvgFrameLen")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): xdriverGroup = xdriverGroup.setStatus('current') if mibBuilder.loadTexts: xdriverGroup.setDescription('The set of all accessible objects in this MIB.') mibBuilder.exportSymbols("XEDIA-DRIVER-MIB", xdriverStatsInNoResources=xdriverStatsInNoResources, xdriverStatsInPercentBad=xdriverStatsInPercentBad, xdriverConformance=xdriverConformance, xdriverStatsOutAvgFrameLen=xdriverStatsOutAvgFrameLen, xdriverObjects=xdriverObjects, xdriverStatsInGoodFrames=xdriverStatsInGoodFrames, xdriverStatsInCRCErrors=xdriverStatsInCRCErrors, xdriverStatsInPercentGood=xdriverStatsInPercentGood, xdriverStatsOutGoodFrames=xdriverStatsOutGoodFrames, xdriverStatsOutPercentGood=xdriverStatsOutPercentGood, xdriverStatsInAvgFrameLen=xdriverStatsInAvgFrameLen, xdriverCompliances=xdriverCompliances, xdriverGroup=xdriverGroup, xdriverCompliance=xdriverCompliance, xdriverStatsInternalQOverflows=xdriverStatsInternalQOverflows, xdriverStatsOutPercentBad=xdriverStatsOutPercentBad, xdriverStatsTable=xdriverStatsTable, xdriverGroups=xdriverGroups, PYSNMP_MODULE_ID=xediaDriverMIB, xdriverStatsEntry=xdriverStatsEntry, xediaDriverMIB=xediaDriverMIB)
DEFAULT_FILENAME = "output_test_file.txt" DEFAULT_CONTENT = [ "Obi-Wan Kenobi: Hello there.", "General Grievous: General Kenobi. You are a bold one." ] def main(): filename = DEFAULT_FILENAME content = DEFAULT_CONTENT; with open(filename, "w") as text_file: for line in content: text_file.write(line + "\n") if __name__ == "__main__": main()
def set_mode(mode_enum): """设置整机的3种运动模式""" pass def get_battery_percentage() -> int: """整机剩余电量,返回0-100的整数""" pass
# # @lc app=leetcode.cn id=303 lang=python3 # # [303] 区域和检索 - 数组不可变 # # https://leetcode-cn.com/problems/range-sum-query-immutable/description/ # # algorithms # Easy (71.37%) # Likes: 328 # Dislikes: 0 # Total Accepted: 114.2K # Total Submissions: 159.8K # Testcase Example: '["NumArray","sumRange","sumRange","sumRange"]\n' + # '[[[-2,0,3,-5,2,-1]],[0,2],[2,5],[0,5]]' # # 给定一个整数数组  nums,求出数组从索引 i 到 j(i ≤ j)范围内元素的总和,包含 i、j 两点。 # # # # 实现 NumArray 类: # # # NumArray(int[] nums) 使用数组 nums 初始化对象 # int sumRange(int i, int j) 返回数组 nums 从索引 i 到 j(i ≤ j)范围内元素的总和,包含 i、j 两点(也就是 # sum(nums[i], nums[i + 1], ... , nums[j])) # # # # # 示例: # # # 输入: # ["NumArray", "sumRange", "sumRange", "sumRange"] # [[[-2, 0, 3, -5, 2, -1]], [0, 2], [2, 5], [0, 5]] # 输出: # [null, 1, -1, -3] # # 解释: # NumArray numArray = new NumArray([-2, 0, 3, -5, 2, -1]); # numArray.sumRange(0, 2); // return 1 ((-2) + 0 + 3) # numArray.sumRange(2, 5); // return -1 (3 + (-5) + 2 + (-1)) # numArray.sumRange(0, 5); // return -3 ((-2) + 0 + 3 + (-5) + 2 + (-1)) # # # # # 提示: # # # 0 # -10^5  # 0 # 最多调用 10^4 次 sumRange 方法 # # # # # # @lc code=start class NumArray: def __init__(self, nums: List[int]): self.array = nums def sumRange(self, left: int, right: int) -> int: return sum(self.array[left:right+1]) # Your NumArray object will be instantiated and called as such: # obj = NumArray(nums) # param_1 = obj.sumRange(left,right) # @lc code=end
# # PySNMP MIB module XYLAN-ATM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/XYLAN-ATM-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:44:48 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion", "SingleValueConstraint") MacAddress, = mibBuilder.importSymbols("BRIDGE-MIB", "MacAddress") LecDataFrameSize, lecIndex = mibBuilder.importSymbols("LAN-EMULATION-CLIENT-MIB", "LecDataFrameSize", "lecIndex") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, IpAddress, MibIdentifier, Bits, Counter64, Gauge32, Counter32, Integer32, iso, NotificationType, Unsigned32, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "IpAddress", "MibIdentifier", "Bits", "Counter64", "Gauge32", "Counter32", "Integer32", "iso", "NotificationType", "Unsigned32", "TimeTicks") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") xylanAtmArch, = mibBuilder.importSymbols("XYLAN-BASE-MIB", "xylanAtmArch") class AtmAdminStatCodes(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("disable", 1), ("enable", 2), ("delete", 3), ("create", 4)) class AtmOperStatCodes(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("other", 1), ("inService", 2), ("outOfService", 3), ("loopBack", 4)) class AtmServiceOperStatCodes(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("disable", 1), ("enabling", 2), ("enabled", 3), ("unknown", 4)) class AtmConnectionOperStatCodes(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5)) namedValues = NamedValues(("unknown", 1), ("end2EndUp", 2), ("end2EndDown", 3), ("localUpEnd2EndUnknown", 4), ("localDown", 5)) class AtmTransmissionTypes(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7)) namedValues = NamedValues(("unknown", 1), ("sonetSTS3c", 2), ("ds3", 3), ("atm4b5b", 4), ("atm8b10b", 5), ("e3", 6), ("sonetSTS12c", 7)) class AtmMediaTypes(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6)) namedValues = NamedValues(("unknown", 1), ("coaxCable", 2), ("singleMode", 3), ("multiMode", 4), ("stp", 5), ("utp", 6)) class AtmTrafficDescrTypes(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8)) namedValues = NamedValues(("none", 1), ("peakrate", 2), ("noClpNoScr", 3), ("clpNoTaggingNoScr", 4), ("clpTaggingNoScr", 5), ("noClpScr", 6), ("clpNoTaggingScr", 7), ("clpTaggingScr", 8)) class XylanAtmLaneAddress(DisplayString): pass class VpiInteger(Integer32): pass class VciInteger(Integer32): pass class LecState(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7)) namedValues = NamedValues(("initialState", 1), ("lecsConnect", 2), ("configure", 3), ("join", 4), ("initialRegistration", 5), ("busConnect", 6), ("operational", 7)) class LecDataFrameFormat(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("unspecified", 1), ("aflane8023", 2), ("aflane8025", 3)) class LeArpTableEntryType(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5)) namedValues = NamedValues(("other", 1), ("learnedViaControl", 2), ("learnedViaData", 3), ("staticVolatile", 4), ("staticNonVolatile", 5)) class LeArpType(Integer32): subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("other", 1), ("arpRdType", 2), ("arpEsiType", 3)) atmxPortGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 800, 2, 4, 1)) atmxServiceGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 800, 2, 4, 2)) atmxLayerStatsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 800, 2, 4, 3)) atmxVccStatsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 800, 2, 4, 4)) atmxVccGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 800, 2, 4, 5)) atmxAddressGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 800, 2, 4, 6)) atmxArpGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 800, 2, 4, 7)) atmxLaneGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 800, 2, 4, 8)) atmxCIPstatsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 800, 2, 4, 9)) atmxSahiBWGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 800, 2, 4, 11)) atmxLsmGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 800, 2, 4, 13)) atmx1483ScaleGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 800, 2, 4, 12)) atmxPortTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1), ) if mibBuilder.loadTexts: atmxPortTable.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortTable.setDescription("A table of port layer status and parameter information for the UNI's physical interface.") atmxPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxPortSlotIndex"), (0, "XYLAN-ATM-MIB", "atmxPortPortIndex")) if mibBuilder.loadTexts: atmxPortEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortEntry.setDescription('An entry in the table, containing information about the physical layer of a UNI interface.') atmxPortSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 9))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxPortSlotIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortSlotIndex.setDescription('A unique value which identifies this hsm board slot.') atmxPortPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxPortPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortPortIndex.setDescription('A unique value which identifies this atm submodule port.') atmxPortDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortDescription.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortDescription.setDescription('A description for this atm port.') atmxPortConnectionType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("pvc", 1), ("svc", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortConnectionType.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortConnectionType.setDescription('The connection type of this board.') atmxPortTransmissionType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 5), AtmTransmissionTypes()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxPortTransmissionType.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortTransmissionType.setDescription('The transmission type of this port. For example, for a port using the Sonet STS-3c physical layer at 155.52 Mbs, this object would have the Object Identifier value: atmxSonetSTS3c.') atmxPortMediaType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 6), AtmMediaTypes()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxPortMediaType.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortMediaType.setDescription('The type of media being used on this port. For example for a port using coaxial cable, the object would have the Object Identifier value: atmxMediaCoaxCable.') atmxPortOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 7), AtmOperStatCodes()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxPortOperStatus.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortOperStatus.setDescription('The operational state (i.e., actual) of this port. The ILMI should not alarm on a physical interface for when the value of this object is outOfService(3). This capability is useful if the equipment is to be disconnected, or for troubleshooting purposes. A value of loopBack(4) indicates that a local loopback is in place.') atmxPortUniType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("public", 1), ("private", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortUniType.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortUniType.setDescription('The type of the ATM UNI, either public or private.') atmxPortMaxVCCs = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1023))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxPortMaxVCCs.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortMaxVCCs.setDescription('The maximum number of VCCs supported on this UNI.') atmxPortMaxVciBits = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxPortMaxVciBits.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortMaxVciBits.setDescription('The number of active VCI bits on this interface.') atmxPortTxSegmentSize = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2048, 131072))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortTxSegmentSize.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortTxSegmentSize.setDescription('The transmit segment size on this UNI. The nearest power of two less than or equal to this value will be used internally. The max memory is 512K, therefore the maximum number of channels will be 512K/internal tx seg size.') atmxPortRxSegmentSize = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2048, 131072))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortRxSegmentSize.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortRxSegmentSize.setDescription('The receive segment size on this UNI. The nearest power of two less than or equal to this value will be used internally. The max memory is 512K, therefore the maximum number of channels will be 512K/internal rx seg size.') atmxPortTxBufferSize = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1800, 131072))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortTxBufferSize.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortTxBufferSize.setDescription('The transmit buffer size on this UNI. The buffer size must be less than or equal to the segment size and should be greater than or equal to the maximum frame size.') atmxPortRxBufferSize = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1800, 131072))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortRxBufferSize.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortRxBufferSize.setDescription('The receive buffer size on this UNI. The buffer size must be less than or equal to the segment size and should be greater than or equal to the maximum frame size.') atmxPortUniPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxPortUniPortIndex.setStatus('deprecated') if mibBuilder.loadTexts: atmxPortUniPortIndex.setDescription('This object should not be implemented except as required for backward compatibility with version 2.0 of the UNI specification. This object provide a port index link to the UNI MIB') atmxPortAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 40))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortAddress.setDescription('This object should not be implemented except as required for backward compatibility with version 2.0 of the UNI specification. The Address Group, as defined as part of the separate Address Registration MIB should be used instead.') atmxPortSignalingVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ver30", 1), ("ver31", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortSignalingVersion.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortSignalingVersion.setDescription('Version of the ATM forum UNI Signaling.') atmxPortSignalingVci = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1023))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortSignalingVci.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortSignalingVci.setDescription('Signaling Vci.') atmxPortILMIVci = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1023))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortILMIVci.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortILMIVci.setDescription('ILMI Vci.') atmxPortEnableILMI = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortEnableILMI.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortEnableILMI.setDescription('ILMI Enable.') atmxPortPlScramble = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortPlScramble.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortPlScramble.setDescription('Payload Scrambling Enable.') atmxPortTimingMode = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("loop", 1), ("local", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortTimingMode.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortTimingMode.setDescription('Timing mode to use. Use local timing or loop timing. ') atmxPortProtocolType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("sonet", 1), ("sdh", 2), ("notApplicable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortProtocolType.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortProtocolType.setDescription('Physical layer protocol type. ') atmxPortLoopbackConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxPortLoopbackConfig.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortLoopbackConfig.setDescription('Loopback config. for this physical layer. 1 = NoLoop, 2 = DiagLoop, 3 = LineLoop, 4 = CellLoop, 5 = PayloadLoop ') atmxPortSSCOPstatus = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxPortSSCOPstatus.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortSSCOPstatus.setDescription('SSCOP status of this physical layer. ') atmxPortILMIstatus = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 1, 1, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxPortILMIstatus.setStatus('mandatory') if mibBuilder.loadTexts: atmxPortILMIstatus.setDescription('ILMI status of this physical layer. ') atmxServiceTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1), ) if mibBuilder.loadTexts: atmxServiceTable.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceTable.setDescription('A table of ATM services status and parameter information.') atmxServiceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxServiceSlotIndex"), (0, "XYLAN-ATM-MIB", "atmxServicePortIndex"), (0, "XYLAN-ATM-MIB", "atmxServiceNumber")) if mibBuilder.loadTexts: atmxServiceEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceEntry.setDescription('An entry in the table, containing information about the ATM services.') atmxServiceSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 9))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceSlotIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceSlotIndex.setDescription('A unique value which identifies this hsm board slot.') atmxServicePortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServicePortIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxServicePortIndex.setDescription('A unique value which identifies this atm submodule port.') atmxServiceNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 256))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceNumber.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceNumber.setDescription('The unique service number for this particular slot/port.') atmxServiceDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceDescription.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceDescription.setDescription('A description for this atm service.') atmxServiceType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("lanEmulation", 1), ("scaling1483", 2), ("trunking", 4), ("classicalIP", 5), ("ptopBridging", 6), ("vlanCluster", 7), ("laneServiceModule", 8), ("mpoaClient", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceType.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceType.setDescription('The service type. For 1483 Scaling Service, create it only with 1 group and 1 vc thru this atmxServiceGroup. Adding Other group-to-vc mapping should utilize the atmx1483ScaleGroup.') atmxServiceConnectionType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("pvc", 1), ("svc", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceConnectionType.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceConnectionType.setDescription('The connection type of this board.') atmxServiceOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 7), AtmServiceOperStatCodes()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxServiceOperStatus.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceOperStatus.setDescription('The service operational status.') atmxServiceAdmStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 8), AtmAdminStatCodes()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceAdmStatus.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceAdmStatus.setDescription('The service adminstration status.') atmxServiceEncapsType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("private", 1), ("rfc1483", 2), ("none", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceEncapsType.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceEncapsType.setDescription('The service encapsulation type. This object is applicable only to PTOP service.') atmxServiceArpRequestServer = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceArpRequestServer.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceArpRequestServer.setDescription('The Arp request server. 0 = not applicable, 1 = Non arp server, 2 = arp server.') atmxServiceConnections = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 512))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceConnections.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceConnections.setDescription('The connections for this service. Interpret this as a 16 bit field per connection: Trunking 1, PTOP Bridging 1, Classical IP 1..255. For Vlan cluster, this object is interpreted as a 32 bit field where each 32 bit represent the vci value of the Data Direct vcc and the Multicast In vcc. Each vcc take up 16 bits. There can be up to 32 pairs of Data Direct vcc and Mulitcast In vcc. For 1483 Scaling Service, create it only with 1 group and 1 vc thru this atmxServiceGroup. Adding Other group-to-vc mapping should utilize the atmx1483ScaleGroup.') atmxServiceAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 40))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceAddress.setDescription('The unique service address.') atmxServiceAddresses = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 13), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 512))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceAddresses.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceAddresses.setDescription('The addresses for this service. Interpret this as a 16 bit field per address: Trunking 1, PTOP Bridging 1, Classical IP 1..255.') atmxServiceVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 14), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceVlan.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceVlan.setDescription('The Vlans for this service. Interpret this as a 16 bit field per vlan: Trunking 1-32, PTOP Bridging 1, Classical IP 1. For Vlan Cluster, it will depend on the encapsulation type selected. If RFC 1483, only 1 vlan while Xylan ATM trunking up to 32 vlans are allowed. For 1483 Scaling Service, create it only with 1 group and 1 vc thru this atmxServiceGroup. Adding Other group-to-vc mapping should utilize the atmx1483ScaleGroup.') atmxServiceSEL = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceSEL.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceSEL.setDescription('The SEL for the ATM address of this service.') atmxServiceLaneCfgTblIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceLaneCfgTblIdx.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceLaneCfgTblIdx.setDescription('Index to the LAN Emulation Configuration Table. This index is only used when the Service type is ATM LAN Emulation. For other service type this should be set to zero (0).') atmxServiceMulticastOutVcc = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceMulticastOutVcc.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceMulticastOutVcc.setDescription('The Multicast Out VCC for this Vlan Cluster (X-LANE) service. This is only applicable to service type Vlan Cluster. For other ATM services, this object will return a zero (0). For Vlan Cluster service if a zero (0) is returned means no Multicast out is specified.') atmxServiceNumVclMembers = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceNumVclMembers.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceNumVclMembers.setDescription('The number of other Vlan cluster members defined and have a data direct VCC associated with the connection. This object is valid only for Vlan cluster services. Zero (0) will be returned for other ATM services.') atmxServiceVclEncapType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceVclEncapType.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceVclEncapType.setDescription('The Encapsulation type for the Vlan Cluster service. 1 = RFC 1483 encapsulation. 2 = Xylan ATM trunking. 3 = not applicable. This object is only valid for Vlan cluster services. All other ATM services will return a value of 3. If the encapsulation type is RFC 1483, only one (1) vlan as defined in atmxServiceVlan can be associated with this service. If encapsulation type is Xylan ATM trunking more than 1 vlan can be assocated with this service.') atmxServiceSahiBwgNum = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 2, 1, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxServiceSahiBwgNum.setStatus('mandatory') if mibBuilder.loadTexts: atmxServiceSahiBwgNum.setDescription("The bwg num for sahi based hsm's. The user can set the pcr, scr, mbs using the bwg table and chose the desired bwg num for this service ensuring that this service obtains the desired bandwidth") atmxLayerStatsTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1), ) if mibBuilder.loadTexts: atmxLayerStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsTable.setDescription('A table of ATM layer statistics information.') atmxLayerStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxLayerStatsSlotIndex"), (0, "XYLAN-ATM-MIB", "atmxLayerStatsPortIndex")) if mibBuilder.loadTexts: atmxLayerStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsEntry.setDescription('An entry in the table, containing information about the ATM layer statistics.') atmxLayerStatsSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 9))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsSlotIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsSlotIndex.setDescription('A unique value which identifies this hsm board slot.') atmxLayerStatsPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsPortIndex.setDescription('A unique value which identifies this atm submodule port.') atmxLayerStatsTxSDUs = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsTxSDUs.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsTxSDUs.setDescription("The total number of successfully transmitted SDU's on the physical port.") atmxLayerStatsTxCells = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsTxCells.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsTxCells.setDescription('The total number of successfully transmitted cells.') atmxLayerStatsTxOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsTxOctets.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsTxOctets.setDescription('The total number of successfully transmitted octets.') atmxLayerStatsRxSDUs = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsRxSDUs.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsRxSDUs.setDescription("The total number of successfully received SDU's.") atmxLayerStatsRxCells = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsRxCells.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsRxCells.setDescription('The total number of successfully received cells.') atmxLayerStatsRxOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsRxOctets.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsRxOctets.setDescription('The total number of successfully received octets.') atmxLayerStatsTxSDUDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsTxSDUDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsTxSDUDiscards.setDescription('The total number of transmit SDUs that are discarded.') atmxLayerStatsTxSDUErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsTxSDUErrors.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsTxSDUErrors.setDescription('The total number of transmit SDU with errors.') atmxLayerStatsTxSDUNoBuffers = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsTxSDUNoBuffers.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsTxSDUNoBuffers.setDescription("The number of transmitted SDU's with no buffers available on the physical port.") atmxLayerStatsTxCellDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsTxCellDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsTxCellDiscards.setDescription('The total number of transmit cells that are dicscarded.') atmxLayerStatsTxCellErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsTxCellErrors.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsTxCellErrors.setDescription('The total number of transmit cell with errors.') atmxLayerStatsTxCellNoBuffers = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsTxCellNoBuffers.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsTxCellNoBuffers.setDescription('The total number of transmit cell with no buffers available.') atmxLayerStatsRxSDUDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsRxSDUDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsRxSDUDiscards.setDescription("The total number of receive SDU's that are discarded.") atmxLayerStatsRxSDUErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsRxSDUErrors.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsRxSDUErrors.setDescription("The total number of receive SDU's with errors.") atmxLayerStatsRxSDUInvalidSz = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsRxSDUInvalidSz.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsRxSDUInvalidSz.setDescription("The total number of receive SDU's with invalid size") atmxLayerStatsRxSDUNoBuffers = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsRxSDUNoBuffers.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsRxSDUNoBuffers.setDescription("The total number of receive SDU's with no buffers") atmxLayerStatsRxSDUTrash = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsRxSDUTrash.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsRxSDUTrash.setDescription("The total number of receive trash SDU's") atmxLayerStatsRxSDUCrcErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsRxSDUCrcErrors.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsRxSDUCrcErrors.setDescription("The total number of receive SDU's with crc errors") atmxLayerStatsRxCellDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsRxCellDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsRxCellDiscards.setDescription('The total number of receive cells that are discarded.') atmxLayerStatsRxCellErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsRxCellErrors.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsRxCellErrors.setDescription('The total number of recieve cell with errors') atmxLayerStatsRxCellNoBuffers = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsRxCellNoBuffers.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsRxCellNoBuffers.setDescription('The total number of receive cell with no buffers') atmxLayerStatsRxCellTrash = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsRxCellTrash.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsRxCellTrash.setDescription('The total number of recieve trash cells.') atmxLayerStatsRxCellCrcErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 3, 1, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLayerStatsRxCellCrcErrors.setStatus('mandatory') if mibBuilder.loadTexts: atmxLayerStatsRxCellCrcErrors.setDescription('The total number of receive cells with crc errors.') atmxVccStatsTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1), ) if mibBuilder.loadTexts: atmxVccStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsTable.setDescription('A table of ATM virtual channel connection statistics information.') atmxVccStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxVccStatsSlotIndex"), (0, "XYLAN-ATM-MIB", "atmxVccStatsPortIndex"), (0, "XYLAN-ATM-MIB", "atmxVccStatsVci")) if mibBuilder.loadTexts: atmxVccStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsEntry.setDescription('An entry in the table, containing information about the ATM virtual channel connection statistics.') atmxVccStatsSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 9))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsSlotIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsSlotIndex.setDescription('A unique value which identifies this hsm board slot.') atmxVccStatsPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsPortIndex.setDescription('A unique value which identifies this atm submodule port.') atmxVccStatsVci = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1024))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsVci.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsVci.setDescription('A unique value which identifies this atm port.') atmxVccStatsTxSDUs = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsTxSDUs.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsTxSDUs.setDescription("The total number of transmitted SDU's on this virtual channel.") atmxVccStatsTxCells = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsTxCells.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsTxCells.setDescription('The total number of transmitted cells on this virtual channel.') atmxVccStatsTxOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsTxOctets.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsTxOctets.setDescription('The total number of transmitted octets on this virtual channel.') atmxVccStatsRxSDUs = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsRxSDUs.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsRxSDUs.setDescription("The total number of received SDU's on this virtual channel.") atmxVccStatsRxCells = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsRxCells.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsRxCells.setDescription('The total number of received cells on this virtual channel.') atmxVccStatsRxOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsRxOctets.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsRxOctets.setDescription('The total number of received octets on this virtual channel.') atmxVccStatsTxSDUDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsTxSDUDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsTxSDUDiscards.setDescription('The total number of transmit SDU discards on this virtual channel.') atmxVccStatsTxSDUErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsTxSDUErrors.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsTxSDUErrors.setDescription('The total number of transmit SDU errors on this virtual channel.') atmxVccStatsTxSDUNoBuffers = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsTxSDUNoBuffers.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsTxSDUNoBuffers.setDescription("The number of transmit SDU's with no buffers on this virtual channel.") atmxVccStatsTxCellDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsTxCellDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsTxCellDiscards.setDescription('The total number of transmit cells that are dicscarded on this virtual channel.') atmxVccStatsTxCellErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsTxCellErrors.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsTxCellErrors.setDescription('The total number of transmit cell with errors on this virtual channel.') atmxVccStatsTxCellNoBuffers = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsTxCellNoBuffers.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsTxCellNoBuffers.setDescription('The total number of transmit cell with no buffers on this virtual channel.') atmxVccStatsRxSDUDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsRxSDUDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsRxSDUDiscards.setDescription("The total number of receive SDU's discarded on this virtual channel.") atmxVccStatsRxSDUErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsRxSDUErrors.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsRxSDUErrors.setDescription("The total number of receive SDU's with errors on this virtual channel.") atmxVccStatsRxSDUInvalidSz = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsRxSDUInvalidSz.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsRxSDUInvalidSz.setDescription("The total number of received SDU's with invalid size on this virtual channel.") atmxVccStatsRxSDUNoBuffers = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsRxSDUNoBuffers.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsRxSDUNoBuffers.setDescription("The total number of receive SDU's with no buffers on this virtual channel.") atmxVccStatsRxSDUTrash = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsRxSDUTrash.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsRxSDUTrash.setDescription("The total number of receive trash SDU's on this virtual channel.") atmxVccStatsRxSDUCrcErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsRxSDUCrcErrors.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsRxSDUCrcErrors.setDescription("The total number of receive SDU's crc errors on this virtual channel.") atmxVccStatsRxCellDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsRxCellDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsRxCellDiscards.setDescription('The total number of receive cells discarded on this virtual channel.') atmxVccStatsRxCellErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsRxCellErrors.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsRxCellErrors.setDescription('The total number of recieve cell with errors on this virtual channel.') atmxVccStatsRxCellNoBuffers = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsRxCellNoBuffers.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsRxCellNoBuffers.setDescription('The total number of receive cells with no buffers on this virtual channel.') atmxVccStatsRxCellTrash = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsRxCellTrash.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsRxCellTrash.setDescription('The total number of recieve trash cells on this virtual channel.') atmxVccStatsRxCellCrcErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 4, 1, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccStatsRxCellCrcErrors.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccStatsRxCellCrcErrors.setDescription('The total number of receive cells with crc errors on this virtual channel.') atmxVccTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1), ) if mibBuilder.loadTexts: atmxVccTable.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccTable.setDescription('A table of ATM virtual channel connections status and parameter information.') atmxVccEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxVccSlotIndex"), (0, "XYLAN-ATM-MIB", "atmxVccPortIndex"), (0, "XYLAN-ATM-MIB", "atmxVccVci")) if mibBuilder.loadTexts: atmxVccEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccEntry.setDescription('An entry in the table, containing information about the ATM virtual channel connections.') atmxVccSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 9))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccSlotIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccSlotIndex.setDescription('A unique value which identifies this hsm board slot.') atmxVccPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccPortIndex.setDescription('A unique value which identifies this atm submodule port.') atmxVccVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 0))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccVpi.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccVpi.setDescription('The virtual path identifier associated with this virtual connection.') atmxVccVci = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccVci.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccVci.setDescription('The virtual channel identifier associated with the virtual connection.') atmxVccDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccDescription.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccDescription.setDescription('A description for this virtual connection.') atmxVccConnType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("vcc", 1), ("vpc", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccConnType.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccConnType.setDescription('The virtual connection type.') atmxVccCircuitType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("pvc", 1), ("svc", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccCircuitType.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccCircuitType.setDescription('The virtual connection circuit type.') atmxVccOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 8), AtmConnectionOperStatCodes()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccOperStatus.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccOperStatus.setDescription('The actual operational status of the VCC A value of end2endUp(2) or end2endDown(3) would be used if end-to-end status is known. If only local status information is available, a value of localUpEnd2endUnknown(4) or localDown(5) would be used.') atmxVccUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccUpTime.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccUpTime.setDescription('The virtual channel connection up time for this connection.') atmxVccDownTime = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccDownTime.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccDownTime.setDescription('The virtual channel connection down time for this connection.') atmxVccTransmitMaxFrameSize = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccTransmitMaxFrameSize.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccTransmitMaxFrameSize.setDescription('The virtual channel connection maximum transmit frame size for this connection.') atmxVccReceiveMaxFrameSize = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(64, 32678))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccReceiveMaxFrameSize.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccReceiveMaxFrameSize.setDescription('The virtual channel connection maximum receive frame size for this connection.') atmxVccRequestedTransmitTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 13), AtmTrafficDescrTypes()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccRequestedTransmitTrafficDescriptor.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccRequestedTransmitTrafficDescriptor.setDescription('The virtual channel connection traffic descriptor for this connection.') atmxVccRequestedTransmitTrafficDescriptorParam1 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccRequestedTransmitTrafficDescriptorParam1.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccRequestedTransmitTrafficDescriptorParam1.setDescription('The virtual channel connection traffic parameter 1 for this connection.') atmxVccRequestedTransmitTrafficDescriptorParam2 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccRequestedTransmitTrafficDescriptorParam2.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccRequestedTransmitTrafficDescriptorParam2.setDescription('The virtual channel connection traffic parameter 2 for this connection.') atmxVccRequestedTransmitTrafficDescriptorParam3 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccRequestedTransmitTrafficDescriptorParam3.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccRequestedTransmitTrafficDescriptorParam3.setDescription('The virtual channel connection traffic parameter 3 for this connection.') atmxVccRequestedTransmitTrafficQoSClass = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccRequestedTransmitTrafficQoSClass.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccRequestedTransmitTrafficQoSClass.setDescription('The virtual channel connection QOS Class for this connection.') atmxVccRequestedTransmitTrafficBestEffort = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccRequestedTransmitTrafficBestEffort.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccRequestedTransmitTrafficBestEffort.setDescription('The virtual channel connection best effort value for this connection.') atmxVccRequestedReceiveTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 19), AtmTrafficDescrTypes()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccRequestedReceiveTrafficDescriptor.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccRequestedReceiveTrafficDescriptor.setDescription('The virtual channel connection traffic descriptor for this connection.') atmxVccRequestedReceiveTrafficDescriptorParam1 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccRequestedReceiveTrafficDescriptorParam1.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccRequestedReceiveTrafficDescriptorParam1.setDescription('The virtual channel connection traffic parameter 1 for this connection.') atmxVccRequestedReceiveTrafficDescriptorParam2 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccRequestedReceiveTrafficDescriptorParam2.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccRequestedReceiveTrafficDescriptorParam2.setDescription('The virtual channel connection traffic parameter 2 for this connection.') atmxVccRequestedReceiveTrafficDescriptorParam3 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccRequestedReceiveTrafficDescriptorParam3.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccRequestedReceiveTrafficDescriptorParam3.setDescription('The virtual channel connection traffic parameter 3 for this connection.') atmxVccRequestedReceiveTrafficQoSClass = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccRequestedReceiveTrafficQoSClass.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccRequestedReceiveTrafficQoSClass.setDescription('The virtual channel connection traffic QOS Class for this connection.') atmxVccRequestedReceiveTrafficBestEffort = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccRequestedReceiveTrafficBestEffort.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccRequestedReceiveTrafficBestEffort.setDescription('The virtual channel connection best effort value for this connection.') atmxVccAcceptableTransmitTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 25), AtmTrafficDescrTypes()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccAcceptableTransmitTrafficDescriptor.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccAcceptableTransmitTrafficDescriptor.setDescription('The virtual channel connection traffic descriptor for this connection.') atmxVccAcceptableTransmitTrafficDescriptorParam1 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccAcceptableTransmitTrafficDescriptorParam1.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccAcceptableTransmitTrafficDescriptorParam1.setDescription('The virtual channel connection traffic parameter 1 for this connection.') atmxVccAcceptableTransmitTrafficDescriptorParam2 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccAcceptableTransmitTrafficDescriptorParam2.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccAcceptableTransmitTrafficDescriptorParam2.setDescription('The virtual channel connection traffic parameter 2 for this connection.') atmxVccAcceptableTransmitTrafficDescriptorParam3 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccAcceptableTransmitTrafficDescriptorParam3.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccAcceptableTransmitTrafficDescriptorParam3.setDescription('The virtual channel connection traffic parameter 3 for this connection.') atmxVccAcceptableTransmitTrafficQoSClass = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccAcceptableTransmitTrafficQoSClass.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccAcceptableTransmitTrafficQoSClass.setDescription('The virtual channel connection QOS Class for this connection.') atmxVccAcceptableTransmitTrafficBestEffort = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccAcceptableTransmitTrafficBestEffort.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccAcceptableTransmitTrafficBestEffort.setDescription('The virtual channel connection best effort value for this connection.') atmxVccAcceptableReceiveTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 31), AtmTrafficDescrTypes()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccAcceptableReceiveTrafficDescriptor.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccAcceptableReceiveTrafficDescriptor.setDescription('The virtual channel connection traffic descriptor for this connection.') atmxVccAcceptableReceiveTrafficDescriptorParam1 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccAcceptableReceiveTrafficDescriptorParam1.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccAcceptableReceiveTrafficDescriptorParam1.setDescription('The virtual channel connection traffic parameter 1 for this connection.') atmxVccAcceptableReceiveTrafficDescriptorParam2 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 33), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccAcceptableReceiveTrafficDescriptorParam2.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccAcceptableReceiveTrafficDescriptorParam2.setDescription('The virtual channel connection traffic parameter 2 for this connection.') atmxVccAcceptableReceiveTrafficDescriptorParam3 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 34), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccAcceptableReceiveTrafficDescriptorParam3.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccAcceptableReceiveTrafficDescriptorParam3.setDescription('The virtual channel connection traffic parameter 3 for this connection.') atmxVccAcceptableReceiveTrafficQoSClass = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccAcceptableReceiveTrafficQoSClass.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccAcceptableReceiveTrafficQoSClass.setDescription('The virtual channel connection traffic QOS Class for this connection.') atmxVccAcceptableReceiveTrafficBestEffort = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccAcceptableReceiveTrafficBestEffort.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccAcceptableReceiveTrafficBestEffort.setDescription('The virtual channel connection best effort value for this connection.') atmxVccActualTransmitTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 37), AtmTrafficDescrTypes()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccActualTransmitTrafficDescriptor.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccActualTransmitTrafficDescriptor.setDescription('The virtual channel connection traffic descriptor for this connection.') atmxVccActualTransmitTrafficDescriptorParam1 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 38), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccActualTransmitTrafficDescriptorParam1.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccActualTransmitTrafficDescriptorParam1.setDescription('The virtual channel connection traffic parameter 1 for this connection.') atmxVccActualTransmitTrafficDescriptorParam2 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 39), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccActualTransmitTrafficDescriptorParam2.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccActualTransmitTrafficDescriptorParam2.setDescription('The virtual channel connection traffic parameter 2 for this connection.') atmxVccActualTransmitTrafficDescriptorParam3 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 40), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccActualTransmitTrafficDescriptorParam3.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccActualTransmitTrafficDescriptorParam3.setDescription('The virtual channel connection traffic parameter 3 for this connection.') atmxVccActualTransmitTrafficQoSClass = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 41), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccActualTransmitTrafficQoSClass.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccActualTransmitTrafficQoSClass.setDescription('The virtual channel connection QOS Class for this connection.') atmxVccActualTransmitTrafficBestEffort = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 42), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccActualTransmitTrafficBestEffort.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccActualTransmitTrafficBestEffort.setDescription('The virtual channel connection best effort value for this connection.') atmxVccActualReceiveTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 43), AtmTrafficDescrTypes()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccActualReceiveTrafficDescriptor.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccActualReceiveTrafficDescriptor.setDescription('The virtual channel connection traffic descriptor for this connection.') atmxVccActualReceiveTrafficDescriptorParam1 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 44), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccActualReceiveTrafficDescriptorParam1.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccActualReceiveTrafficDescriptorParam1.setDescription('The virtual channel connection traffic parameter 1 for this connection.') atmxVccActualReceiveTrafficDescriptorParam2 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 45), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccActualReceiveTrafficDescriptorParam2.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccActualReceiveTrafficDescriptorParam2.setDescription('The virtual channel connection traffic parameter 2 for this connection.') atmxVccActualReceiveTrafficDescriptorParam3 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 46), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccActualReceiveTrafficDescriptorParam3.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccActualReceiveTrafficDescriptorParam3.setDescription('The virtual channel connection traffic parameter 3 for this connection.') atmxVccActualReceiveTrafficQoSClass = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 47), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccActualReceiveTrafficQoSClass.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccActualReceiveTrafficQoSClass.setDescription('The virtual channel connection traffic QOS Class for this connection.') atmxVccActualReceiveTrafficBestEffort = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 48), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccActualReceiveTrafficBestEffort.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccActualReceiveTrafficBestEffort.setDescription('The virtual channel connection best effort value for this connection.') atmxVccAdmStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 49), AtmAdminStatCodes()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxVccAdmStatus.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccAdmStatus.setDescription('The vcc adminstration status - used to delete a vcc.') atmxVccServiceUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 50), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccServiceUsed.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccServiceUsed.setDescription('The service number in which this vcc connection is used.') atmxVccConnectionUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 5, 1, 1, 51), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxVccConnectionUsed.setStatus('mandatory') if mibBuilder.loadTexts: atmxVccConnectionUsed.setDescription('Connection being used or not being used, currently not implemented.') atmxAddressTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1), ) if mibBuilder.loadTexts: atmxAddressTable.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressTable.setDescription('A table of ATM virtual address status and parameter information.') atmxAddressEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxAddressIndex")) if mibBuilder.loadTexts: atmxAddressEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressEntry.setDescription('An entry in the table, containing information about the ATM virtual address.') atmxAddressIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxAddressIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressIndex.setDescription('A unique value which identifies this address index.') atmxAddressAtmAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 40))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressAtmAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAtmAddress.setDescription('A unique value which identifies this address.') atmxAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("arpServer", 1), ("nonArpServer", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressType.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressType.setDescription('The address type.') atmxAddressVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 0))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxAddressVpi.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressVpi.setDescription('The virtual path identifier associated with this address.') atmxAddressVci = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressVci.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressVci.setDescription('The virtual channel identifier associated with this address.') atmxAddressDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressDescription.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressDescription.setDescription('A description for this address.') atmxAddressTransmitMaxSDU = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(8, 32678))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressTransmitMaxSDU.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressTransmitMaxSDU.setDescription('The address maximum transmit SDU size in bytes for this SVC.') atmxAddressReceiveMaxSDU = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(8, 32678))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressReceiveMaxSDU.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressReceiveMaxSDU.setDescription('The address maximun receive SDU size in bytes for this SVC.') atmxAddressRequestedTransmitTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 9), AtmTrafficDescrTypes()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressRequestedTransmitTrafficDescriptor.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressRequestedTransmitTrafficDescriptor.setDescription('The address traffic descriptor for this SVC.') atmxAddressRequestedTransmitTrafficDescriptorParam1 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressRequestedTransmitTrafficDescriptorParam1.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressRequestedTransmitTrafficDescriptorParam1.setDescription('The address transmit parameter 1 cell rate in cells/second for this SVC.') atmxAddressRequestedTransmitTrafficDescriptorParam2 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressRequestedTransmitTrafficDescriptorParam2.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressRequestedTransmitTrafficDescriptorParam2.setDescription('The address transmit parameter 2 cell rate in cells/second for this SVC.') atmxAddressRequestedTransmitTrafficDescriptorParam3 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressRequestedTransmitTrafficDescriptorParam3.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressRequestedTransmitTrafficDescriptorParam3.setDescription('The address transmit parameter 3 cell rate in cells for this SVC.') atmxAddressRequestedTransmitTrafficQoSClass = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressRequestedTransmitTrafficQoSClass.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressRequestedTransmitTrafficQoSClass.setDescription('The address transmit traffic QOS Class for this SVC.') atmxAddressRequestedTransmitTrafficBestEffort = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressRequestedTransmitTrafficBestEffort.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressRequestedTransmitTrafficBestEffort.setDescription('The address transmit traffic best effort value for this SVC.') atmxAddressRequestedReceiveTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 15), AtmTrafficDescrTypes()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressRequestedReceiveTrafficDescriptor.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressRequestedReceiveTrafficDescriptor.setDescription('The address receive traffic descriptor for this SVC.') atmxAddressRequestedReceiveTrafficDescriptorParam1 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressRequestedReceiveTrafficDescriptorParam1.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressRequestedReceiveTrafficDescriptorParam1.setDescription('The address receive parameter 1 cell rate in cells/second for this SVC.') atmxAddressRequestedReceiveTrafficDescriptorParam2 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressRequestedReceiveTrafficDescriptorParam2.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressRequestedReceiveTrafficDescriptorParam2.setDescription('The address receive parameter 2 cell rate in cells/second for this SVC.') atmxAddressRequestedReceiveTrafficDescriptorParam3 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressRequestedReceiveTrafficDescriptorParam3.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressRequestedReceiveTrafficDescriptorParam3.setDescription('The address receive parameter 2 cell rate in cells for this SVC.') atmxAddressRequestedReceiveTrafficQoSClass = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressRequestedReceiveTrafficQoSClass.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressRequestedReceiveTrafficQoSClass.setDescription('The address receive traffic QOS Class for this SVC.') atmxAddressRequestedReceiveTrafficBestEffort = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressRequestedReceiveTrafficBestEffort.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressRequestedReceiveTrafficBestEffort.setDescription('The address receive traffic best effort value for this SVC.') atmxAddressAcceptableTransmitTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 21), AtmTrafficDescrTypes()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressAcceptableTransmitTrafficDescriptor.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAcceptableTransmitTrafficDescriptor.setDescription('The address traffic descriptor for this SVC.') atmxAddressAcceptableTransmitTrafficDescriptorParam1 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressAcceptableTransmitTrafficDescriptorParam1.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAcceptableTransmitTrafficDescriptorParam1.setDescription('The address transmit parameter 1 cell rate in cells/second for this SVC.') atmxAddressAcceptableTransmitTrafficDescriptorParam2 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressAcceptableTransmitTrafficDescriptorParam2.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAcceptableTransmitTrafficDescriptorParam2.setDescription('The address transmit parameter 2 cell rate in cells/second for this SVC.') atmxAddressAcceptableTransmitTrafficDescriptorParam3 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressAcceptableTransmitTrafficDescriptorParam3.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAcceptableTransmitTrafficDescriptorParam3.setDescription('The address transmit parameter 3 cell rate in cells for this SVC.') atmxAddressAcceptableTransmitTrafficQoSClass = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressAcceptableTransmitTrafficQoSClass.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAcceptableTransmitTrafficQoSClass.setDescription('The address transmit traffic QOS Class for this SVC.') atmxAddressAcceptableTransmitTrafficBestEffort = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressAcceptableTransmitTrafficBestEffort.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAcceptableTransmitTrafficBestEffort.setDescription('The address transmit traffic best effort value for this SVC.') atmxAddressAcceptableReceiveTrafficDescriptor = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 27), AtmTrafficDescrTypes()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressAcceptableReceiveTrafficDescriptor.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAcceptableReceiveTrafficDescriptor.setDescription('The address receive traffic descriptor for this SVC.') atmxAddressAcceptableReceiveTrafficDescriptorParam1 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressAcceptableReceiveTrafficDescriptorParam1.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAcceptableReceiveTrafficDescriptorParam1.setDescription('The address receive parameter 1 cell rate in cells/second for this SVC.') atmxAddressAcceptableReceiveTrafficDescriptorParam2 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressAcceptableReceiveTrafficDescriptorParam2.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAcceptableReceiveTrafficDescriptorParam2.setDescription('The address receive parameter 2 cell rate in cells/second for this SVC.') atmxAddressAcceptableReceiveTrafficDescriptorParam3 = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 353208))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressAcceptableReceiveTrafficDescriptorParam3.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAcceptableReceiveTrafficDescriptorParam3.setDescription('The address receive parameter 2 cell rate in cells for this SVC.') atmxAddressAcceptableReceiveTrafficQoSClass = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressAcceptableReceiveTrafficQoSClass.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAcceptableReceiveTrafficQoSClass.setDescription('The address receive traffic QOS Class for this SVC.') atmxAddressAcceptableReceiveTrafficBestEffort = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressAcceptableReceiveTrafficBestEffort.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAcceptableReceiveTrafficBestEffort.setDescription('The address receive traffic best effort value for this SVC.') atmxAddressAdmStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 33), AtmAdminStatCodes()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxAddressAdmStatus.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAdmStatus.setDescription('The address adminstration status - used to delete an address.') atmxAddressServiceUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 34), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxAddressServiceUsed.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressServiceUsed.setDescription('The service number in which this address is used.') atmxAddressAddrUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 6, 1, 1, 35), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxAddressAddrUsed.setStatus('mandatory') if mibBuilder.loadTexts: atmxAddressAddrUsed.setDescription('Address being used or not being used, currently not implemented.') atmxArpTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 7, 1), ) if mibBuilder.loadTexts: atmxArpTable.setStatus('mandatory') if mibBuilder.loadTexts: atmxArpTable.setDescription('A table of ATM address to IP address information.') atmxArpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 7, 1, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxArpIndex")) if mibBuilder.loadTexts: atmxArpEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmxArpEntry.setDescription('An entry in the table, containing information about the ATM address.') atmxArpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 7, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxArpIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxArpIndex.setDescription('A unique value which identifies this arp entry.') atmxArpIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 7, 1, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxArpIPAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmxArpIPAddress.setDescription('The IP address for this atm address.') atmxArpAtmAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 7, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 40))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxArpAtmAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmxArpAtmAddress.setDescription('A unique value which identifies this address.') atmxArpVci = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 7, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxArpVci.setStatus('mandatory') if mibBuilder.loadTexts: atmxArpVci.setDescription('The virtual channel identifier associated with this address.') atmxArpTimeToLive = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 7, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxArpTimeToLive.setStatus('mandatory') if mibBuilder.loadTexts: atmxArpTimeToLive.setDescription('The address time to live.') atmxArpType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 7, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("static", 1), ("dynamic", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxArpType.setStatus('mandatory') if mibBuilder.loadTexts: atmxArpType.setDescription('The address type, statically or dynamically created.') atmLecConfigTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1), ) if mibBuilder.loadTexts: atmLecConfigTable.setStatus('mandatory') if mibBuilder.loadTexts: atmLecConfigTable.setDescription('This table contains all the configuration parameters for a LAN Emulation client. ') atmLecConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxLecConfigIndex")) if mibBuilder.loadTexts: atmLecConfigEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmLecConfigEntry.setDescription('Each table entry contains configuration information for one LAN Emulation Client. Most of the objects are derived from Initial State Parameters in the LAN Emulation specification.') atmxLecConfigIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLecConfigIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxLecConfigIndex.setDescription('Index to identify an instance of this table.') atmLecConfigLecsAtmAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 2), XylanAtmLaneAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecConfigLecsAtmAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmLecConfigLecsAtmAddress.setDescription('The LAN Emulation Configuration Server which this client can use if the Well Known LECS address is not used.') atmLecConfigUseDefaultLecsAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecConfigUseDefaultLecsAddr.setStatus('mandatory') if mibBuilder.loadTexts: atmLecConfigUseDefaultLecsAddr.setDescription('This is to specify if this client is to use the Well Know LECS address or user supplied address. This object alone with atmLecConfigLecsAtmAddress is meaningless if the atmLecConfigMode is setted to manual(2) mode. 1 = TRUE 2 = FALSE ') atmLecRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: atmLecRowStatus.setDescription('This object lets network managers create and delete an instance for this table. 1 = Create, 2 = Delete, 3 = Modify.') atmLecRowInUse = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecRowInUse.setStatus('mandatory') if mibBuilder.loadTexts: atmLecRowInUse.setDescription('This object returns a value to indicate if this instance is used by an ATM service. 1 = In use 2 = Free. ') atmLecConfigMode = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("automatic", 1), ("manual", 2))).clone('automatic')).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecConfigMode.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Sections 3.4.1.1 and 5.3') if mibBuilder.loadTexts: atmLecConfigMode.setStatus('mandatory') if mibBuilder.loadTexts: atmLecConfigMode.setDescription('Indicates whether this LAN Emulation Client should auto-configure the next time it is (re)started. In automatic(1) mode, a client uses a LAN Emulation Configuration Server to learn the ATM address of its LAN Emulation Server, and to obtain other parameters. atmLecConfig{ LanType, MaxDataFrameSize, LanName } are used in the Configure request. atmLecConfigLesAtmAddress is ignored. In manual(2) mode, management tells the client the ATM address of its LAN Emulation Server and the values of other parameters. atmLecConfig{ LanType, MaxDataFrameSize, LanName } are used in the Join request. atmLecConfigLesAtmAddress tells the client which LES to call.') atmLecConfigLanType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 7), LecDataFrameFormat().clone('aflane8023')).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecConfigLanType.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecConfigLanType.setStatus('mandatory') if mibBuilder.loadTexts: atmLecConfigLanType.setDescription('C2 LAN Type. The data frame format which this client will use the next time it returns to the Initial State. Auto-configuring clients use this parameter in their Configure requests. Manually-configured clients use it in their Join requests. This MIB object will not be overwritten with the new value from a LE_{JOIN,CONFIGURE}_RESPONSE. Instead, atmLecActualLanType will be.') atmLecConfigMaxDataFrameSize = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 8), LecDataFrameSize().clone('max4544')).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecConfigMaxDataFrameSize.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecConfigMaxDataFrameSize.setStatus('mandatory') if mibBuilder.loadTexts: atmLecConfigMaxDataFrameSize.setDescription('C3 Maximum Data Frame Size. The maximum data frame size which this client will use the next time it returns to the Initial State. Auto-configuring clients use this parameter in their Configure requests. Manually-configured clients use it in their Join requests. This MIB object will not be overwritten with the new value from a LE_{JOIN,CONFIGURE}_RESPONSE. Instead, atmLecActualMaxDataFrameSize will be.') atmLecConfigLanName = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecConfigLanName.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecConfigLanName.setStatus('mandatory') if mibBuilder.loadTexts: atmLecConfigLanName.setDescription('C5 ELAN Name. The ELAN Name this client will use the next time it returns to the Initial State. Auto-configuring clients use this parameter in their Configure requests. Manually-configured clients use it in their Join requests. This MIB object will not be overwritten with the new value from a LE_{JOIN,CONFIGURE}_RESPONSE. Instead, atmLecActualLanName will be.') atmLecConfigLesAtmAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 10), XylanAtmLaneAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecConfigLesAtmAddress.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecConfigLesAtmAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmLecConfigLesAtmAddress.setDescription("C9 LE Server ATM Address. The LAN Emulation Server which this client will use the next time it is started in manual configuration mode. When atmLecConfigMode is 'automatic', there is no need to set this address, and no advantage to doing so. The client will use the LECS to find a LES, putting the auto-configured address in atmLecActualLesAtmAddress while leaving atmLecConfigLesAtmAddress alone.") atmLecControlTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 300)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecControlTimeout.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecControlTimeout.setStatus('mandatory') if mibBuilder.loadTexts: atmLecControlTimeout.setDescription('C7 Control Time-out. Time out period used for timing out most request/response control frame interactions, as specified elsewhere [in the LAN Emulation specification]. This time value is expressed in seconds.') atmLecMaxUnknownFrameCount = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecMaxUnknownFrameCount.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecMaxUnknownFrameCount.setStatus('mandatory') if mibBuilder.loadTexts: atmLecMaxUnknownFrameCount.setDescription('C10 Maximum Unknown Frame Count. See the description of atmLecMaxUnknownFrameTime below.') atmLecMaxUnknownFrameTime = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecMaxUnknownFrameTime.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecMaxUnknownFrameTime.setStatus('mandatory') if mibBuilder.loadTexts: atmLecMaxUnknownFrameTime.setDescription('C11 Maximum Unknown Frame Time. Within the period of time defined by the Maximum Unknown Frame Time, a LE Client will send no more than Maximum Unknown Frame Count frames to the BUS for a given unicast LAN Destination, and it must also initiate the address resolution protocol to resolve that LAN Destination. This time value is expressed in seconds.') atmLecVccTimeoutPeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 14), Integer32().clone(1200)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecVccTimeoutPeriod.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecVccTimeoutPeriod.setStatus('mandatory') if mibBuilder.loadTexts: atmLecVccTimeoutPeriod.setDescription('C12 VCC Time-out Period. A LE Client SHOULD release any Data Direct VCC that it has not used to transmit or receive any data frames for the length of the VCC Time-out Period. This parameter is only meaningful for SVC Data Direct VCCs. This time value is expressed in seconds. The default value is 20 minutes. A value of 0 seconds means that the timeout period is infinite. Negative values will be rejected by the agent.') atmLecMaxRetryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2)).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecMaxRetryCount.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecMaxRetryCount.setStatus('mandatory') if mibBuilder.loadTexts: atmLecMaxRetryCount.setDescription("C13 Maximum Retry Count. A LE CLient MUST not retry a LE_ARP_REQUEST for a given frame's LAN destination more than Maximum Retry Count times, after the first LE_ARP_REQUEST for that same frame's LAN destination.") atmLecAgingTime = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 300)).clone(300)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecAgingTime.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecAgingTime.setStatus('mandatory') if mibBuilder.loadTexts: atmLecAgingTime.setDescription('C17 Aging Time. The maximum time that a LE Client will maintain an entry in its LE_ARP cache in the absence of a verification of that relationship. This time value is expressed in seconds.') atmLecForwardDelayTime = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 30)).clone(15)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecForwardDelayTime.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecForwardDelayTime.setStatus('mandatory') if mibBuilder.loadTexts: atmLecForwardDelayTime.setDescription('C18 Forward Delay Time. The maximum time that a LE Client will maintain an entry for a non-local MAC address in its LE_ARP cache in the absence of a verification of that relationship, as long as the Topology Change flag C19 is true. atmLecForwardDelayTime SHOULD BE less than atmLecAgingTime. When it is not, atmLecAgingTime governs LE_ARP aging. This time value is expressed in seconds.') atmLecExpectedArpResponseTime = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 30)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecExpectedArpResponseTime.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecExpectedArpResponseTime.setStatus('mandatory') if mibBuilder.loadTexts: atmLecExpectedArpResponseTime.setDescription('C20 Expected LE_ARP Reponse Time. The maximum time that the LEC expects an LE_ARP_REQUEST/ LE_ARP_RESPONSE cycle to take. Used for retries and verifies. This time value is expressed in seconds.') atmLecFlushTimeOut = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4)).clone(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecFlushTimeOut.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecFlushTimeOut.setStatus('mandatory') if mibBuilder.loadTexts: atmLecFlushTimeOut.setDescription('C21 Flush Time-out. Time limit to wait to receive a LE_FLUSH_RESPONSE after the LE_FLUSH_REQUEST has been sent before taking recovery action. This time value is expressed in seconds.') atmLecPathSwitchingDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8)).clone(6)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecPathSwitchingDelay.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecPathSwitchingDelay.setStatus('mandatory') if mibBuilder.loadTexts: atmLecPathSwitchingDelay.setDescription('C22 Path Switching Delay. The time since sending a frame to the BUS after which the LE Client may assume that the frame has been either discarded or delivered to the recipient. May be used to bypass the Flush protocol. This time value is expressed in seconds.') atmLecUseForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecUseForwardDelay.setStatus('mandatory') if mibBuilder.loadTexts: atmLecUseForwardDelay.setDescription(' This is specify whether to use Forward delay or arp cache aging time 1 = No, 2 = Yes.') atmLecUseTranslation = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2)).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecUseTranslation.setStatus('mandatory') if mibBuilder.loadTexts: atmLecUseTranslation.setDescription(' Use translation option or not. If set to yes, user must set the translation options by the swch command in UI or the vportSwitchTable to set the translation option other than the default defined for LANE. 1 = no, 2 = yes.') atmLecSrBridgeNum = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecSrBridgeNum.setStatus('mandatory') if mibBuilder.loadTexts: atmLecSrBridgeNum.setDescription(' SR bridge number for the LEC') atmLecSrRingNum = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 1, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmLecSrRingNum.setStatus('mandatory') if mibBuilder.loadTexts: atmLecSrRingNum.setDescription(' SR Ring number for the LEC') atmLecStatusTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2), ) if mibBuilder.loadTexts: atmLecStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: atmLecStatusTable.setDescription('A read-only table containing identification, status, and operational information about the LAN Emulation Clients this agent manages.') atmLecStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxLecStatusSlotIndex"), (0, "XYLAN-ATM-MIB", "atmxLecStatusPortIndex"), (0, "XYLAN-ATM-MIB", "atmxLecStatusServiceNum")) if mibBuilder.loadTexts: atmLecStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmLecStatusEntry.setDescription('Each table entry contains information about one LAN Emulation Client.') atmxLecStatusSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLecStatusSlotIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxLecStatusSlotIndex.setDescription('Slot index to identify an instance of this table.') atmxLecStatusPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLecStatusPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxLecStatusPortIndex.setDescription('Port index to identify an instance of this table.') atmxLecStatusServiceNum = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLecStatusServiceNum.setStatus('mandatory') if mibBuilder.loadTexts: atmxLecStatusServiceNum.setDescription('Service number index to identify an instance of this table.') atmLecPrimaryAtmAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 4), XylanAtmLaneAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecPrimaryAtmAddress.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecPrimaryAtmAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmLecPrimaryAtmAddress.setDescription("C1 LE Client's ATM Addresses. The primary ATM address of this LAN Emulation Client. This address is used to establish the Control Direct and Multicast Send VCCs, and may also be used to set up Data Direct VCCs. A client may have additional ATM addresses for use with Data Direct VCCs. These addresses are readable via the atmLecAtmAddressTable.") atmLecID = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65279))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecID.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecID.setStatus('mandatory') if mibBuilder.loadTexts: atmLecID.setDescription("C14 LE Client Identifier. Each LE Client requires a LE Client Identifier (LECID) assigned by the LE Server during the Join phase. The LECID is placed in control requests by the LE Client and MAY be used for echo suppression on multicast data frames sent by that LE Client. This value MUST NOT change without terminating the LE Client and returning to the Initial state. A valid LECID MUST be in the range X'0001' through X'FEFF'. The value of this object is only meaningful for a LEC that is connected to a LES. For a LEC which does not belong to an emulated LAN, the value of this object is defined to be 0.") atmLecInterfaceState = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 6), LecState()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecInterfaceState.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 2.3.1') if mibBuilder.loadTexts: atmLecInterfaceState.setStatus('mandatory') if mibBuilder.loadTexts: atmLecInterfaceState.setDescription("The mandatory state of the LAN Emulation Client. Note that 'ifOperStatus' is defined to be 'up' when, and only when, 'atmLecInterfaceState' is 'operational'.") atmLecLastFailureRespCode = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15))).clone(namedValues=NamedValues(("none", 1), ("timeout", 2), ("undefinedError", 3), ("versionNotSupported", 4), ("invalidRequestParameters", 5), ("duplicateLanDestination", 6), ("duplicateAtmAddress", 7), ("insufficientResources", 8), ("accessDenied", 9), ("invalidRequesterId", 10), ("invalidLanDestination", 11), ("invalidAtmAddress", 12), ("noConfiguration", 13), ("leConfigureError", 14), ("insufficientInformation", 15)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecLastFailureRespCode.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 4.2, Table 13') if mibBuilder.loadTexts: atmLecLastFailureRespCode.setStatus('mandatory') if mibBuilder.loadTexts: atmLecLastFailureRespCode.setDescription("Status code from the last failed Configure response or Join response. Failed responses are those for which the LE_CONFIGURE_RESPONSE / LE_JOIN_RESPONSE frame contains a non-zero code, or fails to arrive within a timeout period. If none of this client's requests have failed, this object has the value 'none'. If the failed response contained a STATUS code that is not defined in the LAN Emulation specification, this object has the value 'undefinedError'. The value 'timeout' is self-explanatory. Other failure codes correspond to those defined in the specification, although they may have different numeric values.") atmLecLastFailureState = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 8), LecState()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecLastFailureState.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 2.3.1') if mibBuilder.loadTexts: atmLecLastFailureState.setStatus('mandatory') if mibBuilder.loadTexts: atmLecLastFailureState.setDescription("The state this client was in when it updated the 'atmLecLastFailureRespCode'. If 'atmLecLastFailureRespCode' is 'none', this object has the value initialState(1).") atmLecProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecProtocol.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 4.2') if mibBuilder.loadTexts: atmLecProtocol.setStatus('mandatory') if mibBuilder.loadTexts: atmLecProtocol.setDescription('The LAN Emulation protocol which this client supports, and specifies in its LE_JOIN_REQUESTs.') atmLecVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecVersion.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 4.2') if mibBuilder.loadTexts: atmLecVersion.setStatus('mandatory') if mibBuilder.loadTexts: atmLecVersion.setDescription('The LAN Emulation protocol version which this client supports, and specifies in its LE_JOIN_REQUESTs.') atmLecTopologyChange = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecTopologyChange.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecTopologyChange.setStatus('mandatory') if mibBuilder.loadTexts: atmLecTopologyChange.setDescription("C19 Topology Change. Boolean indication that the LE Client is using the Forward Delay Time C18, instead of the Aging Time C17, to age non-local entries in its LE_ARP cache C16. For a client which is not connected to the LES, this object is defined to have the value 'false'.") atmLecConfigServerAtmAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 12), XylanAtmLaneAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecConfigServerAtmAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmLecConfigServerAtmAddress.setDescription('The ATM address of the LAN Emulation Configuration Server (if known) or the empty string (otherwise).') atmLecConfigSource = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("gotAddressViaIlmi", 1), ("usedWellKnownAddress", 2), ("usedLecsPvc", 3), ("didNotUseLecs", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecConfigSource.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.2') if mibBuilder.loadTexts: atmLecConfigSource.setStatus('mandatory') if mibBuilder.loadTexts: atmLecConfigSource.setDescription('Indicates whether this LAN Emulation Client used the LAN Emulation Configuration Server, and, if so, what method it used to establish the Configuration Direct VCC.') atmLecActualLanType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 14), LecDataFrameFormat()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecActualLanType.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecActualLanType.setStatus('mandatory') if mibBuilder.loadTexts: atmLecActualLanType.setDescription("C2 LAN Type. The data frame format that this LAN Emulation Client is using right now. This may come from * atmLecConfigLanType, * the LAN Emulation Configuration Server, or * the LAN Emulation Server This value is related to 'ifMtu' and 'ifType'. See the LEC management specification for more details.") atmLecActualMaxDataFrameSize = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 15), LecDataFrameSize()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecActualMaxDataFrameSize.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecActualMaxDataFrameSize.setStatus('mandatory') if mibBuilder.loadTexts: atmLecActualMaxDataFrameSize.setDescription('C3 Maximum Data Frame Size. The maximum data frame size that this LAN Emulation client is using right now. This may come from * atmLecConfigMaxDataFrameSize, * the LAN Emulation Configuration Server, or * the LAN Emulation Server ') atmLecActualLanName = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecActualLanName.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecActualLanName.setStatus('mandatory') if mibBuilder.loadTexts: atmLecActualLanName.setDescription('C5 ELAN Name. The identity of the emulated LAN which this client last joined, or wishes to join. This may come from * atmLecConfigLanName, * the LAN Emulation Configuration Server, or * the LAN Emulation Server ') atmLecActualLesAtmAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 17), XylanAtmLaneAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecActualLesAtmAddress.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecActualLesAtmAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmLecActualLesAtmAddress.setDescription("C9 LE Server ATM Address. The LAN Emulation Server address currently in use or most recently attempted. If no LAN Emulation Server attachment has been tried, this object's value is the zero-length string.") atmLecProxyClient = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 2, 1, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecProxyClient.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 5.1.1') if mibBuilder.loadTexts: atmLecProxyClient.setStatus('mandatory') if mibBuilder.loadTexts: atmLecProxyClient.setDescription('C4 Proxy. Indicates whether this client is acting as a proxy. Proxy clients are allowed to represent unregistered MAC addresses, and receive copies of LE_ARP_REQUEST frames for such addresses.') atmLecStatisticsTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 3), ) if mibBuilder.loadTexts: atmLecStatisticsTable.setStatus('mandatory') if mibBuilder.loadTexts: atmLecStatisticsTable.setDescription('An extension table containing traffic statistics for all the LAN Emulation Clients this host implements.') atmLecStatisticsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 3, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxLecStatsSlotIndex"), (0, "XYLAN-ATM-MIB", "atmxLecStatsPortIndex"), (0, "XYLAN-ATM-MIB", "atmxLecStatsServiceNum")) if mibBuilder.loadTexts: atmLecStatisticsEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmLecStatisticsEntry.setDescription('Each row in this table contains traffic statistics for one LAN Emulation client.') atmxLecStatsSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLecStatsSlotIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxLecStatsSlotIndex.setDescription('Slot index to identify an instance of this table.') atmxLecStatsPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLecStatsPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxLecStatsPortIndex.setDescription('Port index to identify an instance of this table.') atmxLecStatsServiceNum = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 3, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLecStatsServiceNum.setStatus('mandatory') if mibBuilder.loadTexts: atmxLecStatsServiceNum.setDescription('Service number index to identify an instance of this table.') atmLecArpRequestsOut = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecArpRequestsOut.setStatus('mandatory') if mibBuilder.loadTexts: atmLecArpRequestsOut.setDescription('The number of LE_ARP_REQUESTs sent over the LUNI by this LAN Emulation Client.') atmLecArpRequestsIn = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecArpRequestsIn.setStatus('mandatory') if mibBuilder.loadTexts: atmLecArpRequestsIn.setDescription('The number of LE_ARP_REQUESTs received over the LUNI by this LAN Emulation Client. Requests may arrive on the Control Direct VCC or on the Control Distribute VCC, depending upon how the LES is implemented and the chances it has had for learning. This counter covers both VCCs.') atmLecArpRepliesOut = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecArpRepliesOut.setStatus('mandatory') if mibBuilder.loadTexts: atmLecArpRepliesOut.setDescription('The number of LE_ARP_RESPONSEs sent over the LUNI by this LAN Emulation Client.') atmLecArpRepliesIn = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecArpRepliesIn.setStatus('mandatory') if mibBuilder.loadTexts: atmLecArpRepliesIn.setDescription('The number of LE_ARP_RESPONSEs received over the LUNI by this LAN Emulation Client. This count includes all such replies, whether solicited or not. Replies may arrive on the Control Direct VCC or on the Control Distribute VCC, depending upon how the LES is implemented. This counter covers both VCCs.') atmLecControlFramesOut = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecControlFramesOut.setStatus('mandatory') if mibBuilder.loadTexts: atmLecControlFramesOut.setDescription('The total number of control packets sent by this LAN Emulation Client over the LUNI.') atmLecControlFramesIn = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecControlFramesIn.setStatus('mandatory') if mibBuilder.loadTexts: atmLecControlFramesIn.setDescription('The total number of control packets received by this LAN Emulation Client over the LUNI.') atmLecSvcFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecSvcFailures.setStatus('mandatory') if mibBuilder.loadTexts: atmLecSvcFailures.setDescription('The total number of * outgoing LAN Emulation SVCs which this client tried, but failed, to open; * incoming LAN Emulation SVCs which this client tried, but failed to establish; and * incoming LAN Emulation SVCs which this client rejected for protocol or security reasons. ') atmLecServerVccTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4), ) if mibBuilder.loadTexts: atmLecServerVccTable.setStatus('mandatory') if mibBuilder.loadTexts: atmLecServerVccTable.setDescription('A table identifying the Control and Multicast VCCs for each LAN Emulation Client this host implements.') atmLecServerVccEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxLecSlotIndex"), (0, "XYLAN-ATM-MIB", "atmxLecPortIndex"), (0, "XYLAN-ATM-MIB", "atmxLecServiceNum")) if mibBuilder.loadTexts: atmLecServerVccEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmLecServerVccEntry.setDescription('Each row in this table describes the Control VCCs and Multicast VCCs for one LAN Emulation client.') atmxLecSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLecSlotIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxLecSlotIndex.setDescription('index that uniquely identify an instance of the atmLecServerVccTable.') atmxLecPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLecPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxLecPortIndex.setDescription('index that uniquely identify an instance of the atmLecServerVccTable.') atmxLecServiceNum = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLecServiceNum.setStatus('mandatory') if mibBuilder.loadTexts: atmxLecServiceNum.setDescription('Index that uniquely identify an instance of the atmLecServerVccTable.') atmLecConfigDirectVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4, 1, 4), VpiInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecConfigDirectVpi.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 2.2.2.1.1') if mibBuilder.loadTexts: atmLecConfigDirectVpi.setStatus('mandatory') if mibBuilder.loadTexts: atmLecConfigDirectVpi.setDescription('If the Configuration Direct VCC exists, this object contains the VPI which identifies that VCC at the point where it connects to this LE client. Otherwise, this object has the value 0.') atmLecConfigDirectVci = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4, 1, 5), VciInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecConfigDirectVci.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 2.2.2.1.1') if mibBuilder.loadTexts: atmLecConfigDirectVci.setStatus('mandatory') if mibBuilder.loadTexts: atmLecConfigDirectVci.setDescription('If the Configuration Direct VCC exists, this object contains the VCI which identifies that VCC at the point where it connects to this LE client. Otherwise, this object has the value 0.') atmLecControlDirectVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4, 1, 6), VpiInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecControlDirectVpi.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 2.2.2.1.2') if mibBuilder.loadTexts: atmLecControlDirectVpi.setStatus('mandatory') if mibBuilder.loadTexts: atmLecControlDirectVpi.setDescription('If the Control Direct VCC exists, this object contains the VPI which identifies that VCC at the point where it connects to this LE client. Otherwise, this object has the value 0.') atmLecControlDirectVci = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4, 1, 7), VciInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecControlDirectVci.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 2.2.2.1.2') if mibBuilder.loadTexts: atmLecControlDirectVci.setStatus('mandatory') if mibBuilder.loadTexts: atmLecControlDirectVci.setDescription('If the Control Direct VCC exists, this object contains the VCI which identifies that VCC at the point where it connects to this LE client. Otherwise, this object has the value 0.') atmLecControlDistributeVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4, 1, 8), VpiInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecControlDistributeVpi.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 2.2.2.1.3') if mibBuilder.loadTexts: atmLecControlDistributeVpi.setStatus('mandatory') if mibBuilder.loadTexts: atmLecControlDistributeVpi.setDescription('If the Control Distribute VCC exists, this object contains the VPI which identifies that VCC at the point where it connects to this LE client. Otherwise, this object has the value 0.') atmLecControlDistributeVci = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4, 1, 9), VciInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecControlDistributeVci.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 2.2.2.1.3') if mibBuilder.loadTexts: atmLecControlDistributeVci.setStatus('mandatory') if mibBuilder.loadTexts: atmLecControlDistributeVci.setDescription('If the Control Distribute VCC exists, this object contains the VCI which identifies that VCC at the point where it connects to this LE client. Otherwise, this object contains the value 0.') atmLecMulticastSendVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4, 1, 10), VpiInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecMulticastSendVpi.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 2.2.2.2.2') if mibBuilder.loadTexts: atmLecMulticastSendVpi.setStatus('mandatory') if mibBuilder.loadTexts: atmLecMulticastSendVpi.setDescription('If the Multicast Send VCC exists, this object contains the VPI which identifies that VCC at the point where it connects to this LE client. Otherwise, this object has the value 0.') atmLecMulticastSendVci = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4, 1, 11), VciInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecMulticastSendVci.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 2.2.2.2.2') if mibBuilder.loadTexts: atmLecMulticastSendVci.setStatus('mandatory') if mibBuilder.loadTexts: atmLecMulticastSendVci.setDescription('If the Multicast Send VCC exists, this object contains the VCI which identifies that VCC at the point where it connects to this LE client. Otherwise, this object has the value 0.') atmLecMulticastForwardVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4, 1, 12), VpiInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecMulticastForwardVpi.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 2.2.2.2.3') if mibBuilder.loadTexts: atmLecMulticastForwardVpi.setStatus('mandatory') if mibBuilder.loadTexts: atmLecMulticastForwardVpi.setDescription('If the Multicast Forward VCC exists, this object contains the VPI which identifies that VCC at the point where it connects to this LE client. Otherwise, this object has the value 0.') atmLecMulticastForwardVci = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 4, 1, 13), VciInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLecMulticastForwardVci.setReference('ATM Forum LAN Emulation Over ATM Specification, V1.0, Section 2.2.2.2.3') if mibBuilder.loadTexts: atmLecMulticastForwardVci.setStatus('mandatory') if mibBuilder.loadTexts: atmLecMulticastForwardVci.setDescription('If the Multicast Forward VCC exists, this object contains the VCI which identifies that VCC at the point where it connects to this LE client. Otherwise, this object has the value 0.') atmLeArpTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 5), ) if mibBuilder.loadTexts: atmLeArpTable.setReference('ATM Forum LAN Emulation Over ATM Specification, Section 5.1.1') if mibBuilder.loadTexts: atmLeArpTable.setStatus('mandatory') if mibBuilder.loadTexts: atmLeArpTable.setDescription("This table provides access to an ATM LAN Emulation Client's MAC-to-ATM ARP cache. It contains entries for unicast addresses and for the broadcast address, but not for multicast MAC addresses. C16 LE_ARP Cache. A table of entries, each of which establishes a relationship between a LAN Destination external to the LE Client and the ATM address to which data frames for that LAN Destination will be sent.") atmLeArpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 5, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxLeArpSlotIndex"), (0, "XYLAN-ATM-MIB", "atmxLeArpPortIndex"), (0, "XYLAN-ATM-MIB", "atmxLeArpServiceNum"), (0, "XYLAN-ATM-MIB", "atmLeArpIndex")) if mibBuilder.loadTexts: atmLeArpEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmLeArpEntry.setDescription('An ATM LAN Emulation ARP cache entry containing information about the binding of one MAC address to one ATM address.') atmxLeArpSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 5, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLeArpSlotIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxLeArpSlotIndex.setDescription('Slot index that uniquely identify an instance of the LeArp Table.') atmxLeArpPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 5, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLeArpPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxLeArpPortIndex.setDescription('Port index that uniquely identify an instance of the LeArp Table.') atmxLeArpServiceNum = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 5, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxLeArpServiceNum.setStatus('mandatory') if mibBuilder.loadTexts: atmxLeArpServiceNum.setDescription('Service number index that uniquely identify an instance of the LeArp Table.') atmLeArpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 5, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLeArpIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmLeArpIndex.setDescription('Index that uniquely identify an instance of the LeArp Table.') atmLeArpMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 5, 1, 5), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLeArpMacAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmLeArpMacAddress.setDescription("The MAC address for which this cache entry provides a translation. Since ATM LAN Emulation uses an ARP protocol to locate the Broadcast and Unknown Server, the value of this object could be the broadcast MAC address. MAC addresses should be unique within any given ATM Emulated LAN. However, there's no requirement that they be unique across disjoint emulated LANs.") atmLeArpAtmAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 5, 1, 6), XylanAtmLaneAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLeArpAtmAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmLeArpAtmAddress.setDescription("The ATM address of the Broadcast & Unknown Server or LAN Emulation Client whose MAC address is stored in 'atmLeArpMacAddress'. This value may be determined through the use of the LE_ARP procedure, through source address learning, or through other mechanisms. Some agents may provide write access to this object, as part of their support for 'static' LE_ARP entries. The effect of attempting to write an ATM address to a 'learned' row is explicitly undefined. Agents may disallow the write, accept the write and change the row's type, or even accept the write as-is.") atmLeArpIsRemoteAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 5, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLeArpIsRemoteAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmLeArpIsRemoteAddress.setDescription("Indicates whether this entry is for a local or remote MAC address. In this context, 'local' means 'a MAC address that is local to the remote client', as opposed to 'one of my addresses'. true(1) The address is believed to be remote - or its local/remote status is unknown. For an entry created via the LE_ARP mechanism, this corresponds to the 'Remote address' flag being set in the LE_ARP_RESPONSE. During Topology Change periods, remote LE_ARP entries generally age out faster than others. Specifically, they are subject to the Forward Delay Time as well as to the Aging Time. false(2) The address is believed to be local - that is to say, registered with the LES by the client whose ATM address is atmLeArpAtmAddress. For an entry created via the LE_ARP mechanism, this corresponds to the 'Remote address' flag being cleared in the LE_ARP_RESPONSE.") atmLeArpEntryType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 5, 1, 8), LeArpTableEntryType()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLeArpEntryType.setStatus('mandatory') if mibBuilder.loadTexts: atmLeArpEntryType.setDescription('Indicates how this LE_ARP table entry was created and whether it is aged.') atmLeArpVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 5, 1, 9), VpiInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLeArpVpi.setStatus('mandatory') if mibBuilder.loadTexts: atmLeArpVpi.setDescription('Indicates the vpi that this MAC is used to for it Data Direct VCC.') atmLeArpVci = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 5, 1, 10), VciInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLeArpVci.setStatus('mandatory') if mibBuilder.loadTexts: atmLeArpVci.setDescription('Indicates the vci that this MAC is used to for it Data Direct VCC.') atmLeArpAge = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 5, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLeArpAge.setStatus('mandatory') if mibBuilder.loadTexts: atmLeArpAge.setDescription('Indicates the time in second that this entry is being verified.') atmLeArpType = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 5, 1, 12), LeArpType()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmLeArpType.setStatus('mandatory') if mibBuilder.loadTexts: atmLeArpType.setDescription('Indicates if this entry represents a SR RD or a ESI.') xylanLecConfigTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 6), ) if mibBuilder.loadTexts: xylanLecConfigTable.setStatus('mandatory') if mibBuilder.loadTexts: xylanLecConfigTable.setDescription('A supplementary table of the lecConfigTable in ATM Forum MIB providing additional information for creating and starting LEC service. This table is indexed by the lecIndex. Each row corresponding to the row with the same lecIndex in the lecConfigTable.') xylanLecConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 6, 1), ).setIndexNames((0, "LAN-EMULATION-CLIENT-MIB", "lecIndex")) if mibBuilder.loadTexts: xylanLecConfigEntry.setStatus('mandatory') if mibBuilder.loadTexts: xylanLecConfigEntry.setDescription('Each row contains a slot number, a port number, a service number and a group number for the LEC service.') xylanLecSlotNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 6, 1, 1), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: xylanLecSlotNumber.setStatus('mandatory') if mibBuilder.loadTexts: xylanLecSlotNumber.setDescription('The slot on which the ASM/FCSM module is located. The LEC service is to be created on that module. When a row has just been created, the first slot which has the ASM/FCSM module is assigned to this instance. If this number is not changed. The service will be created based on this assigned slot number.') xylanLecPortNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 6, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: xylanLecPortNumber.setStatus('mandatory') if mibBuilder.loadTexts: xylanLecPortNumber.setDescription('The port of the ASM/FCSM module on which The LEC service is to be created. When a row has just been created, the first available port of the ASM/FCSM module is assigned to this instance. If this number is not changed. The service will be created based on this assigned port number.') xylanLecServiceNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 6, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xylanLecServiceNumber.setStatus('mandatory') if mibBuilder.loadTexts: xylanLecServiceNumber.setDescription('The service number which is assigned by the system.') xylanLecGroupNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 8, 6, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: xylanLecGroupNumber.setStatus('mandatory') if mibBuilder.loadTexts: xylanLecGroupNumber.setDescription('The group to which the LEC service belong. When a row has just been created, the default group number is assigned to this instance. If this number is not changed. The service will be created based on this assigned group number.') atmCIPStatisticsTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1), ) if mibBuilder.loadTexts: atmCIPStatisticsTable.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPStatisticsTable.setDescription('An extension table containing traffic statistics for all the Classical IP this host implements.') atmCIPStatisticsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxCIPSlotIndex"), (0, "XYLAN-ATM-MIB", "atmxCIPPortIndex"), (0, "XYLAN-ATM-MIB", "atmxCIPServiceNum")) if mibBuilder.loadTexts: atmCIPStatisticsEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPStatisticsEntry.setDescription('Each row in this table contains traffic statistics for one Classical IP Service.') atmxCIPSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxCIPSlotIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxCIPSlotIndex.setDescription('Slot index to identify an instance of this table.') atmxCIPPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxCIPPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxCIPPortIndex.setDescription('Port index to identify an instance of this table.') atmxCIPServiceNum = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxCIPServiceNum.setStatus('mandatory') if mibBuilder.loadTexts: atmxCIPServiceNum.setDescription('Service number index to identify an instance of this table.') atmCIPpktsFromIP = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPpktsFromIP.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPpktsFromIP.setDescription('The number of packets received form IP.') atmCIPBroadcastPktFromIP = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPBroadcastPktFromIP.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPBroadcastPktFromIP.setDescription('The number of Broadcast packets received form IP.') atmCIPPktsFromIPDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPPktsFromIPDiscard.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPPktsFromIPDiscard.setDescription('The number of packets received form IP discarded.') atmCIPPktsToIP = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPPktsToIP.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPPktsToIP.setDescription('The number of packets sent to IP.') atmCIPPktsFromNet = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPPktsFromNet.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPPktsFromNet.setDescription('The number of packets received from the Network.') atmCIPPktsFromNetDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPPktsFromNetDiscard.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPPktsFromNetDiscard.setDescription('The number of packets sent to IP discarded.') atmCIPArpRespFromNet = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPArpRespFromNet.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPArpRespFromNet.setDescription('The number of Arp response packet received form the network.') atmCIPArpReqFromNet = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPArpReqFromNet.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPArpReqFromNet.setDescription('The number of Arp request packet received form the network.') atmCIPInvArpRespFromNet = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPInvArpRespFromNet.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPInvArpRespFromNet.setDescription('The number of Inverse Arp response packet received form the network.') atmCIPInvArpReqFromNet = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPInvArpReqFromNet.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPInvArpReqFromNet.setDescription('The number of Inverse Arp request packet received form the network.') atmCIPInvArpNakFromNet = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPInvArpNakFromNet.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPInvArpNakFromNet.setDescription('The number of Inverse Arp negative acknowledgement packet received form the network.') atmCIPPktsToNet = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPPktsToNet.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPPktsToNet.setDescription('The number of packets sent to the network.') atmCIPPktsToNetDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPPktsToNetDiscard.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPPktsToNetDiscard.setDescription('The number of packets sent to the network.') atmCIPArpRespToNet = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPArpRespToNet.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPArpRespToNet.setDescription('The number of Arp response packet sent to the network.') atmCIPArpReqToNet = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPArpReqToNet.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPArpReqToNet.setDescription('The number of Arp request packet sent to the network.') atmCIPInvArpRespToNet = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPInvArpRespToNet.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPInvArpRespToNet.setDescription('The number of Inverse Arp response packet sent to the network.') atmCIPInvArpReqToNet = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPInvArpReqToNet.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPInvArpReqToNet.setDescription('The number of Inverse Arp request packet sent to the network.') atmCIPInvArpNakToNet = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 9, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCIPInvArpNakToNet.setStatus('mandatory') if mibBuilder.loadTexts: atmCIPInvArpNakToNet.setDescription('The number of Inverse Arp negative acknowledge packet sent to the network.') atmGpToVcMappingTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 1), ) if mibBuilder.loadTexts: atmGpToVcMappingTable.setStatus('mandatory') if mibBuilder.loadTexts: atmGpToVcMappingTable.setDescription('An extension table containing mapping info for all group to VCI (and VPI) mapping for 1 Scaling service. This table is for create, delete 1 mapping entry. Utilize atmxServiceGroup to create or delete a 1483 Scaling Service. Create 1483 Scaling Service only with 1 group and 1 vc thru the atmxServiceGroup. Adding or removing other group-to-vc mapping should then use this atmx1483ScaleGroup.') atmGpToVcMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 1, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxGpToVcSlotIndex"), (0, "XYLAN-ATM-MIB", "atmxGpToVcPortIndex"), (0, "XYLAN-ATM-MIB", "atmxGpToVcServiceNum"), (0, "XYLAN-ATM-MIB", "atmxGpToVcGroupId")) if mibBuilder.loadTexts: atmGpToVcMappingEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmGpToVcMappingEntry.setDescription('Each row in this table contains mapping info for 1 group to 1 VCI (and 1 VPI) entry. The value for VPI must be zero (0).') atmxGpToVcSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxGpToVcSlotIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxGpToVcSlotIndex.setDescription('Slot index to identify an instance of this table.') atmxGpToVcPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxGpToVcPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxGpToVcPortIndex.setDescription('Port index to identify an instance of this table.') atmxGpToVcServiceNum = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxGpToVcServiceNum.setStatus('mandatory') if mibBuilder.loadTexts: atmxGpToVcServiceNum.setDescription('Service number index to identify an instance of this table.') atmxGpToVcGroupId = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxGpToVcGroupId.setStatus('mandatory') if mibBuilder.loadTexts: atmxGpToVcGroupId.setDescription('Group number index to identify an instance of this table.') atmxGpToVcVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 1, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxGpToVcVpi.setStatus('mandatory') if mibBuilder.loadTexts: atmxGpToVcVpi.setDescription('The VPI for 1 Scaling Service. VPI can only be zero .') atmxGpToVcVci = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 1, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxGpToVcVci.setStatus('mandatory') if mibBuilder.loadTexts: atmxGpToVcVci.setDescription('The VCI for 1 Scaling Service. The range for VCI is from 1 to 1000.') atmxGpToVcRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("create", 1), ("delete", 2), ("active", 3), ("inactive", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxGpToVcRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: atmxGpToVcRowStatus.setDescription('Row Status indicates the state of a entry of this mapping table. For a Get-operation, the value to be returned values can be ACTIVE or INACTIVE. This RowStatus will return ACTIVE, if the atmxServiceAdminStatus (an object in atmxSerivceGroup) is set to ENABLE. RowStatus will be INACTIVE if atmxServiceAdminStatus is set to a value other than ENABLE. RowStatus can only set to CREATE or DELETE. The values ACTIVE and INACTIVE are read only. For a Set-operation, values to be set can be CREATE or DELETE. Utilize atmxServiceGroup to create or delete a 1483 Scaling Service. Create 1483 Scaling Service only with 1 group and 1 vc thru the atmxServiceGroup. Adding or removing other group-to-vc mapping should then use this atmx1483ScaleGroup.') atmGpToVcBulkMappingTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 2), ) if mibBuilder.loadTexts: atmGpToVcBulkMappingTable.setStatus('mandatory') if mibBuilder.loadTexts: atmGpToVcBulkMappingTable.setDescription('An extension table containing mapping (bulk) info for all group to VCI (and VPI) mapping for 1 Scaling service. This table can only have 1 row. This table is for updating the whole mapping list (ie. all mapping entries ) at one time. ') atmGpToVcBulkMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 2, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxGpToVcBulkSlotIndex"), (0, "XYLAN-ATM-MIB", "atmxGpToVcBulkPortIndex"), (0, "XYLAN-ATM-MIB", "atmxGpToVcBulkServiceNum")) if mibBuilder.loadTexts: atmGpToVcBulkMappingEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmGpToVcBulkMappingEntry.setDescription('There is only 1 row in this table. This row contains all group to VCI (and VPI) mapping for 1 Scaling service. There are 3 indices for this table. The value for VPI must be zero (0).') atmxGpToVcBulkSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxGpToVcBulkSlotIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxGpToVcBulkSlotIndex.setDescription('Slot index to identify a Scaling service.') atmxGpToVcBulkPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxGpToVcBulkPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxGpToVcBulkPortIndex.setDescription('Port index to identify a Scaling service.') atmxGpToVcBulkServiceNum = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxGpToVcBulkServiceNum.setStatus('mandatory') if mibBuilder.loadTexts: atmxGpToVcBulkServiceNum.setDescription('Service number index to identify a Scaling service.') atmxGpToVcBulkNumOfNodes = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxGpToVcBulkNumOfNodes.setStatus('mandatory') if mibBuilder.loadTexts: atmxGpToVcBulkNumOfNodes.setDescription('Number of group to VCI (and VPI) mapping inside the bulk mapping list. ') atmxGpToVcBulkMappingList = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 12, 2, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxGpToVcBulkMappingList.setStatus('mandatory') if mibBuilder.loadTexts: atmxGpToVcBulkMappingList.setDescription('A list containing all group to VCI (and VPI) mapping entries. Each mapping entry has the following fields having the exact order : a) Group Number (4 bytes) b) VPI (2 bytes) c) VCI (2 bytes) A total of 8 bytes for each mapping structure. There is no separator in between matching structures, nor is a end-of-string in this whole matching list. The size of this whole mapping list must be a multiple of 8 bytes. For Set-Operations, if a user wants to update the mapping list, he must send the whole mapping list buffer. ') atmxBwgTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 11, 1), ) if mibBuilder.loadTexts: atmxBwgTable.setStatus('mandatory') if mibBuilder.loadTexts: atmxBwgTable.setDescription('A table of Bandwidth group parameters for Traffic Shaping') atmxBwgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 11, 1, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxBwgSlotIndex"), (0, "XYLAN-ATM-MIB", "atmxBwgPortIndex"), (0, "XYLAN-ATM-MIB", "atmxBwgNum")) if mibBuilder.loadTexts: atmxBwgEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmxBwgEntry.setDescription('An entry in the table, containing information about the Traffic parameters for each of the 8 bandwidth groups') atmxBwgSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 11, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 9))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxBwgSlotIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxBwgSlotIndex.setDescription('A unique value which identifies this hsm board slot.') atmxBwgPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 11, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxBwgPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: atmxBwgPortIndex.setDescription('A unique value which identifies this atm submodule port.') atmxBwgNum = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 11, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxBwgNum.setStatus('mandatory') if mibBuilder.loadTexts: atmxBwgNum.setDescription('A unique value that identifies the bwg') atmxBwgBE = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 11, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxBwgBE.setStatus('mandatory') if mibBuilder.loadTexts: atmxBwgBE.setDescription('Whether to use Best Effort for tx data.') atmxBwgPcr = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 11, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(535, 150000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxBwgPcr.setStatus('mandatory') if mibBuilder.loadTexts: atmxBwgPcr.setDescription('The value of the Peak Cell Rate(Kbps) as defined in the Traffic Management Specification Version 4.0. atmxBwgPcr has no meaning when atmxBwgBE is equal to true.') atmxBwgScr = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 11, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(35, 150000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxBwgScr.setStatus('mandatory') if mibBuilder.loadTexts: atmxBwgScr.setDescription('The value of the Sustained Cell Rate(Kbps) as defined in the Traffic Management Specification Version 4.0. atmxBwgScr must be less or equal to atmxBwgPcr. atmxBwgScr has no meaning when atmxBwgBE is equal to true.') atmxBwgMbs = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 11, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 124))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmxBwgMbs.setStatus('mandatory') if mibBuilder.loadTexts: atmxBwgMbs.setDescription('The value of the max burst size when interleaving traffic from multiple sources as defined in the 4.0 Traffic Management specification. atmxBwgMbs has no meaning when atmxBwgBE is equal to true.') atmxBwgOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 11, 1, 1, 8), AtmOperStatCodes()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxBwgOperStatus.setStatus('mandatory') if mibBuilder.loadTexts: atmxBwgOperStatus.setDescription('If the bwg is being used by any service we return inService(2) , or we return outOfService(3).') atmxBwgServiceTable = MibTable((1, 3, 6, 1, 4, 1, 800, 2, 4, 11, 2), ) if mibBuilder.loadTexts: atmxBwgServiceTable.setStatus('mandatory') if mibBuilder.loadTexts: atmxBwgServiceTable.setDescription('A table of Service group parameters for Traffic Shaping') atmxBwgServiceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 800, 2, 4, 11, 2, 1), ).setIndexNames((0, "XYLAN-ATM-MIB", "atmxBwgSlotIndex"), (0, "XYLAN-ATM-MIB", "atmxBwgPortIndex"), (0, "XYLAN-ATM-MIB", "atmxBwgNum"), (0, "XYLAN-ATM-MIB", "atmxBwgServiceNum")) if mibBuilder.loadTexts: atmxBwgServiceEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmxBwgServiceEntry.setDescription('Each entry represents an BandWidthGroup to Service mapping.') atmxBwgServiceNum = MibTableColumn((1, 3, 6, 1, 4, 1, 800, 2, 4, 11, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmxBwgServiceNum.setStatus('mandatory') if mibBuilder.loadTexts: atmxBwgServiceNum.setDescription('A unique value which identifies a service.') mibBuilder.exportSymbols("XYLAN-ATM-MIB", atmxVccRequestedTransmitTrafficDescriptorParam3=atmxVccRequestedTransmitTrafficDescriptorParam3, atmxAddressReceiveMaxSDU=atmxAddressReceiveMaxSDU, atmLeArpIndex=atmLeArpIndex, LecDataFrameFormat=LecDataFrameFormat, atmCIPStatisticsTable=atmCIPStatisticsTable, atmxVccStatsRxCellCrcErrors=atmxVccStatsRxCellCrcErrors, atmxAddressAcceptableTransmitTrafficDescriptorParam1=atmxAddressAcceptableTransmitTrafficDescriptorParam1, atmCIPPktsToNetDiscard=atmCIPPktsToNetDiscard, atmLecInterfaceState=atmLecInterfaceState, atmxServiceEntry=atmxServiceEntry, atmxAddressAddrUsed=atmxAddressAddrUsed, atmxLayerStatsTxSDUErrors=atmxLayerStatsTxSDUErrors, atmLecConfigLecsAtmAddress=atmLecConfigLecsAtmAddress, atmxVccAcceptableTransmitTrafficDescriptorParam3=atmxVccAcceptableTransmitTrafficDescriptorParam3, atmLeArpAge=atmLeArpAge, atmxVccConnectionUsed=atmxVccConnectionUsed, AtmConnectionOperStatCodes=AtmConnectionOperStatCodes, atmLeArpTable=atmLeArpTable, atmxVccActualReceiveTrafficDescriptor=atmxVccActualReceiveTrafficDescriptor, xylanLecPortNumber=xylanLecPortNumber, atmxAddressAcceptableTransmitTrafficDescriptorParam2=atmxAddressAcceptableTransmitTrafficDescriptorParam2, atmLecServerVccTable=atmLecServerVccTable, atmxAddressRequestedReceiveTrafficDescriptor=atmxAddressRequestedReceiveTrafficDescriptor, atmxPortPortIndex=atmxPortPortIndex, atmxAddressAdmStatus=atmxAddressAdmStatus, atmxAddressRequestedReceiveTrafficDescriptorParam2=atmxAddressRequestedReceiveTrafficDescriptorParam2, atmxLayerStatsTxOctets=atmxLayerStatsTxOctets, atmxLayerStatsRxSDUs=atmxLayerStatsRxSDUs, LecState=LecState, atmCIPPktsToNet=atmCIPPktsToNet, atmxVccServiceUsed=atmxVccServiceUsed, atmxAddressAcceptableReceiveTrafficDescriptorParam2=atmxAddressAcceptableReceiveTrafficDescriptorParam2, atmxLecStatsServiceNum=atmxLecStatsServiceNum, atmLeArpVpi=atmLeArpVpi, atmxPortGroup=atmxPortGroup, atmxBwgTable=atmxBwgTable, atmLecProxyClient=atmLecProxyClient, atmxVccStatsTable=atmxVccStatsTable, atmxBwgNum=atmxBwgNum, xylanLecGroupNumber=xylanLecGroupNumber, atmxAddressRequestedTransmitTrafficDescriptorParam2=atmxAddressRequestedTransmitTrafficDescriptorParam2, atmLecVccTimeoutPeriod=atmLecVccTimeoutPeriod, xylanLecConfigEntry=xylanLecConfigEntry, atmxCIPstatsGroup=atmxCIPstatsGroup, atmGpToVcBulkMappingEntry=atmGpToVcBulkMappingEntry, atmxAddressVpi=atmxAddressVpi, atmLecSrBridgeNum=atmLecSrBridgeNum, atmxPortSignalingVersion=atmxPortSignalingVersion, atmLecAgingTime=atmLecAgingTime, atmxPortRxSegmentSize=atmxPortRxSegmentSize, atmLecArpRequestsOut=atmLecArpRequestsOut, atmCIPInvArpReqFromNet=atmCIPInvArpReqFromNet, atmxLayerStatsRxCellNoBuffers=atmxLayerStatsRxCellNoBuffers, atmLecConfigDirectVpi=atmLecConfigDirectVpi, atmxServiceMulticastOutVcc=atmxServiceMulticastOutVcc, atmxLecStatusServiceNum=atmxLecStatusServiceNum, atmxLecPortIndex=atmxLecPortIndex, atmxVccAcceptableTransmitTrafficDescriptor=atmxVccAcceptableTransmitTrafficDescriptor, atmLecConfigMode=atmLecConfigMode, atmxVccStatsRxCellTrash=atmxVccStatsRxCellTrash, atmxAddressAcceptableReceiveTrafficBestEffort=atmxAddressAcceptableReceiveTrafficBestEffort, atmxVccStatsTxSDUDiscards=atmxVccStatsTxSDUDiscards, atmxVccActualReceiveTrafficQoSClass=atmxVccActualReceiveTrafficQoSClass, atmLecProtocol=atmLecProtocol, atmLecActualLanName=atmLecActualLanName, atmxVccStatsRxSDUErrors=atmxVccStatsRxSDUErrors, atmxArpTimeToLive=atmxArpTimeToLive, atmxAddressRequestedTransmitTrafficBestEffort=atmxAddressRequestedTransmitTrafficBestEffort, atmxGpToVcBulkNumOfNodes=atmxGpToVcBulkNumOfNodes, atmxPortEntry=atmxPortEntry, atmxPortProtocolType=atmxPortProtocolType, atmxVccOperStatus=atmxVccOperStatus, atmLecSvcFailures=atmLecSvcFailures, atmxGpToVcBulkServiceNum=atmxGpToVcBulkServiceNum, atmxVccActualTransmitTrafficDescriptorParam3=atmxVccActualTransmitTrafficDescriptorParam3, atmxLayerStatsRxCellErrors=atmxLayerStatsRxCellErrors, atmLecMaxUnknownFrameTime=atmLecMaxUnknownFrameTime, atmxLecStatusSlotIndex=atmxLecStatusSlotIndex, atmCIPInvArpNakFromNet=atmCIPInvArpNakFromNet, atmxArpEntry=atmxArpEntry, atmxVccRequestedReceiveTrafficQoSClass=atmxVccRequestedReceiveTrafficQoSClass, atmxBwgBE=atmxBwgBE, atmLecID=atmLecID, atmLecControlDistributeVpi=atmLecControlDistributeVpi, atmxAddressAcceptableTransmitTrafficBestEffort=atmxAddressAcceptableTransmitTrafficBestEffort, atmLecConfigSource=atmLecConfigSource, atmCIPArpRespToNet=atmCIPArpRespToNet, atmxVccRequestedTransmitTrafficDescriptorParam2=atmxVccRequestedTransmitTrafficDescriptorParam2, atmxServiceArpRequestServer=atmxServiceArpRequestServer, atmxCIPPortIndex=atmxCIPPortIndex, atmxServiceVclEncapType=atmxServiceVclEncapType, atmLeArpVci=atmLeArpVci, atmxLeArpPortIndex=atmxLeArpPortIndex, atmLecVersion=atmLecVersion, atmxVccActualReceiveTrafficBestEffort=atmxVccActualReceiveTrafficBestEffort, atmLecActualLanType=atmLecActualLanType, atmxVccRequestedTransmitTrafficQoSClass=atmxVccRequestedTransmitTrafficQoSClass, atmxVccStatsRxSDUNoBuffers=atmxVccStatsRxSDUNoBuffers, atmxServiceConnections=atmxServiceConnections, atmxVccStatsPortIndex=atmxVccStatsPortIndex, atmLecMulticastForwardVpi=atmLecMulticastForwardVpi, atmxLayerStatsTable=atmxLayerStatsTable, atmLecPrimaryAtmAddress=atmLecPrimaryAtmAddress, atmLeArpType=atmLeArpType, atmxGpToVcRowStatus=atmxGpToVcRowStatus, atmxBwgScr=atmxBwgScr, atmxLayerStatsTxCellErrors=atmxLayerStatsTxCellErrors, atmLecControlTimeout=atmLecControlTimeout, atmxAddressAcceptableReceiveTrafficDescriptor=atmxAddressAcceptableReceiveTrafficDescriptor, atmxVccAcceptableReceiveTrafficDescriptorParam2=atmxVccAcceptableReceiveTrafficDescriptorParam2, atmxPortUniType=atmxPortUniType, atmxLecConfigIndex=atmxLecConfigIndex, atmLecMaxRetryCount=atmLecMaxRetryCount, atmxVccRequestedReceiveTrafficDescriptorParam2=atmxVccRequestedReceiveTrafficDescriptorParam2, atmLecMaxUnknownFrameCount=atmLecMaxUnknownFrameCount, atmxBwgMbs=atmxBwgMbs, atmxAddressTransmitMaxSDU=atmxAddressTransmitMaxSDU, atmxVccStatsTxCellNoBuffers=atmxVccStatsTxCellNoBuffers, atmCIPArpReqToNet=atmCIPArpReqToNet, atmxLayerStatsTxSDUs=atmxLayerStatsTxSDUs, atmxPortConnectionType=atmxPortConnectionType, atmLeArpIsRemoteAddress=atmLeArpIsRemoteAddress, atmxPortMediaType=atmxPortMediaType, atmxAddressRequestedTransmitTrafficDescriptorParam3=atmxAddressRequestedTransmitTrafficDescriptorParam3, atmxVccRequestedTransmitTrafficDescriptorParam1=atmxVccRequestedTransmitTrafficDescriptorParam1, atmLecForwardDelayTime=atmLecForwardDelayTime, atmxVccStatsRxCellNoBuffers=atmxVccStatsRxCellNoBuffers, atmxLayerStatsRxSDUErrors=atmxLayerStatsRxSDUErrors, atmxPortTxSegmentSize=atmxPortTxSegmentSize, atmxArpAtmAddress=atmxArpAtmAddress, atmCIPInvArpRespFromNet=atmCIPInvArpRespFromNet, atmxVccAcceptableTransmitTrafficQoSClass=atmxVccAcceptableTransmitTrafficQoSClass, atmLecSrRingNum=atmLecSrRingNum, atmxArpTable=atmxArpTable, atmxLayerStatsTxCellDiscards=atmxLayerStatsTxCellDiscards, atmxServicePortIndex=atmxServicePortIndex, atmxLayerStatsRxSDUNoBuffers=atmxLayerStatsRxSDUNoBuffers, atmLecRowStatus=atmLecRowStatus, atmxVccGroup=atmxVccGroup, atmxPortDescription=atmxPortDescription, atmxVccTransmitMaxFrameSize=atmxVccTransmitMaxFrameSize, atmxVccStatsTxOctets=atmxVccStatsTxOctets, atmxAddressRequestedReceiveTrafficDescriptorParam3=atmxAddressRequestedReceiveTrafficDescriptorParam3, atmGpToVcBulkMappingTable=atmGpToVcBulkMappingTable, atmxBwgServiceEntry=atmxBwgServiceEntry, atmLecUseTranslation=atmLecUseTranslation, atmLecTopologyChange=atmLecTopologyChange, atmGpToVcMappingTable=atmGpToVcMappingTable, atmxVccPortIndex=atmxVccPortIndex, atmxVccRequestedReceiveTrafficDescriptorParam3=atmxVccRequestedReceiveTrafficDescriptorParam3, VciInteger=VciInteger, atmxVccRequestedTransmitTrafficDescriptor=atmxVccRequestedTransmitTrafficDescriptor, atmxGpToVcSlotIndex=atmxGpToVcSlotIndex, atmxVccStatsTxCells=atmxVccStatsTxCells, atmxServiceType=atmxServiceType, atmxVccStatsVci=atmxVccStatsVci, atmxPortMaxVCCs=atmxPortMaxVCCs, atmxAddressAcceptableTransmitTrafficDescriptorParam3=atmxAddressAcceptableTransmitTrafficDescriptorParam3, atmLecExpectedArpResponseTime=atmLecExpectedArpResponseTime, atmxVccDownTime=atmxVccDownTime, atmxVccActualTransmitTrafficDescriptorParam1=atmxVccActualTransmitTrafficDescriptorParam1, atmxCIPServiceNum=atmxCIPServiceNum, atmxPortILMIstatus=atmxPortILMIstatus, atmxAddressAtmAddress=atmxAddressAtmAddress, atmxLecSlotIndex=atmxLecSlotIndex, atmLeArpEntryType=atmLeArpEntryType, atmxAddressGroup=atmxAddressGroup, atmxVccStatsRxSDUCrcErrors=atmxVccStatsRxSDUCrcErrors, atmxLeArpServiceNum=atmxLeArpServiceNum, atmLecStatusTable=atmLecStatusTable, atmLecControlDirectVci=atmLecControlDirectVci, atmxLayerStatsEntry=atmxLayerStatsEntry, atmxVccStatsEntry=atmxVccStatsEntry, atmxVccStatsRxCellDiscards=atmxVccStatsRxCellDiscards, atmxVccStatsRxSDUDiscards=atmxVccStatsRxSDUDiscards, atmxGpToVcVci=atmxGpToVcVci, atmxVccStatsGroup=atmxVccStatsGroup, atmxAddressTable=atmxAddressTable, atmxLayerStatsTxCellNoBuffers=atmxLayerStatsTxCellNoBuffers, atmxPortTable=atmxPortTable, atmxVccReceiveMaxFrameSize=atmxVccReceiveMaxFrameSize, atmLecConfigServerAtmAddress=atmLecConfigServerAtmAddress, atmLecPathSwitchingDelay=atmLecPathSwitchingDelay, atmxPortTimingMode=atmxPortTimingMode, atmxVccRequestedReceiveTrafficDescriptor=atmxVccRequestedReceiveTrafficDescriptor, atmxArpGroup=atmxArpGroup, atmxLayerStatsRxCellDiscards=atmxLayerStatsRxCellDiscards, atmxAddressVci=atmxAddressVci, atmxBwgEntry=atmxBwgEntry, atmxLayerStatsRxSDUDiscards=atmxLayerStatsRxSDUDiscards, atmxVccStatsTxCellErrors=atmxVccStatsTxCellErrors, atmxPortSignalingVci=atmxPortSignalingVci, atmxPortILMIVci=atmxPortILMIVci, atmxLayerStatsTxSDUDiscards=atmxLayerStatsTxSDUDiscards, atmxVccAcceptableTransmitTrafficDescriptorParam2=atmxVccAcceptableTransmitTrafficDescriptorParam2, atmLecStatisticsTable=atmLecStatisticsTable, atmLecControlFramesOut=atmLecControlFramesOut, atmCIPBroadcastPktFromIP=atmCIPBroadcastPktFromIP, atmLeArpMacAddress=atmLeArpMacAddress, atmxArpType=atmxArpType, atmxAddressIndex=atmxAddressIndex, atmxArpIPAddress=atmxArpIPAddress, atmxVccAcceptableTransmitTrafficDescriptorParam1=atmxVccAcceptableTransmitTrafficDescriptorParam1, atmxVccAcceptableReceiveTrafficDescriptorParam1=atmxVccAcceptableReceiveTrafficDescriptorParam1, atmxLayerStatsTxCells=atmxLayerStatsTxCells, atmxPortLoopbackConfig=atmxPortLoopbackConfig, atmxAddressRequestedTransmitTrafficQoSClass=atmxAddressRequestedTransmitTrafficQoSClass, atmxPortTxBufferSize=atmxPortTxBufferSize, xylanLecConfigTable=xylanLecConfigTable, atmxAddressRequestedReceiveTrafficQoSClass=atmxAddressRequestedReceiveTrafficQoSClass, atmxVccAcceptableTransmitTrafficBestEffort=atmxVccAcceptableTransmitTrafficBestEffort, atmLecLastFailureRespCode=atmLecLastFailureRespCode, atmxServiceGroup=atmxServiceGroup, atmxAddressDescription=atmxAddressDescription, atmxPortSSCOPstatus=atmxPortSSCOPstatus, atmxBwgPcr=atmxBwgPcr, atmLecMulticastSendVci=atmLecMulticastSendVci, atmxLayerStatsTxSDUNoBuffers=atmxLayerStatsTxSDUNoBuffers, atmxLayerStatsRxSDUCrcErrors=atmxLayerStatsRxSDUCrcErrors, atmxLeArpSlotIndex=atmxLeArpSlotIndex, atmLecControlDistributeVci=atmLecControlDistributeVci, atmxLecStatusPortIndex=atmxLecStatusPortIndex, atmLeArpEntry=atmLeArpEntry, atmxGpToVcBulkMappingList=atmxGpToVcBulkMappingList, atmxServiceAddress=atmxServiceAddress, atmxPortPlScramble=atmxPortPlScramble, atmx1483ScaleGroup=atmx1483ScaleGroup, atmLecRowInUse=atmLecRowInUse, atmxLayerStatsRxSDUTrash=atmxLayerStatsRxSDUTrash, atmLecConfigUseDefaultLecsAddr=atmLecConfigUseDefaultLecsAddr, atmxVccCircuitType=atmxVccCircuitType, atmCIPpktsFromIP=atmCIPpktsFromIP, atmCIPStatisticsEntry=atmCIPStatisticsEntry, atmxVccRequestedReceiveTrafficBestEffort=atmxVccRequestedReceiveTrafficBestEffort, atmxVccEntry=atmxVccEntry, atmxVccDescription=atmxVccDescription, atmxVccStatsRxCellErrors=atmxVccStatsRxCellErrors, atmxLsmGroup=atmxLsmGroup, atmxPortAddress=atmxPortAddress, atmxLecServiceNum=atmxLecServiceNum, atmxVccStatsTxCellDiscards=atmxVccStatsTxCellDiscards, atmxCIPSlotIndex=atmxCIPSlotIndex, atmxServiceConnectionType=atmxServiceConnectionType, atmLecArpRepliesOut=atmLecArpRepliesOut, atmxLayerStatsRxSDUInvalidSz=atmxLayerStatsRxSDUInvalidSz, atmLecConfigMaxDataFrameSize=atmLecConfigMaxDataFrameSize, atmLecConfigLesAtmAddress=atmLecConfigLesAtmAddress, atmxVccAcceptableReceiveTrafficDescriptor=atmxVccAcceptableReceiveTrafficDescriptor, atmxVccSlotIndex=atmxVccSlotIndex, atmxGpToVcBulkSlotIndex=atmxGpToVcBulkSlotIndex, LeArpType=LeArpType, atmxServiceOperStatus=atmxServiceOperStatus, atmLecLastFailureState=atmLecLastFailureState, atmGpToVcMappingEntry=atmGpToVcMappingEntry) mibBuilder.exportSymbols("XYLAN-ATM-MIB", atmxGpToVcGroupId=atmxGpToVcGroupId, atmxVccStatsRxOctets=atmxVccStatsRxOctets, atmxVccAdmStatus=atmxVccAdmStatus, XylanAtmLaneAddress=XylanAtmLaneAddress, LeArpTableEntryType=LeArpTableEntryType, atmLecControlDirectVpi=atmLecControlDirectVpi, atmCIPInvArpRespToNet=atmCIPInvArpRespToNet, atmxServiceEncapsType=atmxServiceEncapsType, atmxServiceAddresses=atmxServiceAddresses, atmCIPPktsFromNet=atmCIPPktsFromNet, atmxArpIndex=atmxArpIndex, atmCIPInvArpReqToNet=atmCIPInvArpReqToNet, atmxServiceDescription=atmxServiceDescription, atmxVccStatsTxSDUNoBuffers=atmxVccStatsTxSDUNoBuffers, atmCIPPktsToIP=atmCIPPktsToIP, atmxVccAcceptableReceiveTrafficDescriptorParam3=atmxVccAcceptableReceiveTrafficDescriptorParam3, atmxVccTable=atmxVccTable, atmxLayerStatsGroup=atmxLayerStatsGroup, atmLecConfigLanName=atmLecConfigLanName, atmLecArpRequestsIn=atmLecArpRequestsIn, atmxServiceNumVclMembers=atmxServiceNumVclMembers, atmxGpToVcPortIndex=atmxGpToVcPortIndex, atmxAddressAcceptableReceiveTrafficDescriptorParam3=atmxAddressAcceptableReceiveTrafficDescriptorParam3, AtmServiceOperStatCodes=AtmServiceOperStatCodes, atmxVccConnType=atmxVccConnType, atmxAddressAcceptableTransmitTrafficQoSClass=atmxAddressAcceptableTransmitTrafficQoSClass, atmxServiceNumber=atmxServiceNumber, AtmOperStatCodes=AtmOperStatCodes, atmxAddressRequestedReceiveTrafficDescriptorParam1=atmxAddressRequestedReceiveTrafficDescriptorParam1, xylanLecSlotNumber=xylanLecSlotNumber, atmxAddressType=atmxAddressType, atmLecConfigDirectVci=atmLecConfigDirectVci, atmCIPArpReqFromNet=atmCIPArpReqFromNet, atmxSahiBWGroup=atmxSahiBWGroup, atmxVccStatsRxSDUs=atmxVccStatsRxSDUs, atmxServiceSEL=atmxServiceSEL, atmLecMulticastForwardVci=atmLecMulticastForwardVci, atmxVccActualTransmitTrafficDescriptorParam2=atmxVccActualTransmitTrafficDescriptorParam2, atmxVccRequestedReceiveTrafficDescriptorParam1=atmxVccRequestedReceiveTrafficDescriptorParam1, atmxLayerStatsRxOctets=atmxLayerStatsRxOctets, atmxVccStatsRxSDUInvalidSz=atmxVccStatsRxSDUInvalidSz, atmLecActualMaxDataFrameSize=atmLecActualMaxDataFrameSize, atmLecActualLesAtmAddress=atmLecActualLesAtmAddress, atmLecConfigTable=atmLecConfigTable, atmxAddressAcceptableTransmitTrafficDescriptor=atmxAddressAcceptableTransmitTrafficDescriptor, atmxPortUniPortIndex=atmxPortUniPortIndex, AtmAdminStatCodes=AtmAdminStatCodes, atmxServiceLaneCfgTblIdx=atmxServiceLaneCfgTblIdx, atmxBwgServiceTable=atmxBwgServiceTable, atmxVccStatsTxSDUs=atmxVccStatsTxSDUs, atmLecConfigEntry=atmLecConfigEntry, atmxLaneGroup=atmxLaneGroup, VpiInteger=VpiInteger, atmLecUseForwardDelay=atmLecUseForwardDelay, atmxPortOperStatus=atmxPortOperStatus, atmxLayerStatsSlotIndex=atmxLayerStatsSlotIndex, atmCIPInvArpNakToNet=atmCIPInvArpNakToNet, atmxVccRequestedTransmitTrafficBestEffort=atmxVccRequestedTransmitTrafficBestEffort, atmxVccActualTransmitTrafficBestEffort=atmxVccActualTransmitTrafficBestEffort, atmxAddressAcceptableReceiveTrafficQoSClass=atmxAddressAcceptableReceiveTrafficQoSClass, atmxVccActualReceiveTrafficDescriptorParam3=atmxVccActualReceiveTrafficDescriptorParam3, atmxAddressServiceUsed=atmxAddressServiceUsed, AtmTransmissionTypes=AtmTransmissionTypes, atmxVccAcceptableReceiveTrafficQoSClass=atmxVccAcceptableReceiveTrafficQoSClass, atmxBwgSlotIndex=atmxBwgSlotIndex, atmxVccStatsRxSDUTrash=atmxVccStatsRxSDUTrash, atmxArpVci=atmxArpVci, atmxVccStatsTxSDUErrors=atmxVccStatsTxSDUErrors, atmxServiceSahiBwgNum=atmxServiceSahiBwgNum, atmLecArpRepliesIn=atmLecArpRepliesIn, atmLecStatisticsEntry=atmLecStatisticsEntry, atmCIPPktsFromNetDiscard=atmCIPPktsFromNetDiscard, atmxServiceTable=atmxServiceTable, atmxAddressRequestedReceiveTrafficBestEffort=atmxAddressRequestedReceiveTrafficBestEffort, atmxVccActualTransmitTrafficQoSClass=atmxVccActualTransmitTrafficQoSClass, atmxVccActualReceiveTrafficDescriptorParam1=atmxVccActualReceiveTrafficDescriptorParam1, atmxVccStatsRxCells=atmxVccStatsRxCells, atmLecControlFramesIn=atmLecControlFramesIn, atmxAddressRequestedTransmitTrafficDescriptorParam1=atmxAddressRequestedTransmitTrafficDescriptorParam1, atmLecStatusEntry=atmLecStatusEntry, atmxGpToVcBulkPortIndex=atmxGpToVcBulkPortIndex, atmxVccVpi=atmxVccVpi, atmxPortMaxVciBits=atmxPortMaxVciBits, atmxBwgOperStatus=atmxBwgOperStatus, atmxServiceAdmStatus=atmxServiceAdmStatus, atmxServiceVlan=atmxServiceVlan, atmxLayerStatsRxCells=atmxLayerStatsRxCells, atmxAddressRequestedTransmitTrafficDescriptor=atmxAddressRequestedTransmitTrafficDescriptor, atmxVccUpTime=atmxVccUpTime, atmxServiceSlotIndex=atmxServiceSlotIndex, atmxVccStatsSlotIndex=atmxVccStatsSlotIndex, atmxLecStatsPortIndex=atmxLecStatsPortIndex, atmLecServerVccEntry=atmLecServerVccEntry, atmCIPArpRespFromNet=atmCIPArpRespFromNet, atmxAddressAcceptableReceiveTrafficDescriptorParam1=atmxAddressAcceptableReceiveTrafficDescriptorParam1, atmxPortTransmissionType=atmxPortTransmissionType, atmxPortSlotIndex=atmxPortSlotIndex, atmxLecStatsSlotIndex=atmxLecStatsSlotIndex, atmxPortEnableILMI=atmxPortEnableILMI, atmxGpToVcServiceNum=atmxGpToVcServiceNum, xylanLecServiceNumber=xylanLecServiceNumber, atmxLayerStatsPortIndex=atmxLayerStatsPortIndex, atmxPortRxBufferSize=atmxPortRxBufferSize, AtmTrafficDescrTypes=AtmTrafficDescrTypes, atmxGpToVcVpi=atmxGpToVcVpi, atmxAddressEntry=atmxAddressEntry, atmCIPPktsFromIPDiscard=atmCIPPktsFromIPDiscard, atmxVccVci=atmxVccVci, atmLecConfigLanType=atmLecConfigLanType, atmxLayerStatsRxCellTrash=atmxLayerStatsRxCellTrash, atmxVccActualReceiveTrafficDescriptorParam2=atmxVccActualReceiveTrafficDescriptorParam2, atmxBwgServiceNum=atmxBwgServiceNum, atmLecMulticastSendVpi=atmLecMulticastSendVpi, atmxBwgPortIndex=atmxBwgPortIndex, atmxVccAcceptableReceiveTrafficBestEffort=atmxVccAcceptableReceiveTrafficBestEffort, atmLeArpAtmAddress=atmLeArpAtmAddress, AtmMediaTypes=AtmMediaTypes, atmxLayerStatsRxCellCrcErrors=atmxLayerStatsRxCellCrcErrors, atmxVccActualTransmitTrafficDescriptor=atmxVccActualTransmitTrafficDescriptor, atmLecFlushTimeOut=atmLecFlushTimeOut)
n1 = int(input('Um valor: ')) n2 = int(input('Outro valor: ')) s = n1 + n2 m = n1 * n2 d = n1 / n2 di = n1 // n2 e = n1 ** n2 print('A soma é {}, \nO produto é {}\nA dividão é {:.3f}'.format(s, m, d), end='') print('A divisão inteira {}\nA potência {}'.format(di, e))
numero = int(input('Digite um numero:')) tot = 0 for c in range(1,numero+1): if numero % c == 0: print('\033[33m', end=' ') tot = tot + 1 else: print('\033[35m',end=' ') print('{}'.format(c), end='') print('\n\033[mO numero {} foi divisivel {} vezes'.format(numero,tot)) if tot == 2: print('Ele é um numero PRIMO!') else: print('Ele não é um numero PRIMO!')
""" LeetCode Problem 240. Search a 2D Matrix II Link: https://leetcode.com/problems/search-a-2d-matrix-ii/ Written by: Mostofa Adib Shakib Language: Python Search space reduction Algorithm: First, we initialize a (row, col)(row,col) pointer to the bottom-left of the matrix. Then, until we find target and return true, we do the following: => If the currently-pointed-to value is larger than target we can move one row "up". => Otherwise, if the currently-pointed-to value is smaller than target, we can move one column "right". It is not too tricky to see why doing this will never prune the correct answer; because the rows are sorted from left-to-right, we know that every value to the right of the current value is larger. Therefore, if the current value is already larger than target, we know that every value to its right will also be too large. A very similar argument can be made for the columns, so this manner of search will always find target in the matrix (if it is present). Time Complexity: O(n + m) Space complexity: O(1) """ class Solution: def searchMatrix(self, matrix, target): # an empty matrix obviously does not contain `target` # because we want to cache `width` for efficiency's sake) if len(matrix) == 0 or len(matrix[0]) == 0: return False # cache these, as they won't change. height = len(matrix) width = len(matrix[0]) # start our "pointer" in the bottom-left row = height-1 col = 0 while col < width and row >= 0: if matrix[row][col] > target: row -= 1 elif matrix[row][col] < target: col += 1 else: # found it return True return False # Binary Search # Time Complexity: O(n log n) # Space complexity: O(1) class Solution: def searchMatrix(self, matrix, target): """ :type matrix: List[List[int]] :type target: int :rtype: bool """ def BinarySearch(arr, target): low = 0 high = len(arr) -1 while low <= high: mid = (low+high)//2 if arr[mid] == target: return True elif arr[mid] > target: high = mid - 1 else: low = mid + 1 if not matrix: return False # edge case row = len(matrix) # length of row column = len(matrix[0]) # length of column for i in range(row): if BinarySearch(matrix[i], target) == True: return True return False # return False if the target cannot be found in the matrix # Brute Force # Time complexity: O(nm) n = row; m = column # Space complexity: O(1) class Solution: def searchMatrix(self, matrix, target): """ :type matrix: List[List[int]] :type target: int :rtype: bool """ if not matrix: return False # edge case row = len(matrix) # length of row column = len(matrix[0]) # length of column for i in range(row): for j in range(column): if matrix[i][j] == target: return True return False # return False if the target cannot be found in the matrix
# -*- coding: utf-8 -*- # Scrapy settings for encyclopediaCrawler project # scrapy basic settings BOT_NAME = 'encyclopediaCrawler' SPIDER_MODULES = ['encyclopediaCrawler.spiders'] NEWSPIDER_MODULE = 'encyclopediaCrawler.spiders' # downloader settings ROBOTSTXT_OBEY = False COOKIES_ENABLED = False RETRY_ENABLED = True DOWNLOAD_TIMEOUT = 30 FEED_EXPORT_ENCODING = 'utf-8' # 中文转码 LOG_LEVEL = 'INFO' RETRY_TIMES = 0 RETRY_HTTP_CODES = [500, 502, 503, 504, 400, 408] DEPTH_PRIORITY = 1 CONCURRENT_REQUESTS_PER_DOMAIN = 32 CONCURRENT_REQUESTS = 32 DOWNLOAD_DELAY = 0.25 DOWNLOADER_MIDDLEWARES = { 'encyclopediaCrawler.middlewares.MyUserAgentMiddleware': 400, # 'encyclopediaCrawler.middlewares.MyRetryMiddleware': 501 } ITEM_PIPELINES = { 'encyclopediaCrawler.pipelines.SpiderPipeline': 300, 'encyclopediaCrawler.pipelines.SpiderRedisPipeline': 301, }
def count_down(num): if num == 0: return 0 else: print(num) num = num -1 return count_down(num) print(count_down(10))
"""User account app""" # pylint: disable=invalid-name default_app_config = 'open_connect.accounts.apps.AccountsConfig'
#! /usr/bin/env python3 # author: Mark W. Naylor # file: message.py # date: 2018-Jan-28 def message(msg, name): output = "{0}, {1}.".format(msg, name) print(output) def hello(name="world"): message("Hello", name) def goodbye(name="world"): message("Goodbye", name) def main(): #hello() hello("David") #message("Out the back", "Jack") goodbye("David") if __name__ == '__main__': main()
""" Pobierz od uzytkownika trzy dlugosci bokow i sprawdz, czy mozna z nich zbudowac trojkat. """ if __name__ == "__main__": a = int(input()) b = int(input()) c = int(input()) if a + b > c and b + c > a and a + c > b: print("z podanych bokow mozna zbudowac trojkat") else: print("z podanych bokow nie mozna zbudowac trojkata")
__all__ = ("QuietExit", "EmbedExit") class QuietExit(Exception): """ An exception that is silently ignored by its error handler added in :ref:`cogs_error_handlers`. The primary purpose of this class is to allow a command to be exited from within a nested call without having to propagate return values. """ pass class EmbedExit(Exception): r""" An exception that can be used to show a custom error message. The keyword arguments passed into the constructor of this exception are propagated into :func:`~senko.CommandContext.embed` by the error handler defined for this exception. See :func:`~cogs.error_handlers.handlers.handle_embed_exit`. Examples -------- .. code-block:: python3 # Somewhere inside a command. _ = ctx.locale raise EmbedExit( description=_("This is the embed description."), fields=[dict(name=_("It is fully localized."), value=_("How neat!"))] ) Parameters ---------- \*\*kwargs The same keyword arguments as accepted by :func:`~senko.CommandContext.embed`. """ def __init__(self, **kwargs): self.kwargs = kwargs
# -*- coding: utf-8 -*- def comp_angle_opening(self): """Compute the average opening angle of the Slot Parameters ---------- self : SlotMPolar A SlotMPolar object Returns ------- alpha: float Average opening angle of the slot [rad] """ Nmag = len(self.magnet) return self.W0 * Nmag + self.W3 * (Nmag - 1)
# V0 # V1 # https://blog.csdn.net/fuxuemingzhu/article/details/81079495 # IDEA : LINEAR SCAN class Solution(object): def binaryGap(self, N): """ :type N: int :rtype: int """ binary = bin(N)[2:] dists = [0] * len(binary) left = 0 for i, b in enumerate(binary): if b == '1': dists[i] = i - left left = i return max(dists) # V1' # https://blog.csdn.net/fuxuemingzhu/article/details/81079495 class Solution: def binaryGap(self, N): """ :type N: int :rtype: int """ nbins = bin(N)[2:] index = -1 res = 0 for i, b in enumerate(nbins): if b == "1": if index != -1: res = max(res, i - index) index = i return res # V2 # Time: O(logn) = O(1) due to n is a 32-bit number # Space: O(1) class Solution(object): def binaryGap(self, N): """ :type N: int :rtype: int """ result = 0 last = None for i in range(32): if (N >> i) & 1: if last is not None: result = max(result, i-last) last = i return result
def decimal2binario(d): if d == 0: return d b = bin(d).lstrip("0b") return b
TAS_TO_PORTAL_MAP = {'description': 'description', 'piId': 'pi_id', 'title': 'title', 'chargeCode': 'charge_code', 'typeId': 'type_id', 'fieldId': 'field_id', 'type': 'type_name', 'field': 'field_name', 'nickname': 'nickname'}
# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. def multiscale_def(image_shape, num_scale, use_flip=True): base_name_list = ['image'] multiscale_def = {} ms_def_names = [] if use_flip: num_scale //= 2 base_name_list.append('image_flip') multiscale_def['image_flip'] = { 'shape': [None] + image_shape, 'dtype': 'float32', 'lod_level': 0 } multiscale_def['im_info_image_flip'] = { 'shape': [None, 3], 'dtype': 'float32', 'lod_level': 0 } ms_def_names.append('image_flip') ms_def_names.append('im_info_image_flip') for base_name in base_name_list: for i in range(0, num_scale - 1): name = base_name + '_scale_' + str(i) multiscale_def[name] = { 'shape': [None] + image_shape, 'dtype': 'float32', 'lod_level': 0 } im_info_name = 'im_info_' + name multiscale_def[im_info_name] = { 'shape': [None, 3], 'dtype': 'float32', 'lod_level': 0 } ms_def_names.append(name) ms_def_names.append(im_info_name) return multiscale_def, ms_def_names
# Faça um Programa que peça o raio de um círculo, calcule e mostre sua área. raio = float(input("Digite o raio do circulo: ")) area = 3.14 * raio print("A área do circlo é de: ", area)
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next # Solution A class Solution: def removeNthFromEnd(self, head: ListNode, n: int) -> ListNode: dummy = ListNode(0) dummy.next = head cur = head length = 0 while cur: length += 1 cur = cur.next cur = dummy for _ in range(length - n): cur = cur.next cur.next = cur.next.next return dummy.next # Solution B class Solution: def removeNthFromEnd(self, head: ListNode, n: int) -> ListNode: dummy = ListNode(0) dummy.next = head fast, slow = dummy, dummy for _ in range(n): fast = fast.next while fast and fast.next: fast = fast.next slow = slow.next slow.next = slow.next.next return dummy.next # Solution C class Solution: def removeNthFromEnd(self, head: ListNode, n: int) -> ListNode: if not head: self.count = 0 return head head.next = self.removeNthFromEnd(head.next, n) self.count += 1 return head.next if self.count == n else head
# Feature objects: these are mapped to feature identifiers within the rich text # feature registry (wagtail.core.rich_text.features). Each one implements # a `construct_options` method which modifies an options dict as appropriate to # enable that feature. class BooleanFeature: """ A feature which is enabled by a boolean flag at the top level of the options dict """ def __init__(self, option_name): self.option_name = option_name def construct_options(self, options): options[self.option_name] = True class ListFeature: """ Abstract class for features that are defined in a list within the options dict. Subclasses must define option_name """ def __init__(self, data): self.data = data def construct_options(self, options): if self.option_name not in options: options[self.option_name] = [] options[self.option_name].append(self.data) class EntityFeature(ListFeature): """A feature which is listed in the entityTypes list of the options""" option_name = 'entityTypes' class BlockFeature(ListFeature): """A feature which is listed in the blockTypes list of the options""" option_name = 'blockTypes' class InlineStyleFeature(ListFeature): """A feature which is listed in the inlineStyles list of the options""" option_name = 'inlineStyles'
#Listas parte 2 teste = list () teste.append('Gustavo') teste.append(40) print(teste) galera = list() galera.append(teste[:]) teste[0]='Maria' teste[1]=22 galera.append(teste[:]) print(galera) galeras = [['João', 19], ['Ana', 33], ['Joaquim', 13], ['Maria', 45]] print(galeras) print(galeras[0]) print(galeras[0][0]) print(galeras[0][1]) print(galeras[2][0]) for p in galeras: print(f'{p[0]} tem {p[1]} de idade') time = list () dado = list () totalmaior = totalmenor = 0 for c in range (0,3): dado.append(str(input('Nome:'))) dado.append(str(input('Idade: '))) time.append(dado[:]) dado.clear() print(time) for p in galera: if p[1] >= 21: print(f'{p[0]} é maior de idade') totalmaior += 1 else: print(f'{p[0]} é menor de idade') totalmenor += 1 print(f'Total de maior é {totalmaior} e de menor é {totalmenor}')
# input input_word = input("Enter a word: ") vowels = ["a", "e", "i", "o", "u"] num_vowels = 0 # response for letter in input_word: if letter in vowels: num_vowels += 1 print(num_vowels)
# Exibe o o dobro, o triplo e a raiz quadrada de um número que o usuário dá entrada. n = int(input('Digite um número: ')) x2 = n * 2 x3 = n * 3 rq = n ** (1/2) #Raiz quadrada do número n. n elevado a 1/2. #rq = pow(n,(1/2)) #Raiz quadrada também, usanod a função pow(). Exponenciação. print('O número é: {} e seu dobro é {}, seu triplo é {} e sua raiz quadrada é {:.2f}'.format(n, x2, x3, rq))
"""Docstring for validate_input.py.""" class CheckUserInput(object): """docstring for CheckUserInput.""" def check_if_input_is_string(self, user_input): """Docstring for validating if input is str.""" if type(user_input) is not str: return False elif bool(user_input.strip()) is False: return False elif self.check_if_input_is_integer(user_input) is True: return False else: return True def check_if_input_is_integer(self, user_input): """Docstring for validating if input is int.""" try: int(user_input) except ValueError: return False else: if int(user_input) > 0: return True
class State: def __init__(self, isInit = False, isFinish = False): self._isInit = isInit self._isFinish = isFinish def setInit(self, nval): self._isInit = nval def isInit(self): return self._isInit def setFinish(self, nval): self._isFinish = nval def isFinal(self): return self._isFinish
class Trapeziums(object): def __init__(self, left, left_top, right_top, right): self.left = left self.right = right self.left_top = left_top self.right_top = right_top def membership_value(self, input_value): if (input_value >= self.left_top) and (input_value <= self.right_top): membership_value = 1.0 elif (input_value <= self.left) or (input_value >= self.right_top): membership_value = 0.0 elif input_value < self.left_top: membership_value = (input_value - self.left) / (self.left_top - self.left) elif input_value > self.right_top: membership_value = (input_value - self.right) / (self.right_top - self.right) else: membership_value = 0.0 return membership_value class Triangles(object): def __init__(self, left, top, right): self.left = left self.right = right self.top = top def membership_value(self, input_value): if input_value == self.top: membership_value = 1.0 elif input_value <= self.left or input_value >= self.right: membership_value = 0.0 elif input_value < self.top: membership_value = (input_value - self.left) / (self.top - self.left) elif input_value > self.top: membership_value = (input_value - self.right) / (self.top - self.right) return membership_value
numlist=list() while True: x=input("Enter a no.") if x=="done": break x=float(x) numlist.append(x) print(sum(numlist)/len(numlist))
def TowerOfHanoi(n , first, last, mid): if n == 1: print ("Move disk 1 from rod",first,"to rod",last) return TowerOfHanoi(n-1, first, mid, last) print ("Move disk",n,"from rod",first,"to rod",last ) TowerOfHanoi(n-1, mid, last, first) n=int(input()) TowerOfHanoi(n, 'F', 'M', 'L') # First Rod-> F, Middle rod -> M, Last Rod -> L """ Complexity of the code -Time Complexity - O(2^n) -Space Complexity - O(2^n) """
"""定义函数,根据小时、分钟、秒,计算总秒数 调用:提供小时、分钟、秒 调用:提供分钟、秒 调用:提供小时、秒 调用:提供分钟 """ def calculate_cent(n1=0, n2=0, n3=0): """ 一给我里giaogiao ! :param n1: 小时 :param n2: 分钟 :param n3: 秒 :return: 总秒数 """ return n1 * 3600 + n2 * 60 + n3 print(calculate_cent(n2=3))
def crit_dim_var(var): """Check if nested dict or not Arguments --------- var : dict Dictionary to test wheter single or multidimensional parameter Returns ------- single_dimension : bool True: Single dimension, False: Multidimensional parameter """ single_dimension = True # Test if list nor not if type(var) is list: for list_entry in var: for key, value in list_entry.items(): if type(value) is not list: if hasattr(value, 'keys') and key not in ['regional_vals_by', 'regional_vals_cy']: if len(value.keys()) != 0: single_dimension = False else: pass else: for key, value in var.items(): if type(value) is not list: if hasattr(value, 'keys'): if len(value.keys()) != 0 and key not in ['regional_vals_by', 'regional_vals_cy']: single_dimension = False else: if value == []: pass else: single_dimension = False return single_dimension #a = [{'base_yr': 2015, 'end_yr': 2050, 'fueltype_new': 0, 'sig_steepness': 1, 'value_by': 5, 'sig_midpoint': 0, 'regional_specific': False, 'value_ey': 5, 'diffusion_choice': 'linear', 'fueltype_replace': 0}] #r = crit_dim_var(a) a = [ { 'sector': 'dummy_sector', 'regional_specific': True, 'value_ey': 1.0, 'regional_vals_by': {'E06000001': 0.05, 'E06000018': 0.05}}] r = crit_dim_var(a) print(r)
db._DBProxy__ctxid = 'b85246688f24c14712e0a7dfb93413f5defd50c4' db.getrecord(0) db.checkcontext() dbtree.get_children() dbtree.get_children([1])
quantidade_habilidades, quantidade_texto = [int(n) for n in input().split()] dicionario = dict() for c in range(quantidade_habilidades): habilidade_descricao = input().split() dicionario[habilidade_descricao[0]] = float(habilidade_descricao[1]) for c in range(quantidade_texto): salario = 0 while True: linha = input() for palavra in linha.split(): if palavra in dicionario.keys(): salario += dicionario[palavra] if linha == '.': break print(int(salario))
# # PySNMP MIB module TUBS-IBR-XEN-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TUBS-IBR-XEN-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:27:54 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsIntersection") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup") Integer32, Counter64, Gauge32, ObjectIdentity, NotificationType, Unsigned32, iso, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, Counter32, IpAddress, TimeTicks, MibIdentifier = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "Counter64", "Gauge32", "ObjectIdentity", "NotificationType", "Unsigned32", "iso", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "Counter32", "IpAddress", "TimeTicks", "MibIdentifier") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") ibr, = mibBuilder.importSymbols("TUBS-SMI", "ibr") xenMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 1575, 1, 14)) xenMIB.setRevisions(('2006-02-20 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: xenMIB.setRevisionsDescriptions(('The initial revision of this module.',)) if mibBuilder.loadTexts: xenMIB.setLastUpdated('200602200000Z') if mibBuilder.loadTexts: xenMIB.setOrganization('TU Braunschweig') if mibBuilder.loadTexts: xenMIB.setContactInfo('Frank Strauss, Oliver Wellnitz TU Braunschweig Muehlenpfordtstrasse 23 38106 Braunschweig Germany Tel: +49 531 391 3283 Fax: +49 531 391 5936 E-mail: {strauss,wellnitz}@ibr.cs.tu-bs.de') if mibBuilder.loadTexts: xenMIB.setDescription('Experimental MIB module for Xen Virtual Hosting.') xenObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1)) xenTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 1575, 1, 14, 2)) xenConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 1575, 1, 14, 3)) class XenDomainState(TextualConvention, Integer32): description = 'This data type represents the state of a Xen domain. unknown(1): No known/defined state. running(2): The domain is running on any CPU. blocked(3): The domain is blocked, e.g., waiting for I/O. paused(4): The domain has been paused. crashed(5): The domain exepectedly crashed. dying(6): The domain is in the process of going down or dying to any other reason. shutdown(7): The domain has been shutdown. ' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7)) namedValues = NamedValues(("unknown", 1), ("running", 2), ("blocked", 3), ("paused", 4), ("crashed", 5), ("dying", 6), ("shutdown", 7)) xenHost = MibIdentifier((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 1)) xenHostXenVersion = MibScalar((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 1, 1), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenHostXenVersion.setStatus('current') if mibBuilder.loadTexts: xenHostXenVersion.setDescription('The version string of the Xen version running on the physical host.') xenHostTotalMemKBytes = MibScalar((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenHostTotalMemKBytes.setStatus('current') if mibBuilder.loadTexts: xenHostTotalMemKBytes.setDescription('The total amount of available memory in Kbytes on the physical host.') xenHostCPUs = MibScalar((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenHostCPUs.setStatus('current') if mibBuilder.loadTexts: xenHostCPUs.setDescription('The total number of CPUs on the physical host.') xenHostCPUMHz = MibScalar((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenHostCPUMHz.setStatus('current') if mibBuilder.loadTexts: xenHostCPUMHz.setDescription('The CPU frequency in MHz of the CPUs on the physical host.') xenDomainTable = MibTable((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 2), ) if mibBuilder.loadTexts: xenDomainTable.setStatus('current') if mibBuilder.loadTexts: xenDomainTable.setDescription('A list of all Xen domains on the physical host.') xenDomainEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 2, 1), ).setIndexNames((0, "TUBS-IBR-XEN-MIB", "xenDomainName")) if mibBuilder.loadTexts: xenDomainEntry.setStatus('current') if mibBuilder.loadTexts: xenDomainEntry.setDescription('An entry describing a particular Xen domain.') xenDomainName = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))) if mibBuilder.loadTexts: xenDomainName.setStatus('current') if mibBuilder.loadTexts: xenDomainName.setDescription('The name of the Xen domain.') xenDomainState = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 2, 1, 2), XenDomainState()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenDomainState.setStatus('current') if mibBuilder.loadTexts: xenDomainState.setDescription('The state of the Xen domain.') xenDomainMemKBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 2, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenDomainMemKBytes.setStatus('current') if mibBuilder.loadTexts: xenDomainMemKBytes.setDescription('The amount of memory in Kbytes currently occupied by the Xen domain.') xenDomainMaxMemKBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 2, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenDomainMaxMemKBytes.setStatus('current') if mibBuilder.loadTexts: xenDomainMaxMemKBytes.setDescription('The total amount of memory in Kbytes assigned to the Xen domain. A value of zero denotes that there is no limit.') xenVCPUTable = MibTable((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 3), ) if mibBuilder.loadTexts: xenVCPUTable.setStatus('current') if mibBuilder.loadTexts: xenVCPUTable.setDescription('A list of all VCPUs per Xen domain.') xenVCPUEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 3, 1), ).setIndexNames((0, "TUBS-IBR-XEN-MIB", "xenDomainName"), (0, "TUBS-IBR-XEN-MIB", "xenVCPUIndex")) if mibBuilder.loadTexts: xenVCPUEntry.setStatus('current') if mibBuilder.loadTexts: xenVCPUEntry.setDescription('An entry describing a VCPU of a Xen domain.') xenVCPUIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 3, 1, 1), Unsigned32()) if mibBuilder.loadTexts: xenVCPUIndex.setStatus('current') if mibBuilder.loadTexts: xenVCPUIndex.setDescription('The index of the VCPU.') xenVCPUMilliseconds = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenVCPUMilliseconds.setStatus('current') if mibBuilder.loadTexts: xenVCPUMilliseconds.setDescription('The number milliseconds consumed by the VCPU since the Xen domain has been set up.') xenNetworkTable = MibTable((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 4), ) if mibBuilder.loadTexts: xenNetworkTable.setStatus('current') if mibBuilder.loadTexts: xenNetworkTable.setDescription('A list of all networks per Xen domain.') xenNetworkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 4, 1), ).setIndexNames((0, "TUBS-IBR-XEN-MIB", "xenDomainName"), (0, "TUBS-IBR-XEN-MIB", "xenNetworkIndex")) if mibBuilder.loadTexts: xenNetworkEntry.setStatus('current') if mibBuilder.loadTexts: xenNetworkEntry.setDescription('An entry describing a network of a Xen domain.') xenNetworkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 4, 1, 1), Unsigned32()) if mibBuilder.loadTexts: xenNetworkIndex.setStatus('current') if mibBuilder.loadTexts: xenNetworkIndex.setDescription('The index of the network.') xenNetworkInKBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenNetworkInKBytes.setStatus('current') if mibBuilder.loadTexts: xenNetworkInKBytes.setDescription('The number of Kbytes received on the network interface since the Xen domain has been set up.') xenNetworkInPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenNetworkInPkts.setStatus('current') if mibBuilder.loadTexts: xenNetworkInPkts.setDescription('The number of packets received on the network interface since the Xen domain has been set up.') xenNetworkInErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenNetworkInErrors.setStatus('current') if mibBuilder.loadTexts: xenNetworkInErrors.setDescription('The number of erroneous packets received on the network interface since the Xen domain has been set up.') xenNetworkInDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenNetworkInDiscards.setStatus('current') if mibBuilder.loadTexts: xenNetworkInDiscards.setDescription('The number of dropped packets received on the network interface since the Xen domain has been set up.') xenNetworkOutKBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenNetworkOutKBytes.setStatus('current') if mibBuilder.loadTexts: xenNetworkOutKBytes.setDescription('The number of Kbytes sent on the network interface since the Xen domain has been set up.') xenNetworkOutPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenNetworkOutPkts.setStatus('current') if mibBuilder.loadTexts: xenNetworkOutPkts.setDescription('The number of packets sent on the network interface since the Xen domain has been set up.') xenNetworkOutErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 4, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenNetworkOutErrors.setStatus('current') if mibBuilder.loadTexts: xenNetworkOutErrors.setDescription('The number of packets that could not be sent on the network interface because of any errors since the Xen domain has been set up.') xenNetworkOutDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 1575, 1, 14, 1, 4, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: xenNetworkOutDiscards.setStatus('current') if mibBuilder.loadTexts: xenNetworkOutDiscards.setDescription('The number of packets that have not been sent on the network interface even though no errors had been detected since the Xen domain has been set up.') xenCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 1575, 1, 14, 3, 1)) xenGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 1575, 1, 14, 3, 2)) xenCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 1575, 1, 14, 3, 1, 1)).setObjects(("TUBS-IBR-XEN-MIB", "xenGeneralGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): xenCompliance = xenCompliance.setStatus('current') if mibBuilder.loadTexts: xenCompliance.setDescription('The compliance statement for an SNMP entity which implements the Xen MIB.') xenGeneralGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 1575, 1, 14, 3, 2, 1)).setObjects(("TUBS-IBR-XEN-MIB", "xenHostXenVersion"), ("TUBS-IBR-XEN-MIB", "xenHostTotalMemKBytes"), ("TUBS-IBR-XEN-MIB", "xenHostCPUs"), ("TUBS-IBR-XEN-MIB", "xenHostCPUMHz"), ("TUBS-IBR-XEN-MIB", "xenDomainState"), ("TUBS-IBR-XEN-MIB", "xenDomainMemKBytes"), ("TUBS-IBR-XEN-MIB", "xenDomainMaxMemKBytes"), ("TUBS-IBR-XEN-MIB", "xenVCPUMilliseconds"), ("TUBS-IBR-XEN-MIB", "xenNetworkInKBytes"), ("TUBS-IBR-XEN-MIB", "xenNetworkInPkts"), ("TUBS-IBR-XEN-MIB", "xenNetworkInErrors"), ("TUBS-IBR-XEN-MIB", "xenNetworkInDiscards"), ("TUBS-IBR-XEN-MIB", "xenNetworkOutKBytes"), ("TUBS-IBR-XEN-MIB", "xenNetworkOutPkts"), ("TUBS-IBR-XEN-MIB", "xenNetworkOutErrors"), ("TUBS-IBR-XEN-MIB", "xenNetworkOutDiscards")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): xenGeneralGroup = xenGeneralGroup.setStatus('current') if mibBuilder.loadTexts: xenGeneralGroup.setDescription('A collection of all Xen MIB objects.') mibBuilder.exportSymbols("TUBS-IBR-XEN-MIB", xenDomainTable=xenDomainTable, PYSNMP_MODULE_ID=xenMIB, xenDomainMemKBytes=xenDomainMemKBytes, xenNetworkInPkts=xenNetworkInPkts, xenCompliances=xenCompliances, xenHostCPUs=xenHostCPUs, xenGroups=xenGroups, xenHostXenVersion=xenHostXenVersion, xenNetworkOutKBytes=xenNetworkOutKBytes, xenNetworkIndex=xenNetworkIndex, xenNetworkInKBytes=xenNetworkInKBytes, xenVCPUEntry=xenVCPUEntry, xenDomainMaxMemKBytes=xenDomainMaxMemKBytes, xenNetworkOutDiscards=xenNetworkOutDiscards, xenTraps=xenTraps, xenNetworkInDiscards=xenNetworkInDiscards, xenHost=xenHost, xenCompliance=xenCompliance, xenHostCPUMHz=xenHostCPUMHz, xenDomainName=xenDomainName, xenNetworkEntry=xenNetworkEntry, xenNetworkOutPkts=xenNetworkOutPkts, xenVCPUIndex=xenVCPUIndex, xenHostTotalMemKBytes=xenHostTotalMemKBytes, xenObjects=xenObjects, xenNetworkTable=xenNetworkTable, xenNetworkInErrors=xenNetworkInErrors, xenGeneralGroup=xenGeneralGroup, xenNetworkOutErrors=xenNetworkOutErrors, xenMIB=xenMIB, XenDomainState=XenDomainState, xenVCPUMilliseconds=xenVCPUMilliseconds, xenDomainState=xenDomainState, xenVCPUTable=xenVCPUTable, xenDomainEntry=xenDomainEntry, xenConformance=xenConformance)
'''7. A Organização Mundial de Saúde usa a seguinte tabela para determinar a condição de um adulto, para isso desenvolva um algoritmo para calcular o Índice de Massa Corporal (IMC) e apresenta-lo, dado pela fórmula: IMC = peso / (altura)2 (o número 2 significa, elevado ao quadrado) CONDIÇÃO IMC em adultos Abaixo do peso Abaixo de 18.5 No peso normal Entre 18.5 e 25 Acima do peso Entre 25.1 e 30 Obeso Acima de 30''' peso = float(input("Informe o peso: ")) altura = float(input("Informe a altura: ")) imc = peso / (altura ** 2) if imc <18.5: print("Abaixo do peso!") print("Valor do IMC: %.2f" % imc) elif imc >= 18.5 and imc <=25: imc = peso / (altura ** 2) print("Peso normal!") print("IMC: %.2f" % imc) elif imc >= 25.1 and imc <=30: imc = peso / (altura ** 2) print("Acima do peso!") print("IMC: %.2f" % imc) else: imc = peso / (altura ** 2) print("Obeso!") print("IMC %.2f" % imc)
class BridgeWorker(): def __init__(self, thread_name, connection_string, process, action_queue): self.thread_name = thread_name self.connection_string = connection_string self.process = process self.action_queue = action_queue self.should_shutdown = False self.pika_queue_mode = None def is_pika(self): return self.queue_mode != None
# -*- Mode:python; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ # # Copyright (C) 2014-2017 Regents of the University of California. # Author: Jeff Thompson <[email protected]> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # A copy of the GNU Lesser General Public License is in the file COPYING. """ This module defines the Tlv class with type codes for the NDN-TLV wire format. """ class Tlv(object): Interest = 5 Data = 6 Name = 7 ImplicitSha256DigestComponent = 1 NameComponent = 8 Selectors = 9 Nonce = 10 # <Unassigned> = 11 InterestLifetime = 12 MinSuffixComponents = 13 MaxSuffixComponents = 14 PublisherPublicKeyLocator = 15 Exclude = 16 ChildSelector = 17 MustBeFresh = 18 Any = 19 MetaInfo = 20 Content = 21 SignatureInfo = 22 SignatureValue = 23 ContentType = 24 FreshnessPeriod = 25 FinalBlockId = 26 SignatureType = 27 KeyLocator = 28 KeyLocatorDigest = 29 ForwardingHint = 30 SelectedDelegation = 32 FaceInstance = 128 ForwardingEntry = 129 StatusResponse = 130 Action = 131 FaceID = 132 IPProto = 133 Host = 134 Port = 135 MulticastInterface = 136 MulticastTTL = 137 ForwardingFlags = 138 StatusCode = 139 StatusText = 140 SignatureType_DigestSha256 = 0 SignatureType_SignatureSha256WithRsa = 1 SignatureType_SignatureSha256WithEcdsa = 3 SignatureType_SignatureHmacWithSha256 = 4 ContentType_Default = 0 ContentType_Link = 1 ContentType_Key = 2 NfdCommand_ControlResponse = 101 NfdCommand_StatusCode = 102 NfdCommand_StatusText = 103 ControlParameters_ControlParameters = 104 ControlParameters_FaceId = 105 ControlParameters_Uri = 114 ControlParameters_LocalControlFeature = 110 ControlParameters_Origin = 111 ControlParameters_Cost = 106 ControlParameters_Flags = 108 ControlParameters_Strategy = 107 ControlParameters_ExpirationPeriod = 109 LpPacket_LpPacket = 100 LpPacket_Fragment = 80 LpPacket_Sequence = 81 LpPacket_FragIndex = 82 LpPacket_FragCount = 83 LpPacket_Nack = 800 LpPacket_NackReason = 801 LpPacket_NextHopFaceId = 816 LpPacket_IncomingFaceId = 817 LpPacket_CachePolicy = 820 LpPacket_CachePolicyType = 821 LpPacket_IGNORE_MIN = 800 LpPacket_IGNORE_MAX = 959 Link_Preference = 30 Link_Delegation = 31 Encrypt_EncryptedContent = 130 Encrypt_EncryptionAlgorithm = 131 Encrypt_EncryptedPayload = 132 Encrypt_InitialVector = 133 # For RepetitiveInterval. Encrypt_StartDate = 134 Encrypt_EndDate = 135 Encrypt_IntervalStartHour = 136 Encrypt_IntervalEndHour = 137 Encrypt_NRepeats = 138 Encrypt_RepeatUnit = 139 Encrypt_RepetitiveInterval = 140 # For Schedule. Encrypt_WhiteIntervalList = 141 Encrypt_BlackIntervalList = 142 Encrypt_Schedule = 143 ValidityPeriod_ValidityPeriod = 253 ValidityPeriod_NotBefore = 254 ValidityPeriod_NotAfter = 255
# The isBadVersion API is already defined for you. # @param version, an integer # @return a bool # def isBadVersion(version): class Solution: def firstBadVersion(self, n): """ :type n: int :rtype: int """ i, j = 1, n while i < j: m = (i + j) // 2 if isBadVersion(m) == True: j = m else: i = m + 1 idx = min(i, j) return idx #在这一题当中,直接返回i也是可以的 #整除舍去的做法不会让m偏向大的一方,所以i = m + 1不会让i跑到j的右方
class Solution: def spiralMatrixIII(self, R: int, C: int, r0: int, c0: int) -> 'List[List[int]]': directions = [(0, 1), (1, 0), (0, -1), (-1, 0)] uncolored = R * C result = [] x, y = r0, c0 turns = 0 while uncolored > 0: dx, dy = directions[turns % 4] step = (turns // 2) + 1 for _ in range(step): if 0 <= x < R and 0 <= y < C: uncolored -= 1 result.append([x, y]) x, y = x + dx, y + dy turns += 1 return result if __name__ == "__main__": print(Solution().spiralMatrixIII(1, 4, 0, 0)) print(Solution().spiralMatrixIII(5, 6, 1, 4))
n,k=map(int,input().split()) x=[*map(int,input().split())] forbidden=[False]*10 for i in range(0,10): if i not in x: forbidden[i]=True ans=-1 for i in range(1,n+1): fail=False t=i while i: if forbidden[i%10]: fail=True break i//=10 if not fail: ans=t print(ans)
class PaymentLink: def __init__( self, url, id ): self.__url = url self.__id = id @property def url(self): """:rtype: str""" return self.__url @property def id(self): """:rtype: int""" return self.__id
class palindrome(): def __init__(self,string): self.string = string def __call__(self): testStr = self.string.lower() for x in [" ","!",]: testStr = testStr.replace(x,"") if testStr == testStr[::-1]: return True else: return False def printpal(): string = input(" What phrase do you want to test? ") pal = palindrome(string) if pal(): print("That is a palindrome ") else: print("That is not a palindrome") def paltest(): printpal() pal = palindrome("mom") print("mom is a palindrome = ", pal()) pal2 = palindrome("hotdog") print("hotdog is a palindrome = ", pal2()) pal3 = palindrome("Yo banana boy!") print("Yo banana boy! is a palindrome = ", pal3()) if __name__ == "__main__": paltest()
""" @author: Li Xi @file: __init__.py.py @time: 2019/10/29 16:20 @desc: """
""" this is a regional comment """ print('hello world') # this is a single line comment print('Hello, World'.upper())
def headfront(): i01.head.neck.moveTo(90) i01.head.rothead.moveTo(90)
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def isValidBST(self, root): """ :type root: TreeNode :rtype: bool """ return self.recur(root) def recur(self, node): if node is None: return True left_valid = self.recur(node.left) right_valid = self.recur(node.right) if left_valid and right_valid: if (node.left is None or node.val > node.left.max) and (node.right is None or node.val < node.right.min): node.min = node.left.min if node.left is not None else node.val node.max = node.right.max if node.right is not None else node.val return True return False
bot_major_version = 0 bot_minor_version = 1 bot_patch_version = 2 def bot_version_string(): return f'{bot_major_version}.{bot_minor_version}.{bot_patch_version}'
""" @author: David Lei @since: 5/11/2017 https://www.hackerrank.com/challenges/detect-whether-a-linked-list-contains-a-cycle/problem A cycle exists if any node is visited once during traversal. Both Passed :) """ def has_cycle_better(head): # a.k.a floyd cycle detection, hare & turtle. # Idea: if a cycle exists then you won't be able to finish the traversal, # it also means that if you have 2 pointers going at different speeds/steps that # they will keep on going until they are both the same node. # else if it has no cycles then both will finish fine. # Space complexity: O(1) don't store extra space, store an extra node. # Time complexity: O(n) # best case where list has no loops O(n/2) = O(n) as b will traverse 2 nodes every time so you reach # the last node in n/2 time at which b = None and the while loop will exit. # worst case where loop exists, both a and b will be stuck in the loop until a == b. # a will traverse the list at most just once, at which it will collide with b. so O(n). # Informal complexity proof: # consider a portion of a linked list where the slower pointer is the tortoise (t) and faster is the hare (h). # since h moves faster than t, when t enters the loops h is already in it, this means h is coming from behind # and can only catch up to t. # h can either be an odd or even distance behind t. # - simplest even distance is 2 spaces behind t: # ..h.t.. # at the next step t will move forward one and h will move forward two resulting in # ....ht. where h is 1 behind t # - simplest odd distance is 1 space behind t: # ....ht. # at the next step t will move forward one and h will move forward two resulting in # ......t # h # they will meet. # any other configuration in the loop simplifies to one of the above eg: if h it 3 spaces behind t then at the next # step it will be two spaces behind t and so forth. Each iteration leads to h becoming 1 step closer to t. # Inside the loop: # In the best case when t enters the loop h is 1 node behind it at which it will catch t at the next step. # In the worst case when t enters the loop h is one step ahead of it. That also means at this point # there are n-1 nodes from h to t going forwards. Since h can catch up by 1 node at each step h will catch up to # in the next n-1 iterations, and thus h wil always catch t before t finishes traversing the loop. # At most t can go through every item in the loop, so at worst where the entire list forms a circle and there are n # elements in the loop and t starts at the head and h starts at head.next (1 node ahead of t) t will only go to # n nodes (n-1 links), thus this is O(n). tortoise = head hare = head.next # Test case I missed if head points to head, I had if a == b and a != head so it looped forever. # instead of checking that a and b are not both head like that I should start b as head.next so if they both # end up pointing to head again there must be a cycle. # Also if head.next is None then the list only has head and the while loop won't execute so that is fine. while tortoise and hare and hare.next: # if not any of these conditions then at least one of them is a, probs b.next meaning the list has been traversed. # print("a data: %s" % (a)) # print("b data: %s" % (b)) if tortoise == hare: # Cycle return True tortoise = tortoise.next hare = hare.next.next return False def has_cycle_naive(head): # Passes. # Store a reference to each node so you can check against it O(n) space. nodes_seen = set() # O(n) space. while head is not None: # O(n) time. if head in nodes_seen: # ~ O(1) time, worst case is O(n). return True nodes_seen.add(head) head = head.next return False
namesList = ['Tuffy','Ali','Nysha','Tim' ] sentence = 'My dog sleeps on sofa' names = ';'.join(namesList) print(type(names), ':', names) wordList = sentence.split(' ') print((type(wordList)), ':', wordList) additionExample = 'ganehsa' + 'ganesha' + 'ganesha' multiplicationExample = 'ganesha' * 2 print('Text Additions :', additionExample) print('Text Multiplication :', multiplicationExample) str = 'Python NLTK' print(str[1]) print(str[-3])
class Prompts: def CPrompt(): ExtentionType = input("What type of extention do you want the output to be? Ex. exe \n") ProjectName = input("Whats the name of the project?") Flags = input("What other flags would you like to add? \n -g ")
class Solution: # @param s, a string # @return an integer def titleToNumber(self, s): alphabets = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'] s = list(s) sum = 0 for index, element in enumerate(s[::-1]): sum += (26**index)*(alphabets.index(element)+1) #+ (alphabets.index(element)+1) return sum
def main(): # input N, M = map(int, input().split()) ABs = [[*map(int, input().split())] for _ in range(M)] # compute adj = [[] for _ in range(N)] for A, B in ABs: A -= 1 B -= 1 adj[A].append(B) adj[B].append(A) ans = 0 for i, vs in enumerate(adj): tmp_cnt = 0 for v in vs: if i > v: tmp_cnt += 1 if tmp_cnt == 1: ans += 1 # output print(ans) if __name__ == '__main__': main()
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\autonomy\parameterized_autonomy_request_info.py # Compiled at: 2016-09-08 21:38:24 # Size of source mod 2**32: 3360 bytes class ParameterizedAutonomyRequestInfo: def __init__(self, commodities, static_commodities, objects, retain_priority, retain_carry_target=True, objects_to_ignore=None, affordances=None, randomization_override=None, radius_to_consider=0, consider_scores_of_zero=False, test_connectivity_to_target=True, retain_context_source=False, ignore_user_directed_and_autonomous=False): self.commodities = commodities self.static_commodities = static_commodities self.objects = objects self.retain_priority = retain_priority self.objects_to_ignore = objects_to_ignore self.affordances = affordances self.retain_carry_target = retain_carry_target self.randomization_override = randomization_override self.radius_to_consider = radius_to_consider self.consider_scores_of_zero = consider_scores_of_zero self.test_connectivity_to_target = test_connectivity_to_target self.retain_context_source = retain_context_source self.ignore_user_directed_and_autonomous = ignore_user_directed_and_autonomous
num1 = 10 # 修复bug num2 = 20000 num3 = 30 num4 = 40 str = 'v2.0开发完成'
#!/usr/bin/env python # encoding: utf-8 TRANSLATION_MAP = { 'Added' : u'添加了', 'Deleted' : u'删除了', 'Removed' : u'删除了', 'Modified' : u'修改了', 'Renamed' : u'重命名或移动了', 'Moved' : u'移动了', 'Added directory' : u'新建了目录', 'Removed directory' : u'删除了目录', 'Renamed directory' : u'重命名了目录', 'Moved directory' : u'移动了目录', }
def nswp(n): if n < 2: return 1 a, b = 1, 1 for i in range(2, n + 1): c = 2 * b + a a = b b = c return b n = 3 print(nswp(n))
#!/usr/bin/env python #-*-coding:utf-8*- # 程序实现的功能:打印三角形 row = int(input("请输入需要打印的行数:")) i = 0 full_space = 4 * row - 3 while i < row: init_space = int((full_space - (4 * (i + 1) - 3)) / 4) print(' ' * init_space, end="") print(' ' * init_space, end="") j = 0 while j <= i: if j == i: print("*", end="") else: print("* ", end="") j += 1 i += 1 print("")
##def txt2BRAM2(CFile): ## """ ## FUNCTION: txt2BRAM2(a str) ## a: text file name string ## ## - Initalizing a VHDL array with the contentes of a text file. ## """ ## # Python's variable declerations #---------------------------------------------------------------------------------------------------------------------------------- txtFile = '' txtFile_name = '' x = '' s = '' msg = '' vhdFile_temp1 = '' vhdFile_temp2 = '' memFile = '' memFilearr = [] bram0 = [] bram1 = [] bram2 = [] bram3 = [] bram4 = [] bram5 = [] bram6 = [] bram7 = [] bram8 = [] bram9 = [] bram10 = [] bram11 = [] bram12 = [] bram13 = [] bram14 = [] bram15 = [] bram16 = [] bram17 = [] bram18 = [] bram19 = [] bram20 = [] bram21 = [] bram22 = [] bram23 = [] bram24 = [] bram25 = [] bram26 = [] bram27 = [] bram28 = [] bram29 = [] bram30 = [] bram31 = [] bram32 = [] bram33 = [] bram34 = [] bram35 = [] bram36 = [] bram37 = [] bram38 = [] bram39 = [] bram40 = [] bram41 = [] bram42 = [] bram43 = [] bram44 = [] bram45 = [] bram46 = [] bram47 = [] bram48 = [] bram49 = [] bram50 = [] bram51 = [] bram52 = [] bram53 = [] bram54 = [] bram55 = [] bram56 = [] bram57 = [] bram58 = [] bram59 = [] bram60 = [] bram61 = [] bram62 = [] bram63 = [] bram_mem = [bram0, bram1, bram2, bram3, bram4, bram5, bram6, bram7, bram8, bram9, bram10, bram11, bram12, bram13, bram14, bram15, bram16, bram17, bram18, bram19, bram20, bram21, bram22, bram23, bram24, bram25, bram26, bram27, bram28, bram29, bram30, bram31, bram32, bram33, bram34, bram35, bram36, bram37, bram38, bram39, bram40, bram41, bram42, bram43, bram44, bram45, bram46, bram47, bram48, bram49, bram50, bram51, bram52, bram53, bram54, bram55, bram56, bram57, bram58, bram59, bram60, bram61, bram62, bram63] #---------------------------------------------------------------------------------------------------------------------------------- msg = "File name: " txtFile_name = raw_input(msg).strip() txtFile = open("./" + txtFile_name + ".txt", 'r') vhdFile_temp1 = open("./Initmems_temp1.vhd", 'r') vhdFile_temp2 = open("./Initmems_temp2.vhd", 'r') temp1 = vhdFile_temp1.read() temp2 = vhdFile_temp2.read() memFile = open("./Initmems.vhd", 'w') memFile.write(temp1) x = txtFile.read() x = x.replace("\n", '') for i in range(0, len(x), 40): memFilearr.append(x[i:(i+40)]) for i in range((512 - len(memFilearr))): if (i == (512 - (len(memFilearr)))): memFilearr.append("0000000000000000000000000000000000000000") else: memFilearr.append("0000000000000000000000000000000000000000") #print memFilearr #print len(memFilearr) for i in range(0, len(memFilearr)): if (i < 8): bram_mem[0].append(memFilearr[i]) elif ((i >= 8) and (i < 16)): bram_mem[1].append(memFilearr[i]) elif ((i >= 16) and (i < 24)): bram_mem[2].append(memFilearr[i]) elif ((i >= 24) and (i < 32)): bram_mem[3].append(memFilearr[i]) elif ((i >= 32) and (i < 40)): bram_mem[4].append(memFilearr[i]) elif ((i >= 40) and (i < 48)): bram_mem[5].append(memFilearr[i]) elif ((i >= 48) and (i < 56)): bram_mem[6].append(memFilearr[i]) elif ((i >= 56) and (i < 64)): bram_mem[7].append(memFilearr[i]) elif ((i >= 64) and (i < 72)): bram_mem[8].append(memFilearr[i]) elif ((i >= 72) and (i < 80)): bram_mem[9].append(memFilearr[i]) elif ((i >= 80) and (i < 88)): bram_mem[10].append(memFilearr[i]) elif ((i >= 88) and (i < 96)): bram_mem[11].append(memFilearr[i]) elif ((i >= 96) and (i < 104)): bram_mem[12].append(memFilearr[i]) elif ((i >= 104) and (i < 112)): bram_mem[13].append(memFilearr[i]) elif ((i >= 112) and (i < 120)): bram_mem[14].append(memFilearr[i]) elif ((i >= 120) and (i < 128)): bram_mem[15].append(memFilearr[i]) elif ((i >= 128) and (i < 136)): bram_mem[16].append(memFilearr[i]) elif ((i >= 136) and (i < 144)): bram_mem[17].append(memFilearr[i]) elif ((i >= 144) and (i < 152)): bram_mem[18].append(memFilearr[i]) elif ((i >= 152) and (i < 160)): bram_mem[19].append(memFilearr[i]) elif ((i >= 160) and (i < 168)): bram_mem[20].append(memFilearr[i]) elif ((i >= 168) and (i < 176)): bram_mem[21].append(memFilearr[i]) elif ((i >= 176) and (i < 184)): bram_mem[22].append(memFilearr[i]) elif ((i >= 184) and (i < 192)): bram_mem[23].append(memFilearr[i]) elif ((i >= 192) and (i < 200)): bram_mem[24].append(memFilearr[i]) elif ((i >= 200) and (i < 208)): bram_mem[25].append(memFilearr[i]) elif ((i >= 208) and (i < 216)): bram_mem[26].append(memFilearr[i]) elif ((i >= 216) and (i < 224)): bram_mem[27].append(memFilearr[i]) elif ((i >= 224) and (i < 232)): bram_mem[28].append(memFilearr[i]) elif ((i >= 232) and (i < 240)): bram_mem[29].append(memFilearr[i]) elif ((i >= 240) and (i < 248)): bram_mem[30].append(memFilearr[i]) elif ((i >= 248) and (i < 256)): bram_mem[31].append(memFilearr[i]) elif ((i >= 256) and (i < 264)): bram_mem[32].append(memFilearr[i]) elif ((i >= 264) and (i < 272)): bram_mem[33].append(memFilearr[i]) elif ((i >= 272) and (i < 280)): bram_mem[34].append(memFilearr[i]) elif ((i >= 280) and (i < 288)): bram_mem[35].append(memFilearr[i]) elif ((i >= 288) and (i < 296)): bram_mem[36].append(memFilearr[i]) elif ((i >= 296) and (i < 304)): bram_mem[37].append(memFilearr[i]) elif ((i >= 304) and (i < 312)): bram_mem[38].append(memFilearr[i]) elif ((i >= 312) and (i < 320)): bram_mem[39].append(memFilearr[i]) elif ((i >= 320) and (i < 328)): bram_mem[40].append(memFilearr[i]) elif ((i >= 328) and (i < 336)): bram_mem[41].append(memFilearr[i]) elif ((i >= 336) and (i < 344)): bram_mem[42].append(memFilearr[i]) elif ((i >= 344) and (i < 352)): bram_mem[43].append(memFilearr[i]) elif ((i >= 352) and (i < 360)): bram_mem[44].append(memFilearr[i]) elif ((i >= 360) and (i < 368)): bram_mem[45].append(memFilearr[i]) elif ((i >= 368) and (i < 376)): bram_mem[46].append(memFilearr[i]) elif ((i >= 376) and (i < 384)): bram_mem[47].append(memFilearr[i]) elif ((i >= 384) and (i < 392)): bram_mem[48].append(memFilearr[i]) elif ((i >= 392) and (i < 400)): bram_mem[49].append(memFilearr[i]) elif ((i >= 400) and (i < 408)): bram_mem[50].append(memFilearr[i]) elif ((i >= 408) and (i < 416)): bram_mem[51].append(memFilearr[i]) elif ((i >= 416) and (i < 424)): bram_mem[52].append(memFilearr[i]) elif ((i >= 424) and (i < 432)): bram_mem[53].append(memFilearr[i]) elif ((i >= 432) and (i < 440)): bram_mem[54].append(memFilearr[i]) elif ((i >= 440) and (i < 448)): bram_mem[55].append(memFilearr[i]) elif ((i >= 448) and (i < 456)): bram_mem[56].append(memFilearr[i]) elif ((i >= 456) and (i < 464)): bram_mem[57].append(memFilearr[i]) elif ((i >= 464) and (i < 472)): bram_mem[58].append(memFilearr[i]) elif ((i >= 472) and (i < 480)): bram_mem[59].append(memFilearr[i]) elif ((i >= 480) and (i < 488)): bram_mem[60].append(memFilearr[i]) elif ((i >= 488) and (i < 496)): bram_mem[61].append(memFilearr[i]) elif ((i >= 496) and (i < 504)): bram_mem[62].append(memFilearr[i]) elif ((i >= 504) and (i < 512)): bram_mem[63].append(memFilearr[i]) for i in range(0, 64): s = s + "\n " for j in range(len(bram_mem[i])): s = s + "X\"" + bram_mem[i][j] + "\"," s = s[:(len(s) - 1)] memFile.write(s) memFile.write("\n" + temp2) memFile.close()
description = "Lowtemperature setup for SPHERES" \ "Contains: SIS, doppler, shutter, sps and cct6" group = 'basic' includes = ['spheres', 'cct6'] startupcode = """ cct6_c_temperature.samplestick = 'lt'\n cct6_c_temperature.userlimits = (0, 350) """
def user_input(): ''' this function to get input from user return to_currency, from_currency, date ''' to_currency = input("what is your to currency code ? \n") from_currency = input("what is your from currency code? \n") date = input("what is your date? \n") return to_currency, from_currency, date
print(f'{"GERADOR DE DESCONTOS":.^60}') produto = str(input('Nome do produto:')) preco = float(input(f'Digite o preço do/a {produto}:')) opc = int(input('[ 1 ] A vista\n[ 2 ] Parcelado\n-->: ')) if opc == 1: des = float(input('Digite o desconto %: ')) valor = preco*des/100 print(f'O valor de produto:{produto} = R${preco} com o desconto de {des:.2f}% será a partir de R${preco-valor:.2f}') elif opc == 2: des = float(input('Digite o desconto %: ')) valor = preco*des/100 parc = int(input('Quantas vezes ?: ')) print(f'O valor do produto {produto} = R${preco} com o desconto de {des:.2f}%, ' f'parcelado em {parc} meses será a partir de R${preco/parc-valor:.2f}')
def foo(arg1, *, kwarg1): pass def bar(): pass
# # PySNMP MIB module DECserver-Accounting-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DECserver-Accounting-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:22:20 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, SingleValueConstraint, ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") sysUpTime, = mibBuilder.importSymbols("SNMPv2-MIB", "sysUpTime") Gauge32, NotificationType, NotificationType, Unsigned32, MibIdentifier, ModuleIdentity, ObjectIdentity, enterprises, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, iso, Counter64, Integer32, IpAddress, TimeTicks, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "NotificationType", "NotificationType", "Unsigned32", "MibIdentifier", "ModuleIdentity", "ObjectIdentity", "enterprises", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "iso", "Counter64", "Integer32", "IpAddress", "TimeTicks", "Counter32") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") private = MibIdentifier((1, 3, 6, 1, 4, 1, 1)) dec = MibIdentifier((1, 3, 6, 1, 4, 1, 1, 36)) ema = MibIdentifier((1, 3, 6, 1, 4, 1, 1, 36, 2)) mib_extensions_1 = MibIdentifier((1, 3, 6, 1, 4, 1, 1, 36, 2, 18)).setLabel("mib-extensions-1") decServeraccounting = MibIdentifier((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12)) acctSystem = MibIdentifier((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 1)) acctConsole = MibScalar((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acctConsole.setStatus('mandatory') acctAdminLogSize = MibScalar((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("none", 1), ("size4K", 2), ("size8K", 3), ("size16K", 4), ("size32K", 5), ("size64K", 6), ("size128K", 7), ("size256K", 8), ("size512K", 9))).clone('size16K')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acctAdminLogSize.setStatus('mandatory') acctOperLogSize = MibScalar((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("none", 1), ("size4K", 2), ("size8K", 3), ("size16K", 4), ("size32K", 5), ("size64K", 6), ("size128K", 7), ("size256K", 8), ("size512K", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: acctOperLogSize.setStatus('mandatory') acctThreshold = MibScalar((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("none", 1), ("end", 2), ("half", 3), ("quarter", 4), ("eighth", 5))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: acctThreshold.setStatus('mandatory') acctTable = MibTable((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2), ) if mibBuilder.loadTexts: acctTable.setStatus('mandatory') acctEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2, 1), ).setIndexNames((0, "DECserver-Accounting-MIB", "acctEntryNonce1"), (0, "DECserver-Accounting-MIB", "acctEntryNonce2")) if mibBuilder.loadTexts: acctEntry.setStatus('mandatory') acctEntryNonce1 = MibTableColumn((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: acctEntryNonce1.setStatus('mandatory') acctEntryNonce2 = MibTableColumn((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: acctEntryNonce2.setStatus('mandatory') acctEntryTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: acctEntryTime.setStatus('mandatory') acctEntryEvent = MibScalar((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17))).clone(namedValues=NamedValues(("other", 1), ("logIn", 2), ("logOut", 3), ("sessionConnect", 4), ("sessionDisconnect", 5), ("kerberosPasswordFail", 6), ("privilegedPasswordFail", 7), ("maintenancePasswordFail", 8), ("loginPasswordFail", 9), ("remotePasswordFail", 10), ("communityFail", 11), ("privilegedPasswordModified", 12), ("maintenacePasswordModified", 13), ("loginPasswordModified", 14), ("remotePasswordModified", 15), ("privilegeLevelModified", 16), ("communityModified", 17)))).setMaxAccess("readonly") if mibBuilder.loadTexts: acctEntryEvent.setStatus('mandatory') acctEntryPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: acctEntryPort.setStatus('mandatory') acctEntryUser = MibTableColumn((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: acctEntryUser.setStatus('mandatory') acctEntrySessionId = MibTableColumn((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: acctEntrySessionId.setStatus('mandatory') acctEntryProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("none", 1), ("lat", 2), ("telnet", 3), ("slip", 4), ("ping", 5), ("mop", 6), ("ppp", 7), ("tn3270", 8), ("autolink", 9), ("snmp-ip", 10), ("other", 11)))).setMaxAccess("readonly") if mibBuilder.loadTexts: acctEntryProtocol.setStatus('mandatory') acctEntryAccess = MibTableColumn((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("local", 2), ("remote", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: acctEntryAccess.setStatus('mandatory') acctEntryPeer = MibTableColumn((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2, 1, 10), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: acctEntryPeer.setStatus('mandatory') acctEntryReason = MibTableColumn((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notApplicable", 1), ("normal", 2), ("error", 3), ("other", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: acctEntryReason.setStatus('mandatory') acctEntrySentBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: acctEntrySentBytes.setStatus('mandatory') acctEntryReceivedBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: acctEntryReceivedBytes.setStatus('mandatory') acctTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 3)) acctThresholdExceeded = NotificationType((1, 3, 6, 1, 4, 1, 1, 36, 2, 18, 12, 3) + (0,1)).setObjects(("SNMPv2-MIB", "sysUpTime"), ("DECserver-Accounting-MIB", "acctThreshold")) mibBuilder.exportSymbols("DECserver-Accounting-MIB", acctEntryNonce1=acctEntryNonce1, acctEntryAccess=acctEntryAccess, acctSystem=acctSystem, ema=ema, acctOperLogSize=acctOperLogSize, mib_extensions_1=mib_extensions_1, acctEntryNonce2=acctEntryNonce2, private=private, acctEntryReceivedBytes=acctEntryReceivedBytes, acctEntryEvent=acctEntryEvent, acctEntryUser=acctEntryUser, acctTable=acctTable, acctEntryPeer=acctEntryPeer, acctTraps=acctTraps, acctEntryReason=acctEntryReason, dec=dec, acctEntrySessionId=acctEntrySessionId, acctAdminLogSize=acctAdminLogSize, acctThresholdExceeded=acctThresholdExceeded, acctEntryPort=acctEntryPort, acctEntryProtocol=acctEntryProtocol, acctConsole=acctConsole, acctThreshold=acctThreshold, decServeraccounting=decServeraccounting, acctEntryTime=acctEntryTime, acctEntry=acctEntry, acctEntrySentBytes=acctEntrySentBytes)
def point_in_region(lower_left_corner, upper_right_corner, x, y): return ( x >= lower_left_corner.x and x <= upper_right_corner.x and y >= lower_left_corner.y and y <= upper_right_corner.y)
"""Programming support libraries. The modules in this package Module Summary -------------- motleydatetime Makes datetime manipulation easy and reliable. Potentially useful to any Python program which uses the standard "datetime" module, especially when dealing with timezones or UTC datetimes. motleyformatter Implements the MotleyFormatter class which facilitates creation of extended formats for the standard "logging" module (and also for the extemded motleylogger module). Primarilly makes inclusion of high resolution datetimes in log messages easy (up to nanosecond resolution on modern systems). Also makes it easier to use UTC or any other desired timezone in log messages. The MotleyFormatter class is a subclass of the standard logging.Formatter class so no standard logging format features should be lost. motleylogger Implements the MotleyLogger class which extends the logging capabilities of the standard "logging" module. For technical reasons, MotleyLogger is not a subclass of "logging.Logger" class but transparently wraps most standard Logger methods to make usage easy for those who know standard logging methods. Some additional methods have also been added. """
def duplicate_zeros(arr): if 0 not in arr: return arr else: array = [] for a in arr: if a == 0: array.extend([0, 0]) else: array.append(a) for i in range(len(arr)): arr[i] = array[i]
class MinStack(object): def __init__(self): self.s = [] self.min_s = [] def push(self, x): self.s.append(x) if self.min_s: if self.min_s[-1] > x: self.min_s.append(x) else: self.min_s.append(self.min_s[-1]) else: self.min_s.append(x) def pop(self): if self.s: self.s.pop() self.min_s.pop() def top(self): if self.s: return self.s[-1] def getMin(self): if self.min_s: return self.min_s[-1] if __name__ == '__main__': minStack = MinStack() minStack.push(2) minStack.push(1) minStack.push(4) print(minStack.top()) minStack.pop() print(minStack.getMin()) minStack.pop() print(minStack.getMin()) minStack.pop() minStack.push(7) print(minStack.top()) print(minStack.getMin()) minStack.push(4) print(minStack.top()) print(minStack.getMin()) minStack.pop() print(minStack.getMin())
n1 = float(input('Primeiro segmento:')) n2 = float(input('Segundo segmento:')) n3 = float(input('Terceiro segmento:')) if n1 < n2 + n3 and n2 < n3 + n1 and n3 < n1 + n2: print('\33[1;32mOs segmentos acima podem formar um triangulo') else: print('\33[1;32mOs segmentos acima não podem formar um triangulo')
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # NOTE: This class is auto generated by the jdcloud code generator program. class RelatedDomains(object): def __init__(self, domainName=None, domainType=None, rtmpUrls=None, flvUrls=None, hlsUrls=None): """ :param domainName: (Optional) 域名 :param domainType: (Optional) (关联域名类型)publish或play :param rtmpUrls: (Optional) 该相关域名的rtmp格式 :param flvUrls: (Optional) 该相关域名的flv格式 :param hlsUrls: (Optional) 该相关域名的hls格式 """ self.domainName = domainName self.domainType = domainType self.rtmpUrls = rtmpUrls self.flvUrls = flvUrls self.hlsUrls = hlsUrls
# Guest & items allGuests = {'Alice': {'apples': 5, 'pretzels': 12}, 'Bob': {'ham sandwiches': 3, 'apples': 2}, 'Carol': {'cups': 3, 'apple pies': 1}} # function: get amount of a item(allGuests, item) def totalBrought(guests, item): # initiate a counter numBrought = 0 # traverse values of all guests for v in guests.values(): # accumulate the item numBrought += v.get(item, 0) return numBrought foodSet = set() for v in allGuests.values(): foodSet |= set(v) # print number of items (call function) print("Number of things being brought: \n") for food in foodSet: print("-{:20} {}".format(food, totalBrought(allGuests, food))) # print("-Apple {}".format(totalBrought(allGuests,'apples'))) # print("-Cups {}".format(totalBrought(allGuests,'cups'))) # print("-Pretzel {}".format(totalBrought(allGuests,'pretzels'))) # print("-Ham Sandwiches {}".format(totalBrought(allGuests,'ham sandwiches'))) # print("-Apple Pies {}".format(totalBrought(allGuests,'apple pies')))
print('================= Calculando novo Salário ===============') sal = float(input('Digite o valor do salário R$ ')) aumento = 15 varsal = sal * aumento / 100 nvsal = varsal + sal print('\n') print('O salário atual é {:.2f} R$, e agora com o acréssimo de {:.2f} R$, ficará {:.2f} R$ '.format(sal,varsal,nvsal))
# This problem was asked by Yahoo. # Write an algorithm that computes the reversal of a directed graph. # For example, if a graph consists of A -> B -> C, it should become A <- B <- C. #### graph1 = {} graph1['A'] = ['B', 'C', 'D'] graph1['B'] = ['C', 'D'] graph1['C'] = ['D'] #### def reversegraph(gr): ret = {} # iterate through all nodes for beg, v in gr.items(): # add reverse edge to the graph for end in v: ret[end] = ret.get(end, []) + [beg] return ret #### print(graph1) print(reversegraph(graph1))
class Stack: sizeof = 0 def __init__(self,list = None): if list == None: self.item =[] else : self.item = list def push(self,i): self.item.append(i) def size(self): return len(self.item) def isEmpty(self): if self.size()==0: return True else: return False def pop(self): return self.item.pop() def peek(self): tmp = self.item[self.size()-1] return tmp x = input("Enter Infix : ") xout = "" a = "*/" b = "+-" c = "()" d = "^" s = Stack() for i in x: if i in b: if not s.isEmpty(): if s.peek() in a: while not s.isEmpty(): xout+=s.pop() if s.isEmpty() or s.peek() is c[0]: break elif s.peek() is c[0]: pass else: xout+=s.pop() s.push(i) elif i in a: if not s.isEmpty(): if s.peek() in d: while not s.isEmpty(): xout+=s.pop() if s.isEmpty() or s.peek() is c[0]: break elif s.peek() in a: xout+=s.pop() s.push(i) elif i in d: s.push(i) elif i == c[0]: s.push(i) # print(s.item) elif i == c[1]: # print(s.item) while s.peek() is not c[0] and not s.isEmpty(): xout+=s.pop() # print(xout) if s.peek() == c[0]: s.pop() break else: xout+=i # print(xout) while not s.isEmpty(): xout+=s.pop() print("Postfix :",xout)
if __name__ == '__main__': # This is a line printing Hello World # This is a second line comment ''' This is a line printing Hello World This is a second line comment ''' print("Hello World") # This is a comment
def mutate_string(string, position, character): stringlist = list(string) stringlist[position] = character string = ''.join(stringlist) return string
__all__ = [ 'NoDestinationError', 'DocDoesNotExist' ] class NoDestinationError(BaseException): """There is no destination Git Repo configured for this Document""" class DocDoesNotExist(BaseException): """The PaperDoc being requested does not exist"""
''' 请实现一个函数,用来判断一颗二叉树是不是对称的。 注意,如果一个二叉树同此二叉树的镜像是同样的,定义其为对称的。 ''' class TreeNode(object): def __init__(self, x): self.val=x self.left=None self.right=None class Solution(object): # 1.递归实现 def isSymmetrical(self, pRoot): return self.selfIsSymmetrical(pRoot, pRoot) def selfIsSymmetrical(self, pRoot1, pRoot2): if pRoot1==None and pRoot2==None: return True if pRoot1==None or pRoot2==None: return False if pRoot1.val!=pRoot2.val: return False return self.selfIsSymmetrical(pRoot1.left, pRoot2.right) and \ self.selfIsSymmetrical(pRoot1.right, pRoot2.left) # 递归实现2 def isSymmetrical1(self, pRoot): return self.selfIsSymmetrical(pRoot, pRoot) def selfIsSymmetrical1(self, pRoot1, pRoot2): if pRoot1==None and pRoot2==None: return True if pRoot1==None or pRoot2==None: return False if pRoot1.val!=pRoot2.val: return False return self.selfIsSymmetrical(pRoot1.left, pRoot2.right) and \ self.selfIsSymmetrical(pRoot1.right, pRoot2.left) def isSymmetrical2(self, pRoot): return self.selfIsSymmetrical(pRoot, pRoot) def selfIsSymmetrical2(self, pRoot1, pRoot2): if pRoot1==None and pRoot2==None: return True if pRoot1==None or pRoot2==None: return False if pRoot1.val!=pRoot2.val: return False return self.selfIsSymmetrical(pRoot1.left, pRoot2.right) and \ self.selfIsSymmetrical(pRoot1.right, pRoot2.left) pNode1 = TreeNode(8) pNode2 = TreeNode(6) pNode3 = TreeNode(10) pNode4 = TreeNode(5) pNode5 = TreeNode(7) pNode6 = TreeNode(9) pNode7 = TreeNode(11) pNode1.left = pNode2 pNode1.right = pNode3 pNode2.left = pNode4 pNode2.right = pNode5 pNode3.left = pNode6 pNode3.right = pNode7 S = Solution() result = S.isSymmetrical2(pNode1) print(result)
flowers = input() amount_flowers = int(input()) budget = int(input()) final_price = 0 one_rose_price = 5 one_Dahlias_price = 3.80 one_Tulips_price = 2.80 one_Narcissus_price = 3 one_Gladiolus_price = 2.50 if flowers == "Roses": final_price = amount_flowers * one_rose_price if amount_flowers > 80: final_price = final_price - (final_price * 0.10) if flowers == "Dahlias": final_price = amount_flowers * one_Dahlias_price if amount_flowers > 90: final_price = final_price - (final_price * 0.15) if flowers == "Tulips": final_price = amount_flowers * one_Tulips_price if amount_flowers > 80: final_price = final_price - (final_price * 0.15) if flowers == "Narcissus": final_price = amount_flowers * one_Narcissus_price if amount_flowers < 120: final_price = final_price + (final_price * 0.15) if flowers == "Gladiolus": final_price = amount_flowers * one_Gladiolus_price if amount_flowers < 80: final_price = final_price + (final_price * 0.20) if budget >= final_price: print(f"Hey, you have a great garden with {amount_flowers} {flowers} and {budget - final_price:.2f} leva left.") else: print(f"Not enough money, you need {final_price - budget:.2f} leva more.")
CLASSES = { 'banana': 'банан', 'lemon': 'лимон', 'nectarine': 'нектарин', 'potato': 'картофель', 'zucchini': 'кабачок', }
def main(): dic = { 'wide': [ 'logs/pipelines/all_pcgrl/pcgrl_smb_wide_5.mscluster41.144549.out', 'logs/pipelines/all_pcgrl/pcgrl_smb_wide_4.mscluster40.144548.out', 'logs/pipelines/all_pcgrl/pcgrl_smb_wide_3.mscluster18.144536.out', 'logs/pipelines/all_pcgrl/pcgrl_smb_wide_2.mscluster39.144547.out', 'logs/pipelines/all_pcgrl/pcgrl_smb_wide_1.mscluster14.144391.out', ], 'turtle': [ 'logs/pipelines/all_pcgrl/pcgrl_smb_turtle_5.mscluster34.144546.out', 'logs/pipelines/all_pcgrl/pcgrl_smb_turtle_3.mscluster26.144544.out', 'logs/pipelines/all_pcgrl/pcgrl_smb_turtle_4.mscluster32.144545.out', 'logs/pipelines/all_pcgrl/pcgrl_smb_turtle_1.mscluster24.144542.out', 'logs/pipelines/all_pcgrl/pcgrl_smb_turtle_2.mscluster25.144543.out', ] } for key, li_of_files in dic.items(): steps = [] for l in li_of_files: with open(l, 'r') as f: lines = [l.strip() for l in f.readlines()] lines = [int(l.split(' ')[0]) for l in lines if ' timesteps' in l][-1] steps.append(lines) K = [f'{s:1.2e}' for s in steps] print(f"For {key:<10}, average number of timesteps = {sum(steps) / len(steps):1.3e} and steps = {K}") if __name__ == '__main__': main()
class ArXivAuthorNames: def __init__(self, names_string): self.names_string = self.__required(names_string) def names(self): """ Converts name into a simple form suitable for the CrossRef search """ names = self.names_string.split(';') out = list(map(self.__parse_name, names)) return ', '.join(out) @staticmethod def __parse_name(full_name): return '+'.join(reversed([name.strip() for name in full_name.split(',')])) @staticmethod def __required(item): if not item: raise ValueError('field "authors" is required') return item