content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
datas = { 'style' : 'boost', 'prefix' : ['boost','simd'], 'has_submodules' : True, }
datas = {'style': 'boost', 'prefix': ['boost', 'simd'], 'has_submodules': True}
# This script was crated to calculate my net worth across all my accounts, including crypto wallets. I track my fiat # currency using Mint. The majority of my crypto wallets are not able to sync with Mint. With this script, I answer a # few questions regarding wallet balances, then my change in net worth (annual and daily) are printed. All mentioned # wallets are ones I personally use. # COIN App coin_balance = float(input('How much COIN do you have? ')) denominator = coin_balance / 1000 numerator = float(input('How much XYO do you get from 1000 COIN? ')) COIN_to_xyo = round((numerator * denominator), 3) XYO_CoinGecko_plug = float(input(f'Enter USD from CoinGecko for {COIN_to_xyo} XYO. ')) # Metamask Ethereum Chain print() print('Open MetaMask Ethereum Main Network.') metamask_ethereum_balance = float(input('What is the balance on your MetaMask Ethereum wallet? ')) # MetaMask Ethereum matic_staked_balance = float(input('How much Matic do you have staked? ')) # MetaMask Ethereum matic_rewards_balance = float(input('How much Matic have you earned? ')) # MetaMask Ethereum # Metamask Smart Chain print() print('Open MetaMask Binance Smart Chain Mainnet.') metamask_smartchain_balance = float(input('What is the balance in your MetaMask Binance Smart Chain Mainnet? ')) # Metamask MultiVAC Mainnet print() print('Open MetaMask MultiVAC Mainnet.') print('Stake any accumulated MTV now.') mtv_staked = float(input('How much MTV (in USD) do you have staked? ')) # Price using CoinGecko. # Metamask Avalanche Network print() print('Open Metamask Avalanche Network.') metamask_avalanche_balance = float(input('What is the balance in your MetaMask Avalanche Network? ')) # traderjoexyz.com print() print('Open traderjoexyz.com') print() print('Click the Lend tab.') traderjoexyz_lending_supply = float(input('How much is your Supply Balance? ')) joe_balance = float(input('What is the value of your JOE Rewards? ')) joe_price = float(input('What is the current price of JOE according to CoinMarketCap? ')) joe_rewards = joe_balance * joe_price print(f'You have ${joe_rewards} worth of JOE rewards.') print() avax_balance = float(input('What is the value of your AVAX Rewards? ')) avax_price = float(input('What is the current price of AVAX according to CoinMarketCap? ')) avax_rewards = avax_balance * avax_price print(f'You have ${avax_rewards} worth of avax rewards.') print() print('CLick the Farm tab.') melt_avax_balance = float(input('How much MELT/AVAX do you have staked? ')) melt_avax_pending_rewards = float(input('How much Pending Rewards do you have? ')) melt_avax_bonus_rewards = float(input('How much Bonus Rewards do you have? ')) # Wonderland print() print('Open Wonderland.') memo_balance = float(input('How much MEMO do you have? ')) time_value = float(input('What is the USD value of TIME according to CoinMarketCap? ')) memo_value = memo_balance * time_value print(f'You have ${memo_value} worth of MEMO.') # Crypto.com App print() crypto_dot_com_balance = float(input("What's the balance of your Crypto.com account? ")) # Mint print() mint_net_worth = float(input('How much does Mint say your annual net worth changed? ')) # KuCoin print() KuCoin_balance = float(input('What is the balance of your KuCoin account? ')) # Algorand App print() algorand_app_balance = float(input('What is the balance of your Algorand account? ')) # Helium App print() helium_balance = float(input('What is the balance of your Helium account? ')) # Coinbase Wallet App, NOT Coinbase App print() coinbase_wallet_balance = float(input('What is the balance of your Coinbase Wallet? ')) # Trust Wallet print() trust_wallet_balance = float(input('What is the balance of your Trust Wallet? ')) # Pancake Swap print() print('Go to PancakeSwap.') # Farm print('Click the Farms tab under Earn.') cake_earned = float(input('How much CAKE have you earned? ')) kart_bnb_staked = float(input('How much KART-BNB is staked? ')) # Pool print() print('Switch to the Pools tab.') PancakeSwap_kart_balance = float(input('How much KART have you earned? ')) PancakeSwap_KART_pooled_amount = float(input('How much USD do you have staked in the KART pool? ')) # Liquidity print() print('Click the Liquidity tab under Trade.') mcrt_bnb_lp = float(input('How much BNB is in your MCRT-BNB LP paid? ')) mcrt_bnb_value = 2 * mcrt_bnb_lp mcrt_bnb_usd = float(input(f'Plug {mcrt_bnb_value} BNB into Coingecko. How much USD is that? ')) print(f'You have ${mcrt_bnb_usd} in your MCRT-BNB LP.') print() annual_change = round(float( XYO_CoinGecko_plug + matic_staked_balance + matic_rewards_balance + crypto_dot_com_balance + mint_net_worth + metamask_ethereum_balance + metamask_smartchain_balance + KuCoin_balance + algorand_app_balance + helium_balance + mtv_staked + coinbase_wallet_balance + trust_wallet_balance + PancakeSwap_kart_balance + PancakeSwap_KART_pooled_amount + cake_earned + kart_bnb_staked + metamask_avalanche_balance + traderjoexyz_lending_supply + joe_rewards + avax_rewards + melt_avax_bonus_rewards + melt_avax_pending_rewards + melt_avax_balance + memo_value + mcrt_bnb_usd), 2) daily_change = round(float(annual_change / 365), 2) print(f'Your net worth changed by ${annual_change} this year.') print(f'Your net worth changed by about ${daily_change} daily.')
coin_balance = float(input('How much COIN do you have? ')) denominator = coin_balance / 1000 numerator = float(input('How much XYO do you get from 1000 COIN? ')) coin_to_xyo = round(numerator * denominator, 3) xyo__coin_gecko_plug = float(input(f'Enter USD from CoinGecko for {COIN_to_xyo} XYO. ')) print() print('Open MetaMask Ethereum Main Network.') metamask_ethereum_balance = float(input('What is the balance on your MetaMask Ethereum wallet? ')) matic_staked_balance = float(input('How much Matic do you have staked? ')) matic_rewards_balance = float(input('How much Matic have you earned? ')) print() print('Open MetaMask Binance Smart Chain Mainnet.') metamask_smartchain_balance = float(input('What is the balance in your MetaMask Binance Smart Chain Mainnet? ')) print() print('Open MetaMask MultiVAC Mainnet.') print('Stake any accumulated MTV now.') mtv_staked = float(input('How much MTV (in USD) do you have staked? ')) print() print('Open Metamask Avalanche Network.') metamask_avalanche_balance = float(input('What is the balance in your MetaMask Avalanche Network? ')) print() print('Open traderjoexyz.com') print() print('Click the Lend tab.') traderjoexyz_lending_supply = float(input('How much is your Supply Balance? ')) joe_balance = float(input('What is the value of your JOE Rewards? ')) joe_price = float(input('What is the current price of JOE according to CoinMarketCap? ')) joe_rewards = joe_balance * joe_price print(f'You have ${joe_rewards} worth of JOE rewards.') print() avax_balance = float(input('What is the value of your AVAX Rewards? ')) avax_price = float(input('What is the current price of AVAX according to CoinMarketCap? ')) avax_rewards = avax_balance * avax_price print(f'You have ${avax_rewards} worth of avax rewards.') print() print('CLick the Farm tab.') melt_avax_balance = float(input('How much MELT/AVAX do you have staked? ')) melt_avax_pending_rewards = float(input('How much Pending Rewards do you have? ')) melt_avax_bonus_rewards = float(input('How much Bonus Rewards do you have? ')) print() print('Open Wonderland.') memo_balance = float(input('How much MEMO do you have? ')) time_value = float(input('What is the USD value of TIME according to CoinMarketCap? ')) memo_value = memo_balance * time_value print(f'You have ${memo_value} worth of MEMO.') print() crypto_dot_com_balance = float(input("What's the balance of your Crypto.com account? ")) print() mint_net_worth = float(input('How much does Mint say your annual net worth changed? ')) print() ku_coin_balance = float(input('What is the balance of your KuCoin account? ')) print() algorand_app_balance = float(input('What is the balance of your Algorand account? ')) print() helium_balance = float(input('What is the balance of your Helium account? ')) print() coinbase_wallet_balance = float(input('What is the balance of your Coinbase Wallet? ')) print() trust_wallet_balance = float(input('What is the balance of your Trust Wallet? ')) print() print('Go to PancakeSwap.') print('Click the Farms tab under Earn.') cake_earned = float(input('How much CAKE have you earned? ')) kart_bnb_staked = float(input('How much KART-BNB is staked? ')) print() print('Switch to the Pools tab.') pancake_swap_kart_balance = float(input('How much KART have you earned? ')) pancake_swap_kart_pooled_amount = float(input('How much USD do you have staked in the KART pool? ')) print() print('Click the Liquidity tab under Trade.') mcrt_bnb_lp = float(input('How much BNB is in your MCRT-BNB LP paid? ')) mcrt_bnb_value = 2 * mcrt_bnb_lp mcrt_bnb_usd = float(input(f'Plug {mcrt_bnb_value} BNB into Coingecko. How much USD is that? ')) print(f'You have ${mcrt_bnb_usd} in your MCRT-BNB LP.') print() annual_change = round(float(XYO_CoinGecko_plug + matic_staked_balance + matic_rewards_balance + crypto_dot_com_balance + mint_net_worth + metamask_ethereum_balance + metamask_smartchain_balance + KuCoin_balance + algorand_app_balance + helium_balance + mtv_staked + coinbase_wallet_balance + trust_wallet_balance + PancakeSwap_kart_balance + PancakeSwap_KART_pooled_amount + cake_earned + kart_bnb_staked + metamask_avalanche_balance + traderjoexyz_lending_supply + joe_rewards + avax_rewards + melt_avax_bonus_rewards + melt_avax_pending_rewards + melt_avax_balance + memo_value + mcrt_bnb_usd), 2) daily_change = round(float(annual_change / 365), 2) print(f'Your net worth changed by ${annual_change} this year.') print(f'Your net worth changed by about ${daily_change} daily.')
# # PySNMP MIB module CISCO-ITP-GSP2-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-ITP-GSP2-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:46:26 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") ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion") cgspInstNetwork, = mibBuilder.importSymbols("CISCO-ITP-GSP-MIB", "cgspInstNetwork") CItpTcXuaName, CItpTcPointCode, CItpTcLinksetId, CItpTcNetworkName, CItpTcAclId, CItpTcLinkSLC = mibBuilder.importSymbols("CISCO-ITP-TC-MIB", "CItpTcXuaName", "CItpTcPointCode", "CItpTcLinksetId", "CItpTcNetworkName", "CItpTcAclId", "CItpTcLinkSLC") ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt") InetPortNumber, InetAddress, InetAddressType = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetPortNumber", "InetAddress", "InetAddressType") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ObjectIdentity, ModuleIdentity, TimeTicks, Gauge32, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, Counter32, Counter64, IpAddress, Integer32, iso, Bits, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "ModuleIdentity", "TimeTicks", "Gauge32", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "Counter32", "Counter64", "IpAddress", "Integer32", "iso", "Bits", "Unsigned32") TextualConvention, RowStatus, DisplayString, TimeStamp = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "DisplayString", "TimeStamp") ciscoGsp2MIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 332)) ciscoGsp2MIB.setRevisions(('2008-07-09 00:00', '2007-12-18 00:00', '2004-05-26 00:00', '2003-08-07 00:00', '2003-03-03 00:00',)) if mibBuilder.loadTexts: ciscoGsp2MIB.setLastUpdated('200807090000Z') if mibBuilder.loadTexts: ciscoGsp2MIB.setOrganization('Cisco Systems, Inc.') ciscoGsp2MIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 0)) ciscoGsp2MIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1)) ciscoGsp2MIBConform = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 2)) cgsp2Events = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1)) cgsp2Qos = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2)) cgsp2LocalPeer = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3)) cgsp2Mtp3Errors = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4)) cgsp2Operation = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 5)) cgsp2Context = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6)) class Cgsp2TcQosClass(TextualConvention, Unsigned32): status = 'current' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(0, 7) class Cgsp2EventIndex(TextualConvention, Unsigned32): status = 'current' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 2147483647) class CItpTcContextId(TextualConvention, Unsigned32): status = 'current' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 4294967295) class CItpTcContextType(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 6)) namedValues = NamedValues(("unknown", 0), ("cs7link", 1), ("asp", 6)) cgsp2EventTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1), ) if mibBuilder.loadTexts: cgsp2EventTable.setStatus('current') cgsp2EventTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1), ).setIndexNames((0, "CISCO-ITP-GSP-MIB", "cgspInstNetwork"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventType")) if mibBuilder.loadTexts: cgsp2EventTableEntry.setStatus('current') cgsp2EventType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("as", 1), ("asp", 2), ("mtp3", 3), ("pc", 4)))) if mibBuilder.loadTexts: cgsp2EventType.setStatus('current') cgsp2EventLoggedEvents = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventLoggedEvents.setStatus('current') cgsp2EventDroppedEvents = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventDroppedEvents.setStatus('current') cgsp2EventMaxEntries = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cgsp2EventMaxEntries.setStatus('current') cgsp2EventMaxEntriesAllowed = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventMaxEntriesAllowed.setStatus('current') cgsp2EventAsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2), ) if mibBuilder.loadTexts: cgsp2EventAsTable.setStatus('current') cgsp2EventAsTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1), ).setIndexNames((0, "CISCO-ITP-GSP-MIB", "cgspInstNetwork"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventAsName"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventAsIndex")) if mibBuilder.loadTexts: cgsp2EventAsTableEntry.setStatus('current') cgsp2EventAsName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 1), CItpTcXuaName()) if mibBuilder.loadTexts: cgsp2EventAsName.setStatus('current') cgsp2EventAsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 2), Cgsp2EventIndex()) if mibBuilder.loadTexts: cgsp2EventAsIndex.setStatus('current') cgsp2EventAsText = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventAsText.setStatus('current') cgsp2EventAsTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventAsTimestamp.setStatus('current') cgsp2EventAspTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3), ) if mibBuilder.loadTexts: cgsp2EventAspTable.setStatus('current') cgsp2EventAspTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1), ).setIndexNames((0, "CISCO-ITP-GSP-MIB", "cgspInstNetwork"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventAspName"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventAspIndex")) if mibBuilder.loadTexts: cgsp2EventAspTableEntry.setStatus('current') cgsp2EventAspName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 1), CItpTcXuaName()) if mibBuilder.loadTexts: cgsp2EventAspName.setStatus('current') cgsp2EventAspIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 2), Cgsp2EventIndex()) if mibBuilder.loadTexts: cgsp2EventAspIndex.setStatus('current') cgsp2EventAspText = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventAspText.setStatus('current') cgsp2EventAspTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventAspTimestamp.setStatus('current') cgsp2EventMtp3Table = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4), ) if mibBuilder.loadTexts: cgsp2EventMtp3Table.setStatus('current') cgsp2EventMtp3TableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1), ).setIndexNames((0, "CISCO-ITP-GSP-MIB", "cgspInstNetwork"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventMtp3Index")) if mibBuilder.loadTexts: cgsp2EventMtp3TableEntry.setStatus('current') cgsp2EventMtp3Index = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1, 1), Cgsp2EventIndex()) if mibBuilder.loadTexts: cgsp2EventMtp3Index.setStatus('current') cgsp2EventMtp3Text = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventMtp3Text.setStatus('current') cgsp2EventMtp3Timestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventMtp3Timestamp.setStatus('current') cgsp2EventPcTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5), ) if mibBuilder.loadTexts: cgsp2EventPcTable.setStatus('current') cgsp2EventPcTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1), ).setIndexNames((0, "CISCO-ITP-GSP-MIB", "cgspInstNetwork"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventPc"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2EventPcIndex")) if mibBuilder.loadTexts: cgsp2EventPcTableEntry.setStatus('current') cgsp2EventPc = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 1), CItpTcPointCode()) if mibBuilder.loadTexts: cgsp2EventPc.setStatus('current') cgsp2EventPcIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 2), Cgsp2EventIndex()) if mibBuilder.loadTexts: cgsp2EventPcIndex.setStatus('current') cgsp2EventPcText = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventPcText.setStatus('current') cgsp2EventPcTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2EventPcTimestamp.setStatus('current') cgsp2QosTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1), ) if mibBuilder.loadTexts: cgsp2QosTable.setStatus('current') cgsp2QosTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1), ).setIndexNames((0, "CISCO-ITP-GSP-MIB", "cgspInstNetwork"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2QosClass")) if mibBuilder.loadTexts: cgsp2QosTableEntry.setStatus('current') cgsp2QosClass = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 1), Cgsp2TcQosClass()) if mibBuilder.loadTexts: cgsp2QosClass.setStatus('current') cgsp2QosType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ipPrecedence", 1), ("ipDscp", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2QosType.setStatus('current') cgsp2QosPrecedenceValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 7))).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2QosPrecedenceValue.setStatus('current') cgsp2QosIpDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 63))).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2QosIpDscp.setStatus('current') cgsp2QosAclId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 5), CItpTcAclId()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2QosAclId.setStatus('current') cgsp2QosRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2QosRowStatus.setStatus('current') cgsp2LocalPeerTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1), ) if mibBuilder.loadTexts: cgsp2LocalPeerTable.setStatus('current') cgsp2LocalPeerTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1), ).setIndexNames((0, "CISCO-ITP-GSP2-MIB", "cgsp2LocalPeerPort")) if mibBuilder.loadTexts: cgsp2LocalPeerTableEntry.setStatus('current') cgsp2LocalPeerPort = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 1), InetPortNumber()) if mibBuilder.loadTexts: cgsp2LocalPeerPort.setStatus('current') cgsp2LocalPeerSlotNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 32767)).clone(-1)).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2LocalPeerSlotNumber.setStatus('current') cgsp2LocalPeerRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2LocalPeerRowStatus.setStatus('current') cgsp2LocalPeerProcessorNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2LocalPeerProcessorNumber.setStatus('current') cgsp2LpIpAddrTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2), ) if mibBuilder.loadTexts: cgsp2LpIpAddrTable.setStatus('current') cgsp2LpIpAddrTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1), ).setIndexNames((0, "CISCO-ITP-GSP2-MIB", "cgsp2LocalPeerPort"), (0, "CISCO-ITP-GSP2-MIB", "cgsp2LpIpAddressNumber")) if mibBuilder.loadTexts: cgsp2LpIpAddrTableEntry.setStatus('current') cgsp2LpIpAddressNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))) if mibBuilder.loadTexts: cgsp2LpIpAddressNumber.setStatus('current') cgsp2LpIpAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 2), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2LpIpAddressType.setStatus('current') cgsp2LpIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 3), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2LpIpAddress.setStatus('current') cgsp2LpIpAddressRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cgsp2LpIpAddressRowStatus.setStatus('current') cgsp2Mtp3ErrorsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1), ) if mibBuilder.loadTexts: cgsp2Mtp3ErrorsTable.setStatus('current') cgsp2Mtp3ErrorsTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1), ).setIndexNames((0, "CISCO-ITP-GSP2-MIB", "cgsp2Mtp3ErrorsType")) if mibBuilder.loadTexts: cgsp2Mtp3ErrorsTableEntry.setStatus('current') cgsp2Mtp3ErrorsType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))) if mibBuilder.loadTexts: cgsp2Mtp3ErrorsType.setStatus('current') cgsp2Mtp3ErrorsDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2Mtp3ErrorsDescription.setStatus('current') cgsp2Mtp3ErrorsCount = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2Mtp3ErrorsCount.setStatus('current') cgsp2ContextTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1), ) if mibBuilder.loadTexts: cgsp2ContextTable.setStatus('current') cgsp2ContextEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1), ).setIndexNames((0, "CISCO-ITP-GSP2-MIB", "cgsp2ContextIdentifier")) if mibBuilder.loadTexts: cgsp2ContextEntry.setStatus('current') cgsp2ContextIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 1), CItpTcContextId()) if mibBuilder.loadTexts: cgsp2ContextIdentifier.setStatus('current') cgsp2ContextType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 2), CItpTcContextType()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2ContextType.setStatus('current') cgsp2ContextLinksetName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 3), CItpTcLinksetId()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2ContextLinksetName.setStatus('current') cgsp2ContextSlc = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 4), CItpTcLinkSLC()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2ContextSlc.setStatus('current') cgsp2ContextAsName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 5), CItpTcXuaName()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2ContextAsName.setStatus('current') cgsp2ContextAspName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 6), CItpTcXuaName()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2ContextAspName.setStatus('current') cgsp2ContextNetworkName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 7), CItpTcNetworkName()).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2ContextNetworkName.setStatus('current') cgsp2OperMtp3Offload = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("main", 1), ("offload", 2))).clone('main')).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2OperMtp3Offload.setStatus('current') cgsp2OperRedundancy = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 5, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("local", 2), ("distributed", 3))).clone('none')).setMaxAccess("readonly") if mibBuilder.loadTexts: cgsp2OperRedundancy.setStatus('current') ciscoGsp2MIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1)) ciscoGsp2MIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2)) ciscoGsp2MIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 1)).setObjects(("CISCO-ITP-GSP2-MIB", "ciscoGsp2EventsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2QosGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2LocalPeerGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2MIBCompliance = ciscoGsp2MIBCompliance.setStatus('deprecated') ciscoGsp2MIBComplianceRev1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 2)).setObjects(("CISCO-ITP-GSP2-MIB", "ciscoGsp2EventsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2QosGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2LocalPeerGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2Mtp3ErrorsGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2MIBComplianceRev1 = ciscoGsp2MIBComplianceRev1.setStatus('deprecated') ciscoGsp2MIBComplianceRev2 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 3)).setObjects(("CISCO-ITP-GSP2-MIB", "ciscoGsp2EventsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2QosGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2LocalPeerGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2Mtp3ErrorsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2OperationGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2MIBComplianceRev2 = ciscoGsp2MIBComplianceRev2.setStatus('deprecated') ciscoGsp2MIBComplianceRev3 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 4)).setObjects(("CISCO-ITP-GSP2-MIB", "ciscoGsp2EventsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2QosGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2Mtp3ErrorsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2OperationGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2LocalPeerGroupSup1")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2MIBComplianceRev3 = ciscoGsp2MIBComplianceRev3.setStatus('deprecated') ciscoGsp2MIBComplianceRev4 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 5)).setObjects(("CISCO-ITP-GSP2-MIB", "ciscoGsp2EventsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2QosGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2LocalPeerGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2Mtp3ErrorsGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2OperationGroup"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2LocalPeerGroupSup1"), ("CISCO-ITP-GSP2-MIB", "ciscoGsp2ContextGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2MIBComplianceRev4 = ciscoGsp2MIBComplianceRev4.setStatus('current') ciscoGsp2EventsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 1)).setObjects(("CISCO-ITP-GSP2-MIB", "cgsp2EventLoggedEvents"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventDroppedEvents"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventMaxEntries"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventMaxEntriesAllowed"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventMtp3Text"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventMtp3Timestamp"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventAsText"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventAsTimestamp"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventAspText"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventAspTimestamp"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventPcText"), ("CISCO-ITP-GSP2-MIB", "cgsp2EventPcTimestamp")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2EventsGroup = ciscoGsp2EventsGroup.setStatus('current') ciscoGsp2QosGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 2)).setObjects(("CISCO-ITP-GSP2-MIB", "cgsp2QosType"), ("CISCO-ITP-GSP2-MIB", "cgsp2QosPrecedenceValue"), ("CISCO-ITP-GSP2-MIB", "cgsp2QosIpDscp"), ("CISCO-ITP-GSP2-MIB", "cgsp2QosAclId"), ("CISCO-ITP-GSP2-MIB", "cgsp2QosRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2QosGroup = ciscoGsp2QosGroup.setStatus('current') ciscoGsp2LocalPeerGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 3)).setObjects(("CISCO-ITP-GSP2-MIB", "cgsp2LocalPeerSlotNumber"), ("CISCO-ITP-GSP2-MIB", "cgsp2LocalPeerRowStatus"), ("CISCO-ITP-GSP2-MIB", "cgsp2LpIpAddressType"), ("CISCO-ITP-GSP2-MIB", "cgsp2LpIpAddress"), ("CISCO-ITP-GSP2-MIB", "cgsp2LpIpAddressRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2LocalPeerGroup = ciscoGsp2LocalPeerGroup.setStatus('current') ciscoGsp2Mtp3ErrorsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 4)).setObjects(("CISCO-ITP-GSP2-MIB", "cgsp2Mtp3ErrorsDescription"), ("CISCO-ITP-GSP2-MIB", "cgsp2Mtp3ErrorsCount")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2Mtp3ErrorsGroup = ciscoGsp2Mtp3ErrorsGroup.setStatus('current') ciscoGsp2OperationGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 5)).setObjects(("CISCO-ITP-GSP2-MIB", "cgsp2OperMtp3Offload"), ("CISCO-ITP-GSP2-MIB", "cgsp2OperRedundancy")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2OperationGroup = ciscoGsp2OperationGroup.setStatus('current') ciscoGsp2LocalPeerGroupSup1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 6)).setObjects(("CISCO-ITP-GSP2-MIB", "cgsp2LocalPeerProcessorNumber")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2LocalPeerGroupSup1 = ciscoGsp2LocalPeerGroupSup1.setStatus('current') ciscoGsp2ContextGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 7)).setObjects(("CISCO-ITP-GSP2-MIB", "cgsp2ContextType"), ("CISCO-ITP-GSP2-MIB", "cgsp2ContextLinksetName"), ("CISCO-ITP-GSP2-MIB", "cgsp2ContextSlc"), ("CISCO-ITP-GSP2-MIB", "cgsp2ContextAsName"), ("CISCO-ITP-GSP2-MIB", "cgsp2ContextAspName"), ("CISCO-ITP-GSP2-MIB", "cgsp2ContextNetworkName")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoGsp2ContextGroup = ciscoGsp2ContextGroup.setStatus('current') mibBuilder.exportSymbols("CISCO-ITP-GSP2-MIB", cgsp2QosIpDscp=cgsp2QosIpDscp, cgsp2Mtp3Errors=cgsp2Mtp3Errors, cgsp2EventType=cgsp2EventType, cgsp2ContextEntry=cgsp2ContextEntry, ciscoGsp2MIBComplianceRev1=ciscoGsp2MIBComplianceRev1, cgsp2EventAsTableEntry=cgsp2EventAsTableEntry, cgsp2EventAspTableEntry=cgsp2EventAspTableEntry, cgsp2QosType=cgsp2QosType, ciscoGsp2MIBCompliance=ciscoGsp2MIBCompliance, cgsp2EventAsTimestamp=cgsp2EventAsTimestamp, cgsp2LocalPeerTable=cgsp2LocalPeerTable, cgsp2Mtp3ErrorsCount=cgsp2Mtp3ErrorsCount, cgsp2QosAclId=cgsp2QosAclId, cgsp2ContextNetworkName=cgsp2ContextNetworkName, PYSNMP_MODULE_ID=ciscoGsp2MIB, cgsp2QosTable=cgsp2QosTable, cgsp2QosPrecedenceValue=cgsp2QosPrecedenceValue, cgsp2QosClass=cgsp2QosClass, cgsp2EventLoggedEvents=cgsp2EventLoggedEvents, cgsp2EventPcTableEntry=cgsp2EventPcTableEntry, cgsp2EventMtp3Table=cgsp2EventMtp3Table, cgsp2ContextSlc=cgsp2ContextSlc, cgsp2Operation=cgsp2Operation, cgsp2EventMaxEntriesAllowed=cgsp2EventMaxEntriesAllowed, cgsp2EventPcText=cgsp2EventPcText, cgsp2QosRowStatus=cgsp2QosRowStatus, cgsp2LocalPeerRowStatus=cgsp2LocalPeerRowStatus, ciscoGsp2MIBNotifs=ciscoGsp2MIBNotifs, cgsp2Mtp3ErrorsDescription=cgsp2Mtp3ErrorsDescription, cgsp2LpIpAddress=cgsp2LpIpAddress, cgsp2EventAspName=cgsp2EventAspName, cgsp2Mtp3ErrorsTable=cgsp2Mtp3ErrorsTable, cgsp2OperMtp3Offload=cgsp2OperMtp3Offload, cgsp2Mtp3ErrorsType=cgsp2Mtp3ErrorsType, ciscoGsp2QosGroup=ciscoGsp2QosGroup, cgsp2LpIpAddrTable=cgsp2LpIpAddrTable, cgsp2EventAsTable=cgsp2EventAsTable, cgsp2EventMtp3Text=cgsp2EventMtp3Text, ciscoGsp2MIBComplianceRev2=ciscoGsp2MIBComplianceRev2, cgsp2LocalPeerPort=cgsp2LocalPeerPort, cgsp2LocalPeerSlotNumber=cgsp2LocalPeerSlotNumber, ciscoGsp2MIBObjects=ciscoGsp2MIBObjects, cgsp2Context=cgsp2Context, cgsp2EventMaxEntries=cgsp2EventMaxEntries, ciscoGsp2LocalPeerGroup=ciscoGsp2LocalPeerGroup, cgsp2Qos=cgsp2Qos, ciscoGsp2EventsGroup=ciscoGsp2EventsGroup, ciscoGsp2MIBConform=ciscoGsp2MIBConform, cgsp2QosTableEntry=cgsp2QosTableEntry, cgsp2LpIpAddressNumber=cgsp2LpIpAddressNumber, cgsp2ContextLinksetName=cgsp2ContextLinksetName, cgsp2LpIpAddressType=cgsp2LpIpAddressType, cgsp2ContextIdentifier=cgsp2ContextIdentifier, cgsp2EventAspTimestamp=cgsp2EventAspTimestamp, cgsp2OperRedundancy=cgsp2OperRedundancy, cgsp2EventAsName=cgsp2EventAsName, ciscoGsp2ContextGroup=ciscoGsp2ContextGroup, ciscoGsp2MIBCompliances=ciscoGsp2MIBCompliances, cgsp2EventAspText=cgsp2EventAspText, ciscoGsp2LocalPeerGroupSup1=ciscoGsp2LocalPeerGroupSup1, cgsp2EventTableEntry=cgsp2EventTableEntry, cgsp2Mtp3ErrorsTableEntry=cgsp2Mtp3ErrorsTableEntry, CItpTcContextType=CItpTcContextType, cgsp2EventAspIndex=cgsp2EventAspIndex, cgsp2LpIpAddressRowStatus=cgsp2LpIpAddressRowStatus, cgsp2ContextType=cgsp2ContextType, cgsp2EventPcTimestamp=cgsp2EventPcTimestamp, cgsp2EventPc=cgsp2EventPc, Cgsp2EventIndex=Cgsp2EventIndex, cgsp2EventMtp3Timestamp=cgsp2EventMtp3Timestamp, cgsp2EventPcTable=cgsp2EventPcTable, cgsp2EventAsText=cgsp2EventAsText, ciscoGsp2MIBGroups=ciscoGsp2MIBGroups, cgsp2EventAspTable=cgsp2EventAspTable, cgsp2EventDroppedEvents=cgsp2EventDroppedEvents, ciscoGsp2MIBComplianceRev3=ciscoGsp2MIBComplianceRev3, cgsp2EventTable=cgsp2EventTable, cgsp2ContextAspName=cgsp2ContextAspName, CItpTcContextId=CItpTcContextId, cgsp2EventAsIndex=cgsp2EventAsIndex, cgsp2EventMtp3Index=cgsp2EventMtp3Index, ciscoGsp2OperationGroup=ciscoGsp2OperationGroup, cgsp2LpIpAddrTableEntry=cgsp2LpIpAddrTableEntry, cgsp2LocalPeerProcessorNumber=cgsp2LocalPeerProcessorNumber, ciscoGsp2MIB=ciscoGsp2MIB, cgsp2ContextAsName=cgsp2ContextAsName, ciscoGsp2Mtp3ErrorsGroup=ciscoGsp2Mtp3ErrorsGroup, cgsp2EventPcIndex=cgsp2EventPcIndex, cgsp2EventMtp3TableEntry=cgsp2EventMtp3TableEntry, cgsp2ContextTable=cgsp2ContextTable, Cgsp2TcQosClass=Cgsp2TcQosClass, cgsp2LocalPeerTableEntry=cgsp2LocalPeerTableEntry, cgsp2Events=cgsp2Events, ciscoGsp2MIBComplianceRev4=ciscoGsp2MIBComplianceRev4, cgsp2LocalPeer=cgsp2LocalPeer)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_range_constraint, value_size_constraint, single_value_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsUnion') (cgsp_inst_network,) = mibBuilder.importSymbols('CISCO-ITP-GSP-MIB', 'cgspInstNetwork') (c_itp_tc_xua_name, c_itp_tc_point_code, c_itp_tc_linkset_id, c_itp_tc_network_name, c_itp_tc_acl_id, c_itp_tc_link_slc) = mibBuilder.importSymbols('CISCO-ITP-TC-MIB', 'CItpTcXuaName', 'CItpTcPointCode', 'CItpTcLinksetId', 'CItpTcNetworkName', 'CItpTcAclId', 'CItpTcLinkSLC') (cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt') (inet_port_number, inet_address, inet_address_type) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetPortNumber', 'InetAddress', 'InetAddressType') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (module_compliance, notification_group, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup', 'ObjectGroup') (object_identity, module_identity, time_ticks, gauge32, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column, mib_identifier, counter32, counter64, ip_address, integer32, iso, bits, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'ObjectIdentity', 'ModuleIdentity', 'TimeTicks', 'Gauge32', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'MibIdentifier', 'Counter32', 'Counter64', 'IpAddress', 'Integer32', 'iso', 'Bits', 'Unsigned32') (textual_convention, row_status, display_string, time_stamp) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'RowStatus', 'DisplayString', 'TimeStamp') cisco_gsp2_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 332)) ciscoGsp2MIB.setRevisions(('2008-07-09 00:00', '2007-12-18 00:00', '2004-05-26 00:00', '2003-08-07 00:00', '2003-03-03 00:00')) if mibBuilder.loadTexts: ciscoGsp2MIB.setLastUpdated('200807090000Z') if mibBuilder.loadTexts: ciscoGsp2MIB.setOrganization('Cisco Systems, Inc.') cisco_gsp2_mib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 0)) cisco_gsp2_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1)) cisco_gsp2_mib_conform = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 2)) cgsp2_events = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1)) cgsp2_qos = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2)) cgsp2_local_peer = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3)) cgsp2_mtp3_errors = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4)) cgsp2_operation = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 5)) cgsp2_context = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6)) class Cgsp2Tcqosclass(TextualConvention, Unsigned32): status = 'current' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(0, 7) class Cgsp2Eventindex(TextualConvention, Unsigned32): status = 'current' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 2147483647) class Citptccontextid(TextualConvention, Unsigned32): status = 'current' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 4294967295) class Citptccontexttype(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 6)) named_values = named_values(('unknown', 0), ('cs7link', 1), ('asp', 6)) cgsp2_event_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1)) if mibBuilder.loadTexts: cgsp2EventTable.setStatus('current') cgsp2_event_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1)).setIndexNames((0, 'CISCO-ITP-GSP-MIB', 'cgspInstNetwork'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventType')) if mibBuilder.loadTexts: cgsp2EventTableEntry.setStatus('current') cgsp2_event_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('as', 1), ('asp', 2), ('mtp3', 3), ('pc', 4)))) if mibBuilder.loadTexts: cgsp2EventType.setStatus('current') cgsp2_event_logged_events = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventLoggedEvents.setStatus('current') cgsp2_event_dropped_events = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventDroppedEvents.setStatus('current') cgsp2_event_max_entries = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cgsp2EventMaxEntries.setStatus('current') cgsp2_event_max_entries_allowed = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 1, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventMaxEntriesAllowed.setStatus('current') cgsp2_event_as_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2)) if mibBuilder.loadTexts: cgsp2EventAsTable.setStatus('current') cgsp2_event_as_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1)).setIndexNames((0, 'CISCO-ITP-GSP-MIB', 'cgspInstNetwork'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventAsName'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventAsIndex')) if mibBuilder.loadTexts: cgsp2EventAsTableEntry.setStatus('current') cgsp2_event_as_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 1), c_itp_tc_xua_name()) if mibBuilder.loadTexts: cgsp2EventAsName.setStatus('current') cgsp2_event_as_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 2), cgsp2_event_index()) if mibBuilder.loadTexts: cgsp2EventAsIndex.setStatus('current') cgsp2_event_as_text = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 3), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventAsText.setStatus('current') cgsp2_event_as_timestamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 2, 1, 4), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventAsTimestamp.setStatus('current') cgsp2_event_asp_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3)) if mibBuilder.loadTexts: cgsp2EventAspTable.setStatus('current') cgsp2_event_asp_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1)).setIndexNames((0, 'CISCO-ITP-GSP-MIB', 'cgspInstNetwork'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventAspName'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventAspIndex')) if mibBuilder.loadTexts: cgsp2EventAspTableEntry.setStatus('current') cgsp2_event_asp_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 1), c_itp_tc_xua_name()) if mibBuilder.loadTexts: cgsp2EventAspName.setStatus('current') cgsp2_event_asp_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 2), cgsp2_event_index()) if mibBuilder.loadTexts: cgsp2EventAspIndex.setStatus('current') cgsp2_event_asp_text = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 3), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventAspText.setStatus('current') cgsp2_event_asp_timestamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 3, 1, 4), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventAspTimestamp.setStatus('current') cgsp2_event_mtp3_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4)) if mibBuilder.loadTexts: cgsp2EventMtp3Table.setStatus('current') cgsp2_event_mtp3_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1)).setIndexNames((0, 'CISCO-ITP-GSP-MIB', 'cgspInstNetwork'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventMtp3Index')) if mibBuilder.loadTexts: cgsp2EventMtp3TableEntry.setStatus('current') cgsp2_event_mtp3_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1, 1), cgsp2_event_index()) if mibBuilder.loadTexts: cgsp2EventMtp3Index.setStatus('current') cgsp2_event_mtp3_text = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1, 2), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventMtp3Text.setStatus('current') cgsp2_event_mtp3_timestamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 4, 1, 3), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventMtp3Timestamp.setStatus('current') cgsp2_event_pc_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5)) if mibBuilder.loadTexts: cgsp2EventPcTable.setStatus('current') cgsp2_event_pc_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1)).setIndexNames((0, 'CISCO-ITP-GSP-MIB', 'cgspInstNetwork'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventPc'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2EventPcIndex')) if mibBuilder.loadTexts: cgsp2EventPcTableEntry.setStatus('current') cgsp2_event_pc = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 1), c_itp_tc_point_code()) if mibBuilder.loadTexts: cgsp2EventPc.setStatus('current') cgsp2_event_pc_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 2), cgsp2_event_index()) if mibBuilder.loadTexts: cgsp2EventPcIndex.setStatus('current') cgsp2_event_pc_text = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 3), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventPcText.setStatus('current') cgsp2_event_pc_timestamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 1, 5, 1, 4), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2EventPcTimestamp.setStatus('current') cgsp2_qos_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1)) if mibBuilder.loadTexts: cgsp2QosTable.setStatus('current') cgsp2_qos_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1)).setIndexNames((0, 'CISCO-ITP-GSP-MIB', 'cgspInstNetwork'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2QosClass')) if mibBuilder.loadTexts: cgsp2QosTableEntry.setStatus('current') cgsp2_qos_class = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 1), cgsp2_tc_qos_class()) if mibBuilder.loadTexts: cgsp2QosClass.setStatus('current') cgsp2_qos_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ipPrecedence', 1), ('ipDscp', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2QosType.setStatus('current') cgsp2_qos_precedence_value = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-1, 7))).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2QosPrecedenceValue.setStatus('current') cgsp2_qos_ip_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(-1, 63))).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2QosIpDscp.setStatus('current') cgsp2_qos_acl_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 5), c_itp_tc_acl_id()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2QosAclId.setStatus('current') cgsp2_qos_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 2, 1, 1, 6), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2QosRowStatus.setStatus('current') cgsp2_local_peer_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1)) if mibBuilder.loadTexts: cgsp2LocalPeerTable.setStatus('current') cgsp2_local_peer_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1)).setIndexNames((0, 'CISCO-ITP-GSP2-MIB', 'cgsp2LocalPeerPort')) if mibBuilder.loadTexts: cgsp2LocalPeerTableEntry.setStatus('current') cgsp2_local_peer_port = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 1), inet_port_number()) if mibBuilder.loadTexts: cgsp2LocalPeerPort.setStatus('current') cgsp2_local_peer_slot_number = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(-1, 32767)).clone(-1)).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2LocalPeerSlotNumber.setStatus('current') cgsp2_local_peer_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2LocalPeerRowStatus.setStatus('current') cgsp2_local_peer_processor_number = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2LocalPeerProcessorNumber.setStatus('current') cgsp2_lp_ip_addr_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2)) if mibBuilder.loadTexts: cgsp2LpIpAddrTable.setStatus('current') cgsp2_lp_ip_addr_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1)).setIndexNames((0, 'CISCO-ITP-GSP2-MIB', 'cgsp2LocalPeerPort'), (0, 'CISCO-ITP-GSP2-MIB', 'cgsp2LpIpAddressNumber')) if mibBuilder.loadTexts: cgsp2LpIpAddrTableEntry.setStatus('current') cgsp2_lp_ip_address_number = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))) if mibBuilder.loadTexts: cgsp2LpIpAddressNumber.setStatus('current') cgsp2_lp_ip_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 2), inet_address_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2LpIpAddressType.setStatus('current') cgsp2_lp_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 3), inet_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2LpIpAddress.setStatus('current') cgsp2_lp_ip_address_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 3, 2, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cgsp2LpIpAddressRowStatus.setStatus('current') cgsp2_mtp3_errors_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1)) if mibBuilder.loadTexts: cgsp2Mtp3ErrorsTable.setStatus('current') cgsp2_mtp3_errors_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1)).setIndexNames((0, 'CISCO-ITP-GSP2-MIB', 'cgsp2Mtp3ErrorsType')) if mibBuilder.loadTexts: cgsp2Mtp3ErrorsTableEntry.setStatus('current') cgsp2_mtp3_errors_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))) if mibBuilder.loadTexts: cgsp2Mtp3ErrorsType.setStatus('current') cgsp2_mtp3_errors_description = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1, 2), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2Mtp3ErrorsDescription.setStatus('current') cgsp2_mtp3_errors_count = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 4, 1, 1, 3), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2Mtp3ErrorsCount.setStatus('current') cgsp2_context_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1)) if mibBuilder.loadTexts: cgsp2ContextTable.setStatus('current') cgsp2_context_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1)).setIndexNames((0, 'CISCO-ITP-GSP2-MIB', 'cgsp2ContextIdentifier')) if mibBuilder.loadTexts: cgsp2ContextEntry.setStatus('current') cgsp2_context_identifier = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 1), c_itp_tc_context_id()) if mibBuilder.loadTexts: cgsp2ContextIdentifier.setStatus('current') cgsp2_context_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 2), c_itp_tc_context_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2ContextType.setStatus('current') cgsp2_context_linkset_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 3), c_itp_tc_linkset_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2ContextLinksetName.setStatus('current') cgsp2_context_slc = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 4), c_itp_tc_link_slc()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2ContextSlc.setStatus('current') cgsp2_context_as_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 5), c_itp_tc_xua_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2ContextAsName.setStatus('current') cgsp2_context_asp_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 6), c_itp_tc_xua_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2ContextAspName.setStatus('current') cgsp2_context_network_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 6, 1, 1, 7), c_itp_tc_network_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2ContextNetworkName.setStatus('current') cgsp2_oper_mtp3_offload = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 5, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('main', 1), ('offload', 2))).clone('main')).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2OperMtp3Offload.setStatus('current') cgsp2_oper_redundancy = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 332, 1, 5, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('none', 1), ('local', 2), ('distributed', 3))).clone('none')).setMaxAccess('readonly') if mibBuilder.loadTexts: cgsp2OperRedundancy.setStatus('current') cisco_gsp2_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1)) cisco_gsp2_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2)) cisco_gsp2_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 1)).setObjects(('CISCO-ITP-GSP2-MIB', 'ciscoGsp2EventsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2QosGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2LocalPeerGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_mib_compliance = ciscoGsp2MIBCompliance.setStatus('deprecated') cisco_gsp2_mib_compliance_rev1 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 2)).setObjects(('CISCO-ITP-GSP2-MIB', 'ciscoGsp2EventsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2QosGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2LocalPeerGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2Mtp3ErrorsGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_mib_compliance_rev1 = ciscoGsp2MIBComplianceRev1.setStatus('deprecated') cisco_gsp2_mib_compliance_rev2 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 3)).setObjects(('CISCO-ITP-GSP2-MIB', 'ciscoGsp2EventsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2QosGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2LocalPeerGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2Mtp3ErrorsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2OperationGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_mib_compliance_rev2 = ciscoGsp2MIBComplianceRev2.setStatus('deprecated') cisco_gsp2_mib_compliance_rev3 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 4)).setObjects(('CISCO-ITP-GSP2-MIB', 'ciscoGsp2EventsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2QosGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2Mtp3ErrorsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2OperationGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2LocalPeerGroupSup1')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_mib_compliance_rev3 = ciscoGsp2MIBComplianceRev3.setStatus('deprecated') cisco_gsp2_mib_compliance_rev4 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 1, 5)).setObjects(('CISCO-ITP-GSP2-MIB', 'ciscoGsp2EventsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2QosGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2LocalPeerGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2Mtp3ErrorsGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2OperationGroup'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2LocalPeerGroupSup1'), ('CISCO-ITP-GSP2-MIB', 'ciscoGsp2ContextGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_mib_compliance_rev4 = ciscoGsp2MIBComplianceRev4.setStatus('current') cisco_gsp2_events_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 1)).setObjects(('CISCO-ITP-GSP2-MIB', 'cgsp2EventLoggedEvents'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventDroppedEvents'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventMaxEntries'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventMaxEntriesAllowed'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventMtp3Text'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventMtp3Timestamp'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventAsText'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventAsTimestamp'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventAspText'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventAspTimestamp'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventPcText'), ('CISCO-ITP-GSP2-MIB', 'cgsp2EventPcTimestamp')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_events_group = ciscoGsp2EventsGroup.setStatus('current') cisco_gsp2_qos_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 2)).setObjects(('CISCO-ITP-GSP2-MIB', 'cgsp2QosType'), ('CISCO-ITP-GSP2-MIB', 'cgsp2QosPrecedenceValue'), ('CISCO-ITP-GSP2-MIB', 'cgsp2QosIpDscp'), ('CISCO-ITP-GSP2-MIB', 'cgsp2QosAclId'), ('CISCO-ITP-GSP2-MIB', 'cgsp2QosRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_qos_group = ciscoGsp2QosGroup.setStatus('current') cisco_gsp2_local_peer_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 3)).setObjects(('CISCO-ITP-GSP2-MIB', 'cgsp2LocalPeerSlotNumber'), ('CISCO-ITP-GSP2-MIB', 'cgsp2LocalPeerRowStatus'), ('CISCO-ITP-GSP2-MIB', 'cgsp2LpIpAddressType'), ('CISCO-ITP-GSP2-MIB', 'cgsp2LpIpAddress'), ('CISCO-ITP-GSP2-MIB', 'cgsp2LpIpAddressRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_local_peer_group = ciscoGsp2LocalPeerGroup.setStatus('current') cisco_gsp2_mtp3_errors_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 4)).setObjects(('CISCO-ITP-GSP2-MIB', 'cgsp2Mtp3ErrorsDescription'), ('CISCO-ITP-GSP2-MIB', 'cgsp2Mtp3ErrorsCount')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_mtp3_errors_group = ciscoGsp2Mtp3ErrorsGroup.setStatus('current') cisco_gsp2_operation_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 5)).setObjects(('CISCO-ITP-GSP2-MIB', 'cgsp2OperMtp3Offload'), ('CISCO-ITP-GSP2-MIB', 'cgsp2OperRedundancy')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_operation_group = ciscoGsp2OperationGroup.setStatus('current') cisco_gsp2_local_peer_group_sup1 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 6)).setObjects(('CISCO-ITP-GSP2-MIB', 'cgsp2LocalPeerProcessorNumber')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_local_peer_group_sup1 = ciscoGsp2LocalPeerGroupSup1.setStatus('current') cisco_gsp2_context_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 332, 2, 2, 7)).setObjects(('CISCO-ITP-GSP2-MIB', 'cgsp2ContextType'), ('CISCO-ITP-GSP2-MIB', 'cgsp2ContextLinksetName'), ('CISCO-ITP-GSP2-MIB', 'cgsp2ContextSlc'), ('CISCO-ITP-GSP2-MIB', 'cgsp2ContextAsName'), ('CISCO-ITP-GSP2-MIB', 'cgsp2ContextAspName'), ('CISCO-ITP-GSP2-MIB', 'cgsp2ContextNetworkName')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_gsp2_context_group = ciscoGsp2ContextGroup.setStatus('current') mibBuilder.exportSymbols('CISCO-ITP-GSP2-MIB', cgsp2QosIpDscp=cgsp2QosIpDscp, cgsp2Mtp3Errors=cgsp2Mtp3Errors, cgsp2EventType=cgsp2EventType, cgsp2ContextEntry=cgsp2ContextEntry, ciscoGsp2MIBComplianceRev1=ciscoGsp2MIBComplianceRev1, cgsp2EventAsTableEntry=cgsp2EventAsTableEntry, cgsp2EventAspTableEntry=cgsp2EventAspTableEntry, cgsp2QosType=cgsp2QosType, ciscoGsp2MIBCompliance=ciscoGsp2MIBCompliance, cgsp2EventAsTimestamp=cgsp2EventAsTimestamp, cgsp2LocalPeerTable=cgsp2LocalPeerTable, cgsp2Mtp3ErrorsCount=cgsp2Mtp3ErrorsCount, cgsp2QosAclId=cgsp2QosAclId, cgsp2ContextNetworkName=cgsp2ContextNetworkName, PYSNMP_MODULE_ID=ciscoGsp2MIB, cgsp2QosTable=cgsp2QosTable, cgsp2QosPrecedenceValue=cgsp2QosPrecedenceValue, cgsp2QosClass=cgsp2QosClass, cgsp2EventLoggedEvents=cgsp2EventLoggedEvents, cgsp2EventPcTableEntry=cgsp2EventPcTableEntry, cgsp2EventMtp3Table=cgsp2EventMtp3Table, cgsp2ContextSlc=cgsp2ContextSlc, cgsp2Operation=cgsp2Operation, cgsp2EventMaxEntriesAllowed=cgsp2EventMaxEntriesAllowed, cgsp2EventPcText=cgsp2EventPcText, cgsp2QosRowStatus=cgsp2QosRowStatus, cgsp2LocalPeerRowStatus=cgsp2LocalPeerRowStatus, ciscoGsp2MIBNotifs=ciscoGsp2MIBNotifs, cgsp2Mtp3ErrorsDescription=cgsp2Mtp3ErrorsDescription, cgsp2LpIpAddress=cgsp2LpIpAddress, cgsp2EventAspName=cgsp2EventAspName, cgsp2Mtp3ErrorsTable=cgsp2Mtp3ErrorsTable, cgsp2OperMtp3Offload=cgsp2OperMtp3Offload, cgsp2Mtp3ErrorsType=cgsp2Mtp3ErrorsType, ciscoGsp2QosGroup=ciscoGsp2QosGroup, cgsp2LpIpAddrTable=cgsp2LpIpAddrTable, cgsp2EventAsTable=cgsp2EventAsTable, cgsp2EventMtp3Text=cgsp2EventMtp3Text, ciscoGsp2MIBComplianceRev2=ciscoGsp2MIBComplianceRev2, cgsp2LocalPeerPort=cgsp2LocalPeerPort, cgsp2LocalPeerSlotNumber=cgsp2LocalPeerSlotNumber, ciscoGsp2MIBObjects=ciscoGsp2MIBObjects, cgsp2Context=cgsp2Context, cgsp2EventMaxEntries=cgsp2EventMaxEntries, ciscoGsp2LocalPeerGroup=ciscoGsp2LocalPeerGroup, cgsp2Qos=cgsp2Qos, ciscoGsp2EventsGroup=ciscoGsp2EventsGroup, ciscoGsp2MIBConform=ciscoGsp2MIBConform, cgsp2QosTableEntry=cgsp2QosTableEntry, cgsp2LpIpAddressNumber=cgsp2LpIpAddressNumber, cgsp2ContextLinksetName=cgsp2ContextLinksetName, cgsp2LpIpAddressType=cgsp2LpIpAddressType, cgsp2ContextIdentifier=cgsp2ContextIdentifier, cgsp2EventAspTimestamp=cgsp2EventAspTimestamp, cgsp2OperRedundancy=cgsp2OperRedundancy, cgsp2EventAsName=cgsp2EventAsName, ciscoGsp2ContextGroup=ciscoGsp2ContextGroup, ciscoGsp2MIBCompliances=ciscoGsp2MIBCompliances, cgsp2EventAspText=cgsp2EventAspText, ciscoGsp2LocalPeerGroupSup1=ciscoGsp2LocalPeerGroupSup1, cgsp2EventTableEntry=cgsp2EventTableEntry, cgsp2Mtp3ErrorsTableEntry=cgsp2Mtp3ErrorsTableEntry, CItpTcContextType=CItpTcContextType, cgsp2EventAspIndex=cgsp2EventAspIndex, cgsp2LpIpAddressRowStatus=cgsp2LpIpAddressRowStatus, cgsp2ContextType=cgsp2ContextType, cgsp2EventPcTimestamp=cgsp2EventPcTimestamp, cgsp2EventPc=cgsp2EventPc, Cgsp2EventIndex=Cgsp2EventIndex, cgsp2EventMtp3Timestamp=cgsp2EventMtp3Timestamp, cgsp2EventPcTable=cgsp2EventPcTable, cgsp2EventAsText=cgsp2EventAsText, ciscoGsp2MIBGroups=ciscoGsp2MIBGroups, cgsp2EventAspTable=cgsp2EventAspTable, cgsp2EventDroppedEvents=cgsp2EventDroppedEvents, ciscoGsp2MIBComplianceRev3=ciscoGsp2MIBComplianceRev3, cgsp2EventTable=cgsp2EventTable, cgsp2ContextAspName=cgsp2ContextAspName, CItpTcContextId=CItpTcContextId, cgsp2EventAsIndex=cgsp2EventAsIndex, cgsp2EventMtp3Index=cgsp2EventMtp3Index, ciscoGsp2OperationGroup=ciscoGsp2OperationGroup, cgsp2LpIpAddrTableEntry=cgsp2LpIpAddrTableEntry, cgsp2LocalPeerProcessorNumber=cgsp2LocalPeerProcessorNumber, ciscoGsp2MIB=ciscoGsp2MIB, cgsp2ContextAsName=cgsp2ContextAsName, ciscoGsp2Mtp3ErrorsGroup=ciscoGsp2Mtp3ErrorsGroup, cgsp2EventPcIndex=cgsp2EventPcIndex, cgsp2EventMtp3TableEntry=cgsp2EventMtp3TableEntry, cgsp2ContextTable=cgsp2ContextTable, Cgsp2TcQosClass=Cgsp2TcQosClass, cgsp2LocalPeerTableEntry=cgsp2LocalPeerTableEntry, cgsp2Events=cgsp2Events, ciscoGsp2MIBComplianceRev4=ciscoGsp2MIBComplianceRev4, cgsp2LocalPeer=cgsp2LocalPeer)
""" datos de entrada presupuesto-->p-->float datos de salida presupuesto ginecologia-->pg-->float presupuesto traumatologia-->pt-->float presupuesto pediatria-->pp-->foat """ #entradas p=float(input("digite el presupuesto total:")) #caja negra pg=p*0.4 pt=p*0.3 pp=p*0.3 #salidas print("el presupuesto de ginecologia:",pg) print("el presupuesto de traumatologia:",pt) print("el presupuesto de pediatria:",pp)
""" datos de entrada presupuesto-->p-->float datos de salida presupuesto ginecologia-->pg-->float presupuesto traumatologia-->pt-->float presupuesto pediatria-->pp-->foat """ p = float(input('digite el presupuesto total:')) pg = p * 0.4 pt = p * 0.3 pp = p * 0.3 print('el presupuesto de ginecologia:', pg) print('el presupuesto de traumatologia:', pt) print('el presupuesto de pediatria:', pp)
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Oct 26 15:46:21 2020 @author: bezbakri """ """ |-------------------------------------------| | Problem 6: Write a program to find the | | factorial of a number | |-------------------------------------------| | Approach: | | First, we take in a number using the | | input() function. Then, we check if the | | number is a positive integer or not. Is it| | is, then we use a for loop to keep | | multiplying all integers upto that number | |-------------------------------------------| """ num = int(input("Enter a number: ")) factorial_num = 1 if num == 0: print(f"Factorial is {factorial_num}") elif num < 0: print("No factorials for negative numbers") else: for i in range (1, num+1): factorial_num *=i print(f"Factorial is {factorial_num}")
""" Created on Mon Oct 26 15:46:21 2020 @author: bezbakri """ '\n|-------------------------------------------|\n| Problem 6: Write a program to find the |\n| factorial of a number |\n|-------------------------------------------|\n| Approach: |\n| First, we take in a number using the |\n| input() function. Then, we check if the |\n| number is a positive integer or not. Is it|\n| is, then we use a for loop to keep |\n| multiplying all integers upto that number |\n|-------------------------------------------|\n' num = int(input('Enter a number: ')) factorial_num = 1 if num == 0: print(f'Factorial is {factorial_num}') elif num < 0: print('No factorials for negative numbers') else: for i in range(1, num + 1): factorial_num *= i print(f'Factorial is {factorial_num}')
entries = [] def parse(line): return list(map(lambda x: tuple(x.strip().split(' ')), line.strip().split('|'))) with open("input") as file: entries = list(map(parse, file)) count = 0 total = 0 for segments, outputs in entries: dict = {} for segment in segments: length = len(segment) if length == 2: dict[1] = segment elif length == 4: dict[4] = segment elif length == 3: dict[7] = segment elif length == 7: dict[8] = segment num = '' for output in outputs: length = len(output) if length == 2: num += '1' count += 1 elif length == 4: num += '4' count += 1 elif length == 3: num += '7' count += 1 elif length == 7: num += '8' count += 1 elif length == 5: if len(set(output).intersection(dict[1])) == 2: num += '3' elif len(set(output).intersection(dict[4])) == 2: num += '2' else: num += '5' elif length == 6: if len(set(output).intersection(dict[1])) == 1: num += '6' elif len(set(output).intersection(dict[4])) == 4: num += '9' else: num += '0' total += int(num) print('part 1') print(count) print("part 2") print(total)
entries = [] def parse(line): return list(map(lambda x: tuple(x.strip().split(' ')), line.strip().split('|'))) with open('input') as file: entries = list(map(parse, file)) count = 0 total = 0 for (segments, outputs) in entries: dict = {} for segment in segments: length = len(segment) if length == 2: dict[1] = segment elif length == 4: dict[4] = segment elif length == 3: dict[7] = segment elif length == 7: dict[8] = segment num = '' for output in outputs: length = len(output) if length == 2: num += '1' count += 1 elif length == 4: num += '4' count += 1 elif length == 3: num += '7' count += 1 elif length == 7: num += '8' count += 1 elif length == 5: if len(set(output).intersection(dict[1])) == 2: num += '3' elif len(set(output).intersection(dict[4])) == 2: num += '2' else: num += '5' elif length == 6: if len(set(output).intersection(dict[1])) == 1: num += '6' elif len(set(output).intersection(dict[4])) == 4: num += '9' else: num += '0' total += int(num) print('part 1') print(count) print('part 2') print(total)
#! /usr/bin/env python2.7 """ * Copyright (c) 2016 by Cisco Systems, Inc. * All rights reserved. Pathman init file Niklas Montin, 20141209, niklas@cisco.com odl_ip - ip address of odl controller odl_port - port for odl rest on controller log_file - file to write log to - level INFO default log_size - max size of logfile before it rotates log_count - number of backup version of the log log_level - controls the the logging depth, chnage to 'DEBUG' for more detail odl_user - username for odl controller restconf access odl_password - password for odl controller restconf access """ #odl_ip = '127.0.0.1' odl_ip = '<%= props.odl_ip %>' odl_port = '<%= props.odl_port %>' log_file = '/tmp/pathman.log' log_size = 2000000 log_count = 3 log_level = 'INFO' odl_user = '<%= props.odl_user %>' odl_password = '<%= props.odl_password %>'
""" * Copyright (c) 2016 by Cisco Systems, Inc. * All rights reserved. Pathman init file Niklas Montin, 20141209, niklas@cisco.com odl_ip - ip address of odl controller odl_port - port for odl rest on controller log_file - file to write log to - level INFO default log_size - max size of logfile before it rotates log_count - number of backup version of the log log_level - controls the the logging depth, chnage to 'DEBUG' for more detail odl_user - username for odl controller restconf access odl_password - password for odl controller restconf access """ odl_ip = '<%= props.odl_ip %>' odl_port = '<%= props.odl_port %>' log_file = '/tmp/pathman.log' log_size = 2000000 log_count = 3 log_level = 'INFO' odl_user = '<%= props.odl_user %>' odl_password = '<%= props.odl_password %>'
a = [1, 2, 3, 4, 5] print(a) a.clear() print(a)
a = [1, 2, 3, 4, 5] print(a) a.clear() print(a)
#!/usr/bin/python n = int(input()) for i in range(0, n): row = input().strip() for j in range(0, n): if row[j] == 'm': robot_x = j robot_y = i if row[j] == 'p': princess_x = j princess_y = i for i in range(0, abs(robot_x - princess_x)): if princess_x > robot_x: print("RIGHT") else: print("LEFT") for i in range(0, abs(robot_y - princess_y)): if princess_y > robot_y: print("DOWN") else: print("UP")
n = int(input()) for i in range(0, n): row = input().strip() for j in range(0, n): if row[j] == 'm': robot_x = j robot_y = i if row[j] == 'p': princess_x = j princess_y = i for i in range(0, abs(robot_x - princess_x)): if princess_x > robot_x: print('RIGHT') else: print('LEFT') for i in range(0, abs(robot_y - princess_y)): if princess_y > robot_y: print('DOWN') else: print('UP')
class Solution: def reverseVowels(self, s: str) -> str: vows = [ch for ch in s[::-1] if ch.lower() in "aeiou"] chars = list(s) x = 0 for i, ch in enumerate(chars): if ch.lower() in "aeiou": chars[i] = vows[x] x += 1 return "".join(chars) if __name__ == '__main__': s = input("Input: ") print(f"Output: {Solution().reverseVowels(s)}")
class Solution: def reverse_vowels(self, s: str) -> str: vows = [ch for ch in s[::-1] if ch.lower() in 'aeiou'] chars = list(s) x = 0 for (i, ch) in enumerate(chars): if ch.lower() in 'aeiou': chars[i] = vows[x] x += 1 return ''.join(chars) if __name__ == '__main__': s = input('Input: ') print(f'Output: {solution().reverseVowels(s)}')
def defaultParamSet(): class P(): def __init__(self): # MAP-Elites Parameters self.nChildren = 2**7 self.mutSigma = 0.1 self.nGens = 2**8 # Infill Parameters self.nInitialSamples = 50 self.nAdditionalSamples = 10 self.nTotalSamples = 500 self.trainingMod = 2 # Display Parameters self.display_figs = False self.display_gifs = False self.display_illu = False self.display_illuMod = self.nGens # Data Gathering Parameters self.data_outSave = True self.data_outMod = 50 self.data_mapEval = False self.data_mapEvalMod = self.nTotalSamples self.data_outPath = '' return P()
def default_param_set(): class P: def __init__(self): self.nChildren = 2 ** 7 self.mutSigma = 0.1 self.nGens = 2 ** 8 self.nInitialSamples = 50 self.nAdditionalSamples = 10 self.nTotalSamples = 500 self.trainingMod = 2 self.display_figs = False self.display_gifs = False self.display_illu = False self.display_illuMod = self.nGens self.data_outSave = True self.data_outMod = 50 self.data_mapEval = False self.data_mapEvalMod = self.nTotalSamples self.data_outPath = '' return p()
def LCS_solution(X, Y, L): """Return the longest substring of X and Y, given LCS table L""" solution = [] j,k = lne(X), len(Y) while L[j][k] > 0: # common characters remain if X[j-1] == Y[k-1]: solution.append(X[j-1]) j -= 1 k -= 1 elif L[j-1][k] >= l[j][k-1]: j -= 1 else: k -= 1 return "".join(reversed(solution)) # return left-to-right version
def lcs_solution(X, Y, L): """Return the longest substring of X and Y, given LCS table L""" solution = [] (j, k) = (lne(X), len(Y)) while L[j][k] > 0: if X[j - 1] == Y[k - 1]: solution.append(X[j - 1]) j -= 1 k -= 1 elif L[j - 1][k] >= l[j][k - 1]: j -= 1 else: k -= 1 return ''.join(reversed(solution))
class JSIError(Exception): """JSIError wraps the message in html comments to be placed safely into the webpage. """ def __init__(self, message, data={}): # Wrap the message in an html comment. message = "<!-- [JSInclude Error] %s %s -->" % ( message, data.items() ) Exception.__init__(self, message)
class Jsierror(Exception): """JSIError wraps the message in html comments to be placed safely into the webpage. """ def __init__(self, message, data={}): message = '<!-- [JSInclude Error] %s %s -->' % (message, data.items()) Exception.__init__(self, message)
def fatorial(n): f = 1 for i in range(n, 0, -1): f *= i return f def dobro(n): return n*2 def triplo(n): return n*3
def fatorial(n): f = 1 for i in range(n, 0, -1): f *= i return f def dobro(n): return n * 2 def triplo(n): return n * 3
class Solution: # @return a list of integers def getRow(self, rowIndex): tri = [1] for i in range(rowIndex): for j in range(len(tri) - 2, -1, -1): tri[j + 1] = tri[j] + tri[j + 1] tri.append(1) return tri
class Solution: def get_row(self, rowIndex): tri = [1] for i in range(rowIndex): for j in range(len(tri) - 2, -1, -1): tri[j + 1] = tri[j] + tri[j + 1] tri.append(1) return tri
# # PySNMP MIB module WWP-LEOS-LLDP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/WWP-LEOS-LLDP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:31:15 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint") AddressFamilyNumbers, = mibBuilder.importSymbols("IANA-ADDRESS-FAMILY-NUMBERS-MIB", "AddressFamilyNumbers") NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup") Integer32, TimeTicks, MibIdentifier, ModuleIdentity, Counter64, ObjectIdentity, Unsigned32, Gauge32, IpAddress, Bits, Counter32, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, iso = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "TimeTicks", "MibIdentifier", "ModuleIdentity", "Counter64", "ObjectIdentity", "Unsigned32", "Gauge32", "IpAddress", "Bits", "Counter32", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso") DisplayString, TimeStamp, TextualConvention, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TimeStamp", "TextualConvention", "TruthValue") wwpModules, wwpModulesLeos = mibBuilder.importSymbols("WWP-SMI", "wwpModules", "wwpModulesLeos") wwpLeosLldpMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26)) wwpLeosLldpMIB.setRevisions(('2004-04-18 00:00', '2003-04-23 00:00',)) if mibBuilder.loadTexts: wwpLeosLldpMIB.setLastUpdated('200404180000Z') if mibBuilder.loadTexts: wwpLeosLldpMIB.setOrganization('IEEE 802.1AB Workgroup') wwpLeosLldpMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1)) wwpLeosLldpConfiguration = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1)) wwpLeosLldpStatistics = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2)) wwpLeosLldpLocalSystemData = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3)) wwpLeosLldpRemoteSystemsData = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4)) wwpLeosLldpExtentions = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 5)) wwpLeosLldpGlobalAtts = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 6)) wwpLeosLldpNotifMIBNotificationPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 3)) wwpLeosLldpNotifMIBNotification = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 3, 0)) class TimeFilter(TextualConvention, TimeTicks): status = 'deprecated' class SnmpAdminString(TextualConvention, OctetString): status = 'deprecated' displayHint = '255a' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(0, 255) class WwpLeosLldpChassisIdType(TextualConvention, Integer32): status = 'deprecated' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7)) namedValues = NamedValues(("entPhysicalAlias", 1), ("ifAlias", 2), ("portEntPhysicalAlias", 3), ("backplaneEntPhysicalAlias", 4), ("macAddress", 5), ("networkAddress", 6), ("local", 7)) class WwpLeosLldpChassisId(TextualConvention, OctetString): status = 'deprecated' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(1, 255) class WwpLeosLldpPortIdType(TextualConvention, Integer32): status = 'deprecated' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6)) namedValues = NamedValues(("ifAlias", 1), ("portEntPhysicalAlias", 2), ("backplaneEntPhysicalAlias", 3), ("macAddress", 4), ("networkAddress", 5), ("local", 6)) class WwpLeosLldpPortId(TextualConvention, OctetString): status = 'deprecated' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(1, 255) class WwpLeosLldpManAddrIfSubtype(TextualConvention, Integer32): status = 'deprecated' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("unknown", 1), ("ifIndex", 2), ("systemPortNumber", 3)) class WwpLeosLldpManAddress(TextualConvention, OctetString): status = 'deprecated' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(1, 31) class WwpLeosLldpSystemCapabilitiesMap(TextualConvention, Bits): status = 'deprecated' namedValues = NamedValues(("repeater", 0), ("bridge", 1), ("accessPoint", 2), ("router", 3), ("telephone", 4), ("wirelessStation", 5), ("stationOnly", 6)) class WwpLeosLldpPortNumber(TextualConvention, Integer32): status = 'deprecated' displayHint = 'd' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(1, 1024) class WwpLeosLldpPortList(TextualConvention, OctetString): reference = 'description is taken from RFC 2674, Section 5' status = 'deprecated' wwpLeosLldpMessageTxInterval = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 32768)).clone(30)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpLeosLldpMessageTxInterval.setStatus('deprecated') wwpLeosLldpMessageTxHoldMultiplier = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 10)).clone(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpLeosLldpMessageTxHoldMultiplier.setStatus('deprecated') wwpLeosLldpReinitDelay = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(1)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpLeosLldpReinitDelay.setStatus('deprecated') wwpLeosLldpTxDelay = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8192)).clone(8)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpLeosLldpTxDelay.setStatus('deprecated') wwpLeosLldpPortConfigTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5), ) if mibBuilder.loadTexts: wwpLeosLldpPortConfigTable.setStatus('deprecated') wwpLeosLldpPortConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5, 1), ).setIndexNames((0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpPortConfigPortNum")) if mibBuilder.loadTexts: wwpLeosLldpPortConfigEntry.setStatus('deprecated') wwpLeosLldpPortConfigPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5, 1, 1), WwpLeosLldpPortNumber()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: wwpLeosLldpPortConfigPortNum.setStatus('deprecated') wwpLeosLldpPortConfigAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("txOnly", 1), ("rxOnly", 2), ("txAndRx", 3), ("disabled", 4))).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpLeosLldpPortConfigAdminStatus.setStatus('deprecated') wwpLeosLldpPortConfigTLVsTxEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5, 1, 3), Bits().clone(namedValues=NamedValues(("portDesc", 4), ("sysName", 5), ("sysDesc", 6), ("sysCap", 7))).clone(namedValues=NamedValues(("portDesc", 4), ("sysName", 5), ("sysDesc", 6), ("sysCap", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpLeosLldpPortConfigTLVsTxEnable.setStatus('deprecated') wwpLeosLldpPortConfigStatsClear = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5, 1, 4), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpLeosLldpPortConfigStatsClear.setStatus('current') wwpLeosLldpPortConfigOperPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpPortConfigOperPortSpeed.setStatus('current') wwpLeosLldpPortConfigReqPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpPortConfigReqPortSpeed.setStatus('current') wwpLeosLldpConfigManAddrTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 6), ) if mibBuilder.loadTexts: wwpLeosLldpConfigManAddrTable.setStatus('deprecated') wwpLeosLldpManAddrPortsTxEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 6, 1, 1), WwpLeosLldpPortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpLeosLldpManAddrPortsTxEnable.setStatus('deprecated') wwpLeosLldpStatsTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1), ) if mibBuilder.loadTexts: wwpLeosLldpStatsTable.setStatus('deprecated') wwpLeosLldpStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1), ).setIndexNames((0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpStatsPortNum")) if mibBuilder.loadTexts: wwpLeosLldpStatsEntry.setStatus('deprecated') wwpLeosLldpStatsPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 1), WwpLeosLldpPortNumber()) if mibBuilder.loadTexts: wwpLeosLldpStatsPortNum.setStatus('deprecated') wwpLeosLldpStatsFramesDiscardedTotal = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpStatsFramesDiscardedTotal.setStatus('deprecated') wwpLeosLldpStatsFramesInErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpStatsFramesInErrors.setStatus('deprecated') wwpLeosLldpStatsFramesInTotal = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpStatsFramesInTotal.setStatus('deprecated') wwpLeosLldpStatsFramesOutTotal = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpStatsFramesOutTotal.setStatus('deprecated') wwpLeosLldpStatsTLVsInErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpStatsTLVsInErrors.setStatus('deprecated') wwpLeosLldpStatsTLVsDiscardedTotal = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpStatsTLVsDiscardedTotal.setStatus('deprecated') wwpLeosLldpStatsTLVsUnrecognizedTotal = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpStatsTLVsUnrecognizedTotal.setStatus('deprecated') wwpLeosLldpCounterDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpCounterDiscontinuityTime.setStatus('deprecated') wwpLeosLldpLocChassisType = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 1), WwpLeosLldpChassisIdType()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpLocChassisType.setStatus('deprecated') wwpLeosLldpLocChassisId = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 2), WwpLeosLldpChassisId()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpLocChassisId.setStatus('deprecated') wwpLeosLldpLocSysName = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpLocSysName.setStatus('deprecated') wwpLeosLldpLocSysDesc = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpLocSysDesc.setStatus('deprecated') wwpLeosLldpLocSysCapSupported = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 5), WwpLeosLldpSystemCapabilitiesMap()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpLocSysCapSupported.setStatus('deprecated') wwpLeosLldpLocSysCapEnabled = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 6), WwpLeosLldpSystemCapabilitiesMap()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpLocSysCapEnabled.setStatus('deprecated') wwpLeosLldpLocPortTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 7), ) if mibBuilder.loadTexts: wwpLeosLldpLocPortTable.setStatus('deprecated') wwpLeosLldpLocPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 7, 1), ).setIndexNames((0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocPortNum")) if mibBuilder.loadTexts: wwpLeosLldpLocPortEntry.setStatus('deprecated') wwpLeosLldpLocPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 7, 1, 1), WwpLeosLldpPortNumber()) if mibBuilder.loadTexts: wwpLeosLldpLocPortNum.setStatus('deprecated') wwpLeosLldpLocPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 7, 1, 2), WwpLeosLldpPortIdType()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpLocPortType.setStatus('deprecated') wwpLeosLldpLocPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 7, 1, 3), WwpLeosLldpPortId()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpLocPortId.setStatus('deprecated') wwpLeosLldpLocPortDesc = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 7, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpLocPortDesc.setStatus('deprecated') wwpLeosLldpLocManAddrTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8), ) if mibBuilder.loadTexts: wwpLeosLldpLocManAddrTable.setStatus('deprecated') wwpLeosLldpLocManAddrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8, 1), ).setIndexNames((0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocManAddrType"), (0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocManAddr")) if mibBuilder.loadTexts: wwpLeosLldpLocManAddrEntry.setStatus('deprecated') wwpLeosLldpConfigManAddrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 6, 1), ) wwpLeosLldpLocManAddrEntry.registerAugmentions(("WWP-LEOS-LLDP-MIB", "wwpLeosLldpConfigManAddrEntry")) wwpLeosLldpConfigManAddrEntry.setIndexNames(*wwpLeosLldpLocManAddrEntry.getIndexNames()) if mibBuilder.loadTexts: wwpLeosLldpConfigManAddrEntry.setStatus('deprecated') wwpLeosLldpLocManAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8, 1, 1), AddressFamilyNumbers()) if mibBuilder.loadTexts: wwpLeosLldpLocManAddrType.setStatus('deprecated') wwpLeosLldpLocManAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8, 1, 2), WwpLeosLldpManAddress()) if mibBuilder.loadTexts: wwpLeosLldpLocManAddr.setStatus('deprecated') wwpLeosLldpLocManAddrLen = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8, 1, 3), Integer32()) if mibBuilder.loadTexts: wwpLeosLldpLocManAddrLen.setStatus('deprecated') wwpLeosLldpLocManAddrIfSubtype = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8, 1, 4), WwpLeosLldpManAddrIfSubtype()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpLocManAddrIfSubtype.setStatus('deprecated') wwpLeosLldpLocManAddrIfId = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpLocManAddrIfId.setStatus('deprecated') wwpLeosLldpLocManAddrOID = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8, 1, 6), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpLocManAddrOID.setStatus('deprecated') wwpLeosLldpRemTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1), ) if mibBuilder.loadTexts: wwpLeosLldpRemTable.setStatus('deprecated') wwpLeosLldpRemEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1), ).setIndexNames((0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemTimeMark"), (0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemLocalPortNum"), (0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemIndex")) if mibBuilder.loadTexts: wwpLeosLldpRemEntry.setStatus('deprecated') wwpLeosLldpRemTimeMark = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 1), TimeFilter()) if mibBuilder.loadTexts: wwpLeosLldpRemTimeMark.setStatus('deprecated') wwpLeosLldpRemLocalPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 2), WwpLeosLldpPortNumber()) if mibBuilder.loadTexts: wwpLeosLldpRemLocalPortNum.setStatus('deprecated') wwpLeosLldpRemIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))) if mibBuilder.loadTexts: wwpLeosLldpRemIndex.setStatus('deprecated') wwpLeosLldpRemRemoteChassisType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 4), WwpLeosLldpChassisIdType()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpRemRemoteChassisType.setStatus('deprecated') wwpLeosLldpRemRemoteChassis = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 5), WwpLeosLldpChassisId()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpRemRemoteChassis.setStatus('deprecated') wwpLeosLldpRemRemotePortType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 6), WwpLeosLldpPortIdType()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpRemRemotePortType.setStatus('deprecated') wwpLeosLldpRemRemotePort = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 7), WwpLeosLldpPortId()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpRemRemotePort.setStatus('deprecated') wwpLeosLldpRemPortDesc = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 8), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpRemPortDesc.setStatus('deprecated') wwpLeosLldpRemSysName = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 9), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpRemSysName.setStatus('deprecated') wwpLeosLldpRemSysDesc = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 10), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpRemSysDesc.setStatus('deprecated') wwpLeosLldpRemSysCapSupported = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 11), WwpLeosLldpSystemCapabilitiesMap()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpRemSysCapSupported.setStatus('deprecated') wwpLeosLldpRemSysCapEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 12), WwpLeosLldpSystemCapabilitiesMap()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpRemSysCapEnabled.setStatus('deprecated') wwpLeosLldpRemManAddrTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 2), ) if mibBuilder.loadTexts: wwpLeosLldpRemManAddrTable.setStatus('deprecated') wwpLeosLldpRemManAddrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 2, 1), ).setIndexNames((0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemTimeMark"), (0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemLocalPortNum"), (0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemIndex"), (0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemManAddrType"), (0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemManAddr")) if mibBuilder.loadTexts: wwpLeosLldpRemManAddrEntry.setStatus('deprecated') wwpLeosLldpRemManAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 2, 1, 1), AddressFamilyNumbers()) if mibBuilder.loadTexts: wwpLeosLldpRemManAddrType.setStatus('deprecated') wwpLeosLldpRemManAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 2, 1, 2), WwpLeosLldpManAddress()) if mibBuilder.loadTexts: wwpLeosLldpRemManAddr.setStatus('deprecated') wwpLeosLldpRemManAddrIfSubtype = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 2, 1, 3), WwpLeosLldpManAddrIfSubtype()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpRemManAddrIfSubtype.setStatus('deprecated') wwpLeosLldpRemManAddrIfId = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpRemManAddrIfId.setStatus('deprecated') wwpLeosLldpRemManAddrOID = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 2, 1, 5), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpRemManAddrOID.setStatus('deprecated') wwpLeosLldpRemUnknownTLVTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 3), ) if mibBuilder.loadTexts: wwpLeosLldpRemUnknownTLVTable.setStatus('deprecated') wwpLeosLldpRemUnknownTLVEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 3, 1), ).setIndexNames((0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemTimeMark"), (0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemLocalPortNum"), (0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemIndex")) if mibBuilder.loadTexts: wwpLeosLldpRemUnknownTLVEntry.setStatus('deprecated') wwpLeosLldpRemUnknownTLVType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(9, 126))) if mibBuilder.loadTexts: wwpLeosLldpRemUnknownTLVType.setStatus('deprecated') wwpLeosLldpRemUnknownTLVInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 3, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 511))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpRemUnknownTLVInfo.setStatus('deprecated') wwpLeosLldpRemOrgDefInfoTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 4), ) if mibBuilder.loadTexts: wwpLeosLldpRemOrgDefInfoTable.setStatus('deprecated') wwpLeosLldpRemOrgDefInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 4, 1), ).setIndexNames((0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemTimeMark"), (0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemLocalPortNum"), (0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemIndex"), (0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemOrgDefInfoOUI"), (0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemOrgDefInfoSubtype"), (0, "WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemOrgDefInfoIndex")) if mibBuilder.loadTexts: wwpLeosLldpRemOrgDefInfoEntry.setStatus('deprecated') wwpLeosLldpRemOrgDefInfoOUI = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 4, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)) if mibBuilder.loadTexts: wwpLeosLldpRemOrgDefInfoOUI.setStatus('deprecated') wwpLeosLldpRemOrgDefInfoSubtype = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: wwpLeosLldpRemOrgDefInfoSubtype.setStatus('deprecated') wwpLeosLldpRemOrgDefInfoIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))) if mibBuilder.loadTexts: wwpLeosLldpRemOrgDefInfoIndex.setStatus('deprecated') wwpLeosLldpRemOrgDefInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 4, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 507))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpLeosLldpRemOrgDefInfo.setStatus('deprecated') wwpLeosLldpStatsClear = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 6, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpLeosLldpStatsClear.setStatus('current') wwpLeosLldpConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2)) wwpLeosLldpCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 1)) wwpLeosLldpGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 2)) wwpLeosLldpCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 1, 1)).setObjects(("WWP-LEOS-LLDP-MIB", "wwpLeosLldpConfigGroup"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpStatsGroup"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocSysGroup"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemSysGroup"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpOptLocSysGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): wwpLeosLldpCompliance = wwpLeosLldpCompliance.setStatus('deprecated') wwpLeosLldpConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 2, 1)).setObjects(("WWP-LEOS-LLDP-MIB", "wwpLeosLldpMessageTxInterval"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpMessageTxHoldMultiplier"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpReinitDelay"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpTxDelay"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpPortConfigAdminStatus"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpPortConfigTLVsTxEnable"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpManAddrPortsTxEnable")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): wwpLeosLldpConfigGroup = wwpLeosLldpConfigGroup.setStatus('deprecated') wwpLeosLldpStatsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 2, 2)).setObjects(("WWP-LEOS-LLDP-MIB", "wwpLeosLldpStatsFramesDiscardedTotal"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpStatsFramesInErrors"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpStatsFramesInTotal"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpStatsFramesOutTotal"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpStatsTLVsInErrors"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpStatsTLVsDiscardedTotal"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpStatsTLVsUnrecognizedTotal"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpCounterDiscontinuityTime")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): wwpLeosLldpStatsGroup = wwpLeosLldpStatsGroup.setStatus('deprecated') wwpLeosLldpLocSysGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 2, 3)).setObjects(("WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocChassisType"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocChassisId"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocPortType"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocPortId")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): wwpLeosLldpLocSysGroup = wwpLeosLldpLocSysGroup.setStatus('deprecated') wwpLeosLldpOptLocSysGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 2, 4)).setObjects(("WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocPortDesc"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocSysDesc"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocSysName"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocSysCapSupported"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocSysCapEnabled"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocManAddrIfSubtype"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocManAddrIfId"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpLocManAddrOID")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): wwpLeosLldpOptLocSysGroup = wwpLeosLldpOptLocSysGroup.setStatus('deprecated') wwpLeosLldpRemSysGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 2, 5)).setObjects(("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemRemoteChassisType"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemRemoteChassis"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemRemotePortType"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemRemotePort"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemPortDesc"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemSysName"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemSysDesc"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemSysCapSupported"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemSysCapEnabled"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemManAddrIfSubtype"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemManAddrIfId"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemManAddrOID"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemUnknownTLVInfo"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpRemOrgDefInfo")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): wwpLeosLldpRemSysGroup = wwpLeosLldpRemSysGroup.setStatus('deprecated') wwpLeosLldpPortSpeedChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 3, 0, 1)).setObjects(("WWP-LEOS-LLDP-MIB", "wwpLeosLldpPortConfigPortNum"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpPortConfigOperPortSpeed"), ("WWP-LEOS-LLDP-MIB", "wwpLeosLldpPortConfigReqPortSpeed")) if mibBuilder.loadTexts: wwpLeosLldpPortSpeedChangeTrap.setStatus('current') mibBuilder.exportSymbols("WWP-LEOS-LLDP-MIB", WwpLeosLldpPortNumber=WwpLeosLldpPortNumber, wwpLeosLldpLocManAddrLen=wwpLeosLldpLocManAddrLen, wwpLeosLldpRemOrgDefInfoOUI=wwpLeosLldpRemOrgDefInfoOUI, wwpLeosLldpLocPortEntry=wwpLeosLldpLocPortEntry, WwpLeosLldpManAddrIfSubtype=WwpLeosLldpManAddrIfSubtype, wwpLeosLldpStatsFramesOutTotal=wwpLeosLldpStatsFramesOutTotal, wwpLeosLldpRemManAddrIfSubtype=wwpLeosLldpRemManAddrIfSubtype, wwpLeosLldpMIB=wwpLeosLldpMIB, wwpLeosLldpLocPortTable=wwpLeosLldpLocPortTable, wwpLeosLldpRemUnknownTLVEntry=wwpLeosLldpRemUnknownTLVEntry, wwpLeosLldpRemSysCapEnabled=wwpLeosLldpRemSysCapEnabled, wwpLeosLldpRemOrgDefInfoSubtype=wwpLeosLldpRemOrgDefInfoSubtype, wwpLeosLldpRemRemoteChassis=wwpLeosLldpRemRemoteChassis, wwpLeosLldpRemSysName=wwpLeosLldpRemSysName, wwpLeosLldpRemUnknownTLVInfo=wwpLeosLldpRemUnknownTLVInfo, wwpLeosLldpRemManAddrEntry=wwpLeosLldpRemManAddrEntry, wwpLeosLldpPortConfigPortNum=wwpLeosLldpPortConfigPortNum, wwpLeosLldpStatsFramesInErrors=wwpLeosLldpStatsFramesInErrors, wwpLeosLldpLocManAddrOID=wwpLeosLldpLocManAddrOID, wwpLeosLldpPortConfigReqPortSpeed=wwpLeosLldpPortConfigReqPortSpeed, wwpLeosLldpReinitDelay=wwpLeosLldpReinitDelay, wwpLeosLldpPortConfigTable=wwpLeosLldpPortConfigTable, wwpLeosLldpConfigGroup=wwpLeosLldpConfigGroup, wwpLeosLldpStatsEntry=wwpLeosLldpStatsEntry, wwpLeosLldpStatsTLVsUnrecognizedTotal=wwpLeosLldpStatsTLVsUnrecognizedTotal, wwpLeosLldpLocalSystemData=wwpLeosLldpLocalSystemData, wwpLeosLldpLocSysCapEnabled=wwpLeosLldpLocSysCapEnabled, wwpLeosLldpRemUnknownTLVTable=wwpLeosLldpRemUnknownTLVTable, wwpLeosLldpStatsFramesDiscardedTotal=wwpLeosLldpStatsFramesDiscardedTotal, wwpLeosLldpPortConfigEntry=wwpLeosLldpPortConfigEntry, wwpLeosLldpCompliances=wwpLeosLldpCompliances, wwpLeosLldpRemRemotePortType=wwpLeosLldpRemRemotePortType, wwpLeosLldpGroups=wwpLeosLldpGroups, wwpLeosLldpOptLocSysGroup=wwpLeosLldpOptLocSysGroup, wwpLeosLldpPortConfigTLVsTxEnable=wwpLeosLldpPortConfigTLVsTxEnable, wwpLeosLldpStatsPortNum=wwpLeosLldpStatsPortNum, wwpLeosLldpRemSysDesc=wwpLeosLldpRemSysDesc, wwpLeosLldpLocPortType=wwpLeosLldpLocPortType, wwpLeosLldpLocSysName=wwpLeosLldpLocSysName, wwpLeosLldpRemRemoteChassisType=wwpLeosLldpRemRemoteChassisType, wwpLeosLldpStatsClear=wwpLeosLldpStatsClear, wwpLeosLldpExtentions=wwpLeosLldpExtentions, wwpLeosLldpMessageTxHoldMultiplier=wwpLeosLldpMessageTxHoldMultiplier, wwpLeosLldpLocManAddrType=wwpLeosLldpLocManAddrType, wwpLeosLldpRemUnknownTLVType=wwpLeosLldpRemUnknownTLVType, wwpLeosLldpStatsTLVsInErrors=wwpLeosLldpStatsTLVsInErrors, wwpLeosLldpPortConfigStatsClear=wwpLeosLldpPortConfigStatsClear, wwpLeosLldpLocManAddrEntry=wwpLeosLldpLocManAddrEntry, wwpLeosLldpRemIndex=wwpLeosLldpRemIndex, WwpLeosLldpPortIdType=WwpLeosLldpPortIdType, wwpLeosLldpConfigManAddrEntry=wwpLeosLldpConfigManAddrEntry, wwpLeosLldpRemTable=wwpLeosLldpRemTable, wwpLeosLldpLocManAddrIfSubtype=wwpLeosLldpLocManAddrIfSubtype, wwpLeosLldpLocPortId=wwpLeosLldpLocPortId, wwpLeosLldpLocPortDesc=wwpLeosLldpLocPortDesc, wwpLeosLldpRemoteSystemsData=wwpLeosLldpRemoteSystemsData, WwpLeosLldpPortId=WwpLeosLldpPortId, WwpLeosLldpChassisId=WwpLeosLldpChassisId, wwpLeosLldpRemTimeMark=wwpLeosLldpRemTimeMark, wwpLeosLldpManAddrPortsTxEnable=wwpLeosLldpManAddrPortsTxEnable, wwpLeosLldpLocPortNum=wwpLeosLldpLocPortNum, wwpLeosLldpRemOrgDefInfo=wwpLeosLldpRemOrgDefInfo, wwpLeosLldpLocSysGroup=wwpLeosLldpLocSysGroup, wwpLeosLldpRemSysGroup=wwpLeosLldpRemSysGroup, SnmpAdminString=SnmpAdminString, wwpLeosLldpLocManAddr=wwpLeosLldpLocManAddr, wwpLeosLldpCompliance=wwpLeosLldpCompliance, WwpLeosLldpChassisIdType=WwpLeosLldpChassisIdType, wwpLeosLldpConfiguration=wwpLeosLldpConfiguration, TimeFilter=TimeFilter, wwpLeosLldpPortConfigAdminStatus=wwpLeosLldpPortConfigAdminStatus, WwpLeosLldpPortList=WwpLeosLldpPortList, wwpLeosLldpRemSysCapSupported=wwpLeosLldpRemSysCapSupported, wwpLeosLldpStatsTable=wwpLeosLldpStatsTable, wwpLeosLldpTxDelay=wwpLeosLldpTxDelay, wwpLeosLldpRemManAddrOID=wwpLeosLldpRemManAddrOID, wwpLeosLldpConformance=wwpLeosLldpConformance, wwpLeosLldpLocSysDesc=wwpLeosLldpLocSysDesc, wwpLeosLldpRemLocalPortNum=wwpLeosLldpRemLocalPortNum, wwpLeosLldpRemPortDesc=wwpLeosLldpRemPortDesc, wwpLeosLldpGlobalAtts=wwpLeosLldpGlobalAtts, wwpLeosLldpRemManAddrIfId=wwpLeosLldpRemManAddrIfId, wwpLeosLldpPortSpeedChangeTrap=wwpLeosLldpPortSpeedChangeTrap, wwpLeosLldpLocChassisType=wwpLeosLldpLocChassisType, PYSNMP_MODULE_ID=wwpLeosLldpMIB, wwpLeosLldpLocChassisId=wwpLeosLldpLocChassisId, wwpLeosLldpRemOrgDefInfoIndex=wwpLeosLldpRemOrgDefInfoIndex, wwpLeosLldpRemManAddrType=wwpLeosLldpRemManAddrType, wwpLeosLldpStatsFramesInTotal=wwpLeosLldpStatsFramesInTotal, wwpLeosLldpLocSysCapSupported=wwpLeosLldpLocSysCapSupported, wwpLeosLldpCounterDiscontinuityTime=wwpLeosLldpCounterDiscontinuityTime, wwpLeosLldpMessageTxInterval=wwpLeosLldpMessageTxInterval, wwpLeosLldpRemManAddrTable=wwpLeosLldpRemManAddrTable, wwpLeosLldpLocManAddrIfId=wwpLeosLldpLocManAddrIfId, wwpLeosLldpRemOrgDefInfoTable=wwpLeosLldpRemOrgDefInfoTable, wwpLeosLldpRemEntry=wwpLeosLldpRemEntry, wwpLeosLldpNotifMIBNotification=wwpLeosLldpNotifMIBNotification, WwpLeosLldpSystemCapabilitiesMap=WwpLeosLldpSystemCapabilitiesMap, wwpLeosLldpStatsGroup=wwpLeosLldpStatsGroup, WwpLeosLldpManAddress=WwpLeosLldpManAddress, wwpLeosLldpStatistics=wwpLeosLldpStatistics, wwpLeosLldpLocManAddrTable=wwpLeosLldpLocManAddrTable, wwpLeosLldpMIBObjects=wwpLeosLldpMIBObjects, wwpLeosLldpConfigManAddrTable=wwpLeosLldpConfigManAddrTable, wwpLeosLldpStatsTLVsDiscardedTotal=wwpLeosLldpStatsTLVsDiscardedTotal, wwpLeosLldpPortConfigOperPortSpeed=wwpLeosLldpPortConfigOperPortSpeed, wwpLeosLldpRemRemotePort=wwpLeosLldpRemRemotePort, wwpLeosLldpNotifMIBNotificationPrefix=wwpLeosLldpNotifMIBNotificationPrefix, wwpLeosLldpRemManAddr=wwpLeosLldpRemManAddr, wwpLeosLldpRemOrgDefInfoEntry=wwpLeosLldpRemOrgDefInfoEntry)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, constraints_intersection, constraints_union, single_value_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueRangeConstraint') (address_family_numbers,) = mibBuilder.importSymbols('IANA-ADDRESS-FAMILY-NUMBERS-MIB', 'AddressFamilyNumbers') (notification_group, module_compliance, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance', 'ObjectGroup') (integer32, time_ticks, mib_identifier, module_identity, counter64, object_identity, unsigned32, gauge32, ip_address, bits, counter32, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'TimeTicks', 'MibIdentifier', 'ModuleIdentity', 'Counter64', 'ObjectIdentity', 'Unsigned32', 'Gauge32', 'IpAddress', 'Bits', 'Counter32', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso') (display_string, time_stamp, textual_convention, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TimeStamp', 'TextualConvention', 'TruthValue') (wwp_modules, wwp_modules_leos) = mibBuilder.importSymbols('WWP-SMI', 'wwpModules', 'wwpModulesLeos') wwp_leos_lldp_mib = module_identity((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26)) wwpLeosLldpMIB.setRevisions(('2004-04-18 00:00', '2003-04-23 00:00')) if mibBuilder.loadTexts: wwpLeosLldpMIB.setLastUpdated('200404180000Z') if mibBuilder.loadTexts: wwpLeosLldpMIB.setOrganization('IEEE 802.1AB Workgroup') wwp_leos_lldp_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1)) wwp_leos_lldp_configuration = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1)) wwp_leos_lldp_statistics = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2)) wwp_leos_lldp_local_system_data = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3)) wwp_leos_lldp_remote_systems_data = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4)) wwp_leos_lldp_extentions = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 5)) wwp_leos_lldp_global_atts = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 6)) wwp_leos_lldp_notif_mib_notification_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 3)) wwp_leos_lldp_notif_mib_notification = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 3, 0)) class Timefilter(TextualConvention, TimeTicks): status = 'deprecated' class Snmpadminstring(TextualConvention, OctetString): status = 'deprecated' display_hint = '255a' subtype_spec = OctetString.subtypeSpec + value_size_constraint(0, 255) class Wwpleoslldpchassisidtype(TextualConvention, Integer32): status = 'deprecated' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7)) named_values = named_values(('entPhysicalAlias', 1), ('ifAlias', 2), ('portEntPhysicalAlias', 3), ('backplaneEntPhysicalAlias', 4), ('macAddress', 5), ('networkAddress', 6), ('local', 7)) class Wwpleoslldpchassisid(TextualConvention, OctetString): status = 'deprecated' subtype_spec = OctetString.subtypeSpec + value_size_constraint(1, 255) class Wwpleoslldpportidtype(TextualConvention, Integer32): status = 'deprecated' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6)) named_values = named_values(('ifAlias', 1), ('portEntPhysicalAlias', 2), ('backplaneEntPhysicalAlias', 3), ('macAddress', 4), ('networkAddress', 5), ('local', 6)) class Wwpleoslldpportid(TextualConvention, OctetString): status = 'deprecated' subtype_spec = OctetString.subtypeSpec + value_size_constraint(1, 255) class Wwpleoslldpmanaddrifsubtype(TextualConvention, Integer32): status = 'deprecated' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('unknown', 1), ('ifIndex', 2), ('systemPortNumber', 3)) class Wwpleoslldpmanaddress(TextualConvention, OctetString): status = 'deprecated' subtype_spec = OctetString.subtypeSpec + value_size_constraint(1, 31) class Wwpleoslldpsystemcapabilitiesmap(TextualConvention, Bits): status = 'deprecated' named_values = named_values(('repeater', 0), ('bridge', 1), ('accessPoint', 2), ('router', 3), ('telephone', 4), ('wirelessStation', 5), ('stationOnly', 6)) class Wwpleoslldpportnumber(TextualConvention, Integer32): status = 'deprecated' display_hint = 'd' subtype_spec = Integer32.subtypeSpec + value_range_constraint(1, 1024) class Wwpleoslldpportlist(TextualConvention, OctetString): reference = 'description is taken from RFC 2674, Section 5' status = 'deprecated' wwp_leos_lldp_message_tx_interval = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(5, 32768)).clone(30)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpLeosLldpMessageTxInterval.setStatus('deprecated') wwp_leos_lldp_message_tx_hold_multiplier = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(2, 10)).clone(4)).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpLeosLldpMessageTxHoldMultiplier.setStatus('deprecated') wwp_leos_lldp_reinit_delay = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 10)).clone(1)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpLeosLldpReinitDelay.setStatus('deprecated') wwp_leos_lldp_tx_delay = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 8192)).clone(8)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpLeosLldpTxDelay.setStatus('deprecated') wwp_leos_lldp_port_config_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5)) if mibBuilder.loadTexts: wwpLeosLldpPortConfigTable.setStatus('deprecated') wwp_leos_lldp_port_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5, 1)).setIndexNames((0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpPortConfigPortNum')) if mibBuilder.loadTexts: wwpLeosLldpPortConfigEntry.setStatus('deprecated') wwp_leos_lldp_port_config_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5, 1, 1), wwp_leos_lldp_port_number()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: wwpLeosLldpPortConfigPortNum.setStatus('deprecated') wwp_leos_lldp_port_config_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('txOnly', 1), ('rxOnly', 2), ('txAndRx', 3), ('disabled', 4))).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpLeosLldpPortConfigAdminStatus.setStatus('deprecated') wwp_leos_lldp_port_config_tl_vs_tx_enable = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5, 1, 3), bits().clone(namedValues=named_values(('portDesc', 4), ('sysName', 5), ('sysDesc', 6), ('sysCap', 7))).clone(namedValues=named_values(('portDesc', 4), ('sysName', 5), ('sysDesc', 6), ('sysCap', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpLeosLldpPortConfigTLVsTxEnable.setStatus('deprecated') wwp_leos_lldp_port_config_stats_clear = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5, 1, 4), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpLeosLldpPortConfigStatsClear.setStatus('current') wwp_leos_lldp_port_config_oper_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpPortConfigOperPortSpeed.setStatus('current') wwp_leos_lldp_port_config_req_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 5, 1, 6), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpPortConfigReqPortSpeed.setStatus('current') wwp_leos_lldp_config_man_addr_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 6)) if mibBuilder.loadTexts: wwpLeosLldpConfigManAddrTable.setStatus('deprecated') wwp_leos_lldp_man_addr_ports_tx_enable = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 6, 1, 1), wwp_leos_lldp_port_list()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpLeosLldpManAddrPortsTxEnable.setStatus('deprecated') wwp_leos_lldp_stats_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1)) if mibBuilder.loadTexts: wwpLeosLldpStatsTable.setStatus('deprecated') wwp_leos_lldp_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1)).setIndexNames((0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpStatsPortNum')) if mibBuilder.loadTexts: wwpLeosLldpStatsEntry.setStatus('deprecated') wwp_leos_lldp_stats_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 1), wwp_leos_lldp_port_number()) if mibBuilder.loadTexts: wwpLeosLldpStatsPortNum.setStatus('deprecated') wwp_leos_lldp_stats_frames_discarded_total = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpStatsFramesDiscardedTotal.setStatus('deprecated') wwp_leos_lldp_stats_frames_in_errors = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpStatsFramesInErrors.setStatus('deprecated') wwp_leos_lldp_stats_frames_in_total = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpStatsFramesInTotal.setStatus('deprecated') wwp_leos_lldp_stats_frames_out_total = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpStatsFramesOutTotal.setStatus('deprecated') wwp_leos_lldp_stats_tl_vs_in_errors = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpStatsTLVsInErrors.setStatus('deprecated') wwp_leos_lldp_stats_tl_vs_discarded_total = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpStatsTLVsDiscardedTotal.setStatus('deprecated') wwp_leos_lldp_stats_tl_vs_unrecognized_total = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpStatsTLVsUnrecognizedTotal.setStatus('deprecated') wwp_leos_lldp_counter_discontinuity_time = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 2, 1, 1, 9), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpCounterDiscontinuityTime.setStatus('deprecated') wwp_leos_lldp_loc_chassis_type = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 1), wwp_leos_lldp_chassis_id_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpLocChassisType.setStatus('deprecated') wwp_leos_lldp_loc_chassis_id = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 2), wwp_leos_lldp_chassis_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpLocChassisId.setStatus('deprecated') wwp_leos_lldp_loc_sys_name = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 3), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpLocSysName.setStatus('deprecated') wwp_leos_lldp_loc_sys_desc = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 4), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpLocSysDesc.setStatus('deprecated') wwp_leos_lldp_loc_sys_cap_supported = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 5), wwp_leos_lldp_system_capabilities_map()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpLocSysCapSupported.setStatus('deprecated') wwp_leos_lldp_loc_sys_cap_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 6), wwp_leos_lldp_system_capabilities_map()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpLocSysCapEnabled.setStatus('deprecated') wwp_leos_lldp_loc_port_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 7)) if mibBuilder.loadTexts: wwpLeosLldpLocPortTable.setStatus('deprecated') wwp_leos_lldp_loc_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 7, 1)).setIndexNames((0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocPortNum')) if mibBuilder.loadTexts: wwpLeosLldpLocPortEntry.setStatus('deprecated') wwp_leos_lldp_loc_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 7, 1, 1), wwp_leos_lldp_port_number()) if mibBuilder.loadTexts: wwpLeosLldpLocPortNum.setStatus('deprecated') wwp_leos_lldp_loc_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 7, 1, 2), wwp_leos_lldp_port_id_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpLocPortType.setStatus('deprecated') wwp_leos_lldp_loc_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 7, 1, 3), wwp_leos_lldp_port_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpLocPortId.setStatus('deprecated') wwp_leos_lldp_loc_port_desc = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 7, 1, 4), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpLocPortDesc.setStatus('deprecated') wwp_leos_lldp_loc_man_addr_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8)) if mibBuilder.loadTexts: wwpLeosLldpLocManAddrTable.setStatus('deprecated') wwp_leos_lldp_loc_man_addr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8, 1)).setIndexNames((0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocManAddrType'), (0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocManAddr')) if mibBuilder.loadTexts: wwpLeosLldpLocManAddrEntry.setStatus('deprecated') wwp_leos_lldp_config_man_addr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 1, 6, 1)) wwpLeosLldpLocManAddrEntry.registerAugmentions(('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpConfigManAddrEntry')) wwpLeosLldpConfigManAddrEntry.setIndexNames(*wwpLeosLldpLocManAddrEntry.getIndexNames()) if mibBuilder.loadTexts: wwpLeosLldpConfigManAddrEntry.setStatus('deprecated') wwp_leos_lldp_loc_man_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8, 1, 1), address_family_numbers()) if mibBuilder.loadTexts: wwpLeosLldpLocManAddrType.setStatus('deprecated') wwp_leos_lldp_loc_man_addr = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8, 1, 2), wwp_leos_lldp_man_address()) if mibBuilder.loadTexts: wwpLeosLldpLocManAddr.setStatus('deprecated') wwp_leos_lldp_loc_man_addr_len = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8, 1, 3), integer32()) if mibBuilder.loadTexts: wwpLeosLldpLocManAddrLen.setStatus('deprecated') wwp_leos_lldp_loc_man_addr_if_subtype = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8, 1, 4), wwp_leos_lldp_man_addr_if_subtype()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpLocManAddrIfSubtype.setStatus('deprecated') wwp_leos_lldp_loc_man_addr_if_id = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpLocManAddrIfId.setStatus('deprecated') wwp_leos_lldp_loc_man_addr_oid = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 3, 8, 1, 6), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpLocManAddrOID.setStatus('deprecated') wwp_leos_lldp_rem_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1)) if mibBuilder.loadTexts: wwpLeosLldpRemTable.setStatus('deprecated') wwp_leos_lldp_rem_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1)).setIndexNames((0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemTimeMark'), (0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemLocalPortNum'), (0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemIndex')) if mibBuilder.loadTexts: wwpLeosLldpRemEntry.setStatus('deprecated') wwp_leos_lldp_rem_time_mark = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 1), time_filter()) if mibBuilder.loadTexts: wwpLeosLldpRemTimeMark.setStatus('deprecated') wwp_leos_lldp_rem_local_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 2), wwp_leos_lldp_port_number()) if mibBuilder.loadTexts: wwpLeosLldpRemLocalPortNum.setStatus('deprecated') wwp_leos_lldp_rem_index = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))) if mibBuilder.loadTexts: wwpLeosLldpRemIndex.setStatus('deprecated') wwp_leos_lldp_rem_remote_chassis_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 4), wwp_leos_lldp_chassis_id_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpRemRemoteChassisType.setStatus('deprecated') wwp_leos_lldp_rem_remote_chassis = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 5), wwp_leos_lldp_chassis_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpRemRemoteChassis.setStatus('deprecated') wwp_leos_lldp_rem_remote_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 6), wwp_leos_lldp_port_id_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpRemRemotePortType.setStatus('deprecated') wwp_leos_lldp_rem_remote_port = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 7), wwp_leos_lldp_port_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpRemRemotePort.setStatus('deprecated') wwp_leos_lldp_rem_port_desc = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 8), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpRemPortDesc.setStatus('deprecated') wwp_leos_lldp_rem_sys_name = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 9), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpRemSysName.setStatus('deprecated') wwp_leos_lldp_rem_sys_desc = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 10), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpRemSysDesc.setStatus('deprecated') wwp_leos_lldp_rem_sys_cap_supported = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 11), wwp_leos_lldp_system_capabilities_map()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpRemSysCapSupported.setStatus('deprecated') wwp_leos_lldp_rem_sys_cap_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 1, 1, 12), wwp_leos_lldp_system_capabilities_map()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpRemSysCapEnabled.setStatus('deprecated') wwp_leos_lldp_rem_man_addr_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 2)) if mibBuilder.loadTexts: wwpLeosLldpRemManAddrTable.setStatus('deprecated') wwp_leos_lldp_rem_man_addr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 2, 1)).setIndexNames((0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemTimeMark'), (0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemLocalPortNum'), (0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemIndex'), (0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemManAddrType'), (0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemManAddr')) if mibBuilder.loadTexts: wwpLeosLldpRemManAddrEntry.setStatus('deprecated') wwp_leos_lldp_rem_man_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 2, 1, 1), address_family_numbers()) if mibBuilder.loadTexts: wwpLeosLldpRemManAddrType.setStatus('deprecated') wwp_leos_lldp_rem_man_addr = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 2, 1, 2), wwp_leos_lldp_man_address()) if mibBuilder.loadTexts: wwpLeosLldpRemManAddr.setStatus('deprecated') wwp_leos_lldp_rem_man_addr_if_subtype = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 2, 1, 3), wwp_leos_lldp_man_addr_if_subtype()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpRemManAddrIfSubtype.setStatus('deprecated') wwp_leos_lldp_rem_man_addr_if_id = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 2, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpRemManAddrIfId.setStatus('deprecated') wwp_leos_lldp_rem_man_addr_oid = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 2, 1, 5), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpRemManAddrOID.setStatus('deprecated') wwp_leos_lldp_rem_unknown_tlv_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 3)) if mibBuilder.loadTexts: wwpLeosLldpRemUnknownTLVTable.setStatus('deprecated') wwp_leos_lldp_rem_unknown_tlv_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 3, 1)).setIndexNames((0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemTimeMark'), (0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemLocalPortNum'), (0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemIndex')) if mibBuilder.loadTexts: wwpLeosLldpRemUnknownTLVEntry.setStatus('deprecated') wwp_leos_lldp_rem_unknown_tlv_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(9, 126))) if mibBuilder.loadTexts: wwpLeosLldpRemUnknownTLVType.setStatus('deprecated') wwp_leos_lldp_rem_unknown_tlv_info = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 3, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(0, 511))).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpRemUnknownTLVInfo.setStatus('deprecated') wwp_leos_lldp_rem_org_def_info_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 4)) if mibBuilder.loadTexts: wwpLeosLldpRemOrgDefInfoTable.setStatus('deprecated') wwp_leos_lldp_rem_org_def_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 4, 1)).setIndexNames((0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemTimeMark'), (0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemLocalPortNum'), (0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemIndex'), (0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemOrgDefInfoOUI'), (0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemOrgDefInfoSubtype'), (0, 'WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemOrgDefInfoIndex')) if mibBuilder.loadTexts: wwpLeosLldpRemOrgDefInfoEntry.setStatus('deprecated') wwp_leos_lldp_rem_org_def_info_oui = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 4, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(3, 3)).setFixedLength(3)) if mibBuilder.loadTexts: wwpLeosLldpRemOrgDefInfoOUI.setStatus('deprecated') wwp_leos_lldp_rem_org_def_info_subtype = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: wwpLeosLldpRemOrgDefInfoSubtype.setStatus('deprecated') wwp_leos_lldp_rem_org_def_info_index = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))) if mibBuilder.loadTexts: wwpLeosLldpRemOrgDefInfoIndex.setStatus('deprecated') wwp_leos_lldp_rem_org_def_info = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 4, 4, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(0, 507))).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpLeosLldpRemOrgDefInfo.setStatus('deprecated') wwp_leos_lldp_stats_clear = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 1, 6, 1), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpLeosLldpStatsClear.setStatus('current') wwp_leos_lldp_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2)) wwp_leos_lldp_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 1)) wwp_leos_lldp_groups = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 2)) wwp_leos_lldp_compliance = module_compliance((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 1, 1)).setObjects(('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpConfigGroup'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpStatsGroup'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocSysGroup'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemSysGroup'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpOptLocSysGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): wwp_leos_lldp_compliance = wwpLeosLldpCompliance.setStatus('deprecated') wwp_leos_lldp_config_group = object_group((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 2, 1)).setObjects(('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpMessageTxInterval'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpMessageTxHoldMultiplier'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpReinitDelay'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpTxDelay'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpPortConfigAdminStatus'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpPortConfigTLVsTxEnable'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpManAddrPortsTxEnable')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): wwp_leos_lldp_config_group = wwpLeosLldpConfigGroup.setStatus('deprecated') wwp_leos_lldp_stats_group = object_group((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 2, 2)).setObjects(('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpStatsFramesDiscardedTotal'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpStatsFramesInErrors'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpStatsFramesInTotal'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpStatsFramesOutTotal'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpStatsTLVsInErrors'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpStatsTLVsDiscardedTotal'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpStatsTLVsUnrecognizedTotal'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpCounterDiscontinuityTime')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): wwp_leos_lldp_stats_group = wwpLeosLldpStatsGroup.setStatus('deprecated') wwp_leos_lldp_loc_sys_group = object_group((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 2, 3)).setObjects(('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocChassisType'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocChassisId'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocPortType'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocPortId')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): wwp_leos_lldp_loc_sys_group = wwpLeosLldpLocSysGroup.setStatus('deprecated') wwp_leos_lldp_opt_loc_sys_group = object_group((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 2, 4)).setObjects(('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocPortDesc'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocSysDesc'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocSysName'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocSysCapSupported'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocSysCapEnabled'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocManAddrIfSubtype'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocManAddrIfId'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpLocManAddrOID')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): wwp_leos_lldp_opt_loc_sys_group = wwpLeosLldpOptLocSysGroup.setStatus('deprecated') wwp_leos_lldp_rem_sys_group = object_group((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 2, 2, 5)).setObjects(('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemRemoteChassisType'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemRemoteChassis'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemRemotePortType'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemRemotePort'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemPortDesc'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemSysName'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemSysDesc'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemSysCapSupported'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemSysCapEnabled'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemManAddrIfSubtype'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemManAddrIfId'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemManAddrOID'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemUnknownTLVInfo'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpRemOrgDefInfo')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): wwp_leos_lldp_rem_sys_group = wwpLeosLldpRemSysGroup.setStatus('deprecated') wwp_leos_lldp_port_speed_change_trap = notification_type((1, 3, 6, 1, 4, 1, 6141, 2, 60, 26, 3, 0, 1)).setObjects(('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpPortConfigPortNum'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpPortConfigOperPortSpeed'), ('WWP-LEOS-LLDP-MIB', 'wwpLeosLldpPortConfigReqPortSpeed')) if mibBuilder.loadTexts: wwpLeosLldpPortSpeedChangeTrap.setStatus('current') mibBuilder.exportSymbols('WWP-LEOS-LLDP-MIB', WwpLeosLldpPortNumber=WwpLeosLldpPortNumber, wwpLeosLldpLocManAddrLen=wwpLeosLldpLocManAddrLen, wwpLeosLldpRemOrgDefInfoOUI=wwpLeosLldpRemOrgDefInfoOUI, wwpLeosLldpLocPortEntry=wwpLeosLldpLocPortEntry, WwpLeosLldpManAddrIfSubtype=WwpLeosLldpManAddrIfSubtype, wwpLeosLldpStatsFramesOutTotal=wwpLeosLldpStatsFramesOutTotal, wwpLeosLldpRemManAddrIfSubtype=wwpLeosLldpRemManAddrIfSubtype, wwpLeosLldpMIB=wwpLeosLldpMIB, wwpLeosLldpLocPortTable=wwpLeosLldpLocPortTable, wwpLeosLldpRemUnknownTLVEntry=wwpLeosLldpRemUnknownTLVEntry, wwpLeosLldpRemSysCapEnabled=wwpLeosLldpRemSysCapEnabled, wwpLeosLldpRemOrgDefInfoSubtype=wwpLeosLldpRemOrgDefInfoSubtype, wwpLeosLldpRemRemoteChassis=wwpLeosLldpRemRemoteChassis, wwpLeosLldpRemSysName=wwpLeosLldpRemSysName, wwpLeosLldpRemUnknownTLVInfo=wwpLeosLldpRemUnknownTLVInfo, wwpLeosLldpRemManAddrEntry=wwpLeosLldpRemManAddrEntry, wwpLeosLldpPortConfigPortNum=wwpLeosLldpPortConfigPortNum, wwpLeosLldpStatsFramesInErrors=wwpLeosLldpStatsFramesInErrors, wwpLeosLldpLocManAddrOID=wwpLeosLldpLocManAddrOID, wwpLeosLldpPortConfigReqPortSpeed=wwpLeosLldpPortConfigReqPortSpeed, wwpLeosLldpReinitDelay=wwpLeosLldpReinitDelay, wwpLeosLldpPortConfigTable=wwpLeosLldpPortConfigTable, wwpLeosLldpConfigGroup=wwpLeosLldpConfigGroup, wwpLeosLldpStatsEntry=wwpLeosLldpStatsEntry, wwpLeosLldpStatsTLVsUnrecognizedTotal=wwpLeosLldpStatsTLVsUnrecognizedTotal, wwpLeosLldpLocalSystemData=wwpLeosLldpLocalSystemData, wwpLeosLldpLocSysCapEnabled=wwpLeosLldpLocSysCapEnabled, wwpLeosLldpRemUnknownTLVTable=wwpLeosLldpRemUnknownTLVTable, wwpLeosLldpStatsFramesDiscardedTotal=wwpLeosLldpStatsFramesDiscardedTotal, wwpLeosLldpPortConfigEntry=wwpLeosLldpPortConfigEntry, wwpLeosLldpCompliances=wwpLeosLldpCompliances, wwpLeosLldpRemRemotePortType=wwpLeosLldpRemRemotePortType, wwpLeosLldpGroups=wwpLeosLldpGroups, wwpLeosLldpOptLocSysGroup=wwpLeosLldpOptLocSysGroup, wwpLeosLldpPortConfigTLVsTxEnable=wwpLeosLldpPortConfigTLVsTxEnable, wwpLeosLldpStatsPortNum=wwpLeosLldpStatsPortNum, wwpLeosLldpRemSysDesc=wwpLeosLldpRemSysDesc, wwpLeosLldpLocPortType=wwpLeosLldpLocPortType, wwpLeosLldpLocSysName=wwpLeosLldpLocSysName, wwpLeosLldpRemRemoteChassisType=wwpLeosLldpRemRemoteChassisType, wwpLeosLldpStatsClear=wwpLeosLldpStatsClear, wwpLeosLldpExtentions=wwpLeosLldpExtentions, wwpLeosLldpMessageTxHoldMultiplier=wwpLeosLldpMessageTxHoldMultiplier, wwpLeosLldpLocManAddrType=wwpLeosLldpLocManAddrType, wwpLeosLldpRemUnknownTLVType=wwpLeosLldpRemUnknownTLVType, wwpLeosLldpStatsTLVsInErrors=wwpLeosLldpStatsTLVsInErrors, wwpLeosLldpPortConfigStatsClear=wwpLeosLldpPortConfigStatsClear, wwpLeosLldpLocManAddrEntry=wwpLeosLldpLocManAddrEntry, wwpLeosLldpRemIndex=wwpLeosLldpRemIndex, WwpLeosLldpPortIdType=WwpLeosLldpPortIdType, wwpLeosLldpConfigManAddrEntry=wwpLeosLldpConfigManAddrEntry, wwpLeosLldpRemTable=wwpLeosLldpRemTable, wwpLeosLldpLocManAddrIfSubtype=wwpLeosLldpLocManAddrIfSubtype, wwpLeosLldpLocPortId=wwpLeosLldpLocPortId, wwpLeosLldpLocPortDesc=wwpLeosLldpLocPortDesc, wwpLeosLldpRemoteSystemsData=wwpLeosLldpRemoteSystemsData, WwpLeosLldpPortId=WwpLeosLldpPortId, WwpLeosLldpChassisId=WwpLeosLldpChassisId, wwpLeosLldpRemTimeMark=wwpLeosLldpRemTimeMark, wwpLeosLldpManAddrPortsTxEnable=wwpLeosLldpManAddrPortsTxEnable, wwpLeosLldpLocPortNum=wwpLeosLldpLocPortNum, wwpLeosLldpRemOrgDefInfo=wwpLeosLldpRemOrgDefInfo, wwpLeosLldpLocSysGroup=wwpLeosLldpLocSysGroup, wwpLeosLldpRemSysGroup=wwpLeosLldpRemSysGroup, SnmpAdminString=SnmpAdminString, wwpLeosLldpLocManAddr=wwpLeosLldpLocManAddr, wwpLeosLldpCompliance=wwpLeosLldpCompliance, WwpLeosLldpChassisIdType=WwpLeosLldpChassisIdType, wwpLeosLldpConfiguration=wwpLeosLldpConfiguration, TimeFilter=TimeFilter, wwpLeosLldpPortConfigAdminStatus=wwpLeosLldpPortConfigAdminStatus, WwpLeosLldpPortList=WwpLeosLldpPortList, wwpLeosLldpRemSysCapSupported=wwpLeosLldpRemSysCapSupported, wwpLeosLldpStatsTable=wwpLeosLldpStatsTable, wwpLeosLldpTxDelay=wwpLeosLldpTxDelay, wwpLeosLldpRemManAddrOID=wwpLeosLldpRemManAddrOID, wwpLeosLldpConformance=wwpLeosLldpConformance, wwpLeosLldpLocSysDesc=wwpLeosLldpLocSysDesc, wwpLeosLldpRemLocalPortNum=wwpLeosLldpRemLocalPortNum, wwpLeosLldpRemPortDesc=wwpLeosLldpRemPortDesc, wwpLeosLldpGlobalAtts=wwpLeosLldpGlobalAtts, wwpLeosLldpRemManAddrIfId=wwpLeosLldpRemManAddrIfId, wwpLeosLldpPortSpeedChangeTrap=wwpLeosLldpPortSpeedChangeTrap, wwpLeosLldpLocChassisType=wwpLeosLldpLocChassisType, PYSNMP_MODULE_ID=wwpLeosLldpMIB, wwpLeosLldpLocChassisId=wwpLeosLldpLocChassisId, wwpLeosLldpRemOrgDefInfoIndex=wwpLeosLldpRemOrgDefInfoIndex, wwpLeosLldpRemManAddrType=wwpLeosLldpRemManAddrType, wwpLeosLldpStatsFramesInTotal=wwpLeosLldpStatsFramesInTotal, wwpLeosLldpLocSysCapSupported=wwpLeosLldpLocSysCapSupported, wwpLeosLldpCounterDiscontinuityTime=wwpLeosLldpCounterDiscontinuityTime, wwpLeosLldpMessageTxInterval=wwpLeosLldpMessageTxInterval, wwpLeosLldpRemManAddrTable=wwpLeosLldpRemManAddrTable, wwpLeosLldpLocManAddrIfId=wwpLeosLldpLocManAddrIfId, wwpLeosLldpRemOrgDefInfoTable=wwpLeosLldpRemOrgDefInfoTable, wwpLeosLldpRemEntry=wwpLeosLldpRemEntry, wwpLeosLldpNotifMIBNotification=wwpLeosLldpNotifMIBNotification, WwpLeosLldpSystemCapabilitiesMap=WwpLeosLldpSystemCapabilitiesMap, wwpLeosLldpStatsGroup=wwpLeosLldpStatsGroup, WwpLeosLldpManAddress=WwpLeosLldpManAddress, wwpLeosLldpStatistics=wwpLeosLldpStatistics, wwpLeosLldpLocManAddrTable=wwpLeosLldpLocManAddrTable, wwpLeosLldpMIBObjects=wwpLeosLldpMIBObjects, wwpLeosLldpConfigManAddrTable=wwpLeosLldpConfigManAddrTable, wwpLeosLldpStatsTLVsDiscardedTotal=wwpLeosLldpStatsTLVsDiscardedTotal, wwpLeosLldpPortConfigOperPortSpeed=wwpLeosLldpPortConfigOperPortSpeed, wwpLeosLldpRemRemotePort=wwpLeosLldpRemRemotePort, wwpLeosLldpNotifMIBNotificationPrefix=wwpLeosLldpNotifMIBNotificationPrefix, wwpLeosLldpRemManAddr=wwpLeosLldpRemManAddr, wwpLeosLldpRemOrgDefInfoEntry=wwpLeosLldpRemOrgDefInfoEntry)
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'CYX' configs = { 'server': { 'host': '0.0.0.0', 'port': 9090 }, 'qshield': { 'jars': '/home/hadoop/qshield/opaque-ext/target/scala-2.11/opaque-ext_2.11-0.1.jar,/home/hadoop/qshield/data-owner/target/scala-2.11/data-owner_2.11-0.1.jar', 'master': 'spark://SGX:7077' } }
__author__ = 'CYX' configs = {'server': {'host': '0.0.0.0', 'port': 9090}, 'qshield': {'jars': '/home/hadoop/qshield/opaque-ext/target/scala-2.11/opaque-ext_2.11-0.1.jar,/home/hadoop/qshield/data-owner/target/scala-2.11/data-owner_2.11-0.1.jar', 'master': 'spark://SGX:7077'}}
# # PySNMP MIB module VLAN (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/VLAN # Produced by pysmi-0.3.4 at Mon Apr 29 21:27: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) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ConstraintsUnion, ValueRangeConstraint, SingleValueConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "ValueRangeConstraint", "SingleValueConstraint", "ValueSizeConstraint") interface, = mibBuilder.importSymbols("ExaltComProducts", "interface") VlanGroupT, VlanStatusT = mibBuilder.importSymbols("ExaltComm", "VlanGroupT", "VlanStatusT") ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup") IpAddress, Integer32, Counter64, ModuleIdentity, Bits, Counter32, NotificationType, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, TimeTicks, Gauge32, iso, MibIdentifier = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "Integer32", "Counter64", "ModuleIdentity", "Bits", "Counter32", "NotificationType", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "TimeTicks", "Gauge32", "iso", "MibIdentifier") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") vlan = ObjectIdentity((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3)) if mibBuilder.loadTexts: vlan.setStatus('current') vlanStatus = MibScalar((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3, 1), VlanStatusT()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vlanStatus.setStatus('current') vlanDefaultMgmtId = MibScalar((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vlanDefaultMgmtId.setStatus('current') vlanInterfaces = MibTable((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3, 6), ) if mibBuilder.loadTexts: vlanInterfaces.setStatus('current') vlanInterfacesEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3, 6, 1), ).setIndexNames((0, "VLAN", "vlanDefaultId")) if mibBuilder.loadTexts: vlanInterfacesEntry.setStatus('current') vlanDefaultId = MibTableColumn((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vlanDefaultId.setStatus('current') vlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3, 6, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 1024))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vlanID.setStatus('current') commitVlanSettings = MibScalar((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3, 1000), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(4, 200))).setMaxAccess("readwrite") if mibBuilder.loadTexts: commitVlanSettings.setStatus('current') mibBuilder.exportSymbols("VLAN", vlanInterfaces=vlanInterfaces, vlanDefaultMgmtId=vlanDefaultMgmtId, vlan=vlan, vlanDefaultId=vlanDefaultId, vlanStatus=vlanStatus, vlanID=vlanID, commitVlanSettings=commitVlanSettings, vlanInterfacesEntry=vlanInterfacesEntry)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, constraints_union, value_range_constraint, single_value_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueRangeConstraint', 'SingleValueConstraint', 'ValueSizeConstraint') (interface,) = mibBuilder.importSymbols('ExaltComProducts', 'interface') (vlan_group_t, vlan_status_t) = mibBuilder.importSymbols('ExaltComm', 'VlanGroupT', 'VlanStatusT') (module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup') (ip_address, integer32, counter64, module_identity, bits, counter32, notification_type, unsigned32, mib_scalar, mib_table, mib_table_row, mib_table_column, object_identity, time_ticks, gauge32, iso, mib_identifier) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'Integer32', 'Counter64', 'ModuleIdentity', 'Bits', 'Counter32', 'NotificationType', 'Unsigned32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ObjectIdentity', 'TimeTicks', 'Gauge32', 'iso', 'MibIdentifier') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') vlan = object_identity((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3)) if mibBuilder.loadTexts: vlan.setStatus('current') vlan_status = mib_scalar((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3, 1), vlan_status_t()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vlanStatus.setStatus('current') vlan_default_mgmt_id = mib_scalar((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vlanDefaultMgmtId.setStatus('current') vlan_interfaces = mib_table((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3, 6)) if mibBuilder.loadTexts: vlanInterfaces.setStatus('current') vlan_interfaces_entry = mib_table_row((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3, 6, 1)).setIndexNames((0, 'VLAN', 'vlanDefaultId')) if mibBuilder.loadTexts: vlanInterfacesEntry.setStatus('current') vlan_default_id = mib_table_column((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vlanDefaultId.setStatus('current') vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3, 6, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 1024))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vlanID.setStatus('current') commit_vlan_settings = mib_scalar((1, 3, 6, 1, 4, 1, 25651, 1, 2, 3, 2, 3, 1000), display_string().subtype(subtypeSpec=value_size_constraint(4, 200))).setMaxAccess('readwrite') if mibBuilder.loadTexts: commitVlanSettings.setStatus('current') mibBuilder.exportSymbols('VLAN', vlanInterfaces=vlanInterfaces, vlanDefaultMgmtId=vlanDefaultMgmtId, vlan=vlan, vlanDefaultId=vlanDefaultId, vlanStatus=vlanStatus, vlanID=vlanID, commitVlanSettings=commitVlanSettings, vlanInterfacesEntry=vlanInterfacesEntry)
def solution(A, B): tmp = '{0:b}'.format(A * B) return list(tmp).count('1')
def solution(A, B): tmp = '{0:b}'.format(A * B) return list(tmp).count('1')
""" Add the scientific notation to the axes label Adapted from: https://peytondmurray.github.io/coding/fixing-matplotlibs-scientific-notation/# """ def label_offset(ax, axis=None): if axis == "y" or not axis: fmt = ax.yaxis.get_major_formatter() ax.yaxis.offsetText.set_visible(False) set_label = ax.set_ylabel label = ax.get_ylabel() elif axis == "x" or not axis: fmt = ax.xaxis.get_major_formatter() ax.xaxis.offsetText.set_visible(False) set_label = ax.set_xlabel label = ax.get_xlabel() def update_label(event_axes): offset = fmt.get_offset() if offset == '': set_label("{}".format(label)) else: set_label("{} {}".format(label, offset)) return ax.callbacks.connect("ylim_changed", update_label) ax.callbacks.connect("xlim_changed", update_label) ax.figure.canvas.draw() update_label(None) return
""" Add the scientific notation to the axes label Adapted from: https://peytondmurray.github.io/coding/fixing-matplotlibs-scientific-notation/# """ def label_offset(ax, axis=None): if axis == 'y' or not axis: fmt = ax.yaxis.get_major_formatter() ax.yaxis.offsetText.set_visible(False) set_label = ax.set_ylabel label = ax.get_ylabel() elif axis == 'x' or not axis: fmt = ax.xaxis.get_major_formatter() ax.xaxis.offsetText.set_visible(False) set_label = ax.set_xlabel label = ax.get_xlabel() def update_label(event_axes): offset = fmt.get_offset() if offset == '': set_label('{}'.format(label)) else: set_label('{} {}'.format(label, offset)) return ax.callbacks.connect('ylim_changed', update_label) ax.callbacks.connect('xlim_changed', update_label) ax.figure.canvas.draw() update_label(None) return
class Action: """ This is the Action class. It is already in the test cases, so please don't put it in your solution. """ def __init__(self, object_, transaction, is_write): self.object_ = object_ self.transaction = transaction self.is_write = is_write def __str__(self): return f"Action({self.object_}, {self.transaction}, {self.is_write})" def detect_conflict(action_a, action_b): if action_a.transaction == action_b.transaction: return True if action_a.is_write == action_b.is_write == False: return False elif action_a.object_ != action_b.object_: return False else: return True
class Action: """ This is the Action class. It is already in the test cases, so please don't put it in your solution. """ def __init__(self, object_, transaction, is_write): self.object_ = object_ self.transaction = transaction self.is_write = is_write def __str__(self): return f'Action({self.object_}, {self.transaction}, {self.is_write})' def detect_conflict(action_a, action_b): if action_a.transaction == action_b.transaction: return True if action_a.is_write == action_b.is_write == False: return False elif action_a.object_ != action_b.object_: return False else: return True
class WebPermissionAttribute(CodeAccessSecurityAttribute, _Attribute): """ Specifies permission to access Internet resources. This class cannot be inherited. WebPermissionAttribute(action: SecurityAction) """ def CreatePermission(self): """ CreatePermission(self: WebPermissionAttribute) -> IPermission Creates and returns a new instance of the System.Net.WebPermission class. Returns: A System.Net.WebPermission corresponding to the security declaration. """ pass def __init__(self, *args): """ x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """ pass @staticmethod def __new__(self, action): """ __new__(cls: type,action: SecurityAction) """ pass def __reduce_ex__(self, *args): pass Accept = property(lambda self: object(), lambda self, v: None, lambda self: None) """Gets or sets the URI string accepted by the current System.Net.WebPermissionAttribute. Get: Accept(self: WebPermissionAttribute) -> str Set: Accept(self: WebPermissionAttribute)=value """ AcceptPattern = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a regular expression pattern that describes the URI accepted by the current System.Net.WebPermissionAttribute. Get: AcceptPattern(self: WebPermissionAttribute) -> str Set: AcceptPattern(self: WebPermissionAttribute)=value """ Connect = property(lambda self: object(), lambda self, v: None, lambda self: None) """Gets or sets the URI connection string controlled by the current System.Net.WebPermissionAttribute. Get: Connect(self: WebPermissionAttribute) -> str Set: Connect(self: WebPermissionAttribute)=value """ ConnectPattern = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a regular expression pattern that describes the URI connection controlled by the current System.Net.WebPermissionAttribute. Get: ConnectPattern(self: WebPermissionAttribute) -> str Set: ConnectPattern(self: WebPermissionAttribute)=value """
class Webpermissionattribute(CodeAccessSecurityAttribute, _Attribute): """ Specifies permission to access Internet resources. This class cannot be inherited. WebPermissionAttribute(action: SecurityAction) """ def create_permission(self): """ CreatePermission(self: WebPermissionAttribute) -> IPermission Creates and returns a new instance of the System.Net.WebPermission class. Returns: A System.Net.WebPermission corresponding to the security declaration. """ pass def __init__(self, *args): """ x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """ pass @staticmethod def __new__(self, action): """ __new__(cls: type,action: SecurityAction) """ pass def __reduce_ex__(self, *args): pass accept = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the URI string accepted by the current System.Net.WebPermissionAttribute.\n\n\n\nGet: Accept(self: WebPermissionAttribute) -> str\n\n\n\nSet: Accept(self: WebPermissionAttribute)=value\n\n' accept_pattern = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a regular expression pattern that describes the URI accepted by the current System.Net.WebPermissionAttribute.\n\n\n\nGet: AcceptPattern(self: WebPermissionAttribute) -> str\n\n\n\nSet: AcceptPattern(self: WebPermissionAttribute)=value\n\n' connect = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the URI connection string controlled by the current System.Net.WebPermissionAttribute.\n\n\n\nGet: Connect(self: WebPermissionAttribute) -> str\n\n\n\nSet: Connect(self: WebPermissionAttribute)=value\n\n' connect_pattern = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a regular expression pattern that describes the URI connection controlled by the current System.Net.WebPermissionAttribute.\n\n\n\nGet: ConnectPattern(self: WebPermissionAttribute) -> str\n\n\n\nSet: ConnectPattern(self: WebPermissionAttribute)=value\n\n'
class Pagination: def __init__(self, offset, limit): self._offset = offset self._limit = limit def clean_offset(self): return self._offset >= 0 def clean_limit(self): return self._limit > 0 def clean(self): return self.clean_offset() and self.clean_limit() @property def offset(self): return self._offset @property def limit(self): return self._limit class Filter: def __init__(self, name, *values): self.name = name self.values = values
class Pagination: def __init__(self, offset, limit): self._offset = offset self._limit = limit def clean_offset(self): return self._offset >= 0 def clean_limit(self): return self._limit > 0 def clean(self): return self.clean_offset() and self.clean_limit() @property def offset(self): return self._offset @property def limit(self): return self._limit class Filter: def __init__(self, name, *values): self.name = name self.values = values
# Copyright (c) 2018-2021 Kaiyang Zhou # SPDX-License-Identifier: MIT # # Copyright (C) 2020-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 # __version__ = '1.2.3'
__version__ = '1.2.3'
# # PySNMP MIB module E7-Fault-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/E7-Fault-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:58: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) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint, ValueSizeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsIntersection") e7Modules, e7 = mibBuilder.importSymbols("CALIX-PRODUCT-MIB", "e7Modules", "e7") E7ObjectClass, E7AlarmType = mibBuilder.importSymbols("E7-TC", "E7ObjectClass", "E7AlarmType") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Integer32, Bits, MibIdentifier, Gauge32, ObjectIdentity, ModuleIdentity, iso, NotificationType, TimeTicks, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, Unsigned32, IpAddress, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "Bits", "MibIdentifier", "Gauge32", "ObjectIdentity", "ModuleIdentity", "iso", "NotificationType", "TimeTicks", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Unsigned32", "IpAddress", "Counter32") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") e7FaultModule = ModuleIdentity((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 1, 2)) if mibBuilder.loadTexts: e7FaultModule.setLastUpdated('200912100000Z') if mibBuilder.loadTexts: e7FaultModule.setOrganization('Calix') if mibBuilder.loadTexts: e7FaultModule.setContactInfo('Calix') if mibBuilder.loadTexts: e7FaultModule.setDescription('Describes all the alarm retrieval related to Calix E7, E5-400, and E5-312 products.') e7Fault = MibIdentifier((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3)) e7Alarms = MibIdentifier((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1)) e7AlarmCount = MibIdentifier((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 2)) e7AlarmTable = MibTable((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1), ) if mibBuilder.loadTexts: e7AlarmTable.setStatus('current') if mibBuilder.loadTexts: e7AlarmTable.setDescription('This table holds all the active alarms') e7AlarmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1), ).setIndexNames((0, "E7-Fault-MIB", "e7AlarmObjectClass"), (0, "E7-Fault-MIB", "e7AlarmObjectInstance1"), (0, "E7-Fault-MIB", "e7AlarmObjectInstance2"), (0, "E7-Fault-MIB", "e7AlarmObjectInstance3"), (0, "E7-Fault-MIB", "e7AlarmObjectInstance4"), (0, "E7-Fault-MIB", "e7AlarmObjectInstance5"), (0, "E7-Fault-MIB", "e7AlarmObjectInstance6"), (0, "E7-Fault-MIB", "e7AlarmObjectInstance7"), (0, "E7-Fault-MIB", "e7AlarmObjectInstance8"), (0, "E7-Fault-MIB", "e7AlarmType")) if mibBuilder.loadTexts: e7AlarmEntry.setStatus('current') if mibBuilder.loadTexts: e7AlarmEntry.setDescription('List of attributes regarding alarm table') e7AlarmObjectClass = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 1), E7ObjectClass()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmObjectClass.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectClass.setDescription('Object Class for an alarm') e7AlarmObjectInstance1 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmObjectInstance1.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance1.setDescription('Object instance for an alarm, level 1') e7AlarmObjectInstance2 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmObjectInstance2.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance2.setDescription('Object instance for an alarm, level 2') e7AlarmObjectInstance3 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmObjectInstance3.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance3.setDescription('Object instance for an alarm, level 3') e7AlarmObjectInstance4 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmObjectInstance4.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance4.setDescription('Object instance for an alarm, level 4') e7AlarmObjectInstance5 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmObjectInstance5.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance5.setDescription('Object instance for an alarm, level 5') e7AlarmObjectInstance6 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmObjectInstance6.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance6.setDescription('Object instance for an alarm, level 6') e7AlarmObjectInstance7 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmObjectInstance7.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance7.setDescription('Object instance for an alarm, level 7') e7AlarmObjectInstance8 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmObjectInstance8.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance8.setDescription('Object instance for an alarm, level 8') e7AlarmType = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 10), E7AlarmType()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmType.setStatus('current') if mibBuilder.loadTexts: e7AlarmType.setDescription('Unique type for an alarm') e7AlarmSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("critical", 1), ("major", 2), ("minor", 3), ("warning", 4), ("unknown", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmSeverity.setStatus('current') if mibBuilder.loadTexts: e7AlarmSeverity.setDescription('Severity of the alarm') e7AlarmTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 50))).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmTimeStamp.setStatus('current') if mibBuilder.loadTexts: e7AlarmTimeStamp.setDescription('Timestamp indicating the set/clear time of the alarm') e7AlarmServiceAffecting = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmServiceAffecting.setStatus('current') if mibBuilder.loadTexts: e7AlarmServiceAffecting.setDescription('Indicated the nature of the alarm i.e. service affecting or not') e7AlarmLocationInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("nearEnd", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmLocationInfo.setStatus('current') if mibBuilder.loadTexts: e7AlarmLocationInfo.setDescription('') e7AlarmText = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 15), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmText.setStatus('current') if mibBuilder.loadTexts: e7AlarmText.setDescription('Alarm description') e7AlarmTime = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmTime.setStatus('current') if mibBuilder.loadTexts: e7AlarmTime.setDescription('UTC time') e7AlarmCliObject = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 17), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmCliObject.setStatus('current') if mibBuilder.loadTexts: e7AlarmCliObject.setDescription('The short CLI name for the object class and instance') e7AlarmSecObjectClass = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 18), E7ObjectClass()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmSecObjectClass.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectClass.setDescription('Secondary Object Class for an alarm') e7AlarmSecObjectInstance1 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 19), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmSecObjectInstance1.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance1.setDescription('Secondary object instance for an alarm, level 1') e7AlarmSecObjectInstance2 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 20), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmSecObjectInstance2.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance2.setDescription('Secondary object instance for an alarm, level 2') e7AlarmSecObjectInstance3 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 21), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmSecObjectInstance3.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance3.setDescription('Secondary object instance for an alarm, level 3') e7AlarmSecObjectInstance4 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 22), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmSecObjectInstance4.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance4.setDescription('Secondary object instance for an alarm, level 4') e7AlarmSecObjectInstance5 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 23), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmSecObjectInstance5.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance5.setDescription('Secondary object instance for an alarm, level 5') e7AlarmSecObjectInstance6 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 24), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmSecObjectInstance6.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance6.setDescription('Secondary object instance for an alarm, level 6') e7AlarmSecObjectInstance7 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 25), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmSecObjectInstance7.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance7.setDescription('Secondary object instance for an alarm, level 7') e7AlarmSecObjectInstance8 = MibTableColumn((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 26), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmSecObjectInstance8.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance8.setDescription('Secondary object instance for an alarm, level 8') e7AlarmTableEnd = MibScalar((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmTableEnd.setStatus('current') if mibBuilder.loadTexts: e7AlarmTableEnd.setDescription('This attribute marks the end of the e7AlarmTable') e7AlarmCountCritical = MibScalar((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmCountCritical.setStatus('current') if mibBuilder.loadTexts: e7AlarmCountCritical.setDescription('The count of critical alarms') e7AlarmCountMajor = MibScalar((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 2, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmCountMajor.setStatus('current') if mibBuilder.loadTexts: e7AlarmCountMajor.setDescription('The count of major alarms') e7AlarmCountMinor = MibScalar((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 2, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmCountMinor.setStatus('current') if mibBuilder.loadTexts: e7AlarmCountMinor.setDescription('The count of minor alarms') e7AlarmCountWarning = MibScalar((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 2, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmCountWarning.setStatus('current') if mibBuilder.loadTexts: e7AlarmCountWarning.setDescription('The count of warning alarms (reported conditions)') e7AlarmCountInfo = MibScalar((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 2, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: e7AlarmCountInfo.setStatus('current') if mibBuilder.loadTexts: e7AlarmCountInfo.setDescription('The count of info alarms (unreported conditions)') mibBuilder.exportSymbols("E7-Fault-MIB", e7AlarmCliObject=e7AlarmCliObject, e7AlarmSecObjectClass=e7AlarmSecObjectClass, e7FaultModule=e7FaultModule, PYSNMP_MODULE_ID=e7FaultModule, e7AlarmObjectClass=e7AlarmObjectClass, e7AlarmEntry=e7AlarmEntry, e7AlarmCountMajor=e7AlarmCountMajor, e7AlarmTimeStamp=e7AlarmTimeStamp, e7AlarmObjectInstance1=e7AlarmObjectInstance1, e7AlarmCount=e7AlarmCount, e7AlarmSecObjectInstance2=e7AlarmSecObjectInstance2, e7AlarmObjectInstance6=e7AlarmObjectInstance6, e7AlarmSecObjectInstance6=e7AlarmSecObjectInstance6, e7AlarmSecObjectInstance7=e7AlarmSecObjectInstance7, e7AlarmSeverity=e7AlarmSeverity, e7AlarmText=e7AlarmText, e7AlarmTable=e7AlarmTable, e7AlarmObjectInstance7=e7AlarmObjectInstance7, e7AlarmLocationInfo=e7AlarmLocationInfo, e7AlarmTableEnd=e7AlarmTableEnd, e7AlarmObjectInstance5=e7AlarmObjectInstance5, e7AlarmCountMinor=e7AlarmCountMinor, e7Alarms=e7Alarms, e7AlarmObjectInstance2=e7AlarmObjectInstance2, e7AlarmServiceAffecting=e7AlarmServiceAffecting, e7AlarmSecObjectInstance3=e7AlarmSecObjectInstance3, e7AlarmSecObjectInstance5=e7AlarmSecObjectInstance5, e7AlarmSecObjectInstance8=e7AlarmSecObjectInstance8, e7AlarmSecObjectInstance1=e7AlarmSecObjectInstance1, e7Fault=e7Fault, e7AlarmObjectInstance3=e7AlarmObjectInstance3, e7AlarmObjectInstance4=e7AlarmObjectInstance4, e7AlarmObjectInstance8=e7AlarmObjectInstance8, e7AlarmType=e7AlarmType, e7AlarmCountCritical=e7AlarmCountCritical, e7AlarmCountWarning=e7AlarmCountWarning, e7AlarmTime=e7AlarmTime, e7AlarmSecObjectInstance4=e7AlarmSecObjectInstance4, e7AlarmCountInfo=e7AlarmCountInfo)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_union, single_value_constraint, value_size_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsIntersection') (e7_modules, e7) = mibBuilder.importSymbols('CALIX-PRODUCT-MIB', 'e7Modules', 'e7') (e7_object_class, e7_alarm_type) = mibBuilder.importSymbols('E7-TC', 'E7ObjectClass', 'E7AlarmType') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (integer32, bits, mib_identifier, gauge32, object_identity, module_identity, iso, notification_type, time_ticks, counter64, mib_scalar, mib_table, mib_table_row, mib_table_column, unsigned32, ip_address, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'Bits', 'MibIdentifier', 'Gauge32', 'ObjectIdentity', 'ModuleIdentity', 'iso', 'NotificationType', 'TimeTicks', 'Counter64', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Unsigned32', 'IpAddress', 'Counter32') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') e7_fault_module = module_identity((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 1, 2)) if mibBuilder.loadTexts: e7FaultModule.setLastUpdated('200912100000Z') if mibBuilder.loadTexts: e7FaultModule.setOrganization('Calix') if mibBuilder.loadTexts: e7FaultModule.setContactInfo('Calix') if mibBuilder.loadTexts: e7FaultModule.setDescription('Describes all the alarm retrieval related to Calix E7, E5-400, and E5-312 products.') e7_fault = mib_identifier((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3)) e7_alarms = mib_identifier((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1)) e7_alarm_count = mib_identifier((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 2)) e7_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1)) if mibBuilder.loadTexts: e7AlarmTable.setStatus('current') if mibBuilder.loadTexts: e7AlarmTable.setDescription('This table holds all the active alarms') e7_alarm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1)).setIndexNames((0, 'E7-Fault-MIB', 'e7AlarmObjectClass'), (0, 'E7-Fault-MIB', 'e7AlarmObjectInstance1'), (0, 'E7-Fault-MIB', 'e7AlarmObjectInstance2'), (0, 'E7-Fault-MIB', 'e7AlarmObjectInstance3'), (0, 'E7-Fault-MIB', 'e7AlarmObjectInstance4'), (0, 'E7-Fault-MIB', 'e7AlarmObjectInstance5'), (0, 'E7-Fault-MIB', 'e7AlarmObjectInstance6'), (0, 'E7-Fault-MIB', 'e7AlarmObjectInstance7'), (0, 'E7-Fault-MIB', 'e7AlarmObjectInstance8'), (0, 'E7-Fault-MIB', 'e7AlarmType')) if mibBuilder.loadTexts: e7AlarmEntry.setStatus('current') if mibBuilder.loadTexts: e7AlarmEntry.setDescription('List of attributes regarding alarm table') e7_alarm_object_class = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 1), e7_object_class()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmObjectClass.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectClass.setDescription('Object Class for an alarm') e7_alarm_object_instance1 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmObjectInstance1.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance1.setDescription('Object instance for an alarm, level 1') e7_alarm_object_instance2 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmObjectInstance2.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance2.setDescription('Object instance for an alarm, level 2') e7_alarm_object_instance3 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmObjectInstance3.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance3.setDescription('Object instance for an alarm, level 3') e7_alarm_object_instance4 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmObjectInstance4.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance4.setDescription('Object instance for an alarm, level 4') e7_alarm_object_instance5 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmObjectInstance5.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance5.setDescription('Object instance for an alarm, level 5') e7_alarm_object_instance6 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmObjectInstance6.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance6.setDescription('Object instance for an alarm, level 6') e7_alarm_object_instance7 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmObjectInstance7.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance7.setDescription('Object instance for an alarm, level 7') e7_alarm_object_instance8 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmObjectInstance8.setStatus('current') if mibBuilder.loadTexts: e7AlarmObjectInstance8.setDescription('Object instance for an alarm, level 8') e7_alarm_type = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 10), e7_alarm_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmType.setStatus('current') if mibBuilder.loadTexts: e7AlarmType.setDescription('Unique type for an alarm') e7_alarm_severity = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('critical', 1), ('major', 2), ('minor', 3), ('warning', 4), ('unknown', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmSeverity.setStatus('current') if mibBuilder.loadTexts: e7AlarmSeverity.setDescription('Severity of the alarm') e7_alarm_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 12), octet_string().subtype(subtypeSpec=value_size_constraint(1, 50))).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmTimeStamp.setStatus('current') if mibBuilder.loadTexts: e7AlarmTimeStamp.setDescription('Timestamp indicating the set/clear time of the alarm') e7_alarm_service_affecting = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmServiceAffecting.setStatus('current') if mibBuilder.loadTexts: e7AlarmServiceAffecting.setDescription('Indicated the nature of the alarm i.e. service affecting or not') e7_alarm_location_info = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('nearEnd', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmLocationInfo.setStatus('current') if mibBuilder.loadTexts: e7AlarmLocationInfo.setDescription('') e7_alarm_text = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 15), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmText.setStatus('current') if mibBuilder.loadTexts: e7AlarmText.setDescription('Alarm description') e7_alarm_time = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 16), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmTime.setStatus('current') if mibBuilder.loadTexts: e7AlarmTime.setDescription('UTC time') e7_alarm_cli_object = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 17), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmCliObject.setStatus('current') if mibBuilder.loadTexts: e7AlarmCliObject.setDescription('The short CLI name for the object class and instance') e7_alarm_sec_object_class = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 18), e7_object_class()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmSecObjectClass.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectClass.setDescription('Secondary Object Class for an alarm') e7_alarm_sec_object_instance1 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 19), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmSecObjectInstance1.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance1.setDescription('Secondary object instance for an alarm, level 1') e7_alarm_sec_object_instance2 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 20), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmSecObjectInstance2.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance2.setDescription('Secondary object instance for an alarm, level 2') e7_alarm_sec_object_instance3 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 21), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmSecObjectInstance3.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance3.setDescription('Secondary object instance for an alarm, level 3') e7_alarm_sec_object_instance4 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 22), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmSecObjectInstance4.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance4.setDescription('Secondary object instance for an alarm, level 4') e7_alarm_sec_object_instance5 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 23), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmSecObjectInstance5.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance5.setDescription('Secondary object instance for an alarm, level 5') e7_alarm_sec_object_instance6 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 24), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmSecObjectInstance6.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance6.setDescription('Secondary object instance for an alarm, level 6') e7_alarm_sec_object_instance7 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 25), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmSecObjectInstance7.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance7.setDescription('Secondary object instance for an alarm, level 7') e7_alarm_sec_object_instance8 = mib_table_column((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 1, 1, 26), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmSecObjectInstance8.setStatus('current') if mibBuilder.loadTexts: e7AlarmSecObjectInstance8.setDescription('Secondary object instance for an alarm, level 8') e7_alarm_table_end = mib_scalar((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmTableEnd.setStatus('current') if mibBuilder.loadTexts: e7AlarmTableEnd.setDescription('This attribute marks the end of the e7AlarmTable') e7_alarm_count_critical = mib_scalar((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 2, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmCountCritical.setStatus('current') if mibBuilder.loadTexts: e7AlarmCountCritical.setDescription('The count of critical alarms') e7_alarm_count_major = mib_scalar((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 2, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmCountMajor.setStatus('current') if mibBuilder.loadTexts: e7AlarmCountMajor.setDescription('The count of major alarms') e7_alarm_count_minor = mib_scalar((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 2, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmCountMinor.setStatus('current') if mibBuilder.loadTexts: e7AlarmCountMinor.setDescription('The count of minor alarms') e7_alarm_count_warning = mib_scalar((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 2, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmCountWarning.setStatus('current') if mibBuilder.loadTexts: e7AlarmCountWarning.setDescription('The count of warning alarms (reported conditions)') e7_alarm_count_info = mib_scalar((1, 3, 6, 1, 4, 1, 6321, 1, 2, 2, 3, 2, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: e7AlarmCountInfo.setStatus('current') if mibBuilder.loadTexts: e7AlarmCountInfo.setDescription('The count of info alarms (unreported conditions)') mibBuilder.exportSymbols('E7-Fault-MIB', e7AlarmCliObject=e7AlarmCliObject, e7AlarmSecObjectClass=e7AlarmSecObjectClass, e7FaultModule=e7FaultModule, PYSNMP_MODULE_ID=e7FaultModule, e7AlarmObjectClass=e7AlarmObjectClass, e7AlarmEntry=e7AlarmEntry, e7AlarmCountMajor=e7AlarmCountMajor, e7AlarmTimeStamp=e7AlarmTimeStamp, e7AlarmObjectInstance1=e7AlarmObjectInstance1, e7AlarmCount=e7AlarmCount, e7AlarmSecObjectInstance2=e7AlarmSecObjectInstance2, e7AlarmObjectInstance6=e7AlarmObjectInstance6, e7AlarmSecObjectInstance6=e7AlarmSecObjectInstance6, e7AlarmSecObjectInstance7=e7AlarmSecObjectInstance7, e7AlarmSeverity=e7AlarmSeverity, e7AlarmText=e7AlarmText, e7AlarmTable=e7AlarmTable, e7AlarmObjectInstance7=e7AlarmObjectInstance7, e7AlarmLocationInfo=e7AlarmLocationInfo, e7AlarmTableEnd=e7AlarmTableEnd, e7AlarmObjectInstance5=e7AlarmObjectInstance5, e7AlarmCountMinor=e7AlarmCountMinor, e7Alarms=e7Alarms, e7AlarmObjectInstance2=e7AlarmObjectInstance2, e7AlarmServiceAffecting=e7AlarmServiceAffecting, e7AlarmSecObjectInstance3=e7AlarmSecObjectInstance3, e7AlarmSecObjectInstance5=e7AlarmSecObjectInstance5, e7AlarmSecObjectInstance8=e7AlarmSecObjectInstance8, e7AlarmSecObjectInstance1=e7AlarmSecObjectInstance1, e7Fault=e7Fault, e7AlarmObjectInstance3=e7AlarmObjectInstance3, e7AlarmObjectInstance4=e7AlarmObjectInstance4, e7AlarmObjectInstance8=e7AlarmObjectInstance8, e7AlarmType=e7AlarmType, e7AlarmCountCritical=e7AlarmCountCritical, e7AlarmCountWarning=e7AlarmCountWarning, e7AlarmTime=e7AlarmTime, e7AlarmSecObjectInstance4=e7AlarmSecObjectInstance4, e7AlarmCountInfo=e7AlarmCountInfo)
def steps(number:int) -> int: if number <= 0: raise ValueError("Input must be a positive integer") steps = 0 while number != 1: if number % 2 == 0: number = int(number / 2) else: number = int(number * 3) + 1 steps += 1 return steps
def steps(number: int) -> int: if number <= 0: raise value_error('Input must be a positive integer') steps = 0 while number != 1: if number % 2 == 0: number = int(number / 2) else: number = int(number * 3) + 1 steps += 1 return steps
class Solution: def arrangeCoins(self, n: int) -> int: k = 0 while n > 0: k += 1 n -= k return k if not n else k - 1
class Solution: def arrange_coins(self, n: int) -> int: k = 0 while n > 0: k += 1 n -= k return k if not n else k - 1
coordinates_E0E1E1 = ((127, 91), (127, 93), (128, 92), (128, 94), (128, 142), (129, 93), (129, 95), (129, 134), (129, 135), (129, 141), (129, 142), (130, 94), (130, 133), (130, 136), (130, 140), (130, 142), (131, 95), (131, 102), (131, 133), (131, 135), (131, 138), (131, 139), (131, 142), (132, 96), (132, 98), (132, 99), (132, 100), (132, 101), (132, 103), (132, 117), (132, 119), (132, 132), (132, 134), (132, 135), (132, 136), (132, 143), (133, 97), (133, 104), (133, 115), (133, 119), (133, 131), (133, 133), (133, 134), (133, 135), (133, 136), (133, 137), (133, 140), (133, 141), (133, 144), (134, 90), (134, 99), (134, 102), (134, 103), (134, 106), (134, 107), (134, 108), (134, 114), (134, 117), (134, 118), (134, 120), (134, 131), (134, 133), (134, 134), (134, 135), (134, 136), (134, 138), (134, 143), (135, 91), (135, 101), (135, 103), (135, 104), (135, 109), (135, 110), (135, 111), (135, 112), (135, 115), (135, 116), (135, 117), (135, 118), (135, 120), (135, 130), (135, 132), (135, 133), (135, 134), (135, 135), (135, 137), (136, 92), (136, 102), (136, 104), (136, 105), (136, 106), (136, 107), (136, 108), (136, 113), (136, 114), (136, 115), (136, 116), (136, 117), (136, 118), (136, 119), (136, 121), (136, 127), (136, 128), (136, 131), (136, 132), (136, 133), (136, 134), (136, 136), (137, 92), (137, 93), (137, 102), (137, 104), (137, 105), (137, 108), (137, 109), (137, 110), (137, 111), (137, 112), (137, 113), (137, 114), (137, 115), (137, 116), (137, 117), (137, 118), (137, 119), (137, 120), (137, 123), (137, 124), (137, 125), (137, 126), (137, 130), (137, 131), (137, 132), (137, 133), (137, 134), (137, 136), (138, 92), (138, 94), (138, 102), (138, 106), (138, 107), (138, 108), (138, 113), (138, 114), (138, 115), (138, 116), (138, 117), (138, 118), (138, 119), (138, 120), (138, 121), (138, 127), (138, 128), (138, 129), (138, 130), (138, 131), (138, 132), (138, 133), (138, 134), (138, 135), (138, 136), (139, 93), (139, 102), (139, 104), (139, 105), (139, 108), (139, 109), (139, 110), (139, 111), (139, 112), (139, 115), (139, 116), (139, 117), (139, 118), (139, 119), (139, 120), (139, 121), (139, 122), (139, 123), (139, 124), (139, 125), (139, 126), (139, 127), (139, 128), (139, 129), (139, 130), (139, 131), (139, 132), (139, 133), (139, 135), (140, 101), (140, 103), (140, 113), (140, 114), (140, 117), (140, 118), (140, 119), (140, 120), (140, 121), (140, 122), (140, 123), (140, 124), (140, 125), (140, 126), (140, 127), (140, 128), (140, 129), (140, 130), (140, 131), (140, 132), (140, 133), (140, 135), (141, 100), (141, 116), (141, 117), (141, 118), (141, 119), (141, 120), (141, 121), (141, 122), (141, 123), (141, 124), (141, 125), (141, 126), (141, 127), (141, 128), (141, 129), (141, 130), (141, 131), (141, 132), (141, 133), (141, 134), (141, 135), (142, 117), (142, 119), (142, 120), (142, 121), (142, 122), (142, 123), (142, 124), (142, 125), (142, 126), (142, 127), (142, 128), (142, 129), (142, 130), (142, 131), (142, 132), (142, 134), (143, 117), (143, 119), (143, 120), (143, 121), (143, 122), (143, 123), (143, 124), (143, 125), (143, 126), (143, 127), (143, 128), (143, 129), (143, 130), (143, 131), (143, 132), (143, 134), (144, 116), (144, 118), (144, 119), (144, 120), (144, 121), (144, 122), (144, 123), (144, 124), (144, 125), (144, 126), (144, 127), (144, 128), (144, 129), (144, 130), (144, 131), (144, 132), (144, 134), (145, 115), (145, 116), (145, 117), (145, 118), (145, 119), (145, 120), (145, 121), (145, 122), (145, 123), (145, 124), (145, 125), (145, 126), (145, 127), (145, 128), (145, 129), (145, 130), (145, 131), (145, 133), (146, 115), (146, 117), (146, 118), (146, 119), (146, 120), (146, 121), (146, 122), (146, 123), (146, 124), (146, 125), (146, 126), (146, 127), (146, 128), (146, 129), (146, 130), (146, 131), (146, 133), (147, 109), (147, 111), (147, 112), (147, 113), (147, 116), (147, 117), (147, 118), (147, 119), (147, 120), (147, 121), (147, 122), (147, 123), (147, 124), (147, 125), (147, 126), (147, 127), (147, 128), (147, 129), (147, 130), (147, 131), (147, 132), (147, 134), (148, 108), (148, 115), (148, 116), (148, 117), (148, 118), (148, 119), (148, 120), (148, 121), (148, 122), (148, 123), (148, 124), (148, 125), (148, 126), (148, 127), (148, 128), (148, 129), (148, 130), (148, 131), (148, 132), (148, 134), (149, 104), (149, 105), (149, 106), (149, 109), (149, 110), (149, 111), (149, 112), (149, 113), (149, 114), (149, 115), (149, 116), (149, 117), (149, 118), (149, 119), (149, 120), (149, 121), (149, 122), (149, 123), (149, 124), (149, 125), (149, 126), (149, 127), (149, 128), (149, 129), (149, 130), (149, 131), (149, 132), (149, 133), (149, 135), (150, 107), (150, 109), (150, 110), (150, 111), (150, 112), (150, 113), (150, 114), (150, 115), (150, 116), (150, 117), (150, 121), (150, 122), (150, 123), (150, 124), (150, 125), (150, 126), (150, 127), (150, 128), (150, 129), (150, 130), (150, 131), (150, 132), (150, 135), (151, 108), (151, 110), (151, 111), (151, 112), (151, 113), (151, 114), (151, 115), (151, 118), (151, 119), (151, 120), (151, 122), (151, 123), (151, 124), (151, 125), (151, 126), (151, 127), (151, 128), (151, 129), (151, 130), (151, 131), (151, 133), (152, 109), (152, 112), (152, 113), (152, 114), (152, 121), (152, 123), (152, 124), (152, 125), (152, 126), (152, 127), (152, 128), (152, 129), (152, 130), (152, 132), (153, 110), (153, 113), (153, 115), (153, 122), (153, 124), (153, 125), (153, 126), (153, 127), (153, 128), (153, 129), (153, 131), (154, 112), (154, 115), (154, 123), (154, 125), (154, 126), (154, 127), (154, 128), (154, 130), (155, 113), (155, 114), (155, 123), (155, 125), (155, 126), (155, 127), (155, 130), (156, 113), (156, 114), (156, 124), (156, 128), (156, 130), (157, 112), (157, 114), (157, 124), (157, 126), (158, 112), (158, 124), (158, 125), (159, 113), ) coordinates_E1E1E1 = ((84, 135), (87, 118), (88, 119), (88, 127), (88, 130), (89, 117), (89, 120), (89, 126), (89, 129), (90, 117), (90, 119), (90, 122), (90, 123), (90, 124), (90, 125), (90, 128), (91, 111), (91, 116), (91, 118), (91, 119), (91, 126), (91, 128), (92, 103), (92, 110), (92, 112), (92, 113), (92, 114), (92, 117), (92, 118), (92, 121), (92, 122), (92, 123), (92, 124), (92, 125), (92, 126), (92, 128), (93, 102), (93, 105), (93, 109), (93, 116), (93, 117), (93, 119), (93, 122), (93, 123), (93, 124), (93, 125), (93, 126), (93, 127), (93, 129), (94, 114), (94, 116), (94, 118), (94, 121), (94, 123), (94, 124), (94, 125), (94, 126), (94, 127), (94, 128), (94, 130), (95, 115), (95, 117), (95, 121), (95, 123), (95, 124), (95, 125), (95, 126), (95, 127), (95, 128), (95, 129), (95, 131), (96, 115), (96, 117), (96, 121), (96, 123), (96, 124), (96, 125), (96, 126), (96, 127), (96, 128), (96, 129), (96, 130), (96, 133), (97, 115), (97, 117), (97, 120), (97, 122), (97, 123), (97, 124), (97, 125), (97, 126), (97, 127), (97, 128), (97, 129), (97, 130), (97, 131), (97, 133), (98, 115), (98, 117), (98, 118), (98, 121), (98, 122), (98, 123), (98, 124), (98, 125), (98, 126), (98, 127), (98, 128), (98, 129), (98, 130), (98, 132), (99, 115), (99, 117), (99, 120), (99, 121), (99, 122), (99, 123), (99, 124), (99, 125), (99, 126), (99, 127), (99, 128), (99, 129), (99, 130), (99, 132), (100, 95), (100, 114), (100, 116), (100, 117), (100, 118), (100, 119), (100, 120), (100, 121), (100, 122), (100, 123), (100, 124), (100, 125), (100, 126), (100, 127), (100, 128), (100, 129), (100, 130), (100, 132), (101, 114), (101, 116), (101, 117), (101, 118), (101, 119), (101, 120), (101, 121), (101, 122), (101, 123), (101, 124), (101, 125), (101, 126), (101, 127), (101, 128), (101, 129), (101, 130), (101, 132), (102, 114), (102, 116), (102, 117), (102, 118), (102, 119), (102, 120), (102, 121), (102, 122), (102, 123), (102, 124), (102, 125), (102, 126), (102, 127), (102, 128), (102, 129), (102, 130), (102, 131), (102, 133), (103, 101), (103, 103), (103, 105), (103, 114), (103, 116), (103, 117), (103, 118), (103, 119), (103, 120), (103, 121), (103, 122), (103, 123), (103, 124), (103, 125), (103, 126), (103, 127), (103, 128), (103, 129), (103, 130), (103, 131), (103, 132), (103, 135), (104, 100), (104, 107), (104, 113), (104, 115), (104, 116), (104, 117), (104, 118), (104, 119), (104, 120), (104, 121), (104, 122), (104, 123), (104, 124), (104, 125), (104, 126), (104, 127), (104, 128), (104, 129), (104, 130), (104, 131), (104, 132), (104, 133), (104, 137), (105, 101), (105, 103), (105, 104), (105, 105), (105, 107), (105, 113), (105, 114), (105, 115), (105, 116), (105, 117), (105, 118), (105, 119), (105, 120), (105, 121), (105, 122), (105, 123), (105, 124), (105, 125), (105, 126), (105, 127), (105, 128), (105, 129), (105, 130), (105, 131), (105, 132), (105, 133), (105, 134), (105, 135), (105, 138), (106, 101), (106, 103), (106, 104), (106, 105), (106, 106), (106, 109), (106, 110), (106, 111), (106, 113), (106, 114), (106, 115), (106, 116), (106, 117), (106, 118), (106, 119), (106, 120), (106, 121), (106, 122), (106, 123), (106, 124), (106, 125), (106, 126), (106, 127), (106, 128), (106, 129), (106, 130), (106, 131), (106, 132), (106, 133), (106, 134), (106, 135), (106, 136), (106, 137), (106, 139), (107, 101), (107, 103), (107, 104), (107, 105), (107, 106), (107, 107), (107, 112), (107, 113), (107, 114), (107, 115), (107, 116), (107, 117), (107, 118), (107, 119), (107, 120), (107, 121), (107, 122), (107, 123), (107, 128), (107, 129), (107, 130), (107, 131), (107, 132), (107, 133), (107, 134), (107, 135), (107, 136), (107, 137), (107, 138), (107, 140), (108, 100), (108, 102), (108, 103), (108, 104), (108, 105), (108, 106), (108, 107), (108, 108), (108, 109), (108, 110), (108, 111), (108, 112), (108, 113), (108, 114), (108, 115), (108, 116), (108, 117), (108, 118), (108, 119), (108, 120), (108, 121), (108, 122), (108, 123), (108, 126), (108, 127), (108, 130), (108, 136), (108, 137), (108, 138), (108, 140), (109, 96), (109, 98), (109, 99), (109, 101), (109, 102), (109, 103), (109, 104), (109, 105), (109, 106), (109, 107), (109, 113), (109, 114), (109, 115), (109, 116), (109, 117), (109, 118), (109, 119), (109, 120), (109, 121), (109, 123), (109, 129), (109, 131), (109, 132), (109, 133), (109, 134), (109, 137), (109, 138), (109, 139), (109, 141), (110, 95), (110, 108), (110, 109), (110, 110), (110, 111), (110, 114), (110, 115), (110, 116), (110, 117), (110, 118), (110, 119), (110, 120), (110, 121), (110, 122), (110, 123), (110, 130), (110, 138), (110, 139), (110, 140), (110, 142), (111, 96), (111, 97), (111, 98), (111, 99), (111, 100), (111, 101), (111, 102), (111, 103), (111, 104), (111, 105), (111, 106), (111, 113), (111, 115), (111, 116), (111, 117), (111, 119), (111, 120), (111, 122), (111, 137), (111, 139), (111, 140), (111, 142), (112, 92), (112, 94), (112, 114), (112, 115), (112, 118), (112, 122), (112, 137), (112, 139), (112, 140), (112, 142), (113, 91), (113, 114), (113, 122), (113, 138), (113, 141), (114, 90), (114, 93), (114, 114), (114, 115), (114, 121), (114, 122), (114, 139), (114, 140), (115, 89), (115, 92), (115, 122), (115, 140), (116, 122), ) coordinates_FEDAB9 = ((126, 82), (127, 81), (127, 84), (127, 89), (128, 81), (128, 85), (128, 86), (128, 87), (128, 88), (128, 90), (129, 81), (129, 83), (129, 84), (129, 91), (130, 82), (130, 84), (130, 85), (130, 86), (130, 87), (130, 88), (130, 90), (130, 92), (131, 83), (131, 85), (131, 86), (131, 87), (131, 88), (131, 93), (132, 84), (132, 86), (132, 87), (132, 90), (133, 85), (133, 87), (133, 91), (133, 94), (134, 86), (134, 88), (134, 92), (134, 95), (135, 87), (135, 89), (135, 97), (136, 88), (136, 90), (136, 95), (136, 98), (136, 100), (137, 88), (137, 90), (137, 96), (137, 100), (138, 89), (138, 90), (138, 96), (138, 98), (138, 100), (139, 89), (139, 90), (139, 96), (139, 99), (140, 89), (140, 91), (140, 94), (140, 99), (141, 88), (141, 90), (141, 91), (141, 92), (141, 93), (141, 98), (141, 105), (141, 106), (141, 107), (141, 108), (141, 109), (141, 111), (142, 88), (142, 90), (142, 91), (142, 95), (142, 103), (142, 110), (142, 111), (142, 112), (142, 114), (143, 88), (143, 90), (143, 91), (143, 92), (143, 94), (143, 99), (143, 101), (143, 108), (144, 88), (144, 90), (144, 91), (144, 93), (144, 97), (144, 101), (144, 102), (144, 103), (144, 104), (144, 106), (145, 88), (145, 90), (145, 91), (145, 92), (145, 93), (145, 96), (145, 99), (146, 88), (146, 90), (146, 91), (146, 92), (146, 93), (146, 94), (146, 95), (146, 98), (147, 89), (147, 92), (147, 93), (147, 94), (147, 96), (148, 90), (148, 95), (149, 91), (149, 94), ) coordinates_D970D6 = ((122, 86), (122, 87), (122, 89), (123, 84), (123, 91), (123, 92), (123, 93), (123, 94), (123, 95), (123, 96), (123, 97), (123, 99), (124, 84), (124, 99), (125, 84), (125, 86), (125, 87), (125, 88), (125, 89), (125, 90), (125, 91), (125, 92), (125, 93), (125, 96), (125, 98), (126, 95), (126, 98), (127, 96), (127, 98), (128, 98), (129, 97), (129, 98), (130, 98), ) coordinates_01CED1 = ((144, 111), (144, 112), (144, 114), (145, 108), (145, 109), (145, 113), (146, 101), (146, 103), (146, 104), (146, 105), (146, 106), (146, 107), (147, 100), (147, 102), (147, 103), (147, 104), (147, 106), (148, 98), (148, 100), (149, 97), (149, 100), (150, 96), (150, 98), (150, 99), (150, 100), (150, 102), (150, 113), (150, 114), (151, 96), (151, 98), (151, 101), (151, 103), (151, 105), (151, 113), (151, 114), (152, 96), (152, 98), (152, 101), (152, 113), (153, 95), (153, 97), (153, 98), (153, 101), (153, 102), (153, 103), (153, 104), (153, 105), (153, 113), (153, 118), (153, 120), (154, 95), (154, 97), (154, 98), (154, 99), (154, 100), (154, 101), (154, 102), (154, 103), (154, 104), (154, 105), (154, 106), (154, 117), (155, 97), (155, 98), (155, 99), (155, 100), (155, 101), (155, 102), (155, 103), (155, 104), (155, 105), (155, 106), (155, 107), (155, 110), (155, 119), (155, 121), (156, 95), (156, 98), (156, 99), (156, 100), (156, 101), (156, 102), (156, 103), (156, 104), (156, 105), (156, 106), (156, 107), (156, 108), (156, 116), (156, 118), (156, 119), (156, 121), (157, 97), (157, 99), (157, 100), (157, 101), (157, 102), (157, 103), (157, 104), (157, 105), (157, 106), (157, 107), (157, 108), (157, 110), (157, 116), (157, 118), (157, 119), (157, 120), (157, 122), (158, 98), (158, 101), (158, 102), (158, 103), (158, 104), (158, 105), (158, 106), (158, 107), (158, 108), (158, 110), (158, 116), (158, 118), (158, 119), (158, 120), (158, 122), (159, 99), (159, 100), (159, 103), (159, 104), (159, 105), (159, 107), (159, 108), (159, 110), (159, 116), (159, 118), (159, 119), (159, 120), (159, 121), (159, 123), (160, 101), (160, 106), (160, 109), (160, 111), (160, 115), (160, 117), (160, 118), (160, 119), (160, 120), (160, 121), (160, 122), (160, 126), (161, 103), (161, 105), (161, 110), (161, 112), (161, 115), (161, 116), (161, 117), (161, 118), (161, 119), (161, 120), (161, 121), (161, 122), (161, 123), (161, 125), (162, 108), (162, 111), (162, 115), (162, 116), (162, 117), (162, 118), (162, 120), (162, 121), (162, 122), (162, 123), (162, 125), (163, 109), (163, 115), (163, 116), (163, 117), (163, 119), (163, 125), (164, 111), (164, 113), (164, 115), (164, 116), (164, 118), (164, 121), (164, 122), (164, 124), (165, 114), (165, 117), (166, 115), (166, 116), ) coordinates_FE3E96 = ((122, 112), (122, 113), (122, 114), (122, 115), (122, 116), (122, 117), (122, 118), (122, 119), (122, 120), (122, 121), (122, 122), (122, 123), (122, 124), (122, 125), (122, 126), (122, 128), (123, 107), (123, 109), (123, 110), (123, 111), (123, 112), (123, 128), (124, 106), (124, 112), (124, 113), (124, 114), (124, 115), (124, 116), (124, 117), (124, 118), (124, 119), (124, 120), (124, 121), (124, 122), (124, 123), (124, 124), (124, 125), (124, 127), (125, 101), (125, 104), (125, 107), (125, 108), (125, 109), (125, 110), (125, 111), (125, 112), (125, 113), (125, 114), (125, 115), (125, 116), (125, 117), (125, 118), (125, 119), (125, 120), (125, 121), (125, 122), (125, 123), (125, 124), (125, 125), (125, 127), (126, 100), (126, 106), (126, 107), (126, 108), (126, 109), (126, 110), (126, 111), (126, 112), (126, 113), (126, 114), (126, 115), (126, 116), (126, 117), (126, 118), (126, 119), (126, 120), (126, 121), (126, 122), (126, 123), (126, 124), (126, 125), (126, 127), (127, 100), (127, 102), (127, 103), (127, 104), (127, 105), (127, 106), (127, 107), (127, 108), (127, 109), (127, 110), (127, 111), (127, 112), (127, 113), (127, 114), (127, 115), (127, 116), (127, 117), (127, 118), (127, 119), (127, 120), (127, 121), (127, 122), (127, 123), (127, 124), (127, 125), (127, 127), (128, 100), (128, 104), (128, 105), (128, 106), (128, 107), (128, 108), (128, 109), (128, 110), (128, 111), (128, 112), (128, 113), (128, 114), (128, 115), (128, 116), (128, 117), (128, 118), (128, 119), (128, 120), (128, 121), (128, 122), (128, 123), (128, 124), (128, 125), (128, 127), (129, 100), (129, 102), (129, 105), (129, 106), (129, 107), (129, 108), (129, 109), (129, 110), (129, 111), (129, 112), (129, 113), (129, 114), (129, 115), (129, 120), (129, 121), (129, 122), (129, 123), (129, 124), (129, 125), (129, 127), (130, 100), (130, 104), (130, 106), (130, 107), (130, 108), (130, 109), (130, 110), (130, 111), (130, 112), (130, 113), (130, 116), (130, 117), (130, 118), (130, 119), (130, 121), (130, 122), (130, 123), (130, 124), (130, 125), (130, 127), (131, 105), (131, 115), (131, 120), (131, 122), (131, 123), (131, 124), (131, 125), (131, 127), (132, 106), (132, 108), (132, 109), (132, 110), (132, 111), (132, 112), (132, 113), (132, 114), (132, 121), (132, 123), (132, 124), (132, 125), (132, 127), (133, 122), (133, 124), (133, 126), (134, 122), (134, 126), (135, 123), ) coordinates_AED8E6 = ((154, 133), (154, 135), (155, 132), (155, 136), (156, 133), (156, 137), (157, 134), (157, 138), (158, 136), (158, 139), (159, 137), (159, 141), (160, 138), (161, 140), ) coordinates_AF3060 = ((122, 141), (122, 143), (122, 146), (122, 147), (123, 140), (123, 148), (123, 150), (124, 140), (124, 142), (124, 143), (124, 144), (124, 145), (124, 146), (124, 147), (124, 150), (125, 140), (125, 144), (125, 145), (125, 146), (125, 150), (126, 139), (126, 142), (126, 143), (126, 144), (126, 145), (126, 148), (127, 139), (127, 144), (127, 146), (128, 139), (128, 140), (128, 144), (128, 145), (129, 139), ) coordinates_A62A2A = ((146, 135), (146, 136), (146, 141), (147, 136), (147, 138), (147, 139), (147, 141), (148, 137), (148, 141), (149, 137), (149, 139), (149, 141), (150, 137), (150, 139), (150, 141), (151, 137), (151, 139), (151, 141), (152, 134), (152, 138), (152, 139), (152, 141), (153, 136), (153, 139), (153, 141), (154, 138), (154, 140), (154, 141), (154, 142), (155, 139), (155, 142), (156, 140), (156, 142), (157, 141), ) coordinates_ACFF2F = ((128, 148), (128, 150), (129, 146), (129, 150), (130, 144), (130, 148), (130, 149), (130, 151), (131, 145), (131, 147), (131, 148), (131, 149), (131, 151), (132, 145), (132, 147), (132, 148), (132, 151), (133, 146), (133, 150), (134, 146), (135, 140), (135, 141), (135, 145), (135, 147), (136, 139), (136, 142), (136, 143), (136, 147), (137, 138), (137, 140), (137, 141), (137, 146), (138, 138), (138, 140), (138, 141), (138, 142), (138, 145), (139, 137), (139, 139), (139, 140), (139, 141), (139, 143), (140, 137), (140, 139), (140, 140), (140, 142), (141, 137), (141, 139), (141, 140), (141, 141), (141, 142), (142, 137), (142, 139), (142, 141), (143, 136), (143, 138), (143, 139), (143, 141), (144, 136), (144, 141), (145, 138), (145, 140), ) coordinates_FFDAB9 = ((102, 88), (102, 89), (103, 87), (103, 89), (104, 87), (104, 89), (105, 86), (105, 89), (105, 93), (105, 95), (105, 96), (105, 98), (106, 85), (106, 87), (106, 88), (106, 89), (106, 99), (107, 85), (107, 87), (107, 88), (107, 89), (107, 90), (107, 91), (107, 93), (107, 96), (107, 99), (108, 85), (108, 86), (108, 87), (108, 88), (108, 89), (108, 90), (108, 92), (108, 94), (109, 84), (109, 86), (109, 87), (109, 88), (109, 89), (109, 90), (109, 91), (109, 93), (110, 84), (110, 86), (110, 87), (110, 88), (110, 89), (110, 90), (110, 92), (111, 83), (111, 85), (111, 86), (111, 87), (111, 88), (111, 89), (111, 91), (112, 83), (112, 85), (112, 86), (112, 87), (112, 88), (112, 90), (113, 82), (113, 84), (113, 85), (113, 86), (113, 87), (113, 89), (114, 82), (114, 84), (114, 85), (114, 86), (114, 88), (115, 82), (115, 84), (115, 85), (115, 87), (116, 82), (116, 86), (117, 83), (117, 85), ) coordinates_DA70D6 = ((110, 126), (110, 127), (111, 128), (111, 132), (112, 109), (112, 111), (112, 127), (112, 130), (112, 131), (112, 133), (113, 96), (113, 98), (113, 99), (113, 100), (113, 101), (113, 102), (113, 103), (113, 104), (113, 105), (113, 106), (113, 107), (113, 109), (113, 128), (113, 133), (114, 95), (114, 107), (114, 129), (114, 131), (114, 133), (115, 95), (115, 97), (115, 98), (115, 99), (115, 100), (115, 101), (115, 102), (115, 103), (115, 105), (115, 130), (115, 133), (116, 94), (116, 96), (116, 97), (116, 98), (116, 99), (116, 100), (116, 101), (116, 102), (116, 104), (116, 133), (117, 88), (117, 90), (117, 91), (117, 92), (117, 95), (117, 96), (117, 97), (117, 98), (117, 99), (117, 100), (117, 101), (117, 103), (117, 131), (117, 133), (118, 87), (118, 94), (118, 95), (118, 96), (118, 97), (118, 103), (118, 132), (118, 133), (119, 84), (119, 98), (119, 99), (119, 100), (119, 102), (119, 133), (120, 85), (120, 88), (120, 89), (120, 90), (120, 91), (120, 92), (120, 93), (120, 94), (120, 95), (120, 97), ) coordinates_00CED1 = ((78, 123), (78, 125), (78, 126), (78, 128), (79, 122), (79, 128), (80, 121), (80, 123), (80, 124), (80, 125), (80, 127), (81, 114), (81, 116), (81, 117), (81, 118), (81, 119), (81, 120), (81, 122), (81, 123), (81, 124), (81, 125), (81, 127), (82, 114), (82, 121), (82, 122), (82, 123), (82, 124), (82, 126), (83, 108), (83, 110), (83, 115), (83, 116), (83, 117), (83, 118), (83, 119), (83, 120), (83, 121), (83, 122), (83, 123), (83, 124), (83, 126), (84, 107), (84, 111), (84, 114), (84, 115), (84, 116), (84, 119), (84, 120), (84, 121), (84, 122), (84, 123), (84, 124), (84, 126), (85, 101), (85, 102), (85, 108), (85, 109), (85, 113), (85, 114), (85, 115), (85, 116), (85, 118), (85, 120), (85, 121), (85, 122), (85, 123), (85, 125), (86, 99), (86, 103), (86, 104), (86, 105), (86, 107), (86, 108), (86, 110), (86, 111), (86, 112), (86, 113), (86, 114), (86, 116), (86, 119), (86, 125), (87, 99), (87, 101), (87, 102), (87, 103), (87, 106), (87, 108), (87, 111), (87, 112), (87, 114), (87, 116), (87, 120), (87, 121), (87, 122), (87, 123), (87, 125), (88, 98), (88, 100), (88, 101), (88, 104), (88, 105), (88, 106), (88, 108), (88, 113), (88, 115), (89, 98), (89, 100), (89, 103), (89, 105), (89, 106), (89, 107), (89, 108), (89, 109), (89, 110), (89, 111), (89, 112), (89, 115), (90, 99), (90, 100), (90, 104), (90, 106), (90, 107), (90, 109), (90, 113), (90, 114), (91, 99), (91, 100), (91, 105), (91, 108), (92, 99), (92, 100), (92, 106), (92, 107), (93, 99), (93, 100), (94, 99), (94, 100), (94, 112), (95, 98), (95, 100), (95, 101), (95, 106), (95, 107), (95, 108), (95, 109), (95, 110), (95, 113), (95, 119), (96, 92), (96, 94), (96, 95), (96, 96), (96, 97), (96, 98), (96, 99), (96, 100), (96, 103), (96, 104), (96, 105), (96, 111), (96, 113), (97, 98), (97, 99), (97, 100), (97, 101), (97, 106), (97, 107), (97, 108), (97, 109), (97, 110), (97, 111), (97, 113), (98, 92), (98, 94), (98, 95), (98, 97), (98, 98), (98, 99), (98, 100), (98, 101), (98, 102), (98, 103), (98, 104), (98, 105), (98, 106), (98, 107), (98, 108), (98, 109), (98, 110), (98, 111), (98, 113), (99, 92), (99, 96), (99, 98), (99, 99), (99, 100), (99, 101), (99, 102), (99, 103), (99, 104), (99, 105), (99, 106), (99, 107), (99, 108), (99, 109), (99, 110), (99, 112), (100, 92), (100, 97), (100, 99), (100, 103), (100, 107), (100, 108), (100, 109), (100, 110), (100, 112), (101, 91), (101, 93), (101, 97), (101, 101), (101, 102), (101, 103), (101, 104), (101, 105), (101, 108), (101, 109), (101, 110), (101, 112), (102, 92), (102, 95), (102, 107), (102, 112), (103, 93), (103, 95), (103, 96), (103, 98), (103, 108), (103, 111), (103, 112), ) coordinates_A120F0 = ((121, 132), (121, 135), (121, 136), (122, 138), (123, 130), (123, 132), (123, 133), (123, 134), (123, 135), (123, 136), (123, 138), (124, 129), (124, 132), (124, 133), (124, 134), (124, 135), (124, 137), (125, 129), (125, 131), (125, 132), (125, 133), (125, 137), (126, 129), (126, 131), (126, 132), (126, 134), (126, 137), (127, 129), (127, 131), (127, 133), (127, 137), (128, 129), (128, 132), (128, 137), (129, 129), (129, 131), (130, 129), (130, 131), (131, 129), (131, 130), (132, 129), (132, 130), (133, 129), (134, 128), ) coordinates_A52A2A = ((90, 137), (90, 138), (90, 140), (91, 136), (91, 140), (92, 131), (92, 133), (92, 134), (92, 137), (92, 138), (92, 140), (93, 131), (93, 133), (93, 136), (93, 137), (93, 138), (93, 140), (94, 134), (94, 135), (94, 136), (94, 137), (94, 138), (94, 140), (95, 136), (95, 140), (96, 136), (96, 140), (97, 135), (97, 137), (98, 135), ) coordinates_ADFF2F = ((98, 139), (99, 137), (99, 141), (100, 134), (100, 136), (100, 139), (100, 141), (101, 135), (101, 139), (101, 141), (102, 137), (102, 141), (103, 139), (103, 142), (104, 140), (104, 142), (104, 143), (105, 140), (105, 143), (106, 141), (106, 144), (107, 142), (107, 145), (108, 143), (108, 146), (109, 144), (109, 147), (110, 145), (110, 148), (111, 145), (111, 147), (111, 149), (112, 144), (112, 146), (112, 147), (112, 148), (113, 145), (113, 148), (113, 149), (113, 152), (114, 146), (114, 150), (114, 153), (115, 148), (115, 154), (116, 150), (116, 151), (116, 152), (116, 154), ) coordinates_A020F0 = ((111, 134), (112, 135), (113, 135), (113, 136), (114, 135), (114, 137), (115, 135), (116, 135), (117, 135), (117, 137), (117, 140), (118, 135), (118, 141), (119, 135), (119, 137), (119, 138), (119, 139), (119, 140), (119, 142), (120, 142), ) coordinates_B03060 = ((114, 143), (115, 142), (115, 145), (116, 142), (116, 146), (117, 143), (117, 145), (117, 148), (118, 143), (118, 145), (118, 146), (118, 149), (118, 150), (119, 144), (119, 151), (120, 145), (120, 147), (120, 148), (120, 151), (121, 149), (121, 151), ) coordinates_ACD8E6 = ((78, 130), (78, 132), (79, 130), (79, 134), (79, 136), (80, 130), (80, 132), (80, 133), (80, 138), (81, 129), (81, 131), (81, 132), (81, 133), (81, 140), (82, 129), (82, 131), (82, 132), (82, 133), (82, 134), (82, 135), (82, 136), (82, 137), (82, 138), (83, 128), (83, 130), (83, 131), (83, 133), (83, 134), (83, 137), (83, 140), (84, 128), (84, 130), (84, 131), (84, 133), (84, 137), (84, 140), (85, 128), (85, 130), (85, 133), (85, 136), (85, 138), (85, 140), (86, 128), (86, 130), (86, 133), (86, 135), (86, 137), (86, 138), (86, 140), (87, 132), (87, 133), (87, 136), (87, 140), (88, 132), (88, 137), (88, 138), (88, 140), (89, 132), (89, 134), (89, 135), (89, 136), ) coordinates_FF3E96 = ((111, 124), (112, 124), (112, 125), (113, 112), (113, 126), (114, 112), (114, 125), (115, 109), (115, 112), (115, 117), (115, 119), (115, 125), (115, 127), (116, 107), (116, 111), (116, 113), (116, 116), (116, 120), (116, 125), (116, 126), (116, 128), (117, 106), (117, 109), (117, 110), (117, 111), (117, 112), (117, 114), (117, 117), (117, 118), (117, 119), (117, 121), (117, 124), (117, 126), (117, 127), (117, 129), (118, 105), (118, 107), (118, 108), (118, 109), (118, 110), (118, 111), (118, 112), (118, 113), (118, 116), (118, 117), (118, 118), (118, 119), (118, 120), (118, 122), (118, 123), (118, 124), (118, 125), (118, 126), (118, 130), (119, 104), (119, 125), (119, 126), (119, 127), (119, 128), (119, 130), (120, 104), (120, 106), (120, 107), (120, 108), (120, 109), (120, 110), (120, 111), (120, 112), (120, 113), (120, 114), (120, 115), (120, 116), (120, 117), (120, 118), (120, 119), (120, 120), (120, 121), (120, 122), (120, 123), (120, 124), (120, 125), (120, 126), ) coordinates_7EFFD4 = ((158, 128), (159, 128), (160, 128), (161, 129), (162, 127), (162, 129), (163, 127), (163, 130), (164, 127), (164, 130), (165, 126), (165, 127), (165, 128), (165, 130), (166, 127), (166, 128), (166, 129), (166, 131), (167, 127), (167, 131), (168, 127), (168, 129), ) coordinates_B12222 = ((157, 132), (158, 130), (158, 133), (159, 131), (159, 134), (160, 131), (160, 132), (160, 135), (161, 131), (161, 132), (161, 136), (161, 137), (162, 133), (162, 136), (162, 138), (163, 132), (163, 134), (163, 137), (163, 139), (164, 132), (164, 137), (164, 139), (165, 133), (165, 138), (166, 133), (166, 135), (166, 137), )
coordinates_e0_e1_e1 = ((127, 91), (127, 93), (128, 92), (128, 94), (128, 142), (129, 93), (129, 95), (129, 134), (129, 135), (129, 141), (129, 142), (130, 94), (130, 133), (130, 136), (130, 140), (130, 142), (131, 95), (131, 102), (131, 133), (131, 135), (131, 138), (131, 139), (131, 142), (132, 96), (132, 98), (132, 99), (132, 100), (132, 101), (132, 103), (132, 117), (132, 119), (132, 132), (132, 134), (132, 135), (132, 136), (132, 143), (133, 97), (133, 104), (133, 115), (133, 119), (133, 131), (133, 133), (133, 134), (133, 135), (133, 136), (133, 137), (133, 140), (133, 141), (133, 144), (134, 90), (134, 99), (134, 102), (134, 103), (134, 106), (134, 107), (134, 108), (134, 114), (134, 117), (134, 118), (134, 120), (134, 131), (134, 133), (134, 134), (134, 135), (134, 136), (134, 138), (134, 143), (135, 91), (135, 101), (135, 103), (135, 104), (135, 109), (135, 110), (135, 111), (135, 112), (135, 115), (135, 116), (135, 117), (135, 118), (135, 120), (135, 130), (135, 132), (135, 133), (135, 134), (135, 135), (135, 137), (136, 92), (136, 102), (136, 104), (136, 105), (136, 106), (136, 107), (136, 108), (136, 113), (136, 114), (136, 115), (136, 116), (136, 117), (136, 118), (136, 119), (136, 121), (136, 127), (136, 128), (136, 131), (136, 132), (136, 133), (136, 134), (136, 136), (137, 92), (137, 93), (137, 102), (137, 104), (137, 105), (137, 108), (137, 109), (137, 110), (137, 111), (137, 112), (137, 113), (137, 114), (137, 115), (137, 116), (137, 117), (137, 118), (137, 119), (137, 120), (137, 123), (137, 124), (137, 125), (137, 126), (137, 130), (137, 131), (137, 132), (137, 133), (137, 134), (137, 136), (138, 92), (138, 94), (138, 102), (138, 106), (138, 107), (138, 108), (138, 113), (138, 114), (138, 115), (138, 116), (138, 117), (138, 118), (138, 119), (138, 120), (138, 121), (138, 127), (138, 128), (138, 129), (138, 130), (138, 131), (138, 132), (138, 133), (138, 134), (138, 135), (138, 136), (139, 93), (139, 102), (139, 104), (139, 105), (139, 108), (139, 109), (139, 110), (139, 111), (139, 112), (139, 115), (139, 116), (139, 117), (139, 118), (139, 119), (139, 120), (139, 121), (139, 122), (139, 123), (139, 124), (139, 125), (139, 126), (139, 127), (139, 128), (139, 129), (139, 130), (139, 131), (139, 132), (139, 133), (139, 135), (140, 101), (140, 103), (140, 113), (140, 114), (140, 117), (140, 118), (140, 119), (140, 120), (140, 121), (140, 122), (140, 123), (140, 124), (140, 125), (140, 126), (140, 127), (140, 128), (140, 129), (140, 130), (140, 131), (140, 132), (140, 133), (140, 135), (141, 100), (141, 116), (141, 117), (141, 118), (141, 119), (141, 120), (141, 121), (141, 122), (141, 123), (141, 124), (141, 125), (141, 126), (141, 127), (141, 128), (141, 129), (141, 130), (141, 131), (141, 132), (141, 133), (141, 134), (141, 135), (142, 117), (142, 119), (142, 120), (142, 121), (142, 122), (142, 123), (142, 124), (142, 125), (142, 126), (142, 127), (142, 128), (142, 129), (142, 130), (142, 131), (142, 132), (142, 134), (143, 117), (143, 119), (143, 120), (143, 121), (143, 122), (143, 123), (143, 124), (143, 125), (143, 126), (143, 127), (143, 128), (143, 129), (143, 130), (143, 131), (143, 132), (143, 134), (144, 116), (144, 118), (144, 119), (144, 120), (144, 121), (144, 122), (144, 123), (144, 124), (144, 125), (144, 126), (144, 127), (144, 128), (144, 129), (144, 130), (144, 131), (144, 132), (144, 134), (145, 115), (145, 116), (145, 117), (145, 118), (145, 119), (145, 120), (145, 121), (145, 122), (145, 123), (145, 124), (145, 125), (145, 126), (145, 127), (145, 128), (145, 129), (145, 130), (145, 131), (145, 133), (146, 115), (146, 117), (146, 118), (146, 119), (146, 120), (146, 121), (146, 122), (146, 123), (146, 124), (146, 125), (146, 126), (146, 127), (146, 128), (146, 129), (146, 130), (146, 131), (146, 133), (147, 109), (147, 111), (147, 112), (147, 113), (147, 116), (147, 117), (147, 118), (147, 119), (147, 120), (147, 121), (147, 122), (147, 123), (147, 124), (147, 125), (147, 126), (147, 127), (147, 128), (147, 129), (147, 130), (147, 131), (147, 132), (147, 134), (148, 108), (148, 115), (148, 116), (148, 117), (148, 118), (148, 119), (148, 120), (148, 121), (148, 122), (148, 123), (148, 124), (148, 125), (148, 126), (148, 127), (148, 128), (148, 129), (148, 130), (148, 131), (148, 132), (148, 134), (149, 104), (149, 105), (149, 106), (149, 109), (149, 110), (149, 111), (149, 112), (149, 113), (149, 114), (149, 115), (149, 116), (149, 117), (149, 118), (149, 119), (149, 120), (149, 121), (149, 122), (149, 123), (149, 124), (149, 125), (149, 126), (149, 127), (149, 128), (149, 129), (149, 130), (149, 131), (149, 132), (149, 133), (149, 135), (150, 107), (150, 109), (150, 110), (150, 111), (150, 112), (150, 113), (150, 114), (150, 115), (150, 116), (150, 117), (150, 121), (150, 122), (150, 123), (150, 124), (150, 125), (150, 126), (150, 127), (150, 128), (150, 129), (150, 130), (150, 131), (150, 132), (150, 135), (151, 108), (151, 110), (151, 111), (151, 112), (151, 113), (151, 114), (151, 115), (151, 118), (151, 119), (151, 120), (151, 122), (151, 123), (151, 124), (151, 125), (151, 126), (151, 127), (151, 128), (151, 129), (151, 130), (151, 131), (151, 133), (152, 109), (152, 112), (152, 113), (152, 114), (152, 121), (152, 123), (152, 124), (152, 125), (152, 126), (152, 127), (152, 128), (152, 129), (152, 130), (152, 132), (153, 110), (153, 113), (153, 115), (153, 122), (153, 124), (153, 125), (153, 126), (153, 127), (153, 128), (153, 129), (153, 131), (154, 112), (154, 115), (154, 123), (154, 125), (154, 126), (154, 127), (154, 128), (154, 130), (155, 113), (155, 114), (155, 123), (155, 125), (155, 126), (155, 127), (155, 130), (156, 113), (156, 114), (156, 124), (156, 128), (156, 130), (157, 112), (157, 114), (157, 124), (157, 126), (158, 112), (158, 124), (158, 125), (159, 113)) coordinates_e1_e1_e1 = ((84, 135), (87, 118), (88, 119), (88, 127), (88, 130), (89, 117), (89, 120), (89, 126), (89, 129), (90, 117), (90, 119), (90, 122), (90, 123), (90, 124), (90, 125), (90, 128), (91, 111), (91, 116), (91, 118), (91, 119), (91, 126), (91, 128), (92, 103), (92, 110), (92, 112), (92, 113), (92, 114), (92, 117), (92, 118), (92, 121), (92, 122), (92, 123), (92, 124), (92, 125), (92, 126), (92, 128), (93, 102), (93, 105), (93, 109), (93, 116), (93, 117), (93, 119), (93, 122), (93, 123), (93, 124), (93, 125), (93, 126), (93, 127), (93, 129), (94, 114), (94, 116), (94, 118), (94, 121), (94, 123), (94, 124), (94, 125), (94, 126), (94, 127), (94, 128), (94, 130), (95, 115), (95, 117), (95, 121), (95, 123), (95, 124), (95, 125), (95, 126), (95, 127), (95, 128), (95, 129), (95, 131), (96, 115), (96, 117), (96, 121), (96, 123), (96, 124), (96, 125), (96, 126), (96, 127), (96, 128), (96, 129), (96, 130), (96, 133), (97, 115), (97, 117), (97, 120), (97, 122), (97, 123), (97, 124), (97, 125), (97, 126), (97, 127), (97, 128), (97, 129), (97, 130), (97, 131), (97, 133), (98, 115), (98, 117), (98, 118), (98, 121), (98, 122), (98, 123), (98, 124), (98, 125), (98, 126), (98, 127), (98, 128), (98, 129), (98, 130), (98, 132), (99, 115), (99, 117), (99, 120), (99, 121), (99, 122), (99, 123), (99, 124), (99, 125), (99, 126), (99, 127), (99, 128), (99, 129), (99, 130), (99, 132), (100, 95), (100, 114), (100, 116), (100, 117), (100, 118), (100, 119), (100, 120), (100, 121), (100, 122), (100, 123), (100, 124), (100, 125), (100, 126), (100, 127), (100, 128), (100, 129), (100, 130), (100, 132), (101, 114), (101, 116), (101, 117), (101, 118), (101, 119), (101, 120), (101, 121), (101, 122), (101, 123), (101, 124), (101, 125), (101, 126), (101, 127), (101, 128), (101, 129), (101, 130), (101, 132), (102, 114), (102, 116), (102, 117), (102, 118), (102, 119), (102, 120), (102, 121), (102, 122), (102, 123), (102, 124), (102, 125), (102, 126), (102, 127), (102, 128), (102, 129), (102, 130), (102, 131), (102, 133), (103, 101), (103, 103), (103, 105), (103, 114), (103, 116), (103, 117), (103, 118), (103, 119), (103, 120), (103, 121), (103, 122), (103, 123), (103, 124), (103, 125), (103, 126), (103, 127), (103, 128), (103, 129), (103, 130), (103, 131), (103, 132), (103, 135), (104, 100), (104, 107), (104, 113), (104, 115), (104, 116), (104, 117), (104, 118), (104, 119), (104, 120), (104, 121), (104, 122), (104, 123), (104, 124), (104, 125), (104, 126), (104, 127), (104, 128), (104, 129), (104, 130), (104, 131), (104, 132), (104, 133), (104, 137), (105, 101), (105, 103), (105, 104), (105, 105), (105, 107), (105, 113), (105, 114), (105, 115), (105, 116), (105, 117), (105, 118), (105, 119), (105, 120), (105, 121), (105, 122), (105, 123), (105, 124), (105, 125), (105, 126), (105, 127), (105, 128), (105, 129), (105, 130), (105, 131), (105, 132), (105, 133), (105, 134), (105, 135), (105, 138), (106, 101), (106, 103), (106, 104), (106, 105), (106, 106), (106, 109), (106, 110), (106, 111), (106, 113), (106, 114), (106, 115), (106, 116), (106, 117), (106, 118), (106, 119), (106, 120), (106, 121), (106, 122), (106, 123), (106, 124), (106, 125), (106, 126), (106, 127), (106, 128), (106, 129), (106, 130), (106, 131), (106, 132), (106, 133), (106, 134), (106, 135), (106, 136), (106, 137), (106, 139), (107, 101), (107, 103), (107, 104), (107, 105), (107, 106), (107, 107), (107, 112), (107, 113), (107, 114), (107, 115), (107, 116), (107, 117), (107, 118), (107, 119), (107, 120), (107, 121), (107, 122), (107, 123), (107, 128), (107, 129), (107, 130), (107, 131), (107, 132), (107, 133), (107, 134), (107, 135), (107, 136), (107, 137), (107, 138), (107, 140), (108, 100), (108, 102), (108, 103), (108, 104), (108, 105), (108, 106), (108, 107), (108, 108), (108, 109), (108, 110), (108, 111), (108, 112), (108, 113), (108, 114), (108, 115), (108, 116), (108, 117), (108, 118), (108, 119), (108, 120), (108, 121), (108, 122), (108, 123), (108, 126), (108, 127), (108, 130), (108, 136), (108, 137), (108, 138), (108, 140), (109, 96), (109, 98), (109, 99), (109, 101), (109, 102), (109, 103), (109, 104), (109, 105), (109, 106), (109, 107), (109, 113), (109, 114), (109, 115), (109, 116), (109, 117), (109, 118), (109, 119), (109, 120), (109, 121), (109, 123), (109, 129), (109, 131), (109, 132), (109, 133), (109, 134), (109, 137), (109, 138), (109, 139), (109, 141), (110, 95), (110, 108), (110, 109), (110, 110), (110, 111), (110, 114), (110, 115), (110, 116), (110, 117), (110, 118), (110, 119), (110, 120), (110, 121), (110, 122), (110, 123), (110, 130), (110, 138), (110, 139), (110, 140), (110, 142), (111, 96), (111, 97), (111, 98), (111, 99), (111, 100), (111, 101), (111, 102), (111, 103), (111, 104), (111, 105), (111, 106), (111, 113), (111, 115), (111, 116), (111, 117), (111, 119), (111, 120), (111, 122), (111, 137), (111, 139), (111, 140), (111, 142), (112, 92), (112, 94), (112, 114), (112, 115), (112, 118), (112, 122), (112, 137), (112, 139), (112, 140), (112, 142), (113, 91), (113, 114), (113, 122), (113, 138), (113, 141), (114, 90), (114, 93), (114, 114), (114, 115), (114, 121), (114, 122), (114, 139), (114, 140), (115, 89), (115, 92), (115, 122), (115, 140), (116, 122)) coordinates_fedab9 = ((126, 82), (127, 81), (127, 84), (127, 89), (128, 81), (128, 85), (128, 86), (128, 87), (128, 88), (128, 90), (129, 81), (129, 83), (129, 84), (129, 91), (130, 82), (130, 84), (130, 85), (130, 86), (130, 87), (130, 88), (130, 90), (130, 92), (131, 83), (131, 85), (131, 86), (131, 87), (131, 88), (131, 93), (132, 84), (132, 86), (132, 87), (132, 90), (133, 85), (133, 87), (133, 91), (133, 94), (134, 86), (134, 88), (134, 92), (134, 95), (135, 87), (135, 89), (135, 97), (136, 88), (136, 90), (136, 95), (136, 98), (136, 100), (137, 88), (137, 90), (137, 96), (137, 100), (138, 89), (138, 90), (138, 96), (138, 98), (138, 100), (139, 89), (139, 90), (139, 96), (139, 99), (140, 89), (140, 91), (140, 94), (140, 99), (141, 88), (141, 90), (141, 91), (141, 92), (141, 93), (141, 98), (141, 105), (141, 106), (141, 107), (141, 108), (141, 109), (141, 111), (142, 88), (142, 90), (142, 91), (142, 95), (142, 103), (142, 110), (142, 111), (142, 112), (142, 114), (143, 88), (143, 90), (143, 91), (143, 92), (143, 94), (143, 99), (143, 101), (143, 108), (144, 88), (144, 90), (144, 91), (144, 93), (144, 97), (144, 101), (144, 102), (144, 103), (144, 104), (144, 106), (145, 88), (145, 90), (145, 91), (145, 92), (145, 93), (145, 96), (145, 99), (146, 88), (146, 90), (146, 91), (146, 92), (146, 93), (146, 94), (146, 95), (146, 98), (147, 89), (147, 92), (147, 93), (147, 94), (147, 96), (148, 90), (148, 95), (149, 91), (149, 94)) coordinates_d970_d6 = ((122, 86), (122, 87), (122, 89), (123, 84), (123, 91), (123, 92), (123, 93), (123, 94), (123, 95), (123, 96), (123, 97), (123, 99), (124, 84), (124, 99), (125, 84), (125, 86), (125, 87), (125, 88), (125, 89), (125, 90), (125, 91), (125, 92), (125, 93), (125, 96), (125, 98), (126, 95), (126, 98), (127, 96), (127, 98), (128, 98), (129, 97), (129, 98), (130, 98)) coordinates_01_ced1 = ((144, 111), (144, 112), (144, 114), (145, 108), (145, 109), (145, 113), (146, 101), (146, 103), (146, 104), (146, 105), (146, 106), (146, 107), (147, 100), (147, 102), (147, 103), (147, 104), (147, 106), (148, 98), (148, 100), (149, 97), (149, 100), (150, 96), (150, 98), (150, 99), (150, 100), (150, 102), (150, 113), (150, 114), (151, 96), (151, 98), (151, 101), (151, 103), (151, 105), (151, 113), (151, 114), (152, 96), (152, 98), (152, 101), (152, 113), (153, 95), (153, 97), (153, 98), (153, 101), (153, 102), (153, 103), (153, 104), (153, 105), (153, 113), (153, 118), (153, 120), (154, 95), (154, 97), (154, 98), (154, 99), (154, 100), (154, 101), (154, 102), (154, 103), (154, 104), (154, 105), (154, 106), (154, 117), (155, 97), (155, 98), (155, 99), (155, 100), (155, 101), (155, 102), (155, 103), (155, 104), (155, 105), (155, 106), (155, 107), (155, 110), (155, 119), (155, 121), (156, 95), (156, 98), (156, 99), (156, 100), (156, 101), (156, 102), (156, 103), (156, 104), (156, 105), (156, 106), (156, 107), (156, 108), (156, 116), (156, 118), (156, 119), (156, 121), (157, 97), (157, 99), (157, 100), (157, 101), (157, 102), (157, 103), (157, 104), (157, 105), (157, 106), (157, 107), (157, 108), (157, 110), (157, 116), (157, 118), (157, 119), (157, 120), (157, 122), (158, 98), (158, 101), (158, 102), (158, 103), (158, 104), (158, 105), (158, 106), (158, 107), (158, 108), (158, 110), (158, 116), (158, 118), (158, 119), (158, 120), (158, 122), (159, 99), (159, 100), (159, 103), (159, 104), (159, 105), (159, 107), (159, 108), (159, 110), (159, 116), (159, 118), (159, 119), (159, 120), (159, 121), (159, 123), (160, 101), (160, 106), (160, 109), (160, 111), (160, 115), (160, 117), (160, 118), (160, 119), (160, 120), (160, 121), (160, 122), (160, 126), (161, 103), (161, 105), (161, 110), (161, 112), (161, 115), (161, 116), (161, 117), (161, 118), (161, 119), (161, 120), (161, 121), (161, 122), (161, 123), (161, 125), (162, 108), (162, 111), (162, 115), (162, 116), (162, 117), (162, 118), (162, 120), (162, 121), (162, 122), (162, 123), (162, 125), (163, 109), (163, 115), (163, 116), (163, 117), (163, 119), (163, 125), (164, 111), (164, 113), (164, 115), (164, 116), (164, 118), (164, 121), (164, 122), (164, 124), (165, 114), (165, 117), (166, 115), (166, 116)) coordinates_fe3_e96 = ((122, 112), (122, 113), (122, 114), (122, 115), (122, 116), (122, 117), (122, 118), (122, 119), (122, 120), (122, 121), (122, 122), (122, 123), (122, 124), (122, 125), (122, 126), (122, 128), (123, 107), (123, 109), (123, 110), (123, 111), (123, 112), (123, 128), (124, 106), (124, 112), (124, 113), (124, 114), (124, 115), (124, 116), (124, 117), (124, 118), (124, 119), (124, 120), (124, 121), (124, 122), (124, 123), (124, 124), (124, 125), (124, 127), (125, 101), (125, 104), (125, 107), (125, 108), (125, 109), (125, 110), (125, 111), (125, 112), (125, 113), (125, 114), (125, 115), (125, 116), (125, 117), (125, 118), (125, 119), (125, 120), (125, 121), (125, 122), (125, 123), (125, 124), (125, 125), (125, 127), (126, 100), (126, 106), (126, 107), (126, 108), (126, 109), (126, 110), (126, 111), (126, 112), (126, 113), (126, 114), (126, 115), (126, 116), (126, 117), (126, 118), (126, 119), (126, 120), (126, 121), (126, 122), (126, 123), (126, 124), (126, 125), (126, 127), (127, 100), (127, 102), (127, 103), (127, 104), (127, 105), (127, 106), (127, 107), (127, 108), (127, 109), (127, 110), (127, 111), (127, 112), (127, 113), (127, 114), (127, 115), (127, 116), (127, 117), (127, 118), (127, 119), (127, 120), (127, 121), (127, 122), (127, 123), (127, 124), (127, 125), (127, 127), (128, 100), (128, 104), (128, 105), (128, 106), (128, 107), (128, 108), (128, 109), (128, 110), (128, 111), (128, 112), (128, 113), (128, 114), (128, 115), (128, 116), (128, 117), (128, 118), (128, 119), (128, 120), (128, 121), (128, 122), (128, 123), (128, 124), (128, 125), (128, 127), (129, 100), (129, 102), (129, 105), (129, 106), (129, 107), (129, 108), (129, 109), (129, 110), (129, 111), (129, 112), (129, 113), (129, 114), (129, 115), (129, 120), (129, 121), (129, 122), (129, 123), (129, 124), (129, 125), (129, 127), (130, 100), (130, 104), (130, 106), (130, 107), (130, 108), (130, 109), (130, 110), (130, 111), (130, 112), (130, 113), (130, 116), (130, 117), (130, 118), (130, 119), (130, 121), (130, 122), (130, 123), (130, 124), (130, 125), (130, 127), (131, 105), (131, 115), (131, 120), (131, 122), (131, 123), (131, 124), (131, 125), (131, 127), (132, 106), (132, 108), (132, 109), (132, 110), (132, 111), (132, 112), (132, 113), (132, 114), (132, 121), (132, 123), (132, 124), (132, 125), (132, 127), (133, 122), (133, 124), (133, 126), (134, 122), (134, 126), (135, 123)) coordinates_aed8_e6 = ((154, 133), (154, 135), (155, 132), (155, 136), (156, 133), (156, 137), (157, 134), (157, 138), (158, 136), (158, 139), (159, 137), (159, 141), (160, 138), (161, 140)) coordinates_af3060 = ((122, 141), (122, 143), (122, 146), (122, 147), (123, 140), (123, 148), (123, 150), (124, 140), (124, 142), (124, 143), (124, 144), (124, 145), (124, 146), (124, 147), (124, 150), (125, 140), (125, 144), (125, 145), (125, 146), (125, 150), (126, 139), (126, 142), (126, 143), (126, 144), (126, 145), (126, 148), (127, 139), (127, 144), (127, 146), (128, 139), (128, 140), (128, 144), (128, 145), (129, 139)) coordinates_a62_a2_a = ((146, 135), (146, 136), (146, 141), (147, 136), (147, 138), (147, 139), (147, 141), (148, 137), (148, 141), (149, 137), (149, 139), (149, 141), (150, 137), (150, 139), (150, 141), (151, 137), (151, 139), (151, 141), (152, 134), (152, 138), (152, 139), (152, 141), (153, 136), (153, 139), (153, 141), (154, 138), (154, 140), (154, 141), (154, 142), (155, 139), (155, 142), (156, 140), (156, 142), (157, 141)) coordinates_acff2_f = ((128, 148), (128, 150), (129, 146), (129, 150), (130, 144), (130, 148), (130, 149), (130, 151), (131, 145), (131, 147), (131, 148), (131, 149), (131, 151), (132, 145), (132, 147), (132, 148), (132, 151), (133, 146), (133, 150), (134, 146), (135, 140), (135, 141), (135, 145), (135, 147), (136, 139), (136, 142), (136, 143), (136, 147), (137, 138), (137, 140), (137, 141), (137, 146), (138, 138), (138, 140), (138, 141), (138, 142), (138, 145), (139, 137), (139, 139), (139, 140), (139, 141), (139, 143), (140, 137), (140, 139), (140, 140), (140, 142), (141, 137), (141, 139), (141, 140), (141, 141), (141, 142), (142, 137), (142, 139), (142, 141), (143, 136), (143, 138), (143, 139), (143, 141), (144, 136), (144, 141), (145, 138), (145, 140)) coordinates_ffdab9 = ((102, 88), (102, 89), (103, 87), (103, 89), (104, 87), (104, 89), (105, 86), (105, 89), (105, 93), (105, 95), (105, 96), (105, 98), (106, 85), (106, 87), (106, 88), (106, 89), (106, 99), (107, 85), (107, 87), (107, 88), (107, 89), (107, 90), (107, 91), (107, 93), (107, 96), (107, 99), (108, 85), (108, 86), (108, 87), (108, 88), (108, 89), (108, 90), (108, 92), (108, 94), (109, 84), (109, 86), (109, 87), (109, 88), (109, 89), (109, 90), (109, 91), (109, 93), (110, 84), (110, 86), (110, 87), (110, 88), (110, 89), (110, 90), (110, 92), (111, 83), (111, 85), (111, 86), (111, 87), (111, 88), (111, 89), (111, 91), (112, 83), (112, 85), (112, 86), (112, 87), (112, 88), (112, 90), (113, 82), (113, 84), (113, 85), (113, 86), (113, 87), (113, 89), (114, 82), (114, 84), (114, 85), (114, 86), (114, 88), (115, 82), (115, 84), (115, 85), (115, 87), (116, 82), (116, 86), (117, 83), (117, 85)) coordinates_da70_d6 = ((110, 126), (110, 127), (111, 128), (111, 132), (112, 109), (112, 111), (112, 127), (112, 130), (112, 131), (112, 133), (113, 96), (113, 98), (113, 99), (113, 100), (113, 101), (113, 102), (113, 103), (113, 104), (113, 105), (113, 106), (113, 107), (113, 109), (113, 128), (113, 133), (114, 95), (114, 107), (114, 129), (114, 131), (114, 133), (115, 95), (115, 97), (115, 98), (115, 99), (115, 100), (115, 101), (115, 102), (115, 103), (115, 105), (115, 130), (115, 133), (116, 94), (116, 96), (116, 97), (116, 98), (116, 99), (116, 100), (116, 101), (116, 102), (116, 104), (116, 133), (117, 88), (117, 90), (117, 91), (117, 92), (117, 95), (117, 96), (117, 97), (117, 98), (117, 99), (117, 100), (117, 101), (117, 103), (117, 131), (117, 133), (118, 87), (118, 94), (118, 95), (118, 96), (118, 97), (118, 103), (118, 132), (118, 133), (119, 84), (119, 98), (119, 99), (119, 100), (119, 102), (119, 133), (120, 85), (120, 88), (120, 89), (120, 90), (120, 91), (120, 92), (120, 93), (120, 94), (120, 95), (120, 97)) coordinates_00_ced1 = ((78, 123), (78, 125), (78, 126), (78, 128), (79, 122), (79, 128), (80, 121), (80, 123), (80, 124), (80, 125), (80, 127), (81, 114), (81, 116), (81, 117), (81, 118), (81, 119), (81, 120), (81, 122), (81, 123), (81, 124), (81, 125), (81, 127), (82, 114), (82, 121), (82, 122), (82, 123), (82, 124), (82, 126), (83, 108), (83, 110), (83, 115), (83, 116), (83, 117), (83, 118), (83, 119), (83, 120), (83, 121), (83, 122), (83, 123), (83, 124), (83, 126), (84, 107), (84, 111), (84, 114), (84, 115), (84, 116), (84, 119), (84, 120), (84, 121), (84, 122), (84, 123), (84, 124), (84, 126), (85, 101), (85, 102), (85, 108), (85, 109), (85, 113), (85, 114), (85, 115), (85, 116), (85, 118), (85, 120), (85, 121), (85, 122), (85, 123), (85, 125), (86, 99), (86, 103), (86, 104), (86, 105), (86, 107), (86, 108), (86, 110), (86, 111), (86, 112), (86, 113), (86, 114), (86, 116), (86, 119), (86, 125), (87, 99), (87, 101), (87, 102), (87, 103), (87, 106), (87, 108), (87, 111), (87, 112), (87, 114), (87, 116), (87, 120), (87, 121), (87, 122), (87, 123), (87, 125), (88, 98), (88, 100), (88, 101), (88, 104), (88, 105), (88, 106), (88, 108), (88, 113), (88, 115), (89, 98), (89, 100), (89, 103), (89, 105), (89, 106), (89, 107), (89, 108), (89, 109), (89, 110), (89, 111), (89, 112), (89, 115), (90, 99), (90, 100), (90, 104), (90, 106), (90, 107), (90, 109), (90, 113), (90, 114), (91, 99), (91, 100), (91, 105), (91, 108), (92, 99), (92, 100), (92, 106), (92, 107), (93, 99), (93, 100), (94, 99), (94, 100), (94, 112), (95, 98), (95, 100), (95, 101), (95, 106), (95, 107), (95, 108), (95, 109), (95, 110), (95, 113), (95, 119), (96, 92), (96, 94), (96, 95), (96, 96), (96, 97), (96, 98), (96, 99), (96, 100), (96, 103), (96, 104), (96, 105), (96, 111), (96, 113), (97, 98), (97, 99), (97, 100), (97, 101), (97, 106), (97, 107), (97, 108), (97, 109), (97, 110), (97, 111), (97, 113), (98, 92), (98, 94), (98, 95), (98, 97), (98, 98), (98, 99), (98, 100), (98, 101), (98, 102), (98, 103), (98, 104), (98, 105), (98, 106), (98, 107), (98, 108), (98, 109), (98, 110), (98, 111), (98, 113), (99, 92), (99, 96), (99, 98), (99, 99), (99, 100), (99, 101), (99, 102), (99, 103), (99, 104), (99, 105), (99, 106), (99, 107), (99, 108), (99, 109), (99, 110), (99, 112), (100, 92), (100, 97), (100, 99), (100, 103), (100, 107), (100, 108), (100, 109), (100, 110), (100, 112), (101, 91), (101, 93), (101, 97), (101, 101), (101, 102), (101, 103), (101, 104), (101, 105), (101, 108), (101, 109), (101, 110), (101, 112), (102, 92), (102, 95), (102, 107), (102, 112), (103, 93), (103, 95), (103, 96), (103, 98), (103, 108), (103, 111), (103, 112)) coordinates_a120_f0 = ((121, 132), (121, 135), (121, 136), (122, 138), (123, 130), (123, 132), (123, 133), (123, 134), (123, 135), (123, 136), (123, 138), (124, 129), (124, 132), (124, 133), (124, 134), (124, 135), (124, 137), (125, 129), (125, 131), (125, 132), (125, 133), (125, 137), (126, 129), (126, 131), (126, 132), (126, 134), (126, 137), (127, 129), (127, 131), (127, 133), (127, 137), (128, 129), (128, 132), (128, 137), (129, 129), (129, 131), (130, 129), (130, 131), (131, 129), (131, 130), (132, 129), (132, 130), (133, 129), (134, 128)) coordinates_a52_a2_a = ((90, 137), (90, 138), (90, 140), (91, 136), (91, 140), (92, 131), (92, 133), (92, 134), (92, 137), (92, 138), (92, 140), (93, 131), (93, 133), (93, 136), (93, 137), (93, 138), (93, 140), (94, 134), (94, 135), (94, 136), (94, 137), (94, 138), (94, 140), (95, 136), (95, 140), (96, 136), (96, 140), (97, 135), (97, 137), (98, 135)) coordinates_adff2_f = ((98, 139), (99, 137), (99, 141), (100, 134), (100, 136), (100, 139), (100, 141), (101, 135), (101, 139), (101, 141), (102, 137), (102, 141), (103, 139), (103, 142), (104, 140), (104, 142), (104, 143), (105, 140), (105, 143), (106, 141), (106, 144), (107, 142), (107, 145), (108, 143), (108, 146), (109, 144), (109, 147), (110, 145), (110, 148), (111, 145), (111, 147), (111, 149), (112, 144), (112, 146), (112, 147), (112, 148), (113, 145), (113, 148), (113, 149), (113, 152), (114, 146), (114, 150), (114, 153), (115, 148), (115, 154), (116, 150), (116, 151), (116, 152), (116, 154)) coordinates_a020_f0 = ((111, 134), (112, 135), (113, 135), (113, 136), (114, 135), (114, 137), (115, 135), (116, 135), (117, 135), (117, 137), (117, 140), (118, 135), (118, 141), (119, 135), (119, 137), (119, 138), (119, 139), (119, 140), (119, 142), (120, 142)) coordinates_b03060 = ((114, 143), (115, 142), (115, 145), (116, 142), (116, 146), (117, 143), (117, 145), (117, 148), (118, 143), (118, 145), (118, 146), (118, 149), (118, 150), (119, 144), (119, 151), (120, 145), (120, 147), (120, 148), (120, 151), (121, 149), (121, 151)) coordinates_acd8_e6 = ((78, 130), (78, 132), (79, 130), (79, 134), (79, 136), (80, 130), (80, 132), (80, 133), (80, 138), (81, 129), (81, 131), (81, 132), (81, 133), (81, 140), (82, 129), (82, 131), (82, 132), (82, 133), (82, 134), (82, 135), (82, 136), (82, 137), (82, 138), (83, 128), (83, 130), (83, 131), (83, 133), (83, 134), (83, 137), (83, 140), (84, 128), (84, 130), (84, 131), (84, 133), (84, 137), (84, 140), (85, 128), (85, 130), (85, 133), (85, 136), (85, 138), (85, 140), (86, 128), (86, 130), (86, 133), (86, 135), (86, 137), (86, 138), (86, 140), (87, 132), (87, 133), (87, 136), (87, 140), (88, 132), (88, 137), (88, 138), (88, 140), (89, 132), (89, 134), (89, 135), (89, 136)) coordinates_ff3_e96 = ((111, 124), (112, 124), (112, 125), (113, 112), (113, 126), (114, 112), (114, 125), (115, 109), (115, 112), (115, 117), (115, 119), (115, 125), (115, 127), (116, 107), (116, 111), (116, 113), (116, 116), (116, 120), (116, 125), (116, 126), (116, 128), (117, 106), (117, 109), (117, 110), (117, 111), (117, 112), (117, 114), (117, 117), (117, 118), (117, 119), (117, 121), (117, 124), (117, 126), (117, 127), (117, 129), (118, 105), (118, 107), (118, 108), (118, 109), (118, 110), (118, 111), (118, 112), (118, 113), (118, 116), (118, 117), (118, 118), (118, 119), (118, 120), (118, 122), (118, 123), (118, 124), (118, 125), (118, 126), (118, 130), (119, 104), (119, 125), (119, 126), (119, 127), (119, 128), (119, 130), (120, 104), (120, 106), (120, 107), (120, 108), (120, 109), (120, 110), (120, 111), (120, 112), (120, 113), (120, 114), (120, 115), (120, 116), (120, 117), (120, 118), (120, 119), (120, 120), (120, 121), (120, 122), (120, 123), (120, 124), (120, 125), (120, 126)) coordinates_7_effd4 = ((158, 128), (159, 128), (160, 128), (161, 129), (162, 127), (162, 129), (163, 127), (163, 130), (164, 127), (164, 130), (165, 126), (165, 127), (165, 128), (165, 130), (166, 127), (166, 128), (166, 129), (166, 131), (167, 127), (167, 131), (168, 127), (168, 129)) coordinates_b12222 = ((157, 132), (158, 130), (158, 133), (159, 131), (159, 134), (160, 131), (160, 132), (160, 135), (161, 131), (161, 132), (161, 136), (161, 137), (162, 133), (162, 136), (162, 138), (163, 132), (163, 134), (163, 137), (163, 139), (164, 132), (164, 137), (164, 139), (165, 133), (165, 138), (166, 133), (166, 135), (166, 137))
l=[] n=int(input("enter the elements:")) for i in range(0,n): l.append(int(input())) i=0 for i in range(len(l)): for j in range(i+1,len(l)): if l[i]>l[j]: l[i],l[j]=l[j],l[i] print("sorted list is",l)
l = [] n = int(input('enter the elements:')) for i in range(0, n): l.append(int(input())) i = 0 for i in range(len(l)): for j in range(i + 1, len(l)): if l[i] > l[j]: (l[i], l[j]) = (l[j], l[i]) print('sorted list is', l)
class AbstractImporter(): """ Abstract class describing a file importer """ def __init__(self, file_string, file_name=None): self.file_string = file_string self.file_name = file_name def import_data(self): raise NotImplementedError("AbstractImporter is abstract.")
class Abstractimporter: """ Abstract class describing a file importer """ def __init__(self, file_string, file_name=None): self.file_string = file_string self.file_name = file_name def import_data(self): raise not_implemented_error('AbstractImporter is abstract.')
# Modifying 'value_error_numbers.py' program. # Using a while loop so that the user can continue to enter numbers even if # they make a mistake by entering a non-numerical input value. print("Enter two numbers, and we will add them together.") print("Enter 'q' to quit.") while True: first_number = input("\nFirst number: ") if first_number == 'q': break second_number = input("Second number: ") try: answer = int(first_number) + int(second_number) except ValueError: print("You have entered a non-numerical input value.") else: print(answer)
print('Enter two numbers, and we will add them together.') print("Enter 'q' to quit.") while True: first_number = input('\nFirst number: ') if first_number == 'q': break second_number = input('Second number: ') try: answer = int(first_number) + int(second_number) except ValueError: print('You have entered a non-numerical input value.') else: print(answer)
######################################### # Servo01_stop.py # categories: intro # more info @: http://myrobotlab.org/service/Intro ######################################### # uncomment for virtual hardware # Platform.setVirtual(True) # Every settings like limits / port number / controller are saved after initial use # so you can share them between differents script # servoPin01 = 4 # port = "/dev/ttyUSB0" # port = "COM15" # release a servo controller and a servo Runtime.releaseService("arduino") Runtime.releaseService("servo01") # we tell to the service what is going on # intro.isServoActivated = False ## FIXME this gives error readonly intro.broadcastState()
Runtime.releaseService('arduino') Runtime.releaseService('servo01') intro.broadcastState()
def anonymize(person_names, should_anonymize): """ Creates a map of person names. :param person_names: List of person names :param should_anonymize: If person names should be anonymized :return: """ person_name_dict = dict() person_counter = 1 for person_name in person_names: person_name_dict[person_name] = ("Person #" + str(person_counter)) if should_anonymize else person_name person_counter += 1 return person_name_dict
def anonymize(person_names, should_anonymize): """ Creates a map of person names. :param person_names: List of person names :param should_anonymize: If person names should be anonymized :return: """ person_name_dict = dict() person_counter = 1 for person_name in person_names: person_name_dict[person_name] = 'Person #' + str(person_counter) if should_anonymize else person_name person_counter += 1 return person_name_dict
tout = np.linspace(0, 10) k_vals = 0.42, 0.17 # arbitrary in this case y0 = [1, 1, 0] yout = odeint(rhs, y0, tout, k_vals) # EXERCISE: rhs, y0, tout, k_vals
tout = np.linspace(0, 10) k_vals = (0.42, 0.17) y0 = [1, 1, 0] yout = odeint(rhs, y0, tout, k_vals)
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"Hline": "00_core.ipynb", "ImageBuffer": "00_core.ipynb", "grid_subsampling": "00_core.ipynb", "getDirctionVectorsByPCA": "00_core.ipynb", "pointsProjectAxis": "00_core.ipynb", "radiusOfCylinderByLeastSq": "00_core.ipynb", "get_start_end_line": "00_core.ipynb", "cylinderSurface": "00_core.ipynb", "extractFeathersByPointCloud": "00_core.ipynb", "pointsToRaster": "00_core.ipynb", "getCellIDByPolarCoordinates": "00_core.ipynb", "houghToRasterByCellID": "00_core.ipynb", "recordHoughLines": "00_core.ipynb", "countNumOfConsecutiveObj": "00_core.ipynb", "calRowByColViaLineEquation": "00_core.ipynb", "generateCorridorByLine": "00_core.ipynb", "generateBuffer": "00_core.ipynb", "locatePointsFromBuffer": "00_core.ipynb", "locatePointsFromBufferSlideWindow": "00_core.ipynb", "getFeaturesFromPointCloud": "00_core.ipynb", "evaluateLinesDiscontinuity": "00_core.ipynb", "constructCorridorsByHT": "00_core.ipynb", "getPointsFromSlideCorridors": "00_core.ipynb", "constructSlideCuboidsByPointCloud": "00_core.ipynb", "extractLinesFromCorridor": "00_core.ipynb", "generateSlideWindowByX": "00_core.ipynb", "extractLinesFromPointCloud": "00_core.ipynb", "secondHTandSW": "00_core.ipynb", "LPoints": "01_structure.ipynb", "generateLPByIDS": "02_functions.ipynb", "getPointsFromSource": "02_functions.ipynb", "locatePointsFromBuffer_3D": "02_functions.ipynb", "calOutlierByIQR": "02_functions.ipynb", "generateLineBordersByBuffer": "02_functions.ipynb", "extractLineFromTarget": "02_functions.ipynb", "extractLineFromTarget_dales": "02_functions.ipynb", "getVoxelKeys": "02_functions.ipynb", "filterPointsByVoxel": "02_functions.ipynb"} modules = ["core.py", "lyuds.py", "lyufunc.py"] doc_url = "https://lyuhaitao.github.io/lyutool/" git_url = "https://github.com/lyuhaitao/lyutool/tree/master/" def custom_doc_links(name): return None
__all__ = ['index', 'modules', 'custom_doc_links', 'git_url'] index = {'Hline': '00_core.ipynb', 'ImageBuffer': '00_core.ipynb', 'grid_subsampling': '00_core.ipynb', 'getDirctionVectorsByPCA': '00_core.ipynb', 'pointsProjectAxis': '00_core.ipynb', 'radiusOfCylinderByLeastSq': '00_core.ipynb', 'get_start_end_line': '00_core.ipynb', 'cylinderSurface': '00_core.ipynb', 'extractFeathersByPointCloud': '00_core.ipynb', 'pointsToRaster': '00_core.ipynb', 'getCellIDByPolarCoordinates': '00_core.ipynb', 'houghToRasterByCellID': '00_core.ipynb', 'recordHoughLines': '00_core.ipynb', 'countNumOfConsecutiveObj': '00_core.ipynb', 'calRowByColViaLineEquation': '00_core.ipynb', 'generateCorridorByLine': '00_core.ipynb', 'generateBuffer': '00_core.ipynb', 'locatePointsFromBuffer': '00_core.ipynb', 'locatePointsFromBufferSlideWindow': '00_core.ipynb', 'getFeaturesFromPointCloud': '00_core.ipynb', 'evaluateLinesDiscontinuity': '00_core.ipynb', 'constructCorridorsByHT': '00_core.ipynb', 'getPointsFromSlideCorridors': '00_core.ipynb', 'constructSlideCuboidsByPointCloud': '00_core.ipynb', 'extractLinesFromCorridor': '00_core.ipynb', 'generateSlideWindowByX': '00_core.ipynb', 'extractLinesFromPointCloud': '00_core.ipynb', 'secondHTandSW': '00_core.ipynb', 'LPoints': '01_structure.ipynb', 'generateLPByIDS': '02_functions.ipynb', 'getPointsFromSource': '02_functions.ipynb', 'locatePointsFromBuffer_3D': '02_functions.ipynb', 'calOutlierByIQR': '02_functions.ipynb', 'generateLineBordersByBuffer': '02_functions.ipynb', 'extractLineFromTarget': '02_functions.ipynb', 'extractLineFromTarget_dales': '02_functions.ipynb', 'getVoxelKeys': '02_functions.ipynb', 'filterPointsByVoxel': '02_functions.ipynb'} modules = ['core.py', 'lyuds.py', 'lyufunc.py'] doc_url = 'https://lyuhaitao.github.io/lyutool/' git_url = 'https://github.com/lyuhaitao/lyutool/tree/master/' def custom_doc_links(name): return None
# Single Line Comment print('this is code') # another comment print('another piece of code') """ Multiple Line Comments this is avery big function it retrieves data it is very important REPL Repeat Evaluate Print Loop """
print('this is code') print('another piece of code') '\nMultiple Line Comments\nthis is avery big function\nit retrieves data\nit is very important\n\nREPL\nRepeat Evaluate Print Loop\n'
class Verse: """A class used to represent a verse from the bible.""" def __init__(self, text: str, number: int): """ Initialize a `Verse` object. :Parameters: - `text`: sting containing the text of the verse. - `number`: integer with the number of the verse. """ self.__text = text.strip() self.__number = number def __len__(self): return len(self.text) def __repr__(self): return f'Verse(\"{self.text}\", {self.number})' def __str__(self): return self.text @property def text(self): """String with the text of the verse.""" return self.__text @property def number(self): """Integer with the verse's number.""" return self.__number
class Verse: """A class used to represent a verse from the bible.""" def __init__(self, text: str, number: int): """ Initialize a `Verse` object. :Parameters: - `text`: sting containing the text of the verse. - `number`: integer with the number of the verse. """ self.__text = text.strip() self.__number = number def __len__(self): return len(self.text) def __repr__(self): return f'Verse("{self.text}", {self.number})' def __str__(self): return self.text @property def text(self): """String with the text of the verse.""" return self.__text @property def number(self): """Integer with the verse's number.""" return self.__number
# Enter your code here. Read input from STDIN. Print output to STDOUT a = list(map(int, input().split())) happy = 0 n = a[0] m = a[1] b = list(map(int, input().split())) b = b[0:n] c = list(map(int, input().split())) c = c[0:m] d = list(map(int, input().split())) d = d[0:m] for i in c: if b.count(i)!= 0: happy = happy + 1 for i in d: if b.count(i)!= 0: happy = happy - 1 print(happy)
a = list(map(int, input().split())) happy = 0 n = a[0] m = a[1] b = list(map(int, input().split())) b = b[0:n] c = list(map(int, input().split())) c = c[0:m] d = list(map(int, input().split())) d = d[0:m] for i in c: if b.count(i) != 0: happy = happy + 1 for i in d: if b.count(i) != 0: happy = happy - 1 print(happy)
# Small alphabet w using fucntion def for_w(): """ *'s printed in the shape of w """ for row in range(5): for col in range(9): if col% 8 ==0 or row+col ==4 or col -row ==4: print('*',end=' ') else: print(' ',end=' ') print() def while_w(): """ *'s printed in the Shape of Small w """ row =0 while row <5: col =0 while col <9: if col% 8 ==0 or row+col ==4 or col -row ==4: print('*',end=' ') else: print(' ',end=' ') col+=1 print() row +=1 while_w()
def for_w(): """ *'s printed in the shape of w """ for row in range(5): for col in range(9): if col % 8 == 0 or row + col == 4 or col - row == 4: print('*', end=' ') else: print(' ', end=' ') print() def while_w(): """ *'s printed in the Shape of Small w """ row = 0 while row < 5: col = 0 while col < 9: if col % 8 == 0 or row + col == 4 or col - row == 4: print('*', end=' ') else: print(' ', end=' ') col += 1 print() row += 1 while_w()
#Embedded file name: ACEStream\Video\defs.pyo PLAYBACKMODE_INTERNAL = 0 PLAYBACKMODE_EXTERNAL_DEFAULT = 1 PLAYBACKMODE_EXTERNAL_MIME = 2 OTHERTORRENTS_STOP_RESTART = 0 OTHERTORRENTS_STOP = 1 OTHERTORRENTS_CONTINUE = 2 MEDIASTATE_PLAYING = 1 MEDIASTATE_PAUSED = 2 MEDIASTATE_STOPPED = 3 BGP_STATE_IDLE = 0 BGP_STATE_PREBUFFERING = 1 BGP_STATE_DOWNLOADING = 2 BGP_STATE_BUFFERING = 3 BGP_STATE_COMPLETED = 4 BGP_STATE_HASHCHECKING = 5 BGP_STATE_ERROR = 6
playbackmode_internal = 0 playbackmode_external_default = 1 playbackmode_external_mime = 2 othertorrents_stop_restart = 0 othertorrents_stop = 1 othertorrents_continue = 2 mediastate_playing = 1 mediastate_paused = 2 mediastate_stopped = 3 bgp_state_idle = 0 bgp_state_prebuffering = 1 bgp_state_downloading = 2 bgp_state_buffering = 3 bgp_state_completed = 4 bgp_state_hashchecking = 5 bgp_state_error = 6
src = Split(''' starterkitgui.c ''') component = aos_component('starterkitgui', src) component.add_comp_deps('kernel/yloop', 'tools/cli') component.add_global_macros('AOS_NO_WIFI')
src = split('\n starterkitgui.c\n') component = aos_component('starterkitgui', src) component.add_comp_deps('kernel/yloop', 'tools/cli') component.add_global_macros('AOS_NO_WIFI')
def saludar(): return "Hola mundo" saludar() print(saludar()) print('----------') m = saludar() print(m) print('------------') def saludo(nombre, mensaje='hola '): print(mensaje, nombre) saludo('roberto')
def saludar(): return 'Hola mundo' saludar() print(saludar()) print('----------') m = saludar() print(m) print('------------') def saludo(nombre, mensaje='hola '): print(mensaje, nombre) saludo('roberto')
# Not finished rows = int(input()) array = [[0 for x in range(3)] for y in range(rows)] for i in range(rows): line = [float(i) for i in input().split()] for j in range(3): array[i][j] = int(line[j]) totalcount = 0 for k in range(rows): counter=array[k][0] +array[k][1] +array[k][2] if(counter >= 2): totalcount += 1 print(str(totalcount)) #bur
rows = int(input()) array = [[0 for x in range(3)] for y in range(rows)] for i in range(rows): line = [float(i) for i in input().split()] for j in range(3): array[i][j] = int(line[j]) totalcount = 0 for k in range(rows): counter = array[k][0] + array[k][1] + array[k][2] if counter >= 2: totalcount += 1 print(str(totalcount))
def find_ranges(nums): if not nums: return [] first = last = nums[0] ranges = [] def append_range(first, last): ranges.append('{}->{}'.format(first, last)) for num in nums: if abs(num - last) > 1: append_range(first, last) first = num last = num # Remaining append_range(first, last) return ranges
def find_ranges(nums): if not nums: return [] first = last = nums[0] ranges = [] def append_range(first, last): ranges.append('{}->{}'.format(first, last)) for num in nums: if abs(num - last) > 1: append_range(first, last) first = num last = num append_range(first, last) return ranges
# 77. Combinations # Time: k*nCk (Review: nCk combinations each of length k) # Space: k*nCk class Solution: def combine(self, n: int, k: int) -> List[List[int]]: if n==0: return [] if k==0: return [[]] if k==1: return [[i] for i in range(1,n+1)] without_n = self.combine(n-1, k) with_n = self.combine(n-1, k-1) for index in range(len(with_n)): with_n[index] = [n]+with_n[index] return without_n + with_n
class Solution: def combine(self, n: int, k: int) -> List[List[int]]: if n == 0: return [] if k == 0: return [[]] if k == 1: return [[i] for i in range(1, n + 1)] without_n = self.combine(n - 1, k) with_n = self.combine(n - 1, k - 1) for index in range(len(with_n)): with_n[index] = [n] + with_n[index] return without_n + with_n
""" PASSENGERS """ numPassengers = 3190 passenger_arriving = ( (5, 7, 2, 5, 1, 0, 5, 10, 5, 3, 2, 0), # 0 (6, 14, 4, 3, 1, 0, 3, 11, 5, 4, 2, 0), # 1 (3, 6, 6, 4, 3, 0, 7, 7, 5, 3, 1, 0), # 2 (2, 1, 6, 3, 1, 0, 7, 8, 10, 3, 2, 0), # 3 (4, 4, 6, 2, 1, 0, 4, 6, 7, 2, 2, 0), # 4 (5, 12, 7, 4, 1, 0, 12, 7, 2, 3, 1, 0), # 5 (4, 7, 4, 2, 4, 0, 6, 3, 3, 3, 7, 0), # 6 (3, 10, 8, 3, 1, 0, 10, 9, 4, 4, 2, 0), # 7 (4, 6, 10, 4, 3, 0, 8, 6, 3, 8, 2, 0), # 8 (8, 9, 8, 3, 1, 0, 5, 8, 3, 7, 5, 0), # 9 (7, 12, 8, 6, 1, 0, 7, 4, 9, 6, 0, 0), # 10 (2, 9, 9, 5, 1, 0, 5, 12, 4, 4, 4, 0), # 11 (3, 15, 13, 2, 2, 0, 7, 6, 5, 4, 1, 0), # 12 (2, 8, 5, 3, 0, 0, 7, 12, 6, 4, 3, 0), # 13 (2, 11, 5, 4, 3, 0, 7, 8, 5, 1, 0, 0), # 14 (3, 9, 2, 6, 3, 0, 7, 5, 9, 9, 7, 0), # 15 (3, 8, 7, 3, 2, 0, 4, 12, 7, 6, 1, 0), # 16 (3, 5, 5, 5, 0, 0, 6, 5, 6, 5, 4, 0), # 17 (6, 6, 4, 4, 2, 0, 7, 5, 3, 5, 0, 0), # 18 (4, 9, 10, 7, 2, 0, 7, 11, 3, 6, 6, 0), # 19 (5, 9, 8, 2, 1, 0, 7, 7, 6, 3, 3, 0), # 20 (2, 9, 8, 4, 2, 0, 9, 7, 10, 2, 0, 0), # 21 (2, 12, 5, 2, 3, 0, 4, 9, 7, 6, 2, 0), # 22 (6, 13, 11, 3, 2, 0, 6, 4, 5, 6, 4, 0), # 23 (3, 12, 6, 4, 1, 0, 8, 9, 8, 6, 7, 0), # 24 (8, 11, 5, 4, 0, 0, 9, 9, 9, 2, 4, 0), # 25 (6, 8, 3, 1, 4, 0, 2, 10, 5, 5, 2, 0), # 26 (2, 10, 4, 3, 1, 0, 10, 11, 4, 6, 2, 0), # 27 (2, 16, 13, 1, 1, 0, 0, 5, 5, 3, 3, 0), # 28 (6, 9, 10, 5, 1, 0, 8, 11, 6, 4, 2, 0), # 29 (4, 15, 9, 5, 1, 0, 10, 9, 6, 2, 0, 0), # 30 (3, 9, 3, 3, 2, 0, 4, 7, 5, 11, 4, 0), # 31 (1, 7, 11, 3, 2, 0, 4, 12, 5, 2, 3, 0), # 32 (10, 4, 6, 1, 2, 0, 9, 11, 7, 5, 1, 0), # 33 (5, 7, 6, 6, 3, 0, 4, 12, 9, 7, 0, 0), # 34 (5, 8, 8, 3, 2, 0, 4, 10, 8, 6, 1, 0), # 35 (3, 3, 8, 3, 1, 0, 5, 8, 4, 2, 2, 0), # 36 (2, 17, 10, 6, 1, 0, 10, 9, 4, 4, 2, 0), # 37 (5, 10, 5, 1, 2, 0, 7, 8, 11, 8, 3, 0), # 38 (6, 13, 10, 3, 2, 0, 5, 10, 5, 2, 3, 0), # 39 (3, 6, 9, 5, 1, 0, 8, 12, 9, 2, 1, 0), # 40 (8, 11, 4, 4, 4, 0, 3, 12, 5, 4, 1, 0), # 41 (2, 6, 4, 2, 3, 0, 11, 8, 8, 5, 2, 0), # 42 (2, 9, 12, 2, 5, 0, 3, 6, 7, 9, 4, 0), # 43 (4, 13, 8, 3, 1, 0, 4, 8, 5, 3, 2, 0), # 44 (1, 11, 8, 1, 1, 0, 5, 13, 3, 1, 2, 0), # 45 (9, 14, 7, 3, 3, 0, 6, 5, 6, 10, 1, 0), # 46 (5, 10, 12, 4, 3, 0, 4, 6, 5, 7, 2, 0), # 47 (5, 9, 10, 2, 3, 0, 8, 13, 5, 4, 2, 0), # 48 (3, 11, 7, 5, 1, 0, 4, 14, 5, 9, 2, 0), # 49 (7, 13, 14, 3, 1, 0, 13, 11, 4, 5, 0, 0), # 50 (12, 9, 7, 4, 3, 0, 7, 8, 10, 5, 2, 0), # 51 (4, 9, 4, 6, 2, 0, 3, 4, 12, 6, 2, 0), # 52 (5, 9, 6, 6, 1, 0, 4, 6, 9, 7, 1, 0), # 53 (4, 6, 10, 7, 4, 0, 1, 7, 4, 2, 0, 0), # 54 (4, 8, 6, 2, 1, 0, 9, 5, 6, 2, 1, 0), # 55 (5, 11, 12, 5, 4, 0, 4, 6, 5, 3, 0, 0), # 56 (3, 13, 5, 3, 2, 0, 10, 14, 5, 8, 2, 0), # 57 (3, 8, 2, 4, 4, 0, 4, 9, 7, 6, 2, 0), # 58 (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), # 59 ) station_arriving_intensity = ( (3.7095121817383676, 9.515044981060607, 11.19193043059126, 8.87078804347826, 10.000240384615385, 6.659510869565219), # 0 (3.7443308140669203, 9.620858238197952, 11.252381752534994, 8.920190141908213, 10.075193108974359, 6.657240994867151), # 1 (3.7787518681104277, 9.725101964085297, 11.31139817195087, 8.968504830917876, 10.148564102564103, 6.654901690821256), # 2 (3.8127461259877085, 9.827663671875001, 11.368936576156813, 9.01569089673913, 10.22028605769231, 6.652493274456523), # 3 (3.8462843698175795, 9.928430874719417, 11.424953852470724, 9.061707125603865, 10.290291666666668, 6.6500160628019325), # 4 (3.879337381718857, 10.027291085770905, 11.479406888210512, 9.106512303743962, 10.358513621794872, 6.647470372886473), # 5 (3.9118759438103607, 10.12413181818182, 11.53225257069409, 9.150065217391306, 10.424884615384617, 6.644856521739131), # 6 (3.943870838210907, 10.218840585104518, 11.58344778723936, 9.19232465277778, 10.489337339743592, 6.64217482638889), # 7 (3.975292847039314, 10.311304899691358, 11.632949425164242, 9.233249396135266, 10.551804487179488, 6.639425603864735), # 8 (4.006112752414399, 10.401412275094698, 11.680714371786634, 9.272798233695653, 10.61221875, 6.636609171195653), # 9 (4.03630133645498, 10.489050224466892, 11.72669951442445, 9.310929951690824, 10.670512820512823, 6.633725845410628), # 10 (4.065829381279876, 10.5741062609603, 11.7708617403956, 9.347603336352659, 10.726619391025642, 6.630775943538648), # 11 (4.094667669007903, 10.656467897727273, 11.813157937017996, 9.382777173913043, 10.780471153846154, 6.627759782608695), # 12 (4.122786981757876, 10.736022647920176, 11.85354499160954, 9.416410250603866, 10.832000801282053, 6.624677679649759), # 13 (4.15015810164862, 10.81265802469136, 11.891979791488144, 9.448461352657004, 10.881141025641025, 6.621529951690821), # 14 (4.1767518107989465, 10.886261541193182, 11.928419223971721, 9.478889266304348, 10.92782451923077, 6.618316915760871), # 15 (4.202538891327675, 10.956720710578002, 11.96282017637818, 9.507652777777778, 10.971983974358976, 6.61503888888889), # 16 (4.227490125353625, 11.023923045998176, 11.995139536025421, 9.53471067330918, 11.013552083333336, 6.611696188103866), # 17 (4.25157629499561, 11.087756060606061, 12.025334190231364, 9.560021739130436, 11.052461538461543, 6.608289130434783), # 18 (4.274768182372451, 11.148107267554012, 12.053361026313912, 9.58354476147343, 11.088645032051284, 6.604818032910629), # 19 (4.297036569602966, 11.204864179994388, 12.079176931590974, 9.60523852657005, 11.122035256410259, 6.601283212560387), # 20 (4.318352238805971, 11.257914311079544, 12.102738793380466, 9.625061820652174, 11.152564903846153, 6.597684986413044), # 21 (4.338685972100283, 11.307145173961842, 12.124003499000287, 9.642973429951692, 11.180166666666667, 6.5940236714975855), # 22 (4.358008551604722, 11.352444281793632, 12.142927935768354, 9.658932140700484, 11.204773237179488, 6.590299584842997), # 23 (4.3762907594381035, 11.393699147727272, 12.159468991002571, 9.672896739130437, 11.226317307692307, 6.586513043478261), # 24 (4.393503377719247, 11.430797284915124, 12.173583552020853, 9.684826011473431, 11.244731570512819, 6.582664364432368), # 25 (4.409617188566969, 11.46362620650954, 12.185228506141103, 9.694678743961353, 11.259948717948719, 6.5787538647343), # 26 (4.424602974100088, 11.492073425662877, 12.194360740681233, 9.702413722826089, 11.271901442307694, 6.574781861413045), # 27 (4.438431516437421, 11.516026455527497, 12.200937142959157, 9.707989734299519, 11.280522435897437, 6.570748671497586), # 28 (4.4510735976977855, 11.535372809255753, 12.204914600292774, 9.711365564613528, 11.285744391025641, 6.566654612016909), # 29 (4.4625, 11.55, 12.20625, 9.7125, 11.287500000000001, 6.562500000000001), # 30 (4.47319183983376, 11.56215031960227, 12.205248928140096, 9.712295118464054, 11.286861125886526, 6.556726763701484), # 31 (4.4836528452685425, 11.574140056818184, 12.202274033816424, 9.711684477124184, 11.28495815602837, 6.547834661835751), # 32 (4.493887715792838, 11.585967720170455, 12.197367798913046, 9.710674080882354, 11.281811569148937, 6.535910757121439), # 33 (4.503901150895141, 11.597631818181819, 12.19057270531401, 9.709269934640524, 11.277441843971632, 6.521042112277196), # 34 (4.513697850063939, 11.609130859374998, 12.181931234903383, 9.707478043300654, 11.27186945921986, 6.503315790021656), # 35 (4.523282512787724, 11.62046335227273, 12.171485869565219, 9.705304411764708, 11.265114893617023, 6.482818853073463), # 36 (4.532659838554988, 11.631627805397729, 12.159279091183576, 9.70275504493464, 11.257198625886524, 6.4596383641512585), # 37 (4.5418345268542195, 11.642622727272729, 12.145353381642513, 9.699835947712419, 11.248141134751775, 6.433861385973679), # 38 (4.5508112771739135, 11.653446626420456, 12.129751222826087, 9.696553125000001, 11.23796289893617, 6.40557498125937), # 39 (4.559594789002558, 11.664098011363638, 12.11251509661836, 9.692912581699348, 11.22668439716312, 6.37486621272697), # 40 (4.568189761828645, 11.674575390625, 12.093687484903382, 9.68892032271242, 11.214326108156028, 6.34182214309512), # 41 (4.576600895140665, 11.684877272727276, 12.07331086956522, 9.684582352941177, 11.2009085106383, 6.3065298350824595), # 42 (4.584832888427111, 11.69500216619318, 12.051427732487923, 9.679904677287583, 11.186452083333334, 6.26907635140763), # 43 (4.592890441176471, 11.704948579545455, 12.028080555555556, 9.674893300653595, 11.17097730496454, 6.229548754789272), # 44 (4.600778252877237, 11.714715021306818, 12.003311820652177, 9.669554227941177, 11.15450465425532, 6.188034107946028), # 45 (4.6085010230179035, 11.724300000000003, 11.97716400966184, 9.663893464052288, 11.137054609929079, 6.144619473596536), # 46 (4.616063451086957, 11.733702024147728, 11.9496796044686, 9.65791701388889, 11.118647650709221, 6.099391914459438), # 47 (4.623470236572891, 11.742919602272728, 11.920901086956523, 9.651630882352942, 11.099304255319149, 6.052438493253375), # 48 (4.630726078964194, 11.751951242897727, 11.890870939009663, 9.645041074346407, 11.079044902482272, 6.003846272696985), # 49 (4.6378356777493615, 11.760795454545454, 11.85963164251208, 9.638153594771243, 11.057890070921987, 5.953702315508913), # 50 (4.6448037324168805, 11.769450745738636, 11.827225679347826, 9.630974448529413, 11.035860239361703, 5.902093684407797), # 51 (4.651634942455243, 11.777915625, 11.793695531400965, 9.623509640522876, 11.012975886524824, 5.849107442112278), # 52 (4.658334007352941, 11.786188600852274, 11.759083680555555, 9.615765175653596, 10.989257491134753, 5.794830651340996), # 53 (4.6649056265984665, 11.79426818181818, 11.723432608695653, 9.60774705882353, 10.964725531914894, 5.739350374812594), # 54 (4.671354499680307, 11.802152876420456, 11.686784797705313, 9.599461294934642, 10.939400487588653, 5.682753675245711), # 55 (4.677685326086957, 11.809841193181818, 11.649182729468599, 9.59091388888889, 10.913302836879433, 5.625127615358988), # 56 (4.683902805306906, 11.817331640625003, 11.610668885869565, 9.582110845588236, 10.886453058510638, 5.566559257871065), # 57 (4.690011636828645, 11.824622727272727, 11.57128574879227, 9.573058169934642, 10.858871631205675, 5.507135665500583), # 58 (0.0, 0.0, 0.0, 0.0, 0.0, 0.0), # 59 ) passenger_arriving_acc = ( (5, 7, 2, 5, 1, 0, 5, 10, 5, 3, 2, 0), # 0 (11, 21, 6, 8, 2, 0, 8, 21, 10, 7, 4, 0), # 1 (14, 27, 12, 12, 5, 0, 15, 28, 15, 10, 5, 0), # 2 (16, 28, 18, 15, 6, 0, 22, 36, 25, 13, 7, 0), # 3 (20, 32, 24, 17, 7, 0, 26, 42, 32, 15, 9, 0), # 4 (25, 44, 31, 21, 8, 0, 38, 49, 34, 18, 10, 0), # 5 (29, 51, 35, 23, 12, 0, 44, 52, 37, 21, 17, 0), # 6 (32, 61, 43, 26, 13, 0, 54, 61, 41, 25, 19, 0), # 7 (36, 67, 53, 30, 16, 0, 62, 67, 44, 33, 21, 0), # 8 (44, 76, 61, 33, 17, 0, 67, 75, 47, 40, 26, 0), # 9 (51, 88, 69, 39, 18, 0, 74, 79, 56, 46, 26, 0), # 10 (53, 97, 78, 44, 19, 0, 79, 91, 60, 50, 30, 0), # 11 (56, 112, 91, 46, 21, 0, 86, 97, 65, 54, 31, 0), # 12 (58, 120, 96, 49, 21, 0, 93, 109, 71, 58, 34, 0), # 13 (60, 131, 101, 53, 24, 0, 100, 117, 76, 59, 34, 0), # 14 (63, 140, 103, 59, 27, 0, 107, 122, 85, 68, 41, 0), # 15 (66, 148, 110, 62, 29, 0, 111, 134, 92, 74, 42, 0), # 16 (69, 153, 115, 67, 29, 0, 117, 139, 98, 79, 46, 0), # 17 (75, 159, 119, 71, 31, 0, 124, 144, 101, 84, 46, 0), # 18 (79, 168, 129, 78, 33, 0, 131, 155, 104, 90, 52, 0), # 19 (84, 177, 137, 80, 34, 0, 138, 162, 110, 93, 55, 0), # 20 (86, 186, 145, 84, 36, 0, 147, 169, 120, 95, 55, 0), # 21 (88, 198, 150, 86, 39, 0, 151, 178, 127, 101, 57, 0), # 22 (94, 211, 161, 89, 41, 0, 157, 182, 132, 107, 61, 0), # 23 (97, 223, 167, 93, 42, 0, 165, 191, 140, 113, 68, 0), # 24 (105, 234, 172, 97, 42, 0, 174, 200, 149, 115, 72, 0), # 25 (111, 242, 175, 98, 46, 0, 176, 210, 154, 120, 74, 0), # 26 (113, 252, 179, 101, 47, 0, 186, 221, 158, 126, 76, 0), # 27 (115, 268, 192, 102, 48, 0, 186, 226, 163, 129, 79, 0), # 28 (121, 277, 202, 107, 49, 0, 194, 237, 169, 133, 81, 0), # 29 (125, 292, 211, 112, 50, 0, 204, 246, 175, 135, 81, 0), # 30 (128, 301, 214, 115, 52, 0, 208, 253, 180, 146, 85, 0), # 31 (129, 308, 225, 118, 54, 0, 212, 265, 185, 148, 88, 0), # 32 (139, 312, 231, 119, 56, 0, 221, 276, 192, 153, 89, 0), # 33 (144, 319, 237, 125, 59, 0, 225, 288, 201, 160, 89, 0), # 34 (149, 327, 245, 128, 61, 0, 229, 298, 209, 166, 90, 0), # 35 (152, 330, 253, 131, 62, 0, 234, 306, 213, 168, 92, 0), # 36 (154, 347, 263, 137, 63, 0, 244, 315, 217, 172, 94, 0), # 37 (159, 357, 268, 138, 65, 0, 251, 323, 228, 180, 97, 0), # 38 (165, 370, 278, 141, 67, 0, 256, 333, 233, 182, 100, 0), # 39 (168, 376, 287, 146, 68, 0, 264, 345, 242, 184, 101, 0), # 40 (176, 387, 291, 150, 72, 0, 267, 357, 247, 188, 102, 0), # 41 (178, 393, 295, 152, 75, 0, 278, 365, 255, 193, 104, 0), # 42 (180, 402, 307, 154, 80, 0, 281, 371, 262, 202, 108, 0), # 43 (184, 415, 315, 157, 81, 0, 285, 379, 267, 205, 110, 0), # 44 (185, 426, 323, 158, 82, 0, 290, 392, 270, 206, 112, 0), # 45 (194, 440, 330, 161, 85, 0, 296, 397, 276, 216, 113, 0), # 46 (199, 450, 342, 165, 88, 0, 300, 403, 281, 223, 115, 0), # 47 (204, 459, 352, 167, 91, 0, 308, 416, 286, 227, 117, 0), # 48 (207, 470, 359, 172, 92, 0, 312, 430, 291, 236, 119, 0), # 49 (214, 483, 373, 175, 93, 0, 325, 441, 295, 241, 119, 0), # 50 (226, 492, 380, 179, 96, 0, 332, 449, 305, 246, 121, 0), # 51 (230, 501, 384, 185, 98, 0, 335, 453, 317, 252, 123, 0), # 52 (235, 510, 390, 191, 99, 0, 339, 459, 326, 259, 124, 0), # 53 (239, 516, 400, 198, 103, 0, 340, 466, 330, 261, 124, 0), # 54 (243, 524, 406, 200, 104, 0, 349, 471, 336, 263, 125, 0), # 55 (248, 535, 418, 205, 108, 0, 353, 477, 341, 266, 125, 0), # 56 (251, 548, 423, 208, 110, 0, 363, 491, 346, 274, 127, 0), # 57 (254, 556, 425, 212, 114, 0, 367, 500, 353, 280, 129, 0), # 58 (254, 556, 425, 212, 114, 0, 367, 500, 353, 280, 129, 0), # 59 ) passenger_arriving_rate = ( (3.7095121817383676, 7.612035984848484, 6.715158258354756, 3.5483152173913037, 2.000048076923077, 0.0, 6.659510869565219, 8.000192307692307, 5.322472826086956, 4.476772172236504, 1.903008996212121, 0.0), # 0 (3.7443308140669203, 7.696686590558361, 6.751429051520996, 3.5680760567632848, 2.0150386217948717, 0.0, 6.657240994867151, 8.060154487179487, 5.352114085144928, 4.500952701013997, 1.9241716476395903, 0.0), # 1 (3.7787518681104277, 7.780081571268237, 6.786838903170522, 3.58740193236715, 2.0297128205128203, 0.0, 6.654901690821256, 8.118851282051281, 5.381102898550726, 4.524559268780347, 1.9450203928170593, 0.0), # 2 (3.8127461259877085, 7.8621309375, 6.821361945694087, 3.6062763586956517, 2.044057211538462, 0.0, 6.652493274456523, 8.176228846153847, 5.409414538043478, 4.547574630462725, 1.965532734375, 0.0), # 3 (3.8462843698175795, 7.942744699775533, 6.854972311482434, 3.624682850241546, 2.0580583333333333, 0.0, 6.6500160628019325, 8.232233333333333, 5.437024275362319, 4.569981540988289, 1.9856861749438832, 0.0), # 4 (3.879337381718857, 8.021832868616723, 6.887644132926307, 3.6426049214975844, 2.0717027243589743, 0.0, 6.647470372886473, 8.286810897435897, 5.463907382246377, 4.591762755284204, 2.005458217154181, 0.0), # 5 (3.9118759438103607, 8.099305454545455, 6.919351542416455, 3.660026086956522, 2.084976923076923, 0.0, 6.644856521739131, 8.339907692307692, 5.490039130434783, 4.612901028277636, 2.0248263636363637, 0.0), # 6 (3.943870838210907, 8.175072468083613, 6.950068672343615, 3.6769298611111116, 2.0978674679487184, 0.0, 6.64217482638889, 8.391469871794873, 5.515394791666668, 4.633379114895743, 2.043768117020903, 0.0), # 7 (3.975292847039314, 8.249043919753085, 6.979769655098544, 3.693299758454106, 2.1103608974358976, 0.0, 6.639425603864735, 8.44144358974359, 5.5399496376811594, 4.653179770065696, 2.062260979938271, 0.0), # 8 (4.006112752414399, 8.321129820075758, 7.00842862307198, 3.709119293478261, 2.12244375, 0.0, 6.636609171195653, 8.489775, 5.563678940217391, 4.672285748714653, 2.0802824550189394, 0.0), # 9 (4.03630133645498, 8.391240179573513, 7.03601970865467, 3.724371980676329, 2.134102564102564, 0.0, 6.633725845410628, 8.536410256410257, 5.586557971014494, 4.690679805769779, 2.0978100448933783, 0.0), # 10 (4.065829381279876, 8.459285008768239, 7.06251704423736, 3.739041334541063, 2.145323878205128, 0.0, 6.630775943538648, 8.581295512820512, 5.608562001811595, 4.70834469615824, 2.1148212521920597, 0.0), # 11 (4.094667669007903, 8.525174318181818, 7.087894762210797, 3.7531108695652167, 2.156094230769231, 0.0, 6.627759782608695, 8.624376923076923, 5.6296663043478254, 4.725263174807198, 2.1312935795454546, 0.0), # 12 (4.122786981757876, 8.58881811833614, 7.112126994965724, 3.766564100241546, 2.1664001602564102, 0.0, 6.624677679649759, 8.665600641025641, 5.649846150362319, 4.741417996643816, 2.147204529584035, 0.0), # 13 (4.15015810164862, 8.650126419753088, 7.135187874892886, 3.779384541062801, 2.1762282051282047, 0.0, 6.621529951690821, 8.704912820512819, 5.669076811594202, 4.756791916595257, 2.162531604938272, 0.0), # 14 (4.1767518107989465, 8.709009232954545, 7.157051534383032, 3.7915557065217387, 2.1855649038461538, 0.0, 6.618316915760871, 8.742259615384615, 5.6873335597826085, 4.771367689588688, 2.177252308238636, 0.0), # 15 (4.202538891327675, 8.7653765684624, 7.177692105826908, 3.803061111111111, 2.194396794871795, 0.0, 6.61503888888889, 8.77758717948718, 5.7045916666666665, 4.785128070551272, 2.1913441421156, 0.0), # 16 (4.227490125353625, 8.81913843679854, 7.197083721615253, 3.8138842693236716, 2.202710416666667, 0.0, 6.611696188103866, 8.810841666666668, 5.720826403985508, 4.798055814410168, 2.204784609199635, 0.0), # 17 (4.25157629499561, 8.870204848484848, 7.215200514138818, 3.824008695652174, 2.2104923076923084, 0.0, 6.608289130434783, 8.841969230769234, 5.736013043478262, 4.810133676092545, 2.217551212121212, 0.0), # 18 (4.274768182372451, 8.918485814043208, 7.232016615788346, 3.8334179045893717, 2.2177290064102566, 0.0, 6.604818032910629, 8.870916025641026, 5.750126856884058, 4.8213444105255645, 2.229621453510802, 0.0), # 19 (4.297036569602966, 8.96389134399551, 7.247506158954584, 3.8420954106280196, 2.2244070512820517, 0.0, 6.601283212560387, 8.897628205128207, 5.76314311594203, 4.831670772636389, 2.2409728359988774, 0.0), # 20 (4.318352238805971, 9.006331448863634, 7.261643276028279, 3.8500247282608693, 2.2305129807692303, 0.0, 6.597684986413044, 8.922051923076921, 5.775037092391305, 4.841095517352186, 2.2515828622159084, 0.0), # 21 (4.338685972100283, 9.045716139169473, 7.274402099400172, 3.8571893719806765, 2.2360333333333333, 0.0, 6.5940236714975855, 8.944133333333333, 5.785784057971015, 4.849601399600115, 2.2614290347923682, 0.0), # 22 (4.358008551604722, 9.081955425434906, 7.285756761461012, 3.8635728562801934, 2.2409546474358972, 0.0, 6.590299584842997, 8.963818589743589, 5.79535928442029, 4.857171174307341, 2.2704888563587264, 0.0), # 23 (4.3762907594381035, 9.114959318181818, 7.295681394601543, 3.869158695652174, 2.2452634615384612, 0.0, 6.586513043478261, 8.981053846153845, 5.803738043478262, 4.863787596401028, 2.2787398295454544, 0.0), # 24 (4.393503377719247, 9.1446378279321, 7.304150131212511, 3.8739304045893723, 2.2489463141025636, 0.0, 6.582664364432368, 8.995785256410255, 5.810895606884059, 4.869433420808341, 2.286159456983025, 0.0), # 25 (4.409617188566969, 9.17090096520763, 7.311137103684661, 3.8778714975845405, 2.2519897435897436, 0.0, 6.5787538647343, 9.007958974358974, 5.816807246376811, 4.874091402456441, 2.2927252413019077, 0.0), # 26 (4.424602974100088, 9.193658740530301, 7.31661644440874, 3.880965489130435, 2.2543802884615385, 0.0, 6.574781861413045, 9.017521153846154, 5.821448233695653, 4.877744296272493, 2.2984146851325753, 0.0), # 27 (4.438431516437421, 9.212821164421996, 7.320562285775494, 3.8831958937198072, 2.256104487179487, 0.0, 6.570748671497586, 9.024417948717948, 5.824793840579711, 4.8803748571836625, 2.303205291105499, 0.0), # 28 (4.4510735976977855, 9.228298247404602, 7.322948760175664, 3.884546225845411, 2.257148878205128, 0.0, 6.566654612016909, 9.028595512820512, 5.826819338768117, 4.881965840117109, 2.3070745618511506, 0.0), # 29 (4.4625, 9.24, 7.32375, 3.885, 2.2575000000000003, 0.0, 6.562500000000001, 9.030000000000001, 5.8275, 4.8825, 2.31, 0.0), # 30 (4.47319183983376, 9.249720255681815, 7.323149356884057, 3.884918047385621, 2.257372225177305, 0.0, 6.556726763701484, 9.02948890070922, 5.827377071078432, 4.882099571256038, 2.312430063920454, 0.0), # 31 (4.4836528452685425, 9.259312045454546, 7.3213644202898545, 3.884673790849673, 2.2569916312056737, 0.0, 6.547834661835751, 9.027966524822695, 5.82701068627451, 4.880909613526569, 2.3148280113636366, 0.0), # 32 (4.493887715792838, 9.268774176136363, 7.3184206793478275, 3.8842696323529413, 2.2563623138297872, 0.0, 6.535910757121439, 9.025449255319149, 5.826404448529412, 4.878947119565218, 2.3171935440340907, 0.0), # 33 (4.503901150895141, 9.278105454545454, 7.314343623188405, 3.8837079738562093, 2.2554883687943263, 0.0, 6.521042112277196, 9.021953475177305, 5.825561960784314, 4.876229082125604, 2.3195263636363634, 0.0), # 34 (4.513697850063939, 9.287304687499997, 7.3091587409420296, 3.882991217320261, 2.2543738918439717, 0.0, 6.503315790021656, 9.017495567375887, 5.824486825980392, 4.872772493961353, 2.3218261718749993, 0.0), # 35 (4.523282512787724, 9.296370681818182, 7.302891521739131, 3.8821217647058828, 2.253022978723404, 0.0, 6.482818853073463, 9.012091914893617, 5.823182647058824, 4.868594347826087, 2.3240926704545455, 0.0), # 36 (4.532659838554988, 9.305302244318183, 7.295567454710145, 3.881102017973856, 2.2514397251773044, 0.0, 6.4596383641512585, 9.005758900709218, 5.821653026960784, 4.86371163647343, 2.3263255610795457, 0.0), # 37 (4.5418345268542195, 9.314098181818181, 7.287212028985508, 3.8799343790849674, 2.249628226950355, 0.0, 6.433861385973679, 8.99851290780142, 5.819901568627452, 4.858141352657005, 2.3285245454545453, 0.0), # 38 (4.5508112771739135, 9.322757301136363, 7.277850733695652, 3.87862125, 2.247592579787234, 0.0, 6.40557498125937, 8.990370319148935, 5.817931875, 4.8519004891304345, 2.330689325284091, 0.0), # 39 (4.559594789002558, 9.33127840909091, 7.267509057971015, 3.8771650326797387, 2.245336879432624, 0.0, 6.37486621272697, 8.981347517730496, 5.815747549019608, 4.845006038647344, 2.3328196022727274, 0.0), # 40 (4.568189761828645, 9.3396603125, 7.256212490942029, 3.8755681290849675, 2.2428652216312055, 0.0, 6.34182214309512, 8.971460886524822, 5.813352193627452, 4.837474993961353, 2.334915078125, 0.0), # 41 (4.576600895140665, 9.34790181818182, 7.2439865217391315, 3.8738329411764707, 2.2401817021276598, 0.0, 6.3065298350824595, 8.960726808510639, 5.810749411764706, 4.829324347826088, 2.336975454545455, 0.0), # 42 (4.584832888427111, 9.356001732954544, 7.230856639492753, 3.8719618709150327, 2.2372904166666667, 0.0, 6.26907635140763, 8.949161666666667, 5.80794280637255, 4.820571092995169, 2.339000433238636, 0.0), # 43 (4.592890441176471, 9.363958863636363, 7.216848333333333, 3.8699573202614377, 2.2341954609929076, 0.0, 6.229548754789272, 8.93678184397163, 5.804935980392157, 4.811232222222222, 2.3409897159090907, 0.0), # 44 (4.600778252877237, 9.371772017045453, 7.201987092391306, 3.8678216911764705, 2.230900930851064, 0.0, 6.188034107946028, 8.923603723404256, 5.801732536764706, 4.80132472826087, 2.3429430042613633, 0.0), # 45 (4.6085010230179035, 9.379440000000002, 7.186298405797103, 3.8655573856209147, 2.2274109219858156, 0.0, 6.144619473596536, 8.909643687943262, 5.798336078431372, 4.790865603864735, 2.3448600000000006, 0.0), # 46 (4.616063451086957, 9.386961619318182, 7.16980776268116, 3.8631668055555552, 2.223729530141844, 0.0, 6.099391914459438, 8.894918120567375, 5.794750208333333, 4.77987184178744, 2.3467404048295455, 0.0), # 47 (4.623470236572891, 9.394335681818182, 7.152540652173913, 3.8606523529411763, 2.21986085106383, 0.0, 6.052438493253375, 8.87944340425532, 5.790978529411765, 4.7683604347826085, 2.3485839204545456, 0.0), # 48 (4.630726078964194, 9.401560994318181, 7.134522563405797, 3.8580164297385626, 2.2158089804964543, 0.0, 6.003846272696985, 8.863235921985817, 5.787024644607844, 4.7563483756038645, 2.3503902485795454, 0.0), # 49 (4.6378356777493615, 9.408636363636361, 7.115778985507247, 3.8552614379084966, 2.211578014184397, 0.0, 5.953702315508913, 8.846312056737588, 5.782892156862745, 4.743852657004831, 2.3521590909090904, 0.0), # 50 (4.6448037324168805, 9.415560596590907, 7.096335407608696, 3.852389779411765, 2.2071720478723407, 0.0, 5.902093684407797, 8.828688191489363, 5.778584669117648, 4.73089027173913, 2.353890149147727, 0.0), # 51 (4.651634942455243, 9.4223325, 7.0762173188405795, 3.84940385620915, 2.2025951773049646, 0.0, 5.849107442112278, 8.810380709219858, 5.774105784313726, 4.717478212560386, 2.355583125, 0.0), # 52 (4.658334007352941, 9.428950880681818, 7.055450208333333, 3.8463060702614382, 2.1978514982269504, 0.0, 5.794830651340996, 8.791405992907801, 5.769459105392158, 4.703633472222222, 2.3572377201704544, 0.0), # 53 (4.6649056265984665, 9.435414545454544, 7.034059565217391, 3.843098823529412, 2.192945106382979, 0.0, 5.739350374812594, 8.771780425531915, 5.764648235294119, 4.689373043478261, 2.358853636363636, 0.0), # 54 (4.671354499680307, 9.441722301136364, 7.012070878623187, 3.8397845179738566, 2.1878800975177306, 0.0, 5.682753675245711, 8.751520390070922, 5.759676776960785, 4.674713919082125, 2.360430575284091, 0.0), # 55 (4.677685326086957, 9.447872954545453, 6.989509637681159, 3.8363655555555556, 2.1826605673758865, 0.0, 5.625127615358988, 8.730642269503546, 5.754548333333334, 4.65967309178744, 2.361968238636363, 0.0), # 56 (4.683902805306906, 9.453865312500001, 6.966401331521738, 3.832844338235294, 2.1772906117021273, 0.0, 5.566559257871065, 8.70916244680851, 5.749266507352941, 4.644267554347826, 2.3634663281250003, 0.0), # 57 (4.690011636828645, 9.459698181818181, 6.942771449275362, 3.8292232679738563, 2.1717743262411346, 0.0, 5.507135665500583, 8.687097304964539, 5.743834901960785, 4.628514299516908, 2.3649245454545453, 0.0), # 58 (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0), # 59 ) passenger_allighting_rate = ( (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 0 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 1 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 2 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 3 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 4 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 5 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 6 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 7 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 8 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 9 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 10 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 11 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 12 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 13 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 14 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 15 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 16 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 17 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 18 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 19 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 20 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 21 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 22 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 23 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 24 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 25 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 26 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 27 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 28 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 29 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 30 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 31 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 32 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 33 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 34 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 35 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 36 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 37 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 38 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 39 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 40 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 41 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 42 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 43 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 44 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 45 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 46 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 47 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 48 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 49 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 50 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 51 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 52 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 53 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 54 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 55 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 56 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 57 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 58 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 59 ) """ parameters for reproducibiliy. More information: https://numpy.org/doc/stable/reference/random/parallel.html """ #initial entropy entropy = 258194110137029475889902652135037600173 #index for seed sequence child child_seed_index = ( 1, # 0 11, # 1 )
""" PASSENGERS """ num_passengers = 3190 passenger_arriving = ((5, 7, 2, 5, 1, 0, 5, 10, 5, 3, 2, 0), (6, 14, 4, 3, 1, 0, 3, 11, 5, 4, 2, 0), (3, 6, 6, 4, 3, 0, 7, 7, 5, 3, 1, 0), (2, 1, 6, 3, 1, 0, 7, 8, 10, 3, 2, 0), (4, 4, 6, 2, 1, 0, 4, 6, 7, 2, 2, 0), (5, 12, 7, 4, 1, 0, 12, 7, 2, 3, 1, 0), (4, 7, 4, 2, 4, 0, 6, 3, 3, 3, 7, 0), (3, 10, 8, 3, 1, 0, 10, 9, 4, 4, 2, 0), (4, 6, 10, 4, 3, 0, 8, 6, 3, 8, 2, 0), (8, 9, 8, 3, 1, 0, 5, 8, 3, 7, 5, 0), (7, 12, 8, 6, 1, 0, 7, 4, 9, 6, 0, 0), (2, 9, 9, 5, 1, 0, 5, 12, 4, 4, 4, 0), (3, 15, 13, 2, 2, 0, 7, 6, 5, 4, 1, 0), (2, 8, 5, 3, 0, 0, 7, 12, 6, 4, 3, 0), (2, 11, 5, 4, 3, 0, 7, 8, 5, 1, 0, 0), (3, 9, 2, 6, 3, 0, 7, 5, 9, 9, 7, 0), (3, 8, 7, 3, 2, 0, 4, 12, 7, 6, 1, 0), (3, 5, 5, 5, 0, 0, 6, 5, 6, 5, 4, 0), (6, 6, 4, 4, 2, 0, 7, 5, 3, 5, 0, 0), (4, 9, 10, 7, 2, 0, 7, 11, 3, 6, 6, 0), (5, 9, 8, 2, 1, 0, 7, 7, 6, 3, 3, 0), (2, 9, 8, 4, 2, 0, 9, 7, 10, 2, 0, 0), (2, 12, 5, 2, 3, 0, 4, 9, 7, 6, 2, 0), (6, 13, 11, 3, 2, 0, 6, 4, 5, 6, 4, 0), (3, 12, 6, 4, 1, 0, 8, 9, 8, 6, 7, 0), (8, 11, 5, 4, 0, 0, 9, 9, 9, 2, 4, 0), (6, 8, 3, 1, 4, 0, 2, 10, 5, 5, 2, 0), (2, 10, 4, 3, 1, 0, 10, 11, 4, 6, 2, 0), (2, 16, 13, 1, 1, 0, 0, 5, 5, 3, 3, 0), (6, 9, 10, 5, 1, 0, 8, 11, 6, 4, 2, 0), (4, 15, 9, 5, 1, 0, 10, 9, 6, 2, 0, 0), (3, 9, 3, 3, 2, 0, 4, 7, 5, 11, 4, 0), (1, 7, 11, 3, 2, 0, 4, 12, 5, 2, 3, 0), (10, 4, 6, 1, 2, 0, 9, 11, 7, 5, 1, 0), (5, 7, 6, 6, 3, 0, 4, 12, 9, 7, 0, 0), (5, 8, 8, 3, 2, 0, 4, 10, 8, 6, 1, 0), (3, 3, 8, 3, 1, 0, 5, 8, 4, 2, 2, 0), (2, 17, 10, 6, 1, 0, 10, 9, 4, 4, 2, 0), (5, 10, 5, 1, 2, 0, 7, 8, 11, 8, 3, 0), (6, 13, 10, 3, 2, 0, 5, 10, 5, 2, 3, 0), (3, 6, 9, 5, 1, 0, 8, 12, 9, 2, 1, 0), (8, 11, 4, 4, 4, 0, 3, 12, 5, 4, 1, 0), (2, 6, 4, 2, 3, 0, 11, 8, 8, 5, 2, 0), (2, 9, 12, 2, 5, 0, 3, 6, 7, 9, 4, 0), (4, 13, 8, 3, 1, 0, 4, 8, 5, 3, 2, 0), (1, 11, 8, 1, 1, 0, 5, 13, 3, 1, 2, 0), (9, 14, 7, 3, 3, 0, 6, 5, 6, 10, 1, 0), (5, 10, 12, 4, 3, 0, 4, 6, 5, 7, 2, 0), (5, 9, 10, 2, 3, 0, 8, 13, 5, 4, 2, 0), (3, 11, 7, 5, 1, 0, 4, 14, 5, 9, 2, 0), (7, 13, 14, 3, 1, 0, 13, 11, 4, 5, 0, 0), (12, 9, 7, 4, 3, 0, 7, 8, 10, 5, 2, 0), (4, 9, 4, 6, 2, 0, 3, 4, 12, 6, 2, 0), (5, 9, 6, 6, 1, 0, 4, 6, 9, 7, 1, 0), (4, 6, 10, 7, 4, 0, 1, 7, 4, 2, 0, 0), (4, 8, 6, 2, 1, 0, 9, 5, 6, 2, 1, 0), (5, 11, 12, 5, 4, 0, 4, 6, 5, 3, 0, 0), (3, 13, 5, 3, 2, 0, 10, 14, 5, 8, 2, 0), (3, 8, 2, 4, 4, 0, 4, 9, 7, 6, 2, 0), (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)) station_arriving_intensity = ((3.7095121817383676, 9.515044981060607, 11.19193043059126, 8.87078804347826, 10.000240384615385, 6.659510869565219), (3.7443308140669203, 9.620858238197952, 11.252381752534994, 8.920190141908213, 10.075193108974359, 6.657240994867151), (3.7787518681104277, 9.725101964085297, 11.31139817195087, 8.968504830917876, 10.148564102564103, 6.654901690821256), (3.8127461259877085, 9.827663671875001, 11.368936576156813, 9.01569089673913, 10.22028605769231, 6.652493274456523), (3.8462843698175795, 9.928430874719417, 11.424953852470724, 9.061707125603865, 10.290291666666668, 6.6500160628019325), (3.879337381718857, 10.027291085770905, 11.479406888210512, 9.106512303743962, 10.358513621794872, 6.647470372886473), (3.9118759438103607, 10.12413181818182, 11.53225257069409, 9.150065217391306, 10.424884615384617, 6.644856521739131), (3.943870838210907, 10.218840585104518, 11.58344778723936, 9.19232465277778, 10.489337339743592, 6.64217482638889), (3.975292847039314, 10.311304899691358, 11.632949425164242, 9.233249396135266, 10.551804487179488, 6.639425603864735), (4.006112752414399, 10.401412275094698, 11.680714371786634, 9.272798233695653, 10.61221875, 6.636609171195653), (4.03630133645498, 10.489050224466892, 11.72669951442445, 9.310929951690824, 10.670512820512823, 6.633725845410628), (4.065829381279876, 10.5741062609603, 11.7708617403956, 9.347603336352659, 10.726619391025642, 6.630775943538648), (4.094667669007903, 10.656467897727273, 11.813157937017996, 9.382777173913043, 10.780471153846154, 6.627759782608695), (4.122786981757876, 10.736022647920176, 11.85354499160954, 9.416410250603866, 10.832000801282053, 6.624677679649759), (4.15015810164862, 10.81265802469136, 11.891979791488144, 9.448461352657004, 10.881141025641025, 6.621529951690821), (4.1767518107989465, 10.886261541193182, 11.928419223971721, 9.478889266304348, 10.92782451923077, 6.618316915760871), (4.202538891327675, 10.956720710578002, 11.96282017637818, 9.507652777777778, 10.971983974358976, 6.61503888888889), (4.227490125353625, 11.023923045998176, 11.995139536025421, 9.53471067330918, 11.013552083333336, 6.611696188103866), (4.25157629499561, 11.087756060606061, 12.025334190231364, 9.560021739130436, 11.052461538461543, 6.608289130434783), (4.274768182372451, 11.148107267554012, 12.053361026313912, 9.58354476147343, 11.088645032051284, 6.604818032910629), (4.297036569602966, 11.204864179994388, 12.079176931590974, 9.60523852657005, 11.122035256410259, 6.601283212560387), (4.318352238805971, 11.257914311079544, 12.102738793380466, 9.625061820652174, 11.152564903846153, 6.597684986413044), (4.338685972100283, 11.307145173961842, 12.124003499000287, 9.642973429951692, 11.180166666666667, 6.5940236714975855), (4.358008551604722, 11.352444281793632, 12.142927935768354, 9.658932140700484, 11.204773237179488, 6.590299584842997), (4.3762907594381035, 11.393699147727272, 12.159468991002571, 9.672896739130437, 11.226317307692307, 6.586513043478261), (4.393503377719247, 11.430797284915124, 12.173583552020853, 9.684826011473431, 11.244731570512819, 6.582664364432368), (4.409617188566969, 11.46362620650954, 12.185228506141103, 9.694678743961353, 11.259948717948719, 6.5787538647343), (4.424602974100088, 11.492073425662877, 12.194360740681233, 9.702413722826089, 11.271901442307694, 6.574781861413045), (4.438431516437421, 11.516026455527497, 12.200937142959157, 9.707989734299519, 11.280522435897437, 6.570748671497586), (4.4510735976977855, 11.535372809255753, 12.204914600292774, 9.711365564613528, 11.285744391025641, 6.566654612016909), (4.4625, 11.55, 12.20625, 9.7125, 11.287500000000001, 6.562500000000001), (4.47319183983376, 11.56215031960227, 12.205248928140096, 9.712295118464054, 11.286861125886526, 6.556726763701484), (4.4836528452685425, 11.574140056818184, 12.202274033816424, 9.711684477124184, 11.28495815602837, 6.547834661835751), (4.493887715792838, 11.585967720170455, 12.197367798913046, 9.710674080882354, 11.281811569148937, 6.535910757121439), (4.503901150895141, 11.597631818181819, 12.19057270531401, 9.709269934640524, 11.277441843971632, 6.521042112277196), (4.513697850063939, 11.609130859374998, 12.181931234903383, 9.707478043300654, 11.27186945921986, 6.503315790021656), (4.523282512787724, 11.62046335227273, 12.171485869565219, 9.705304411764708, 11.265114893617023, 6.482818853073463), (4.532659838554988, 11.631627805397729, 12.159279091183576, 9.70275504493464, 11.257198625886524, 6.4596383641512585), (4.5418345268542195, 11.642622727272729, 12.145353381642513, 9.699835947712419, 11.248141134751775, 6.433861385973679), (4.5508112771739135, 11.653446626420456, 12.129751222826087, 9.696553125000001, 11.23796289893617, 6.40557498125937), (4.559594789002558, 11.664098011363638, 12.11251509661836, 9.692912581699348, 11.22668439716312, 6.37486621272697), (4.568189761828645, 11.674575390625, 12.093687484903382, 9.68892032271242, 11.214326108156028, 6.34182214309512), (4.576600895140665, 11.684877272727276, 12.07331086956522, 9.684582352941177, 11.2009085106383, 6.3065298350824595), (4.584832888427111, 11.69500216619318, 12.051427732487923, 9.679904677287583, 11.186452083333334, 6.26907635140763), (4.592890441176471, 11.704948579545455, 12.028080555555556, 9.674893300653595, 11.17097730496454, 6.229548754789272), (4.600778252877237, 11.714715021306818, 12.003311820652177, 9.669554227941177, 11.15450465425532, 6.188034107946028), (4.6085010230179035, 11.724300000000003, 11.97716400966184, 9.663893464052288, 11.137054609929079, 6.144619473596536), (4.616063451086957, 11.733702024147728, 11.9496796044686, 9.65791701388889, 11.118647650709221, 6.099391914459438), (4.623470236572891, 11.742919602272728, 11.920901086956523, 9.651630882352942, 11.099304255319149, 6.052438493253375), (4.630726078964194, 11.751951242897727, 11.890870939009663, 9.645041074346407, 11.079044902482272, 6.003846272696985), (4.6378356777493615, 11.760795454545454, 11.85963164251208, 9.638153594771243, 11.057890070921987, 5.953702315508913), (4.6448037324168805, 11.769450745738636, 11.827225679347826, 9.630974448529413, 11.035860239361703, 5.902093684407797), (4.651634942455243, 11.777915625, 11.793695531400965, 9.623509640522876, 11.012975886524824, 5.849107442112278), (4.658334007352941, 11.786188600852274, 11.759083680555555, 9.615765175653596, 10.989257491134753, 5.794830651340996), (4.6649056265984665, 11.79426818181818, 11.723432608695653, 9.60774705882353, 10.964725531914894, 5.739350374812594), (4.671354499680307, 11.802152876420456, 11.686784797705313, 9.599461294934642, 10.939400487588653, 5.682753675245711), (4.677685326086957, 11.809841193181818, 11.649182729468599, 9.59091388888889, 10.913302836879433, 5.625127615358988), (4.683902805306906, 11.817331640625003, 11.610668885869565, 9.582110845588236, 10.886453058510638, 5.566559257871065), (4.690011636828645, 11.824622727272727, 11.57128574879227, 9.573058169934642, 10.858871631205675, 5.507135665500583), (0.0, 0.0, 0.0, 0.0, 0.0, 0.0)) passenger_arriving_acc = ((5, 7, 2, 5, 1, 0, 5, 10, 5, 3, 2, 0), (11, 21, 6, 8, 2, 0, 8, 21, 10, 7, 4, 0), (14, 27, 12, 12, 5, 0, 15, 28, 15, 10, 5, 0), (16, 28, 18, 15, 6, 0, 22, 36, 25, 13, 7, 0), (20, 32, 24, 17, 7, 0, 26, 42, 32, 15, 9, 0), (25, 44, 31, 21, 8, 0, 38, 49, 34, 18, 10, 0), (29, 51, 35, 23, 12, 0, 44, 52, 37, 21, 17, 0), (32, 61, 43, 26, 13, 0, 54, 61, 41, 25, 19, 0), (36, 67, 53, 30, 16, 0, 62, 67, 44, 33, 21, 0), (44, 76, 61, 33, 17, 0, 67, 75, 47, 40, 26, 0), (51, 88, 69, 39, 18, 0, 74, 79, 56, 46, 26, 0), (53, 97, 78, 44, 19, 0, 79, 91, 60, 50, 30, 0), (56, 112, 91, 46, 21, 0, 86, 97, 65, 54, 31, 0), (58, 120, 96, 49, 21, 0, 93, 109, 71, 58, 34, 0), (60, 131, 101, 53, 24, 0, 100, 117, 76, 59, 34, 0), (63, 140, 103, 59, 27, 0, 107, 122, 85, 68, 41, 0), (66, 148, 110, 62, 29, 0, 111, 134, 92, 74, 42, 0), (69, 153, 115, 67, 29, 0, 117, 139, 98, 79, 46, 0), (75, 159, 119, 71, 31, 0, 124, 144, 101, 84, 46, 0), (79, 168, 129, 78, 33, 0, 131, 155, 104, 90, 52, 0), (84, 177, 137, 80, 34, 0, 138, 162, 110, 93, 55, 0), (86, 186, 145, 84, 36, 0, 147, 169, 120, 95, 55, 0), (88, 198, 150, 86, 39, 0, 151, 178, 127, 101, 57, 0), (94, 211, 161, 89, 41, 0, 157, 182, 132, 107, 61, 0), (97, 223, 167, 93, 42, 0, 165, 191, 140, 113, 68, 0), (105, 234, 172, 97, 42, 0, 174, 200, 149, 115, 72, 0), (111, 242, 175, 98, 46, 0, 176, 210, 154, 120, 74, 0), (113, 252, 179, 101, 47, 0, 186, 221, 158, 126, 76, 0), (115, 268, 192, 102, 48, 0, 186, 226, 163, 129, 79, 0), (121, 277, 202, 107, 49, 0, 194, 237, 169, 133, 81, 0), (125, 292, 211, 112, 50, 0, 204, 246, 175, 135, 81, 0), (128, 301, 214, 115, 52, 0, 208, 253, 180, 146, 85, 0), (129, 308, 225, 118, 54, 0, 212, 265, 185, 148, 88, 0), (139, 312, 231, 119, 56, 0, 221, 276, 192, 153, 89, 0), (144, 319, 237, 125, 59, 0, 225, 288, 201, 160, 89, 0), (149, 327, 245, 128, 61, 0, 229, 298, 209, 166, 90, 0), (152, 330, 253, 131, 62, 0, 234, 306, 213, 168, 92, 0), (154, 347, 263, 137, 63, 0, 244, 315, 217, 172, 94, 0), (159, 357, 268, 138, 65, 0, 251, 323, 228, 180, 97, 0), (165, 370, 278, 141, 67, 0, 256, 333, 233, 182, 100, 0), (168, 376, 287, 146, 68, 0, 264, 345, 242, 184, 101, 0), (176, 387, 291, 150, 72, 0, 267, 357, 247, 188, 102, 0), (178, 393, 295, 152, 75, 0, 278, 365, 255, 193, 104, 0), (180, 402, 307, 154, 80, 0, 281, 371, 262, 202, 108, 0), (184, 415, 315, 157, 81, 0, 285, 379, 267, 205, 110, 0), (185, 426, 323, 158, 82, 0, 290, 392, 270, 206, 112, 0), (194, 440, 330, 161, 85, 0, 296, 397, 276, 216, 113, 0), (199, 450, 342, 165, 88, 0, 300, 403, 281, 223, 115, 0), (204, 459, 352, 167, 91, 0, 308, 416, 286, 227, 117, 0), (207, 470, 359, 172, 92, 0, 312, 430, 291, 236, 119, 0), (214, 483, 373, 175, 93, 0, 325, 441, 295, 241, 119, 0), (226, 492, 380, 179, 96, 0, 332, 449, 305, 246, 121, 0), (230, 501, 384, 185, 98, 0, 335, 453, 317, 252, 123, 0), (235, 510, 390, 191, 99, 0, 339, 459, 326, 259, 124, 0), (239, 516, 400, 198, 103, 0, 340, 466, 330, 261, 124, 0), (243, 524, 406, 200, 104, 0, 349, 471, 336, 263, 125, 0), (248, 535, 418, 205, 108, 0, 353, 477, 341, 266, 125, 0), (251, 548, 423, 208, 110, 0, 363, 491, 346, 274, 127, 0), (254, 556, 425, 212, 114, 0, 367, 500, 353, 280, 129, 0), (254, 556, 425, 212, 114, 0, 367, 500, 353, 280, 129, 0)) passenger_arriving_rate = ((3.7095121817383676, 7.612035984848484, 6.715158258354756, 3.5483152173913037, 2.000048076923077, 0.0, 6.659510869565219, 8.000192307692307, 5.322472826086956, 4.476772172236504, 1.903008996212121, 0.0), (3.7443308140669203, 7.696686590558361, 6.751429051520996, 3.5680760567632848, 2.0150386217948717, 0.0, 6.657240994867151, 8.060154487179487, 5.352114085144928, 4.500952701013997, 1.9241716476395903, 0.0), (3.7787518681104277, 7.780081571268237, 6.786838903170522, 3.58740193236715, 2.0297128205128203, 0.0, 6.654901690821256, 8.118851282051281, 5.381102898550726, 4.524559268780347, 1.9450203928170593, 0.0), (3.8127461259877085, 7.8621309375, 6.821361945694087, 3.6062763586956517, 2.044057211538462, 0.0, 6.652493274456523, 8.176228846153847, 5.409414538043478, 4.547574630462725, 1.965532734375, 0.0), (3.8462843698175795, 7.942744699775533, 6.854972311482434, 3.624682850241546, 2.0580583333333333, 0.0, 6.6500160628019325, 8.232233333333333, 5.437024275362319, 4.569981540988289, 1.9856861749438832, 0.0), (3.879337381718857, 8.021832868616723, 6.887644132926307, 3.6426049214975844, 2.0717027243589743, 0.0, 6.647470372886473, 8.286810897435897, 5.463907382246377, 4.591762755284204, 2.005458217154181, 0.0), (3.9118759438103607, 8.099305454545455, 6.919351542416455, 3.660026086956522, 2.084976923076923, 0.0, 6.644856521739131, 8.339907692307692, 5.490039130434783, 4.612901028277636, 2.0248263636363637, 0.0), (3.943870838210907, 8.175072468083613, 6.950068672343615, 3.6769298611111116, 2.0978674679487184, 0.0, 6.64217482638889, 8.391469871794873, 5.515394791666668, 4.633379114895743, 2.043768117020903, 0.0), (3.975292847039314, 8.249043919753085, 6.979769655098544, 3.693299758454106, 2.1103608974358976, 0.0, 6.639425603864735, 8.44144358974359, 5.5399496376811594, 4.653179770065696, 2.062260979938271, 0.0), (4.006112752414399, 8.321129820075758, 7.00842862307198, 3.709119293478261, 2.12244375, 0.0, 6.636609171195653, 8.489775, 5.563678940217391, 4.672285748714653, 2.0802824550189394, 0.0), (4.03630133645498, 8.391240179573513, 7.03601970865467, 3.724371980676329, 2.134102564102564, 0.0, 6.633725845410628, 8.536410256410257, 5.586557971014494, 4.690679805769779, 2.0978100448933783, 0.0), (4.065829381279876, 8.459285008768239, 7.06251704423736, 3.739041334541063, 2.145323878205128, 0.0, 6.630775943538648, 8.581295512820512, 5.608562001811595, 4.70834469615824, 2.1148212521920597, 0.0), (4.094667669007903, 8.525174318181818, 7.087894762210797, 3.7531108695652167, 2.156094230769231, 0.0, 6.627759782608695, 8.624376923076923, 5.6296663043478254, 4.725263174807198, 2.1312935795454546, 0.0), (4.122786981757876, 8.58881811833614, 7.112126994965724, 3.766564100241546, 2.1664001602564102, 0.0, 6.624677679649759, 8.665600641025641, 5.649846150362319, 4.741417996643816, 2.147204529584035, 0.0), (4.15015810164862, 8.650126419753088, 7.135187874892886, 3.779384541062801, 2.1762282051282047, 0.0, 6.621529951690821, 8.704912820512819, 5.669076811594202, 4.756791916595257, 2.162531604938272, 0.0), (4.1767518107989465, 8.709009232954545, 7.157051534383032, 3.7915557065217387, 2.1855649038461538, 0.0, 6.618316915760871, 8.742259615384615, 5.6873335597826085, 4.771367689588688, 2.177252308238636, 0.0), (4.202538891327675, 8.7653765684624, 7.177692105826908, 3.803061111111111, 2.194396794871795, 0.0, 6.61503888888889, 8.77758717948718, 5.7045916666666665, 4.785128070551272, 2.1913441421156, 0.0), (4.227490125353625, 8.81913843679854, 7.197083721615253, 3.8138842693236716, 2.202710416666667, 0.0, 6.611696188103866, 8.810841666666668, 5.720826403985508, 4.798055814410168, 2.204784609199635, 0.0), (4.25157629499561, 8.870204848484848, 7.215200514138818, 3.824008695652174, 2.2104923076923084, 0.0, 6.608289130434783, 8.841969230769234, 5.736013043478262, 4.810133676092545, 2.217551212121212, 0.0), (4.274768182372451, 8.918485814043208, 7.232016615788346, 3.8334179045893717, 2.2177290064102566, 0.0, 6.604818032910629, 8.870916025641026, 5.750126856884058, 4.8213444105255645, 2.229621453510802, 0.0), (4.297036569602966, 8.96389134399551, 7.247506158954584, 3.8420954106280196, 2.2244070512820517, 0.0, 6.601283212560387, 8.897628205128207, 5.76314311594203, 4.831670772636389, 2.2409728359988774, 0.0), (4.318352238805971, 9.006331448863634, 7.261643276028279, 3.8500247282608693, 2.2305129807692303, 0.0, 6.597684986413044, 8.922051923076921, 5.775037092391305, 4.841095517352186, 2.2515828622159084, 0.0), (4.338685972100283, 9.045716139169473, 7.274402099400172, 3.8571893719806765, 2.2360333333333333, 0.0, 6.5940236714975855, 8.944133333333333, 5.785784057971015, 4.849601399600115, 2.2614290347923682, 0.0), (4.358008551604722, 9.081955425434906, 7.285756761461012, 3.8635728562801934, 2.2409546474358972, 0.0, 6.590299584842997, 8.963818589743589, 5.79535928442029, 4.857171174307341, 2.2704888563587264, 0.0), (4.3762907594381035, 9.114959318181818, 7.295681394601543, 3.869158695652174, 2.2452634615384612, 0.0, 6.586513043478261, 8.981053846153845, 5.803738043478262, 4.863787596401028, 2.2787398295454544, 0.0), (4.393503377719247, 9.1446378279321, 7.304150131212511, 3.8739304045893723, 2.2489463141025636, 0.0, 6.582664364432368, 8.995785256410255, 5.810895606884059, 4.869433420808341, 2.286159456983025, 0.0), (4.409617188566969, 9.17090096520763, 7.311137103684661, 3.8778714975845405, 2.2519897435897436, 0.0, 6.5787538647343, 9.007958974358974, 5.816807246376811, 4.874091402456441, 2.2927252413019077, 0.0), (4.424602974100088, 9.193658740530301, 7.31661644440874, 3.880965489130435, 2.2543802884615385, 0.0, 6.574781861413045, 9.017521153846154, 5.821448233695653, 4.877744296272493, 2.2984146851325753, 0.0), (4.438431516437421, 9.212821164421996, 7.320562285775494, 3.8831958937198072, 2.256104487179487, 0.0, 6.570748671497586, 9.024417948717948, 5.824793840579711, 4.8803748571836625, 2.303205291105499, 0.0), (4.4510735976977855, 9.228298247404602, 7.322948760175664, 3.884546225845411, 2.257148878205128, 0.0, 6.566654612016909, 9.028595512820512, 5.826819338768117, 4.881965840117109, 2.3070745618511506, 0.0), (4.4625, 9.24, 7.32375, 3.885, 2.2575000000000003, 0.0, 6.562500000000001, 9.030000000000001, 5.8275, 4.8825, 2.31, 0.0), (4.47319183983376, 9.249720255681815, 7.323149356884057, 3.884918047385621, 2.257372225177305, 0.0, 6.556726763701484, 9.02948890070922, 5.827377071078432, 4.882099571256038, 2.312430063920454, 0.0), (4.4836528452685425, 9.259312045454546, 7.3213644202898545, 3.884673790849673, 2.2569916312056737, 0.0, 6.547834661835751, 9.027966524822695, 5.82701068627451, 4.880909613526569, 2.3148280113636366, 0.0), (4.493887715792838, 9.268774176136363, 7.3184206793478275, 3.8842696323529413, 2.2563623138297872, 0.0, 6.535910757121439, 9.025449255319149, 5.826404448529412, 4.878947119565218, 2.3171935440340907, 0.0), (4.503901150895141, 9.278105454545454, 7.314343623188405, 3.8837079738562093, 2.2554883687943263, 0.0, 6.521042112277196, 9.021953475177305, 5.825561960784314, 4.876229082125604, 2.3195263636363634, 0.0), (4.513697850063939, 9.287304687499997, 7.3091587409420296, 3.882991217320261, 2.2543738918439717, 0.0, 6.503315790021656, 9.017495567375887, 5.824486825980392, 4.872772493961353, 2.3218261718749993, 0.0), (4.523282512787724, 9.296370681818182, 7.302891521739131, 3.8821217647058828, 2.253022978723404, 0.0, 6.482818853073463, 9.012091914893617, 5.823182647058824, 4.868594347826087, 2.3240926704545455, 0.0), (4.532659838554988, 9.305302244318183, 7.295567454710145, 3.881102017973856, 2.2514397251773044, 0.0, 6.4596383641512585, 9.005758900709218, 5.821653026960784, 4.86371163647343, 2.3263255610795457, 0.0), (4.5418345268542195, 9.314098181818181, 7.287212028985508, 3.8799343790849674, 2.249628226950355, 0.0, 6.433861385973679, 8.99851290780142, 5.819901568627452, 4.858141352657005, 2.3285245454545453, 0.0), (4.5508112771739135, 9.322757301136363, 7.277850733695652, 3.87862125, 2.247592579787234, 0.0, 6.40557498125937, 8.990370319148935, 5.817931875, 4.8519004891304345, 2.330689325284091, 0.0), (4.559594789002558, 9.33127840909091, 7.267509057971015, 3.8771650326797387, 2.245336879432624, 0.0, 6.37486621272697, 8.981347517730496, 5.815747549019608, 4.845006038647344, 2.3328196022727274, 0.0), (4.568189761828645, 9.3396603125, 7.256212490942029, 3.8755681290849675, 2.2428652216312055, 0.0, 6.34182214309512, 8.971460886524822, 5.813352193627452, 4.837474993961353, 2.334915078125, 0.0), (4.576600895140665, 9.34790181818182, 7.2439865217391315, 3.8738329411764707, 2.2401817021276598, 0.0, 6.3065298350824595, 8.960726808510639, 5.810749411764706, 4.829324347826088, 2.336975454545455, 0.0), (4.584832888427111, 9.356001732954544, 7.230856639492753, 3.8719618709150327, 2.2372904166666667, 0.0, 6.26907635140763, 8.949161666666667, 5.80794280637255, 4.820571092995169, 2.339000433238636, 0.0), (4.592890441176471, 9.363958863636363, 7.216848333333333, 3.8699573202614377, 2.2341954609929076, 0.0, 6.229548754789272, 8.93678184397163, 5.804935980392157, 4.811232222222222, 2.3409897159090907, 0.0), (4.600778252877237, 9.371772017045453, 7.201987092391306, 3.8678216911764705, 2.230900930851064, 0.0, 6.188034107946028, 8.923603723404256, 5.801732536764706, 4.80132472826087, 2.3429430042613633, 0.0), (4.6085010230179035, 9.379440000000002, 7.186298405797103, 3.8655573856209147, 2.2274109219858156, 0.0, 6.144619473596536, 8.909643687943262, 5.798336078431372, 4.790865603864735, 2.3448600000000006, 0.0), (4.616063451086957, 9.386961619318182, 7.16980776268116, 3.8631668055555552, 2.223729530141844, 0.0, 6.099391914459438, 8.894918120567375, 5.794750208333333, 4.77987184178744, 2.3467404048295455, 0.0), (4.623470236572891, 9.394335681818182, 7.152540652173913, 3.8606523529411763, 2.21986085106383, 0.0, 6.052438493253375, 8.87944340425532, 5.790978529411765, 4.7683604347826085, 2.3485839204545456, 0.0), (4.630726078964194, 9.401560994318181, 7.134522563405797, 3.8580164297385626, 2.2158089804964543, 0.0, 6.003846272696985, 8.863235921985817, 5.787024644607844, 4.7563483756038645, 2.3503902485795454, 0.0), (4.6378356777493615, 9.408636363636361, 7.115778985507247, 3.8552614379084966, 2.211578014184397, 0.0, 5.953702315508913, 8.846312056737588, 5.782892156862745, 4.743852657004831, 2.3521590909090904, 0.0), (4.6448037324168805, 9.415560596590907, 7.096335407608696, 3.852389779411765, 2.2071720478723407, 0.0, 5.902093684407797, 8.828688191489363, 5.778584669117648, 4.73089027173913, 2.353890149147727, 0.0), (4.651634942455243, 9.4223325, 7.0762173188405795, 3.84940385620915, 2.2025951773049646, 0.0, 5.849107442112278, 8.810380709219858, 5.774105784313726, 4.717478212560386, 2.355583125, 0.0), (4.658334007352941, 9.428950880681818, 7.055450208333333, 3.8463060702614382, 2.1978514982269504, 0.0, 5.794830651340996, 8.791405992907801, 5.769459105392158, 4.703633472222222, 2.3572377201704544, 0.0), (4.6649056265984665, 9.435414545454544, 7.034059565217391, 3.843098823529412, 2.192945106382979, 0.0, 5.739350374812594, 8.771780425531915, 5.764648235294119, 4.689373043478261, 2.358853636363636, 0.0), (4.671354499680307, 9.441722301136364, 7.012070878623187, 3.8397845179738566, 2.1878800975177306, 0.0, 5.682753675245711, 8.751520390070922, 5.759676776960785, 4.674713919082125, 2.360430575284091, 0.0), (4.677685326086957, 9.447872954545453, 6.989509637681159, 3.8363655555555556, 2.1826605673758865, 0.0, 5.625127615358988, 8.730642269503546, 5.754548333333334, 4.65967309178744, 2.361968238636363, 0.0), (4.683902805306906, 9.453865312500001, 6.966401331521738, 3.832844338235294, 2.1772906117021273, 0.0, 5.566559257871065, 8.70916244680851, 5.749266507352941, 4.644267554347826, 2.3634663281250003, 0.0), (4.690011636828645, 9.459698181818181, 6.942771449275362, 3.8292232679738563, 2.1717743262411346, 0.0, 5.507135665500583, 8.687097304964539, 5.743834901960785, 4.628514299516908, 2.3649245454545453, 0.0), (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)) passenger_allighting_rate = ((0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1)) '\nparameters for reproducibiliy. More information: https://numpy.org/doc/stable/reference/random/parallel.html\n' entropy = 258194110137029475889902652135037600173 child_seed_index = (1, 11)
class Animation: def __init__(self, anim_type): self.anim_type = anim_type self.frames = [] self.point = 0 self.forward = True self.speed = 0 self.dt = 0 def add_frame(self, frame): self.frames.append(frame) def get_frame(self, dt): if self.anim_type == "loop": self.loop(dt) elif self.anim_type == "once": self.move_once(dt) elif self.anim_type == "ping": self.reverse_ping(dt) elif self.anim_type == "static": self.point = 0 return self.frames[self.point] def next_frame(self, dt): self.dt += dt if self.dt >= (1.0 / self.speed): if self.forward: self.point += 1 else: self.point -= 1 self.dt = 0 def loop(self, dt): """ When we want an animation to loop we'll use this method """ self.next_frame(dt) if self.forward: if self.point == len(self.frames): self.point = 0 else: if self.point == -1: self.point = len(self.frames) - 1 def move_once(self, dt): """ This type of animation only goes through the list once, then stops. """ self.next_frame(dt) if self.forward: if self.point == len(self.frames): self.point = len(self.frames) - 1 else: if self.point == -1: self.point = 0 def reverse_ping(self, dt): """ This is a different type of looping animation, except when we reach the end of the animation we reverse the animation so it goes backwards. When it reaches the start of the animation again then we set it to go forward again """ self.next_frame(dt) if self.point == len(self.frames): self.forward = False self.point -= 2 elif self.point < 0: self.forward = True self.point = 1
class Animation: def __init__(self, anim_type): self.anim_type = anim_type self.frames = [] self.point = 0 self.forward = True self.speed = 0 self.dt = 0 def add_frame(self, frame): self.frames.append(frame) def get_frame(self, dt): if self.anim_type == 'loop': self.loop(dt) elif self.anim_type == 'once': self.move_once(dt) elif self.anim_type == 'ping': self.reverse_ping(dt) elif self.anim_type == 'static': self.point = 0 return self.frames[self.point] def next_frame(self, dt): self.dt += dt if self.dt >= 1.0 / self.speed: if self.forward: self.point += 1 else: self.point -= 1 self.dt = 0 def loop(self, dt): """ When we want an animation to loop we'll use this method """ self.next_frame(dt) if self.forward: if self.point == len(self.frames): self.point = 0 elif self.point == -1: self.point = len(self.frames) - 1 def move_once(self, dt): """ This type of animation only goes through the list once, then stops. """ self.next_frame(dt) if self.forward: if self.point == len(self.frames): self.point = len(self.frames) - 1 elif self.point == -1: self.point = 0 def reverse_ping(self, dt): """ This is a different type of looping animation, except when we reach the end of the animation we reverse the animation so it goes backwards. When it reaches the start of the animation again then we set it to go forward again """ self.next_frame(dt) if self.point == len(self.frames): self.forward = False self.point -= 2 elif self.point < 0: self.forward = True self.point = 1
class DataGridView( Control, IComponent, IDisposable, IOleControl, IOleObject, IOleInPlaceObject, IOleInPlaceActiveObject, IOleWindow, IViewObject, IViewObject2, IPersist, IPersistStreamInit, IPersistPropertyBag, IPersistStorage, IQuickActivate, ISupportOleDropSource, IDropTarget, ISynchronizeInvoke, IWin32Window, IArrangedElement, IBindableComponent, ISupportInitialize, ): """ Displays data in a customizable grid. DataGridView() """ def AccessibilityNotifyClients(self, *args): """ AccessibilityNotifyClients(self: Control,accEvent: AccessibleEvents,objectID: int,childID: int) Notifies the accessibility client applications of the specified System.Windows.Forms.AccessibleEvents for the specified child control . accEvent: The System.Windows.Forms.AccessibleEvents to notify the accessibility client applications of. objectID: The identifier of the System.Windows.Forms.AccessibleObject. childID: The child System.Windows.Forms.Control to notify of the accessible event. AccessibilityNotifyClients(self: Control,accEvent: AccessibleEvents,childID: int) Notifies the accessibility client applications of the specified System.Windows.Forms.AccessibleEvents for the specified child control. accEvent: The System.Windows.Forms.AccessibleEvents to notify the accessibility client applications of. childID: The child System.Windows.Forms.Control to notify of the accessible event. """ pass def AccessibilityNotifyCurrentCellChanged(self, *args): """ AccessibilityNotifyCurrentCellChanged(self: DataGridView,cellAddress: Point) Notifies the accessible client applications when a new cell becomes the current cell. cellAddress: A System.Drawing.Point indicating the row and column indexes of the new current cell. """ pass def AdjustColumnHeaderBorderStyle( self, dataGridViewAdvancedBorderStyleInput, dataGridViewAdvancedBorderStylePlaceholder, isFirstDisplayedColumn, isLastVisibleColumn, ): """ AdjustColumnHeaderBorderStyle(self: DataGridView,dataGridViewAdvancedBorderStyleInput: DataGridViewAdvancedBorderStyle,dataGridViewAdvancedBorderStylePlaceholder: DataGridViewAdvancedBorderStyle,isFirstDisplayedColumn: bool,isLastVisibleColumn: bool) -> DataGridViewAdvancedBorderStyle Adjusts the System.Windows.Forms.DataGridViewAdvancedBorderStyle for a column header cell of a System.Windows.Forms.DataGridView that is currently being painted. dataGridViewAdvancedBorderStyleInput: A System.Windows.Forms.DataGridViewAdvancedBorderStyle that that represents the column header border style to modify. dataGridViewAdvancedBorderStylePlaceholder: A System.Windows.Forms.DataGridViewAdvancedBorderStyle that is used to store intermediate changes to the column header border style. isFirstDisplayedColumn: true to indicate that the System.Windows.Forms.DataGridViewCell that is currently being painted is in the first column displayed on the System.Windows.Forms.DataGridView; otherwise,false. isLastVisibleColumn: true to indicate that the System.Windows.Forms.DataGridViewCell that is currently being painted is in the last column in the System.Windows.Forms.DataGridView that has the System.Windows.Forms.DataGridViewColumn.Visible property set to true; otherwise,false. Returns: A System.Windows.Forms.DataGridViewAdvancedBorderStyle that represents the border style for the current column header. """ pass def AreAllCellsSelected(self, includeInvisibleCells): """ AreAllCellsSelected(self: DataGridView,includeInvisibleCells: bool) -> bool Returns a value indicating whether all the System.Windows.Forms.DataGridView cells are currently selected. includeInvisibleCells: true to include the rows and columns with System.Windows.Forms.DataGridViewBand.Visible property values of false; otherwise,false. Returns: true if all cells (or all visible cells) are selected or if there are no cells (or no visible cells); otherwise,false. """ pass def AutoResizeColumn(self, columnIndex, autoSizeColumnMode=None): """ AutoResizeColumn(self: DataGridView,columnIndex: int,autoSizeColumnMode: DataGridViewAutoSizeColumnMode) Adjusts the width of the specified column using the specified size mode. columnIndex: The index of the column to resize. autoSizeColumnMode: One of the System.Windows.Forms.DataGridViewAutoSizeColumnMode values. AutoResizeColumn(self: DataGridView,columnIndex: int) Adjusts the width of the specified column to fit the contents of all its cells,including the header cell. columnIndex: The index of the column to resize. """ pass def AutoResizeColumnHeadersHeight(self, columnIndex=None): """ AutoResizeColumnHeadersHeight(self: DataGridView,columnIndex: int) Adjusts the height of the column headers based on changes to the contents of the header in the specified column. columnIndex: The index of the column containing the header with the changed content. AutoResizeColumnHeadersHeight(self: DataGridView) Adjusts the height of the column headers to fit the contents of the largest column header. """ pass def AutoResizeColumns(self, autoSizeColumnsMode=None): """ AutoResizeColumns(self: DataGridView,autoSizeColumnsMode: DataGridViewAutoSizeColumnsMode) Adjusts the width of all columns using the specified size mode. autoSizeColumnsMode: One of the System.Windows.Forms.DataGridViewAutoSizeColumnsMode values. AutoResizeColumns(self: DataGridView) Adjusts the width of all columns to fit the contents of all their cells,including the header cells. """ pass def AutoResizeRow(self, rowIndex, autoSizeRowMode=None): """ AutoResizeRow(self: DataGridView,rowIndex: int,autoSizeRowMode: DataGridViewAutoSizeRowMode) Adjusts the height of the specified row using the specified size mode. rowIndex: The index of the row to resize. autoSizeRowMode: One of the System.Windows.Forms.DataGridViewAutoSizeRowMode values. AutoResizeRow(self: DataGridView,rowIndex: int) Adjusts the height of the specified row to fit the contents of all its cells including the header cell. rowIndex: The index of the row to resize. """ pass def AutoResizeRowHeadersWidth(self, *__args): """ AutoResizeRowHeadersWidth(self: DataGridView,rowIndex: int,rowHeadersWidthSizeMode: DataGridViewRowHeadersWidthSizeMode) Adjusts the width of the row headers based on changes to the contents of the header in the specified row and using the specified size mode. rowIndex: The index of the row header with the changed content. rowHeadersWidthSizeMode: One of the System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode values. AutoResizeRowHeadersWidth(self: DataGridView,rowHeadersWidthSizeMode: DataGridViewRowHeadersWidthSizeMode) Adjusts the width of the row headers using the specified size mode. rowHeadersWidthSizeMode: One of the System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode values. """ pass def AutoResizeRows(self, autoSizeRowsMode=None): """ AutoResizeRows(self: DataGridView,autoSizeRowsMode: DataGridViewAutoSizeRowsMode) Adjusts the heights of the rows using the specified size mode value. autoSizeRowsMode: One of the System.Windows.Forms.DataGridViewAutoSizeRowsMode values. AutoResizeRows(self: DataGridView) Adjusts the heights of all rows to fit the contents of all their cells,including the header cells. """ pass def BeginEdit(self, selectAll): """ BeginEdit(self: DataGridView,selectAll: bool) -> bool Puts the current cell in edit mode. selectAll: true to select all the cell's contents; false to not select any contents. Returns: true if the current cell is already in edit mode or successfully enters edit mode; otherwise, false. """ pass def CancelEdit(self): """ CancelEdit(self: DataGridView) -> bool Cancels edit mode for the currently selected cell and discards any changes. Returns: true if the cancel was successful; otherwise,false. """ pass def ClearSelection(self): """ ClearSelection(self: DataGridView) Clears the current selection by unselecting all selected cells. """ pass def CommitEdit(self, context): """ CommitEdit(self: DataGridView,context: DataGridViewDataErrorContexts) -> bool Commits changes in the current cell to the data cache without ending edit mode. context: A bitwise combination of System.Windows.Forms.DataGridViewDataErrorContexts values that specifies the context in which an error can occur. Returns: true if the changes were committed; otherwise false. """ pass def CreateAccessibilityInstance(self, *args): """ CreateAccessibilityInstance(self: DataGridView) -> AccessibleObject Creates a new accessible object for the System.Windows.Forms.DataGridView. Returns: A new System.Windows.Forms.DataGridView.DataGridViewAccessibleObject for the System.Windows.Forms.DataGridView. """ pass def CreateColumnsInstance(self, *args): """ CreateColumnsInstance(self: DataGridView) -> DataGridViewColumnCollection Creates and returns a new System.Windows.Forms.DataGridViewColumnCollection. Returns: An empty System.Windows.Forms.DataGridViewColumnCollection. """ pass def CreateControlsInstance(self, *args): """ CreateControlsInstance(self: DataGridView) -> ControlCollection Creates and returns a new System.Windows.Forms.Control.ControlCollection that can be cast to type System.Windows.Forms.DataGridView.DataGridViewControlCollection. Returns: An empty System.Windows.Forms.Control.ControlCollection. """ pass def CreateHandle(self, *args): """ CreateHandle(self: Control) Creates a handle for the control. """ pass def CreateRowsInstance(self, *args): """ CreateRowsInstance(self: DataGridView) -> DataGridViewRowCollection Creates and returns a new System.Windows.Forms.DataGridViewRowCollection. Returns: An empty System.Windows.Forms.DataGridViewRowCollection. """ pass def DefWndProc(self, *args): """ DefWndProc(self: Control,m: Message) -> Message Sends the specified message to the default window procedure. m: The Windows System.Windows.Forms.Message to process. """ pass def DestroyHandle(self, *args): """ DestroyHandle(self: Control) Destroys the handle associated with the control. """ pass def DisplayedColumnCount(self, includePartialColumns): """ DisplayedColumnCount(self: DataGridView,includePartialColumns: bool) -> int Returns the number of columns displayed to the user. includePartialColumns: true to include partial columns in the displayed column count; otherwise,false. Returns: The number of columns displayed to the user. """ pass def DisplayedRowCount(self, includePartialRow): """ DisplayedRowCount(self: DataGridView,includePartialRow: bool) -> int Returns the number of rows displayed to the user. includePartialRow: true to include partial rows in the displayed row count; otherwise,false. Returns: The number of rows displayed to the user. """ pass def Dispose(self): """ Dispose(self: DataGridView,disposing: bool) disposing: true to release both managed and unmanaged resources; false to release only unmanaged resources. """ pass def EndEdit(self, context=None): """ EndEdit(self: DataGridView,context: DataGridViewDataErrorContexts) -> bool Commits and ends the edit operation on the current cell using the specified error context. context: A bitwise combination of System.Windows.Forms.DataGridViewDataErrorContexts values that specifies the context in which an error can occur. Returns: true if the edit operation is committed and ended; otherwise,false. EndEdit(self: DataGridView) -> bool Commits and ends the edit operation on the current cell using the default error context. Returns: true if the edit operation is committed and ended; otherwise,false. """ pass def GetAccessibilityObjectById(self, *args): """ GetAccessibilityObjectById(self: DataGridView,objectId: int) -> AccessibleObject objectId: An Int32 that identifies the System.Windows.Forms.AccessibleObject to retrieve. Returns: An System.Windows.Forms.AccessibleObject. """ pass def GetAutoSizeMode(self, *args): """ GetAutoSizeMode(self: Control) -> AutoSizeMode Retrieves a value indicating how a control will behave when its System.Windows.Forms.Control.AutoSize property is enabled. Returns: One of the System.Windows.Forms.AutoSizeMode values. """ pass def GetCellCount(self, includeFilter): """ GetCellCount(self: DataGridView,includeFilter: DataGridViewElementStates) -> int Gets the number of cells that satisfy the provided filter. includeFilter: A bitwise combination of the System.Windows.Forms.DataGridViewElementStates values specifying the cells to count. Returns: The number of cells that match the includeFilter parameter. """ pass def GetCellDisplayRectangle(self, columnIndex, rowIndex, cutOverflow): """ GetCellDisplayRectangle(self: DataGridView,columnIndex: int,rowIndex: int,cutOverflow: bool) -> Rectangle Returns the rectangle that represents the display area for a cell. columnIndex: The column index for the desired cell. rowIndex: The row index for the desired cell. cutOverflow: true to return the displayed portion of the cell only; false to return the entire cell bounds. Returns: The System.Drawing.Rectangle that represents the display rectangle of the cell. """ pass def GetClipboardContent(self): """ GetClipboardContent(self: DataGridView) -> DataObject Retrieves the formatted values that represent the contents of the selected cells for copying to the System.Windows.Forms.Clipboard. Returns: A System.Windows.Forms.DataObject that represents the contents of the selected cells. """ pass def GetColumnDisplayRectangle(self, columnIndex, cutOverflow): """ GetColumnDisplayRectangle(self: DataGridView,columnIndex: int,cutOverflow: bool) -> Rectangle Returns the rectangle that represents the display area for a column,as determined by the column index. columnIndex: The column index for the desired cell. cutOverflow: true to return the column rectangle visible in the System.Windows.Forms.DataGridView bounds; false to return the entire column rectangle. Returns: The System.Drawing.Rectangle that represents the display rectangle of the column. """ pass def GetRowDisplayRectangle(self, rowIndex, cutOverflow): """ GetRowDisplayRectangle(self: DataGridView,rowIndex: int,cutOverflow: bool) -> Rectangle Returns the rectangle that represents the display area for a row,as determined by the row index. rowIndex: The row index for the desired cell. cutOverflow: true to return the row rectangle visible in the System.Windows.Forms.DataGridView bounds; false to return the entire row rectangle. Returns: The System.Drawing.Rectangle that represents the display rectangle of the row. """ pass def GetScaledBounds(self, *args): """ GetScaledBounds(self: Control,bounds: Rectangle,factor: SizeF,specified: BoundsSpecified) -> Rectangle Retrieves the bounds within which the control is scaled. bounds: A System.Drawing.Rectangle that specifies the area for which to retrieve the display bounds. factor: The height and width of the control's bounds. specified: One of the values of System.Windows.Forms.BoundsSpecified that specifies the bounds of the control to use when defining its size and position. Returns: A System.Drawing.Rectangle representing the bounds within which the control is scaled. """ pass def GetService(self, *args): """ GetService(self: Component,service: Type) -> object Returns an object that represents a service provided by the System.ComponentModel.Component or by its System.ComponentModel.Container. service: A service provided by the System.ComponentModel.Component. Returns: An System.Object that represents a service provided by the System.ComponentModel.Component,or null if the System.ComponentModel.Component does not provide the specified service. """ pass def GetStyle(self, *args): """ GetStyle(self: Control,flag: ControlStyles) -> bool Retrieves the value of the specified control style bit for the control. flag: The System.Windows.Forms.ControlStyles bit to return the value from. Returns: true if the specified control style bit is set to true; otherwise,false. """ pass def GetTopLevel(self, *args): """ GetTopLevel(self: Control) -> bool Determines if the control is a top-level control. Returns: true if the control is a top-level control; otherwise,false. """ pass def HitTest(self, x, y): """ HitTest(self: DataGridView,x: int,y: int) -> HitTestInfo Returns location information,such as row and column indices,given x- and y-coordinates. x: The x-coordinate. y: The y-coordinate. Returns: A System.Windows.Forms.DataGridView.HitTestInfo that contains the location information. """ pass def InitLayout(self, *args): """ InitLayout(self: Control) Called after the control has been added to another container. """ pass def InvalidateCell(self, *__args): """ InvalidateCell(self: DataGridView,columnIndex: int,rowIndex: int) Invalidates the cell with the specified row and column indexes,forcing it to be repainted. columnIndex: The column index of the cell to invalidate. rowIndex: The row index of the cell to invalidate. InvalidateCell(self: DataGridView,dataGridViewCell: DataGridViewCell) Invalidates the specified cell of the System.Windows.Forms.DataGridView,forcing it to be repainted. dataGridViewCell: The System.Windows.Forms.DataGridViewCell to invalidate. """ pass def InvalidateColumn(self, columnIndex): """ InvalidateColumn(self: DataGridView,columnIndex: int) Invalidates the specified column of the System.Windows.Forms.DataGridView,forcing it to be repainted. columnIndex: The index of the column to invalidate. """ pass def InvalidateRow(self, rowIndex): """ InvalidateRow(self: DataGridView,rowIndex: int) Invalidates the specified row of the System.Windows.Forms.DataGridView,forcing it to be repainted. rowIndex: The index of the row to invalidate. """ pass def InvokeGotFocus(self, *args): """ InvokeGotFocus(self: Control,toInvoke: Control,e: EventArgs) Raises the System.Windows.Forms.Control.GotFocus event for the specified control. toInvoke: The System.Windows.Forms.Control to assign the event to. e: An System.EventArgs that contains the event data. """ pass def InvokeLostFocus(self, *args): """ InvokeLostFocus(self: Control,toInvoke: Control,e: EventArgs) Raises the System.Windows.Forms.Control.LostFocus event for the specified control. toInvoke: The System.Windows.Forms.Control to assign the event to. e: An System.EventArgs that contains the event data. """ pass def InvokeOnClick(self, *args): """ InvokeOnClick(self: Control,toInvoke: Control,e: EventArgs) Raises the System.Windows.Forms.Control.Click event for the specified control. toInvoke: The System.Windows.Forms.Control to assign the System.Windows.Forms.Control.Click event to. e: An System.EventArgs that contains the event data. """ pass def InvokePaint(self, *args): """ InvokePaint(self: Control,c: Control,e: PaintEventArgs) Raises the System.Windows.Forms.Control.Paint event for the specified control. c: The System.Windows.Forms.Control to assign the System.Windows.Forms.Control.Paint event to. e: An System.Windows.Forms.PaintEventArgs that contains the event data. """ pass def InvokePaintBackground(self, *args): """ InvokePaintBackground(self: Control,c: Control,e: PaintEventArgs) Raises the PaintBackground event for the specified control. c: The System.Windows.Forms.Control to assign the System.Windows.Forms.Control.Paint event to. e: An System.Windows.Forms.PaintEventArgs that contains the event data. """ pass def IsInputChar(self, *args): """ IsInputChar(self: DataGridView,charCode: Char) -> bool Determines whether a character is an input character that the System.Windows.Forms.DataGridView recognizes. charCode: The character to test. Returns: true if the character is recognized as an input character; otherwise,false. """ pass def IsInputKey(self, *args): """ IsInputKey(self: DataGridView,keyData: Keys) -> bool keyData: One of the System.Windows.Forms.Keys values. Returns: true if the specified key is a regular input key; otherwise,false. """ pass def MemberwiseClone(self, *args): """ MemberwiseClone(self: MarshalByRefObject,cloneIdentity: bool) -> MarshalByRefObject Creates a shallow copy of the current System.MarshalByRefObject object. cloneIdentity: false to delete the current System.MarshalByRefObject object's identity,which will cause the object to be assigned a new identity when it is marshaled across a remoting boundary. A value of false is usually appropriate. true to copy the current System.MarshalByRefObject object's identity to its clone,which will cause remoting client calls to be routed to the remote server object. Returns: A shallow copy of the current System.MarshalByRefObject object. MemberwiseClone(self: object) -> object Creates a shallow copy of the current System.Object. Returns: A shallow copy of the current System.Object. """ pass def NotifyCurrentCellDirty(self, dirty): """ NotifyCurrentCellDirty(self: DataGridView,dirty: bool) Notifies the System.Windows.Forms.DataGridView that the current cell has uncommitted changes. dirty: true to indicate the cell has uncommitted changes; otherwise,false. """ pass def NotifyInvalidate(self, *args): """ NotifyInvalidate(self: Control,invalidatedArea: Rectangle) Raises the System.Windows.Forms.Control.Invalidated event with a specified region of the control to invalidate. invalidatedArea: A System.Drawing.Rectangle representing the area to invalidate. """ pass def OnAllowUserToAddRowsChanged(self, *args): """ OnAllowUserToAddRowsChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.AllowUserToAddRowsChanged event. e: An System.EventArgs that contains the event data. """ pass def OnAllowUserToDeleteRowsChanged(self, *args): """ OnAllowUserToDeleteRowsChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.AllowUserToDeleteRowsChanged event. e: An System.EventArgs that contains the event data. """ pass def OnAllowUserToOrderColumnsChanged(self, *args): """ OnAllowUserToOrderColumnsChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.AllowUserToOrderColumnsChanged event. e: A System.EventArgs that contains the event data. """ pass def OnAllowUserToResizeColumnsChanged(self, *args): """ OnAllowUserToResizeColumnsChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.AllowUserToResizeColumnsChanged event. e: An System.EventArgs that contains the event data. """ pass def OnAllowUserToResizeRowsChanged(self, *args): """ OnAllowUserToResizeRowsChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.AllowUserToResizeRowsChanged event. e: An System.EventArgs that contains the event data. """ pass def OnAlternatingRowsDefaultCellStyleChanged(self, *args): """ OnAlternatingRowsDefaultCellStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.AlternatingRowsDefaultCellStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def OnAutoGenerateColumnsChanged(self, *args): """ OnAutoGenerateColumnsChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.AutoGenerateColumnsChanged event. e: An System.EventArgs that contains the event data. """ pass def OnAutoSizeChanged(self, *args): """ OnAutoSizeChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.AutoSizeChanged event. e: An System.EventArgs that contains the event data. """ pass def OnAutoSizeColumnModeChanged(self, *args): """ OnAutoSizeColumnModeChanged(self: DataGridView,e: DataGridViewAutoSizeColumnModeEventArgs) Raises the System.Windows.Forms.DataGridView.AutoSizeColumnModeChanged event. e: A System.Windows.Forms.DataGridViewAutoSizeColumnModeEventArgs that contains the event data. """ pass def OnAutoSizeColumnsModeChanged(self, *args): """ OnAutoSizeColumnsModeChanged(self: DataGridView,e: DataGridViewAutoSizeColumnsModeEventArgs) Raises the System.Windows.Forms.DataGridView.AutoSizeColumnsModeChanged event. e: A System.Windows.Forms.DataGridViewAutoSizeColumnsModeEventArgs that contains the event data. """ pass def OnAutoSizeRowsModeChanged(self, *args): """ OnAutoSizeRowsModeChanged(self: DataGridView,e: DataGridViewAutoSizeModeEventArgs) Raises the System.Windows.Forms.DataGridView.AutoSizeRowsModeChanged event. e: A System.Windows.Forms.DataGridViewAutoSizeModeEventArgs that contains the event data. """ pass def OnBackColorChanged(self, *args): """ OnBackColorChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.BackColorChanged event. e: An System.EventArgs that contains the event data. """ pass def OnBackgroundColorChanged(self, *args): """ OnBackgroundColorChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.BackgroundColorChanged event. e: An System.EventArgs that contains the event data. """ pass def OnBackgroundImageChanged(self, *args): """ OnBackgroundImageChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.BackgroundImageChanged event. e: An System.EventArgs that contains the event data. """ pass def OnBackgroundImageLayoutChanged(self, *args): """ OnBackgroundImageLayoutChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.BackgroundImageLayoutChanged event. e: An System.EventArgs that contains the event data. """ pass def OnBindingContextChanged(self, *args): """ OnBindingContextChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.BindingContextChanged event. e: An System.EventArgs that contains the event data. """ pass def OnBorderStyleChanged(self, *args): """ OnBorderStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.BorderStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def OnCancelRowEdit(self, *args): """ OnCancelRowEdit(self: DataGridView,e: QuestionEventArgs) Raises the System.Windows.Forms.DataGridView.CancelRowEdit event. e: A System.Windows.Forms.QuestionEventArgs that contains the event data. """ pass def OnCausesValidationChanged(self, *args): """ OnCausesValidationChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.CausesValidationChanged event. e: An System.EventArgs that contains the event data. """ pass def OnCellBeginEdit(self, *args): """ OnCellBeginEdit(self: DataGridView,e: DataGridViewCellCancelEventArgs) Raises the System.Windows.Forms.DataGridView.CellBeginEdit event. e: A System.Windows.Forms.DataGridViewCellCancelEventArgs that contains the event data. """ pass def OnCellBorderStyleChanged(self, *args): """ OnCellBorderStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.CellBorderStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def OnCellClick(self, *args): """ OnCellClick(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellClick event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnCellContentClick(self, *args): """ OnCellContentClick(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellContentClick event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains information regarding the cell whose content was clicked. """ pass def OnCellContentDoubleClick(self, *args): """ OnCellContentDoubleClick(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellContentDoubleClick event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnCellContextMenuStripChanged(self, *args): """ OnCellContextMenuStripChanged(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellContextMenuStripChanged event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnCellContextMenuStripNeeded(self, *args): """ OnCellContextMenuStripNeeded(self: DataGridView,e: DataGridViewCellContextMenuStripNeededEventArgs) Raises the System.Windows.Forms.DataGridView.CellContextMenuStripNeeded event. e: A System.Windows.Forms.DataGridViewCellContextMenuStripNeededEventArgs that contains the event data. """ pass def OnCellDoubleClick(self, *args): """ OnCellDoubleClick(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellDoubleClick event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnCellEndEdit(self, *args): """ OnCellEndEdit(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellEndEdit event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnCellEnter(self, *args): """ OnCellEnter(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellEnter event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnCellErrorTextChanged(self, *args): """ OnCellErrorTextChanged(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellErrorTextChanged event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnCellErrorTextNeeded(self, *args): """ OnCellErrorTextNeeded(self: DataGridView,e: DataGridViewCellErrorTextNeededEventArgs) Raises the System.Windows.Forms.DataGridView.CellErrorTextNeeded event. e: A System.Windows.Forms.DataGridViewCellErrorTextNeededEventArgs that contains the event data. """ pass def OnCellFormatting(self, *args): """ OnCellFormatting(self: DataGridView,e: DataGridViewCellFormattingEventArgs) Raises the System.Windows.Forms.DataGridView.CellFormatting event. e: A System.Windows.Forms.DataGridViewCellFormattingEventArgs that contains the event data. """ pass def OnCellLeave(self, *args): """ OnCellLeave(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellLeave event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnCellMouseClick(self, *args): """ OnCellMouseClick(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.CellMouseClick event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event data. """ pass def OnCellMouseDoubleClick(self, *args): """ OnCellMouseDoubleClick(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.CellMouseDoubleClick event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event data. """ pass def OnCellMouseDown(self, *args): """ OnCellMouseDown(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.CellMouseDown event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event data. """ pass def OnCellMouseEnter(self, *args): """ OnCellMouseEnter(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellMouseEnter event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnCellMouseLeave(self, *args): """ OnCellMouseLeave(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellMouseLeave event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnCellMouseMove(self, *args): """ OnCellMouseMove(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.CellMouseMove event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event data. """ pass def OnCellMouseUp(self, *args): """ OnCellMouseUp(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.CellMouseUp event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event data. """ pass def OnCellPainting(self, *args): """ OnCellPainting(self: DataGridView,e: DataGridViewCellPaintingEventArgs) Raises the System.Windows.Forms.DataGridView.CellPainting event. e: A System.Windows.Forms.DataGridViewCellPaintingEventArgs that contains the event data. """ pass def OnCellParsing(self, *args): """ OnCellParsing(self: DataGridView,e: DataGridViewCellParsingEventArgs) Raises the System.Windows.Forms.DataGridView.CellParsing event. e: A System.Windows.Forms.DataGridViewCellParsingEventArgs that contains the event data. """ pass def OnCellStateChanged(self, *args): """ OnCellStateChanged(self: DataGridView,e: DataGridViewCellStateChangedEventArgs) Raises the System.Windows.Forms.DataGridView.CellStateChanged event. e: A System.Windows.Forms.DataGridViewCellStateChangedEventArgs that contains the event data. """ pass def OnCellStyleChanged(self, *args): """ OnCellStyleChanged(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellStyleChanged event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnCellStyleContentChanged(self, *args): """ OnCellStyleContentChanged(self: DataGridView,e: DataGridViewCellStyleContentChangedEventArgs) Raises the System.Windows.Forms.DataGridView.CellStyleContentChanged event. e: A System.Windows.Forms.DataGridViewCellStyleContentChangedEventArgs that contains the event data. """ pass def OnCellToolTipTextChanged(self, *args): """ OnCellToolTipTextChanged(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellToolTipTextChanged event. e: An System.Windows.Forms.DataGridViewCellEventArgs that contains information about the cell. """ pass def OnCellToolTipTextNeeded(self, *args): """ OnCellToolTipTextNeeded(self: DataGridView,e: DataGridViewCellToolTipTextNeededEventArgs) Raises the System.Windows.Forms.DataGridView.CellToolTipTextNeeded event. e: A System.Windows.Forms.DataGridViewCellToolTipTextNeededEventArgs that contains the event data. """ pass def OnCellValidated(self, *args): """ OnCellValidated(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellValidated event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnCellValidating(self, *args): """ OnCellValidating(self: DataGridView,e: DataGridViewCellValidatingEventArgs) Raises the System.Windows.Forms.DataGridView.CellValidating event. e: A System.Windows.Forms.DataGridViewCellValidatingEventArgs that contains the event data. """ pass def OnCellValueChanged(self, *args): """ OnCellValueChanged(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellValueChanged event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnCellValueNeeded(self, *args): """ OnCellValueNeeded(self: DataGridView,e: DataGridViewCellValueEventArgs) Raises the System.Windows.Forms.DataGridView.CellValueNeeded event. e: A System.Windows.Forms.DataGridViewCellValueEventArgs that contains the event data. """ pass def OnCellValuePushed(self, *args): """ OnCellValuePushed(self: DataGridView,e: DataGridViewCellValueEventArgs) Raises the System.Windows.Forms.DataGridView.CellValuePushed event. e: A System.Windows.Forms.DataGridViewCellValueEventArgs that contains the event data. """ pass def OnChangeUICues(self, *args): """ OnChangeUICues(self: Control,e: UICuesEventArgs) Raises the System.Windows.Forms.Control.ChangeUICues event. e: A System.Windows.Forms.UICuesEventArgs that contains the event data. """ pass def OnClick(self, *args): """ OnClick(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.Click event. e: An System.EventArgs that contains the event data. """ pass def OnClientSizeChanged(self, *args): """ OnClientSizeChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.ClientSizeChanged event. e: An System.EventArgs that contains the event data. """ pass def OnColumnAdded(self, *args): """ OnColumnAdded(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnAdded event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def OnColumnContextMenuStripChanged(self, *args): """ OnColumnContextMenuStripChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnContextMenuStripChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def OnColumnDataPropertyNameChanged(self, *args): """ OnColumnDataPropertyNameChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnDataPropertyNameChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def OnColumnDefaultCellStyleChanged(self, *args): """ OnColumnDefaultCellStyleChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnDefaultCellStyleChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def OnColumnDisplayIndexChanged(self, *args): """ OnColumnDisplayIndexChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnDisplayIndexChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def OnColumnDividerDoubleClick(self, *args): """ OnColumnDividerDoubleClick(self: DataGridView,e: DataGridViewColumnDividerDoubleClickEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnDividerDoubleClick event. e: A System.Windows.Forms.DataGridViewColumnDividerDoubleClickEventArgs that contains the event data. """ pass def OnColumnDividerWidthChanged(self, *args): """ OnColumnDividerWidthChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnDividerWidthChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def OnColumnHeaderCellChanged(self, *args): """ OnColumnHeaderCellChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnHeaderCellChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def OnColumnHeaderMouseClick(self, *args): """ OnColumnHeaderMouseClick(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnHeaderMouseClick event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event data. """ pass def OnColumnHeaderMouseDoubleClick(self, *args): """ OnColumnHeaderMouseDoubleClick(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnHeaderMouseDoubleClick event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains information about the cell and the position of the mouse pointer. """ pass def OnColumnHeadersBorderStyleChanged(self, *args): """ OnColumnHeadersBorderStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.ColumnHeadersBorderStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def OnColumnHeadersDefaultCellStyleChanged(self, *args): """ OnColumnHeadersDefaultCellStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.ColumnHeadersDefaultCellStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def OnColumnHeadersHeightChanged(self, *args): """ OnColumnHeadersHeightChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.ColumnHeadersHeightChanged event. e: An System.EventArgs that contains the event data. """ pass def OnColumnHeadersHeightSizeModeChanged(self, *args): """ OnColumnHeadersHeightSizeModeChanged(self: DataGridView,e: DataGridViewAutoSizeModeEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnHeadersHeightSizeModeChanged event. e: A System.Windows.Forms.DataGridViewAutoSizeModeEventArgs that contains the event data. """ pass def OnColumnMinimumWidthChanged(self, *args): """ OnColumnMinimumWidthChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnMinimumWidthChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def OnColumnNameChanged(self, *args): """ OnColumnNameChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnNameChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def OnColumnRemoved(self, *args): """ OnColumnRemoved(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnRemoved event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def OnColumnSortModeChanged(self, *args): """ OnColumnSortModeChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnSortModeChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def OnColumnStateChanged(self, *args): """ OnColumnStateChanged(self: DataGridView,e: DataGridViewColumnStateChangedEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnStateChanged event. e: A System.Windows.Forms.DataGridViewColumnStateChangedEventArgs that contains the event data. """ pass def OnColumnToolTipTextChanged(self, *args): """ OnColumnToolTipTextChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnToolTipTextChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains information about the column. """ pass def OnColumnWidthChanged(self, *args): """ OnColumnWidthChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnWidthChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def OnContextMenuChanged(self, *args): """ OnContextMenuChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.ContextMenuChanged event. e: An System.EventArgs that contains the event data. """ pass def OnContextMenuStripChanged(self, *args): """ OnContextMenuStripChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.ContextMenuStripChanged event. e: An System.EventArgs that contains the event data. """ pass def OnControlAdded(self, *args): """ OnControlAdded(self: Control,e: ControlEventArgs) Raises the System.Windows.Forms.Control.ControlAdded event. e: A System.Windows.Forms.ControlEventArgs that contains the event data. """ pass def OnControlRemoved(self, *args): """ OnControlRemoved(self: Control,e: ControlEventArgs) Raises the System.Windows.Forms.Control.ControlRemoved event. e: A System.Windows.Forms.ControlEventArgs that contains the event data. """ pass def OnCreateControl(self, *args): """ OnCreateControl(self: Control) Raises the System.Windows.Forms.Control.CreateControl method. """ pass def OnCurrentCellChanged(self, *args): """ OnCurrentCellChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.CurrentCellChanged event. e: An System.EventArgs that contains the event data. """ pass def OnCurrentCellDirtyStateChanged(self, *args): """ OnCurrentCellDirtyStateChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.CurrentCellDirtyStateChanged event. e: An System.EventArgs that contains the event data. """ pass def OnCursorChanged(self, *args): """ OnCursorChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.CursorChanged event and updates the System.Windows.Forms.DataGridView.UserSetCursor property if the cursor was changed in user code. e: An System.EventArgs that contains the event data. """ pass def OnDataBindingComplete(self, *args): """ OnDataBindingComplete(self: DataGridView,e: DataGridViewBindingCompleteEventArgs) Raises the System.Windows.Forms.DataGridView.DataBindingComplete event. e: A System.Windows.Forms.DataGridViewBindingCompleteEventArgs that contains the event data. """ pass def OnDataError(self, *args): """ OnDataError(self: DataGridView,displayErrorDialogIfNoHandler: bool,e: DataGridViewDataErrorEventArgs) Raises the System.Windows.Forms.DataGridView.DataError event. displayErrorDialogIfNoHandler: true to display an error dialog box if there is no handler for the System.Windows.Forms.DataGridView.DataError event. e: A System.Windows.Forms.DataGridViewDataErrorEventArgs that contains the event data. """ pass def OnDataMemberChanged(self, *args): """ OnDataMemberChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.DataMemberChanged event. e: An System.EventArgs that contains the event data. """ pass def OnDataSourceChanged(self, *args): """ OnDataSourceChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.DataSourceChanged event. e: An System.EventArgs that contains the event data. """ pass def OnDefaultCellStyleChanged(self, *args): """ OnDefaultCellStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.DefaultCellStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def OnDefaultValuesNeeded(self, *args): """ OnDefaultValuesNeeded(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.DefaultValuesNeeded event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def OnDockChanged(self, *args): """ OnDockChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.DockChanged event. e: An System.EventArgs that contains the event data. """ pass def OnDoubleClick(self, *args): """ OnDoubleClick(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.DoubleClick event. e: An System.EventArgs that contains the event data. """ pass def OnDpiChangedAfterParent(self, *args): """ OnDpiChangedAfterParent(self: Control,e: EventArgs) """ pass def OnDpiChangedBeforeParent(self, *args): """ OnDpiChangedBeforeParent(self: Control,e: EventArgs) """ pass def OnDragDrop(self, *args): """ OnDragDrop(self: Control,drgevent: DragEventArgs) Raises the System.Windows.Forms.Control.DragDrop event. drgevent: A System.Windows.Forms.DragEventArgs that contains the event data. """ pass def OnDragEnter(self, *args): """ OnDragEnter(self: Control,drgevent: DragEventArgs) Raises the System.Windows.Forms.Control.DragEnter event. drgevent: A System.Windows.Forms.DragEventArgs that contains the event data. """ pass def OnDragLeave(self, *args): """ OnDragLeave(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.DragLeave event. e: An System.EventArgs that contains the event data. """ pass def OnDragOver(self, *args): """ OnDragOver(self: Control,drgevent: DragEventArgs) Raises the System.Windows.Forms.Control.DragOver event. drgevent: A System.Windows.Forms.DragEventArgs that contains the event data. """ pass def OnEditingControlShowing(self, *args): """ OnEditingControlShowing(self: DataGridView,e: DataGridViewEditingControlShowingEventArgs) Raises the System.Windows.Forms.DataGridView.EditingControlShowing event. e: A System.Windows.Forms.DataGridViewEditingControlShowingEventArgs that contains information about the editing control. """ pass def OnEditModeChanged(self, *args): """ OnEditModeChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.EditModeChanged event. e: An System.EventArgs that contains the event data. """ pass def OnEnabledChanged(self, *args): """ OnEnabledChanged(self: DataGridView,e: EventArgs) e: An System.EventArgs that contains the event data. """ pass def OnEnter(self, *args): """ OnEnter(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.Enter event. e: An System.EventArgs that contains the event data. """ pass def OnFontChanged(self, *args): """ OnFontChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.FontChanged event. e: An System.EventArgs that contains the event data. """ pass def OnForeColorChanged(self, *args): """ OnForeColorChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.ForeColorChanged event. e: An System.EventArgs that contains the event data. """ pass def OnGiveFeedback(self, *args): """ OnGiveFeedback(self: Control,gfbevent: GiveFeedbackEventArgs) Raises the System.Windows.Forms.Control.GiveFeedback event. gfbevent: A System.Windows.Forms.GiveFeedbackEventArgs that contains the event data. """ pass def OnGotFocus(self, *args): """ OnGotFocus(self: DataGridView,e: EventArgs) e: An System.EventArgs that contains the event data. """ pass def OnGridColorChanged(self, *args): """ OnGridColorChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.GridColorChanged event. e: An System.EventArgs that contains the event data. """ pass def OnHandleCreated(self, *args): """ OnHandleCreated(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.HandleCreated event. e: An System.EventArgs that contains the event data. """ pass def OnHandleDestroyed(self, *args): """ OnHandleDestroyed(self: DataGridView,e: EventArgs) e: An System.EventArgs that contains the event data. """ pass def OnHelpRequested(self, *args): """ OnHelpRequested(self: Control,hevent: HelpEventArgs) Raises the System.Windows.Forms.Control.HelpRequested event. hevent: A System.Windows.Forms.HelpEventArgs that contains the event data. """ pass def OnImeModeChanged(self, *args): """ OnImeModeChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.ImeModeChanged event. e: An System.EventArgs that contains the event data. """ pass def OnInvalidated(self, *args): """ OnInvalidated(self: Control,e: InvalidateEventArgs) Raises the System.Windows.Forms.Control.Invalidated event. e: An System.Windows.Forms.InvalidateEventArgs that contains the event data. """ pass def OnKeyDown(self, *args): """ OnKeyDown(self: DataGridView,e: KeyEventArgs) Raises the System.Windows.Forms.Control.KeyDown event. e: A System.Windows.Forms.KeyEventArgs that contains the event data. """ pass def OnKeyPress(self, *args): """ OnKeyPress(self: DataGridView,e: KeyPressEventArgs) Raises the System.Windows.Forms.Control.KeyPress event. e: A System.Windows.Forms.KeyPressEventArgs that contains the event data. """ pass def OnKeyUp(self, *args): """ OnKeyUp(self: DataGridView,e: KeyEventArgs) Raises the System.Windows.Forms.Control.KeyUp event. e: A System.Windows.Forms.KeyEventArgs that contains the event data. """ pass def OnLayout(self, *args): """ OnLayout(self: DataGridView,e: LayoutEventArgs) Raises the System.Windows.Forms.Control.Layout event. e: A System.Windows.Forms.LayoutEventArgs that contains the event data. """ pass def OnLeave(self, *args): """ OnLeave(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.Leave event. e: An System.EventArgs that contains the event data. """ pass def OnLocationChanged(self, *args): """ OnLocationChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.LocationChanged event. e: An System.EventArgs that contains the event data. """ pass def OnLostFocus(self, *args): """ OnLostFocus(self: DataGridView,e: EventArgs) e: An System.EventArgs that contains the event data. """ pass def OnMarginChanged(self, *args): """ OnMarginChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.MarginChanged event. e: A System.EventArgs that contains the event data. """ pass def OnMouseCaptureChanged(self, *args): """ OnMouseCaptureChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.MouseCaptureChanged event. e: An System.EventArgs that contains the event data. """ pass def OnMouseClick(self, *args): """ OnMouseClick(self: DataGridView,e: MouseEventArgs) Raises the System.Windows.Forms.Control.MouseClick event. e: A System.Windows.Forms.MouseEventArgs that contains the event data. """ pass def OnMouseDoubleClick(self, *args): """ OnMouseDoubleClick(self: DataGridView,e: MouseEventArgs) e: An System.Windows.Forms.MouseEventArgs that contains the event data. """ pass def OnMouseDown(self, *args): """ OnMouseDown(self: DataGridView,e: MouseEventArgs) Raises the System.Windows.Forms.Control.MouseDown event. e: A System.Windows.Forms.MouseEventArgs that contains the event data. """ pass def OnMouseEnter(self, *args): """ OnMouseEnter(self: DataGridView,e: EventArgs) e: An System.EventArgs that contains the event data. """ pass def OnMouseHover(self, *args): """ OnMouseHover(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.MouseHover event. e: An System.EventArgs that contains the event data. """ pass def OnMouseLeave(self, *args): """ OnMouseLeave(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.MouseLeave event. e: An System.EventArgs that contains the event data. """ pass def OnMouseMove(self, *args): """ OnMouseMove(self: DataGridView,e: MouseEventArgs) Raises the System.Windows.Forms.Control.MouseMove event. e: A System.Windows.Forms.MouseEventArgs that contains the event data. """ pass def OnMouseUp(self, *args): """ OnMouseUp(self: DataGridView,e: MouseEventArgs) Raises the System.Windows.Forms.Control.MouseUp event. e: A System.Windows.Forms.MouseEventArgs that contains the event data. """ pass def OnMouseWheel(self, *args): """ OnMouseWheel(self: DataGridView,e: MouseEventArgs) e: A System.Windows.Forms.MouseEventArgs that contains the event data. """ pass def OnMove(self, *args): """ OnMove(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.Move event. e: An System.EventArgs that contains the event data. """ pass def OnMultiSelectChanged(self, *args): """ OnMultiSelectChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.MultiSelectChanged event. e: An System.EventArgs that contains the event data. """ pass def OnNewRowNeeded(self, *args): """ OnNewRowNeeded(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.NewRowNeeded event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def OnNotifyMessage(self, *args): """ OnNotifyMessage(self: Control,m: Message) Notifies the control of Windows messages. m: A System.Windows.Forms.Message that represents the Windows message. """ pass def OnPaddingChanged(self, *args): """ OnPaddingChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.PaddingChanged event. e: A System.EventArgs that contains the event data. """ pass def OnPaint(self, *args): """ OnPaint(self: DataGridView,e: PaintEventArgs) Raises the System.Windows.Forms.Control.Paint event. e: A System.Windows.Forms.PaintEventArgs that contains the event data. """ pass def OnPaintBackground(self, *args): """ OnPaintBackground(self: Control,pevent: PaintEventArgs) Paints the background of the control. pevent: A System.Windows.Forms.PaintEventArgs that contains information about the control to paint. """ pass def OnParentBackColorChanged(self, *args): """ OnParentBackColorChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.BackColorChanged event when the System.Windows.Forms.Control.BackColor property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def OnParentBackgroundImageChanged(self, *args): """ OnParentBackgroundImageChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.BackgroundImageChanged event when the System.Windows.Forms.Control.BackgroundImage property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def OnParentBindingContextChanged(self, *args): """ OnParentBindingContextChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.BindingContextChanged event when the System.Windows.Forms.Control.BindingContext property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def OnParentChanged(self, *args): """ OnParentChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.ParentChanged event. e: An System.EventArgs that contains the event data. """ pass def OnParentCursorChanged(self, *args): """ OnParentCursorChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.CursorChanged event. e: An System.EventArgs that contains the event data. """ pass def OnParentEnabledChanged(self, *args): """ OnParentEnabledChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.EnabledChanged event when the System.Windows.Forms.Control.Enabled property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def OnParentFontChanged(self, *args): """ OnParentFontChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.FontChanged event when the System.Windows.Forms.Control.Font property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def OnParentForeColorChanged(self, *args): """ OnParentForeColorChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.ForeColorChanged event when the System.Windows.Forms.Control.ForeColor property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def OnParentRightToLeftChanged(self, *args): """ OnParentRightToLeftChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.RightToLeftChanged event when the System.Windows.Forms.Control.RightToLeft property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def OnParentVisibleChanged(self, *args): """ OnParentVisibleChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.VisibleChanged event when the System.Windows.Forms.Control.Visible property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def OnPreviewKeyDown(self, *args): """ OnPreviewKeyDown(self: Control,e: PreviewKeyDownEventArgs) Raises the System.Windows.Forms.Control.PreviewKeyDown event. e: A System.Windows.Forms.PreviewKeyDownEventArgs that contains the event data. """ pass def OnPrint(self, *args): """ OnPrint(self: Control,e: PaintEventArgs) Raises the System.Windows.Forms.Control.Paint event. e: A System.Windows.Forms.PaintEventArgs that contains the event data. """ pass def OnQueryContinueDrag(self, *args): """ OnQueryContinueDrag(self: Control,qcdevent: QueryContinueDragEventArgs) Raises the System.Windows.Forms.Control.QueryContinueDrag event. qcdevent: A System.Windows.Forms.QueryContinueDragEventArgs that contains the event data. """ pass def OnReadOnlyChanged(self, *args): """ OnReadOnlyChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.ReadOnlyChanged event. e: An System.EventArgs that contains the event data. """ pass def OnRegionChanged(self, *args): """ OnRegionChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.RegionChanged event. e: An System.EventArgs that contains the event data. """ pass def OnResize(self, *args): """ OnResize(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.Resize event. e: An System.EventArgs that contains the event data. """ pass def OnRightToLeftChanged(self, *args): """ OnRightToLeftChanged(self: DataGridView,e: EventArgs) e: An System.EventArgs that contains the event data. """ pass def OnRowContextMenuStripChanged(self, *args): """ OnRowContextMenuStripChanged(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowContextMenuStripChanged event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def OnRowContextMenuStripNeeded(self, *args): """ OnRowContextMenuStripNeeded(self: DataGridView,e: DataGridViewRowContextMenuStripNeededEventArgs) Raises the System.Windows.Forms.DataGridView.RowContextMenuStripNeeded event. e: A System.Windows.Forms.DataGridViewRowContextMenuStripNeededEventArgs that contains the event data. """ pass def OnRowDefaultCellStyleChanged(self, *args): """ OnRowDefaultCellStyleChanged(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowDefaultCellStyleChanged event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def OnRowDirtyStateNeeded(self, *args): """ OnRowDirtyStateNeeded(self: DataGridView,e: QuestionEventArgs) Raises the System.Windows.Forms.DataGridView.RowDirtyStateNeeded event. e: A System.Windows.Forms.QuestionEventArgs that contains the event data. """ pass def OnRowDividerDoubleClick(self, *args): """ OnRowDividerDoubleClick(self: DataGridView,e: DataGridViewRowDividerDoubleClickEventArgs) Raises the System.Windows.Forms.DataGridView.RowDividerDoubleClick event. e: A System.Windows.Forms.DataGridViewRowDividerDoubleClickEventArgs that contains the event data. """ pass def OnRowDividerHeightChanged(self, *args): """ OnRowDividerHeightChanged(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowDividerHeightChanged event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def OnRowEnter(self, *args): """ OnRowEnter(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.RowEnter event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnRowErrorTextChanged(self, *args): """ OnRowErrorTextChanged(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowErrorTextChanged event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def OnRowErrorTextNeeded(self, *args): """ OnRowErrorTextNeeded(self: DataGridView,e: DataGridViewRowErrorTextNeededEventArgs) Raises the System.Windows.Forms.DataGridView.RowErrorTextNeeded event. e: A System.Windows.Forms.DataGridViewRowErrorTextNeededEventArgs that contains the event data. """ pass def OnRowHeaderCellChanged(self, *args): """ OnRowHeaderCellChanged(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowHeaderCellChanged event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def OnRowHeaderMouseClick(self, *args): """ OnRowHeaderMouseClick(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.RowHeaderMouseClick event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains information about the mouse and the header cell that was clicked. """ pass def OnRowHeaderMouseDoubleClick(self, *args): """ OnRowHeaderMouseDoubleClick(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.RowHeaderMouseDoubleClick event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains information about the mouse and the header cell that was double-clicked. """ pass def OnRowHeadersBorderStyleChanged(self, *args): """ OnRowHeadersBorderStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.RowHeadersBorderStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def OnRowHeadersDefaultCellStyleChanged(self, *args): """ OnRowHeadersDefaultCellStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.RowHeadersDefaultCellStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def OnRowHeadersWidthChanged(self, *args): """ OnRowHeadersWidthChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.RowHeadersWidthChanged event. e: An System.EventArgs that contains the event data. """ pass def OnRowHeadersWidthSizeModeChanged(self, *args): """ OnRowHeadersWidthSizeModeChanged(self: DataGridView,e: DataGridViewAutoSizeModeEventArgs) Raises the System.Windows.Forms.DataGridView.RowHeadersWidthSizeModeChanged event. e: A System.Windows.Forms.DataGridViewAutoSizeModeEventArgs that contains the event data. """ pass def OnRowHeightChanged(self, *args): """ OnRowHeightChanged(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowHeightChanged event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def OnRowHeightInfoNeeded(self, *args): """ OnRowHeightInfoNeeded(self: DataGridView,e: DataGridViewRowHeightInfoNeededEventArgs) Raises the System.Windows.Forms.DataGridView.RowHeightInfoNeeded event. e: A System.Windows.Forms.DataGridViewRowHeightInfoNeededEventArgs that contains the event data. """ pass def OnRowHeightInfoPushed(self, *args): """ OnRowHeightInfoPushed(self: DataGridView,e: DataGridViewRowHeightInfoPushedEventArgs) Raises the System.Windows.Forms.DataGridView.RowHeightInfoPushed event. e: A System.Windows.Forms.DataGridViewRowHeightInfoPushedEventArgs that contains the event data. """ pass def OnRowLeave(self, *args): """ OnRowLeave(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.RowLeave event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnRowMinimumHeightChanged(self, *args): """ OnRowMinimumHeightChanged(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowMinimumHeightChanged event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def OnRowPostPaint(self, *args): """ OnRowPostPaint(self: DataGridView,e: DataGridViewRowPostPaintEventArgs) Raises the System.Windows.Forms.DataGridView.RowPostPaint event. e: A System.Windows.Forms.DataGridViewRowPostPaintEventArgs that contains the event data. """ pass def OnRowPrePaint(self, *args): """ OnRowPrePaint(self: DataGridView,e: DataGridViewRowPrePaintEventArgs) Raises the System.Windows.Forms.DataGridView.RowPrePaint event. e: A System.Windows.Forms.DataGridViewRowPrePaintEventArgs that contains the event data. """ pass def OnRowsAdded(self, *args): """ OnRowsAdded(self: DataGridView,e: DataGridViewRowsAddedEventArgs) Raises the System.Windows.Forms.DataGridView.RowsAdded event. e: A System.Windows.Forms.DataGridViewRowsAddedEventArgs that contains information about the added rows. """ pass def OnRowsDefaultCellStyleChanged(self, *args): """ OnRowsDefaultCellStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.RowsDefaultCellStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def OnRowsRemoved(self, *args): """ OnRowsRemoved(self: DataGridView,e: DataGridViewRowsRemovedEventArgs) Raises the System.Windows.Forms.DataGridView.RowsRemoved event. e: A System.Windows.Forms.DataGridViewRowsRemovedEventArgs that contains information about the deleted rows. """ pass def OnRowStateChanged(self, *args): """ OnRowStateChanged(self: DataGridView,rowIndex: int,e: DataGridViewRowStateChangedEventArgs) Raises the System.Windows.Forms.DataGridView.RowStateChanged event. rowIndex: The index of the row that is changing state. e: A System.Windows.Forms.DataGridViewRowStateChangedEventArgs that contains the event data. """ pass def OnRowUnshared(self, *args): """ OnRowUnshared(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowUnshared event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def OnRowValidated(self, *args): """ OnRowValidated(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.RowValidated event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def OnRowValidating(self, *args): """ OnRowValidating(self: DataGridView,e: DataGridViewCellCancelEventArgs) Raises the System.Windows.Forms.DataGridView.RowValidating event. e: A System.Windows.Forms.DataGridViewCellCancelEventArgs that contains the event data. """ pass def OnScroll(self, *args): """ OnScroll(self: DataGridView,e: ScrollEventArgs) Raises the System.Windows.Forms.DataGridView.Scroll event. e: A System.Windows.Forms.ScrollEventArgs that contains the event data. """ pass def OnSelectionChanged(self, *args): """ OnSelectionChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.SelectionChanged event. e: An System.EventArgs that contains information about the event. """ pass def OnSizeChanged(self, *args): """ OnSizeChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.SizeChanged event. e: An System.EventArgs that contains the event data. """ pass def OnSortCompare(self, *args): """ OnSortCompare(self: DataGridView,e: DataGridViewSortCompareEventArgs) Raises the System.Windows.Forms.DataGridView.SortCompare event. e: A System.Windows.Forms.DataGridViewSortCompareEventArgs that contains the event data. """ pass def OnSorted(self, *args): """ OnSorted(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.Sorted event. e: An System.EventArgs that contains the event data. """ pass def OnStyleChanged(self, *args): """ OnStyleChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.StyleChanged event. e: An System.EventArgs that contains the event data. """ pass def OnSystemColorsChanged(self, *args): """ OnSystemColorsChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.SystemColorsChanged event. e: An System.EventArgs that contains the event data. """ pass def OnTabIndexChanged(self, *args): """ OnTabIndexChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.TabIndexChanged event. e: An System.EventArgs that contains the event data. """ pass def OnTabStopChanged(self, *args): """ OnTabStopChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.TabStopChanged event. e: An System.EventArgs that contains the event data. """ pass def OnTextChanged(self, *args): """ OnTextChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.TextChanged event. e: An System.EventArgs that contains the event data. """ pass def OnUserAddedRow(self, *args): """ OnUserAddedRow(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.UserAddedRow event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def OnUserDeletedRow(self, *args): """ OnUserDeletedRow(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.UserDeletedRow event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def OnUserDeletingRow(self, *args): """ OnUserDeletingRow(self: DataGridView,e: DataGridViewRowCancelEventArgs) Raises the System.Windows.Forms.DataGridView.UserDeletingRow event. e: A System.Windows.Forms.DataGridViewRowCancelEventArgs that contains the event data. """ pass def OnValidated(self, *args): """ OnValidated(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.Validated event. e: An System.EventArgs that contains the event data. """ pass def OnValidating(self, *args): """ OnValidating(self: DataGridView,e: CancelEventArgs) Raises the System.Windows.Forms.Control.Validating event. e: A System.ComponentModel.CancelEventArgs that contains the event data. """ pass def OnVisibleChanged(self, *args): """ OnVisibleChanged(self: DataGridView,e: EventArgs) e: An System.EventArgs that contains the event data. """ pass def PaintBackground(self, *args): """ PaintBackground(self: DataGridView,graphics: Graphics,clipBounds: Rectangle,gridBounds: Rectangle) Paints the background of the System.Windows.Forms.DataGridView. graphics: The System.Drawing.Graphics used to paint the background. clipBounds: A System.Drawing.Rectangle that represents the area of the System.Windows.Forms.DataGridView that needs to be painted. gridBounds: A System.Drawing.Rectangle that represents the area in which cells are drawn. """ pass def ProcessAKey(self, *args): """ ProcessAKey(self: DataGridView,keyData: Keys) -> bool Processes the A key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessCmdKey(self, *args): """ ProcessCmdKey(self: Control,msg: Message,keyData: Keys) -> (bool,Message) Processes a command key. msg: A System.Windows.Forms.Message,passed by reference,that represents the window message to process. keyData: One of the System.Windows.Forms.Keys values that represents the key to process. Returns: true if the character was processed by the control; otherwise,false. """ pass def ProcessDataGridViewKey(self, *args): """ ProcessDataGridViewKey(self: DataGridView,e: KeyEventArgs) -> bool Processes keys used for navigating in the System.Windows.Forms.DataGridView. e: Contains information about the key that was pressed. Returns: true if the key was processed; otherwise,false. """ pass def ProcessDeleteKey(self, *args): """ ProcessDeleteKey(self: DataGridView,keyData: Keys) -> bool Processes the DELETE key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessDialogChar(self, *args): """ ProcessDialogChar(self: Control,charCode: Char) -> bool Processes a dialog character. charCode: The character to process. Returns: true if the character was processed by the control; otherwise,false. """ pass def ProcessDialogKey(self, *args): """ ProcessDialogKey(self: DataGridView,keyData: Keys) -> bool Processes keys,such as the TAB,ESCAPE,ENTER,and ARROW keys,used to control dialog boxes. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessDownKey(self, *args): """ ProcessDownKey(self: DataGridView,keyData: Keys) -> bool Processes the DOWN ARROW key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessEndKey(self, *args): """ ProcessEndKey(self: DataGridView,keyData: Keys) -> bool Processes the END key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessEnterKey(self, *args): """ ProcessEnterKey(self: DataGridView,keyData: Keys) -> bool Processes the ENTER key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessEscapeKey(self, *args): """ ProcessEscapeKey(self: DataGridView,keyData: Keys) -> bool Processes the ESC key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessF2Key(self, *args): """ ProcessF2Key(self: DataGridView,keyData: Keys) -> bool Processes the F2 key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessHomeKey(self, *args): """ ProcessHomeKey(self: DataGridView,keyData: Keys) -> bool Processes the HOME key. keyData: The key that was pressed. Returns: true if the key was processed; otherwise,false. """ pass def ProcessInsertKey(self, *args): """ ProcessInsertKey(self: DataGridView,keyData: Keys) -> bool Processes the INSERT key. keyData: One of the System.Windows.Forms.Keys values that represents the key to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessKeyEventArgs(self, *args): """ ProcessKeyEventArgs(self: DataGridView,m: Message) -> (bool,Message) Processes a key message and generates the appropriate control events. m: A System.Windows.Forms.Message,passed by reference,that represents the window message to process. Returns: true if the message was processed; otherwise,false. """ pass def ProcessKeyMessage(self, *args): """ ProcessKeyMessage(self: Control,m: Message) -> (bool,Message) Processes a keyboard message. m: A System.Windows.Forms.Message,passed by reference,that represents the window message to process. Returns: true if the message was processed by the control; otherwise,false. """ pass def ProcessKeyPreview(self, *args): """ ProcessKeyPreview(self: DataGridView,m: Message) -> (bool,Message) Previews a keyboard message. m: A System.Windows.Forms.Message,passed by reference,that represents the window message to process. Returns: true if the message was processed; otherwise,false. """ pass def ProcessLeftKey(self, *args): """ ProcessLeftKey(self: DataGridView,keyData: Keys) -> bool Processes the LEFT ARROW key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessMnemonic(self, *args): """ ProcessMnemonic(self: Control,charCode: Char) -> bool Processes a mnemonic character. charCode: The character to process. Returns: true if the character was processed as a mnemonic by the control; otherwise,false. """ pass def ProcessNextKey(self, *args): """ ProcessNextKey(self: DataGridView,keyData: Keys) -> bool Processes the PAGE DOWN key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessPriorKey(self, *args): """ ProcessPriorKey(self: DataGridView,keyData: Keys) -> bool Processes the PAGE UP key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessRightKey(self, *args): """ ProcessRightKey(self: DataGridView,keyData: Keys) -> bool Processes the RIGHT ARROW key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessSpaceKey(self, *args): """ ProcessSpaceKey(self: DataGridView,keyData: Keys) -> bool Processes the SPACEBAR. keyData: One of the System.Windows.Forms.Keys values that represents the key to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessTabKey(self, *args): """ ProcessTabKey(self: DataGridView,keyData: Keys) -> bool Processes the TAB key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessUpKey(self, *args): """ ProcessUpKey(self: DataGridView,keyData: Keys) -> bool Processes the UP ARROW key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def ProcessZeroKey(self, *args): """ ProcessZeroKey(self: DataGridView,keyData: Keys) -> bool Processes the 0 key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def RaiseDragEvent(self, *args): """ RaiseDragEvent(self: Control,key: object,e: DragEventArgs) Raises the appropriate drag event. key: The event to raise. e: A System.Windows.Forms.DragEventArgs that contains the event data. """ pass def RaiseKeyEvent(self, *args): """ RaiseKeyEvent(self: Control,key: object,e: KeyEventArgs) Raises the appropriate key event. key: The event to raise. e: A System.Windows.Forms.KeyEventArgs that contains the event data. """ pass def RaiseMouseEvent(self, *args): """ RaiseMouseEvent(self: Control,key: object,e: MouseEventArgs) Raises the appropriate mouse event. key: The event to raise. e: A System.Windows.Forms.MouseEventArgs that contains the event data. """ pass def RaisePaintEvent(self, *args): """ RaisePaintEvent(self: Control,key: object,e: PaintEventArgs) Raises the appropriate paint event. key: The event to raise. e: A System.Windows.Forms.PaintEventArgs that contains the event data. """ pass def RecreateHandle(self, *args): """ RecreateHandle(self: Control) Forces the re-creation of the handle for the control. """ pass def RefreshEdit(self): """ RefreshEdit(self: DataGridView) -> bool Refreshes the value of the current cell with the underlying cell value when the cell is in edit mode,discarding any previous value. Returns: true if successful; false if a System.Windows.Forms.DataGridView.DataError event occurred. """ pass def RescaleConstantsForDpi(self, *args): """ RescaleConstantsForDpi(self: Control,deviceDpiOld: int,deviceDpiNew: int) """ pass def ResetMouseEventArgs(self, *args): """ ResetMouseEventArgs(self: Control) Resets the control to handle the System.Windows.Forms.Control.MouseLeave event. """ pass def ResetText(self): """ ResetText(self: DataGridView) Resets the System.Windows.Forms.DataGridView.Text property to its default value. """ pass def RtlTranslateAlignment(self, *args): """ RtlTranslateAlignment(self: Control,align: ContentAlignment) -> ContentAlignment Converts the specified System.Drawing.ContentAlignment to the appropriate System.Drawing.ContentAlignment to support right-to-left text. align: One of the System.Drawing.ContentAlignment values. Returns: One of the System.Drawing.ContentAlignment values. RtlTranslateAlignment(self: Control,align: LeftRightAlignment) -> LeftRightAlignment Converts the specified System.Windows.Forms.LeftRightAlignment to the appropriate System.Windows.Forms.LeftRightAlignment to support right-to-left text. align: One of the System.Windows.Forms.LeftRightAlignment values. Returns: One of the System.Windows.Forms.LeftRightAlignment values. RtlTranslateAlignment(self: Control,align: HorizontalAlignment) -> HorizontalAlignment Converts the specified System.Windows.Forms.HorizontalAlignment to the appropriate System.Windows.Forms.HorizontalAlignment to support right-to-left text. align: One of the System.Windows.Forms.HorizontalAlignment values. Returns: One of the System.Windows.Forms.HorizontalAlignment values. """ pass def RtlTranslateContent(self, *args): """ RtlTranslateContent(self: Control,align: ContentAlignment) -> ContentAlignment Converts the specified System.Drawing.ContentAlignment to the appropriate System.Drawing.ContentAlignment to support right-to-left text. align: One of the System.Drawing.ContentAlignment values. Returns: One of the System.Drawing.ContentAlignment values. """ pass def RtlTranslateHorizontal(self, *args): """ RtlTranslateHorizontal(self: Control,align: HorizontalAlignment) -> HorizontalAlignment Converts the specified System.Windows.Forms.HorizontalAlignment to the appropriate System.Windows.Forms.HorizontalAlignment to support right-to-left text. align: One of the System.Windows.Forms.HorizontalAlignment values. Returns: One of the System.Windows.Forms.HorizontalAlignment values. """ pass def RtlTranslateLeftRight(self, *args): """ RtlTranslateLeftRight(self: Control,align: LeftRightAlignment) -> LeftRightAlignment Converts the specified System.Windows.Forms.LeftRightAlignment to the appropriate System.Windows.Forms.LeftRightAlignment to support right-to-left text. align: One of the System.Windows.Forms.LeftRightAlignment values. Returns: One of the System.Windows.Forms.LeftRightAlignment values. """ pass def ScaleControl(self, *args): """ ScaleControl(self: Control,factor: SizeF,specified: BoundsSpecified) Scales a control's location,size,padding and margin. factor: The factor by which the height and width of the control will be scaled. specified: A System.Windows.Forms.BoundsSpecified value that specifies the bounds of the control to use when defining its size and position. """ pass def ScaleCore(self, *args): """ ScaleCore(self: Control,dx: Single,dy: Single) This method is not relevant for this class. dx: The horizontal scaling factor. dy: The vertical scaling factor. """ pass def Select(self): """ Select(self: Control,directed: bool,forward: bool) Activates a child control. Optionally specifies the direction in the tab order to select the control from. directed: true to specify the direction of the control to select; otherwise,false. forward: true to move forward in the tab order; false to move backward in the tab order. """ pass def SelectAll(self): """ SelectAll(self: DataGridView) Selects all the cells in the System.Windows.Forms.DataGridView. """ pass def SetAutoSizeMode(self, *args): """ SetAutoSizeMode(self: Control,mode: AutoSizeMode) Sets a value indicating how a control will behave when its System.Windows.Forms.Control.AutoSize property is enabled. mode: One of the System.Windows.Forms.AutoSizeMode values. """ pass def SetBoundsCore(self, *args): """ SetBoundsCore(self: DataGridView,x: int,y: int,width: int,height: int,specified: BoundsSpecified) This member overrides System.Windows.Forms.Control.SetBoundsCore(System.Int32,System.Int32,System.Int32,System.Int32,Sy stem.Windows.Forms.BoundsSpecified). x: The new System.Windows.Forms.Control.Left property value of the control. y: The new System.Windows.Forms.Control.Top property value of the control. width: The new System.Windows.Forms.Control.Width property value of the control. height: The new System.Windows.Forms.Control.Height property value of the control. specified: A bitwise combination of the System.Windows.Forms.BoundsSpecified values. """ pass def SetClientSizeCore(self, *args): """ SetClientSizeCore(self: Control,x: int,y: int) Sets the size of the client area of the control. x: The client area width,in pixels. y: The client area height,in pixels. """ pass def SetCurrentCellAddressCore(self, *args): """ SetCurrentCellAddressCore(self: DataGridView,columnIndex: int,rowIndex: int,setAnchorCellAddress: bool,validateCurrentCell: bool,throughMouseClick: bool) -> bool Sets the currently active cell. columnIndex: The index of the column containing the cell. rowIndex: The index of the row containing the cell. setAnchorCellAddress: true to make the new current cell the anchor cell for a subsequent multicell selection using the SHIFT key; otherwise,false. validateCurrentCell: true to validate the value in the old current cell and cancel the change if validation fails; otherwise,false. throughMouseClick: true if the current cell is being set as a result of a mouse click; otherwise,false. Returns: true if the current cell was successfully set; otherwise,false. """ pass def SetSelectedCellCore(self, *args): """ SetSelectedCellCore(self: DataGridView,columnIndex: int,rowIndex: int,selected: bool) Changes the selection state of the cell with the specified row and column indexes. columnIndex: The index of the column containing the cell. rowIndex: The index of the row containing the cell. selected: true to select the cell; false to cancel the selection of the cell. """ pass def SetSelectedColumnCore(self, *args): """ SetSelectedColumnCore(self: DataGridView,columnIndex: int,selected: bool) Changes the selection state of the column with the specified index. columnIndex: The index of the column. selected: true to select the column; false to cancel the selection of the column. """ pass def SetSelectedRowCore(self, *args): """ SetSelectedRowCore(self: DataGridView,rowIndex: int,selected: bool) Changes the selection state of the row with the specified index. rowIndex: The index of the row. selected: true to select the row; false to cancel the selection of the row. """ pass def SetStyle(self, *args): """ SetStyle(self: Control,flag: ControlStyles,value: bool) Sets a specified System.Windows.Forms.ControlStyles flag to either true or false. flag: The System.Windows.Forms.ControlStyles bit to set. value: true to apply the specified style to the control; otherwise,false. """ pass def SetTopLevel(self, *args): """ SetTopLevel(self: Control,value: bool) Sets the control as the top-level control. value: true to set the control as the top-level control; otherwise,false. """ pass def SetVisibleCore(self, *args): """ SetVisibleCore(self: Control,value: bool) Sets the control to the specified visible state. value: true to make the control visible; otherwise,false. """ pass def SizeFromClientSize(self, *args): """ SizeFromClientSize(self: Control,clientSize: Size) -> Size Determines the size of the entire control from the height and width of its client area. clientSize: A System.Drawing.Size value representing the height and width of the control's client area. Returns: A System.Drawing.Size value representing the height and width of the entire control. """ pass def Sort(self, *__args): """ Sort(self: DataGridView,comparer: IComparer) Sorts the contents of the System.Windows.Forms.DataGridView control using an implementation of the System.Collections.IComparer interface. comparer: An implementation of System.Collections.IComparer that performs the custom sorting operation. Sort(self: DataGridView,dataGridViewColumn: DataGridViewColumn,direction: ListSortDirection) Sorts the contents of the System.Windows.Forms.DataGridView control in ascending or descending order based on the contents of the specified column. dataGridViewColumn: The column by which to sort the contents of the System.Windows.Forms.DataGridView. direction: One of the System.ComponentModel.ListSortDirection values. """ pass def UpdateBounds(self, *args): """ UpdateBounds(self: Control,x: int,y: int,width: int,height: int,clientWidth: int,clientHeight: int) Updates the bounds of the control with the specified size,location,and client size. x: The System.Drawing.Point.X coordinate of the control. y: The System.Drawing.Point.Y coordinate of the control. width: The System.Drawing.Size.Width of the control. height: The System.Drawing.Size.Height of the control. clientWidth: The client System.Drawing.Size.Width of the control. clientHeight: The client System.Drawing.Size.Height of the control. UpdateBounds(self: Control,x: int,y: int,width: int,height: int) Updates the bounds of the control with the specified size and location. x: The System.Drawing.Point.X coordinate of the control. y: The System.Drawing.Point.Y coordinate of the control. width: The System.Drawing.Size.Width of the control. height: The System.Drawing.Size.Height of the control. UpdateBounds(self: Control) Updates the bounds of the control with the current size and location. """ pass def UpdateCellErrorText(self, columnIndex, rowIndex): """ UpdateCellErrorText(self: DataGridView,columnIndex: int,rowIndex: int) Forces the cell at the specified location to update its error text. columnIndex: The column index of the cell to update,or -1 to indicate a row header cell. rowIndex: The row index of the cell to update,or -1 to indicate a column header cell. """ pass def UpdateCellValue(self, columnIndex, rowIndex): """ UpdateCellValue(self: DataGridView,columnIndex: int,rowIndex: int) Forces the control to update its display of the cell at the specified location based on its new value,applying any automatic sizing modes currently in effect. columnIndex: The zero-based column index of the cell with the new value. rowIndex: The zero-based row index of the cell with the new value. """ pass def UpdateRowErrorText(self, *__args): """ UpdateRowErrorText(self: DataGridView,rowIndexStart: int,rowIndexEnd: int) Forces the rows in the given range to update their error text. rowIndexStart: The zero-based index of the first row in the set of rows to update. rowIndexEnd: The zero-based index of the last row in the set of rows to update. UpdateRowErrorText(self: DataGridView,rowIndex: int) Forces the row at the given row index to update its error text. rowIndex: The zero-based index of the row to update. """ pass def UpdateRowHeightInfo(self, rowIndex, updateToEnd): """ UpdateRowHeightInfo(self: DataGridView,rowIndex: int,updateToEnd: bool) Forces the specified row or rows to update their height information. rowIndex: The zero-based index of the first row to update. updateToEnd: true to update the specified row and all subsequent rows. """ pass def UpdateStyles(self, *args): """ UpdateStyles(self: Control) Forces the assigned styles to be reapplied to the control. """ pass def UpdateZOrder(self, *args): """ UpdateZOrder(self: Control) Updates the control in its parent's z-order. """ pass def WndProc(self, *args): """ WndProc(self: DataGridView,m: Message) -> Message Processes window messages. m: A System.Windows.Forms.Message,passed by reference,that represents the window message to process. """ pass def __enter__(self, *args): """ __enter__(self: IDisposable) -> object Provides the implementation of __enter__ for objects which implement IDisposable. """ pass def __exit__(self, *args): """ __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) Provides the implementation of __exit__ for objects which implement IDisposable. """ pass def __getitem__(self, *args): """ x.__getitem__(y) <==> x[y]x.__getitem__(y) <==> x[y] """ pass def __init__(self, *args): """ x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """ pass def __setitem__(self, *args): """ x.__setitem__(i,y) <==> x[i]=x.__setitem__(i,y) <==> x[i]= """ pass def __str__(self, *args): pass AdjustedTopLeftHeaderBorderStyle = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the border style for the upper-left cell in the System.Windows.Forms.DataGridView. Get: AdjustedTopLeftHeaderBorderStyle(self: DataGridView) -> DataGridViewAdvancedBorderStyle """ AdvancedCellBorderStyle = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the border style of the cells in the System.Windows.Forms.DataGridView. Get: AdvancedCellBorderStyle(self: DataGridView) -> DataGridViewAdvancedBorderStyle """ AdvancedColumnHeadersBorderStyle = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the border style of the column header cells in the System.Windows.Forms.DataGridView. Get: AdvancedColumnHeadersBorderStyle(self: DataGridView) -> DataGridViewAdvancedBorderStyle """ AdvancedRowHeadersBorderStyle = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the border style of the row header cells in the System.Windows.Forms.DataGridView. Get: AdvancedRowHeadersBorderStyle(self: DataGridView) -> DataGridViewAdvancedBorderStyle """ AllowUserToAddRows = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether the option to add rows is displayed to the user. Get: AllowUserToAddRows(self: DataGridView) -> bool Set: AllowUserToAddRows(self: DataGridView)=value """ AllowUserToDeleteRows = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether the user is allowed to delete rows from the System.Windows.Forms.DataGridView. Get: AllowUserToDeleteRows(self: DataGridView) -> bool Set: AllowUserToDeleteRows(self: DataGridView)=value """ AllowUserToOrderColumns = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether manual column repositioning is enabled. Get: AllowUserToOrderColumns(self: DataGridView) -> bool Set: AllowUserToOrderColumns(self: DataGridView)=value """ AllowUserToResizeColumns = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether users can resize columns. Get: AllowUserToResizeColumns(self: DataGridView) -> bool Set: AllowUserToResizeColumns(self: DataGridView)=value """ AllowUserToResizeRows = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether users can resize rows. Get: AllowUserToResizeRows(self: DataGridView) -> bool Set: AllowUserToResizeRows(self: DataGridView)=value """ AlternatingRowsDefaultCellStyle = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the default cell style applied to odd-numbered rows of the System.Windows.Forms.DataGridView. Get: AlternatingRowsDefaultCellStyle(self: DataGridView) -> DataGridViewCellStyle Set: AlternatingRowsDefaultCellStyle(self: DataGridView)=value """ AutoGenerateColumns = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether columns are created automatically when the System.Windows.Forms.DataGridView.DataSource or System.Windows.Forms.DataGridView.DataMember properties are set. Get: AutoGenerateColumns(self: DataGridView) -> bool Set: AutoGenerateColumns(self: DataGridView)=value """ AutoSize = property(lambda self: object(), lambda self, v: None, lambda self: None) """Get: AutoSize(self: DataGridView) -> bool Set: AutoSize(self: DataGridView)=value """ AutoSizeColumnsMode = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating how column widths are determined. Get: AutoSizeColumnsMode(self: DataGridView) -> DataGridViewAutoSizeColumnsMode Set: AutoSizeColumnsMode(self: DataGridView)=value """ AutoSizeRowsMode = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating how row heights are determined. Get: AutoSizeRowsMode(self: DataGridView) -> DataGridViewAutoSizeRowsMode Set: AutoSizeRowsMode(self: DataGridView)=value """ BackColor = property(lambda self: object(), lambda self, v: None, lambda self: None) """Gets or sets the background color for the control. Get: BackColor(self: DataGridView) -> Color Set: BackColor(self: DataGridView)=value """ BackgroundColor = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the background color of the System.Windows.Forms.DataGridView. Get: BackgroundColor(self: DataGridView) -> Color Set: BackgroundColor(self: DataGridView)=value """ BackgroundImage = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the background image displayed in the control. Get: BackgroundImage(self: DataGridView) -> Image Set: BackgroundImage(self: DataGridView)=value """ BackgroundImageLayout = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the background image layout as defined in the System.Windows.Forms.ImageLayout enumeration. Get: BackgroundImageLayout(self: DataGridView) -> ImageLayout Set: BackgroundImageLayout(self: DataGridView)=value """ BorderStyle = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the border style for the System.Windows.Forms.DataGridView. Get: BorderStyle(self: DataGridView) -> BorderStyle Set: BorderStyle(self: DataGridView)=value """ CanEnableIme = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets a value indicating whether the System.Windows.Forms.Control.ImeMode property can be set to an active value,to enable IME support. """ CanRaiseEvents = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Determines if events can be raised on the control. """ CellBorderStyle = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the cell border style for the System.Windows.Forms.DataGridView. Get: CellBorderStyle(self: DataGridView) -> DataGridViewCellBorderStyle Set: CellBorderStyle(self: DataGridView)=value """ ClipboardCopyMode = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value that indicates whether users can copy cell text values to the System.Windows.Forms.Clipboard and whether row and column header text is included. Get: ClipboardCopyMode(self: DataGridView) -> DataGridViewClipboardCopyMode Set: ClipboardCopyMode(self: DataGridView)=value """ ColumnCount = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the number of columns displayed in the System.Windows.Forms.DataGridView. Get: ColumnCount(self: DataGridView) -> int Set: ColumnCount(self: DataGridView)=value """ ColumnHeadersBorderStyle = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the border style applied to the column headers. Get: ColumnHeadersBorderStyle(self: DataGridView) -> DataGridViewHeaderBorderStyle Set: ColumnHeadersBorderStyle(self: DataGridView)=value """ ColumnHeadersDefaultCellStyle = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the default column header style. Get: ColumnHeadersDefaultCellStyle(self: DataGridView) -> DataGridViewCellStyle Set: ColumnHeadersDefaultCellStyle(self: DataGridView)=value """ ColumnHeadersHeight = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the height,in pixels,of the column headers row Get: ColumnHeadersHeight(self: DataGridView) -> int Set: ColumnHeadersHeight(self: DataGridView)=value """ ColumnHeadersHeightSizeMode = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether the height of the column headers is adjustable and whether it can be adjusted by the user or is automatically adjusted to fit the contents of the headers. Get: ColumnHeadersHeightSizeMode(self: DataGridView) -> DataGridViewColumnHeadersHeightSizeMode Set: ColumnHeadersHeightSizeMode(self: DataGridView)=value """ ColumnHeadersVisible = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether the column header row is displayed. Get: ColumnHeadersVisible(self: DataGridView) -> bool Set: ColumnHeadersVisible(self: DataGridView)=value """ Columns = property(lambda self: object(), lambda self, v: None, lambda self: None) """Gets a collection that contains all the columns in the control. Get: Columns(self: DataGridView) -> DataGridViewColumnCollection """ CreateParams = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the required creation parameters when the control handle is created. """ CurrentCell = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the currently active cell. Get: CurrentCell(self: DataGridView) -> DataGridViewCell Set: CurrentCell(self: DataGridView)=value """ CurrentCellAddress = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the row and column indexes of the currently active cell. Get: CurrentCellAddress(self: DataGridView) -> Point """ CurrentRow = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the row containing the current cell. Get: CurrentRow(self: DataGridView) -> DataGridViewRow """ DataMember = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the name of the list or table in the data source for which the System.Windows.Forms.DataGridView is displaying data. Get: DataMember(self: DataGridView) -> str Set: DataMember(self: DataGridView)=value """ DataSource = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the data source that the System.Windows.Forms.DataGridView is displaying data for. Get: DataSource(self: DataGridView) -> object Set: DataSource(self: DataGridView)=value """ DefaultCellStyle = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the default cell style to be applied to the cells in the System.Windows.Forms.DataGridView if no other cell style properties are set. Get: DefaultCellStyle(self: DataGridView) -> DataGridViewCellStyle Set: DefaultCellStyle(self: DataGridView)=value """ DefaultCursor = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the default cursor for the control. """ DefaultImeMode = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the default Input Method Editor (IME) mode supported by the control. """ DefaultMargin = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the space,in pixels,that is specified by default between controls. """ DefaultMaximumSize = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the length and height,in pixels,that is specified as the default maximum size of a control. """ DefaultMinimumSize = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the length and height,in pixels,that is specified as the default minimum size of a control. """ DefaultPadding = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the internal spacing,in pixels,of the contents of a control. """ DefaultSize = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the default initial size of the control. """ DesignMode = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets a value that indicates whether the System.ComponentModel.Component is currently in design mode. """ DisplayRectangle = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the rectangle that represents the display area of the control. Get: DisplayRectangle(self: DataGridView) -> Rectangle """ DoubleBuffered = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker. """ EditingControl = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the control hosted by the current cell,if a cell with an editing control is in edit mode. Get: EditingControl(self: DataGridView) -> Control """ EditingPanel = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the panel that contains the System.Windows.Forms.DataGridView.EditingControl. Get: EditingPanel(self: DataGridView) -> Panel """ EditMode = property(lambda self: object(), lambda self, v: None, lambda self: None) """Gets or sets a value indicating how to begin editing a cell. Get: EditMode(self: DataGridView) -> DataGridViewEditMode Set: EditMode(self: DataGridView)=value """ EnableHeadersVisualStyles = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether row and column headers use the visual styles of the user's current theme if visual styles are enabled for the application. Get: EnableHeadersVisualStyles(self: DataGridView) -> bool Set: EnableHeadersVisualStyles(self: DataGridView)=value """ Events = property(lambda self: object(), lambda self, v: None, lambda self: None) """Gets the list of event handlers that are attached to this System.ComponentModel.Component. """ FirstDisplayedCell = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the first cell currently displayed in the System.Windows.Forms.DataGridView; typically,this cell is in the upper left corner. Get: FirstDisplayedCell(self: DataGridView) -> DataGridViewCell Set: FirstDisplayedCell(self: DataGridView)=value """ FirstDisplayedScrollingColumnHiddenWidth = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the width of the portion of the column that is currently scrolled out of view.. Get: FirstDisplayedScrollingColumnHiddenWidth(self: DataGridView) -> int """ FirstDisplayedScrollingColumnIndex = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the index of the column that is the first column displayed on the System.Windows.Forms.DataGridView. Get: FirstDisplayedScrollingColumnIndex(self: DataGridView) -> int Set: FirstDisplayedScrollingColumnIndex(self: DataGridView)=value """ FirstDisplayedScrollingRowIndex = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the index of the row that is the first row displayed on the System.Windows.Forms.DataGridView. Get: FirstDisplayedScrollingRowIndex(self: DataGridView) -> int Set: FirstDisplayedScrollingRowIndex(self: DataGridView)=value """ Font = property(lambda self: object(), lambda self, v: None, lambda self: None) """Gets or sets the font of the text displayed by the System.Windows.Forms.DataGridView. Get: Font(self: DataGridView) -> Font Set: Font(self: DataGridView)=value """ FontHeight = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the height of the font of the control. """ ForeColor = property(lambda self: object(), lambda self, v: None, lambda self: None) """Gets or sets the foreground color of the System.Windows.Forms.DataGridView. Get: ForeColor(self: DataGridView) -> Color Set: ForeColor(self: DataGridView)=value """ GridColor = property(lambda self: object(), lambda self, v: None, lambda self: None) """Gets or sets the color of the grid lines separating the cells of the System.Windows.Forms.DataGridView. Get: GridColor(self: DataGridView) -> Color Set: GridColor(self: DataGridView)=value """ HorizontalScrollBar = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the horizontal scroll bar of the control. """ HorizontalScrollingOffset = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the number of pixels by which the control is scrolled horizontally. Get: HorizontalScrollingOffset(self: DataGridView) -> int Set: HorizontalScrollingOffset(self: DataGridView)=value """ ImeModeBase = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the IME mode of a control. """ IsCurrentCellDirty = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets a value indicating whether the current cell has uncommitted changes. Get: IsCurrentCellDirty(self: DataGridView) -> bool """ IsCurrentCellInEditMode = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets a value indicating whether the currently active cell is being edited. Get: IsCurrentCellInEditMode(self: DataGridView) -> bool """ IsCurrentRowDirty = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets a value indicating whether the current row has uncommitted changes. Get: IsCurrentRowDirty(self: DataGridView) -> bool """ MultiSelect = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether the user is allowed to select more than one cell,row,or column of the System.Windows.Forms.DataGridView at a time. Get: MultiSelect(self: DataGridView) -> bool Set: MultiSelect(self: DataGridView)=value """ NewRowIndex = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the index of the row for new records. Get: NewRowIndex(self: DataGridView) -> int """ Padding = property(lambda self: object(), lambda self, v: None, lambda self: None) """This property is not relevant for this control. Get: Padding(self: DataGridView) -> Padding Set: Padding(self: DataGridView)=value """ ReadOnly = property(lambda self: object(), lambda self, v: None, lambda self: None) """Gets or sets a value indicating whether the user can edit the cells of the System.Windows.Forms.DataGridView control. Get: ReadOnly(self: DataGridView) -> bool Set: ReadOnly(self: DataGridView)=value """ RenderRightToLeft = property( lambda self: object(), lambda self, v: None, lambda self: None ) """This property is now obsolete. """ ResizeRedraw = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether the control redraws itself when resized. """ RowCount = property(lambda self: object(), lambda self, v: None, lambda self: None) """Gets or sets the number of rows displayed in the System.Windows.Forms.DataGridView. Get: RowCount(self: DataGridView) -> int Set: RowCount(self: DataGridView)=value """ RowHeadersBorderStyle = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the border style of the row header cells. Get: RowHeadersBorderStyle(self: DataGridView) -> DataGridViewHeaderBorderStyle Set: RowHeadersBorderStyle(self: DataGridView)=value """ RowHeadersDefaultCellStyle = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the default style applied to the row header cells. Get: RowHeadersDefaultCellStyle(self: DataGridView) -> DataGridViewCellStyle Set: RowHeadersDefaultCellStyle(self: DataGridView)=value """ RowHeadersVisible = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether the column that contains row headers is displayed. Get: RowHeadersVisible(self: DataGridView) -> bool Set: RowHeadersVisible(self: DataGridView)=value """ RowHeadersWidth = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the width,in pixels,of the column that contains the row headers. Get: RowHeadersWidth(self: DataGridView) -> int Set: RowHeadersWidth(self: DataGridView)=value """ RowHeadersWidthSizeMode = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether the width of the row headers is adjustable and whether it can be adjusted by the user or is automatically adjusted to fit the contents of the headers. Get: RowHeadersWidthSizeMode(self: DataGridView) -> DataGridViewRowHeadersWidthSizeMode Set: RowHeadersWidthSizeMode(self: DataGridView)=value """ Rows = property(lambda self: object(), lambda self, v: None, lambda self: None) """Gets a collection that contains all the rows in the System.Windows.Forms.DataGridView control. Get: Rows(self: DataGridView) -> DataGridViewRowCollection """ RowsDefaultCellStyle = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the default style applied to the row cells of the System.Windows.Forms.DataGridView. Get: RowsDefaultCellStyle(self: DataGridView) -> DataGridViewCellStyle Set: RowsDefaultCellStyle(self: DataGridView)=value """ RowTemplate = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the row that represents the template for all the rows in the control. Get: RowTemplate(self: DataGridView) -> DataGridViewRow Set: RowTemplate(self: DataGridView)=value """ ScaleChildren = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets a value that determines the scaling of child controls. """ ScrollBars = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the type of scroll bars to display for the System.Windows.Forms.DataGridView control. Get: ScrollBars(self: DataGridView) -> ScrollBars Set: ScrollBars(self: DataGridView)=value """ SelectedCells = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the collection of cells selected by the user. Get: SelectedCells(self: DataGridView) -> DataGridViewSelectedCellCollection """ SelectedColumns = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the collection of columns selected by the user. Get: SelectedColumns(self: DataGridView) -> DataGridViewSelectedColumnCollection """ SelectedRows = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the collection of rows selected by the user. Get: SelectedRows(self: DataGridView) -> DataGridViewSelectedRowCollection """ SelectionMode = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating how the cells of the System.Windows.Forms.DataGridView can be selected. Get: SelectionMode(self: DataGridView) -> DataGridViewSelectionMode Set: SelectionMode(self: DataGridView)=value """ ShowCellErrors = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether to show cell errors. Get: ShowCellErrors(self: DataGridView) -> bool Set: ShowCellErrors(self: DataGridView)=value """ ShowCellToolTips = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether or not ToolTips will show when the mouse pointer pauses on a cell. Get: ShowCellToolTips(self: DataGridView) -> bool Set: ShowCellToolTips(self: DataGridView)=value """ ShowEditingIcon = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether or not the editing glyph is visible in the row header of the cell being edited. Get: ShowEditingIcon(self: DataGridView) -> bool Set: ShowEditingIcon(self: DataGridView)=value """ ShowFocusCues = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets a value indicating whether the control should display focus rectangles. """ ShowKeyboardCues = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators. """ ShowRowErrors = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether row headers will display error glyphs for each row that contains a data entry error. Get: ShowRowErrors(self: DataGridView) -> bool Set: ShowRowErrors(self: DataGridView)=value """ SortedColumn = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the column by which the System.Windows.Forms.DataGridView contents are currently sorted. Get: SortedColumn(self: DataGridView) -> DataGridViewColumn """ SortOrder = property(lambda self: object(), lambda self, v: None, lambda self: None) """Gets a value indicating whether the items in the System.Windows.Forms.DataGridView control are sorted in ascending or descending order,or are not sorted. Get: SortOrder(self: DataGridView) -> SortOrder """ StandardTab = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether the TAB key moves the focus to the next control in the tab order rather than moving focus to the next cell in the control. Get: StandardTab(self: DataGridView) -> bool Set: StandardTab(self: DataGridView)=value """ Text = property(lambda self: object(), lambda self, v: None, lambda self: None) """Gets or sets the text associated with the control. Get: Text(self: DataGridView) -> str Set: Text(self: DataGridView)=value """ TopLeftHeaderCell = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets the header cell located in the upper left corner of the System.Windows.Forms.DataGridView control. Get: TopLeftHeaderCell(self: DataGridView) -> DataGridViewHeaderCell Set: TopLeftHeaderCell(self: DataGridView)=value """ UserSetCursor = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the default or user-specified value of the System.Windows.Forms.Control.Cursor property. Get: UserSetCursor(self: DataGridView) -> Cursor """ VerticalScrollBar = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the vertical scroll bar of the control. """ VerticalScrollingOffset = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets the number of pixels by which the control is scrolled vertically. Get: VerticalScrollingOffset(self: DataGridView) -> int """ VirtualMode = property( lambda self: object(), lambda self, v: None, lambda self: None ) """Gets or sets a value indicating whether you have provided your own data-management operations for the System.Windows.Forms.DataGridView control. Get: VirtualMode(self: DataGridView) -> bool Set: VirtualMode(self: DataGridView)=value """ AllowUserToAddRowsChanged = None AllowUserToDeleteRowsChanged = None AllowUserToOrderColumnsChanged = None AllowUserToResizeColumnsChanged = None AllowUserToResizeRowsChanged = None AlternatingRowsDefaultCellStyleChanged = None AutoGenerateColumnsChanged = None AutoSizeColumnModeChanged = None AutoSizeColumnsModeChanged = None AutoSizeRowsModeChanged = None BackColorChanged = None BackgroundColorChanged = None BackgroundImageChanged = None BackgroundImageLayoutChanged = None BorderStyleChanged = None CancelRowEdit = None CellBeginEdit = None CellBorderStyleChanged = None CellClick = None CellContentClick = None CellContentDoubleClick = None CellContextMenuStripChanged = None CellContextMenuStripNeeded = None CellDoubleClick = None CellEndEdit = None CellEnter = None CellErrorTextChanged = None CellErrorTextNeeded = None CellFormatting = None CellLeave = None CellMouseClick = None CellMouseDoubleClick = None CellMouseDown = None CellMouseEnter = None CellMouseLeave = None CellMouseMove = None CellMouseUp = None CellPainting = None CellParsing = None CellStateChanged = None CellStyleChanged = None CellStyleContentChanged = None CellToolTipTextChanged = None CellToolTipTextNeeded = None CellValidated = None CellValidating = None CellValueChanged = None CellValueNeeded = None CellValuePushed = None ColumnAdded = None ColumnContextMenuStripChanged = None ColumnDataPropertyNameChanged = None ColumnDefaultCellStyleChanged = None ColumnDisplayIndexChanged = None ColumnDividerDoubleClick = None ColumnDividerWidthChanged = None ColumnHeaderCellChanged = None ColumnHeaderMouseClick = None ColumnHeaderMouseDoubleClick = None ColumnHeadersBorderStyleChanged = None ColumnHeadersDefaultCellStyleChanged = None ColumnHeadersHeightChanged = None ColumnHeadersHeightSizeModeChanged = None ColumnMinimumWidthChanged = None ColumnNameChanged = None ColumnRemoved = None ColumnSortModeChanged = None ColumnStateChanged = None ColumnToolTipTextChanged = None ColumnWidthChanged = None CurrentCellChanged = None CurrentCellDirtyStateChanged = None DataBindingComplete = None DataError = None DataGridViewAccessibleObject = None DataGridViewControlCollection = None DataGridViewTopRowAccessibleObject = None DataMemberChanged = None DataSourceChanged = None DefaultCellStyleChanged = None DefaultValuesNeeded = None EditingControlShowing = None EditModeChanged = None FontChanged = None ForeColorChanged = None GridColorChanged = None HitTestInfo = None MultiSelectChanged = None NewRowNeeded = None PaddingChanged = None ReadOnlyChanged = None RowContextMenuStripChanged = None RowContextMenuStripNeeded = None RowDefaultCellStyleChanged = None RowDirtyStateNeeded = None RowDividerDoubleClick = None RowDividerHeightChanged = None RowEnter = None RowErrorTextChanged = None RowErrorTextNeeded = None RowHeaderCellChanged = None RowHeaderMouseClick = None RowHeaderMouseDoubleClick = None RowHeadersBorderStyleChanged = None RowHeadersDefaultCellStyleChanged = None RowHeadersWidthChanged = None RowHeadersWidthSizeModeChanged = None RowHeightChanged = None RowHeightInfoNeeded = None RowHeightInfoPushed = None RowLeave = None RowMinimumHeightChanged = None RowPostPaint = None RowPrePaint = None RowsAdded = None RowsDefaultCellStyleChanged = None RowsRemoved = None RowStateChanged = None RowUnshared = None RowValidated = None RowValidating = None Scroll = None SelectionChanged = None SortCompare = None Sorted = None StyleChanged = None TextChanged = None UserAddedRow = None UserDeletedRow = None UserDeletingRow = None
class Datagridview(Control, IComponent, IDisposable, IOleControl, IOleObject, IOleInPlaceObject, IOleInPlaceActiveObject, IOleWindow, IViewObject, IViewObject2, IPersist, IPersistStreamInit, IPersistPropertyBag, IPersistStorage, IQuickActivate, ISupportOleDropSource, IDropTarget, ISynchronizeInvoke, IWin32Window, IArrangedElement, IBindableComponent, ISupportInitialize): """ Displays data in a customizable grid. DataGridView() """ def accessibility_notify_clients(self, *args): """ AccessibilityNotifyClients(self: Control,accEvent: AccessibleEvents,objectID: int,childID: int) Notifies the accessibility client applications of the specified System.Windows.Forms.AccessibleEvents for the specified child control . accEvent: The System.Windows.Forms.AccessibleEvents to notify the accessibility client applications of. objectID: The identifier of the System.Windows.Forms.AccessibleObject. childID: The child System.Windows.Forms.Control to notify of the accessible event. AccessibilityNotifyClients(self: Control,accEvent: AccessibleEvents,childID: int) Notifies the accessibility client applications of the specified System.Windows.Forms.AccessibleEvents for the specified child control. accEvent: The System.Windows.Forms.AccessibleEvents to notify the accessibility client applications of. childID: The child System.Windows.Forms.Control to notify of the accessible event. """ pass def accessibility_notify_current_cell_changed(self, *args): """ AccessibilityNotifyCurrentCellChanged(self: DataGridView,cellAddress: Point) Notifies the accessible client applications when a new cell becomes the current cell. cellAddress: A System.Drawing.Point indicating the row and column indexes of the new current cell. """ pass def adjust_column_header_border_style(self, dataGridViewAdvancedBorderStyleInput, dataGridViewAdvancedBorderStylePlaceholder, isFirstDisplayedColumn, isLastVisibleColumn): """ AdjustColumnHeaderBorderStyle(self: DataGridView,dataGridViewAdvancedBorderStyleInput: DataGridViewAdvancedBorderStyle,dataGridViewAdvancedBorderStylePlaceholder: DataGridViewAdvancedBorderStyle,isFirstDisplayedColumn: bool,isLastVisibleColumn: bool) -> DataGridViewAdvancedBorderStyle Adjusts the System.Windows.Forms.DataGridViewAdvancedBorderStyle for a column header cell of a System.Windows.Forms.DataGridView that is currently being painted. dataGridViewAdvancedBorderStyleInput: A System.Windows.Forms.DataGridViewAdvancedBorderStyle that that represents the column header border style to modify. dataGridViewAdvancedBorderStylePlaceholder: A System.Windows.Forms.DataGridViewAdvancedBorderStyle that is used to store intermediate changes to the column header border style. isFirstDisplayedColumn: true to indicate that the System.Windows.Forms.DataGridViewCell that is currently being painted is in the first column displayed on the System.Windows.Forms.DataGridView; otherwise,false. isLastVisibleColumn: true to indicate that the System.Windows.Forms.DataGridViewCell that is currently being painted is in the last column in the System.Windows.Forms.DataGridView that has the System.Windows.Forms.DataGridViewColumn.Visible property set to true; otherwise,false. Returns: A System.Windows.Forms.DataGridViewAdvancedBorderStyle that represents the border style for the current column header. """ pass def are_all_cells_selected(self, includeInvisibleCells): """ AreAllCellsSelected(self: DataGridView,includeInvisibleCells: bool) -> bool Returns a value indicating whether all the System.Windows.Forms.DataGridView cells are currently selected. includeInvisibleCells: true to include the rows and columns with System.Windows.Forms.DataGridViewBand.Visible property values of false; otherwise,false. Returns: true if all cells (or all visible cells) are selected or if there are no cells (or no visible cells); otherwise,false. """ pass def auto_resize_column(self, columnIndex, autoSizeColumnMode=None): """ AutoResizeColumn(self: DataGridView,columnIndex: int,autoSizeColumnMode: DataGridViewAutoSizeColumnMode) Adjusts the width of the specified column using the specified size mode. columnIndex: The index of the column to resize. autoSizeColumnMode: One of the System.Windows.Forms.DataGridViewAutoSizeColumnMode values. AutoResizeColumn(self: DataGridView,columnIndex: int) Adjusts the width of the specified column to fit the contents of all its cells,including the header cell. columnIndex: The index of the column to resize. """ pass def auto_resize_column_headers_height(self, columnIndex=None): """ AutoResizeColumnHeadersHeight(self: DataGridView,columnIndex: int) Adjusts the height of the column headers based on changes to the contents of the header in the specified column. columnIndex: The index of the column containing the header with the changed content. AutoResizeColumnHeadersHeight(self: DataGridView) Adjusts the height of the column headers to fit the contents of the largest column header. """ pass def auto_resize_columns(self, autoSizeColumnsMode=None): """ AutoResizeColumns(self: DataGridView,autoSizeColumnsMode: DataGridViewAutoSizeColumnsMode) Adjusts the width of all columns using the specified size mode. autoSizeColumnsMode: One of the System.Windows.Forms.DataGridViewAutoSizeColumnsMode values. AutoResizeColumns(self: DataGridView) Adjusts the width of all columns to fit the contents of all their cells,including the header cells. """ pass def auto_resize_row(self, rowIndex, autoSizeRowMode=None): """ AutoResizeRow(self: DataGridView,rowIndex: int,autoSizeRowMode: DataGridViewAutoSizeRowMode) Adjusts the height of the specified row using the specified size mode. rowIndex: The index of the row to resize. autoSizeRowMode: One of the System.Windows.Forms.DataGridViewAutoSizeRowMode values. AutoResizeRow(self: DataGridView,rowIndex: int) Adjusts the height of the specified row to fit the contents of all its cells including the header cell. rowIndex: The index of the row to resize. """ pass def auto_resize_row_headers_width(self, *__args): """ AutoResizeRowHeadersWidth(self: DataGridView,rowIndex: int,rowHeadersWidthSizeMode: DataGridViewRowHeadersWidthSizeMode) Adjusts the width of the row headers based on changes to the contents of the header in the specified row and using the specified size mode. rowIndex: The index of the row header with the changed content. rowHeadersWidthSizeMode: One of the System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode values. AutoResizeRowHeadersWidth(self: DataGridView,rowHeadersWidthSizeMode: DataGridViewRowHeadersWidthSizeMode) Adjusts the width of the row headers using the specified size mode. rowHeadersWidthSizeMode: One of the System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode values. """ pass def auto_resize_rows(self, autoSizeRowsMode=None): """ AutoResizeRows(self: DataGridView,autoSizeRowsMode: DataGridViewAutoSizeRowsMode) Adjusts the heights of the rows using the specified size mode value. autoSizeRowsMode: One of the System.Windows.Forms.DataGridViewAutoSizeRowsMode values. AutoResizeRows(self: DataGridView) Adjusts the heights of all rows to fit the contents of all their cells,including the header cells. """ pass def begin_edit(self, selectAll): """ BeginEdit(self: DataGridView,selectAll: bool) -> bool Puts the current cell in edit mode. selectAll: true to select all the cell's contents; false to not select any contents. Returns: true if the current cell is already in edit mode or successfully enters edit mode; otherwise, false. """ pass def cancel_edit(self): """ CancelEdit(self: DataGridView) -> bool Cancels edit mode for the currently selected cell and discards any changes. Returns: true if the cancel was successful; otherwise,false. """ pass def clear_selection(self): """ ClearSelection(self: DataGridView) Clears the current selection by unselecting all selected cells. """ pass def commit_edit(self, context): """ CommitEdit(self: DataGridView,context: DataGridViewDataErrorContexts) -> bool Commits changes in the current cell to the data cache without ending edit mode. context: A bitwise combination of System.Windows.Forms.DataGridViewDataErrorContexts values that specifies the context in which an error can occur. Returns: true if the changes were committed; otherwise false. """ pass def create_accessibility_instance(self, *args): """ CreateAccessibilityInstance(self: DataGridView) -> AccessibleObject Creates a new accessible object for the System.Windows.Forms.DataGridView. Returns: A new System.Windows.Forms.DataGridView.DataGridViewAccessibleObject for the System.Windows.Forms.DataGridView. """ pass def create_columns_instance(self, *args): """ CreateColumnsInstance(self: DataGridView) -> DataGridViewColumnCollection Creates and returns a new System.Windows.Forms.DataGridViewColumnCollection. Returns: An empty System.Windows.Forms.DataGridViewColumnCollection. """ pass def create_controls_instance(self, *args): """ CreateControlsInstance(self: DataGridView) -> ControlCollection Creates and returns a new System.Windows.Forms.Control.ControlCollection that can be cast to type System.Windows.Forms.DataGridView.DataGridViewControlCollection. Returns: An empty System.Windows.Forms.Control.ControlCollection. """ pass def create_handle(self, *args): """ CreateHandle(self: Control) Creates a handle for the control. """ pass def create_rows_instance(self, *args): """ CreateRowsInstance(self: DataGridView) -> DataGridViewRowCollection Creates and returns a new System.Windows.Forms.DataGridViewRowCollection. Returns: An empty System.Windows.Forms.DataGridViewRowCollection. """ pass def def_wnd_proc(self, *args): """ DefWndProc(self: Control,m: Message) -> Message Sends the specified message to the default window procedure. m: The Windows System.Windows.Forms.Message to process. """ pass def destroy_handle(self, *args): """ DestroyHandle(self: Control) Destroys the handle associated with the control. """ pass def displayed_column_count(self, includePartialColumns): """ DisplayedColumnCount(self: DataGridView,includePartialColumns: bool) -> int Returns the number of columns displayed to the user. includePartialColumns: true to include partial columns in the displayed column count; otherwise,false. Returns: The number of columns displayed to the user. """ pass def displayed_row_count(self, includePartialRow): """ DisplayedRowCount(self: DataGridView,includePartialRow: bool) -> int Returns the number of rows displayed to the user. includePartialRow: true to include partial rows in the displayed row count; otherwise,false. Returns: The number of rows displayed to the user. """ pass def dispose(self): """ Dispose(self: DataGridView,disposing: bool) disposing: true to release both managed and unmanaged resources; false to release only unmanaged resources. """ pass def end_edit(self, context=None): """ EndEdit(self: DataGridView,context: DataGridViewDataErrorContexts) -> bool Commits and ends the edit operation on the current cell using the specified error context. context: A bitwise combination of System.Windows.Forms.DataGridViewDataErrorContexts values that specifies the context in which an error can occur. Returns: true if the edit operation is committed and ended; otherwise,false. EndEdit(self: DataGridView) -> bool Commits and ends the edit operation on the current cell using the default error context. Returns: true if the edit operation is committed and ended; otherwise,false. """ pass def get_accessibility_object_by_id(self, *args): """ GetAccessibilityObjectById(self: DataGridView,objectId: int) -> AccessibleObject objectId: An Int32 that identifies the System.Windows.Forms.AccessibleObject to retrieve. Returns: An System.Windows.Forms.AccessibleObject. """ pass def get_auto_size_mode(self, *args): """ GetAutoSizeMode(self: Control) -> AutoSizeMode Retrieves a value indicating how a control will behave when its System.Windows.Forms.Control.AutoSize property is enabled. Returns: One of the System.Windows.Forms.AutoSizeMode values. """ pass def get_cell_count(self, includeFilter): """ GetCellCount(self: DataGridView,includeFilter: DataGridViewElementStates) -> int Gets the number of cells that satisfy the provided filter. includeFilter: A bitwise combination of the System.Windows.Forms.DataGridViewElementStates values specifying the cells to count. Returns: The number of cells that match the includeFilter parameter. """ pass def get_cell_display_rectangle(self, columnIndex, rowIndex, cutOverflow): """ GetCellDisplayRectangle(self: DataGridView,columnIndex: int,rowIndex: int,cutOverflow: bool) -> Rectangle Returns the rectangle that represents the display area for a cell. columnIndex: The column index for the desired cell. rowIndex: The row index for the desired cell. cutOverflow: true to return the displayed portion of the cell only; false to return the entire cell bounds. Returns: The System.Drawing.Rectangle that represents the display rectangle of the cell. """ pass def get_clipboard_content(self): """ GetClipboardContent(self: DataGridView) -> DataObject Retrieves the formatted values that represent the contents of the selected cells for copying to the System.Windows.Forms.Clipboard. Returns: A System.Windows.Forms.DataObject that represents the contents of the selected cells. """ pass def get_column_display_rectangle(self, columnIndex, cutOverflow): """ GetColumnDisplayRectangle(self: DataGridView,columnIndex: int,cutOverflow: bool) -> Rectangle Returns the rectangle that represents the display area for a column,as determined by the column index. columnIndex: The column index for the desired cell. cutOverflow: true to return the column rectangle visible in the System.Windows.Forms.DataGridView bounds; false to return the entire column rectangle. Returns: The System.Drawing.Rectangle that represents the display rectangle of the column. """ pass def get_row_display_rectangle(self, rowIndex, cutOverflow): """ GetRowDisplayRectangle(self: DataGridView,rowIndex: int,cutOverflow: bool) -> Rectangle Returns the rectangle that represents the display area for a row,as determined by the row index. rowIndex: The row index for the desired cell. cutOverflow: true to return the row rectangle visible in the System.Windows.Forms.DataGridView bounds; false to return the entire row rectangle. Returns: The System.Drawing.Rectangle that represents the display rectangle of the row. """ pass def get_scaled_bounds(self, *args): """ GetScaledBounds(self: Control,bounds: Rectangle,factor: SizeF,specified: BoundsSpecified) -> Rectangle Retrieves the bounds within which the control is scaled. bounds: A System.Drawing.Rectangle that specifies the area for which to retrieve the display bounds. factor: The height and width of the control's bounds. specified: One of the values of System.Windows.Forms.BoundsSpecified that specifies the bounds of the control to use when defining its size and position. Returns: A System.Drawing.Rectangle representing the bounds within which the control is scaled. """ pass def get_service(self, *args): """ GetService(self: Component,service: Type) -> object Returns an object that represents a service provided by the System.ComponentModel.Component or by its System.ComponentModel.Container. service: A service provided by the System.ComponentModel.Component. Returns: An System.Object that represents a service provided by the System.ComponentModel.Component,or null if the System.ComponentModel.Component does not provide the specified service. """ pass def get_style(self, *args): """ GetStyle(self: Control,flag: ControlStyles) -> bool Retrieves the value of the specified control style bit for the control. flag: The System.Windows.Forms.ControlStyles bit to return the value from. Returns: true if the specified control style bit is set to true; otherwise,false. """ pass def get_top_level(self, *args): """ GetTopLevel(self: Control) -> bool Determines if the control is a top-level control. Returns: true if the control is a top-level control; otherwise,false. """ pass def hit_test(self, x, y): """ HitTest(self: DataGridView,x: int,y: int) -> HitTestInfo Returns location information,such as row and column indices,given x- and y-coordinates. x: The x-coordinate. y: The y-coordinate. Returns: A System.Windows.Forms.DataGridView.HitTestInfo that contains the location information. """ pass def init_layout(self, *args): """ InitLayout(self: Control) Called after the control has been added to another container. """ pass def invalidate_cell(self, *__args): """ InvalidateCell(self: DataGridView,columnIndex: int,rowIndex: int) Invalidates the cell with the specified row and column indexes,forcing it to be repainted. columnIndex: The column index of the cell to invalidate. rowIndex: The row index of the cell to invalidate. InvalidateCell(self: DataGridView,dataGridViewCell: DataGridViewCell) Invalidates the specified cell of the System.Windows.Forms.DataGridView,forcing it to be repainted. dataGridViewCell: The System.Windows.Forms.DataGridViewCell to invalidate. """ pass def invalidate_column(self, columnIndex): """ InvalidateColumn(self: DataGridView,columnIndex: int) Invalidates the specified column of the System.Windows.Forms.DataGridView,forcing it to be repainted. columnIndex: The index of the column to invalidate. """ pass def invalidate_row(self, rowIndex): """ InvalidateRow(self: DataGridView,rowIndex: int) Invalidates the specified row of the System.Windows.Forms.DataGridView,forcing it to be repainted. rowIndex: The index of the row to invalidate. """ pass def invoke_got_focus(self, *args): """ InvokeGotFocus(self: Control,toInvoke: Control,e: EventArgs) Raises the System.Windows.Forms.Control.GotFocus event for the specified control. toInvoke: The System.Windows.Forms.Control to assign the event to. e: An System.EventArgs that contains the event data. """ pass def invoke_lost_focus(self, *args): """ InvokeLostFocus(self: Control,toInvoke: Control,e: EventArgs) Raises the System.Windows.Forms.Control.LostFocus event for the specified control. toInvoke: The System.Windows.Forms.Control to assign the event to. e: An System.EventArgs that contains the event data. """ pass def invoke_on_click(self, *args): """ InvokeOnClick(self: Control,toInvoke: Control,e: EventArgs) Raises the System.Windows.Forms.Control.Click event for the specified control. toInvoke: The System.Windows.Forms.Control to assign the System.Windows.Forms.Control.Click event to. e: An System.EventArgs that contains the event data. """ pass def invoke_paint(self, *args): """ InvokePaint(self: Control,c: Control,e: PaintEventArgs) Raises the System.Windows.Forms.Control.Paint event for the specified control. c: The System.Windows.Forms.Control to assign the System.Windows.Forms.Control.Paint event to. e: An System.Windows.Forms.PaintEventArgs that contains the event data. """ pass def invoke_paint_background(self, *args): """ InvokePaintBackground(self: Control,c: Control,e: PaintEventArgs) Raises the PaintBackground event for the specified control. c: The System.Windows.Forms.Control to assign the System.Windows.Forms.Control.Paint event to. e: An System.Windows.Forms.PaintEventArgs that contains the event data. """ pass def is_input_char(self, *args): """ IsInputChar(self: DataGridView,charCode: Char) -> bool Determines whether a character is an input character that the System.Windows.Forms.DataGridView recognizes. charCode: The character to test. Returns: true if the character is recognized as an input character; otherwise,false. """ pass def is_input_key(self, *args): """ IsInputKey(self: DataGridView,keyData: Keys) -> bool keyData: One of the System.Windows.Forms.Keys values. Returns: true if the specified key is a regular input key; otherwise,false. """ pass def memberwise_clone(self, *args): """ MemberwiseClone(self: MarshalByRefObject,cloneIdentity: bool) -> MarshalByRefObject Creates a shallow copy of the current System.MarshalByRefObject object. cloneIdentity: false to delete the current System.MarshalByRefObject object's identity,which will cause the object to be assigned a new identity when it is marshaled across a remoting boundary. A value of false is usually appropriate. true to copy the current System.MarshalByRefObject object's identity to its clone,which will cause remoting client calls to be routed to the remote server object. Returns: A shallow copy of the current System.MarshalByRefObject object. MemberwiseClone(self: object) -> object Creates a shallow copy of the current System.Object. Returns: A shallow copy of the current System.Object. """ pass def notify_current_cell_dirty(self, dirty): """ NotifyCurrentCellDirty(self: DataGridView,dirty: bool) Notifies the System.Windows.Forms.DataGridView that the current cell has uncommitted changes. dirty: true to indicate the cell has uncommitted changes; otherwise,false. """ pass def notify_invalidate(self, *args): """ NotifyInvalidate(self: Control,invalidatedArea: Rectangle) Raises the System.Windows.Forms.Control.Invalidated event with a specified region of the control to invalidate. invalidatedArea: A System.Drawing.Rectangle representing the area to invalidate. """ pass def on_allow_user_to_add_rows_changed(self, *args): """ OnAllowUserToAddRowsChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.AllowUserToAddRowsChanged event. e: An System.EventArgs that contains the event data. """ pass def on_allow_user_to_delete_rows_changed(self, *args): """ OnAllowUserToDeleteRowsChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.AllowUserToDeleteRowsChanged event. e: An System.EventArgs that contains the event data. """ pass def on_allow_user_to_order_columns_changed(self, *args): """ OnAllowUserToOrderColumnsChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.AllowUserToOrderColumnsChanged event. e: A System.EventArgs that contains the event data. """ pass def on_allow_user_to_resize_columns_changed(self, *args): """ OnAllowUserToResizeColumnsChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.AllowUserToResizeColumnsChanged event. e: An System.EventArgs that contains the event data. """ pass def on_allow_user_to_resize_rows_changed(self, *args): """ OnAllowUserToResizeRowsChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.AllowUserToResizeRowsChanged event. e: An System.EventArgs that contains the event data. """ pass def on_alternating_rows_default_cell_style_changed(self, *args): """ OnAlternatingRowsDefaultCellStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.AlternatingRowsDefaultCellStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def on_auto_generate_columns_changed(self, *args): """ OnAutoGenerateColumnsChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.AutoGenerateColumnsChanged event. e: An System.EventArgs that contains the event data. """ pass def on_auto_size_changed(self, *args): """ OnAutoSizeChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.AutoSizeChanged event. e: An System.EventArgs that contains the event data. """ pass def on_auto_size_column_mode_changed(self, *args): """ OnAutoSizeColumnModeChanged(self: DataGridView,e: DataGridViewAutoSizeColumnModeEventArgs) Raises the System.Windows.Forms.DataGridView.AutoSizeColumnModeChanged event. e: A System.Windows.Forms.DataGridViewAutoSizeColumnModeEventArgs that contains the event data. """ pass def on_auto_size_columns_mode_changed(self, *args): """ OnAutoSizeColumnsModeChanged(self: DataGridView,e: DataGridViewAutoSizeColumnsModeEventArgs) Raises the System.Windows.Forms.DataGridView.AutoSizeColumnsModeChanged event. e: A System.Windows.Forms.DataGridViewAutoSizeColumnsModeEventArgs that contains the event data. """ pass def on_auto_size_rows_mode_changed(self, *args): """ OnAutoSizeRowsModeChanged(self: DataGridView,e: DataGridViewAutoSizeModeEventArgs) Raises the System.Windows.Forms.DataGridView.AutoSizeRowsModeChanged event. e: A System.Windows.Forms.DataGridViewAutoSizeModeEventArgs that contains the event data. """ pass def on_back_color_changed(self, *args): """ OnBackColorChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.BackColorChanged event. e: An System.EventArgs that contains the event data. """ pass def on_background_color_changed(self, *args): """ OnBackgroundColorChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.BackgroundColorChanged event. e: An System.EventArgs that contains the event data. """ pass def on_background_image_changed(self, *args): """ OnBackgroundImageChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.BackgroundImageChanged event. e: An System.EventArgs that contains the event data. """ pass def on_background_image_layout_changed(self, *args): """ OnBackgroundImageLayoutChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.BackgroundImageLayoutChanged event. e: An System.EventArgs that contains the event data. """ pass def on_binding_context_changed(self, *args): """ OnBindingContextChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.BindingContextChanged event. e: An System.EventArgs that contains the event data. """ pass def on_border_style_changed(self, *args): """ OnBorderStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.BorderStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def on_cancel_row_edit(self, *args): """ OnCancelRowEdit(self: DataGridView,e: QuestionEventArgs) Raises the System.Windows.Forms.DataGridView.CancelRowEdit event. e: A System.Windows.Forms.QuestionEventArgs that contains the event data. """ pass def on_causes_validation_changed(self, *args): """ OnCausesValidationChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.CausesValidationChanged event. e: An System.EventArgs that contains the event data. """ pass def on_cell_begin_edit(self, *args): """ OnCellBeginEdit(self: DataGridView,e: DataGridViewCellCancelEventArgs) Raises the System.Windows.Forms.DataGridView.CellBeginEdit event. e: A System.Windows.Forms.DataGridViewCellCancelEventArgs that contains the event data. """ pass def on_cell_border_style_changed(self, *args): """ OnCellBorderStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.CellBorderStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def on_cell_click(self, *args): """ OnCellClick(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellClick event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_cell_content_click(self, *args): """ OnCellContentClick(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellContentClick event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains information regarding the cell whose content was clicked. """ pass def on_cell_content_double_click(self, *args): """ OnCellContentDoubleClick(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellContentDoubleClick event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_cell_context_menu_strip_changed(self, *args): """ OnCellContextMenuStripChanged(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellContextMenuStripChanged event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_cell_context_menu_strip_needed(self, *args): """ OnCellContextMenuStripNeeded(self: DataGridView,e: DataGridViewCellContextMenuStripNeededEventArgs) Raises the System.Windows.Forms.DataGridView.CellContextMenuStripNeeded event. e: A System.Windows.Forms.DataGridViewCellContextMenuStripNeededEventArgs that contains the event data. """ pass def on_cell_double_click(self, *args): """ OnCellDoubleClick(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellDoubleClick event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_cell_end_edit(self, *args): """ OnCellEndEdit(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellEndEdit event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_cell_enter(self, *args): """ OnCellEnter(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellEnter event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_cell_error_text_changed(self, *args): """ OnCellErrorTextChanged(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellErrorTextChanged event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_cell_error_text_needed(self, *args): """ OnCellErrorTextNeeded(self: DataGridView,e: DataGridViewCellErrorTextNeededEventArgs) Raises the System.Windows.Forms.DataGridView.CellErrorTextNeeded event. e: A System.Windows.Forms.DataGridViewCellErrorTextNeededEventArgs that contains the event data. """ pass def on_cell_formatting(self, *args): """ OnCellFormatting(self: DataGridView,e: DataGridViewCellFormattingEventArgs) Raises the System.Windows.Forms.DataGridView.CellFormatting event. e: A System.Windows.Forms.DataGridViewCellFormattingEventArgs that contains the event data. """ pass def on_cell_leave(self, *args): """ OnCellLeave(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellLeave event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_cell_mouse_click(self, *args): """ OnCellMouseClick(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.CellMouseClick event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event data. """ pass def on_cell_mouse_double_click(self, *args): """ OnCellMouseDoubleClick(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.CellMouseDoubleClick event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event data. """ pass def on_cell_mouse_down(self, *args): """ OnCellMouseDown(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.CellMouseDown event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event data. """ pass def on_cell_mouse_enter(self, *args): """ OnCellMouseEnter(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellMouseEnter event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_cell_mouse_leave(self, *args): """ OnCellMouseLeave(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellMouseLeave event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_cell_mouse_move(self, *args): """ OnCellMouseMove(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.CellMouseMove event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event data. """ pass def on_cell_mouse_up(self, *args): """ OnCellMouseUp(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.CellMouseUp event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event data. """ pass def on_cell_painting(self, *args): """ OnCellPainting(self: DataGridView,e: DataGridViewCellPaintingEventArgs) Raises the System.Windows.Forms.DataGridView.CellPainting event. e: A System.Windows.Forms.DataGridViewCellPaintingEventArgs that contains the event data. """ pass def on_cell_parsing(self, *args): """ OnCellParsing(self: DataGridView,e: DataGridViewCellParsingEventArgs) Raises the System.Windows.Forms.DataGridView.CellParsing event. e: A System.Windows.Forms.DataGridViewCellParsingEventArgs that contains the event data. """ pass def on_cell_state_changed(self, *args): """ OnCellStateChanged(self: DataGridView,e: DataGridViewCellStateChangedEventArgs) Raises the System.Windows.Forms.DataGridView.CellStateChanged event. e: A System.Windows.Forms.DataGridViewCellStateChangedEventArgs that contains the event data. """ pass def on_cell_style_changed(self, *args): """ OnCellStyleChanged(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellStyleChanged event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_cell_style_content_changed(self, *args): """ OnCellStyleContentChanged(self: DataGridView,e: DataGridViewCellStyleContentChangedEventArgs) Raises the System.Windows.Forms.DataGridView.CellStyleContentChanged event. e: A System.Windows.Forms.DataGridViewCellStyleContentChangedEventArgs that contains the event data. """ pass def on_cell_tool_tip_text_changed(self, *args): """ OnCellToolTipTextChanged(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellToolTipTextChanged event. e: An System.Windows.Forms.DataGridViewCellEventArgs that contains information about the cell. """ pass def on_cell_tool_tip_text_needed(self, *args): """ OnCellToolTipTextNeeded(self: DataGridView,e: DataGridViewCellToolTipTextNeededEventArgs) Raises the System.Windows.Forms.DataGridView.CellToolTipTextNeeded event. e: A System.Windows.Forms.DataGridViewCellToolTipTextNeededEventArgs that contains the event data. """ pass def on_cell_validated(self, *args): """ OnCellValidated(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellValidated event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_cell_validating(self, *args): """ OnCellValidating(self: DataGridView,e: DataGridViewCellValidatingEventArgs) Raises the System.Windows.Forms.DataGridView.CellValidating event. e: A System.Windows.Forms.DataGridViewCellValidatingEventArgs that contains the event data. """ pass def on_cell_value_changed(self, *args): """ OnCellValueChanged(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.CellValueChanged event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_cell_value_needed(self, *args): """ OnCellValueNeeded(self: DataGridView,e: DataGridViewCellValueEventArgs) Raises the System.Windows.Forms.DataGridView.CellValueNeeded event. e: A System.Windows.Forms.DataGridViewCellValueEventArgs that contains the event data. """ pass def on_cell_value_pushed(self, *args): """ OnCellValuePushed(self: DataGridView,e: DataGridViewCellValueEventArgs) Raises the System.Windows.Forms.DataGridView.CellValuePushed event. e: A System.Windows.Forms.DataGridViewCellValueEventArgs that contains the event data. """ pass def on_change_ui_cues(self, *args): """ OnChangeUICues(self: Control,e: UICuesEventArgs) Raises the System.Windows.Forms.Control.ChangeUICues event. e: A System.Windows.Forms.UICuesEventArgs that contains the event data. """ pass def on_click(self, *args): """ OnClick(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.Click event. e: An System.EventArgs that contains the event data. """ pass def on_client_size_changed(self, *args): """ OnClientSizeChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.ClientSizeChanged event. e: An System.EventArgs that contains the event data. """ pass def on_column_added(self, *args): """ OnColumnAdded(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnAdded event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def on_column_context_menu_strip_changed(self, *args): """ OnColumnContextMenuStripChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnContextMenuStripChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def on_column_data_property_name_changed(self, *args): """ OnColumnDataPropertyNameChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnDataPropertyNameChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def on_column_default_cell_style_changed(self, *args): """ OnColumnDefaultCellStyleChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnDefaultCellStyleChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def on_column_display_index_changed(self, *args): """ OnColumnDisplayIndexChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnDisplayIndexChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def on_column_divider_double_click(self, *args): """ OnColumnDividerDoubleClick(self: DataGridView,e: DataGridViewColumnDividerDoubleClickEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnDividerDoubleClick event. e: A System.Windows.Forms.DataGridViewColumnDividerDoubleClickEventArgs that contains the event data. """ pass def on_column_divider_width_changed(self, *args): """ OnColumnDividerWidthChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnDividerWidthChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def on_column_header_cell_changed(self, *args): """ OnColumnHeaderCellChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnHeaderCellChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def on_column_header_mouse_click(self, *args): """ OnColumnHeaderMouseClick(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnHeaderMouseClick event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains the event data. """ pass def on_column_header_mouse_double_click(self, *args): """ OnColumnHeaderMouseDoubleClick(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnHeaderMouseDoubleClick event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains information about the cell and the position of the mouse pointer. """ pass def on_column_headers_border_style_changed(self, *args): """ OnColumnHeadersBorderStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.ColumnHeadersBorderStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def on_column_headers_default_cell_style_changed(self, *args): """ OnColumnHeadersDefaultCellStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.ColumnHeadersDefaultCellStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def on_column_headers_height_changed(self, *args): """ OnColumnHeadersHeightChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.ColumnHeadersHeightChanged event. e: An System.EventArgs that contains the event data. """ pass def on_column_headers_height_size_mode_changed(self, *args): """ OnColumnHeadersHeightSizeModeChanged(self: DataGridView,e: DataGridViewAutoSizeModeEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnHeadersHeightSizeModeChanged event. e: A System.Windows.Forms.DataGridViewAutoSizeModeEventArgs that contains the event data. """ pass def on_column_minimum_width_changed(self, *args): """ OnColumnMinimumWidthChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnMinimumWidthChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def on_column_name_changed(self, *args): """ OnColumnNameChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnNameChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def on_column_removed(self, *args): """ OnColumnRemoved(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnRemoved event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def on_column_sort_mode_changed(self, *args): """ OnColumnSortModeChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnSortModeChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def on_column_state_changed(self, *args): """ OnColumnStateChanged(self: DataGridView,e: DataGridViewColumnStateChangedEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnStateChanged event. e: A System.Windows.Forms.DataGridViewColumnStateChangedEventArgs that contains the event data. """ pass def on_column_tool_tip_text_changed(self, *args): """ OnColumnToolTipTextChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnToolTipTextChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains information about the column. """ pass def on_column_width_changed(self, *args): """ OnColumnWidthChanged(self: DataGridView,e: DataGridViewColumnEventArgs) Raises the System.Windows.Forms.DataGridView.ColumnWidthChanged event. e: A System.Windows.Forms.DataGridViewColumnEventArgs that contains the event data. """ pass def on_context_menu_changed(self, *args): """ OnContextMenuChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.ContextMenuChanged event. e: An System.EventArgs that contains the event data. """ pass def on_context_menu_strip_changed(self, *args): """ OnContextMenuStripChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.ContextMenuStripChanged event. e: An System.EventArgs that contains the event data. """ pass def on_control_added(self, *args): """ OnControlAdded(self: Control,e: ControlEventArgs) Raises the System.Windows.Forms.Control.ControlAdded event. e: A System.Windows.Forms.ControlEventArgs that contains the event data. """ pass def on_control_removed(self, *args): """ OnControlRemoved(self: Control,e: ControlEventArgs) Raises the System.Windows.Forms.Control.ControlRemoved event. e: A System.Windows.Forms.ControlEventArgs that contains the event data. """ pass def on_create_control(self, *args): """ OnCreateControl(self: Control) Raises the System.Windows.Forms.Control.CreateControl method. """ pass def on_current_cell_changed(self, *args): """ OnCurrentCellChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.CurrentCellChanged event. e: An System.EventArgs that contains the event data. """ pass def on_current_cell_dirty_state_changed(self, *args): """ OnCurrentCellDirtyStateChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.CurrentCellDirtyStateChanged event. e: An System.EventArgs that contains the event data. """ pass def on_cursor_changed(self, *args): """ OnCursorChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.CursorChanged event and updates the System.Windows.Forms.DataGridView.UserSetCursor property if the cursor was changed in user code. e: An System.EventArgs that contains the event data. """ pass def on_data_binding_complete(self, *args): """ OnDataBindingComplete(self: DataGridView,e: DataGridViewBindingCompleteEventArgs) Raises the System.Windows.Forms.DataGridView.DataBindingComplete event. e: A System.Windows.Forms.DataGridViewBindingCompleteEventArgs that contains the event data. """ pass def on_data_error(self, *args): """ OnDataError(self: DataGridView,displayErrorDialogIfNoHandler: bool,e: DataGridViewDataErrorEventArgs) Raises the System.Windows.Forms.DataGridView.DataError event. displayErrorDialogIfNoHandler: true to display an error dialog box if there is no handler for the System.Windows.Forms.DataGridView.DataError event. e: A System.Windows.Forms.DataGridViewDataErrorEventArgs that contains the event data. """ pass def on_data_member_changed(self, *args): """ OnDataMemberChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.DataMemberChanged event. e: An System.EventArgs that contains the event data. """ pass def on_data_source_changed(self, *args): """ OnDataSourceChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.DataSourceChanged event. e: An System.EventArgs that contains the event data. """ pass def on_default_cell_style_changed(self, *args): """ OnDefaultCellStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.DefaultCellStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def on_default_values_needed(self, *args): """ OnDefaultValuesNeeded(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.DefaultValuesNeeded event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def on_dock_changed(self, *args): """ OnDockChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.DockChanged event. e: An System.EventArgs that contains the event data. """ pass def on_double_click(self, *args): """ OnDoubleClick(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.DoubleClick event. e: An System.EventArgs that contains the event data. """ pass def on_dpi_changed_after_parent(self, *args): """ OnDpiChangedAfterParent(self: Control,e: EventArgs) """ pass def on_dpi_changed_before_parent(self, *args): """ OnDpiChangedBeforeParent(self: Control,e: EventArgs) """ pass def on_drag_drop(self, *args): """ OnDragDrop(self: Control,drgevent: DragEventArgs) Raises the System.Windows.Forms.Control.DragDrop event. drgevent: A System.Windows.Forms.DragEventArgs that contains the event data. """ pass def on_drag_enter(self, *args): """ OnDragEnter(self: Control,drgevent: DragEventArgs) Raises the System.Windows.Forms.Control.DragEnter event. drgevent: A System.Windows.Forms.DragEventArgs that contains the event data. """ pass def on_drag_leave(self, *args): """ OnDragLeave(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.DragLeave event. e: An System.EventArgs that contains the event data. """ pass def on_drag_over(self, *args): """ OnDragOver(self: Control,drgevent: DragEventArgs) Raises the System.Windows.Forms.Control.DragOver event. drgevent: A System.Windows.Forms.DragEventArgs that contains the event data. """ pass def on_editing_control_showing(self, *args): """ OnEditingControlShowing(self: DataGridView,e: DataGridViewEditingControlShowingEventArgs) Raises the System.Windows.Forms.DataGridView.EditingControlShowing event. e: A System.Windows.Forms.DataGridViewEditingControlShowingEventArgs that contains information about the editing control. """ pass def on_edit_mode_changed(self, *args): """ OnEditModeChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.EditModeChanged event. e: An System.EventArgs that contains the event data. """ pass def on_enabled_changed(self, *args): """ OnEnabledChanged(self: DataGridView,e: EventArgs) e: An System.EventArgs that contains the event data. """ pass def on_enter(self, *args): """ OnEnter(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.Enter event. e: An System.EventArgs that contains the event data. """ pass def on_font_changed(self, *args): """ OnFontChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.FontChanged event. e: An System.EventArgs that contains the event data. """ pass def on_fore_color_changed(self, *args): """ OnForeColorChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.ForeColorChanged event. e: An System.EventArgs that contains the event data. """ pass def on_give_feedback(self, *args): """ OnGiveFeedback(self: Control,gfbevent: GiveFeedbackEventArgs) Raises the System.Windows.Forms.Control.GiveFeedback event. gfbevent: A System.Windows.Forms.GiveFeedbackEventArgs that contains the event data. """ pass def on_got_focus(self, *args): """ OnGotFocus(self: DataGridView,e: EventArgs) e: An System.EventArgs that contains the event data. """ pass def on_grid_color_changed(self, *args): """ OnGridColorChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.GridColorChanged event. e: An System.EventArgs that contains the event data. """ pass def on_handle_created(self, *args): """ OnHandleCreated(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.HandleCreated event. e: An System.EventArgs that contains the event data. """ pass def on_handle_destroyed(self, *args): """ OnHandleDestroyed(self: DataGridView,e: EventArgs) e: An System.EventArgs that contains the event data. """ pass def on_help_requested(self, *args): """ OnHelpRequested(self: Control,hevent: HelpEventArgs) Raises the System.Windows.Forms.Control.HelpRequested event. hevent: A System.Windows.Forms.HelpEventArgs that contains the event data. """ pass def on_ime_mode_changed(self, *args): """ OnImeModeChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.ImeModeChanged event. e: An System.EventArgs that contains the event data. """ pass def on_invalidated(self, *args): """ OnInvalidated(self: Control,e: InvalidateEventArgs) Raises the System.Windows.Forms.Control.Invalidated event. e: An System.Windows.Forms.InvalidateEventArgs that contains the event data. """ pass def on_key_down(self, *args): """ OnKeyDown(self: DataGridView,e: KeyEventArgs) Raises the System.Windows.Forms.Control.KeyDown event. e: A System.Windows.Forms.KeyEventArgs that contains the event data. """ pass def on_key_press(self, *args): """ OnKeyPress(self: DataGridView,e: KeyPressEventArgs) Raises the System.Windows.Forms.Control.KeyPress event. e: A System.Windows.Forms.KeyPressEventArgs that contains the event data. """ pass def on_key_up(self, *args): """ OnKeyUp(self: DataGridView,e: KeyEventArgs) Raises the System.Windows.Forms.Control.KeyUp event. e: A System.Windows.Forms.KeyEventArgs that contains the event data. """ pass def on_layout(self, *args): """ OnLayout(self: DataGridView,e: LayoutEventArgs) Raises the System.Windows.Forms.Control.Layout event. e: A System.Windows.Forms.LayoutEventArgs that contains the event data. """ pass def on_leave(self, *args): """ OnLeave(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.Leave event. e: An System.EventArgs that contains the event data. """ pass def on_location_changed(self, *args): """ OnLocationChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.LocationChanged event. e: An System.EventArgs that contains the event data. """ pass def on_lost_focus(self, *args): """ OnLostFocus(self: DataGridView,e: EventArgs) e: An System.EventArgs that contains the event data. """ pass def on_margin_changed(self, *args): """ OnMarginChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.MarginChanged event. e: A System.EventArgs that contains the event data. """ pass def on_mouse_capture_changed(self, *args): """ OnMouseCaptureChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.MouseCaptureChanged event. e: An System.EventArgs that contains the event data. """ pass def on_mouse_click(self, *args): """ OnMouseClick(self: DataGridView,e: MouseEventArgs) Raises the System.Windows.Forms.Control.MouseClick event. e: A System.Windows.Forms.MouseEventArgs that contains the event data. """ pass def on_mouse_double_click(self, *args): """ OnMouseDoubleClick(self: DataGridView,e: MouseEventArgs) e: An System.Windows.Forms.MouseEventArgs that contains the event data. """ pass def on_mouse_down(self, *args): """ OnMouseDown(self: DataGridView,e: MouseEventArgs) Raises the System.Windows.Forms.Control.MouseDown event. e: A System.Windows.Forms.MouseEventArgs that contains the event data. """ pass def on_mouse_enter(self, *args): """ OnMouseEnter(self: DataGridView,e: EventArgs) e: An System.EventArgs that contains the event data. """ pass def on_mouse_hover(self, *args): """ OnMouseHover(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.MouseHover event. e: An System.EventArgs that contains the event data. """ pass def on_mouse_leave(self, *args): """ OnMouseLeave(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.MouseLeave event. e: An System.EventArgs that contains the event data. """ pass def on_mouse_move(self, *args): """ OnMouseMove(self: DataGridView,e: MouseEventArgs) Raises the System.Windows.Forms.Control.MouseMove event. e: A System.Windows.Forms.MouseEventArgs that contains the event data. """ pass def on_mouse_up(self, *args): """ OnMouseUp(self: DataGridView,e: MouseEventArgs) Raises the System.Windows.Forms.Control.MouseUp event. e: A System.Windows.Forms.MouseEventArgs that contains the event data. """ pass def on_mouse_wheel(self, *args): """ OnMouseWheel(self: DataGridView,e: MouseEventArgs) e: A System.Windows.Forms.MouseEventArgs that contains the event data. """ pass def on_move(self, *args): """ OnMove(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.Move event. e: An System.EventArgs that contains the event data. """ pass def on_multi_select_changed(self, *args): """ OnMultiSelectChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.MultiSelectChanged event. e: An System.EventArgs that contains the event data. """ pass def on_new_row_needed(self, *args): """ OnNewRowNeeded(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.NewRowNeeded event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def on_notify_message(self, *args): """ OnNotifyMessage(self: Control,m: Message) Notifies the control of Windows messages. m: A System.Windows.Forms.Message that represents the Windows message. """ pass def on_padding_changed(self, *args): """ OnPaddingChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.PaddingChanged event. e: A System.EventArgs that contains the event data. """ pass def on_paint(self, *args): """ OnPaint(self: DataGridView,e: PaintEventArgs) Raises the System.Windows.Forms.Control.Paint event. e: A System.Windows.Forms.PaintEventArgs that contains the event data. """ pass def on_paint_background(self, *args): """ OnPaintBackground(self: Control,pevent: PaintEventArgs) Paints the background of the control. pevent: A System.Windows.Forms.PaintEventArgs that contains information about the control to paint. """ pass def on_parent_back_color_changed(self, *args): """ OnParentBackColorChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.BackColorChanged event when the System.Windows.Forms.Control.BackColor property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def on_parent_background_image_changed(self, *args): """ OnParentBackgroundImageChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.BackgroundImageChanged event when the System.Windows.Forms.Control.BackgroundImage property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def on_parent_binding_context_changed(self, *args): """ OnParentBindingContextChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.BindingContextChanged event when the System.Windows.Forms.Control.BindingContext property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def on_parent_changed(self, *args): """ OnParentChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.ParentChanged event. e: An System.EventArgs that contains the event data. """ pass def on_parent_cursor_changed(self, *args): """ OnParentCursorChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.CursorChanged event. e: An System.EventArgs that contains the event data. """ pass def on_parent_enabled_changed(self, *args): """ OnParentEnabledChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.EnabledChanged event when the System.Windows.Forms.Control.Enabled property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def on_parent_font_changed(self, *args): """ OnParentFontChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.FontChanged event when the System.Windows.Forms.Control.Font property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def on_parent_fore_color_changed(self, *args): """ OnParentForeColorChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.ForeColorChanged event when the System.Windows.Forms.Control.ForeColor property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def on_parent_right_to_left_changed(self, *args): """ OnParentRightToLeftChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.RightToLeftChanged event when the System.Windows.Forms.Control.RightToLeft property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def on_parent_visible_changed(self, *args): """ OnParentVisibleChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.VisibleChanged event when the System.Windows.Forms.Control.Visible property value of the control's container changes. e: An System.EventArgs that contains the event data. """ pass def on_preview_key_down(self, *args): """ OnPreviewKeyDown(self: Control,e: PreviewKeyDownEventArgs) Raises the System.Windows.Forms.Control.PreviewKeyDown event. e: A System.Windows.Forms.PreviewKeyDownEventArgs that contains the event data. """ pass def on_print(self, *args): """ OnPrint(self: Control,e: PaintEventArgs) Raises the System.Windows.Forms.Control.Paint event. e: A System.Windows.Forms.PaintEventArgs that contains the event data. """ pass def on_query_continue_drag(self, *args): """ OnQueryContinueDrag(self: Control,qcdevent: QueryContinueDragEventArgs) Raises the System.Windows.Forms.Control.QueryContinueDrag event. qcdevent: A System.Windows.Forms.QueryContinueDragEventArgs that contains the event data. """ pass def on_read_only_changed(self, *args): """ OnReadOnlyChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.ReadOnlyChanged event. e: An System.EventArgs that contains the event data. """ pass def on_region_changed(self, *args): """ OnRegionChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.RegionChanged event. e: An System.EventArgs that contains the event data. """ pass def on_resize(self, *args): """ OnResize(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.Control.Resize event. e: An System.EventArgs that contains the event data. """ pass def on_right_to_left_changed(self, *args): """ OnRightToLeftChanged(self: DataGridView,e: EventArgs) e: An System.EventArgs that contains the event data. """ pass def on_row_context_menu_strip_changed(self, *args): """ OnRowContextMenuStripChanged(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowContextMenuStripChanged event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def on_row_context_menu_strip_needed(self, *args): """ OnRowContextMenuStripNeeded(self: DataGridView,e: DataGridViewRowContextMenuStripNeededEventArgs) Raises the System.Windows.Forms.DataGridView.RowContextMenuStripNeeded event. e: A System.Windows.Forms.DataGridViewRowContextMenuStripNeededEventArgs that contains the event data. """ pass def on_row_default_cell_style_changed(self, *args): """ OnRowDefaultCellStyleChanged(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowDefaultCellStyleChanged event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def on_row_dirty_state_needed(self, *args): """ OnRowDirtyStateNeeded(self: DataGridView,e: QuestionEventArgs) Raises the System.Windows.Forms.DataGridView.RowDirtyStateNeeded event. e: A System.Windows.Forms.QuestionEventArgs that contains the event data. """ pass def on_row_divider_double_click(self, *args): """ OnRowDividerDoubleClick(self: DataGridView,e: DataGridViewRowDividerDoubleClickEventArgs) Raises the System.Windows.Forms.DataGridView.RowDividerDoubleClick event. e: A System.Windows.Forms.DataGridViewRowDividerDoubleClickEventArgs that contains the event data. """ pass def on_row_divider_height_changed(self, *args): """ OnRowDividerHeightChanged(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowDividerHeightChanged event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def on_row_enter(self, *args): """ OnRowEnter(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.RowEnter event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_row_error_text_changed(self, *args): """ OnRowErrorTextChanged(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowErrorTextChanged event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def on_row_error_text_needed(self, *args): """ OnRowErrorTextNeeded(self: DataGridView,e: DataGridViewRowErrorTextNeededEventArgs) Raises the System.Windows.Forms.DataGridView.RowErrorTextNeeded event. e: A System.Windows.Forms.DataGridViewRowErrorTextNeededEventArgs that contains the event data. """ pass def on_row_header_cell_changed(self, *args): """ OnRowHeaderCellChanged(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowHeaderCellChanged event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def on_row_header_mouse_click(self, *args): """ OnRowHeaderMouseClick(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.RowHeaderMouseClick event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains information about the mouse and the header cell that was clicked. """ pass def on_row_header_mouse_double_click(self, *args): """ OnRowHeaderMouseDoubleClick(self: DataGridView,e: DataGridViewCellMouseEventArgs) Raises the System.Windows.Forms.DataGridView.RowHeaderMouseDoubleClick event. e: A System.Windows.Forms.DataGridViewCellMouseEventArgs that contains information about the mouse and the header cell that was double-clicked. """ pass def on_row_headers_border_style_changed(self, *args): """ OnRowHeadersBorderStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.RowHeadersBorderStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def on_row_headers_default_cell_style_changed(self, *args): """ OnRowHeadersDefaultCellStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.RowHeadersDefaultCellStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def on_row_headers_width_changed(self, *args): """ OnRowHeadersWidthChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.RowHeadersWidthChanged event. e: An System.EventArgs that contains the event data. """ pass def on_row_headers_width_size_mode_changed(self, *args): """ OnRowHeadersWidthSizeModeChanged(self: DataGridView,e: DataGridViewAutoSizeModeEventArgs) Raises the System.Windows.Forms.DataGridView.RowHeadersWidthSizeModeChanged event. e: A System.Windows.Forms.DataGridViewAutoSizeModeEventArgs that contains the event data. """ pass def on_row_height_changed(self, *args): """ OnRowHeightChanged(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowHeightChanged event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def on_row_height_info_needed(self, *args): """ OnRowHeightInfoNeeded(self: DataGridView,e: DataGridViewRowHeightInfoNeededEventArgs) Raises the System.Windows.Forms.DataGridView.RowHeightInfoNeeded event. e: A System.Windows.Forms.DataGridViewRowHeightInfoNeededEventArgs that contains the event data. """ pass def on_row_height_info_pushed(self, *args): """ OnRowHeightInfoPushed(self: DataGridView,e: DataGridViewRowHeightInfoPushedEventArgs) Raises the System.Windows.Forms.DataGridView.RowHeightInfoPushed event. e: A System.Windows.Forms.DataGridViewRowHeightInfoPushedEventArgs that contains the event data. """ pass def on_row_leave(self, *args): """ OnRowLeave(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.RowLeave event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_row_minimum_height_changed(self, *args): """ OnRowMinimumHeightChanged(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowMinimumHeightChanged event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def on_row_post_paint(self, *args): """ OnRowPostPaint(self: DataGridView,e: DataGridViewRowPostPaintEventArgs) Raises the System.Windows.Forms.DataGridView.RowPostPaint event. e: A System.Windows.Forms.DataGridViewRowPostPaintEventArgs that contains the event data. """ pass def on_row_pre_paint(self, *args): """ OnRowPrePaint(self: DataGridView,e: DataGridViewRowPrePaintEventArgs) Raises the System.Windows.Forms.DataGridView.RowPrePaint event. e: A System.Windows.Forms.DataGridViewRowPrePaintEventArgs that contains the event data. """ pass def on_rows_added(self, *args): """ OnRowsAdded(self: DataGridView,e: DataGridViewRowsAddedEventArgs) Raises the System.Windows.Forms.DataGridView.RowsAdded event. e: A System.Windows.Forms.DataGridViewRowsAddedEventArgs that contains information about the added rows. """ pass def on_rows_default_cell_style_changed(self, *args): """ OnRowsDefaultCellStyleChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.RowsDefaultCellStyleChanged event. e: An System.EventArgs that contains the event data. """ pass def on_rows_removed(self, *args): """ OnRowsRemoved(self: DataGridView,e: DataGridViewRowsRemovedEventArgs) Raises the System.Windows.Forms.DataGridView.RowsRemoved event. e: A System.Windows.Forms.DataGridViewRowsRemovedEventArgs that contains information about the deleted rows. """ pass def on_row_state_changed(self, *args): """ OnRowStateChanged(self: DataGridView,rowIndex: int,e: DataGridViewRowStateChangedEventArgs) Raises the System.Windows.Forms.DataGridView.RowStateChanged event. rowIndex: The index of the row that is changing state. e: A System.Windows.Forms.DataGridViewRowStateChangedEventArgs that contains the event data. """ pass def on_row_unshared(self, *args): """ OnRowUnshared(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.RowUnshared event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def on_row_validated(self, *args): """ OnRowValidated(self: DataGridView,e: DataGridViewCellEventArgs) Raises the System.Windows.Forms.DataGridView.RowValidated event. e: A System.Windows.Forms.DataGridViewCellEventArgs that contains the event data. """ pass def on_row_validating(self, *args): """ OnRowValidating(self: DataGridView,e: DataGridViewCellCancelEventArgs) Raises the System.Windows.Forms.DataGridView.RowValidating event. e: A System.Windows.Forms.DataGridViewCellCancelEventArgs that contains the event data. """ pass def on_scroll(self, *args): """ OnScroll(self: DataGridView,e: ScrollEventArgs) Raises the System.Windows.Forms.DataGridView.Scroll event. e: A System.Windows.Forms.ScrollEventArgs that contains the event data. """ pass def on_selection_changed(self, *args): """ OnSelectionChanged(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.SelectionChanged event. e: An System.EventArgs that contains information about the event. """ pass def on_size_changed(self, *args): """ OnSizeChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.SizeChanged event. e: An System.EventArgs that contains the event data. """ pass def on_sort_compare(self, *args): """ OnSortCompare(self: DataGridView,e: DataGridViewSortCompareEventArgs) Raises the System.Windows.Forms.DataGridView.SortCompare event. e: A System.Windows.Forms.DataGridViewSortCompareEventArgs that contains the event data. """ pass def on_sorted(self, *args): """ OnSorted(self: DataGridView,e: EventArgs) Raises the System.Windows.Forms.DataGridView.Sorted event. e: An System.EventArgs that contains the event data. """ pass def on_style_changed(self, *args): """ OnStyleChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.StyleChanged event. e: An System.EventArgs that contains the event data. """ pass def on_system_colors_changed(self, *args): """ OnSystemColorsChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.SystemColorsChanged event. e: An System.EventArgs that contains the event data. """ pass def on_tab_index_changed(self, *args): """ OnTabIndexChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.TabIndexChanged event. e: An System.EventArgs that contains the event data. """ pass def on_tab_stop_changed(self, *args): """ OnTabStopChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.TabStopChanged event. e: An System.EventArgs that contains the event data. """ pass def on_text_changed(self, *args): """ OnTextChanged(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.TextChanged event. e: An System.EventArgs that contains the event data. """ pass def on_user_added_row(self, *args): """ OnUserAddedRow(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.UserAddedRow event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def on_user_deleted_row(self, *args): """ OnUserDeletedRow(self: DataGridView,e: DataGridViewRowEventArgs) Raises the System.Windows.Forms.DataGridView.UserDeletedRow event. e: A System.Windows.Forms.DataGridViewRowEventArgs that contains the event data. """ pass def on_user_deleting_row(self, *args): """ OnUserDeletingRow(self: DataGridView,e: DataGridViewRowCancelEventArgs) Raises the System.Windows.Forms.DataGridView.UserDeletingRow event. e: A System.Windows.Forms.DataGridViewRowCancelEventArgs that contains the event data. """ pass def on_validated(self, *args): """ OnValidated(self: Control,e: EventArgs) Raises the System.Windows.Forms.Control.Validated event. e: An System.EventArgs that contains the event data. """ pass def on_validating(self, *args): """ OnValidating(self: DataGridView,e: CancelEventArgs) Raises the System.Windows.Forms.Control.Validating event. e: A System.ComponentModel.CancelEventArgs that contains the event data. """ pass def on_visible_changed(self, *args): """ OnVisibleChanged(self: DataGridView,e: EventArgs) e: An System.EventArgs that contains the event data. """ pass def paint_background(self, *args): """ PaintBackground(self: DataGridView,graphics: Graphics,clipBounds: Rectangle,gridBounds: Rectangle) Paints the background of the System.Windows.Forms.DataGridView. graphics: The System.Drawing.Graphics used to paint the background. clipBounds: A System.Drawing.Rectangle that represents the area of the System.Windows.Forms.DataGridView that needs to be painted. gridBounds: A System.Drawing.Rectangle that represents the area in which cells are drawn. """ pass def process_a_key(self, *args): """ ProcessAKey(self: DataGridView,keyData: Keys) -> bool Processes the A key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def process_cmd_key(self, *args): """ ProcessCmdKey(self: Control,msg: Message,keyData: Keys) -> (bool,Message) Processes a command key. msg: A System.Windows.Forms.Message,passed by reference,that represents the window message to process. keyData: One of the System.Windows.Forms.Keys values that represents the key to process. Returns: true if the character was processed by the control; otherwise,false. """ pass def process_data_grid_view_key(self, *args): """ ProcessDataGridViewKey(self: DataGridView,e: KeyEventArgs) -> bool Processes keys used for navigating in the System.Windows.Forms.DataGridView. e: Contains information about the key that was pressed. Returns: true if the key was processed; otherwise,false. """ pass def process_delete_key(self, *args): """ ProcessDeleteKey(self: DataGridView,keyData: Keys) -> bool Processes the DELETE key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def process_dialog_char(self, *args): """ ProcessDialogChar(self: Control,charCode: Char) -> bool Processes a dialog character. charCode: The character to process. Returns: true if the character was processed by the control; otherwise,false. """ pass def process_dialog_key(self, *args): """ ProcessDialogKey(self: DataGridView,keyData: Keys) -> bool Processes keys,such as the TAB,ESCAPE,ENTER,and ARROW keys,used to control dialog boxes. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def process_down_key(self, *args): """ ProcessDownKey(self: DataGridView,keyData: Keys) -> bool Processes the DOWN ARROW key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def process_end_key(self, *args): """ ProcessEndKey(self: DataGridView,keyData: Keys) -> bool Processes the END key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def process_enter_key(self, *args): """ ProcessEnterKey(self: DataGridView,keyData: Keys) -> bool Processes the ENTER key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def process_escape_key(self, *args): """ ProcessEscapeKey(self: DataGridView,keyData: Keys) -> bool Processes the ESC key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def process_f2_key(self, *args): """ ProcessF2Key(self: DataGridView,keyData: Keys) -> bool Processes the F2 key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def process_home_key(self, *args): """ ProcessHomeKey(self: DataGridView,keyData: Keys) -> bool Processes the HOME key. keyData: The key that was pressed. Returns: true if the key was processed; otherwise,false. """ pass def process_insert_key(self, *args): """ ProcessInsertKey(self: DataGridView,keyData: Keys) -> bool Processes the INSERT key. keyData: One of the System.Windows.Forms.Keys values that represents the key to process. Returns: true if the key was processed; otherwise,false. """ pass def process_key_event_args(self, *args): """ ProcessKeyEventArgs(self: DataGridView,m: Message) -> (bool,Message) Processes a key message and generates the appropriate control events. m: A System.Windows.Forms.Message,passed by reference,that represents the window message to process. Returns: true if the message was processed; otherwise,false. """ pass def process_key_message(self, *args): """ ProcessKeyMessage(self: Control,m: Message) -> (bool,Message) Processes a keyboard message. m: A System.Windows.Forms.Message,passed by reference,that represents the window message to process. Returns: true if the message was processed by the control; otherwise,false. """ pass def process_key_preview(self, *args): """ ProcessKeyPreview(self: DataGridView,m: Message) -> (bool,Message) Previews a keyboard message. m: A System.Windows.Forms.Message,passed by reference,that represents the window message to process. Returns: true if the message was processed; otherwise,false. """ pass def process_left_key(self, *args): """ ProcessLeftKey(self: DataGridView,keyData: Keys) -> bool Processes the LEFT ARROW key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def process_mnemonic(self, *args): """ ProcessMnemonic(self: Control,charCode: Char) -> bool Processes a mnemonic character. charCode: The character to process. Returns: true if the character was processed as a mnemonic by the control; otherwise,false. """ pass def process_next_key(self, *args): """ ProcessNextKey(self: DataGridView,keyData: Keys) -> bool Processes the PAGE DOWN key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def process_prior_key(self, *args): """ ProcessPriorKey(self: DataGridView,keyData: Keys) -> bool Processes the PAGE UP key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def process_right_key(self, *args): """ ProcessRightKey(self: DataGridView,keyData: Keys) -> bool Processes the RIGHT ARROW key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def process_space_key(self, *args): """ ProcessSpaceKey(self: DataGridView,keyData: Keys) -> bool Processes the SPACEBAR. keyData: One of the System.Windows.Forms.Keys values that represents the key to process. Returns: true if the key was processed; otherwise,false. """ pass def process_tab_key(self, *args): """ ProcessTabKey(self: DataGridView,keyData: Keys) -> bool Processes the TAB key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def process_up_key(self, *args): """ ProcessUpKey(self: DataGridView,keyData: Keys) -> bool Processes the UP ARROW key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def process_zero_key(self, *args): """ ProcessZeroKey(self: DataGridView,keyData: Keys) -> bool Processes the 0 key. keyData: A bitwise combination of System.Windows.Forms.Keys values that represents the key or keys to process. Returns: true if the key was processed; otherwise,false. """ pass def raise_drag_event(self, *args): """ RaiseDragEvent(self: Control,key: object,e: DragEventArgs) Raises the appropriate drag event. key: The event to raise. e: A System.Windows.Forms.DragEventArgs that contains the event data. """ pass def raise_key_event(self, *args): """ RaiseKeyEvent(self: Control,key: object,e: KeyEventArgs) Raises the appropriate key event. key: The event to raise. e: A System.Windows.Forms.KeyEventArgs that contains the event data. """ pass def raise_mouse_event(self, *args): """ RaiseMouseEvent(self: Control,key: object,e: MouseEventArgs) Raises the appropriate mouse event. key: The event to raise. e: A System.Windows.Forms.MouseEventArgs that contains the event data. """ pass def raise_paint_event(self, *args): """ RaisePaintEvent(self: Control,key: object,e: PaintEventArgs) Raises the appropriate paint event. key: The event to raise. e: A System.Windows.Forms.PaintEventArgs that contains the event data. """ pass def recreate_handle(self, *args): """ RecreateHandle(self: Control) Forces the re-creation of the handle for the control. """ pass def refresh_edit(self): """ RefreshEdit(self: DataGridView) -> bool Refreshes the value of the current cell with the underlying cell value when the cell is in edit mode,discarding any previous value. Returns: true if successful; false if a System.Windows.Forms.DataGridView.DataError event occurred. """ pass def rescale_constants_for_dpi(self, *args): """ RescaleConstantsForDpi(self: Control,deviceDpiOld: int,deviceDpiNew: int) """ pass def reset_mouse_event_args(self, *args): """ ResetMouseEventArgs(self: Control) Resets the control to handle the System.Windows.Forms.Control.MouseLeave event. """ pass def reset_text(self): """ ResetText(self: DataGridView) Resets the System.Windows.Forms.DataGridView.Text property to its default value. """ pass def rtl_translate_alignment(self, *args): """ RtlTranslateAlignment(self: Control,align: ContentAlignment) -> ContentAlignment Converts the specified System.Drawing.ContentAlignment to the appropriate System.Drawing.ContentAlignment to support right-to-left text. align: One of the System.Drawing.ContentAlignment values. Returns: One of the System.Drawing.ContentAlignment values. RtlTranslateAlignment(self: Control,align: LeftRightAlignment) -> LeftRightAlignment Converts the specified System.Windows.Forms.LeftRightAlignment to the appropriate System.Windows.Forms.LeftRightAlignment to support right-to-left text. align: One of the System.Windows.Forms.LeftRightAlignment values. Returns: One of the System.Windows.Forms.LeftRightAlignment values. RtlTranslateAlignment(self: Control,align: HorizontalAlignment) -> HorizontalAlignment Converts the specified System.Windows.Forms.HorizontalAlignment to the appropriate System.Windows.Forms.HorizontalAlignment to support right-to-left text. align: One of the System.Windows.Forms.HorizontalAlignment values. Returns: One of the System.Windows.Forms.HorizontalAlignment values. """ pass def rtl_translate_content(self, *args): """ RtlTranslateContent(self: Control,align: ContentAlignment) -> ContentAlignment Converts the specified System.Drawing.ContentAlignment to the appropriate System.Drawing.ContentAlignment to support right-to-left text. align: One of the System.Drawing.ContentAlignment values. Returns: One of the System.Drawing.ContentAlignment values. """ pass def rtl_translate_horizontal(self, *args): """ RtlTranslateHorizontal(self: Control,align: HorizontalAlignment) -> HorizontalAlignment Converts the specified System.Windows.Forms.HorizontalAlignment to the appropriate System.Windows.Forms.HorizontalAlignment to support right-to-left text. align: One of the System.Windows.Forms.HorizontalAlignment values. Returns: One of the System.Windows.Forms.HorizontalAlignment values. """ pass def rtl_translate_left_right(self, *args): """ RtlTranslateLeftRight(self: Control,align: LeftRightAlignment) -> LeftRightAlignment Converts the specified System.Windows.Forms.LeftRightAlignment to the appropriate System.Windows.Forms.LeftRightAlignment to support right-to-left text. align: One of the System.Windows.Forms.LeftRightAlignment values. Returns: One of the System.Windows.Forms.LeftRightAlignment values. """ pass def scale_control(self, *args): """ ScaleControl(self: Control,factor: SizeF,specified: BoundsSpecified) Scales a control's location,size,padding and margin. factor: The factor by which the height and width of the control will be scaled. specified: A System.Windows.Forms.BoundsSpecified value that specifies the bounds of the control to use when defining its size and position. """ pass def scale_core(self, *args): """ ScaleCore(self: Control,dx: Single,dy: Single) This method is not relevant for this class. dx: The horizontal scaling factor. dy: The vertical scaling factor. """ pass def select(self): """ Select(self: Control,directed: bool,forward: bool) Activates a child control. Optionally specifies the direction in the tab order to select the control from. directed: true to specify the direction of the control to select; otherwise,false. forward: true to move forward in the tab order; false to move backward in the tab order. """ pass def select_all(self): """ SelectAll(self: DataGridView) Selects all the cells in the System.Windows.Forms.DataGridView. """ pass def set_auto_size_mode(self, *args): """ SetAutoSizeMode(self: Control,mode: AutoSizeMode) Sets a value indicating how a control will behave when its System.Windows.Forms.Control.AutoSize property is enabled. mode: One of the System.Windows.Forms.AutoSizeMode values. """ pass def set_bounds_core(self, *args): """ SetBoundsCore(self: DataGridView,x: int,y: int,width: int,height: int,specified: BoundsSpecified) This member overrides System.Windows.Forms.Control.SetBoundsCore(System.Int32,System.Int32,System.Int32,System.Int32,Sy stem.Windows.Forms.BoundsSpecified). x: The new System.Windows.Forms.Control.Left property value of the control. y: The new System.Windows.Forms.Control.Top property value of the control. width: The new System.Windows.Forms.Control.Width property value of the control. height: The new System.Windows.Forms.Control.Height property value of the control. specified: A bitwise combination of the System.Windows.Forms.BoundsSpecified values. """ pass def set_client_size_core(self, *args): """ SetClientSizeCore(self: Control,x: int,y: int) Sets the size of the client area of the control. x: The client area width,in pixels. y: The client area height,in pixels. """ pass def set_current_cell_address_core(self, *args): """ SetCurrentCellAddressCore(self: DataGridView,columnIndex: int,rowIndex: int,setAnchorCellAddress: bool,validateCurrentCell: bool,throughMouseClick: bool) -> bool Sets the currently active cell. columnIndex: The index of the column containing the cell. rowIndex: The index of the row containing the cell. setAnchorCellAddress: true to make the new current cell the anchor cell for a subsequent multicell selection using the SHIFT key; otherwise,false. validateCurrentCell: true to validate the value in the old current cell and cancel the change if validation fails; otherwise,false. throughMouseClick: true if the current cell is being set as a result of a mouse click; otherwise,false. Returns: true if the current cell was successfully set; otherwise,false. """ pass def set_selected_cell_core(self, *args): """ SetSelectedCellCore(self: DataGridView,columnIndex: int,rowIndex: int,selected: bool) Changes the selection state of the cell with the specified row and column indexes. columnIndex: The index of the column containing the cell. rowIndex: The index of the row containing the cell. selected: true to select the cell; false to cancel the selection of the cell. """ pass def set_selected_column_core(self, *args): """ SetSelectedColumnCore(self: DataGridView,columnIndex: int,selected: bool) Changes the selection state of the column with the specified index. columnIndex: The index of the column. selected: true to select the column; false to cancel the selection of the column. """ pass def set_selected_row_core(self, *args): """ SetSelectedRowCore(self: DataGridView,rowIndex: int,selected: bool) Changes the selection state of the row with the specified index. rowIndex: The index of the row. selected: true to select the row; false to cancel the selection of the row. """ pass def set_style(self, *args): """ SetStyle(self: Control,flag: ControlStyles,value: bool) Sets a specified System.Windows.Forms.ControlStyles flag to either true or false. flag: The System.Windows.Forms.ControlStyles bit to set. value: true to apply the specified style to the control; otherwise,false. """ pass def set_top_level(self, *args): """ SetTopLevel(self: Control,value: bool) Sets the control as the top-level control. value: true to set the control as the top-level control; otherwise,false. """ pass def set_visible_core(self, *args): """ SetVisibleCore(self: Control,value: bool) Sets the control to the specified visible state. value: true to make the control visible; otherwise,false. """ pass def size_from_client_size(self, *args): """ SizeFromClientSize(self: Control,clientSize: Size) -> Size Determines the size of the entire control from the height and width of its client area. clientSize: A System.Drawing.Size value representing the height and width of the control's client area. Returns: A System.Drawing.Size value representing the height and width of the entire control. """ pass def sort(self, *__args): """ Sort(self: DataGridView,comparer: IComparer) Sorts the contents of the System.Windows.Forms.DataGridView control using an implementation of the System.Collections.IComparer interface. comparer: An implementation of System.Collections.IComparer that performs the custom sorting operation. Sort(self: DataGridView,dataGridViewColumn: DataGridViewColumn,direction: ListSortDirection) Sorts the contents of the System.Windows.Forms.DataGridView control in ascending or descending order based on the contents of the specified column. dataGridViewColumn: The column by which to sort the contents of the System.Windows.Forms.DataGridView. direction: One of the System.ComponentModel.ListSortDirection values. """ pass def update_bounds(self, *args): """ UpdateBounds(self: Control,x: int,y: int,width: int,height: int,clientWidth: int,clientHeight: int) Updates the bounds of the control with the specified size,location,and client size. x: The System.Drawing.Point.X coordinate of the control. y: The System.Drawing.Point.Y coordinate of the control. width: The System.Drawing.Size.Width of the control. height: The System.Drawing.Size.Height of the control. clientWidth: The client System.Drawing.Size.Width of the control. clientHeight: The client System.Drawing.Size.Height of the control. UpdateBounds(self: Control,x: int,y: int,width: int,height: int) Updates the bounds of the control with the specified size and location. x: The System.Drawing.Point.X coordinate of the control. y: The System.Drawing.Point.Y coordinate of the control. width: The System.Drawing.Size.Width of the control. height: The System.Drawing.Size.Height of the control. UpdateBounds(self: Control) Updates the bounds of the control with the current size and location. """ pass def update_cell_error_text(self, columnIndex, rowIndex): """ UpdateCellErrorText(self: DataGridView,columnIndex: int,rowIndex: int) Forces the cell at the specified location to update its error text. columnIndex: The column index of the cell to update,or -1 to indicate a row header cell. rowIndex: The row index of the cell to update,or -1 to indicate a column header cell. """ pass def update_cell_value(self, columnIndex, rowIndex): """ UpdateCellValue(self: DataGridView,columnIndex: int,rowIndex: int) Forces the control to update its display of the cell at the specified location based on its new value,applying any automatic sizing modes currently in effect. columnIndex: The zero-based column index of the cell with the new value. rowIndex: The zero-based row index of the cell with the new value. """ pass def update_row_error_text(self, *__args): """ UpdateRowErrorText(self: DataGridView,rowIndexStart: int,rowIndexEnd: int) Forces the rows in the given range to update their error text. rowIndexStart: The zero-based index of the first row in the set of rows to update. rowIndexEnd: The zero-based index of the last row in the set of rows to update. UpdateRowErrorText(self: DataGridView,rowIndex: int) Forces the row at the given row index to update its error text. rowIndex: The zero-based index of the row to update. """ pass def update_row_height_info(self, rowIndex, updateToEnd): """ UpdateRowHeightInfo(self: DataGridView,rowIndex: int,updateToEnd: bool) Forces the specified row or rows to update their height information. rowIndex: The zero-based index of the first row to update. updateToEnd: true to update the specified row and all subsequent rows. """ pass def update_styles(self, *args): """ UpdateStyles(self: Control) Forces the assigned styles to be reapplied to the control. """ pass def update_z_order(self, *args): """ UpdateZOrder(self: Control) Updates the control in its parent's z-order. """ pass def wnd_proc(self, *args): """ WndProc(self: DataGridView,m: Message) -> Message Processes window messages. m: A System.Windows.Forms.Message,passed by reference,that represents the window message to process. """ pass def __enter__(self, *args): """ __enter__(self: IDisposable) -> object Provides the implementation of __enter__ for objects which implement IDisposable. """ pass def __exit__(self, *args): """ __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) Provides the implementation of __exit__ for objects which implement IDisposable. """ pass def __getitem__(self, *args): """ x.__getitem__(y) <==> x[y]x.__getitem__(y) <==> x[y] """ pass def __init__(self, *args): """ x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """ pass def __setitem__(self, *args): """ x.__setitem__(i,y) <==> x[i]=x.__setitem__(i,y) <==> x[i]= """ pass def __str__(self, *args): pass adjusted_top_left_header_border_style = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the border style for the upper-left cell in the System.Windows.Forms.DataGridView.\n\n\n\nGet: AdjustedTopLeftHeaderBorderStyle(self: DataGridView) -> DataGridViewAdvancedBorderStyle\n\n\n\n' advanced_cell_border_style = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the border style of the cells in the System.Windows.Forms.DataGridView.\n\n\n\nGet: AdvancedCellBorderStyle(self: DataGridView) -> DataGridViewAdvancedBorderStyle\n\n\n\n' advanced_column_headers_border_style = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the border style of the column header cells in the System.Windows.Forms.DataGridView.\n\n\n\nGet: AdvancedColumnHeadersBorderStyle(self: DataGridView) -> DataGridViewAdvancedBorderStyle\n\n\n\n' advanced_row_headers_border_style = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the border style of the row header cells in the System.Windows.Forms.DataGridView.\n\n\n\nGet: AdvancedRowHeadersBorderStyle(self: DataGridView) -> DataGridViewAdvancedBorderStyle\n\n\n\n' allow_user_to_add_rows = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether the option to add rows is displayed to the user.\n\n\n\nGet: AllowUserToAddRows(self: DataGridView) -> bool\n\n\n\nSet: AllowUserToAddRows(self: DataGridView)=value\n\n' allow_user_to_delete_rows = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether the user is allowed to delete rows from the System.Windows.Forms.DataGridView.\n\n\n\nGet: AllowUserToDeleteRows(self: DataGridView) -> bool\n\n\n\nSet: AllowUserToDeleteRows(self: DataGridView)=value\n\n' allow_user_to_order_columns = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether manual column repositioning is enabled.\n\n\n\nGet: AllowUserToOrderColumns(self: DataGridView) -> bool\n\n\n\nSet: AllowUserToOrderColumns(self: DataGridView)=value\n\n' allow_user_to_resize_columns = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether users can resize columns.\n\n\n\nGet: AllowUserToResizeColumns(self: DataGridView) -> bool\n\n\n\nSet: AllowUserToResizeColumns(self: DataGridView)=value\n\n' allow_user_to_resize_rows = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether users can resize rows.\n\n\n\nGet: AllowUserToResizeRows(self: DataGridView) -> bool\n\n\n\nSet: AllowUserToResizeRows(self: DataGridView)=value\n\n' alternating_rows_default_cell_style = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the default cell style applied to odd-numbered rows of the System.Windows.Forms.DataGridView.\n\n\n\nGet: AlternatingRowsDefaultCellStyle(self: DataGridView) -> DataGridViewCellStyle\n\n\n\nSet: AlternatingRowsDefaultCellStyle(self: DataGridView)=value\n\n' auto_generate_columns = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether columns are created automatically when the System.Windows.Forms.DataGridView.DataSource or System.Windows.Forms.DataGridView.DataMember properties are set.\n\n\n\nGet: AutoGenerateColumns(self: DataGridView) -> bool\n\n\n\nSet: AutoGenerateColumns(self: DataGridView)=value\n\n' auto_size = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Get: AutoSize(self: DataGridView) -> bool\n\n\n\nSet: AutoSize(self: DataGridView)=value\n\n' auto_size_columns_mode = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating how column widths are determined.\n\n\n\nGet: AutoSizeColumnsMode(self: DataGridView) -> DataGridViewAutoSizeColumnsMode\n\n\n\nSet: AutoSizeColumnsMode(self: DataGridView)=value\n\n' auto_size_rows_mode = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating how row heights are determined.\n\n\n\nGet: AutoSizeRowsMode(self: DataGridView) -> DataGridViewAutoSizeRowsMode\n\n\n\nSet: AutoSizeRowsMode(self: DataGridView)=value\n\n' back_color = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the background color for the control.\n\n\n\nGet: BackColor(self: DataGridView) -> Color\n\n\n\nSet: BackColor(self: DataGridView)=value\n\n' background_color = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the background color of the System.Windows.Forms.DataGridView.\n\n\n\nGet: BackgroundColor(self: DataGridView) -> Color\n\n\n\nSet: BackgroundColor(self: DataGridView)=value\n\n' background_image = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the background image displayed in the control.\n\n\n\nGet: BackgroundImage(self: DataGridView) -> Image\n\n\n\nSet: BackgroundImage(self: DataGridView)=value\n\n' background_image_layout = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the background image layout as defined in the System.Windows.Forms.ImageLayout enumeration.\n\n\n\nGet: BackgroundImageLayout(self: DataGridView) -> ImageLayout\n\n\n\nSet: BackgroundImageLayout(self: DataGridView)=value\n\n' border_style = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the border style for the System.Windows.Forms.DataGridView.\n\n\n\nGet: BorderStyle(self: DataGridView) -> BorderStyle\n\n\n\nSet: BorderStyle(self: DataGridView)=value\n\n' can_enable_ime = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets a value indicating whether the System.Windows.Forms.Control.ImeMode property can be set to an active value,to enable IME support.\n\n\n\n' can_raise_events = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Determines if events can be raised on the control.\n\n\n\n' cell_border_style = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the cell border style for the System.Windows.Forms.DataGridView.\n\n\n\nGet: CellBorderStyle(self: DataGridView) -> DataGridViewCellBorderStyle\n\n\n\nSet: CellBorderStyle(self: DataGridView)=value\n\n' clipboard_copy_mode = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value that indicates whether users can copy cell text values to the System.Windows.Forms.Clipboard and whether row and column header text is included.\n\n\n\nGet: ClipboardCopyMode(self: DataGridView) -> DataGridViewClipboardCopyMode\n\n\n\nSet: ClipboardCopyMode(self: DataGridView)=value\n\n' column_count = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the number of columns displayed in the System.Windows.Forms.DataGridView.\n\n\n\nGet: ColumnCount(self: DataGridView) -> int\n\n\n\nSet: ColumnCount(self: DataGridView)=value\n\n' column_headers_border_style = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the border style applied to the column headers.\n\n\n\nGet: ColumnHeadersBorderStyle(self: DataGridView) -> DataGridViewHeaderBorderStyle\n\n\n\nSet: ColumnHeadersBorderStyle(self: DataGridView)=value\n\n' column_headers_default_cell_style = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the default column header style.\n\n\n\nGet: ColumnHeadersDefaultCellStyle(self: DataGridView) -> DataGridViewCellStyle\n\n\n\nSet: ColumnHeadersDefaultCellStyle(self: DataGridView)=value\n\n' column_headers_height = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the height,in pixels,of the column headers row\n\n\n\nGet: ColumnHeadersHeight(self: DataGridView) -> int\n\n\n\nSet: ColumnHeadersHeight(self: DataGridView)=value\n\n' column_headers_height_size_mode = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether the height of the column headers is adjustable and whether it can be adjusted by the user or is automatically adjusted to fit the contents of the headers.\n\n\n\nGet: ColumnHeadersHeightSizeMode(self: DataGridView) -> DataGridViewColumnHeadersHeightSizeMode\n\n\n\nSet: ColumnHeadersHeightSizeMode(self: DataGridView)=value\n\n' column_headers_visible = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether the column header row is displayed.\n\n\n\nGet: ColumnHeadersVisible(self: DataGridView) -> bool\n\n\n\nSet: ColumnHeadersVisible(self: DataGridView)=value\n\n' columns = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets a collection that contains all the columns in the control.\n\n\n\nGet: Columns(self: DataGridView) -> DataGridViewColumnCollection\n\n\n\n' create_params = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the required creation parameters when the control handle is created.\n\n\n\n' current_cell = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the currently active cell.\n\n\n\nGet: CurrentCell(self: DataGridView) -> DataGridViewCell\n\n\n\nSet: CurrentCell(self: DataGridView)=value\n\n' current_cell_address = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the row and column indexes of the currently active cell.\n\n\n\nGet: CurrentCellAddress(self: DataGridView) -> Point\n\n\n\n' current_row = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the row containing the current cell.\n\n\n\nGet: CurrentRow(self: DataGridView) -> DataGridViewRow\n\n\n\n' data_member = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the name of the list or table in the data source for which the System.Windows.Forms.DataGridView is displaying data.\n\n\n\nGet: DataMember(self: DataGridView) -> str\n\n\n\nSet: DataMember(self: DataGridView)=value\n\n' data_source = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the data source that the System.Windows.Forms.DataGridView is displaying data for.\n\n\n\nGet: DataSource(self: DataGridView) -> object\n\n\n\nSet: DataSource(self: DataGridView)=value\n\n' default_cell_style = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the default cell style to be applied to the cells in the System.Windows.Forms.DataGridView if no other cell style properties are set.\n\n\n\nGet: DefaultCellStyle(self: DataGridView) -> DataGridViewCellStyle\n\n\n\nSet: DefaultCellStyle(self: DataGridView)=value\n\n' default_cursor = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the default cursor for the control.\n\n\n\n' default_ime_mode = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the default Input Method Editor (IME) mode supported by the control.\n\n\n\n' default_margin = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the space,in pixels,that is specified by default between controls.\n\n\n\n' default_maximum_size = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the length and height,in pixels,that is specified as the default maximum size of a control.\n\n\n\n' default_minimum_size = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the length and height,in pixels,that is specified as the default minimum size of a control.\n\n\n\n' default_padding = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the internal spacing,in pixels,of the contents of a control.\n\n\n\n' default_size = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the default initial size of the control.\n\n\n\n' design_mode = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets a value that indicates whether the System.ComponentModel.Component is currently in design mode.\n\n\n\n' display_rectangle = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the rectangle that represents the display area of the control.\n\n\n\nGet: DisplayRectangle(self: DataGridView) -> Rectangle\n\n\n\n' double_buffered = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker.\n\n\n\n' editing_control = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the control hosted by the current cell,if a cell with an editing control is in edit mode.\n\n\n\nGet: EditingControl(self: DataGridView) -> Control\n\n\n\n' editing_panel = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the panel that contains the System.Windows.Forms.DataGridView.EditingControl.\n\n\n\nGet: EditingPanel(self: DataGridView) -> Panel\n\n\n\n' edit_mode = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating how to begin editing a cell.\n\n\n\nGet: EditMode(self: DataGridView) -> DataGridViewEditMode\n\n\n\nSet: EditMode(self: DataGridView)=value\n\n' enable_headers_visual_styles = property(lambda self: object(), lambda self, v: None, lambda self: None) "Gets or sets a value indicating whether row and column headers use the visual styles of the user's current theme if visual styles are enabled for the application.\n\n\n\nGet: EnableHeadersVisualStyles(self: DataGridView) -> bool\n\n\n\nSet: EnableHeadersVisualStyles(self: DataGridView)=value\n\n" events = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the list of event handlers that are attached to this System.ComponentModel.Component.\n\n\n\n' first_displayed_cell = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the first cell currently displayed in the System.Windows.Forms.DataGridView; typically,this cell is in the upper left corner.\n\n\n\nGet: FirstDisplayedCell(self: DataGridView) -> DataGridViewCell\n\n\n\nSet: FirstDisplayedCell(self: DataGridView)=value\n\n' first_displayed_scrolling_column_hidden_width = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the width of the portion of the column that is currently scrolled out of view..\n\n\n\nGet: FirstDisplayedScrollingColumnHiddenWidth(self: DataGridView) -> int\n\n\n\n' first_displayed_scrolling_column_index = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the index of the column that is the first column displayed on the System.Windows.Forms.DataGridView.\n\n\n\nGet: FirstDisplayedScrollingColumnIndex(self: DataGridView) -> int\n\n\n\nSet: FirstDisplayedScrollingColumnIndex(self: DataGridView)=value\n\n' first_displayed_scrolling_row_index = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the index of the row that is the first row displayed on the System.Windows.Forms.DataGridView.\n\n\n\nGet: FirstDisplayedScrollingRowIndex(self: DataGridView) -> int\n\n\n\nSet: FirstDisplayedScrollingRowIndex(self: DataGridView)=value\n\n' font = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the font of the text displayed by the System.Windows.Forms.DataGridView.\n\n\n\nGet: Font(self: DataGridView) -> Font\n\n\n\nSet: Font(self: DataGridView)=value\n\n' font_height = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the height of the font of the control.\n\n\n\n' fore_color = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the foreground color of the System.Windows.Forms.DataGridView.\n\n\n\nGet: ForeColor(self: DataGridView) -> Color\n\n\n\nSet: ForeColor(self: DataGridView)=value\n\n' grid_color = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the color of the grid lines separating the cells of the System.Windows.Forms.DataGridView.\n\n\n\nGet: GridColor(self: DataGridView) -> Color\n\n\n\nSet: GridColor(self: DataGridView)=value\n\n' horizontal_scroll_bar = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the horizontal scroll bar of the control.\n\n\n\n' horizontal_scrolling_offset = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the number of pixels by which the control is scrolled horizontally.\n\n\n\nGet: HorizontalScrollingOffset(self: DataGridView) -> int\n\n\n\nSet: HorizontalScrollingOffset(self: DataGridView)=value\n\n' ime_mode_base = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the IME mode of a control.\n\n\n\n' is_current_cell_dirty = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets a value indicating whether the current cell has uncommitted changes.\n\n\n\nGet: IsCurrentCellDirty(self: DataGridView) -> bool\n\n\n\n' is_current_cell_in_edit_mode = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets a value indicating whether the currently active cell is being edited.\n\n\n\nGet: IsCurrentCellInEditMode(self: DataGridView) -> bool\n\n\n\n' is_current_row_dirty = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets a value indicating whether the current row has uncommitted changes.\n\n\n\nGet: IsCurrentRowDirty(self: DataGridView) -> bool\n\n\n\n' multi_select = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether the user is allowed to select more than one cell,row,or column of the System.Windows.Forms.DataGridView at a time.\n\n\n\nGet: MultiSelect(self: DataGridView) -> bool\n\n\n\nSet: MultiSelect(self: DataGridView)=value\n\n' new_row_index = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the index of the row for new records.\n\n\n\nGet: NewRowIndex(self: DataGridView) -> int\n\n\n\n' padding = property(lambda self: object(), lambda self, v: None, lambda self: None) 'This property is not relevant for this control.\n\n\n\nGet: Padding(self: DataGridView) -> Padding\n\n\n\nSet: Padding(self: DataGridView)=value\n\n' read_only = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether the user can edit the cells of the System.Windows.Forms.DataGridView control.\n\n\n\nGet: ReadOnly(self: DataGridView) -> bool\n\n\n\nSet: ReadOnly(self: DataGridView)=value\n\n' render_right_to_left = property(lambda self: object(), lambda self, v: None, lambda self: None) 'This property is now obsolete.\n\n\n\n' resize_redraw = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether the control redraws itself when resized.\n\n\n\n' row_count = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the number of rows displayed in the System.Windows.Forms.DataGridView.\n\n\n\nGet: RowCount(self: DataGridView) -> int\n\n\n\nSet: RowCount(self: DataGridView)=value\n\n' row_headers_border_style = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the border style of the row header cells.\n\n\n\nGet: RowHeadersBorderStyle(self: DataGridView) -> DataGridViewHeaderBorderStyle\n\n\n\nSet: RowHeadersBorderStyle(self: DataGridView)=value\n\n' row_headers_default_cell_style = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the default style applied to the row header cells.\n\n\n\nGet: RowHeadersDefaultCellStyle(self: DataGridView) -> DataGridViewCellStyle\n\n\n\nSet: RowHeadersDefaultCellStyle(self: DataGridView)=value\n\n' row_headers_visible = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether the column that contains row headers is displayed.\n\n\n\nGet: RowHeadersVisible(self: DataGridView) -> bool\n\n\n\nSet: RowHeadersVisible(self: DataGridView)=value\n\n' row_headers_width = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the width,in pixels,of the column that contains the row headers.\n\n\n\nGet: RowHeadersWidth(self: DataGridView) -> int\n\n\n\nSet: RowHeadersWidth(self: DataGridView)=value\n\n' row_headers_width_size_mode = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether the width of the row headers is adjustable and whether it can be adjusted by the user or is automatically adjusted to fit the contents of the headers.\n\n\n\nGet: RowHeadersWidthSizeMode(self: DataGridView) -> DataGridViewRowHeadersWidthSizeMode\n\n\n\nSet: RowHeadersWidthSizeMode(self: DataGridView)=value\n\n' rows = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets a collection that contains all the rows in the System.Windows.Forms.DataGridView control.\n\n\n\nGet: Rows(self: DataGridView) -> DataGridViewRowCollection\n\n\n\n' rows_default_cell_style = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the default style applied to the row cells of the System.Windows.Forms.DataGridView.\n\n\n\nGet: RowsDefaultCellStyle(self: DataGridView) -> DataGridViewCellStyle\n\n\n\nSet: RowsDefaultCellStyle(self: DataGridView)=value\n\n' row_template = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the row that represents the template for all the rows in the control.\n\n\n\nGet: RowTemplate(self: DataGridView) -> DataGridViewRow\n\n\n\nSet: RowTemplate(self: DataGridView)=value\n\n' scale_children = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets a value that determines the scaling of child controls.\n\n\n\n' scroll_bars = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the type of scroll bars to display for the System.Windows.Forms.DataGridView control.\n\n\n\nGet: ScrollBars(self: DataGridView) -> ScrollBars\n\n\n\nSet: ScrollBars(self: DataGridView)=value\n\n' selected_cells = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the collection of cells selected by the user.\n\n\n\nGet: SelectedCells(self: DataGridView) -> DataGridViewSelectedCellCollection\n\n\n\n' selected_columns = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the collection of columns selected by the user.\n\n\n\nGet: SelectedColumns(self: DataGridView) -> DataGridViewSelectedColumnCollection\n\n\n\n' selected_rows = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the collection of rows selected by the user.\n\n\n\nGet: SelectedRows(self: DataGridView) -> DataGridViewSelectedRowCollection\n\n\n\n' selection_mode = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating how the cells of the System.Windows.Forms.DataGridView can be selected.\n\n\n\nGet: SelectionMode(self: DataGridView) -> DataGridViewSelectionMode\n\n\n\nSet: SelectionMode(self: DataGridView)=value\n\n' show_cell_errors = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether to show cell errors.\n\n\n\nGet: ShowCellErrors(self: DataGridView) -> bool\n\n\n\nSet: ShowCellErrors(self: DataGridView)=value\n\n' show_cell_tool_tips = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether or not ToolTips will show when the mouse pointer pauses on a cell.\n\n\n\nGet: ShowCellToolTips(self: DataGridView) -> bool\n\n\n\nSet: ShowCellToolTips(self: DataGridView)=value\n\n' show_editing_icon = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether or not the editing glyph is visible in the row header of the cell being edited.\n\n\n\nGet: ShowEditingIcon(self: DataGridView) -> bool\n\n\n\nSet: ShowEditingIcon(self: DataGridView)=value\n\n' show_focus_cues = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets a value indicating whether the control should display focus rectangles.\n\n\n\n' show_keyboard_cues = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators.\n\n\n\n' show_row_errors = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether row headers will display error glyphs for each row that contains a data entry error.\n\n\n\nGet: ShowRowErrors(self: DataGridView) -> bool\n\n\n\nSet: ShowRowErrors(self: DataGridView)=value\n\n' sorted_column = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the column by which the System.Windows.Forms.DataGridView contents are currently sorted.\n\n\n\nGet: SortedColumn(self: DataGridView) -> DataGridViewColumn\n\n\n\n' sort_order = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets a value indicating whether the items in the System.Windows.Forms.DataGridView control are sorted in ascending or descending order,or are not sorted.\n\n\n\nGet: SortOrder(self: DataGridView) -> SortOrder\n\n\n\n' standard_tab = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether the TAB key moves the focus to the next control in the tab order rather than moving focus to the next cell in the control.\n\n\n\nGet: StandardTab(self: DataGridView) -> bool\n\n\n\nSet: StandardTab(self: DataGridView)=value\n\n' text = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the text associated with the control.\n\n\n\nGet: Text(self: DataGridView) -> str\n\n\n\nSet: Text(self: DataGridView)=value\n\n' top_left_header_cell = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets the header cell located in the upper left corner of the System.Windows.Forms.DataGridView control.\n\n\n\nGet: TopLeftHeaderCell(self: DataGridView) -> DataGridViewHeaderCell\n\n\n\nSet: TopLeftHeaderCell(self: DataGridView)=value\n\n' user_set_cursor = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the default or user-specified value of the System.Windows.Forms.Control.Cursor property.\n\n\n\nGet: UserSetCursor(self: DataGridView) -> Cursor\n\n\n\n' vertical_scroll_bar = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the vertical scroll bar of the control.\n\n\n\n' vertical_scrolling_offset = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the number of pixels by which the control is scrolled vertically.\n\n\n\nGet: VerticalScrollingOffset(self: DataGridView) -> int\n\n\n\n' virtual_mode = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets or sets a value indicating whether you have provided your own data-management operations for the System.Windows.Forms.DataGridView control.\n\n\n\nGet: VirtualMode(self: DataGridView) -> bool\n\n\n\nSet: VirtualMode(self: DataGridView)=value\n\n' allow_user_to_add_rows_changed = None allow_user_to_delete_rows_changed = None allow_user_to_order_columns_changed = None allow_user_to_resize_columns_changed = None allow_user_to_resize_rows_changed = None alternating_rows_default_cell_style_changed = None auto_generate_columns_changed = None auto_size_column_mode_changed = None auto_size_columns_mode_changed = None auto_size_rows_mode_changed = None back_color_changed = None background_color_changed = None background_image_changed = None background_image_layout_changed = None border_style_changed = None cancel_row_edit = None cell_begin_edit = None cell_border_style_changed = None cell_click = None cell_content_click = None cell_content_double_click = None cell_context_menu_strip_changed = None cell_context_menu_strip_needed = None cell_double_click = None cell_end_edit = None cell_enter = None cell_error_text_changed = None cell_error_text_needed = None cell_formatting = None cell_leave = None cell_mouse_click = None cell_mouse_double_click = None cell_mouse_down = None cell_mouse_enter = None cell_mouse_leave = None cell_mouse_move = None cell_mouse_up = None cell_painting = None cell_parsing = None cell_state_changed = None cell_style_changed = None cell_style_content_changed = None cell_tool_tip_text_changed = None cell_tool_tip_text_needed = None cell_validated = None cell_validating = None cell_value_changed = None cell_value_needed = None cell_value_pushed = None column_added = None column_context_menu_strip_changed = None column_data_property_name_changed = None column_default_cell_style_changed = None column_display_index_changed = None column_divider_double_click = None column_divider_width_changed = None column_header_cell_changed = None column_header_mouse_click = None column_header_mouse_double_click = None column_headers_border_style_changed = None column_headers_default_cell_style_changed = None column_headers_height_changed = None column_headers_height_size_mode_changed = None column_minimum_width_changed = None column_name_changed = None column_removed = None column_sort_mode_changed = None column_state_changed = None column_tool_tip_text_changed = None column_width_changed = None current_cell_changed = None current_cell_dirty_state_changed = None data_binding_complete = None data_error = None data_grid_view_accessible_object = None data_grid_view_control_collection = None data_grid_view_top_row_accessible_object = None data_member_changed = None data_source_changed = None default_cell_style_changed = None default_values_needed = None editing_control_showing = None edit_mode_changed = None font_changed = None fore_color_changed = None grid_color_changed = None hit_test_info = None multi_select_changed = None new_row_needed = None padding_changed = None read_only_changed = None row_context_menu_strip_changed = None row_context_menu_strip_needed = None row_default_cell_style_changed = None row_dirty_state_needed = None row_divider_double_click = None row_divider_height_changed = None row_enter = None row_error_text_changed = None row_error_text_needed = None row_header_cell_changed = None row_header_mouse_click = None row_header_mouse_double_click = None row_headers_border_style_changed = None row_headers_default_cell_style_changed = None row_headers_width_changed = None row_headers_width_size_mode_changed = None row_height_changed = None row_height_info_needed = None row_height_info_pushed = None row_leave = None row_minimum_height_changed = None row_post_paint = None row_pre_paint = None rows_added = None rows_default_cell_style_changed = None rows_removed = None row_state_changed = None row_unshared = None row_validated = None row_validating = None scroll = None selection_changed = None sort_compare = None sorted = None style_changed = None text_changed = None user_added_row = None user_deleted_row = None user_deleting_row = None
# return masked string def maskify(cc): if len(cc) < 5: return cc return '#' * int(len(cc)-4) + cc[-4:]
def maskify(cc): if len(cc) < 5: return cc return '#' * int(len(cc) - 4) + cc[-4:]
""" Given a string s, find the longest palindromic subsequence's length in s. You may assume that the maximum length of s is 1000. Example 1: Input: "bbbab" Output: 4 One possible longest palindromic subsequence is "bbbb". Example 2: Input: "cbbd" Output: 2 One possible longest palindromic subsequence is "bb". Solution: 1. Recursion 2. Recursion + Memo 3. 2D DP dp[i][j]: the length of LPS in s[i:j+1] dp[i][j] = 1, if i == j = dp[i+1][j-1] + 2, if s[i] == s[j] and i < j - 1 = max(dp[i-1][j], dp[i][j-1]) , if s[i] != s[j] and i < j - 1 """ # Recursion # TLE # Time: O(2^n) class Solution: def longestPalindromeSubseq(self, s: str) -> int: return self.lps(0, len(s)-1, s) def lps(self, l, r, s): if l == r: return 1 elif l > r: return 0 else: if s[l] == s[r]: return 2 + self.lps(l+1, r-1, s) else: return max(self.lps(l+1, r, s), self.lps(l, r-1, s)) # Recursion + Memo # store the intermediate result in the process of DFS, each lps[i][j] only computed once # Time: O(n^2) # Space: O(n^2) class Solution: def longestPalindromeSubseq(self, s: str) -> int: self.memo = [[0 for _ in range(len(s))] for _ in range(len(s))] return self.lps(0, len(s)-1, s) def lps(self, l, r, s): if l == r: return 1 if l > r: return 0 if self.memo[l][r] != 0: return self.memo[l][r] else: if s[l] == s[r]: self.memo[l][r] = 2 + self.lps(l+1, r-1, s) else: self.memo[l][r] = max(self.lps(l+1, r, s), self.lps(l, r-1, s)) return self.memo[l][r] # 2D DP # Time: O(n^2) # Space: O(n^2) class Solution: def longestPalindromeSubseq(self, s: str) -> int: l = len(s) dp = [[1 for _ in range(l)] for _ in range(l)] # len = 2 for i in range(l-1): if s[i] == s[i+1]: dp[i][i+1] = 2 # len starts at 3 for ll in range(2, l): for i in range(l-ll): j = i + ll if s[i] == s[j]: dp[i][j] = dp[i+1][j-1] + 2 else: # 2 chars at both sides cannot contibute to lps at the same time dp[i][j] = max(dp[i+1][j], dp[i][j-1]) return dp[0][l-1] # 1D DP # In #3, the current row is computed from the previous 2 rows only. So we don't need to keep all the rows. class Solution: def longestPalindromeSubseq(self, s: str) -> int: l = len(s) # 1D DP, cur row only depends on the previous 2 rows. first, second, third = [1 for _ in range(l)], [1 for _ in range(l)], [1 for _ in range(l)] # len = 2 for i in range(l-1): if s[i] == s[i+1]: second[i] = 2 # len starts at 3 for ll in range(2, l): for i in range(l-ll): j = i + ll if s[i] == s[j]: third[i] = first[i+1] + 2 else: # 2 chars at both sides cannot contibute to lps at the same time third[i] = max(second[i], second[i+1]) # update previous 2 rows, deepcopy first = second[:] second = third[:] if l == 0: return 0 elif l == 1: return first[0] elif l == 2: return second[0] else: return third[0]
""" Given a string s, find the longest palindromic subsequence's length in s. You may assume that the maximum length of s is 1000. Example 1: Input: "bbbab" Output: 4 One possible longest palindromic subsequence is "bbbb". Example 2: Input: "cbbd" Output: 2 One possible longest palindromic subsequence is "bb". Solution: 1. Recursion 2. Recursion + Memo 3. 2D DP dp[i][j]: the length of LPS in s[i:j+1] dp[i][j] = 1, if i == j = dp[i+1][j-1] + 2, if s[i] == s[j] and i < j - 1 = max(dp[i-1][j], dp[i][j-1]) , if s[i] != s[j] and i < j - 1 """ class Solution: def longest_palindrome_subseq(self, s: str) -> int: return self.lps(0, len(s) - 1, s) def lps(self, l, r, s): if l == r: return 1 elif l > r: return 0 elif s[l] == s[r]: return 2 + self.lps(l + 1, r - 1, s) else: return max(self.lps(l + 1, r, s), self.lps(l, r - 1, s)) class Solution: def longest_palindrome_subseq(self, s: str) -> int: self.memo = [[0 for _ in range(len(s))] for _ in range(len(s))] return self.lps(0, len(s) - 1, s) def lps(self, l, r, s): if l == r: return 1 if l > r: return 0 if self.memo[l][r] != 0: return self.memo[l][r] else: if s[l] == s[r]: self.memo[l][r] = 2 + self.lps(l + 1, r - 1, s) else: self.memo[l][r] = max(self.lps(l + 1, r, s), self.lps(l, r - 1, s)) return self.memo[l][r] class Solution: def longest_palindrome_subseq(self, s: str) -> int: l = len(s) dp = [[1 for _ in range(l)] for _ in range(l)] for i in range(l - 1): if s[i] == s[i + 1]: dp[i][i + 1] = 2 for ll in range(2, l): for i in range(l - ll): j = i + ll if s[i] == s[j]: dp[i][j] = dp[i + 1][j - 1] + 2 else: dp[i][j] = max(dp[i + 1][j], dp[i][j - 1]) return dp[0][l - 1] class Solution: def longest_palindrome_subseq(self, s: str) -> int: l = len(s) (first, second, third) = ([1 for _ in range(l)], [1 for _ in range(l)], [1 for _ in range(l)]) for i in range(l - 1): if s[i] == s[i + 1]: second[i] = 2 for ll in range(2, l): for i in range(l - ll): j = i + ll if s[i] == s[j]: third[i] = first[i + 1] + 2 else: third[i] = max(second[i], second[i + 1]) first = second[:] second = third[:] if l == 0: return 0 elif l == 1: return first[0] elif l == 2: return second[0] else: return third[0]
class Solution(object): def topKFrequent(self, words, k): """ :type words: List[str] :type k: int :rtype: List[str] """ counter = collections.Counter(words) return [key for _, key in heapq.nsmallest(k, [(-cnt, key) for key, cnt in counter.items()])]
class Solution(object): def top_k_frequent(self, words, k): """ :type words: List[str] :type k: int :rtype: List[str] """ counter = collections.Counter(words) return [key for (_, key) in heapq.nsmallest(k, [(-cnt, key) for (key, cnt) in counter.items()])]
# This function gives number of notes required and remining in the database def number_of_notes(amount, c_value): global atm_amount multipal = amount // int(c_value) x = denomination[c_value] - multipal y = x + multipal updated_multi = None for i in range(multipal): if y >= 0 and denomination[c_value] > 0: denomination[c_value] = denomination[c_value] - 1 if updated_multi == None: updated_multi = 1 else: updated_multi += 1 atm_amount = atm_amount - int(c_value) updated_amount = amount - updated_multi * int(c_value) print(f""" | | | | Rs {c_value} {(4 - len(str(c_value))) * " "} | {updated_multi} {(8 - len(str(updated_multi))) * " "}| |________________________________________________|_________________|""") return updated_amount def required_amount(amount): global atm_amount if amount // 2000 != 0 and denomination['2000'] > 0: updated_amount = number_of_notes(amount, "2000") elif amount // 500 != 0 and denomination['500'] > 0: updated_amount = number_of_notes(amount, "500") elif amount // 200 != 0 and denomination['200'] > 0: updated_amount = number_of_notes(amount, "200") elif amount // 100 != 0 and denomination['100'] > 0: updated_amount = number_of_notes(amount, "100") else: print('Entered Amount Is Out Of Range') return updated_amount def home(profile): global atm_amount global atm_amount_copy while True: print(F""" ======================================================================================== __________________________________________________________________ | | | WelCome To Our ATM | |__________________________________________________________________|""") if profile == 'admin': step1 = int(input(""" __________________________________________________________________ | | | Do you want to continue | | 1) Balance Inquiry | | 2) Add Money | |__________________________________________________________________| Enter The Option Number : """)) if step1 == 1: print(f""" __________________________________________________________________ | | | Remaining Rupee Notes In ATM | |__________________________________________________________________| | | | | Rs 2000 Rupee Notes | {denomination['2000']} {(10 - len(str(denomination['2000']))) * " "} | | Rs 500 Rupee Notes | {denomination['500']} {(10 - len(str(denomination['500']))) * " "} | | Rs 200 Rupee Notes | {denomination['200']} {(10 - len(str(denomination['200']))) * " "} | | Rs 100 Rupee Notes | {denomination['100']} {(10 - len(str(denomination['100']))) * " "} | |_____________________________________________|____________________| | | | | Available Amount in the ATM | Rs {atm_amount} {(10 - len(str(atm_amount))) * " "} | |_____________________________________________|____________________|""") elif step1 == 2: print("\n") added_amount = 0 for currency_value in smallest_denomination: amount_value = int(input(f" Number of {currency_value}'s : ")) denomination[str(currency_value)] += amount_value added_amount += (amount_value * currency_value) atm_amount = (denomination['2000']*2000 + denomination['500']*500 + denomination['200']*200 + denomination['100']*100) atm_amount_copy = len(str(atm_amount)) print(f""" __________________________________________________________________ | | | | Amount Added In ATM | Rs {added_amount} {(10 - len(str(added_amount))) * " "} | |__________________________________________|_______________________|""") if profile == 'user': try : user_amount = int(input(f""" __________________________________________________________________ | | | Please Enter Amount in Multiples Of Rs 100, 200, 500, 2000 Only | |__________________________________________________________________| Enter Withdrawal Amount : Rs """)) except ValueError: user_amount = int(input(""" __________________________________________________________________ | | | Note : Please Enter Amount in Numbers Only | |__________________________________________________________________| Enter Withdrawal Amount : Rs """)) updated_amount = user_amount if user_amount % 100 == 0 and (atm_amount - user_amount + smallest_denomination[0]) >= smallest_denomination[0]: print(f""" __________________________________________________________________ | | | | Withdrawal Amount | Rs {user_amount} {(10 - len(str(user_amount))) * " "} | |__________________________________________|_______________________|""") print(""" __________________________________________________________________ | | | | Value Of Note | Number Of Notes | |________________________________________________|_________________|""") while updated_amount != 0: updated_amount = required_amount(updated_amount) elif (atm_amount - user_amount) < smallest_denomination[0] and atm_amount != 0: print(""" __________________________________________________________________ | | | Entered Amount Is More Then ATM Balance | |__________________________________________________________________| """) elif atm_amount == 0: print(""" __________________________________________________________________ | | | ATM Machine Is Empty. Please Try Again Later :) | |__________________________________________________________________|""") else : print(""" __________________________________________________________________ | | | Please Enter Amount in Multiples Of Rs 100, 200, 500, 2000 Only | |__________________________________________________________________|""") continue_msg = int(input(""" __________________________________________________________________ | | | Do you want to continue | | 1) Yes | | 2) No | |__________________________________________________________________| Enter The Option Number : """)) if continue_msg == 1 : continue else: print(""" __________________________________________________________________ | | | | | | | | | THANK YOU | | | | | | | |__________________________________________________________________|""") break ###################################################################################################### # Using pyhton dictionary for future database updation like json (NoSQL Database) denomination = { '2000': 10, # 5 notes of 2000 '500': 10, # 5 notes of 500 '200': 10, # 5 notes of 200 '100': 10 # 5 notes of 100 } atm_amount = 28000 # ATM Balence atm_amount_copy = len(str(atm_amount)) user_db = { 'admins': [{ 'id' : 1, 'name' : 'admin', 'password' : "12345" }], 'users' : [{ 'id' : 1, 'name' : 'ritik', 'password' : "67890", 'amount' : 20000 }] } smallest_denomination = [2000,500,200,100] #Taking the smallest no of denomination inside the ATM smallest_denomination.sort() updated_amount = None while True: start = int(input(""" __________________________________________________________________ | | | 1) Sign In | | 2) Exit | |__________________________________________________________________| Enter The Option Number : """)) if start == 1 : user_profile = input("\n User Profile (ex : 'Admin' or 'User') : ") if user_profile.lower() == "admin": admin_name = input("\n Admin Name : ") admin_password = input(" Password : ") if (admin_name == user_db['admins'][0]['name'] and admin_password == user_db['admins'][0]['password']): print(""" __________________________________________________________________ | | | Admin Access Granted | |__________________________________________________________________|""") home('admin') else : print(""" __________________________________________________________________ | | | Invalid Username or Password | |__________________________________________________________________|""") elif user_profile.lower() == "user": user_name = input("\n User Name : ") user_password = input(" Password : ") if (user_name == user_db['users'][0]['name'] and user_password == user_db['users'][0]['password']): print(""" __________________________________________________________________ | | | User Access Granted | |__________________________________________________________________|""") home('user') else : print("Invalid Username or Password") else : break elif start == 2: break else : break
def number_of_notes(amount, c_value): global atm_amount multipal = amount // int(c_value) x = denomination[c_value] - multipal y = x + multipal updated_multi = None for i in range(multipal): if y >= 0 and denomination[c_value] > 0: denomination[c_value] = denomination[c_value] - 1 if updated_multi == None: updated_multi = 1 else: updated_multi += 1 atm_amount = atm_amount - int(c_value) updated_amount = amount - updated_multi * int(c_value) print(f" | | |\n | Rs {c_value} {(4 - len(str(c_value))) * ' '} | {updated_multi} {(8 - len(str(updated_multi))) * ' '}|\n |________________________________________________|_________________|") return updated_amount def required_amount(amount): global atm_amount if amount // 2000 != 0 and denomination['2000'] > 0: updated_amount = number_of_notes(amount, '2000') elif amount // 500 != 0 and denomination['500'] > 0: updated_amount = number_of_notes(amount, '500') elif amount // 200 != 0 and denomination['200'] > 0: updated_amount = number_of_notes(amount, '200') elif amount // 100 != 0 and denomination['100'] > 0: updated_amount = number_of_notes(amount, '100') else: print('Entered Amount Is Out Of Range') return updated_amount def home(profile): global atm_amount global atm_amount_copy while True: print(f'\n========================================================================================\n __________________________________________________________________\n | |\n | WelCome To Our ATM |\n |__________________________________________________________________|') if profile == 'admin': step1 = int(input('\n __________________________________________________________________\n | |\n | Do you want to continue |\n | 1) Balance Inquiry |\n | 2) Add Money | \n |__________________________________________________________________|\n\n Enter The Option Number : ')) if step1 == 1: print(f" \n __________________________________________________________________\n | |\n | Remaining Rupee Notes In ATM |\n |__________________________________________________________________|\n | | |\n | Rs 2000 Rupee Notes | {denomination['2000']} {(10 - len(str(denomination['2000']))) * ' '} |\n | Rs 500 Rupee Notes | {denomination['500']} {(10 - len(str(denomination['500']))) * ' '} |\n | Rs 200 Rupee Notes | {denomination['200']} {(10 - len(str(denomination['200']))) * ' '} |\n | Rs 100 Rupee Notes | {denomination['100']} {(10 - len(str(denomination['100']))) * ' '} |\n |_____________________________________________|____________________|\n | | | \n | Available Amount in the ATM | Rs {atm_amount} {(10 - len(str(atm_amount))) * ' '} |\n |_____________________________________________|____________________|") elif step1 == 2: print('\n') added_amount = 0 for currency_value in smallest_denomination: amount_value = int(input(f" Number of {currency_value}'s : ")) denomination[str(currency_value)] += amount_value added_amount += amount_value * currency_value atm_amount = denomination['2000'] * 2000 + denomination['500'] * 500 + denomination['200'] * 200 + denomination['100'] * 100 atm_amount_copy = len(str(atm_amount)) print(f" \n __________________________________________________________________\n | | | \n | Amount Added In ATM | Rs {added_amount} {(10 - len(str(added_amount))) * ' '} | \n |__________________________________________|_______________________|") if profile == 'user': try: user_amount = int(input(f'\n __________________________________________________________________\n | | \n | Please Enter Amount in Multiples Of Rs 100, 200, 500, 2000 Only |\n |__________________________________________________________________|\n \n Enter Withdrawal Amount : Rs ')) except ValueError: user_amount = int(input('\n __________________________________________________________________\n | |\n | Note : Please Enter Amount in Numbers Only |\n |__________________________________________________________________|\n \n Enter Withdrawal Amount : Rs ')) updated_amount = user_amount if user_amount % 100 == 0 and atm_amount - user_amount + smallest_denomination[0] >= smallest_denomination[0]: print(f" \n __________________________________________________________________\n | | | \n | Withdrawal Amount | Rs {user_amount} {(10 - len(str(user_amount))) * ' '} | \n |__________________________________________|_______________________|") print('\n __________________________________________________________________\n | | |\n | Value Of Note | Number Of Notes |\n |________________________________________________|_________________|') while updated_amount != 0: updated_amount = required_amount(updated_amount) elif atm_amount - user_amount < smallest_denomination[0] and atm_amount != 0: print('\n __________________________________________________________________\n | |\n | Entered Amount Is More Then ATM Balance |\n |__________________________________________________________________|\n ') elif atm_amount == 0: print('\n __________________________________________________________________\n | |\n | ATM Machine Is Empty. Please Try Again Later :) |\n |__________________________________________________________________|') else: print('\n __________________________________________________________________\n | |\n | Please Enter Amount in Multiples Of Rs 100, 200, 500, 2000 Only |\n |__________________________________________________________________|') continue_msg = int(input('\n __________________________________________________________________\n | |\n | Do you want to continue |\n | 1) Yes |\n | 2) No | \n |__________________________________________________________________|\n\n Enter The Option Number : ')) if continue_msg == 1: continue else: print('\n __________________________________________________________________\n | |\n | |\n | |\n | |\n | THANK YOU |\n | |\n | |\n | |\n |__________________________________________________________________|') break denomination = {'2000': 10, '500': 10, '200': 10, '100': 10} atm_amount = 28000 atm_amount_copy = len(str(atm_amount)) user_db = {'admins': [{'id': 1, 'name': 'admin', 'password': '12345'}], 'users': [{'id': 1, 'name': 'ritik', 'password': '67890', 'amount': 20000}]} smallest_denomination = [2000, 500, 200, 100] smallest_denomination.sort() updated_amount = None while True: start = int(input('\n __________________________________________________________________\n | |\n | 1) Sign In |\n | 2) Exit | \n |__________________________________________________________________|\n\n Enter The Option Number : ')) if start == 1: user_profile = input("\n User Profile (ex : 'Admin' or 'User') : ") if user_profile.lower() == 'admin': admin_name = input('\n Admin Name : ') admin_password = input(' Password : ') if admin_name == user_db['admins'][0]['name'] and admin_password == user_db['admins'][0]['password']: print('\n __________________________________________________________________\n | |\n | Admin Access Granted |\n |__________________________________________________________________|') home('admin') else: print('\n __________________________________________________________________\n | |\n | Invalid Username or Password |\n |__________________________________________________________________|') elif user_profile.lower() == 'user': user_name = input('\n User Name : ') user_password = input(' Password : ') if user_name == user_db['users'][0]['name'] and user_password == user_db['users'][0]['password']: print('\n __________________________________________________________________\n | |\n | User Access Granted |\n |__________________________________________________________________|') home('user') else: print('Invalid Username or Password') else: break elif start == 2: break else: break
modules = dict() def register(module_name): def decorate_action(func): if module_name in modules: modules[module_name][func.__name__] = func else: modules[module_name] = dict() modules[module_name][func.__name__] = func return func return decorate_action
modules = dict() def register(module_name): def decorate_action(func): if module_name in modules: modules[module_name][func.__name__] = func else: modules[module_name] = dict() modules[module_name][func.__name__] = func return func return decorate_action
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: hussein """ if distance > 0.2: with open('robot1.csv', 'a', newline='') as f: fieldnames = ['Data_X', 'Data_Y', 'Label_X', 'Label_Y'] thewriter = csv.DictWriter(f, fieldnames=fieldnames) if self.i1 == 0: thewriter.writeheader() self.i1 = 1 thewriter.writerow({'Data_X' : self.X1, 'Data_Y' : self.Y1, 'Label_X' : self.U1[0], 'Label_Y' : self.U1[1]}) with open('robot2.csv', 'a', newline='') as f: fieldnames = ['Data_X', 'Data_Y', 'Label_X', 'Label_Y'] thewriter = csv.DictWriter(f, fieldnames=fieldnames) if self.i2 == 0: thewriter.writeheader() self.i2 = 1 thewriter.writerow({'Data_X' : self.X2, 'Data_Y' : self.Y2, 'Label_X' : self.U2[0], 'Label_Y' : self.U2[1]})
""" @author: hussein """ if distance > 0.2: with open('robot1.csv', 'a', newline='') as f: fieldnames = ['Data_X', 'Data_Y', 'Label_X', 'Label_Y'] thewriter = csv.DictWriter(f, fieldnames=fieldnames) if self.i1 == 0: thewriter.writeheader() self.i1 = 1 thewriter.writerow({'Data_X': self.X1, 'Data_Y': self.Y1, 'Label_X': self.U1[0], 'Label_Y': self.U1[1]}) with open('robot2.csv', 'a', newline='') as f: fieldnames = ['Data_X', 'Data_Y', 'Label_X', 'Label_Y'] thewriter = csv.DictWriter(f, fieldnames=fieldnames) if self.i2 == 0: thewriter.writeheader() self.i2 = 1 thewriter.writerow({'Data_X': self.X2, 'Data_Y': self.Y2, 'Label_X': self.U2[0], 'Label_Y': self.U2[1]})
class Solution: def generateParenthesis(self, n: int) -> List[str]: res = [] self.helper(res, '', n, n) return res def helper(self, res, tempList, left, right): if left > right: return if left == 0 and right == 0: res.append(tempList) if left>0: self.helper(res,tempList+'(', left-1,right) if right>0: self.helper(res, tempList+')', left, right-1)
class Solution: def generate_parenthesis(self, n: int) -> List[str]: res = [] self.helper(res, '', n, n) return res def helper(self, res, tempList, left, right): if left > right: return if left == 0 and right == 0: res.append(tempList) if left > 0: self.helper(res, tempList + '(', left - 1, right) if right > 0: self.helper(res, tempList + ')', left, right - 1)
#!/usr/bin/python # #Stores the configuration information that will be used across entire project # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU 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 General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. WATCH_FOLDER='/mnt/cluster-programs/watch-folder' CONVERSION_TYPES=['iPod-LQ','iPod-HQ','Movie-Archive','Movie-LQ','TV-Show-Archive','TV-Show-LQ'] JOB_FOLDER='/mnt/cluster-programs/handbrake/jobs/' BASE_DIR='/mnt/cluster-programs/handbrake/' FTP_PORT=2010 MESSAGE_SERVER='Chiana' VHOST='cluster' MESSAGE_USERID='cluster-admin' MESSAGE_PWD='1234' EXCHANGE='handbrake' JOB_QUEUE='job-queue' SERVER_COMM_QUEUE='server-queue' SERVER_COMM_WRITER=dict(server=MESSAGE_SERVER, vhost=VHOST, \ userid=MESSAGE_USERID, password=MESSAGE_PWD, \ exchange=EXCHANGE, exchange_type='direct', \ routing_key=SERVER_COMM_QUEUE, exchange_auto_delete=False, \ queue_durable=True, queue_auto_delete=False) STATUS_WRITER=dict(server=MESSAGE_SERVER, vhost=VHOST, \ userid=MESSAGE_USERID, password=MESSAGE_PWD, \ exchange=EXCHANGE, exchange_type='direct', \ routing_key='status-updates', exchange_auto_delete=False, \ queue_durable=True, queue_auto_delete=False)
watch_folder = '/mnt/cluster-programs/watch-folder' conversion_types = ['iPod-LQ', 'iPod-HQ', 'Movie-Archive', 'Movie-LQ', 'TV-Show-Archive', 'TV-Show-LQ'] job_folder = '/mnt/cluster-programs/handbrake/jobs/' base_dir = '/mnt/cluster-programs/handbrake/' ftp_port = 2010 message_server = 'Chiana' vhost = 'cluster' message_userid = 'cluster-admin' message_pwd = '1234' exchange = 'handbrake' job_queue = 'job-queue' server_comm_queue = 'server-queue' server_comm_writer = dict(server=MESSAGE_SERVER, vhost=VHOST, userid=MESSAGE_USERID, password=MESSAGE_PWD, exchange=EXCHANGE, exchange_type='direct', routing_key=SERVER_COMM_QUEUE, exchange_auto_delete=False, queue_durable=True, queue_auto_delete=False) status_writer = dict(server=MESSAGE_SERVER, vhost=VHOST, userid=MESSAGE_USERID, password=MESSAGE_PWD, exchange=EXCHANGE, exchange_type='direct', routing_key='status-updates', exchange_auto_delete=False, queue_durable=True, queue_auto_delete=False)
class Solution: def validateStackSequences(self, pushed: List[int], popped: List[int]) -> bool: output = [] push = 0 pop = 0 while push < len(pushed) or pop < len(popped): if len(output) != 0 and pop < len(popped) and output[-1] == popped[pop]: output.pop() pop += 1 elif push < len(pushed): output.append(pushed[push]) push += 1 else: return False return push == len(pushed) and pop == len(popped)
class Solution: def validate_stack_sequences(self, pushed: List[int], popped: List[int]) -> bool: output = [] push = 0 pop = 0 while push < len(pushed) or pop < len(popped): if len(output) != 0 and pop < len(popped) and (output[-1] == popped[pop]): output.pop() pop += 1 elif push < len(pushed): output.append(pushed[push]) push += 1 else: return False return push == len(pushed) and pop == len(popped)
#!/usr/bin/env python """ Convenience methods for list comparison & manipulation Fast and useful, set/frozenset* only retain unique values, duplicates are automatically removed. lr_union union merge values, remove duplicates lr_diff difference left elements, subtracting any in common with right lr_intr intersection only common values found in both left and right lr_symm symmetric_difference omit values found in both left and right lr_cont issuperset test left contains all values from right * Unlike set, frozenset preserves its own order and is immutable. They do not preserve the source-order. """ lr_union = lambda l, r: list(set(l).union(r)) lr_diff = lambda l, r: list(set(l).difference(r)) lr_intr = lambda l, r: list(set(l).intersection(r)) lr_symm = lambda l, r: list(set(l).symmetric_difference(r)) lr_cont = lambda l, r: set(l).issuperset(r) def tests(): """ doctest tests/examples for set and set conveniences A few examples without the conveniences above. Strings are a form of list, they can be passed where apropriate >>> set('aabbcc') # only unique are returned set(['a', 'c', 'b']) Do the work and cast as list (switch to tuple if prefered) >>> list(set('aabbcc')) ['a', 'c', 'b'] Using list does not remove duplicates >>> list('aabbcc') # list is not unique ['a', 'a', 'b', 'b', 'c', 'c'] Simple join of lists, note the redundant values >>> ['a', 'a', 'b'] + ['b', 'c', 'c'] ['a', 'a', 'b', 'b', 'c', 'c'] Join both lists, return only unique values, join list before set (slower) >>> list(set(['a', 'a', 'b'] + ['b', 'c', 'c'])) ['a', 'c', 'b'] Join lists, as above, using built-in set library (faster) >>> lr_union(['a', 'a', 'b'], ['b', 'c', 'c']) ['a', 'c', 'b'] Remove right values from left >>> lr_diff(['a', 'b'], ['b', 'c']) ['a'] Remove as above, swapped/reordered inputs to remove left from right >>> lr_diff(['b', 'c'], ['a', 'b']) ['c'] Common elements >>> lr_intr(['a', 'b'], ['b', 'c']) ['b'] Unique elements (remove the common, intersecting, values) Note: similar to left-right + right-left. >>> lr_symm(['a', 'b'], ['b', 'c']) ['a', 'c'] Is left a superset of (does it contain) the right >>> lr_cont(['a', 'b'], ['b', 'c']) False >>> lr_cont(['a', 'b', 'c'], ['b', 'c']) True Marginally less trite examples using words >>> lwords = 'the quick brown fox'.split() >>> rtags = 'brown,fox,jumps,over'.split(',') Return all unique words from both lists. >>> lr_union(lwords,rtags) ['brown', 'over', 'fox', 'quick', 'the', 'jumps'] Return unique common, intersecting, words. Members of left AND right only. >>> lr_intr(lwords,rtags) ['brown', 'fox'] Return unique uncommon words. Members of left OR right >>> lr_symm(lwords,rtags) ['quick', 'the', 'jumps', 'over'] Note: intersection + symmetric = union, but don't count on their order! """
""" Convenience methods for list comparison & manipulation Fast and useful, set/frozenset* only retain unique values, duplicates are automatically removed. lr_union union merge values, remove duplicates lr_diff difference left elements, subtracting any in common with right lr_intr intersection only common values found in both left and right lr_symm symmetric_difference omit values found in both left and right lr_cont issuperset test left contains all values from right * Unlike set, frozenset preserves its own order and is immutable. They do not preserve the source-order. """ lr_union = lambda l, r: list(set(l).union(r)) lr_diff = lambda l, r: list(set(l).difference(r)) lr_intr = lambda l, r: list(set(l).intersection(r)) lr_symm = lambda l, r: list(set(l).symmetric_difference(r)) lr_cont = lambda l, r: set(l).issuperset(r) def tests(): """ doctest tests/examples for set and set conveniences A few examples without the conveniences above. Strings are a form of list, they can be passed where apropriate >>> set('aabbcc') # only unique are returned set(['a', 'c', 'b']) Do the work and cast as list (switch to tuple if prefered) >>> list(set('aabbcc')) ['a', 'c', 'b'] Using list does not remove duplicates >>> list('aabbcc') # list is not unique ['a', 'a', 'b', 'b', 'c', 'c'] Simple join of lists, note the redundant values >>> ['a', 'a', 'b'] + ['b', 'c', 'c'] ['a', 'a', 'b', 'b', 'c', 'c'] Join both lists, return only unique values, join list before set (slower) >>> list(set(['a', 'a', 'b'] + ['b', 'c', 'c'])) ['a', 'c', 'b'] Join lists, as above, using built-in set library (faster) >>> lr_union(['a', 'a', 'b'], ['b', 'c', 'c']) ['a', 'c', 'b'] Remove right values from left >>> lr_diff(['a', 'b'], ['b', 'c']) ['a'] Remove as above, swapped/reordered inputs to remove left from right >>> lr_diff(['b', 'c'], ['a', 'b']) ['c'] Common elements >>> lr_intr(['a', 'b'], ['b', 'c']) ['b'] Unique elements (remove the common, intersecting, values) Note: similar to left-right + right-left. >>> lr_symm(['a', 'b'], ['b', 'c']) ['a', 'c'] Is left a superset of (does it contain) the right >>> lr_cont(['a', 'b'], ['b', 'c']) False >>> lr_cont(['a', 'b', 'c'], ['b', 'c']) True Marginally less trite examples using words >>> lwords = 'the quick brown fox'.split() >>> rtags = 'brown,fox,jumps,over'.split(',') Return all unique words from both lists. >>> lr_union(lwords,rtags) ['brown', 'over', 'fox', 'quick', 'the', 'jumps'] Return unique common, intersecting, words. Members of left AND right only. >>> lr_intr(lwords,rtags) ['brown', 'fox'] Return unique uncommon words. Members of left OR right >>> lr_symm(lwords,rtags) ['quick', 'the', 'jumps', 'over'] Note: intersection + symmetric = union, but don't count on their order! """
PET_LEVELS = [ 100, 110, 120, 130, 145, 160, 175, 190, 210, 230, 250, 275, 300, 330, 360, 400, 440, 490, 540, 600, 660, 730, 800, 880, 960, 1050, 1150, 1260, 1380, 1510, 1650, 1800, 1960, 2130, 2310, 2500, 2700, 2920, 3160, 3420, 3700, 4000, 4350, 4750, 5200, 5700, 6300, 7000, 7800, 8700, 9700, 10800, 12000, 13300, 14700, 16200, 17800, 19500, 21300, 23200, 25200, 27400, 29800, 32400, 35200, 38200, 41400, 44800, 48400, 52200, 56200, 60400, 64800, 69400, 74200, 79200, 84700, 90700, 97200, 104200, 111700, 119700, 128200, 137200, 146700, 156700, 167700, 179700, 192700, 206700, 221700, 237700, 254700, 272700, 291700, 311700, 333700, 357700, 383700, 411700, 441700, 476700, 516700, 561700, 611700, 666700, 726700, 791700, 861700, 936700, 1016700, 1101700, 1191700, 1286700, 1386700, 1496700, 1616700, 1746700, 1886700 ]
pet_levels = [100, 110, 120, 130, 145, 160, 175, 190, 210, 230, 250, 275, 300, 330, 360, 400, 440, 490, 540, 600, 660, 730, 800, 880, 960, 1050, 1150, 1260, 1380, 1510, 1650, 1800, 1960, 2130, 2310, 2500, 2700, 2920, 3160, 3420, 3700, 4000, 4350, 4750, 5200, 5700, 6300, 7000, 7800, 8700, 9700, 10800, 12000, 13300, 14700, 16200, 17800, 19500, 21300, 23200, 25200, 27400, 29800, 32400, 35200, 38200, 41400, 44800, 48400, 52200, 56200, 60400, 64800, 69400, 74200, 79200, 84700, 90700, 97200, 104200, 111700, 119700, 128200, 137200, 146700, 156700, 167700, 179700, 192700, 206700, 221700, 237700, 254700, 272700, 291700, 311700, 333700, 357700, 383700, 411700, 441700, 476700, 516700, 561700, 611700, 666700, 726700, 791700, 861700, 936700, 1016700, 1101700, 1191700, 1286700, 1386700, 1496700, 1616700, 1746700, 1886700]
def sortarray(arr): total_len = len(arr) if total_len == 0 or total_len == 1: return 0 sorted_array = sorted(arr) ptr1 = 0 ptr2 = 0 counter = 0 idx = 0 while idx < total_len: if sorted_array[ptr1] == arr[ptr2]: ptr1 = ptr1 +1 counter = counter + 1 ptr2 = ptr2 + 1 idx = idx +1 return (total_len - counter) print(sortarray([1,3,2]))
def sortarray(arr): total_len = len(arr) if total_len == 0 or total_len == 1: return 0 sorted_array = sorted(arr) ptr1 = 0 ptr2 = 0 counter = 0 idx = 0 while idx < total_len: if sorted_array[ptr1] == arr[ptr2]: ptr1 = ptr1 + 1 counter = counter + 1 ptr2 = ptr2 + 1 idx = idx + 1 return total_len - counter print(sortarray([1, 3, 2]))
#!/usr/bin/env python3 class MyRange: def __init__(self, start, end=None, step=1): if step == 0: raise if end == None: start, end = 0, start self._start = start self._end = end self._step = step self._pointer = start def __getitem__(self, key): res = self._start + self._step * key if self._step > 0: if res >= self._end: raise StopIteration else: if res <= self._end: raise StopIteration return res def __iter__(self): self._pointer = self._start return self def __next__(self): if self._step > 0: self._pointer += self._step if self._pointer >= self._end: raise StopIteration else: self._pointer += self._step if self._pointer <= self._end: raise StopIteration return self._pointer if __name__ == '__main__': for i in MyRange(10): print('range(10):', i) t = MyRange(1, -11, -2) for i in t: print('range(1, -11, -2):', i) for i in t: print('range(1, -11, -2) again:', i) # sol #1: using __getitem__ # sol #2: using __next__ && __iter__
class Myrange: def __init__(self, start, end=None, step=1): if step == 0: raise if end == None: (start, end) = (0, start) self._start = start self._end = end self._step = step self._pointer = start def __getitem__(self, key): res = self._start + self._step * key if self._step > 0: if res >= self._end: raise StopIteration elif res <= self._end: raise StopIteration return res def __iter__(self): self._pointer = self._start return self def __next__(self): if self._step > 0: self._pointer += self._step if self._pointer >= self._end: raise StopIteration else: self._pointer += self._step if self._pointer <= self._end: raise StopIteration return self._pointer if __name__ == '__main__': for i in my_range(10): print('range(10):', i) t = my_range(1, -11, -2) for i in t: print('range(1, -11, -2):', i) for i in t: print('range(1, -11, -2) again:', i)
N, K, S = map(int, input().split()) if S == 1: const = S + 1 else: const = S - 1 ans = [] for i in range(N): if i < K: ans.append(S) else: ans.append(const) print(*ans)
(n, k, s) = map(int, input().split()) if S == 1: const = S + 1 else: const = S - 1 ans = [] for i in range(N): if i < K: ans.append(S) else: ans.append(const) print(*ans)
def reverse_list(x): """Takes an list and returns the reverse of it. If x is empty, return []. >>> reverse_list([1, 2, 3, 4]) [4, 3, 2, 1] >>> reverse_list([]) [] """ return x[::-1] def sum_list(x): """Takes a list, and returns the sum of that list. If x is empty list, return 0. >>> sum_list([1, 2, 3, 4]) 10 >>> sum_list([]) 0 """ return sum(x) def head_of_list(x): """Takes a list, returns the first item in that list. If x is empty, return None >>> head_of_list([1, 2, 3, 4]) 1 >>> head_of_list([]) is None True """ return x[0] if x else None
def reverse_list(x): """Takes an list and returns the reverse of it. If x is empty, return []. >>> reverse_list([1, 2, 3, 4]) [4, 3, 2, 1] >>> reverse_list([]) [] """ return x[::-1] def sum_list(x): """Takes a list, and returns the sum of that list. If x is empty list, return 0. >>> sum_list([1, 2, 3, 4]) 10 >>> sum_list([]) 0 """ return sum(x) def head_of_list(x): """Takes a list, returns the first item in that list. If x is empty, return None >>> head_of_list([1, 2, 3, 4]) 1 >>> head_of_list([]) is None True """ return x[0] if x else None
num = int(input('Digite um numero : ')) tot=0 for c in range(1,num + 1): if num % c == 0 : print(' {} '.format(c)) tot +=1 else: print('{} '.format(c))
num = int(input('Digite um numero : ')) tot = 0 for c in range(1, num + 1): if num % c == 0: print(' {} '.format(c)) tot += 1 else: print('{} '.format(c))
def nb_year(p0, percent, aug, p): count = 0 while p0 < p: pop = p0 + p0 * (percent/100) + aug p0 = pop ###this is kinda gross...should have just done something like### ### p0 += p0 * percent/100 + aug #### count += 1 return count
def nb_year(p0, percent, aug, p): count = 0 while p0 < p: pop = p0 + p0 * (percent / 100) + aug p0 = pop count += 1 return count
########################################################################### # # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ########################################################################### DCM_Field_Lookup = { 'Video_Unmutes': 'INTEGER', 'Zip_Postal_Code': 'STRING', 'Path_Length': 'INTEGER', 'Measurable_Impressions_For_Audio': 'INTEGER', 'Average_Interaction_Time': 'FLOAT', 'Invalid_Impressions': 'INTEGER', 'Floodlight_Variable_40': 'STRING', 'Floodlight_Variable_41': 'STRING', 'Floodlight_Variable_42': 'STRING', 'Floodlight_Variable_43': 'STRING', 'Floodlight_Variable_44': 'STRING', 'Floodlight_Variable_45': 'STRING', 'Floodlight_Variable_46': 'STRING', 'Floodlight_Variable_47': 'STRING', 'Floodlight_Variable_48': 'STRING', 'Floodlight_Variable_49': 'STRING', 'Clicks': 'INTEGER', 'Warnings': 'INTEGER', 'Paid_Search_Advertiser_Id': 'INTEGER', 'Video_Third_Quartile_Completions': 'INTEGER', 'Video_Progress_Events': 'INTEGER', 'Cost_Per_Revenue': 'FLOAT', 'Total_Interaction_Time': 'INTEGER', 'Roadblock_Impressions': 'INTEGER', 'Video_Replays': 'INTEGER', 'Keyword': 'STRING', 'Full_Screen_Video_Plays': 'INTEGER', 'Active_View_Impression_Distribution_Not_Measurable': 'FLOAT', 'Unique_Reach_Total_Reach': 'INTEGER', 'Has_Exits': 'BOOLEAN', 'Paid_Search_Engine_Account': 'STRING', 'Operating_System_Version': 'STRING', 'Campaign': 'STRING', 'Active_View_Percent_Visible_At_Start': 'FLOAT', 'Active_View_Not_Viewable_Impressions': 'INTEGER', 'Twitter_Offers_Accepted': 'INTEGER', 'Interaction_Type': 'STRING', 'Activity_Delivery_Status': 'FLOAT', 'Video_Companion_Clicks': 'INTEGER', 'Floodlight_Paid_Search_Average_Cost_Per_Transaction': 'FLOAT', 'Paid_Search_Agency_Id': 'INTEGER', 'Asset': 'STRING', 'Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_15_Sec_Cap_Impressions': 'INTEGER', 'User_List_Current_Size': 'STRING', 'Exit_Url': 'STRING', 'Natural_Search_Revenue': 'FLOAT', 'Retweets': 'INTEGER', 'Full_Screen_Impressions': 'INTEGER', 'Audio_Unmutes': 'INTEGER', 'Dynamic_Element_4_Field_Value_2': 'STRING', 'Dynamic_Element_4_Field_Value_3': 'STRING', 'Dynamic_Element_4_Field_Value_1': 'STRING', 'Creative_Start_Date': 'DATE', 'Small_Video_Player_Size_Impressions': 'INTEGER', 'Audio_Replays': 'INTEGER', 'Video_Player_Size_Avg_Width': 'INTEGER', 'Rich_Media_Standard_Event_Count': 'INTEGER', 'Publisher_Problems': 'INTEGER', 'Paid_Search_Advertiser': 'STRING', 'Has_Video_Completions': 'BOOLEAN', 'Cookie_Reach_Duplicate_Impression_Reach': 'INTEGER', 'Audio_Third_Quartile_Completions': 'INTEGER', 'Package_Roadblock_Strategy': 'STRING', 'Video_Midpoints': 'INTEGER', 'Click_Through_Conversion_Events_Cross_Environment': 'INTEGER', 'Video_Pauses': 'INTEGER', 'Trueview_Views': 'INTEGER', 'Interaction_Count_Mobile_Static_Image': 'INTEGER', 'Dynamic_Element_Click_Rate': 'FLOAT', 'Dynamic_Element_1_Field_6_Value': 'STRING', 'Dynamic_Element_4_Value': 'STRING', 'Creative_End_Date': 'DATE', 'Dynamic_Element_4_Field_3_Value': 'STRING', 'Dynamic_Field_Value_3': 'STRING', 'Mobile_Carrier': 'STRING', 'U_Value': 'STRING', 'Average_Display_Time': 'FLOAT', 'Custom_Variable': 'STRING', 'Video_Interactions': 'INTEGER', 'Average_Expansion_Time': 'FLOAT', 'Email_Shares': 'INTEGER', 'Flight_Booked_Rate': 'STRING', 'Impression_Count': 'INTEGER', 'Site_Id_Dcm': 'INTEGER', 'Dynamic_Element_3_Value_Id': 'STRING', 'Paid_Search_Legacy_Keyword_Id': 'INTEGER', 'View_Through_Conversion_Events_Cross_Environment': 'INTEGER', 'Counters': 'INTEGER', 'Floodlight_Paid_Search_Average_Cost_Per_Action': 'FLOAT', 'Activity_Group_Id': 'INTEGER', 'Active_View_Percent_Audible_And_Visible_At_Midpoint': 'FLOAT', 'Click_Count': 'INTEGER', 'Video_4A_39_S_Ad_Id': 'STRING', 'Total_Interactions': 'INTEGER', 'Active_View_Viewable_Impressions': 'INTEGER', 'Natural_Search_Engine_Property': 'STRING', 'Video_Views': 'INTEGER', 'Domain': 'STRING', 'Total_Conversion_Events_Cross_Environment': 'INTEGER', 'Dbm_Advertiser': 'STRING', 'Companion_Impressions': 'INTEGER', 'View_Through_Conversions_Cross_Environment': 'INTEGER', 'Dynamic_Element_5_Field_Value_3': 'STRING', 'Dynamic_Element_5_Field_Value_2': 'STRING', 'Dynamic_Element_5_Field_Value_1': 'STRING', 'Dynamic_Field_Value_1': 'STRING', 'Active_View_Impression_Distribution_Viewable': 'FLOAT', 'Creative_Field_2': 'STRING', 'Twitter_Leads_Generated': 'INTEGER', 'Paid_Search_External_Campaign_Id': 'INTEGER', 'Creative_Field_8': 'STRING', 'Interaction_Count_Paid_Search': 'INTEGER', 'Activity_Group': 'STRING', 'Video_Player_Location_Avg_Pixels_From_Top': 'INTEGER', 'Interaction_Number': 'INTEGER', 'Dynamic_Element_3_Value': 'STRING', 'Cookie_Reach_Total_Reach': 'INTEGER', 'Cookie_Reach_Exclusive_Click_Reach': 'INTEGER', 'Creative_Field_5': 'STRING', 'Cookie_Reach_Overlap_Impression_Reach': 'INTEGER', 'Paid_Search_Ad_Group': 'STRING', 'Interaction_Count_Rich_Media': 'INTEGER', 'Dynamic_Element_Total_Conversions': 'INTEGER', 'Transaction_Count': 'INTEGER', 'Num_Value': 'STRING', 'Cookie_Reach_Overlap_Total_Reach': 'INTEGER', 'Floodlight_Attribution_Type': 'STRING', 'Cookie_Reach_Exclusive_Impression_Reach_Percent': 'FLOAT', 'Html5_Impressions': 'INTEGER', 'Served_Pixel_Density': 'STRING', 'Has_Full_Screen_Video_Plays': 'BOOLEAN', 'Interaction_Count_Static_Image': 'INTEGER', 'Has_Video_Companion_Clicks': 'BOOLEAN', 'Twitter_Video_100Percent_In_View_For_3_Seconds': 'INTEGER', 'Paid_Search_Ad': 'STRING', 'Paid_Search_Visits': 'INTEGER', 'Audio_Pauses': 'INTEGER', 'Creative_Pixel_Size': 'STRING', 'Flight_Start_Date': 'DATE', 'Active_View_Percent_Of_Third_Quartile_Impressions_Visible': 'FLOAT', 'Natural_Search_Transactions': 'FLOAT', 'Cookie_Reach_Impression_Reach': 'INTEGER', 'Dynamic_Field_Value_4': 'STRING', 'Twitter_Line_Item_Id': 'INTEGER', 'Has_Video_Stops': 'BOOLEAN', 'Active_View_Percent_Audible_And_Visible_At_Completion': 'FLOAT', 'Paid_Search_Labels': 'STRING', 'Twitter_Creative_Type': 'STRING', 'Operating_System': 'STRING', 'Dynamic_Element_3_Field_4_Value': 'STRING', 'Hours_Since_First_Interaction': 'INTEGER', 'Asset_Category': 'STRING', 'Active_View_Measurable_Impressions': 'INTEGER', 'Package_Roadblock': 'STRING', 'Large_Video_Player_Size_Impressions': 'INTEGER', 'Paid_Search_Actions': 'FLOAT', 'Active_View_Percent_Visible_At_Midpoint': 'FLOAT', 'Has_Full_Screen_Views': 'BOOLEAN', 'Backup_Image': 'INTEGER', 'Likes': 'INTEGER', 'Dbm_Line_Item': 'STRING', 'Active_View_Percent_Audible_Impressions': 'FLOAT', 'Flight_Booked_Cost': 'STRING', 'Other_Twitter_Engagements': 'INTEGER', 'Audio_Completions': 'INTEGER', 'Click_Rate': 'FLOAT', 'Cost_Per_Activity': 'FLOAT', 'Dynamic_Element_2_Value': 'STRING', 'Cookie_Reach_Exclusive_Impression_Reach': 'INTEGER', 'Content_Category': 'STRING', 'Twitter_Video_50Percent_In_View_For_2_Seconds': 'INTEGER', 'Total_Revenue_Cross_Environment': 'FLOAT', 'Unique_Reach_Click_Reach': 'INTEGER', 'Has_Video_Replays': 'BOOLEAN', 'Twitter_Creative_Id': 'INTEGER', 'Has_Counters': 'BOOLEAN', 'Dynamic_Element_4_Value_Id': 'STRING', 'Dynamic_Element_4_Field_1_Value': 'STRING', 'Has_Video_Interactions': 'BOOLEAN', 'Video_Player_Size': 'STRING', 'Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_Trueview_Impressions': 'INTEGER', 'Advertiser_Id': 'INTEGER', 'Rich_Media_Clicks': 'INTEGER', 'Floodlight_Variable_59': 'STRING', 'Floodlight_Variable_58': 'STRING', 'Floodlight_Variable_57': 'STRING', 'Floodlight_Variable_56': 'STRING', 'Floodlight_Variable_55': 'STRING', 'Floodlight_Variable_54': 'STRING', 'Floodlight_Variable_53': 'STRING', 'Floodlight_Variable_52': 'STRING', 'Floodlight_Variable_51': 'STRING', 'Floodlight_Variable_50': 'STRING', 'Cookie_Reach_Incremental_Total_Reach': 'INTEGER', 'Playback_Method': 'STRING', 'Has_Interactive_Impressions': 'BOOLEAN', 'Paid_Search_Average_Position': 'FLOAT', 'Floodlight_Variable_96': 'STRING', 'Package_Roadblock_Id': 'INTEGER', 'Recalculated_Attribution_Type': 'STRING', 'Dbm_Advertiser_Id': 'INTEGER', 'Floodlight_Variable_100': 'STRING', 'Cookie_Reach_Exclusive_Total_Reach_Percent': 'FLOAT', 'Active_View_Impression_Distribution_Not_Viewable': 'FLOAT', 'Floodlight_Variable_3': 'STRING', 'Floodlight_Variable_2': 'STRING', 'Floodlight_Variable_1': 'STRING', 'Floodlight_Variable_7': 'STRING', 'Floodlight_Variable_6': 'STRING', 'Floodlight_Variable_5': 'STRING', 'Floodlight_Variable_4': 'STRING', 'Rendering_Id': 'INTEGER', 'Floodlight_Variable_9': 'STRING', 'Floodlight_Variable_8': 'STRING', 'Cookie_Reach_Incremental_Impression_Reach': 'INTEGER', 'Active_View_Percent_Visible_At_Third_Quartile': 'FLOAT', 'Reporting_Problems': 'INTEGER', 'Package_Roadblock_Total_Booked_Units': 'STRING', 'Active_View_Percent_Visible_At_Completion': 'FLOAT', 'Has_Video_Midpoints': 'BOOLEAN', 'Dynamic_Element_4_Field_4_Value': 'STRING', 'Percentage_Of_Measurable_Impressions_For_Video_Player_Location': 'FLOAT', 'Campaign_End_Date': 'DATE', 'Placement_External_Id': 'STRING', 'Cost_Per_Click': 'FLOAT', 'Cookie_Reach_Overlap_Click_Reach_Percent': 'FLOAT', 'Active_View_Percent_Full_Screen': 'FLOAT', 'Hour': 'STRING', 'Click_Through_Revenue': 'FLOAT', 'Video_Skips': 'INTEGER', 'Paid_Search_Click_Rate': 'FLOAT', 'Has_Video_Views': 'BOOLEAN', 'Dbm_Cost_Account_Currency': 'FLOAT', 'Flight_End_Date': 'DATE', 'Has_Video_Plays': 'BOOLEAN', 'Paid_Search_Clicks': 'INTEGER', 'Creative_Field_9': 'STRING', 'Manual_Closes': 'INTEGER', 'Creative_Field_7': 'STRING', 'Creative_Field_6': 'STRING', 'App': 'STRING', 'Creative_Field_4': 'STRING', 'Creative_Field_3': 'STRING', 'Campaign_Start_Date': 'DATE', 'Creative_Field_1': 'STRING', 'Content_Classifier': 'STRING', 'Cookie_Reach_Duplicate_Click_Reach': 'INTEGER', 'Site_Dcm': 'STRING', 'Digital_Content_Label': 'STRING', 'Has_Manual_Closes': 'BOOLEAN', 'Has_Timers': 'BOOLEAN', 'Impressions': 'INTEGER', 'Classified_Impressions': 'INTEGER', 'Dbm_Site_Id': 'INTEGER', 'Dynamic_Element_2_Field_1_Value': 'STRING', 'Floodlight_Variable_72': 'STRING', 'Creative': 'STRING', 'Asset_Orientation': 'STRING', 'Custom_Variable_Count_1': 'INTEGER', 'Video_Stops': 'INTEGER', 'Paid_Search_Ad_Id': 'INTEGER', 'Cookie_Reach_Overlap_Total_Reach_Percent': 'FLOAT', 'Click_Delivery_Status': 'FLOAT', 'Dynamic_Element_Impressions': 'INTEGER', 'Interaction_Count_Click_Tracker': 'INTEGER', 'Placement_Total_Booked_Units': 'STRING', 'Date': 'DATE', 'Twitter_Placement_Type': 'STRING', 'Total_Revenue': 'FLOAT', 'Recalculated_Attributed_Interaction': 'STRING', 'Ad_Type': 'STRING', 'Social_Engagement_Rate': 'FLOAT', 'Dynamic_Element_5_Field_1_Value': 'STRING', 'Dynamic_Profile_Id': 'INTEGER', 'Active_View_Impressions_Visible_10_Seconds': 'INTEGER', 'Interaction_Count_Video': 'INTEGER', 'Dynamic_Element_5_Value': 'STRING', 'Video_Player_Size_Avg_Height': 'INTEGER', 'Creative_Type': 'STRING', 'Campaign_External_Id': 'STRING', 'Dynamic_Element_Click_Through_Conversions': 'INTEGER', 'Conversion_Url': 'STRING', 'Floodlight_Variable_89': 'STRING', 'Floodlight_Variable_84': 'STRING', 'Floodlight_Variable_85': 'STRING', 'Floodlight_Variable_86': 'STRING', 'Floodlight_Variable_87': 'STRING', 'Floodlight_Variable_80': 'STRING', 'Floodlight_Variable_81': 'STRING', 'Floodlight_Variable_82': 'STRING', 'Floodlight_Variable_83': 'STRING', 'Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_Trueview_Measurable_Impressions': 'INTEGER', 'Floodlight_Variable_66': 'STRING', 'Floodlight_Variable_67': 'STRING', 'Floodlight_Variable_64': 'STRING', 'Floodlight_Variable_65': 'STRING', 'Floodlight_Variable_62': 'STRING', 'Floodlight_Variable_63': 'STRING', 'Floodlight_Variable_60': 'STRING', 'Active_View_Eligible_Impressions': 'INTEGER', 'Dynamic_Element_3_Field_Value_1': 'STRING', 'Dynamic_Element_3_Field_Value_3': 'STRING', 'Dynamic_Element_3_Field_Value_2': 'STRING', 'Floodlight_Variable_68': 'STRING', 'Floodlight_Variable_69': 'STRING', 'Floodlight_Variable_13': 'STRING', 'Floodlight_Variable_12': 'STRING', 'Floodlight_Variable_11': 'STRING', 'Floodlight_Variable_10': 'STRING', 'Floodlight_Variable_17': 'STRING', 'Floodlight_Variable_16': 'STRING', 'Floodlight_Variable_15': 'STRING', 'Floodlight_Variable_14': 'STRING', 'Floodlight_Variable_19': 'STRING', 'Floodlight_Variable_18': 'STRING', 'Audience_Targeted': 'STRING', 'Total_Conversions_Cross_Environment': 'INTEGER', 'Interaction_Count_Mobile_Rich_Media': 'INTEGER', 'Active_View_Percent_Viewable_Impressions': 'FLOAT', 'Dynamic_Element_1_Field_1_Value': 'STRING', 'Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_Trueview_Rate': 'FLOAT', 'Has_Video_Skips': 'BOOLEAN', 'Dynamic_Element_5_Field_2_Value': 'STRING', 'Twitter_Buy_Now_Clicks': 'INTEGER', 'Creative_Groups_2': 'STRING', 'Creative_Groups_1': 'STRING', 'Campaign_Id': 'INTEGER', 'Twitter_Campaign_Id': 'INTEGER', 'Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_15_Sec_Cap_Rate': 'FLOAT', 'Dynamic_Element_1_Field_5_Value': 'STRING', 'Paid_Search_Match_Type': 'STRING', 'Activity_Per_Thousand_Impressions': 'FLOAT', 'Has_Expansions': 'BOOLEAN', 'Dbm_Creative_Id': 'INTEGER', 'Active_View_Percent_Audible_And_Visible_At_Start': 'FLOAT', 'Booked_Viewable_Impressions': 'FLOAT', 'Dynamic_Element_1_Field_2_Value': 'STRING', 'Paid_Search_Cost': 'FLOAT', 'Dynamic_Element_5_Field_5_Value': 'STRING', 'Floodlight_Paid_Search_Spend_Per_Transaction_Revenue': 'FLOAT', 'Active_View_Percent_Of_Midpoint_Impressions_Audible_And_Visible': 'FLOAT', 'Dynamic_Element_4': 'STRING', 'Dynamic_Element_5': 'STRING', 'Dynamic_Element_2': 'STRING', 'Click_Through_Conversions': 'FLOAT', 'Dynamic_Element_1': 'STRING', 'Dynamic_Element_4_Field_6_Value': 'STRING', 'Attributed_Event_Platform_Type': 'STRING', 'Audio_Midpoints': 'INTEGER', 'Attributed_Event_Connection_Type': 'STRING', 'Dynamic_Element_1_Value': 'STRING', 'Measurable_Impressions_For_Video_Player_Location': 'INTEGER', 'Audio_Companion_Impressions': 'INTEGER', 'Video_Full_Screen': 'INTEGER', 'Active_View_Percent_Visible_At_First_Quartile': 'FLOAT', 'Companion_Creative': 'STRING', 'Cookie_Reach_Exclusive_Total_Reach': 'INTEGER', 'Audio_Mutes': 'INTEGER', 'Placement_Rate': 'STRING', 'Companion_Clicks': 'INTEGER', 'Cookie_Reach_Overlap_Click_Reach': 'INTEGER', 'Site_Keyname': 'STRING', 'Placement_Cost_Structure': 'STRING', 'Percentage_Of_Measurable_Impressions_For_Audio': 'FLOAT', 'Rich_Media_Custom_Event_Count': 'INTEGER', 'Dbm_Cost_Usd': 'FLOAT', 'Dynamic_Element_1_Field_3_Value': 'STRING', 'Has_Video_Third_Quartile_Completions': 'BOOLEAN', 'Paid_Search_Landing_Page_Url': 'STRING', 'Verifiable_Impressions': 'INTEGER', 'Average_Time': 'FLOAT', 'Creative_Field_12': 'STRING', 'Creative_Field_11': 'STRING', 'Creative_Field_10': 'STRING', 'Channel_Mix': 'STRING', 'Paid_Search_Campaign': 'STRING', 'Natural_Search_Landing_Page': 'STRING', 'Dynamic_Element_1_Field_4_Value': 'STRING', 'Payment_Source': 'STRING', 'Planned_Media_Cost': 'FLOAT', 'Conversion_Referrer': 'STRING', 'Companion_Creative_Id': 'INTEGER', 'Dynamic_Element_4_Field_2_Value': 'STRING', 'Total_Conversions': 'FLOAT', 'Custom_Variable_Count_2': 'INTEGER', 'Paid_Search_External_Ad_Group_Id': 'INTEGER', 'Hd_Video_Player_Size_Impressions': 'INTEGER', 'Click_Through_Transaction_Count': 'FLOAT', 'Cookie_Reach_Exclusive_Click_Reach_Percent': 'FLOAT', 'Floodlight_Attributed_Interaction': 'STRING', 'Dynamic_Profile': 'STRING', 'Floodlight_Variable_28': 'STRING', 'Floodlight_Variable_29': 'STRING', 'Dynamic_Element_2_Field_2_Value': 'STRING', 'Floodlight_Variable_22': 'STRING', 'Floodlight_Variable_23': 'STRING', 'Floodlight_Variable_20': 'STRING', 'Floodlight_Variable_21': 'STRING', 'Floodlight_Variable_26': 'STRING', 'Floodlight_Variable_27': 'STRING', 'Floodlight_Variable_24': 'STRING', 'Floodlight_Variable_25': 'STRING', 'Dynamic_Element_4_Field_5_Value': 'STRING', 'Creative_Id': 'INTEGER', 'Activity_Per_Click': 'FLOAT', 'Floodlight_Variable_88': 'STRING', 'Active_View_Percent_Of_First_Quartile_Impressions_Visible': 'FLOAT', 'Serving_Problems': 'INTEGER', 'Placement': 'STRING', 'Dynamic_Element_2_Field_Value_1': 'STRING', 'Dynamic_Element_2_Field_Value_2': 'STRING', 'Dynamic_Element_2_Field_Value_3': 'STRING', 'Interaction_Count_Mobile_Video': 'INTEGER', 'Has_Full_Screen_Video_Completions': 'BOOLEAN', 'Placement_Total_Planned_Media_Cost': 'STRING', 'Video_First_Quartile_Completions': 'INTEGER', 'Twitter_Creative_Media_Id': 'INTEGER', 'Cookie_Reach_Duplicate_Total_Reach': 'INTEGER', 'Rich_Media_Impressions': 'INTEGER', 'Video_Completions': 'INTEGER', 'Month': 'STRING', 'Paid_Search_Keyword_Id': 'INTEGER', 'Cookie_Reach_Duplicate_Click_Reach_Percent': 'FLOAT', 'Replies': 'INTEGER', 'Dynamic_Element_5_Field_6_Value': 'STRING', 'Video_Mutes': 'INTEGER', 'Flight_Booked_Units': 'STRING', 'Dynamic_Element_Value_Id': 'STRING', 'Expansion_Time': 'INTEGER', 'Invalid_Clicks': 'INTEGER', 'Has_Video_Progress_Events': 'BOOLEAN', 'Dynamic_Element_2_Field_3_Value': 'STRING', 'Rich_Media_Standard_Event_Path_Summary': 'STRING', 'Video_Muted_At_Start': 'INTEGER', 'Audio_Companion_Clicks': 'INTEGER', 'Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_15_Sec_Cap_Measurable_Impressions': 'INTEGER', 'Interaction_Date_Time': 'DATETIME', 'User_List': 'STRING', 'Event_Timers': 'FLOAT', 'Paid_Search_External_Keyword_Id': 'INTEGER', 'Timers': 'INTEGER', 'Floodlight_Paid_Search_Action_Conversion_Percentage': 'FLOAT', 'View_Through_Revenue_Cross_Environment': 'FLOAT', 'Advertiser': 'STRING', 'Has_Video_Unmutes': 'BOOLEAN', 'Natural_Search_Query': 'STRING', 'Audio_Plays': 'INTEGER', 'Unique_Reach_Average_Impression_Frequency': 'FLOAT', 'Path_Type': 'STRING', 'Dynamic_Field_Value_2': 'STRING', 'Interaction_Channel': 'STRING', 'Blocked_Impressions': 'INTEGER', 'Dynamic_Field_Value_5': 'STRING', 'Dynamic_Field_Value_6': 'STRING', 'Placement_Compatibility': 'STRING', 'City': 'STRING', 'Dbm_Line_Item_Id': 'INTEGER', 'Cookie_Reach_Incremental_Click_Reach': 'INTEGER', 'Floodlight_Variable_61': 'STRING', 'Natural_Search_Processed_Landing_Page_Query_String': 'STRING', 'Report_Day': 'DATE', 'Dbm_Site': 'STRING', 'Connection_Type': 'STRING', 'Video_Average_View_Time': 'FLOAT', 'Click_Through_Revenue_Cross_Environment': 'FLOAT', 'Dbm_Creative': 'STRING', 'Attributed_Event_Environment': 'STRING', 'Floodlight_Variable_99': 'STRING', 'Floodlight_Variable_98': 'STRING', 'Measurable_Impressions_For_Video_Player_Size': 'INTEGER', 'Dynamic_Element_1_Value_Id': 'STRING', 'Paid_Search_Engine_Account_Id': 'INTEGER', 'Floodlight_Variable_93': 'STRING', 'Floodlight_Variable_92': 'STRING', 'Floodlight_Variable_91': 'STRING', 'Floodlight_Variable_90': 'STRING', 'Floodlight_Variable_97': 'STRING', 'Placement_Strategy': 'STRING', 'Floodlight_Variable_95': 'STRING', 'Floodlight_Variable_94': 'STRING', 'Active_View_Percent_Of_Completed_Impressions_Audible_And_Visible': 'FLOAT', 'Floodlight_Variable_75': 'STRING', 'Floodlight_Variable_74': 'STRING', 'Floodlight_Variable_77': 'STRING', 'Floodlight_Variable_76': 'STRING', 'Floodlight_Variable_71': 'STRING', 'Floodlight_Variable_70': 'STRING', 'Floodlight_Variable_73': 'STRING', 'Activity': 'STRING', 'Natural_Search_Engine_Url': 'STRING', 'Total_Display_Time': 'INTEGER', 'User_List_Description': 'STRING', 'Active_View_Impressions_Audible_And_Visible_At_Completion': 'INTEGER', 'Floodlight_Variable_79': 'STRING', 'Floodlight_Variable_78': 'STRING', 'Twitter_Impression_Type': 'STRING', 'Active_View_Average_Viewable_Time_Seconds': 'FLOAT', 'Active_View_Percent_Measurable_Impressions': 'FLOAT', 'Natural_Search_Landing_Page_Query_String': 'STRING', 'Percentage_Of_Measurable_Impressions_For_Video_Player_Size': 'FLOAT', 'Has_Full_Screen_Impressions': 'BOOLEAN', 'Conversion_Id': 'INTEGER', 'Creative_Version': 'STRING', 'Active_View_Percent_In_Background': 'FLOAT', 'Dynamic_Element_2_Value_Id': 'STRING', 'Hours_Since_Attributed_Interaction': 'INTEGER', 'Dynamic_Element_3_Field_5_Value': 'STRING', 'Has_Video_First_Quartile_Completions': 'BOOLEAN', 'Dynamic_Element': 'STRING', 'Active_View_Percent_Visible_10_Seconds': 'FLOAT', 'Booked_Clicks': 'FLOAT', 'Booked_Impressions': 'FLOAT', 'Tran_Value': 'STRING', 'Dynamic_Element_Clicks': 'INTEGER', 'Has_Dynamic_Impressions': 'BOOLEAN', 'Site_Id_Site_Directory': 'INTEGER', 'Active_View_Percent_Audible_And_Visible_At_Third_Quartile': 'FLOAT', 'Twitter_Url_Clicks': 'INTEGER', 'Dynamic_Element_2_Field_6_Value': 'STRING', 'Has_Backup_Image': 'BOOLEAN', 'Dynamic_Element_2_Field_5_Value': 'STRING', 'Rich_Media_Custom_Event_Path_Summary': 'STRING', 'Advertiser_Group': 'STRING', 'General_Invalid_Traffic_Givt_Clicks': 'INTEGER', 'Has_Video_Pauses': 'BOOLEAN', 'Follows': 'INTEGER', 'Has_Html5_Impressions': 'BOOLEAN', 'Percent_Invalid_Clicks': 'FLOAT', 'Percent_Invalid_Impressions': 'FLOAT', 'Activity_Date_Time': 'DATETIME', 'Site_Site_Directory': 'STRING', 'Placement_Pixel_Size': 'STRING', 'Within_Floodlight_Lookback_Window': 'STRING', 'Dbm_Partner': 'STRING', 'Dynamic_Element_3_Field_3_Value': 'STRING', 'Ord_Value': 'STRING', 'Floodlight_Configuration': 'INTEGER', 'Ad_Id': 'INTEGER', 'Video_Plays': 'INTEGER', 'Video_Player_Location_Avg_Pixels_From_Left': 'INTEGER', 'Days_Since_First_Interaction': 'INTEGER', 'Event_Counters': 'INTEGER', 'Active_View_Not_Measurable_Impressions': 'INTEGER', 'Landing_Page_Url': 'STRING', 'Ad_Status': 'STRING', 'Unique_Reach_Impression_Reach': 'INTEGER', 'Dynamic_Element_2_Field_4_Value': 'STRING', 'Dbm_Partner_Id': 'INTEGER', 'Asset_Id': 'INTEGER', 'Video_View_Rate': 'FLOAT', 'Twitter_App_Install_Clicks': 'INTEGER', 'Cookie_Reach_Duplicate_Total_Reach_Percent': 'FLOAT', 'Total_Social_Engagements': 'INTEGER', 'Media_Cost': 'FLOAT', 'Placement_Tag_Type': 'STRING', 'Dbm_Insertion_Order': 'STRING', 'Floodlight_Variable_39': 'STRING', 'Floodlight_Variable_38': 'STRING', 'Paid_Search_External_Ad_Id': 'INTEGER', 'Browser_Platform': 'STRING', 'Floodlight_Variable_31': 'STRING', 'Floodlight_Variable_30': 'STRING', 'Floodlight_Variable_33': 'STRING', 'Floodlight_Variable_32': 'STRING', 'Floodlight_Variable_35': 'STRING', 'Floodlight_Variable_34': 'STRING', 'Floodlight_Variable_37': 'STRING', 'Floodlight_Variable_36': 'STRING', 'Dynamic_Element_View_Through_Conversions': 'INTEGER', 'Active_View_Viewable_Impression_Cookie_Reach': 'INTEGER', 'Video_Interaction_Rate': 'FLOAT', 'Dynamic_Element_3_Field_1_Value': 'STRING', 'Booked_Activities': 'FLOAT', 'Has_Video_Full_Screen': 'BOOLEAN', 'User_List_Membership_Life_Span': 'STRING', 'Video_Length': 'STRING', 'Paid_Search_Keyword': 'STRING', 'Revenue_Per_Click': 'FLOAT', 'Downloaded_Impressions': 'INTEGER', 'Days_Since_Attributed_Interaction': 'INTEGER', 'Code_Serves': 'INTEGER', 'Effective_Cpm': 'FLOAT', 'Environment': 'STRING', 'Active_View_Percent_Play_Time_Audible_And_Visible': 'FLOAT', 'Paid_Search_Agency': 'STRING', 'Dynamic_Element_5_Field_3_Value': 'STRING', 'Paid_Search_Engine_Account_Category': 'STRING', 'Week': 'STRING', 'Designated_Market_Area_Dma': 'STRING', 'Cookie_Reach_Click_Reach': 'INTEGER', 'Twitter_Buy_Now_Purchases': 'INTEGER', 'Floodlight_Paid_Search_Average_Dcm_Transaction_Amount': 'FLOAT', 'Placement_Start_Date': 'DATE', 'Cookie_Reach_Overlap_Impression_Reach_Percent': 'FLOAT', 'View_Through_Revenue': 'FLOAT', 'Impression_Delivery_Status': 'FLOAT', 'Floodlight_Paid_Search_Transaction_Conversion_Percentage': 'FLOAT', 'Click_Through_Conversions_Cross_Environment': 'INTEGER', 'Activity_Id': 'INTEGER', 'Has_Video_Mutes': 'BOOLEAN', 'Exits': 'INTEGER', 'Paid_Search_Bid_Strategy': 'STRING', 'Active_View_Percent_Of_Midpoint_Impressions_Visible': 'FLOAT', 'Dbm_Insertion_Order_Id': 'INTEGER', 'Placement_Id': 'INTEGER', 'App_Id': 'STRING', 'View_Through_Transaction_Count': 'FLOAT', 'Floodlight_Paid_Search_Transaction_Revenue_Per_Spend': 'FLOAT', 'View_Through_Conversions': 'FLOAT', 'Dynamic_Element_5_Field_4_Value': 'STRING', 'Active_View_Percent_Of_First_Quartile_Impressions_Audible_And_Visible': 'FLOAT', 'Companion_Creative_Pixel_Size': 'STRING', 'Revenue_Per_Thousand_Impressions': 'FLOAT', 'Natural_Search_Clicks': 'INTEGER', 'Dynamic_Element_3_Field_2_Value': 'STRING', 'Audio_First_Quartile_Completions': 'INTEGER', 'Dynamic_Element_1_Field_Value_3': 'STRING', 'Dynamic_Element_1_Field_Value_2': 'STRING', 'Dynamic_Element_1_Field_Value_1': 'STRING', 'Full_Screen_Average_View_Time': 'FLOAT', 'Dynamic_Element_5_Value_Id': 'STRING', 'Rich_Media_Click_Rate': 'FLOAT', 'User_List_Id': 'INTEGER', 'Click_Through_Url': 'STRING', 'Active_View_Percent_Of_Completed_Impressions_Visible': 'FLOAT', 'Video_Prominence_Score': 'STRING', 'Active_View_Percent_Play_Time_Audible': 'FLOAT', 'Natural_Search_Actions': 'FLOAT', 'Platform_Type': 'STRING', 'General_Invalid_Traffic_Givt_Impressions': 'INTEGER', 'Active_View_Percent_Audible_And_Visible_At_First_Quartile': 'FLOAT', 'Dynamic_Element_3': 'STRING', 'Active_View_Percent_Play_Time_Visible': 'FLOAT', 'Active_View_Percent_Of_Third_Quartile_Impressions_Audible_And_Visible': 'FLOAT', 'Paid_Search_Transactions': 'FLOAT', 'Rich_Media_Event': 'STRING', 'Country': 'STRING', 'Dynamic_Element_3_Field_6_Value': 'STRING', 'Expansions': 'INTEGER', 'Interaction_Rate': 'FLOAT', 'Natural_Search_Processed_Landing_Page': 'STRING', 'Floodlight_Impressions': 'INTEGER', 'Paid_Search_Bid_Strategy_Id': 'INTEGER', 'Interactive_Impressions': 'INTEGER', 'Interaction_Count_Natural_Search': 'INTEGER', 'Twitter_Impression_Id': 'INTEGER', 'Ad': 'STRING', 'Paid_Search_Ad_Group_Id': 'INTEGER', 'Paid_Search_Campaign_Id': 'INTEGER', 'Full_Screen_Video_Completions': 'INTEGER', 'Dynamic_Element_Value': 'STRING', 'State_Region': 'STRING', 'Placement_End_Date': 'DATE', 'Cookie_Reach_Duplicate_Impression_Reach_Percent': 'FLOAT', 'Paid_Search_Impressions': 'INTEGER', 'Cookie_Reach_Average_Impression_Frequency': 'FLOAT', 'Natural_Search_Engine_Country': 'STRING', 'Paid_Search_Revenue': 'FLOAT', 'Percent_Composition_Impressions': 'FLOAT', }
dcm__field__lookup = {'Video_Unmutes': 'INTEGER', 'Zip_Postal_Code': 'STRING', 'Path_Length': 'INTEGER', 'Measurable_Impressions_For_Audio': 'INTEGER', 'Average_Interaction_Time': 'FLOAT', 'Invalid_Impressions': 'INTEGER', 'Floodlight_Variable_40': 'STRING', 'Floodlight_Variable_41': 'STRING', 'Floodlight_Variable_42': 'STRING', 'Floodlight_Variable_43': 'STRING', 'Floodlight_Variable_44': 'STRING', 'Floodlight_Variable_45': 'STRING', 'Floodlight_Variable_46': 'STRING', 'Floodlight_Variable_47': 'STRING', 'Floodlight_Variable_48': 'STRING', 'Floodlight_Variable_49': 'STRING', 'Clicks': 'INTEGER', 'Warnings': 'INTEGER', 'Paid_Search_Advertiser_Id': 'INTEGER', 'Video_Third_Quartile_Completions': 'INTEGER', 'Video_Progress_Events': 'INTEGER', 'Cost_Per_Revenue': 'FLOAT', 'Total_Interaction_Time': 'INTEGER', 'Roadblock_Impressions': 'INTEGER', 'Video_Replays': 'INTEGER', 'Keyword': 'STRING', 'Full_Screen_Video_Plays': 'INTEGER', 'Active_View_Impression_Distribution_Not_Measurable': 'FLOAT', 'Unique_Reach_Total_Reach': 'INTEGER', 'Has_Exits': 'BOOLEAN', 'Paid_Search_Engine_Account': 'STRING', 'Operating_System_Version': 'STRING', 'Campaign': 'STRING', 'Active_View_Percent_Visible_At_Start': 'FLOAT', 'Active_View_Not_Viewable_Impressions': 'INTEGER', 'Twitter_Offers_Accepted': 'INTEGER', 'Interaction_Type': 'STRING', 'Activity_Delivery_Status': 'FLOAT', 'Video_Companion_Clicks': 'INTEGER', 'Floodlight_Paid_Search_Average_Cost_Per_Transaction': 'FLOAT', 'Paid_Search_Agency_Id': 'INTEGER', 'Asset': 'STRING', 'Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_15_Sec_Cap_Impressions': 'INTEGER', 'User_List_Current_Size': 'STRING', 'Exit_Url': 'STRING', 'Natural_Search_Revenue': 'FLOAT', 'Retweets': 'INTEGER', 'Full_Screen_Impressions': 'INTEGER', 'Audio_Unmutes': 'INTEGER', 'Dynamic_Element_4_Field_Value_2': 'STRING', 'Dynamic_Element_4_Field_Value_3': 'STRING', 'Dynamic_Element_4_Field_Value_1': 'STRING', 'Creative_Start_Date': 'DATE', 'Small_Video_Player_Size_Impressions': 'INTEGER', 'Audio_Replays': 'INTEGER', 'Video_Player_Size_Avg_Width': 'INTEGER', 'Rich_Media_Standard_Event_Count': 'INTEGER', 'Publisher_Problems': 'INTEGER', 'Paid_Search_Advertiser': 'STRING', 'Has_Video_Completions': 'BOOLEAN', 'Cookie_Reach_Duplicate_Impression_Reach': 'INTEGER', 'Audio_Third_Quartile_Completions': 'INTEGER', 'Package_Roadblock_Strategy': 'STRING', 'Video_Midpoints': 'INTEGER', 'Click_Through_Conversion_Events_Cross_Environment': 'INTEGER', 'Video_Pauses': 'INTEGER', 'Trueview_Views': 'INTEGER', 'Interaction_Count_Mobile_Static_Image': 'INTEGER', 'Dynamic_Element_Click_Rate': 'FLOAT', 'Dynamic_Element_1_Field_6_Value': 'STRING', 'Dynamic_Element_4_Value': 'STRING', 'Creative_End_Date': 'DATE', 'Dynamic_Element_4_Field_3_Value': 'STRING', 'Dynamic_Field_Value_3': 'STRING', 'Mobile_Carrier': 'STRING', 'U_Value': 'STRING', 'Average_Display_Time': 'FLOAT', 'Custom_Variable': 'STRING', 'Video_Interactions': 'INTEGER', 'Average_Expansion_Time': 'FLOAT', 'Email_Shares': 'INTEGER', 'Flight_Booked_Rate': 'STRING', 'Impression_Count': 'INTEGER', 'Site_Id_Dcm': 'INTEGER', 'Dynamic_Element_3_Value_Id': 'STRING', 'Paid_Search_Legacy_Keyword_Id': 'INTEGER', 'View_Through_Conversion_Events_Cross_Environment': 'INTEGER', 'Counters': 'INTEGER', 'Floodlight_Paid_Search_Average_Cost_Per_Action': 'FLOAT', 'Activity_Group_Id': 'INTEGER', 'Active_View_Percent_Audible_And_Visible_At_Midpoint': 'FLOAT', 'Click_Count': 'INTEGER', 'Video_4A_39_S_Ad_Id': 'STRING', 'Total_Interactions': 'INTEGER', 'Active_View_Viewable_Impressions': 'INTEGER', 'Natural_Search_Engine_Property': 'STRING', 'Video_Views': 'INTEGER', 'Domain': 'STRING', 'Total_Conversion_Events_Cross_Environment': 'INTEGER', 'Dbm_Advertiser': 'STRING', 'Companion_Impressions': 'INTEGER', 'View_Through_Conversions_Cross_Environment': 'INTEGER', 'Dynamic_Element_5_Field_Value_3': 'STRING', 'Dynamic_Element_5_Field_Value_2': 'STRING', 'Dynamic_Element_5_Field_Value_1': 'STRING', 'Dynamic_Field_Value_1': 'STRING', 'Active_View_Impression_Distribution_Viewable': 'FLOAT', 'Creative_Field_2': 'STRING', 'Twitter_Leads_Generated': 'INTEGER', 'Paid_Search_External_Campaign_Id': 'INTEGER', 'Creative_Field_8': 'STRING', 'Interaction_Count_Paid_Search': 'INTEGER', 'Activity_Group': 'STRING', 'Video_Player_Location_Avg_Pixels_From_Top': 'INTEGER', 'Interaction_Number': 'INTEGER', 'Dynamic_Element_3_Value': 'STRING', 'Cookie_Reach_Total_Reach': 'INTEGER', 'Cookie_Reach_Exclusive_Click_Reach': 'INTEGER', 'Creative_Field_5': 'STRING', 'Cookie_Reach_Overlap_Impression_Reach': 'INTEGER', 'Paid_Search_Ad_Group': 'STRING', 'Interaction_Count_Rich_Media': 'INTEGER', 'Dynamic_Element_Total_Conversions': 'INTEGER', 'Transaction_Count': 'INTEGER', 'Num_Value': 'STRING', 'Cookie_Reach_Overlap_Total_Reach': 'INTEGER', 'Floodlight_Attribution_Type': 'STRING', 'Cookie_Reach_Exclusive_Impression_Reach_Percent': 'FLOAT', 'Html5_Impressions': 'INTEGER', 'Served_Pixel_Density': 'STRING', 'Has_Full_Screen_Video_Plays': 'BOOLEAN', 'Interaction_Count_Static_Image': 'INTEGER', 'Has_Video_Companion_Clicks': 'BOOLEAN', 'Twitter_Video_100Percent_In_View_For_3_Seconds': 'INTEGER', 'Paid_Search_Ad': 'STRING', 'Paid_Search_Visits': 'INTEGER', 'Audio_Pauses': 'INTEGER', 'Creative_Pixel_Size': 'STRING', 'Flight_Start_Date': 'DATE', 'Active_View_Percent_Of_Third_Quartile_Impressions_Visible': 'FLOAT', 'Natural_Search_Transactions': 'FLOAT', 'Cookie_Reach_Impression_Reach': 'INTEGER', 'Dynamic_Field_Value_4': 'STRING', 'Twitter_Line_Item_Id': 'INTEGER', 'Has_Video_Stops': 'BOOLEAN', 'Active_View_Percent_Audible_And_Visible_At_Completion': 'FLOAT', 'Paid_Search_Labels': 'STRING', 'Twitter_Creative_Type': 'STRING', 'Operating_System': 'STRING', 'Dynamic_Element_3_Field_4_Value': 'STRING', 'Hours_Since_First_Interaction': 'INTEGER', 'Asset_Category': 'STRING', 'Active_View_Measurable_Impressions': 'INTEGER', 'Package_Roadblock': 'STRING', 'Large_Video_Player_Size_Impressions': 'INTEGER', 'Paid_Search_Actions': 'FLOAT', 'Active_View_Percent_Visible_At_Midpoint': 'FLOAT', 'Has_Full_Screen_Views': 'BOOLEAN', 'Backup_Image': 'INTEGER', 'Likes': 'INTEGER', 'Dbm_Line_Item': 'STRING', 'Active_View_Percent_Audible_Impressions': 'FLOAT', 'Flight_Booked_Cost': 'STRING', 'Other_Twitter_Engagements': 'INTEGER', 'Audio_Completions': 'INTEGER', 'Click_Rate': 'FLOAT', 'Cost_Per_Activity': 'FLOAT', 'Dynamic_Element_2_Value': 'STRING', 'Cookie_Reach_Exclusive_Impression_Reach': 'INTEGER', 'Content_Category': 'STRING', 'Twitter_Video_50Percent_In_View_For_2_Seconds': 'INTEGER', 'Total_Revenue_Cross_Environment': 'FLOAT', 'Unique_Reach_Click_Reach': 'INTEGER', 'Has_Video_Replays': 'BOOLEAN', 'Twitter_Creative_Id': 'INTEGER', 'Has_Counters': 'BOOLEAN', 'Dynamic_Element_4_Value_Id': 'STRING', 'Dynamic_Element_4_Field_1_Value': 'STRING', 'Has_Video_Interactions': 'BOOLEAN', 'Video_Player_Size': 'STRING', 'Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_Trueview_Impressions': 'INTEGER', 'Advertiser_Id': 'INTEGER', 'Rich_Media_Clicks': 'INTEGER', 'Floodlight_Variable_59': 'STRING', 'Floodlight_Variable_58': 'STRING', 'Floodlight_Variable_57': 'STRING', 'Floodlight_Variable_56': 'STRING', 'Floodlight_Variable_55': 'STRING', 'Floodlight_Variable_54': 'STRING', 'Floodlight_Variable_53': 'STRING', 'Floodlight_Variable_52': 'STRING', 'Floodlight_Variable_51': 'STRING', 'Floodlight_Variable_50': 'STRING', 'Cookie_Reach_Incremental_Total_Reach': 'INTEGER', 'Playback_Method': 'STRING', 'Has_Interactive_Impressions': 'BOOLEAN', 'Paid_Search_Average_Position': 'FLOAT', 'Floodlight_Variable_96': 'STRING', 'Package_Roadblock_Id': 'INTEGER', 'Recalculated_Attribution_Type': 'STRING', 'Dbm_Advertiser_Id': 'INTEGER', 'Floodlight_Variable_100': 'STRING', 'Cookie_Reach_Exclusive_Total_Reach_Percent': 'FLOAT', 'Active_View_Impression_Distribution_Not_Viewable': 'FLOAT', 'Floodlight_Variable_3': 'STRING', 'Floodlight_Variable_2': 'STRING', 'Floodlight_Variable_1': 'STRING', 'Floodlight_Variable_7': 'STRING', 'Floodlight_Variable_6': 'STRING', 'Floodlight_Variable_5': 'STRING', 'Floodlight_Variable_4': 'STRING', 'Rendering_Id': 'INTEGER', 'Floodlight_Variable_9': 'STRING', 'Floodlight_Variable_8': 'STRING', 'Cookie_Reach_Incremental_Impression_Reach': 'INTEGER', 'Active_View_Percent_Visible_At_Third_Quartile': 'FLOAT', 'Reporting_Problems': 'INTEGER', 'Package_Roadblock_Total_Booked_Units': 'STRING', 'Active_View_Percent_Visible_At_Completion': 'FLOAT', 'Has_Video_Midpoints': 'BOOLEAN', 'Dynamic_Element_4_Field_4_Value': 'STRING', 'Percentage_Of_Measurable_Impressions_For_Video_Player_Location': 'FLOAT', 'Campaign_End_Date': 'DATE', 'Placement_External_Id': 'STRING', 'Cost_Per_Click': 'FLOAT', 'Cookie_Reach_Overlap_Click_Reach_Percent': 'FLOAT', 'Active_View_Percent_Full_Screen': 'FLOAT', 'Hour': 'STRING', 'Click_Through_Revenue': 'FLOAT', 'Video_Skips': 'INTEGER', 'Paid_Search_Click_Rate': 'FLOAT', 'Has_Video_Views': 'BOOLEAN', 'Dbm_Cost_Account_Currency': 'FLOAT', 'Flight_End_Date': 'DATE', 'Has_Video_Plays': 'BOOLEAN', 'Paid_Search_Clicks': 'INTEGER', 'Creative_Field_9': 'STRING', 'Manual_Closes': 'INTEGER', 'Creative_Field_7': 'STRING', 'Creative_Field_6': 'STRING', 'App': 'STRING', 'Creative_Field_4': 'STRING', 'Creative_Field_3': 'STRING', 'Campaign_Start_Date': 'DATE', 'Creative_Field_1': 'STRING', 'Content_Classifier': 'STRING', 'Cookie_Reach_Duplicate_Click_Reach': 'INTEGER', 'Site_Dcm': 'STRING', 'Digital_Content_Label': 'STRING', 'Has_Manual_Closes': 'BOOLEAN', 'Has_Timers': 'BOOLEAN', 'Impressions': 'INTEGER', 'Classified_Impressions': 'INTEGER', 'Dbm_Site_Id': 'INTEGER', 'Dynamic_Element_2_Field_1_Value': 'STRING', 'Floodlight_Variable_72': 'STRING', 'Creative': 'STRING', 'Asset_Orientation': 'STRING', 'Custom_Variable_Count_1': 'INTEGER', 'Video_Stops': 'INTEGER', 'Paid_Search_Ad_Id': 'INTEGER', 'Cookie_Reach_Overlap_Total_Reach_Percent': 'FLOAT', 'Click_Delivery_Status': 'FLOAT', 'Dynamic_Element_Impressions': 'INTEGER', 'Interaction_Count_Click_Tracker': 'INTEGER', 'Placement_Total_Booked_Units': 'STRING', 'Date': 'DATE', 'Twitter_Placement_Type': 'STRING', 'Total_Revenue': 'FLOAT', 'Recalculated_Attributed_Interaction': 'STRING', 'Ad_Type': 'STRING', 'Social_Engagement_Rate': 'FLOAT', 'Dynamic_Element_5_Field_1_Value': 'STRING', 'Dynamic_Profile_Id': 'INTEGER', 'Active_View_Impressions_Visible_10_Seconds': 'INTEGER', 'Interaction_Count_Video': 'INTEGER', 'Dynamic_Element_5_Value': 'STRING', 'Video_Player_Size_Avg_Height': 'INTEGER', 'Creative_Type': 'STRING', 'Campaign_External_Id': 'STRING', 'Dynamic_Element_Click_Through_Conversions': 'INTEGER', 'Conversion_Url': 'STRING', 'Floodlight_Variable_89': 'STRING', 'Floodlight_Variable_84': 'STRING', 'Floodlight_Variable_85': 'STRING', 'Floodlight_Variable_86': 'STRING', 'Floodlight_Variable_87': 'STRING', 'Floodlight_Variable_80': 'STRING', 'Floodlight_Variable_81': 'STRING', 'Floodlight_Variable_82': 'STRING', 'Floodlight_Variable_83': 'STRING', 'Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_Trueview_Measurable_Impressions': 'INTEGER', 'Floodlight_Variable_66': 'STRING', 'Floodlight_Variable_67': 'STRING', 'Floodlight_Variable_64': 'STRING', 'Floodlight_Variable_65': 'STRING', 'Floodlight_Variable_62': 'STRING', 'Floodlight_Variable_63': 'STRING', 'Floodlight_Variable_60': 'STRING', 'Active_View_Eligible_Impressions': 'INTEGER', 'Dynamic_Element_3_Field_Value_1': 'STRING', 'Dynamic_Element_3_Field_Value_3': 'STRING', 'Dynamic_Element_3_Field_Value_2': 'STRING', 'Floodlight_Variable_68': 'STRING', 'Floodlight_Variable_69': 'STRING', 'Floodlight_Variable_13': 'STRING', 'Floodlight_Variable_12': 'STRING', 'Floodlight_Variable_11': 'STRING', 'Floodlight_Variable_10': 'STRING', 'Floodlight_Variable_17': 'STRING', 'Floodlight_Variable_16': 'STRING', 'Floodlight_Variable_15': 'STRING', 'Floodlight_Variable_14': 'STRING', 'Floodlight_Variable_19': 'STRING', 'Floodlight_Variable_18': 'STRING', 'Audience_Targeted': 'STRING', 'Total_Conversions_Cross_Environment': 'INTEGER', 'Interaction_Count_Mobile_Rich_Media': 'INTEGER', 'Active_View_Percent_Viewable_Impressions': 'FLOAT', 'Dynamic_Element_1_Field_1_Value': 'STRING', 'Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_Trueview_Rate': 'FLOAT', 'Has_Video_Skips': 'BOOLEAN', 'Dynamic_Element_5_Field_2_Value': 'STRING', 'Twitter_Buy_Now_Clicks': 'INTEGER', 'Creative_Groups_2': 'STRING', 'Creative_Groups_1': 'STRING', 'Campaign_Id': 'INTEGER', 'Twitter_Campaign_Id': 'INTEGER', 'Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_15_Sec_Cap_Rate': 'FLOAT', 'Dynamic_Element_1_Field_5_Value': 'STRING', 'Paid_Search_Match_Type': 'STRING', 'Activity_Per_Thousand_Impressions': 'FLOAT', 'Has_Expansions': 'BOOLEAN', 'Dbm_Creative_Id': 'INTEGER', 'Active_View_Percent_Audible_And_Visible_At_Start': 'FLOAT', 'Booked_Viewable_Impressions': 'FLOAT', 'Dynamic_Element_1_Field_2_Value': 'STRING', 'Paid_Search_Cost': 'FLOAT', 'Dynamic_Element_5_Field_5_Value': 'STRING', 'Floodlight_Paid_Search_Spend_Per_Transaction_Revenue': 'FLOAT', 'Active_View_Percent_Of_Midpoint_Impressions_Audible_And_Visible': 'FLOAT', 'Dynamic_Element_4': 'STRING', 'Dynamic_Element_5': 'STRING', 'Dynamic_Element_2': 'STRING', 'Click_Through_Conversions': 'FLOAT', 'Dynamic_Element_1': 'STRING', 'Dynamic_Element_4_Field_6_Value': 'STRING', 'Attributed_Event_Platform_Type': 'STRING', 'Audio_Midpoints': 'INTEGER', 'Attributed_Event_Connection_Type': 'STRING', 'Dynamic_Element_1_Value': 'STRING', 'Measurable_Impressions_For_Video_Player_Location': 'INTEGER', 'Audio_Companion_Impressions': 'INTEGER', 'Video_Full_Screen': 'INTEGER', 'Active_View_Percent_Visible_At_First_Quartile': 'FLOAT', 'Companion_Creative': 'STRING', 'Cookie_Reach_Exclusive_Total_Reach': 'INTEGER', 'Audio_Mutes': 'INTEGER', 'Placement_Rate': 'STRING', 'Companion_Clicks': 'INTEGER', 'Cookie_Reach_Overlap_Click_Reach': 'INTEGER', 'Site_Keyname': 'STRING', 'Placement_Cost_Structure': 'STRING', 'Percentage_Of_Measurable_Impressions_For_Audio': 'FLOAT', 'Rich_Media_Custom_Event_Count': 'INTEGER', 'Dbm_Cost_Usd': 'FLOAT', 'Dynamic_Element_1_Field_3_Value': 'STRING', 'Has_Video_Third_Quartile_Completions': 'BOOLEAN', 'Paid_Search_Landing_Page_Url': 'STRING', 'Verifiable_Impressions': 'INTEGER', 'Average_Time': 'FLOAT', 'Creative_Field_12': 'STRING', 'Creative_Field_11': 'STRING', 'Creative_Field_10': 'STRING', 'Channel_Mix': 'STRING', 'Paid_Search_Campaign': 'STRING', 'Natural_Search_Landing_Page': 'STRING', 'Dynamic_Element_1_Field_4_Value': 'STRING', 'Payment_Source': 'STRING', 'Planned_Media_Cost': 'FLOAT', 'Conversion_Referrer': 'STRING', 'Companion_Creative_Id': 'INTEGER', 'Dynamic_Element_4_Field_2_Value': 'STRING', 'Total_Conversions': 'FLOAT', 'Custom_Variable_Count_2': 'INTEGER', 'Paid_Search_External_Ad_Group_Id': 'INTEGER', 'Hd_Video_Player_Size_Impressions': 'INTEGER', 'Click_Through_Transaction_Count': 'FLOAT', 'Cookie_Reach_Exclusive_Click_Reach_Percent': 'FLOAT', 'Floodlight_Attributed_Interaction': 'STRING', 'Dynamic_Profile': 'STRING', 'Floodlight_Variable_28': 'STRING', 'Floodlight_Variable_29': 'STRING', 'Dynamic_Element_2_Field_2_Value': 'STRING', 'Floodlight_Variable_22': 'STRING', 'Floodlight_Variable_23': 'STRING', 'Floodlight_Variable_20': 'STRING', 'Floodlight_Variable_21': 'STRING', 'Floodlight_Variable_26': 'STRING', 'Floodlight_Variable_27': 'STRING', 'Floodlight_Variable_24': 'STRING', 'Floodlight_Variable_25': 'STRING', 'Dynamic_Element_4_Field_5_Value': 'STRING', 'Creative_Id': 'INTEGER', 'Activity_Per_Click': 'FLOAT', 'Floodlight_Variable_88': 'STRING', 'Active_View_Percent_Of_First_Quartile_Impressions_Visible': 'FLOAT', 'Serving_Problems': 'INTEGER', 'Placement': 'STRING', 'Dynamic_Element_2_Field_Value_1': 'STRING', 'Dynamic_Element_2_Field_Value_2': 'STRING', 'Dynamic_Element_2_Field_Value_3': 'STRING', 'Interaction_Count_Mobile_Video': 'INTEGER', 'Has_Full_Screen_Video_Completions': 'BOOLEAN', 'Placement_Total_Planned_Media_Cost': 'STRING', 'Video_First_Quartile_Completions': 'INTEGER', 'Twitter_Creative_Media_Id': 'INTEGER', 'Cookie_Reach_Duplicate_Total_Reach': 'INTEGER', 'Rich_Media_Impressions': 'INTEGER', 'Video_Completions': 'INTEGER', 'Month': 'STRING', 'Paid_Search_Keyword_Id': 'INTEGER', 'Cookie_Reach_Duplicate_Click_Reach_Percent': 'FLOAT', 'Replies': 'INTEGER', 'Dynamic_Element_5_Field_6_Value': 'STRING', 'Video_Mutes': 'INTEGER', 'Flight_Booked_Units': 'STRING', 'Dynamic_Element_Value_Id': 'STRING', 'Expansion_Time': 'INTEGER', 'Invalid_Clicks': 'INTEGER', 'Has_Video_Progress_Events': 'BOOLEAN', 'Dynamic_Element_2_Field_3_Value': 'STRING', 'Rich_Media_Standard_Event_Path_Summary': 'STRING', 'Video_Muted_At_Start': 'INTEGER', 'Audio_Companion_Clicks': 'INTEGER', 'Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_15_Sec_Cap_Measurable_Impressions': 'INTEGER', 'Interaction_Date_Time': 'DATETIME', 'User_List': 'STRING', 'Event_Timers': 'FLOAT', 'Paid_Search_External_Keyword_Id': 'INTEGER', 'Timers': 'INTEGER', 'Floodlight_Paid_Search_Action_Conversion_Percentage': 'FLOAT', 'View_Through_Revenue_Cross_Environment': 'FLOAT', 'Advertiser': 'STRING', 'Has_Video_Unmutes': 'BOOLEAN', 'Natural_Search_Query': 'STRING', 'Audio_Plays': 'INTEGER', 'Unique_Reach_Average_Impression_Frequency': 'FLOAT', 'Path_Type': 'STRING', 'Dynamic_Field_Value_2': 'STRING', 'Interaction_Channel': 'STRING', 'Blocked_Impressions': 'INTEGER', 'Dynamic_Field_Value_5': 'STRING', 'Dynamic_Field_Value_6': 'STRING', 'Placement_Compatibility': 'STRING', 'City': 'STRING', 'Dbm_Line_Item_Id': 'INTEGER', 'Cookie_Reach_Incremental_Click_Reach': 'INTEGER', 'Floodlight_Variable_61': 'STRING', 'Natural_Search_Processed_Landing_Page_Query_String': 'STRING', 'Report_Day': 'DATE', 'Dbm_Site': 'STRING', 'Connection_Type': 'STRING', 'Video_Average_View_Time': 'FLOAT', 'Click_Through_Revenue_Cross_Environment': 'FLOAT', 'Dbm_Creative': 'STRING', 'Attributed_Event_Environment': 'STRING', 'Floodlight_Variable_99': 'STRING', 'Floodlight_Variable_98': 'STRING', 'Measurable_Impressions_For_Video_Player_Size': 'INTEGER', 'Dynamic_Element_1_Value_Id': 'STRING', 'Paid_Search_Engine_Account_Id': 'INTEGER', 'Floodlight_Variable_93': 'STRING', 'Floodlight_Variable_92': 'STRING', 'Floodlight_Variable_91': 'STRING', 'Floodlight_Variable_90': 'STRING', 'Floodlight_Variable_97': 'STRING', 'Placement_Strategy': 'STRING', 'Floodlight_Variable_95': 'STRING', 'Floodlight_Variable_94': 'STRING', 'Active_View_Percent_Of_Completed_Impressions_Audible_And_Visible': 'FLOAT', 'Floodlight_Variable_75': 'STRING', 'Floodlight_Variable_74': 'STRING', 'Floodlight_Variable_77': 'STRING', 'Floodlight_Variable_76': 'STRING', 'Floodlight_Variable_71': 'STRING', 'Floodlight_Variable_70': 'STRING', 'Floodlight_Variable_73': 'STRING', 'Activity': 'STRING', 'Natural_Search_Engine_Url': 'STRING', 'Total_Display_Time': 'INTEGER', 'User_List_Description': 'STRING', 'Active_View_Impressions_Audible_And_Visible_At_Completion': 'INTEGER', 'Floodlight_Variable_79': 'STRING', 'Floodlight_Variable_78': 'STRING', 'Twitter_Impression_Type': 'STRING', 'Active_View_Average_Viewable_Time_Seconds': 'FLOAT', 'Active_View_Percent_Measurable_Impressions': 'FLOAT', 'Natural_Search_Landing_Page_Query_String': 'STRING', 'Percentage_Of_Measurable_Impressions_For_Video_Player_Size': 'FLOAT', 'Has_Full_Screen_Impressions': 'BOOLEAN', 'Conversion_Id': 'INTEGER', 'Creative_Version': 'STRING', 'Active_View_Percent_In_Background': 'FLOAT', 'Dynamic_Element_2_Value_Id': 'STRING', 'Hours_Since_Attributed_Interaction': 'INTEGER', 'Dynamic_Element_3_Field_5_Value': 'STRING', 'Has_Video_First_Quartile_Completions': 'BOOLEAN', 'Dynamic_Element': 'STRING', 'Active_View_Percent_Visible_10_Seconds': 'FLOAT', 'Booked_Clicks': 'FLOAT', 'Booked_Impressions': 'FLOAT', 'Tran_Value': 'STRING', 'Dynamic_Element_Clicks': 'INTEGER', 'Has_Dynamic_Impressions': 'BOOLEAN', 'Site_Id_Site_Directory': 'INTEGER', 'Active_View_Percent_Audible_And_Visible_At_Third_Quartile': 'FLOAT', 'Twitter_Url_Clicks': 'INTEGER', 'Dynamic_Element_2_Field_6_Value': 'STRING', 'Has_Backup_Image': 'BOOLEAN', 'Dynamic_Element_2_Field_5_Value': 'STRING', 'Rich_Media_Custom_Event_Path_Summary': 'STRING', 'Advertiser_Group': 'STRING', 'General_Invalid_Traffic_Givt_Clicks': 'INTEGER', 'Has_Video_Pauses': 'BOOLEAN', 'Follows': 'INTEGER', 'Has_Html5_Impressions': 'BOOLEAN', 'Percent_Invalid_Clicks': 'FLOAT', 'Percent_Invalid_Impressions': 'FLOAT', 'Activity_Date_Time': 'DATETIME', 'Site_Site_Directory': 'STRING', 'Placement_Pixel_Size': 'STRING', 'Within_Floodlight_Lookback_Window': 'STRING', 'Dbm_Partner': 'STRING', 'Dynamic_Element_3_Field_3_Value': 'STRING', 'Ord_Value': 'STRING', 'Floodlight_Configuration': 'INTEGER', 'Ad_Id': 'INTEGER', 'Video_Plays': 'INTEGER', 'Video_Player_Location_Avg_Pixels_From_Left': 'INTEGER', 'Days_Since_First_Interaction': 'INTEGER', 'Event_Counters': 'INTEGER', 'Active_View_Not_Measurable_Impressions': 'INTEGER', 'Landing_Page_Url': 'STRING', 'Ad_Status': 'STRING', 'Unique_Reach_Impression_Reach': 'INTEGER', 'Dynamic_Element_2_Field_4_Value': 'STRING', 'Dbm_Partner_Id': 'INTEGER', 'Asset_Id': 'INTEGER', 'Video_View_Rate': 'FLOAT', 'Twitter_App_Install_Clicks': 'INTEGER', 'Cookie_Reach_Duplicate_Total_Reach_Percent': 'FLOAT', 'Total_Social_Engagements': 'INTEGER', 'Media_Cost': 'FLOAT', 'Placement_Tag_Type': 'STRING', 'Dbm_Insertion_Order': 'STRING', 'Floodlight_Variable_39': 'STRING', 'Floodlight_Variable_38': 'STRING', 'Paid_Search_External_Ad_Id': 'INTEGER', 'Browser_Platform': 'STRING', 'Floodlight_Variable_31': 'STRING', 'Floodlight_Variable_30': 'STRING', 'Floodlight_Variable_33': 'STRING', 'Floodlight_Variable_32': 'STRING', 'Floodlight_Variable_35': 'STRING', 'Floodlight_Variable_34': 'STRING', 'Floodlight_Variable_37': 'STRING', 'Floodlight_Variable_36': 'STRING', 'Dynamic_Element_View_Through_Conversions': 'INTEGER', 'Active_View_Viewable_Impression_Cookie_Reach': 'INTEGER', 'Video_Interaction_Rate': 'FLOAT', 'Dynamic_Element_3_Field_1_Value': 'STRING', 'Booked_Activities': 'FLOAT', 'Has_Video_Full_Screen': 'BOOLEAN', 'User_List_Membership_Life_Span': 'STRING', 'Video_Length': 'STRING', 'Paid_Search_Keyword': 'STRING', 'Revenue_Per_Click': 'FLOAT', 'Downloaded_Impressions': 'INTEGER', 'Days_Since_Attributed_Interaction': 'INTEGER', 'Code_Serves': 'INTEGER', 'Effective_Cpm': 'FLOAT', 'Environment': 'STRING', 'Active_View_Percent_Play_Time_Audible_And_Visible': 'FLOAT', 'Paid_Search_Agency': 'STRING', 'Dynamic_Element_5_Field_3_Value': 'STRING', 'Paid_Search_Engine_Account_Category': 'STRING', 'Week': 'STRING', 'Designated_Market_Area_Dma': 'STRING', 'Cookie_Reach_Click_Reach': 'INTEGER', 'Twitter_Buy_Now_Purchases': 'INTEGER', 'Floodlight_Paid_Search_Average_Dcm_Transaction_Amount': 'FLOAT', 'Placement_Start_Date': 'DATE', 'Cookie_Reach_Overlap_Impression_Reach_Percent': 'FLOAT', 'View_Through_Revenue': 'FLOAT', 'Impression_Delivery_Status': 'FLOAT', 'Floodlight_Paid_Search_Transaction_Conversion_Percentage': 'FLOAT', 'Click_Through_Conversions_Cross_Environment': 'INTEGER', 'Activity_Id': 'INTEGER', 'Has_Video_Mutes': 'BOOLEAN', 'Exits': 'INTEGER', 'Paid_Search_Bid_Strategy': 'STRING', 'Active_View_Percent_Of_Midpoint_Impressions_Visible': 'FLOAT', 'Dbm_Insertion_Order_Id': 'INTEGER', 'Placement_Id': 'INTEGER', 'App_Id': 'STRING', 'View_Through_Transaction_Count': 'FLOAT', 'Floodlight_Paid_Search_Transaction_Revenue_Per_Spend': 'FLOAT', 'View_Through_Conversions': 'FLOAT', 'Dynamic_Element_5_Field_4_Value': 'STRING', 'Active_View_Percent_Of_First_Quartile_Impressions_Audible_And_Visible': 'FLOAT', 'Companion_Creative_Pixel_Size': 'STRING', 'Revenue_Per_Thousand_Impressions': 'FLOAT', 'Natural_Search_Clicks': 'INTEGER', 'Dynamic_Element_3_Field_2_Value': 'STRING', 'Audio_First_Quartile_Completions': 'INTEGER', 'Dynamic_Element_1_Field_Value_3': 'STRING', 'Dynamic_Element_1_Field_Value_2': 'STRING', 'Dynamic_Element_1_Field_Value_1': 'STRING', 'Full_Screen_Average_View_Time': 'FLOAT', 'Dynamic_Element_5_Value_Id': 'STRING', 'Rich_Media_Click_Rate': 'FLOAT', 'User_List_Id': 'INTEGER', 'Click_Through_Url': 'STRING', 'Active_View_Percent_Of_Completed_Impressions_Visible': 'FLOAT', 'Video_Prominence_Score': 'STRING', 'Active_View_Percent_Play_Time_Audible': 'FLOAT', 'Natural_Search_Actions': 'FLOAT', 'Platform_Type': 'STRING', 'General_Invalid_Traffic_Givt_Impressions': 'INTEGER', 'Active_View_Percent_Audible_And_Visible_At_First_Quartile': 'FLOAT', 'Dynamic_Element_3': 'STRING', 'Active_View_Percent_Play_Time_Visible': 'FLOAT', 'Active_View_Percent_Of_Third_Quartile_Impressions_Audible_And_Visible': 'FLOAT', 'Paid_Search_Transactions': 'FLOAT', 'Rich_Media_Event': 'STRING', 'Country': 'STRING', 'Dynamic_Element_3_Field_6_Value': 'STRING', 'Expansions': 'INTEGER', 'Interaction_Rate': 'FLOAT', 'Natural_Search_Processed_Landing_Page': 'STRING', 'Floodlight_Impressions': 'INTEGER', 'Paid_Search_Bid_Strategy_Id': 'INTEGER', 'Interactive_Impressions': 'INTEGER', 'Interaction_Count_Natural_Search': 'INTEGER', 'Twitter_Impression_Id': 'INTEGER', 'Ad': 'STRING', 'Paid_Search_Ad_Group_Id': 'INTEGER', 'Paid_Search_Campaign_Id': 'INTEGER', 'Full_Screen_Video_Completions': 'INTEGER', 'Dynamic_Element_Value': 'STRING', 'State_Region': 'STRING', 'Placement_End_Date': 'DATE', 'Cookie_Reach_Duplicate_Impression_Reach_Percent': 'FLOAT', 'Paid_Search_Impressions': 'INTEGER', 'Cookie_Reach_Average_Impression_Frequency': 'FLOAT', 'Natural_Search_Engine_Country': 'STRING', 'Paid_Search_Revenue': 'FLOAT', 'Percent_Composition_Impressions': 'FLOAT'}
def factorial(n): # return base case if n == 1: return 1 return n * factorial(n - 1) def steps(n): # step 0 if n == 0: return [[0]] # step 1 if n == 1: return [[0, 1]] n_1 = [a_list + [n] for a_list in steps(n-1)] n_2 = [a_list + [n] for a_list in steps(n-2)] return n_1 + n_2 # my_max([5, 2, 3, 8, 1, 6]) = 6 def my_bad_max(my_list): temp_max = 0 counter = 0 for index, value in enumerate(my_list): sublist = my_list[0:index] for second_value in sublist: counter = counter + 1 if value - second_value > temp_max: temp_max = value - second_value print(f'I did {counter} iterations...') return temp_max # my_max([5, 2, 3, 8, 1, 6]) = 6 def my_max(a_list): temp_max = 0 temp_number = 0 counter = 0 for value in reversed(a_list): counter = counter + 1 if value > temp_number: temp_number = value if temp_number - value > temp_max: temp_max = temp_number - value print(f'I did {counter} iterations...') return temp_max if __name__ == '__main__': arr = [5, 2, 3, 8, 1, 6] print(my_max(arr))
def factorial(n): if n == 1: return 1 return n * factorial(n - 1) def steps(n): if n == 0: return [[0]] if n == 1: return [[0, 1]] n_1 = [a_list + [n] for a_list in steps(n - 1)] n_2 = [a_list + [n] for a_list in steps(n - 2)] return n_1 + n_2 def my_bad_max(my_list): temp_max = 0 counter = 0 for (index, value) in enumerate(my_list): sublist = my_list[0:index] for second_value in sublist: counter = counter + 1 if value - second_value > temp_max: temp_max = value - second_value print(f'I did {counter} iterations...') return temp_max def my_max(a_list): temp_max = 0 temp_number = 0 counter = 0 for value in reversed(a_list): counter = counter + 1 if value > temp_number: temp_number = value if temp_number - value > temp_max: temp_max = temp_number - value print(f'I did {counter} iterations...') return temp_max if __name__ == '__main__': arr = [5, 2, 3, 8, 1, 6] print(my_max(arr))
pkgname = "dash" pkgver = "0.5.11.3" pkgrel = 0 build_style = "gnu_configure" pkgdesc = "POSIX-compliant Unix shell, much smaller than GNU bash" maintainer = "q66 <daniel@octaforge.org>" license = "BSD-3-Clause" url = "http://gondor.apana.org.au/~herbert/dash" sources = [f"http://gondor.apana.org.au/~herbert/dash/files/{pkgname}-{pkgver}.tar.gz"] sha256 = ["62b9f1676ba6a7e8eaec541a39ea037b325253240d1f378c72360baa1cbcbc2a"] options = ["bootstrap", "!check"] def post_install(self): self.install_license("COPYING") self.install_link("dash", "usr/bin/sh")
pkgname = 'dash' pkgver = '0.5.11.3' pkgrel = 0 build_style = 'gnu_configure' pkgdesc = 'POSIX-compliant Unix shell, much smaller than GNU bash' maintainer = 'q66 <daniel@octaforge.org>' license = 'BSD-3-Clause' url = 'http://gondor.apana.org.au/~herbert/dash' sources = [f'http://gondor.apana.org.au/~herbert/dash/files/{pkgname}-{pkgver}.tar.gz'] sha256 = ['62b9f1676ba6a7e8eaec541a39ea037b325253240d1f378c72360baa1cbcbc2a'] options = ['bootstrap', '!check'] def post_install(self): self.install_license('COPYING') self.install_link('dash', 'usr/bin/sh')
OCTICON_SYNC = """ <svg class="octicon octicon-sync" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M8 2.5a5.487 5.487 0 00-4.131 1.869l1.204 1.204A.25.25 0 014.896 6H1.25A.25.25 0 011 5.75V2.104a.25.25 0 01.427-.177l1.38 1.38A7.001 7.001 0 0114.95 7.16a.75.75 0 11-1.49.178A5.501 5.501 0 008 2.5zM1.705 8.005a.75.75 0 01.834.656 5.501 5.501 0 009.592 2.97l-1.204-1.204a.25.25 0 01.177-.427h3.646a.25.25 0 01.25.25v3.646a.25.25 0 01-.427.177l-1.38-1.38A7.001 7.001 0 011.05 8.84a.75.75 0 01.656-.834z"></path></svg> """
octicon_sync = '\n<svg class="octicon octicon-sync" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M8 2.5a5.487 5.487 0 00-4.131 1.869l1.204 1.204A.25.25 0 014.896 6H1.25A.25.25 0 011 5.75V2.104a.25.25 0 01.427-.177l1.38 1.38A7.001 7.001 0 0114.95 7.16a.75.75 0 11-1.49.178A5.501 5.501 0 008 2.5zM1.705 8.005a.75.75 0 01.834.656 5.501 5.501 0 009.592 2.97l-1.204-1.204a.25.25 0 01.177-.427h3.646a.25.25 0 01.25.25v3.646a.25.25 0 01-.427.177l-1.38-1.38A7.001 7.001 0 011.05 8.84a.75.75 0 01.656-.834z"></path></svg>\n'
class Movie: def __init__(self,name,genre,watched): self.name= name self.genre = genre self.watched = watched def __repr__(self): return 'Movie : {} and Genre : {}'.format(self.name,self.genre ) def json(self): return { 'name': self.name, 'genre': self.genre, 'watched': self.watched }
class Movie: def __init__(self, name, genre, watched): self.name = name self.genre = genre self.watched = watched def __repr__(self): return 'Movie : {} and Genre : {}'.format(self.name, self.genre) def json(self): return {'name': self.name, 'genre': self.genre, 'watched': self.watched}
f=0 for i in range(0,n): st=str(a[i]) rev=st[::-1] if(st==rev): f=1 else: f=0 if(f==0): return 0 else: return 1
f = 0 for i in range(0, n): st = str(a[i]) rev = st[::-1] if st == rev: f = 1 else: f = 0 if f == 0: return 0 else: return 1
class PresentationSettings(): def __init__(self, settings:dict = {}): self.title = settings['title'] if 'title' in settings else 'Presentation' self.theme = settings['theme'] if 'theme' in settings else 'black'
class Presentationsettings: def __init__(self, settings: dict={}): self.title = settings['title'] if 'title' in settings else 'Presentation' self.theme = settings['theme'] if 'theme' in settings else 'black'
# # PySNMP MIB module ZhoneProductRegistrations (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ZhoneProductRegistrations # Produced by pysmi-0.3.4 at Wed May 1 15:52:37 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") NotificationType, iso, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, ObjectIdentity, IpAddress, Integer32, Gauge32, Counter64, Counter32, Unsigned32, Bits, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "iso", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "ObjectIdentity", "IpAddress", "Integer32", "Gauge32", "Counter64", "Counter32", "Unsigned32", "Bits", "ModuleIdentity") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") zhoneModules, zhoneRegMux, zhoneRegistrations, zhoneRegMalc, zhoneRegCpe, zhoneRegPls, zhoneRegSechtor = mibBuilder.importSymbols("Zhone", "zhoneModules", "zhoneRegMux", "zhoneRegistrations", "zhoneRegMalc", "zhoneRegCpe", "zhoneRegPls", "zhoneRegSechtor") zhoneRegistrationsModule = ModuleIdentity((1, 3, 6, 1, 4, 1, 5504, 6, 1)) zhoneRegistrationsModule.setRevisions(('2012-08-01 16:11', '2011-11-30 11:56', '2011-08-15 07:13', '2011-05-13 05:14', '2010-09-23 14:40', '2010-08-03 10:12', '2010-02-11 15:38', '2009-08-13 14:04', '2008-10-28 13:44', '2007-11-15 12:08', '2007-10-31 13:13', '2007-06-27 11:54', '2007-06-11 16:12', '2007-05-11 16:00', '2007-05-09 10:56', '2007-04-03 10:48', '2007-03-09 14:13', '2006-10-26 15:17', '2006-08-31 20:02', '2006-07-13 16:07', '2006-05-22 16:01', '2006-05-05 15:42', '2006-04-28 13:36', '2006-04-27 13:23', '2006-04-24 12:06', '2006-04-18 17:43', '2006-03-27 11:14', '2005-12-09 14:14', '2004-09-08 17:28', '2004-08-30 11:07', '2004-05-25 12:30', '2004-05-21 14:25', '2004-05-21 13:26', '2004-04-06 01:45', '2004-03-17 10:54', '2004-03-02 14:00', '2003-10-31 14:26', '2003-07-10 12:19', '2003-05-16 17:04', '2003-02-11 14:58', '2002-10-23 10:18', '2002-10-10 09:43', '2002-10-10 09:42', '2001-06-26 17:04', '2001-06-07 11:59', '2001-05-15 11:53', '2001-02-01 13:10', '2000-09-28 16:48', '2000-09-12 10:55',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: zhoneRegistrationsModule.setRevisionsDescriptions(('Add znidNextGen node for ZNID-26xx products.', 'add mx1Ux80 TP-RJ45 new modules', 'Change description of mx1U19x family.', 'Add mx1U19x family', 'Add znidNextGen OIDs for 21xx, 24xx, 94xx, 97xx and FiberJack models.', 'Add the MX1Ux6x and MX1Ux80 products', 'Added mx319.', 'Add znid and znidNextGen nodes.', 'Add SysObjectID values for Raptor-XP-170 flavors', 'Added RaptorXP and MalcXP indoor and outdoor units', 'V01.00.37 - Add SkyZhone 1xxx, EtherXtend 30xxx, and EtherXtend 31xxx nodes.', 'V01.00.36 - Add node FiberSLAM 101.', 'V01.00.35 - Change gigaMux100 node identity name to FiberSLAM 105.', '- Add new card type raptorXP160 in zhoneRegistrations->zhoneRegMalc->raptorXP, - Obsolete the following card types: r100adsl2Pxxx/r100adsl2pgm r100adsl2Pxxx/r100adsl2pgte m100/m100adsl2pgm m100/m100Vdsl2xxx - the whole tree r100Vdsl2xx - the whole tree ', 'Added card types malcXP350A and raptorXP350A', 'V01.00.32 - Add nodes for Raptor XP and MALC XP family definitions. Add raptorXP105A and malcXP150A leaves.', 'V01.00.31 - Add Raptor-XP-150-A definition.', 'Added zhoneRegMalcNextGen node.', 'V01.00.29 - Add m100Adsl2pAnxB', 'V01.00.28 - Add r100Adsl2pAnxB', 'V01.00.27 - Correct case of new onbject names', 'V01.00.26 - Add r100Adsl2pGte', 'V01.00.25 - Add m100Vdsl2Gm', 'V01.00.24 - Add r100Vdsl2Gm', 'V01.00.23 - Add m100Adsl2pGm', ' ', 'V01.00.20 - Add new ethX products.', 'V01.00.19 - added M100 product tree.', 'V01.00.18 -- Add r100Adsl2PGigE definition.', 'V01.00.17 -- Add zrg8xx series.', 'V01.00.17 -- Add zrg6xx series.', 'V01.00.16 - Add r100adsl2p family of products.', 'add zrg700 ODU', 'V01.00.14 - Add isc303 product.', 'V01.00.13 - Add IDU/ODU for ZRG300 and ZRG500 products', 'V01.00.12 - Add raptor50LP product', 'V01.00.11 - Add Zhone Residential Gateway (ZRG) products.', 'V01.00.11 - Added ZEDGE 6200 products', 'V01.00.10 - add raptor100LP product. Modified raptor100A description.', 'V01.00.09 - Added REBEL MALC oids.', 'V01.00.08 -- change malc100 to malc319', 'V01.00.07 - add malc100 product', 'V01.00.06 -- added for skyzhone', 'V01.00.05 - Added malc19 and malc23 Product to the malc product family ', 'V01.00.04 - Expanded 23GHz family to 4 sub-bands per product. Corrected name of 5.7GHz family.', "V01.00.03 - changed zhoneRegZwt to zhoneRegWtn. Added sysObjId's for skyzhone155 and skyzhone8x.", 'V01.00.02 - added sysObjectID assignments for Sechtor 100 models.', 'V01.00.01 - added Wireless Transport Node product type and the DS3 Wireless Transport Node product model.', 'V01.00.00 - Initial Release',)) if mibBuilder.loadTexts: zhoneRegistrationsModule.setLastUpdated('201208011611Z') if mibBuilder.loadTexts: zhoneRegistrationsModule.setOrganization('Zhone Technologies') if mibBuilder.loadTexts: zhoneRegistrationsModule.setContactInfo(' Postal: Zhone Technologies, Inc. @ Zhone Way 7001 Oakport Street Oakland, CA 94621 USA Toll-Free: +1 877-ZHONE20 (+1 877-946-6320) Tel: +1-510-777-7000 Fax: +1-510-777-7001 E-mail: support@zhone.com') if mibBuilder.loadTexts: zhoneRegistrationsModule.setDescription('This mib describes the per product registrations that are then used for the sysObjectId field. The format is 1.3.6.1.4.1.5504.1.x.y.z where 5504 is our enterprise ID. X is the product type so: X = 1 - PLS X = 2 - CPE X = 3 - MUX Y is the product model type: Y = 1 - BAN (for the PLS product) Etc. Y = 1 - IAD-50 (for CPE equipment) Etc. Z is just an incremental field which needs to be documented what value maps to which product model. For example, an IAD-50 could be .1.3.6.1.4.1.5504.1.2.1.1. A new model of the iad-50 that for some reason we would want to differentiate functionality would be .1.3.6.1.4.1.5504.2.1.2. ') ban_2000 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 1, 1)).setLabel("ban-2000") if mibBuilder.loadTexts: ban_2000.setStatus('current') if mibBuilder.loadTexts: ban_2000.setDescription('BAN-2000 sysObjectId.') zedge64 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 1)) if mibBuilder.loadTexts: zedge64.setStatus('current') if mibBuilder.loadTexts: zedge64.setDescription('zedge64 CPE equipment product registrations. The zedge64 has four flavours with diffrenet features so four child node are created under this node. The oid of these child node will be the sysObjectId of the corresponding product.') zedge64_SHDSL_FXS = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 1, 1)).setLabel("zedge64-SHDSL-FXS") if mibBuilder.loadTexts: zedge64_SHDSL_FXS.setStatus('current') if mibBuilder.loadTexts: zedge64_SHDSL_FXS.setDescription('zedge64-SHDSL-FXS sysObjectId.') zedge64_SHDSL_BRI = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 1, 2)).setLabel("zedge64-SHDSL-BRI") if mibBuilder.loadTexts: zedge64_SHDSL_BRI.setStatus('current') if mibBuilder.loadTexts: zedge64_SHDSL_BRI.setDescription('zedge64-SHDSL-BRI sysObjectId.') zedge64_T1_FXS = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 1, 3)).setLabel("zedge64-T1-FXS") if mibBuilder.loadTexts: zedge64_T1_FXS.setStatus('current') if mibBuilder.loadTexts: zedge64_T1_FXS.setDescription('zedge64-T1-FXS sysObjectId.') zedge64_E1_FXS = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 1, 4)).setLabel("zedge64-E1-FXS") if mibBuilder.loadTexts: zedge64_E1_FXS.setStatus('current') if mibBuilder.loadTexts: zedge64_E1_FXS.setDescription('zedge64-E1-FXS sysObjectId.') zedge6200 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 2)) if mibBuilder.loadTexts: zedge6200.setStatus('current') if mibBuilder.loadTexts: zedge6200.setDescription('zedge6200 CPE equipment product registrations. The zedge6200 has 3 flavours with diffrenet features so 3 child nodes are created under this node. The oid of these child node will be the sysObjectId of the corresponding product.') zedge6200_IP_T1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 2, 1)).setLabel("zedge6200-IP-T1") if mibBuilder.loadTexts: zedge6200_IP_T1.setStatus('current') if mibBuilder.loadTexts: zedge6200_IP_T1.setDescription('zedge6200(ipIad) sysObjectId.') zedge6200_IP_EM = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 2, 2)).setLabel("zedge6200-IP-EM") if mibBuilder.loadTexts: zedge6200_IP_EM.setStatus('current') if mibBuilder.loadTexts: zedge6200_IP_EM.setDescription('zedge6200EM sysObjectId.') zedge6200_IP_FXS = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 2, 3)).setLabel("zedge6200-IP-FXS") if mibBuilder.loadTexts: zedge6200_IP_FXS.setStatus('current') if mibBuilder.loadTexts: zedge6200_IP_FXS.setDescription('zedge6200FXS sysObjectId.') zrg3xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 3)) if mibBuilder.loadTexts: zrg3xx.setStatus('current') if mibBuilder.loadTexts: zrg3xx.setDescription('Zhone Residential Gateway ADSL 300 series.') zrg300_IDU = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 3, 1)).setLabel("zrg300-IDU") if mibBuilder.loadTexts: zrg300_IDU.setStatus('current') if mibBuilder.loadTexts: zrg300_IDU.setDescription('1 Lifeline Pots port. 2 Derived voice FXS ports. 1 Ethernet port. 0-4 video decoders. Indoor Unit.') zrg300_ODU = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 3, 2)).setLabel("zrg300-ODU") if mibBuilder.loadTexts: zrg300_ODU.setStatus('current') if mibBuilder.loadTexts: zrg300_ODU.setDescription('1 Lifeline Pots port. 2 Derived voice FXS ports. 1 Ethernet port. 0-4 video decoders. Outdoor Unit.') zrg5xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 4)) if mibBuilder.loadTexts: zrg5xx.setStatus('current') if mibBuilder.loadTexts: zrg5xx.setDescription('Zhone Residential Gateway VDSL 500 series.') zrg500_IDU = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 4, 1)).setLabel("zrg500-IDU") if mibBuilder.loadTexts: zrg500_IDU.setStatus('current') if mibBuilder.loadTexts: zrg500_IDU.setDescription('1 Lifeline Pots port. 2 Derived voice FXS ports. 1 Ethernet port. 0-4 video decoders. Indoor Unit. ') zrg500_ODU = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 4, 2)).setLabel("zrg500-ODU") if mibBuilder.loadTexts: zrg500_ODU.setStatus('current') if mibBuilder.loadTexts: zrg500_ODU.setDescription('1 Lifeline Pots port. 2 Derived voice FXS ports. 1 Ethernet port. 0-4 video decoders. Outdoor Unit.') zrg7xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 5)) if mibBuilder.loadTexts: zrg7xx.setStatus('current') if mibBuilder.loadTexts: zrg7xx.setDescription('Zhone Residential Gateway PON 700 series.') zrg700_IDU = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 5, 1)).setLabel("zrg700-IDU") if mibBuilder.loadTexts: zrg700_IDU.setStatus('current') if mibBuilder.loadTexts: zrg700_IDU.setDescription('4 voice ports 1 multicast video port 1 ethernet channel') zrg700_ODU = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 5, 2)).setLabel("zrg700-ODU") if mibBuilder.loadTexts: zrg700_ODU.setStatus('current') if mibBuilder.loadTexts: zrg700_ODU.setDescription('4 voice ports 1 multicast video port 1 ethernet channel') zrg6xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 6)) if mibBuilder.loadTexts: zrg6xx.setStatus('current') if mibBuilder.loadTexts: zrg6xx.setDescription('Zhone Resedential Gateway 600 series.') zrg600_IDU = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 6, 1)).setLabel("zrg600-IDU") if mibBuilder.loadTexts: zrg600_IDU.setStatus('current') if mibBuilder.loadTexts: zrg600_IDU.setDescription('Description.') zrg600_ODU = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 6, 2)).setLabel("zrg600-ODU") if mibBuilder.loadTexts: zrg600_ODU.setStatus('current') if mibBuilder.loadTexts: zrg600_ODU.setDescription('Description.') zrg8xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 7)) if mibBuilder.loadTexts: zrg8xx.setStatus('current') if mibBuilder.loadTexts: zrg8xx.setDescription('Description.') zrg800_IDU = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 7, 1)).setLabel("zrg800-IDU") if mibBuilder.loadTexts: zrg800_IDU.setStatus('current') if mibBuilder.loadTexts: zrg800_IDU.setDescription('Zrg800 is like a PON (zrg700) with the addition of video set-top boards like those on the zrg3xx. It has a PON uplink, a local 10/100 network, 2 built-in video decoders, and a 2-port Circuit Emulation board.') zrg800_ODU = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 7, 2)).setLabel("zrg800-ODU") if mibBuilder.loadTexts: zrg800_ODU.setStatus('current') if mibBuilder.loadTexts: zrg800_ODU.setDescription('Zrg800 is like a PON (zrg700) with the addition of video set-top boards like those on the zrg3xx. It has a PON uplink, a local 10/100 network, 2 built-in video decoders, and a 2-port Circuit Emulation board.') ethXtendxx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 8)) if mibBuilder.loadTexts: ethXtendxx.setStatus('current') if mibBuilder.loadTexts: ethXtendxx.setDescription('Zhone Ethernet First Mile CPE devices.') ethXtendShdsl = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 8, 1)) if mibBuilder.loadTexts: ethXtendShdsl.setStatus('current') if mibBuilder.loadTexts: ethXtendShdsl.setDescription('Zhone Ethernet First Mile runnig on SHDSL.') ethXtendT1E1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 8, 2)) if mibBuilder.loadTexts: ethXtendT1E1.setStatus('current') if mibBuilder.loadTexts: ethXtendT1E1.setDescription('Zhone Ethernet First Mile running on T1 or E1.') ethXtend30xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 8, 3)) if mibBuilder.loadTexts: ethXtend30xx.setStatus('current') if mibBuilder.loadTexts: ethXtend30xx.setDescription('Zhone Ethernet First Mile over SHDSL 30xx product family.') ethXtend31xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 8, 4)) if mibBuilder.loadTexts: ethXtend31xx.setStatus('current') if mibBuilder.loadTexts: ethXtend31xx.setDescription('Zhone Ethernet First Mile over SHDSL with T1/E1 PWE 31xx product family.') ethXtend32xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 8, 5)) if mibBuilder.loadTexts: ethXtend32xx.setStatus('current') if mibBuilder.loadTexts: ethXtend32xx.setDescription('Zhone Ethernet First Mile over SHDSL with Voice Ports 32xx product family.') znid = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 9)) if mibBuilder.loadTexts: znid.setStatus('current') if mibBuilder.loadTexts: znid.setDescription('Zhone Network Interface Device (ZNID) heritage product family.') znid42xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 9, 1)) if mibBuilder.loadTexts: znid42xx.setStatus('current') if mibBuilder.loadTexts: znid42xx.setDescription('Zhone Network Interface Device (ZNID) heritage product family which includes the 421x and 422x models in the heritage housing.') znidGPON42xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 9, 1, 2)) if mibBuilder.loadTexts: znidGPON42xx.setStatus('current') if mibBuilder.loadTexts: znidGPON42xx.setDescription('Zhone Network Interface Device (ZNID) heritage GPON 421x and 422x RFOG products.') znidEth422x = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 9, 1, 3)) if mibBuilder.loadTexts: znidEth422x.setStatus('current') if mibBuilder.loadTexts: znidEth422x.setDescription('Zhone Network Interface Device (ZNID) heritage Active Ethernet 422x products.') znid420x = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 9, 2)) if mibBuilder.loadTexts: znid420x.setStatus('current') if mibBuilder.loadTexts: znid420x.setDescription('Zhone Network Interface Device (ZNID) heritage 420x product family in the next generation housing.') znidGPON420x = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 9, 2, 1)) if mibBuilder.loadTexts: znidGPON420x.setStatus('current') if mibBuilder.loadTexts: znidGPON420x.setDescription('Zhone Network Interface Device (ZNID) heritage GPON 420x products in the next generation housing.') znidNextGen = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10)) if mibBuilder.loadTexts: znidNextGen.setStatus('current') if mibBuilder.loadTexts: znidNextGen.setDescription('Zhone Network Interface Device (ZNID) next generation product family.') znidNextGen22xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 1)) if mibBuilder.loadTexts: znidNextGen22xx.setStatus('current') if mibBuilder.loadTexts: znidNextGen22xx.setDescription('Zhone Network Interface Device (ZNID) next generation indoor 22xx product family.') znidNextGenGE22xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 1, 1)) if mibBuilder.loadTexts: znidNextGenGE22xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE22xx.setDescription('Zhone Network Interface Device (ZNID) next generation 22xx Indoor Active GigE products.') znidNextGen42xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 2)) if mibBuilder.loadTexts: znidNextGen42xx.setStatus('current') if mibBuilder.loadTexts: znidNextGen42xx.setDescription('Zhone Network Interface Device (ZNID) next generation 42xx product family.') znidNextGenGPON42xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 2, 1)) if mibBuilder.loadTexts: znidNextGenGPON42xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGPON42xx.setDescription('Zhone Network Interface Device (ZNID) next generation Outdoor 42xx GPON products.') znidNextGenGE42xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 2, 2)) if mibBuilder.loadTexts: znidNextGenGE42xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE42xx.setDescription('Zhone Network Interface Device (ZNID) next generation Outdoor 42xx Active GigE products.') znidNextGen9xxx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 3)) if mibBuilder.loadTexts: znidNextGen9xxx.setStatus('current') if mibBuilder.loadTexts: znidNextGen9xxx.setDescription('Zhone Network Interface Device (ZNID) next generation 9xxx product family.') znidNextGenGPON9xxx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 3, 1)) if mibBuilder.loadTexts: znidNextGenGPON9xxx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGPON9xxx.setDescription('Zhone Network Interface Device (ZNID) next generation 9xxx Outdoor GPON products.') znidNextGenGE9xxx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 3, 2)) if mibBuilder.loadTexts: znidNextGenGE9xxx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE9xxx.setDescription('Zhone Network Interface Device (ZNID) next generation 9xxx Outdoor Active GigE products.') znidNextGenGPON94xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 3, 3)) if mibBuilder.loadTexts: znidNextGenGPON94xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGPON94xx.setDescription('Zhone Network Interface Device (ZNID) next generation 94xx Outdoor GPON Pseudo-Wire Emulation products.') znidNextGenGE94xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 3, 4)) if mibBuilder.loadTexts: znidNextGenGE94xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE94xx.setDescription('Zhone Network Interface Device (ZNID) next generation 94xx Outdoor Active GigE Pseudo-Wire Emulation products.') znidNextGenGPON97xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 3, 5)) if mibBuilder.loadTexts: znidNextGenGPON97xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGPON97xx.setDescription('Zhone Network Interface Device (ZNID) next generation 97xx Outdoor GPON VDSL products.') znidNextGenGE97xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 3, 6)) if mibBuilder.loadTexts: znidNextGenGE97xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE97xx.setDescription('Zhone Network Interface Device (ZNID) next generation 97xx Outdoor Active GigE VDSL products.') fiberJack = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 4)) if mibBuilder.loadTexts: fiberJack.setStatus('current') if mibBuilder.loadTexts: fiberJack.setDescription('Integrated GPON Uplink Module.') znidNextGen21xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 5)) if mibBuilder.loadTexts: znidNextGen21xx.setStatus('current') if mibBuilder.loadTexts: znidNextGen21xx.setDescription('Zhone Network Interface Device (ZNID) next generation indoor 21xx product family.') znidNextGenGPON21xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 5, 1)) if mibBuilder.loadTexts: znidNextGenGPON21xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGPON21xx.setDescription('Zhone Network Interface Device (ZNID) next generation 21xx Indoor GPON products without voice.') znidNextGenGE21xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 5, 2)) if mibBuilder.loadTexts: znidNextGenGE21xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE21xx.setDescription('Zhone Network Interface Device (ZNID) next generation 21xx Indoor Active GigE products without voice.') znidNextGen24xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 6)) if mibBuilder.loadTexts: znidNextGen24xx.setStatus('current') if mibBuilder.loadTexts: znidNextGen24xx.setDescription('Zhone Network Interface Device (ZNID) next generation indoor 24xx product family.') znidNextGenGPON24xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 6, 1)) if mibBuilder.loadTexts: znidNextGenGPON24xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGPON24xx.setDescription('Zhone Network Interface Device (ZNID) next generation 24xx Indoor GPON products.') znidNextGenGE24xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 6, 2)) if mibBuilder.loadTexts: znidNextGenGE24xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE24xx.setDescription('Zhone Network Interface Device (ZNID) next generation 24xx Indoor Active GigE products.') znidNextGen26xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 7)) if mibBuilder.loadTexts: znidNextGen26xx.setStatus('current') if mibBuilder.loadTexts: znidNextGen26xx.setDescription('Zhone Network Interface Device (ZNID) 26xx series Indoor 26xx product family.') znidNextGenGPON26xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 7, 1)) if mibBuilder.loadTexts: znidNextGenGPON26xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGPON26xx.setDescription('Zhone Network Interface Device (ZNID) 26xx series Indoor GPON products.') znidNextGenGE26xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 7, 2)) if mibBuilder.loadTexts: znidNextGenGE26xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE26xx.setDescription('Zhone Network Interface Device (ZNID) 26xx series Indoor Active GigE products.') z_plex10B = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 3, 1)).setLabel("z-plex10B") if mibBuilder.loadTexts: z_plex10B.setStatus('current') if mibBuilder.loadTexts: z_plex10B.setDescription('Z-Plex10B CPE equipment product registrations. The z-plex has two flavours with diffrenet features so two child node are created under this node.The oid of these child node will be the sysObjectId of the corresponding z-plex product.') z_plex10B_FXS_FXO = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 3, 1, 1)).setLabel("z-plex10B-FXS-FXO") if mibBuilder.loadTexts: z_plex10B_FXS_FXO.setStatus('current') if mibBuilder.loadTexts: z_plex10B_FXS_FXO.setDescription('z-plex10B-FXS-FXO sysObjectId.') z_plex10B_FXS = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 3, 1, 2)).setLabel("z-plex10B-FXS") if mibBuilder.loadTexts: z_plex10B_FXS.setStatus('current') if mibBuilder.loadTexts: z_plex10B_FXS.setDescription('z-plex10B-FXS sysObjectId.') sechtor_100 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 4, 1)).setLabel("sechtor-100") if mibBuilder.loadTexts: sechtor_100.setStatus('current') if mibBuilder.loadTexts: sechtor_100.setDescription('Sechtor-100 sysObjectId.') s100_ATM_SM_16T1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 4, 1, 1)).setLabel("s100-ATM-SM-16T1") if mibBuilder.loadTexts: s100_ATM_SM_16T1.setStatus('current') if mibBuilder.loadTexts: s100_ATM_SM_16T1.setDescription('sysObjectID for S100-ATM-SM-16T1.') s100_ATM_SM_16E1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 4, 1, 2)).setLabel("s100-ATM-SM-16E1") if mibBuilder.loadTexts: s100_ATM_SM_16E1.setStatus('current') if mibBuilder.loadTexts: s100_ATM_SM_16E1.setDescription('sysObjectID for S100-ATM-SM-16E1.') sechtor_300 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 4, 2)).setLabel("sechtor-300") if mibBuilder.loadTexts: sechtor_300.setStatus('current') if mibBuilder.loadTexts: sechtor_300.setDescription('Sechtor-300 sysObjectId.') zhoneRegWtn = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5)) if mibBuilder.loadTexts: zhoneRegWtn.setStatus('current') if mibBuilder.loadTexts: zhoneRegWtn.setDescription('Zhone Wireless Transport Registration.') node5700Mhz = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 1)) if mibBuilder.loadTexts: node5700Mhz.setStatus('current') if mibBuilder.loadTexts: node5700Mhz.setDescription('sysObjectId Family for Wireless Transport Node with 5.7Ghz radio.') skyZhone45 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 1, 1)) if mibBuilder.loadTexts: skyZhone45.setStatus('current') if mibBuilder.loadTexts: skyZhone45.setDescription('Unit contains a built in (not modular) ds3 interface on the wireline side.') oduTypeA = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 1, 1, 1)) if mibBuilder.loadTexts: oduTypeA.setStatus('current') if mibBuilder.loadTexts: oduTypeA.setDescription('Unit transmits at 5735Mhz, receives at 5260Mhz (channel 1). Also known as ODU type A.') oduTypeB = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 1, 1, 2)) if mibBuilder.loadTexts: oduTypeB.setStatus('current') if mibBuilder.loadTexts: oduTypeB.setDescription('Unit transmits at 5260Mhz, receives at 5735Mhz (channel 1). Also known as ODU type B.') node23000Mhz = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2)) if mibBuilder.loadTexts: node23000Mhz.setStatus('current') if mibBuilder.loadTexts: node23000Mhz.setDescription('sysObjectId Family for Wireless Transport Node with 23Ghz radio in accordance with ITU-R F.637-3 Specifications.') skyZhone8e1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 1)) if mibBuilder.loadTexts: skyZhone8e1.setStatus('current') if mibBuilder.loadTexts: skyZhone8e1.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') oduTypeE1A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 1, 1)) if mibBuilder.loadTexts: oduTypeE1A.setStatus('current') if mibBuilder.loadTexts: oduTypeE1A.setDescription('Unit transmits at 21200-21500Mhz, receives at 22400-22700Mhz.') oduTypeE1B = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 1, 2)) if mibBuilder.loadTexts: oduTypeE1B.setStatus('current') if mibBuilder.loadTexts: oduTypeE1B.setDescription('Unit transmits at 22400-22700Mhz, receives at 21200-21500Mhz.') skyZhone8e2 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 2)) if mibBuilder.loadTexts: skyZhone8e2.setStatus('current') if mibBuilder.loadTexts: skyZhone8e2.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') oduTypeE2A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 2, 1)) if mibBuilder.loadTexts: oduTypeE2A.setStatus('current') if mibBuilder.loadTexts: oduTypeE2A.setDescription('Unit transmits at 21500-21800Mhz, receives at 22700-23000Mhz.') oduTypeE2B = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 2, 2)) if mibBuilder.loadTexts: oduTypeE2B.setStatus('current') if mibBuilder.loadTexts: oduTypeE2B.setDescription('Unit transmits at 22700-23000Mhz, receives at 21500-21800Mhz.') skyZhone8e3 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 3)) if mibBuilder.loadTexts: skyZhone8e3.setStatus('current') if mibBuilder.loadTexts: skyZhone8e3.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') oduTypeE3A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 3, 1)) if mibBuilder.loadTexts: oduTypeE3A.setStatus('current') if mibBuilder.loadTexts: oduTypeE3A.setDescription('Unit transmits at 21800-22100Mhz, receives at 23000-23300Mhz.') oduTypeE3B = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 3, 2)) if mibBuilder.loadTexts: oduTypeE3B.setStatus('current') if mibBuilder.loadTexts: oduTypeE3B.setDescription('Unit transmits at 23000-23300Mhz, receives at 21800-22100Mhz.') skyZhone8e4 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 4)) if mibBuilder.loadTexts: skyZhone8e4.setStatus('current') if mibBuilder.loadTexts: skyZhone8e4.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') oduTypeE4A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 4, 1)) if mibBuilder.loadTexts: oduTypeE4A.setStatus('current') if mibBuilder.loadTexts: oduTypeE4A.setDescription('Unit transmits at 22100-22400Mhz, receives at 23300-23600Mhz.') oduTypeE4B = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 4, 2)) if mibBuilder.loadTexts: oduTypeE4B.setStatus('current') if mibBuilder.loadTexts: oduTypeE4B.setDescription('Unit transmits at 23300-23600Mhz, receives at 22100-22400Mhz.') skyZhone8t1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 5)) if mibBuilder.loadTexts: skyZhone8t1.setStatus('current') if mibBuilder.loadTexts: skyZhone8t1.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') oduTypeT1A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 5, 1)) if mibBuilder.loadTexts: oduTypeT1A.setStatus('current') if mibBuilder.loadTexts: oduTypeT1A.setDescription('Unit transmits at 21200-21500Mhz, receives at 22400-22700Mhz.') oduTypeT1B = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 5, 2)) if mibBuilder.loadTexts: oduTypeT1B.setStatus('current') if mibBuilder.loadTexts: oduTypeT1B.setDescription('Unit transmits at 22400-22700Mhz, receives at 21200-21500Mhz.') skyZhone8t2 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 6)) if mibBuilder.loadTexts: skyZhone8t2.setStatus('current') if mibBuilder.loadTexts: skyZhone8t2.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') oduTypeT2A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 6, 1)) if mibBuilder.loadTexts: oduTypeT2A.setStatus('current') if mibBuilder.loadTexts: oduTypeT2A.setDescription('Unit transmits at 21500-21800Mhz, receives at 22700-23000Mhz.') oduTypeT2B = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 6, 2)) if mibBuilder.loadTexts: oduTypeT2B.setStatus('current') if mibBuilder.loadTexts: oduTypeT2B.setDescription('Unit transmits at 22700-23000Mhz, receives at 21500-21800Mhz.') skyZhone8t3 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 7)) if mibBuilder.loadTexts: skyZhone8t3.setStatus('current') if mibBuilder.loadTexts: skyZhone8t3.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') oduTypeT3A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 7, 1)) if mibBuilder.loadTexts: oduTypeT3A.setStatus('current') if mibBuilder.loadTexts: oduTypeT3A.setDescription('Unit transmits at 21800-22100Mhz, receives at 23000-23300Mhz.') oduTypeT3B = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 7, 2)) if mibBuilder.loadTexts: oduTypeT3B.setStatus('current') if mibBuilder.loadTexts: oduTypeT3B.setDescription('Unit transmits at 23000-23300Mhz, receives at 21800-22100Mhz.') skyZhone8t4 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 8)) if mibBuilder.loadTexts: skyZhone8t4.setStatus('current') if mibBuilder.loadTexts: skyZhone8t4.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') oduTypeT4A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 8, 1)) if mibBuilder.loadTexts: oduTypeT4A.setStatus('current') if mibBuilder.loadTexts: oduTypeT4A.setDescription('Unit transmits at 22100-22400Mhz, receives at 23300-23600Mhz.') oduTypeT4B = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 8, 2)) if mibBuilder.loadTexts: oduTypeT4B.setStatus('current') if mibBuilder.loadTexts: oduTypeT4B.setDescription('Unit transmits at 23300-23600Mhz, receives at 22100-22400Mhz.') skyZhone155s1 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 9)) if mibBuilder.loadTexts: skyZhone155s1.setStatus('current') if mibBuilder.loadTexts: skyZhone155s1.setDescription('Variant of transport node with STM-1 interface which operates a link at frequency bands 21.2-21.8Ghz and 22.4-23Ghz. 28Mhz Channel separation.') oduTypeS1A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 9, 1)) if mibBuilder.loadTexts: oduTypeS1A.setStatus('current') if mibBuilder.loadTexts: oduTypeS1A.setDescription('Unit transmits at 21200-21500Mhz, receives at 22400-22700Mhz.') oduTypeS1B = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 9, 2)) if mibBuilder.loadTexts: oduTypeS1B.setStatus('current') if mibBuilder.loadTexts: oduTypeS1B.setDescription('Unit transmits at 22400-22700Mhz, receives at 21200-21500Mhz.') skyZhone155s2 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 10)) if mibBuilder.loadTexts: skyZhone155s2.setStatus('current') if mibBuilder.loadTexts: skyZhone155s2.setDescription('Variant of transport node with STM-1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 28Mhz Channel separation.') oduTypeS2A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 10, 1)) if mibBuilder.loadTexts: oduTypeS2A.setStatus('current') if mibBuilder.loadTexts: oduTypeS2A.setDescription('Unit transmits at 21500-21800Mhz, receives at 22700-23000Mhz.') oduTypeS2B = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 10, 2)) if mibBuilder.loadTexts: oduTypeS2B.setStatus('current') if mibBuilder.loadTexts: oduTypeS2B.setDescription('Unit transmits at 22700-23000Mhz, receives at 21500-21800Mhz.') skyZhone155s3 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 11)) if mibBuilder.loadTexts: skyZhone155s3.setStatus('current') if mibBuilder.loadTexts: skyZhone155s3.setDescription('Variant of transport node with STM-1 interface which operates a link at frequency bands 21.2-21.8Ghz and 22.4-23Ghz. 28Mhz Channel separation.') oduTypeS3A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 11, 1)) if mibBuilder.loadTexts: oduTypeS3A.setStatus('current') if mibBuilder.loadTexts: oduTypeS3A.setDescription('Unit transmits at 21800-22100Mhz, receives at 23000-23300Mhz.') oduTypeS3B = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 11, 2)) if mibBuilder.loadTexts: oduTypeS3B.setStatus('current') if mibBuilder.loadTexts: oduTypeS3B.setDescription('Unit transmits at 23000-23300Mhz, receives at 21800-22100Mhz.') skyZhone155s4 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 12)) if mibBuilder.loadTexts: skyZhone155s4.setStatus('current') if mibBuilder.loadTexts: skyZhone155s4.setDescription('Variant of transport node with STM-1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 28Mhz Channel separation.') oduTypeS4A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 12, 1)) if mibBuilder.loadTexts: oduTypeS4A.setStatus('current') if mibBuilder.loadTexts: oduTypeS4A.setDescription('Unit transmits at 22100-22400Mhz, receives at 23300-23600Mhz.') oduTypeS4B = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 12, 2)) if mibBuilder.loadTexts: oduTypeS4B.setStatus('current') if mibBuilder.loadTexts: oduTypeS4B.setDescription('Unit transmits at 23300-23600Mhz, receives at 22100-22400Mhz.') skyZhone1xxx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 3)) if mibBuilder.loadTexts: skyZhone1xxx.setStatus('current') if mibBuilder.loadTexts: skyZhone1xxx.setDescription('SkyZhone 802.11 a/b/g/n Wifi Access Points product family.') malc19 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 1)) if mibBuilder.loadTexts: malc19.setStatus('current') if mibBuilder.loadTexts: malc19.setDescription('Multiple Access Loop Concentrator with 19 inch rack mount cabinet product identifier.') malc23 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 2)) if mibBuilder.loadTexts: malc23.setStatus('current') if mibBuilder.loadTexts: malc23.setDescription('Multiple Access Loop Concentrator with 23 inch rack mount cabinet product identifier.') malc319 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 3)) if mibBuilder.loadTexts: malc319.setStatus('current') if mibBuilder.loadTexts: malc319.setDescription('Multiple Access Loop Concentrator with 10 inch rack mount cabinet product identifier.') raptor319A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 4)) if mibBuilder.loadTexts: raptor319A.setStatus('current') if mibBuilder.loadTexts: raptor319A.setDescription('Raptor MALC with 10 inch rack mount cabinet product identifier. The Raptor differs from the standard MALC in that it does not have any subscriber voice capability.') raptor319I = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 5)) if mibBuilder.loadTexts: raptor319I.setStatus('current') if mibBuilder.loadTexts: raptor319I.setDescription('Raptor MALC with IP termination, with 10 inch rack mount cabinet product identifier. The Raptor differs from the standard MALC in that it does not have any subscriber voice capability.') raptor719A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 6)) if mibBuilder.loadTexts: raptor719A.setStatus('current') if mibBuilder.loadTexts: raptor719A.setDescription('Raptor MALC with 19 inch rack mount cabinet product identifier. The Raptor differs from the standard MALC in that it does not have any subscriber voice capability.') raptor719I = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 7)) if mibBuilder.loadTexts: raptor719I.setStatus('current') if mibBuilder.loadTexts: raptor719I.setDescription('Raptor MALC with IP termination, with 10 inch rack mount cabinet product identifier. The Raptor differs from the standard MALC in that it does not have any subscriber voice capability.') raptor723A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 8)) if mibBuilder.loadTexts: raptor723A.setStatus('current') if mibBuilder.loadTexts: raptor723A.setDescription('Raptor MALC with 23 inch rack mount cabinet product identifier. The Raptor differs from the standard MALC in that it does not have any subscriber voice capability.') raptor723I = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 9)) if mibBuilder.loadTexts: raptor723I.setStatus('current') if mibBuilder.loadTexts: raptor723I.setDescription('Raptor MALC with IP termination, with 10 inch rack mount cabinet product identifier. The Raptor differs from the standard MALC in that it does not have any subscriber voice capability.') raptor100A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 10)) if mibBuilder.loadTexts: raptor100A.setStatus('current') if mibBuilder.loadTexts: raptor100A.setDescription('RAPTOR-100A in a single board configuration. The RAPTOR 100A is a single-board MALC with up to 4 T1/E1 IMA/UNI uplinks and 24 ADSL lines. It is offered with or without a splitter daughter-board. The RAPTOR-100A does not offer any subscriber voice services.') raptor100I = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 11)) if mibBuilder.loadTexts: raptor100I.setStatus('current') if mibBuilder.loadTexts: raptor100I.setDescription('Raptor MALC in single-board configuration with IP termination product identifier. The Raptor differs from the standard MALC in that it does not have any subscriber voice capability.') raptor100LP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 12)) if mibBuilder.loadTexts: raptor100LP.setStatus('current') if mibBuilder.loadTexts: raptor100LP.setDescription('RAPTOR-100 Line Powered in a single board configuration. The RAPTOR-100 Line-Powered is a single-board MALC with up to four GSHDSL uplinks and 16 ADSL lines. It is offered with or without a splitter daughter-board. The RAPTOR-100 LP does not offer any subscriber voice services.') raptor50Gshdsl = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 13)) if mibBuilder.loadTexts: raptor50Gshdsl.setStatus('current') if mibBuilder.loadTexts: raptor50Gshdsl.setDescription('RAPTOR-100 Line Powered in a single board configuration. The RAPTOR-100 Line-Powered is a single-board MALC with up to four GSHDSL uplinks and 16 ADSL lines. It is offered with or without a splitter daughter-board. The RAPTOR-100 LP does not offer any subscriber voice services.') isc303 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 14)) if mibBuilder.loadTexts: isc303.setStatus('current') if mibBuilder.loadTexts: isc303.setDescription('ISC-303 ADSL subsystem based on modified legacy ISC-303 TDM platform. The ISC-303 ADSL system provides up to 60 ADSL ports spread over 24 line cards. The system is fed by two T1 lines. The T1 IMA uplink operates on half of the eCTU card and the ADSL operates on half of each of the ADSL line cards. This system does not offer any subscriber voice services.') r100adsl2Pxxx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15)) if mibBuilder.loadTexts: r100adsl2Pxxx.setStatus('current') if mibBuilder.loadTexts: r100adsl2Pxxx.setDescription('R100 ADSL2P family of products.') r100adsl2pip = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15, 1)) if mibBuilder.loadTexts: r100adsl2pip.setStatus('current') if mibBuilder.loadTexts: r100adsl2pip.setDescription('R100 ADSL2P IP.') r100adsl2phdsl4 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15, 2)) if mibBuilder.loadTexts: r100adsl2phdsl4.setStatus('current') if mibBuilder.loadTexts: r100adsl2phdsl4.setDescription('R100 ADSL2P HDSL4.') r100adsl2pt1ima = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15, 3)) if mibBuilder.loadTexts: r100adsl2pt1ima.setStatus('current') if mibBuilder.loadTexts: r100adsl2pt1ima.setDescription('R100 ADSL2P T1IMA.') r100adsl2pgige = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15, 4)) if mibBuilder.loadTexts: r100adsl2pgige.setStatus('current') if mibBuilder.loadTexts: r100adsl2pgige.setDescription('R100 ADSL2P GigE.') r100adsl2pgm = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15, 5)) if mibBuilder.loadTexts: r100adsl2pgm.setStatus('obsolete') if mibBuilder.loadTexts: r100adsl2pgm.setDescription('R100 Adsl2P Gm') r100adsl2pgte = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15, 6)) if mibBuilder.loadTexts: r100adsl2pgte.setStatus('obsolete') if mibBuilder.loadTexts: r100adsl2pgte.setDescription('R100 ADSL2P GTE') r100adsl2panxb = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15, 7)) if mibBuilder.loadTexts: r100adsl2panxb.setStatus('current') if mibBuilder.loadTexts: r100adsl2panxb.setDescription('R100 ADSL2P ANXB') m100 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 16)) if mibBuilder.loadTexts: m100.setStatus('current') if mibBuilder.loadTexts: m100.setDescription('M100.') m100adsl2pxxx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 16, 1)) if mibBuilder.loadTexts: m100adsl2pxxx.setStatus('current') if mibBuilder.loadTexts: m100adsl2pxxx.setDescription('M100 ADSL2P.') m100adsl2pgige = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 16, 1, 1)) if mibBuilder.loadTexts: m100adsl2pgige.setStatus('current') if mibBuilder.loadTexts: m100adsl2pgige.setDescription('M100 ADSL2P GigE.') m100adsl2pgm = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 16, 1, 2)) if mibBuilder.loadTexts: m100adsl2pgm.setStatus('obsolete') if mibBuilder.loadTexts: m100adsl2pgm.setDescription('M100 Adsl2p Gm') m100Adsl2pAnxB = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 16, 1, 3)) if mibBuilder.loadTexts: m100Adsl2pAnxB.setStatus('current') if mibBuilder.loadTexts: m100Adsl2pAnxB.setDescription('MALC 100 ADSL2P ANXB') m100Vdsl2xxx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 16, 2)) if mibBuilder.loadTexts: m100Vdsl2xxx.setStatus('obsolete') if mibBuilder.loadTexts: m100Vdsl2xxx.setDescription('M100 Vdsl2') m100vdsl2gm = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 16, 2, 1)) if mibBuilder.loadTexts: m100vdsl2gm.setStatus('obsolete') if mibBuilder.loadTexts: m100vdsl2gm.setDescription('M100 Vdsl2 Gm') r100Vdsl2xx = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 17)) if mibBuilder.loadTexts: r100Vdsl2xx.setStatus('obsolete') if mibBuilder.loadTexts: r100Vdsl2xx.setDescription('Raptor 100 Vdsl2 series') r100vdsl2gm = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 17, 1)) if mibBuilder.loadTexts: r100vdsl2gm.setStatus('obsolete') if mibBuilder.loadTexts: r100vdsl2gm.setDescription('R100 VDSL2 GM') fiberSlam = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 18)) if mibBuilder.loadTexts: fiberSlam.setStatus('current') if mibBuilder.loadTexts: fiberSlam.setDescription('FiberSLAM series.') fs105 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 18, 1)) if mibBuilder.loadTexts: fs105.setStatus('current') if mibBuilder.loadTexts: fs105.setDescription('fiberslam-105 provides datacom (2xGigE, 2x10/100) and telecom (16xT1/E1, 3xDS3/E3) traffic mapping over SONET/SDH at 2.5Gbps.') fs101 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 18, 2)) if mibBuilder.loadTexts: fs101.setStatus('current') if mibBuilder.loadTexts: fs101.setDescription('fiberslam-101 provides datacom (2xGigE, 2x10/100) and telecom (16xT1/E1) traffic mapping over SONET/SDH at 2.5Gbps.') raptorXP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19)) if mibBuilder.loadTexts: raptorXP.setStatus('current') if mibBuilder.loadTexts: raptorXP.setDescription('Raptor XP family') raptorXP150A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 1)) if mibBuilder.loadTexts: raptorXP150A.setStatus('current') if mibBuilder.loadTexts: raptorXP150A.setDescription('Raptor-XP-150-A, the Raptor Adsl2 board') raptorXP150A_ISP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 1, 1)) if mibBuilder.loadTexts: raptorXP150A_ISP.setStatus('current') if mibBuilder.loadTexts: raptorXP150A_ISP.setDescription('Raptor-150A Indoor Unit') raptorXP150A_OSP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 1, 2)) if mibBuilder.loadTexts: raptorXP150A_OSP.setStatus('current') if mibBuilder.loadTexts: raptorXP150A_OSP.setDescription('Raptor-150A Outdoor Unit') raptorXP350A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 2)) if mibBuilder.loadTexts: raptorXP350A.setStatus('current') if mibBuilder.loadTexts: raptorXP350A.setDescription('Raptor-XP-350-A, the Raptor Adsl2 T1/E1 board') raptorXP350A_ISP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 2, 1)) if mibBuilder.loadTexts: raptorXP350A_ISP.setStatus('current') if mibBuilder.loadTexts: raptorXP350A_ISP.setDescription('Raptor-XP-350A Indoor Unit') raptorXP350A_OSP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 2, 2)) if mibBuilder.loadTexts: raptorXP350A_OSP.setStatus('current') if mibBuilder.loadTexts: raptorXP350A_OSP.setDescription('Raptor-XP-350A Outdoor Unit') raptorXP160 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 3)) if mibBuilder.loadTexts: raptorXP160.setStatus('current') if mibBuilder.loadTexts: raptorXP160.setDescription('Raptor-XP-160, the Raptor Vdsl2 board') raptorXP160_ISP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 3, 1)) if mibBuilder.loadTexts: raptorXP160_ISP.setStatus('current') if mibBuilder.loadTexts: raptorXP160_ISP.setDescription('Raptor-XP-160 Indoor Unit') raptorXP160_OSP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 3, 2)) if mibBuilder.loadTexts: raptorXP160_OSP.setStatus('current') if mibBuilder.loadTexts: raptorXP160_OSP.setDescription('Raptor-XP-160 Outdoor Unit') raptorXP170 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4)) if mibBuilder.loadTexts: raptorXP170.setStatus('current') if mibBuilder.loadTexts: raptorXP170.setDescription('Raptor-XP-170, the Raptor SHDSL board') raptorXP170_WC = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 1)) if mibBuilder.loadTexts: raptorXP170_WC.setStatus('current') if mibBuilder.loadTexts: raptorXP170_WC.setDescription('Raptor-XP-170 with Wetting Current') raptorXP170_ISP_WC = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 1, 1)) if mibBuilder.loadTexts: raptorXP170_ISP_WC.setStatus('current') if mibBuilder.loadTexts: raptorXP170_ISP_WC.setDescription('Raptor-XP-170 Indoor Unit with Wetting Current') raptorXP170_OSP_WC = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 1, 2)) if mibBuilder.loadTexts: raptorXP170_OSP_WC.setStatus('current') if mibBuilder.loadTexts: raptorXP170_OSP_WC.setDescription('Raptor-XP-170 Outdoor Unit with Wetting Current') raptorXP170_WC_SD = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 2)) if mibBuilder.loadTexts: raptorXP170_WC_SD.setStatus('current') if mibBuilder.loadTexts: raptorXP170_WC_SD.setDescription('Raptor-XP-170 with Wetting Current and SELT/DELT') raptorXP170_ISP_WC_SD = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 2, 1)) if mibBuilder.loadTexts: raptorXP170_ISP_WC_SD.setStatus('current') if mibBuilder.loadTexts: raptorXP170_ISP_WC_SD.setDescription('Raptor-XP-170 Indoor Unit with Wetting Current and SELT/DELT') raptorXP170_OSP_WC_SD = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 2, 2)) if mibBuilder.loadTexts: raptorXP170_OSP_WC_SD.setStatus('current') if mibBuilder.loadTexts: raptorXP170_OSP_WC_SD.setDescription('Raptor-XP-170 Outdoor Unit with Wetting Current and SELT/DELT') raptorXP170_LP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 3)) if mibBuilder.loadTexts: raptorXP170_LP.setStatus('current') if mibBuilder.loadTexts: raptorXP170_LP.setDescription('Raptor-XP-170 with Line Power') raptorXP170_ISP_LP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 3, 1)) if mibBuilder.loadTexts: raptorXP170_ISP_LP.setStatus('current') if mibBuilder.loadTexts: raptorXP170_ISP_LP.setDescription('Raptor-XP-170 Indoor Unit with Line Power') raptorXP170_OSP_LP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 3, 2)) if mibBuilder.loadTexts: raptorXP170_OSP_LP.setStatus('current') if mibBuilder.loadTexts: raptorXP170_OSP_LP.setDescription('Raptor-XP-170 Outdoor Unit with Line Power') raptorXP170_LP_SD = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 4)) if mibBuilder.loadTexts: raptorXP170_LP_SD.setStatus('current') if mibBuilder.loadTexts: raptorXP170_LP_SD.setDescription('Raptor-XP-170 with Line Power and SELT/DELT') raptorXP170_ISP_LP_SD = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 4, 1)) if mibBuilder.loadTexts: raptorXP170_ISP_LP_SD.setStatus('current') if mibBuilder.loadTexts: raptorXP170_ISP_LP_SD.setDescription('Raptor-XP-170 Indoor Unit with Line Power and SELT/DELT') raptorXP170_OSP_LP_SD = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 4, 2)) if mibBuilder.loadTexts: raptorXP170_OSP_LP_SD.setStatus('current') if mibBuilder.loadTexts: raptorXP170_OSP_LP_SD.setDescription('Raptor-XP-170 Outdoor Unit with Line Power and SELT/DELT') malcXP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20)) if mibBuilder.loadTexts: malcXP.setStatus('current') if mibBuilder.loadTexts: malcXP.setDescription('Malc-XP family') malcXP150A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 1)) if mibBuilder.loadTexts: malcXP150A.setStatus('current') if mibBuilder.loadTexts: malcXP150A.setDescription('Malc-XP-150-A, the Raptor Adsl2 POTS board') malcXP150A_ISP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 1, 1)) if mibBuilder.loadTexts: malcXP150A_ISP.setStatus('current') if mibBuilder.loadTexts: malcXP150A_ISP.setDescription('MalcXP150A Indoor Unit') malcXP150A_OSP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 1, 2)) if mibBuilder.loadTexts: malcXP150A_OSP.setStatus('current') if mibBuilder.loadTexts: malcXP150A_OSP.setDescription('MalcXP150A Outdoor Unit') malcXP350A = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 4)) if mibBuilder.loadTexts: malcXP350A.setStatus('current') if mibBuilder.loadTexts: malcXP350A.setDescription('Malc-XP-350-A, the Raptor Adsl2 POTS T1/E1 board') malcXP350A_ISP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 4, 1)) if mibBuilder.loadTexts: malcXP350A_ISP.setStatus('current') if mibBuilder.loadTexts: malcXP350A_ISP.setDescription('Malc-XP-350A Indoor Unit') malcXP350A_OSP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 4, 2)) if mibBuilder.loadTexts: malcXP350A_OSP.setStatus('current') if mibBuilder.loadTexts: malcXP350A_OSP.setDescription('Malc-XP-350A Outdoor Unit') malcXP160 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 5)) if mibBuilder.loadTexts: malcXP160.setStatus('current') if mibBuilder.loadTexts: malcXP160.setDescription('Malc-XP-160, the Raptor Vdsl2 POTS board') malcXP160_ISP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 5, 1)) if mibBuilder.loadTexts: malcXP160_ISP.setStatus('current') if mibBuilder.loadTexts: malcXP160_ISP.setDescription('Malc-XP-160 Indoor Unit') malcXP160_OSP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 5, 2)) if mibBuilder.loadTexts: malcXP160_OSP.setStatus('current') if mibBuilder.loadTexts: malcXP160_OSP.setDescription('Malc-XP-160 Outdoor Unit') zhoneRegMxNextGen = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7)) if mibBuilder.loadTexts: zhoneRegMxNextGen.setStatus('current') if mibBuilder.loadTexts: zhoneRegMxNextGen.setDescription('Next Generation MALC') mx19 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 1)) if mibBuilder.loadTexts: mx19.setStatus('current') if mibBuilder.loadTexts: mx19.setDescription('Mx Next Gen 19 inch.') mx23 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 2)) if mibBuilder.loadTexts: mx23.setStatus('current') if mibBuilder.loadTexts: mx23.setDescription('Mx Next Gen 23 inch.') mx319 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 3)) if mibBuilder.loadTexts: mx319.setStatus('current') if mibBuilder.loadTexts: mx319.setDescription('Mx Next Gen 3U 19 inch.') mx1U = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4)) if mibBuilder.loadTexts: mx1U.setStatus('current') if mibBuilder.loadTexts: mx1U.setDescription('MX1U Product Family') mx1Ux6x = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1)) if mibBuilder.loadTexts: mx1Ux6x.setStatus('current') if mibBuilder.loadTexts: mx1Ux6x.setDescription('MX1U x6x Product Family') mx1U16x = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 1)) if mibBuilder.loadTexts: mx1U16x.setStatus('current') if mibBuilder.loadTexts: mx1U16x.setDescription('MX1U 16x Product Family') mx1U160 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 1, 1)) if mibBuilder.loadTexts: mx1U160.setStatus('current') if mibBuilder.loadTexts: mx1U160.setDescription('MX 160 - 24 VDSL2, 4 FE/GE') mx1U161 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 1, 2)) if mibBuilder.loadTexts: mx1U161.setStatus('current') if mibBuilder.loadTexts: mx1U161.setDescription('MX 161 - 24 VDSL2, 24 POTS SPLT (600 Ohm), 4 FE/GE') mx1U162 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 1, 3)) if mibBuilder.loadTexts: mx1U162.setStatus('current') if mibBuilder.loadTexts: mx1U162.setDescription('MX 162 - 24 VDSL2, 24 POTS SPLT (900 Ohm), 4 FE/GE') mx1U26x = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 2)) if mibBuilder.loadTexts: mx1U26x.setStatus('current') if mibBuilder.loadTexts: mx1U26x.setDescription('MX1U 26x Product Family') mx1U260 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 2, 1)) if mibBuilder.loadTexts: mx1U260.setStatus('current') if mibBuilder.loadTexts: mx1U260.setDescription('MX 260 - 24 VDSL2, 3 FE/GE, 1 GPON') mx1U261 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 2, 2)) if mibBuilder.loadTexts: mx1U261.setStatus('current') if mibBuilder.loadTexts: mx1U261.setDescription('MX 261 - 24 VDSL2, 24 POTS SPLT (600 Ohm), 3 FE/GE, 1 GPON') mx1U262 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 2, 3)) if mibBuilder.loadTexts: mx1U262.setStatus('current') if mibBuilder.loadTexts: mx1U262.setDescription('MX 262 - 24 VDSL2, 24 POTS SPLT (900 Ohm), 3 FE/GE, 1 GPON') mx1Ux80 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 2)) if mibBuilder.loadTexts: mx1Ux80.setStatus('current') if mibBuilder.loadTexts: mx1Ux80.setDescription('MX1U x80 Product Family') mx1U180 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 2, 1)) if mibBuilder.loadTexts: mx1U180.setStatus('current') if mibBuilder.loadTexts: mx1U180.setDescription('MX 180 - 24 FE, 2 FE/GE') mx1U280 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 2, 2)) if mibBuilder.loadTexts: mx1U280.setStatus('current') if mibBuilder.loadTexts: mx1U280.setDescription('MX 280 - 24 FE, 2 FE/GE, 1 GPON') mx1U180_TP_RJ45 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 2, 3)) if mibBuilder.loadTexts: mx1U180_TP_RJ45.setStatus('current') if mibBuilder.loadTexts: mx1U180_TP_RJ45.setDescription('MX 180 TP-RJ45 - 24 FE, 4 FE/GE') mx1U280_TP_RJ45 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 2, 4)) if mibBuilder.loadTexts: mx1U280_TP_RJ45.setStatus('current') if mibBuilder.loadTexts: mx1U280_TP_RJ45.setDescription('MX 280 TP-RJ45 - 24 FE, 3 FE/GE, 1 GPON') mx1U180_LT_TP_RJ45 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 2, 5)) if mibBuilder.loadTexts: mx1U180_LT_TP_RJ45.setStatus('current') if mibBuilder.loadTexts: mx1U180_LT_TP_RJ45.setDescription('MX 180 LT-TP-RJ45 - 24 FE, 4 FE/GE') mx1U280_LT_TP_RJ45 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 2, 6)) if mibBuilder.loadTexts: mx1U280_LT_TP_RJ45.setStatus('current') if mibBuilder.loadTexts: mx1U280_LT_TP_RJ45.setDescription('MX 280 LT-TP-RJ45 - 24 FE, 3 FE/GE, 1 GPON') mx1U19x = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3)) if mibBuilder.loadTexts: mx1U19x.setStatus('current') if mibBuilder.loadTexts: mx1U19x.setDescription('MXK 19x Product Family') mx1U194 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 1)) if mibBuilder.loadTexts: mx1U194.setStatus('current') if mibBuilder.loadTexts: mx1U194.setDescription('MXK 194 - 4 GPON OLT, 8 FE/GE') mx1U198 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 2)) if mibBuilder.loadTexts: mx1U198.setStatus('current') if mibBuilder.loadTexts: mx1U198.setDescription('MXK 198 - 8 GPON OLT, 8 FE/GE') mx1U194_10GE = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 3)) if mibBuilder.loadTexts: mx1U194_10GE.setStatus('current') if mibBuilder.loadTexts: mx1U194_10GE.setDescription('MXK 194-10GE - 4 GPON OLT, 8 FE/GE, 2 10GE') mx1U198_10GE = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 4)) if mibBuilder.loadTexts: mx1U198_10GE.setStatus('current') if mibBuilder.loadTexts: mx1U198_10GE.setDescription('MXK 198-10GE - 8 GPON OLT, 8 FE/GE, 2 10GE') mx1U194_TOP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 5)) if mibBuilder.loadTexts: mx1U194_TOP.setStatus('current') if mibBuilder.loadTexts: mx1U194_TOP.setDescription('MXK 194-TOP - 4 GPON OLT, 8 FE/GE, TOP') mx1U198_TOP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 6)) if mibBuilder.loadTexts: mx1U198_TOP.setStatus('current') if mibBuilder.loadTexts: mx1U198_TOP.setDescription('MXK 198-TOP - 8 GPON OLT, 8 FE/GE, TOP') mx1U194_10GE_TOP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 7)) if mibBuilder.loadTexts: mx1U194_10GE_TOP.setStatus('current') if mibBuilder.loadTexts: mx1U194_10GE_TOP.setDescription('MXK 194-10GE-TOP - 4 GPON OLT, 8 FE/GE, 2 10GE, TOP') mx1U198_10GE_TOP = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 8)) if mibBuilder.loadTexts: mx1U198_10GE_TOP.setStatus('current') if mibBuilder.loadTexts: mx1U198_10GE_TOP.setDescription('MXK 198-10GE-TOP - 8 GPON OLT, 8 FE/GE, 2 10GE, TOP') mx1Ux5x = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 4)) if mibBuilder.loadTexts: mx1Ux5x.setStatus('current') if mibBuilder.loadTexts: mx1Ux5x.setDescription('Description.') mx1U15x = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 4, 1)) if mibBuilder.loadTexts: mx1U15x.setStatus('current') if mibBuilder.loadTexts: mx1U15x.setDescription('Description.') mx1U150 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 4, 1, 1)) if mibBuilder.loadTexts: mx1U150.setStatus('current') if mibBuilder.loadTexts: mx1U150.setDescription('Description.') mx1U151 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 4, 1, 2)) if mibBuilder.loadTexts: mx1U151.setStatus('current') if mibBuilder.loadTexts: mx1U151.setDescription('Description.') mx1U152 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 4, 1, 3)) if mibBuilder.loadTexts: mx1U152.setStatus('current') if mibBuilder.loadTexts: mx1U152.setDescription('Description.') mxp1U = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5)) if mibBuilder.loadTexts: mxp1U.setStatus('current') if mibBuilder.loadTexts: mxp1U.setDescription('MXP1U Product Family') mxp1Ux60 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 1)) if mibBuilder.loadTexts: mxp1Ux60.setStatus('current') if mibBuilder.loadTexts: mxp1Ux60.setDescription('MXP1U x60 Product Family') mxp1U160Family = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 1, 1)) if mibBuilder.loadTexts: mxp1U160Family.setStatus('current') if mibBuilder.loadTexts: mxp1U160Family.setDescription('MXP1U 160 Product Family') mxp1U160 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 1, 1, 1)) if mibBuilder.loadTexts: mxp1U160.setStatus('current') if mibBuilder.loadTexts: mxp1U160.setDescription('MXP 160 - 24 VDSL2, 24 POTS VOIP, 4 FE/GE') mxp1U260Family = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 1, 2)) if mibBuilder.loadTexts: mxp1U260Family.setStatus('current') if mibBuilder.loadTexts: mxp1U260Family.setDescription('MXP1U 260 Product Family') mxp1U260 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 1, 2, 1)) if mibBuilder.loadTexts: mxp1U260.setStatus('current') if mibBuilder.loadTexts: mxp1U260.setDescription('MXP 260 - 24 VDSL2, 24 POTS VOIP, 3 FE/GE, 1 GPON') mxp1Ux80 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 2)) if mibBuilder.loadTexts: mxp1Ux80.setStatus('current') if mibBuilder.loadTexts: mxp1Ux80.setDescription('MXP1U x80 Product Family') mxp1U180 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 2, 1)) if mibBuilder.loadTexts: mxp1U180.setStatus('current') if mibBuilder.loadTexts: mxp1U180.setDescription('MXP 180 - 24 FE, 24 POTS VOIP, 2 FE/GE') mxp1U280 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 2, 2)) if mibBuilder.loadTexts: mxp1U280.setStatus('current') if mibBuilder.loadTexts: mxp1U280.setDescription('MXP 280 - 24 FE, 24 POTS VOIP, 2 FE/GE, 1 GPON') mxp1U180_TP_RJ45 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 2, 3)) if mibBuilder.loadTexts: mxp1U180_TP_RJ45.setStatus('current') if mibBuilder.loadTexts: mxp1U180_TP_RJ45.setDescription('MXP 180 TP-RJ45 - 24 FE, 24 POTS VOIP, 4 FE/GE') mxp1U280_TP_RJ45 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 2, 4)) if mibBuilder.loadTexts: mxp1U280_TP_RJ45.setStatus('current') if mibBuilder.loadTexts: mxp1U280_TP_RJ45.setDescription('MXP 280 TP-RJ45 - 24 FE, 24 POTS VOIP, 3 FE/GE, 1 GPON') mxp1Ux5x = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 3)) if mibBuilder.loadTexts: mxp1Ux5x.setStatus('current') if mibBuilder.loadTexts: mxp1Ux5x.setDescription('Description.') mxp1U15xFamily = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 3, 1)) if mibBuilder.loadTexts: mxp1U15xFamily.setStatus('current') if mibBuilder.loadTexts: mxp1U15xFamily.setDescription('Description.') mxp1U150 = ObjectIdentity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 3, 1, 1)) if mibBuilder.loadTexts: mxp1U150.setStatus('current') if mibBuilder.loadTexts: mxp1U150.setDescription('Description.') mibBuilder.exportSymbols("ZhoneProductRegistrations", znidNextGenGPON21xx=znidNextGenGPON21xx, oduTypeE3A=oduTypeE3A, malcXP350A=malcXP350A, mx1U26x=mx1U26x, mx1U151=mx1U151, mx1U161=mx1U161, znid42xx=znid42xx, skyZhone45=skyZhone45, znidGPON42xx=znidGPON42xx, zedge6200_IP_T1=zedge6200_IP_T1, zhoneRegistrationsModule=zhoneRegistrationsModule, znidNextGenGE24xx=znidNextGenGE24xx, mx23=mx23, skyZhone155s1=skyZhone155s1, oduTypeE1A=oduTypeE1A, zrg7xx=zrg7xx, znidNextGen42xx=znidNextGen42xx, mx1U280_TP_RJ45=mx1U280_TP_RJ45, raptor50Gshdsl=raptor50Gshdsl, skyZhone8e2=skyZhone8e2, raptor719A=raptor719A, raptorXP170_OSP_LP_SD=raptorXP170_OSP_LP_SD, mx1U262=mx1U262, fs105=fs105, znidNextGenGE97xx=znidNextGenGE97xx, zrg8xx=zrg8xx, znidNextGenGE21xx=znidNextGenGE21xx, raptor100LP=raptor100LP, malcXP160_ISP=malcXP160_ISP, oduTypeE2B=oduTypeE2B, mx1U198=mx1U198, mx1U194_10GE=mx1U194_10GE, znidNextGenGE42xx=znidNextGenGE42xx, znidNextGen22xx=znidNextGen22xx, ethXtendxx=ethXtendxx, oduTypeE1B=oduTypeE1B, skyZhone155s4=skyZhone155s4, raptorXP150A=raptorXP150A, raptorXP170_OSP_WC_SD=raptorXP170_OSP_WC_SD, mxp1U280_TP_RJ45=mxp1U280_TP_RJ45, ethXtend31xx=ethXtend31xx, mx1U261=mx1U261, zrg3xx=zrg3xx, oduTypeS2B=oduTypeS2B, mx1U180_TP_RJ45=mx1U180_TP_RJ45, raptorXP170_ISP_LP_SD=raptorXP170_ISP_LP_SD, s100_ATM_SM_16E1=s100_ATM_SM_16E1, mx1Ux80=mx1Ux80, z_plex10B_FXS_FXO=z_plex10B_FXS_FXO, skyZhone8t4=skyZhone8t4, mx19=mx19, PYSNMP_MODULE_ID=zhoneRegistrationsModule, znidEth422x=znidEth422x, fiberJack=fiberJack, mx1Ux6x=mx1Ux6x, mx1U162=mx1U162, znid=znid, raptor100A=raptor100A, mx1U194_TOP=mx1U194_TOP, raptorXP350A_OSP=raptorXP350A_OSP, mxp1U180=mxp1U180, oduTypeT1B=oduTypeT1B, raptor723I=raptor723I, r100adsl2panxb=r100adsl2panxb, skyZhone155s3=skyZhone155s3, zrg600_IDU=zrg600_IDU, raptorXP170_ISP_WC=raptorXP170_ISP_WC, malcXP160_OSP=malcXP160_OSP, sechtor_300=sechtor_300, mx1U198_10GE_TOP=mx1U198_10GE_TOP, oduTypeE4A=oduTypeE4A, zrg500_ODU=zrg500_ODU, oduTypeS3A=oduTypeS3A, zedge6200_IP_FXS=zedge6200_IP_FXS, oduTypeE3B=oduTypeE3B, ethXtend30xx=ethXtend30xx, znidNextGenGE26xx=znidNextGenGE26xx, znidNextGenGPON26xx=znidNextGenGPON26xx, mxp1U180_TP_RJ45=mxp1U180_TP_RJ45, oduTypeE2A=oduTypeE2A, oduTypeS2A=oduTypeS2A, znid420x=znid420x, mx1U=mx1U, zrg500_IDU=zrg500_IDU, z_plex10B_FXS=z_plex10B_FXS, r100adsl2pip=r100adsl2pip, mxp1U260Family=mxp1U260Family, znidGPON420x=znidGPON420x, fs101=fs101, zrg800_ODU=zrg800_ODU, raptorXP160_ISP=raptorXP160_ISP, mxp1U160=mxp1U160, mxp1U=mxp1U, raptorXP170_LP_SD=raptorXP170_LP_SD, zrg600_ODU=zrg600_ODU, skyZhone8t1=skyZhone8t1, zedge64=zedge64, znidNextGenGPON97xx=znidNextGenGPON97xx, skyZhone1xxx=skyZhone1xxx, r100adsl2pgm=r100adsl2pgm, r100Vdsl2xx=r100Vdsl2xx, mxp1Ux60=mxp1Ux60, raptorXP170=raptorXP170, malcXP350A_ISP=malcXP350A_ISP, raptor319A=raptor319A, oduTypeT2B=oduTypeT2B, raptorXP160=raptorXP160, raptorXP350A_ISP=raptorXP350A_ISP, zedge64_SHDSL_FXS=zedge64_SHDSL_FXS, mx1U198_10GE=mx1U198_10GE, mx1U180_LT_TP_RJ45=mx1U180_LT_TP_RJ45, node23000Mhz=node23000Mhz, fiberSlam=fiberSlam, mx1U152=mx1U152, malcXP=malcXP, mx1U280_LT_TP_RJ45=mx1U280_LT_TP_RJ45, mx1U16x=mx1U16x, ethXtendShdsl=ethXtendShdsl, znidNextGen26xx=znidNextGen26xx, ethXtendT1E1=ethXtendT1E1, znidNextGen9xxx=znidNextGen9xxx, zedge64_E1_FXS=zedge64_E1_FXS, malc23=malc23, isc303=isc303, skyZhone8t3=skyZhone8t3, zrg700_ODU=zrg700_ODU, oduTypeT1A=oduTypeT1A, raptorXP170_WC=raptorXP170_WC, malcXP150A_ISP=malcXP150A_ISP, zedge6200_IP_EM=zedge6200_IP_EM, raptorXP170_LP=raptorXP170_LP, raptorXP=raptorXP, mxp1U160Family=mxp1U160Family, oduTypeS1A=oduTypeS1A, znidNextGenGPON24xx=znidNextGenGPON24xx, znidNextGenGE9xxx=znidNextGenGE9xxx, raptorXP150A_ISP=raptorXP150A_ISP, skyZhone155s2=skyZhone155s2, r100adsl2pgte=r100adsl2pgte, raptorXP350A=raptorXP350A, zhoneRegMxNextGen=zhoneRegMxNextGen, mx1U280=mx1U280, mxp1U280=mxp1U280, raptor719I=raptor719I, m100adsl2pgm=m100adsl2pgm, mx319=mx319, zedge6200=zedge6200, m100Adsl2pAnxB=m100Adsl2pAnxB, zrg300_ODU=zrg300_ODU, m100adsl2pgige=m100adsl2pgige, malcXP160=malcXP160, znidNextGenGPON42xx=znidNextGenGPON42xx, mxp1U260=mxp1U260, m100Vdsl2xxx=m100Vdsl2xxx, skyZhone8t2=skyZhone8t2, oduTypeS3B=oduTypeS3B, zedge64_SHDSL_BRI=zedge64_SHDSL_BRI, mx1U160=mx1U160, sechtor_100=sechtor_100, oduTypeT3A=oduTypeT3A, oduTypeB=oduTypeB, raptor319I=raptor319I, zrg300_IDU=zrg300_IDU, m100=m100, mx1U194=mx1U194, zedge64_T1_FXS=zedge64_T1_FXS, oduTypeS4A=oduTypeS4A, skyZhone8e3=skyZhone8e3, malc19=malc19, malcXP350A_OSP=malcXP350A_OSP, r100adsl2phdsl4=r100adsl2phdsl4, r100adsl2Pxxx=r100adsl2Pxxx, oduTypeE4B=oduTypeE4B, raptor100I=raptor100I, r100adsl2pgige=r100adsl2pgige, raptorXP150A_OSP=raptorXP150A_OSP, s100_ATM_SM_16T1=s100_ATM_SM_16T1, znidNextGenGE22xx=znidNextGenGE22xx, m100adsl2pxxx=m100adsl2pxxx, zrg6xx=zrg6xx, oduTypeT4A=oduTypeT4A, zrg800_IDU=zrg800_IDU, r100adsl2pt1ima=r100adsl2pt1ima, raptorXP170_ISP_LP=raptorXP170_ISP_LP, mxp1U150=mxp1U150, oduTypeT3B=oduTypeT3B, oduTypeT2A=oduTypeT2A, mxp1Ux80=mxp1Ux80, znidNextGen24xx=znidNextGen24xx, m100vdsl2gm=m100vdsl2gm, ban_2000=ban_2000, zhoneRegWtn=zhoneRegWtn, mx1Ux5x=mx1Ux5x, raptorXP170_OSP_WC=raptorXP170_OSP_WC, raptorXP170_OSP_LP=raptorXP170_OSP_LP, oduTypeT4B=oduTypeT4B, oduTypeS1B=oduTypeS1B, znidNextGenGPON94xx=znidNextGenGPON94xx, raptorXP160_OSP=raptorXP160_OSP, mx1U260=mx1U260, mx1U194_10GE_TOP=mx1U194_10GE_TOP, mxp1Ux5x=mxp1Ux5x, znidNextGenGPON9xxx=znidNextGenGPON9xxx, skyZhone8e1=skyZhone8e1, mx1U198_TOP=mx1U198_TOP, zrg5xx=zrg5xx, malc319=malc319, mx1U150=mx1U150, mx1U19x=mx1U19x, r100vdsl2gm=r100vdsl2gm, znidNextGen=znidNextGen, raptor723A=raptor723A, skyZhone8e4=skyZhone8e4, znidNextGen21xx=znidNextGen21xx, ethXtend32xx=ethXtend32xx, oduTypeA=oduTypeA, oduTypeS4B=oduTypeS4B, mx1U180=mx1U180, malcXP150A_OSP=malcXP150A_OSP, z_plex10B=z_plex10B, raptorXP170_ISP_WC_SD=raptorXP170_ISP_WC_SD, znidNextGenGE94xx=znidNextGenGE94xx, node5700Mhz=node5700Mhz, zrg700_IDU=zrg700_IDU, malcXP150A=malcXP150A, mx1U15x=mx1U15x, raptorXP170_WC_SD=raptorXP170_WC_SD, mxp1U15xFamily=mxp1U15xFamily)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, single_value_constraint, value_size_constraint, value_range_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsUnion') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (notification_type, iso, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column, mib_identifier, object_identity, ip_address, integer32, gauge32, counter64, counter32, unsigned32, bits, module_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'iso', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'MibIdentifier', 'ObjectIdentity', 'IpAddress', 'Integer32', 'Gauge32', 'Counter64', 'Counter32', 'Unsigned32', 'Bits', 'ModuleIdentity') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') (zhone_modules, zhone_reg_mux, zhone_registrations, zhone_reg_malc, zhone_reg_cpe, zhone_reg_pls, zhone_reg_sechtor) = mibBuilder.importSymbols('Zhone', 'zhoneModules', 'zhoneRegMux', 'zhoneRegistrations', 'zhoneRegMalc', 'zhoneRegCpe', 'zhoneRegPls', 'zhoneRegSechtor') zhone_registrations_module = module_identity((1, 3, 6, 1, 4, 1, 5504, 6, 1)) zhoneRegistrationsModule.setRevisions(('2012-08-01 16:11', '2011-11-30 11:56', '2011-08-15 07:13', '2011-05-13 05:14', '2010-09-23 14:40', '2010-08-03 10:12', '2010-02-11 15:38', '2009-08-13 14:04', '2008-10-28 13:44', '2007-11-15 12:08', '2007-10-31 13:13', '2007-06-27 11:54', '2007-06-11 16:12', '2007-05-11 16:00', '2007-05-09 10:56', '2007-04-03 10:48', '2007-03-09 14:13', '2006-10-26 15:17', '2006-08-31 20:02', '2006-07-13 16:07', '2006-05-22 16:01', '2006-05-05 15:42', '2006-04-28 13:36', '2006-04-27 13:23', '2006-04-24 12:06', '2006-04-18 17:43', '2006-03-27 11:14', '2005-12-09 14:14', '2004-09-08 17:28', '2004-08-30 11:07', '2004-05-25 12:30', '2004-05-21 14:25', '2004-05-21 13:26', '2004-04-06 01:45', '2004-03-17 10:54', '2004-03-02 14:00', '2003-10-31 14:26', '2003-07-10 12:19', '2003-05-16 17:04', '2003-02-11 14:58', '2002-10-23 10:18', '2002-10-10 09:43', '2002-10-10 09:42', '2001-06-26 17:04', '2001-06-07 11:59', '2001-05-15 11:53', '2001-02-01 13:10', '2000-09-28 16:48', '2000-09-12 10:55')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: zhoneRegistrationsModule.setRevisionsDescriptions(('Add znidNextGen node for ZNID-26xx products.', 'add mx1Ux80 TP-RJ45 new modules', 'Change description of mx1U19x family.', 'Add mx1U19x family', 'Add znidNextGen OIDs for 21xx, 24xx, 94xx, 97xx and FiberJack models.', 'Add the MX1Ux6x and MX1Ux80 products', 'Added mx319.', 'Add znid and znidNextGen nodes.', 'Add SysObjectID values for Raptor-XP-170 flavors', 'Added RaptorXP and MalcXP indoor and outdoor units', 'V01.00.37 - Add SkyZhone 1xxx, EtherXtend 30xxx, and EtherXtend 31xxx nodes.', 'V01.00.36 - Add node FiberSLAM 101.', 'V01.00.35 - Change gigaMux100 node identity name to FiberSLAM 105.', '- Add new card type raptorXP160 in zhoneRegistrations->zhoneRegMalc->raptorXP, - Obsolete the following card types: r100adsl2Pxxx/r100adsl2pgm r100adsl2Pxxx/r100adsl2pgte m100/m100adsl2pgm m100/m100Vdsl2xxx - the whole tree r100Vdsl2xx - the whole tree ', 'Added card types malcXP350A and raptorXP350A', 'V01.00.32 - Add nodes for Raptor XP and MALC XP family definitions. Add raptorXP105A and malcXP150A leaves.', 'V01.00.31 - Add Raptor-XP-150-A definition.', 'Added zhoneRegMalcNextGen node.', 'V01.00.29 - Add m100Adsl2pAnxB', 'V01.00.28 - Add r100Adsl2pAnxB', 'V01.00.27 - Correct case of new onbject names', 'V01.00.26 - Add r100Adsl2pGte', 'V01.00.25 - Add m100Vdsl2Gm', 'V01.00.24 - Add r100Vdsl2Gm', 'V01.00.23 - Add m100Adsl2pGm', ' ', 'V01.00.20 - Add new ethX products.', 'V01.00.19 - added M100 product tree.', 'V01.00.18 -- Add r100Adsl2PGigE definition.', 'V01.00.17 -- Add zrg8xx series.', 'V01.00.17 -- Add zrg6xx series.', 'V01.00.16 - Add r100adsl2p family of products.', 'add zrg700 ODU', 'V01.00.14 - Add isc303 product.', 'V01.00.13 - Add IDU/ODU for ZRG300 and ZRG500 products', 'V01.00.12 - Add raptor50LP product', 'V01.00.11 - Add Zhone Residential Gateway (ZRG) products.', 'V01.00.11 - Added ZEDGE 6200 products', 'V01.00.10 - add raptor100LP product. Modified raptor100A description.', 'V01.00.09 - Added REBEL MALC oids.', 'V01.00.08 -- change malc100 to malc319', 'V01.00.07 - add malc100 product', 'V01.00.06 -- added for skyzhone', 'V01.00.05 - Added malc19 and malc23 Product to the malc product family ', 'V01.00.04 - Expanded 23GHz family to 4 sub-bands per product. Corrected name of 5.7GHz family.', "V01.00.03 - changed zhoneRegZwt to zhoneRegWtn. Added sysObjId's for skyzhone155 and skyzhone8x.", 'V01.00.02 - added sysObjectID assignments for Sechtor 100 models.', 'V01.00.01 - added Wireless Transport Node product type and the DS3 Wireless Transport Node product model.', 'V01.00.00 - Initial Release')) if mibBuilder.loadTexts: zhoneRegistrationsModule.setLastUpdated('201208011611Z') if mibBuilder.loadTexts: zhoneRegistrationsModule.setOrganization('Zhone Technologies') if mibBuilder.loadTexts: zhoneRegistrationsModule.setContactInfo(' Postal: Zhone Technologies, Inc. @ Zhone Way 7001 Oakport Street Oakland, CA 94621 USA Toll-Free: +1 877-ZHONE20 (+1 877-946-6320) Tel: +1-510-777-7000 Fax: +1-510-777-7001 E-mail: support@zhone.com') if mibBuilder.loadTexts: zhoneRegistrationsModule.setDescription('This mib describes the per product registrations that are then used for the sysObjectId field. The format is 1.3.6.1.4.1.5504.1.x.y.z where 5504 is our enterprise ID. X is the product type so: X = 1 - PLS X = 2 - CPE X = 3 - MUX Y is the product model type: Y = 1 - BAN (for the PLS product) Etc. Y = 1 - IAD-50 (for CPE equipment) Etc. Z is just an incremental field which needs to be documented what value maps to which product model. For example, an IAD-50 could be .1.3.6.1.4.1.5504.1.2.1.1. A new model of the iad-50 that for some reason we would want to differentiate functionality would be .1.3.6.1.4.1.5504.2.1.2. ') ban_2000 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 1, 1)).setLabel('ban-2000') if mibBuilder.loadTexts: ban_2000.setStatus('current') if mibBuilder.loadTexts: ban_2000.setDescription('BAN-2000 sysObjectId.') zedge64 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 1)) if mibBuilder.loadTexts: zedge64.setStatus('current') if mibBuilder.loadTexts: zedge64.setDescription('zedge64 CPE equipment product registrations. The zedge64 has four flavours with diffrenet features so four child node are created under this node. The oid of these child node will be the sysObjectId of the corresponding product.') zedge64_shdsl_fxs = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 1, 1)).setLabel('zedge64-SHDSL-FXS') if mibBuilder.loadTexts: zedge64_SHDSL_FXS.setStatus('current') if mibBuilder.loadTexts: zedge64_SHDSL_FXS.setDescription('zedge64-SHDSL-FXS sysObjectId.') zedge64_shdsl_bri = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 1, 2)).setLabel('zedge64-SHDSL-BRI') if mibBuilder.loadTexts: zedge64_SHDSL_BRI.setStatus('current') if mibBuilder.loadTexts: zedge64_SHDSL_BRI.setDescription('zedge64-SHDSL-BRI sysObjectId.') zedge64_t1_fxs = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 1, 3)).setLabel('zedge64-T1-FXS') if mibBuilder.loadTexts: zedge64_T1_FXS.setStatus('current') if mibBuilder.loadTexts: zedge64_T1_FXS.setDescription('zedge64-T1-FXS sysObjectId.') zedge64_e1_fxs = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 1, 4)).setLabel('zedge64-E1-FXS') if mibBuilder.loadTexts: zedge64_E1_FXS.setStatus('current') if mibBuilder.loadTexts: zedge64_E1_FXS.setDescription('zedge64-E1-FXS sysObjectId.') zedge6200 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 2)) if mibBuilder.loadTexts: zedge6200.setStatus('current') if mibBuilder.loadTexts: zedge6200.setDescription('zedge6200 CPE equipment product registrations. The zedge6200 has 3 flavours with diffrenet features so 3 child nodes are created under this node. The oid of these child node will be the sysObjectId of the corresponding product.') zedge6200_ip_t1 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 2, 1)).setLabel('zedge6200-IP-T1') if mibBuilder.loadTexts: zedge6200_IP_T1.setStatus('current') if mibBuilder.loadTexts: zedge6200_IP_T1.setDescription('zedge6200(ipIad) sysObjectId.') zedge6200_ip_em = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 2, 2)).setLabel('zedge6200-IP-EM') if mibBuilder.loadTexts: zedge6200_IP_EM.setStatus('current') if mibBuilder.loadTexts: zedge6200_IP_EM.setDescription('zedge6200EM sysObjectId.') zedge6200_ip_fxs = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 2, 3)).setLabel('zedge6200-IP-FXS') if mibBuilder.loadTexts: zedge6200_IP_FXS.setStatus('current') if mibBuilder.loadTexts: zedge6200_IP_FXS.setDescription('zedge6200FXS sysObjectId.') zrg3xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 3)) if mibBuilder.loadTexts: zrg3xx.setStatus('current') if mibBuilder.loadTexts: zrg3xx.setDescription('Zhone Residential Gateway ADSL 300 series.') zrg300_idu = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 3, 1)).setLabel('zrg300-IDU') if mibBuilder.loadTexts: zrg300_IDU.setStatus('current') if mibBuilder.loadTexts: zrg300_IDU.setDescription('1 Lifeline Pots port. 2 Derived voice FXS ports. 1 Ethernet port. 0-4 video decoders. Indoor Unit.') zrg300_odu = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 3, 2)).setLabel('zrg300-ODU') if mibBuilder.loadTexts: zrg300_ODU.setStatus('current') if mibBuilder.loadTexts: zrg300_ODU.setDescription('1 Lifeline Pots port. 2 Derived voice FXS ports. 1 Ethernet port. 0-4 video decoders. Outdoor Unit.') zrg5xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 4)) if mibBuilder.loadTexts: zrg5xx.setStatus('current') if mibBuilder.loadTexts: zrg5xx.setDescription('Zhone Residential Gateway VDSL 500 series.') zrg500_idu = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 4, 1)).setLabel('zrg500-IDU') if mibBuilder.loadTexts: zrg500_IDU.setStatus('current') if mibBuilder.loadTexts: zrg500_IDU.setDescription('1 Lifeline Pots port. 2 Derived voice FXS ports. 1 Ethernet port. 0-4 video decoders. Indoor Unit. ') zrg500_odu = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 4, 2)).setLabel('zrg500-ODU') if mibBuilder.loadTexts: zrg500_ODU.setStatus('current') if mibBuilder.loadTexts: zrg500_ODU.setDescription('1 Lifeline Pots port. 2 Derived voice FXS ports. 1 Ethernet port. 0-4 video decoders. Outdoor Unit.') zrg7xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 5)) if mibBuilder.loadTexts: zrg7xx.setStatus('current') if mibBuilder.loadTexts: zrg7xx.setDescription('Zhone Residential Gateway PON 700 series.') zrg700_idu = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 5, 1)).setLabel('zrg700-IDU') if mibBuilder.loadTexts: zrg700_IDU.setStatus('current') if mibBuilder.loadTexts: zrg700_IDU.setDescription('4 voice ports 1 multicast video port 1 ethernet channel') zrg700_odu = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 5, 2)).setLabel('zrg700-ODU') if mibBuilder.loadTexts: zrg700_ODU.setStatus('current') if mibBuilder.loadTexts: zrg700_ODU.setDescription('4 voice ports 1 multicast video port 1 ethernet channel') zrg6xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 6)) if mibBuilder.loadTexts: zrg6xx.setStatus('current') if mibBuilder.loadTexts: zrg6xx.setDescription('Zhone Resedential Gateway 600 series.') zrg600_idu = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 6, 1)).setLabel('zrg600-IDU') if mibBuilder.loadTexts: zrg600_IDU.setStatus('current') if mibBuilder.loadTexts: zrg600_IDU.setDescription('Description.') zrg600_odu = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 6, 2)).setLabel('zrg600-ODU') if mibBuilder.loadTexts: zrg600_ODU.setStatus('current') if mibBuilder.loadTexts: zrg600_ODU.setDescription('Description.') zrg8xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 7)) if mibBuilder.loadTexts: zrg8xx.setStatus('current') if mibBuilder.loadTexts: zrg8xx.setDescription('Description.') zrg800_idu = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 7, 1)).setLabel('zrg800-IDU') if mibBuilder.loadTexts: zrg800_IDU.setStatus('current') if mibBuilder.loadTexts: zrg800_IDU.setDescription('Zrg800 is like a PON (zrg700) with the addition of video set-top boards like those on the zrg3xx. It has a PON uplink, a local 10/100 network, 2 built-in video decoders, and a 2-port Circuit Emulation board.') zrg800_odu = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 7, 2)).setLabel('zrg800-ODU') if mibBuilder.loadTexts: zrg800_ODU.setStatus('current') if mibBuilder.loadTexts: zrg800_ODU.setDescription('Zrg800 is like a PON (zrg700) with the addition of video set-top boards like those on the zrg3xx. It has a PON uplink, a local 10/100 network, 2 built-in video decoders, and a 2-port Circuit Emulation board.') eth_xtendxx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 8)) if mibBuilder.loadTexts: ethXtendxx.setStatus('current') if mibBuilder.loadTexts: ethXtendxx.setDescription('Zhone Ethernet First Mile CPE devices.') eth_xtend_shdsl = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 8, 1)) if mibBuilder.loadTexts: ethXtendShdsl.setStatus('current') if mibBuilder.loadTexts: ethXtendShdsl.setDescription('Zhone Ethernet First Mile runnig on SHDSL.') eth_xtend_t1_e1 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 8, 2)) if mibBuilder.loadTexts: ethXtendT1E1.setStatus('current') if mibBuilder.loadTexts: ethXtendT1E1.setDescription('Zhone Ethernet First Mile running on T1 or E1.') eth_xtend30xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 8, 3)) if mibBuilder.loadTexts: ethXtend30xx.setStatus('current') if mibBuilder.loadTexts: ethXtend30xx.setDescription('Zhone Ethernet First Mile over SHDSL 30xx product family.') eth_xtend31xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 8, 4)) if mibBuilder.loadTexts: ethXtend31xx.setStatus('current') if mibBuilder.loadTexts: ethXtend31xx.setDescription('Zhone Ethernet First Mile over SHDSL with T1/E1 PWE 31xx product family.') eth_xtend32xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 8, 5)) if mibBuilder.loadTexts: ethXtend32xx.setStatus('current') if mibBuilder.loadTexts: ethXtend32xx.setDescription('Zhone Ethernet First Mile over SHDSL with Voice Ports 32xx product family.') znid = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 9)) if mibBuilder.loadTexts: znid.setStatus('current') if mibBuilder.loadTexts: znid.setDescription('Zhone Network Interface Device (ZNID) heritage product family.') znid42xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 9, 1)) if mibBuilder.loadTexts: znid42xx.setStatus('current') if mibBuilder.loadTexts: znid42xx.setDescription('Zhone Network Interface Device (ZNID) heritage product family which includes the 421x and 422x models in the heritage housing.') znid_gpon42xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 9, 1, 2)) if mibBuilder.loadTexts: znidGPON42xx.setStatus('current') if mibBuilder.loadTexts: znidGPON42xx.setDescription('Zhone Network Interface Device (ZNID) heritage GPON 421x and 422x RFOG products.') znid_eth422x = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 9, 1, 3)) if mibBuilder.loadTexts: znidEth422x.setStatus('current') if mibBuilder.loadTexts: znidEth422x.setDescription('Zhone Network Interface Device (ZNID) heritage Active Ethernet 422x products.') znid420x = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 9, 2)) if mibBuilder.loadTexts: znid420x.setStatus('current') if mibBuilder.loadTexts: znid420x.setDescription('Zhone Network Interface Device (ZNID) heritage 420x product family in the next generation housing.') znid_gpon420x = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 9, 2, 1)) if mibBuilder.loadTexts: znidGPON420x.setStatus('current') if mibBuilder.loadTexts: znidGPON420x.setDescription('Zhone Network Interface Device (ZNID) heritage GPON 420x products in the next generation housing.') znid_next_gen = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10)) if mibBuilder.loadTexts: znidNextGen.setStatus('current') if mibBuilder.loadTexts: znidNextGen.setDescription('Zhone Network Interface Device (ZNID) next generation product family.') znid_next_gen22xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 1)) if mibBuilder.loadTexts: znidNextGen22xx.setStatus('current') if mibBuilder.loadTexts: znidNextGen22xx.setDescription('Zhone Network Interface Device (ZNID) next generation indoor 22xx product family.') znid_next_gen_ge22xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 1, 1)) if mibBuilder.loadTexts: znidNextGenGE22xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE22xx.setDescription('Zhone Network Interface Device (ZNID) next generation 22xx Indoor Active GigE products.') znid_next_gen42xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 2)) if mibBuilder.loadTexts: znidNextGen42xx.setStatus('current') if mibBuilder.loadTexts: znidNextGen42xx.setDescription('Zhone Network Interface Device (ZNID) next generation 42xx product family.') znid_next_gen_gpon42xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 2, 1)) if mibBuilder.loadTexts: znidNextGenGPON42xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGPON42xx.setDescription('Zhone Network Interface Device (ZNID) next generation Outdoor 42xx GPON products.') znid_next_gen_ge42xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 2, 2)) if mibBuilder.loadTexts: znidNextGenGE42xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE42xx.setDescription('Zhone Network Interface Device (ZNID) next generation Outdoor 42xx Active GigE products.') znid_next_gen9xxx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 3)) if mibBuilder.loadTexts: znidNextGen9xxx.setStatus('current') if mibBuilder.loadTexts: znidNextGen9xxx.setDescription('Zhone Network Interface Device (ZNID) next generation 9xxx product family.') znid_next_gen_gpon9xxx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 3, 1)) if mibBuilder.loadTexts: znidNextGenGPON9xxx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGPON9xxx.setDescription('Zhone Network Interface Device (ZNID) next generation 9xxx Outdoor GPON products.') znid_next_gen_ge9xxx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 3, 2)) if mibBuilder.loadTexts: znidNextGenGE9xxx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE9xxx.setDescription('Zhone Network Interface Device (ZNID) next generation 9xxx Outdoor Active GigE products.') znid_next_gen_gpon94xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 3, 3)) if mibBuilder.loadTexts: znidNextGenGPON94xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGPON94xx.setDescription('Zhone Network Interface Device (ZNID) next generation 94xx Outdoor GPON Pseudo-Wire Emulation products.') znid_next_gen_ge94xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 3, 4)) if mibBuilder.loadTexts: znidNextGenGE94xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE94xx.setDescription('Zhone Network Interface Device (ZNID) next generation 94xx Outdoor Active GigE Pseudo-Wire Emulation products.') znid_next_gen_gpon97xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 3, 5)) if mibBuilder.loadTexts: znidNextGenGPON97xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGPON97xx.setDescription('Zhone Network Interface Device (ZNID) next generation 97xx Outdoor GPON VDSL products.') znid_next_gen_ge97xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 3, 6)) if mibBuilder.loadTexts: znidNextGenGE97xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE97xx.setDescription('Zhone Network Interface Device (ZNID) next generation 97xx Outdoor Active GigE VDSL products.') fiber_jack = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 4)) if mibBuilder.loadTexts: fiberJack.setStatus('current') if mibBuilder.loadTexts: fiberJack.setDescription('Integrated GPON Uplink Module.') znid_next_gen21xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 5)) if mibBuilder.loadTexts: znidNextGen21xx.setStatus('current') if mibBuilder.loadTexts: znidNextGen21xx.setDescription('Zhone Network Interface Device (ZNID) next generation indoor 21xx product family.') znid_next_gen_gpon21xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 5, 1)) if mibBuilder.loadTexts: znidNextGenGPON21xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGPON21xx.setDescription('Zhone Network Interface Device (ZNID) next generation 21xx Indoor GPON products without voice.') znid_next_gen_ge21xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 5, 2)) if mibBuilder.loadTexts: znidNextGenGE21xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE21xx.setDescription('Zhone Network Interface Device (ZNID) next generation 21xx Indoor Active GigE products without voice.') znid_next_gen24xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 6)) if mibBuilder.loadTexts: znidNextGen24xx.setStatus('current') if mibBuilder.loadTexts: znidNextGen24xx.setDescription('Zhone Network Interface Device (ZNID) next generation indoor 24xx product family.') znid_next_gen_gpon24xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 6, 1)) if mibBuilder.loadTexts: znidNextGenGPON24xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGPON24xx.setDescription('Zhone Network Interface Device (ZNID) next generation 24xx Indoor GPON products.') znid_next_gen_ge24xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 6, 2)) if mibBuilder.loadTexts: znidNextGenGE24xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE24xx.setDescription('Zhone Network Interface Device (ZNID) next generation 24xx Indoor Active GigE products.') znid_next_gen26xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 7)) if mibBuilder.loadTexts: znidNextGen26xx.setStatus('current') if mibBuilder.loadTexts: znidNextGen26xx.setDescription('Zhone Network Interface Device (ZNID) 26xx series Indoor 26xx product family.') znid_next_gen_gpon26xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 7, 1)) if mibBuilder.loadTexts: znidNextGenGPON26xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGPON26xx.setDescription('Zhone Network Interface Device (ZNID) 26xx series Indoor GPON products.') znid_next_gen_ge26xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 2, 10, 7, 2)) if mibBuilder.loadTexts: znidNextGenGE26xx.setStatus('current') if mibBuilder.loadTexts: znidNextGenGE26xx.setDescription('Zhone Network Interface Device (ZNID) 26xx series Indoor Active GigE products.') z_plex10_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 3, 1)).setLabel('z-plex10B') if mibBuilder.loadTexts: z_plex10B.setStatus('current') if mibBuilder.loadTexts: z_plex10B.setDescription('Z-Plex10B CPE equipment product registrations. The z-plex has two flavours with diffrenet features so two child node are created under this node.The oid of these child node will be the sysObjectId of the corresponding z-plex product.') z_plex10_b_fxs_fxo = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 3, 1, 1)).setLabel('z-plex10B-FXS-FXO') if mibBuilder.loadTexts: z_plex10B_FXS_FXO.setStatus('current') if mibBuilder.loadTexts: z_plex10B_FXS_FXO.setDescription('z-plex10B-FXS-FXO sysObjectId.') z_plex10_b_fxs = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 3, 1, 2)).setLabel('z-plex10B-FXS') if mibBuilder.loadTexts: z_plex10B_FXS.setStatus('current') if mibBuilder.loadTexts: z_plex10B_FXS.setDescription('z-plex10B-FXS sysObjectId.') sechtor_100 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 4, 1)).setLabel('sechtor-100') if mibBuilder.loadTexts: sechtor_100.setStatus('current') if mibBuilder.loadTexts: sechtor_100.setDescription('Sechtor-100 sysObjectId.') s100_atm_sm_16_t1 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 4, 1, 1)).setLabel('s100-ATM-SM-16T1') if mibBuilder.loadTexts: s100_ATM_SM_16T1.setStatus('current') if mibBuilder.loadTexts: s100_ATM_SM_16T1.setDescription('sysObjectID for S100-ATM-SM-16T1.') s100_atm_sm_16_e1 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 4, 1, 2)).setLabel('s100-ATM-SM-16E1') if mibBuilder.loadTexts: s100_ATM_SM_16E1.setStatus('current') if mibBuilder.loadTexts: s100_ATM_SM_16E1.setDescription('sysObjectID for S100-ATM-SM-16E1.') sechtor_300 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 4, 2)).setLabel('sechtor-300') if mibBuilder.loadTexts: sechtor_300.setStatus('current') if mibBuilder.loadTexts: sechtor_300.setDescription('Sechtor-300 sysObjectId.') zhone_reg_wtn = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5)) if mibBuilder.loadTexts: zhoneRegWtn.setStatus('current') if mibBuilder.loadTexts: zhoneRegWtn.setDescription('Zhone Wireless Transport Registration.') node5700_mhz = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 1)) if mibBuilder.loadTexts: node5700Mhz.setStatus('current') if mibBuilder.loadTexts: node5700Mhz.setDescription('sysObjectId Family for Wireless Transport Node with 5.7Ghz radio.') sky_zhone45 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 1, 1)) if mibBuilder.loadTexts: skyZhone45.setStatus('current') if mibBuilder.loadTexts: skyZhone45.setDescription('Unit contains a built in (not modular) ds3 interface on the wireline side.') odu_type_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 1, 1, 1)) if mibBuilder.loadTexts: oduTypeA.setStatus('current') if mibBuilder.loadTexts: oduTypeA.setDescription('Unit transmits at 5735Mhz, receives at 5260Mhz (channel 1). Also known as ODU type A.') odu_type_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 1, 1, 2)) if mibBuilder.loadTexts: oduTypeB.setStatus('current') if mibBuilder.loadTexts: oduTypeB.setDescription('Unit transmits at 5260Mhz, receives at 5735Mhz (channel 1). Also known as ODU type B.') node23000_mhz = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2)) if mibBuilder.loadTexts: node23000Mhz.setStatus('current') if mibBuilder.loadTexts: node23000Mhz.setDescription('sysObjectId Family for Wireless Transport Node with 23Ghz radio in accordance with ITU-R F.637-3 Specifications.') sky_zhone8e1 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 1)) if mibBuilder.loadTexts: skyZhone8e1.setStatus('current') if mibBuilder.loadTexts: skyZhone8e1.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') odu_type_e1_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 1, 1)) if mibBuilder.loadTexts: oduTypeE1A.setStatus('current') if mibBuilder.loadTexts: oduTypeE1A.setDescription('Unit transmits at 21200-21500Mhz, receives at 22400-22700Mhz.') odu_type_e1_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 1, 2)) if mibBuilder.loadTexts: oduTypeE1B.setStatus('current') if mibBuilder.loadTexts: oduTypeE1B.setDescription('Unit transmits at 22400-22700Mhz, receives at 21200-21500Mhz.') sky_zhone8e2 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 2)) if mibBuilder.loadTexts: skyZhone8e2.setStatus('current') if mibBuilder.loadTexts: skyZhone8e2.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') odu_type_e2_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 2, 1)) if mibBuilder.loadTexts: oduTypeE2A.setStatus('current') if mibBuilder.loadTexts: oduTypeE2A.setDescription('Unit transmits at 21500-21800Mhz, receives at 22700-23000Mhz.') odu_type_e2_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 2, 2)) if mibBuilder.loadTexts: oduTypeE2B.setStatus('current') if mibBuilder.loadTexts: oduTypeE2B.setDescription('Unit transmits at 22700-23000Mhz, receives at 21500-21800Mhz.') sky_zhone8e3 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 3)) if mibBuilder.loadTexts: skyZhone8e3.setStatus('current') if mibBuilder.loadTexts: skyZhone8e3.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') odu_type_e3_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 3, 1)) if mibBuilder.loadTexts: oduTypeE3A.setStatus('current') if mibBuilder.loadTexts: oduTypeE3A.setDescription('Unit transmits at 21800-22100Mhz, receives at 23000-23300Mhz.') odu_type_e3_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 3, 2)) if mibBuilder.loadTexts: oduTypeE3B.setStatus('current') if mibBuilder.loadTexts: oduTypeE3B.setDescription('Unit transmits at 23000-23300Mhz, receives at 21800-22100Mhz.') sky_zhone8e4 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 4)) if mibBuilder.loadTexts: skyZhone8e4.setStatus('current') if mibBuilder.loadTexts: skyZhone8e4.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') odu_type_e4_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 4, 1)) if mibBuilder.loadTexts: oduTypeE4A.setStatus('current') if mibBuilder.loadTexts: oduTypeE4A.setDescription('Unit transmits at 22100-22400Mhz, receives at 23300-23600Mhz.') odu_type_e4_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 4, 2)) if mibBuilder.loadTexts: oduTypeE4B.setStatus('current') if mibBuilder.loadTexts: oduTypeE4B.setDescription('Unit transmits at 23300-23600Mhz, receives at 22100-22400Mhz.') sky_zhone8t1 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 5)) if mibBuilder.loadTexts: skyZhone8t1.setStatus('current') if mibBuilder.loadTexts: skyZhone8t1.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') odu_type_t1_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 5, 1)) if mibBuilder.loadTexts: oduTypeT1A.setStatus('current') if mibBuilder.loadTexts: oduTypeT1A.setDescription('Unit transmits at 21200-21500Mhz, receives at 22400-22700Mhz.') odu_type_t1_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 5, 2)) if mibBuilder.loadTexts: oduTypeT1B.setStatus('current') if mibBuilder.loadTexts: oduTypeT1B.setDescription('Unit transmits at 22400-22700Mhz, receives at 21200-21500Mhz.') sky_zhone8t2 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 6)) if mibBuilder.loadTexts: skyZhone8t2.setStatus('current') if mibBuilder.loadTexts: skyZhone8t2.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') odu_type_t2_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 6, 1)) if mibBuilder.loadTexts: oduTypeT2A.setStatus('current') if mibBuilder.loadTexts: oduTypeT2A.setDescription('Unit transmits at 21500-21800Mhz, receives at 22700-23000Mhz.') odu_type_t2_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 6, 2)) if mibBuilder.loadTexts: oduTypeT2B.setStatus('current') if mibBuilder.loadTexts: oduTypeT2B.setDescription('Unit transmits at 22700-23000Mhz, receives at 21500-21800Mhz.') sky_zhone8t3 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 7)) if mibBuilder.loadTexts: skyZhone8t3.setStatus('current') if mibBuilder.loadTexts: skyZhone8t3.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') odu_type_t3_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 7, 1)) if mibBuilder.loadTexts: oduTypeT3A.setStatus('current') if mibBuilder.loadTexts: oduTypeT3A.setDescription('Unit transmits at 21800-22100Mhz, receives at 23000-23300Mhz.') odu_type_t3_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 7, 2)) if mibBuilder.loadTexts: oduTypeT3B.setStatus('current') if mibBuilder.loadTexts: oduTypeT3B.setDescription('Unit transmits at 23000-23300Mhz, receives at 21800-22100Mhz.') sky_zhone8t4 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 8)) if mibBuilder.loadTexts: skyZhone8t4.setStatus('current') if mibBuilder.loadTexts: skyZhone8t4.setDescription('Variant of transport node with E1/T1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 14Mhz Channel separation.') odu_type_t4_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 8, 1)) if mibBuilder.loadTexts: oduTypeT4A.setStatus('current') if mibBuilder.loadTexts: oduTypeT4A.setDescription('Unit transmits at 22100-22400Mhz, receives at 23300-23600Mhz.') odu_type_t4_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 8, 2)) if mibBuilder.loadTexts: oduTypeT4B.setStatus('current') if mibBuilder.loadTexts: oduTypeT4B.setDescription('Unit transmits at 23300-23600Mhz, receives at 22100-22400Mhz.') sky_zhone155s1 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 9)) if mibBuilder.loadTexts: skyZhone155s1.setStatus('current') if mibBuilder.loadTexts: skyZhone155s1.setDescription('Variant of transport node with STM-1 interface which operates a link at frequency bands 21.2-21.8Ghz and 22.4-23Ghz. 28Mhz Channel separation.') odu_type_s1_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 9, 1)) if mibBuilder.loadTexts: oduTypeS1A.setStatus('current') if mibBuilder.loadTexts: oduTypeS1A.setDescription('Unit transmits at 21200-21500Mhz, receives at 22400-22700Mhz.') odu_type_s1_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 9, 2)) if mibBuilder.loadTexts: oduTypeS1B.setStatus('current') if mibBuilder.loadTexts: oduTypeS1B.setDescription('Unit transmits at 22400-22700Mhz, receives at 21200-21500Mhz.') sky_zhone155s2 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 10)) if mibBuilder.loadTexts: skyZhone155s2.setStatus('current') if mibBuilder.loadTexts: skyZhone155s2.setDescription('Variant of transport node with STM-1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 28Mhz Channel separation.') odu_type_s2_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 10, 1)) if mibBuilder.loadTexts: oduTypeS2A.setStatus('current') if mibBuilder.loadTexts: oduTypeS2A.setDescription('Unit transmits at 21500-21800Mhz, receives at 22700-23000Mhz.') odu_type_s2_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 10, 2)) if mibBuilder.loadTexts: oduTypeS2B.setStatus('current') if mibBuilder.loadTexts: oduTypeS2B.setDescription('Unit transmits at 22700-23000Mhz, receives at 21500-21800Mhz.') sky_zhone155s3 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 11)) if mibBuilder.loadTexts: skyZhone155s3.setStatus('current') if mibBuilder.loadTexts: skyZhone155s3.setDescription('Variant of transport node with STM-1 interface which operates a link at frequency bands 21.2-21.8Ghz and 22.4-23Ghz. 28Mhz Channel separation.') odu_type_s3_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 11, 1)) if mibBuilder.loadTexts: oduTypeS3A.setStatus('current') if mibBuilder.loadTexts: oduTypeS3A.setDescription('Unit transmits at 21800-22100Mhz, receives at 23000-23300Mhz.') odu_type_s3_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 11, 2)) if mibBuilder.loadTexts: oduTypeS3B.setStatus('current') if mibBuilder.loadTexts: oduTypeS3B.setDescription('Unit transmits at 23000-23300Mhz, receives at 21800-22100Mhz.') sky_zhone155s4 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 12)) if mibBuilder.loadTexts: skyZhone155s4.setStatus('current') if mibBuilder.loadTexts: skyZhone155s4.setDescription('Variant of transport node with STM-1 interface which operates a link at frequency bands 21.8-22.4Ghz and 23.0-23.6Ghz. 28Mhz Channel separation.') odu_type_s4_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 12, 1)) if mibBuilder.loadTexts: oduTypeS4A.setStatus('current') if mibBuilder.loadTexts: oduTypeS4A.setDescription('Unit transmits at 22100-22400Mhz, receives at 23300-23600Mhz.') odu_type_s4_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 2, 12, 2)) if mibBuilder.loadTexts: oduTypeS4B.setStatus('current') if mibBuilder.loadTexts: oduTypeS4B.setDescription('Unit transmits at 23300-23600Mhz, receives at 22100-22400Mhz.') sky_zhone1xxx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 5, 3)) if mibBuilder.loadTexts: skyZhone1xxx.setStatus('current') if mibBuilder.loadTexts: skyZhone1xxx.setDescription('SkyZhone 802.11 a/b/g/n Wifi Access Points product family.') malc19 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 1)) if mibBuilder.loadTexts: malc19.setStatus('current') if mibBuilder.loadTexts: malc19.setDescription('Multiple Access Loop Concentrator with 19 inch rack mount cabinet product identifier.') malc23 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 2)) if mibBuilder.loadTexts: malc23.setStatus('current') if mibBuilder.loadTexts: malc23.setDescription('Multiple Access Loop Concentrator with 23 inch rack mount cabinet product identifier.') malc319 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 3)) if mibBuilder.loadTexts: malc319.setStatus('current') if mibBuilder.loadTexts: malc319.setDescription('Multiple Access Loop Concentrator with 10 inch rack mount cabinet product identifier.') raptor319_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 4)) if mibBuilder.loadTexts: raptor319A.setStatus('current') if mibBuilder.loadTexts: raptor319A.setDescription('Raptor MALC with 10 inch rack mount cabinet product identifier. The Raptor differs from the standard MALC in that it does not have any subscriber voice capability.') raptor319_i = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 5)) if mibBuilder.loadTexts: raptor319I.setStatus('current') if mibBuilder.loadTexts: raptor319I.setDescription('Raptor MALC with IP termination, with 10 inch rack mount cabinet product identifier. The Raptor differs from the standard MALC in that it does not have any subscriber voice capability.') raptor719_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 6)) if mibBuilder.loadTexts: raptor719A.setStatus('current') if mibBuilder.loadTexts: raptor719A.setDescription('Raptor MALC with 19 inch rack mount cabinet product identifier. The Raptor differs from the standard MALC in that it does not have any subscriber voice capability.') raptor719_i = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 7)) if mibBuilder.loadTexts: raptor719I.setStatus('current') if mibBuilder.loadTexts: raptor719I.setDescription('Raptor MALC with IP termination, with 10 inch rack mount cabinet product identifier. The Raptor differs from the standard MALC in that it does not have any subscriber voice capability.') raptor723_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 8)) if mibBuilder.loadTexts: raptor723A.setStatus('current') if mibBuilder.loadTexts: raptor723A.setDescription('Raptor MALC with 23 inch rack mount cabinet product identifier. The Raptor differs from the standard MALC in that it does not have any subscriber voice capability.') raptor723_i = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 9)) if mibBuilder.loadTexts: raptor723I.setStatus('current') if mibBuilder.loadTexts: raptor723I.setDescription('Raptor MALC with IP termination, with 10 inch rack mount cabinet product identifier. The Raptor differs from the standard MALC in that it does not have any subscriber voice capability.') raptor100_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 10)) if mibBuilder.loadTexts: raptor100A.setStatus('current') if mibBuilder.loadTexts: raptor100A.setDescription('RAPTOR-100A in a single board configuration. The RAPTOR 100A is a single-board MALC with up to 4 T1/E1 IMA/UNI uplinks and 24 ADSL lines. It is offered with or without a splitter daughter-board. The RAPTOR-100A does not offer any subscriber voice services.') raptor100_i = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 11)) if mibBuilder.loadTexts: raptor100I.setStatus('current') if mibBuilder.loadTexts: raptor100I.setDescription('Raptor MALC in single-board configuration with IP termination product identifier. The Raptor differs from the standard MALC in that it does not have any subscriber voice capability.') raptor100_lp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 12)) if mibBuilder.loadTexts: raptor100LP.setStatus('current') if mibBuilder.loadTexts: raptor100LP.setDescription('RAPTOR-100 Line Powered in a single board configuration. The RAPTOR-100 Line-Powered is a single-board MALC with up to four GSHDSL uplinks and 16 ADSL lines. It is offered with or without a splitter daughter-board. The RAPTOR-100 LP does not offer any subscriber voice services.') raptor50_gshdsl = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 13)) if mibBuilder.loadTexts: raptor50Gshdsl.setStatus('current') if mibBuilder.loadTexts: raptor50Gshdsl.setDescription('RAPTOR-100 Line Powered in a single board configuration. The RAPTOR-100 Line-Powered is a single-board MALC with up to four GSHDSL uplinks and 16 ADSL lines. It is offered with or without a splitter daughter-board. The RAPTOR-100 LP does not offer any subscriber voice services.') isc303 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 14)) if mibBuilder.loadTexts: isc303.setStatus('current') if mibBuilder.loadTexts: isc303.setDescription('ISC-303 ADSL subsystem based on modified legacy ISC-303 TDM platform. The ISC-303 ADSL system provides up to 60 ADSL ports spread over 24 line cards. The system is fed by two T1 lines. The T1 IMA uplink operates on half of the eCTU card and the ADSL operates on half of each of the ADSL line cards. This system does not offer any subscriber voice services.') r100adsl2_pxxx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15)) if mibBuilder.loadTexts: r100adsl2Pxxx.setStatus('current') if mibBuilder.loadTexts: r100adsl2Pxxx.setDescription('R100 ADSL2P family of products.') r100adsl2pip = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15, 1)) if mibBuilder.loadTexts: r100adsl2pip.setStatus('current') if mibBuilder.loadTexts: r100adsl2pip.setDescription('R100 ADSL2P IP.') r100adsl2phdsl4 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15, 2)) if mibBuilder.loadTexts: r100adsl2phdsl4.setStatus('current') if mibBuilder.loadTexts: r100adsl2phdsl4.setDescription('R100 ADSL2P HDSL4.') r100adsl2pt1ima = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15, 3)) if mibBuilder.loadTexts: r100adsl2pt1ima.setStatus('current') if mibBuilder.loadTexts: r100adsl2pt1ima.setDescription('R100 ADSL2P T1IMA.') r100adsl2pgige = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15, 4)) if mibBuilder.loadTexts: r100adsl2pgige.setStatus('current') if mibBuilder.loadTexts: r100adsl2pgige.setDescription('R100 ADSL2P GigE.') r100adsl2pgm = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15, 5)) if mibBuilder.loadTexts: r100adsl2pgm.setStatus('obsolete') if mibBuilder.loadTexts: r100adsl2pgm.setDescription('R100 Adsl2P Gm') r100adsl2pgte = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15, 6)) if mibBuilder.loadTexts: r100adsl2pgte.setStatus('obsolete') if mibBuilder.loadTexts: r100adsl2pgte.setDescription('R100 ADSL2P GTE') r100adsl2panxb = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 15, 7)) if mibBuilder.loadTexts: r100adsl2panxb.setStatus('current') if mibBuilder.loadTexts: r100adsl2panxb.setDescription('R100 ADSL2P ANXB') m100 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 16)) if mibBuilder.loadTexts: m100.setStatus('current') if mibBuilder.loadTexts: m100.setDescription('M100.') m100adsl2pxxx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 16, 1)) if mibBuilder.loadTexts: m100adsl2pxxx.setStatus('current') if mibBuilder.loadTexts: m100adsl2pxxx.setDescription('M100 ADSL2P.') m100adsl2pgige = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 16, 1, 1)) if mibBuilder.loadTexts: m100adsl2pgige.setStatus('current') if mibBuilder.loadTexts: m100adsl2pgige.setDescription('M100 ADSL2P GigE.') m100adsl2pgm = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 16, 1, 2)) if mibBuilder.loadTexts: m100adsl2pgm.setStatus('obsolete') if mibBuilder.loadTexts: m100adsl2pgm.setDescription('M100 Adsl2p Gm') m100_adsl2p_anx_b = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 16, 1, 3)) if mibBuilder.loadTexts: m100Adsl2pAnxB.setStatus('current') if mibBuilder.loadTexts: m100Adsl2pAnxB.setDescription('MALC 100 ADSL2P ANXB') m100_vdsl2xxx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 16, 2)) if mibBuilder.loadTexts: m100Vdsl2xxx.setStatus('obsolete') if mibBuilder.loadTexts: m100Vdsl2xxx.setDescription('M100 Vdsl2') m100vdsl2gm = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 16, 2, 1)) if mibBuilder.loadTexts: m100vdsl2gm.setStatus('obsolete') if mibBuilder.loadTexts: m100vdsl2gm.setDescription('M100 Vdsl2 Gm') r100_vdsl2xx = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 17)) if mibBuilder.loadTexts: r100Vdsl2xx.setStatus('obsolete') if mibBuilder.loadTexts: r100Vdsl2xx.setDescription('Raptor 100 Vdsl2 series') r100vdsl2gm = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 17, 1)) if mibBuilder.loadTexts: r100vdsl2gm.setStatus('obsolete') if mibBuilder.loadTexts: r100vdsl2gm.setDescription('R100 VDSL2 GM') fiber_slam = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 18)) if mibBuilder.loadTexts: fiberSlam.setStatus('current') if mibBuilder.loadTexts: fiberSlam.setDescription('FiberSLAM series.') fs105 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 18, 1)) if mibBuilder.loadTexts: fs105.setStatus('current') if mibBuilder.loadTexts: fs105.setDescription('fiberslam-105 provides datacom (2xGigE, 2x10/100) and telecom (16xT1/E1, 3xDS3/E3) traffic mapping over SONET/SDH at 2.5Gbps.') fs101 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 18, 2)) if mibBuilder.loadTexts: fs101.setStatus('current') if mibBuilder.loadTexts: fs101.setDescription('fiberslam-101 provides datacom (2xGigE, 2x10/100) and telecom (16xT1/E1) traffic mapping over SONET/SDH at 2.5Gbps.') raptor_xp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19)) if mibBuilder.loadTexts: raptorXP.setStatus('current') if mibBuilder.loadTexts: raptorXP.setDescription('Raptor XP family') raptor_xp150_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 1)) if mibBuilder.loadTexts: raptorXP150A.setStatus('current') if mibBuilder.loadTexts: raptorXP150A.setDescription('Raptor-XP-150-A, the Raptor Adsl2 board') raptor_xp150_a_isp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 1, 1)) if mibBuilder.loadTexts: raptorXP150A_ISP.setStatus('current') if mibBuilder.loadTexts: raptorXP150A_ISP.setDescription('Raptor-150A Indoor Unit') raptor_xp150_a_osp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 1, 2)) if mibBuilder.loadTexts: raptorXP150A_OSP.setStatus('current') if mibBuilder.loadTexts: raptorXP150A_OSP.setDescription('Raptor-150A Outdoor Unit') raptor_xp350_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 2)) if mibBuilder.loadTexts: raptorXP350A.setStatus('current') if mibBuilder.loadTexts: raptorXP350A.setDescription('Raptor-XP-350-A, the Raptor Adsl2 T1/E1 board') raptor_xp350_a_isp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 2, 1)) if mibBuilder.loadTexts: raptorXP350A_ISP.setStatus('current') if mibBuilder.loadTexts: raptorXP350A_ISP.setDescription('Raptor-XP-350A Indoor Unit') raptor_xp350_a_osp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 2, 2)) if mibBuilder.loadTexts: raptorXP350A_OSP.setStatus('current') if mibBuilder.loadTexts: raptorXP350A_OSP.setDescription('Raptor-XP-350A Outdoor Unit') raptor_xp160 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 3)) if mibBuilder.loadTexts: raptorXP160.setStatus('current') if mibBuilder.loadTexts: raptorXP160.setDescription('Raptor-XP-160, the Raptor Vdsl2 board') raptor_xp160_isp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 3, 1)) if mibBuilder.loadTexts: raptorXP160_ISP.setStatus('current') if mibBuilder.loadTexts: raptorXP160_ISP.setDescription('Raptor-XP-160 Indoor Unit') raptor_xp160_osp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 3, 2)) if mibBuilder.loadTexts: raptorXP160_OSP.setStatus('current') if mibBuilder.loadTexts: raptorXP160_OSP.setDescription('Raptor-XP-160 Outdoor Unit') raptor_xp170 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4)) if mibBuilder.loadTexts: raptorXP170.setStatus('current') if mibBuilder.loadTexts: raptorXP170.setDescription('Raptor-XP-170, the Raptor SHDSL board') raptor_xp170_wc = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 1)) if mibBuilder.loadTexts: raptorXP170_WC.setStatus('current') if mibBuilder.loadTexts: raptorXP170_WC.setDescription('Raptor-XP-170 with Wetting Current') raptor_xp170_isp_wc = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 1, 1)) if mibBuilder.loadTexts: raptorXP170_ISP_WC.setStatus('current') if mibBuilder.loadTexts: raptorXP170_ISP_WC.setDescription('Raptor-XP-170 Indoor Unit with Wetting Current') raptor_xp170_osp_wc = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 1, 2)) if mibBuilder.loadTexts: raptorXP170_OSP_WC.setStatus('current') if mibBuilder.loadTexts: raptorXP170_OSP_WC.setDescription('Raptor-XP-170 Outdoor Unit with Wetting Current') raptor_xp170_wc_sd = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 2)) if mibBuilder.loadTexts: raptorXP170_WC_SD.setStatus('current') if mibBuilder.loadTexts: raptorXP170_WC_SD.setDescription('Raptor-XP-170 with Wetting Current and SELT/DELT') raptor_xp170_isp_wc_sd = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 2, 1)) if mibBuilder.loadTexts: raptorXP170_ISP_WC_SD.setStatus('current') if mibBuilder.loadTexts: raptorXP170_ISP_WC_SD.setDescription('Raptor-XP-170 Indoor Unit with Wetting Current and SELT/DELT') raptor_xp170_osp_wc_sd = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 2, 2)) if mibBuilder.loadTexts: raptorXP170_OSP_WC_SD.setStatus('current') if mibBuilder.loadTexts: raptorXP170_OSP_WC_SD.setDescription('Raptor-XP-170 Outdoor Unit with Wetting Current and SELT/DELT') raptor_xp170_lp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 3)) if mibBuilder.loadTexts: raptorXP170_LP.setStatus('current') if mibBuilder.loadTexts: raptorXP170_LP.setDescription('Raptor-XP-170 with Line Power') raptor_xp170_isp_lp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 3, 1)) if mibBuilder.loadTexts: raptorXP170_ISP_LP.setStatus('current') if mibBuilder.loadTexts: raptorXP170_ISP_LP.setDescription('Raptor-XP-170 Indoor Unit with Line Power') raptor_xp170_osp_lp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 3, 2)) if mibBuilder.loadTexts: raptorXP170_OSP_LP.setStatus('current') if mibBuilder.loadTexts: raptorXP170_OSP_LP.setDescription('Raptor-XP-170 Outdoor Unit with Line Power') raptor_xp170_lp_sd = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 4)) if mibBuilder.loadTexts: raptorXP170_LP_SD.setStatus('current') if mibBuilder.loadTexts: raptorXP170_LP_SD.setDescription('Raptor-XP-170 with Line Power and SELT/DELT') raptor_xp170_isp_lp_sd = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 4, 1)) if mibBuilder.loadTexts: raptorXP170_ISP_LP_SD.setStatus('current') if mibBuilder.loadTexts: raptorXP170_ISP_LP_SD.setDescription('Raptor-XP-170 Indoor Unit with Line Power and SELT/DELT') raptor_xp170_osp_lp_sd = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 19, 4, 4, 2)) if mibBuilder.loadTexts: raptorXP170_OSP_LP_SD.setStatus('current') if mibBuilder.loadTexts: raptorXP170_OSP_LP_SD.setDescription('Raptor-XP-170 Outdoor Unit with Line Power and SELT/DELT') malc_xp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20)) if mibBuilder.loadTexts: malcXP.setStatus('current') if mibBuilder.loadTexts: malcXP.setDescription('Malc-XP family') malc_xp150_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 1)) if mibBuilder.loadTexts: malcXP150A.setStatus('current') if mibBuilder.loadTexts: malcXP150A.setDescription('Malc-XP-150-A, the Raptor Adsl2 POTS board') malc_xp150_a_isp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 1, 1)) if mibBuilder.loadTexts: malcXP150A_ISP.setStatus('current') if mibBuilder.loadTexts: malcXP150A_ISP.setDescription('MalcXP150A Indoor Unit') malc_xp150_a_osp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 1, 2)) if mibBuilder.loadTexts: malcXP150A_OSP.setStatus('current') if mibBuilder.loadTexts: malcXP150A_OSP.setDescription('MalcXP150A Outdoor Unit') malc_xp350_a = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 4)) if mibBuilder.loadTexts: malcXP350A.setStatus('current') if mibBuilder.loadTexts: malcXP350A.setDescription('Malc-XP-350-A, the Raptor Adsl2 POTS T1/E1 board') malc_xp350_a_isp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 4, 1)) if mibBuilder.loadTexts: malcXP350A_ISP.setStatus('current') if mibBuilder.loadTexts: malcXP350A_ISP.setDescription('Malc-XP-350A Indoor Unit') malc_xp350_a_osp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 4, 2)) if mibBuilder.loadTexts: malcXP350A_OSP.setStatus('current') if mibBuilder.loadTexts: malcXP350A_OSP.setDescription('Malc-XP-350A Outdoor Unit') malc_xp160 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 5)) if mibBuilder.loadTexts: malcXP160.setStatus('current') if mibBuilder.loadTexts: malcXP160.setDescription('Malc-XP-160, the Raptor Vdsl2 POTS board') malc_xp160_isp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 5, 1)) if mibBuilder.loadTexts: malcXP160_ISP.setStatus('current') if mibBuilder.loadTexts: malcXP160_ISP.setDescription('Malc-XP-160 Indoor Unit') malc_xp160_osp = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 6, 20, 5, 2)) if mibBuilder.loadTexts: malcXP160_OSP.setStatus('current') if mibBuilder.loadTexts: malcXP160_OSP.setDescription('Malc-XP-160 Outdoor Unit') zhone_reg_mx_next_gen = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7)) if mibBuilder.loadTexts: zhoneRegMxNextGen.setStatus('current') if mibBuilder.loadTexts: zhoneRegMxNextGen.setDescription('Next Generation MALC') mx19 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 1)) if mibBuilder.loadTexts: mx19.setStatus('current') if mibBuilder.loadTexts: mx19.setDescription('Mx Next Gen 19 inch.') mx23 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 2)) if mibBuilder.loadTexts: mx23.setStatus('current') if mibBuilder.loadTexts: mx23.setDescription('Mx Next Gen 23 inch.') mx319 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 3)) if mibBuilder.loadTexts: mx319.setStatus('current') if mibBuilder.loadTexts: mx319.setDescription('Mx Next Gen 3U 19 inch.') mx1_u = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4)) if mibBuilder.loadTexts: mx1U.setStatus('current') if mibBuilder.loadTexts: mx1U.setDescription('MX1U Product Family') mx1_ux6x = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1)) if mibBuilder.loadTexts: mx1Ux6x.setStatus('current') if mibBuilder.loadTexts: mx1Ux6x.setDescription('MX1U x6x Product Family') mx1_u16x = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 1)) if mibBuilder.loadTexts: mx1U16x.setStatus('current') if mibBuilder.loadTexts: mx1U16x.setDescription('MX1U 16x Product Family') mx1_u160 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 1, 1)) if mibBuilder.loadTexts: mx1U160.setStatus('current') if mibBuilder.loadTexts: mx1U160.setDescription('MX 160 - 24 VDSL2, 4 FE/GE') mx1_u161 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 1, 2)) if mibBuilder.loadTexts: mx1U161.setStatus('current') if mibBuilder.loadTexts: mx1U161.setDescription('MX 161 - 24 VDSL2, 24 POTS SPLT (600 Ohm), 4 FE/GE') mx1_u162 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 1, 3)) if mibBuilder.loadTexts: mx1U162.setStatus('current') if mibBuilder.loadTexts: mx1U162.setDescription('MX 162 - 24 VDSL2, 24 POTS SPLT (900 Ohm), 4 FE/GE') mx1_u26x = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 2)) if mibBuilder.loadTexts: mx1U26x.setStatus('current') if mibBuilder.loadTexts: mx1U26x.setDescription('MX1U 26x Product Family') mx1_u260 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 2, 1)) if mibBuilder.loadTexts: mx1U260.setStatus('current') if mibBuilder.loadTexts: mx1U260.setDescription('MX 260 - 24 VDSL2, 3 FE/GE, 1 GPON') mx1_u261 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 2, 2)) if mibBuilder.loadTexts: mx1U261.setStatus('current') if mibBuilder.loadTexts: mx1U261.setDescription('MX 261 - 24 VDSL2, 24 POTS SPLT (600 Ohm), 3 FE/GE, 1 GPON') mx1_u262 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 1, 2, 3)) if mibBuilder.loadTexts: mx1U262.setStatus('current') if mibBuilder.loadTexts: mx1U262.setDescription('MX 262 - 24 VDSL2, 24 POTS SPLT (900 Ohm), 3 FE/GE, 1 GPON') mx1_ux80 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 2)) if mibBuilder.loadTexts: mx1Ux80.setStatus('current') if mibBuilder.loadTexts: mx1Ux80.setDescription('MX1U x80 Product Family') mx1_u180 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 2, 1)) if mibBuilder.loadTexts: mx1U180.setStatus('current') if mibBuilder.loadTexts: mx1U180.setDescription('MX 180 - 24 FE, 2 FE/GE') mx1_u280 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 2, 2)) if mibBuilder.loadTexts: mx1U280.setStatus('current') if mibBuilder.loadTexts: mx1U280.setDescription('MX 280 - 24 FE, 2 FE/GE, 1 GPON') mx1_u180_tp_rj45 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 2, 3)) if mibBuilder.loadTexts: mx1U180_TP_RJ45.setStatus('current') if mibBuilder.loadTexts: mx1U180_TP_RJ45.setDescription('MX 180 TP-RJ45 - 24 FE, 4 FE/GE') mx1_u280_tp_rj45 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 2, 4)) if mibBuilder.loadTexts: mx1U280_TP_RJ45.setStatus('current') if mibBuilder.loadTexts: mx1U280_TP_RJ45.setDescription('MX 280 TP-RJ45 - 24 FE, 3 FE/GE, 1 GPON') mx1_u180_lt_tp_rj45 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 2, 5)) if mibBuilder.loadTexts: mx1U180_LT_TP_RJ45.setStatus('current') if mibBuilder.loadTexts: mx1U180_LT_TP_RJ45.setDescription('MX 180 LT-TP-RJ45 - 24 FE, 4 FE/GE') mx1_u280_lt_tp_rj45 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 2, 6)) if mibBuilder.loadTexts: mx1U280_LT_TP_RJ45.setStatus('current') if mibBuilder.loadTexts: mx1U280_LT_TP_RJ45.setDescription('MX 280 LT-TP-RJ45 - 24 FE, 3 FE/GE, 1 GPON') mx1_u19x = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3)) if mibBuilder.loadTexts: mx1U19x.setStatus('current') if mibBuilder.loadTexts: mx1U19x.setDescription('MXK 19x Product Family') mx1_u194 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 1)) if mibBuilder.loadTexts: mx1U194.setStatus('current') if mibBuilder.loadTexts: mx1U194.setDescription('MXK 194 - 4 GPON OLT, 8 FE/GE') mx1_u198 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 2)) if mibBuilder.loadTexts: mx1U198.setStatus('current') if mibBuilder.loadTexts: mx1U198.setDescription('MXK 198 - 8 GPON OLT, 8 FE/GE') mx1_u194_10_ge = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 3)) if mibBuilder.loadTexts: mx1U194_10GE.setStatus('current') if mibBuilder.loadTexts: mx1U194_10GE.setDescription('MXK 194-10GE - 4 GPON OLT, 8 FE/GE, 2 10GE') mx1_u198_10_ge = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 4)) if mibBuilder.loadTexts: mx1U198_10GE.setStatus('current') if mibBuilder.loadTexts: mx1U198_10GE.setDescription('MXK 198-10GE - 8 GPON OLT, 8 FE/GE, 2 10GE') mx1_u194_top = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 5)) if mibBuilder.loadTexts: mx1U194_TOP.setStatus('current') if mibBuilder.loadTexts: mx1U194_TOP.setDescription('MXK 194-TOP - 4 GPON OLT, 8 FE/GE, TOP') mx1_u198_top = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 6)) if mibBuilder.loadTexts: mx1U198_TOP.setStatus('current') if mibBuilder.loadTexts: mx1U198_TOP.setDescription('MXK 198-TOP - 8 GPON OLT, 8 FE/GE, TOP') mx1_u194_10_ge_top = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 7)) if mibBuilder.loadTexts: mx1U194_10GE_TOP.setStatus('current') if mibBuilder.loadTexts: mx1U194_10GE_TOP.setDescription('MXK 194-10GE-TOP - 4 GPON OLT, 8 FE/GE, 2 10GE, TOP') mx1_u198_10_ge_top = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 3, 8)) if mibBuilder.loadTexts: mx1U198_10GE_TOP.setStatus('current') if mibBuilder.loadTexts: mx1U198_10GE_TOP.setDescription('MXK 198-10GE-TOP - 8 GPON OLT, 8 FE/GE, 2 10GE, TOP') mx1_ux5x = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 4)) if mibBuilder.loadTexts: mx1Ux5x.setStatus('current') if mibBuilder.loadTexts: mx1Ux5x.setDescription('Description.') mx1_u15x = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 4, 1)) if mibBuilder.loadTexts: mx1U15x.setStatus('current') if mibBuilder.loadTexts: mx1U15x.setDescription('Description.') mx1_u150 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 4, 1, 1)) if mibBuilder.loadTexts: mx1U150.setStatus('current') if mibBuilder.loadTexts: mx1U150.setDescription('Description.') mx1_u151 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 4, 1, 2)) if mibBuilder.loadTexts: mx1U151.setStatus('current') if mibBuilder.loadTexts: mx1U151.setDescription('Description.') mx1_u152 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 4, 4, 1, 3)) if mibBuilder.loadTexts: mx1U152.setStatus('current') if mibBuilder.loadTexts: mx1U152.setDescription('Description.') mxp1_u = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5)) if mibBuilder.loadTexts: mxp1U.setStatus('current') if mibBuilder.loadTexts: mxp1U.setDescription('MXP1U Product Family') mxp1_ux60 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 1)) if mibBuilder.loadTexts: mxp1Ux60.setStatus('current') if mibBuilder.loadTexts: mxp1Ux60.setDescription('MXP1U x60 Product Family') mxp1_u160_family = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 1, 1)) if mibBuilder.loadTexts: mxp1U160Family.setStatus('current') if mibBuilder.loadTexts: mxp1U160Family.setDescription('MXP1U 160 Product Family') mxp1_u160 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 1, 1, 1)) if mibBuilder.loadTexts: mxp1U160.setStatus('current') if mibBuilder.loadTexts: mxp1U160.setDescription('MXP 160 - 24 VDSL2, 24 POTS VOIP, 4 FE/GE') mxp1_u260_family = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 1, 2)) if mibBuilder.loadTexts: mxp1U260Family.setStatus('current') if mibBuilder.loadTexts: mxp1U260Family.setDescription('MXP1U 260 Product Family') mxp1_u260 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 1, 2, 1)) if mibBuilder.loadTexts: mxp1U260.setStatus('current') if mibBuilder.loadTexts: mxp1U260.setDescription('MXP 260 - 24 VDSL2, 24 POTS VOIP, 3 FE/GE, 1 GPON') mxp1_ux80 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 2)) if mibBuilder.loadTexts: mxp1Ux80.setStatus('current') if mibBuilder.loadTexts: mxp1Ux80.setDescription('MXP1U x80 Product Family') mxp1_u180 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 2, 1)) if mibBuilder.loadTexts: mxp1U180.setStatus('current') if mibBuilder.loadTexts: mxp1U180.setDescription('MXP 180 - 24 FE, 24 POTS VOIP, 2 FE/GE') mxp1_u280 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 2, 2)) if mibBuilder.loadTexts: mxp1U280.setStatus('current') if mibBuilder.loadTexts: mxp1U280.setDescription('MXP 280 - 24 FE, 24 POTS VOIP, 2 FE/GE, 1 GPON') mxp1_u180_tp_rj45 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 2, 3)) if mibBuilder.loadTexts: mxp1U180_TP_RJ45.setStatus('current') if mibBuilder.loadTexts: mxp1U180_TP_RJ45.setDescription('MXP 180 TP-RJ45 - 24 FE, 24 POTS VOIP, 4 FE/GE') mxp1_u280_tp_rj45 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 2, 4)) if mibBuilder.loadTexts: mxp1U280_TP_RJ45.setStatus('current') if mibBuilder.loadTexts: mxp1U280_TP_RJ45.setDescription('MXP 280 TP-RJ45 - 24 FE, 24 POTS VOIP, 3 FE/GE, 1 GPON') mxp1_ux5x = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 3)) if mibBuilder.loadTexts: mxp1Ux5x.setStatus('current') if mibBuilder.loadTexts: mxp1Ux5x.setDescription('Description.') mxp1_u15x_family = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 3, 1)) if mibBuilder.loadTexts: mxp1U15xFamily.setStatus('current') if mibBuilder.loadTexts: mxp1U15xFamily.setDescription('Description.') mxp1_u150 = object_identity((1, 3, 6, 1, 4, 1, 5504, 1, 7, 5, 3, 1, 1)) if mibBuilder.loadTexts: mxp1U150.setStatus('current') if mibBuilder.loadTexts: mxp1U150.setDescription('Description.') mibBuilder.exportSymbols('ZhoneProductRegistrations', znidNextGenGPON21xx=znidNextGenGPON21xx, oduTypeE3A=oduTypeE3A, malcXP350A=malcXP350A, mx1U26x=mx1U26x, mx1U151=mx1U151, mx1U161=mx1U161, znid42xx=znid42xx, skyZhone45=skyZhone45, znidGPON42xx=znidGPON42xx, zedge6200_IP_T1=zedge6200_IP_T1, zhoneRegistrationsModule=zhoneRegistrationsModule, znidNextGenGE24xx=znidNextGenGE24xx, mx23=mx23, skyZhone155s1=skyZhone155s1, oduTypeE1A=oduTypeE1A, zrg7xx=zrg7xx, znidNextGen42xx=znidNextGen42xx, mx1U280_TP_RJ45=mx1U280_TP_RJ45, raptor50Gshdsl=raptor50Gshdsl, skyZhone8e2=skyZhone8e2, raptor719A=raptor719A, raptorXP170_OSP_LP_SD=raptorXP170_OSP_LP_SD, mx1U262=mx1U262, fs105=fs105, znidNextGenGE97xx=znidNextGenGE97xx, zrg8xx=zrg8xx, znidNextGenGE21xx=znidNextGenGE21xx, raptor100LP=raptor100LP, malcXP160_ISP=malcXP160_ISP, oduTypeE2B=oduTypeE2B, mx1U198=mx1U198, mx1U194_10GE=mx1U194_10GE, znidNextGenGE42xx=znidNextGenGE42xx, znidNextGen22xx=znidNextGen22xx, ethXtendxx=ethXtendxx, oduTypeE1B=oduTypeE1B, skyZhone155s4=skyZhone155s4, raptorXP150A=raptorXP150A, raptorXP170_OSP_WC_SD=raptorXP170_OSP_WC_SD, mxp1U280_TP_RJ45=mxp1U280_TP_RJ45, ethXtend31xx=ethXtend31xx, mx1U261=mx1U261, zrg3xx=zrg3xx, oduTypeS2B=oduTypeS2B, mx1U180_TP_RJ45=mx1U180_TP_RJ45, raptorXP170_ISP_LP_SD=raptorXP170_ISP_LP_SD, s100_ATM_SM_16E1=s100_ATM_SM_16E1, mx1Ux80=mx1Ux80, z_plex10B_FXS_FXO=z_plex10B_FXS_FXO, skyZhone8t4=skyZhone8t4, mx19=mx19, PYSNMP_MODULE_ID=zhoneRegistrationsModule, znidEth422x=znidEth422x, fiberJack=fiberJack, mx1Ux6x=mx1Ux6x, mx1U162=mx1U162, znid=znid, raptor100A=raptor100A, mx1U194_TOP=mx1U194_TOP, raptorXP350A_OSP=raptorXP350A_OSP, mxp1U180=mxp1U180, oduTypeT1B=oduTypeT1B, raptor723I=raptor723I, r100adsl2panxb=r100adsl2panxb, skyZhone155s3=skyZhone155s3, zrg600_IDU=zrg600_IDU, raptorXP170_ISP_WC=raptorXP170_ISP_WC, malcXP160_OSP=malcXP160_OSP, sechtor_300=sechtor_300, mx1U198_10GE_TOP=mx1U198_10GE_TOP, oduTypeE4A=oduTypeE4A, zrg500_ODU=zrg500_ODU, oduTypeS3A=oduTypeS3A, zedge6200_IP_FXS=zedge6200_IP_FXS, oduTypeE3B=oduTypeE3B, ethXtend30xx=ethXtend30xx, znidNextGenGE26xx=znidNextGenGE26xx, znidNextGenGPON26xx=znidNextGenGPON26xx, mxp1U180_TP_RJ45=mxp1U180_TP_RJ45, oduTypeE2A=oduTypeE2A, oduTypeS2A=oduTypeS2A, znid420x=znid420x, mx1U=mx1U, zrg500_IDU=zrg500_IDU, z_plex10B_FXS=z_plex10B_FXS, r100adsl2pip=r100adsl2pip, mxp1U260Family=mxp1U260Family, znidGPON420x=znidGPON420x, fs101=fs101, zrg800_ODU=zrg800_ODU, raptorXP160_ISP=raptorXP160_ISP, mxp1U160=mxp1U160, mxp1U=mxp1U, raptorXP170_LP_SD=raptorXP170_LP_SD, zrg600_ODU=zrg600_ODU, skyZhone8t1=skyZhone8t1, zedge64=zedge64, znidNextGenGPON97xx=znidNextGenGPON97xx, skyZhone1xxx=skyZhone1xxx, r100adsl2pgm=r100adsl2pgm, r100Vdsl2xx=r100Vdsl2xx, mxp1Ux60=mxp1Ux60, raptorXP170=raptorXP170, malcXP350A_ISP=malcXP350A_ISP, raptor319A=raptor319A, oduTypeT2B=oduTypeT2B, raptorXP160=raptorXP160, raptorXP350A_ISP=raptorXP350A_ISP, zedge64_SHDSL_FXS=zedge64_SHDSL_FXS, mx1U198_10GE=mx1U198_10GE, mx1U180_LT_TP_RJ45=mx1U180_LT_TP_RJ45, node23000Mhz=node23000Mhz, fiberSlam=fiberSlam, mx1U152=mx1U152, malcXP=malcXP, mx1U280_LT_TP_RJ45=mx1U280_LT_TP_RJ45, mx1U16x=mx1U16x, ethXtendShdsl=ethXtendShdsl, znidNextGen26xx=znidNextGen26xx, ethXtendT1E1=ethXtendT1E1, znidNextGen9xxx=znidNextGen9xxx, zedge64_E1_FXS=zedge64_E1_FXS, malc23=malc23, isc303=isc303, skyZhone8t3=skyZhone8t3, zrg700_ODU=zrg700_ODU, oduTypeT1A=oduTypeT1A, raptorXP170_WC=raptorXP170_WC, malcXP150A_ISP=malcXP150A_ISP, zedge6200_IP_EM=zedge6200_IP_EM, raptorXP170_LP=raptorXP170_LP, raptorXP=raptorXP, mxp1U160Family=mxp1U160Family, oduTypeS1A=oduTypeS1A, znidNextGenGPON24xx=znidNextGenGPON24xx, znidNextGenGE9xxx=znidNextGenGE9xxx, raptorXP150A_ISP=raptorXP150A_ISP, skyZhone155s2=skyZhone155s2, r100adsl2pgte=r100adsl2pgte, raptorXP350A=raptorXP350A, zhoneRegMxNextGen=zhoneRegMxNextGen, mx1U280=mx1U280, mxp1U280=mxp1U280, raptor719I=raptor719I, m100adsl2pgm=m100adsl2pgm, mx319=mx319, zedge6200=zedge6200, m100Adsl2pAnxB=m100Adsl2pAnxB, zrg300_ODU=zrg300_ODU, m100adsl2pgige=m100adsl2pgige, malcXP160=malcXP160, znidNextGenGPON42xx=znidNextGenGPON42xx, mxp1U260=mxp1U260, m100Vdsl2xxx=m100Vdsl2xxx, skyZhone8t2=skyZhone8t2, oduTypeS3B=oduTypeS3B, zedge64_SHDSL_BRI=zedge64_SHDSL_BRI, mx1U160=mx1U160, sechtor_100=sechtor_100, oduTypeT3A=oduTypeT3A, oduTypeB=oduTypeB, raptor319I=raptor319I, zrg300_IDU=zrg300_IDU, m100=m100, mx1U194=mx1U194, zedge64_T1_FXS=zedge64_T1_FXS, oduTypeS4A=oduTypeS4A, skyZhone8e3=skyZhone8e3, malc19=malc19, malcXP350A_OSP=malcXP350A_OSP, r100adsl2phdsl4=r100adsl2phdsl4, r100adsl2Pxxx=r100adsl2Pxxx, oduTypeE4B=oduTypeE4B, raptor100I=raptor100I, r100adsl2pgige=r100adsl2pgige, raptorXP150A_OSP=raptorXP150A_OSP, s100_ATM_SM_16T1=s100_ATM_SM_16T1, znidNextGenGE22xx=znidNextGenGE22xx, m100adsl2pxxx=m100adsl2pxxx, zrg6xx=zrg6xx, oduTypeT4A=oduTypeT4A, zrg800_IDU=zrg800_IDU, r100adsl2pt1ima=r100adsl2pt1ima, raptorXP170_ISP_LP=raptorXP170_ISP_LP, mxp1U150=mxp1U150, oduTypeT3B=oduTypeT3B, oduTypeT2A=oduTypeT2A, mxp1Ux80=mxp1Ux80, znidNextGen24xx=znidNextGen24xx, m100vdsl2gm=m100vdsl2gm, ban_2000=ban_2000, zhoneRegWtn=zhoneRegWtn, mx1Ux5x=mx1Ux5x, raptorXP170_OSP_WC=raptorXP170_OSP_WC, raptorXP170_OSP_LP=raptorXP170_OSP_LP, oduTypeT4B=oduTypeT4B, oduTypeS1B=oduTypeS1B, znidNextGenGPON94xx=znidNextGenGPON94xx, raptorXP160_OSP=raptorXP160_OSP, mx1U260=mx1U260, mx1U194_10GE_TOP=mx1U194_10GE_TOP, mxp1Ux5x=mxp1Ux5x, znidNextGenGPON9xxx=znidNextGenGPON9xxx, skyZhone8e1=skyZhone8e1, mx1U198_TOP=mx1U198_TOP, zrg5xx=zrg5xx, malc319=malc319, mx1U150=mx1U150, mx1U19x=mx1U19x, r100vdsl2gm=r100vdsl2gm, znidNextGen=znidNextGen, raptor723A=raptor723A, skyZhone8e4=skyZhone8e4, znidNextGen21xx=znidNextGen21xx, ethXtend32xx=ethXtend32xx, oduTypeA=oduTypeA, oduTypeS4B=oduTypeS4B, mx1U180=mx1U180, malcXP150A_OSP=malcXP150A_OSP, z_plex10B=z_plex10B, raptorXP170_ISP_WC_SD=raptorXP170_ISP_WC_SD, znidNextGenGE94xx=znidNextGenGE94xx, node5700Mhz=node5700Mhz, zrg700_IDU=zrg700_IDU, malcXP150A=malcXP150A, mx1U15x=mx1U15x, raptorXP170_WC_SD=raptorXP170_WC_SD, mxp1U15xFamily=mxp1U15xFamily)
class Solution: def solve(self, nums): # Write your code here if len(nums) == 0: return nums s = nums[0] flag = True for i in range(1,len(nums)): if flag: k = nums[i] nums[i] = s if k < s: s = k flag = False else: k = nums[i] nums[i] = s if k < s: s = k nums[0] = 0 return nums
class Solution: def solve(self, nums): if len(nums) == 0: return nums s = nums[0] flag = True for i in range(1, len(nums)): if flag: k = nums[i] nums[i] = s if k < s: s = k flag = False else: k = nums[i] nums[i] = s if k < s: s = k nums[0] = 0 return nums
A, B, K = map(int, input().rstrip().split()) for n in range(A, B + 1): if n < A + K or n > B - K: print(n)
(a, b, k) = map(int, input().rstrip().split()) for n in range(A, B + 1): if n < A + K or n > B - K: print(n)
# Attributes in different classes are isolated, changing one class does not # affected the other, the same way that changing an object does not modify # another. email = 'contact@redi-school.org' class Student: email = 'student@redi-school.org' def __init__(self, name, birthday, courses): # class public attributes self.full_name = name self.first_name = name.split(' ')[0] self.birthday = birthday self.courses = courses self.attendance = [] class Teacher: email = 'teacher@redi-school.org' def __init__(self, name): # class public attributes self.full_name = name print('email:', email) # email: contact@redi-school.org print('Student.email:', Student.email) # Student.email: student@redi-school.org print('Teacher.email:', Teacher.email) # Teacher.email: teacher@redi-school.org # Objects john = Student('John Schneider', '2010-04-05', ['German', 'Arts', 'History']) tiago = Teacher('Tiago Vieira') # If the instance does not have the attribute it will access the class # attribute. print('john.email:', john.email) # john.email: student@redi-school.org print('tiago.email:', tiago.email) # tiago.email: teacher@redi-school.org # Changing the instance attribute does not change the class. john.email = 'john@redi-school.org' print('john.email:', john.email) # john.email: john@redi-school.org print('Student.email:', Student.email) # Student.email: student@redi-school.org # Changing the class changes how it is visible in the object. Teacher.email = 'python.teacher@redi-school.org' print('Teacher.email:', Teacher.email) # Teacher.email: python.teacher@redi-school.org print('tiago.email:', tiago.email) # tiago.email: python.teacher@redi-school.org # But changing the class does not affect the instance if they have their own # attribute. Student.email = 'python.student@redi-school.org' print('Student.email:', Student.email) # Student.email: python.student@redi-school.org print('john.email:', john.email) # john.email: john@redi-school.org
email = 'contact@redi-school.org' class Student: email = 'student@redi-school.org' def __init__(self, name, birthday, courses): self.full_name = name self.first_name = name.split(' ')[0] self.birthday = birthday self.courses = courses self.attendance = [] class Teacher: email = 'teacher@redi-school.org' def __init__(self, name): self.full_name = name print('email:', email) print('Student.email:', Student.email) print('Teacher.email:', Teacher.email) john = student('John Schneider', '2010-04-05', ['German', 'Arts', 'History']) tiago = teacher('Tiago Vieira') print('john.email:', john.email) print('tiago.email:', tiago.email) john.email = 'john@redi-school.org' print('john.email:', john.email) print('Student.email:', Student.email) Teacher.email = 'python.teacher@redi-school.org' print('Teacher.email:', Teacher.email) print('tiago.email:', tiago.email) Student.email = 'python.student@redi-school.org' print('Student.email:', Student.email) print('john.email:', john.email)
""" this is a regional comment """ #print("hello world") #this is a single line comment #print(type("123")) #print('hello world') #print("It's our 2nd Python class") my_str = 'hello world' print(my_str) my_str = 'second str' print(my_str) my_int = 2 my_float = 2.0 print(my_int + 3) print(my_int ** 3) print (my_int + my_float)
""" this is a regional comment """ my_str = 'hello world' print(my_str) my_str = 'second str' print(my_str) my_int = 2 my_float = 2.0 print(my_int + 3) print(my_int ** 3) print(my_int + my_float)
class InvalidGroupError(Exception): pass class MaxInvalidIterationsError(Exception): pass
class Invalidgrouperror(Exception): pass class Maxinvaliditerationserror(Exception): pass
# Author: Mengmeng Tang # Date: March 2, 2021 # Course: CS 325 # Description: Portfolio Assignment - Sudoku Puzzle # Requirement 3: Implement a program that allows the user to solve the puzzle. def print_board(puzzle): """ Takes a sudoku puzzle as parameter Print the board to the console """ # Code adapted from this post: # https://stackoverflow.com/questions/37952851/formating-sudoku-grids-python-3 print("Column 0 1 2 3 4 5 6 7 8 ") print(" " * 6 + "+" + "---+"*9) for i, row in enumerate(puzzle): print("Row {}".format(i), ("|" + " {} {} {} |"*3).format(*[x if x != -1 else "X" for x in row])) if i % 3 == 2: print(" " * 6 + "+" + "---+"*9) # gridlines separating the 3x3 squares from each other else: print(" " * 6 + "+" + " +"*9) # gridlines within each 3x3 squares def is_full(puzzle): """ Takes a sudoku puzzle as parameter Checks if every space is filled Returns True if yes Returns False otherwise """ for row in range(9): for col in range(9): if puzzle[row][col] == -1: return False return True def row_empty_spaces(row, puzzle): """ Takes a row number, and a sudoku puzzle as parameter Returns a list of empty spaces in that row on the puzzle """ valid_spaces = [] for col in range(0, 9): if puzzle[row][col] == -1: valid_spaces.append([row, col]) i = 1 print("\nThere are {} available spaces on your selected row.".format(len(valid_spaces))) for space in valid_spaces: print("Space Number", str(i), ": ", space) i += 1 return valid_spaces def row_full(row, puzzle): """ Takes a row number, and a sudoku puzzle as parameter Returns True if there is no empty space on the row ReturnsFalse if otherwise """ for col in range(0, 9): if puzzle[row][col] == -1: return False return True def sudoku(puzzle): """ Takes a sudoku puzzle as parameter Asks for a guess from the player until all spaces on the puzzle are filled Verifies the player's solution """ # step 1: check if all cells on the board are filled if is_full(puzzle): print("Puzzle has been filled. Please use a new puzzle.") return # step 2: ask the player to choose a space to fill in in two steps: # 1) ask which row their space of choice is on # 2) present them a list of available spaces on the requested row and have them pick a space number invalid = True row = -1 while invalid: try: row = int(input("Enter the row number of the empty space of your choice: ")) if row > 8 or row < 0: print("Please pick a valid row number.") elif row_full(row, puzzle): # if the player chooses a full row (no empty spaces) print("The row you selected has no empty spaces. Try again.") else: break except ValueError: print("Oops, please enter an integer between 0 and 8.") row_spaces = row_empty_spaces(row, puzzle) # present a list of empty spaces on the row of the player's choice space_number = 0 invalid = True while invalid: try: space_number = int(input("Please pick a space number you would like to fill: ")) if space_number in range(1, len(row_spaces)+1): break else: print("Please pick a valid space number.") except ValueError: print("Oops, please enter an integer between 1 and {}.".format(len(row_spaces)+2)) col = row_spaces[space_number-1][1] # column number of the requested space # step 3: ask the player to enter a guess invalid = True guess = 0 while invalid: try: guess = int(input("What is your guess? ")) if guess in range(1, 10): break else: print("Please enter an integer between 1 and 9.") except ValueError: print("Oops, please enter a valid number.") # step 4: place the guess on the board, and print the updated board puzzle[row][col] = guess print_board(puzzle) print("\nYou have entered {} on row {}, column {}. ".format(guess, row, col)) # step 5: # if the board is fully filled, verify the solution # if the board is not filled, ask the user to keep playing if is_full(puzzle): print(verify_sudoku(puzzle)) return else: # keep playing until all spaces are filled return sudoku(puzzle) # Requirement 4: Sudoku Solution Verifier def check_square(square): """ Takes a list of values from a 3 x 3 square on the puzzle as parameter Checks if all values in the square are distinct Returns True if they pass Returns False if otherwise """ for n in square: if square.count(n) > 1: return False return True def verify_sudoku(puzzle): """ Takes a solved version of the puzzle board as parameter Verify if the solution is valid Returns "Solved!" if the puzzle has been solved Returns "Not Solved, Try Again!" if otherwise """ # Step 1: Check the rows first # If we find a duplicate number in a row, then the puzzle is not solved for row in range(9): row_cur = puzzle[row] for col in range(9): # check if the same number has appeared twice in the same row if row_cur.count(puzzle[row][col]) > 1: return "Not Solved, Try Again!" # Step 2: Check the columns # If we find a duplicate number in a column, then the puzzle is not solved for col in range(9): col_cur = [puzzle[i][col] for i in range(9)] for row in range(9): if col_cur.count(puzzle[row][col]) > 1: return "Not Solved, Try Again!" # Step 3: Check all of the 3 x 3 squares (9 in total) # If we find a duplicate number in a square, then the puzzle is not solved square1 = [puzzle[row][col] for row in range(0, 3) for col in range(0, 3)] square2 = [puzzle[row][col] for row in range(0, 3) for col in range(3, 6)] square3 = [puzzle[row][col] for row in range(0, 3) for col in range(6, 9)] square4 = [puzzle[row][col] for row in range(3, 6) for col in range(0, 3)] square5 = [puzzle[row][col] for row in range(3, 6) for col in range(3, 6)] square6 = [puzzle[row][col] for row in range(3, 6) for col in range(6, 9)] square7 = [puzzle[row][col] for row in range(6, 9) for col in range(0, 3)] square8 = [puzzle[row][col] for row in range(6, 9) for col in range(3, 6)] square9 = [puzzle[row][col] for row in range(6, 9) for col in range(6, 9)] squares = [square1, square2, square3, square4, square5, square6, square7, square8, square9] for s in squares: if check_square(s) is False: return "Not Solved, Try Again!" # Step 4: if we make it here, that means the puzzle has passed all checks return "Solved!" # Bonus A: Sudoku Solver # Code adapted from this Youtube video tutorial: # https://www.youtube.com/watch?v=tvP_FZ-D9Ng def find_next_empty(puzzle): """ Takes a puzzle as parameter Finds the next row, col on the puzzle that's not filled yet (with a value of -1) Returns (row, col) tuple or (None, None) if there is none """ for row in range(9): for col in range(9): if puzzle[row][col] == -1: return row, col return None, None # if no spaces in the puzzle are empty (-1) def valid_guess(puzzle, guess, row, col): """ Takes puzzle, guess, row, col as parameters Figures out whether the guess at the row/col of the puzzle is a valid guess Returns True if it is valid, False otherwise """ # check the row first row_vals = puzzle[row] if guess in row_vals: return False # check the column col_vals = [puzzle[i][col] for i in range(9)] if guess in col_vals: return False # check the 3x3 grid row_start = (row // 3) * 3 col_start = (col // 3) * 3 for row in range(row_start, row_start + 3): for col in range(col_start, col_start + 3): if puzzle[row][col] == guess: return False # if we get here, these checks pass return True def sudoku_solver(puzzle): """ Takes a puzzle board as parameter Return one solution to that puzzle if any """ # step 1: choose somewhere on the puzzle to make a guess row, col = find_next_empty(puzzle) # step 2: if no space is available, # since we have checked all of the inputs, # then the puzzle is solved if row is None: return True # step 3: if there is a place to place a number, then put a guess between 1 and 9 for guess in range(1, 10): if valid_guess(puzzle, guess, row, col): # if this is valid, then place that guess on the puzzle puzzle[row][col] = guess # step 4: recursively call our function until the puzzle is solved if sudoku_solver(puzzle): solution = puzzle # the current puzzle is one solution return solution # step 5: if the guess was valid OR if our guess does not solve the puzzle # backtrack and try a new number puzzle[row][col] = -1 # reset the guess # step 6: if none of the numbers that we try work, then this puzzle is UNSOLVABLE return False if __name__ == '__main__': puzzle1 = [ [-1, -1, -1, -1, 7, -1, 9, 2, 6], [-1, -1, 6, -1, 4, -1, 8, 5, -1], [-1, -1, -1, -1, -1, 6, -1, 7, -1], [ 8, -1, -1, -1, 1, -1, -1, -1, -1], [-1, -1, 3, 4, -1, 7, 5, -1, -1], [-1, 2, 4, -1, -1, -1, 1, 9, -1], [-1, 1, -1, 5, -1, -1, -1, -1, 4], [-1, 4, 9, -1, -1, 2, 6, 8, -1], [-1, 5, -1, -1, -1, -1, -1, 1, -1] ] print("\n>>>>>>>>> Welcome to Sudoku! <<<<<<<<<\n") print("- Press 1: Start a new game (Medium Difficulty) ") print("- Press 2: Test an easy puzzle ") print("- Press 3: Use our Sudoku Solver to automatically solve the puzzle ") print("- Press Any Other Key: exit game ") ans = input("\nPlease choose an option: ") if ans == '1': print_board(puzzle1) sudoku(puzzle1) if ans == '2': sudoku_solver(puzzle1) puzzle2 = puzzle1 puzzle2[0][0] = -1 print_board(puzzle2) sudoku(puzzle2) if ans == '3': print("Puzzle 1: ") print_board(puzzle1) solve = input("Press any key to auto-solve: ") sudoku_solver(puzzle1) print("\nPuzzle 1 Solution: ") print_board(puzzle1) verify = input("Press any key to verify the solution: ") print(verify_sudoku(puzzle1)) else: print("See you next time!")
def print_board(puzzle): """ Takes a sudoku puzzle as parameter Print the board to the console """ print('Column 0 1 2 3 4 5 6 7 8 ') print(' ' * 6 + '+' + '---+' * 9) for (i, row) in enumerate(puzzle): print('Row {}'.format(i), ('|' + ' {} {} {} |' * 3).format(*[x if x != -1 else 'X' for x in row])) if i % 3 == 2: print(' ' * 6 + '+' + '---+' * 9) else: print(' ' * 6 + '+' + ' +' * 9) def is_full(puzzle): """ Takes a sudoku puzzle as parameter Checks if every space is filled Returns True if yes Returns False otherwise """ for row in range(9): for col in range(9): if puzzle[row][col] == -1: return False return True def row_empty_spaces(row, puzzle): """ Takes a row number, and a sudoku puzzle as parameter Returns a list of empty spaces in that row on the puzzle """ valid_spaces = [] for col in range(0, 9): if puzzle[row][col] == -1: valid_spaces.append([row, col]) i = 1 print('\nThere are {} available spaces on your selected row.'.format(len(valid_spaces))) for space in valid_spaces: print('Space Number', str(i), ': ', space) i += 1 return valid_spaces def row_full(row, puzzle): """ Takes a row number, and a sudoku puzzle as parameter Returns True if there is no empty space on the row ReturnsFalse if otherwise """ for col in range(0, 9): if puzzle[row][col] == -1: return False return True def sudoku(puzzle): """ Takes a sudoku puzzle as parameter Asks for a guess from the player until all spaces on the puzzle are filled Verifies the player's solution """ if is_full(puzzle): print('Puzzle has been filled. Please use a new puzzle.') return invalid = True row = -1 while invalid: try: row = int(input('Enter the row number of the empty space of your choice: ')) if row > 8 or row < 0: print('Please pick a valid row number.') elif row_full(row, puzzle): print('The row you selected has no empty spaces. Try again.') else: break except ValueError: print('Oops, please enter an integer between 0 and 8.') row_spaces = row_empty_spaces(row, puzzle) space_number = 0 invalid = True while invalid: try: space_number = int(input('Please pick a space number you would like to fill: ')) if space_number in range(1, len(row_spaces) + 1): break else: print('Please pick a valid space number.') except ValueError: print('Oops, please enter an integer between 1 and {}.'.format(len(row_spaces) + 2)) col = row_spaces[space_number - 1][1] invalid = True guess = 0 while invalid: try: guess = int(input('What is your guess? ')) if guess in range(1, 10): break else: print('Please enter an integer between 1 and 9.') except ValueError: print('Oops, please enter a valid number.') puzzle[row][col] = guess print_board(puzzle) print('\nYou have entered {} on row {}, column {}. '.format(guess, row, col)) if is_full(puzzle): print(verify_sudoku(puzzle)) return else: return sudoku(puzzle) def check_square(square): """ Takes a list of values from a 3 x 3 square on the puzzle as parameter Checks if all values in the square are distinct Returns True if they pass Returns False if otherwise """ for n in square: if square.count(n) > 1: return False return True def verify_sudoku(puzzle): """ Takes a solved version of the puzzle board as parameter Verify if the solution is valid Returns "Solved!" if the puzzle has been solved Returns "Not Solved, Try Again!" if otherwise """ for row in range(9): row_cur = puzzle[row] for col in range(9): if row_cur.count(puzzle[row][col]) > 1: return 'Not Solved, Try Again!' for col in range(9): col_cur = [puzzle[i][col] for i in range(9)] for row in range(9): if col_cur.count(puzzle[row][col]) > 1: return 'Not Solved, Try Again!' square1 = [puzzle[row][col] for row in range(0, 3) for col in range(0, 3)] square2 = [puzzle[row][col] for row in range(0, 3) for col in range(3, 6)] square3 = [puzzle[row][col] for row in range(0, 3) for col in range(6, 9)] square4 = [puzzle[row][col] for row in range(3, 6) for col in range(0, 3)] square5 = [puzzle[row][col] for row in range(3, 6) for col in range(3, 6)] square6 = [puzzle[row][col] for row in range(3, 6) for col in range(6, 9)] square7 = [puzzle[row][col] for row in range(6, 9) for col in range(0, 3)] square8 = [puzzle[row][col] for row in range(6, 9) for col in range(3, 6)] square9 = [puzzle[row][col] for row in range(6, 9) for col in range(6, 9)] squares = [square1, square2, square3, square4, square5, square6, square7, square8, square9] for s in squares: if check_square(s) is False: return 'Not Solved, Try Again!' return 'Solved!' def find_next_empty(puzzle): """ Takes a puzzle as parameter Finds the next row, col on the puzzle that's not filled yet (with a value of -1) Returns (row, col) tuple or (None, None) if there is none """ for row in range(9): for col in range(9): if puzzle[row][col] == -1: return (row, col) return (None, None) def valid_guess(puzzle, guess, row, col): """ Takes puzzle, guess, row, col as parameters Figures out whether the guess at the row/col of the puzzle is a valid guess Returns True if it is valid, False otherwise """ row_vals = puzzle[row] if guess in row_vals: return False col_vals = [puzzle[i][col] for i in range(9)] if guess in col_vals: return False row_start = row // 3 * 3 col_start = col // 3 * 3 for row in range(row_start, row_start + 3): for col in range(col_start, col_start + 3): if puzzle[row][col] == guess: return False return True def sudoku_solver(puzzle): """ Takes a puzzle board as parameter Return one solution to that puzzle if any """ (row, col) = find_next_empty(puzzle) if row is None: return True for guess in range(1, 10): if valid_guess(puzzle, guess, row, col): puzzle[row][col] = guess if sudoku_solver(puzzle): solution = puzzle return solution puzzle[row][col] = -1 return False if __name__ == '__main__': puzzle1 = [[-1, -1, -1, -1, 7, -1, 9, 2, 6], [-1, -1, 6, -1, 4, -1, 8, 5, -1], [-1, -1, -1, -1, -1, 6, -1, 7, -1], [8, -1, -1, -1, 1, -1, -1, -1, -1], [-1, -1, 3, 4, -1, 7, 5, -1, -1], [-1, 2, 4, -1, -1, -1, 1, 9, -1], [-1, 1, -1, 5, -1, -1, -1, -1, 4], [-1, 4, 9, -1, -1, 2, 6, 8, -1], [-1, 5, -1, -1, -1, -1, -1, 1, -1]] print('\n>>>>>>>>> Welcome to Sudoku! <<<<<<<<<\n') print('- Press 1: Start a new game (Medium Difficulty) ') print('- Press 2: Test an easy puzzle ') print('- Press 3: Use our Sudoku Solver to automatically solve the puzzle ') print('- Press Any Other Key: exit game ') ans = input('\nPlease choose an option: ') if ans == '1': print_board(puzzle1) sudoku(puzzle1) if ans == '2': sudoku_solver(puzzle1) puzzle2 = puzzle1 puzzle2[0][0] = -1 print_board(puzzle2) sudoku(puzzle2) if ans == '3': print('Puzzle 1: ') print_board(puzzle1) solve = input('Press any key to auto-solve: ') sudoku_solver(puzzle1) print('\nPuzzle 1 Solution: ') print_board(puzzle1) verify = input('Press any key to verify the solution: ') print(verify_sudoku(puzzle1)) else: print('See you next time!')
friend_ages = {"Rolf": 25, "Anne": 37, "Charlie": 31, "Bob": 22} for name in friend_ages: print(name) for age in friend_ages.values(): print(age) for name, age in friend_ages.items(): print(f"{name} is {age} years old.")
friend_ages = {'Rolf': 25, 'Anne': 37, 'Charlie': 31, 'Bob': 22} for name in friend_ages: print(name) for age in friend_ages.values(): print(age) for (name, age) in friend_ages.items(): print(f'{name} is {age} years old.')
__author__ = "Matthew Wardrop" __author_email__ = "mpwardrop@gmail.com" __version__ = "1.2.3" __dependencies__ = []
__author__ = 'Matthew Wardrop' __author_email__ = 'mpwardrop@gmail.com' __version__ = '1.2.3' __dependencies__ = []
# -*- coding: utf-8 -*- """Top-level package for svmplus.""" __author__ = """Niharika Gauraha""" __email__ = 'niharika.gauraha@farmbio.uu.se' __version__ = '1.0.0' __all__ = ['svmplus']
"""Top-level package for svmplus.""" __author__ = 'Niharika Gauraha' __email__ = 'niharika.gauraha@farmbio.uu.se' __version__ = '1.0.0' __all__ = ['svmplus']
""" https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number/ Given the array nums, for each nums[i] find out how many numbers in the array are smaller than it. That is, for each nums[i] you have to count the number of valid j's such that j != i and nums[j] < nums[i]. Return the answer in an array. Example 1: Input: nums = [8,1,2,2,3] Output: [4,0,1,1,3] Explanation: For nums[0]=8 there exist four smaller numbers than it (1, 2, 2 and 3). For nums[1]=1 does not exist any smaller number than it. For nums[2]=2 there exist one smaller number than it (1). For nums[3]=2 there exist one smaller number than it (1). For nums[4]=3 there exist three smaller numbers than it (1, 2 and 2). Example 2: Input: nums = [6,5,4,8] Output: [2,1,0,3] Example 3: Input: nums = [7,7,7,7] Output: [0,0,0,0] Constraints: 2 <= nums.length <= 500 0 <= nums[i] <= 100 """ # time complexity: O(n), space complexity: O(m), where n is the length of nums, m is the largest number in nums class Solution: def smallerNumbersThanCurrent(self, nums: List[int]) -> List[int]: freq = [0] * 101 for num in nums: freq[num] += 1 count = [0] * 101 for i in range(1, len(freq)): count[i] = count[i-1] + freq[i-1] return list(count[num] for num in nums)
""" https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number/ Given the array nums, for each nums[i] find out how many numbers in the array are smaller than it. That is, for each nums[i] you have to count the number of valid j's such that j != i and nums[j] < nums[i]. Return the answer in an array. Example 1: Input: nums = [8,1,2,2,3] Output: [4,0,1,1,3] Explanation: For nums[0]=8 there exist four smaller numbers than it (1, 2, 2 and 3). For nums[1]=1 does not exist any smaller number than it. For nums[2]=2 there exist one smaller number than it (1). For nums[3]=2 there exist one smaller number than it (1). For nums[4]=3 there exist three smaller numbers than it (1, 2 and 2). Example 2: Input: nums = [6,5,4,8] Output: [2,1,0,3] Example 3: Input: nums = [7,7,7,7] Output: [0,0,0,0] Constraints: 2 <= nums.length <= 500 0 <= nums[i] <= 100 """ class Solution: def smaller_numbers_than_current(self, nums: List[int]) -> List[int]: freq = [0] * 101 for num in nums: freq[num] += 1 count = [0] * 101 for i in range(1, len(freq)): count[i] = count[i - 1] + freq[i - 1] return list((count[num] for num in nums))
# Average the numbers from 1 to n n = int(input("Enter number:")) avg = 0 for i in range(n + 1): avg += i avg = avg/n print(avg)
n = int(input('Enter number:')) avg = 0 for i in range(n + 1): avg += i avg = avg / n print(avg)
# import math # from fractions import * # from exceptions import * # from point import * # from line import * # from ellipse import * # from polygon import * # from hyperbola import * # from triangle import * # from rectangle import * # from graph import * # from delaunay import * class Segment: def __init__(self, p, q): self.p = p self.q = q @classmethod def findIntersection(cls, segment): return None
class Segment: def __init__(self, p, q): self.p = p self.q = q @classmethod def find_intersection(cls, segment): return None
# -*- coding:utf-8 -*- PROXY_RAW_KEY = "proxy_raw" PROXY_VALID_KEY = "proxy_valid"
proxy_raw_key = 'proxy_raw' proxy_valid_key = 'proxy_valid'
# # PySNMP MIB module ALVARION-BANDWIDTH-CONTROL-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ALVARION-BANDWIDTH-CONTROL-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:06:10 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) # alvarionMgmtV2, = mibBuilder.importSymbols("ALVARION-SMI", "alvarionMgmtV2") AlvarionPriorityQueue, = mibBuilder.importSymbols("ALVARION-TC", "AlvarionPriorityQueue") OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, ValueRangeConstraint, ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint") ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") Integer32, Unsigned32, MibIdentifier, Counter32, ModuleIdentity, TimeTicks, Counter64, IpAddress, NotificationType, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Bits, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "Unsigned32", "MibIdentifier", "Counter32", "ModuleIdentity", "TimeTicks", "Counter64", "IpAddress", "NotificationType", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Bits", "ObjectIdentity") TextualConvention, DisplayString, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "TruthValue") alvarionBandwidthControlMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14)) if mibBuilder.loadTexts: alvarionBandwidthControlMIB.setLastUpdated('200710310000Z') if mibBuilder.loadTexts: alvarionBandwidthControlMIB.setOrganization('Alvarion Ltd.') alvarionBandwidthControlMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1)) coBandwidthControlConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1)) coBandwidthControlEnable = MibScalar((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coBandwidthControlEnable.setStatus('current') coBandwidthControlMaxTransmitRate = MibScalar((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coBandwidthControlMaxTransmitRate.setStatus('current') coBandwidthControlMaxReceiveRate = MibScalar((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coBandwidthControlMaxReceiveRate.setStatus('current') coBandwidthControlLevelTable = MibTable((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 4), ) if mibBuilder.loadTexts: coBandwidthControlLevelTable.setStatus('current') coBandwidthControlLevelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 4, 1), ).setIndexNames((0, "ALVARION-BANDWIDTH-CONTROL-MIB", "coBandwidthControlLevelIndex")) if mibBuilder.loadTexts: coBandwidthControlLevelEntry.setStatus('current') coBandwidthControlLevelIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 4, 1, 1), AlvarionPriorityQueue()) if mibBuilder.loadTexts: coBandwidthControlLevelIndex.setStatus('current') coBandwidthControlLevelMinTransmitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: coBandwidthControlLevelMinTransmitRate.setStatus('current') coBandwidthControlLevelMaxTransmitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: coBandwidthControlLevelMaxTransmitRate.setStatus('current') coBandwidthControlLevelMinReceiveRate = MibTableColumn((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: coBandwidthControlLevelMinReceiveRate.setStatus('current') coBandwidthControlLevelMaxReceiveRate = MibTableColumn((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: coBandwidthControlLevelMaxReceiveRate.setStatus('current') alvarionBandwidthControlMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 2)) alvarionBandwidthControlMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 2, 1)) alvarionBandwidthControlMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 2, 2)) alvarionBandwidthControlMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 2, 1, 1)).setObjects(("ALVARION-BANDWIDTH-CONTROL-MIB", "alvarionBandwidthControlMIBGroup"), ("ALVARION-BANDWIDTH-CONTROL-MIB", "alvarionBandwidthControlLevelMIBGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alvarionBandwidthControlMIBCompliance = alvarionBandwidthControlMIBCompliance.setStatus('current') alvarionBandwidthControlMIBGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 2, 2, 1)).setObjects(("ALVARION-BANDWIDTH-CONTROL-MIB", "coBandwidthControlEnable"), ("ALVARION-BANDWIDTH-CONTROL-MIB", "coBandwidthControlMaxTransmitRate"), ("ALVARION-BANDWIDTH-CONTROL-MIB", "coBandwidthControlMaxReceiveRate")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alvarionBandwidthControlMIBGroup = alvarionBandwidthControlMIBGroup.setStatus('current') alvarionBandwidthControlLevelMIBGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 2, 2, 2)).setObjects(("ALVARION-BANDWIDTH-CONTROL-MIB", "coBandwidthControlLevelMinTransmitRate"), ("ALVARION-BANDWIDTH-CONTROL-MIB", "coBandwidthControlLevelMaxTransmitRate"), ("ALVARION-BANDWIDTH-CONTROL-MIB", "coBandwidthControlLevelMinReceiveRate"), ("ALVARION-BANDWIDTH-CONTROL-MIB", "coBandwidthControlLevelMaxReceiveRate")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alvarionBandwidthControlLevelMIBGroup = alvarionBandwidthControlLevelMIBGroup.setStatus('current') mibBuilder.exportSymbols("ALVARION-BANDWIDTH-CONTROL-MIB", coBandwidthControlLevelMaxReceiveRate=coBandwidthControlLevelMaxReceiveRate, coBandwidthControlLevelMinTransmitRate=coBandwidthControlLevelMinTransmitRate, coBandwidthControlLevelIndex=coBandwidthControlLevelIndex, alvarionBandwidthControlMIBCompliance=alvarionBandwidthControlMIBCompliance, alvarionBandwidthControlMIBObjects=alvarionBandwidthControlMIBObjects, coBandwidthControlLevelTable=coBandwidthControlLevelTable, alvarionBandwidthControlLevelMIBGroup=alvarionBandwidthControlLevelMIBGroup, alvarionBandwidthControlMIBConformance=alvarionBandwidthControlMIBConformance, alvarionBandwidthControlMIB=alvarionBandwidthControlMIB, coBandwidthControlLevelMinReceiveRate=coBandwidthControlLevelMinReceiveRate, alvarionBandwidthControlMIBCompliances=alvarionBandwidthControlMIBCompliances, coBandwidthControlMaxReceiveRate=coBandwidthControlMaxReceiveRate, PYSNMP_MODULE_ID=alvarionBandwidthControlMIB, coBandwidthControlMaxTransmitRate=coBandwidthControlMaxTransmitRate, alvarionBandwidthControlMIBGroups=alvarionBandwidthControlMIBGroups, coBandwidthControlLevelMaxTransmitRate=coBandwidthControlLevelMaxTransmitRate, coBandwidthControlEnable=coBandwidthControlEnable, coBandwidthControlConfig=coBandwidthControlConfig, coBandwidthControlLevelEntry=coBandwidthControlLevelEntry, alvarionBandwidthControlMIBGroup=alvarionBandwidthControlMIBGroup)
(alvarion_mgmt_v2,) = mibBuilder.importSymbols('ALVARION-SMI', 'alvarionMgmtV2') (alvarion_priority_queue,) = mibBuilder.importSymbols('ALVARION-TC', 'AlvarionPriorityQueue') (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, value_range_constraint, constraints_intersection, constraints_union, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'SingleValueConstraint') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (integer32, unsigned32, mib_identifier, counter32, module_identity, time_ticks, counter64, ip_address, notification_type, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, iso, bits, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'Unsigned32', 'MibIdentifier', 'Counter32', 'ModuleIdentity', 'TimeTicks', 'Counter64', 'IpAddress', 'NotificationType', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso', 'Bits', 'ObjectIdentity') (textual_convention, display_string, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString', 'TruthValue') alvarion_bandwidth_control_mib = module_identity((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14)) if mibBuilder.loadTexts: alvarionBandwidthControlMIB.setLastUpdated('200710310000Z') if mibBuilder.loadTexts: alvarionBandwidthControlMIB.setOrganization('Alvarion Ltd.') alvarion_bandwidth_control_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1)) co_bandwidth_control_config = mib_identifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1)) co_bandwidth_control_enable = mib_scalar((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 1), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: coBandwidthControlEnable.setStatus('current') co_bandwidth_control_max_transmit_rate = mib_scalar((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: coBandwidthControlMaxTransmitRate.setStatus('current') co_bandwidth_control_max_receive_rate = mib_scalar((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: coBandwidthControlMaxReceiveRate.setStatus('current') co_bandwidth_control_level_table = mib_table((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 4)) if mibBuilder.loadTexts: coBandwidthControlLevelTable.setStatus('current') co_bandwidth_control_level_entry = mib_table_row((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 4, 1)).setIndexNames((0, 'ALVARION-BANDWIDTH-CONTROL-MIB', 'coBandwidthControlLevelIndex')) if mibBuilder.loadTexts: coBandwidthControlLevelEntry.setStatus('current') co_bandwidth_control_level_index = mib_table_column((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 4, 1, 1), alvarion_priority_queue()) if mibBuilder.loadTexts: coBandwidthControlLevelIndex.setStatus('current') co_bandwidth_control_level_min_transmit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: coBandwidthControlLevelMinTransmitRate.setStatus('current') co_bandwidth_control_level_max_transmit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: coBandwidthControlLevelMaxTransmitRate.setStatus('current') co_bandwidth_control_level_min_receive_rate = mib_table_column((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: coBandwidthControlLevelMinReceiveRate.setStatus('current') co_bandwidth_control_level_max_receive_rate = mib_table_column((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 1, 1, 4, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: coBandwidthControlLevelMaxReceiveRate.setStatus('current') alvarion_bandwidth_control_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 2)) alvarion_bandwidth_control_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 2, 1)) alvarion_bandwidth_control_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 2, 2)) alvarion_bandwidth_control_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 2, 1, 1)).setObjects(('ALVARION-BANDWIDTH-CONTROL-MIB', 'alvarionBandwidthControlMIBGroup'), ('ALVARION-BANDWIDTH-CONTROL-MIB', 'alvarionBandwidthControlLevelMIBGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alvarion_bandwidth_control_mib_compliance = alvarionBandwidthControlMIBCompliance.setStatus('current') alvarion_bandwidth_control_mib_group = object_group((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 2, 2, 1)).setObjects(('ALVARION-BANDWIDTH-CONTROL-MIB', 'coBandwidthControlEnable'), ('ALVARION-BANDWIDTH-CONTROL-MIB', 'coBandwidthControlMaxTransmitRate'), ('ALVARION-BANDWIDTH-CONTROL-MIB', 'coBandwidthControlMaxReceiveRate')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alvarion_bandwidth_control_mib_group = alvarionBandwidthControlMIBGroup.setStatus('current') alvarion_bandwidth_control_level_mib_group = object_group((1, 3, 6, 1, 4, 1, 12394, 1, 10, 5, 14, 2, 2, 2)).setObjects(('ALVARION-BANDWIDTH-CONTROL-MIB', 'coBandwidthControlLevelMinTransmitRate'), ('ALVARION-BANDWIDTH-CONTROL-MIB', 'coBandwidthControlLevelMaxTransmitRate'), ('ALVARION-BANDWIDTH-CONTROL-MIB', 'coBandwidthControlLevelMinReceiveRate'), ('ALVARION-BANDWIDTH-CONTROL-MIB', 'coBandwidthControlLevelMaxReceiveRate')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): alvarion_bandwidth_control_level_mib_group = alvarionBandwidthControlLevelMIBGroup.setStatus('current') mibBuilder.exportSymbols('ALVARION-BANDWIDTH-CONTROL-MIB', coBandwidthControlLevelMaxReceiveRate=coBandwidthControlLevelMaxReceiveRate, coBandwidthControlLevelMinTransmitRate=coBandwidthControlLevelMinTransmitRate, coBandwidthControlLevelIndex=coBandwidthControlLevelIndex, alvarionBandwidthControlMIBCompliance=alvarionBandwidthControlMIBCompliance, alvarionBandwidthControlMIBObjects=alvarionBandwidthControlMIBObjects, coBandwidthControlLevelTable=coBandwidthControlLevelTable, alvarionBandwidthControlLevelMIBGroup=alvarionBandwidthControlLevelMIBGroup, alvarionBandwidthControlMIBConformance=alvarionBandwidthControlMIBConformance, alvarionBandwidthControlMIB=alvarionBandwidthControlMIB, coBandwidthControlLevelMinReceiveRate=coBandwidthControlLevelMinReceiveRate, alvarionBandwidthControlMIBCompliances=alvarionBandwidthControlMIBCompliances, coBandwidthControlMaxReceiveRate=coBandwidthControlMaxReceiveRate, PYSNMP_MODULE_ID=alvarionBandwidthControlMIB, coBandwidthControlMaxTransmitRate=coBandwidthControlMaxTransmitRate, alvarionBandwidthControlMIBGroups=alvarionBandwidthControlMIBGroups, coBandwidthControlLevelMaxTransmitRate=coBandwidthControlLevelMaxTransmitRate, coBandwidthControlEnable=coBandwidthControlEnable, coBandwidthControlConfig=coBandwidthControlConfig, coBandwidthControlLevelEntry=coBandwidthControlLevelEntry, alvarionBandwidthControlMIBGroup=alvarionBandwidthControlMIBGroup)
class Bat: species = 'Baty' def __init__(self, can_fly=True): self.fly = can_fly def say(self, msg): msg = ".." return msg def sonar(self): return "))..((" if __name__ == '__main__': b = Bat() b.say('w') b.sonar
class Bat: species = 'Baty' def __init__(self, can_fly=True): self.fly = can_fly def say(self, msg): msg = '..' return msg def sonar(self): return '))..((' if __name__ == '__main__': b = bat() b.say('w') b.sonar
l, r = map(int, input().split()) while(l != 0 and r != 0): print(l + r) l, r = map(int, input().split())
(l, r) = map(int, input().split()) while l != 0 and r != 0: print(l + r) (l, r) = map(int, input().split())
expected_output = { "slot": { "lc": { "1": { "16x400G Ethernet Module": { "hardware": "3.1", "mac_address": "bc-4a-56-ff-fa-5b to bc-4a-56-ff-fb-dd", "model": "N9K-X9716D-GX", "online_diag_status": "Pass", "ports": "16", "serial_number": "FOC24322RBW", "slot": "1", "slot/world_wide_name": "LC1", "software": "10.1(0.233)", "status": "ok" } }, "2": { "36x40/100G Ethernet Module": { "hardware": "1.1", "mac_address": "90-77-ee-ff-2d-b0 to 90-77-ee-ff-2e-43", "model": "N9K-X9736C-FX", "online_diag_status": "Pass", "ports": "36", "serial_number": "FOC24294DJ8", "slot": "2", "slot/world_wide_name": "LC2", "software": "10.1(0.233)", "status": "ok" } }, "22": { "8-slot (100G) Fabric Module": { "hardware": "1.1", "mac_address": "NA", "model": "N9K-C9508-FM-E2", "online_diag_status": "Pass", "ports": "0", "serial_number": "FOC24381TPG", "slot": "22", "slot/world_wide_name": "FM2", "software": "10.1(0.233)", "status": "ok" } }, "24": { "8-slot (100G) Fabric Module": { "hardware": "1.1", "mac_address": "NA", "model": "N9K-C9508-FM-E2", "online_diag_status": "Pass", "ports": "0", "serial_number": "FOC24381TX1", "slot": "24", "slot/world_wide_name": "FM4", "software": "10.1(0.233)", "status": "ok" } }, "26": { "8-slot (100G) Fabric Module": { "hardware": "1.1", "mac_address": "NA", "model": "N9K-C9508-FM-E2", "online_diag_status": "Pass", "ports": "0", "serial_number": "FOC24381TUV", "slot": "26", "slot/world_wide_name": "FM6", "software": "10.1(0.233)", "status": "ok" } }, "29": { "System Controller": { "hardware": "2.0", "mac_address": "NA", "model": "N9K-SC-A", "online_diag_status": "Pass", "ports": "0", "serial_number": "FOC24362EU0", "slot": "29", "slot/world_wide_name": "SC1", "software": "10.1(0.233)", "status": "active" } }, "30": { "System Controller": { "hardware": "2.0", "mac_address": "NA", "model": "N9K-SC-A", "online_diag_status": "Pass", "ports": "0", "serial_number": "FOC2435407P", "slot": "30", "slot/world_wide_name": "SC2", "software": "10.1(0.233)", "status": "standby" } }, "5": { "36x40G Ethernet": { "model": "Module", "ports": "36", "slot": "5", "status": "pwr-denied" } }, "6": { "48x10/25G + 4x40/100G Ethernet Module": { "hardware": "2.3", "mac_address": "24-16-9d-ff-9a-09 to 24-16-9d-ff-9a-4c", "model": "N9K-X97160YC-EX", "online_diag_status": "Pass", "ports": "52", "serial_number": "FOC24021CNU", "slot": "6", "slot/world_wide_name": "LC6", "software": "10.1(0.233)", "status": "ok" } }, "7": { "48x10G + 4x40/100G Ethernet": { "model": "Module", "ports": "52", "slot": "7", "status": "pwr-denied" } } }, "rp": { "27": { "Supervisor Module": { "hardware": "1.1", "mac_address": "54-88-de-ff-09-2f to 54-88-de-ff-09-40", "model": "N9K-SUP-A+", "online_diag_status": "Pass", "ports": "0", "serial_number": "FOC24362EGB", "slot": "27", "slot/world_wide_name": "SUP1", "software": "10.1(0.233)", "status": "active" } } } } }
expected_output = {'slot': {'lc': {'1': {'16x400G Ethernet Module': {'hardware': '3.1', 'mac_address': 'bc-4a-56-ff-fa-5b to bc-4a-56-ff-fb-dd', 'model': 'N9K-X9716D-GX', 'online_diag_status': 'Pass', 'ports': '16', 'serial_number': 'FOC24322RBW', 'slot': '1', 'slot/world_wide_name': 'LC1', 'software': '10.1(0.233)', 'status': 'ok'}}, '2': {'36x40/100G Ethernet Module': {'hardware': '1.1', 'mac_address': '90-77-ee-ff-2d-b0 to 90-77-ee-ff-2e-43', 'model': 'N9K-X9736C-FX', 'online_diag_status': 'Pass', 'ports': '36', 'serial_number': 'FOC24294DJ8', 'slot': '2', 'slot/world_wide_name': 'LC2', 'software': '10.1(0.233)', 'status': 'ok'}}, '22': {'8-slot (100G) Fabric Module': {'hardware': '1.1', 'mac_address': 'NA', 'model': 'N9K-C9508-FM-E2', 'online_diag_status': 'Pass', 'ports': '0', 'serial_number': 'FOC24381TPG', 'slot': '22', 'slot/world_wide_name': 'FM2', 'software': '10.1(0.233)', 'status': 'ok'}}, '24': {'8-slot (100G) Fabric Module': {'hardware': '1.1', 'mac_address': 'NA', 'model': 'N9K-C9508-FM-E2', 'online_diag_status': 'Pass', 'ports': '0', 'serial_number': 'FOC24381TX1', 'slot': '24', 'slot/world_wide_name': 'FM4', 'software': '10.1(0.233)', 'status': 'ok'}}, '26': {'8-slot (100G) Fabric Module': {'hardware': '1.1', 'mac_address': 'NA', 'model': 'N9K-C9508-FM-E2', 'online_diag_status': 'Pass', 'ports': '0', 'serial_number': 'FOC24381TUV', 'slot': '26', 'slot/world_wide_name': 'FM6', 'software': '10.1(0.233)', 'status': 'ok'}}, '29': {'System Controller': {'hardware': '2.0', 'mac_address': 'NA', 'model': 'N9K-SC-A', 'online_diag_status': 'Pass', 'ports': '0', 'serial_number': 'FOC24362EU0', 'slot': '29', 'slot/world_wide_name': 'SC1', 'software': '10.1(0.233)', 'status': 'active'}}, '30': {'System Controller': {'hardware': '2.0', 'mac_address': 'NA', 'model': 'N9K-SC-A', 'online_diag_status': 'Pass', 'ports': '0', 'serial_number': 'FOC2435407P', 'slot': '30', 'slot/world_wide_name': 'SC2', 'software': '10.1(0.233)', 'status': 'standby'}}, '5': {'36x40G Ethernet': {'model': 'Module', 'ports': '36', 'slot': '5', 'status': 'pwr-denied'}}, '6': {'48x10/25G + 4x40/100G Ethernet Module': {'hardware': '2.3', 'mac_address': '24-16-9d-ff-9a-09 to 24-16-9d-ff-9a-4c', 'model': 'N9K-X97160YC-EX', 'online_diag_status': 'Pass', 'ports': '52', 'serial_number': 'FOC24021CNU', 'slot': '6', 'slot/world_wide_name': 'LC6', 'software': '10.1(0.233)', 'status': 'ok'}}, '7': {'48x10G + 4x40/100G Ethernet': {'model': 'Module', 'ports': '52', 'slot': '7', 'status': 'pwr-denied'}}}, 'rp': {'27': {'Supervisor Module': {'hardware': '1.1', 'mac_address': '54-88-de-ff-09-2f to 54-88-de-ff-09-40', 'model': 'N9K-SUP-A+', 'online_diag_status': 'Pass', 'ports': '0', 'serial_number': 'FOC24362EGB', 'slot': '27', 'slot/world_wide_name': 'SUP1', 'software': '10.1(0.233)', 'status': 'active'}}}}}
# # PySNMP MIB module SNIA-SML-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SNIA-SML-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:08:07 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") ConstraintsIntersection, ValueSizeConstraint, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") iso, MibScalar, MibTable, MibTableRow, MibTableColumn, Unsigned32, TimeTicks, ModuleIdentity, Integer32, IpAddress, Counter32, Bits, Counter64, enterprises, NotificationType, ObjectIdentity, MibIdentifier, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Unsigned32", "TimeTicks", "ModuleIdentity", "Integer32", "IpAddress", "Counter32", "Bits", "Counter64", "enterprises", "NotificationType", "ObjectIdentity", "MibIdentifier", "Gauge32") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") class UShortReal(Integer32): subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 65535) class CimDateTime(OctetString): subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(24, 24) fixedLength = 24 class UINT64(OctetString): subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(8, 8) fixedLength = 8 class UINT32(Integer32): subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 2147483647) class UINT16(Integer32): subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 65535) snia = MibIdentifier((1, 3, 6, 1, 4, 1, 14851)) experimental = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 1)) common = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 2)) libraries = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3)) smlRoot = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1)) smlMibVersion = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: smlMibVersion.setStatus('mandatory') if mibBuilder.loadTexts: smlMibVersion.setDescription('This string contains version information for the MIB file') smlCimVersion = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: smlCimVersion.setStatus('mandatory') if mibBuilder.loadTexts: smlCimVersion.setDescription('This string contains information about the CIM version that corresponds to the MIB. The decriptions in this MIB file are based on CIM version 2.8') productGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 3)) product_Name = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 3, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("product-Name").setMaxAccess("readonly") if mibBuilder.loadTexts: product_Name.setStatus('mandatory') if mibBuilder.loadTexts: product_Name.setDescription('Commonly used Product name.') product_IdentifyingNumber = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 3, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("product-IdentifyingNumber").setMaxAccess("readonly") if mibBuilder.loadTexts: product_IdentifyingNumber.setStatus('mandatory') if mibBuilder.loadTexts: product_IdentifyingNumber.setDescription('Product identification such as a serial number on software, a die number on a hardware chip, or (for non-commercial Products) a project number.') product_Vendor = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 3, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("product-Vendor").setMaxAccess("readonly") if mibBuilder.loadTexts: product_Vendor.setStatus('mandatory') if mibBuilder.loadTexts: product_Vendor.setDescription("The name of the Product's supplier, or entity selling the Product (the manufacturer, reseller, OEM, etc.). Corresponds to the Vendor property in the Product object in the DMTF Solution Exchange Standard.") product_Version = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 3, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("product-Version").setMaxAccess("readonly") if mibBuilder.loadTexts: product_Version.setStatus('mandatory') if mibBuilder.loadTexts: product_Version.setDescription('Product version information. Corresponds to the Version property in the Product object in the DMTF Solution Exchange Standard.') product_ElementName = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 3, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("product-ElementName").setMaxAccess("readonly") if mibBuilder.loadTexts: product_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: product_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") chassisGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4)) chassis_Manufacturer = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("chassis-Manufacturer").setMaxAccess("readonly") if mibBuilder.loadTexts: chassis_Manufacturer.setStatus('mandatory') if mibBuilder.loadTexts: chassis_Manufacturer.setDescription('The name of the organization responsible for producing the PhysicalElement. This may be the entity from whom the Element is purchased, but this is not necessarily true. The latter information is contained in the Vendor property of CIM_Product.') chassis_Model = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("chassis-Model").setMaxAccess("readonly") if mibBuilder.loadTexts: chassis_Model.setStatus('mandatory') if mibBuilder.loadTexts: chassis_Model.setDescription('The name by which the PhysicalElement is generally known.') chassis_SerialNumber = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("chassis-SerialNumber").setMaxAccess("readonly") if mibBuilder.loadTexts: chassis_SerialNumber.setStatus('mandatory') if mibBuilder.loadTexts: chassis_SerialNumber.setDescription('A manufacturer-allocated number used to identify the Physical Element.') chassis_LockPresent = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("unknown", 0), ("true", 1), ("false", 2)))).setLabel("chassis-LockPresent").setMaxAccess("readonly") if mibBuilder.loadTexts: chassis_LockPresent.setStatus('mandatory') if mibBuilder.loadTexts: chassis_LockPresent.setDescription('Boolean indicating whether the Frame is protected with a lock.') chassis_SecurityBreach = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("unknown", 1), ("other", 2), ("noBreach", 3), ("breachAttempted", 4), ("breachSuccessful", 5)))).setLabel("chassis-SecurityBreach").setMaxAccess("readonly") if mibBuilder.loadTexts: chassis_SecurityBreach.setStatus('mandatory') if mibBuilder.loadTexts: chassis_SecurityBreach.setDescription("SecurityBreach is an enumerated, integer-valued property indicating whether a physical breach of the Frame was attempted but unsuccessful (value=4) or attempted and successful (5). Also, the values, 'Unknown', 'Other' or 'No Breach', can be specified.") chassis_IsLocked = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("unknown", 0), ("true", 1), ("false", 2)))).setLabel("chassis-IsLocked").setMaxAccess("readonly") if mibBuilder.loadTexts: chassis_IsLocked.setStatus('mandatory') if mibBuilder.loadTexts: chassis_IsLocked.setDescription('Boolean indicating that the Frame is currently locked.') chassis_Tag = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("chassis-Tag").setMaxAccess("readonly") if mibBuilder.loadTexts: chassis_Tag.setStatus('mandatory') if mibBuilder.loadTexts: chassis_Tag.setDescription("An arbitrary string that uniquely identifies the Physical Element and serves as the Element's key. The Tag property can contain information such as asset tag or serial number data. The key for PhysicalElement is placed very high in the object hierarchy in order to independently identify the hardware/entity, regardless of physical placement in or on Cabinets, Adapters, etc. For example, a hotswappable or removeable component may be taken from its containing (scoping) Package and be temporarily unused. The object still continues to exist - and may even be inserted into a different scoping container. Therefore, the key for Physical Element is an arbitrary string and is defined independently of any placement or location-oriented hierarchy.") chassis_ElementName = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("chassis-ElementName").setMaxAccess("readonly") if mibBuilder.loadTexts: chassis_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: chassis_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") numberOfsubChassis = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberOfsubChassis.setStatus('mandatory') if mibBuilder.loadTexts: numberOfsubChassis.setDescription('This value specifies the number of sub Chassis that are present.') subChassisTable = MibTable((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10), ) if mibBuilder.loadTexts: subChassisTable.setStatus('mandatory') if mibBuilder.loadTexts: subChassisTable.setDescription('The SubChassis class represents the physical frames in the library') subChassisEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1), ).setIndexNames((0, "SNIA-SML-MIB", "subChassisIndex")) if mibBuilder.loadTexts: subChassisEntry.setStatus('mandatory') if mibBuilder.loadTexts: subChassisEntry.setDescription('Each entry in the table contains information about a frame that is present in the library.') subChassisIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 1), UINT32()).setMaxAccess("readonly") if mibBuilder.loadTexts: subChassisIndex.setStatus('mandatory') if mibBuilder.loadTexts: subChassisIndex.setDescription('The current index value for the subChassis.') subChassis_Manufacturer = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("subChassis-Manufacturer").setMaxAccess("readonly") if mibBuilder.loadTexts: subChassis_Manufacturer.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_Manufacturer.setDescription('The name of the organization responsible for producing the PhysicalElement. This may be the entity from whom the Element is purchased, but this is not necessarily true. The latter information is contained in the Vendor property of CIM_Product.') subChassis_Model = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("subChassis-Model").setMaxAccess("readonly") if mibBuilder.loadTexts: subChassis_Model.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_Model.setDescription('The name by which the PhysicalElement is generally known.') subChassis_SerialNumber = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("subChassis-SerialNumber").setMaxAccess("readonly") if mibBuilder.loadTexts: subChassis_SerialNumber.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_SerialNumber.setDescription('A manufacturer-allocated number used to identify the Physical Element.') subChassis_LockPresent = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("unknown", 0), ("true", 1), ("false", 2)))).setLabel("subChassis-LockPresent").setMaxAccess("readonly") if mibBuilder.loadTexts: subChassis_LockPresent.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_LockPresent.setDescription('Boolean indicating whether the Frame is protected with a lock.') subChassis_SecurityBreach = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("unknown", 1), ("other", 2), ("noBreach", 3), ("breachAttempted", 4), ("breachSuccessful", 5)))).setLabel("subChassis-SecurityBreach").setMaxAccess("readonly") if mibBuilder.loadTexts: subChassis_SecurityBreach.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_SecurityBreach.setDescription("SecurityBreach is an enumerated, integer-valued property indicating whether a physical breach of the Frame was attempted but unsuccessful (value=4) or attempted and successful (5). Also, the values, 'Unknown', 'Other' or 'No Breach', can be specified.") subChassis_IsLocked = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("unknown", 0), ("true", 1), ("false", 2)))).setLabel("subChassis-IsLocked").setMaxAccess("readonly") if mibBuilder.loadTexts: subChassis_IsLocked.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_IsLocked.setDescription('Boolean indicating that the Frame is currently locked.') subChassis_Tag = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("subChassis-Tag").setMaxAccess("readonly") if mibBuilder.loadTexts: subChassis_Tag.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_Tag.setDescription("An arbitrary string that uniquely identifies the Physical Element and serves as the Element's key. The Tag property can contain information such as asset tag or serial number data. The key for PhysicalElement is placed very high in the object hierarchy in order to independently identify the hardware/entity, regardless of physical placement in or on Cabinets, Adapters, etc. For example, a hotswappable or removeable component may be taken from its containing (scoping) Package and be temporarily unused. The object still continues to exist - and may even be inserted into a different scoping container. Therefore, the key for Physical Element is an arbitrary string and is defined independently of any placement or location-oriented hierarchy.") subChassis_ElementName = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("subChassis-ElementName").setMaxAccess("readonly") if mibBuilder.loadTexts: subChassis_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") subChassis_OperationalStatus = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=NamedValues(("unknown", 0), ("other", 1), ("ok", 2), ("degraded", 3), ("stressed", 4), ("predictiveFailure", 5), ("error", 6), ("non-RecoverableError", 7), ("starting", 8), ("stopping", 9), ("stopped", 10), ("inService", 11), ("noContact", 12), ("lostCommunication", 13), ("aborted", 14), ("dormant", 15), ("supportingEntityInError", 16), ("completed", 17), ("powerMode", 18), ("dMTFReserved", 19), ("vendorReserved", 32768)))).setLabel("subChassis-OperationalStatus").setMaxAccess("readonly") if mibBuilder.loadTexts: subChassis_OperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_OperationalStatus.setDescription("Indicates the current status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element.") subChassis_PackageType = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 17, 18, 19, 32769))).clone(namedValues=NamedValues(("unknown", 0), ("mainSystemChassis", 17), ("expansionChassis", 18), ("subChassis", 19), ("serviceBay", 32769)))).setLabel("subChassis-PackageType").setMaxAccess("readonly") if mibBuilder.loadTexts: subChassis_PackageType.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_PackageType.setDescription('Package type of the subChassis. The enumeration values for this variable should be the same as the DMTF CIM_Chassis.ChassisPackageType property. Use the Vendor reserved values for vendor-specific types.') storageLibraryGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 5)) storageLibrary_Name = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 5, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("storageLibrary-Name").setMaxAccess("readonly") if mibBuilder.loadTexts: storageLibrary_Name.setStatus('deprecated') if mibBuilder.loadTexts: storageLibrary_Name.setDescription('The inherited Name serves as key of a System instance in an enterprise environment.') storageLibrary_Description = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 5, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("storageLibrary-Description").setMaxAccess("readonly") if mibBuilder.loadTexts: storageLibrary_Description.setStatus('deprecated') if mibBuilder.loadTexts: storageLibrary_Description.setDescription('The Description property provides a textual description of the object.') storageLibrary_Caption = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 5, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("storageLibrary-Caption").setMaxAccess("readonly") if mibBuilder.loadTexts: storageLibrary_Caption.setStatus('deprecated') if mibBuilder.loadTexts: storageLibrary_Caption.setDescription('The Caption property is a short textual description (one- line string) of the object.') storageLibrary_Status = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 5, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setLabel("storageLibrary-Status").setMaxAccess("readonly") if mibBuilder.loadTexts: storageLibrary_Status.setStatus('deprecated') if mibBuilder.loadTexts: storageLibrary_Status.setDescription('A string indicating the current status of the object. Various operational and non-operational statuses are defined. This property is deprecated in lieu of OperationalStatus, which includes the same semantics in its enumeration. This change is made for three reasons: 1) Status is more correctly defined as an array property. This overcomes the limitation of describing status via a single value, when it is really a multi-valued property (for example, an element may be OK AND Stopped. 2) A MaxLen of 10 is too restrictive and leads to unclear enumerated values. And, 3) The change to a uint16 data type was discussed when CIM V2.0 was defined. However, existing V1.0 implementations used the string property and did not want to modify their code. Therefore, Status was grandfathered into the Schema. Use of the Deprecated qualifier allows the maintenance of the existing property, but also permits an improved definition using OperationalStatus.') storageLibrary_InstallDate = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 5, 5), CimDateTime()).setLabel("storageLibrary-InstallDate").setMaxAccess("readonly") if mibBuilder.loadTexts: storageLibrary_InstallDate.setStatus('deprecated') if mibBuilder.loadTexts: storageLibrary_InstallDate.setDescription('A datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.') mediaAccessDeviceGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6)) numberOfMediaAccessDevices = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberOfMediaAccessDevices.setStatus('mandatory') if mibBuilder.loadTexts: numberOfMediaAccessDevices.setDescription('This value specifies the number of MediaAccessDevices that are present.') mediaAccessDeviceTable = MibTable((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2), ) if mibBuilder.loadTexts: mediaAccessDeviceTable.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDeviceTable.setDescription('A MediaAccessDevice represents the ability to access one or more media and use this media to store and retrieve data.') mediaAccessDeviceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1), ).setIndexNames((0, "SNIA-SML-MIB", "mediaAccessDeviceIndex")) if mibBuilder.loadTexts: mediaAccessDeviceEntry.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDeviceEntry.setDescription('Each entry in the table contains information about a MediaAccessDevice that is present in the library.') mediaAccessDeviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 1), UINT32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaAccessDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDeviceIndex.setDescription('The current index value for the MediaAccessDevice.') mediaAccessDeviceObjectType = MibTableColumn((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("unknown", 0), ("wormDrive", 1), ("magnetoOpticalDrive", 2), ("tapeDrive", 3), ("dvdDrive", 4), ("cdromDrive", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaAccessDeviceObjectType.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDeviceObjectType.setDescription('In the 2.7 CIM Schema a Type property is no longer associated with MediaAccessDevice. However, it can be used here to specify the type of drive that is present.') mediaAccessDevice_Name = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("mediaAccessDevice-Name").setMaxAccess("readonly") if mibBuilder.loadTexts: mediaAccessDevice_Name.setStatus('deprecated') if mibBuilder.loadTexts: mediaAccessDevice_Name.setDescription('Deprecated') mediaAccessDevice_Status = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setLabel("mediaAccessDevice-Status").setMaxAccess("readonly") if mibBuilder.loadTexts: mediaAccessDevice_Status.setStatus('deprecated') if mibBuilder.loadTexts: mediaAccessDevice_Status.setDescription('A string indicating the current status of the object. Various operational and non-operational statuses are defined. This property is deprecated in lieu of OperationalStatus, which includes the same semantics in its enumeration. This change is made for three reasons: 1) Status is more correctly defined as an array property. This overcomes the limitation of describing status via a single value, when it is really a multi-valued property (for example, an element may be OK AND Stopped. 2) A MaxLen of 10 is too restrictive and leads to unclear enumerated values. And, 3) The change to a uint16 data type was discussed when CIM V2.0 was defined. However, existing V1.0 implementations used the string property and did not want to modify their code. Therefore, Status was grandfathered into the Schema. Use of the Deprecated qualifier allows the maintenance of the existing property, but also permits an improved definition using OperationalStatus.') mediaAccessDevice_Availability = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))).clone(namedValues=NamedValues(("other", 1), ("unknown", 2), ("runningFullPower", 3), ("warning", 4), ("inTest", 5), ("notApplicable", 6), ("powerOff", 7), ("offLine", 8), ("offDuty", 9), ("degraded", 10), ("notInstalled", 11), ("installError", 12), ("powerSaveUnknown", 13), ("powerSaveLowPowerMode", 14), ("powerSaveStandby", 15), ("powerCycle", 16), ("powerSaveWarning", 17), ("paused", 18), ("notReady", 19), ("notConfigured", 20), ("quiesced", 21)))).setLabel("mediaAccessDevice-Availability").setMaxAccess("readonly") if mibBuilder.loadTexts: mediaAccessDevice_Availability.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_Availability.setDescription("Inherited from CIM_LogicalDevice The primary availability and status of the Device. (Additional status information can be specified using the Additional Availability array property.) For example, the Availability property indicates that the Device is running and has full power (value=3), or is in a warning (4), test (5), degraded (10) or power save state (values 13-15 and 17). Regarding the Power Save states, these are defined as follows: Value 13 (Power Save - Unknown) indicates that the Device is known to be in a power save mode, but its exact status in this mode is unknown; 14 (Power Save - Low Power Mode) indicates that the Device is in a power save state but still functioning, and may exhibit degraded performance; 15 (Power Save - Standby) describes that the Device is not functioning but could be brought to full power 'quickly'; and value 17 (Power Save - Warning) indicates that the Device is in a warning state, though also in a power save mode.") mediaAccessDevice_NeedsCleaning = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("unknown", 0), ("true", 1), ("false", 2)))).setLabel("mediaAccessDevice-NeedsCleaning").setMaxAccess("readonly") if mibBuilder.loadTexts: mediaAccessDevice_NeedsCleaning.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_NeedsCleaning.setDescription('Boolean indicating that the MediaAccessDevice needs cleaning. Whether manual or automatic cleaning is possible is indicated in the Capabilities array property. ') mediaAccessDevice_MountCount = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 7), UINT64()).setLabel("mediaAccessDevice-MountCount").setMaxAccess("readonly") if mibBuilder.loadTexts: mediaAccessDevice_MountCount.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_MountCount.setDescription('For a MediaAccessDevice that supports removable Media, the number of times that Media have been mounted for data transfer or to clean the Device. For Devices accessing nonremovable Media, such as hard disks, this property is not applicable and should be set to 0.') mediaAccessDevice_DeviceID = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("mediaAccessDevice-DeviceID").setMaxAccess("readonly") if mibBuilder.loadTexts: mediaAccessDevice_DeviceID.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_DeviceID.setDescription('An address or other identifying information to uniquely name the LogicalDevice.') mediaAccessDevice_PowerOnHours = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 9), UINT64()).setLabel("mediaAccessDevice-PowerOnHours").setMaxAccess("readonly") if mibBuilder.loadTexts: mediaAccessDevice_PowerOnHours.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_PowerOnHours.setDescription('The number of consecutive hours that this Device has been powered, since its last power cycle.') mediaAccessDevice_TotalPowerOnHours = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 10), UINT64()).setLabel("mediaAccessDevice-TotalPowerOnHours").setMaxAccess("readonly") if mibBuilder.loadTexts: mediaAccessDevice_TotalPowerOnHours.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_TotalPowerOnHours.setDescription('The total number of hours that this Device has been powered.') mediaAccessDevice_OperationalStatus = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=NamedValues(("unknown", 0), ("other", 1), ("ok", 2), ("degraded", 3), ("stressed", 4), ("predictiveFailure", 5), ("error", 6), ("non-RecoverableError", 7), ("starting", 8), ("stopping", 9), ("stopped", 10), ("inService", 11), ("noContact", 12), ("lostCommunication", 13), ("aborted", 14), ("dormant", 15), ("supportingEntityInError", 16), ("completed", 17), ("powerMode", 18), ("dMTFReserved", 19), ("vendorReserved", 32768)))).setLabel("mediaAccessDevice-OperationalStatus").setMaxAccess("readonly") if mibBuilder.loadTexts: mediaAccessDevice_OperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_OperationalStatus.setDescription("Indicates the current status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element.") mediaAccessDevice_Realizes_StorageLocationIndex = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 12), UINT32()).setLabel("mediaAccessDevice-Realizes-StorageLocationIndex").setMaxAccess("readonly") if mibBuilder.loadTexts: mediaAccessDevice_Realizes_StorageLocationIndex.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_Realizes_StorageLocationIndex.setDescription('The current index value for the storageMediaLocationIndex that this MediaAccessDevice is associated with. If no association exists an index of 0 may be returned.') mediaAccessDevice_Realizes_softwareElementIndex = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 13), UINT32()).setLabel("mediaAccessDevice-Realizes-softwareElementIndex").setMaxAccess("readonly") if mibBuilder.loadTexts: mediaAccessDevice_Realizes_softwareElementIndex.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_Realizes_softwareElementIndex.setDescription('The current index value for the softwareElementIndex that this MediaAccessDevice is associated with. If no association exists an index of 0 may be returned.') physicalPackageGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8)) numberOfPhysicalPackages = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberOfPhysicalPackages.setStatus('mandatory') if mibBuilder.loadTexts: numberOfPhysicalPackages.setDescription('This value specifies the number of PhysicalPackages that are present.') physicalPackageTable = MibTable((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2), ) if mibBuilder.loadTexts: physicalPackageTable.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackageTable.setDescription('The PhysicalPackage class represents PhysicalElements that contain or host other components. Examples are a Rack enclosure or an adapter Card. (also a tape magazine inside an auto-loader)') physicalPackageEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2, 1), ).setIndexNames((0, "SNIA-SML-MIB", "physicalPackageIndex")) if mibBuilder.loadTexts: physicalPackageEntry.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackageEntry.setDescription('Each entry in the table contains information about a PhysicalPackage that is present in the library.') physicalPackageIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2, 1, 1), UINT32()).setMaxAccess("readonly") if mibBuilder.loadTexts: physicalPackageIndex.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackageIndex.setDescription('The current index value for the PhysicalPackage.') physicalPackage_Manufacturer = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("physicalPackage-Manufacturer").setMaxAccess("readonly") if mibBuilder.loadTexts: physicalPackage_Manufacturer.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackage_Manufacturer.setDescription('The name of the organization responsible for producing the PhysicalElement. This may be the entity from whom the Element is purchased, but this is not necessarily true. The latter information is contained in the Vendor property of CIM_Product.') physicalPackage_Model = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("physicalPackage-Model").setMaxAccess("readonly") if mibBuilder.loadTexts: physicalPackage_Model.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackage_Model.setDescription('The name by which the PhysicalElement is generally known.') physicalPackage_SerialNumber = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("physicalPackage-SerialNumber").setMaxAccess("readonly") if mibBuilder.loadTexts: physicalPackage_SerialNumber.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackage_SerialNumber.setDescription('A manufacturer-allocated number used to identify the Physical Element.') physicalPackage_Realizes_MediaAccessDeviceIndex = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2, 1, 5), Integer32()).setLabel("physicalPackage-Realizes-MediaAccessDeviceIndex").setMaxAccess("readonly") if mibBuilder.loadTexts: physicalPackage_Realizes_MediaAccessDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackage_Realizes_MediaAccessDeviceIndex.setDescription("The index value of the the MediaAccess device that is associated with this physical package.'") physicalPackage_Tag = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("physicalPackage-Tag").setMaxAccess("readonly") if mibBuilder.loadTexts: physicalPackage_Tag.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackage_Tag.setDescription("An arbitrary string that uniquely identifies the Physical Element and serves as the Element's key. The Tag property can contain information such as asset tag or serial number data. The key for PhysicalElement is placed very high in the object hierarchy in order to independently identify the hardware/entity, regardless of physical placement in or on Cabinets, Adapters, etc. For example, a hotswappable or removeable component may be taken from its containing (scoping) Package and be temporarily unused. The object still continues to exist - and may even be inserted into a different scoping container. Therefore, the key for Physical Element is an arbitrary string and is defined independently of any placement or location-oriented hierarchy.") softwareElementGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9)) numberOfSoftwareElements = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberOfSoftwareElements.setStatus('mandatory') if mibBuilder.loadTexts: numberOfSoftwareElements.setDescription('This value specifies the number of SoftwareElements that are present.') softwareElementTable = MibTable((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2), ) if mibBuilder.loadTexts: softwareElementTable.setStatus('mandatory') if mibBuilder.loadTexts: softwareElementTable.setDescription("The CIM_SoftwareElement class is used to decompose a CIM_SoftwareFeature object into a set of individually manageable or deployable parts for a particular platform. A software element's platform is uniquely identified by its underlying hardware architecture and operating system (for example Sun Solaris on Sun Sparc or Windows NT on Intel). As such, to understand the details of how the functionality of a particular software feature is provided on a particular platform, the CIM_SoftwareElement objects referenced by CIM_SoftwareFeatureSoftwareElement associations are organized in disjoint sets based on the TargetOperatingSystem property. A CIM_SoftwareElement object captures the management details of a part or component in one of four states characterized by the SoftwareElementState property. ") softwareElementEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1), ).setIndexNames((0, "SNIA-SML-MIB", "softwareElementIndex")) if mibBuilder.loadTexts: softwareElementEntry.setStatus('mandatory') if mibBuilder.loadTexts: softwareElementEntry.setDescription('Each entry in the table contains information about a SoftwareElement that is present in the library.') softwareElementIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 1), UINT32()).setMaxAccess("readonly") if mibBuilder.loadTexts: softwareElementIndex.setStatus('mandatory') if mibBuilder.loadTexts: softwareElementIndex.setDescription('The current index value for the SoftwareElement.') softwareElement_Name = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("softwareElement-Name").setMaxAccess("readonly") if mibBuilder.loadTexts: softwareElement_Name.setStatus('deprecated') if mibBuilder.loadTexts: softwareElement_Name.setDescription('deprecated') softwareElement_Version = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("softwareElement-Version").setMaxAccess("readonly") if mibBuilder.loadTexts: softwareElement_Version.setStatus('mandatory') if mibBuilder.loadTexts: softwareElement_Version.setDescription('Version should be in the form .. or . ') softwareElement_SoftwareElementID = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("softwareElement-SoftwareElementID").setMaxAccess("readonly") if mibBuilder.loadTexts: softwareElement_SoftwareElementID.setStatus('mandatory') if mibBuilder.loadTexts: softwareElement_SoftwareElementID.setDescription('SoftwareIdentity represents software, viewed as an asset and/or individually identifiable entity (similar to Physical Element). It does NOT indicate whether the software is installed, executing, etc. (The latter is the role of the SoftwareFeature/ SoftwareElement classes and the Application Model.) Since software may be acquired, SoftwareIdentity can be associated with a Product using the ProductSoftwareComponent relationship. Note that the Application Model manages the deployment and installation of software via the classes, SoftwareFeatures and SoftwareElements. The deployment/installation concepts are related to the asset/identity one. In fact, a SoftwareIdentity may correspond to a Product, or to one or more SoftwareFeatures or SoftwareElements - depending on the granularity of these classes and the deployment model. The correspondence of Software Identity to Product, SoftwareFeature or SoftwareElement is indicated using the ConcreteIdentity association. Note that there may not be sufficient detail or instrumentation to instantiate ConcreteIdentity. And, if the association is instantiated, some duplication of information may result. For example, the Vendor described in the instances of Product and SoftwareIdentity MAY be the same. However, this is not necessarily true, and it is why vendor and similar information are duplicated in this class. Note that ConcreteIdentity can also be used to describe the relationship of the software to any LogicalFiles that result from installing it. As above, there may not be sufficient detail or instrumentation to instantiate this association.') softwareElement_Manufacturer = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("softwareElement-Manufacturer").setMaxAccess("readonly") if mibBuilder.loadTexts: softwareElement_Manufacturer.setStatus('mandatory') if mibBuilder.loadTexts: softwareElement_Manufacturer.setDescription('Manufacturer of this software element') softwareElement_BuildNumber = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("softwareElement-BuildNumber").setMaxAccess("readonly") if mibBuilder.loadTexts: softwareElement_BuildNumber.setStatus('mandatory') if mibBuilder.loadTexts: softwareElement_BuildNumber.setDescription('The internal identifier for this compilation of this software element.') softwareElement_SerialNumber = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("softwareElement-SerialNumber").setMaxAccess("readonly") if mibBuilder.loadTexts: softwareElement_SerialNumber.setStatus('mandatory') if mibBuilder.loadTexts: softwareElement_SerialNumber.setDescription('The assigned serial number of this software element.') softwareElement_CodeSet = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("softwareElement-CodeSet").setMaxAccess("readonly") if mibBuilder.loadTexts: softwareElement_CodeSet.setStatus('deprecated') if mibBuilder.loadTexts: softwareElement_CodeSet.setDescription('The code set used by this software element. ') softwareElement_IdentificationCode = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("softwareElement-IdentificationCode").setMaxAccess("readonly") if mibBuilder.loadTexts: softwareElement_IdentificationCode.setStatus('deprecated') if mibBuilder.loadTexts: softwareElement_IdentificationCode.setDescription("The value of this property is the manufacturer's identifier for this software element. Often this will be a stock keeping unit (SKU) or a part number.") softwareElement_LanguageEdition = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setLabel("softwareElement-LanguageEdition").setMaxAccess("readonly") if mibBuilder.loadTexts: softwareElement_LanguageEdition.setStatus('deprecated') if mibBuilder.loadTexts: softwareElement_LanguageEdition.setDescription('The value of this property identifies the language edition of this software element. The language codes defined in ISO 639 should be used. Where the software element represents multi-lingual or international version of a product, the string multilingual should be used.') softwareElement_InstanceID = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("softwareElement-InstanceID").setMaxAccess("readonly") if mibBuilder.loadTexts: softwareElement_InstanceID.setStatus('mandatory') if mibBuilder.loadTexts: softwareElement_InstanceID.setDescription("Within the scope of the instantiating Namespace, InstanceID opaquely and uniquely identifies an instance of this class. In order to ensure uniqueness within the NameSpace, the value of InstanceID SHOULD be constructed using the following 'preferred' algorithm: <OrgID>:<LocalID> Where <OrgID> and <LocalID> are separated by a colon ':', and where <OrgID> MUST include a copyrighted, trademarked or otherwise unique name that is owned by the business entity creating/defining the InstanceID, or is a registered ID that is assigned to the business entity by a recognized global authority (This is similar to the <Schema Name>_<Class Name> structure of Schema class names.) In addition, to ensure uniqueness <OrgID> MUST NOT contain a colon (':'). When using this algorithm, the first colon to appear in InstanceID MUST appear between <OrgID> and <LocalID>. <LocalID> is chosen by the business entity and SHOULD not be re-used to identify different underlying (real-world) elements. If the above 'preferred' algorithm is not used, the defining entity MUST assure that the resultant InstanceID is not re-used across any InstanceIDs produced by this or other providers for this instance's NameSpace. For DMTF defined instances, the 'preferred' algorithm MUST be used with the <OrgID> set to 'CIM'.") computerSystemGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10)) computerSystem_ElementName = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("computerSystem-ElementName").setMaxAccess("readonly") if mibBuilder.loadTexts: computerSystem_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. \\n Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") computerSystem_OperationalStatus = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=NamedValues(("unknown", 0), ("other", 1), ("ok", 2), ("degraded", 3), ("stressed", 4), ("predictiveFailure", 5), ("error", 6), ("non-RecoverableError", 7), ("starting", 8), ("stopping", 9), ("stopped", 10), ("inService", 11), ("noContact", 12), ("lostCommunication", 13), ("aborted", 14), ("dormant", 15), ("supportingEntityInError", 16), ("completed", 17), ("powerMode", 18), ("dMTFReserved", 19), ("vendorReserved", 32768)))).setLabel("computerSystem-OperationalStatus").setMaxAccess("readonly") if mibBuilder.loadTexts: computerSystem_OperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_OperationalStatus.setDescription("Indicates the current status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element.") computerSystem_Name = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("computerSystem-Name").setMaxAccess("readonly") if mibBuilder.loadTexts: computerSystem_Name.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_Name.setDescription('The Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property.') computerSystem_NameFormat = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("computerSystem-NameFormat").setMaxAccess("readonly") if mibBuilder.loadTexts: computerSystem_NameFormat.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_NameFormat.setDescription("The ComputerSystem object and its derivatives are Top Level Objects of CIM. They provide the scope for numerous components. Having unique System keys is required. The NameFormat property identifies how the ComputerSystem Name is generated. The NameFormat ValueMap qualifier defines the various mechanisms for assigning the name. Note that another name can be assigned and used for the ComputerSystem that better suit a business, using the inherited ElementName property. Possible values include 'Other', 'IP', 'Dial', 'HID', 'NWA', 'HWA', 'X25', 'ISDN', 'IPX', 'DCC', 'ICD', 'E.164', 'SNA', 'OID/OSI', 'WWN', 'NAA'") computerSystem_Dedicated = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20))).clone(namedValues=NamedValues(("notDedicated", 0), ("unknown", 1), ("other", 2), ("storage", 3), ("router", 4), ("switch", 5), ("layer3switch", 6), ("centralOfficeSwitch", 7), ("hub", 8), ("accessServer", 9), ("firewall", 10), ("print", 11), ("io", 12), ("webCaching", 13), ("management", 14), ("blockServer", 15), ("fileServer", 16), ("mobileUserDevice", 17), ("repeater", 18), ("bridgeExtender", 19), ("gateway", 20)))).setLabel("computerSystem-Dedicated").setMaxAccess("readonly") if mibBuilder.loadTexts: computerSystem_Dedicated.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_Dedicated.setDescription("Enumeration indicating whether the ComputerSystem is a special-purpose System (ie, dedicated to a particular use), versus being 'general purpose'. For example, one could specify that the System is dedicated to 'Print' (value=11) or acts as a 'Hub' (value=8). \\n A clarification is needed with respect to the value 17 ('Mobile User Device'). An example of a dedicated user device is a mobile phone or a barcode scanner in a store that communicates via radio frequency. These systems are quite limited in functionality and programmability, and are not considered 'general purpose' computing platforms. Alternately, an example of a mobile system that is 'general purpose' (i.e., is NOT dedicated) is a hand-held computer. Although limited in its programmability, new software can be downloaded and its functionality expanded by the user.") computerSystem_PrimaryOwnerContact = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("computerSystem-PrimaryOwnerContact").setMaxAccess("readonly") if mibBuilder.loadTexts: computerSystem_PrimaryOwnerContact.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_PrimaryOwnerContact.setDescription('A string that provides information on how the primary system owner can be reached (e.g. phone number, email address, ...)') computerSystem_PrimaryOwnerName = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("computerSystem-PrimaryOwnerName").setMaxAccess("readonly") if mibBuilder.loadTexts: computerSystem_PrimaryOwnerName.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_PrimaryOwnerName.setDescription('The name of the primary system owner. The system owner is the primary user of the system.') computerSystem_Description = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("computerSystem-Description").setMaxAccess("readonly") if mibBuilder.loadTexts: computerSystem_Description.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_Description.setDescription('The Description property provides a textual description of the object.') computerSystem_Caption = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("computerSystem-Caption").setMaxAccess("readonly") if mibBuilder.loadTexts: computerSystem_Caption.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_Caption.setDescription('The Caption property is a short textual description (one- line string) of the object.') computerSystem_Realizes_softwareElementIndex = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 10), UINT32()).setLabel("computerSystem-Realizes-softwareElementIndex").setMaxAccess("readonly") if mibBuilder.loadTexts: computerSystem_Realizes_softwareElementIndex.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_Realizes_softwareElementIndex.setDescription('The current index value for the softwareElementIndex that this computerSystem is associated with. If no association exists an index of 0 may be returned.') changerDeviceGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11)) numberOfChangerDevices = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberOfChangerDevices.setStatus('mandatory') if mibBuilder.loadTexts: numberOfChangerDevices.setDescription('This value specifies the number of ChangerDevices that are present.') changerDeviceTable = MibTable((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2), ) if mibBuilder.loadTexts: changerDeviceTable.setStatus('mandatory') if mibBuilder.loadTexts: changerDeviceTable.setDescription('The changerDevice class represents changerDevices in the library') changerDeviceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1), ).setIndexNames((0, "SNIA-SML-MIB", "changerDeviceIndex")) if mibBuilder.loadTexts: changerDeviceEntry.setStatus('mandatory') if mibBuilder.loadTexts: changerDeviceEntry.setDescription('Each entry in the table contains information about a changerDevice that is present in the library.') changerDeviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 1), UINT32()).setMaxAccess("readonly") if mibBuilder.loadTexts: changerDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: changerDeviceIndex.setDescription('The current index value for the changerDevice.') changerDevice_DeviceID = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("changerDevice-DeviceID").setMaxAccess("readonly") if mibBuilder.loadTexts: changerDevice_DeviceID.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_DeviceID.setDescription('An address or other identifying information to uniquely name the LogicalDevice.') changerDevice_MediaFlipSupported = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setLabel("changerDevice-MediaFlipSupported").setMaxAccess("readonly") if mibBuilder.loadTexts: changerDevice_MediaFlipSupported.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_MediaFlipSupported.setDescription('Boolean set to TRUE if the Changer supports media flipping. Media needs to be flipped when multi-sided PhysicalMedia are placed into a MediaAccessDevice that does NOT support dual sided access.') changerDevice_ElementName = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("changerDevice-ElementName").setMaxAccess("readonly") if mibBuilder.loadTexts: changerDevice_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") changerDevice_Caption = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("changerDevice-Caption").setMaxAccess("readonly") if mibBuilder.loadTexts: changerDevice_Caption.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_Caption.setDescription('The Caption property is a short textual description (one- line string) of the object.') changerDevice_Description = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("changerDevice-Description").setMaxAccess("readonly") if mibBuilder.loadTexts: changerDevice_Description.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_Description.setDescription('The Description property provides a textual description of the object.') changerDevice_Availability = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))).clone(namedValues=NamedValues(("other", 1), ("unknown", 2), ("runningFullPower", 3), ("warning", 4), ("inTest", 5), ("notApplicable", 6), ("powerOff", 7), ("offLine", 8), ("offDuty", 9), ("degraded", 10), ("notInstalled", 11), ("installError", 12), ("powerSaveUnknown", 13), ("powerSaveLowPowerMode", 14), ("powerSaveStandby", 15), ("powerCycle", 16), ("powerSaveWarning", 17), ("paused", 18), ("notReady", 19), ("notConfigured", 20), ("quiesced", 21)))).setLabel("changerDevice-Availability").setMaxAccess("readonly") if mibBuilder.loadTexts: changerDevice_Availability.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_Availability.setDescription("The primary availability and status of the Device. (Additional status information can be specified using the Additional Availability array property.) For example, the Availability property indicates that the Device is running and has full power (value=3), or is in a warning (4), test (5), degraded (10) or power save state (values 13-15 and 17). Regarding the Power Save states, these are defined as follows Value 13 (\\'Power Save - Unknown\\') indicates that the Device is known to be in a power save mode, but its exact status in this mode is unknown; 14 (\\'Power Save - Low Power Mode\\') indicates that the Device is in a power save state but still functioning, and may exhibit degraded performance 15 (\\'Power Save - Standby\\') describes that the Device is not functioning but could be brought to full power 'quickly'; and value 17 (\\'Power Save - Warning\\') indicates that the Device is in a warning state, though also in a power save mode.") changerDevice_OperationalStatus = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=NamedValues(("unknown", 0), ("other", 1), ("ok", 2), ("degraded", 3), ("stressed", 4), ("predictiveFailure", 5), ("error", 6), ("non-RecoverableError", 7), ("starting", 8), ("stopping", 9), ("stopped", 10), ("inService", 11), ("noContact", 12), ("lostCommunication", 13), ("aborted", 14), ("dormant", 15), ("supportingEntityInError", 16), ("completed", 17), ("powerMode", 18), ("dMTFReserved", 19), ("vendorReserved", 32768)))).setLabel("changerDevice-OperationalStatus").setMaxAccess("readonly") if mibBuilder.loadTexts: changerDevice_OperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_OperationalStatus.setDescription("Indicates the current status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element.") changerDevice_Realizes_StorageLocationIndex = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 10), UINT32()).setLabel("changerDevice-Realizes-StorageLocationIndex").setMaxAccess("readonly") if mibBuilder.loadTexts: changerDevice_Realizes_StorageLocationIndex.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_Realizes_StorageLocationIndex.setDescription('The current index value for the storageMediaLocationIndex that this changerDevice is associated with. If no association exists an index of 0 may be returned.') scsiProtocolControllerGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12)) numberOfSCSIProtocolControllers = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberOfSCSIProtocolControllers.setStatus('mandatory') if mibBuilder.loadTexts: numberOfSCSIProtocolControllers.setDescription('This value specifies the number of SCSIProtocolControllers that are present.') scsiProtocolControllerTable = MibTable((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2), ) if mibBuilder.loadTexts: scsiProtocolControllerTable.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolControllerTable.setDescription('The scsiProtocolController class represents SCSIProtocolControllers in the library') scsiProtocolControllerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1), ).setIndexNames((0, "SNIA-SML-MIB", "scsiProtocolControllerIndex")) if mibBuilder.loadTexts: scsiProtocolControllerEntry.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolControllerEntry.setDescription('Each entry in the table contains information about a SCSIProtocolController that is present in the library.') scsiProtocolControllerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 1), UINT32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiProtocolControllerIndex.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolControllerIndex.setDescription('The current index value for the scsiProtocolController.') scsiProtocolController_DeviceID = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("scsiProtocolController-DeviceID").setMaxAccess("readonly") if mibBuilder.loadTexts: scsiProtocolController_DeviceID.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolController_DeviceID.setDescription('An address or other identifying information to uniquely name the LogicalDevice.') scsiProtocolController_ElementName = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("scsiProtocolController-ElementName").setMaxAccess("readonly") if mibBuilder.loadTexts: scsiProtocolController_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolController_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") scsiProtocolController_OperationalStatus = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=NamedValues(("unknown", 0), ("other", 1), ("ok", 2), ("degraded", 3), ("stressed", 4), ("predictiveFailure", 5), ("error", 6), ("non-RecoverableError", 7), ("starting", 8), ("stopping", 9), ("stopped", 10), ("inService", 11), ("noContact", 12), ("lostCommunication", 13), ("aborted", 14), ("dormant", 15), ("supportingEntityInError", 16), ("completed", 17), ("powerMode", 18), ("dMTFReserved", 19), ("vendorReserved", 32768)))).setLabel("scsiProtocolController-OperationalStatus").setMaxAccess("readonly") if mibBuilder.loadTexts: scsiProtocolController_OperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolController_OperationalStatus.setDescription("Indicates the current status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element.") scsiProtocolController_Description = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("scsiProtocolController-Description").setMaxAccess("readonly") if mibBuilder.loadTexts: scsiProtocolController_Description.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolController_Description.setDescription('The Description property provides a textual description of the object.') scsiProtocolController_Availability = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))).clone(namedValues=NamedValues(("other", 1), ("unknown", 2), ("runningFullPower", 3), ("warning", 4), ("inTest", 5), ("notApplicable", 6), ("powerOff", 7), ("offLine", 8), ("offDuty", 9), ("degraded", 10), ("notInstalled", 11), ("installError", 12), ("powerSaveUnknown", 13), ("powerSaveLowPowerMode", 14), ("powerSaveStandby", 15), ("powerCycle", 16), ("powerSaveWarning", 17), ("paused", 18), ("notReady", 19), ("notConfigured", 20), ("quiesced", 21)))).setLabel("scsiProtocolController-Availability").setMaxAccess("readonly") if mibBuilder.loadTexts: scsiProtocolController_Availability.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolController_Availability.setDescription("The primary availability and status of the Device. (Additional status information can be specified using the Additional Availability array property.) For example, the Availability property indicates that the Device is running and has full power (value=3), or is in a warning (4), test (5), degraded (10) or power save state (values 13-15 and 17). Regarding the Power Save states, these are defined as follows: Value 13 (\\'Power Save - Unknown\\') indicates that the Device is known to be in a power save mode, but its exact status in this mode is unknown; 14 (\\'Power Save - Low Power Mode\\') indicates that the Device is in a power save state but still functioning, and may exhibit degraded performance; 15 (\\'Power Save - Standby\\') describes that the Device is not functioning but could be brought to full power 'quickly'; and value 17 (\\'Power Save - Warning\\') indicates that the Device is in a warning state, though also in a power save mode.") scsiProtocolController_Realizes_ChangerDeviceIndex = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 7), UINT32()).setLabel("scsiProtocolController-Realizes-ChangerDeviceIndex").setMaxAccess("readonly") if mibBuilder.loadTexts: scsiProtocolController_Realizes_ChangerDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolController_Realizes_ChangerDeviceIndex.setDescription('The current index value for the ChangerDeviceIndex that this scsiProtocolController is associated with. If no association exists an index of 0 may be returned.') scsiProtocolController_Realizes_MediaAccessDeviceIndex = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 8), UINT32()).setLabel("scsiProtocolController-Realizes-MediaAccessDeviceIndex").setMaxAccess("readonly") if mibBuilder.loadTexts: scsiProtocolController_Realizes_MediaAccessDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolController_Realizes_MediaAccessDeviceIndex.setDescription('The current index value for the MediaAccessDeviceIndex that this scsiProtocolController is associated with. If no association exists an index of 0 may be returned.') storageMediaLocationGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13)) numberOfStorageMediaLocations = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberOfStorageMediaLocations.setStatus('mandatory') if mibBuilder.loadTexts: numberOfStorageMediaLocations.setDescription('This value specifies the number of StorageMediaLocations that are present.') numberOfPhysicalMedias = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberOfPhysicalMedias.setStatus('mandatory') if mibBuilder.loadTexts: numberOfPhysicalMedias.setDescription('This value specifies the number of PhysicalMedia that are present.') storageMediaLocationTable = MibTable((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3), ) if mibBuilder.loadTexts: storageMediaLocationTable.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocationTable.setDescription("StorageMediaLocation represents a possible location for an instance of PhysicalMedia. PhysicalMedia represents any type of documentation or storage medium, such as tapes, CDROMs, etc. This class is typically used to locate and manage Removable Media (versus Media sealed with the MediaAccessDevice, as a single Package, as is the case with hard disks). However, 'sealed' Media can also be modeled using this class, where the Media would then be associated with the PhysicalPackage using the PackagedComponent relationship. ") storageMediaLocationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1), ).setIndexNames((0, "SNIA-SML-MIB", "storageMediaLocationIndex")) if mibBuilder.loadTexts: storageMediaLocationEntry.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocationEntry.setDescription('Each entry in the table contains information about a StorageMediaLocation that is present in the library.') storageMediaLocationIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 1), UINT32()).setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocationIndex.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocationIndex.setDescription('The current index value for the StorageMediaLocation.') storageMediaLocation_Tag = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("storageMediaLocation-Tag").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_Tag.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_Tag.setDescription("An arbitrary string that uniquely identifies the Physical Element and serves as the Element's key. The Tag property can contain information such as asset tag or serial number data. The key for PhysicalElement is placed very high in the object hierarchy in order to independently identify the hardware/entity, regardless of physical placement in or on Cabinets, Adapters, etc. For example, a hotswappable or removeable component may be taken from its containing (scoping) Package and be temporarily unused. The object still continues to exist - and may even be inserted into a different scoping container. Therefore, the key for Physical Element is an arbitrary string and is defined independently of any placement or location-oriented hierarchy.") storageMediaLocation_LocationType = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("unknown", 0), ("other", 1), ("slot", 2), ("magazine", 3), ("mediaAccessDevice", 4), ("interLibraryPort", 5), ("limitedAccessPort", 6), ("door", 7), ("shelf", 8), ("vault", 9)))).setLabel("storageMediaLocation-LocationType").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_LocationType.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_LocationType.setDescription("The type of Location. For example, whether this is an individual Media \\'Slot\\' (value=2), a MediaAccessDevice (value=4) or a \\'Magazine\\' (value=3) is indicated in this property.") storageMediaLocation_LocationCoordinates = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("storageMediaLocation-LocationCoordinates").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_LocationCoordinates.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_LocationCoordinates.setDescription('LocationCoordinates represent the physical location of the the FrameSlot instance. The property is defined as a free-form string to allow the location information to be described in vendor-unique terminology.') storageMediaLocation_MediaTypesSupported = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66))).clone(namedValues=NamedValues(("unknown", 0), ("other", 1), ("tape", 2), ("qic", 3), ("ait", 4), ("dtf", 5), ("dat", 6), ("eightmmTape", 7), ("nineteenmmTape", 8), ("dlt", 9), ("halfInchMO", 10), ("catridgeDisk", 11), ("jazDisk", 12), ("zipDisk", 13), ("syQuestDisk", 14), ("winchesterDisk", 15), ("cdRom", 16), ("cdRomXA", 17), ("cdI", 18), ("cdRecordable", 19), ("wORM", 20), ("magneto-Optical", 21), ("dvd", 22), ("dvdRWPlus", 23), ("dvdRAM", 24), ("dvdROM", 25), ("dvdVideo", 26), ("divx", 27), ("floppyDiskette", 28), ("hardDisk", 29), ("memoryCard", 30), ("hardCopy", 31), ("clikDisk", 32), ("cdRW", 33), ("cdDA", 34), ("cdPlus", 35), ("dvdRecordable", 36), ("dvdRW", 37), ("dvdAudio", 38), ("dvd5", 39), ("dvd9", 40), ("dvd10", 41), ("dvd18", 42), ("moRewriteable", 43), ("moWriteOnce", 44), ("moLIMDOW", 45), ("phaseChangeWO", 46), ("phaseChangeRewriteable", 47), ("phaseChangeDualRewriteable", 48), ("ablativeWriteOnce", 49), ("nearField", 50), ("miniQic", 51), ("travan", 52), ("eightmmMetal", 53), ("eightmmAdvanced", 54), ("nctp", 55), ("ltoUltrium", 56), ("ltoAccelis", 57), ("tape9Track", 58), ("tape18Track", 59), ("tape36Track", 60), ("magstar3590", 61), ("magstarMP", 62), ("d2Tape", 63), ("dstSmall", 64), ("dstMedium", 65), ("dstLarge", 66)))).setLabel("storageMediaLocation-MediaTypesSupported").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_MediaTypesSupported.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_MediaTypesSupported.setDescription("Certain StorageMediaLocations may only be able to accept a limited set of PhysicalMedia MediaTypes. This property defines an array containing the types of Media that are acceptable for placement in the Location. Additional information and description of the contained MediaTypes can be provided using the TypesDescription array. Also, size data (for example, DVD disc diameter) can be specified using the MediaSizesSupported array. \\n \\n Values defined here correspond to those in the CIM_Physical Media.MediaType property. This allows quick comparisons using value equivalence calculations. It is understood that there is no external physical difference between (for example) DVD- Video and DVD-RAM. But, equivalent values in both the Physical Media and StorageMediaLocation enumerations allows for one for one comparisons with no additional processing logic (i.e., the following is not required ... if \\'DVD-Video\\' then value=\\'DVD\\').") storageMediaLocation_MediaCapacity = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 6), UINT32()).setLabel("storageMediaLocation-MediaCapacity").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_MediaCapacity.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_MediaCapacity.setDescription('A StorageMediaLocation may hold more than one PhysicalMedia - for example, a Magazine. This property indicates the Physical Media capacity of the Location.') storageMediaLocation_Association_ChangerDeviceIndex = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 7), UINT32()).setLabel("storageMediaLocation-Association-ChangerDeviceIndex").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_Association_ChangerDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_Association_ChangerDeviceIndex.setDescription('Experimental: The current index value for the ChangerDeviceIndex that this storageMediaLocation is associated with. If no association exists an index of 0 may be returned. This association allows a representation of the experimental ') storageMediaLocation_PhysicalMediaPresent = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setLabel("storageMediaLocation-PhysicalMediaPresent").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_PhysicalMediaPresent.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMediaPresent.setDescription("'true' when Physical Media is present in this storage location. When this is 'false' -physicalMedia- entries are undefined") storageMediaLocation_PhysicalMedia_Removable = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("unknown", 0), ("true", 1), ("false", 2)))).setLabel("storageMediaLocation-PhysicalMedia-Removable").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Removable.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Removable.setDescription("A PhysicalComponent is Removable if it is designed to be taken in and out of the physical container in which it is normally found, without impairing the function of the overall packaging. A Component can still be Removable if power must be 'off' in order to perform the removal. If power can be 'on' and the Component removed, then the Element is both Removable and HotSwappable. For example, an upgradeable Processor chip is Removable.") storageMediaLocation_PhysicalMedia_Replaceable = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("unknown", 0), ("true", 1), ("false", 2)))).setLabel("storageMediaLocation-PhysicalMedia-Replaceable").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Replaceable.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Replaceable.setDescription('A PhysicalComponent is Replaceable if it is possible to replace (FRU or upgrade) the Element with a physically different one. For example, some ComputerSystems allow the main Processor chip to be upgraded to one of a higher clock rating. In this case, the Processor is said to be Replaceable. All Removable Components are inherently Replaceable.') storageMediaLocation_PhysicalMedia_HotSwappable = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("unknown", 0), ("true", 1), ("false", 2)))).setLabel("storageMediaLocation-PhysicalMedia-HotSwappable").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_HotSwappable.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_HotSwappable.setDescription("A PhysicalComponent is HotSwappable if it is possible to replace the Element with a physically different but equivalent one while the containing Package has power applied to it (ie, is 'on'). For example, a fan Component may be designed to be HotSwappable. All HotSwappable Components are inherently Removable and Replaceable.") storageMediaLocation_PhysicalMedia_Capacity = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 14), UINT64()).setLabel("storageMediaLocation-PhysicalMedia-Capacity").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Capacity.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Capacity.setDescription("The number of bytes that can be read from or written to a Media. This property is not applicable to 'Hard Copy' (documentation) or cleaner Media. Data compression should not be assumed, as it would increase the value in this property. For tapes, it should be assumed that no filemarks or blank space areas are recorded on the Media.") storageMediaLocation_PhysicalMedia_MediaType = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66))).clone(namedValues=NamedValues(("unknown", 0), ("other", 1), ("tape", 2), ("qic", 3), ("ait", 4), ("dtf", 5), ("dat", 6), ("eightmmTape", 7), ("nineteenmmTape", 8), ("dlt", 9), ("halfInchMO", 10), ("catridgeDisk", 11), ("jazDisk", 12), ("zipDisk", 13), ("syQuestDisk", 14), ("winchesterDisk", 15), ("cdRom", 16), ("cdRomXA", 17), ("cdI", 18), ("cdRecordable", 19), ("wORM", 20), ("magneto-Optical", 21), ("dvd", 22), ("dvdRWPlus", 23), ("dvdRAM", 24), ("dvdROM", 25), ("dvdVideo", 26), ("divx", 27), ("floppyDiskette", 28), ("hardDisk", 29), ("memoryCard", 30), ("hardCopy", 31), ("clikDisk", 32), ("cdRW", 33), ("cdDA", 34), ("cdPlus", 35), ("dvdRecordable", 36), ("dvdRW", 37), ("dvdAudio", 38), ("dvd5", 39), ("dvd9", 40), ("dvd10", 41), ("dvd18", 42), ("moRewriteable", 43), ("moWriteOnce", 44), ("moLIMDOW", 45), ("phaseChangeWO", 46), ("phaseChangeRewriteable", 47), ("phaseChangeDualRewriteable", 48), ("ablativeWriteOnce", 49), ("nearField", 50), ("miniQic", 51), ("travan", 52), ("eightmmMetal", 53), ("eightmmAdvanced", 54), ("nctp", 55), ("ltoUltrium", 56), ("ltoAccelis", 57), ("tape9Track", 58), ("tape18Track", 59), ("tape36Track", 60), ("magstar3590", 61), ("magstarMP", 62), ("d2Tape", 63), ("dstSmall", 64), ("dstMedium", 65), ("dstLarge", 66)))).setLabel("storageMediaLocation-PhysicalMedia-MediaType").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_MediaType.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_MediaType.setDescription('Specifies the type of the PhysicalMedia, as an enumerated integer. The MediaDescription property is used to provide more explicit definition of the Media type, whether it is pre-formatted, compatability features, etc.') storageMediaLocation_PhysicalMedia_MediaDescription = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("storageMediaLocation-PhysicalMedia-MediaDescription").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_MediaDescription.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_MediaDescription.setDescription("Additional detail related to the MediaType enumeration. For example, if value 3 ('QIC Cartridge') is specified, this property could indicate whether the tape is wide or 1/4 inch, whether it is pre-formatted, whether it is Travan compatible, etc.") storageMediaLocation_PhysicalMedia_CleanerMedia = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("unknown", 0), ("true", 1), ("false", 2)))).setLabel("storageMediaLocation-PhysicalMedia-CleanerMedia").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_CleanerMedia.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_CleanerMedia.setDescription('Boolean indicating that the PhysicalMedia is used for cleaning purposes and not data storage.') storageMediaLocation_PhysicalMedia_DualSided = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("unknown", 0), ("true", 1), ("false", 2)))).setLabel("storageMediaLocation-PhysicalMedia-DualSided").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_DualSided.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_DualSided.setDescription('Boolean indicating that the Media has two recording sides (TRUE) or only a single side (FALSE). Examples of dual sided Media include DVD-ROM and some optical disks. Examples of single sided Media are tapes and CD-ROM.') storageMediaLocation_PhysicalMedia_PhysicalLabel = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 19), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("storageMediaLocation-PhysicalMedia-PhysicalLabel").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_PhysicalLabel.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_PhysicalLabel.setDescription("One or more strings on 'labels' on the PhysicalMedia. The format of the labels and their state (readable, unreadable, upside-down) are indicated in the LabelFormats and LabelStates array properties.") storageMediaLocation_PhysicalMedia_Tag = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 20), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("storageMediaLocation-PhysicalMedia-Tag").setMaxAccess("readonly") if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Tag.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Tag.setDescription("An arbitrary string that uniquely identifies the Physical Element and serves as the Element's key. The Tag property can contain information such as asset tag or serial data. The key for PhysicalElement is placed very high in number the object hierarchy in order to independently identify the hardware/entity, regardless of physical placement in or on Cabinets, Adapters, etc. For example, a hotswappable or removeable component may be taken from its containing (scoping) Package and be temporarily unused. The object still continues to exist - and may even be inserted into a different scoping container. Therefore, the key for Physical Element is an arbitrary string and is defined independently of any placement or location-oriented hierarchy.") limitedAccessPortGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14)) numberOflimitedAccessPorts = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberOflimitedAccessPorts.setStatus('mandatory') if mibBuilder.loadTexts: numberOflimitedAccessPorts.setDescription('This value specifies the number of limitedAccessPorts that are present.') limitedAccessPortTable = MibTable((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2), ) if mibBuilder.loadTexts: limitedAccessPortTable.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPortTable.setDescription('The limitedAccessPort class represents limitedAccessPorts in the library') limitedAccessPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1), ).setIndexNames((0, "SNIA-SML-MIB", "limitedAccessPortIndex")) if mibBuilder.loadTexts: limitedAccessPortEntry.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPortEntry.setDescription('Each entry in the table contains information about a limitedAccessPort that is present in the library.') limitedAccessPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1, 1), UINT32()).setMaxAccess("readonly") if mibBuilder.loadTexts: limitedAccessPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPortIndex.setDescription('The current index value for the limitedAccessPort.') limitedAccessPort_DeviceID = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("limitedAccessPort-DeviceID").setMaxAccess("readonly") if mibBuilder.loadTexts: limitedAccessPort_DeviceID.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPort_DeviceID.setDescription('An address or other identifying information to uniquely name the LogicalDevice.') limitedAccessPort_Extended = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setLabel("limitedAccessPort-Extended").setMaxAccess("readonly") if mibBuilder.loadTexts: limitedAccessPort_Extended.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPort_Extended.setDescription("When a Port is 'Extended' or 'open' (value=TRUE), its Storage MediaLocations are accessible to a human operator. If not extended (value=FALSE), the Locations are accessible to a PickerElement.") limitedAccessPort_ElementName = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("limitedAccessPort-ElementName").setMaxAccess("readonly") if mibBuilder.loadTexts: limitedAccessPort_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPort_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") limitedAccessPort_Caption = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("limitedAccessPort-Caption").setMaxAccess("readonly") if mibBuilder.loadTexts: limitedAccessPort_Caption.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPort_Caption.setDescription('The Caption property is a short textual description (one- line string) of the object.') limitedAccessPort_Description = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("limitedAccessPort-Description").setMaxAccess("readonly") if mibBuilder.loadTexts: limitedAccessPort_Description.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPort_Description.setDescription('The Description property provides a textual description of the object.') limitedAccessPort_Realizes_StorageLocationIndex = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1, 7), UINT32()).setLabel("limitedAccessPort-Realizes-StorageLocationIndex").setMaxAccess("readonly") if mibBuilder.loadTexts: limitedAccessPort_Realizes_StorageLocationIndex.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPort_Realizes_StorageLocationIndex.setDescription('The current index value for the storageMediaLocationIndex that this limitedAccessPort is associated with. If no association exists an index of 0 may be returned.') fCPortGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15)) numberOffCPorts = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberOffCPorts.setStatus('mandatory') if mibBuilder.loadTexts: numberOffCPorts.setDescription('This value specifies the number of fcPorts that are present.') fCPortTable = MibTable((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2), ) if mibBuilder.loadTexts: fCPortTable.setStatus('mandatory') if mibBuilder.loadTexts: fCPortTable.setDescription('The fcPort class represents Fibre Channel Ports in the library') fCPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1), ).setIndexNames((0, "SNIA-SML-MIB", "fCPortIndex")) if mibBuilder.loadTexts: fCPortEntry.setStatus('mandatory') if mibBuilder.loadTexts: fCPortEntry.setDescription('Each entry in the table contains information about an fcPort that is present in the library.') fCPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 1), UINT32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fCPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: fCPortIndex.setDescription('The current index value for the fCPort.') fCPort_DeviceID = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("fCPort-DeviceID").setMaxAccess("readonly") if mibBuilder.loadTexts: fCPort_DeviceID.setStatus('mandatory') if mibBuilder.loadTexts: fCPort_DeviceID.setDescription('An address or other identifying information to uniquely name the LogicalDevice.') fCPort_ElementName = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("fCPort-ElementName").setMaxAccess("readonly") if mibBuilder.loadTexts: fCPort_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: fCPort_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") fCPort_Caption = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("fCPort-Caption").setMaxAccess("readonly") if mibBuilder.loadTexts: fCPort_Caption.setStatus('mandatory') if mibBuilder.loadTexts: fCPort_Caption.setDescription('The Caption property is a short textual description (one- line string) of the object.') fCPort_Description = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setLabel("fCPort-Description").setMaxAccess("readonly") if mibBuilder.loadTexts: fCPort_Description.setStatus('mandatory') if mibBuilder.loadTexts: fCPort_Description.setDescription('The Description property provides a textual description of the object.') fCPortController_OperationalStatus = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=NamedValues(("unknown", 0), ("other", 1), ("ok", 2), ("degraded", 3), ("stressed", 4), ("predictiveFailure", 5), ("error", 6), ("non-RecoverableError", 7), ("starting", 8), ("stopping", 9), ("stopped", 10), ("inService", 11), ("noContact", 12), ("lostCommunication", 13), ("aborted", 14), ("dormant", 15), ("supportingEntityInError", 16), ("completed", 17), ("powerMode", 18), ("dMTFReserved", 19), ("vendorReserved", 32768)))).setLabel("fCPortController-OperationalStatus").setMaxAccess("readonly") if mibBuilder.loadTexts: fCPortController_OperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: fCPortController_OperationalStatus.setDescription("Indicates the current status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element. SMI-S 1.1 Section 8.1.2.2.3 additional description for FC Ports OK - Port is online Error - Port has a failure Stopped - Port is disabled InService - Port is in Self Test Unknown") fCPort_PermanentAddress = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setLabel("fCPort-PermanentAddress").setMaxAccess("readonly") if mibBuilder.loadTexts: fCPort_PermanentAddress.setStatus('mandatory') if mibBuilder.loadTexts: fCPort_PermanentAddress.setDescription("PermanentAddress defines the network address hardcoded into a port. This 'hardcoded' address may be changed via firmware upgrade or software configuration. If so, this field should be updated when the change is made. PermanentAddress should be left blank if no 'hardcoded' address exists for the NetworkAdapter. In SMI-S 1.1 table 1304 FCPorts are defined to use the port WWN as described in table 7.2.4.5.2 World Wide Name (i.e. FC Name_Identifier) FCPort Permanent Address property; no corresponding format property 16 un-separated upper case hex digits (e.g. '21000020372D3C73')") fCPort_Realizes_scsiProtocolControllerIndex = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 8), UINT32()).setLabel("fCPort-Realizes-scsiProtocolControllerIndex").setMaxAccess("readonly") if mibBuilder.loadTexts: fCPort_Realizes_scsiProtocolControllerIndex.setStatus('mandatory') if mibBuilder.loadTexts: fCPort_Realizes_scsiProtocolControllerIndex.setDescription('The current index value for the scsiProtocolControllerIndex that this fCPort is associated with. If no association exists an index of 0 may be returned.') trapGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16)) trapsEnabled = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trapsEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapsEnabled.setDescription('Set to enable sending traps') trapDriveAlertSummary = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60))).clone(namedValues=NamedValues(("readWarning", 1), ("writeWarning", 2), ("hardError", 3), ("media", 4), ("readFailure", 5), ("writeFailure", 6), ("mediaLife", 7), ("notDataGrade", 8), ("writeProtect", 9), ("noRemoval", 10), ("cleaningMedia", 11), ("unsupportedFormat", 12), ("recoverableSnappedTape", 13), ("unrecoverableSnappedTape", 14), ("memoryChipInCartridgeFailure", 15), ("forcedEject", 16), ("readOnlyFormat", 17), ("directoryCorruptedOnLoad", 18), ("nearingMediaLife", 19), ("cleanNow", 20), ("cleanPeriodic", 21), ("expiredCleaningMedia", 22), ("invalidCleaningMedia", 23), ("retentionRequested", 24), ("dualPortInterfaceError", 25), ("coolingFanError", 26), ("powerSupplyFailure", 27), ("powerConsumption", 28), ("driveMaintenance", 29), ("hardwareA", 30), ("hardwareB", 31), ("interface", 32), ("ejectMedia", 33), ("downloadFailure", 34), ("driveHumidity", 35), ("driveTemperature", 36), ("driveVoltage", 37), ("predictiveFailure", 38), ("diagnosticsRequired", 39), ("lostStatistics", 50), ("mediaDirectoryInvalidAtUnload", 51), ("mediaSystemAreaWriteFailure", 52), ("mediaSystemAreaReadFailure", 53), ("noStartOfData", 54), ("loadingFailure", 55), ("unrecoverableUnloadFailure", 56), ("automationInterfaceFailure", 57), ("firmwareFailure", 58), ("wormMediumIntegrityCheckFailed", 59), ("wormMediumOverwriteAttempted", 60)))).setMaxAccess("readonly") if mibBuilder.loadTexts: trapDriveAlertSummary.setStatus('mandatory') if mibBuilder.loadTexts: trapDriveAlertSummary.setDescription("Short summary of a media (tape, optical, etc.) driveAlert trap. Corresponds to the Number/Flag property of drive/autoloader alerts in the T10 TapeAlert Specification v3 (w/SSC-3 Enhancements) as modified by the EventSummary property in the SMI-S 1.1 section 8.1.8.25 LibraryAlert Events/Indications for Library Devices. In particular, all occurances of 'tape' have been replaced with 'media'. (This summary property has a 1 to 1 relationship to the CIM_AlertIndication.OtherAlertType property, and might be stored in the CIM_AlertIndication.Message property.)") trap_Association_MediaAccessDeviceIndex = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 3), UINT32()).setLabel("trap-Association-MediaAccessDeviceIndex").setMaxAccess("readonly") if mibBuilder.loadTexts: trap_Association_MediaAccessDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: trap_Association_MediaAccessDeviceIndex.setDescription('The current index value for the MediaAccessDeviceIndex that this changerAlert trap is associated with. If no association exists an index of 0 may be returned. ') trapChangerAlertSummary = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32))).clone(namedValues=NamedValues(("libraryHardwareA", 1), ("libraryHardwareB", 2), ("libraryHardwareC", 3), ("libraryHardwareD", 4), ("libraryDiagnosticsRequired", 5), ("libraryInterface", 6), ("failurePrediction", 7), ("libraryMaintenance", 8), ("libraryHumidityLimits", 9), ("libraryTemperatureLimits", 10), ("libraryVoltageLimits", 11), ("libraryStrayMedia", 12), ("libraryPickRetry", 13), ("libraryPlaceRetry", 14), ("libraryLoadRetry", 15), ("libraryDoor", 16), ("libraryMailslot", 17), ("libraryMagazine", 18), ("librarySecurity", 19), ("librarySecurityMode", 20), ("libraryOffline", 21), ("libraryDriveOffline", 22), ("libraryScanRetry", 23), ("libraryInventory", 24), ("libraryIllegalOperation", 25), ("dualPortInterfaceError", 26), ("coolingFanFailure", 27), ("powerSupply", 28), ("powerConsumption", 29), ("passThroughMechanismFailure", 30), ("cartridgeInPassThroughMechanism", 31), ("unreadableBarCodeLabels", 32)))).setMaxAccess("readonly") if mibBuilder.loadTexts: trapChangerAlertSummary.setStatus('mandatory') if mibBuilder.loadTexts: trapChangerAlertSummary.setDescription("Short summary of a changer (eg. robot) changerAlert trap. Corresponds to the Number/Flag property of stand-alone changer alerts in the T10 TapeAlert Specification v3 (w/SSC-3 Enhancements) as modified by the EventSummary property in the SMI-S 1.1 section 8.1.8.25 LibraryAlert Events/Indications for Library Devices. In particular, all occurances of 'tape' have been replaced with 'media'. (This summary property has a 1 to 1 relationship to the CIM_AlertIndication.OtherAlertType property, and might be stored in the CIM_AlertIndication.Message property.)") trap_Association_ChangerDeviceIndex = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 5), UINT32()).setLabel("trap-Association-ChangerDeviceIndex").setMaxAccess("readonly") if mibBuilder.loadTexts: trap_Association_ChangerDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: trap_Association_ChangerDeviceIndex.setDescription('The current index value for the ChangerDeviceIndex that this changerAlert trap is associated with. If no association exists an index of 0 may be returned. ') trapPerceivedSeverity = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("unknown", 0), ("other", 1), ("information", 2), ("degradedWarning", 3), ("minor", 4), ("major", 5), ("critical", 6), ("fatalNonRecoverable", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: trapPerceivedSeverity.setStatus('mandatory') if mibBuilder.loadTexts: trapPerceivedSeverity.setDescription("An enumerated value that describes the severity of the Alert Indication from the notifier's point of view: 1 - Other, by CIM convention, is used to indicate that the Severity's value can be found in the OtherSeverity property. 3 - Degraded/Warning should be used when its appropriate to let the user decide if action is needed. 4 - Minor should be used to indicate action is needed, but the situation is not serious at this time. 5 - Major should be used to indicate action is needed NOW. 6 - Critical should be used to indicate action is needed NOW and the scope is broad (perhaps an imminent outage to a critical resource will result). 7 - Fatal/NonRecoverable should be used to indicate an error occurred, but it's too late to take remedial action. 2 and 0 - Information and Unknown (respectively) follow common usage. Literally, the AlertIndication is purely informational or its severity is simply unknown. This would have values described in SMI-S 1.1 section 8.1.8.25 LibraryAlert Events/Indications for Library Devices, the PerceivedSeverity column. These values are a superset of the Info/Warning/Critical values in the T10 TapeAlert Specification v3 (w/SSC-3 Enhancements) , and an SNMP agent may choose to only specify those if that's all that's available. (This corresponds to the CIM_AlertIndication.PerceivedSeverity property.)") trapDestinationTable = MibTable((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 7), ) if mibBuilder.loadTexts: trapDestinationTable.setStatus('mandatory') if mibBuilder.loadTexts: trapDestinationTable.setDescription('Table of client/manager desitinations which will receive traps') trapDestinationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 7, 1), ).setIndexNames((0, "SNIA-SML-MIB", "numberOfTrapDestinations")) if mibBuilder.loadTexts: trapDestinationEntry.setStatus('mandatory') if mibBuilder.loadTexts: trapDestinationEntry.setDescription('Entry containing information needed to send traps to an SNMP client/manager') numberOfTrapDestinations = MibTableColumn((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 7, 1, 1), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: numberOfTrapDestinations.setStatus('mandatory') if mibBuilder.loadTexts: numberOfTrapDestinations.setDescription('This value specifies the number of trap destination SNMP clients/managers.') trapDestinationHostType = MibTableColumn((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 7, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("iPv4", 1), ("iPv6", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trapDestinationHostType.setStatus('mandatory') if mibBuilder.loadTexts: trapDestinationHostType.setDescription('The type of addressing model to represent the network address (IPv4/IPv6)') trapDestinationHostAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 7, 1, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: trapDestinationHostAddr.setStatus('mandatory') if mibBuilder.loadTexts: trapDestinationHostAddr.setDescription('The network address of this client/manager, to which the trap should be sent') trapDestinationPort = MibTableColumn((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 7, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trapDestinationPort.setStatus('mandatory') if mibBuilder.loadTexts: trapDestinationPort.setDescription('The port number where this client/manager is listening for traps.') driveAlert = NotificationType((1, 3, 6, 1, 4, 1, 14851, 3, 1) + (0,0)).setObjects(("SNIA-SML-MIB", "trapDriveAlertSummary"), ("SNIA-SML-MIB", "trap_Association_MediaAccessDeviceIndex"), ("SNIA-SML-MIB", "trapPerceivedSeverity")) if mibBuilder.loadTexts: driveAlert.setDescription('A Drive/Autoloader Alert trap, based on the T10 TapeAlert Specification v3 (w/SSC-3 Enhancements) and SMI-S 1.1 section 8.1.8.25 LibraryAlert Events/Indications.') changerAlert = NotificationType((1, 3, 6, 1, 4, 1, 14851, 3, 1) + (0,1)).setObjects(("SNIA-SML-MIB", "trapChangerAlertSummary"), ("SNIA-SML-MIB", "trap_Association_ChangerDeviceIndex"), ("SNIA-SML-MIB", "trapPerceivedSeverity")) if mibBuilder.loadTexts: changerAlert.setDescription('A Changer Device (eg. robot) Alert trap, based on the T10 TapeAlert Specification v3 (w/SSC-3 Enhancements) and SMI-S 1.1 section 8.1.8.25 LibraryAlert Events/Indications.') trapObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 8)) currentOperationalStatus = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=NamedValues(("unknown", 0), ("other", 1), ("ok", 2), ("degraded", 3), ("stressed", 4), ("predictiveFailure", 5), ("error", 6), ("non-RecoverableError", 7), ("starting", 8), ("stopping", 9), ("stopped", 10), ("inService", 11), ("noContact", 12), ("lostCommunication", 13), ("aborted", 14), ("dormant", 15), ("supportingEntityInError", 16), ("completed", 17), ("powerMode", 18), ("dMTFReserved", 19), ("vendorReserved", 32768)))).setMaxAccess("readonly") if mibBuilder.loadTexts: currentOperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: currentOperationalStatus.setDescription("Indicates the previous status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element.") oldOperationalStatus = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 8, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=NamedValues(("unknown", 0), ("other", 1), ("ok", 2), ("degraded", 3), ("stressed", 4), ("predictiveFailure", 5), ("error", 6), ("non-RecoverableError", 7), ("starting", 8), ("stopping", 9), ("stopped", 10), ("inService", 11), ("noContact", 12), ("lostCommunication", 13), ("aborted", 14), ("dormant", 15), ("supportingEntityInError", 16), ("completed", 17), ("powerMode", 18), ("dMTFReserved", 19), ("vendorReserved", 32768)))).setMaxAccess("readonly") if mibBuilder.loadTexts: oldOperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: oldOperationalStatus.setDescription("Indicates the previous status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element.") libraryAddedTrap = NotificationType((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0,3)).setObjects(("SNIA-SML-MIB", "storageLibrary_Name")) if mibBuilder.loadTexts: libraryAddedTrap.setDescription('A library is added to the SMI-S agent. This trap is to support the SMI-S 1.1 section 8.1.8.23 InstCreation indication.') libraryDeletedTrap = NotificationType((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0,4)).setObjects(("SNIA-SML-MIB", "storageLibrary_Name")) if mibBuilder.loadTexts: libraryDeletedTrap.setDescription('A library is deleted in the SMI-S agent. This trap is to support the SMI-S 1.1 section 8.1.8.23 InstDeletion indication.') libraryOpStatusChangedTrap = NotificationType((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0,5)).setObjects(("SNIA-SML-MIB", "storageLibrary_Name"), ("SNIA-SML-MIB", "currentOperationalStatus"), ("SNIA-SML-MIB", "oldOperationalStatus")) if mibBuilder.loadTexts: libraryOpStatusChangedTrap.setDescription('A library OperationalStatus has changed in the SMI-S agent. This trap is to support the SMI-S 1.1 section 8.1.8.23 InstModification indication.') driveAddedTrap = NotificationType((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0,6)).setObjects(("SNIA-SML-MIB", "storageLibrary_Name"), ("SNIA-SML-MIB", "mediaAccessDevice_DeviceID")) if mibBuilder.loadTexts: driveAddedTrap.setDescription('A media access device (trap drive) is added to the library. This trap is to support the SMI-S 1.1 section 8.1.8.25 InstCreation indication.') driveDeletedTrap = NotificationType((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0,7)).setObjects(("SNIA-SML-MIB", "storageLibrary_Name"), ("SNIA-SML-MIB", "mediaAccessDevice_DeviceID")) if mibBuilder.loadTexts: driveDeletedTrap.setDescription('A media access device (trap drive) is deleted from the library. This trap is to support the SMI-S 1.1 section 8.1.8.25 InstDeletion indication.') driveOpStatusChangedTrap = NotificationType((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0,8)).setObjects(("SNIA-SML-MIB", "storageLibrary_Name"), ("SNIA-SML-MIB", "mediaAccessDevice_DeviceID"), ("SNIA-SML-MIB", "currentOperationalStatus"), ("SNIA-SML-MIB", "oldOperationalStatus")) if mibBuilder.loadTexts: driveOpStatusChangedTrap.setDescription('A drive OperationalStatus has changed in the SMI-S agent. This trap is to support the SMI-S 1.1 section 8.1.8.23 InstModification indication.') changerAddedTrap = NotificationType((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0,9)).setObjects(("SNIA-SML-MIB", "storageLibrary_Name"), ("SNIA-SML-MIB", "changerDevice_DeviceID")) if mibBuilder.loadTexts: changerAddedTrap.setDescription('A changer device is added to the library. This trap is to support the SMI-S 1.1 section 8.1.8.25 InstCreation indication.') changerDeletedTrap = NotificationType((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0,10)).setObjects(("SNIA-SML-MIB", "storageLibrary_Name"), ("SNIA-SML-MIB", "changerDevice_DeviceID")) if mibBuilder.loadTexts: changerDeletedTrap.setDescription('A changer device is deleted from the library. This trap is to support the SMI-S 1.1 section 8.1.8.25 InstDeletion indication.') changerOpStatusChangedTrap = NotificationType((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0,11)).setObjects(("SNIA-SML-MIB", "storageLibrary_Name"), ("SNIA-SML-MIB", "changerDevice_DeviceID"), ("SNIA-SML-MIB", "currentOperationalStatus"), ("SNIA-SML-MIB", "oldOperationalStatus")) if mibBuilder.loadTexts: changerOpStatusChangedTrap.setDescription('A changer OperationalStatus has changed in the SMI-S agent. This trap is to support the SMI-S 1.1 section 8.1.8.23 InstModification indication.') physicalMediaAddedTrap = NotificationType((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0,12)).setObjects(("SNIA-SML-MIB", "storageMediaLocation_PhysicalMedia_Tag")) if mibBuilder.loadTexts: physicalMediaAddedTrap.setDescription('A physical media is added to the library. This trap is to support the SMI-S 1.1 section 8.1.8.25 InstCreation indication.') physicalMediaDeletedTrap = NotificationType((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0,13)).setObjects(("SNIA-SML-MIB", "storageMediaLocation_PhysicalMedia_Tag")) if mibBuilder.loadTexts: physicalMediaDeletedTrap.setDescription('A physical media is deleted from the library. This trap is to support the SMI-S 1.1 section 8.1.8.25 InstDeletion indication.') endOfSmlMib = MibScalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 17), ObjectIdentifier()) if mibBuilder.loadTexts: endOfSmlMib.setStatus('mandatory') if mibBuilder.loadTexts: endOfSmlMib.setDescription('Description here') mibBuilder.exportSymbols("SNIA-SML-MIB", mediaAccessDeviceObjectType=mediaAccessDeviceObjectType, softwareElementIndex=softwareElementIndex, subChassis_SecurityBreach=subChassis_SecurityBreach, storageLibrary_Caption=storageLibrary_Caption, fCPort_ElementName=fCPort_ElementName, scsiProtocolController_OperationalStatus=scsiProtocolController_OperationalStatus, product_IdentifyingNumber=product_IdentifyingNumber, mediaAccessDeviceIndex=mediaAccessDeviceIndex, storageMediaLocation_PhysicalMedia_Tag=storageMediaLocation_PhysicalMedia_Tag, trapChangerAlertSummary=trapChangerAlertSummary, scsiProtocolController_Realizes_ChangerDeviceIndex=scsiProtocolController_Realizes_ChangerDeviceIndex, trapDestinationTable=trapDestinationTable, trapDestinationHostType=trapDestinationHostType, mediaAccessDevice_Realizes_StorageLocationIndex=mediaAccessDevice_Realizes_StorageLocationIndex, mediaAccessDevice_Name=mediaAccessDevice_Name, softwareElement_SerialNumber=softwareElement_SerialNumber, changerDevice_DeviceID=changerDevice_DeviceID, scsiProtocolController_DeviceID=scsiProtocolController_DeviceID, scsiProtocolController_Description=scsiProtocolController_Description, fCPortGroup=fCPortGroup, mediaAccessDeviceGroup=mediaAccessDeviceGroup, scsiProtocolController_ElementName=scsiProtocolController_ElementName, chassisGroup=chassisGroup, scsiProtocolController_Availability=scsiProtocolController_Availability, limitedAccessPort_ElementName=limitedAccessPort_ElementName, scsiProtocolControllerTable=scsiProtocolControllerTable, limitedAccessPort_Realizes_StorageLocationIndex=limitedAccessPort_Realizes_StorageLocationIndex, storageLibrary_Status=storageLibrary_Status, subChassis_IsLocked=subChassis_IsLocked, limitedAccessPort_Caption=limitedAccessPort_Caption, chassis_SecurityBreach=chassis_SecurityBreach, fCPortIndex=fCPortIndex, scsiProtocolControllerIndex=scsiProtocolControllerIndex, numberOfSCSIProtocolControllers=numberOfSCSIProtocolControllers, storageMediaLocation_Tag=storageMediaLocation_Tag, softwareElement_SoftwareElementID=softwareElement_SoftwareElementID, chassis_LockPresent=chassis_LockPresent, softwareElement_Manufacturer=softwareElement_Manufacturer, UINT16=UINT16, snia=snia, numberOfPhysicalPackages=numberOfPhysicalPackages, subChassis_OperationalStatus=subChassis_OperationalStatus, storageMediaLocation_LocationCoordinates=storageMediaLocation_LocationCoordinates, UINT32=UINT32, storageMediaLocationIndex=storageMediaLocationIndex, numberOfMediaAccessDevices=numberOfMediaAccessDevices, storageMediaLocation_MediaCapacity=storageMediaLocation_MediaCapacity, storageMediaLocation_PhysicalMedia_DualSided=storageMediaLocation_PhysicalMedia_DualSided, storageLibrary_InstallDate=storageLibrary_InstallDate, computerSystem_Description=computerSystem_Description, softwareElement_CodeSet=softwareElement_CodeSet, computerSystem_Dedicated=computerSystem_Dedicated, subChassisIndex=subChassisIndex, changerDevice_ElementName=changerDevice_ElementName, numberOfsubChassis=numberOfsubChassis, changerDeviceIndex=changerDeviceIndex, storageMediaLocation_PhysicalMedia_Replaceable=storageMediaLocation_PhysicalMedia_Replaceable, fCPortTable=fCPortTable, common=common, storageMediaLocationTable=storageMediaLocationTable, chassis_IsLocked=chassis_IsLocked, subChassis_Tag=subChassis_Tag, mediaAccessDevice_Realizes_softwareElementIndex=mediaAccessDevice_Realizes_softwareElementIndex, subChassis_ElementName=subChassis_ElementName, chassis_Manufacturer=chassis_Manufacturer, computerSystem_NameFormat=computerSystem_NameFormat, mediaAccessDevice_NeedsCleaning=mediaAccessDevice_NeedsCleaning, limitedAccessPortIndex=limitedAccessPortIndex, limitedAccessPort_DeviceID=limitedAccessPort_DeviceID, subChassis_SerialNumber=subChassis_SerialNumber, fCPort_DeviceID=fCPort_DeviceID, driveAddedTrap=driveAddedTrap, physicalPackage_Tag=physicalPackage_Tag, physicalPackage_Realizes_MediaAccessDeviceIndex=physicalPackage_Realizes_MediaAccessDeviceIndex, computerSystem_Name=computerSystem_Name, computerSystemGroup=computerSystemGroup, storageMediaLocation_MediaTypesSupported=storageMediaLocation_MediaTypesSupported, storageMediaLocation_PhysicalMedia_CleanerMedia=storageMediaLocation_PhysicalMedia_CleanerMedia, driveOpStatusChangedTrap=driveOpStatusChangedTrap, UINT64=UINT64, softwareElement_IdentificationCode=softwareElement_IdentificationCode, trap_Association_ChangerDeviceIndex=trap_Association_ChangerDeviceIndex, subChassis_Manufacturer=subChassis_Manufacturer, trapDestinationPort=trapDestinationPort, smlRoot=smlRoot, storageMediaLocation_PhysicalMedia_Capacity=storageMediaLocation_PhysicalMedia_Capacity, mediaAccessDevice_Availability=mediaAccessDevice_Availability, fCPort_Realizes_scsiProtocolControllerIndex=fCPort_Realizes_scsiProtocolControllerIndex, storageMediaLocation_PhysicalMediaPresent=storageMediaLocation_PhysicalMediaPresent, changerOpStatusChangedTrap=changerOpStatusChangedTrap, physicalPackageTable=physicalPackageTable, fCPortController_OperationalStatus=fCPortController_OperationalStatus, chassis_ElementName=chassis_ElementName, trapDriveAlertSummary=trapDriveAlertSummary, trap_Association_MediaAccessDeviceIndex=trap_Association_MediaAccessDeviceIndex, softwareElementGroup=softwareElementGroup, changerDevice_Caption=changerDevice_Caption, fCPort_PermanentAddress=fCPort_PermanentAddress, endOfSmlMib=endOfSmlMib, trapDestinationHostAddr=trapDestinationHostAddr, changerAlert=changerAlert, softwareElement_BuildNumber=softwareElement_BuildNumber, softwareElement_LanguageEdition=softwareElement_LanguageEdition, fCPort_Description=fCPort_Description, product_ElementName=product_ElementName, changerDeviceGroup=changerDeviceGroup, libraryAddedTrap=libraryAddedTrap, softwareElementEntry=softwareElementEntry, physicalPackage_SerialNumber=physicalPackage_SerialNumber, storageMediaLocation_LocationType=storageMediaLocation_LocationType, softwareElement_Name=softwareElement_Name, numberOfChangerDevices=numberOfChangerDevices, fCPortEntry=fCPortEntry, computerSystem_PrimaryOwnerContact=computerSystem_PrimaryOwnerContact, mediaAccessDeviceEntry=mediaAccessDeviceEntry, product_Version=product_Version, storageMediaLocation_Association_ChangerDeviceIndex=storageMediaLocation_Association_ChangerDeviceIndex, mediaAccessDevice_DeviceID=mediaAccessDevice_DeviceID, chassis_Tag=chassis_Tag, physicalPackageEntry=physicalPackageEntry, limitedAccessPort_Extended=limitedAccessPort_Extended, product_Vendor=product_Vendor, changerDeviceEntry=changerDeviceEntry, changerDevice_MediaFlipSupported=changerDevice_MediaFlipSupported, changerDevice_Description=changerDevice_Description, driveAlert=driveAlert, physicalMediaAddedTrap=physicalMediaAddedTrap, physicalPackage_Manufacturer=physicalPackage_Manufacturer, computerSystem_ElementName=computerSystem_ElementName, softwareElement_InstanceID=softwareElement_InstanceID, mediaAccessDeviceTable=mediaAccessDeviceTable, physicalMediaDeletedTrap=physicalMediaDeletedTrap, limitedAccessPort_Description=limitedAccessPort_Description, subChassis_LockPresent=subChassis_LockPresent, storageMediaLocation_PhysicalMedia_Removable=storageMediaLocation_PhysicalMedia_Removable, storageMediaLocationEntry=storageMediaLocationEntry, limitedAccessPortGroup=limitedAccessPortGroup, experimental=experimental, mediaAccessDevice_Status=mediaAccessDevice_Status, currentOperationalStatus=currentOperationalStatus, storageLibrary_Description=storageLibrary_Description, computerSystem_Realizes_softwareElementIndex=computerSystem_Realizes_softwareElementIndex, subChassis_Model=subChassis_Model, fCPort_Caption=fCPort_Caption, computerSystem_PrimaryOwnerName=computerSystem_PrimaryOwnerName, libraries=libraries, computerSystem_OperationalStatus=computerSystem_OperationalStatus, product_Name=product_Name, chassis_SerialNumber=chassis_SerialNumber, changerDevice_OperationalStatus=changerDevice_OperationalStatus, trapsEnabled=trapsEnabled, CimDateTime=CimDateTime, softwareElement_Version=softwareElement_Version, trapDestinationEntry=trapDestinationEntry, numberOfPhysicalMedias=numberOfPhysicalMedias, mediaAccessDevice_PowerOnHours=mediaAccessDevice_PowerOnHours, numberOfSoftwareElements=numberOfSoftwareElements, scsiProtocolController_Realizes_MediaAccessDeviceIndex=scsiProtocolController_Realizes_MediaAccessDeviceIndex, mediaAccessDevice_TotalPowerOnHours=mediaAccessDevice_TotalPowerOnHours, storageMediaLocationGroup=storageMediaLocationGroup, changerDeletedTrap=changerDeletedTrap, libraryDeletedTrap=libraryDeletedTrap, changerAddedTrap=changerAddedTrap, scsiProtocolControllerEntry=scsiProtocolControllerEntry, smlCimVersion=smlCimVersion, physicalPackageGroup=physicalPackageGroup, trapGroup=trapGroup, numberOflimitedAccessPorts=numberOflimitedAccessPorts, numberOfTrapDestinations=numberOfTrapDestinations, numberOffCPorts=numberOffCPorts, libraryOpStatusChangedTrap=libraryOpStatusChangedTrap, subChassisTable=subChassisTable, subChassisEntry=subChassisEntry, storageMediaLocation_PhysicalMedia_HotSwappable=storageMediaLocation_PhysicalMedia_HotSwappable, changerDeviceTable=changerDeviceTable, storageMediaLocation_PhysicalMedia_MediaType=storageMediaLocation_PhysicalMedia_MediaType, softwareElementTable=softwareElementTable, storageMediaLocation_PhysicalMedia_PhysicalLabel=storageMediaLocation_PhysicalMedia_PhysicalLabel, trapObjects=trapObjects, subChassis_PackageType=subChassis_PackageType, computerSystem_Caption=computerSystem_Caption, trapPerceivedSeverity=trapPerceivedSeverity, mediaAccessDevice_MountCount=mediaAccessDevice_MountCount, scsiProtocolControllerGroup=scsiProtocolControllerGroup, smlMibVersion=smlMibVersion, physicalPackageIndex=physicalPackageIndex, changerDevice_Availability=changerDevice_Availability, storageLibraryGroup=storageLibraryGroup, numberOfStorageMediaLocations=numberOfStorageMediaLocations, oldOperationalStatus=oldOperationalStatus, mediaAccessDevice_OperationalStatus=mediaAccessDevice_OperationalStatus, limitedAccessPortEntry=limitedAccessPortEntry, UShortReal=UShortReal, productGroup=productGroup, limitedAccessPortTable=limitedAccessPortTable, physicalPackage_Model=physicalPackage_Model, storageLibrary_Name=storageLibrary_Name, storageMediaLocation_PhysicalMedia_MediaDescription=storageMediaLocation_PhysicalMedia_MediaDescription, changerDevice_Realizes_StorageLocationIndex=changerDevice_Realizes_StorageLocationIndex, driveDeletedTrap=driveDeletedTrap, chassis_Model=chassis_Model)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_size_constraint, constraints_union, single_value_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueRangeConstraint') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (iso, mib_scalar, mib_table, mib_table_row, mib_table_column, unsigned32, time_ticks, module_identity, integer32, ip_address, counter32, bits, counter64, enterprises, notification_type, object_identity, mib_identifier, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'iso', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Unsigned32', 'TimeTicks', 'ModuleIdentity', 'Integer32', 'IpAddress', 'Counter32', 'Bits', 'Counter64', 'enterprises', 'NotificationType', 'ObjectIdentity', 'MibIdentifier', 'Gauge32') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') class Ushortreal(Integer32): subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 65535) class Cimdatetime(OctetString): subtype_spec = OctetString.subtypeSpec + value_size_constraint(24, 24) fixed_length = 24 class Uint64(OctetString): subtype_spec = OctetString.subtypeSpec + value_size_constraint(8, 8) fixed_length = 8 class Uint32(Integer32): subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 2147483647) class Uint16(Integer32): subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 65535) snia = mib_identifier((1, 3, 6, 1, 4, 1, 14851)) experimental = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 1)) common = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 2)) libraries = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3)) sml_root = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1)) sml_mib_version = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: smlMibVersion.setStatus('mandatory') if mibBuilder.loadTexts: smlMibVersion.setDescription('This string contains version information for the MIB file') sml_cim_version = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: smlCimVersion.setStatus('mandatory') if mibBuilder.loadTexts: smlCimVersion.setDescription('This string contains information about the CIM version that corresponds to the MIB. The decriptions in this MIB file are based on CIM version 2.8') product_group = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 3)) product__name = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 3, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('product-Name').setMaxAccess('readonly') if mibBuilder.loadTexts: product_Name.setStatus('mandatory') if mibBuilder.loadTexts: product_Name.setDescription('Commonly used Product name.') product__identifying_number = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 3, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('product-IdentifyingNumber').setMaxAccess('readonly') if mibBuilder.loadTexts: product_IdentifyingNumber.setStatus('mandatory') if mibBuilder.loadTexts: product_IdentifyingNumber.setDescription('Product identification such as a serial number on software, a die number on a hardware chip, or (for non-commercial Products) a project number.') product__vendor = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 3, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('product-Vendor').setMaxAccess('readonly') if mibBuilder.loadTexts: product_Vendor.setStatus('mandatory') if mibBuilder.loadTexts: product_Vendor.setDescription("The name of the Product's supplier, or entity selling the Product (the manufacturer, reseller, OEM, etc.). Corresponds to the Vendor property in the Product object in the DMTF Solution Exchange Standard.") product__version = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 3, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('product-Version').setMaxAccess('readonly') if mibBuilder.loadTexts: product_Version.setStatus('mandatory') if mibBuilder.loadTexts: product_Version.setDescription('Product version information. Corresponds to the Version property in the Product object in the DMTF Solution Exchange Standard.') product__element_name = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 3, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('product-ElementName').setMaxAccess('readonly') if mibBuilder.loadTexts: product_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: product_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") chassis_group = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4)) chassis__manufacturer = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('chassis-Manufacturer').setMaxAccess('readonly') if mibBuilder.loadTexts: chassis_Manufacturer.setStatus('mandatory') if mibBuilder.loadTexts: chassis_Manufacturer.setDescription('The name of the organization responsible for producing the PhysicalElement. This may be the entity from whom the Element is purchased, but this is not necessarily true. The latter information is contained in the Vendor property of CIM_Product.') chassis__model = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('chassis-Model').setMaxAccess('readonly') if mibBuilder.loadTexts: chassis_Model.setStatus('mandatory') if mibBuilder.loadTexts: chassis_Model.setDescription('The name by which the PhysicalElement is generally known.') chassis__serial_number = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('chassis-SerialNumber').setMaxAccess('readonly') if mibBuilder.loadTexts: chassis_SerialNumber.setStatus('mandatory') if mibBuilder.loadTexts: chassis_SerialNumber.setDescription('A manufacturer-allocated number used to identify the Physical Element.') chassis__lock_present = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('unknown', 0), ('true', 1), ('false', 2)))).setLabel('chassis-LockPresent').setMaxAccess('readonly') if mibBuilder.loadTexts: chassis_LockPresent.setStatus('mandatory') if mibBuilder.loadTexts: chassis_LockPresent.setDescription('Boolean indicating whether the Frame is protected with a lock.') chassis__security_breach = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('unknown', 1), ('other', 2), ('noBreach', 3), ('breachAttempted', 4), ('breachSuccessful', 5)))).setLabel('chassis-SecurityBreach').setMaxAccess('readonly') if mibBuilder.loadTexts: chassis_SecurityBreach.setStatus('mandatory') if mibBuilder.loadTexts: chassis_SecurityBreach.setDescription("SecurityBreach is an enumerated, integer-valued property indicating whether a physical breach of the Frame was attempted but unsuccessful (value=4) or attempted and successful (5). Also, the values, 'Unknown', 'Other' or 'No Breach', can be specified.") chassis__is_locked = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('unknown', 0), ('true', 1), ('false', 2)))).setLabel('chassis-IsLocked').setMaxAccess('readonly') if mibBuilder.loadTexts: chassis_IsLocked.setStatus('mandatory') if mibBuilder.loadTexts: chassis_IsLocked.setDescription('Boolean indicating that the Frame is currently locked.') chassis__tag = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('chassis-Tag').setMaxAccess('readonly') if mibBuilder.loadTexts: chassis_Tag.setStatus('mandatory') if mibBuilder.loadTexts: chassis_Tag.setDescription("An arbitrary string that uniquely identifies the Physical Element and serves as the Element's key. The Tag property can contain information such as asset tag or serial number data. The key for PhysicalElement is placed very high in the object hierarchy in order to independently identify the hardware/entity, regardless of physical placement in or on Cabinets, Adapters, etc. For example, a hotswappable or removeable component may be taken from its containing (scoping) Package and be temporarily unused. The object still continues to exist - and may even be inserted into a different scoping container. Therefore, the key for Physical Element is an arbitrary string and is defined independently of any placement or location-oriented hierarchy.") chassis__element_name = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('chassis-ElementName').setMaxAccess('readonly') if mibBuilder.loadTexts: chassis_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: chassis_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") number_ofsub_chassis = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberOfsubChassis.setStatus('mandatory') if mibBuilder.loadTexts: numberOfsubChassis.setDescription('This value specifies the number of sub Chassis that are present.') sub_chassis_table = mib_table((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10)) if mibBuilder.loadTexts: subChassisTable.setStatus('mandatory') if mibBuilder.loadTexts: subChassisTable.setDescription('The SubChassis class represents the physical frames in the library') sub_chassis_entry = mib_table_row((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1)).setIndexNames((0, 'SNIA-SML-MIB', 'subChassisIndex')) if mibBuilder.loadTexts: subChassisEntry.setStatus('mandatory') if mibBuilder.loadTexts: subChassisEntry.setDescription('Each entry in the table contains information about a frame that is present in the library.') sub_chassis_index = mib_table_column((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 1), uint32()).setMaxAccess('readonly') if mibBuilder.loadTexts: subChassisIndex.setStatus('mandatory') if mibBuilder.loadTexts: subChassisIndex.setDescription('The current index value for the subChassis.') sub_chassis__manufacturer = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('subChassis-Manufacturer').setMaxAccess('readonly') if mibBuilder.loadTexts: subChassis_Manufacturer.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_Manufacturer.setDescription('The name of the organization responsible for producing the PhysicalElement. This may be the entity from whom the Element is purchased, but this is not necessarily true. The latter information is contained in the Vendor property of CIM_Product.') sub_chassis__model = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('subChassis-Model').setMaxAccess('readonly') if mibBuilder.loadTexts: subChassis_Model.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_Model.setDescription('The name by which the PhysicalElement is generally known.') sub_chassis__serial_number = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('subChassis-SerialNumber').setMaxAccess('readonly') if mibBuilder.loadTexts: subChassis_SerialNumber.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_SerialNumber.setDescription('A manufacturer-allocated number used to identify the Physical Element.') sub_chassis__lock_present = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('unknown', 0), ('true', 1), ('false', 2)))).setLabel('subChassis-LockPresent').setMaxAccess('readonly') if mibBuilder.loadTexts: subChassis_LockPresent.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_LockPresent.setDescription('Boolean indicating whether the Frame is protected with a lock.') sub_chassis__security_breach = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('unknown', 1), ('other', 2), ('noBreach', 3), ('breachAttempted', 4), ('breachSuccessful', 5)))).setLabel('subChassis-SecurityBreach').setMaxAccess('readonly') if mibBuilder.loadTexts: subChassis_SecurityBreach.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_SecurityBreach.setDescription("SecurityBreach is an enumerated, integer-valued property indicating whether a physical breach of the Frame was attempted but unsuccessful (value=4) or attempted and successful (5). Also, the values, 'Unknown', 'Other' or 'No Breach', can be specified.") sub_chassis__is_locked = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('unknown', 0), ('true', 1), ('false', 2)))).setLabel('subChassis-IsLocked').setMaxAccess('readonly') if mibBuilder.loadTexts: subChassis_IsLocked.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_IsLocked.setDescription('Boolean indicating that the Frame is currently locked.') sub_chassis__tag = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('subChassis-Tag').setMaxAccess('readonly') if mibBuilder.loadTexts: subChassis_Tag.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_Tag.setDescription("An arbitrary string that uniquely identifies the Physical Element and serves as the Element's key. The Tag property can contain information such as asset tag or serial number data. The key for PhysicalElement is placed very high in the object hierarchy in order to independently identify the hardware/entity, regardless of physical placement in or on Cabinets, Adapters, etc. For example, a hotswappable or removeable component may be taken from its containing (scoping) Package and be temporarily unused. The object still continues to exist - and may even be inserted into a different scoping container. Therefore, the key for Physical Element is an arbitrary string and is defined independently of any placement or location-oriented hierarchy.") sub_chassis__element_name = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('subChassis-ElementName').setMaxAccess('readonly') if mibBuilder.loadTexts: subChassis_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") sub_chassis__operational_status = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=named_values(('unknown', 0), ('other', 1), ('ok', 2), ('degraded', 3), ('stressed', 4), ('predictiveFailure', 5), ('error', 6), ('non-RecoverableError', 7), ('starting', 8), ('stopping', 9), ('stopped', 10), ('inService', 11), ('noContact', 12), ('lostCommunication', 13), ('aborted', 14), ('dormant', 15), ('supportingEntityInError', 16), ('completed', 17), ('powerMode', 18), ('dMTFReserved', 19), ('vendorReserved', 32768)))).setLabel('subChassis-OperationalStatus').setMaxAccess('readonly') if mibBuilder.loadTexts: subChassis_OperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_OperationalStatus.setDescription("Indicates the current status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element.") sub_chassis__package_type = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 4, 10, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 17, 18, 19, 32769))).clone(namedValues=named_values(('unknown', 0), ('mainSystemChassis', 17), ('expansionChassis', 18), ('subChassis', 19), ('serviceBay', 32769)))).setLabel('subChassis-PackageType').setMaxAccess('readonly') if mibBuilder.loadTexts: subChassis_PackageType.setStatus('mandatory') if mibBuilder.loadTexts: subChassis_PackageType.setDescription('Package type of the subChassis. The enumeration values for this variable should be the same as the DMTF CIM_Chassis.ChassisPackageType property. Use the Vendor reserved values for vendor-specific types.') storage_library_group = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 5)) storage_library__name = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 5, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('storageLibrary-Name').setMaxAccess('readonly') if mibBuilder.loadTexts: storageLibrary_Name.setStatus('deprecated') if mibBuilder.loadTexts: storageLibrary_Name.setDescription('The inherited Name serves as key of a System instance in an enterprise environment.') storage_library__description = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 5, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('storageLibrary-Description').setMaxAccess('readonly') if mibBuilder.loadTexts: storageLibrary_Description.setStatus('deprecated') if mibBuilder.loadTexts: storageLibrary_Description.setDescription('The Description property provides a textual description of the object.') storage_library__caption = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 5, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('storageLibrary-Caption').setMaxAccess('readonly') if mibBuilder.loadTexts: storageLibrary_Caption.setStatus('deprecated') if mibBuilder.loadTexts: storageLibrary_Caption.setDescription('The Caption property is a short textual description (one- line string) of the object.') storage_library__status = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 5, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 10))).setLabel('storageLibrary-Status').setMaxAccess('readonly') if mibBuilder.loadTexts: storageLibrary_Status.setStatus('deprecated') if mibBuilder.loadTexts: storageLibrary_Status.setDescription('A string indicating the current status of the object. Various operational and non-operational statuses are defined. This property is deprecated in lieu of OperationalStatus, which includes the same semantics in its enumeration. This change is made for three reasons: 1) Status is more correctly defined as an array property. This overcomes the limitation of describing status via a single value, when it is really a multi-valued property (for example, an element may be OK AND Stopped. 2) A MaxLen of 10 is too restrictive and leads to unclear enumerated values. And, 3) The change to a uint16 data type was discussed when CIM V2.0 was defined. However, existing V1.0 implementations used the string property and did not want to modify their code. Therefore, Status was grandfathered into the Schema. Use of the Deprecated qualifier allows the maintenance of the existing property, but also permits an improved definition using OperationalStatus.') storage_library__install_date = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 5, 5), cim_date_time()).setLabel('storageLibrary-InstallDate').setMaxAccess('readonly') if mibBuilder.loadTexts: storageLibrary_InstallDate.setStatus('deprecated') if mibBuilder.loadTexts: storageLibrary_InstallDate.setDescription('A datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.') media_access_device_group = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6)) number_of_media_access_devices = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberOfMediaAccessDevices.setStatus('mandatory') if mibBuilder.loadTexts: numberOfMediaAccessDevices.setDescription('This value specifies the number of MediaAccessDevices that are present.') media_access_device_table = mib_table((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2)) if mibBuilder.loadTexts: mediaAccessDeviceTable.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDeviceTable.setDescription('A MediaAccessDevice represents the ability to access one or more media and use this media to store and retrieve data.') media_access_device_entry = mib_table_row((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1)).setIndexNames((0, 'SNIA-SML-MIB', 'mediaAccessDeviceIndex')) if mibBuilder.loadTexts: mediaAccessDeviceEntry.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDeviceEntry.setDescription('Each entry in the table contains information about a MediaAccessDevice that is present in the library.') media_access_device_index = mib_table_column((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 1), uint32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mediaAccessDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDeviceIndex.setDescription('The current index value for the MediaAccessDevice.') media_access_device_object_type = mib_table_column((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('unknown', 0), ('wormDrive', 1), ('magnetoOpticalDrive', 2), ('tapeDrive', 3), ('dvdDrive', 4), ('cdromDrive', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mediaAccessDeviceObjectType.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDeviceObjectType.setDescription('In the 2.7 CIM Schema a Type property is no longer associated with MediaAccessDevice. However, it can be used here to specify the type of drive that is present.') media_access_device__name = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('mediaAccessDevice-Name').setMaxAccess('readonly') if mibBuilder.loadTexts: mediaAccessDevice_Name.setStatus('deprecated') if mibBuilder.loadTexts: mediaAccessDevice_Name.setDescription('Deprecated') media_access_device__status = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 10))).setLabel('mediaAccessDevice-Status').setMaxAccess('readonly') if mibBuilder.loadTexts: mediaAccessDevice_Status.setStatus('deprecated') if mibBuilder.loadTexts: mediaAccessDevice_Status.setDescription('A string indicating the current status of the object. Various operational and non-operational statuses are defined. This property is deprecated in lieu of OperationalStatus, which includes the same semantics in its enumeration. This change is made for three reasons: 1) Status is more correctly defined as an array property. This overcomes the limitation of describing status via a single value, when it is really a multi-valued property (for example, an element may be OK AND Stopped. 2) A MaxLen of 10 is too restrictive and leads to unclear enumerated values. And, 3) The change to a uint16 data type was discussed when CIM V2.0 was defined. However, existing V1.0 implementations used the string property and did not want to modify their code. Therefore, Status was grandfathered into the Schema. Use of the Deprecated qualifier allows the maintenance of the existing property, but also permits an improved definition using OperationalStatus.') media_access_device__availability = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))).clone(namedValues=named_values(('other', 1), ('unknown', 2), ('runningFullPower', 3), ('warning', 4), ('inTest', 5), ('notApplicable', 6), ('powerOff', 7), ('offLine', 8), ('offDuty', 9), ('degraded', 10), ('notInstalled', 11), ('installError', 12), ('powerSaveUnknown', 13), ('powerSaveLowPowerMode', 14), ('powerSaveStandby', 15), ('powerCycle', 16), ('powerSaveWarning', 17), ('paused', 18), ('notReady', 19), ('notConfigured', 20), ('quiesced', 21)))).setLabel('mediaAccessDevice-Availability').setMaxAccess('readonly') if mibBuilder.loadTexts: mediaAccessDevice_Availability.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_Availability.setDescription("Inherited from CIM_LogicalDevice The primary availability and status of the Device. (Additional status information can be specified using the Additional Availability array property.) For example, the Availability property indicates that the Device is running and has full power (value=3), or is in a warning (4), test (5), degraded (10) or power save state (values 13-15 and 17). Regarding the Power Save states, these are defined as follows: Value 13 (Power Save - Unknown) indicates that the Device is known to be in a power save mode, but its exact status in this mode is unknown; 14 (Power Save - Low Power Mode) indicates that the Device is in a power save state but still functioning, and may exhibit degraded performance; 15 (Power Save - Standby) describes that the Device is not functioning but could be brought to full power 'quickly'; and value 17 (Power Save - Warning) indicates that the Device is in a warning state, though also in a power save mode.") media_access_device__needs_cleaning = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('unknown', 0), ('true', 1), ('false', 2)))).setLabel('mediaAccessDevice-NeedsCleaning').setMaxAccess('readonly') if mibBuilder.loadTexts: mediaAccessDevice_NeedsCleaning.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_NeedsCleaning.setDescription('Boolean indicating that the MediaAccessDevice needs cleaning. Whether manual or automatic cleaning is possible is indicated in the Capabilities array property. ') media_access_device__mount_count = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 7), uint64()).setLabel('mediaAccessDevice-MountCount').setMaxAccess('readonly') if mibBuilder.loadTexts: mediaAccessDevice_MountCount.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_MountCount.setDescription('For a MediaAccessDevice that supports removable Media, the number of times that Media have been mounted for data transfer or to clean the Device. For Devices accessing nonremovable Media, such as hard disks, this property is not applicable and should be set to 0.') media_access_device__device_id = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('mediaAccessDevice-DeviceID').setMaxAccess('readonly') if mibBuilder.loadTexts: mediaAccessDevice_DeviceID.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_DeviceID.setDescription('An address or other identifying information to uniquely name the LogicalDevice.') media_access_device__power_on_hours = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 9), uint64()).setLabel('mediaAccessDevice-PowerOnHours').setMaxAccess('readonly') if mibBuilder.loadTexts: mediaAccessDevice_PowerOnHours.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_PowerOnHours.setDescription('The number of consecutive hours that this Device has been powered, since its last power cycle.') media_access_device__total_power_on_hours = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 10), uint64()).setLabel('mediaAccessDevice-TotalPowerOnHours').setMaxAccess('readonly') if mibBuilder.loadTexts: mediaAccessDevice_TotalPowerOnHours.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_TotalPowerOnHours.setDescription('The total number of hours that this Device has been powered.') media_access_device__operational_status = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=named_values(('unknown', 0), ('other', 1), ('ok', 2), ('degraded', 3), ('stressed', 4), ('predictiveFailure', 5), ('error', 6), ('non-RecoverableError', 7), ('starting', 8), ('stopping', 9), ('stopped', 10), ('inService', 11), ('noContact', 12), ('lostCommunication', 13), ('aborted', 14), ('dormant', 15), ('supportingEntityInError', 16), ('completed', 17), ('powerMode', 18), ('dMTFReserved', 19), ('vendorReserved', 32768)))).setLabel('mediaAccessDevice-OperationalStatus').setMaxAccess('readonly') if mibBuilder.loadTexts: mediaAccessDevice_OperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_OperationalStatus.setDescription("Indicates the current status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element.") media_access_device__realizes__storage_location_index = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 12), uint32()).setLabel('mediaAccessDevice-Realizes-StorageLocationIndex').setMaxAccess('readonly') if mibBuilder.loadTexts: mediaAccessDevice_Realizes_StorageLocationIndex.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_Realizes_StorageLocationIndex.setDescription('The current index value for the storageMediaLocationIndex that this MediaAccessDevice is associated with. If no association exists an index of 0 may be returned.') media_access_device__realizes_software_element_index = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 6, 2, 1, 13), uint32()).setLabel('mediaAccessDevice-Realizes-softwareElementIndex').setMaxAccess('readonly') if mibBuilder.loadTexts: mediaAccessDevice_Realizes_softwareElementIndex.setStatus('mandatory') if mibBuilder.loadTexts: mediaAccessDevice_Realizes_softwareElementIndex.setDescription('The current index value for the softwareElementIndex that this MediaAccessDevice is associated with. If no association exists an index of 0 may be returned.') physical_package_group = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8)) number_of_physical_packages = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberOfPhysicalPackages.setStatus('mandatory') if mibBuilder.loadTexts: numberOfPhysicalPackages.setDescription('This value specifies the number of PhysicalPackages that are present.') physical_package_table = mib_table((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2)) if mibBuilder.loadTexts: physicalPackageTable.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackageTable.setDescription('The PhysicalPackage class represents PhysicalElements that contain or host other components. Examples are a Rack enclosure or an adapter Card. (also a tape magazine inside an auto-loader)') physical_package_entry = mib_table_row((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2, 1)).setIndexNames((0, 'SNIA-SML-MIB', 'physicalPackageIndex')) if mibBuilder.loadTexts: physicalPackageEntry.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackageEntry.setDescription('Each entry in the table contains information about a PhysicalPackage that is present in the library.') physical_package_index = mib_table_column((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2, 1, 1), uint32()).setMaxAccess('readonly') if mibBuilder.loadTexts: physicalPackageIndex.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackageIndex.setDescription('The current index value for the PhysicalPackage.') physical_package__manufacturer = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('physicalPackage-Manufacturer').setMaxAccess('readonly') if mibBuilder.loadTexts: physicalPackage_Manufacturer.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackage_Manufacturer.setDescription('The name of the organization responsible for producing the PhysicalElement. This may be the entity from whom the Element is purchased, but this is not necessarily true. The latter information is contained in the Vendor property of CIM_Product.') physical_package__model = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('physicalPackage-Model').setMaxAccess('readonly') if mibBuilder.loadTexts: physicalPackage_Model.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackage_Model.setDescription('The name by which the PhysicalElement is generally known.') physical_package__serial_number = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('physicalPackage-SerialNumber').setMaxAccess('readonly') if mibBuilder.loadTexts: physicalPackage_SerialNumber.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackage_SerialNumber.setDescription('A manufacturer-allocated number used to identify the Physical Element.') physical_package__realizes__media_access_device_index = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2, 1, 5), integer32()).setLabel('physicalPackage-Realizes-MediaAccessDeviceIndex').setMaxAccess('readonly') if mibBuilder.loadTexts: physicalPackage_Realizes_MediaAccessDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackage_Realizes_MediaAccessDeviceIndex.setDescription("The index value of the the MediaAccess device that is associated with this physical package.'") physical_package__tag = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 8, 2, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('physicalPackage-Tag').setMaxAccess('readonly') if mibBuilder.loadTexts: physicalPackage_Tag.setStatus('mandatory') if mibBuilder.loadTexts: physicalPackage_Tag.setDescription("An arbitrary string that uniquely identifies the Physical Element and serves as the Element's key. The Tag property can contain information such as asset tag or serial number data. The key for PhysicalElement is placed very high in the object hierarchy in order to independently identify the hardware/entity, regardless of physical placement in or on Cabinets, Adapters, etc. For example, a hotswappable or removeable component may be taken from its containing (scoping) Package and be temporarily unused. The object still continues to exist - and may even be inserted into a different scoping container. Therefore, the key for Physical Element is an arbitrary string and is defined independently of any placement or location-oriented hierarchy.") software_element_group = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9)) number_of_software_elements = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberOfSoftwareElements.setStatus('mandatory') if mibBuilder.loadTexts: numberOfSoftwareElements.setDescription('This value specifies the number of SoftwareElements that are present.') software_element_table = mib_table((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2)) if mibBuilder.loadTexts: softwareElementTable.setStatus('mandatory') if mibBuilder.loadTexts: softwareElementTable.setDescription("The CIM_SoftwareElement class is used to decompose a CIM_SoftwareFeature object into a set of individually manageable or deployable parts for a particular platform. A software element's platform is uniquely identified by its underlying hardware architecture and operating system (for example Sun Solaris on Sun Sparc or Windows NT on Intel). As such, to understand the details of how the functionality of a particular software feature is provided on a particular platform, the CIM_SoftwareElement objects referenced by CIM_SoftwareFeatureSoftwareElement associations are organized in disjoint sets based on the TargetOperatingSystem property. A CIM_SoftwareElement object captures the management details of a part or component in one of four states characterized by the SoftwareElementState property. ") software_element_entry = mib_table_row((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1)).setIndexNames((0, 'SNIA-SML-MIB', 'softwareElementIndex')) if mibBuilder.loadTexts: softwareElementEntry.setStatus('mandatory') if mibBuilder.loadTexts: softwareElementEntry.setDescription('Each entry in the table contains information about a SoftwareElement that is present in the library.') software_element_index = mib_table_column((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 1), uint32()).setMaxAccess('readonly') if mibBuilder.loadTexts: softwareElementIndex.setStatus('mandatory') if mibBuilder.loadTexts: softwareElementIndex.setDescription('The current index value for the SoftwareElement.') software_element__name = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('softwareElement-Name').setMaxAccess('readonly') if mibBuilder.loadTexts: softwareElement_Name.setStatus('deprecated') if mibBuilder.loadTexts: softwareElement_Name.setDescription('deprecated') software_element__version = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('softwareElement-Version').setMaxAccess('readonly') if mibBuilder.loadTexts: softwareElement_Version.setStatus('mandatory') if mibBuilder.loadTexts: softwareElement_Version.setDescription('Version should be in the form .. or . ') software_element__software_element_id = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('softwareElement-SoftwareElementID').setMaxAccess('readonly') if mibBuilder.loadTexts: softwareElement_SoftwareElementID.setStatus('mandatory') if mibBuilder.loadTexts: softwareElement_SoftwareElementID.setDescription('SoftwareIdentity represents software, viewed as an asset and/or individually identifiable entity (similar to Physical Element). It does NOT indicate whether the software is installed, executing, etc. (The latter is the role of the SoftwareFeature/ SoftwareElement classes and the Application Model.) Since software may be acquired, SoftwareIdentity can be associated with a Product using the ProductSoftwareComponent relationship. Note that the Application Model manages the deployment and installation of software via the classes, SoftwareFeatures and SoftwareElements. The deployment/installation concepts are related to the asset/identity one. In fact, a SoftwareIdentity may correspond to a Product, or to one or more SoftwareFeatures or SoftwareElements - depending on the granularity of these classes and the deployment model. The correspondence of Software Identity to Product, SoftwareFeature or SoftwareElement is indicated using the ConcreteIdentity association. Note that there may not be sufficient detail or instrumentation to instantiate ConcreteIdentity. And, if the association is instantiated, some duplication of information may result. For example, the Vendor described in the instances of Product and SoftwareIdentity MAY be the same. However, this is not necessarily true, and it is why vendor and similar information are duplicated in this class. Note that ConcreteIdentity can also be used to describe the relationship of the software to any LogicalFiles that result from installing it. As above, there may not be sufficient detail or instrumentation to instantiate this association.') software_element__manufacturer = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('softwareElement-Manufacturer').setMaxAccess('readonly') if mibBuilder.loadTexts: softwareElement_Manufacturer.setStatus('mandatory') if mibBuilder.loadTexts: softwareElement_Manufacturer.setDescription('Manufacturer of this software element') software_element__build_number = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('softwareElement-BuildNumber').setMaxAccess('readonly') if mibBuilder.loadTexts: softwareElement_BuildNumber.setStatus('mandatory') if mibBuilder.loadTexts: softwareElement_BuildNumber.setDescription('The internal identifier for this compilation of this software element.') software_element__serial_number = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('softwareElement-SerialNumber').setMaxAccess('readonly') if mibBuilder.loadTexts: softwareElement_SerialNumber.setStatus('mandatory') if mibBuilder.loadTexts: softwareElement_SerialNumber.setDescription('The assigned serial number of this software element.') software_element__code_set = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('softwareElement-CodeSet').setMaxAccess('readonly') if mibBuilder.loadTexts: softwareElement_CodeSet.setStatus('deprecated') if mibBuilder.loadTexts: softwareElement_CodeSet.setDescription('The code set used by this software element. ') software_element__identification_code = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('softwareElement-IdentificationCode').setMaxAccess('readonly') if mibBuilder.loadTexts: softwareElement_IdentificationCode.setStatus('deprecated') if mibBuilder.loadTexts: softwareElement_IdentificationCode.setDescription("The value of this property is the manufacturer's identifier for this software element. Often this will be a stock keeping unit (SKU) or a part number.") software_element__language_edition = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 10), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setLabel('softwareElement-LanguageEdition').setMaxAccess('readonly') if mibBuilder.loadTexts: softwareElement_LanguageEdition.setStatus('deprecated') if mibBuilder.loadTexts: softwareElement_LanguageEdition.setDescription('The value of this property identifies the language edition of this software element. The language codes defined in ISO 639 should be used. Where the software element represents multi-lingual or international version of a product, the string multilingual should be used.') software_element__instance_id = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 9, 2, 1, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('softwareElement-InstanceID').setMaxAccess('readonly') if mibBuilder.loadTexts: softwareElement_InstanceID.setStatus('mandatory') if mibBuilder.loadTexts: softwareElement_InstanceID.setDescription("Within the scope of the instantiating Namespace, InstanceID opaquely and uniquely identifies an instance of this class. In order to ensure uniqueness within the NameSpace, the value of InstanceID SHOULD be constructed using the following 'preferred' algorithm: <OrgID>:<LocalID> Where <OrgID> and <LocalID> are separated by a colon ':', and where <OrgID> MUST include a copyrighted, trademarked or otherwise unique name that is owned by the business entity creating/defining the InstanceID, or is a registered ID that is assigned to the business entity by a recognized global authority (This is similar to the <Schema Name>_<Class Name> structure of Schema class names.) In addition, to ensure uniqueness <OrgID> MUST NOT contain a colon (':'). When using this algorithm, the first colon to appear in InstanceID MUST appear between <OrgID> and <LocalID>. <LocalID> is chosen by the business entity and SHOULD not be re-used to identify different underlying (real-world) elements. If the above 'preferred' algorithm is not used, the defining entity MUST assure that the resultant InstanceID is not re-used across any InstanceIDs produced by this or other providers for this instance's NameSpace. For DMTF defined instances, the 'preferred' algorithm MUST be used with the <OrgID> set to 'CIM'.") computer_system_group = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10)) computer_system__element_name = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('computerSystem-ElementName').setMaxAccess('readonly') if mibBuilder.loadTexts: computerSystem_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. \\n Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") computer_system__operational_status = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=named_values(('unknown', 0), ('other', 1), ('ok', 2), ('degraded', 3), ('stressed', 4), ('predictiveFailure', 5), ('error', 6), ('non-RecoverableError', 7), ('starting', 8), ('stopping', 9), ('stopped', 10), ('inService', 11), ('noContact', 12), ('lostCommunication', 13), ('aborted', 14), ('dormant', 15), ('supportingEntityInError', 16), ('completed', 17), ('powerMode', 18), ('dMTFReserved', 19), ('vendorReserved', 32768)))).setLabel('computerSystem-OperationalStatus').setMaxAccess('readonly') if mibBuilder.loadTexts: computerSystem_OperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_OperationalStatus.setDescription("Indicates the current status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element.") computer_system__name = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('computerSystem-Name').setMaxAccess('readonly') if mibBuilder.loadTexts: computerSystem_Name.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_Name.setDescription('The Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property.') computer_system__name_format = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('computerSystem-NameFormat').setMaxAccess('readonly') if mibBuilder.loadTexts: computerSystem_NameFormat.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_NameFormat.setDescription("The ComputerSystem object and its derivatives are Top Level Objects of CIM. They provide the scope for numerous components. Having unique System keys is required. The NameFormat property identifies how the ComputerSystem Name is generated. The NameFormat ValueMap qualifier defines the various mechanisms for assigning the name. Note that another name can be assigned and used for the ComputerSystem that better suit a business, using the inherited ElementName property. Possible values include 'Other', 'IP', 'Dial', 'HID', 'NWA', 'HWA', 'X25', 'ISDN', 'IPX', 'DCC', 'ICD', 'E.164', 'SNA', 'OID/OSI', 'WWN', 'NAA'") computer_system__dedicated = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20))).clone(namedValues=named_values(('notDedicated', 0), ('unknown', 1), ('other', 2), ('storage', 3), ('router', 4), ('switch', 5), ('layer3switch', 6), ('centralOfficeSwitch', 7), ('hub', 8), ('accessServer', 9), ('firewall', 10), ('print', 11), ('io', 12), ('webCaching', 13), ('management', 14), ('blockServer', 15), ('fileServer', 16), ('mobileUserDevice', 17), ('repeater', 18), ('bridgeExtender', 19), ('gateway', 20)))).setLabel('computerSystem-Dedicated').setMaxAccess('readonly') if mibBuilder.loadTexts: computerSystem_Dedicated.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_Dedicated.setDescription("Enumeration indicating whether the ComputerSystem is a special-purpose System (ie, dedicated to a particular use), versus being 'general purpose'. For example, one could specify that the System is dedicated to 'Print' (value=11) or acts as a 'Hub' (value=8). \\n A clarification is needed with respect to the value 17 ('Mobile User Device'). An example of a dedicated user device is a mobile phone or a barcode scanner in a store that communicates via radio frequency. These systems are quite limited in functionality and programmability, and are not considered 'general purpose' computing platforms. Alternately, an example of a mobile system that is 'general purpose' (i.e., is NOT dedicated) is a hand-held computer. Although limited in its programmability, new software can be downloaded and its functionality expanded by the user.") computer_system__primary_owner_contact = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('computerSystem-PrimaryOwnerContact').setMaxAccess('readonly') if mibBuilder.loadTexts: computerSystem_PrimaryOwnerContact.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_PrimaryOwnerContact.setDescription('A string that provides information on how the primary system owner can be reached (e.g. phone number, email address, ...)') computer_system__primary_owner_name = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('computerSystem-PrimaryOwnerName').setMaxAccess('readonly') if mibBuilder.loadTexts: computerSystem_PrimaryOwnerName.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_PrimaryOwnerName.setDescription('The name of the primary system owner. The system owner is the primary user of the system.') computer_system__description = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('computerSystem-Description').setMaxAccess('readonly') if mibBuilder.loadTexts: computerSystem_Description.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_Description.setDescription('The Description property provides a textual description of the object.') computer_system__caption = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('computerSystem-Caption').setMaxAccess('readonly') if mibBuilder.loadTexts: computerSystem_Caption.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_Caption.setDescription('The Caption property is a short textual description (one- line string) of the object.') computer_system__realizes_software_element_index = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 10, 10), uint32()).setLabel('computerSystem-Realizes-softwareElementIndex').setMaxAccess('readonly') if mibBuilder.loadTexts: computerSystem_Realizes_softwareElementIndex.setStatus('mandatory') if mibBuilder.loadTexts: computerSystem_Realizes_softwareElementIndex.setDescription('The current index value for the softwareElementIndex that this computerSystem is associated with. If no association exists an index of 0 may be returned.') changer_device_group = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11)) number_of_changer_devices = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberOfChangerDevices.setStatus('mandatory') if mibBuilder.loadTexts: numberOfChangerDevices.setDescription('This value specifies the number of ChangerDevices that are present.') changer_device_table = mib_table((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2)) if mibBuilder.loadTexts: changerDeviceTable.setStatus('mandatory') if mibBuilder.loadTexts: changerDeviceTable.setDescription('The changerDevice class represents changerDevices in the library') changer_device_entry = mib_table_row((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1)).setIndexNames((0, 'SNIA-SML-MIB', 'changerDeviceIndex')) if mibBuilder.loadTexts: changerDeviceEntry.setStatus('mandatory') if mibBuilder.loadTexts: changerDeviceEntry.setDescription('Each entry in the table contains information about a changerDevice that is present in the library.') changer_device_index = mib_table_column((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 1), uint32()).setMaxAccess('readonly') if mibBuilder.loadTexts: changerDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: changerDeviceIndex.setDescription('The current index value for the changerDevice.') changer_device__device_id = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('changerDevice-DeviceID').setMaxAccess('readonly') if mibBuilder.loadTexts: changerDevice_DeviceID.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_DeviceID.setDescription('An address or other identifying information to uniquely name the LogicalDevice.') changer_device__media_flip_supported = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setLabel('changerDevice-MediaFlipSupported').setMaxAccess('readonly') if mibBuilder.loadTexts: changerDevice_MediaFlipSupported.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_MediaFlipSupported.setDescription('Boolean set to TRUE if the Changer supports media flipping. Media needs to be flipped when multi-sided PhysicalMedia are placed into a MediaAccessDevice that does NOT support dual sided access.') changer_device__element_name = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('changerDevice-ElementName').setMaxAccess('readonly') if mibBuilder.loadTexts: changerDevice_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") changer_device__caption = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('changerDevice-Caption').setMaxAccess('readonly') if mibBuilder.loadTexts: changerDevice_Caption.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_Caption.setDescription('The Caption property is a short textual description (one- line string) of the object.') changer_device__description = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('changerDevice-Description').setMaxAccess('readonly') if mibBuilder.loadTexts: changerDevice_Description.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_Description.setDescription('The Description property provides a textual description of the object.') changer_device__availability = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))).clone(namedValues=named_values(('other', 1), ('unknown', 2), ('runningFullPower', 3), ('warning', 4), ('inTest', 5), ('notApplicable', 6), ('powerOff', 7), ('offLine', 8), ('offDuty', 9), ('degraded', 10), ('notInstalled', 11), ('installError', 12), ('powerSaveUnknown', 13), ('powerSaveLowPowerMode', 14), ('powerSaveStandby', 15), ('powerCycle', 16), ('powerSaveWarning', 17), ('paused', 18), ('notReady', 19), ('notConfigured', 20), ('quiesced', 21)))).setLabel('changerDevice-Availability').setMaxAccess('readonly') if mibBuilder.loadTexts: changerDevice_Availability.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_Availability.setDescription("The primary availability and status of the Device. (Additional status information can be specified using the Additional Availability array property.) For example, the Availability property indicates that the Device is running and has full power (value=3), or is in a warning (4), test (5), degraded (10) or power save state (values 13-15 and 17). Regarding the Power Save states, these are defined as follows Value 13 (\\'Power Save - Unknown\\') indicates that the Device is known to be in a power save mode, but its exact status in this mode is unknown; 14 (\\'Power Save - Low Power Mode\\') indicates that the Device is in a power save state but still functioning, and may exhibit degraded performance 15 (\\'Power Save - Standby\\') describes that the Device is not functioning but could be brought to full power 'quickly'; and value 17 (\\'Power Save - Warning\\') indicates that the Device is in a warning state, though also in a power save mode.") changer_device__operational_status = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=named_values(('unknown', 0), ('other', 1), ('ok', 2), ('degraded', 3), ('stressed', 4), ('predictiveFailure', 5), ('error', 6), ('non-RecoverableError', 7), ('starting', 8), ('stopping', 9), ('stopped', 10), ('inService', 11), ('noContact', 12), ('lostCommunication', 13), ('aborted', 14), ('dormant', 15), ('supportingEntityInError', 16), ('completed', 17), ('powerMode', 18), ('dMTFReserved', 19), ('vendorReserved', 32768)))).setLabel('changerDevice-OperationalStatus').setMaxAccess('readonly') if mibBuilder.loadTexts: changerDevice_OperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_OperationalStatus.setDescription("Indicates the current status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element.") changer_device__realizes__storage_location_index = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 11, 2, 1, 10), uint32()).setLabel('changerDevice-Realizes-StorageLocationIndex').setMaxAccess('readonly') if mibBuilder.loadTexts: changerDevice_Realizes_StorageLocationIndex.setStatus('mandatory') if mibBuilder.loadTexts: changerDevice_Realizes_StorageLocationIndex.setDescription('The current index value for the storageMediaLocationIndex that this changerDevice is associated with. If no association exists an index of 0 may be returned.') scsi_protocol_controller_group = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12)) number_of_scsi_protocol_controllers = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberOfSCSIProtocolControllers.setStatus('mandatory') if mibBuilder.loadTexts: numberOfSCSIProtocolControllers.setDescription('This value specifies the number of SCSIProtocolControllers that are present.') scsi_protocol_controller_table = mib_table((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2)) if mibBuilder.loadTexts: scsiProtocolControllerTable.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolControllerTable.setDescription('The scsiProtocolController class represents SCSIProtocolControllers in the library') scsi_protocol_controller_entry = mib_table_row((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1)).setIndexNames((0, 'SNIA-SML-MIB', 'scsiProtocolControllerIndex')) if mibBuilder.loadTexts: scsiProtocolControllerEntry.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolControllerEntry.setDescription('Each entry in the table contains information about a SCSIProtocolController that is present in the library.') scsi_protocol_controller_index = mib_table_column((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 1), uint32()).setMaxAccess('readonly') if mibBuilder.loadTexts: scsiProtocolControllerIndex.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolControllerIndex.setDescription('The current index value for the scsiProtocolController.') scsi_protocol_controller__device_id = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('scsiProtocolController-DeviceID').setMaxAccess('readonly') if mibBuilder.loadTexts: scsiProtocolController_DeviceID.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolController_DeviceID.setDescription('An address or other identifying information to uniquely name the LogicalDevice.') scsi_protocol_controller__element_name = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('scsiProtocolController-ElementName').setMaxAccess('readonly') if mibBuilder.loadTexts: scsiProtocolController_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolController_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") scsi_protocol_controller__operational_status = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=named_values(('unknown', 0), ('other', 1), ('ok', 2), ('degraded', 3), ('stressed', 4), ('predictiveFailure', 5), ('error', 6), ('non-RecoverableError', 7), ('starting', 8), ('stopping', 9), ('stopped', 10), ('inService', 11), ('noContact', 12), ('lostCommunication', 13), ('aborted', 14), ('dormant', 15), ('supportingEntityInError', 16), ('completed', 17), ('powerMode', 18), ('dMTFReserved', 19), ('vendorReserved', 32768)))).setLabel('scsiProtocolController-OperationalStatus').setMaxAccess('readonly') if mibBuilder.loadTexts: scsiProtocolController_OperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolController_OperationalStatus.setDescription("Indicates the current status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element.") scsi_protocol_controller__description = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('scsiProtocolController-Description').setMaxAccess('readonly') if mibBuilder.loadTexts: scsiProtocolController_Description.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolController_Description.setDescription('The Description property provides a textual description of the object.') scsi_protocol_controller__availability = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))).clone(namedValues=named_values(('other', 1), ('unknown', 2), ('runningFullPower', 3), ('warning', 4), ('inTest', 5), ('notApplicable', 6), ('powerOff', 7), ('offLine', 8), ('offDuty', 9), ('degraded', 10), ('notInstalled', 11), ('installError', 12), ('powerSaveUnknown', 13), ('powerSaveLowPowerMode', 14), ('powerSaveStandby', 15), ('powerCycle', 16), ('powerSaveWarning', 17), ('paused', 18), ('notReady', 19), ('notConfigured', 20), ('quiesced', 21)))).setLabel('scsiProtocolController-Availability').setMaxAccess('readonly') if mibBuilder.loadTexts: scsiProtocolController_Availability.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolController_Availability.setDescription("The primary availability and status of the Device. (Additional status information can be specified using the Additional Availability array property.) For example, the Availability property indicates that the Device is running and has full power (value=3), or is in a warning (4), test (5), degraded (10) or power save state (values 13-15 and 17). Regarding the Power Save states, these are defined as follows: Value 13 (\\'Power Save - Unknown\\') indicates that the Device is known to be in a power save mode, but its exact status in this mode is unknown; 14 (\\'Power Save - Low Power Mode\\') indicates that the Device is in a power save state but still functioning, and may exhibit degraded performance; 15 (\\'Power Save - Standby\\') describes that the Device is not functioning but could be brought to full power 'quickly'; and value 17 (\\'Power Save - Warning\\') indicates that the Device is in a warning state, though also in a power save mode.") scsi_protocol_controller__realizes__changer_device_index = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 7), uint32()).setLabel('scsiProtocolController-Realizes-ChangerDeviceIndex').setMaxAccess('readonly') if mibBuilder.loadTexts: scsiProtocolController_Realizes_ChangerDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolController_Realizes_ChangerDeviceIndex.setDescription('The current index value for the ChangerDeviceIndex that this scsiProtocolController is associated with. If no association exists an index of 0 may be returned.') scsi_protocol_controller__realizes__media_access_device_index = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 12, 2, 1, 8), uint32()).setLabel('scsiProtocolController-Realizes-MediaAccessDeviceIndex').setMaxAccess('readonly') if mibBuilder.loadTexts: scsiProtocolController_Realizes_MediaAccessDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: scsiProtocolController_Realizes_MediaAccessDeviceIndex.setDescription('The current index value for the MediaAccessDeviceIndex that this scsiProtocolController is associated with. If no association exists an index of 0 may be returned.') storage_media_location_group = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13)) number_of_storage_media_locations = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberOfStorageMediaLocations.setStatus('mandatory') if mibBuilder.loadTexts: numberOfStorageMediaLocations.setDescription('This value specifies the number of StorageMediaLocations that are present.') number_of_physical_medias = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberOfPhysicalMedias.setStatus('mandatory') if mibBuilder.loadTexts: numberOfPhysicalMedias.setDescription('This value specifies the number of PhysicalMedia that are present.') storage_media_location_table = mib_table((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3)) if mibBuilder.loadTexts: storageMediaLocationTable.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocationTable.setDescription("StorageMediaLocation represents a possible location for an instance of PhysicalMedia. PhysicalMedia represents any type of documentation or storage medium, such as tapes, CDROMs, etc. This class is typically used to locate and manage Removable Media (versus Media sealed with the MediaAccessDevice, as a single Package, as is the case with hard disks). However, 'sealed' Media can also be modeled using this class, where the Media would then be associated with the PhysicalPackage using the PackagedComponent relationship. ") storage_media_location_entry = mib_table_row((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1)).setIndexNames((0, 'SNIA-SML-MIB', 'storageMediaLocationIndex')) if mibBuilder.loadTexts: storageMediaLocationEntry.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocationEntry.setDescription('Each entry in the table contains information about a StorageMediaLocation that is present in the library.') storage_media_location_index = mib_table_column((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 1), uint32()).setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocationIndex.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocationIndex.setDescription('The current index value for the StorageMediaLocation.') storage_media_location__tag = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('storageMediaLocation-Tag').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_Tag.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_Tag.setDescription("An arbitrary string that uniquely identifies the Physical Element and serves as the Element's key. The Tag property can contain information such as asset tag or serial number data. The key for PhysicalElement is placed very high in the object hierarchy in order to independently identify the hardware/entity, regardless of physical placement in or on Cabinets, Adapters, etc. For example, a hotswappable or removeable component may be taken from its containing (scoping) Package and be temporarily unused. The object still continues to exist - and may even be inserted into a different scoping container. Therefore, the key for Physical Element is an arbitrary string and is defined independently of any placement or location-oriented hierarchy.") storage_media_location__location_type = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('unknown', 0), ('other', 1), ('slot', 2), ('magazine', 3), ('mediaAccessDevice', 4), ('interLibraryPort', 5), ('limitedAccessPort', 6), ('door', 7), ('shelf', 8), ('vault', 9)))).setLabel('storageMediaLocation-LocationType').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_LocationType.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_LocationType.setDescription("The type of Location. For example, whether this is an individual Media \\'Slot\\' (value=2), a MediaAccessDevice (value=4) or a \\'Magazine\\' (value=3) is indicated in this property.") storage_media_location__location_coordinates = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('storageMediaLocation-LocationCoordinates').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_LocationCoordinates.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_LocationCoordinates.setDescription('LocationCoordinates represent the physical location of the the FrameSlot instance. The property is defined as a free-form string to allow the location information to be described in vendor-unique terminology.') storage_media_location__media_types_supported = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66))).clone(namedValues=named_values(('unknown', 0), ('other', 1), ('tape', 2), ('qic', 3), ('ait', 4), ('dtf', 5), ('dat', 6), ('eightmmTape', 7), ('nineteenmmTape', 8), ('dlt', 9), ('halfInchMO', 10), ('catridgeDisk', 11), ('jazDisk', 12), ('zipDisk', 13), ('syQuestDisk', 14), ('winchesterDisk', 15), ('cdRom', 16), ('cdRomXA', 17), ('cdI', 18), ('cdRecordable', 19), ('wORM', 20), ('magneto-Optical', 21), ('dvd', 22), ('dvdRWPlus', 23), ('dvdRAM', 24), ('dvdROM', 25), ('dvdVideo', 26), ('divx', 27), ('floppyDiskette', 28), ('hardDisk', 29), ('memoryCard', 30), ('hardCopy', 31), ('clikDisk', 32), ('cdRW', 33), ('cdDA', 34), ('cdPlus', 35), ('dvdRecordable', 36), ('dvdRW', 37), ('dvdAudio', 38), ('dvd5', 39), ('dvd9', 40), ('dvd10', 41), ('dvd18', 42), ('moRewriteable', 43), ('moWriteOnce', 44), ('moLIMDOW', 45), ('phaseChangeWO', 46), ('phaseChangeRewriteable', 47), ('phaseChangeDualRewriteable', 48), ('ablativeWriteOnce', 49), ('nearField', 50), ('miniQic', 51), ('travan', 52), ('eightmmMetal', 53), ('eightmmAdvanced', 54), ('nctp', 55), ('ltoUltrium', 56), ('ltoAccelis', 57), ('tape9Track', 58), ('tape18Track', 59), ('tape36Track', 60), ('magstar3590', 61), ('magstarMP', 62), ('d2Tape', 63), ('dstSmall', 64), ('dstMedium', 65), ('dstLarge', 66)))).setLabel('storageMediaLocation-MediaTypesSupported').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_MediaTypesSupported.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_MediaTypesSupported.setDescription("Certain StorageMediaLocations may only be able to accept a limited set of PhysicalMedia MediaTypes. This property defines an array containing the types of Media that are acceptable for placement in the Location. Additional information and description of the contained MediaTypes can be provided using the TypesDescription array. Also, size data (for example, DVD disc diameter) can be specified using the MediaSizesSupported array. \\n \\n Values defined here correspond to those in the CIM_Physical Media.MediaType property. This allows quick comparisons using value equivalence calculations. It is understood that there is no external physical difference between (for example) DVD- Video and DVD-RAM. But, equivalent values in both the Physical Media and StorageMediaLocation enumerations allows for one for one comparisons with no additional processing logic (i.e., the following is not required ... if \\'DVD-Video\\' then value=\\'DVD\\').") storage_media_location__media_capacity = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 6), uint32()).setLabel('storageMediaLocation-MediaCapacity').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_MediaCapacity.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_MediaCapacity.setDescription('A StorageMediaLocation may hold more than one PhysicalMedia - for example, a Magazine. This property indicates the Physical Media capacity of the Location.') storage_media_location__association__changer_device_index = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 7), uint32()).setLabel('storageMediaLocation-Association-ChangerDeviceIndex').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_Association_ChangerDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_Association_ChangerDeviceIndex.setDescription('Experimental: The current index value for the ChangerDeviceIndex that this storageMediaLocation is associated with. If no association exists an index of 0 may be returned. This association allows a representation of the experimental ') storage_media_location__physical_media_present = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setLabel('storageMediaLocation-PhysicalMediaPresent').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMediaPresent.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMediaPresent.setDescription("'true' when Physical Media is present in this storage location. When this is 'false' -physicalMedia- entries are undefined") storage_media_location__physical_media__removable = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('unknown', 0), ('true', 1), ('false', 2)))).setLabel('storageMediaLocation-PhysicalMedia-Removable').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Removable.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Removable.setDescription("A PhysicalComponent is Removable if it is designed to be taken in and out of the physical container in which it is normally found, without impairing the function of the overall packaging. A Component can still be Removable if power must be 'off' in order to perform the removal. If power can be 'on' and the Component removed, then the Element is both Removable and HotSwappable. For example, an upgradeable Processor chip is Removable.") storage_media_location__physical_media__replaceable = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('unknown', 0), ('true', 1), ('false', 2)))).setLabel('storageMediaLocation-PhysicalMedia-Replaceable').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Replaceable.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Replaceable.setDescription('A PhysicalComponent is Replaceable if it is possible to replace (FRU or upgrade) the Element with a physically different one. For example, some ComputerSystems allow the main Processor chip to be upgraded to one of a higher clock rating. In this case, the Processor is said to be Replaceable. All Removable Components are inherently Replaceable.') storage_media_location__physical_media__hot_swappable = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('unknown', 0), ('true', 1), ('false', 2)))).setLabel('storageMediaLocation-PhysicalMedia-HotSwappable').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_HotSwappable.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_HotSwappable.setDescription("A PhysicalComponent is HotSwappable if it is possible to replace the Element with a physically different but equivalent one while the containing Package has power applied to it (ie, is 'on'). For example, a fan Component may be designed to be HotSwappable. All HotSwappable Components are inherently Removable and Replaceable.") storage_media_location__physical_media__capacity = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 14), uint64()).setLabel('storageMediaLocation-PhysicalMedia-Capacity').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Capacity.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Capacity.setDescription("The number of bytes that can be read from or written to a Media. This property is not applicable to 'Hard Copy' (documentation) or cleaner Media. Data compression should not be assumed, as it would increase the value in this property. For tapes, it should be assumed that no filemarks or blank space areas are recorded on the Media.") storage_media_location__physical_media__media_type = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66))).clone(namedValues=named_values(('unknown', 0), ('other', 1), ('tape', 2), ('qic', 3), ('ait', 4), ('dtf', 5), ('dat', 6), ('eightmmTape', 7), ('nineteenmmTape', 8), ('dlt', 9), ('halfInchMO', 10), ('catridgeDisk', 11), ('jazDisk', 12), ('zipDisk', 13), ('syQuestDisk', 14), ('winchesterDisk', 15), ('cdRom', 16), ('cdRomXA', 17), ('cdI', 18), ('cdRecordable', 19), ('wORM', 20), ('magneto-Optical', 21), ('dvd', 22), ('dvdRWPlus', 23), ('dvdRAM', 24), ('dvdROM', 25), ('dvdVideo', 26), ('divx', 27), ('floppyDiskette', 28), ('hardDisk', 29), ('memoryCard', 30), ('hardCopy', 31), ('clikDisk', 32), ('cdRW', 33), ('cdDA', 34), ('cdPlus', 35), ('dvdRecordable', 36), ('dvdRW', 37), ('dvdAudio', 38), ('dvd5', 39), ('dvd9', 40), ('dvd10', 41), ('dvd18', 42), ('moRewriteable', 43), ('moWriteOnce', 44), ('moLIMDOW', 45), ('phaseChangeWO', 46), ('phaseChangeRewriteable', 47), ('phaseChangeDualRewriteable', 48), ('ablativeWriteOnce', 49), ('nearField', 50), ('miniQic', 51), ('travan', 52), ('eightmmMetal', 53), ('eightmmAdvanced', 54), ('nctp', 55), ('ltoUltrium', 56), ('ltoAccelis', 57), ('tape9Track', 58), ('tape18Track', 59), ('tape36Track', 60), ('magstar3590', 61), ('magstarMP', 62), ('d2Tape', 63), ('dstSmall', 64), ('dstMedium', 65), ('dstLarge', 66)))).setLabel('storageMediaLocation-PhysicalMedia-MediaType').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_MediaType.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_MediaType.setDescription('Specifies the type of the PhysicalMedia, as an enumerated integer. The MediaDescription property is used to provide more explicit definition of the Media type, whether it is pre-formatted, compatability features, etc.') storage_media_location__physical_media__media_description = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 16), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('storageMediaLocation-PhysicalMedia-MediaDescription').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_MediaDescription.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_MediaDescription.setDescription("Additional detail related to the MediaType enumeration. For example, if value 3 ('QIC Cartridge') is specified, this property could indicate whether the tape is wide or 1/4 inch, whether it is pre-formatted, whether it is Travan compatible, etc.") storage_media_location__physical_media__cleaner_media = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('unknown', 0), ('true', 1), ('false', 2)))).setLabel('storageMediaLocation-PhysicalMedia-CleanerMedia').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_CleanerMedia.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_CleanerMedia.setDescription('Boolean indicating that the PhysicalMedia is used for cleaning purposes and not data storage.') storage_media_location__physical_media__dual_sided = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('unknown', 0), ('true', 1), ('false', 2)))).setLabel('storageMediaLocation-PhysicalMedia-DualSided').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_DualSided.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_DualSided.setDescription('Boolean indicating that the Media has two recording sides (TRUE) or only a single side (FALSE). Examples of dual sided Media include DVD-ROM and some optical disks. Examples of single sided Media are tapes and CD-ROM.') storage_media_location__physical_media__physical_label = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 19), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('storageMediaLocation-PhysicalMedia-PhysicalLabel').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_PhysicalLabel.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_PhysicalLabel.setDescription("One or more strings on 'labels' on the PhysicalMedia. The format of the labels and their state (readable, unreadable, upside-down) are indicated in the LabelFormats and LabelStates array properties.") storage_media_location__physical_media__tag = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 13, 3, 1, 20), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('storageMediaLocation-PhysicalMedia-Tag').setMaxAccess('readonly') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Tag.setStatus('mandatory') if mibBuilder.loadTexts: storageMediaLocation_PhysicalMedia_Tag.setDescription("An arbitrary string that uniquely identifies the Physical Element and serves as the Element's key. The Tag property can contain information such as asset tag or serial data. The key for PhysicalElement is placed very high in number the object hierarchy in order to independently identify the hardware/entity, regardless of physical placement in or on Cabinets, Adapters, etc. For example, a hotswappable or removeable component may be taken from its containing (scoping) Package and be temporarily unused. The object still continues to exist - and may even be inserted into a different scoping container. Therefore, the key for Physical Element is an arbitrary string and is defined independently of any placement or location-oriented hierarchy.") limited_access_port_group = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14)) number_oflimited_access_ports = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberOflimitedAccessPorts.setStatus('mandatory') if mibBuilder.loadTexts: numberOflimitedAccessPorts.setDescription('This value specifies the number of limitedAccessPorts that are present.') limited_access_port_table = mib_table((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2)) if mibBuilder.loadTexts: limitedAccessPortTable.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPortTable.setDescription('The limitedAccessPort class represents limitedAccessPorts in the library') limited_access_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1)).setIndexNames((0, 'SNIA-SML-MIB', 'limitedAccessPortIndex')) if mibBuilder.loadTexts: limitedAccessPortEntry.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPortEntry.setDescription('Each entry in the table contains information about a limitedAccessPort that is present in the library.') limited_access_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1, 1), uint32()).setMaxAccess('readonly') if mibBuilder.loadTexts: limitedAccessPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPortIndex.setDescription('The current index value for the limitedAccessPort.') limited_access_port__device_id = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('limitedAccessPort-DeviceID').setMaxAccess('readonly') if mibBuilder.loadTexts: limitedAccessPort_DeviceID.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPort_DeviceID.setDescription('An address or other identifying information to uniquely name the LogicalDevice.') limited_access_port__extended = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setLabel('limitedAccessPort-Extended').setMaxAccess('readonly') if mibBuilder.loadTexts: limitedAccessPort_Extended.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPort_Extended.setDescription("When a Port is 'Extended' or 'open' (value=TRUE), its Storage MediaLocations are accessible to a human operator. If not extended (value=FALSE), the Locations are accessible to a PickerElement.") limited_access_port__element_name = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('limitedAccessPort-ElementName').setMaxAccess('readonly') if mibBuilder.loadTexts: limitedAccessPort_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPort_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") limited_access_port__caption = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('limitedAccessPort-Caption').setMaxAccess('readonly') if mibBuilder.loadTexts: limitedAccessPort_Caption.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPort_Caption.setDescription('The Caption property is a short textual description (one- line string) of the object.') limited_access_port__description = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('limitedAccessPort-Description').setMaxAccess('readonly') if mibBuilder.loadTexts: limitedAccessPort_Description.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPort_Description.setDescription('The Description property provides a textual description of the object.') limited_access_port__realizes__storage_location_index = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 14, 2, 1, 7), uint32()).setLabel('limitedAccessPort-Realizes-StorageLocationIndex').setMaxAccess('readonly') if mibBuilder.loadTexts: limitedAccessPort_Realizes_StorageLocationIndex.setStatus('mandatory') if mibBuilder.loadTexts: limitedAccessPort_Realizes_StorageLocationIndex.setDescription('The current index value for the storageMediaLocationIndex that this limitedAccessPort is associated with. If no association exists an index of 0 may be returned.') f_c_port_group = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15)) number_off_c_ports = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberOffCPorts.setStatus('mandatory') if mibBuilder.loadTexts: numberOffCPorts.setDescription('This value specifies the number of fcPorts that are present.') f_c_port_table = mib_table((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2)) if mibBuilder.loadTexts: fCPortTable.setStatus('mandatory') if mibBuilder.loadTexts: fCPortTable.setDescription('The fcPort class represents Fibre Channel Ports in the library') f_c_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1)).setIndexNames((0, 'SNIA-SML-MIB', 'fCPortIndex')) if mibBuilder.loadTexts: fCPortEntry.setStatus('mandatory') if mibBuilder.loadTexts: fCPortEntry.setDescription('Each entry in the table contains information about an fcPort that is present in the library.') f_c_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 1), uint32()).setMaxAccess('readonly') if mibBuilder.loadTexts: fCPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: fCPortIndex.setDescription('The current index value for the fCPort.') f_c_port__device_id = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('fCPort-DeviceID').setMaxAccess('readonly') if mibBuilder.loadTexts: fCPort_DeviceID.setStatus('mandatory') if mibBuilder.loadTexts: fCPort_DeviceID.setDescription('An address or other identifying information to uniquely name the LogicalDevice.') f_c_port__element_name = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('fCPort-ElementName').setMaxAccess('readonly') if mibBuilder.loadTexts: fCPort_ElementName.setStatus('mandatory') if mibBuilder.loadTexts: fCPort_ElementName.setDescription("A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information. Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.") f_c_port__caption = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('fCPort-Caption').setMaxAccess('readonly') if mibBuilder.loadTexts: fCPort_Caption.setStatus('mandatory') if mibBuilder.loadTexts: fCPort_Caption.setDescription('The Caption property is a short textual description (one- line string) of the object.') f_c_port__description = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setLabel('fCPort-Description').setMaxAccess('readonly') if mibBuilder.loadTexts: fCPort_Description.setStatus('mandatory') if mibBuilder.loadTexts: fCPort_Description.setDescription('The Description property provides a textual description of the object.') f_c_port_controller__operational_status = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=named_values(('unknown', 0), ('other', 1), ('ok', 2), ('degraded', 3), ('stressed', 4), ('predictiveFailure', 5), ('error', 6), ('non-RecoverableError', 7), ('starting', 8), ('stopping', 9), ('stopped', 10), ('inService', 11), ('noContact', 12), ('lostCommunication', 13), ('aborted', 14), ('dormant', 15), ('supportingEntityInError', 16), ('completed', 17), ('powerMode', 18), ('dMTFReserved', 19), ('vendorReserved', 32768)))).setLabel('fCPortController-OperationalStatus').setMaxAccess('readonly') if mibBuilder.loadTexts: fCPortController_OperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: fCPortController_OperationalStatus.setDescription("Indicates the current status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element. SMI-S 1.1 Section 8.1.2.2.3 additional description for FC Ports OK - Port is online Error - Port has a failure Stopped - Port is disabled InService - Port is in Self Test Unknown") f_c_port__permanent_address = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setLabel('fCPort-PermanentAddress').setMaxAccess('readonly') if mibBuilder.loadTexts: fCPort_PermanentAddress.setStatus('mandatory') if mibBuilder.loadTexts: fCPort_PermanentAddress.setDescription("PermanentAddress defines the network address hardcoded into a port. This 'hardcoded' address may be changed via firmware upgrade or software configuration. If so, this field should be updated when the change is made. PermanentAddress should be left blank if no 'hardcoded' address exists for the NetworkAdapter. In SMI-S 1.1 table 1304 FCPorts are defined to use the port WWN as described in table 7.2.4.5.2 World Wide Name (i.e. FC Name_Identifier) FCPort Permanent Address property; no corresponding format property 16 un-separated upper case hex digits (e.g. '21000020372D3C73')") f_c_port__realizes_scsi_protocol_controller_index = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 15, 2, 1, 8), uint32()).setLabel('fCPort-Realizes-scsiProtocolControllerIndex').setMaxAccess('readonly') if mibBuilder.loadTexts: fCPort_Realizes_scsiProtocolControllerIndex.setStatus('mandatory') if mibBuilder.loadTexts: fCPort_Realizes_scsiProtocolControllerIndex.setDescription('The current index value for the scsiProtocolControllerIndex that this fCPort is associated with. If no association exists an index of 0 may be returned.') trap_group = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16)) traps_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trapsEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapsEnabled.setDescription('Set to enable sending traps') trap_drive_alert_summary = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60))).clone(namedValues=named_values(('readWarning', 1), ('writeWarning', 2), ('hardError', 3), ('media', 4), ('readFailure', 5), ('writeFailure', 6), ('mediaLife', 7), ('notDataGrade', 8), ('writeProtect', 9), ('noRemoval', 10), ('cleaningMedia', 11), ('unsupportedFormat', 12), ('recoverableSnappedTape', 13), ('unrecoverableSnappedTape', 14), ('memoryChipInCartridgeFailure', 15), ('forcedEject', 16), ('readOnlyFormat', 17), ('directoryCorruptedOnLoad', 18), ('nearingMediaLife', 19), ('cleanNow', 20), ('cleanPeriodic', 21), ('expiredCleaningMedia', 22), ('invalidCleaningMedia', 23), ('retentionRequested', 24), ('dualPortInterfaceError', 25), ('coolingFanError', 26), ('powerSupplyFailure', 27), ('powerConsumption', 28), ('driveMaintenance', 29), ('hardwareA', 30), ('hardwareB', 31), ('interface', 32), ('ejectMedia', 33), ('downloadFailure', 34), ('driveHumidity', 35), ('driveTemperature', 36), ('driveVoltage', 37), ('predictiveFailure', 38), ('diagnosticsRequired', 39), ('lostStatistics', 50), ('mediaDirectoryInvalidAtUnload', 51), ('mediaSystemAreaWriteFailure', 52), ('mediaSystemAreaReadFailure', 53), ('noStartOfData', 54), ('loadingFailure', 55), ('unrecoverableUnloadFailure', 56), ('automationInterfaceFailure', 57), ('firmwareFailure', 58), ('wormMediumIntegrityCheckFailed', 59), ('wormMediumOverwriteAttempted', 60)))).setMaxAccess('readonly') if mibBuilder.loadTexts: trapDriveAlertSummary.setStatus('mandatory') if mibBuilder.loadTexts: trapDriveAlertSummary.setDescription("Short summary of a media (tape, optical, etc.) driveAlert trap. Corresponds to the Number/Flag property of drive/autoloader alerts in the T10 TapeAlert Specification v3 (w/SSC-3 Enhancements) as modified by the EventSummary property in the SMI-S 1.1 section 8.1.8.25 LibraryAlert Events/Indications for Library Devices. In particular, all occurances of 'tape' have been replaced with 'media'. (This summary property has a 1 to 1 relationship to the CIM_AlertIndication.OtherAlertType property, and might be stored in the CIM_AlertIndication.Message property.)") trap__association__media_access_device_index = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 3), uint32()).setLabel('trap-Association-MediaAccessDeviceIndex').setMaxAccess('readonly') if mibBuilder.loadTexts: trap_Association_MediaAccessDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: trap_Association_MediaAccessDeviceIndex.setDescription('The current index value for the MediaAccessDeviceIndex that this changerAlert trap is associated with. If no association exists an index of 0 may be returned. ') trap_changer_alert_summary = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32))).clone(namedValues=named_values(('libraryHardwareA', 1), ('libraryHardwareB', 2), ('libraryHardwareC', 3), ('libraryHardwareD', 4), ('libraryDiagnosticsRequired', 5), ('libraryInterface', 6), ('failurePrediction', 7), ('libraryMaintenance', 8), ('libraryHumidityLimits', 9), ('libraryTemperatureLimits', 10), ('libraryVoltageLimits', 11), ('libraryStrayMedia', 12), ('libraryPickRetry', 13), ('libraryPlaceRetry', 14), ('libraryLoadRetry', 15), ('libraryDoor', 16), ('libraryMailslot', 17), ('libraryMagazine', 18), ('librarySecurity', 19), ('librarySecurityMode', 20), ('libraryOffline', 21), ('libraryDriveOffline', 22), ('libraryScanRetry', 23), ('libraryInventory', 24), ('libraryIllegalOperation', 25), ('dualPortInterfaceError', 26), ('coolingFanFailure', 27), ('powerSupply', 28), ('powerConsumption', 29), ('passThroughMechanismFailure', 30), ('cartridgeInPassThroughMechanism', 31), ('unreadableBarCodeLabels', 32)))).setMaxAccess('readonly') if mibBuilder.loadTexts: trapChangerAlertSummary.setStatus('mandatory') if mibBuilder.loadTexts: trapChangerAlertSummary.setDescription("Short summary of a changer (eg. robot) changerAlert trap. Corresponds to the Number/Flag property of stand-alone changer alerts in the T10 TapeAlert Specification v3 (w/SSC-3 Enhancements) as modified by the EventSummary property in the SMI-S 1.1 section 8.1.8.25 LibraryAlert Events/Indications for Library Devices. In particular, all occurances of 'tape' have been replaced with 'media'. (This summary property has a 1 to 1 relationship to the CIM_AlertIndication.OtherAlertType property, and might be stored in the CIM_AlertIndication.Message property.)") trap__association__changer_device_index = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 5), uint32()).setLabel('trap-Association-ChangerDeviceIndex').setMaxAccess('readonly') if mibBuilder.loadTexts: trap_Association_ChangerDeviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: trap_Association_ChangerDeviceIndex.setDescription('The current index value for the ChangerDeviceIndex that this changerAlert trap is associated with. If no association exists an index of 0 may be returned. ') trap_perceived_severity = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('unknown', 0), ('other', 1), ('information', 2), ('degradedWarning', 3), ('minor', 4), ('major', 5), ('critical', 6), ('fatalNonRecoverable', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: trapPerceivedSeverity.setStatus('mandatory') if mibBuilder.loadTexts: trapPerceivedSeverity.setDescription("An enumerated value that describes the severity of the Alert Indication from the notifier's point of view: 1 - Other, by CIM convention, is used to indicate that the Severity's value can be found in the OtherSeverity property. 3 - Degraded/Warning should be used when its appropriate to let the user decide if action is needed. 4 - Minor should be used to indicate action is needed, but the situation is not serious at this time. 5 - Major should be used to indicate action is needed NOW. 6 - Critical should be used to indicate action is needed NOW and the scope is broad (perhaps an imminent outage to a critical resource will result). 7 - Fatal/NonRecoverable should be used to indicate an error occurred, but it's too late to take remedial action. 2 and 0 - Information and Unknown (respectively) follow common usage. Literally, the AlertIndication is purely informational or its severity is simply unknown. This would have values described in SMI-S 1.1 section 8.1.8.25 LibraryAlert Events/Indications for Library Devices, the PerceivedSeverity column. These values are a superset of the Info/Warning/Critical values in the T10 TapeAlert Specification v3 (w/SSC-3 Enhancements) , and an SNMP agent may choose to only specify those if that's all that's available. (This corresponds to the CIM_AlertIndication.PerceivedSeverity property.)") trap_destination_table = mib_table((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 7)) if mibBuilder.loadTexts: trapDestinationTable.setStatus('mandatory') if mibBuilder.loadTexts: trapDestinationTable.setDescription('Table of client/manager desitinations which will receive traps') trap_destination_entry = mib_table_row((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 7, 1)).setIndexNames((0, 'SNIA-SML-MIB', 'numberOfTrapDestinations')) if mibBuilder.loadTexts: trapDestinationEntry.setStatus('mandatory') if mibBuilder.loadTexts: trapDestinationEntry.setDescription('Entry containing information needed to send traps to an SNMP client/manager') number_of_trap_destinations = mib_table_column((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 7, 1, 1), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: numberOfTrapDestinations.setStatus('mandatory') if mibBuilder.loadTexts: numberOfTrapDestinations.setDescription('This value specifies the number of trap destination SNMP clients/managers.') trap_destination_host_type = mib_table_column((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 7, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('iPv4', 1), ('iPv6', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trapDestinationHostType.setStatus('mandatory') if mibBuilder.loadTexts: trapDestinationHostType.setDescription('The type of addressing model to represent the network address (IPv4/IPv6)') trap_destination_host_addr = mib_table_column((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 7, 1, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: trapDestinationHostAddr.setStatus('mandatory') if mibBuilder.loadTexts: trapDestinationHostAddr.setDescription('The network address of this client/manager, to which the trap should be sent') trap_destination_port = mib_table_column((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 7, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trapDestinationPort.setStatus('mandatory') if mibBuilder.loadTexts: trapDestinationPort.setDescription('The port number where this client/manager is listening for traps.') drive_alert = notification_type((1, 3, 6, 1, 4, 1, 14851, 3, 1) + (0, 0)).setObjects(('SNIA-SML-MIB', 'trapDriveAlertSummary'), ('SNIA-SML-MIB', 'trap_Association_MediaAccessDeviceIndex'), ('SNIA-SML-MIB', 'trapPerceivedSeverity')) if mibBuilder.loadTexts: driveAlert.setDescription('A Drive/Autoloader Alert trap, based on the T10 TapeAlert Specification v3 (w/SSC-3 Enhancements) and SMI-S 1.1 section 8.1.8.25 LibraryAlert Events/Indications.') changer_alert = notification_type((1, 3, 6, 1, 4, 1, 14851, 3, 1) + (0, 1)).setObjects(('SNIA-SML-MIB', 'trapChangerAlertSummary'), ('SNIA-SML-MIB', 'trap_Association_ChangerDeviceIndex'), ('SNIA-SML-MIB', 'trapPerceivedSeverity')) if mibBuilder.loadTexts: changerAlert.setDescription('A Changer Device (eg. robot) Alert trap, based on the T10 TapeAlert Specification v3 (w/SSC-3 Enhancements) and SMI-S 1.1 section 8.1.8.25 LibraryAlert Events/Indications.') trap_objects = mib_identifier((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 8)) current_operational_status = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 8, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=named_values(('unknown', 0), ('other', 1), ('ok', 2), ('degraded', 3), ('stressed', 4), ('predictiveFailure', 5), ('error', 6), ('non-RecoverableError', 7), ('starting', 8), ('stopping', 9), ('stopped', 10), ('inService', 11), ('noContact', 12), ('lostCommunication', 13), ('aborted', 14), ('dormant', 15), ('supportingEntityInError', 16), ('completed', 17), ('powerMode', 18), ('dMTFReserved', 19), ('vendorReserved', 32768)))).setMaxAccess('readonly') if mibBuilder.loadTexts: currentOperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: currentOperationalStatus.setDescription("Indicates the previous status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element.") old_operational_status = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16, 8, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 32768))).clone(namedValues=named_values(('unknown', 0), ('other', 1), ('ok', 2), ('degraded', 3), ('stressed', 4), ('predictiveFailure', 5), ('error', 6), ('non-RecoverableError', 7), ('starting', 8), ('stopping', 9), ('stopped', 10), ('inService', 11), ('noContact', 12), ('lostCommunication', 13), ('aborted', 14), ('dormant', 15), ('supportingEntityInError', 16), ('completed', 17), ('powerMode', 18), ('dMTFReserved', 19), ('vendorReserved', 32768)))).setMaxAccess('readonly') if mibBuilder.loadTexts: oldOperationalStatus.setStatus('mandatory') if mibBuilder.loadTexts: oldOperationalStatus.setDescription("Indicates the previous status(es) of the element. Various health and operational statuses are defined. Many of the enumeration's values are self- explanatory. However, a few are not and are described in more detail. \\n 'Stressed' indicates that the element is functioning, but needs attention. Examples of 'Stressed' states are overload, overheated, etc. \\n 'Predictive Failure' indicates that an element is functioning nominally but predicting a failure in the near future. \\n 'In Service' describes an element being configured, maintained, cleaned, or otherwise administered. \\n 'No Contact' indicates that the monitoring system has knowledge of this element, but has never been able to establish communications with it. \\n 'Lost Communication' indicates that the ManagedSystem Element is known to exist and has been contacted successfully in the past, but is currently unreachable. \\n 'Stopped' and 'Aborted' are similar, although the former implies a clean and orderly stop, while the latter implies an abrupt stop where the element's state and configuration may need to be updated. \\n 'Dormant' indicates that the element is inactive or quiesced. \\n 'Supporting Entity in Error' describes that this element may be 'OK' but that another element, on which it is dependent, is in error. An example is a network service or endpoint that cannot function due to lower layer networking problems. \\n 'Completed' indicates the element has completed its operation. This value should be combined with either OK, Error, or Degraded so that a client can till if the complete operation passed (Completed with OK), and failure (Completed with Error). Completed with Degraded would imply the operation finished, but did not complete OK or report an error. \\n 'Power Mode' indicates the element has additional power model information contained in the Associated PowerManagementService association. \\n OperationalStatus replaces the Status property on ManagedSystemElement to provide a consistent approach to enumerations, to address implementation needs for an array property, and to provide a migration path from today's environment to the future. This change was not made earlier since it required the DEPRECATED qualifier. Due to the widespread use of the existing Status property in management applications, it is strongly RECOMMENDED that providers/instrumentation provide BOTH the Status and OperationalStatus properties. Further, the first value of OperationalStatus SHOULD contain the primary status for the element. When instrumented, Status (since it is single-valued) SHOULD also provide the primary status of the element.") library_added_trap = notification_type((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0, 3)).setObjects(('SNIA-SML-MIB', 'storageLibrary_Name')) if mibBuilder.loadTexts: libraryAddedTrap.setDescription('A library is added to the SMI-S agent. This trap is to support the SMI-S 1.1 section 8.1.8.23 InstCreation indication.') library_deleted_trap = notification_type((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0, 4)).setObjects(('SNIA-SML-MIB', 'storageLibrary_Name')) if mibBuilder.loadTexts: libraryDeletedTrap.setDescription('A library is deleted in the SMI-S agent. This trap is to support the SMI-S 1.1 section 8.1.8.23 InstDeletion indication.') library_op_status_changed_trap = notification_type((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0, 5)).setObjects(('SNIA-SML-MIB', 'storageLibrary_Name'), ('SNIA-SML-MIB', 'currentOperationalStatus'), ('SNIA-SML-MIB', 'oldOperationalStatus')) if mibBuilder.loadTexts: libraryOpStatusChangedTrap.setDescription('A library OperationalStatus has changed in the SMI-S agent. This trap is to support the SMI-S 1.1 section 8.1.8.23 InstModification indication.') drive_added_trap = notification_type((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0, 6)).setObjects(('SNIA-SML-MIB', 'storageLibrary_Name'), ('SNIA-SML-MIB', 'mediaAccessDevice_DeviceID')) if mibBuilder.loadTexts: driveAddedTrap.setDescription('A media access device (trap drive) is added to the library. This trap is to support the SMI-S 1.1 section 8.1.8.25 InstCreation indication.') drive_deleted_trap = notification_type((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0, 7)).setObjects(('SNIA-SML-MIB', 'storageLibrary_Name'), ('SNIA-SML-MIB', 'mediaAccessDevice_DeviceID')) if mibBuilder.loadTexts: driveDeletedTrap.setDescription('A media access device (trap drive) is deleted from the library. This trap is to support the SMI-S 1.1 section 8.1.8.25 InstDeletion indication.') drive_op_status_changed_trap = notification_type((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0, 8)).setObjects(('SNIA-SML-MIB', 'storageLibrary_Name'), ('SNIA-SML-MIB', 'mediaAccessDevice_DeviceID'), ('SNIA-SML-MIB', 'currentOperationalStatus'), ('SNIA-SML-MIB', 'oldOperationalStatus')) if mibBuilder.loadTexts: driveOpStatusChangedTrap.setDescription('A drive OperationalStatus has changed in the SMI-S agent. This trap is to support the SMI-S 1.1 section 8.1.8.23 InstModification indication.') changer_added_trap = notification_type((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0, 9)).setObjects(('SNIA-SML-MIB', 'storageLibrary_Name'), ('SNIA-SML-MIB', 'changerDevice_DeviceID')) if mibBuilder.loadTexts: changerAddedTrap.setDescription('A changer device is added to the library. This trap is to support the SMI-S 1.1 section 8.1.8.25 InstCreation indication.') changer_deleted_trap = notification_type((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0, 10)).setObjects(('SNIA-SML-MIB', 'storageLibrary_Name'), ('SNIA-SML-MIB', 'changerDevice_DeviceID')) if mibBuilder.loadTexts: changerDeletedTrap.setDescription('A changer device is deleted from the library. This trap is to support the SMI-S 1.1 section 8.1.8.25 InstDeletion indication.') changer_op_status_changed_trap = notification_type((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0, 11)).setObjects(('SNIA-SML-MIB', 'storageLibrary_Name'), ('SNIA-SML-MIB', 'changerDevice_DeviceID'), ('SNIA-SML-MIB', 'currentOperationalStatus'), ('SNIA-SML-MIB', 'oldOperationalStatus')) if mibBuilder.loadTexts: changerOpStatusChangedTrap.setDescription('A changer OperationalStatus has changed in the SMI-S agent. This trap is to support the SMI-S 1.1 section 8.1.8.23 InstModification indication.') physical_media_added_trap = notification_type((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0, 12)).setObjects(('SNIA-SML-MIB', 'storageMediaLocation_PhysicalMedia_Tag')) if mibBuilder.loadTexts: physicalMediaAddedTrap.setDescription('A physical media is added to the library. This trap is to support the SMI-S 1.1 section 8.1.8.25 InstCreation indication.') physical_media_deleted_trap = notification_type((1, 3, 6, 1, 4, 1, 14851, 3, 1, 16) + (0, 13)).setObjects(('SNIA-SML-MIB', 'storageMediaLocation_PhysicalMedia_Tag')) if mibBuilder.loadTexts: physicalMediaDeletedTrap.setDescription('A physical media is deleted from the library. This trap is to support the SMI-S 1.1 section 8.1.8.25 InstDeletion indication.') end_of_sml_mib = mib_scalar((1, 3, 6, 1, 4, 1, 14851, 3, 1, 17), object_identifier()) if mibBuilder.loadTexts: endOfSmlMib.setStatus('mandatory') if mibBuilder.loadTexts: endOfSmlMib.setDescription('Description here') mibBuilder.exportSymbols('SNIA-SML-MIB', mediaAccessDeviceObjectType=mediaAccessDeviceObjectType, softwareElementIndex=softwareElementIndex, subChassis_SecurityBreach=subChassis_SecurityBreach, storageLibrary_Caption=storageLibrary_Caption, fCPort_ElementName=fCPort_ElementName, scsiProtocolController_OperationalStatus=scsiProtocolController_OperationalStatus, product_IdentifyingNumber=product_IdentifyingNumber, mediaAccessDeviceIndex=mediaAccessDeviceIndex, storageMediaLocation_PhysicalMedia_Tag=storageMediaLocation_PhysicalMedia_Tag, trapChangerAlertSummary=trapChangerAlertSummary, scsiProtocolController_Realizes_ChangerDeviceIndex=scsiProtocolController_Realizes_ChangerDeviceIndex, trapDestinationTable=trapDestinationTable, trapDestinationHostType=trapDestinationHostType, mediaAccessDevice_Realizes_StorageLocationIndex=mediaAccessDevice_Realizes_StorageLocationIndex, mediaAccessDevice_Name=mediaAccessDevice_Name, softwareElement_SerialNumber=softwareElement_SerialNumber, changerDevice_DeviceID=changerDevice_DeviceID, scsiProtocolController_DeviceID=scsiProtocolController_DeviceID, scsiProtocolController_Description=scsiProtocolController_Description, fCPortGroup=fCPortGroup, mediaAccessDeviceGroup=mediaAccessDeviceGroup, scsiProtocolController_ElementName=scsiProtocolController_ElementName, chassisGroup=chassisGroup, scsiProtocolController_Availability=scsiProtocolController_Availability, limitedAccessPort_ElementName=limitedAccessPort_ElementName, scsiProtocolControllerTable=scsiProtocolControllerTable, limitedAccessPort_Realizes_StorageLocationIndex=limitedAccessPort_Realizes_StorageLocationIndex, storageLibrary_Status=storageLibrary_Status, subChassis_IsLocked=subChassis_IsLocked, limitedAccessPort_Caption=limitedAccessPort_Caption, chassis_SecurityBreach=chassis_SecurityBreach, fCPortIndex=fCPortIndex, scsiProtocolControllerIndex=scsiProtocolControllerIndex, numberOfSCSIProtocolControllers=numberOfSCSIProtocolControllers, storageMediaLocation_Tag=storageMediaLocation_Tag, softwareElement_SoftwareElementID=softwareElement_SoftwareElementID, chassis_LockPresent=chassis_LockPresent, softwareElement_Manufacturer=softwareElement_Manufacturer, UINT16=UINT16, snia=snia, numberOfPhysicalPackages=numberOfPhysicalPackages, subChassis_OperationalStatus=subChassis_OperationalStatus, storageMediaLocation_LocationCoordinates=storageMediaLocation_LocationCoordinates, UINT32=UINT32, storageMediaLocationIndex=storageMediaLocationIndex, numberOfMediaAccessDevices=numberOfMediaAccessDevices, storageMediaLocation_MediaCapacity=storageMediaLocation_MediaCapacity, storageMediaLocation_PhysicalMedia_DualSided=storageMediaLocation_PhysicalMedia_DualSided, storageLibrary_InstallDate=storageLibrary_InstallDate, computerSystem_Description=computerSystem_Description, softwareElement_CodeSet=softwareElement_CodeSet, computerSystem_Dedicated=computerSystem_Dedicated, subChassisIndex=subChassisIndex, changerDevice_ElementName=changerDevice_ElementName, numberOfsubChassis=numberOfsubChassis, changerDeviceIndex=changerDeviceIndex, storageMediaLocation_PhysicalMedia_Replaceable=storageMediaLocation_PhysicalMedia_Replaceable, fCPortTable=fCPortTable, common=common, storageMediaLocationTable=storageMediaLocationTable, chassis_IsLocked=chassis_IsLocked, subChassis_Tag=subChassis_Tag, mediaAccessDevice_Realizes_softwareElementIndex=mediaAccessDevice_Realizes_softwareElementIndex, subChassis_ElementName=subChassis_ElementName, chassis_Manufacturer=chassis_Manufacturer, computerSystem_NameFormat=computerSystem_NameFormat, mediaAccessDevice_NeedsCleaning=mediaAccessDevice_NeedsCleaning, limitedAccessPortIndex=limitedAccessPortIndex, limitedAccessPort_DeviceID=limitedAccessPort_DeviceID, subChassis_SerialNumber=subChassis_SerialNumber, fCPort_DeviceID=fCPort_DeviceID, driveAddedTrap=driveAddedTrap, physicalPackage_Tag=physicalPackage_Tag, physicalPackage_Realizes_MediaAccessDeviceIndex=physicalPackage_Realizes_MediaAccessDeviceIndex, computerSystem_Name=computerSystem_Name, computerSystemGroup=computerSystemGroup, storageMediaLocation_MediaTypesSupported=storageMediaLocation_MediaTypesSupported, storageMediaLocation_PhysicalMedia_CleanerMedia=storageMediaLocation_PhysicalMedia_CleanerMedia, driveOpStatusChangedTrap=driveOpStatusChangedTrap, UINT64=UINT64, softwareElement_IdentificationCode=softwareElement_IdentificationCode, trap_Association_ChangerDeviceIndex=trap_Association_ChangerDeviceIndex, subChassis_Manufacturer=subChassis_Manufacturer, trapDestinationPort=trapDestinationPort, smlRoot=smlRoot, storageMediaLocation_PhysicalMedia_Capacity=storageMediaLocation_PhysicalMedia_Capacity, mediaAccessDevice_Availability=mediaAccessDevice_Availability, fCPort_Realizes_scsiProtocolControllerIndex=fCPort_Realizes_scsiProtocolControllerIndex, storageMediaLocation_PhysicalMediaPresent=storageMediaLocation_PhysicalMediaPresent, changerOpStatusChangedTrap=changerOpStatusChangedTrap, physicalPackageTable=physicalPackageTable, fCPortController_OperationalStatus=fCPortController_OperationalStatus, chassis_ElementName=chassis_ElementName, trapDriveAlertSummary=trapDriveAlertSummary, trap_Association_MediaAccessDeviceIndex=trap_Association_MediaAccessDeviceIndex, softwareElementGroup=softwareElementGroup, changerDevice_Caption=changerDevice_Caption, fCPort_PermanentAddress=fCPort_PermanentAddress, endOfSmlMib=endOfSmlMib, trapDestinationHostAddr=trapDestinationHostAddr, changerAlert=changerAlert, softwareElement_BuildNumber=softwareElement_BuildNumber, softwareElement_LanguageEdition=softwareElement_LanguageEdition, fCPort_Description=fCPort_Description, product_ElementName=product_ElementName, changerDeviceGroup=changerDeviceGroup, libraryAddedTrap=libraryAddedTrap, softwareElementEntry=softwareElementEntry, physicalPackage_SerialNumber=physicalPackage_SerialNumber, storageMediaLocation_LocationType=storageMediaLocation_LocationType, softwareElement_Name=softwareElement_Name, numberOfChangerDevices=numberOfChangerDevices, fCPortEntry=fCPortEntry, computerSystem_PrimaryOwnerContact=computerSystem_PrimaryOwnerContact, mediaAccessDeviceEntry=mediaAccessDeviceEntry, product_Version=product_Version, storageMediaLocation_Association_ChangerDeviceIndex=storageMediaLocation_Association_ChangerDeviceIndex, mediaAccessDevice_DeviceID=mediaAccessDevice_DeviceID, chassis_Tag=chassis_Tag, physicalPackageEntry=physicalPackageEntry, limitedAccessPort_Extended=limitedAccessPort_Extended, product_Vendor=product_Vendor, changerDeviceEntry=changerDeviceEntry, changerDevice_MediaFlipSupported=changerDevice_MediaFlipSupported, changerDevice_Description=changerDevice_Description, driveAlert=driveAlert, physicalMediaAddedTrap=physicalMediaAddedTrap, physicalPackage_Manufacturer=physicalPackage_Manufacturer, computerSystem_ElementName=computerSystem_ElementName, softwareElement_InstanceID=softwareElement_InstanceID, mediaAccessDeviceTable=mediaAccessDeviceTable, physicalMediaDeletedTrap=physicalMediaDeletedTrap, limitedAccessPort_Description=limitedAccessPort_Description, subChassis_LockPresent=subChassis_LockPresent, storageMediaLocation_PhysicalMedia_Removable=storageMediaLocation_PhysicalMedia_Removable, storageMediaLocationEntry=storageMediaLocationEntry, limitedAccessPortGroup=limitedAccessPortGroup, experimental=experimental, mediaAccessDevice_Status=mediaAccessDevice_Status, currentOperationalStatus=currentOperationalStatus, storageLibrary_Description=storageLibrary_Description, computerSystem_Realizes_softwareElementIndex=computerSystem_Realizes_softwareElementIndex, subChassis_Model=subChassis_Model, fCPort_Caption=fCPort_Caption, computerSystem_PrimaryOwnerName=computerSystem_PrimaryOwnerName, libraries=libraries, computerSystem_OperationalStatus=computerSystem_OperationalStatus, product_Name=product_Name, chassis_SerialNumber=chassis_SerialNumber, changerDevice_OperationalStatus=changerDevice_OperationalStatus, trapsEnabled=trapsEnabled, CimDateTime=CimDateTime, softwareElement_Version=softwareElement_Version, trapDestinationEntry=trapDestinationEntry, numberOfPhysicalMedias=numberOfPhysicalMedias, mediaAccessDevice_PowerOnHours=mediaAccessDevice_PowerOnHours, numberOfSoftwareElements=numberOfSoftwareElements, scsiProtocolController_Realizes_MediaAccessDeviceIndex=scsiProtocolController_Realizes_MediaAccessDeviceIndex, mediaAccessDevice_TotalPowerOnHours=mediaAccessDevice_TotalPowerOnHours, storageMediaLocationGroup=storageMediaLocationGroup, changerDeletedTrap=changerDeletedTrap, libraryDeletedTrap=libraryDeletedTrap, changerAddedTrap=changerAddedTrap, scsiProtocolControllerEntry=scsiProtocolControllerEntry, smlCimVersion=smlCimVersion, physicalPackageGroup=physicalPackageGroup, trapGroup=trapGroup, numberOflimitedAccessPorts=numberOflimitedAccessPorts, numberOfTrapDestinations=numberOfTrapDestinations, numberOffCPorts=numberOffCPorts, libraryOpStatusChangedTrap=libraryOpStatusChangedTrap, subChassisTable=subChassisTable, subChassisEntry=subChassisEntry, storageMediaLocation_PhysicalMedia_HotSwappable=storageMediaLocation_PhysicalMedia_HotSwappable, changerDeviceTable=changerDeviceTable, storageMediaLocation_PhysicalMedia_MediaType=storageMediaLocation_PhysicalMedia_MediaType, softwareElementTable=softwareElementTable, storageMediaLocation_PhysicalMedia_PhysicalLabel=storageMediaLocation_PhysicalMedia_PhysicalLabel, trapObjects=trapObjects, subChassis_PackageType=subChassis_PackageType, computerSystem_Caption=computerSystem_Caption, trapPerceivedSeverity=trapPerceivedSeverity, mediaAccessDevice_MountCount=mediaAccessDevice_MountCount, scsiProtocolControllerGroup=scsiProtocolControllerGroup, smlMibVersion=smlMibVersion, physicalPackageIndex=physicalPackageIndex, changerDevice_Availability=changerDevice_Availability, storageLibraryGroup=storageLibraryGroup, numberOfStorageMediaLocations=numberOfStorageMediaLocations, oldOperationalStatus=oldOperationalStatus, mediaAccessDevice_OperationalStatus=mediaAccessDevice_OperationalStatus, limitedAccessPortEntry=limitedAccessPortEntry, UShortReal=UShortReal, productGroup=productGroup, limitedAccessPortTable=limitedAccessPortTable, physicalPackage_Model=physicalPackage_Model, storageLibrary_Name=storageLibrary_Name, storageMediaLocation_PhysicalMedia_MediaDescription=storageMediaLocation_PhysicalMedia_MediaDescription, changerDevice_Realizes_StorageLocationIndex=changerDevice_Realizes_StorageLocationIndex, driveDeletedTrap=driveDeletedTrap, chassis_Model=chassis_Model)
class Human(object): def __init__(self, first_name, last_name, age, gender): self.first_name = first_name self.last_name = last_name self.age = age self.gender = gender def as_dict(self): return { 'first_name': self.first_name, 'last_name': self.last_name, 'age': self.age, 'gender': self.gender }
class Human(object): def __init__(self, first_name, last_name, age, gender): self.first_name = first_name self.last_name = last_name self.age = age self.gender = gender def as_dict(self): return {'first_name': self.first_name, 'last_name': self.last_name, 'age': self.age, 'gender': self.gender}
class Solution: def countConsistentStrings(self, allowed: str, words: List[str]) -> int: consistent_strings = 0 for word in words: consistent = True for c in word: if c not in allowed: consistent = False break if consistent: consistent_strings += 1 return consistent_strings
class Solution: def count_consistent_strings(self, allowed: str, words: List[str]) -> int: consistent_strings = 0 for word in words: consistent = True for c in word: if c not in allowed: consistent = False break if consistent: consistent_strings += 1 return consistent_strings
motorcycles = ['honda', 'yamaha','suzuki'] print(motorcycles) #motorcycles[0] = 'ducati' motorcycles.append('ducati') print(motorcycles) motorcycles = [] motorcycles.append('honda') motorcycles.append('yamaha') motorcycles.append('suzuki') motorcycles.insert(0, 'ducati') print(motorcycles) del motorcycles[1] print(motorcycles)
motorcycles = ['honda', 'yamaha', 'suzuki'] print(motorcycles) motorcycles.append('ducati') print(motorcycles) motorcycles = [] motorcycles.append('honda') motorcycles.append('yamaha') motorcycles.append('suzuki') motorcycles.insert(0, 'ducati') print(motorcycles) del motorcycles[1] print(motorcycles)
# Requirements # Python 3.6+ # Torch 1.8+ class BertClassifier(nn.Module): def __init__(self, n): super(BertClassifier, self).__init__() self.bert = BertModel.from_pretrained('bert-base-cased') self.drop = nn.Dropout(p=0.3) self.out = nn.Linear(self.bert.config.hidden_size, n) def forward(self, input_ids, attention_mask): _, pooled_output = self.bert( input_ids=input_ids, attention_mask=attention_mask, return_dict=False) output = self.drop(pooled_output) return self.out(output)
class Bertclassifier(nn.Module): def __init__(self, n): super(BertClassifier, self).__init__() self.bert = BertModel.from_pretrained('bert-base-cased') self.drop = nn.Dropout(p=0.3) self.out = nn.Linear(self.bert.config.hidden_size, n) def forward(self, input_ids, attention_mask): (_, pooled_output) = self.bert(input_ids=input_ids, attention_mask=attention_mask, return_dict=False) output = self.drop(pooled_output) return self.out(output)
# type: ignore def test_func(): assert True
def test_func(): assert True
""" Data format for jointed energy and reserve management problem """ ALPHA = 0 BETA = 1 IG = 2 PG = 3 RUG = 4 RDG = 5
""" Data format for jointed energy and reserve management problem """ alpha = 0 beta = 1 ig = 2 pg = 3 rug = 4 rdg = 5
# V0 # V1 # https://blog.csdn.net/fuxuemingzhu/article/details/79460546 class Solution(object): def arrayNesting(self, nums): """ :type nums: List[int] :rtype: int """ visited = [False] * len(nums) ans = 0 for i in range(len(nums)): road = 0 while not visited[i]: road += 1 # order of below 2 lines of code is unchangeable visited[i] = True i = nums[i] ans = max(ans, road) return ans # V1' # http://bookshadow.com/weblog/2017/05/28/leetcode-array-nesting/ class Solution(object): def arrayNesting(self, nums): """ :type nums: List[int] :rtype: int """ def search(idx): cnt = 0 while nums[idx] >= 0: cnt += 1 next = nums[idx] nums[idx] = -1 idx = next return cnt ans = 0 for x in range(len(nums)): if nums[x] >= 0: ans = max(ans, search(x)) return ans # V2 # Time: O(n) # Space: O(1) class Solution(object): def arrayNesting(self, nums): """ :type nums: List[int] :rtype: int """ result = 0 for num in nums: if num is not None: start, count = num, 0 while nums[start] is not None: temp = start start = nums[start] nums[temp] = None count += 1 result = max(result, count) return result
class Solution(object): def array_nesting(self, nums): """ :type nums: List[int] :rtype: int """ visited = [False] * len(nums) ans = 0 for i in range(len(nums)): road = 0 while not visited[i]: road += 1 visited[i] = True i = nums[i] ans = max(ans, road) return ans class Solution(object): def array_nesting(self, nums): """ :type nums: List[int] :rtype: int """ def search(idx): cnt = 0 while nums[idx] >= 0: cnt += 1 next = nums[idx] nums[idx] = -1 idx = next return cnt ans = 0 for x in range(len(nums)): if nums[x] >= 0: ans = max(ans, search(x)) return ans class Solution(object): def array_nesting(self, nums): """ :type nums: List[int] :rtype: int """ result = 0 for num in nums: if num is not None: (start, count) = (num, 0) while nums[start] is not None: temp = start start = nums[start] nums[temp] = None count += 1 result = max(result, count) return result
class PropertyNotHoldsException(Exception): def __init__(self, property_text, last_proved_stacktrace): self.last_proved_stacktrace = last_proved_stacktrace message = "A property found not to hold:\n\t" message += property_text super().__init__(message) class ModelNotFoundException(Exception): pass
class Propertynotholdsexception(Exception): def __init__(self, property_text, last_proved_stacktrace): self.last_proved_stacktrace = last_proved_stacktrace message = 'A property found not to hold:\n\t' message += property_text super().__init__(message) class Modelnotfoundexception(Exception): pass
def range(minimo,maximo,step): lista=[] while minimo<maximo: lista+=[minimo] #lista.append(minimo) minimo+=step return lista print(range(2,10,2)) print(range(100,1000,100))
def range(minimo, maximo, step): lista = [] while minimo < maximo: lista += [minimo] minimo += step return lista print(range(2, 10, 2)) print(range(100, 1000, 100))