content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
class ServiceBase(object):
def __init__(self, protocol, ports, flags):
self.service_protocol = protocol
self.flags = flags
self.ports = ports
#TODO: check if return path needs to be enabled
self.enable_return_path = False
@property
def IsReturnPathEnabled(self):
return self.enable_return_path
@property
def IsApplicationLayerFilteringEnabled(self):
return self.enable_application_filtering
@property
def IsStatefulFilteringEnabled(self):
return False
@property
def Protocol(self):
return self.service_protocol
@property
def Ports(self):
return self.ports | class Servicebase(object):
def __init__(self, protocol, ports, flags):
self.service_protocol = protocol
self.flags = flags
self.ports = ports
self.enable_return_path = False
@property
def is_return_path_enabled(self):
return self.enable_return_path
@property
def is_application_layer_filtering_enabled(self):
return self.enable_application_filtering
@property
def is_stateful_filtering_enabled(self):
return False
@property
def protocol(self):
return self.service_protocol
@property
def ports(self):
return self.ports |
class Mode:
ANY = -1 #used in api to disable mode filtering
ALL = ANY
STD = 0
TAIKO = 1
CTB = 2
MANIA = 3
OSU = STD
CATCHTHEBEAT = CTB
LAST = MANIA
class Mods:
MASK_NM = 0
MASK_NF = 1 << 0
MASK_EZ = 1 << 1
MASK_TD = 1 << 2
MASK_HD = 1 << 3
MASK_HR = 1 << 4
MASK_SD = 1 << 5
MASK_DT = 1 << 6
MASK_RL = 1 << 7
MASK_HT = 1 << 8
MASK_NC = 1 << 9 # always used with DT
MASK_FL = 1 << 10
MASK_AUTO = 1 << 11
MASK_SO = 1 << 12
MASK_AP = 1 << 13
MASK_PF = 1 << 14
MASK_4K = 1 << 15
MASK_5K = 1 << 16
MASK_6K = 1 << 17
MASK_7K = 1 << 18
MASK_8K = 1 << 19
MASK_FI = 1 << 20
MASK_RD = 1 << 21
MASK_CINEMA = 1 << 22
MASK_TP = 1 << 23
MASK_9K = 1 << 24
MASK_COOP = 1 << 25
MASK_1K = 1 << 26
MASK_3K = 1 << 27
MASK_2K = 1 << 28
MASK_V2 = 1 << 29
MASK_KEYMODS = MASK_1K | MASK_2K | MASK_3K | MASK_4K | MASK_5K | MASK_6K | MASK_7K | MASK_8K | MASK_9K | MASK_COOP
MASK_AUTOUNRANKED = MASK_RL | MASK_AUTO | MASK_AP | MASK_CINEMA
MASK_MANIAUNRANKED = MASK_RD | MASK_COOP | MASK_1K | MASK_3K | MASK_2K
MASK_UNRANKED = MASK_AUTOUNRANKED | MASK_MANIAUNRANKED | MASK_TP | MASK_V2
MASK_SCOREINCREASE = MASK_HD | MASK_HR | MASK_DT | MASK_FL | MASK_FI
def __init__(self, mods=0):
self.mods = int(mods)
@property
def NM(self):
return self.mods == 0
NoMod = NM
noMod = NM
@property
def NF(self):
return (self.mods & self.MASK_NF) != 0
@NF.setter
def NF(self, val):
if val:
self.mods |= self.MASK_NF
else:
self.mods &= ~self.MASK_NF
NoFail = NF
noFail = NF
@property
def EZ(self):
return (self.mods & self.MASK_EZ) != 0
@EZ.setter
def EZ(self, val):
if val:
self.mods |= self.MASK_EZ
else:
self.mods &= ~self.MASK_EZ
Easy = EZ
easy = EZ
@property
def TD(self):
return (self.mods & self.MASK_TD) != 0
@TD.setter
def TD(self, val):
if val:
self.mods |= self.MASK_TD
else:
self.mods &= ~self.MASK_TD
TouchDevice = TD
touchDevice = TD
TouchScreen = TD
touchScreen = TD
Touchscreen = TD
touchscreen = TD
@property
def HD(self):
return (self.mods & self.MASK_HD) != 0
@HD.setter
def HD(self, val):
if val:
self.mods |= self.MASK_HD
else:
self.mods &= ~self.MASK_HD
Hidden = HD
hidden = HD
@property
def HR(self):
return (self.mods & self.MASK_HR) != 0
@HR.setter
def HR(self, val):
if val:
self.mods |= self.MASK_HR
else:
self.mods &= ~self.MASK_HR
HardRock = HR
hardRock = HR
@property
def SD(self):
return (self.mods & self.MASK_SD) != 0
@SD.setter
def SD(self, val):
if val:
self.mods |= self.MASK_SD
else:
self.mods &= ~self.MASK_SD
SuddenDeath = SD
suddenDeath = SD
@property
def DT(self):
return (self.mods & self.MASK_DT) != 0
@DT.setter
def DT(self, val):
if val:
self.mods |= self.MASK_DT
else:
self.mods &= ~self.MASK_DT
DoubleTime = DT
doubleTime = DT
@property
def RL(self):
return (self.mods & self.MASK_RL) != 0
@RL.setter
def RL(self, val):
if val:
self.mods |= self.MASK_RL
else:
self.mods &= ~self.MASK_RL
RX = RL
Relax = RL
relax = RL
@property
def HT(self):
return (self.mods & self.MASK_HT) != 0
@HT.setter
def HT(self, val):
if val:
self.mods |= self.MASK_HT
else:
self.mods &= ~self.MASK_HT
HalfTime = HT
halfTime = HT
@property
def NC(self):
return (self.mods & self.MASK_NC) != 0
@NC.setter
def NC(self, val):
if val:
self.mods |= self.MASK_NC
self.mods |= self.MASK_DT
else:
self.mods &= ~self.MASK_NC
NightCore = NC
nightCore = NC
Nightcore = NC
nightcore = NC
@property
def FL(self):
return (self.mods & self.MASK_FL) != 0
@FL.setter
def FL(self, val):
if val:
self.mods |= self.MASK_FL
else:
self.mods &= ~self.MASK_FL
Flashlight = FL
flashlight = FL
@property
def Auto(self):
return (self.mods & self.MASK_AUTO) != 0
@Auto.setter
def Auto(self, val):
if val:
self.mods |= self.MASK_AUTO
else:
self.mods &= ~self.MASK_AUTO
auto = Auto
@property
def SO(self):
return (self.mods & self.MASK_SO) != 0
@SO.setter
def SO(self, val):
if val:
self.mods |= self.MASK_SO
else:
self.mods &= ~self.MASK_SO
SpunOut = SO
spunOut = SO
SpinOut = SO
spinOut = SO
@property
def AP(self):
return (self.mods & self.MASK_AP) != 0
@AP.setter
def AP(self, val):
if val:
self.mods |= self.MASK_AP
else:
self.mods &= ~self.MASK_AP
AutoPilot = AP
autoPilot = AP
Autopilot = AP
autopilot = AP
@property
def PF(self):
return (self.mods & self.MASK_PF) != 0
@PF.setter
def PF(self, val):
if val:
self.mods |= self.MASK_PF
self.mods |= self.MASK_SD
else:
self.mods &= ~self.MASK_PF
Perfect = PF
perfect = PF
@property
def Mania4K(self):
return (self.mods & self.MASK_4K) != 0
@Mania4K.setter
def Mania4K(self, val):
if val:
self.mods |= self.MASK_4K
else:
self.mods &= ~self.MASK_4K
mania4K = Mania4K
Key4 = Mania4K
key4 = Mania4K
Mania4k = Mania4K
mania4k = Mania4K
@property
def Mania5K(self):
return (self.mods & self.MASK_5K) != 0
@Mania5K.setter
def Mania5K(self, val):
if val:
self.mods |= self.MASK_5K
else:
self.mods &= ~self.MASK_5K
mania5K = Mania5K
Key5 = Mania5K
key5 = Mania5K
Mania5k = Mania5K
mania5k = Mania5K
@property
def Mania6K(self):
return (self.mods & self.MASK_6K) != 0
@Mania6K.setter
def Mania6K(self, val):
if val:
self.mods |= self.MASK_6K
else:
self.mods &= ~self.MASK_6K
mania6K = Mania6K
Key6 = Mania6K
key6 = Mania6K
Mania6k = Mania6K
mania6k = Mania6K
@property
def Mania7K(self):
return (self.mods & self.MASK_7K) != 0
@Mania7K.setter
def Mania7K(self, val):
if val:
self.mods |= self.MASK_7K
else:
self.mods &= ~self.MASK_7K
mania7K = Mania7K
Key7 = Mania7K
key7 = Mania7K
Mania7k = Mania7K
mania7k = Mania7K
@property
def Mania8K(self):
return (self.mods & self.MASK_8K) != 0
@Mania8K.setter
def Mania8K(self, val):
if val:
self.mods |= self.MASK_8K
else:
self.mods &= ~self.MASK_8K
mania8K = Mania8K
Key8 = Mania8K
key8 = Mania8K
Mania8k = Mania8K
mania8k = Mania8K
@property
def FI(self):
return (self.mods & self.MASK_FI) != 0
@FI.setter
def FI(self, val):
if val:
self.mods |= self.MASK_FI
else:
self.mods &= ~self.MASK_FI
FadeIn = FI
fadeIn = FI
@property
def RD(self):
return (self.mods & self.MASK_RD) != 0
@RD.setter
def RD(self, val):
if val:
self.mods |= self.MASK_RD
else:
self.mods &= ~self.MASK_RD
Random = RD
random = RD
@property
def Cinema(self):
return (self.mods & self.MASK_CINEMA) != 0
@Cinema.setter
def Cinema(self, val):
if val:
self.mods |= self.MASK_CINEMA
else:
self.mods &= ~self.MASK_CINEMA
cinema = Cinema
@property
def TP(self):
return (self.mods & self.MASK_TP) != 0
@TP.setter
def TP(self, val):
if val:
self.mods |= self.MASK_TP
else:
self.mods &= ~self.MASK_TP
TargetPractice = TP
targetPractice = TP
@property
def Mania9K(self):
return (self.mods & self.MASK_9K) != 0
@Mania9K.setter
def Mania9K(self, val):
if val:
self.mods |= self.MASK_9K
else:
self.mods &= ~self.MASK_9K
mania9K = Mania9K
Key9 = Mania9K
key9 = Mania9K
Mania9k = Mania9K
mania9k = Mania9K
@property
def Coop(self):
return (self.mods & self.MASK_COOP) != 0
@Coop.setter
def Coop(self, val):
if val:
self.mods |= self.MASK_COOP
else:
self.mods &= ~self.MASK_COOP
coop = Coop
ManiaCoop = Coop
maniaCoop = Coop
@property
def Mania1K(self):
return (self.mods & self.MASK_1K) != 0
@Mania1K.setter
def Mania1K(self, val):
if val:
self.mods |= self.MASK_1K
else:
self.mods &= ~self.MASK_1K
mania1K = Mania1K
Key1 = Mania1K
key1 = Mania1K
Mania1k = Mania1K
mania1k = Mania1K
@property
def Mania3K(self):
return (self.mods & self.MASK_3K) != 0
@Mania3K.setter
def Mania3K(self, val):
if val:
self.mods |= self.MASK_3K
else:
self.mods &= ~self.MASK_3K
mania3K = Mania3K
Key3 = Mania3K
key3 = Mania3K
Mania3k = Mania3K
mania3k = Mania3K
@property
def Mania2K(self):
return (self.mods & self.MASK_2K) != 0
@Mania2K.setter
def Mania2K(self, val):
if val:
self.mods |= self.MASK_2K
else:
self.mods &= ~self.MASK_2K
mania2K = Mania2K
Key2 = Mania2K
key2 = Mania2K
Mania2k = Mania2K
mania2k = Mania2K
@property
def ScoreV2(self):
return (self.mods & self.MASK_ScoreV2) != 0
@ScoreV2.setter
def ScoreV2(self, val):
if val:
self.mods |= self.MASK_V2
else:
self.mods &= ~self.MASK_V2
scoreV2 = ScoreV2
scorev2 = ScoreV2
V2 = ScoreV2
@property
def Unranked(self):
return (self.mods & self.self.self.MASK_UNRANKED) != 0
unranked = Unranked
@property
def Ranked(self):
return not self.unranked
ranked = Ranked
def __int__(self):
return self.mods
class Rank:
XH = 0
SH = 1
X = 2
S = 3
A = 4
B = 5
C = 6
D = 7
F = 8
N = 9
| class Mode:
any = -1
all = ANY
std = 0
taiko = 1
ctb = 2
mania = 3
osu = STD
catchthebeat = CTB
last = MANIA
class Mods:
mask_nm = 0
mask_nf = 1 << 0
mask_ez = 1 << 1
mask_td = 1 << 2
mask_hd = 1 << 3
mask_hr = 1 << 4
mask_sd = 1 << 5
mask_dt = 1 << 6
mask_rl = 1 << 7
mask_ht = 1 << 8
mask_nc = 1 << 9
mask_fl = 1 << 10
mask_auto = 1 << 11
mask_so = 1 << 12
mask_ap = 1 << 13
mask_pf = 1 << 14
mask_4_k = 1 << 15
mask_5_k = 1 << 16
mask_6_k = 1 << 17
mask_7_k = 1 << 18
mask_8_k = 1 << 19
mask_fi = 1 << 20
mask_rd = 1 << 21
mask_cinema = 1 << 22
mask_tp = 1 << 23
mask_9_k = 1 << 24
mask_coop = 1 << 25
mask_1_k = 1 << 26
mask_3_k = 1 << 27
mask_2_k = 1 << 28
mask_v2 = 1 << 29
mask_keymods = MASK_1K | MASK_2K | MASK_3K | MASK_4K | MASK_5K | MASK_6K | MASK_7K | MASK_8K | MASK_9K | MASK_COOP
mask_autounranked = MASK_RL | MASK_AUTO | MASK_AP | MASK_CINEMA
mask_maniaunranked = MASK_RD | MASK_COOP | MASK_1K | MASK_3K | MASK_2K
mask_unranked = MASK_AUTOUNRANKED | MASK_MANIAUNRANKED | MASK_TP | MASK_V2
mask_scoreincrease = MASK_HD | MASK_HR | MASK_DT | MASK_FL | MASK_FI
def __init__(self, mods=0):
self.mods = int(mods)
@property
def nm(self):
return self.mods == 0
no_mod = NM
no_mod = NM
@property
def nf(self):
return self.mods & self.MASK_NF != 0
@NF.setter
def nf(self, val):
if val:
self.mods |= self.MASK_NF
else:
self.mods &= ~self.MASK_NF
no_fail = NF
no_fail = NF
@property
def ez(self):
return self.mods & self.MASK_EZ != 0
@EZ.setter
def ez(self, val):
if val:
self.mods |= self.MASK_EZ
else:
self.mods &= ~self.MASK_EZ
easy = EZ
easy = EZ
@property
def td(self):
return self.mods & self.MASK_TD != 0
@TD.setter
def td(self, val):
if val:
self.mods |= self.MASK_TD
else:
self.mods &= ~self.MASK_TD
touch_device = TD
touch_device = TD
touch_screen = TD
touch_screen = TD
touchscreen = TD
touchscreen = TD
@property
def hd(self):
return self.mods & self.MASK_HD != 0
@HD.setter
def hd(self, val):
if val:
self.mods |= self.MASK_HD
else:
self.mods &= ~self.MASK_HD
hidden = HD
hidden = HD
@property
def hr(self):
return self.mods & self.MASK_HR != 0
@HR.setter
def hr(self, val):
if val:
self.mods |= self.MASK_HR
else:
self.mods &= ~self.MASK_HR
hard_rock = HR
hard_rock = HR
@property
def sd(self):
return self.mods & self.MASK_SD != 0
@SD.setter
def sd(self, val):
if val:
self.mods |= self.MASK_SD
else:
self.mods &= ~self.MASK_SD
sudden_death = SD
sudden_death = SD
@property
def dt(self):
return self.mods & self.MASK_DT != 0
@DT.setter
def dt(self, val):
if val:
self.mods |= self.MASK_DT
else:
self.mods &= ~self.MASK_DT
double_time = DT
double_time = DT
@property
def rl(self):
return self.mods & self.MASK_RL != 0
@RL.setter
def rl(self, val):
if val:
self.mods |= self.MASK_RL
else:
self.mods &= ~self.MASK_RL
rx = RL
relax = RL
relax = RL
@property
def ht(self):
return self.mods & self.MASK_HT != 0
@HT.setter
def ht(self, val):
if val:
self.mods |= self.MASK_HT
else:
self.mods &= ~self.MASK_HT
half_time = HT
half_time = HT
@property
def nc(self):
return self.mods & self.MASK_NC != 0
@NC.setter
def nc(self, val):
if val:
self.mods |= self.MASK_NC
self.mods |= self.MASK_DT
else:
self.mods &= ~self.MASK_NC
night_core = NC
night_core = NC
nightcore = NC
nightcore = NC
@property
def fl(self):
return self.mods & self.MASK_FL != 0
@FL.setter
def fl(self, val):
if val:
self.mods |= self.MASK_FL
else:
self.mods &= ~self.MASK_FL
flashlight = FL
flashlight = FL
@property
def auto(self):
return self.mods & self.MASK_AUTO != 0
@Auto.setter
def auto(self, val):
if val:
self.mods |= self.MASK_AUTO
else:
self.mods &= ~self.MASK_AUTO
auto = Auto
@property
def so(self):
return self.mods & self.MASK_SO != 0
@SO.setter
def so(self, val):
if val:
self.mods |= self.MASK_SO
else:
self.mods &= ~self.MASK_SO
spun_out = SO
spun_out = SO
spin_out = SO
spin_out = SO
@property
def ap(self):
return self.mods & self.MASK_AP != 0
@AP.setter
def ap(self, val):
if val:
self.mods |= self.MASK_AP
else:
self.mods &= ~self.MASK_AP
auto_pilot = AP
auto_pilot = AP
autopilot = AP
autopilot = AP
@property
def pf(self):
return self.mods & self.MASK_PF != 0
@PF.setter
def pf(self, val):
if val:
self.mods |= self.MASK_PF
self.mods |= self.MASK_SD
else:
self.mods &= ~self.MASK_PF
perfect = PF
perfect = PF
@property
def mania4_k(self):
return self.mods & self.MASK_4K != 0
@Mania4K.setter
def mania4_k(self, val):
if val:
self.mods |= self.MASK_4K
else:
self.mods &= ~self.MASK_4K
mania4_k = Mania4K
key4 = Mania4K
key4 = Mania4K
mania4k = Mania4K
mania4k = Mania4K
@property
def mania5_k(self):
return self.mods & self.MASK_5K != 0
@Mania5K.setter
def mania5_k(self, val):
if val:
self.mods |= self.MASK_5K
else:
self.mods &= ~self.MASK_5K
mania5_k = Mania5K
key5 = Mania5K
key5 = Mania5K
mania5k = Mania5K
mania5k = Mania5K
@property
def mania6_k(self):
return self.mods & self.MASK_6K != 0
@Mania6K.setter
def mania6_k(self, val):
if val:
self.mods |= self.MASK_6K
else:
self.mods &= ~self.MASK_6K
mania6_k = Mania6K
key6 = Mania6K
key6 = Mania6K
mania6k = Mania6K
mania6k = Mania6K
@property
def mania7_k(self):
return self.mods & self.MASK_7K != 0
@Mania7K.setter
def mania7_k(self, val):
if val:
self.mods |= self.MASK_7K
else:
self.mods &= ~self.MASK_7K
mania7_k = Mania7K
key7 = Mania7K
key7 = Mania7K
mania7k = Mania7K
mania7k = Mania7K
@property
def mania8_k(self):
return self.mods & self.MASK_8K != 0
@Mania8K.setter
def mania8_k(self, val):
if val:
self.mods |= self.MASK_8K
else:
self.mods &= ~self.MASK_8K
mania8_k = Mania8K
key8 = Mania8K
key8 = Mania8K
mania8k = Mania8K
mania8k = Mania8K
@property
def fi(self):
return self.mods & self.MASK_FI != 0
@FI.setter
def fi(self, val):
if val:
self.mods |= self.MASK_FI
else:
self.mods &= ~self.MASK_FI
fade_in = FI
fade_in = FI
@property
def rd(self):
return self.mods & self.MASK_RD != 0
@RD.setter
def rd(self, val):
if val:
self.mods |= self.MASK_RD
else:
self.mods &= ~self.MASK_RD
random = RD
random = RD
@property
def cinema(self):
return self.mods & self.MASK_CINEMA != 0
@Cinema.setter
def cinema(self, val):
if val:
self.mods |= self.MASK_CINEMA
else:
self.mods &= ~self.MASK_CINEMA
cinema = Cinema
@property
def tp(self):
return self.mods & self.MASK_TP != 0
@TP.setter
def tp(self, val):
if val:
self.mods |= self.MASK_TP
else:
self.mods &= ~self.MASK_TP
target_practice = TP
target_practice = TP
@property
def mania9_k(self):
return self.mods & self.MASK_9K != 0
@Mania9K.setter
def mania9_k(self, val):
if val:
self.mods |= self.MASK_9K
else:
self.mods &= ~self.MASK_9K
mania9_k = Mania9K
key9 = Mania9K
key9 = Mania9K
mania9k = Mania9K
mania9k = Mania9K
@property
def coop(self):
return self.mods & self.MASK_COOP != 0
@Coop.setter
def coop(self, val):
if val:
self.mods |= self.MASK_COOP
else:
self.mods &= ~self.MASK_COOP
coop = Coop
mania_coop = Coop
mania_coop = Coop
@property
def mania1_k(self):
return self.mods & self.MASK_1K != 0
@Mania1K.setter
def mania1_k(self, val):
if val:
self.mods |= self.MASK_1K
else:
self.mods &= ~self.MASK_1K
mania1_k = Mania1K
key1 = Mania1K
key1 = Mania1K
mania1k = Mania1K
mania1k = Mania1K
@property
def mania3_k(self):
return self.mods & self.MASK_3K != 0
@Mania3K.setter
def mania3_k(self, val):
if val:
self.mods |= self.MASK_3K
else:
self.mods &= ~self.MASK_3K
mania3_k = Mania3K
key3 = Mania3K
key3 = Mania3K
mania3k = Mania3K
mania3k = Mania3K
@property
def mania2_k(self):
return self.mods & self.MASK_2K != 0
@Mania2K.setter
def mania2_k(self, val):
if val:
self.mods |= self.MASK_2K
else:
self.mods &= ~self.MASK_2K
mania2_k = Mania2K
key2 = Mania2K
key2 = Mania2K
mania2k = Mania2K
mania2k = Mania2K
@property
def score_v2(self):
return self.mods & self.MASK_ScoreV2 != 0
@ScoreV2.setter
def score_v2(self, val):
if val:
self.mods |= self.MASK_V2
else:
self.mods &= ~self.MASK_V2
score_v2 = ScoreV2
scorev2 = ScoreV2
v2 = ScoreV2
@property
def unranked(self):
return self.mods & self.self.self.MASK_UNRANKED != 0
unranked = Unranked
@property
def ranked(self):
return not self.unranked
ranked = Ranked
def __int__(self):
return self.mods
class Rank:
xh = 0
sh = 1
x = 2
s = 3
a = 4
b = 5
c = 6
d = 7
f = 8
n = 9 |
class MyTest:
def __init__(self):
self.__foo = 1
self.__bar = "hello"
def get_foo(self):
return self.__foo
def get_bar(self):
return self.__bar
| class Mytest:
def __init__(self):
self.__foo = 1
self.__bar = 'hello'
def get_foo(self):
return self.__foo
def get_bar(self):
return self.__bar |
number = int(input())
first = number%10
variable = number%100
second = variable//10
third = number//100
result = 2*(first*100 + second*10 + third)
print(result) | number = int(input())
first = number % 10
variable = number % 100
second = variable // 10
third = number // 100
result = 2 * (first * 100 + second * 10 + third)
print(result) |
#
# PySNMP MIB module PWG-IMAGING-COUNTER-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/PWG-IMAGING-COUNTER-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:34:17 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")
SingleValueConstraint, ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance")
NotificationType, ObjectIdentity, Counter32, ModuleIdentity, enterprises, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, Bits, Integer32, MibIdentifier, TimeTicks, Unsigned32, Gauge32, iso, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "ObjectIdentity", "Counter32", "ModuleIdentity", "enterprises", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "Bits", "Integer32", "MibIdentifier", "TimeTicks", "Unsigned32", "Gauge32", "iso", "IpAddress")
DateAndTime, DisplayString, TextualConvention, TruthValue, TimeStamp = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "DisplayString", "TextualConvention", "TruthValue", "TimeStamp")
imagingCounterMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 2699, 1, 3))
imagingCounterMIB.setRevisions(('2008-03-18 00:00', '2005-12-23 00:00',))
if mibBuilder.loadTexts: imagingCounterMIB.setLastUpdated('200803180000Z')
if mibBuilder.loadTexts: imagingCounterMIB.setOrganization('Printer Working Group, a Program of IEEE/ISTO')
icMIBNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 0))
icMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1))
icMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2))
icMIBObjectGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2))
icMIBNotificationGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 3))
class IcCounter32(TextualConvention, Integer32):
reference = "Section 5 'Counters' in PWG Imaging System Counters (PWG 5106.1); Section 4.1.12 'integer' datatype in IPP/1.1 (RFC 2911)."
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 2147483647)
class IcCounterEventTypeTC(TextualConvention, Integer32):
reference = "Section 5 'Counters' in PWG Imaging System Counters (PWG 5106.1); prtAlertCode in Printer MIB (RFC 1759/3805); PrtAlertCodeTC in IANA Printer MIB (RFC 3805 and http://www.iana.org/assignments/ianaprinter-mib)."
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))
namedValues = NamedValues(("other", 1), ("unknown", 2), ("counterCreated", 3), ("counterForErrors", 4), ("counterForWarnings", 5), ("counterReset", 6), ("counterWrap", 7), ("serviceCreated", 8), ("subunitCreated", 9), ("mediaUsedCreated", 10), ("serviceStateChanged", 11), ("subunitStatusChanged", 12), ("counterInterval", 13), ("counterThreshold", 14))
class IcPersistenceTC(TextualConvention, Integer32):
reference = "Section 5.1.3 'Persistence' in PWG Imaging System Counters (PWG 5106.1); prtMarkerLifeCount and prtMarkerPowerOnCount in Printer MIB (RFC 1759/3805)."
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))
namedValues = NamedValues(("other", 1), ("unknown", 2), ("lifetime", 3), ("powerOn", 4), ("reset", 5))
class IcServiceStateTC(TextualConvention, Integer32):
reference = 'printer-state in IPP/1.1 Model (RFC 2911); hrDeviceStatus in Host Resources MIB (RFC 2790).'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))
namedValues = NamedValues(("other", 1), ("unknown", 2), ("idle", 3), ("processing", 4), ("stopped", 5), ("testing", 6), ("down", 7))
class IcServiceTypeTC(TextualConvention, Integer32):
reference = "Section 4.2 'Imaging System Services' in PWG Imaging System Counters (PWG 5106.1); JmJobServiceTypesTC and jobServiceTypes in Job Mon MIB (RFC 2707)."
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))
namedValues = NamedValues(("other", 1), ("unknown", 2), ("systemTotals", 3), ("copy", 4), ("emailIn", 5), ("emailOut", 6), ("faxIn", 7), ("faxOut", 8), ("networkFaxIn", 9), ("networkFaxOut", 10), ("print", 11), ("scan", 12), ("transform", 13))
class IcSubunitStatusTC(TextualConvention, Integer32):
reference = "Section 2.2 'Printer Sub-Units' in Printer MIB v2 (RFC 3805); PrtSubUnitStatusTC in IANA Printer MIB (RFC 3805 and http://www.iana.org/assignments/ianaprinter-mib)."
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 126)
class IcSubunitTypeTC(TextualConvention, Integer32):
reference = "Section 4.4 'Counter Overview' in PWG Imaging System Counters (PWG 5106.1); Section 2.2 'Printer Sub-Units' and ptrAlertGroup in Printer MIB (RFC 1759/3805); PrtAlertGroupTC in IANA Printer MIB (RFC 3805 and http://www.iana.org/assignments/ianaprinter-mib); finDeviceType in Finisher MIB (RFC 3806); FinDeviceTypeTC in IANA Finisher MIB (RFC 3806 and http://www.iana.org/assignments/ianafinisher-mib)."
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 4, 6, 8, 9, 10, 13, 14, 15, 30, 40, 50, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 503, 504))
namedValues = NamedValues(("other", 1), ("unknown", 2), ("console", 4), ("cover", 6), ("inputTray", 8), ("outputTray", 9), ("marker", 10), ("mediaPath", 13), ("channel", 14), ("interpreter", 15), ("finisher", 30), ("interface", 40), ("scanner", 50), ("stapler", 302), ("stitcher", 303), ("folder", 304), ("binder", 305), ("trimmer", 306), ("dieCutter", 307), ("puncher", 308), ("perforater", 309), ("slitter", 310), ("separationCutter", 311), ("imprinter", 312), ("wrapper", 313), ("bander", 314), ("makeEnvelope", 315), ("stacker", 316), ("sheetRotator", 317), ("inserter", 318), ("scannerADF", 503), ("scannerPlaten", 504))
class IcWorkTypeTC(TextualConvention, Integer32):
reference = "Section 5.2 'Work Counters' in PWG Imaging System Counters (PWG 5106.1)."
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))
namedValues = NamedValues(("other", 1), ("unknown", 2), ("workTotals", 3), ("datastream", 4), ("auxiliary", 5), ("waste", 6), ("maintenance", 7))
icGeneral = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 1))
icGeneralNaturalLanguage = MibScalar((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63)).clone(hexValue="")).setMaxAccess("readonly")
if mibBuilder.loadTexts: icGeneralNaturalLanguage.setStatus('current')
icGeneralTotalServiceRecords = MibScalar((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 1, 2), IcCounter32()).setUnits('records').setMaxAccess("readonly")
if mibBuilder.loadTexts: icGeneralTotalServiceRecords.setStatus('current')
icGeneralTotalSubunitRecords = MibScalar((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 1, 3), IcCounter32()).setUnits('records').setMaxAccess("readonly")
if mibBuilder.loadTexts: icGeneralTotalSubunitRecords.setStatus('current')
icGeneralTotalMediaUsedRecords = MibScalar((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 1, 4), IcCounter32()).setUnits('records').setMaxAccess("readonly")
if mibBuilder.loadTexts: icGeneralTotalMediaUsedRecords.setStatus('current')
icKey = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2))
icKeyTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2, 1), )
if mibBuilder.loadTexts: icKeyTable.setStatus('current')
icKeyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2, 1, 1), ).setIndexNames((0, "PWG-IMAGING-COUNTER-MIB", "icKeyIndex"))
if mibBuilder.loadTexts: icKeyEntry.setStatus('current')
icKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icKeyIndex.setStatus('current')
icKeyServiceType = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2, 1, 1, 2), IcServiceTypeTC().clone('unknown')).setMaxAccess("readonly")
if mibBuilder.loadTexts: icKeyServiceType.setStatus('current')
icKeyServiceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: icKeyServiceIndex.setStatus('current')
icKeySubunitType = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2, 1, 1, 4), IcSubunitTypeTC().clone('unknown')).setMaxAccess("readonly")
if mibBuilder.loadTexts: icKeySubunitType.setStatus('current')
icKeySubunitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: icKeySubunitIndex.setStatus('current')
icService = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3))
icServiceTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1), )
if mibBuilder.loadTexts: icServiceTable.setStatus('current')
icServiceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1), ).setIndexNames((0, "PWG-IMAGING-COUNTER-MIB", "icServiceType"), (0, "PWG-IMAGING-COUNTER-MIB", "icServiceIndex"))
if mibBuilder.loadTexts: icServiceEntry.setStatus('current')
icServiceType = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 1), IcServiceTypeTC())
if mibBuilder.loadTexts: icServiceType.setStatus('current')
icServiceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icServiceIndex.setStatus('current')
icServiceKey = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: icServiceKey.setStatus('current')
icServiceInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone(hexValue="")).setMaxAccess("readonly")
if mibBuilder.loadTexts: icServiceInfo.setStatus('current')
icServiceJobSetIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))).setMaxAccess("readonly")
if mibBuilder.loadTexts: icServiceJobSetIndex.setStatus('current')
icServiceState = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 6), IcServiceStateTC().clone('unknown')).setMaxAccess("readonly")
if mibBuilder.loadTexts: icServiceState.setStatus('current')
icServiceStateMessage = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 7), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone(hexValue="")).setMaxAccess("readonly")
if mibBuilder.loadTexts: icServiceStateMessage.setStatus('current')
icServicePrtAlertIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: icServicePrtAlertIndex.setStatus('current')
icSubunit = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4))
icSubunitTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1), )
if mibBuilder.loadTexts: icSubunitTable.setStatus('current')
icSubunitEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1, 1), ).setIndexNames((0, "PWG-IMAGING-COUNTER-MIB", "icSubunitType"), (0, "PWG-IMAGING-COUNTER-MIB", "icSubunitIndex"))
if mibBuilder.loadTexts: icSubunitEntry.setStatus('current')
icSubunitType = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1, 1, 1), IcSubunitTypeTC())
if mibBuilder.loadTexts: icSubunitType.setStatus('current')
icSubunitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icSubunitIndex.setStatus('current')
icSubunitKey = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: icSubunitKey.setStatus('current')
icSubunitInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone(hexValue="")).setMaxAccess("readonly")
if mibBuilder.loadTexts: icSubunitInfo.setStatus('current')
icSubunitStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1, 1, 5), IcSubunitStatusTC().clone(5)).setMaxAccess("readonly")
if mibBuilder.loadTexts: icSubunitStatus.setStatus('current')
icSubunitStatusMessage = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1, 1, 6), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone(hexValue="")).setMaxAccess("readonly")
if mibBuilder.loadTexts: icSubunitStatusMessage.setStatus('current')
icTime = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5))
icTimeTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1), )
if mibBuilder.loadTexts: icTimeTable.setStatus('current')
icTimeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1, 1), ).setIndexNames((0, "PWG-IMAGING-COUNTER-MIB", "icTimeKeyIndex"), (0, "PWG-IMAGING-COUNTER-MIB", "icTimePersistence"))
if mibBuilder.loadTexts: icTimeEntry.setStatus('current')
icTimeKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icTimeKeyIndex.setStatus('current')
icTimePersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1, 1, 2), IcPersistenceTC())
if mibBuilder.loadTexts: icTimePersistence.setStatus('current')
icTimeTotalSeconds = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1, 1, 3), IcCounter32()).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: icTimeTotalSeconds.setStatus('current')
icTimeDownSeconds = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1, 1, 4), IcCounter32()).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: icTimeDownSeconds.setStatus('current')
icTimeMaintenanceSeconds = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1, 1, 5), IcCounter32()).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: icTimeMaintenanceSeconds.setStatus('current')
icTimeProcessingSeconds = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1, 1, 6), IcCounter32()).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: icTimeProcessingSeconds.setStatus('current')
icMonitor = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6))
icMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1), )
if mibBuilder.loadTexts: icMonitorTable.setStatus('current')
icMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1), ).setIndexNames((0, "PWG-IMAGING-COUNTER-MIB", "icMonitorKeyIndex"), (0, "PWG-IMAGING-COUNTER-MIB", "icMonitorPersistence"))
if mibBuilder.loadTexts: icMonitorEntry.setStatus('current')
icMonitorKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icMonitorKeyIndex.setStatus('current')
icMonitorPersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 2), IcPersistenceTC())
if mibBuilder.loadTexts: icMonitorPersistence.setStatus('current')
icMonitorConfigChanges = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 3), IcCounter32()).setUnits('changes').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMonitorConfigChanges.setStatus('current')
icMonitorTotalAlerts = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 4), IcCounter32()).setUnits('alerts').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMonitorTotalAlerts.setStatus('current')
icMonitorCriticalAlerts = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 5), IcCounter32()).setUnits('alerts').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMonitorCriticalAlerts.setStatus('current')
icMonitorAbortedJobs = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 6), IcCounter32()).setUnits('jobs').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMonitorAbortedJobs.setStatus('current')
icMonitorCanceledJobs = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 7), IcCounter32()).setUnits('jobs').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMonitorCanceledJobs.setStatus('current')
icMonitorCompletedJobs = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 8), IcCounter32()).setUnits('jobs').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMonitorCompletedJobs.setStatus('current')
icMonitorCompletedFinisherJobs = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 9), IcCounter32()).setUnits('jobs').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMonitorCompletedFinisherJobs.setStatus('current')
icMonitorMemoryAllocErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 10), IcCounter32()).setUnits('errors').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMonitorMemoryAllocErrors.setStatus('current')
icMonitorMemoryAllocWarnings = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 11), IcCounter32()).setUnits('warnings').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMonitorMemoryAllocWarnings.setStatus('current')
icMonitorStorageAllocErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 12), IcCounter32()).setUnits('errors').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMonitorStorageAllocErrors.setStatus('current')
icMonitorStorageAllocWarnings = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 13), IcCounter32()).setUnits('warnings').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMonitorStorageAllocWarnings.setStatus('current')
icMonitorLocalStorageKOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 14), IcCounter32()).setUnits('koctets').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMonitorLocalStorageKOctets.setStatus('current')
icMonitorRemoteStorageKOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 15), IcCounter32()).setUnits('koctets').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMonitorRemoteStorageKOctets.setStatus('current')
icImage = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7))
icImageTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1), )
if mibBuilder.loadTexts: icImageTable.setStatus('current')
icImageEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1, 1), ).setIndexNames((0, "PWG-IMAGING-COUNTER-MIB", "icImageKeyIndex"), (0, "PWG-IMAGING-COUNTER-MIB", "icImageWorkType"), (0, "PWG-IMAGING-COUNTER-MIB", "icImagePersistence"))
if mibBuilder.loadTexts: icImageEntry.setStatus('current')
icImageKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icImageKeyIndex.setStatus('current')
icImageWorkType = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1, 1, 2), IcWorkTypeTC())
if mibBuilder.loadTexts: icImageWorkType.setStatus('current')
icImagePersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1, 1, 3), IcPersistenceTC())
if mibBuilder.loadTexts: icImagePersistence.setStatus('current')
icImageTotalImages = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1, 1, 4), IcCounter32()).setUnits('images').setMaxAccess("readonly")
if mibBuilder.loadTexts: icImageTotalImages.setStatus('current')
icImageMonochromeImages = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1, 1, 5), IcCounter32()).setUnits('images').setMaxAccess("readonly")
if mibBuilder.loadTexts: icImageMonochromeImages.setStatus('current')
icImageFullColorImages = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1, 1, 6), IcCounter32()).setUnits('images').setMaxAccess("readonly")
if mibBuilder.loadTexts: icImageFullColorImages.setStatus('current')
icImpression = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8))
icImpressionTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1), )
if mibBuilder.loadTexts: icImpressionTable.setStatus('current')
icImpressionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1), ).setIndexNames((0, "PWG-IMAGING-COUNTER-MIB", "icImpressionKeyIndex"), (0, "PWG-IMAGING-COUNTER-MIB", "icImpressionWorkType"), (0, "PWG-IMAGING-COUNTER-MIB", "icImpressionPersistence"))
if mibBuilder.loadTexts: icImpressionEntry.setStatus('current')
icImpressionKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icImpressionKeyIndex.setStatus('current')
icImpressionWorkType = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 2), IcWorkTypeTC())
if mibBuilder.loadTexts: icImpressionWorkType.setStatus('current')
icImpressionPersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 3), IcPersistenceTC())
if mibBuilder.loadTexts: icImpressionPersistence.setStatus('current')
icImpressionTotalImps = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 4), IcCounter32()).setUnits('impressions').setMaxAccess("readonly")
if mibBuilder.loadTexts: icImpressionTotalImps.setStatus('current')
icImpressionMonochromeImps = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 5), IcCounter32()).setUnits('impressions').setMaxAccess("readonly")
if mibBuilder.loadTexts: icImpressionMonochromeImps.setStatus('current')
icImpressionBlankImps = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 6), IcCounter32()).setUnits('impressions').setMaxAccess("readonly")
if mibBuilder.loadTexts: icImpressionBlankImps.setStatus('current')
icImpressionFullColorImps = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 7), IcCounter32()).setUnits('impressions').setMaxAccess("readonly")
if mibBuilder.loadTexts: icImpressionFullColorImps.setStatus('current')
icImpressionHighlightColorImps = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 8), IcCounter32()).setUnits('impressions').setMaxAccess("readonly")
if mibBuilder.loadTexts: icImpressionHighlightColorImps.setStatus('current')
icTwoSided = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9))
icTwoSidedTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1), )
if mibBuilder.loadTexts: icTwoSidedTable.setStatus('current')
icTwoSidedEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1), ).setIndexNames((0, "PWG-IMAGING-COUNTER-MIB", "icTwoSidedKeyIndex"), (0, "PWG-IMAGING-COUNTER-MIB", "icTwoSidedWorkType"), (0, "PWG-IMAGING-COUNTER-MIB", "icTwoSidedPersistence"))
if mibBuilder.loadTexts: icTwoSidedEntry.setStatus('current')
icTwoSidedKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icTwoSidedKeyIndex.setStatus('current')
icTwoSidedWorkType = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 2), IcWorkTypeTC())
if mibBuilder.loadTexts: icTwoSidedWorkType.setStatus('current')
icTwoSidedPersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 3), IcPersistenceTC())
if mibBuilder.loadTexts: icTwoSidedPersistence.setStatus('current')
icTwoSidedTotalImps = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 4), IcCounter32()).setUnits('impressions').setMaxAccess("readonly")
if mibBuilder.loadTexts: icTwoSidedTotalImps.setStatus('current')
icTwoSidedMonochromeImps = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 5), IcCounter32()).setUnits('impressions').setMaxAccess("readonly")
if mibBuilder.loadTexts: icTwoSidedMonochromeImps.setStatus('current')
icTwoSidedBlankImps = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 6), IcCounter32()).setUnits('impressions').setMaxAccess("readonly")
if mibBuilder.loadTexts: icTwoSidedBlankImps.setStatus('current')
icTwoSidedFullColorImps = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 7), IcCounter32()).setUnits('impressions').setMaxAccess("readonly")
if mibBuilder.loadTexts: icTwoSidedFullColorImps.setStatus('current')
icTwoSidedHighlightColorImps = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 8), IcCounter32()).setUnits('impressions').setMaxAccess("readonly")
if mibBuilder.loadTexts: icTwoSidedHighlightColorImps.setStatus('current')
icSheet = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10))
icSheetTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1), )
if mibBuilder.loadTexts: icSheetTable.setStatus('current')
icSheetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1), ).setIndexNames((0, "PWG-IMAGING-COUNTER-MIB", "icSheetKeyIndex"), (0, "PWG-IMAGING-COUNTER-MIB", "icSheetWorkType"), (0, "PWG-IMAGING-COUNTER-MIB", "icSheetPersistence"))
if mibBuilder.loadTexts: icSheetEntry.setStatus('current')
icSheetKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icSheetKeyIndex.setStatus('current')
icSheetWorkType = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 2), IcWorkTypeTC())
if mibBuilder.loadTexts: icSheetWorkType.setStatus('current')
icSheetPersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 3), IcPersistenceTC())
if mibBuilder.loadTexts: icSheetPersistence.setStatus('current')
icSheetTotalSheets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 4), IcCounter32()).setUnits('sheets').setMaxAccess("readonly")
if mibBuilder.loadTexts: icSheetTotalSheets.setStatus('current')
icSheetMonochromeSheets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 5), IcCounter32()).setUnits('sheets').setMaxAccess("readonly")
if mibBuilder.loadTexts: icSheetMonochromeSheets.setStatus('current')
icSheetBlankSheets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 6), IcCounter32()).setUnits('sheets').setMaxAccess("readonly")
if mibBuilder.loadTexts: icSheetBlankSheets.setStatus('current')
icSheetFullColorSheets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 7), IcCounter32()).setUnits('sheets').setMaxAccess("readonly")
if mibBuilder.loadTexts: icSheetFullColorSheets.setStatus('current')
icSheetHighlightColorSheets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 8), IcCounter32()).setUnits('sheets').setMaxAccess("readonly")
if mibBuilder.loadTexts: icSheetHighlightColorSheets.setStatus('current')
icTraffic = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11))
icTrafficTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1), )
if mibBuilder.loadTexts: icTrafficTable.setStatus('current')
icTrafficEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1), ).setIndexNames((0, "PWG-IMAGING-COUNTER-MIB", "icTrafficKeyIndex"), (0, "PWG-IMAGING-COUNTER-MIB", "icTrafficWorkType"), (0, "PWG-IMAGING-COUNTER-MIB", "icTrafficPersistence"))
if mibBuilder.loadTexts: icTrafficEntry.setStatus('current')
icTrafficKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icTrafficKeyIndex.setStatus('current')
icTrafficWorkType = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1, 2), IcWorkTypeTC())
if mibBuilder.loadTexts: icTrafficWorkType.setStatus('current')
icTrafficPersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1, 3), IcPersistenceTC())
if mibBuilder.loadTexts: icTrafficPersistence.setStatus('current')
icTrafficInputKOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1, 4), IcCounter32()).setUnits('koctets').setMaxAccess("readonly")
if mibBuilder.loadTexts: icTrafficInputKOctets.setStatus('current')
icTrafficOutputKOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1, 5), IcCounter32()).setUnits('koctets').setMaxAccess("readonly")
if mibBuilder.loadTexts: icTrafficOutputKOctets.setStatus('current')
icTrafficInputMessages = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1, 6), IcCounter32()).setUnits('messages').setMaxAccess("readonly")
if mibBuilder.loadTexts: icTrafficInputMessages.setStatus('current')
icTrafficOutputMessages = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1, 7), IcCounter32()).setUnits('messages').setMaxAccess("readonly")
if mibBuilder.loadTexts: icTrafficOutputMessages.setStatus('current')
icMediaUsed = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12))
icMediaUsedTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1), )
if mibBuilder.loadTexts: icMediaUsedTable.setStatus('current')
icMediaUsedEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1), ).setIndexNames((0, "PWG-IMAGING-COUNTER-MIB", "icMediaUsedKeyIndex"), (0, "PWG-IMAGING-COUNTER-MIB", "icMediaUsedIndex"), (0, "PWG-IMAGING-COUNTER-MIB", "icMediaUsedPersistence"))
if mibBuilder.loadTexts: icMediaUsedEntry.setStatus('current')
icMediaUsedKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icMediaUsedKeyIndex.setStatus('current')
icMediaUsedIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icMediaUsedIndex.setStatus('current')
icMediaUsedPersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 3), IcPersistenceTC())
if mibBuilder.loadTexts: icMediaUsedPersistence.setStatus('current')
icMediaUsedTotalSheets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 4), IcCounter32()).setUnits('sheets').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMediaUsedTotalSheets.setStatus('current')
icMediaUsedMonochromeSheets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 5), IcCounter32()).setUnits('sheets').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMediaUsedMonochromeSheets.setStatus('current')
icMediaUsedBlankSheets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 6), IcCounter32()).setUnits('sheets').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMediaUsedBlankSheets.setStatus('current')
icMediaUsedFullColorSheets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 7), IcCounter32()).setUnits('sheets').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMediaUsedFullColorSheets.setStatus('current')
icMediaUsedHighlightColorSheets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 8), IcCounter32()).setUnits('sheets').setMaxAccess("readonly")
if mibBuilder.loadTexts: icMediaUsedHighlightColorSheets.setStatus('current')
icMediaUsedMediaSizeName = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: icMediaUsedMediaSizeName.setStatus('current')
icMediaUsedMediaInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 10), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone(hexValue="")).setMaxAccess("readonly")
if mibBuilder.loadTexts: icMediaUsedMediaInfo.setStatus('current')
icMediaUsedMediaName = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 11), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone(hexValue="")).setMaxAccess("readonly")
if mibBuilder.loadTexts: icMediaUsedMediaName.setStatus('current')
icMediaUsedMediaAccountingKey = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone(hexValue="")).setMaxAccess("readonly")
if mibBuilder.loadTexts: icMediaUsedMediaAccountingKey.setStatus('current')
icAlert = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13))
icAlertTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1), )
if mibBuilder.loadTexts: icAlertTable.setStatus('current')
icAlertEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1), ).setIndexNames((0, "PWG-IMAGING-COUNTER-MIB", "icAlertKeyIndex"), (0, "PWG-IMAGING-COUNTER-MIB", "icAlertIndex"), (0, "PWG-IMAGING-COUNTER-MIB", "icAlertPersistence"))
if mibBuilder.loadTexts: icAlertEntry.setStatus('current')
icAlertKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icAlertKeyIndex.setStatus('current')
icAlertIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icAlertIndex.setStatus('current')
icAlertPersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 3), IcPersistenceTC())
if mibBuilder.loadTexts: icAlertPersistence.setStatus('current')
icAlertCounterEventType = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 4), IcCounterEventTypeTC()).setMaxAccess("readonly")
if mibBuilder.loadTexts: icAlertCounterEventType.setStatus('current')
icAlertCounterName = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly")
if mibBuilder.loadTexts: icAlertCounterName.setStatus('current')
icAlertCounterValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 6), IcCounter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: icAlertCounterValue.setStatus('current')
icAlertDateAndTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 7), DateAndTime()).setMaxAccess("readonly")
if mibBuilder.loadTexts: icAlertDateAndTime.setStatus('current')
icAlertTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 8), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: icAlertTimeStamp.setStatus('current')
icAlertV2Trap = NotificationType((1, 3, 6, 1, 4, 1, 2699, 1, 3, 0, 1)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icAlertCounterEventType"), ("PWG-IMAGING-COUNTER-MIB", "icAlertCounterName"), ("PWG-IMAGING-COUNTER-MIB", "icAlertCounterValue"), ("PWG-IMAGING-COUNTER-MIB", "icAlertDateAndTime"))
if mibBuilder.loadTexts: icAlertV2Trap.setStatus('current')
icSubunitMap = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 14))
icSubunitMapTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 14, 1), )
if mibBuilder.loadTexts: icSubunitMapTable.setStatus('current')
icSubunitMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 14, 1, 1), ).setIndexNames((0, "PWG-IMAGING-COUNTER-MIB", "icSubunitMapServiceKeyIndex"), (0, "PWG-IMAGING-COUNTER-MIB", "icSubunitMapSubunitKeyIndex"))
if mibBuilder.loadTexts: icSubunitMapEntry.setStatus('current')
icSubunitMapServiceKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 14, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icSubunitMapServiceKeyIndex.setStatus('current')
icSubunitMapSubunitKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 14, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: icSubunitMapSubunitKeyIndex.setStatus('current')
icSubunitMapSubunitEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 14, 1, 1, 3), TruthValue().clone('false')).setMaxAccess("readonly")
if mibBuilder.loadTexts: icSubunitMapSubunitEnabled.setStatus('current')
icMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 1)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icGeneralGroup"), ("PWG-IMAGING-COUNTER-MIB", "icKeyGroup"), ("PWG-IMAGING-COUNTER-MIB", "icServiceGroup"), ("PWG-IMAGING-COUNTER-MIB", "icTimeGroup"), ("PWG-IMAGING-COUNTER-MIB", "icMonitorGroup"), ("PWG-IMAGING-COUNTER-MIB", "icSubunitGroup"), ("PWG-IMAGING-COUNTER-MIB", "icImageGroup"), ("PWG-IMAGING-COUNTER-MIB", "icImpressionGroup"), ("PWG-IMAGING-COUNTER-MIB", "icTwoSidedGroup"), ("PWG-IMAGING-COUNTER-MIB", "icSheetGroup"), ("PWG-IMAGING-COUNTER-MIB", "icTrafficGroup"), ("PWG-IMAGING-COUNTER-MIB", "icMediaUsedGroup"), ("PWG-IMAGING-COUNTER-MIB", "icAlertGroup"), ("PWG-IMAGING-COUNTER-MIB", "icAlertTrapGroup"), ("PWG-IMAGING-COUNTER-MIB", "icSubunitMapV2Group"), ("PWG-IMAGING-COUNTER-MIB", "icServiceV2Group"), ("PWG-IMAGING-COUNTER-MIB", "icSubunitV2Group"), ("PWG-IMAGING-COUNTER-MIB", "icMediaUsedV2Group"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icMIBCompliance = icMIBCompliance.setStatus('current')
icMIBStateCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 4)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icGeneralGroup"), ("PWG-IMAGING-COUNTER-MIB", "icKeyGroup"), ("PWG-IMAGING-COUNTER-MIB", "icServiceGroup"), ("PWG-IMAGING-COUNTER-MIB", "icServiceV2Group"), ("PWG-IMAGING-COUNTER-MIB", "icSubunitGroup"), ("PWG-IMAGING-COUNTER-MIB", "icSubunitV2Group"), ("PWG-IMAGING-COUNTER-MIB", "icSubunitMapV2Group"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icMIBStateCompliance = icMIBStateCompliance.setStatus('current')
icGeneralGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 1)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icGeneralNaturalLanguage"), ("PWG-IMAGING-COUNTER-MIB", "icGeneralTotalServiceRecords"), ("PWG-IMAGING-COUNTER-MIB", "icGeneralTotalSubunitRecords"), ("PWG-IMAGING-COUNTER-MIB", "icGeneralTotalMediaUsedRecords"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icGeneralGroup = icGeneralGroup.setStatus('current')
icKeyGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 2)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icKeyServiceType"), ("PWG-IMAGING-COUNTER-MIB", "icKeyServiceIndex"), ("PWG-IMAGING-COUNTER-MIB", "icKeySubunitType"), ("PWG-IMAGING-COUNTER-MIB", "icKeySubunitIndex"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icKeyGroup = icKeyGroup.setStatus('current')
icServiceGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 3)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icServiceKey"), ("PWG-IMAGING-COUNTER-MIB", "icServiceInfo"), ("PWG-IMAGING-COUNTER-MIB", "icServiceJobSetIndex"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icServiceGroup = icServiceGroup.setStatus('current')
icSubunitGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 4)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icSubunitKey"), ("PWG-IMAGING-COUNTER-MIB", "icSubunitInfo"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icSubunitGroup = icSubunitGroup.setStatus('current')
icTimeGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 5)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icTimeTotalSeconds"), ("PWG-IMAGING-COUNTER-MIB", "icTimeDownSeconds"), ("PWG-IMAGING-COUNTER-MIB", "icTimeMaintenanceSeconds"), ("PWG-IMAGING-COUNTER-MIB", "icTimeProcessingSeconds"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icTimeGroup = icTimeGroup.setStatus('current')
icMonitorGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 6)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icMonitorConfigChanges"), ("PWG-IMAGING-COUNTER-MIB", "icMonitorTotalAlerts"), ("PWG-IMAGING-COUNTER-MIB", "icMonitorCriticalAlerts"), ("PWG-IMAGING-COUNTER-MIB", "icMonitorAbortedJobs"), ("PWG-IMAGING-COUNTER-MIB", "icMonitorCanceledJobs"), ("PWG-IMAGING-COUNTER-MIB", "icMonitorCompletedJobs"), ("PWG-IMAGING-COUNTER-MIB", "icMonitorCompletedFinisherJobs"), ("PWG-IMAGING-COUNTER-MIB", "icMonitorMemoryAllocErrors"), ("PWG-IMAGING-COUNTER-MIB", "icMonitorMemoryAllocWarnings"), ("PWG-IMAGING-COUNTER-MIB", "icMonitorStorageAllocErrors"), ("PWG-IMAGING-COUNTER-MIB", "icMonitorStorageAllocWarnings"), ("PWG-IMAGING-COUNTER-MIB", "icMonitorLocalStorageKOctets"), ("PWG-IMAGING-COUNTER-MIB", "icMonitorRemoteStorageKOctets"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icMonitorGroup = icMonitorGroup.setStatus('current')
icImageGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 7)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icImageTotalImages"), ("PWG-IMAGING-COUNTER-MIB", "icImageMonochromeImages"), ("PWG-IMAGING-COUNTER-MIB", "icImageFullColorImages"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icImageGroup = icImageGroup.setStatus('current')
icImpressionGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 8)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icImpressionTotalImps"), ("PWG-IMAGING-COUNTER-MIB", "icImpressionMonochromeImps"), ("PWG-IMAGING-COUNTER-MIB", "icImpressionBlankImps"), ("PWG-IMAGING-COUNTER-MIB", "icImpressionFullColorImps"), ("PWG-IMAGING-COUNTER-MIB", "icImpressionHighlightColorImps"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icImpressionGroup = icImpressionGroup.setStatus('current')
icTwoSidedGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 9)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icTwoSidedTotalImps"), ("PWG-IMAGING-COUNTER-MIB", "icTwoSidedMonochromeImps"), ("PWG-IMAGING-COUNTER-MIB", "icTwoSidedBlankImps"), ("PWG-IMAGING-COUNTER-MIB", "icTwoSidedFullColorImps"), ("PWG-IMAGING-COUNTER-MIB", "icTwoSidedHighlightColorImps"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icTwoSidedGroup = icTwoSidedGroup.setStatus('current')
icSheetGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 10)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icSheetTotalSheets"), ("PWG-IMAGING-COUNTER-MIB", "icSheetMonochromeSheets"), ("PWG-IMAGING-COUNTER-MIB", "icSheetBlankSheets"), ("PWG-IMAGING-COUNTER-MIB", "icSheetFullColorSheets"), ("PWG-IMAGING-COUNTER-MIB", "icSheetHighlightColorSheets"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icSheetGroup = icSheetGroup.setStatus('current')
icTrafficGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 11)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icTrafficInputKOctets"), ("PWG-IMAGING-COUNTER-MIB", "icTrafficOutputKOctets"), ("PWG-IMAGING-COUNTER-MIB", "icTrafficInputMessages"), ("PWG-IMAGING-COUNTER-MIB", "icTrafficOutputMessages"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icTrafficGroup = icTrafficGroup.setStatus('current')
icMediaUsedGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 12)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icMediaUsedTotalSheets"), ("PWG-IMAGING-COUNTER-MIB", "icMediaUsedMonochromeSheets"), ("PWG-IMAGING-COUNTER-MIB", "icMediaUsedBlankSheets"), ("PWG-IMAGING-COUNTER-MIB", "icMediaUsedFullColorSheets"), ("PWG-IMAGING-COUNTER-MIB", "icMediaUsedHighlightColorSheets"), ("PWG-IMAGING-COUNTER-MIB", "icMediaUsedMediaSizeName"), ("PWG-IMAGING-COUNTER-MIB", "icMediaUsedMediaInfo"), ("PWG-IMAGING-COUNTER-MIB", "icMediaUsedMediaName"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icMediaUsedGroup = icMediaUsedGroup.setStatus('current')
icAlertGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 13)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icAlertCounterEventType"), ("PWG-IMAGING-COUNTER-MIB", "icAlertCounterName"), ("PWG-IMAGING-COUNTER-MIB", "icAlertCounterValue"), ("PWG-IMAGING-COUNTER-MIB", "icAlertDateAndTime"), ("PWG-IMAGING-COUNTER-MIB", "icAlertTimeStamp"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icAlertGroup = icAlertGroup.setStatus('current')
icAlertTrapGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 3, 1)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icAlertV2Trap"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icAlertTrapGroup = icAlertTrapGroup.setStatus('current')
icSubunitMapV2Group = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 14)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icSubunitMapSubunitEnabled"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icSubunitMapV2Group = icSubunitMapV2Group.setStatus('current')
icServiceV2Group = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 15)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icServiceState"), ("PWG-IMAGING-COUNTER-MIB", "icServiceStateMessage"), ("PWG-IMAGING-COUNTER-MIB", "icServicePrtAlertIndex"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icServiceV2Group = icServiceV2Group.setStatus('current')
icSubunitV2Group = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 16)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icSubunitStatus"), ("PWG-IMAGING-COUNTER-MIB", "icSubunitStatusMessage"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icSubunitV2Group = icSubunitV2Group.setStatus('current')
icMediaUsedV2Group = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 17)).setObjects(("PWG-IMAGING-COUNTER-MIB", "icMediaUsedMediaAccountingKey"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
icMediaUsedV2Group = icMediaUsedV2Group.setStatus('current')
mibBuilder.exportSymbols("PWG-IMAGING-COUNTER-MIB", icTrafficGroup=icTrafficGroup, icAlertCounterEventType=icAlertCounterEventType, icMonitorEntry=icMonitorEntry, icSheetKeyIndex=icSheetKeyIndex, icSubunitType=icSubunitType, icKey=icKey, icAlertV2Trap=icAlertV2Trap, icServicePrtAlertIndex=icServicePrtAlertIndex, icGeneralTotalServiceRecords=icGeneralTotalServiceRecords, icSubunitStatus=icSubunitStatus, icImageEntry=icImageEntry, icTrafficWorkType=icTrafficWorkType, icTwoSidedFullColorImps=icTwoSidedFullColorImps, icMediaUsedIndex=icMediaUsedIndex, icMIBConformance=icMIBConformance, icTwoSidedMonochromeImps=icTwoSidedMonochromeImps, icMediaUsedV2Group=icMediaUsedV2Group, icSheetTotalSheets=icSheetTotalSheets, icSheetBlankSheets=icSheetBlankSheets, icTrafficInputKOctets=icTrafficInputKOctets, icSheetHighlightColorSheets=icSheetHighlightColorSheets, icGeneralTotalSubunitRecords=icGeneralTotalSubunitRecords, icMIBObjectGroups=icMIBObjectGroups, icSubunitTable=icSubunitTable, icSheetEntry=icSheetEntry, icSubunitMap=icSubunitMap, icSubunitMapServiceKeyIndex=icSubunitMapServiceKeyIndex, icGeneralGroup=icGeneralGroup, icMonitorMemoryAllocWarnings=icMonitorMemoryAllocWarnings, icTimeEntry=icTimeEntry, icSheet=icSheet, icMonitorCanceledJobs=icMonitorCanceledJobs, icMIBNotificationGroups=icMIBNotificationGroups, icTrafficTable=icTrafficTable, icImageWorkType=icImageWorkType, icMonitorGroup=icMonitorGroup, icAlertTimeStamp=icAlertTimeStamp, icSubunitMapTable=icSubunitMapTable, IcSubunitStatusTC=IcSubunitStatusTC, icAlertTable=icAlertTable, PYSNMP_MODULE_ID=imagingCounterMIB, icMonitorKeyIndex=icMonitorKeyIndex, icServiceV2Group=icServiceV2Group, icMonitorMemoryAllocErrors=icMonitorMemoryAllocErrors, IcServiceTypeTC=IcServiceTypeTC, icSubunitMapSubunitKeyIndex=icSubunitMapSubunitKeyIndex, icMediaUsedMediaName=icMediaUsedMediaName, icAlertIndex=icAlertIndex, icImpressionTotalImps=icImpressionTotalImps, icSheetTable=icSheetTable, icMediaUsedTable=icMediaUsedTable, icTwoSidedTable=icTwoSidedTable, icTimeMaintenanceSeconds=icTimeMaintenanceSeconds, icMonitorConfigChanges=icMonitorConfigChanges, icImpressionPersistence=icImpressionPersistence, icService=icService, icMonitorStorageAllocWarnings=icMonitorStorageAllocWarnings, icTimeDownSeconds=icTimeDownSeconds, icImpressionFullColorImps=icImpressionFullColorImps, icGeneralTotalMediaUsedRecords=icGeneralTotalMediaUsedRecords, icKeySubunitType=icKeySubunitType, icSheetPersistence=icSheetPersistence, icServiceIndex=icServiceIndex, icImageGroup=icImageGroup, icImpressionTable=icImpressionTable, icSheetMonochromeSheets=icSheetMonochromeSheets, icServiceKey=icServiceKey, icTwoSidedTotalImps=icTwoSidedTotalImps, icTrafficKeyIndex=icTrafficKeyIndex, imagingCounterMIB=imagingCounterMIB, IcCounterEventTypeTC=IcCounterEventTypeTC, icKeySubunitIndex=icKeySubunitIndex, icImpressionGroup=icImpressionGroup, icMonitorStorageAllocErrors=icMonitorStorageAllocErrors, icSheetWorkType=icSheetWorkType, icMediaUsedMonochromeSheets=icMediaUsedMonochromeSheets, IcSubunitTypeTC=IcSubunitTypeTC, icMonitorTotalAlerts=icMonitorTotalAlerts, icSubunitV2Group=icSubunitV2Group, icMIBObjects=icMIBObjects, icTime=icTime, icMediaUsedMediaSizeName=icMediaUsedMediaSizeName, IcCounter32=IcCounter32, icServiceType=icServiceType, icMonitorPersistence=icMonitorPersistence, icMonitorRemoteStorageKOctets=icMonitorRemoteStorageKOctets, icMonitorCompletedFinisherJobs=icMonitorCompletedFinisherJobs, icSubunitIndex=icSubunitIndex, icTrafficOutputMessages=icTrafficOutputMessages, icTimeGroup=icTimeGroup, icAlertGroup=icAlertGroup, icMonitorCompletedJobs=icMonitorCompletedJobs, icAlertPersistence=icAlertPersistence, icAlertTrapGroup=icAlertTrapGroup, icKeyServiceType=icKeyServiceType, icMediaUsedBlankSheets=icMediaUsedBlankSheets, icAlertDateAndTime=icAlertDateAndTime, icSubunitInfo=icSubunitInfo, icImageKeyIndex=icImageKeyIndex, icMediaUsedMediaAccountingKey=icMediaUsedMediaAccountingKey, icImpression=icImpression, icAlert=icAlert, icSubunitMapV2Group=icSubunitMapV2Group, icServiceEntry=icServiceEntry, icSubunitEntry=icSubunitEntry, icMediaUsedGroup=icMediaUsedGroup, icTwoSidedGroup=icTwoSidedGroup, icTimePersistence=icTimePersistence, icSubunit=icSubunit, icSubunitGroup=icSubunitGroup, icImageFullColorImages=icImageFullColorImages, icAlertEntry=icAlertEntry, icKeyTable=icKeyTable, icAlertCounterName=icAlertCounterName, IcPersistenceTC=IcPersistenceTC, icMonitorAbortedJobs=icMonitorAbortedJobs, icImpressionHighlightColorImps=icImpressionHighlightColorImps, icTimeProcessingSeconds=icTimeProcessingSeconds, icTwoSidedKeyIndex=icTwoSidedKeyIndex, icAlertCounterValue=icAlertCounterValue, icMediaUsedKeyIndex=icMediaUsedKeyIndex, icGeneralNaturalLanguage=icGeneralNaturalLanguage, icServiceGroup=icServiceGroup, icMediaUsedMediaInfo=icMediaUsedMediaInfo, icImageTotalImages=icImageTotalImages, icTrafficInputMessages=icTrafficInputMessages, icMonitor=icMonitor, icSubunitStatusMessage=icSubunitStatusMessage, icMIBStateCompliance=icMIBStateCompliance, icSubunitMapSubunitEnabled=icSubunitMapSubunitEnabled, icMIBNotifications=icMIBNotifications, icTwoSidedEntry=icTwoSidedEntry, icTrafficEntry=icTrafficEntry, icKeyServiceIndex=icKeyServiceIndex, icKeyEntry=icKeyEntry, icServiceInfo=icServiceInfo, icSheetGroup=icSheetGroup, icImpressionBlankImps=icImpressionBlankImps, icTwoSided=icTwoSided, icImage=icImage, icServiceTable=icServiceTable, icKeyIndex=icKeyIndex, icImpressionMonochromeImps=icImpressionMonochromeImps, icMonitorCriticalAlerts=icMonitorCriticalAlerts, icTimeKeyIndex=icTimeKeyIndex, icServiceJobSetIndex=icServiceJobSetIndex, icMediaUsedEntry=icMediaUsedEntry, IcServiceStateTC=IcServiceStateTC, IcWorkTypeTC=IcWorkTypeTC, icMediaUsedHighlightColorSheets=icMediaUsedHighlightColorSheets, icMediaUsedTotalSheets=icMediaUsedTotalSheets, icTraffic=icTraffic, icMediaUsedPersistence=icMediaUsedPersistence, icServiceStateMessage=icServiceStateMessage, icSubunitMapEntry=icSubunitMapEntry, icTrafficOutputKOctets=icTrafficOutputKOctets, icTwoSidedBlankImps=icTwoSidedBlankImps, icImpressionWorkType=icImpressionWorkType, icKeyGroup=icKeyGroup, icImpressionEntry=icImpressionEntry, icAlertKeyIndex=icAlertKeyIndex, icMonitorLocalStorageKOctets=icMonitorLocalStorageKOctets, icTimeTotalSeconds=icTimeTotalSeconds, icImpressionKeyIndex=icImpressionKeyIndex, icMediaUsed=icMediaUsed, icMIBCompliance=icMIBCompliance, icSheetFullColorSheets=icSheetFullColorSheets, icSubunitKey=icSubunitKey, icMediaUsedFullColorSheets=icMediaUsedFullColorSheets, icImageMonochromeImages=icImageMonochromeImages, icImageTable=icImageTable, icTimeTable=icTimeTable, icServiceState=icServiceState, icTrafficPersistence=icTrafficPersistence, icImagePersistence=icImagePersistence, icTwoSidedHighlightColorImps=icTwoSidedHighlightColorImps, icGeneral=icGeneral, icTwoSidedWorkType=icTwoSidedWorkType, icTwoSidedPersistence=icTwoSidedPersistence, icMonitorTable=icMonitorTable)
| (integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, value_size_constraint, constraints_intersection, value_range_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion')
(snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString')
(notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance')
(notification_type, object_identity, counter32, module_identity, enterprises, mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, bits, integer32, mib_identifier, time_ticks, unsigned32, gauge32, iso, ip_address) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'ObjectIdentity', 'Counter32', 'ModuleIdentity', 'enterprises', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'Bits', 'Integer32', 'MibIdentifier', 'TimeTicks', 'Unsigned32', 'Gauge32', 'iso', 'IpAddress')
(date_and_time, display_string, textual_convention, truth_value, time_stamp) = mibBuilder.importSymbols('SNMPv2-TC', 'DateAndTime', 'DisplayString', 'TextualConvention', 'TruthValue', 'TimeStamp')
imaging_counter_mib = module_identity((1, 3, 6, 1, 4, 1, 2699, 1, 3))
imagingCounterMIB.setRevisions(('2008-03-18 00:00', '2005-12-23 00:00'))
if mibBuilder.loadTexts:
imagingCounterMIB.setLastUpdated('200803180000Z')
if mibBuilder.loadTexts:
imagingCounterMIB.setOrganization('Printer Working Group, a Program of IEEE/ISTO')
ic_mib_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 0))
ic_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1))
ic_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2))
ic_mib_object_groups = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2))
ic_mib_notification_groups = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 3))
class Iccounter32(TextualConvention, Integer32):
reference = "Section 5 'Counters' in PWG Imaging System Counters (PWG 5106.1); Section 4.1.12 'integer' datatype in IPP/1.1 (RFC 2911)."
status = 'current'
subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 2147483647)
class Iccountereventtypetc(TextualConvention, Integer32):
reference = "Section 5 'Counters' in PWG Imaging System Counters (PWG 5106.1); prtAlertCode in Printer MIB (RFC 1759/3805); PrtAlertCodeTC in IANA Printer MIB (RFC 3805 and http://www.iana.org/assignments/ianaprinter-mib)."
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))
named_values = named_values(('other', 1), ('unknown', 2), ('counterCreated', 3), ('counterForErrors', 4), ('counterForWarnings', 5), ('counterReset', 6), ('counterWrap', 7), ('serviceCreated', 8), ('subunitCreated', 9), ('mediaUsedCreated', 10), ('serviceStateChanged', 11), ('subunitStatusChanged', 12), ('counterInterval', 13), ('counterThreshold', 14))
class Icpersistencetc(TextualConvention, Integer32):
reference = "Section 5.1.3 'Persistence' in PWG Imaging System Counters (PWG 5106.1); prtMarkerLifeCount and prtMarkerPowerOnCount in Printer MIB (RFC 1759/3805)."
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5))
named_values = named_values(('other', 1), ('unknown', 2), ('lifetime', 3), ('powerOn', 4), ('reset', 5))
class Icservicestatetc(TextualConvention, Integer32):
reference = 'printer-state in IPP/1.1 Model (RFC 2911); hrDeviceStatus in Host Resources MIB (RFC 2790).'
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))
named_values = named_values(('other', 1), ('unknown', 2), ('idle', 3), ('processing', 4), ('stopped', 5), ('testing', 6), ('down', 7))
class Icservicetypetc(TextualConvention, Integer32):
reference = "Section 4.2 'Imaging System Services' in PWG Imaging System Counters (PWG 5106.1); JmJobServiceTypesTC and jobServiceTypes in Job Mon MIB (RFC 2707)."
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))
named_values = named_values(('other', 1), ('unknown', 2), ('systemTotals', 3), ('copy', 4), ('emailIn', 5), ('emailOut', 6), ('faxIn', 7), ('faxOut', 8), ('networkFaxIn', 9), ('networkFaxOut', 10), ('print', 11), ('scan', 12), ('transform', 13))
class Icsubunitstatustc(TextualConvention, Integer32):
reference = "Section 2.2 'Printer Sub-Units' in Printer MIB v2 (RFC 3805); PrtSubUnitStatusTC in IANA Printer MIB (RFC 3805 and http://www.iana.org/assignments/ianaprinter-mib)."
status = 'current'
subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 126)
class Icsubunittypetc(TextualConvention, Integer32):
reference = "Section 4.4 'Counter Overview' in PWG Imaging System Counters (PWG 5106.1); Section 2.2 'Printer Sub-Units' and ptrAlertGroup in Printer MIB (RFC 1759/3805); PrtAlertGroupTC in IANA Printer MIB (RFC 3805 and http://www.iana.org/assignments/ianaprinter-mib); finDeviceType in Finisher MIB (RFC 3806); FinDeviceTypeTC in IANA Finisher MIB (RFC 3806 and http://www.iana.org/assignments/ianafinisher-mib)."
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 4, 6, 8, 9, 10, 13, 14, 15, 30, 40, 50, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 503, 504))
named_values = named_values(('other', 1), ('unknown', 2), ('console', 4), ('cover', 6), ('inputTray', 8), ('outputTray', 9), ('marker', 10), ('mediaPath', 13), ('channel', 14), ('interpreter', 15), ('finisher', 30), ('interface', 40), ('scanner', 50), ('stapler', 302), ('stitcher', 303), ('folder', 304), ('binder', 305), ('trimmer', 306), ('dieCutter', 307), ('puncher', 308), ('perforater', 309), ('slitter', 310), ('separationCutter', 311), ('imprinter', 312), ('wrapper', 313), ('bander', 314), ('makeEnvelope', 315), ('stacker', 316), ('sheetRotator', 317), ('inserter', 318), ('scannerADF', 503), ('scannerPlaten', 504))
class Icworktypetc(TextualConvention, Integer32):
reference = "Section 5.2 'Work Counters' in PWG Imaging System Counters (PWG 5106.1)."
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))
named_values = named_values(('other', 1), ('unknown', 2), ('workTotals', 3), ('datastream', 4), ('auxiliary', 5), ('waste', 6), ('maintenance', 7))
ic_general = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 1))
ic_general_natural_language = mib_scalar((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 63)).clone(hexValue='')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icGeneralNaturalLanguage.setStatus('current')
ic_general_total_service_records = mib_scalar((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 1, 2), ic_counter32()).setUnits('records').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icGeneralTotalServiceRecords.setStatus('current')
ic_general_total_subunit_records = mib_scalar((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 1, 3), ic_counter32()).setUnits('records').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icGeneralTotalSubunitRecords.setStatus('current')
ic_general_total_media_used_records = mib_scalar((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 1, 4), ic_counter32()).setUnits('records').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icGeneralTotalMediaUsedRecords.setStatus('current')
ic_key = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2))
ic_key_table = mib_table((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2, 1))
if mibBuilder.loadTexts:
icKeyTable.setStatus('current')
ic_key_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2, 1, 1)).setIndexNames((0, 'PWG-IMAGING-COUNTER-MIB', 'icKeyIndex'))
if mibBuilder.loadTexts:
icKeyEntry.setStatus('current')
ic_key_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icKeyIndex.setStatus('current')
ic_key_service_type = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2, 1, 1, 2), ic_service_type_tc().clone('unknown')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icKeyServiceType.setStatus('current')
ic_key_service_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icKeyServiceIndex.setStatus('current')
ic_key_subunit_type = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2, 1, 1, 4), ic_subunit_type_tc().clone('unknown')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icKeySubunitType.setStatus('current')
ic_key_subunit_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 2, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icKeySubunitIndex.setStatus('current')
ic_service = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3))
ic_service_table = mib_table((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1))
if mibBuilder.loadTexts:
icServiceTable.setStatus('current')
ic_service_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1)).setIndexNames((0, 'PWG-IMAGING-COUNTER-MIB', 'icServiceType'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icServiceIndex'))
if mibBuilder.loadTexts:
icServiceEntry.setStatus('current')
ic_service_type = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 1), ic_service_type_tc())
if mibBuilder.loadTexts:
icServiceType.setStatus('current')
ic_service_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icServiceIndex.setStatus('current')
ic_service_key = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icServiceKey.setStatus('current')
ic_service_info = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 4), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 255)).clone(hexValue='')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icServiceInfo.setStatus('current')
ic_service_job_set_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 32767))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icServiceJobSetIndex.setStatus('current')
ic_service_state = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 6), ic_service_state_tc().clone('unknown')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icServiceState.setStatus('current')
ic_service_state_message = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 7), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 255)).clone(hexValue='')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icServiceStateMessage.setStatus('current')
ic_service_prt_alert_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 3, 1, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icServicePrtAlertIndex.setStatus('current')
ic_subunit = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4))
ic_subunit_table = mib_table((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1))
if mibBuilder.loadTexts:
icSubunitTable.setStatus('current')
ic_subunit_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1, 1)).setIndexNames((0, 'PWG-IMAGING-COUNTER-MIB', 'icSubunitType'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icSubunitIndex'))
if mibBuilder.loadTexts:
icSubunitEntry.setStatus('current')
ic_subunit_type = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1, 1, 1), ic_subunit_type_tc())
if mibBuilder.loadTexts:
icSubunitType.setStatus('current')
ic_subunit_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icSubunitIndex.setStatus('current')
ic_subunit_key = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icSubunitKey.setStatus('current')
ic_subunit_info = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1, 1, 4), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 255)).clone(hexValue='')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icSubunitInfo.setStatus('current')
ic_subunit_status = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1, 1, 5), ic_subunit_status_tc().clone(5)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icSubunitStatus.setStatus('current')
ic_subunit_status_message = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 4, 1, 1, 6), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 255)).clone(hexValue='')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icSubunitStatusMessage.setStatus('current')
ic_time = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5))
ic_time_table = mib_table((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1))
if mibBuilder.loadTexts:
icTimeTable.setStatus('current')
ic_time_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1, 1)).setIndexNames((0, 'PWG-IMAGING-COUNTER-MIB', 'icTimeKeyIndex'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icTimePersistence'))
if mibBuilder.loadTexts:
icTimeEntry.setStatus('current')
ic_time_key_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icTimeKeyIndex.setStatus('current')
ic_time_persistence = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1, 1, 2), ic_persistence_tc())
if mibBuilder.loadTexts:
icTimePersistence.setStatus('current')
ic_time_total_seconds = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1, 1, 3), ic_counter32()).setUnits('seconds').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icTimeTotalSeconds.setStatus('current')
ic_time_down_seconds = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1, 1, 4), ic_counter32()).setUnits('seconds').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icTimeDownSeconds.setStatus('current')
ic_time_maintenance_seconds = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1, 1, 5), ic_counter32()).setUnits('seconds').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icTimeMaintenanceSeconds.setStatus('current')
ic_time_processing_seconds = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 5, 1, 1, 6), ic_counter32()).setUnits('seconds').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icTimeProcessingSeconds.setStatus('current')
ic_monitor = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6))
ic_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1))
if mibBuilder.loadTexts:
icMonitorTable.setStatus('current')
ic_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1)).setIndexNames((0, 'PWG-IMAGING-COUNTER-MIB', 'icMonitorKeyIndex'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icMonitorPersistence'))
if mibBuilder.loadTexts:
icMonitorEntry.setStatus('current')
ic_monitor_key_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icMonitorKeyIndex.setStatus('current')
ic_monitor_persistence = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 2), ic_persistence_tc())
if mibBuilder.loadTexts:
icMonitorPersistence.setStatus('current')
ic_monitor_config_changes = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 3), ic_counter32()).setUnits('changes').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMonitorConfigChanges.setStatus('current')
ic_monitor_total_alerts = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 4), ic_counter32()).setUnits('alerts').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMonitorTotalAlerts.setStatus('current')
ic_monitor_critical_alerts = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 5), ic_counter32()).setUnits('alerts').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMonitorCriticalAlerts.setStatus('current')
ic_monitor_aborted_jobs = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 6), ic_counter32()).setUnits('jobs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMonitorAbortedJobs.setStatus('current')
ic_monitor_canceled_jobs = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 7), ic_counter32()).setUnits('jobs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMonitorCanceledJobs.setStatus('current')
ic_monitor_completed_jobs = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 8), ic_counter32()).setUnits('jobs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMonitorCompletedJobs.setStatus('current')
ic_monitor_completed_finisher_jobs = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 9), ic_counter32()).setUnits('jobs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMonitorCompletedFinisherJobs.setStatus('current')
ic_monitor_memory_alloc_errors = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 10), ic_counter32()).setUnits('errors').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMonitorMemoryAllocErrors.setStatus('current')
ic_monitor_memory_alloc_warnings = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 11), ic_counter32()).setUnits('warnings').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMonitorMemoryAllocWarnings.setStatus('current')
ic_monitor_storage_alloc_errors = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 12), ic_counter32()).setUnits('errors').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMonitorStorageAllocErrors.setStatus('current')
ic_monitor_storage_alloc_warnings = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 13), ic_counter32()).setUnits('warnings').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMonitorStorageAllocWarnings.setStatus('current')
ic_monitor_local_storage_k_octets = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 14), ic_counter32()).setUnits('koctets').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMonitorLocalStorageKOctets.setStatus('current')
ic_monitor_remote_storage_k_octets = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 6, 1, 1, 15), ic_counter32()).setUnits('koctets').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMonitorRemoteStorageKOctets.setStatus('current')
ic_image = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7))
ic_image_table = mib_table((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1))
if mibBuilder.loadTexts:
icImageTable.setStatus('current')
ic_image_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1, 1)).setIndexNames((0, 'PWG-IMAGING-COUNTER-MIB', 'icImageKeyIndex'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icImageWorkType'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icImagePersistence'))
if mibBuilder.loadTexts:
icImageEntry.setStatus('current')
ic_image_key_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icImageKeyIndex.setStatus('current')
ic_image_work_type = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1, 1, 2), ic_work_type_tc())
if mibBuilder.loadTexts:
icImageWorkType.setStatus('current')
ic_image_persistence = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1, 1, 3), ic_persistence_tc())
if mibBuilder.loadTexts:
icImagePersistence.setStatus('current')
ic_image_total_images = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1, 1, 4), ic_counter32()).setUnits('images').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icImageTotalImages.setStatus('current')
ic_image_monochrome_images = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1, 1, 5), ic_counter32()).setUnits('images').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icImageMonochromeImages.setStatus('current')
ic_image_full_color_images = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 7, 1, 1, 6), ic_counter32()).setUnits('images').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icImageFullColorImages.setStatus('current')
ic_impression = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8))
ic_impression_table = mib_table((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1))
if mibBuilder.loadTexts:
icImpressionTable.setStatus('current')
ic_impression_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1)).setIndexNames((0, 'PWG-IMAGING-COUNTER-MIB', 'icImpressionKeyIndex'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icImpressionWorkType'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icImpressionPersistence'))
if mibBuilder.loadTexts:
icImpressionEntry.setStatus('current')
ic_impression_key_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icImpressionKeyIndex.setStatus('current')
ic_impression_work_type = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 2), ic_work_type_tc())
if mibBuilder.loadTexts:
icImpressionWorkType.setStatus('current')
ic_impression_persistence = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 3), ic_persistence_tc())
if mibBuilder.loadTexts:
icImpressionPersistence.setStatus('current')
ic_impression_total_imps = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 4), ic_counter32()).setUnits('impressions').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icImpressionTotalImps.setStatus('current')
ic_impression_monochrome_imps = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 5), ic_counter32()).setUnits('impressions').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icImpressionMonochromeImps.setStatus('current')
ic_impression_blank_imps = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 6), ic_counter32()).setUnits('impressions').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icImpressionBlankImps.setStatus('current')
ic_impression_full_color_imps = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 7), ic_counter32()).setUnits('impressions').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icImpressionFullColorImps.setStatus('current')
ic_impression_highlight_color_imps = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 8, 1, 1, 8), ic_counter32()).setUnits('impressions').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icImpressionHighlightColorImps.setStatus('current')
ic_two_sided = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9))
ic_two_sided_table = mib_table((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1))
if mibBuilder.loadTexts:
icTwoSidedTable.setStatus('current')
ic_two_sided_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1)).setIndexNames((0, 'PWG-IMAGING-COUNTER-MIB', 'icTwoSidedKeyIndex'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icTwoSidedWorkType'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icTwoSidedPersistence'))
if mibBuilder.loadTexts:
icTwoSidedEntry.setStatus('current')
ic_two_sided_key_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icTwoSidedKeyIndex.setStatus('current')
ic_two_sided_work_type = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 2), ic_work_type_tc())
if mibBuilder.loadTexts:
icTwoSidedWorkType.setStatus('current')
ic_two_sided_persistence = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 3), ic_persistence_tc())
if mibBuilder.loadTexts:
icTwoSidedPersistence.setStatus('current')
ic_two_sided_total_imps = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 4), ic_counter32()).setUnits('impressions').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icTwoSidedTotalImps.setStatus('current')
ic_two_sided_monochrome_imps = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 5), ic_counter32()).setUnits('impressions').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icTwoSidedMonochromeImps.setStatus('current')
ic_two_sided_blank_imps = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 6), ic_counter32()).setUnits('impressions').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icTwoSidedBlankImps.setStatus('current')
ic_two_sided_full_color_imps = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 7), ic_counter32()).setUnits('impressions').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icTwoSidedFullColorImps.setStatus('current')
ic_two_sided_highlight_color_imps = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 9, 1, 1, 8), ic_counter32()).setUnits('impressions').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icTwoSidedHighlightColorImps.setStatus('current')
ic_sheet = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10))
ic_sheet_table = mib_table((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1))
if mibBuilder.loadTexts:
icSheetTable.setStatus('current')
ic_sheet_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1)).setIndexNames((0, 'PWG-IMAGING-COUNTER-MIB', 'icSheetKeyIndex'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icSheetWorkType'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icSheetPersistence'))
if mibBuilder.loadTexts:
icSheetEntry.setStatus('current')
ic_sheet_key_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icSheetKeyIndex.setStatus('current')
ic_sheet_work_type = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 2), ic_work_type_tc())
if mibBuilder.loadTexts:
icSheetWorkType.setStatus('current')
ic_sheet_persistence = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 3), ic_persistence_tc())
if mibBuilder.loadTexts:
icSheetPersistence.setStatus('current')
ic_sheet_total_sheets = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 4), ic_counter32()).setUnits('sheets').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icSheetTotalSheets.setStatus('current')
ic_sheet_monochrome_sheets = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 5), ic_counter32()).setUnits('sheets').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icSheetMonochromeSheets.setStatus('current')
ic_sheet_blank_sheets = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 6), ic_counter32()).setUnits('sheets').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icSheetBlankSheets.setStatus('current')
ic_sheet_full_color_sheets = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 7), ic_counter32()).setUnits('sheets').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icSheetFullColorSheets.setStatus('current')
ic_sheet_highlight_color_sheets = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 10, 1, 1, 8), ic_counter32()).setUnits('sheets').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icSheetHighlightColorSheets.setStatus('current')
ic_traffic = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11))
ic_traffic_table = mib_table((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1))
if mibBuilder.loadTexts:
icTrafficTable.setStatus('current')
ic_traffic_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1)).setIndexNames((0, 'PWG-IMAGING-COUNTER-MIB', 'icTrafficKeyIndex'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icTrafficWorkType'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icTrafficPersistence'))
if mibBuilder.loadTexts:
icTrafficEntry.setStatus('current')
ic_traffic_key_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icTrafficKeyIndex.setStatus('current')
ic_traffic_work_type = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1, 2), ic_work_type_tc())
if mibBuilder.loadTexts:
icTrafficWorkType.setStatus('current')
ic_traffic_persistence = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1, 3), ic_persistence_tc())
if mibBuilder.loadTexts:
icTrafficPersistence.setStatus('current')
ic_traffic_input_k_octets = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1, 4), ic_counter32()).setUnits('koctets').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icTrafficInputKOctets.setStatus('current')
ic_traffic_output_k_octets = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1, 5), ic_counter32()).setUnits('koctets').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icTrafficOutputKOctets.setStatus('current')
ic_traffic_input_messages = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1, 6), ic_counter32()).setUnits('messages').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icTrafficInputMessages.setStatus('current')
ic_traffic_output_messages = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 11, 1, 1, 7), ic_counter32()).setUnits('messages').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icTrafficOutputMessages.setStatus('current')
ic_media_used = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12))
ic_media_used_table = mib_table((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1))
if mibBuilder.loadTexts:
icMediaUsedTable.setStatus('current')
ic_media_used_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1)).setIndexNames((0, 'PWG-IMAGING-COUNTER-MIB', 'icMediaUsedKeyIndex'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icMediaUsedIndex'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icMediaUsedPersistence'))
if mibBuilder.loadTexts:
icMediaUsedEntry.setStatus('current')
ic_media_used_key_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icMediaUsedKeyIndex.setStatus('current')
ic_media_used_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icMediaUsedIndex.setStatus('current')
ic_media_used_persistence = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 3), ic_persistence_tc())
if mibBuilder.loadTexts:
icMediaUsedPersistence.setStatus('current')
ic_media_used_total_sheets = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 4), ic_counter32()).setUnits('sheets').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMediaUsedTotalSheets.setStatus('current')
ic_media_used_monochrome_sheets = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 5), ic_counter32()).setUnits('sheets').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMediaUsedMonochromeSheets.setStatus('current')
ic_media_used_blank_sheets = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 6), ic_counter32()).setUnits('sheets').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMediaUsedBlankSheets.setStatus('current')
ic_media_used_full_color_sheets = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 7), ic_counter32()).setUnits('sheets').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMediaUsedFullColorSheets.setStatus('current')
ic_media_used_highlight_color_sheets = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 8), ic_counter32()).setUnits('sheets').setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMediaUsedHighlightColorSheets.setStatus('current')
ic_media_used_media_size_name = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMediaUsedMediaSizeName.setStatus('current')
ic_media_used_media_info = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 10), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 255)).clone(hexValue='')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMediaUsedMediaInfo.setStatus('current')
ic_media_used_media_name = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 11), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 255)).clone(hexValue='')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMediaUsedMediaName.setStatus('current')
ic_media_used_media_accounting_key = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 12, 1, 1, 12), display_string().subtype(subtypeSpec=value_size_constraint(0, 255)).clone(hexValue='')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icMediaUsedMediaAccountingKey.setStatus('current')
ic_alert = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13))
ic_alert_table = mib_table((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1))
if mibBuilder.loadTexts:
icAlertTable.setStatus('current')
ic_alert_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1)).setIndexNames((0, 'PWG-IMAGING-COUNTER-MIB', 'icAlertKeyIndex'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icAlertIndex'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icAlertPersistence'))
if mibBuilder.loadTexts:
icAlertEntry.setStatus('current')
ic_alert_key_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icAlertKeyIndex.setStatus('current')
ic_alert_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icAlertIndex.setStatus('current')
ic_alert_persistence = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 3), ic_persistence_tc())
if mibBuilder.loadTexts:
icAlertPersistence.setStatus('current')
ic_alert_counter_event_type = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 4), ic_counter_event_type_tc()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icAlertCounterEventType.setStatus('current')
ic_alert_counter_name = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icAlertCounterName.setStatus('current')
ic_alert_counter_value = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 6), ic_counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icAlertCounterValue.setStatus('current')
ic_alert_date_and_time = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 7), date_and_time()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icAlertDateAndTime.setStatus('current')
ic_alert_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 13, 1, 1, 8), time_stamp()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icAlertTimeStamp.setStatus('current')
ic_alert_v2_trap = notification_type((1, 3, 6, 1, 4, 1, 2699, 1, 3, 0, 1)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icAlertCounterEventType'), ('PWG-IMAGING-COUNTER-MIB', 'icAlertCounterName'), ('PWG-IMAGING-COUNTER-MIB', 'icAlertCounterValue'), ('PWG-IMAGING-COUNTER-MIB', 'icAlertDateAndTime'))
if mibBuilder.loadTexts:
icAlertV2Trap.setStatus('current')
ic_subunit_map = mib_identifier((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 14))
ic_subunit_map_table = mib_table((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 14, 1))
if mibBuilder.loadTexts:
icSubunitMapTable.setStatus('current')
ic_subunit_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 14, 1, 1)).setIndexNames((0, 'PWG-IMAGING-COUNTER-MIB', 'icSubunitMapServiceKeyIndex'), (0, 'PWG-IMAGING-COUNTER-MIB', 'icSubunitMapSubunitKeyIndex'))
if mibBuilder.loadTexts:
icSubunitMapEntry.setStatus('current')
ic_subunit_map_service_key_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 14, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icSubunitMapServiceKeyIndex.setStatus('current')
ic_subunit_map_subunit_key_index = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 14, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
icSubunitMapSubunitKeyIndex.setStatus('current')
ic_subunit_map_subunit_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 2699, 1, 3, 1, 14, 1, 1, 3), truth_value().clone('false')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icSubunitMapSubunitEnabled.setStatus('current')
ic_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 1)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icGeneralGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icKeyGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icServiceGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icTimeGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icMonitorGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icSubunitGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icImageGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icImpressionGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icTwoSidedGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icSheetGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icTrafficGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icMediaUsedGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icAlertGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icAlertTrapGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icSubunitMapV2Group'), ('PWG-IMAGING-COUNTER-MIB', 'icServiceV2Group'), ('PWG-IMAGING-COUNTER-MIB', 'icSubunitV2Group'), ('PWG-IMAGING-COUNTER-MIB', 'icMediaUsedV2Group'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_mib_compliance = icMIBCompliance.setStatus('current')
ic_mib_state_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 4)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icGeneralGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icKeyGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icServiceGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icServiceV2Group'), ('PWG-IMAGING-COUNTER-MIB', 'icSubunitGroup'), ('PWG-IMAGING-COUNTER-MIB', 'icSubunitV2Group'), ('PWG-IMAGING-COUNTER-MIB', 'icSubunitMapV2Group'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_mib_state_compliance = icMIBStateCompliance.setStatus('current')
ic_general_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 1)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icGeneralNaturalLanguage'), ('PWG-IMAGING-COUNTER-MIB', 'icGeneralTotalServiceRecords'), ('PWG-IMAGING-COUNTER-MIB', 'icGeneralTotalSubunitRecords'), ('PWG-IMAGING-COUNTER-MIB', 'icGeneralTotalMediaUsedRecords'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_general_group = icGeneralGroup.setStatus('current')
ic_key_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 2)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icKeyServiceType'), ('PWG-IMAGING-COUNTER-MIB', 'icKeyServiceIndex'), ('PWG-IMAGING-COUNTER-MIB', 'icKeySubunitType'), ('PWG-IMAGING-COUNTER-MIB', 'icKeySubunitIndex'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_key_group = icKeyGroup.setStatus('current')
ic_service_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 3)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icServiceKey'), ('PWG-IMAGING-COUNTER-MIB', 'icServiceInfo'), ('PWG-IMAGING-COUNTER-MIB', 'icServiceJobSetIndex'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_service_group = icServiceGroup.setStatus('current')
ic_subunit_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 4)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icSubunitKey'), ('PWG-IMAGING-COUNTER-MIB', 'icSubunitInfo'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_subunit_group = icSubunitGroup.setStatus('current')
ic_time_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 5)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icTimeTotalSeconds'), ('PWG-IMAGING-COUNTER-MIB', 'icTimeDownSeconds'), ('PWG-IMAGING-COUNTER-MIB', 'icTimeMaintenanceSeconds'), ('PWG-IMAGING-COUNTER-MIB', 'icTimeProcessingSeconds'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_time_group = icTimeGroup.setStatus('current')
ic_monitor_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 6)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icMonitorConfigChanges'), ('PWG-IMAGING-COUNTER-MIB', 'icMonitorTotalAlerts'), ('PWG-IMAGING-COUNTER-MIB', 'icMonitorCriticalAlerts'), ('PWG-IMAGING-COUNTER-MIB', 'icMonitorAbortedJobs'), ('PWG-IMAGING-COUNTER-MIB', 'icMonitorCanceledJobs'), ('PWG-IMAGING-COUNTER-MIB', 'icMonitorCompletedJobs'), ('PWG-IMAGING-COUNTER-MIB', 'icMonitorCompletedFinisherJobs'), ('PWG-IMAGING-COUNTER-MIB', 'icMonitorMemoryAllocErrors'), ('PWG-IMAGING-COUNTER-MIB', 'icMonitorMemoryAllocWarnings'), ('PWG-IMAGING-COUNTER-MIB', 'icMonitorStorageAllocErrors'), ('PWG-IMAGING-COUNTER-MIB', 'icMonitorStorageAllocWarnings'), ('PWG-IMAGING-COUNTER-MIB', 'icMonitorLocalStorageKOctets'), ('PWG-IMAGING-COUNTER-MIB', 'icMonitorRemoteStorageKOctets'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_monitor_group = icMonitorGroup.setStatus('current')
ic_image_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 7)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icImageTotalImages'), ('PWG-IMAGING-COUNTER-MIB', 'icImageMonochromeImages'), ('PWG-IMAGING-COUNTER-MIB', 'icImageFullColorImages'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_image_group = icImageGroup.setStatus('current')
ic_impression_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 8)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icImpressionTotalImps'), ('PWG-IMAGING-COUNTER-MIB', 'icImpressionMonochromeImps'), ('PWG-IMAGING-COUNTER-MIB', 'icImpressionBlankImps'), ('PWG-IMAGING-COUNTER-MIB', 'icImpressionFullColorImps'), ('PWG-IMAGING-COUNTER-MIB', 'icImpressionHighlightColorImps'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_impression_group = icImpressionGroup.setStatus('current')
ic_two_sided_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 9)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icTwoSidedTotalImps'), ('PWG-IMAGING-COUNTER-MIB', 'icTwoSidedMonochromeImps'), ('PWG-IMAGING-COUNTER-MIB', 'icTwoSidedBlankImps'), ('PWG-IMAGING-COUNTER-MIB', 'icTwoSidedFullColorImps'), ('PWG-IMAGING-COUNTER-MIB', 'icTwoSidedHighlightColorImps'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_two_sided_group = icTwoSidedGroup.setStatus('current')
ic_sheet_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 10)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icSheetTotalSheets'), ('PWG-IMAGING-COUNTER-MIB', 'icSheetMonochromeSheets'), ('PWG-IMAGING-COUNTER-MIB', 'icSheetBlankSheets'), ('PWG-IMAGING-COUNTER-MIB', 'icSheetFullColorSheets'), ('PWG-IMAGING-COUNTER-MIB', 'icSheetHighlightColorSheets'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_sheet_group = icSheetGroup.setStatus('current')
ic_traffic_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 11)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icTrafficInputKOctets'), ('PWG-IMAGING-COUNTER-MIB', 'icTrafficOutputKOctets'), ('PWG-IMAGING-COUNTER-MIB', 'icTrafficInputMessages'), ('PWG-IMAGING-COUNTER-MIB', 'icTrafficOutputMessages'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_traffic_group = icTrafficGroup.setStatus('current')
ic_media_used_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 12)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icMediaUsedTotalSheets'), ('PWG-IMAGING-COUNTER-MIB', 'icMediaUsedMonochromeSheets'), ('PWG-IMAGING-COUNTER-MIB', 'icMediaUsedBlankSheets'), ('PWG-IMAGING-COUNTER-MIB', 'icMediaUsedFullColorSheets'), ('PWG-IMAGING-COUNTER-MIB', 'icMediaUsedHighlightColorSheets'), ('PWG-IMAGING-COUNTER-MIB', 'icMediaUsedMediaSizeName'), ('PWG-IMAGING-COUNTER-MIB', 'icMediaUsedMediaInfo'), ('PWG-IMAGING-COUNTER-MIB', 'icMediaUsedMediaName'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_media_used_group = icMediaUsedGroup.setStatus('current')
ic_alert_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 13)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icAlertCounterEventType'), ('PWG-IMAGING-COUNTER-MIB', 'icAlertCounterName'), ('PWG-IMAGING-COUNTER-MIB', 'icAlertCounterValue'), ('PWG-IMAGING-COUNTER-MIB', 'icAlertDateAndTime'), ('PWG-IMAGING-COUNTER-MIB', 'icAlertTimeStamp'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_alert_group = icAlertGroup.setStatus('current')
ic_alert_trap_group = notification_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 3, 1)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icAlertV2Trap'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_alert_trap_group = icAlertTrapGroup.setStatus('current')
ic_subunit_map_v2_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 14)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icSubunitMapSubunitEnabled'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_subunit_map_v2_group = icSubunitMapV2Group.setStatus('current')
ic_service_v2_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 15)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icServiceState'), ('PWG-IMAGING-COUNTER-MIB', 'icServiceStateMessage'), ('PWG-IMAGING-COUNTER-MIB', 'icServicePrtAlertIndex'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_service_v2_group = icServiceV2Group.setStatus('current')
ic_subunit_v2_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 16)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icSubunitStatus'), ('PWG-IMAGING-COUNTER-MIB', 'icSubunitStatusMessage'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_subunit_v2_group = icSubunitV2Group.setStatus('current')
ic_media_used_v2_group = object_group((1, 3, 6, 1, 4, 1, 2699, 1, 3, 2, 2, 17)).setObjects(('PWG-IMAGING-COUNTER-MIB', 'icMediaUsedMediaAccountingKey'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ic_media_used_v2_group = icMediaUsedV2Group.setStatus('current')
mibBuilder.exportSymbols('PWG-IMAGING-COUNTER-MIB', icTrafficGroup=icTrafficGroup, icAlertCounterEventType=icAlertCounterEventType, icMonitorEntry=icMonitorEntry, icSheetKeyIndex=icSheetKeyIndex, icSubunitType=icSubunitType, icKey=icKey, icAlertV2Trap=icAlertV2Trap, icServicePrtAlertIndex=icServicePrtAlertIndex, icGeneralTotalServiceRecords=icGeneralTotalServiceRecords, icSubunitStatus=icSubunitStatus, icImageEntry=icImageEntry, icTrafficWorkType=icTrafficWorkType, icTwoSidedFullColorImps=icTwoSidedFullColorImps, icMediaUsedIndex=icMediaUsedIndex, icMIBConformance=icMIBConformance, icTwoSidedMonochromeImps=icTwoSidedMonochromeImps, icMediaUsedV2Group=icMediaUsedV2Group, icSheetTotalSheets=icSheetTotalSheets, icSheetBlankSheets=icSheetBlankSheets, icTrafficInputKOctets=icTrafficInputKOctets, icSheetHighlightColorSheets=icSheetHighlightColorSheets, icGeneralTotalSubunitRecords=icGeneralTotalSubunitRecords, icMIBObjectGroups=icMIBObjectGroups, icSubunitTable=icSubunitTable, icSheetEntry=icSheetEntry, icSubunitMap=icSubunitMap, icSubunitMapServiceKeyIndex=icSubunitMapServiceKeyIndex, icGeneralGroup=icGeneralGroup, icMonitorMemoryAllocWarnings=icMonitorMemoryAllocWarnings, icTimeEntry=icTimeEntry, icSheet=icSheet, icMonitorCanceledJobs=icMonitorCanceledJobs, icMIBNotificationGroups=icMIBNotificationGroups, icTrafficTable=icTrafficTable, icImageWorkType=icImageWorkType, icMonitorGroup=icMonitorGroup, icAlertTimeStamp=icAlertTimeStamp, icSubunitMapTable=icSubunitMapTable, IcSubunitStatusTC=IcSubunitStatusTC, icAlertTable=icAlertTable, PYSNMP_MODULE_ID=imagingCounterMIB, icMonitorKeyIndex=icMonitorKeyIndex, icServiceV2Group=icServiceV2Group, icMonitorMemoryAllocErrors=icMonitorMemoryAllocErrors, IcServiceTypeTC=IcServiceTypeTC, icSubunitMapSubunitKeyIndex=icSubunitMapSubunitKeyIndex, icMediaUsedMediaName=icMediaUsedMediaName, icAlertIndex=icAlertIndex, icImpressionTotalImps=icImpressionTotalImps, icSheetTable=icSheetTable, icMediaUsedTable=icMediaUsedTable, icTwoSidedTable=icTwoSidedTable, icTimeMaintenanceSeconds=icTimeMaintenanceSeconds, icMonitorConfigChanges=icMonitorConfigChanges, icImpressionPersistence=icImpressionPersistence, icService=icService, icMonitorStorageAllocWarnings=icMonitorStorageAllocWarnings, icTimeDownSeconds=icTimeDownSeconds, icImpressionFullColorImps=icImpressionFullColorImps, icGeneralTotalMediaUsedRecords=icGeneralTotalMediaUsedRecords, icKeySubunitType=icKeySubunitType, icSheetPersistence=icSheetPersistence, icServiceIndex=icServiceIndex, icImageGroup=icImageGroup, icImpressionTable=icImpressionTable, icSheetMonochromeSheets=icSheetMonochromeSheets, icServiceKey=icServiceKey, icTwoSidedTotalImps=icTwoSidedTotalImps, icTrafficKeyIndex=icTrafficKeyIndex, imagingCounterMIB=imagingCounterMIB, IcCounterEventTypeTC=IcCounterEventTypeTC, icKeySubunitIndex=icKeySubunitIndex, icImpressionGroup=icImpressionGroup, icMonitorStorageAllocErrors=icMonitorStorageAllocErrors, icSheetWorkType=icSheetWorkType, icMediaUsedMonochromeSheets=icMediaUsedMonochromeSheets, IcSubunitTypeTC=IcSubunitTypeTC, icMonitorTotalAlerts=icMonitorTotalAlerts, icSubunitV2Group=icSubunitV2Group, icMIBObjects=icMIBObjects, icTime=icTime, icMediaUsedMediaSizeName=icMediaUsedMediaSizeName, IcCounter32=IcCounter32, icServiceType=icServiceType, icMonitorPersistence=icMonitorPersistence, icMonitorRemoteStorageKOctets=icMonitorRemoteStorageKOctets, icMonitorCompletedFinisherJobs=icMonitorCompletedFinisherJobs, icSubunitIndex=icSubunitIndex, icTrafficOutputMessages=icTrafficOutputMessages, icTimeGroup=icTimeGroup, icAlertGroup=icAlertGroup, icMonitorCompletedJobs=icMonitorCompletedJobs, icAlertPersistence=icAlertPersistence, icAlertTrapGroup=icAlertTrapGroup, icKeyServiceType=icKeyServiceType, icMediaUsedBlankSheets=icMediaUsedBlankSheets, icAlertDateAndTime=icAlertDateAndTime, icSubunitInfo=icSubunitInfo, icImageKeyIndex=icImageKeyIndex, icMediaUsedMediaAccountingKey=icMediaUsedMediaAccountingKey, icImpression=icImpression, icAlert=icAlert, icSubunitMapV2Group=icSubunitMapV2Group, icServiceEntry=icServiceEntry, icSubunitEntry=icSubunitEntry, icMediaUsedGroup=icMediaUsedGroup, icTwoSidedGroup=icTwoSidedGroup, icTimePersistence=icTimePersistence, icSubunit=icSubunit, icSubunitGroup=icSubunitGroup, icImageFullColorImages=icImageFullColorImages, icAlertEntry=icAlertEntry, icKeyTable=icKeyTable, icAlertCounterName=icAlertCounterName, IcPersistenceTC=IcPersistenceTC, icMonitorAbortedJobs=icMonitorAbortedJobs, icImpressionHighlightColorImps=icImpressionHighlightColorImps, icTimeProcessingSeconds=icTimeProcessingSeconds, icTwoSidedKeyIndex=icTwoSidedKeyIndex, icAlertCounterValue=icAlertCounterValue, icMediaUsedKeyIndex=icMediaUsedKeyIndex, icGeneralNaturalLanguage=icGeneralNaturalLanguage, icServiceGroup=icServiceGroup, icMediaUsedMediaInfo=icMediaUsedMediaInfo, icImageTotalImages=icImageTotalImages, icTrafficInputMessages=icTrafficInputMessages, icMonitor=icMonitor, icSubunitStatusMessage=icSubunitStatusMessage, icMIBStateCompliance=icMIBStateCompliance, icSubunitMapSubunitEnabled=icSubunitMapSubunitEnabled, icMIBNotifications=icMIBNotifications, icTwoSidedEntry=icTwoSidedEntry, icTrafficEntry=icTrafficEntry, icKeyServiceIndex=icKeyServiceIndex, icKeyEntry=icKeyEntry, icServiceInfo=icServiceInfo, icSheetGroup=icSheetGroup, icImpressionBlankImps=icImpressionBlankImps, icTwoSided=icTwoSided, icImage=icImage, icServiceTable=icServiceTable, icKeyIndex=icKeyIndex, icImpressionMonochromeImps=icImpressionMonochromeImps, icMonitorCriticalAlerts=icMonitorCriticalAlerts, icTimeKeyIndex=icTimeKeyIndex, icServiceJobSetIndex=icServiceJobSetIndex, icMediaUsedEntry=icMediaUsedEntry, IcServiceStateTC=IcServiceStateTC, IcWorkTypeTC=IcWorkTypeTC, icMediaUsedHighlightColorSheets=icMediaUsedHighlightColorSheets, icMediaUsedTotalSheets=icMediaUsedTotalSheets, icTraffic=icTraffic, icMediaUsedPersistence=icMediaUsedPersistence, icServiceStateMessage=icServiceStateMessage, icSubunitMapEntry=icSubunitMapEntry, icTrafficOutputKOctets=icTrafficOutputKOctets, icTwoSidedBlankImps=icTwoSidedBlankImps, icImpressionWorkType=icImpressionWorkType, icKeyGroup=icKeyGroup, icImpressionEntry=icImpressionEntry, icAlertKeyIndex=icAlertKeyIndex, icMonitorLocalStorageKOctets=icMonitorLocalStorageKOctets, icTimeTotalSeconds=icTimeTotalSeconds, icImpressionKeyIndex=icImpressionKeyIndex, icMediaUsed=icMediaUsed, icMIBCompliance=icMIBCompliance, icSheetFullColorSheets=icSheetFullColorSheets, icSubunitKey=icSubunitKey, icMediaUsedFullColorSheets=icMediaUsedFullColorSheets, icImageMonochromeImages=icImageMonochromeImages, icImageTable=icImageTable, icTimeTable=icTimeTable, icServiceState=icServiceState, icTrafficPersistence=icTrafficPersistence, icImagePersistence=icImagePersistence, icTwoSidedHighlightColorImps=icTwoSidedHighlightColorImps, icGeneral=icGeneral, icTwoSidedWorkType=icTwoSidedWorkType, icTwoSidedPersistence=icTwoSidedPersistence, icMonitorTable=icMonitorTable) |
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
class Key: # pylint: disable=too-few-public-methods
def __init__(self, enc_key=None, x5t_256=None):
self.enc_key = enc_key
self.x5t_256 = x5t_256
def to_json(self):
return {
'enc_key': self.enc_key if self.enc_key else '',
'x5t_256': self.x5t_256 if self.x5t_256 else ''
}
class EncData: # pylint: disable=too-few-public-methods
def __init__(self):
self.data = []
self.kdf = None
def to_json(self):
return {
'data': [x.to_json() for x in self.data],
'kdf': self.kdf if self.kdf else ''
}
class Datum: # pylint: disable=too-few-public-methods
def __init__(self, compact_jwe=None, tag=None):
self.compact_jwe = compact_jwe
self.tag = tag
def to_json(self):
return {
'compact_jwe': self.compact_jwe if self.compact_jwe else '',
'tag': self.tag if self.tag else ''
}
class SecurityDomainRestoreData: # pylint: disable=too-few-public-methods
def __init__(self):
self.enc_data = EncData()
self.wrapped_key = Key()
def to_json(self):
return {
'EncData': self.enc_data.to_json(),
'WrappedKey': self.wrapped_key.to_json()
}
| class Key:
def __init__(self, enc_key=None, x5t_256=None):
self.enc_key = enc_key
self.x5t_256 = x5t_256
def to_json(self):
return {'enc_key': self.enc_key if self.enc_key else '', 'x5t_256': self.x5t_256 if self.x5t_256 else ''}
class Encdata:
def __init__(self):
self.data = []
self.kdf = None
def to_json(self):
return {'data': [x.to_json() for x in self.data], 'kdf': self.kdf if self.kdf else ''}
class Datum:
def __init__(self, compact_jwe=None, tag=None):
self.compact_jwe = compact_jwe
self.tag = tag
def to_json(self):
return {'compact_jwe': self.compact_jwe if self.compact_jwe else '', 'tag': self.tag if self.tag else ''}
class Securitydomainrestoredata:
def __init__(self):
self.enc_data = enc_data()
self.wrapped_key = key()
def to_json(self):
return {'EncData': self.enc_data.to_json(), 'WrappedKey': self.wrapped_key.to_json()} |
a = [1, "Hallo", 12.5]
print(a)
b = range(1, 10, 1)
print(b)
for i in b:
print(i)
c = [2, 4, 6, 8]
d = [a, c]
print(d)
# Indizes
print(a[1])
print(d[0][1]) # -> "Hallo"
print(d[1][2]) # -> 6
c.append(10)
print(c) | a = [1, 'Hallo', 12.5]
print(a)
b = range(1, 10, 1)
print(b)
for i in b:
print(i)
c = [2, 4, 6, 8]
d = [a, c]
print(d)
print(a[1])
print(d[0][1])
print(d[1][2])
c.append(10)
print(c) |
class Calculator:
__result = 1
def __init__(self):
pass
def add(self, i):
self.__result = self.__result + i
def subtract(self, i):
self.__result = self.__result - i
def getResult(self):
return self.__result
| class Calculator:
__result = 1
def __init__(self):
pass
def add(self, i):
self.__result = self.__result + i
def subtract(self, i):
self.__result = self.__result - i
def get_result(self):
return self.__result |
#range
new_list = list(range(0,100))
print(new_list)
print("\n")
#join
sentence = "!"
new_sentence = sentence.join(["hello","I","am","JoJo"])
print(new_sentence)
print("\n")
new_sentence = " ".join(["hello","I","am","JoJo"])
print(new_sentence) | new_list = list(range(0, 100))
print(new_list)
print('\n')
sentence = '!'
new_sentence = sentence.join(['hello', 'I', 'am', 'JoJo'])
print(new_sentence)
print('\n')
new_sentence = ' '.join(['hello', 'I', 'am', 'JoJo'])
print(new_sentence) |
pets = {
'dogs': [
{
'name': 'Spot',
'age': 2,
'breed': 'Dalmatian',
'description': 'Spot is an energetic puppy who seeks fun and adventure!',
'url': 'https://content.codecademy.com/programs/flask/introduction-to-flask/dog-spot.jpeg'
},
{
'name': 'Shadow',
'age': 4,
'breed': 'Border Collie',
'description': 'Eager and curious, Shadow enjoys company and can always be found tagging along at your heels!',
'url': 'https://content.codecademy.com/programs/flask/introduction-to-flask/dog-shadow.jpeg'
}
],
'cats': [
{
'name': 'Snowflake',
'age': 1,
'breed': 'Tabby',
'description': 'Snowflake is a playful kitten who loves roaming the house and exploring.',
'url': 'https://content.codecademy.com/programs/flask/introduction-to-flask/cat-snowflake.jpeg'
}
],
'rabbits': [
{
'name': 'Easter',
'age': 4,
'breed': 'Mini Rex',
'description': 'Easter is a sweet, gentle rabbit who likes spending most of the day sleeping.',
'url': 'https://content.codecademy.com/programs/flask/introduction-to-flask/rabbit-easter.jpeg'
}
]
}
| pets = {'dogs': [{'name': 'Spot', 'age': 2, 'breed': 'Dalmatian', 'description': 'Spot is an energetic puppy who seeks fun and adventure!', 'url': 'https://content.codecademy.com/programs/flask/introduction-to-flask/dog-spot.jpeg'}, {'name': 'Shadow', 'age': 4, 'breed': 'Border Collie', 'description': 'Eager and curious, Shadow enjoys company and can always be found tagging along at your heels!', 'url': 'https://content.codecademy.com/programs/flask/introduction-to-flask/dog-shadow.jpeg'}], 'cats': [{'name': 'Snowflake', 'age': 1, 'breed': 'Tabby', 'description': 'Snowflake is a playful kitten who loves roaming the house and exploring.', 'url': 'https://content.codecademy.com/programs/flask/introduction-to-flask/cat-snowflake.jpeg'}], 'rabbits': [{'name': 'Easter', 'age': 4, 'breed': 'Mini Rex', 'description': 'Easter is a sweet, gentle rabbit who likes spending most of the day sleeping.', 'url': 'https://content.codecademy.com/programs/flask/introduction-to-flask/rabbit-easter.jpeg'}]} |
N = int(input())
phone_book = {}
for i in range(N):
a = str(input()).split(" ")
name = a[0]
phone = int(a[1])
phone_book[name] = phone
# for j in range(N):
while True:
try:
name = str(input())
if name in phone_book:
phone = phone_book[name]
print(name + "=" + str(phone))
else:
print("Not found")
except EOFError:
break | n = int(input())
phone_book = {}
for i in range(N):
a = str(input()).split(' ')
name = a[0]
phone = int(a[1])
phone_book[name] = phone
while True:
try:
name = str(input())
if name in phone_book:
phone = phone_book[name]
print(name + '=' + str(phone))
else:
print('Not found')
except EOFError:
break |
CP_SERVICE_PORT = 5000
LG_SERVICE_URL = "http://127.0.0.1:5001"
RM_SERVICE_URL = "http://127.0.0.1:5002"
OC_SERVICE_URL = "http://127.0.0.1:5003"
LC_SERVICE_URL = "http://127.0.0.1:5004"
| cp_service_port = 5000
lg_service_url = 'http://127.0.0.1:5001'
rm_service_url = 'http://127.0.0.1:5002'
oc_service_url = 'http://127.0.0.1:5003'
lc_service_url = 'http://127.0.0.1:5004' |
def can_access(event, ssm_client, is_header=False) -> bool:
store = event["headers"] if is_header else event["queryStringParameters"]
request_token = store.get("Authorization")
if request_token is None:
return False
resp = ssm_client.get_parameter(Name="BookmarksPassword", WithDecryption=True)
return request_token == resp["Parameter"]["Value"]
| def can_access(event, ssm_client, is_header=False) -> bool:
store = event['headers'] if is_header else event['queryStringParameters']
request_token = store.get('Authorization')
if request_token is None:
return False
resp = ssm_client.get_parameter(Name='BookmarksPassword', WithDecryption=True)
return request_token == resp['Parameter']['Value'] |
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
def isValidBST(self, root: TreeNode) -> bool:
# 1st recursive solution
def helper(node, lower = float('-inf'), upper = float('inf')):
if not node:
return True
leftSubtreeInfo = helper(node.left, lower, node.val)
rightSubtreeInfo = helper(node.right, node.val, upper)
if lower < node.val < upper and leftSubtreeInfo and rightSubtreeInfo:
return True
else:
return False
return helper(root)
# 2nd iterative solution
if not root:
return true
stack = []
pre = None
while root or stack:
while root:
stack.append(root)
root = root.left
root = stack.pop()
if pre and root.val <= pre.val:
return False
pre = root
root = root.right
return True
| class Solution:
def is_valid_bst(self, root: TreeNode) -> bool:
def helper(node, lower=float('-inf'), upper=float('inf')):
if not node:
return True
left_subtree_info = helper(node.left, lower, node.val)
right_subtree_info = helper(node.right, node.val, upper)
if lower < node.val < upper and leftSubtreeInfo and rightSubtreeInfo:
return True
else:
return False
return helper(root)
if not root:
return true
stack = []
pre = None
while root or stack:
while root:
stack.append(root)
root = root.left
root = stack.pop()
if pre and root.val <= pre.val:
return False
pre = root
root = root.right
return True |
__auther__ = 'jamfly'
def encrypt(text, shift):
result = ""
for char in text:
if char.isalpha():
if char.isupper():
result += chr((ord(char) + shift - 65) % 26 + 65)
else:
result += chr((ord(char) + shift - 97) % 26 + 97)
else:
result += char
return result
def decrypt(text, shift):
return encrypt(text, 26 - shift)
# just replace test string to another string that you wanna test
# encrypt string by calling encrypt
# decrypt string by calling decrypt
if __name__ == '__main__':
test_srtring = "hello world"
shift = 4
encrypted_srtring = encrypt(test_srtring, shift)
decrypted_srtring = decrypt(encrypted_srtring, shift)
print('{0} is test_srtring'.format(test_srtring))
print('{0} is encrypted_srtring {1} is decrypted_srtring'.format(encrypted_srtring, decrypted_srtring)) | __auther__ = 'jamfly'
def encrypt(text, shift):
result = ''
for char in text:
if char.isalpha():
if char.isupper():
result += chr((ord(char) + shift - 65) % 26 + 65)
else:
result += chr((ord(char) + shift - 97) % 26 + 97)
else:
result += char
return result
def decrypt(text, shift):
return encrypt(text, 26 - shift)
if __name__ == '__main__':
test_srtring = 'hello world'
shift = 4
encrypted_srtring = encrypt(test_srtring, shift)
decrypted_srtring = decrypt(encrypted_srtring, shift)
print('{0} is test_srtring'.format(test_srtring))
print('{0} is encrypted_srtring {1} is decrypted_srtring'.format(encrypted_srtring, decrypted_srtring)) |
APPLICATION_STATUS_CHOICES = (
('Pending', 'Pending'),
('Accept', 'Accept'),
('Reject', 'Reject'),
)
KNOWN_MEASURE_CHOICES = (
('Years', 'Years'),
('Months', 'Months'),
)
REFERENCE_TYPE_CHOICES = (
('Professional', 'Professional'),
('Academic', 'Academic'),
('Social', 'Social')
) | application_status_choices = (('Pending', 'Pending'), ('Accept', 'Accept'), ('Reject', 'Reject'))
known_measure_choices = (('Years', 'Years'), ('Months', 'Months'))
reference_type_choices = (('Professional', 'Professional'), ('Academic', 'Academic'), ('Social', 'Social')) |
def extractWwwIllanovelsCom(item):
'''
Parser for 'www.illanovels.com'
'''
vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])
if not (chp or vol) or "preview" in item['title'].lower():
return None
tagmap = [
('my little happiness', 'my little happiness', 'translated'),
('intense love', 'intense love', 'translated'),
('Under the Power', 'Under the Power', 'translated'),
('Unrequited Love', 'Unrequited Love', 'translated'),
('Autumn\'s Concerto', 'Autumn\'s Concerto', 'translated'),
('the love equations', 'the love equations', 'translated'),
('love is sweet', 'love is sweet', 'translated'),
('PRC', 'PRC', 'translated'),
('Loiterous', 'Loiterous', 'oel'),
]
for tagname, name, tl_type in tagmap:
if tagname in item['tags']:
return buildReleaseMessageWithType(item, name, vol, chp, frag=frag, postfix=postfix, tl_type=tl_type)
return False | def extract_www_illanovels_com(item):
"""
Parser for 'www.illanovels.com'
"""
(vol, chp, frag, postfix) = extract_vol_chapter_fragment_postfix(item['title'])
if not (chp or vol) or 'preview' in item['title'].lower():
return None
tagmap = [('my little happiness', 'my little happiness', 'translated'), ('intense love', 'intense love', 'translated'), ('Under the Power', 'Under the Power', 'translated'), ('Unrequited Love', 'Unrequited Love', 'translated'), ("Autumn's Concerto", "Autumn's Concerto", 'translated'), ('the love equations', 'the love equations', 'translated'), ('love is sweet', 'love is sweet', 'translated'), ('PRC', 'PRC', 'translated'), ('Loiterous', 'Loiterous', 'oel')]
for (tagname, name, tl_type) in tagmap:
if tagname in item['tags']:
return build_release_message_with_type(item, name, vol, chp, frag=frag, postfix=postfix, tl_type=tl_type)
return False |
__author__ = 'Andy'
class DevicePollingProcess(object):
def __init__(self, poll_fn, output_queue, kill_event):
self.poll_fn = poll_fn
self.output_queue = output_queue
self.kill_event = kill_event
def read(self):
while not self.kill_event.is_set():
self.output_queue.put(self.poll_fn()) | __author__ = 'Andy'
class Devicepollingprocess(object):
def __init__(self, poll_fn, output_queue, kill_event):
self.poll_fn = poll_fn
self.output_queue = output_queue
self.kill_event = kill_event
def read(self):
while not self.kill_event.is_set():
self.output_queue.put(self.poll_fn()) |
'''
This is python implementation of largest rectangle in histogram problem
'''
'''
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1,
find the area of largest rectangle in the histogram.
'''
def largestRectangleArea(lst: List[int]) -> int:
if len(lst)==0:
return 0
i = 0
top = 0
area = -1
maxArea = -1
st = []
while i<len(lst):
if len(st)==0 or lst[st[-1]] <= lst[i]:
st.append(i)
i+=1
else:
top = st.pop()
if len(st)!=0:
area = lst[top]*(i - 1 - st[-1])
else:
area = lst[top]*(i-1+1)
maxArea = max(area,maxArea)
while len(st)!=0:
top = st.pop()
if len(st)!=0:
area = lst[top]*(i - 1 - st[-1])
else:
area = lst[top]*i
maxArea = max(area,maxArea)
return maxArea | """
This is python implementation of largest rectangle in histogram problem
"""
"\nGiven n non-negative integers representing the histogram's bar height where the width of each bar is 1, \nfind the area of largest rectangle in the histogram.\n"
def largest_rectangle_area(lst: List[int]) -> int:
if len(lst) == 0:
return 0
i = 0
top = 0
area = -1
max_area = -1
st = []
while i < len(lst):
if len(st) == 0 or lst[st[-1]] <= lst[i]:
st.append(i)
i += 1
else:
top = st.pop()
if len(st) != 0:
area = lst[top] * (i - 1 - st[-1])
else:
area = lst[top] * (i - 1 + 1)
max_area = max(area, maxArea)
while len(st) != 0:
top = st.pop()
if len(st) != 0:
area = lst[top] * (i - 1 - st[-1])
else:
area = lst[top] * i
max_area = max(area, maxArea)
return maxArea |
# Basic data types
x = 3
print(type(x)) # Prints "<class 'int'>"
print(x) # Prints "3"
print(x + 1) # Addition; prints "4"
print(x - 1) # Subtraction; prints "2"
print(x * 2) # Multiplication; prints "6"
print(x ** 2) # Exponentiation; prints "9"
x += 1
print(x) # Prints "4"
x *= 2
print(x) # Prints "8"
y = 2.5
print(type(y)) # Prints "<class 'float'>"
print(y, y + 1, y * 2, y ** 2) # Prints "2.5 3.5 5.0 6.25"
# Booleans
t = True
f = False
print(type(t)) # Prints "<class 'bool'>"
print(t and f) # Logical AND; prints "False"
print(t or f) # Logical OR; prints "True"
print(not t) # Logical NOT; prints "False"
print(t != f) # Logical XOR; prints "True"
# Strings
hello = 'hello' # String literals can use single quotes
world = "world" # or double quotes; it does not matter.
print(hello) # Prints "hello"
print(len(hello)) # String length; prints "5"
hw = hello + ' ' + world # String concatenation
print(hw) # prints "hello world"
hw12 = '%s %s %d' % (hello, world, 12) # sprintf style string formatting
print(hw12) # prints "hello world 12"
s = "hello"
print(s.capitalize()) # Capitalize a string; prints "Hello"
print(s.upper()) # Convert a string to uppercase; prints "HELLO"
print(s.rjust(7)) # Right-justify a string, padding with spaces; prints " hello"
print(s.center(7)) # Center a string, padding with spaces; prints " hello "
print(s.replace('l', '(ell)')) # Replace all instances of one substring with another;
# prints "he(ell)(ell)o"
print(' world '.strip()) # Strip leading and trailing whitespace; prints "world"
# Containers
# Lists
xs = [3, 1, 2] # Create a list
print(xs, xs[2]) # Prints "[3, 1, 2] 2"
print(xs[-1]) # Negative indices count from the end of the list; prints "2"
xs[2] = 'foo' # Lists can contain elements of different types
print(xs) # Prints "[3, 1, 'foo']"
xs.append('bar') # Add a new element to the end of the list
print(xs) # Prints "[3, 1, 'foo', 'bar']"
x = xs.pop() # Remove and return the last element of the list
print(x, xs) # Prints "bar [3, 1, 'foo']"
# Slicing
nums = list(range(5)) # range is a built-in function that creates a list of integers
print(nums) # Prints "[0, 1, 2, 3, 4]"
print(nums[2:4]) # Get a slice from index 2 to 4 (exclusive); prints "[2, 3]"
print(nums[2:]) # Get a slice from index 2 to the end; prints "[2, 3, 4]"
print(nums[:2]) # Get a slice from the start to index 2 (exclusive); prints "[0, 1]"
print(nums[:]) # Get a slice of the whole list; prints "[0, 1, 2, 3, 4]"
print(nums[:-1]) # Slice indices can be negative; prints "[0, 1, 2, 3]"
nums[2:4] = [8, 9] # Assign a new sublist to a slice
print(nums) # Prints "[0, 1, 8, 9, 4]"
# Loops
animals = ['cat', 'dog', 'monkey']
for animal in animals:
print(animal) # Prints "cat", "dog", "monkey", each on its own line.
animals = ['cat', 'dog', 'monkey']
for idx, animal in enumerate(animals):
print('#%d: %s' % (idx + 1, animal)) # Prints "#1: cat", "#2: dog", "#3: monkey", each on its own line
# List comprehensions
nums = [0, 1, 2, 3, 4]
squares = []
for x in nums:
squares.append(x ** 2)
print(squares) # Prints [0, 1, 4, 9, 16]
# example
nums = [0, 1, 2, 3, 4]
squares = [x ** 2 for x in nums]
print(squares) # Prints [0, 1, 4, 9, 16]
# example2
nums = [0, 1, 2, 3, 4]
even_squares = [x ** 2 for x in nums if x % 2 == 0]
print(even_squares) # Prints "[0, 4, 16]"
# Prime Number Generator
def is_prime(n):
for i in range(2, n):
if n % i == 0:
return False
return True
n = input("Enter the number\n")
for x in range(2, int(n)):
if is_prime(x):
print(x, "is prime")
else:
print(x, "is not prime")
| x = 3
print(type(x))
print(x)
print(x + 1)
print(x - 1)
print(x * 2)
print(x ** 2)
x += 1
print(x)
x *= 2
print(x)
y = 2.5
print(type(y))
print(y, y + 1, y * 2, y ** 2)
t = True
f = False
print(type(t))
print(t and f)
print(t or f)
print(not t)
print(t != f)
hello = 'hello'
world = 'world'
print(hello)
print(len(hello))
hw = hello + ' ' + world
print(hw)
hw12 = '%s %s %d' % (hello, world, 12)
print(hw12)
s = 'hello'
print(s.capitalize())
print(s.upper())
print(s.rjust(7))
print(s.center(7))
print(s.replace('l', '(ell)'))
print(' world '.strip())
xs = [3, 1, 2]
print(xs, xs[2])
print(xs[-1])
xs[2] = 'foo'
print(xs)
xs.append('bar')
print(xs)
x = xs.pop()
print(x, xs)
nums = list(range(5))
print(nums)
print(nums[2:4])
print(nums[2:])
print(nums[:2])
print(nums[:])
print(nums[:-1])
nums[2:4] = [8, 9]
print(nums)
animals = ['cat', 'dog', 'monkey']
for animal in animals:
print(animal)
animals = ['cat', 'dog', 'monkey']
for (idx, animal) in enumerate(animals):
print('#%d: %s' % (idx + 1, animal))
nums = [0, 1, 2, 3, 4]
squares = []
for x in nums:
squares.append(x ** 2)
print(squares)
nums = [0, 1, 2, 3, 4]
squares = [x ** 2 for x in nums]
print(squares)
nums = [0, 1, 2, 3, 4]
even_squares = [x ** 2 for x in nums if x % 2 == 0]
print(even_squares)
def is_prime(n):
for i in range(2, n):
if n % i == 0:
return False
return True
n = input('Enter the number\n')
for x in range(2, int(n)):
if is_prime(x):
print(x, 'is prime')
else:
print(x, 'is not prime') |
'''
Created on Nov 2, 2013
@author: peterb
'''
TOPIC = "topic"
QUEUE = "queue"
COUNT = "count"
METHOD = "method"
OPTIONS = "options"
LOG_FORMAT = "[%(levelname)1.1s %(asctime)s %(process)d %(thread)x %(module)s:%(lineno)d] %(message)s" | """
Created on Nov 2, 2013
@author: peterb
"""
topic = 'topic'
queue = 'queue'
count = 'count'
method = 'method'
options = 'options'
log_format = '[%(levelname)1.1s %(asctime)s %(process)d %(thread)x %(module)s:%(lineno)d] %(message)s' |
'''
LeetCode Strings Q.415 Add Strings
Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2.
Without using builtin libraries.
'''
def addStrings(num1, num2):
num1 = num1[::-1]
num2 = num2[::-1]
def solve(num1, num2):
n1 = len(num1)
n2 = len(num2)
i = 0
ans = ''
carry = 0
while i < n1:
res = int(num1[i])+int(num2[i])+carry
carry = 0
if res <= 9:
ans = str(res) + ans[:]
else:
res = str(res)
ans = str(res[1]) + ans[:]
carry = int(res[0])
i += 1
if n1 == n2:
if carry:
ans = str(carry) + ans[:]
carry = 0
else:
i = n1
while carry:
res = carry + int(num2[i])
carry = 0
if res <= 9:
ans = str(res) + ans[:]
else:
res = str(res)
ans = str(res[1]) + ans[:]
carry = int(res[0])
i += 1
if i == n2:
if carry:
ans = str(carry) + ans[:]
carry = 0
while i < n2:
ans = num2[i] + ans[:]
i += 1
return ans
if len(num1) <= len(num2):
return solve(num1, num2)
else:
return solve(num2, num1)
if __name__ == '__main__':
num1 = "199"
num2 = "99"
print(addStrings(num1, num2))
| """
LeetCode Strings Q.415 Add Strings
Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2.
Without using builtin libraries.
"""
def add_strings(num1, num2):
num1 = num1[::-1]
num2 = num2[::-1]
def solve(num1, num2):
n1 = len(num1)
n2 = len(num2)
i = 0
ans = ''
carry = 0
while i < n1:
res = int(num1[i]) + int(num2[i]) + carry
carry = 0
if res <= 9:
ans = str(res) + ans[:]
else:
res = str(res)
ans = str(res[1]) + ans[:]
carry = int(res[0])
i += 1
if n1 == n2:
if carry:
ans = str(carry) + ans[:]
carry = 0
else:
i = n1
while carry:
res = carry + int(num2[i])
carry = 0
if res <= 9:
ans = str(res) + ans[:]
else:
res = str(res)
ans = str(res[1]) + ans[:]
carry = int(res[0])
i += 1
if i == n2:
if carry:
ans = str(carry) + ans[:]
carry = 0
while i < n2:
ans = num2[i] + ans[:]
i += 1
return ans
if len(num1) <= len(num2):
return solve(num1, num2)
else:
return solve(num2, num1)
if __name__ == '__main__':
num1 = '199'
num2 = '99'
print(add_strings(num1, num2)) |
#
# PySNMP MIB module PowerConnect3248-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/PowerConnect3248-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:34:29 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion")
BridgeId, dot1dStpPort, Timeout, dot1dStpPortEntry = mibBuilder.importSymbols("BRIDGE-MIB", "BridgeId", "dot1dStpPort", "Timeout", "dot1dStpPortEntry")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
EnabledStatus, = mibBuilder.importSymbols("P-BRIDGE-MIB", "EnabledStatus")
PortList, = mibBuilder.importSymbols("Q-BRIDGE-MIB", "PortList")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
Counter64, IpAddress, ObjectIdentity, ModuleIdentity, Gauge32, MibIdentifier, TimeTicks, internet, Integer32, Unsigned32, NotificationType, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "Counter64", "IpAddress", "ObjectIdentity", "ModuleIdentity", "Gauge32", "MibIdentifier", "TimeTicks", "internet", "Integer32", "Unsigned32", "NotificationType", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Counter32")
RowStatus, TruthValue, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue", "TextualConvention", "DisplayString")
private = MibIdentifier((1, 3, 6, 1, 4))
enterprises = MibIdentifier((1, 3, 6, 1, 4, 1))
dell = MibIdentifier((1, 3, 6, 1, 4, 1, 674))
dellLan = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895))
powerConnect3248MIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 674, 10895, 3))
powerConnect3248MIB.setRevisions(('2001-09-06 00:00',))
if mibBuilder.loadTexts: powerConnect3248MIB.setLastUpdated('200109060000Z')
if mibBuilder.loadTexts: powerConnect3248MIB.setOrganization('Dell Computer Corporation')
powerConnect3248MIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1))
powerConnect3248Notifications = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 2))
powerConnect3248Conformance = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 3))
switchMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1))
portMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2))
trunkMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3))
lacpMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 4))
staMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5))
tftpMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 6))
restartMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 7))
mirrorMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 8))
igmpSnoopMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9))
ipMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10))
bcastStormMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11))
vlanMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12))
priorityMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13))
trapDestMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 14))
securityMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17))
sysLogMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19))
lineMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20))
class ValidStatus(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("valid", 1), ("invalid", 2))
switchManagementVlan = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4094))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: switchManagementVlan.setStatus('current')
switchNumber = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: switchNumber.setStatus('current')
switchInfoTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3), )
if mibBuilder.loadTexts: switchInfoTable.setStatus('current')
switchInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "swUnitIndex"))
if mibBuilder.loadTexts: switchInfoEntry.setStatus('current')
swUnitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swUnitIndex.setStatus('current')
swHardwareVer = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swHardwareVer.setStatus('current')
swMicrocodeVer = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swMicrocodeVer.setStatus('current')
swLoaderVer = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swLoaderVer.setStatus('current')
swBootRomVer = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swBootRomVer.setStatus('current')
swOpCodeVer = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swOpCodeVer.setStatus('current')
swPortNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swPortNumber.setStatus('current')
swPowerStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("internalPower", 1), ("redundantPower", 2), ("internalAndRedundantPower", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swPowerStatus.setStatus('current')
swRoleInSystem = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("master", 1), ("backupMaster", 2), ("slave", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swRoleInSystem.setStatus('current')
swSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swSerialNumber.setStatus('current')
swExpansionSlot1 = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=NamedValues(("notPresent", 1), ("other", 2), ("hundredBaseFxScMmf", 3), ("hundredBaseFxScSmf", 4), ("hundredBaseFxMtrjMmf", 5), ("thousandBaseSxScMmf", 6), ("thousandBaseSxMtrjMmf", 7), ("thousandBaseXGbic", 8), ("thousandBaseLxScSmf", 9), ("thousandBaseT", 10), ("stackingModule", 11), ("thousandBaseSfp", 12)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swExpansionSlot1.setStatus('current')
swExpansionSlot2 = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=NamedValues(("notPresent", 1), ("other", 2), ("hundredBaseFxScMmf", 3), ("hundredBaseFxScSmf", 4), ("hundredBaseFxMtrjMmf", 5), ("thousandBaseSxScMmf", 6), ("thousandBaseSxMtrjMmf", 7), ("thousandBaseXGbic", 8), ("thousandBaseLxScSmf", 9), ("thousandBaseT", 10), ("stackingModule", 11), ("thousandBaseSfp", 12)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swExpansionSlot2.setStatus('current')
swServiceTag = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swServiceTag.setStatus('current')
switchOperState = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("unknown", 2), ("ok", 3), ("noncritical", 4), ("critical", 5), ("nonrecoverable", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: switchOperState.setStatus('current')
switchProductId = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5))
swProdName = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swProdName.setStatus('current')
swProdManufacturer = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swProdManufacturer.setStatus('current')
swProdDescription = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swProdDescription.setStatus('current')
swProdVersion = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swProdVersion.setStatus('current')
swProdUrl = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swProdUrl.setStatus('current')
swIdentifier = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swIdentifier.setStatus('current')
swChassisServiceTag = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swChassisServiceTag.setStatus('current')
switchIndivPowerTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 6), )
if mibBuilder.loadTexts: switchIndivPowerTable.setStatus('current')
switchIndivPowerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 6, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "swIndivPowerUnitIndex"), (0, "PowerConnect3248-MIB", "swIndivPowerIndex"))
if mibBuilder.loadTexts: switchIndivPowerEntry.setStatus('current')
swIndivPowerUnitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 6, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swIndivPowerUnitIndex.setStatus('current')
swIndivPowerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 6, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swIndivPowerIndex.setStatus('current')
swIndivPowerStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notPresent", 1), ("green", 2), ("red", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swIndivPowerStatus.setStatus('current')
portTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1), )
if mibBuilder.loadTexts: portTable.setStatus('current')
portEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "portIndex"))
if mibBuilder.loadTexts: portEntry.setStatus('current')
portIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: portIndex.setStatus('current')
portName = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: portName.setStatus('current')
portType = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("other", 1), ("hundredBaseTX", 2), ("hundredBaseFX", 3), ("thousandBaseSX", 4), ("thousandBaseLX", 5), ("thousandBaseT", 6), ("thousandBaseGBIC", 7), ("thousandBaseSfp", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: portType.setStatus('current')
portSpeedDpxCfg = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("reserved", 1), ("halfDuplex10", 2), ("fullDuplex10", 3), ("halfDuplex100", 4), ("fullDuplex100", 5), ("halfDuplex1000", 6), ("fullDuplex1000", 7))).clone('halfDuplex10')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: portSpeedDpxCfg.setStatus('current')
portFlowCtrlCfg = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("backPressure", 3), ("dot3xFlowControl", 4))).clone('enabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: portFlowCtrlCfg.setStatus('current')
portCapabilities = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 6), Bits().clone(namedValues=NamedValues(("portCap10half", 0), ("portCap10full", 1), ("portCap100half", 2), ("portCap100full", 3), ("portCap1000half", 4), ("portCap1000full", 5), ("reserved6", 6), ("reserved7", 7), ("reserved8", 8), ("reserved9", 9), ("reserved10", 10), ("reserved11", 11), ("reserved12", 12), ("reserved13", 13), ("portCapSym", 14), ("portCapFlowCtrl", 15)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: portCapabilities.setStatus('current')
portAutonegotiation = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: portAutonegotiation.setStatus('current')
portSpeedDpxStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("error", 1), ("halfDuplex10", 2), ("fullDuplex10", 3), ("halfDuplex100", 4), ("fullDuplex100", 5), ("halfDuplex1000", 6), ("fullDuplex1000", 7)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: portSpeedDpxStatus.setStatus('current')
portFlowCtrlStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("error", 1), ("backPressure", 2), ("dot3xFlowControl", 3), ("none", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: portFlowCtrlStatus.setStatus('current')
portTrunkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: portTrunkIndex.setStatus('current')
trunkMaxId = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkMaxId.setStatus('current')
trunkValidNumber = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkValidNumber.setStatus('current')
trunkTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 3), )
if mibBuilder.loadTexts: trunkTable.setStatus('current')
trunkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 3, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "trunkIndex"))
if mibBuilder.loadTexts: trunkEntry.setStatus('current')
trunkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 3, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkIndex.setStatus('current')
trunkPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 3, 1, 2), PortList()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: trunkPorts.setStatus('current')
trunkCreation = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("static", 1), ("lacp", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkCreation.setStatus('current')
trunkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("valid", 1), ("invalid", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: trunkStatus.setStatus('current')
lacpPortTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 4, 1), )
if mibBuilder.loadTexts: lacpPortTable.setStatus('current')
lacpPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 4, 1, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "lacpPortIndex"))
if mibBuilder.loadTexts: lacpPortEntry.setStatus('current')
lacpPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 4, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lacpPortIndex.setStatus('current')
lacpPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lacpPortStatus.setStatus('current')
staSystemStatus = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 1), EnabledStatus().clone('enabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: staSystemStatus.setStatus('current')
staPortTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2), )
if mibBuilder.loadTexts: staPortTable.setStatus('current')
staPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1), ).setMaxAccess("readonly").setIndexNames((0, "PowerConnect3248-MIB", "staPortIndex"))
if mibBuilder.loadTexts: staPortEntry.setStatus('current')
staPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staPortIndex.setStatus('current')
staPortFastForward = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 2), EnabledStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: staPortFastForward.setStatus('current')
staPortProtocolMigration = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 3), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: staPortProtocolMigration.setStatus('current')
staPortAdminEdgePort = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 4), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: staPortAdminEdgePort.setStatus('current')
staPortOperEdgePort = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 5), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staPortOperEdgePort.setStatus('current')
staPortAdminPointToPoint = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("forceTrue", 0), ("forceFalse", 1), ("auto", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: staPortAdminPointToPoint.setStatus('current')
staPortOperPointToPoint = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 7), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staPortOperPointToPoint.setStatus('current')
staPortLongPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 200000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: staPortLongPathCost.setStatus('current')
staProtocolType = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("stp", 1), ("rstp", 2), ("mstp", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: staProtocolType.setStatus('current')
staTxHoldCount = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(3)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: staTxHoldCount.setStatus('current')
staPathCostMethod = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("short", 1), ("long", 2))).clone('short')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: staPathCostMethod.setStatus('current')
xstMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6))
xstInstanceCfgTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4), )
if mibBuilder.loadTexts: xstInstanceCfgTable.setStatus('current')
xstInstanceCfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1), ).setMaxAccess("readonly").setIndexNames((0, "PowerConnect3248-MIB", "xstInstanceCfgIndex"))
if mibBuilder.loadTexts: xstInstanceCfgEntry.setStatus('current')
xstInstanceCfgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgIndex.setStatus('current')
xstInstanceCfgPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 61440))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xstInstanceCfgPriority.setStatus('current')
xstInstanceCfgTimeSinceTopologyChange = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgTimeSinceTopologyChange.setStatus('current')
xstInstanceCfgTopChanges = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgTopChanges.setStatus('current')
xstInstanceCfgDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 5), BridgeId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgDesignatedRoot.setStatus('current')
xstInstanceCfgRootCost = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgRootCost.setStatus('current')
xstInstanceCfgRootPort = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgRootPort.setStatus('current')
xstInstanceCfgMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 8), Timeout()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgMaxAge.setStatus('current')
xstInstanceCfgHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 9), Timeout()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgHelloTime.setStatus('current')
xstInstanceCfgHoldTime = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 10), Timeout()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgHoldTime.setStatus('current')
xstInstanceCfgForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 11), Timeout()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgForwardDelay.setStatus('current')
xstInstanceCfgBridgeMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 12), Timeout()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgBridgeMaxAge.setStatus('current')
xstInstanceCfgBridgeHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 13), Timeout()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgBridgeHelloTime.setStatus('current')
xstInstanceCfgBridgeForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 14), Timeout()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgBridgeForwardDelay.setStatus('current')
xstInstanceCfgTxHoldCount = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgTxHoldCount.setStatus('current')
xstInstanceCfgPathCostMethod = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("short", 1), ("long", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstanceCfgPathCostMethod.setStatus('current')
xstInstancePortTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5), )
if mibBuilder.loadTexts: xstInstancePortTable.setStatus('current')
xstInstancePortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1), ).setMaxAccess("readonly").setIndexNames((0, "PowerConnect3248-MIB", "xstInstancePortInstance"), (0, "PowerConnect3248-MIB", "xstInstancePortPort"))
if mibBuilder.loadTexts: xstInstancePortEntry.setStatus('current')
xstInstancePortInstance = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstancePortInstance.setStatus('current')
xstInstancePortPort = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstancePortPort.setStatus('current')
xstInstancePortPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 240))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xstInstancePortPriority.setStatus('current')
xstInstancePortState = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("discarding", 1), ("learning", 2), ("forwarding", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstancePortState.setStatus('current')
xstInstancePortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 5), EnabledStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstancePortEnable.setStatus('current')
xstInstancePortPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 200000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xstInstancePortPathCost.setStatus('current')
xstInstancePortDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 7), BridgeId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstancePortDesignatedRoot.setStatus('current')
xstInstancePortDesignatedCost = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstancePortDesignatedCost.setStatus('current')
xstInstancePortDesignatedBridge = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 9), BridgeId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstancePortDesignatedBridge.setStatus('current')
xstInstancePortDesignatedPort = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstancePortDesignatedPort.setStatus('current')
xstInstancePortForwardTransitions = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstancePortForwardTransitions.setStatus('current')
xstInstancePortPortRole = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("disabled", 1), ("root", 2), ("designated", 3), ("alternate", 4), ("backup", 5), ("master", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: xstInstancePortPortRole.setStatus('current')
tftpFileType = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 6, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("opcode", 1), ("config", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: tftpFileType.setStatus('current')
tftpSrcFile = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 6, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: tftpSrcFile.setStatus('current')
tftpDestFile = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 6, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: tftpDestFile.setStatus('current')
tftpServer = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 6, 4), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: tftpServer.setStatus('current')
tftpAction = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 6, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notDownloading", 1), ("downloadToPROM", 2), ("downloadToRAM", 3), ("upload", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: tftpAction.setStatus('current')
tftpStatus = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 6, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("tftpSuccess", 1), ("tftpStatusUnknown", 2), ("tftpGeneralError", 3), ("tftpNoResponseFromServer", 4), ("tftpDownloadChecksumError", 5), ("tftpDownloadIncompatibleImage", 6), ("tftpTftpFileNotFound", 7), ("tftpTftpAccessViolation", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tftpStatus.setStatus('current')
restartOpCodeFile = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 7, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: restartOpCodeFile.setStatus('current')
restartConfigFile = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 7, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: restartConfigFile.setStatus('current')
restartControl = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 7, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("running", 1), ("warmBoot", 2), ("coldBoot", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: restartControl.setStatus('current')
mirrorTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 8, 1), )
if mibBuilder.loadTexts: mirrorTable.setStatus('current')
mirrorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 8, 1, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "mirrorDestinationPort"), (0, "PowerConnect3248-MIB", "mirrorSourcePort"))
if mibBuilder.loadTexts: mirrorEntry.setStatus('current')
mirrorDestinationPort = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 8, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mirrorDestinationPort.setStatus('current')
mirrorSourcePort = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 8, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mirrorSourcePort.setStatus('current')
mirrorType = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 8, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("rx", 1), ("tx", 2), ("both", 3)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: mirrorType.setStatus('current')
mirrorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 8, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("valid", 1), ("invalid", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: mirrorStatus.setStatus('current')
igmpSnoopStatus = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: igmpSnoopStatus.setStatus('current')
igmpSnoopQuerier = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: igmpSnoopQuerier.setStatus('current')
igmpSnoopQueryCount = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 10)).clone(2)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: igmpSnoopQueryCount.setStatus('current')
igmpSnoopQueryInterval = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 125)).clone(125)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: igmpSnoopQueryInterval.setStatus('current')
igmpSnoopQueryMaxResponseTime = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 30)).clone(10)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: igmpSnoopQueryMaxResponseTime.setStatus('current')
igmpSnoopQueryTimeout = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(300, 500)).clone(300)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: igmpSnoopQueryTimeout.setStatus('current')
igmpSnoopVersion = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2)).clone(2)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: igmpSnoopVersion.setStatus('current')
igmpSnoopRouterCurrentTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 8), )
if mibBuilder.loadTexts: igmpSnoopRouterCurrentTable.setStatus('current')
igmpSnoopRouterCurrentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 8, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "igmpSnoopRouterCurrentVlanIndex"))
if mibBuilder.loadTexts: igmpSnoopRouterCurrentEntry.setStatus('current')
igmpSnoopRouterCurrentVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 8, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: igmpSnoopRouterCurrentVlanIndex.setStatus('current')
igmpSnoopRouterCurrentPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 8, 1, 2), PortList()).setMaxAccess("readonly")
if mibBuilder.loadTexts: igmpSnoopRouterCurrentPorts.setStatus('current')
igmpSnoopRouterCurrentStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 8, 1, 3), PortList()).setMaxAccess("readonly")
if mibBuilder.loadTexts: igmpSnoopRouterCurrentStatus.setStatus('current')
igmpSnoopRouterStaticTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 9), )
if mibBuilder.loadTexts: igmpSnoopRouterStaticTable.setStatus('current')
igmpSnoopRouterStaticEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 9, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "igmpSnoopRouterStaticVlanIndex"))
if mibBuilder.loadTexts: igmpSnoopRouterStaticEntry.setStatus('current')
igmpSnoopRouterStaticVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 9, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: igmpSnoopRouterStaticVlanIndex.setStatus('current')
igmpSnoopRouterStaticPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 9, 1, 2), PortList()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: igmpSnoopRouterStaticPorts.setStatus('current')
igmpSnoopRouterStaticStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 9, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("valid", 1), ("invalid", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: igmpSnoopRouterStaticStatus.setStatus('current')
igmpSnoopMulticastCurrentTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 10), )
if mibBuilder.loadTexts: igmpSnoopMulticastCurrentTable.setStatus('current')
igmpSnoopMulticastCurrentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 10, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "igmpSnoopMulticastCurrentVlanIndex"), (0, "PowerConnect3248-MIB", "igmpSnoopMulticastCurrentIpAddress"))
if mibBuilder.loadTexts: igmpSnoopMulticastCurrentEntry.setStatus('current')
igmpSnoopMulticastCurrentVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 10, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: igmpSnoopMulticastCurrentVlanIndex.setStatus('current')
igmpSnoopMulticastCurrentIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 10, 1, 2), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: igmpSnoopMulticastCurrentIpAddress.setStatus('current')
igmpSnoopMulticastCurrentPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 10, 1, 3), PortList()).setMaxAccess("readonly")
if mibBuilder.loadTexts: igmpSnoopMulticastCurrentPorts.setStatus('current')
igmpSnoopMulticastCurrentStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 10, 1, 4), PortList()).setMaxAccess("readonly")
if mibBuilder.loadTexts: igmpSnoopMulticastCurrentStatus.setStatus('current')
igmpSnoopMulticastStaticTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 11), )
if mibBuilder.loadTexts: igmpSnoopMulticastStaticTable.setStatus('current')
igmpSnoopMulticastStaticEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 11, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "igmpSnoopMulticastStaticVlanIndex"), (0, "PowerConnect3248-MIB", "igmpSnoopMulticastStaticIpAddress"))
if mibBuilder.loadTexts: igmpSnoopMulticastStaticEntry.setStatus('current')
igmpSnoopMulticastStaticVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 11, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: igmpSnoopMulticastStaticVlanIndex.setStatus('current')
igmpSnoopMulticastStaticIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 11, 1, 2), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: igmpSnoopMulticastStaticIpAddress.setStatus('current')
igmpSnoopMulticastStaticPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 11, 1, 3), PortList()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: igmpSnoopMulticastStaticPorts.setStatus('current')
igmpSnoopMulticastStaticStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 11, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("valid", 1), ("invalid", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: igmpSnoopMulticastStaticStatus.setStatus('current')
netConfigTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1), )
if mibBuilder.loadTexts: netConfigTable.setStatus('current')
netConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "netConfigIfIndex"), (0, "PowerConnect3248-MIB", "netConfigIPAddress"), (0, "PowerConnect3248-MIB", "netConfigSubnetMask"))
if mibBuilder.loadTexts: netConfigEntry.setStatus('current')
netConfigIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: netConfigIfIndex.setStatus('current')
netConfigIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1, 1, 2), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: netConfigIPAddress.setStatus('current')
netConfigSubnetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: netConfigSubnetMask.setStatus('current')
netConfigPrimaryInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("primary", 1), ("secondary", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: netConfigPrimaryInterface.setStatus('current')
netConfigUnnumbered = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("unnumbered", 1), ("notUnnumbered", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: netConfigUnnumbered.setStatus('current')
netConfigStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1, 1, 6), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: netConfigStatus.setStatus('current')
netDefaultGateway = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 2), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: netDefaultGateway.setStatus('current')
ipHttpState = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipHttpState.setStatus('current')
ipHttpPort = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipHttpPort.setStatus('current')
ipDhcpRestart = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("restart", 1), ("noRestart", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipDhcpRestart.setStatus('current')
ipHttpsState = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 6), EnabledStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipHttpsState.setStatus('current')
ipHttpsPort = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipHttpsPort.setStatus('current')
bcastStormTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1), )
if mibBuilder.loadTexts: bcastStormTable.setStatus('current')
bcastStormEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "bcastStormIfIndex"))
if mibBuilder.loadTexts: bcastStormEntry.setStatus('current')
bcastStormIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bcastStormIfIndex.setStatus('current')
bcastStormStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: bcastStormStatus.setStatus('current')
bcastStormSampleType = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("pkt-rate", 1), ("octet-rate", 2), ("percent", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: bcastStormSampleType.setStatus('current')
bcastStormPktRate = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: bcastStormPktRate.setStatus('current')
bcastStormOctetRate = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1, 1, 5), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: bcastStormOctetRate.setStatus('current')
bcastStormPercent = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1, 1, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: bcastStormPercent.setStatus('current')
vlanTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 1), )
if mibBuilder.loadTexts: vlanTable.setStatus('current')
vlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 1, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "vlanIndex"))
if mibBuilder.loadTexts: vlanEntry.setStatus('current')
vlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 1, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanIndex.setStatus('current')
vlanAddressMethod = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("user", 1), ("bootp", 2), ("dhcp", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vlanAddressMethod.setStatus('current')
vlanPortTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 2), )
if mibBuilder.loadTexts: vlanPortTable.setStatus('current')
vlanPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 2, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "vlanPortIndex"))
if mibBuilder.loadTexts: vlanPortEntry.setStatus('current')
vlanPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanPortIndex.setStatus('current')
vlanPortMode = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hybrid", 1), ("dot1qTrunk", 2), ("access", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vlanPortMode.setStatus('current')
prioIpPrecDscpStatus = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("precedence", 2), ("dscp", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: prioIpPrecDscpStatus.setStatus('current')
prioIpPrecTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 2), )
if mibBuilder.loadTexts: prioIpPrecTable.setStatus('current')
prioIpPrecEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 2, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "prioIpPrecPort"), (0, "PowerConnect3248-MIB", "prioIpPrecValue"))
if mibBuilder.loadTexts: prioIpPrecEntry.setStatus('current')
prioIpPrecPort = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: prioIpPrecPort.setStatus('current')
prioIpPrecValue = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: prioIpPrecValue.setStatus('current')
prioIpPrecCos = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: prioIpPrecCos.setStatus('current')
prioIpPrecRestoreDefault = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: prioIpPrecRestoreDefault.setStatus('current')
prioIpDscpTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 4), )
if mibBuilder.loadTexts: prioIpDscpTable.setStatus('current')
prioIpDscpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 4, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "prioIpDscpPort"), (0, "PowerConnect3248-MIB", "prioIpDscpValue"))
if mibBuilder.loadTexts: prioIpDscpEntry.setStatus('current')
prioIpDscpPort = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 4, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: prioIpDscpPort.setStatus('current')
prioIpDscpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readonly")
if mibBuilder.loadTexts: prioIpDscpValue.setStatus('current')
prioIpDscpCos = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: prioIpDscpCos.setStatus('current')
prioIpDscpRestoreDefault = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 5), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: prioIpDscpRestoreDefault.setStatus('current')
prioIpPortEnableStatus = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: prioIpPortEnableStatus.setStatus('current')
prioIpPortTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 7), )
if mibBuilder.loadTexts: prioIpPortTable.setStatus('current')
prioIpPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 7, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "prioIpPortPhysPort"), (0, "PowerConnect3248-MIB", "prioIpPortValue"))
if mibBuilder.loadTexts: prioIpPortEntry.setStatus('current')
prioIpPortPhysPort = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 7, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: prioIpPortPhysPort.setStatus('current')
prioIpPortValue = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 7, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: prioIpPortValue.setStatus('current')
prioIpPortCos = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 7, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: prioIpPortCos.setStatus('current')
prioIpPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 7, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("valid", 1), ("invalid", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: prioIpPortStatus.setStatus('current')
prioCopy = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 8))
prioCopyIpPrec = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 8, 1), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: prioCopyIpPrec.setStatus('current')
prioCopyIpDscp = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 8, 2), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: prioCopyIpDscp.setStatus('current')
prioCopyIpPort = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 8, 3), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: prioCopyIpPort.setStatus('current')
prioWrrTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 9), )
if mibBuilder.loadTexts: prioWrrTable.setStatus('current')
prioWrrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 9, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "prioWrrTrafficClass"))
if mibBuilder.loadTexts: prioWrrEntry.setStatus('current')
prioWrrTrafficClass = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 9, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: prioWrrTrafficClass.setStatus('current')
prioWrrWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 9, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: prioWrrWeight.setStatus('current')
trapDestTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 14, 1), )
if mibBuilder.loadTexts: trapDestTable.setStatus('current')
trapDestEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 14, 1, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "trapDestAddress"))
if mibBuilder.loadTexts: trapDestEntry.setStatus('current')
trapDestAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 14, 1, 1, 1), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trapDestAddress.setStatus('current')
trapDestCommunity = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 14, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: trapDestCommunity.setStatus('current')
trapDestStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 14, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("valid", 1), ("invalid", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: trapDestStatus.setStatus('current')
trapDestVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 14, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("version1", 1), ("version2", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: trapDestVersion.setStatus('current')
portSecurityMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 2))
radiusMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 4))
tacacsMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 5))
sshMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6))
portSecPortTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 2, 1), )
if mibBuilder.loadTexts: portSecPortTable.setStatus('current')
portSecPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 2, 1, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "portSecPortIndex"))
if mibBuilder.loadTexts: portSecPortEntry.setStatus('current')
portSecPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: portSecPortIndex.setStatus('current')
portSecPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 2, 1, 1, 2), EnabledStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: portSecPortStatus.setStatus('current')
portSecAction = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("trap", 2), ("shutdown", 3), ("trapAndShutdown", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: portSecAction.setStatus('current')
radiusServerAddress = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 4, 1), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusServerAddress.setStatus('current')
radiusServerPortNumber = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 4, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusServerPortNumber.setStatus('current')
radiusServerKey = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 4, 3), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusServerKey.setStatus('current')
radiusServerRetransmit = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 4, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusServerRetransmit.setStatus('current')
radiusServerTimeout = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 4, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusServerTimeout.setStatus('current')
tacacsServerAddress = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 5, 1), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: tacacsServerAddress.setStatus('current')
tacacsServerPortNumber = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 5, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: tacacsServerPortNumber.setStatus('current')
tacacsServerKey = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 5, 3), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: tacacsServerKey.setStatus('current')
sshServerStatus = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 1), EnabledStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sshServerStatus.setStatus('current')
sshServerMajorVersion = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sshServerMajorVersion.setStatus('current')
sshServerMinorVersion = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sshServerMinorVersion.setStatus('current')
sshTimeout = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 120))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sshTimeout.setStatus('current')
sshAuthRetries = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sshAuthRetries.setStatus('current')
sshConnInfoTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6), )
if mibBuilder.loadTexts: sshConnInfoTable.setStatus('current')
sshConnInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "sshConnID"))
if mibBuilder.loadTexts: sshConnInfoEntry.setStatus('current')
sshConnID = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sshConnID.setStatus('current')
sshConnMajorVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sshConnMajorVersion.setStatus('current')
sshConnMinorVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sshConnMinorVersion.setStatus('current')
sshConnEncryptionType = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("des", 2), ("tribeDes", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sshConnEncryptionType.setStatus('current')
sshConnStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("negotiationStart", 1), ("authenticationStart", 2), ("sessionStart", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sshConnStatus.setStatus('current')
sshConnUserName = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1, 6), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sshConnUserName.setStatus('current')
sshDisconnect = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noDisconnect", 1), ("disconnect", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sshDisconnect.setStatus('current')
sysLogStatus = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sysLogStatus.setStatus('current')
sysLogHistoryFlashLevel = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sysLogHistoryFlashLevel.setStatus('current')
sysLogHistoryRamLevel = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sysLogHistoryRamLevel.setStatus('current')
remoteLogMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6))
remoteLogStatus = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6, 1), EnabledStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: remoteLogStatus.setStatus('current')
remoteLogLevel = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: remoteLogLevel.setStatus('current')
remoteLogFacilityType = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(16, 17, 18, 19, 20, 21, 22, 23))).clone(namedValues=NamedValues(("localUse0", 16), ("localUse1", 17), ("localUse2", 18), ("localUse3", 19), ("localUse4", 20), ("localUse5", 21), ("localUse6", 22), ("localUse7", 23)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: remoteLogFacilityType.setStatus('current')
remoteLogServerTable = MibTable((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6, 4), )
if mibBuilder.loadTexts: remoteLogServerTable.setStatus('current')
remoteLogServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6, 4, 1), ).setIndexNames((0, "PowerConnect3248-MIB", "remoteLogServerIp"))
if mibBuilder.loadTexts: remoteLogServerEntry.setStatus('current')
remoteLogServerIp = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6, 4, 1, 1), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: remoteLogServerIp.setStatus('current')
remoteLogServerStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6, 4, 1, 2), ValidStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: remoteLogServerStatus.setStatus('current')
consoleMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1))
telnetMgt = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 2))
consoleDataBits = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("databits7", 1), ("databits8", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: consoleDataBits.setStatus('current')
consoleParity = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("partyNone", 1), ("partyEven", 2), ("partyOdd", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: consoleParity.setStatus('current')
consoleBaudRate = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("baudRate9600", 1), ("baudRate19200", 2), ("baudRate38400", 3), ("baudRate57600", 4), ("baudRate115200", 5)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: consoleBaudRate.setStatus('current')
consoleStopBits = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("stopbits1", 1), ("stopbits2", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: consoleStopBits.setStatus('current')
consoleExecTimeout = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: consoleExecTimeout.setStatus('current')
consolePasswordThreshold = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 120))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: consolePasswordThreshold.setStatus('current')
consoleSilentTime = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: consoleSilentTime.setStatus('current')
telnetExecTimeout = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: telnetExecTimeout.setStatus('current')
telnetPasswordThreshold = MibScalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 120))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: telnetPasswordThreshold.setStatus('current')
powerConnect3248Traps = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 2, 1))
powerConnect3248TrapsPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 2, 1, 0))
swPowerStatusChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 674, 10895, 3, 2, 1, 0, 1)).setObjects(("PowerConnect3248-MIB", "swIndivPowerUnitIndex"), ("PowerConnect3248-MIB", "swIndivPowerIndex"), ("PowerConnect3248-MIB", "swIndivPowerStatus"))
if mibBuilder.loadTexts: swPowerStatusChangeTrap.setStatus('current')
swPortSecurityTrap = NotificationType((1, 3, 6, 1, 4, 1, 674, 10895, 3, 2, 1, 0, 36)).setObjects(("IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: swPortSecurityTrap.setStatus('current')
mibBuilder.exportSymbols("PowerConnect3248-MIB", trapDestStatus=trapDestStatus, portSecPortIndex=portSecPortIndex, portSecPortTable=portSecPortTable, sshServerMajorVersion=sshServerMajorVersion, tftpMgt=tftpMgt, securityMgt=securityMgt, igmpSnoopRouterCurrentVlanIndex=igmpSnoopRouterCurrentVlanIndex, tacacsMgt=tacacsMgt, igmpSnoopMulticastCurrentEntry=igmpSnoopMulticastCurrentEntry, sshTimeout=sshTimeout, sshConnEncryptionType=sshConnEncryptionType, radiusServerKey=radiusServerKey, trapDestCommunity=trapDestCommunity, igmpSnoopQuerier=igmpSnoopQuerier, restartOpCodeFile=restartOpCodeFile, sysLogMgt=sysLogMgt, xstInstanceCfgRootCost=xstInstanceCfgRootCost, portName=portName, prioIpDscpCos=prioIpDscpCos, consoleExecTimeout=consoleExecTimeout, dell=dell, vlanPortMode=vlanPortMode, trapDestAddress=trapDestAddress, portSecPortEntry=portSecPortEntry, restartConfigFile=restartConfigFile, prioCopyIpPrec=prioCopyIpPrec, prioWrrTable=prioWrrTable, prioCopyIpDscp=prioCopyIpDscp, swPowerStatus=swPowerStatus, xstInstanceCfgBridgeMaxAge=xstInstanceCfgBridgeMaxAge, portFlowCtrlStatus=portFlowCtrlStatus, staPathCostMethod=staPathCostMethod, switchIndivPowerTable=switchIndivPowerTable, swChassisServiceTag=swChassisServiceTag, sshConnMajorVersion=sshConnMajorVersion, netConfigStatus=netConfigStatus, xstInstanceCfgBridgeForwardDelay=xstInstanceCfgBridgeForwardDelay, sshConnMinorVersion=sshConnMinorVersion, ipMgt=ipMgt, vlanPortEntry=vlanPortEntry, swBootRomVer=swBootRomVer, bcastStormPktRate=bcastStormPktRate, prioIpDscpPort=prioIpDscpPort, tacacsServerKey=tacacsServerKey, swIdentifier=swIdentifier, vlanPortIndex=vlanPortIndex, portCapabilities=portCapabilities, prioIpPortValue=prioIpPortValue, sshConnInfoTable=sshConnInfoTable, igmpSnoopRouterStaticStatus=igmpSnoopRouterStaticStatus, staPortProtocolMigration=staPortProtocolMigration, prioIpPortCos=prioIpPortCos, sysLogStatus=sysLogStatus, xstInstanceCfgHelloTime=xstInstanceCfgHelloTime, staPortLongPathCost=staPortLongPathCost, xstInstancePortDesignatedBridge=xstInstancePortDesignatedBridge, swSerialNumber=swSerialNumber, tftpStatus=tftpStatus, tacacsServerAddress=tacacsServerAddress, sshConnStatus=sshConnStatus, xstInstancePortPathCost=xstInstancePortPathCost, consoleSilentTime=consoleSilentTime, ValidStatus=ValidStatus, tftpFileType=tftpFileType, prioIpPrecRestoreDefault=prioIpPrecRestoreDefault, trunkMgt=trunkMgt, swHardwareVer=swHardwareVer, xstInstanceCfgHoldTime=xstInstanceCfgHoldTime, prioIpDscpEntry=prioIpDscpEntry, consoleStopBits=consoleStopBits, xstInstanceCfgForwardDelay=xstInstanceCfgForwardDelay, prioIpPortStatus=prioIpPortStatus, enterprises=enterprises, swRoleInSystem=swRoleInSystem, sshMgt=sshMgt, prioIpPrecCos=prioIpPrecCos, bcastStormIfIndex=bcastStormIfIndex, swProdVersion=swProdVersion, bcastStormStatus=bcastStormStatus, prioIpDscpRestoreDefault=prioIpDscpRestoreDefault, portSecAction=portSecAction, private=private, vlanMgt=vlanMgt, swProdUrl=swProdUrl, switchIndivPowerEntry=switchIndivPowerEntry, xstInstancePortState=xstInstancePortState, sysLogHistoryRamLevel=sysLogHistoryRamLevel, portIndex=portIndex, staMgt=staMgt, lacpPortIndex=lacpPortIndex, xstInstancePortDesignatedCost=xstInstancePortDesignatedCost, bcastStormEntry=bcastStormEntry, xstInstanceCfgPriority=xstInstanceCfgPriority, mirrorType=mirrorType, portSpeedDpxCfg=portSpeedDpxCfg, tftpAction=tftpAction, prioIpDscpTable=prioIpDscpTable, trunkTable=trunkTable, remoteLogServerIp=remoteLogServerIp, mirrorStatus=mirrorStatus, xstInstanceCfgBridgeHelloTime=xstInstanceCfgBridgeHelloTime, prioIpPrecEntry=prioIpPrecEntry, telnetPasswordThreshold=telnetPasswordThreshold, xstInstanceCfgDesignatedRoot=xstInstanceCfgDesignatedRoot, powerConnect3248TrapsPrefix=powerConnect3248TrapsPrefix, xstMgt=xstMgt, xstInstanceCfgTimeSinceTopologyChange=xstInstanceCfgTimeSinceTopologyChange, portFlowCtrlCfg=portFlowCtrlCfg, staPortAdminPointToPoint=staPortAdminPointToPoint, mirrorDestinationPort=mirrorDestinationPort, prioWrrWeight=prioWrrWeight, prioIpPortPhysPort=prioIpPortPhysPort, consolePasswordThreshold=consolePasswordThreshold, swMicrocodeVer=swMicrocodeVer, staPortAdminEdgePort=staPortAdminEdgePort, bcastStormSampleType=bcastStormSampleType, portSpeedDpxStatus=portSpeedDpxStatus, xstInstanceCfgMaxAge=xstInstanceCfgMaxAge, igmpSnoopRouterCurrentEntry=igmpSnoopRouterCurrentEntry, trapDestTable=trapDestTable, prioCopyIpPort=prioCopyIpPort, portSecurityMgt=portSecurityMgt, switchInfoTable=switchInfoTable, restartControl=restartControl, sshAuthRetries=sshAuthRetries, swOpCodeVer=swOpCodeVer, radiusServerPortNumber=radiusServerPortNumber, portEntry=portEntry, trunkEntry=trunkEntry, vlanIndex=vlanIndex, sshConnInfoEntry=sshConnInfoEntry, bcastStormMgt=bcastStormMgt, xstInstanceCfgEntry=xstInstanceCfgEntry, igmpSnoopQueryInterval=igmpSnoopQueryInterval, prioIpPortEntry=prioIpPortEntry, swPortSecurityTrap=swPortSecurityTrap, switchManagementVlan=switchManagementVlan, igmpSnoopRouterCurrentStatus=igmpSnoopRouterCurrentStatus, igmpSnoopMgt=igmpSnoopMgt, igmpSnoopMulticastCurrentPorts=igmpSnoopMulticastCurrentPorts, ipHttpsPort=ipHttpsPort, swProdDescription=swProdDescription, bcastStormOctetRate=bcastStormOctetRate, ipHttpState=ipHttpState, prioIpPrecPort=prioIpPrecPort, trunkMaxId=trunkMaxId, swServiceTag=swServiceTag, staSystemStatus=staSystemStatus, vlanPortTable=vlanPortTable, prioIpPrecValue=prioIpPrecValue, bcastStormPercent=bcastStormPercent, igmpSnoopRouterStaticEntry=igmpSnoopRouterStaticEntry, portTrunkIndex=portTrunkIndex, switchInfoEntry=switchInfoEntry, swIndivPowerUnitIndex=swIndivPowerUnitIndex, xstInstancePortDesignatedRoot=xstInstancePortDesignatedRoot, prioIpPrecDscpStatus=prioIpPrecDscpStatus, consoleDataBits=consoleDataBits, consoleParity=consoleParity, swProdName=swProdName, staPortTable=staPortTable, igmpSnoopQueryMaxResponseTime=igmpSnoopQueryMaxResponseTime, prioIpPortEnableStatus=prioIpPortEnableStatus, switchOperState=switchOperState, igmpSnoopMulticastStaticIpAddress=igmpSnoopMulticastStaticIpAddress, ipDhcpRestart=ipDhcpRestart, remoteLogServerTable=remoteLogServerTable, xstInstancePortDesignatedPort=xstInstancePortDesignatedPort, staPortEntry=staPortEntry, trunkPorts=trunkPorts, staPortOperPointToPoint=staPortOperPointToPoint, igmpSnoopMulticastCurrentVlanIndex=igmpSnoopMulticastCurrentVlanIndex, remoteLogMgt=remoteLogMgt, sshServerMinorVersion=sshServerMinorVersion, staTxHoldCount=staTxHoldCount, vlanAddressMethod=vlanAddressMethod, xstInstancePortEnable=xstInstancePortEnable, igmpSnoopMulticastStaticStatus=igmpSnoopMulticastStaticStatus, lineMgt=lineMgt, remoteLogServerEntry=remoteLogServerEntry, xstInstancePortForwardTransitions=xstInstancePortForwardTransitions, remoteLogStatus=remoteLogStatus, swPowerStatusChangeTrap=swPowerStatusChangeTrap, switchProductId=switchProductId, lacpPortStatus=lacpPortStatus, netConfigSubnetMask=netConfigSubnetMask, xstInstancePortPortRole=xstInstancePortPortRole, prioIpDscpValue=prioIpDscpValue, netConfigIPAddress=netConfigIPAddress, igmpSnoopRouterStaticPorts=igmpSnoopRouterStaticPorts, powerConnect3248MIB=powerConnect3248MIB, consoleMgt=consoleMgt, sysLogHistoryFlashLevel=sysLogHistoryFlashLevel, portMgt=portMgt, prioIpPrecTable=prioIpPrecTable, prioCopy=prioCopy, powerConnect3248Notifications=powerConnect3248Notifications, PYSNMP_MODULE_ID=powerConnect3248MIB, igmpSnoopMulticastStaticPorts=igmpSnoopMulticastStaticPorts, staPortOperEdgePort=staPortOperEdgePort, swIndivPowerIndex=swIndivPowerIndex, mirrorTable=mirrorTable, tftpSrcFile=tftpSrcFile, powerConnect3248Traps=powerConnect3248Traps, staProtocolType=staProtocolType, remoteLogServerStatus=remoteLogServerStatus, trapDestMgt=trapDestMgt, priorityMgt=priorityMgt, portType=portType, igmpSnoopVersion=igmpSnoopVersion, trunkStatus=trunkStatus, sshDisconnect=sshDisconnect, tftpServer=tftpServer, vlanTable=vlanTable, sshServerStatus=sshServerStatus, portAutonegotiation=portAutonegotiation, switchMgt=switchMgt, swProdManufacturer=swProdManufacturer, trunkIndex=trunkIndex, swExpansionSlot1=swExpansionSlot1, xstInstancePortInstance=xstInstancePortInstance, mirrorSourcePort=mirrorSourcePort, telnetExecTimeout=telnetExecTimeout, dellLan=dellLan, switchNumber=switchNumber, xstInstanceCfgTopChanges=xstInstanceCfgTopChanges, xstInstanceCfgPathCostMethod=xstInstanceCfgPathCostMethod, lacpPortEntry=lacpPortEntry, igmpSnoopRouterCurrentTable=igmpSnoopRouterCurrentTable, igmpSnoopRouterStaticVlanIndex=igmpSnoopRouterStaticVlanIndex, portTable=portTable, radiusServerRetransmit=radiusServerRetransmit, tacacsServerPortNumber=tacacsServerPortNumber, telnetMgt=telnetMgt, powerConnect3248Conformance=powerConnect3248Conformance, trunkCreation=trunkCreation, sshConnID=sshConnID, igmpSnoopQueryCount=igmpSnoopQueryCount, netConfigTable=netConfigTable, remoteLogLevel=remoteLogLevel, swPortNumber=swPortNumber, radiusServerAddress=radiusServerAddress, sshConnUserName=sshConnUserName, xstInstancePortTable=xstInstancePortTable, restartMgt=restartMgt, xstInstancePortEntry=xstInstancePortEntry, consoleBaudRate=consoleBaudRate, powerConnect3248MIBObjects=powerConnect3248MIBObjects, trapDestEntry=trapDestEntry, igmpSnoopStatus=igmpSnoopStatus, netConfigUnnumbered=netConfigUnnumbered, swLoaderVer=swLoaderVer, lacpPortTable=lacpPortTable, xstInstanceCfgTable=xstInstanceCfgTable)
mibBuilder.exportSymbols("PowerConnect3248-MIB", igmpSnoopMulticastCurrentIpAddress=igmpSnoopMulticastCurrentIpAddress, igmpSnoopMulticastStaticVlanIndex=igmpSnoopMulticastStaticVlanIndex, swUnitIndex=swUnitIndex, ipHttpsState=ipHttpsState, radiusMgt=radiusMgt, xstInstancePortPort=xstInstancePortPort, trapDestVersion=trapDestVersion, igmpSnoopMulticastCurrentTable=igmpSnoopMulticastCurrentTable, swExpansionSlot2=swExpansionSlot2, xstInstanceCfgTxHoldCount=xstInstanceCfgTxHoldCount, prioIpPortTable=prioIpPortTable, igmpSnoopRouterStaticTable=igmpSnoopRouterStaticTable, bcastStormTable=bcastStormTable, mirrorEntry=mirrorEntry, prioWrrTrafficClass=prioWrrTrafficClass, netDefaultGateway=netDefaultGateway, radiusServerTimeout=radiusServerTimeout, vlanEntry=vlanEntry, igmpSnoopQueryTimeout=igmpSnoopQueryTimeout, netConfigIfIndex=netConfigIfIndex, igmpSnoopRouterCurrentPorts=igmpSnoopRouterCurrentPorts, ipHttpPort=ipHttpPort, remoteLogFacilityType=remoteLogFacilityType, staPortIndex=staPortIndex, tftpDestFile=tftpDestFile, netConfigPrimaryInterface=netConfigPrimaryInterface, lacpMgt=lacpMgt, portSecPortStatus=portSecPortStatus, trunkValidNumber=trunkValidNumber, igmpSnoopMulticastStaticEntry=igmpSnoopMulticastStaticEntry, xstInstanceCfgIndex=xstInstanceCfgIndex, swIndivPowerStatus=swIndivPowerStatus, xstInstancePortPriority=xstInstancePortPriority, netConfigEntry=netConfigEntry, mirrorMgt=mirrorMgt, staPortFastForward=staPortFastForward, prioWrrEntry=prioWrrEntry, igmpSnoopMulticastStaticTable=igmpSnoopMulticastStaticTable, xstInstanceCfgRootPort=xstInstanceCfgRootPort, igmpSnoopMulticastCurrentStatus=igmpSnoopMulticastCurrentStatus)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_range_constraint, constraints_intersection, value_size_constraint, single_value_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsUnion')
(bridge_id, dot1d_stp_port, timeout, dot1d_stp_port_entry) = mibBuilder.importSymbols('BRIDGE-MIB', 'BridgeId', 'dot1dStpPort', 'Timeout', 'dot1dStpPortEntry')
(if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex')
(enabled_status,) = mibBuilder.importSymbols('P-BRIDGE-MIB', 'EnabledStatus')
(port_list,) = mibBuilder.importSymbols('Q-BRIDGE-MIB', 'PortList')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(counter64, ip_address, object_identity, module_identity, gauge32, mib_identifier, time_ticks, internet, integer32, unsigned32, notification_type, bits, mib_scalar, mib_table, mib_table_row, mib_table_column, iso, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter64', 'IpAddress', 'ObjectIdentity', 'ModuleIdentity', 'Gauge32', 'MibIdentifier', 'TimeTicks', 'internet', 'Integer32', 'Unsigned32', 'NotificationType', 'Bits', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso', 'Counter32')
(row_status, truth_value, textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'TruthValue', 'TextualConvention', 'DisplayString')
private = mib_identifier((1, 3, 6, 1, 4))
enterprises = mib_identifier((1, 3, 6, 1, 4, 1))
dell = mib_identifier((1, 3, 6, 1, 4, 1, 674))
dell_lan = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895))
power_connect3248_mib = module_identity((1, 3, 6, 1, 4, 1, 674, 10895, 3))
powerConnect3248MIB.setRevisions(('2001-09-06 00:00',))
if mibBuilder.loadTexts:
powerConnect3248MIB.setLastUpdated('200109060000Z')
if mibBuilder.loadTexts:
powerConnect3248MIB.setOrganization('Dell Computer Corporation')
power_connect3248_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1))
power_connect3248_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 2))
power_connect3248_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 3))
switch_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1))
port_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2))
trunk_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3))
lacp_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 4))
sta_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5))
tftp_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 6))
restart_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 7))
mirror_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 8))
igmp_snoop_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9))
ip_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10))
bcast_storm_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11))
vlan_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12))
priority_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13))
trap_dest_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 14))
security_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17))
sys_log_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19))
line_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20))
class Validstatus(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('valid', 1), ('invalid', 2))
switch_management_vlan = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4094))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
switchManagementVlan.setStatus('current')
switch_number = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
switchNumber.setStatus('current')
switch_info_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3))
if mibBuilder.loadTexts:
switchInfoTable.setStatus('current')
switch_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'swUnitIndex'))
if mibBuilder.loadTexts:
switchInfoEntry.setStatus('current')
sw_unit_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swUnitIndex.setStatus('current')
sw_hardware_ver = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swHardwareVer.setStatus('current')
sw_microcode_ver = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swMicrocodeVer.setStatus('current')
sw_loader_ver = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swLoaderVer.setStatus('current')
sw_boot_rom_ver = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swBootRomVer.setStatus('current')
sw_op_code_ver = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swOpCodeVer.setStatus('current')
sw_port_number = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swPortNumber.setStatus('current')
sw_power_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('internalPower', 1), ('redundantPower', 2), ('internalAndRedundantPower', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swPowerStatus.setStatus('current')
sw_role_in_system = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('master', 1), ('backupMaster', 2), ('slave', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swRoleInSystem.setStatus('current')
sw_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 10), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swSerialNumber.setStatus('current')
sw_expansion_slot1 = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=named_values(('notPresent', 1), ('other', 2), ('hundredBaseFxScMmf', 3), ('hundredBaseFxScSmf', 4), ('hundredBaseFxMtrjMmf', 5), ('thousandBaseSxScMmf', 6), ('thousandBaseSxMtrjMmf', 7), ('thousandBaseXGbic', 8), ('thousandBaseLxScSmf', 9), ('thousandBaseT', 10), ('stackingModule', 11), ('thousandBaseSfp', 12)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swExpansionSlot1.setStatus('current')
sw_expansion_slot2 = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=named_values(('notPresent', 1), ('other', 2), ('hundredBaseFxScMmf', 3), ('hundredBaseFxScSmf', 4), ('hundredBaseFxMtrjMmf', 5), ('thousandBaseSxScMmf', 6), ('thousandBaseSxMtrjMmf', 7), ('thousandBaseXGbic', 8), ('thousandBaseLxScSmf', 9), ('thousandBaseT', 10), ('stackingModule', 11), ('thousandBaseSfp', 12)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swExpansionSlot2.setStatus('current')
sw_service_tag = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 3, 1, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swServiceTag.setStatus('current')
switch_oper_state = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('other', 1), ('unknown', 2), ('ok', 3), ('noncritical', 4), ('critical', 5), ('nonrecoverable', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
switchOperState.setStatus('current')
switch_product_id = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5))
sw_prod_name = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 127))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swProdName.setStatus('current')
sw_prod_manufacturer = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 127))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swProdManufacturer.setStatus('current')
sw_prod_description = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 127))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swProdDescription.setStatus('current')
sw_prod_version = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 127))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swProdVersion.setStatus('current')
sw_prod_url = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 127))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swProdUrl.setStatus('current')
sw_identifier = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swIdentifier.setStatus('current')
sw_chassis_service_tag = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 5, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swChassisServiceTag.setStatus('current')
switch_indiv_power_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 6))
if mibBuilder.loadTexts:
switchIndivPowerTable.setStatus('current')
switch_indiv_power_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 6, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'swIndivPowerUnitIndex'), (0, 'PowerConnect3248-MIB', 'swIndivPowerIndex'))
if mibBuilder.loadTexts:
switchIndivPowerEntry.setStatus('current')
sw_indiv_power_unit_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 6, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swIndivPowerUnitIndex.setStatus('current')
sw_indiv_power_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 6, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 2))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swIndivPowerIndex.setStatus('current')
sw_indiv_power_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 1, 6, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notPresent', 1), ('green', 2), ('red', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swIndivPowerStatus.setStatus('current')
port_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1))
if mibBuilder.loadTexts:
portTable.setStatus('current')
port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'portIndex'))
if mibBuilder.loadTexts:
portEntry.setStatus('current')
port_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
portIndex.setStatus('current')
port_name = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
portName.setStatus('current')
port_type = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('other', 1), ('hundredBaseTX', 2), ('hundredBaseFX', 3), ('thousandBaseSX', 4), ('thousandBaseLX', 5), ('thousandBaseT', 6), ('thousandBaseGBIC', 7), ('thousandBaseSfp', 8)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
portType.setStatus('current')
port_speed_dpx_cfg = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('reserved', 1), ('halfDuplex10', 2), ('fullDuplex10', 3), ('halfDuplex100', 4), ('fullDuplex100', 5), ('halfDuplex1000', 6), ('fullDuplex1000', 7))).clone('halfDuplex10')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
portSpeedDpxCfg.setStatus('current')
port_flow_ctrl_cfg = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2), ('backPressure', 3), ('dot3xFlowControl', 4))).clone('enabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
portFlowCtrlCfg.setStatus('current')
port_capabilities = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 6), bits().clone(namedValues=named_values(('portCap10half', 0), ('portCap10full', 1), ('portCap100half', 2), ('portCap100full', 3), ('portCap1000half', 4), ('portCap1000full', 5), ('reserved6', 6), ('reserved7', 7), ('reserved8', 8), ('reserved9', 9), ('reserved10', 10), ('reserved11', 11), ('reserved12', 12), ('reserved13', 13), ('portCapSym', 14), ('portCapFlowCtrl', 15)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
portCapabilities.setStatus('current')
port_autonegotiation = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
portAutonegotiation.setStatus('current')
port_speed_dpx_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('error', 1), ('halfDuplex10', 2), ('fullDuplex10', 3), ('halfDuplex100', 4), ('fullDuplex100', 5), ('halfDuplex1000', 6), ('fullDuplex1000', 7)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
portSpeedDpxStatus.setStatus('current')
port_flow_ctrl_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('error', 1), ('backPressure', 2), ('dot3xFlowControl', 3), ('none', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
portFlowCtrlStatus.setStatus('current')
port_trunk_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 2, 1, 1, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
portTrunkIndex.setStatus('current')
trunk_max_id = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkMaxId.setStatus('current')
trunk_valid_number = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkValidNumber.setStatus('current')
trunk_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 3))
if mibBuilder.loadTexts:
trunkTable.setStatus('current')
trunk_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 3, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'trunkIndex'))
if mibBuilder.loadTexts:
trunkEntry.setStatus('current')
trunk_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 3, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkIndex.setStatus('current')
trunk_ports = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 3, 1, 2), port_list()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
trunkPorts.setStatus('current')
trunk_creation = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('static', 1), ('lacp', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkCreation.setStatus('current')
trunk_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 3, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('valid', 1), ('invalid', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
trunkStatus.setStatus('current')
lacp_port_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 4, 1))
if mibBuilder.loadTexts:
lacpPortTable.setStatus('current')
lacp_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 4, 1, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'lacpPortIndex'))
if mibBuilder.loadTexts:
lacpPortEntry.setStatus('current')
lacp_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 4, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lacpPortIndex.setStatus('current')
lacp_port_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 4, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lacpPortStatus.setStatus('current')
sta_system_status = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 1), enabled_status().clone('enabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
staSystemStatus.setStatus('current')
sta_port_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2))
if mibBuilder.loadTexts:
staPortTable.setStatus('current')
sta_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1)).setMaxAccess('readonly').setIndexNames((0, 'PowerConnect3248-MIB', 'staPortIndex'))
if mibBuilder.loadTexts:
staPortEntry.setStatus('current')
sta_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
staPortIndex.setStatus('current')
sta_port_fast_forward = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 2), enabled_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
staPortFastForward.setStatus('current')
sta_port_protocol_migration = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 3), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
staPortProtocolMigration.setStatus('current')
sta_port_admin_edge_port = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 4), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
staPortAdminEdgePort.setStatus('current')
sta_port_oper_edge_port = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 5), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
staPortOperEdgePort.setStatus('current')
sta_port_admin_point_to_point = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('forceTrue', 0), ('forceFalse', 1), ('auto', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
staPortAdminPointToPoint.setStatus('current')
sta_port_oper_point_to_point = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 7), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
staPortOperPointToPoint.setStatus('current')
sta_port_long_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 2, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(1, 200000000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
staPortLongPathCost.setStatus('current')
sta_protocol_type = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('stp', 1), ('rstp', 2), ('mstp', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
staProtocolType.setStatus('current')
sta_tx_hold_count = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 10)).clone(3)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
staTxHoldCount.setStatus('current')
sta_path_cost_method = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('short', 1), ('long', 2))).clone('short')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
staPathCostMethod.setStatus('current')
xst_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6))
xst_instance_cfg_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4))
if mibBuilder.loadTexts:
xstInstanceCfgTable.setStatus('current')
xst_instance_cfg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1)).setMaxAccess('readonly').setIndexNames((0, 'PowerConnect3248-MIB', 'xstInstanceCfgIndex'))
if mibBuilder.loadTexts:
xstInstanceCfgEntry.setStatus('current')
xst_instance_cfg_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgIndex.setStatus('current')
xst_instance_cfg_priority = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 61440))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xstInstanceCfgPriority.setStatus('current')
xst_instance_cfg_time_since_topology_change = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgTimeSinceTopologyChange.setStatus('current')
xst_instance_cfg_top_changes = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgTopChanges.setStatus('current')
xst_instance_cfg_designated_root = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 5), bridge_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgDesignatedRoot.setStatus('current')
xst_instance_cfg_root_cost = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgRootCost.setStatus('current')
xst_instance_cfg_root_port = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgRootPort.setStatus('current')
xst_instance_cfg_max_age = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 8), timeout()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgMaxAge.setStatus('current')
xst_instance_cfg_hello_time = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 9), timeout()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgHelloTime.setStatus('current')
xst_instance_cfg_hold_time = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 10), timeout()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgHoldTime.setStatus('current')
xst_instance_cfg_forward_delay = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 11), timeout()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgForwardDelay.setStatus('current')
xst_instance_cfg_bridge_max_age = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 12), timeout()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgBridgeMaxAge.setStatus('current')
xst_instance_cfg_bridge_hello_time = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 13), timeout()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgBridgeHelloTime.setStatus('current')
xst_instance_cfg_bridge_forward_delay = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 14), timeout()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgBridgeForwardDelay.setStatus('current')
xst_instance_cfg_tx_hold_count = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgTxHoldCount.setStatus('current')
xst_instance_cfg_path_cost_method = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 4, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('short', 1), ('long', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstanceCfgPathCostMethod.setStatus('current')
xst_instance_port_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5))
if mibBuilder.loadTexts:
xstInstancePortTable.setStatus('current')
xst_instance_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1)).setMaxAccess('readonly').setIndexNames((0, 'PowerConnect3248-MIB', 'xstInstancePortInstance'), (0, 'PowerConnect3248-MIB', 'xstInstancePortPort'))
if mibBuilder.loadTexts:
xstInstancePortEntry.setStatus('current')
xst_instance_port_instance = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstancePortInstance.setStatus('current')
xst_instance_port_port = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstancePortPort.setStatus('current')
xst_instance_port_priority = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 240))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xstInstancePortPriority.setStatus('current')
xst_instance_port_state = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('discarding', 1), ('learning', 2), ('forwarding', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstancePortState.setStatus('current')
xst_instance_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 5), enabled_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstancePortEnable.setStatus('current')
xst_instance_port_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 200000000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
xstInstancePortPathCost.setStatus('current')
xst_instance_port_designated_root = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 7), bridge_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstancePortDesignatedRoot.setStatus('current')
xst_instance_port_designated_cost = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstancePortDesignatedCost.setStatus('current')
xst_instance_port_designated_bridge = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 9), bridge_id()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstancePortDesignatedBridge.setStatus('current')
xst_instance_port_designated_port = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstancePortDesignatedPort.setStatus('current')
xst_instance_port_forward_transitions = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 11), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstancePortForwardTransitions.setStatus('current')
xst_instance_port_port_role = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 5, 6, 5, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('disabled', 1), ('root', 2), ('designated', 3), ('alternate', 4), ('backup', 5), ('master', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xstInstancePortPortRole.setStatus('current')
tftp_file_type = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 6, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('opcode', 1), ('config', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
tftpFileType.setStatus('current')
tftp_src_file = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 6, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 127))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
tftpSrcFile.setStatus('current')
tftp_dest_file = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 6, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 127))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
tftpDestFile.setStatus('current')
tftp_server = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 6, 4), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
tftpServer.setStatus('current')
tftp_action = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 6, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notDownloading', 1), ('downloadToPROM', 2), ('downloadToRAM', 3), ('upload', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
tftpAction.setStatus('current')
tftp_status = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 6, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('tftpSuccess', 1), ('tftpStatusUnknown', 2), ('tftpGeneralError', 3), ('tftpNoResponseFromServer', 4), ('tftpDownloadChecksumError', 5), ('tftpDownloadIncompatibleImage', 6), ('tftpTftpFileNotFound', 7), ('tftpTftpAccessViolation', 8)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
tftpStatus.setStatus('current')
restart_op_code_file = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 7, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 127))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
restartOpCodeFile.setStatus('current')
restart_config_file = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 7, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 127))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
restartConfigFile.setStatus('current')
restart_control = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 7, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('running', 1), ('warmBoot', 2), ('coldBoot', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
restartControl.setStatus('current')
mirror_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 8, 1))
if mibBuilder.loadTexts:
mirrorTable.setStatus('current')
mirror_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 8, 1, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'mirrorDestinationPort'), (0, 'PowerConnect3248-MIB', 'mirrorSourcePort'))
if mibBuilder.loadTexts:
mirrorEntry.setStatus('current')
mirror_destination_port = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 8, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mirrorDestinationPort.setStatus('current')
mirror_source_port = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 8, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mirrorSourcePort.setStatus('current')
mirror_type = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 8, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('rx', 1), ('tx', 2), ('both', 3)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
mirrorType.setStatus('current')
mirror_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 8, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('valid', 1), ('invalid', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
mirrorStatus.setStatus('current')
igmp_snoop_status = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
igmpSnoopStatus.setStatus('current')
igmp_snoop_querier = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
igmpSnoopQuerier.setStatus('current')
igmp_snoop_query_count = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 3), integer32().subtype(subtypeSpec=value_range_constraint(2, 10)).clone(2)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
igmpSnoopQueryCount.setStatus('current')
igmp_snoop_query_interval = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 4), integer32().subtype(subtypeSpec=value_range_constraint(60, 125)).clone(125)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
igmpSnoopQueryInterval.setStatus('current')
igmp_snoop_query_max_response_time = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 5), integer32().subtype(subtypeSpec=value_range_constraint(5, 30)).clone(10)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
igmpSnoopQueryMaxResponseTime.setStatus('current')
igmp_snoop_query_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 6), integer32().subtype(subtypeSpec=value_range_constraint(300, 500)).clone(300)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
igmpSnoopQueryTimeout.setStatus('current')
igmp_snoop_version = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 2)).clone(2)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
igmpSnoopVersion.setStatus('current')
igmp_snoop_router_current_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 8))
if mibBuilder.loadTexts:
igmpSnoopRouterCurrentTable.setStatus('current')
igmp_snoop_router_current_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 8, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'igmpSnoopRouterCurrentVlanIndex'))
if mibBuilder.loadTexts:
igmpSnoopRouterCurrentEntry.setStatus('current')
igmp_snoop_router_current_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 8, 1, 1), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
igmpSnoopRouterCurrentVlanIndex.setStatus('current')
igmp_snoop_router_current_ports = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 8, 1, 2), port_list()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
igmpSnoopRouterCurrentPorts.setStatus('current')
igmp_snoop_router_current_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 8, 1, 3), port_list()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
igmpSnoopRouterCurrentStatus.setStatus('current')
igmp_snoop_router_static_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 9))
if mibBuilder.loadTexts:
igmpSnoopRouterStaticTable.setStatus('current')
igmp_snoop_router_static_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 9, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'igmpSnoopRouterStaticVlanIndex'))
if mibBuilder.loadTexts:
igmpSnoopRouterStaticEntry.setStatus('current')
igmp_snoop_router_static_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 9, 1, 1), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
igmpSnoopRouterStaticVlanIndex.setStatus('current')
igmp_snoop_router_static_ports = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 9, 1, 2), port_list()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
igmpSnoopRouterStaticPorts.setStatus('current')
igmp_snoop_router_static_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 9, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('valid', 1), ('invalid', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
igmpSnoopRouterStaticStatus.setStatus('current')
igmp_snoop_multicast_current_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 10))
if mibBuilder.loadTexts:
igmpSnoopMulticastCurrentTable.setStatus('current')
igmp_snoop_multicast_current_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 10, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'igmpSnoopMulticastCurrentVlanIndex'), (0, 'PowerConnect3248-MIB', 'igmpSnoopMulticastCurrentIpAddress'))
if mibBuilder.loadTexts:
igmpSnoopMulticastCurrentEntry.setStatus('current')
igmp_snoop_multicast_current_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 10, 1, 1), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
igmpSnoopMulticastCurrentVlanIndex.setStatus('current')
igmp_snoop_multicast_current_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 10, 1, 2), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
igmpSnoopMulticastCurrentIpAddress.setStatus('current')
igmp_snoop_multicast_current_ports = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 10, 1, 3), port_list()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
igmpSnoopMulticastCurrentPorts.setStatus('current')
igmp_snoop_multicast_current_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 10, 1, 4), port_list()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
igmpSnoopMulticastCurrentStatus.setStatus('current')
igmp_snoop_multicast_static_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 11))
if mibBuilder.loadTexts:
igmpSnoopMulticastStaticTable.setStatus('current')
igmp_snoop_multicast_static_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 11, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'igmpSnoopMulticastStaticVlanIndex'), (0, 'PowerConnect3248-MIB', 'igmpSnoopMulticastStaticIpAddress'))
if mibBuilder.loadTexts:
igmpSnoopMulticastStaticEntry.setStatus('current')
igmp_snoop_multicast_static_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 11, 1, 1), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
igmpSnoopMulticastStaticVlanIndex.setStatus('current')
igmp_snoop_multicast_static_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 11, 1, 2), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
igmpSnoopMulticastStaticIpAddress.setStatus('current')
igmp_snoop_multicast_static_ports = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 11, 1, 3), port_list()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
igmpSnoopMulticastStaticPorts.setStatus('current')
igmp_snoop_multicast_static_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 9, 11, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('valid', 1), ('invalid', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
igmpSnoopMulticastStaticStatus.setStatus('current')
net_config_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1))
if mibBuilder.loadTexts:
netConfigTable.setStatus('current')
net_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'netConfigIfIndex'), (0, 'PowerConnect3248-MIB', 'netConfigIPAddress'), (0, 'PowerConnect3248-MIB', 'netConfigSubnetMask'))
if mibBuilder.loadTexts:
netConfigEntry.setStatus('current')
net_config_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
netConfigIfIndex.setStatus('current')
net_config_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1, 1, 2), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
netConfigIPAddress.setStatus('current')
net_config_subnet_mask = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1, 1, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
netConfigSubnetMask.setStatus('current')
net_config_primary_interface = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('primary', 1), ('secondary', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
netConfigPrimaryInterface.setStatus('current')
net_config_unnumbered = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('unnumbered', 1), ('notUnnumbered', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
netConfigUnnumbered.setStatus('current')
net_config_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 1, 1, 6), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
netConfigStatus.setStatus('current')
net_default_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 2), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
netDefaultGateway.setStatus('current')
ip_http_state = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipHttpState.setStatus('current')
ip_http_port = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipHttpPort.setStatus('current')
ip_dhcp_restart = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('restart', 1), ('noRestart', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipDhcpRestart.setStatus('current')
ip_https_state = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 6), enabled_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipHttpsState.setStatus('current')
ip_https_port = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 10, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipHttpsPort.setStatus('current')
bcast_storm_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1))
if mibBuilder.loadTexts:
bcastStormTable.setStatus('current')
bcast_storm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'bcastStormIfIndex'))
if mibBuilder.loadTexts:
bcastStormEntry.setStatus('current')
bcast_storm_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bcastStormIfIndex.setStatus('current')
bcast_storm_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
bcastStormStatus.setStatus('current')
bcast_storm_sample_type = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('pkt-rate', 1), ('octet-rate', 2), ('percent', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
bcastStormSampleType.setStatus('current')
bcast_storm_pkt_rate = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1, 1, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
bcastStormPktRate.setStatus('current')
bcast_storm_octet_rate = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1, 1, 5), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
bcastStormOctetRate.setStatus('current')
bcast_storm_percent = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 11, 1, 1, 6), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
bcastStormPercent.setStatus('current')
vlan_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 1))
if mibBuilder.loadTexts:
vlanTable.setStatus('current')
vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 1, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'vlanIndex'))
if mibBuilder.loadTexts:
vlanEntry.setStatus('current')
vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 1, 1, 1), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vlanIndex.setStatus('current')
vlan_address_method = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('user', 1), ('bootp', 2), ('dhcp', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vlanAddressMethod.setStatus('current')
vlan_port_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 2))
if mibBuilder.loadTexts:
vlanPortTable.setStatus('current')
vlan_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 2, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'vlanPortIndex'))
if mibBuilder.loadTexts:
vlanPortEntry.setStatus('current')
vlan_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vlanPortIndex.setStatus('current')
vlan_port_mode = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 12, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hybrid', 1), ('dot1qTrunk', 2), ('access', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vlanPortMode.setStatus('current')
prio_ip_prec_dscp_status = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disabled', 1), ('precedence', 2), ('dscp', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
prioIpPrecDscpStatus.setStatus('current')
prio_ip_prec_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 2))
if mibBuilder.loadTexts:
prioIpPrecTable.setStatus('current')
prio_ip_prec_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 2, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'prioIpPrecPort'), (0, 'PowerConnect3248-MIB', 'prioIpPrecValue'))
if mibBuilder.loadTexts:
prioIpPrecEntry.setStatus('current')
prio_ip_prec_port = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 2, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
prioIpPrecPort.setStatus('current')
prio_ip_prec_value = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
prioIpPrecValue.setStatus('current')
prio_ip_prec_cos = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
prioIpPrecCos.setStatus('current')
prio_ip_prec_restore_default = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 3), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
prioIpPrecRestoreDefault.setStatus('current')
prio_ip_dscp_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 4))
if mibBuilder.loadTexts:
prioIpDscpTable.setStatus('current')
prio_ip_dscp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 4, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'prioIpDscpPort'), (0, 'PowerConnect3248-MIB', 'prioIpDscpValue'))
if mibBuilder.loadTexts:
prioIpDscpEntry.setStatus('current')
prio_ip_dscp_port = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 4, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
prioIpDscpPort.setStatus('current')
prio_ip_dscp_value = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
prioIpDscpValue.setStatus('current')
prio_ip_dscp_cos = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
prioIpDscpCos.setStatus('current')
prio_ip_dscp_restore_default = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 5), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
prioIpDscpRestoreDefault.setStatus('current')
prio_ip_port_enable_status = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
prioIpPortEnableStatus.setStatus('current')
prio_ip_port_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 7))
if mibBuilder.loadTexts:
prioIpPortTable.setStatus('current')
prio_ip_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 7, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'prioIpPortPhysPort'), (0, 'PowerConnect3248-MIB', 'prioIpPortValue'))
if mibBuilder.loadTexts:
prioIpPortEntry.setStatus('current')
prio_ip_port_phys_port = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 7, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
prioIpPortPhysPort.setStatus('current')
prio_ip_port_value = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 7, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
prioIpPortValue.setStatus('current')
prio_ip_port_cos = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 7, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
prioIpPortCos.setStatus('current')
prio_ip_port_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 7, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('valid', 1), ('invalid', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
prioIpPortStatus.setStatus('current')
prio_copy = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 8))
prio_copy_ip_prec = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 8, 1), octet_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
prioCopyIpPrec.setStatus('current')
prio_copy_ip_dscp = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 8, 2), octet_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
prioCopyIpDscp.setStatus('current')
prio_copy_ip_port = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 8, 3), octet_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
prioCopyIpPort.setStatus('current')
prio_wrr_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 9))
if mibBuilder.loadTexts:
prioWrrTable.setStatus('current')
prio_wrr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 9, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'prioWrrTrafficClass'))
if mibBuilder.loadTexts:
prioWrrEntry.setStatus('current')
prio_wrr_traffic_class = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 9, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
prioWrrTrafficClass.setStatus('current')
prio_wrr_weight = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 13, 9, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
prioWrrWeight.setStatus('current')
trap_dest_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 14, 1))
if mibBuilder.loadTexts:
trapDestTable.setStatus('current')
trap_dest_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 14, 1, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'trapDestAddress'))
if mibBuilder.loadTexts:
trapDestEntry.setStatus('current')
trap_dest_address = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 14, 1, 1, 1), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trapDestAddress.setStatus('current')
trap_dest_community = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 14, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(0, 127))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
trapDestCommunity.setStatus('current')
trap_dest_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 14, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('valid', 1), ('invalid', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
trapDestStatus.setStatus('current')
trap_dest_version = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 14, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('version1', 1), ('version2', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
trapDestVersion.setStatus('current')
port_security_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 2))
radius_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 4))
tacacs_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 5))
ssh_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6))
port_sec_port_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 2, 1))
if mibBuilder.loadTexts:
portSecPortTable.setStatus('current')
port_sec_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 2, 1, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'portSecPortIndex'))
if mibBuilder.loadTexts:
portSecPortEntry.setStatus('current')
port_sec_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 2, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
portSecPortIndex.setStatus('current')
port_sec_port_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 2, 1, 1, 2), enabled_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
portSecPortStatus.setStatus('current')
port_sec_action = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('none', 1), ('trap', 2), ('shutdown', 3), ('trapAndShutdown', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
portSecAction.setStatus('current')
radius_server_address = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 4, 1), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
radiusServerAddress.setStatus('current')
radius_server_port_number = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 4, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
radiusServerPortNumber.setStatus('current')
radius_server_key = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 4, 3), display_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
radiusServerKey.setStatus('current')
radius_server_retransmit = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 4, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 30))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
radiusServerRetransmit.setStatus('current')
radius_server_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 4, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
radiusServerTimeout.setStatus('current')
tacacs_server_address = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 5, 1), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
tacacsServerAddress.setStatus('current')
tacacs_server_port_number = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 5, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
tacacsServerPortNumber.setStatus('current')
tacacs_server_key = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 5, 3), display_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
tacacsServerKey.setStatus('current')
ssh_server_status = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 1), enabled_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
sshServerStatus.setStatus('current')
ssh_server_major_version = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sshServerMajorVersion.setStatus('current')
ssh_server_minor_version = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sshServerMinorVersion.setStatus('current')
ssh_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 120))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
sshTimeout.setStatus('current')
ssh_auth_retries = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 5))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
sshAuthRetries.setStatus('current')
ssh_conn_info_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6))
if mibBuilder.loadTexts:
sshConnInfoTable.setStatus('current')
ssh_conn_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'sshConnID'))
if mibBuilder.loadTexts:
sshConnInfoEntry.setStatus('current')
ssh_conn_id = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sshConnID.setStatus('current')
ssh_conn_major_version = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sshConnMajorVersion.setStatus('current')
ssh_conn_minor_version = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sshConnMinorVersion.setStatus('current')
ssh_conn_encryption_type = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('none', 1), ('des', 2), ('tribeDes', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sshConnEncryptionType.setStatus('current')
ssh_conn_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('negotiationStart', 1), ('authenticationStart', 2), ('sessionStart', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sshConnStatus.setStatus('current')
ssh_conn_user_name = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1, 6), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sshConnUserName.setStatus('current')
ssh_disconnect = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 17, 6, 6, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noDisconnect', 1), ('disconnect', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
sshDisconnect.setStatus('current')
sys_log_status = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
sysLogStatus.setStatus('current')
sys_log_history_flash_level = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
sysLogHistoryFlashLevel.setStatus('current')
sys_log_history_ram_level = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
sysLogHistoryRamLevel.setStatus('current')
remote_log_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6))
remote_log_status = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6, 1), enabled_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
remoteLogStatus.setStatus('current')
remote_log_level = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
remoteLogLevel.setStatus('current')
remote_log_facility_type = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(16, 17, 18, 19, 20, 21, 22, 23))).clone(namedValues=named_values(('localUse0', 16), ('localUse1', 17), ('localUse2', 18), ('localUse3', 19), ('localUse4', 20), ('localUse5', 21), ('localUse6', 22), ('localUse7', 23)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
remoteLogFacilityType.setStatus('current')
remote_log_server_table = mib_table((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6, 4))
if mibBuilder.loadTexts:
remoteLogServerTable.setStatus('current')
remote_log_server_entry = mib_table_row((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6, 4, 1)).setIndexNames((0, 'PowerConnect3248-MIB', 'remoteLogServerIp'))
if mibBuilder.loadTexts:
remoteLogServerEntry.setStatus('current')
remote_log_server_ip = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6, 4, 1, 1), ip_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
remoteLogServerIp.setStatus('current')
remote_log_server_status = mib_table_column((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 19, 6, 4, 1, 2), valid_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
remoteLogServerStatus.setStatus('current')
console_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1))
telnet_mgt = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 2))
console_data_bits = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('databits7', 1), ('databits8', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
consoleDataBits.setStatus('current')
console_parity = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('partyNone', 1), ('partyEven', 2), ('partyOdd', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
consoleParity.setStatus('current')
console_baud_rate = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('baudRate9600', 1), ('baudRate19200', 2), ('baudRate38400', 3), ('baudRate57600', 4), ('baudRate115200', 5)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
consoleBaudRate.setStatus('current')
console_stop_bits = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('stopbits1', 1), ('stopbits2', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
consoleStopBits.setStatus('current')
console_exec_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
consoleExecTimeout.setStatus('current')
console_password_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 120))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
consolePasswordThreshold.setStatus('current')
console_silent_time = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
consoleSilentTime.setStatus('current')
telnet_exec_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 2, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
telnetExecTimeout.setStatus('current')
telnet_password_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 674, 10895, 3, 1, 20, 2, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 120))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
telnetPasswordThreshold.setStatus('current')
power_connect3248_traps = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 2, 1))
power_connect3248_traps_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 3, 2, 1, 0))
sw_power_status_change_trap = notification_type((1, 3, 6, 1, 4, 1, 674, 10895, 3, 2, 1, 0, 1)).setObjects(('PowerConnect3248-MIB', 'swIndivPowerUnitIndex'), ('PowerConnect3248-MIB', 'swIndivPowerIndex'), ('PowerConnect3248-MIB', 'swIndivPowerStatus'))
if mibBuilder.loadTexts:
swPowerStatusChangeTrap.setStatus('current')
sw_port_security_trap = notification_type((1, 3, 6, 1, 4, 1, 674, 10895, 3, 2, 1, 0, 36)).setObjects(('IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
swPortSecurityTrap.setStatus('current')
mibBuilder.exportSymbols('PowerConnect3248-MIB', trapDestStatus=trapDestStatus, portSecPortIndex=portSecPortIndex, portSecPortTable=portSecPortTable, sshServerMajorVersion=sshServerMajorVersion, tftpMgt=tftpMgt, securityMgt=securityMgt, igmpSnoopRouterCurrentVlanIndex=igmpSnoopRouterCurrentVlanIndex, tacacsMgt=tacacsMgt, igmpSnoopMulticastCurrentEntry=igmpSnoopMulticastCurrentEntry, sshTimeout=sshTimeout, sshConnEncryptionType=sshConnEncryptionType, radiusServerKey=radiusServerKey, trapDestCommunity=trapDestCommunity, igmpSnoopQuerier=igmpSnoopQuerier, restartOpCodeFile=restartOpCodeFile, sysLogMgt=sysLogMgt, xstInstanceCfgRootCost=xstInstanceCfgRootCost, portName=portName, prioIpDscpCos=prioIpDscpCos, consoleExecTimeout=consoleExecTimeout, dell=dell, vlanPortMode=vlanPortMode, trapDestAddress=trapDestAddress, portSecPortEntry=portSecPortEntry, restartConfigFile=restartConfigFile, prioCopyIpPrec=prioCopyIpPrec, prioWrrTable=prioWrrTable, prioCopyIpDscp=prioCopyIpDscp, swPowerStatus=swPowerStatus, xstInstanceCfgBridgeMaxAge=xstInstanceCfgBridgeMaxAge, portFlowCtrlStatus=portFlowCtrlStatus, staPathCostMethod=staPathCostMethod, switchIndivPowerTable=switchIndivPowerTable, swChassisServiceTag=swChassisServiceTag, sshConnMajorVersion=sshConnMajorVersion, netConfigStatus=netConfigStatus, xstInstanceCfgBridgeForwardDelay=xstInstanceCfgBridgeForwardDelay, sshConnMinorVersion=sshConnMinorVersion, ipMgt=ipMgt, vlanPortEntry=vlanPortEntry, swBootRomVer=swBootRomVer, bcastStormPktRate=bcastStormPktRate, prioIpDscpPort=prioIpDscpPort, tacacsServerKey=tacacsServerKey, swIdentifier=swIdentifier, vlanPortIndex=vlanPortIndex, portCapabilities=portCapabilities, prioIpPortValue=prioIpPortValue, sshConnInfoTable=sshConnInfoTable, igmpSnoopRouterStaticStatus=igmpSnoopRouterStaticStatus, staPortProtocolMigration=staPortProtocolMigration, prioIpPortCos=prioIpPortCos, sysLogStatus=sysLogStatus, xstInstanceCfgHelloTime=xstInstanceCfgHelloTime, staPortLongPathCost=staPortLongPathCost, xstInstancePortDesignatedBridge=xstInstancePortDesignatedBridge, swSerialNumber=swSerialNumber, tftpStatus=tftpStatus, tacacsServerAddress=tacacsServerAddress, sshConnStatus=sshConnStatus, xstInstancePortPathCost=xstInstancePortPathCost, consoleSilentTime=consoleSilentTime, ValidStatus=ValidStatus, tftpFileType=tftpFileType, prioIpPrecRestoreDefault=prioIpPrecRestoreDefault, trunkMgt=trunkMgt, swHardwareVer=swHardwareVer, xstInstanceCfgHoldTime=xstInstanceCfgHoldTime, prioIpDscpEntry=prioIpDscpEntry, consoleStopBits=consoleStopBits, xstInstanceCfgForwardDelay=xstInstanceCfgForwardDelay, prioIpPortStatus=prioIpPortStatus, enterprises=enterprises, swRoleInSystem=swRoleInSystem, sshMgt=sshMgt, prioIpPrecCos=prioIpPrecCos, bcastStormIfIndex=bcastStormIfIndex, swProdVersion=swProdVersion, bcastStormStatus=bcastStormStatus, prioIpDscpRestoreDefault=prioIpDscpRestoreDefault, portSecAction=portSecAction, private=private, vlanMgt=vlanMgt, swProdUrl=swProdUrl, switchIndivPowerEntry=switchIndivPowerEntry, xstInstancePortState=xstInstancePortState, sysLogHistoryRamLevel=sysLogHistoryRamLevel, portIndex=portIndex, staMgt=staMgt, lacpPortIndex=lacpPortIndex, xstInstancePortDesignatedCost=xstInstancePortDesignatedCost, bcastStormEntry=bcastStormEntry, xstInstanceCfgPriority=xstInstanceCfgPriority, mirrorType=mirrorType, portSpeedDpxCfg=portSpeedDpxCfg, tftpAction=tftpAction, prioIpDscpTable=prioIpDscpTable, trunkTable=trunkTable, remoteLogServerIp=remoteLogServerIp, mirrorStatus=mirrorStatus, xstInstanceCfgBridgeHelloTime=xstInstanceCfgBridgeHelloTime, prioIpPrecEntry=prioIpPrecEntry, telnetPasswordThreshold=telnetPasswordThreshold, xstInstanceCfgDesignatedRoot=xstInstanceCfgDesignatedRoot, powerConnect3248TrapsPrefix=powerConnect3248TrapsPrefix, xstMgt=xstMgt, xstInstanceCfgTimeSinceTopologyChange=xstInstanceCfgTimeSinceTopologyChange, portFlowCtrlCfg=portFlowCtrlCfg, staPortAdminPointToPoint=staPortAdminPointToPoint, mirrorDestinationPort=mirrorDestinationPort, prioWrrWeight=prioWrrWeight, prioIpPortPhysPort=prioIpPortPhysPort, consolePasswordThreshold=consolePasswordThreshold, swMicrocodeVer=swMicrocodeVer, staPortAdminEdgePort=staPortAdminEdgePort, bcastStormSampleType=bcastStormSampleType, portSpeedDpxStatus=portSpeedDpxStatus, xstInstanceCfgMaxAge=xstInstanceCfgMaxAge, igmpSnoopRouterCurrentEntry=igmpSnoopRouterCurrentEntry, trapDestTable=trapDestTable, prioCopyIpPort=prioCopyIpPort, portSecurityMgt=portSecurityMgt, switchInfoTable=switchInfoTable, restartControl=restartControl, sshAuthRetries=sshAuthRetries, swOpCodeVer=swOpCodeVer, radiusServerPortNumber=radiusServerPortNumber, portEntry=portEntry, trunkEntry=trunkEntry, vlanIndex=vlanIndex, sshConnInfoEntry=sshConnInfoEntry, bcastStormMgt=bcastStormMgt, xstInstanceCfgEntry=xstInstanceCfgEntry, igmpSnoopQueryInterval=igmpSnoopQueryInterval, prioIpPortEntry=prioIpPortEntry, swPortSecurityTrap=swPortSecurityTrap, switchManagementVlan=switchManagementVlan, igmpSnoopRouterCurrentStatus=igmpSnoopRouterCurrentStatus, igmpSnoopMgt=igmpSnoopMgt, igmpSnoopMulticastCurrentPorts=igmpSnoopMulticastCurrentPorts, ipHttpsPort=ipHttpsPort, swProdDescription=swProdDescription, bcastStormOctetRate=bcastStormOctetRate, ipHttpState=ipHttpState, prioIpPrecPort=prioIpPrecPort, trunkMaxId=trunkMaxId, swServiceTag=swServiceTag, staSystemStatus=staSystemStatus, vlanPortTable=vlanPortTable, prioIpPrecValue=prioIpPrecValue, bcastStormPercent=bcastStormPercent, igmpSnoopRouterStaticEntry=igmpSnoopRouterStaticEntry, portTrunkIndex=portTrunkIndex, switchInfoEntry=switchInfoEntry, swIndivPowerUnitIndex=swIndivPowerUnitIndex, xstInstancePortDesignatedRoot=xstInstancePortDesignatedRoot, prioIpPrecDscpStatus=prioIpPrecDscpStatus, consoleDataBits=consoleDataBits, consoleParity=consoleParity, swProdName=swProdName, staPortTable=staPortTable, igmpSnoopQueryMaxResponseTime=igmpSnoopQueryMaxResponseTime, prioIpPortEnableStatus=prioIpPortEnableStatus, switchOperState=switchOperState, igmpSnoopMulticastStaticIpAddress=igmpSnoopMulticastStaticIpAddress, ipDhcpRestart=ipDhcpRestart, remoteLogServerTable=remoteLogServerTable, xstInstancePortDesignatedPort=xstInstancePortDesignatedPort, staPortEntry=staPortEntry, trunkPorts=trunkPorts, staPortOperPointToPoint=staPortOperPointToPoint, igmpSnoopMulticastCurrentVlanIndex=igmpSnoopMulticastCurrentVlanIndex, remoteLogMgt=remoteLogMgt, sshServerMinorVersion=sshServerMinorVersion, staTxHoldCount=staTxHoldCount, vlanAddressMethod=vlanAddressMethod, xstInstancePortEnable=xstInstancePortEnable, igmpSnoopMulticastStaticStatus=igmpSnoopMulticastStaticStatus, lineMgt=lineMgt, remoteLogServerEntry=remoteLogServerEntry, xstInstancePortForwardTransitions=xstInstancePortForwardTransitions, remoteLogStatus=remoteLogStatus, swPowerStatusChangeTrap=swPowerStatusChangeTrap, switchProductId=switchProductId, lacpPortStatus=lacpPortStatus, netConfigSubnetMask=netConfigSubnetMask, xstInstancePortPortRole=xstInstancePortPortRole, prioIpDscpValue=prioIpDscpValue, netConfigIPAddress=netConfigIPAddress, igmpSnoopRouterStaticPorts=igmpSnoopRouterStaticPorts, powerConnect3248MIB=powerConnect3248MIB, consoleMgt=consoleMgt, sysLogHistoryFlashLevel=sysLogHistoryFlashLevel, portMgt=portMgt, prioIpPrecTable=prioIpPrecTable, prioCopy=prioCopy, powerConnect3248Notifications=powerConnect3248Notifications, PYSNMP_MODULE_ID=powerConnect3248MIB, igmpSnoopMulticastStaticPorts=igmpSnoopMulticastStaticPorts, staPortOperEdgePort=staPortOperEdgePort, swIndivPowerIndex=swIndivPowerIndex, mirrorTable=mirrorTable, tftpSrcFile=tftpSrcFile, powerConnect3248Traps=powerConnect3248Traps, staProtocolType=staProtocolType, remoteLogServerStatus=remoteLogServerStatus, trapDestMgt=trapDestMgt, priorityMgt=priorityMgt, portType=portType, igmpSnoopVersion=igmpSnoopVersion, trunkStatus=trunkStatus, sshDisconnect=sshDisconnect, tftpServer=tftpServer, vlanTable=vlanTable, sshServerStatus=sshServerStatus, portAutonegotiation=portAutonegotiation, switchMgt=switchMgt, swProdManufacturer=swProdManufacturer, trunkIndex=trunkIndex, swExpansionSlot1=swExpansionSlot1, xstInstancePortInstance=xstInstancePortInstance, mirrorSourcePort=mirrorSourcePort, telnetExecTimeout=telnetExecTimeout, dellLan=dellLan, switchNumber=switchNumber, xstInstanceCfgTopChanges=xstInstanceCfgTopChanges, xstInstanceCfgPathCostMethod=xstInstanceCfgPathCostMethod, lacpPortEntry=lacpPortEntry, igmpSnoopRouterCurrentTable=igmpSnoopRouterCurrentTable, igmpSnoopRouterStaticVlanIndex=igmpSnoopRouterStaticVlanIndex, portTable=portTable, radiusServerRetransmit=radiusServerRetransmit, tacacsServerPortNumber=tacacsServerPortNumber, telnetMgt=telnetMgt, powerConnect3248Conformance=powerConnect3248Conformance, trunkCreation=trunkCreation, sshConnID=sshConnID, igmpSnoopQueryCount=igmpSnoopQueryCount, netConfigTable=netConfigTable, remoteLogLevel=remoteLogLevel, swPortNumber=swPortNumber, radiusServerAddress=radiusServerAddress, sshConnUserName=sshConnUserName, xstInstancePortTable=xstInstancePortTable, restartMgt=restartMgt, xstInstancePortEntry=xstInstancePortEntry, consoleBaudRate=consoleBaudRate, powerConnect3248MIBObjects=powerConnect3248MIBObjects, trapDestEntry=trapDestEntry, igmpSnoopStatus=igmpSnoopStatus, netConfigUnnumbered=netConfigUnnumbered, swLoaderVer=swLoaderVer, lacpPortTable=lacpPortTable, xstInstanceCfgTable=xstInstanceCfgTable)
mibBuilder.exportSymbols('PowerConnect3248-MIB', igmpSnoopMulticastCurrentIpAddress=igmpSnoopMulticastCurrentIpAddress, igmpSnoopMulticastStaticVlanIndex=igmpSnoopMulticastStaticVlanIndex, swUnitIndex=swUnitIndex, ipHttpsState=ipHttpsState, radiusMgt=radiusMgt, xstInstancePortPort=xstInstancePortPort, trapDestVersion=trapDestVersion, igmpSnoopMulticastCurrentTable=igmpSnoopMulticastCurrentTable, swExpansionSlot2=swExpansionSlot2, xstInstanceCfgTxHoldCount=xstInstanceCfgTxHoldCount, prioIpPortTable=prioIpPortTable, igmpSnoopRouterStaticTable=igmpSnoopRouterStaticTable, bcastStormTable=bcastStormTable, mirrorEntry=mirrorEntry, prioWrrTrafficClass=prioWrrTrafficClass, netDefaultGateway=netDefaultGateway, radiusServerTimeout=radiusServerTimeout, vlanEntry=vlanEntry, igmpSnoopQueryTimeout=igmpSnoopQueryTimeout, netConfigIfIndex=netConfigIfIndex, igmpSnoopRouterCurrentPorts=igmpSnoopRouterCurrentPorts, ipHttpPort=ipHttpPort, remoteLogFacilityType=remoteLogFacilityType, staPortIndex=staPortIndex, tftpDestFile=tftpDestFile, netConfigPrimaryInterface=netConfigPrimaryInterface, lacpMgt=lacpMgt, portSecPortStatus=portSecPortStatus, trunkValidNumber=trunkValidNumber, igmpSnoopMulticastStaticEntry=igmpSnoopMulticastStaticEntry, xstInstanceCfgIndex=xstInstanceCfgIndex, swIndivPowerStatus=swIndivPowerStatus, xstInstancePortPriority=xstInstancePortPriority, netConfigEntry=netConfigEntry, mirrorMgt=mirrorMgt, staPortFastForward=staPortFastForward, prioWrrEntry=prioWrrEntry, igmpSnoopMulticastStaticTable=igmpSnoopMulticastStaticTable, xstInstanceCfgRootPort=xstInstanceCfgRootPort, igmpSnoopMulticastCurrentStatus=igmpSnoopMulticastCurrentStatus) |
# This script proves that we are allowed to have scripts
# with the same name as a built-in site package, e.g. `site.py`.
# This script also shows that the module doesn't load until called.
print("Super secret script output") # noqa: T001
| print('Super secret script output') |
__all__ = ['global_config']
class _Config(object):
def __repr__(self):
return repr(self.__dict__)
class RobeepConfig(_Config):
pass
_config = _Config()
_config.robeep = dict()
_config.robeep['name'] = 'robeep agent'
_config.robeep['host'] = 'localhost'
_config.robeep['port'] = 8086
_config.robeep['username'] = None
_config.robeep['password'] = None
_config.robeep['database'] = 'robeep'
_config.robeep['ssl'] = False
_config.robeep['verify_ssl'] = False
_config.robeep['timeout'] = 30.0
_config.robeep['environment'] = 'product'
def global_config():
return _config
| __all__ = ['global_config']
class _Config(object):
def __repr__(self):
return repr(self.__dict__)
class Robeepconfig(_Config):
pass
_config = __config()
_config.robeep = dict()
_config.robeep['name'] = 'robeep agent'
_config.robeep['host'] = 'localhost'
_config.robeep['port'] = 8086
_config.robeep['username'] = None
_config.robeep['password'] = None
_config.robeep['database'] = 'robeep'
_config.robeep['ssl'] = False
_config.robeep['verify_ssl'] = False
_config.robeep['timeout'] = 30.0
_config.robeep['environment'] = 'product'
def global_config():
return _config |
base_config = {
'agent': '@spinup_bis.algos.tf2.SUNRISE',
'total_steps': 3000000,
'num_test_episodes': 30,
'ac_kwargs': {
'hidden_sizes': [256, 256],
'activation': 'relu',
},
'ac_number': 5,
'autotune_alpha': True,
'beta_bernoulli': 1.,
}
params_grid = {
'task': [
'Hopper-v2',
'Walker2d-v2',
'Ant-v2',
'Humanoid-v2',
],
'seed': [42, 7, 224444444, 11, 14,
13, 5, 509758253, 777, 6051995,
817604, 759621, 469592, 681422, 662896,
680578, 50728, 680595, 650678, 984230,
420115, 487860, 234662, 753671, 709357,
755288, 109482, 626151, 459560, 629937],
}
| base_config = {'agent': '@spinup_bis.algos.tf2.SUNRISE', 'total_steps': 3000000, 'num_test_episodes': 30, 'ac_kwargs': {'hidden_sizes': [256, 256], 'activation': 'relu'}, 'ac_number': 5, 'autotune_alpha': True, 'beta_bernoulli': 1.0}
params_grid = {'task': ['Hopper-v2', 'Walker2d-v2', 'Ant-v2', 'Humanoid-v2'], 'seed': [42, 7, 224444444, 11, 14, 13, 5, 509758253, 777, 6051995, 817604, 759621, 469592, 681422, 662896, 680578, 50728, 680595, 650678, 984230, 420115, 487860, 234662, 753671, 709357, 755288, 109482, 626151, 459560, 629937]} |
# Step 1: Annotate `get_name`.
# Step 2: Annotate `greet`.
# Step 3: Identify the bug in `greet`.
# Step 4: Green sticky on!
def num_vowels(s: str) -> int:
result = 0
for letter in s:
if letter in "aeiouAEIOU":
result += 1
return result
def get_name():
return "YOUR NAME HERE"
def greet(name):
print("Hello " + name + "! Your name contains " + num_vowels(name) + " vowels.")
# Step 5: Experiment - Is this call necessary? Does Pyre catch the above bug even without
# this line? Does that match your model of how Pyre works?
greet(get_name())
| def num_vowels(s: str) -> int:
result = 0
for letter in s:
if letter in 'aeiouAEIOU':
result += 1
return result
def get_name():
return 'YOUR NAME HERE'
def greet(name):
print('Hello ' + name + '! Your name contains ' + num_vowels(name) + ' vowels.')
greet(get_name()) |
def tree_maximum(self):
atual = self.root
anterior = None
while atual != None:
anterior = atual
atual = atual.dir
return anterior | def tree_maximum(self):
atual = self.root
anterior = None
while atual != None:
anterior = atual
atual = atual.dir
return anterior |
# 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
for i in range(14):
print(i)
# 42, 43, 44, 45, ..., 99
for i in range(42, 100):
print(i)
# odd numbers between 0 to 100
for i in range(1, 100, 2):
print(i) | for i in range(14):
print(i)
for i in range(42, 100):
print(i)
for i in range(1, 100, 2):
print(i) |
def sumd(a1):
c=0
a=a1
while(a!=0):
c+=int(a%10)
a//=10
return c
n=int(input())
ans=0
for i in range(n-97,n+1):
if(i+sumd(i)+sumd(sumd(i))==n):
ans+=1
print(ans) | def sumd(a1):
c = 0
a = a1
while a != 0:
c += int(a % 10)
a //= 10
return c
n = int(input())
ans = 0
for i in range(n - 97, n + 1):
if i + sumd(i) + sumd(sumd(i)) == n:
ans += 1
print(ans) |
VOCAB_FILE = '/content/drive/Shared drives/BioNLP/project/medical_data/embeddings/MIMIC_BERT/vocab.txt'
BERT_CONFIG_FILE = '/content/drive/Shared drives/BioNLP/project/medical_data/embeddings/MIMIC_BERT/config.json'
# BC5CDR_WEIGHT = 'weights/bc5cdr_wt.pt'
# BIONLP13CG_WEIGHT = 'weights/bionlp13cg_wt.pt'
BERT_WEIGHTS = '/content/drive/Shared drives/BioNLP/project/medical_data/embeddings/MIMIC_BERT/pytorch_weight'
MIMIC_BERT_PRETRAINED_PATH = '/content/drive/Shared drives/BioNLP/project/medical_data/embeddings/MIMIC_BERT/'
MIMIC_BERT_TF_PATH = MIMIC_BERT_PRETRAINED_PATH + "bert_model.ckpt"
MIMIC_BERT_CONFIG_PATH = MIMIC_BERT_PRETRAINED_PATH + "config.json"
MIMIC_BERT_PYTORCH_MODEL_PATH = MIMIC_BERT_PRETRAINED_PATH + "pytorch_model.bin"
MIMIC_BERT_VOCAB = MIMIC_BERT_PRETRAINED_PATH + "vocab.txt" | vocab_file = '/content/drive/Shared drives/BioNLP/project/medical_data/embeddings/MIMIC_BERT/vocab.txt'
bert_config_file = '/content/drive/Shared drives/BioNLP/project/medical_data/embeddings/MIMIC_BERT/config.json'
bert_weights = '/content/drive/Shared drives/BioNLP/project/medical_data/embeddings/MIMIC_BERT/pytorch_weight'
mimic_bert_pretrained_path = '/content/drive/Shared drives/BioNLP/project/medical_data/embeddings/MIMIC_BERT/'
mimic_bert_tf_path = MIMIC_BERT_PRETRAINED_PATH + 'bert_model.ckpt'
mimic_bert_config_path = MIMIC_BERT_PRETRAINED_PATH + 'config.json'
mimic_bert_pytorch_model_path = MIMIC_BERT_PRETRAINED_PATH + 'pytorch_model.bin'
mimic_bert_vocab = MIMIC_BERT_PRETRAINED_PATH + 'vocab.txt' |
# ----
# |C s |
# | @ S|
# |C s>|
# ----
level.description("Your ears become more in tune with the surroundings. "
"Listen to find enemies and captives!")
level.tip("Use warrior.listen to find spaces with other units, "
"and warrior.direction_of to determine what direction they're in.")
level.clue("Walk towards an enemy or captive with "
"warrior.walk_(warrior.direction_of(warrior.listen()[0])), "
"once len(warrior.listen()) == 0 then head for the stairs.")
level.time_bonus(55)
level.ace_score(144)
level.size(4, 3)
level.stairs(3, 2)
def add_abilities(warrior):
warrior.add_abilities('listen')
warrior.add_abilities('direction_of')
level.warrior(1, 1, 'east', func=add_abilities)
level.unit('captive', 0, 0, 'east')
level.unit('captive', 0, 2, 'east')
level.unit('sludge', 2, 0, 'south')
level.unit('thick_sludge', 3, 1, 'west')
level.unit('sludge', 2, 2, 'north')
| level.description('Your ears become more in tune with the surroundings. Listen to find enemies and captives!')
level.tip("Use warrior.listen to find spaces with other units, and warrior.direction_of to determine what direction they're in.")
level.clue('Walk towards an enemy or captive with warrior.walk_(warrior.direction_of(warrior.listen()[0])), once len(warrior.listen()) == 0 then head for the stairs.')
level.time_bonus(55)
level.ace_score(144)
level.size(4, 3)
level.stairs(3, 2)
def add_abilities(warrior):
warrior.add_abilities('listen')
warrior.add_abilities('direction_of')
level.warrior(1, 1, 'east', func=add_abilities)
level.unit('captive', 0, 0, 'east')
level.unit('captive', 0, 2, 'east')
level.unit('sludge', 2, 0, 'south')
level.unit('thick_sludge', 3, 1, 'west')
level.unit('sludge', 2, 2, 'north') |
class Struct:
def __init__(self, id, loci):
self.id = id
self.loci = loci
def make_dict(self, num, mydict, pattrn):
mydict[pattrn] = num
| class Struct:
def __init__(self, id, loci):
self.id = id
self.loci = loci
def make_dict(self, num, mydict, pattrn):
mydict[pattrn] = num |
CUSTOM_TEMPLATES = {
# https://iot.mi.com/new/doc/embedded-development/ble/object-definition#%E7%89%99%E5%88%B7%E4%BA%8B%E4%BB%B6
'ble_toothbrush_events': "{%- set dat = props.get('event.16') | default('{}',true) | from_json %}"
"{%- set tim = dat.timestamp | default(0,true) | timestamp_local %}"
"{%- set val = dat.get('value',[]).0 | default('0000') %}"
"{%- set typ = val[0:2] | int(0,16) %}"
"{%- set num = val[2:4] | int(0,16) %}"
"{{ {"
"'event': 'start',"
"'counter': num,"
"'timestamp': tim,"
"} if typ == 0 else {"
"'event': 'finish',"
"'score': num,"
"'timestamp': tim,"
"} }}",
# https://iot.mi.com/new/doc/embedded-development/ble/object-definition#%E9%94%81%E4%BA%8B%E4%BB%B6
'ble_lock_events': "{%- set mark_data = props.get('event.6') | default('{}',true) | from_json %}"
"{%- set mark = mark_data.get('value',[]).0 | default('') %}"
"{%- set door_data = props.get('event.7') | default('{}',true) | from_json %}"
"{%- set door = (door_data.get('value',[]).0 | default(''))[:2] | int(-1,16) %}"
"{%- set fang_data = props.get('event.8') | default('{}',true) | from_json %}"
"{%- set fang = (fang_data.get('value',[]).0 | default(''))[:2] | int(-1,16) %}"
"{%- set lock_data = props.get('event.11') | default('{}',true) | from_json %}"
"{%- set lock = lock_data.get('value',[]).0 | default('') %}"
"{%- set lock_action = lock[:2] | int(-1,16) % 16 %}"
"{%- set lock_method = lock[:2] | int(-1,16) // 16 %}"
"{%- set lock_key = lock[2:10] %}"
"{%- set lock_fault = lock_key if lock_key[:4] == 'c0de' else None %}"
"{%- set key_id = (0).from_bytes((0).to_bytes(0,'little').fromhex(lock_key),'little') %}"
"{%- set key_types = {'00000000':'admin','ffffffff':'unknown','deadbeef':'invalid'} %}"
"{%- set key_results = ['success','fail','timeout','blurry','less','dry','wet'] %}"
"{%- set door_states = ['open','close','close_timeout','knock','breaking','stuck'] %}"
"{%- set lock_actions = ['outside_unlock','lock','anti_lock_on','anti_lock_off',"
"'inside_unlock','lock_inside','child_lock_on','child_lock_off'] %}"
"{%- set lock_methods = ['bluetooth','password','biological','key','turntable','nfc',"
"'one-time password','two-step verification','coercion','homekit','manual','automatic'] %}"
"{{ {"
"'fingerprint_id': key_types[mark[:8]] | default(mark[:8]),"
"'fingerprint_result': key_results[mark[8:10] | int(-1,16)] | default('unknown'),"
"'door_state': door_states[door] | default('unknown'),"
"'armed_state': true if fang > 0 else false,"
"'lock_action': lock_actions[lock_action] | default('unknown'),"
"'lock_method': lock_methods[lock_method] | default('unknown'),"
"'lock_key': key_types[lock_key] | default(lock_key),"
"'lock_key_id': key_id,"
"'lock_fault': lock_fault | default('none',true),"
"'lock_data': lock,"
"'timestamp': lock_data.timestamp | default(0,true) | timestamp_local,"
"} }}",
# https://iot.mi.com/new/doc/embedded-development/ble/object-definition#%E7%83%9F%E9%9B%BE%E5%B1%9E%E6%80%A7
'ble_sensor_smoke': "{%- set val = props.get('prop.4117','00') | int(0,16) %}"
"{{ {"
"'smoke_status': val == 1,"
"} }}",
'chuangmi_plug_v3_power_cost': "{%- set val = (result.0 | default({})).get('value',{}) %}"
"{%- set day = now().day %}"
"{{ {"
"'today': val.pc | default(0),"
"'today_duration': val.pc_time | default(0),"
"'month': result[:day] | sum(attribute='value.pc'),"
"'month_duration': result[:day] | sum(attribute='value.pc_time'),"
"} }}",
'lock_event_7_template': "{%- set val = (result.0 | default({})).get('value','[-1]') %}"
"{%- set val = (val | from_json).0 | string %}"
"{%- set evt = val[:2] | int(-1,16) %}"
"{%- set els = ['open','close','close_timeout',"
"'knock','breaking','stuck','unknown'] %}"
"{{ {"
"'door_event': evt,"
"'door_state': els[evt] | default('unknown'),"
"} }}",
'lock_event_11_template': "{%- set val = (result.0 | default({})).get('value','[-1]') %}"
"{%- set val = (val | from_json).0 | string %}"
"{%- set evt = val[:2] | int(-1,16) % 16 %}"
"{%- set how = val[:2] | int(-1,16) // 16 %}"
"{%- set key = (0).from_bytes((0).to_bytes(0,'little')"
".fromhex(val[2:10]), 'little') %}"
"{%- set els = ['outside_unlock','lock','anti_lock_on','anti_lock_off',"
"'inside_unlock','lock_inside','child_lock_on','child_lock_off','unknown'] %}"
"{%- set mls = ['bluetooth','password','biological','key','turntable',"
"'nfc','one-time password','two-step verification','coercion','homekit',"
"'manual','automatic','unknown'] %}"
"{{ {"
"'lock_event': evt,"
"'lock_state': els[evt] | default('unknown'),"
"'method_id': how,"
"'method': mls[how] | default('unknown'),"
"'key_id': key,"
"} }}",
'lumi_acpartner_electric_power': "{%- set val = props.get('prop.ac_power',props.get('prop.load_power',0)) %}"
"{{ {"
"'electric_power': val | round(2),"
"} }}",
'lumi_acpartner_miio_status': "{%- set model = results[0] | default('') %}"
"{%- set state = results[1] | default('') %}"
"{{ {"
"'power': state[2:3] | int(0) == 1,"
"'mode': [3,1,0,2,4][state[3:4] | int(2)],"
"'fan_level': [3,0,1,2][state[4:5] | int(3)],"
"'vertical_swing': state[5:6] in ['0','C'],"
"'target_temperature': state[6:8] | int(0,16),"
"'load_power': results[2] | default(0) | float | round(2),"
"} }}",
'micloud_statistics_power_cost': "{%- set dat = namespace(today=0,month=0) %}"
"{%- set tim = now() %}"
"{%- set stm = tim - timedelta(minutes=tim.minute,seconds=tim.second) %}"
"{%- set tod = stm - timedelta(hours=tim.hour) %}"
"{%- set stm = tod - timedelta(days=tim.day-1) %}"
"{%- set tod = tod | as_timestamp | int(0) %}"
"{%- set stm = stm | as_timestamp | int(0) %}"
"{%- for d in (result or []) %}"
"{%- set t = d.time | default(0) | int(0) %}"
"{%- if t >= stm %}"
"{%- set v = (d.value | default('[]') | string | from_json) or [] %}"
"{%- set n = v[0] | default(0) %}"
"{%- if t >= tod %}"
"{%- set dat.today = n %}"
"{%- endif %}"
"{%- set dat.month = dat.month + n %}"
"{%- endif %}"
"{%- endfor %}"
"{{ {"
"'power_cost_today': dat.today | round(3),"
"'power_cost_month': dat.month | round(3),"
"} }}",
'midr_rv_mirror_cloud_props': "{%- set sta = props.get('prop.Status',0) | int %}"
"{%- set pos = props.get('prop.Position','{}') | from_json %}"
"{%- set tim = pos.get('up_time_stamp',0) | int %}"
"{{ {"
"'prop.status': sta,"
"'prop.position': pos,"
"'prop.update_at': (tim / 1000) | timestamp_local,"
"} }}",
'mxiang_cateye_cloud_props': "{{ {"
"'battery_level': props.get('prop.battery_level','0') | from_json | int,"
"'is_can_open_video': props.get('prop.is_can_open_video','0') | from_json | int,"
"} }}",
'mxiang_cateye_human_visit_details': "{%- set val = (result.0 | default({})).get('value','{}') %}"
"{%- set val = val | from_json %}"
"{{ {"
"'motion_video_time': val.get('visitTime',0) | timestamp_local,"
"'motion_video_type': val.get('action'),"
"'motion_video_latest': val,"
"'_entity_attrs': True,"
"} }}",
'yeelink_bhf_light_v2_fan_levels': "{%- set val = ('00000' ~ value)[-5:] %}"
"{%- set mds = {"
"'drying_cloth': val[0],"
"'coolwind': val[1],"
"'drying': val[2],"
"'venting': val[3],"
"'warmwind': val[4],"
"} %}"
"{{ [1,2,3,3][mds[props.bh_mode] | default(0) | int(0)] | default(1) }}",
'zimi_powerstrip_v2_power_cost': "{%- set val = (result.0 | default({})).get('value','[0]') %}"
"{%- set day = now().day %}"
"{%- set vls = (val | from_json)[0-day:] %}"
"{%- set dat = namespace(today=0,month=0) %}"
"{%- for v in vls %}"
"{%- set v = (v | string).split(',') %}"
"{%- if v[0] | default(0) | int(0) > 86400 %}"
"{%- set dat.today = v[1] | default(0) | round(3) %}"
"{%- set dat.month = dat.month + dat.today %}"
"{%- endif %}"
"{%- endfor %}"
"{{ {"
"'today': dat.today,"
"'month': dat.month | round(3),"
"} }}",
}
| custom_templates = {'ble_toothbrush_events': "{%- set dat = props.get('event.16') | default('{}',true) | from_json %}{%- set tim = dat.timestamp | default(0,true) | timestamp_local %}{%- set val = dat.get('value',[]).0 | default('0000') %}{%- set typ = val[0:2] | int(0,16) %}{%- set num = val[2:4] | int(0,16) %}{{ {'event': 'start','counter': num,'timestamp': tim,} if typ == 0 else {'event': 'finish','score': num,'timestamp': tim,} }}", 'ble_lock_events': "{%- set mark_data = props.get('event.6') | default('{}',true) | from_json %}{%- set mark = mark_data.get('value',[]).0 | default('') %}{%- set door_data = props.get('event.7') | default('{}',true) | from_json %}{%- set door = (door_data.get('value',[]).0 | default(''))[:2] | int(-1,16) %}{%- set fang_data = props.get('event.8') | default('{}',true) | from_json %}{%- set fang = (fang_data.get('value',[]).0 | default(''))[:2] | int(-1,16) %}{%- set lock_data = props.get('event.11') | default('{}',true) | from_json %}{%- set lock = lock_data.get('value',[]).0 | default('') %}{%- set lock_action = lock[:2] | int(-1,16) % 16 %}{%- set lock_method = lock[:2] | int(-1,16) // 16 %}{%- set lock_key = lock[2:10] %}{%- set lock_fault = lock_key if lock_key[:4] == 'c0de' else None %}{%- set key_id = (0).from_bytes((0).to_bytes(0,'little').fromhex(lock_key),'little') %}{%- set key_types = {'00000000':'admin','ffffffff':'unknown','deadbeef':'invalid'} %}{%- set key_results = ['success','fail','timeout','blurry','less','dry','wet'] %}{%- set door_states = ['open','close','close_timeout','knock','breaking','stuck'] %}{%- set lock_actions = ['outside_unlock','lock','anti_lock_on','anti_lock_off','inside_unlock','lock_inside','child_lock_on','child_lock_off'] %}{%- set lock_methods = ['bluetooth','password','biological','key','turntable','nfc','one-time password','two-step verification','coercion','homekit','manual','automatic'] %}{{ {'fingerprint_id': key_types[mark[:8]] | default(mark[:8]),'fingerprint_result': key_results[mark[8:10] | int(-1,16)] | default('unknown'),'door_state': door_states[door] | default('unknown'),'armed_state': true if fang > 0 else false,'lock_action': lock_actions[lock_action] | default('unknown'),'lock_method': lock_methods[lock_method] | default('unknown'),'lock_key': key_types[lock_key] | default(lock_key),'lock_key_id': key_id,'lock_fault': lock_fault | default('none',true),'lock_data': lock,'timestamp': lock_data.timestamp | default(0,true) | timestamp_local,} }}", 'ble_sensor_smoke': "{%- set val = props.get('prop.4117','00') | int(0,16) %}{{ {'smoke_status': val == 1,} }}", 'chuangmi_plug_v3_power_cost': "{%- set val = (result.0 | default({})).get('value',{}) %}{%- set day = now().day %}{{ {'today': val.pc | default(0),'today_duration': val.pc_time | default(0),'month': result[:day] | sum(attribute='value.pc'),'month_duration': result[:day] | sum(attribute='value.pc_time'),} }}", 'lock_event_7_template': "{%- set val = (result.0 | default({})).get('value','[-1]') %}{%- set val = (val | from_json).0 | string %}{%- set evt = val[:2] | int(-1,16) %}{%- set els = ['open','close','close_timeout','knock','breaking','stuck','unknown'] %}{{ {'door_event': evt,'door_state': els[evt] | default('unknown'),} }}", 'lock_event_11_template': "{%- set val = (result.0 | default({})).get('value','[-1]') %}{%- set val = (val | from_json).0 | string %}{%- set evt = val[:2] | int(-1,16) % 16 %}{%- set how = val[:2] | int(-1,16) // 16 %}{%- set key = (0).from_bytes((0).to_bytes(0,'little').fromhex(val[2:10]), 'little') %}{%- set els = ['outside_unlock','lock','anti_lock_on','anti_lock_off','inside_unlock','lock_inside','child_lock_on','child_lock_off','unknown'] %}{%- set mls = ['bluetooth','password','biological','key','turntable','nfc','one-time password','two-step verification','coercion','homekit','manual','automatic','unknown'] %}{{ {'lock_event': evt,'lock_state': els[evt] | default('unknown'),'method_id': how,'method': mls[how] | default('unknown'),'key_id': key,} }}", 'lumi_acpartner_electric_power': "{%- set val = props.get('prop.ac_power',props.get('prop.load_power',0)) %}{{ {'electric_power': val | round(2),} }}", 'lumi_acpartner_miio_status': "{%- set model = results[0] | default('') %}{%- set state = results[1] | default('') %}{{ {'power': state[2:3] | int(0) == 1,'mode': [3,1,0,2,4][state[3:4] | int(2)],'fan_level': [3,0,1,2][state[4:5] | int(3)],'vertical_swing': state[5:6] in ['0','C'],'target_temperature': state[6:8] | int(0,16),'load_power': results[2] | default(0) | float | round(2),} }}", 'micloud_statistics_power_cost': "{%- set dat = namespace(today=0,month=0) %}{%- set tim = now() %}{%- set stm = tim - timedelta(minutes=tim.minute,seconds=tim.second) %}{%- set tod = stm - timedelta(hours=tim.hour) %}{%- set stm = tod - timedelta(days=tim.day-1) %}{%- set tod = tod | as_timestamp | int(0) %}{%- set stm = stm | as_timestamp | int(0) %}{%- for d in (result or []) %}{%- set t = d.time | default(0) | int(0) %}{%- if t >= stm %}{%- set v = (d.value | default('[]') | string | from_json) or [] %}{%- set n = v[0] | default(0) %}{%- if t >= tod %}{%- set dat.today = n %}{%- endif %}{%- set dat.month = dat.month + n %}{%- endif %}{%- endfor %}{{ {'power_cost_today': dat.today | round(3),'power_cost_month': dat.month | round(3),} }}", 'midr_rv_mirror_cloud_props': "{%- set sta = props.get('prop.Status',0) | int %}{%- set pos = props.get('prop.Position','{}') | from_json %}{%- set tim = pos.get('up_time_stamp',0) | int %}{{ {'prop.status': sta,'prop.position': pos,'prop.update_at': (tim / 1000) | timestamp_local,} }}", 'mxiang_cateye_cloud_props': "{{ {'battery_level': props.get('prop.battery_level','0') | from_json | int,'is_can_open_video': props.get('prop.is_can_open_video','0') | from_json | int,} }}", 'mxiang_cateye_human_visit_details': "{%- set val = (result.0 | default({})).get('value','{}') %}{%- set val = val | from_json %}{{ {'motion_video_time': val.get('visitTime',0) | timestamp_local,'motion_video_type': val.get('action'),'motion_video_latest': val,'_entity_attrs': True,} }}", 'yeelink_bhf_light_v2_fan_levels': "{%- set val = ('00000' ~ value)[-5:] %}{%- set mds = {'drying_cloth': val[0],'coolwind': val[1],'drying': val[2],'venting': val[3],'warmwind': val[4],} %}{{ [1,2,3,3][mds[props.bh_mode] | default(0) | int(0)] | default(1) }}", 'zimi_powerstrip_v2_power_cost': "{%- set val = (result.0 | default({})).get('value','[0]') %}{%- set day = now().day %}{%- set vls = (val | from_json)[0-day:] %}{%- set dat = namespace(today=0,month=0) %}{%- for v in vls %}{%- set v = (v | string).split(',') %}{%- if v[0] | default(0) | int(0) > 86400 %}{%- set dat.today = v[1] | default(0) | round(3) %}{%- set dat.month = dat.month + dat.today %}{%- endif %}{%- endfor %}{{ {'today': dat.today,'month': dat.month | round(3),} }}"} |
class GenericsPrettyPrinter:
''' Pretty printing of ugeneric_t instances.
'''
def __init__(self, value):
#print(str(value))
self.v = value
def to_string (self):
t = self.v['t']
v = self.v['v']
#print(str(t))
#print(str(v))
if t['type'] >= 11: # magic constant comes from generic.h
return "G_MEMCHUNK{.data = %s, .size = %s}" % (v['ptr'], t['memchunk_size'] - 11)
else:
return str(t['type'])[:-2] + "{" + {
"G_ERROR_T": str(v['err']),
"G_NULL_T": "",
"G_PTR_T": str(v['ptr']),
"G_STR_T": str(v['str']),
"G_CSTR_T": str(v['cstr']),
"G_INT_T": str(v['integer']),
"G_REAL_T": str(v['real']),
"G_SIZE_T": str(v['size']),
"G_BOOL_T": str(v['boolean']),
"G_VECTOR_T": str(v['ptr']),
"G_DICT_T": str(v['ptr']),
}.get(str(t['type']), "unknown") + "}"
def print_ugeneric_t(value):
if str(value.type) == 'ugeneric_t':
return GenericsPrettyPrinter(value)
return None
gdb.pretty_printers.append(print_ugeneric_t)
| class Genericsprettyprinter:
""" Pretty printing of ugeneric_t instances.
"""
def __init__(self, value):
self.v = value
def to_string(self):
t = self.v['t']
v = self.v['v']
if t['type'] >= 11:
return 'G_MEMCHUNK{.data = %s, .size = %s}' % (v['ptr'], t['memchunk_size'] - 11)
else:
return str(t['type'])[:-2] + '{' + {'G_ERROR_T': str(v['err']), 'G_NULL_T': '', 'G_PTR_T': str(v['ptr']), 'G_STR_T': str(v['str']), 'G_CSTR_T': str(v['cstr']), 'G_INT_T': str(v['integer']), 'G_REAL_T': str(v['real']), 'G_SIZE_T': str(v['size']), 'G_BOOL_T': str(v['boolean']), 'G_VECTOR_T': str(v['ptr']), 'G_DICT_T': str(v['ptr'])}.get(str(t['type']), 'unknown') + '}'
def print_ugeneric_t(value):
if str(value.type) == 'ugeneric_t':
return generics_pretty_printer(value)
return None
gdb.pretty_printers.append(print_ugeneric_t) |
class TinyIntError(Exception):
def __init__(self):
self.message = 'El numero entregado NO es un dato tipo TinyInt'
def __str__(self):
return self.message
| class Tinyinterror(Exception):
def __init__(self):
self.message = 'El numero entregado NO es un dato tipo TinyInt'
def __str__(self):
return self.message |
'''
SciPy Introduction
What is SciPy?
* SciPy is a scientific computation library that uses NumPy underneath.
* SciPy stands for Scientific Python.
* It provides more utility functions for optimization, stats and signal processing.
* Like NumPy, SciPy is open source so we can use it freely.
* SciPy was created by NumPy's creator Travis Olliphant.
Why Use SciPy?
* If SciPy uses NumPy underneath, why can we not just use NumPy?
* SciPy has optimized and added functions that are frequently used in NumPy and Data Science.
Which Language is SciPy Written in?
* SciPy is predominantly written in Python, but a few segments are written in C.
Where is the SciPy Codebase?
* The source code for SciPy is located at this github repository https://github.com/scipy/scipy
'''
# Documentation
print('SciPy Introduction') | """
SciPy Introduction
What is SciPy?
* SciPy is a scientific computation library that uses NumPy underneath.
* SciPy stands for Scientific Python.
* It provides more utility functions for optimization, stats and signal processing.
* Like NumPy, SciPy is open source so we can use it freely.
* SciPy was created by NumPy's creator Travis Olliphant.
Why Use SciPy?
* If SciPy uses NumPy underneath, why can we not just use NumPy?
* SciPy has optimized and added functions that are frequently used in NumPy and Data Science.
Which Language is SciPy Written in?
* SciPy is predominantly written in Python, but a few segments are written in C.
Where is the SciPy Codebase?
* The source code for SciPy is located at this github repository https://github.com/scipy/scipy
"""
print('SciPy Introduction') |
def normalize(name):
if name[-4:] == '.pho':
name = name[:-4]
return "{}.pho".format(name)
| def normalize(name):
if name[-4:] == '.pho':
name = name[:-4]
return '{}.pho'.format(name) |
class tree:
def __init__(self, data, left=None, right=None):
self.data = data
self.left: 'tree|None' = left
self.right: 'tree|None' = right
def inorder(self):
if self.left:
yield from self.left.inorder()
yield self.data
if self.right:
yield from self.right.inorder()
def preorder(self):
yield self.data
if self.left:
yield from self.left.preorder()
if self.right:
yield from self.right.preorder()
def postorder(self):
if self.left:
yield from self.left.postorder()
if self.right:
yield from self.right.postorder()
yield self.data
| class Tree:
def __init__(self, data, left=None, right=None):
self.data = data
self.left: 'tree|None' = left
self.right: 'tree|None' = right
def inorder(self):
if self.left:
yield from self.left.inorder()
yield self.data
if self.right:
yield from self.right.inorder()
def preorder(self):
yield self.data
if self.left:
yield from self.left.preorder()
if self.right:
yield from self.right.preorder()
def postorder(self):
if self.left:
yield from self.left.postorder()
if self.right:
yield from self.right.postorder()
yield self.data |
n = 42
f = -7.03
s = 'string cheese'
# 42 -7.030000 string cheese
print('%d %f %s'% (n, f, s) )
# align to the right
# 42 -7.030000 string cheese
print('%10d %10f %10s'%(n, f, s) )
# align to the right with sign
# +42 -7.030000 string cheese
print('%+10d %+10f %+10s'%(n, f, s) )
# align to the left
# 42 -7.030000 string cheese
print('%-10d %-10f %-10s'%(n, f, s))
# align to the right, with maximal character width is 4
# 0042 -7.0300 stri
print('%10.4d %10.4f %10.4s'%(n, f, s) )
# align to the left, with maximal character width is 4
# 0042 -7.0300 stri
print('%.4d %.4f %.4s'%(n, f, s) )
# align width by argument
# 0042 -7.0300 stri
print('%*.*d %*.*f %*.*s'%( 10, 4, n, 10, 4, f, 10 ,4 ,s) )
##########################################
# 42 -7.03 string cheese
print('{} {} {}'.format(n, f, s) )
# -7.03 string cheese 42
print('{2} {0} {1}'.format(s, n, f) )
# 42 -7.03 string cheese
print('{n} {f} {s}'.format( n = 42, f = -7.03, s= 'string cheese') )
d = { 'n':42, 'f':-7.03, 's': 'string cheese'}
# 42 -7.03 string cheese other
print('{0[n]} {0[f]} {0[s]} {1}'.format(d, 'other') )
# 42 -7.030000 string cheese
print('{0:d} {1:f} {2:s}'.format( n, f, s) )
# 42 -7.030000 string cheese
print('{n:d} {f:F} {s:s}'.format( n=42, f=-7.03, s='string cheese') )
# 42 -7.030000 string cheese
print('{0:10d} {1:10f} {2:10s}'.format( n, f, s) )
# align to the right
# 42 -7.030000 string cheese
print('{0:>10d} {1:>10f} {2:>10s}'.format( n, f, s) )
# align to the left
# 42 -7.030000 string cheese
print('{0:<10d} {1:<10f} {2:<10s}'.format( n, f, s) )
# 42 -7.030000 string cheese
print('{0:^10d} {1:^10f} {2:^10s}'.format( n, f, s) )
# padding
# !!!!!!BIG SALE!!!!!!
print('{0:!^20s}'.format('BIG SALE')) | n = 42
f = -7.03
s = 'string cheese'
print('%d %f %s' % (n, f, s))
print('%10d %10f %10s' % (n, f, s))
print('%+10d %+10f %+10s' % (n, f, s))
print('%-10d %-10f %-10s' % (n, f, s))
print('%10.4d %10.4f %10.4s' % (n, f, s))
print('%.4d %.4f %.4s' % (n, f, s))
print('%*.*d %*.*f %*.*s' % (10, 4, n, 10, 4, f, 10, 4, s))
print('{} {} {}'.format(n, f, s))
print('{2} {0} {1}'.format(s, n, f))
print('{n} {f} {s}'.format(n=42, f=-7.03, s='string cheese'))
d = {'n': 42, 'f': -7.03, 's': 'string cheese'}
print('{0[n]} {0[f]} {0[s]} {1}'.format(d, 'other'))
print('{0:d} {1:f} {2:s}'.format(n, f, s))
print('{n:d} {f:F} {s:s}'.format(n=42, f=-7.03, s='string cheese'))
print('{0:10d} {1:10f} {2:10s}'.format(n, f, s))
print('{0:>10d} {1:>10f} {2:>10s}'.format(n, f, s))
print('{0:<10d} {1:<10f} {2:<10s}'.format(n, f, s))
print('{0:^10d} {1:^10f} {2:^10s}'.format(n, f, s))
print('{0:!^20s}'.format('BIG SALE')) |
# Time Complexity: O(nlogn)
def merge(nums1, nums2):
i, j, merged = 0, 0, []
while i < len(nums1) and j < len(nums2):
if nums1[i] < nums2[j]:
merged.append(nums1[i])
i += 1
else:
merged.append(nums2[j])
j += 1
return merged+nums1[i:]+nums2[j:]
def merge_sort(arr):
if len(arr) < 2:
return arr
mid = len(arr)//2
left = arr[:mid]
right = arr[mid:]
left_sorted, right_sorted = merge_sort(left), merge_sort(right)
return merge(left_sorted, right_sorted)
nums = [6, 1, 3, 7, 9, 2, 0]
print(merge_sort(nums)) | def merge(nums1, nums2):
(i, j, merged) = (0, 0, [])
while i < len(nums1) and j < len(nums2):
if nums1[i] < nums2[j]:
merged.append(nums1[i])
i += 1
else:
merged.append(nums2[j])
j += 1
return merged + nums1[i:] + nums2[j:]
def merge_sort(arr):
if len(arr) < 2:
return arr
mid = len(arr) // 2
left = arr[:mid]
right = arr[mid:]
(left_sorted, right_sorted) = (merge_sort(left), merge_sort(right))
return merge(left_sorted, right_sorted)
nums = [6, 1, 3, 7, 9, 2, 0]
print(merge_sort(nums)) |
# Kasia Connell, 2019
# Solution to question 6
# The program will take user's input string and output every second word
# References:
# Ian's video tutorials: https://web.microsoftstream.com/video/909896e3-9d9d-45fe-aba0-a1930fe08a7f
# Programiz: https://www.programiz.com/python-programming/methods/string/join
# Stackoverflow: https://stackoverflow.com/a/54857192
# Python Documentation: https://docs.python.org/3/library/string.html
#
# # enter the command in Cmder 'python solution-6.py'
# User is asked to enter a string of text
string = (input("Enter a string of text:"))
p = string.split()[::2] # using string split function to separate string into words and get every second word by using [::2]
separator = ' ' # split function results in words with commas so separator
print(separator.join(p)) | string = input('Enter a string of text:')
p = string.split()[::2]
separator = ' '
print(separator.join(p)) |
SIZE = 20 # quadratic size of labyrinth
WIDTH, HEIGHT = SIZE, SIZE # can be set to any wanted non-quadratic size
WALL_SYMBOL = '#'
EMPTY_SYMBOL = '.'
NUM_WORMHOLES = 20
WORMHOLE_LENGTH = WIDTH * HEIGHT / 33
DIRECTION_CHANGE_CHANCE = 25
| size = 20
(width, height) = (SIZE, SIZE)
wall_symbol = '#'
empty_symbol = '.'
num_wormholes = 20
wormhole_length = WIDTH * HEIGHT / 33
direction_change_chance = 25 |
class Student:
def __init__(self, student_record):
self.id = student_record[0]
self.cognome = student_record[1]
self.nome = student_record[2]
self.matricola = student_record[3]
self.cf = student_record[4]
self.desiderata = student_record[5]
self.sesso = student_record[6]
self.data_nascita = student_record[7]
self.cap = student_record[8]
self.nazionalita = student_record[9]
self.legge_170 = student_record[10]
self.legge_104 = student_record[11]
self.classe_precedente = student_record[12]
self.classe_successiva = student_record[13]
self.scelta_indirizzo = student_record[14]
self.cod_cat = student_record[15]
self.voto = student_record[16]
self.id_gruppo = student_record[17]
def __repr__(self):
return str(self.__dict__)
def check_desiderata(self, other):
if self.matricola != other.matricola and \
self.id != other.id and \
self.desiderata == other.cf and \
other.desiderata == self.cf:
return True
return False
def eligible_to_swap(self, sex_priority):
return self.legge_104 != "s" and self.legge_170 != "s" and self.sesso != sex_priority
| class Student:
def __init__(self, student_record):
self.id = student_record[0]
self.cognome = student_record[1]
self.nome = student_record[2]
self.matricola = student_record[3]
self.cf = student_record[4]
self.desiderata = student_record[5]
self.sesso = student_record[6]
self.data_nascita = student_record[7]
self.cap = student_record[8]
self.nazionalita = student_record[9]
self.legge_170 = student_record[10]
self.legge_104 = student_record[11]
self.classe_precedente = student_record[12]
self.classe_successiva = student_record[13]
self.scelta_indirizzo = student_record[14]
self.cod_cat = student_record[15]
self.voto = student_record[16]
self.id_gruppo = student_record[17]
def __repr__(self):
return str(self.__dict__)
def check_desiderata(self, other):
if self.matricola != other.matricola and self.id != other.id and (self.desiderata == other.cf) and (other.desiderata == self.cf):
return True
return False
def eligible_to_swap(self, sex_priority):
return self.legge_104 != 's' and self.legge_170 != 's' and (self.sesso != sex_priority) |
# Power digit sum
# Problem 16
# 215 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.
#
# What is the sum of the digits of the number 21000?
# oh well... python
print(sum((int(c) for c in str(2 ** 1000)))) | print(sum((int(c) for c in str(2 ** 1000)))) |
# Solution to problem 6
# Rebecca Turley, 2019-02-18
# secondstring.py
# The user is asked to enter a sentence, which is then shortened to x in the programme to simplify working with it (rather than having to use the full sentence each time)
x = input ("Please enter a sentence: ")
# enumerate is a function that returns an ordered list on all or some items in a collection.
# split() splits a string into a list
# will be using a integer (i) value to select the location of the words I want to return from the entereed string (s)
# the for loop will go through the whole string
for i,s in enumerate(x.split()):
# calculates the remainder of i divided by 2 and prints it to the screen (every alternate word in the entered string)
if i%2 == 0:
print (s, end=' ')
# I found this problem really difficult to try and get my head around so used a lot of websites. I heavily borrowed most of the code from https://stackoverflow.com/questions/17645327/python-3-3-how-to-grab-every-5th-word-in-a-text-file.
# It was a simple enough matter to adjust it to show the results I wanted but then had to try and understand what I had used and why. (So apologies if my attempt at explaining the code is completely wrong)
# For this I used the following; https://docs.python.org/3/library/functions.html#enumerate, https://www.w3schools.com/python/python_conditions.asp, https://stackoverflow.com/questions/8437964/python-printing-horizontally-rather-than-current-default-printing, https://docs.python.org/3/library/stdtypes.html
# I looked at the following website https://www.youtube.com/watch?v=rfscVS0vtbw.
| x = input('Please enter a sentence: ')
for (i, s) in enumerate(x.split()):
if i % 2 == 0:
print(s, end=' ') |
#
# PySNMP MIB module Nortel-Magellan-Passport-IpiVcMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-IpiVcMIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:18:13 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, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion")
Integer32, StorageType, Counter32, RowStatus, Unsigned32, DisplayString = mibBuilder.importSymbols("Nortel-Magellan-Passport-StandardTextualConventionsMIB", "Integer32", "StorageType", "Counter32", "RowStatus", "Unsigned32", "DisplayString")
EnterpriseDateAndTime, Hex, NonReplicated, DigitString = mibBuilder.importSymbols("Nortel-Magellan-Passport-TextualConventionsMIB", "EnterpriseDateAndTime", "Hex", "NonReplicated", "DigitString")
components, passportMIBs = mibBuilder.importSymbols("Nortel-Magellan-Passport-UsefulDefinitionsMIB", "components", "passportMIBs")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
TimeTicks, Integer32, Unsigned32, iso, NotificationType, IpAddress, Counter32, ModuleIdentity, ObjectIdentity, MibIdentifier, Counter64, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "Integer32", "Unsigned32", "iso", "NotificationType", "IpAddress", "Counter32", "ModuleIdentity", "ObjectIdentity", "MibIdentifier", "Counter64", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
ipiVcMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53))
ipivc = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51))
ipivcRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 1), )
if mibBuilder.loadTexts: ipivcRowStatusTable.setStatus('mandatory')
ipivcRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"))
if mibBuilder.loadTexts: ipivcRowStatusEntry.setStatus('mandatory')
ipivcRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 1, 1, 1), RowStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcRowStatus.setStatus('mandatory')
ipivcComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcComponentName.setStatus('mandatory')
ipivcStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 1, 1, 4), StorageType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcStorageType.setStatus('mandatory')
ipivcIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 1, 1, 10), NonReplicated())
if mibBuilder.loadTexts: ipivcIndex.setStatus('mandatory')
ipivcProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 10), )
if mibBuilder.loadTexts: ipivcProvTable.setStatus('mandatory')
ipivcProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"))
if mibBuilder.loadTexts: ipivcProvEntry.setStatus('mandatory')
ipivcIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 10, 1, 1), IpAddress().clone(hexValue="00000000")).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcIpAddress.setStatus('mandatory')
ipivcMaximumNumberOfLcn = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(24, 24)).clone(24)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcMaximumNumberOfLcn.setStatus('mandatory')
ipivcDna = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2))
ipivcDnaRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 1), )
if mibBuilder.loadTexts: ipivcDnaRowStatusTable.setStatus('mandatory')
ipivcDnaRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcDnaIndex"))
if mibBuilder.loadTexts: ipivcDnaRowStatusEntry.setStatus('mandatory')
ipivcDnaRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaRowStatus.setStatus('mandatory')
ipivcDnaComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaComponentName.setStatus('mandatory')
ipivcDnaStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaStorageType.setStatus('mandatory')
ipivcDnaIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 1, 1, 10), NonReplicated())
if mibBuilder.loadTexts: ipivcDnaIndex.setStatus('mandatory')
ipivcDnaAddressTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 10), )
if mibBuilder.loadTexts: ipivcDnaAddressTable.setStatus('mandatory')
ipivcDnaAddressEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcDnaIndex"))
if mibBuilder.loadTexts: ipivcDnaAddressEntry.setStatus('mandatory')
ipivcDnaNumberingPlanIndicator = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("x121", 0), ("e164", 1))).clone('x121')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDnaNumberingPlanIndicator.setStatus('mandatory')
ipivcDnaDataNetworkAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 10, 1, 2), DigitString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDnaDataNetworkAddress.setStatus('mandatory')
ipivcDnaOutgoingOptionsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 11), )
if mibBuilder.loadTexts: ipivcDnaOutgoingOptionsTable.setStatus('mandatory')
ipivcDnaOutgoingOptionsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcDnaIndex"))
if mibBuilder.loadTexts: ipivcDnaOutgoingOptionsEntry.setStatus('mandatory')
ipivcDnaOutCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 11, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disallowed", 0), ("allowed", 1))).clone('disallowed')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaOutCalls.setStatus('mandatory')
ipivcDnaOutDefaultPathSensitivity = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 11, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("throughput", 0), ("delay", 1))).clone('throughput')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDnaOutDefaultPathSensitivity.setStatus('obsolete')
ipivcDnaOutPathSensitivityOverRide = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 11, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1))).clone('no')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDnaOutPathSensitivityOverRide.setStatus('obsolete')
ipivcDnaDefaultTransferPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 11, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 9))).clone(namedValues=NamedValues(("normal", 0), ("high", 9))).clone('normal')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDnaDefaultTransferPriority.setStatus('mandatory')
ipivcDnaTransferPriorityOverRide = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 11, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1))).clone('no')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDnaTransferPriorityOverRide.setStatus('mandatory')
ipivcDnaIncomingOptionsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12), )
if mibBuilder.loadTexts: ipivcDnaIncomingOptionsTable.setStatus('mandatory')
ipivcDnaIncomingOptionsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcDnaIndex"))
if mibBuilder.loadTexts: ipivcDnaIncomingOptionsEntry.setStatus('mandatory')
ipivcDnaIncCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disallowed", 0), ("allowed", 1))).clone('allowed')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaIncCalls.setStatus('mandatory')
ipivcDnaIncHighPriorityReverseCharge = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disallowed", 0), ("allowed", 1))).clone('allowed')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaIncHighPriorityReverseCharge.setStatus('mandatory')
ipivcDnaIncNormalPriorityReverseCharge = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disallowed", 0), ("allowed", 1))).clone('allowed')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaIncNormalPriorityReverseCharge.setStatus('mandatory')
ipivcDnaIncIntlNormalCharge = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disallowed", 0), ("allowed", 1))).clone('allowed')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaIncIntlNormalCharge.setStatus('mandatory')
ipivcDnaIncIntlReverseCharge = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disallowed", 0), ("allowed", 1))).clone('allowed')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaIncIntlReverseCharge.setStatus('mandatory')
ipivcDnaIncFastSelect = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disallowed", 0), ("allowed", 1))).clone('disallowed')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaIncFastSelect.setStatus('mandatory')
ipivcDnaIncSameService = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disallowed", 0), ("allowed", 1))).clone('allowed')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaIncSameService.setStatus('mandatory')
ipivcDnaIncChargeTransfer = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1))).clone('no')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaIncChargeTransfer.setStatus('mandatory')
ipivcDnaIncAccess = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disallowed", 0), ("allowed", 1))).clone('disallowed')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaIncAccess.setStatus('mandatory')
ipivcDnaCallOptionsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13), )
if mibBuilder.loadTexts: ipivcDnaCallOptionsTable.setStatus('mandatory')
ipivcDnaCallOptionsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcDnaIndex"))
if mibBuilder.loadTexts: ipivcDnaCallOptionsEntry.setStatus('mandatory')
ipivcDnaServiceCategory = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31))).clone(namedValues=NamedValues(("gsp", 0), ("x25", 1), ("enhancedIti", 2), ("ncs", 3), ("mlti", 4), ("sm", 5), ("ici", 6), ("dsp3270", 7), ("iam", 8), ("mlhi", 9), ("term3270", 10), ("iti", 11), ("bsi", 13), ("hostIti", 14), ("x75", 15), ("hdsp3270", 16), ("api3201", 20), ("sdlc", 21), ("snaMultiHost", 22), ("redirectionServ", 23), ("trSnaTpad", 24), ("offnetNui", 25), ("gasServer", 26), ("vapServer", 28), ("vapAgent", 29), ("frameRelay", 30), ("ipiVc", 31))).clone('ipiVc')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaServiceCategory.setStatus('mandatory')
ipivcDnaPacketSizes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2).clone(hexValue="0100")).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaPacketSizes.setStatus('mandatory')
ipivcDnaDefaultRecvFrmNetworkPacketSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=NamedValues(("n16", 4), ("n32", 5), ("n64", 6), ("n128", 7), ("n256", 8), ("n512", 9), ("n1024", 10), ("n2048", 11), ("n4096", 12))).clone('n2048')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaDefaultRecvFrmNetworkPacketSize.setStatus('mandatory')
ipivcDnaDefaultSendToNetworkPacketSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=NamedValues(("n16", 4), ("n32", 5), ("n64", 6), ("n128", 7), ("n256", 8), ("n512", 9), ("n1024", 10), ("n2048", 11), ("n4096", 12))).clone('n2048')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaDefaultSendToNetworkPacketSize.setStatus('mandatory')
ipivcDnaDefaultRecvFrmNetworkThruputClass = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(10)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaDefaultRecvFrmNetworkThruputClass.setStatus('mandatory')
ipivcDnaDefaultSendToNetworkThruputClass = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(10)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaDefaultSendToNetworkThruputClass.setStatus('mandatory')
ipivcDnaDefaultRecvFrmNetworkWindowSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 7)).clone(2)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaDefaultRecvFrmNetworkWindowSize.setStatus('mandatory')
ipivcDnaDefaultSendToNetworkWindowSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 7)).clone(2)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaDefaultSendToNetworkWindowSize.setStatus('mandatory')
ipivcDnaPacketSizeNegotiation = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("endToEnd", 0), ("local", 1))).clone('local')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaPacketSizeNegotiation.setStatus('mandatory')
ipivcDnaAccountClass = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDnaAccountClass.setStatus('mandatory')
ipivcDnaServiceExchange = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDnaServiceExchange.setStatus('mandatory')
ipivcDnaCugFormat = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("basic", 0), ("extended", 1))).clone('basic')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaCugFormat.setStatus('mandatory')
ipivcDnaCug0AsNonCugCall = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disallowed", 0), ("allowed", 1))).clone('disallowed')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaCug0AsNonCugCall.setStatus('mandatory')
ipivcDnaFastSelectCallsOnly = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1))).clone('no')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaFastSelectCallsOnly.setStatus('mandatory')
ipivcDnaCug = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2))
ipivcDnaCugRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 1), )
if mibBuilder.loadTexts: ipivcDnaCugRowStatusTable.setStatus('mandatory')
ipivcDnaCugRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcDnaIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcDnaCugIndex"))
if mibBuilder.loadTexts: ipivcDnaCugRowStatusEntry.setStatus('mandatory')
ipivcDnaCugRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaCugRowStatus.setStatus('mandatory')
ipivcDnaCugComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaCugComponentName.setStatus('mandatory')
ipivcDnaCugStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaCugStorageType.setStatus('mandatory')
ipivcDnaCugIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 1, 1, 10), NonReplicated())
if mibBuilder.loadTexts: ipivcDnaCugIndex.setStatus('mandatory')
ipivcDnaCugCugOptionsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10), )
if mibBuilder.loadTexts: ipivcDnaCugCugOptionsTable.setStatus('mandatory')
ipivcDnaCugCugOptionsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcDnaIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcDnaCugIndex"))
if mibBuilder.loadTexts: ipivcDnaCugCugOptionsEntry.setStatus('mandatory')
ipivcDnaCugType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("national", 0), ("international", 1))).clone('national')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDnaCugType.setStatus('mandatory')
ipivcDnaCugDnic = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10, 1, 2), DigitString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4).clone(hexValue="30303030")).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDnaCugDnic.setStatus('mandatory')
ipivcDnaCugInterlockCode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDnaCugInterlockCode.setStatus('mandatory')
ipivcDnaCugOutCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disallowed", 0), ("allowed", 1))).clone('disallowed')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaCugOutCalls.setStatus('mandatory')
ipivcDnaCugIncCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disallowed", 0), ("allowed", 1))).clone('allowed')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDnaCugIncCalls.setStatus('mandatory')
ipivcDnaCugPrivileged = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1))).clone('yes')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDnaCugPrivileged.setStatus('mandatory')
ipivcDr = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3))
ipivcDrRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 1), )
if mibBuilder.loadTexts: ipivcDrRowStatusTable.setStatus('mandatory')
ipivcDrRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcDrIndex"))
if mibBuilder.loadTexts: ipivcDrRowStatusEntry.setStatus('mandatory')
ipivcDrRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 1, 1, 1), RowStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDrRowStatus.setStatus('mandatory')
ipivcDrComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDrComponentName.setStatus('mandatory')
ipivcDrStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 1, 1, 4), StorageType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcDrStorageType.setStatus('mandatory')
ipivcDrIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 1, 1, 10), NonReplicated())
if mibBuilder.loadTexts: ipivcDrIndex.setStatus('mandatory')
ipivcDrProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 10), )
if mibBuilder.loadTexts: ipivcDrProvTable.setStatus('mandatory')
ipivcDrProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcDrIndex"))
if mibBuilder.loadTexts: ipivcDrProvEntry.setStatus('mandatory')
ipivcDrCallingIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 10, 1, 1), IpAddress().clone(hexValue="00000000")).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDrCallingIpAddress.setStatus('mandatory')
ipivcDrCallingNumberingPlanIndicator = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 10, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("x121", 0), ("e164", 1))).clone('x121')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDrCallingNumberingPlanIndicator.setStatus('mandatory')
ipivcDrCallingDataNetworkAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 10, 1, 3), DigitString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ipivcDrCallingDataNetworkAddress.setStatus('mandatory')
ipivcLcn = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4))
ipivcLcnRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 1), )
if mibBuilder.loadTexts: ipivcLcnRowStatusTable.setStatus('mandatory')
ipivcLcnRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcLcnIndex"))
if mibBuilder.loadTexts: ipivcLcnRowStatusEntry.setStatus('mandatory')
ipivcLcnRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 1, 1, 1), RowStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnRowStatus.setStatus('mandatory')
ipivcLcnComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnComponentName.setStatus('mandatory')
ipivcLcnStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 1, 1, 4), StorageType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnStorageType.setStatus('mandatory')
ipivcLcnIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 39)))
if mibBuilder.loadTexts: ipivcLcnIndex.setStatus('mandatory')
ipivcLcnStateTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10), )
if mibBuilder.loadTexts: ipivcLcnStateTable.setStatus('mandatory')
ipivcLcnStateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcLcnIndex"))
if mibBuilder.loadTexts: ipivcLcnStateEntry.setStatus('mandatory')
ipivcLcnAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("locked", 0), ("unlocked", 1), ("shuttingDown", 2))).clone('unlocked')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnAdminState.setStatus('mandatory')
ipivcLcnOperationalState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnOperationalState.setStatus('mandatory')
ipivcLcnUsageState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("idle", 0), ("active", 1), ("busy", 2))).clone('idle')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnUsageState.setStatus('mandatory')
ipivcLcnAvailabilityStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnAvailabilityStatus.setStatus('mandatory')
ipivcLcnProceduralStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnProceduralStatus.setStatus('mandatory')
ipivcLcnControlStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnControlStatus.setStatus('mandatory')
ipivcLcnAlarmStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnAlarmStatus.setStatus('mandatory')
ipivcLcnStandbyStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 15))).clone(namedValues=NamedValues(("hotStandby", 0), ("coldStandby", 1), ("providingService", 2), ("notSet", 15))).clone('notSet')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnStandbyStatus.setStatus('mandatory')
ipivcLcnUnknownStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1))).clone('false')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnUnknownStatus.setStatus('mandatory')
ipivcLcnOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11), )
if mibBuilder.loadTexts: ipivcLcnOperTable.setStatus('mandatory')
ipivcLcnOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcLcnIndex"))
if mibBuilder.loadTexts: ipivcLcnOperEntry.setStatus('mandatory')
ipivcLcnIpInterfaceDevice = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1))).clone('inactive')).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnIpInterfaceDevice.setStatus('mandatory')
ipivcLcnDestinationIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11, 1, 2), IpAddress().clone(hexValue="00000000")).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnDestinationIpAddress.setStatus('mandatory')
ipivcLcnPacketsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnPacketsSent.setStatus('mandatory')
ipivcLcnPacketsReceived = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnPacketsReceived.setStatus('mandatory')
ipivcLcnDiscardTxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnDiscardTxPackets.setStatus('mandatory')
ipivcLcnDiscardRcvPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnDiscardRcvPackets.setStatus('mandatory')
ipivcLcnVc = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2))
ipivcLcnVcRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 1), )
if mibBuilder.loadTexts: ipivcLcnVcRowStatusTable.setStatus('mandatory')
ipivcLcnVcRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcLcnIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcLcnVcIndex"))
if mibBuilder.loadTexts: ipivcLcnVcRowStatusEntry.setStatus('mandatory')
ipivcLcnVcRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcRowStatus.setStatus('mandatory')
ipivcLcnVcComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcComponentName.setStatus('mandatory')
ipivcLcnVcStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcStorageType.setStatus('mandatory')
ipivcLcnVcIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 1, 1, 10), NonReplicated())
if mibBuilder.loadTexts: ipivcLcnVcIndex.setStatus('mandatory')
ipivcLcnVcCadTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10), )
if mibBuilder.loadTexts: ipivcLcnVcCadTable.setStatus('mandatory')
ipivcLcnVcCadEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcLcnIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcLcnVcIndex"))
if mibBuilder.loadTexts: ipivcLcnVcCadEntry.setStatus('mandatory')
ipivcLcnVcType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("svc", 0), ("pvc", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcType.setStatus('mandatory')
ipivcLcnVcState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("creating", 0), ("readyP1", 1), ("dteWaitingP2", 2), ("dceWaitingP3", 3), ("dataTransferP4", 4), ("unsupportedP5", 5), ("dteClearRequestP6", 6), ("dceClearIndicationP7", 7), ("termination", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcState.setStatus('mandatory')
ipivcLcnVcPreviousState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("creating", 0), ("readyP1", 1), ("dteWaitingP2", 2), ("dceWaitingP3", 3), ("dataTransferP4", 4), ("unsupportedP5", 5), ("dteClearRequestP6", 6), ("dceClearIndicationP7", 7), ("termination", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcPreviousState.setStatus('mandatory')
ipivcLcnVcDiagnosticCode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcDiagnosticCode.setStatus('mandatory')
ipivcLcnVcPreviousDiagnosticCode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcPreviousDiagnosticCode.setStatus('mandatory')
ipivcLcnVcCalledNpi = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("x121", 0), ("e164", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcCalledNpi.setStatus('mandatory')
ipivcLcnVcCalledDna = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 7), DigitString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcCalledDna.setStatus('mandatory')
ipivcLcnVcCalledLcn = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcCalledLcn.setStatus('mandatory')
ipivcLcnVcCallingNpi = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("x121", 0), ("e164", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcCallingNpi.setStatus('mandatory')
ipivcLcnVcCallingDna = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 10), DigitString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcCallingDna.setStatus('mandatory')
ipivcLcnVcCallingLcn = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcCallingLcn.setStatus('mandatory')
ipivcLcnVcAccountingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("yes", 0), ("no", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcAccountingEnabled.setStatus('mandatory')
ipivcLcnVcFastSelectCall = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcFastSelectCall.setStatus('mandatory')
ipivcLcnVcLocalRxPktSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=NamedValues(("unknown", 0), ("n16", 4), ("n32", 5), ("n64", 6), ("n128", 7), ("n256", 8), ("n512", 9), ("n1024", 10), ("n2048", 11), ("n4096", 12)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcLocalRxPktSize.setStatus('mandatory')
ipivcLcnVcLocalTxPktSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=NamedValues(("unknown", 0), ("n16", 4), ("n32", 5), ("n64", 6), ("n128", 7), ("n256", 8), ("n512", 9), ("n1024", 10), ("n2048", 11), ("n4096", 12)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcLocalTxPktSize.setStatus('mandatory')
ipivcLcnVcLocalTxWindowSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 16), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcLocalTxWindowSize.setStatus('mandatory')
ipivcLcnVcLocalRxWindowSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 17), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcLocalRxWindowSize.setStatus('mandatory')
ipivcLcnVcPathReliability = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("high", 0), ("normal", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcPathReliability.setStatus('mandatory')
ipivcLcnVcAccountingEnd = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("callingEnd", 0), ("calledEnd", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcAccountingEnd.setStatus('mandatory')
ipivcLcnVcPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("normal", 0), ("high", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcPriority.setStatus('mandatory')
ipivcLcnVcSegmentSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 22), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcSegmentSize.setStatus('mandatory')
ipivcLcnVcSubnetTxPktSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=NamedValues(("unknown", 0), ("n16", 4), ("n32", 5), ("n64", 6), ("n128", 7), ("n256", 8), ("n512", 9), ("n1024", 10), ("n2048", 11), ("n4096", 12)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcSubnetTxPktSize.setStatus('mandatory')
ipivcLcnVcSubnetTxWindowSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 24), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcSubnetTxWindowSize.setStatus('mandatory')
ipivcLcnVcSubnetRxPktSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=NamedValues(("unknown", 0), ("n16", 4), ("n32", 5), ("n64", 6), ("n128", 7), ("n256", 8), ("n512", 9), ("n1024", 10), ("n2048", 11), ("n4096", 12)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcSubnetRxPktSize.setStatus('mandatory')
ipivcLcnVcSubnetRxWindowSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 26), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcSubnetRxWindowSize.setStatus('mandatory')
ipivcLcnVcMaxSubnetPktSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 27), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcMaxSubnetPktSize.setStatus('mandatory')
ipivcLcnVcTransferPriorityToNetwork = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 9))).clone(namedValues=NamedValues(("normal", 0), ("high", 9)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcTransferPriorityToNetwork.setStatus('mandatory')
ipivcLcnVcTransferPriorityFromNetwork = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 9))).clone(namedValues=NamedValues(("normal", 0), ("high", 9)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcTransferPriorityFromNetwork.setStatus('mandatory')
ipivcLcnVcIntdTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 11), )
if mibBuilder.loadTexts: ipivcLcnVcIntdTable.setStatus('mandatory')
ipivcLcnVcIntdEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcLcnIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcLcnVcIndex"))
if mibBuilder.loadTexts: ipivcLcnVcIntdEntry.setStatus('mandatory')
ipivcLcnVcCallReferenceNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 11, 1, 1), Hex().subtype(subtypeSpec=ValueRangeConstraint(0, 16777215))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcCallReferenceNumber.setStatus('mandatory')
ipivcLcnVcElapsedTimeTillNow = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 11, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 16777215))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcElapsedTimeTillNow.setStatus('mandatory')
ipivcLcnVcSegmentsRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 11, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 16777215))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcSegmentsRx.setStatus('mandatory')
ipivcLcnVcSegmentsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 11, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 16777215))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcSegmentsSent.setStatus('mandatory')
ipivcLcnVcStartTime = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 11, 1, 5), EnterpriseDateAndTime().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(19, 19), ))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcStartTime.setStatus('mandatory')
ipivcLcnVcStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12), )
if mibBuilder.loadTexts: ipivcLcnVcStatsTable.setStatus('mandatory')
ipivcLcnVcStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcLcnIndex"), (0, "Nortel-Magellan-Passport-IpiVcMIB", "ipivcLcnVcIndex"))
if mibBuilder.loadTexts: ipivcLcnVcStatsEntry.setStatus('mandatory')
ipivcLcnVcAckStackingTimeouts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcAckStackingTimeouts.setStatus('mandatory')
ipivcLcnVcOutOfRangeFrmFromSubnet = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcOutOfRangeFrmFromSubnet.setStatus('mandatory')
ipivcLcnVcDuplicatesFromSubnet = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcDuplicatesFromSubnet.setStatus('mandatory')
ipivcLcnVcFrmRetryTimeouts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcFrmRetryTimeouts.setStatus('mandatory')
ipivcLcnVcPeakRetryQueueSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcPeakRetryQueueSize.setStatus('mandatory')
ipivcLcnVcPeakOoSeqQueueSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcPeakOoSeqQueueSize.setStatus('mandatory')
ipivcLcnVcPeakOoSeqFrmForwarded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcPeakOoSeqFrmForwarded.setStatus('mandatory')
ipivcLcnVcPeakStackedAcksRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcPeakStackedAcksRx.setStatus('mandatory')
ipivcLcnVcSubnetRecoveries = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcSubnetRecoveries.setStatus('mandatory')
ipivcLcnVcWindowClosuresToSubnet = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcWindowClosuresToSubnet.setStatus('mandatory')
ipivcLcnVcWindowClosuresFromSubnet = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcWindowClosuresFromSubnet.setStatus('mandatory')
ipivcLcnVcWrTriggers = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipivcLcnVcWrTriggers.setStatus('mandatory')
ipiVcGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 1))
ipiVcGroupBE = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 1, 5))
ipiVcGroupBE01 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 1, 5, 2))
ipiVcGroupBE01A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 1, 5, 2, 2))
ipiVcCapabilities = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 3))
ipiVcCapabilitiesBE = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 3, 5))
ipiVcCapabilitiesBE01 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 3, 5, 2))
ipiVcCapabilitiesBE01A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 3, 5, 2, 2))
mibBuilder.exportSymbols("Nortel-Magellan-Passport-IpiVcMIB", ipivcDnaIncAccess=ipivcDnaIncAccess, ipivcLcnOperationalState=ipivcLcnOperationalState, ipivcLcnVcSegmentsSent=ipivcLcnVcSegmentsSent, ipivcDnaIncChargeTransfer=ipivcDnaIncChargeTransfer, ipivcLcnVcSegmentSize=ipivcLcnVcSegmentSize, ipivcLcnPacketsReceived=ipivcLcnPacketsReceived, ipivcDnaDefaultRecvFrmNetworkPacketSize=ipivcDnaDefaultRecvFrmNetworkPacketSize, ipivcProvEntry=ipivcProvEntry, ipivcDnaNumberingPlanIndicator=ipivcDnaNumberingPlanIndicator, ipivcLcnVcIntdTable=ipivcLcnVcIntdTable, ipivcDnaIndex=ipivcDnaIndex, ipivcLcnDiscardRcvPackets=ipivcLcnDiscardRcvPackets, ipivcLcnVcTransferPriorityFromNetwork=ipivcLcnVcTransferPriorityFromNetwork, ipivcLcnVcElapsedTimeTillNow=ipivcLcnVcElapsedTimeTillNow, ipiVcMIB=ipiVcMIB, ipivcLcnRowStatusEntry=ipivcLcnRowStatusEntry, ipivcDnaOutDefaultPathSensitivity=ipivcDnaOutDefaultPathSensitivity, ipivcDnaIncCalls=ipivcDnaIncCalls, ipivcDnaPacketSizeNegotiation=ipivcDnaPacketSizeNegotiation, ipivcLcnVcCallingNpi=ipivcLcnVcCallingNpi, ipivcDnaServiceCategory=ipivcDnaServiceCategory, ipivcDnaRowStatusTable=ipivcDnaRowStatusTable, ipivcLcnStateEntry=ipivcLcnStateEntry, ipivcLcnVcOutOfRangeFrmFromSubnet=ipivcLcnVcOutOfRangeFrmFromSubnet, ipivcDnaCugPrivileged=ipivcDnaCugPrivileged, ipivcDnaServiceExchange=ipivcDnaServiceExchange, ipivcDnaTransferPriorityOverRide=ipivcDnaTransferPriorityOverRide, ipivcDnaCugInterlockCode=ipivcDnaCugInterlockCode, ipivcDnaRowStatus=ipivcDnaRowStatus, ipivcLcnVcComponentName=ipivcLcnVcComponentName, ipivcDnaCugOutCalls=ipivcDnaCugOutCalls, ipivcDnaCugIncCalls=ipivcDnaCugIncCalls, ipivcDnaCugCugOptionsTable=ipivcDnaCugCugOptionsTable, ipivcLcnVcCallingDna=ipivcLcnVcCallingDna, ipivcDnaCug=ipivcDnaCug, ipivcDrStorageType=ipivcDrStorageType, ipivcLcnVcPeakRetryQueueSize=ipivcLcnVcPeakRetryQueueSize, ipivcLcnVcAckStackingTimeouts=ipivcLcnVcAckStackingTimeouts, ipivcLcnVcType=ipivcLcnVcType, ipivcDnaCallOptionsTable=ipivcDnaCallOptionsTable, ipivcLcnVcDuplicatesFromSubnet=ipivcLcnVcDuplicatesFromSubnet, ipivcLcnVcSubnetRecoveries=ipivcLcnVcSubnetRecoveries, ipiVcGroup=ipiVcGroup, ipivcLcnOperEntry=ipivcLcnOperEntry, ipivcLcnVcSubnetTxWindowSize=ipivcLcnVcSubnetTxWindowSize, ipivcDnaOutgoingOptionsTable=ipivcDnaOutgoingOptionsTable, ipivcDrCallingIpAddress=ipivcDrCallingIpAddress, ipivcLcnVcLocalRxPktSize=ipivcLcnVcLocalRxPktSize, ipivcProvTable=ipivcProvTable, ipiVcGroupBE=ipiVcGroupBE, ipivcDrProvEntry=ipivcDrProvEntry, ipivcDnaDefaultSendToNetworkWindowSize=ipivcDnaDefaultSendToNetworkWindowSize, ipivcLcnVcIntdEntry=ipivcLcnVcIntdEntry, ipivcLcnVcDiagnosticCode=ipivcLcnVcDiagnosticCode, ipivcLcnVcPreviousState=ipivcLcnVcPreviousState, ipivcDnaCugFormat=ipivcDnaCugFormat, ipivcLcnIpInterfaceDevice=ipivcLcnIpInterfaceDevice, ipivcRowStatus=ipivcRowStatus, ipivcDrRowStatusTable=ipivcDrRowStatusTable, ipivcLcnStateTable=ipivcLcnStateTable, ipivcDnaDefaultTransferPriority=ipivcDnaDefaultTransferPriority, ipivcLcnDestinationIpAddress=ipivcLcnDestinationIpAddress, ipivcLcnVcState=ipivcLcnVcState, ipivcDnaStorageType=ipivcDnaStorageType, ipiVcCapabilitiesBE01A=ipiVcCapabilitiesBE01A, ipivcLcnRowStatusTable=ipivcLcnRowStatusTable, ipivcLcnVcCadEntry=ipivcLcnVcCadEntry, ipivcLcnComponentName=ipivcLcnComponentName, ipivcDrCallingNumberingPlanIndicator=ipivcDrCallingNumberingPlanIndicator, ipivcLcnAdminState=ipivcLcnAdminState, ipivcLcnVcPreviousDiagnosticCode=ipivcLcnVcPreviousDiagnosticCode, ipivcLcnVcCalledLcn=ipivcLcnVcCalledLcn, ipiVcCapabilitiesBE=ipiVcCapabilitiesBE, ipivcDnaCugRowStatusEntry=ipivcDnaCugRowStatusEntry, ipivcDrIndex=ipivcDrIndex, ipivcDnaDefaultSendToNetworkPacketSize=ipivcDnaDefaultSendToNetworkPacketSize, ipivcDnaCugComponentName=ipivcDnaCugComponentName, ipivcLcnVcAccountingEnabled=ipivcLcnVcAccountingEnabled, ipiVcGroupBE01A=ipiVcGroupBE01A, ipivcDnaAccountClass=ipivcDnaAccountClass, ipivcDnaCugRowStatus=ipivcDnaCugRowStatus, ipivcDnaDataNetworkAddress=ipivcDnaDataNetworkAddress, ipivcLcnPacketsSent=ipivcLcnPacketsSent, ipivcLcnVc=ipivcLcnVc, ipivcDnaIncFastSelect=ipivcDnaIncFastSelect, ipivcLcnVcStatsEntry=ipivcLcnVcStatsEntry, ipivcLcnVcStartTime=ipivcLcnVcStartTime, ipivcLcnVcLocalTxWindowSize=ipivcLcnVcLocalTxWindowSize, ipivcLcnVcIndex=ipivcLcnVcIndex, ipivcDnaIncSameService=ipivcDnaIncSameService, ipivcDr=ipivcDr, ipivcLcnVcPeakOoSeqFrmForwarded=ipivcLcnVcPeakOoSeqFrmForwarded, ipivcLcnVcCalledDna=ipivcLcnVcCalledDna, ipivcRowStatusEntry=ipivcRowStatusEntry, ipivcDnaCugRowStatusTable=ipivcDnaCugRowStatusTable, ipivcDnaAddressEntry=ipivcDnaAddressEntry, ipivcDnaCug0AsNonCugCall=ipivcDnaCug0AsNonCugCall, ipivcDrComponentName=ipivcDrComponentName, ipivcLcnVcRowStatus=ipivcLcnVcRowStatus, ipivcDnaDefaultRecvFrmNetworkWindowSize=ipivcDnaDefaultRecvFrmNetworkWindowSize, ipivcRowStatusTable=ipivcRowStatusTable, ipivcLcnVcAccountingEnd=ipivcLcnVcAccountingEnd, ipivcDnaRowStatusEntry=ipivcDnaRowStatusEntry, ipivcDnaIncomingOptionsEntry=ipivcDnaIncomingOptionsEntry, ipivcStorageType=ipivcStorageType, ipivcLcnVcWrTriggers=ipivcLcnVcWrTriggers, ipivcDnaCallOptionsEntry=ipivcDnaCallOptionsEntry, ipivcLcnVcLocalTxPktSize=ipivcLcnVcLocalTxPktSize, ipivcLcnVcTransferPriorityToNetwork=ipivcLcnVcTransferPriorityToNetwork, ipivcLcnControlStatus=ipivcLcnControlStatus, ipivcLcnUnknownStatus=ipivcLcnUnknownStatus, ipivcDnaOutgoingOptionsEntry=ipivcDnaOutgoingOptionsEntry, ipivcLcnVcSubnetTxPktSize=ipivcLcnVcSubnetTxPktSize, ipiVcCapabilitiesBE01=ipiVcCapabilitiesBE01, ipivcLcnVcLocalRxWindowSize=ipivcLcnVcLocalRxWindowSize, ipivcDnaIncIntlReverseCharge=ipivcDnaIncIntlReverseCharge, ipivcDnaCugDnic=ipivcDnaCugDnic, ipivcComponentName=ipivcComponentName, ipivcDnaCugCugOptionsEntry=ipivcDnaCugCugOptionsEntry, ipivcLcnVcSubnetRxWindowSize=ipivcLcnVcSubnetRxWindowSize, ipivcLcnVcFastSelectCall=ipivcLcnVcFastSelectCall, ipivcLcnUsageState=ipivcLcnUsageState, ipivcDnaCugType=ipivcDnaCugType, ipivcDnaDefaultRecvFrmNetworkThruputClass=ipivcDnaDefaultRecvFrmNetworkThruputClass, ipivcLcnIndex=ipivcLcnIndex, ipivcLcnVcCallingLcn=ipivcLcnVcCallingLcn, ipivcLcnVcFrmRetryTimeouts=ipivcLcnVcFrmRetryTimeouts, ipivcDnaIncHighPriorityReverseCharge=ipivcDnaIncHighPriorityReverseCharge, ipiVcGroupBE01=ipiVcGroupBE01, ipivcLcnVcCadTable=ipivcLcnVcCadTable, ipivcLcnVcCallReferenceNumber=ipivcLcnVcCallReferenceNumber, ipivcDnaIncNormalPriorityReverseCharge=ipivcDnaIncNormalPriorityReverseCharge, ipivcLcnVcPeakStackedAcksRx=ipivcLcnVcPeakStackedAcksRx, ipivcLcnVcWindowClosuresToSubnet=ipivcLcnVcWindowClosuresToSubnet, ipivcLcnDiscardTxPackets=ipivcLcnDiscardTxPackets, ipivcLcnVcSegmentsRx=ipivcLcnVcSegmentsRx, ipivcLcnVcPriority=ipivcLcnVcPriority, ipivcDnaCugStorageType=ipivcDnaCugStorageType, ipivcLcnVcStorageType=ipivcLcnVcStorageType, ipivcLcnOperTable=ipivcLcnOperTable, ipivcMaximumNumberOfLcn=ipivcMaximumNumberOfLcn, ipivcDna=ipivcDna, ipivcLcnAlarmStatus=ipivcLcnAlarmStatus, ipivcLcnVcWindowClosuresFromSubnet=ipivcLcnVcWindowClosuresFromSubnet, ipivcLcnProceduralStatus=ipivcLcnProceduralStatus, ipivcDnaIncomingOptionsTable=ipivcDnaIncomingOptionsTable, ipivcLcnVcMaxSubnetPktSize=ipivcLcnVcMaxSubnetPktSize, ipivcDnaOutPathSensitivityOverRide=ipivcDnaOutPathSensitivityOverRide, ipivcLcnAvailabilityStatus=ipivcLcnAvailabilityStatus, ipivcLcnVcCalledNpi=ipivcLcnVcCalledNpi, ipiVcCapabilities=ipiVcCapabilities, ipivcDnaPacketSizes=ipivcDnaPacketSizes, ipivcDrCallingDataNetworkAddress=ipivcDrCallingDataNetworkAddress, ipivcDnaComponentName=ipivcDnaComponentName, ipivcDrProvTable=ipivcDrProvTable, ipivcDrRowStatusEntry=ipivcDrRowStatusEntry, ipivcDnaDefaultSendToNetworkThruputClass=ipivcDnaDefaultSendToNetworkThruputClass, ipivcDnaAddressTable=ipivcDnaAddressTable, ipivcLcnStandbyStatus=ipivcLcnStandbyStatus, ipivcLcnVcRowStatusEntry=ipivcLcnVcRowStatusEntry, ipivcDnaFastSelectCallsOnly=ipivcDnaFastSelectCallsOnly, ipivcDrRowStatus=ipivcDrRowStatus, ipivcIndex=ipivcIndex, ipivc=ipivc, ipivcLcnVcPeakOoSeqQueueSize=ipivcLcnVcPeakOoSeqQueueSize, ipivcLcnRowStatus=ipivcLcnRowStatus, ipivcLcnVcSubnetRxPktSize=ipivcLcnVcSubnetRxPktSize, ipivcLcnVcStatsTable=ipivcLcnVcStatsTable, ipivcLcn=ipivcLcn, ipivcIpAddress=ipivcIpAddress, ipivcDnaIncIntlNormalCharge=ipivcDnaIncIntlNormalCharge, ipivcLcnVcRowStatusTable=ipivcLcnVcRowStatusTable, ipivcDnaOutCalls=ipivcDnaOutCalls, ipivcDnaCugIndex=ipivcDnaCugIndex, ipivcLcnVcPathReliability=ipivcLcnVcPathReliability, ipivcLcnStorageType=ipivcLcnStorageType)
| (object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer')
(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')
(integer32, storage_type, counter32, row_status, unsigned32, display_string) = mibBuilder.importSymbols('Nortel-Magellan-Passport-StandardTextualConventionsMIB', 'Integer32', 'StorageType', 'Counter32', 'RowStatus', 'Unsigned32', 'DisplayString')
(enterprise_date_and_time, hex, non_replicated, digit_string) = mibBuilder.importSymbols('Nortel-Magellan-Passport-TextualConventionsMIB', 'EnterpriseDateAndTime', 'Hex', 'NonReplicated', 'DigitString')
(components, passport_mi_bs) = mibBuilder.importSymbols('Nortel-Magellan-Passport-UsefulDefinitionsMIB', 'components', 'passportMIBs')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(time_ticks, integer32, unsigned32, iso, notification_type, ip_address, counter32, module_identity, object_identity, mib_identifier, counter64, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, bits) = mibBuilder.importSymbols('SNMPv2-SMI', 'TimeTicks', 'Integer32', 'Unsigned32', 'iso', 'NotificationType', 'IpAddress', 'Counter32', 'ModuleIdentity', 'ObjectIdentity', 'MibIdentifier', 'Counter64', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
ipi_vc_mib = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53))
ipivc = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51))
ipivc_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 1))
if mibBuilder.loadTexts:
ipivcRowStatusTable.setStatus('mandatory')
ipivc_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'))
if mibBuilder.loadTexts:
ipivcRowStatusEntry.setStatus('mandatory')
ipivc_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 1, 1, 1), row_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcRowStatus.setStatus('mandatory')
ipivc_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcComponentName.setStatus('mandatory')
ipivc_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 1, 1, 4), storage_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcStorageType.setStatus('mandatory')
ipivc_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 1, 1, 10), non_replicated())
if mibBuilder.loadTexts:
ipivcIndex.setStatus('mandatory')
ipivc_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 10))
if mibBuilder.loadTexts:
ipivcProvTable.setStatus('mandatory')
ipivc_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'))
if mibBuilder.loadTexts:
ipivcProvEntry.setStatus('mandatory')
ipivc_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 10, 1, 1), ip_address().clone(hexValue='00000000')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcIpAddress.setStatus('mandatory')
ipivc_maximum_number_of_lcn = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(24, 24)).clone(24)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcMaximumNumberOfLcn.setStatus('mandatory')
ipivc_dna = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2))
ipivc_dna_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 1))
if mibBuilder.loadTexts:
ipivcDnaRowStatusTable.setStatus('mandatory')
ipivc_dna_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcDnaIndex'))
if mibBuilder.loadTexts:
ipivcDnaRowStatusEntry.setStatus('mandatory')
ipivc_dna_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 1, 1, 1), row_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaRowStatus.setStatus('mandatory')
ipivc_dna_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaComponentName.setStatus('mandatory')
ipivc_dna_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaStorageType.setStatus('mandatory')
ipivc_dna_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 1, 1, 10), non_replicated())
if mibBuilder.loadTexts:
ipivcDnaIndex.setStatus('mandatory')
ipivc_dna_address_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 10))
if mibBuilder.loadTexts:
ipivcDnaAddressTable.setStatus('mandatory')
ipivc_dna_address_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcDnaIndex'))
if mibBuilder.loadTexts:
ipivcDnaAddressEntry.setStatus('mandatory')
ipivc_dna_numbering_plan_indicator = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('x121', 0), ('e164', 1))).clone('x121')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDnaNumberingPlanIndicator.setStatus('mandatory')
ipivc_dna_data_network_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 10, 1, 2), digit_string().subtype(subtypeSpec=value_size_constraint(1, 15))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDnaDataNetworkAddress.setStatus('mandatory')
ipivc_dna_outgoing_options_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 11))
if mibBuilder.loadTexts:
ipivcDnaOutgoingOptionsTable.setStatus('mandatory')
ipivc_dna_outgoing_options_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcDnaIndex'))
if mibBuilder.loadTexts:
ipivcDnaOutgoingOptionsEntry.setStatus('mandatory')
ipivc_dna_out_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 11, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disallowed', 0), ('allowed', 1))).clone('disallowed')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaOutCalls.setStatus('mandatory')
ipivc_dna_out_default_path_sensitivity = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 11, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('throughput', 0), ('delay', 1))).clone('throughput')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDnaOutDefaultPathSensitivity.setStatus('obsolete')
ipivc_dna_out_path_sensitivity_over_ride = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 11, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1))).clone('no')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDnaOutPathSensitivityOverRide.setStatus('obsolete')
ipivc_dna_default_transfer_priority = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 11, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 9))).clone(namedValues=named_values(('normal', 0), ('high', 9))).clone('normal')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDnaDefaultTransferPriority.setStatus('mandatory')
ipivc_dna_transfer_priority_over_ride = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 11, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1))).clone('no')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDnaTransferPriorityOverRide.setStatus('mandatory')
ipivc_dna_incoming_options_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12))
if mibBuilder.loadTexts:
ipivcDnaIncomingOptionsTable.setStatus('mandatory')
ipivc_dna_incoming_options_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcDnaIndex'))
if mibBuilder.loadTexts:
ipivcDnaIncomingOptionsEntry.setStatus('mandatory')
ipivc_dna_inc_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disallowed', 0), ('allowed', 1))).clone('allowed')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaIncCalls.setStatus('mandatory')
ipivc_dna_inc_high_priority_reverse_charge = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disallowed', 0), ('allowed', 1))).clone('allowed')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaIncHighPriorityReverseCharge.setStatus('mandatory')
ipivc_dna_inc_normal_priority_reverse_charge = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disallowed', 0), ('allowed', 1))).clone('allowed')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaIncNormalPriorityReverseCharge.setStatus('mandatory')
ipivc_dna_inc_intl_normal_charge = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disallowed', 0), ('allowed', 1))).clone('allowed')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaIncIntlNormalCharge.setStatus('mandatory')
ipivc_dna_inc_intl_reverse_charge = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disallowed', 0), ('allowed', 1))).clone('allowed')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaIncIntlReverseCharge.setStatus('mandatory')
ipivc_dna_inc_fast_select = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disallowed', 0), ('allowed', 1))).clone('disallowed')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaIncFastSelect.setStatus('mandatory')
ipivc_dna_inc_same_service = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disallowed', 0), ('allowed', 1))).clone('allowed')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaIncSameService.setStatus('mandatory')
ipivc_dna_inc_charge_transfer = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1))).clone('no')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaIncChargeTransfer.setStatus('mandatory')
ipivc_dna_inc_access = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 12, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disallowed', 0), ('allowed', 1))).clone('disallowed')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaIncAccess.setStatus('mandatory')
ipivc_dna_call_options_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13))
if mibBuilder.loadTexts:
ipivcDnaCallOptionsTable.setStatus('mandatory')
ipivc_dna_call_options_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcDnaIndex'))
if mibBuilder.loadTexts:
ipivcDnaCallOptionsEntry.setStatus('mandatory')
ipivc_dna_service_category = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31))).clone(namedValues=named_values(('gsp', 0), ('x25', 1), ('enhancedIti', 2), ('ncs', 3), ('mlti', 4), ('sm', 5), ('ici', 6), ('dsp3270', 7), ('iam', 8), ('mlhi', 9), ('term3270', 10), ('iti', 11), ('bsi', 13), ('hostIti', 14), ('x75', 15), ('hdsp3270', 16), ('api3201', 20), ('sdlc', 21), ('snaMultiHost', 22), ('redirectionServ', 23), ('trSnaTpad', 24), ('offnetNui', 25), ('gasServer', 26), ('vapServer', 28), ('vapAgent', 29), ('frameRelay', 30), ('ipiVc', 31))).clone('ipiVc')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaServiceCategory.setStatus('mandatory')
ipivc_dna_packet_sizes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2).clone(hexValue='0100')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaPacketSizes.setStatus('mandatory')
ipivc_dna_default_recv_frm_network_packet_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=named_values(('n16', 4), ('n32', 5), ('n64', 6), ('n128', 7), ('n256', 8), ('n512', 9), ('n1024', 10), ('n2048', 11), ('n4096', 12))).clone('n2048')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaDefaultRecvFrmNetworkPacketSize.setStatus('mandatory')
ipivc_dna_default_send_to_network_packet_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=named_values(('n16', 4), ('n32', 5), ('n64', 6), ('n128', 7), ('n256', 8), ('n512', 9), ('n1024', 10), ('n2048', 11), ('n4096', 12))).clone('n2048')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaDefaultSendToNetworkPacketSize.setStatus('mandatory')
ipivc_dna_default_recv_frm_network_thruput_class = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(10)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaDefaultRecvFrmNetworkThruputClass.setStatus('mandatory')
ipivc_dna_default_send_to_network_thruput_class = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(10)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaDefaultSendToNetworkThruputClass.setStatus('mandatory')
ipivc_dna_default_recv_frm_network_window_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 7)).clone(2)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaDefaultRecvFrmNetworkWindowSize.setStatus('mandatory')
ipivc_dna_default_send_to_network_window_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 7)).clone(2)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaDefaultSendToNetworkWindowSize.setStatus('mandatory')
ipivc_dna_packet_size_negotiation = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('endToEnd', 0), ('local', 1))).clone('local')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaPacketSizeNegotiation.setStatus('mandatory')
ipivc_dna_account_class = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 10), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDnaAccountClass.setStatus('mandatory')
ipivc_dna_service_exchange = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 12), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDnaServiceExchange.setStatus('mandatory')
ipivc_dna_cug_format = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('basic', 0), ('extended', 1))).clone('basic')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaCugFormat.setStatus('mandatory')
ipivc_dna_cug0_as_non_cug_call = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disallowed', 0), ('allowed', 1))).clone('disallowed')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaCug0AsNonCugCall.setStatus('mandatory')
ipivc_dna_fast_select_calls_only = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 13, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1))).clone('no')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaFastSelectCallsOnly.setStatus('mandatory')
ipivc_dna_cug = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2))
ipivc_dna_cug_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 1))
if mibBuilder.loadTexts:
ipivcDnaCugRowStatusTable.setStatus('mandatory')
ipivc_dna_cug_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcDnaIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcDnaCugIndex'))
if mibBuilder.loadTexts:
ipivcDnaCugRowStatusEntry.setStatus('mandatory')
ipivc_dna_cug_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 1, 1, 1), row_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaCugRowStatus.setStatus('mandatory')
ipivc_dna_cug_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaCugComponentName.setStatus('mandatory')
ipivc_dna_cug_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaCugStorageType.setStatus('mandatory')
ipivc_dna_cug_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 1, 1, 10), non_replicated())
if mibBuilder.loadTexts:
ipivcDnaCugIndex.setStatus('mandatory')
ipivc_dna_cug_cug_options_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10))
if mibBuilder.loadTexts:
ipivcDnaCugCugOptionsTable.setStatus('mandatory')
ipivc_dna_cug_cug_options_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcDnaIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcDnaCugIndex'))
if mibBuilder.loadTexts:
ipivcDnaCugCugOptionsEntry.setStatus('mandatory')
ipivc_dna_cug_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('national', 0), ('international', 1))).clone('national')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDnaCugType.setStatus('mandatory')
ipivc_dna_cug_dnic = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10, 1, 2), digit_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4).clone(hexValue='30303030')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDnaCugDnic.setStatus('mandatory')
ipivc_dna_cug_interlock_code = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDnaCugInterlockCode.setStatus('mandatory')
ipivc_dna_cug_out_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disallowed', 0), ('allowed', 1))).clone('disallowed')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaCugOutCalls.setStatus('mandatory')
ipivc_dna_cug_inc_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disallowed', 0), ('allowed', 1))).clone('allowed')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDnaCugIncCalls.setStatus('mandatory')
ipivc_dna_cug_privileged = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 2, 2, 10, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1))).clone('yes')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDnaCugPrivileged.setStatus('mandatory')
ipivc_dr = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3))
ipivc_dr_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 1))
if mibBuilder.loadTexts:
ipivcDrRowStatusTable.setStatus('mandatory')
ipivc_dr_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcDrIndex'))
if mibBuilder.loadTexts:
ipivcDrRowStatusEntry.setStatus('mandatory')
ipivc_dr_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 1, 1, 1), row_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDrRowStatus.setStatus('mandatory')
ipivc_dr_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDrComponentName.setStatus('mandatory')
ipivc_dr_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 1, 1, 4), storage_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcDrStorageType.setStatus('mandatory')
ipivc_dr_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 1, 1, 10), non_replicated())
if mibBuilder.loadTexts:
ipivcDrIndex.setStatus('mandatory')
ipivc_dr_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 10))
if mibBuilder.loadTexts:
ipivcDrProvTable.setStatus('mandatory')
ipivc_dr_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcDrIndex'))
if mibBuilder.loadTexts:
ipivcDrProvEntry.setStatus('mandatory')
ipivc_dr_calling_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 10, 1, 1), ip_address().clone(hexValue='00000000')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDrCallingIpAddress.setStatus('mandatory')
ipivc_dr_calling_numbering_plan_indicator = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 10, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('x121', 0), ('e164', 1))).clone('x121')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDrCallingNumberingPlanIndicator.setStatus('mandatory')
ipivc_dr_calling_data_network_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 3, 10, 1, 3), digit_string().subtype(subtypeSpec=value_size_constraint(1, 15))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ipivcDrCallingDataNetworkAddress.setStatus('mandatory')
ipivc_lcn = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4))
ipivc_lcn_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 1))
if mibBuilder.loadTexts:
ipivcLcnRowStatusTable.setStatus('mandatory')
ipivc_lcn_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcLcnIndex'))
if mibBuilder.loadTexts:
ipivcLcnRowStatusEntry.setStatus('mandatory')
ipivc_lcn_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 1, 1, 1), row_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnRowStatus.setStatus('mandatory')
ipivc_lcn_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnComponentName.setStatus('mandatory')
ipivc_lcn_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 1, 1, 4), storage_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnStorageType.setStatus('mandatory')
ipivc_lcn_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(16, 39)))
if mibBuilder.loadTexts:
ipivcLcnIndex.setStatus('mandatory')
ipivc_lcn_state_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10))
if mibBuilder.loadTexts:
ipivcLcnStateTable.setStatus('mandatory')
ipivc_lcn_state_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcLcnIndex'))
if mibBuilder.loadTexts:
ipivcLcnStateEntry.setStatus('mandatory')
ipivc_lcn_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('locked', 0), ('unlocked', 1), ('shuttingDown', 2))).clone('unlocked')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnAdminState.setStatus('mandatory')
ipivc_lcn_operational_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnOperationalState.setStatus('mandatory')
ipivc_lcn_usage_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('idle', 0), ('active', 1), ('busy', 2))).clone('idle')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnUsageState.setStatus('mandatory')
ipivc_lcn_availability_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnAvailabilityStatus.setStatus('mandatory')
ipivc_lcn_procedural_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnProceduralStatus.setStatus('mandatory')
ipivc_lcn_control_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnControlStatus.setStatus('mandatory')
ipivc_lcn_alarm_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnAlarmStatus.setStatus('mandatory')
ipivc_lcn_standby_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 15))).clone(namedValues=named_values(('hotStandby', 0), ('coldStandby', 1), ('providingService', 2), ('notSet', 15))).clone('notSet')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnStandbyStatus.setStatus('mandatory')
ipivc_lcn_unknown_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 10, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1))).clone('false')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnUnknownStatus.setStatus('mandatory')
ipivc_lcn_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11))
if mibBuilder.loadTexts:
ipivcLcnOperTable.setStatus('mandatory')
ipivc_lcn_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcLcnIndex'))
if mibBuilder.loadTexts:
ipivcLcnOperEntry.setStatus('mandatory')
ipivc_lcn_ip_interface_device = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('inactive', 0), ('active', 1))).clone('inactive')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnIpInterfaceDevice.setStatus('mandatory')
ipivc_lcn_destination_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11, 1, 2), ip_address().clone(hexValue='00000000')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnDestinationIpAddress.setStatus('mandatory')
ipivc_lcn_packets_sent = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnPacketsSent.setStatus('mandatory')
ipivc_lcn_packets_received = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnPacketsReceived.setStatus('mandatory')
ipivc_lcn_discard_tx_packets = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnDiscardTxPackets.setStatus('mandatory')
ipivc_lcn_discard_rcv_packets = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 11, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnDiscardRcvPackets.setStatus('mandatory')
ipivc_lcn_vc = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2))
ipivc_lcn_vc_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 1))
if mibBuilder.loadTexts:
ipivcLcnVcRowStatusTable.setStatus('mandatory')
ipivc_lcn_vc_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcLcnIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcLcnVcIndex'))
if mibBuilder.loadTexts:
ipivcLcnVcRowStatusEntry.setStatus('mandatory')
ipivc_lcn_vc_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 1, 1, 1), row_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcRowStatus.setStatus('mandatory')
ipivc_lcn_vc_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcComponentName.setStatus('mandatory')
ipivc_lcn_vc_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcStorageType.setStatus('mandatory')
ipivc_lcn_vc_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 1, 1, 10), non_replicated())
if mibBuilder.loadTexts:
ipivcLcnVcIndex.setStatus('mandatory')
ipivc_lcn_vc_cad_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10))
if mibBuilder.loadTexts:
ipivcLcnVcCadTable.setStatus('mandatory')
ipivc_lcn_vc_cad_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcLcnIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcLcnVcIndex'))
if mibBuilder.loadTexts:
ipivcLcnVcCadEntry.setStatus('mandatory')
ipivc_lcn_vc_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('svc', 0), ('pvc', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcType.setStatus('mandatory')
ipivc_lcn_vc_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('creating', 0), ('readyP1', 1), ('dteWaitingP2', 2), ('dceWaitingP3', 3), ('dataTransferP4', 4), ('unsupportedP5', 5), ('dteClearRequestP6', 6), ('dceClearIndicationP7', 7), ('termination', 8)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcState.setStatus('mandatory')
ipivc_lcn_vc_previous_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('creating', 0), ('readyP1', 1), ('dteWaitingP2', 2), ('dceWaitingP3', 3), ('dataTransferP4', 4), ('unsupportedP5', 5), ('dteClearRequestP6', 6), ('dceClearIndicationP7', 7), ('termination', 8)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcPreviousState.setStatus('mandatory')
ipivc_lcn_vc_diagnostic_code = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcDiagnosticCode.setStatus('mandatory')
ipivc_lcn_vc_previous_diagnostic_code = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcPreviousDiagnosticCode.setStatus('mandatory')
ipivc_lcn_vc_called_npi = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('x121', 0), ('e164', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcCalledNpi.setStatus('mandatory')
ipivc_lcn_vc_called_dna = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 7), digit_string().subtype(subtypeSpec=value_size_constraint(1, 15))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcCalledDna.setStatus('mandatory')
ipivc_lcn_vc_called_lcn = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcCalledLcn.setStatus('mandatory')
ipivc_lcn_vc_calling_npi = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('x121', 0), ('e164', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcCallingNpi.setStatus('mandatory')
ipivc_lcn_vc_calling_dna = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 10), digit_string().subtype(subtypeSpec=value_size_constraint(1, 15))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcCallingDna.setStatus('mandatory')
ipivc_lcn_vc_calling_lcn = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 11), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcCallingLcn.setStatus('mandatory')
ipivc_lcn_vc_accounting_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('yes', 0), ('no', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcAccountingEnabled.setStatus('mandatory')
ipivc_lcn_vc_fast_select_call = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('no', 0), ('yes', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcFastSelectCall.setStatus('mandatory')
ipivc_lcn_vc_local_rx_pkt_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=named_values(('unknown', 0), ('n16', 4), ('n32', 5), ('n64', 6), ('n128', 7), ('n256', 8), ('n512', 9), ('n1024', 10), ('n2048', 11), ('n4096', 12)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcLocalRxPktSize.setStatus('mandatory')
ipivc_lcn_vc_local_tx_pkt_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=named_values(('unknown', 0), ('n16', 4), ('n32', 5), ('n64', 6), ('n128', 7), ('n256', 8), ('n512', 9), ('n1024', 10), ('n2048', 11), ('n4096', 12)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcLocalTxPktSize.setStatus('mandatory')
ipivc_lcn_vc_local_tx_window_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 16), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 127))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcLocalTxWindowSize.setStatus('mandatory')
ipivc_lcn_vc_local_rx_window_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 17), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 127))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcLocalRxWindowSize.setStatus('mandatory')
ipivc_lcn_vc_path_reliability = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('high', 0), ('normal', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcPathReliability.setStatus('mandatory')
ipivc_lcn_vc_accounting_end = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('callingEnd', 0), ('calledEnd', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcAccountingEnd.setStatus('mandatory')
ipivc_lcn_vc_priority = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('normal', 0), ('high', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcPriority.setStatus('mandatory')
ipivc_lcn_vc_segment_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 22), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4096))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcSegmentSize.setStatus('mandatory')
ipivc_lcn_vc_subnet_tx_pkt_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=named_values(('unknown', 0), ('n16', 4), ('n32', 5), ('n64', 6), ('n128', 7), ('n256', 8), ('n512', 9), ('n1024', 10), ('n2048', 11), ('n4096', 12)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcSubnetTxPktSize.setStatus('mandatory')
ipivc_lcn_vc_subnet_tx_window_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 24), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4096))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcSubnetTxWindowSize.setStatus('mandatory')
ipivc_lcn_vc_subnet_rx_pkt_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=named_values(('unknown', 0), ('n16', 4), ('n32', 5), ('n64', 6), ('n128', 7), ('n256', 8), ('n512', 9), ('n1024', 10), ('n2048', 11), ('n4096', 12)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcSubnetRxPktSize.setStatus('mandatory')
ipivc_lcn_vc_subnet_rx_window_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 26), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4096))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcSubnetRxWindowSize.setStatus('mandatory')
ipivc_lcn_vc_max_subnet_pkt_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 27), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4096))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcMaxSubnetPktSize.setStatus('mandatory')
ipivc_lcn_vc_transfer_priority_to_network = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 9))).clone(namedValues=named_values(('normal', 0), ('high', 9)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcTransferPriorityToNetwork.setStatus('mandatory')
ipivc_lcn_vc_transfer_priority_from_network = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 10, 1, 29), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 9))).clone(namedValues=named_values(('normal', 0), ('high', 9)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcTransferPriorityFromNetwork.setStatus('mandatory')
ipivc_lcn_vc_intd_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 11))
if mibBuilder.loadTexts:
ipivcLcnVcIntdTable.setStatus('mandatory')
ipivc_lcn_vc_intd_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcLcnIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcLcnVcIndex'))
if mibBuilder.loadTexts:
ipivcLcnVcIntdEntry.setStatus('mandatory')
ipivc_lcn_vc_call_reference_number = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 11, 1, 1), hex().subtype(subtypeSpec=value_range_constraint(0, 16777215))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcCallReferenceNumber.setStatus('mandatory')
ipivc_lcn_vc_elapsed_time_till_now = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 11, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 16777215))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcElapsedTimeTillNow.setStatus('mandatory')
ipivc_lcn_vc_segments_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 11, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 16777215))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcSegmentsRx.setStatus('mandatory')
ipivc_lcn_vc_segments_sent = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 11, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 16777215))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcSegmentsSent.setStatus('mandatory')
ipivc_lcn_vc_start_time = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 11, 1, 5), enterprise_date_and_time().subtype(subtypeSpec=constraints_union(value_size_constraint(0, 0), value_size_constraint(19, 19)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcStartTime.setStatus('mandatory')
ipivc_lcn_vc_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12))
if mibBuilder.loadTexts:
ipivcLcnVcStatsTable.setStatus('mandatory')
ipivc_lcn_vc_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcLcnIndex'), (0, 'Nortel-Magellan-Passport-IpiVcMIB', 'ipivcLcnVcIndex'))
if mibBuilder.loadTexts:
ipivcLcnVcStatsEntry.setStatus('mandatory')
ipivc_lcn_vc_ack_stacking_timeouts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcAckStackingTimeouts.setStatus('mandatory')
ipivc_lcn_vc_out_of_range_frm_from_subnet = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcOutOfRangeFrmFromSubnet.setStatus('mandatory')
ipivc_lcn_vc_duplicates_from_subnet = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcDuplicatesFromSubnet.setStatus('mandatory')
ipivc_lcn_vc_frm_retry_timeouts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcFrmRetryTimeouts.setStatus('mandatory')
ipivc_lcn_vc_peak_retry_queue_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcPeakRetryQueueSize.setStatus('mandatory')
ipivc_lcn_vc_peak_oo_seq_queue_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcPeakOoSeqQueueSize.setStatus('mandatory')
ipivc_lcn_vc_peak_oo_seq_frm_forwarded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcPeakOoSeqFrmForwarded.setStatus('mandatory')
ipivc_lcn_vc_peak_stacked_acks_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcPeakStackedAcksRx.setStatus('mandatory')
ipivc_lcn_vc_subnet_recoveries = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 9), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcSubnetRecoveries.setStatus('mandatory')
ipivc_lcn_vc_window_closures_to_subnet = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 10), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcWindowClosuresToSubnet.setStatus('mandatory')
ipivc_lcn_vc_window_closures_from_subnet = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 11), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcWindowClosuresFromSubnet.setStatus('mandatory')
ipivc_lcn_vc_wr_triggers = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 51, 4, 2, 12, 1, 12), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipivcLcnVcWrTriggers.setStatus('mandatory')
ipi_vc_group = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 1))
ipi_vc_group_be = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 1, 5))
ipi_vc_group_be01 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 1, 5, 2))
ipi_vc_group_be01_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 1, 5, 2, 2))
ipi_vc_capabilities = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 3))
ipi_vc_capabilities_be = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 3, 5))
ipi_vc_capabilities_be01 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 3, 5, 2))
ipi_vc_capabilities_be01_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 53, 3, 5, 2, 2))
mibBuilder.exportSymbols('Nortel-Magellan-Passport-IpiVcMIB', ipivcDnaIncAccess=ipivcDnaIncAccess, ipivcLcnOperationalState=ipivcLcnOperationalState, ipivcLcnVcSegmentsSent=ipivcLcnVcSegmentsSent, ipivcDnaIncChargeTransfer=ipivcDnaIncChargeTransfer, ipivcLcnVcSegmentSize=ipivcLcnVcSegmentSize, ipivcLcnPacketsReceived=ipivcLcnPacketsReceived, ipivcDnaDefaultRecvFrmNetworkPacketSize=ipivcDnaDefaultRecvFrmNetworkPacketSize, ipivcProvEntry=ipivcProvEntry, ipivcDnaNumberingPlanIndicator=ipivcDnaNumberingPlanIndicator, ipivcLcnVcIntdTable=ipivcLcnVcIntdTable, ipivcDnaIndex=ipivcDnaIndex, ipivcLcnDiscardRcvPackets=ipivcLcnDiscardRcvPackets, ipivcLcnVcTransferPriorityFromNetwork=ipivcLcnVcTransferPriorityFromNetwork, ipivcLcnVcElapsedTimeTillNow=ipivcLcnVcElapsedTimeTillNow, ipiVcMIB=ipiVcMIB, ipivcLcnRowStatusEntry=ipivcLcnRowStatusEntry, ipivcDnaOutDefaultPathSensitivity=ipivcDnaOutDefaultPathSensitivity, ipivcDnaIncCalls=ipivcDnaIncCalls, ipivcDnaPacketSizeNegotiation=ipivcDnaPacketSizeNegotiation, ipivcLcnVcCallingNpi=ipivcLcnVcCallingNpi, ipivcDnaServiceCategory=ipivcDnaServiceCategory, ipivcDnaRowStatusTable=ipivcDnaRowStatusTable, ipivcLcnStateEntry=ipivcLcnStateEntry, ipivcLcnVcOutOfRangeFrmFromSubnet=ipivcLcnVcOutOfRangeFrmFromSubnet, ipivcDnaCugPrivileged=ipivcDnaCugPrivileged, ipivcDnaServiceExchange=ipivcDnaServiceExchange, ipivcDnaTransferPriorityOverRide=ipivcDnaTransferPriorityOverRide, ipivcDnaCugInterlockCode=ipivcDnaCugInterlockCode, ipivcDnaRowStatus=ipivcDnaRowStatus, ipivcLcnVcComponentName=ipivcLcnVcComponentName, ipivcDnaCugOutCalls=ipivcDnaCugOutCalls, ipivcDnaCugIncCalls=ipivcDnaCugIncCalls, ipivcDnaCugCugOptionsTable=ipivcDnaCugCugOptionsTable, ipivcLcnVcCallingDna=ipivcLcnVcCallingDna, ipivcDnaCug=ipivcDnaCug, ipivcDrStorageType=ipivcDrStorageType, ipivcLcnVcPeakRetryQueueSize=ipivcLcnVcPeakRetryQueueSize, ipivcLcnVcAckStackingTimeouts=ipivcLcnVcAckStackingTimeouts, ipivcLcnVcType=ipivcLcnVcType, ipivcDnaCallOptionsTable=ipivcDnaCallOptionsTable, ipivcLcnVcDuplicatesFromSubnet=ipivcLcnVcDuplicatesFromSubnet, ipivcLcnVcSubnetRecoveries=ipivcLcnVcSubnetRecoveries, ipiVcGroup=ipiVcGroup, ipivcLcnOperEntry=ipivcLcnOperEntry, ipivcLcnVcSubnetTxWindowSize=ipivcLcnVcSubnetTxWindowSize, ipivcDnaOutgoingOptionsTable=ipivcDnaOutgoingOptionsTable, ipivcDrCallingIpAddress=ipivcDrCallingIpAddress, ipivcLcnVcLocalRxPktSize=ipivcLcnVcLocalRxPktSize, ipivcProvTable=ipivcProvTable, ipiVcGroupBE=ipiVcGroupBE, ipivcDrProvEntry=ipivcDrProvEntry, ipivcDnaDefaultSendToNetworkWindowSize=ipivcDnaDefaultSendToNetworkWindowSize, ipivcLcnVcIntdEntry=ipivcLcnVcIntdEntry, ipivcLcnVcDiagnosticCode=ipivcLcnVcDiagnosticCode, ipivcLcnVcPreviousState=ipivcLcnVcPreviousState, ipivcDnaCugFormat=ipivcDnaCugFormat, ipivcLcnIpInterfaceDevice=ipivcLcnIpInterfaceDevice, ipivcRowStatus=ipivcRowStatus, ipivcDrRowStatusTable=ipivcDrRowStatusTable, ipivcLcnStateTable=ipivcLcnStateTable, ipivcDnaDefaultTransferPriority=ipivcDnaDefaultTransferPriority, ipivcLcnDestinationIpAddress=ipivcLcnDestinationIpAddress, ipivcLcnVcState=ipivcLcnVcState, ipivcDnaStorageType=ipivcDnaStorageType, ipiVcCapabilitiesBE01A=ipiVcCapabilitiesBE01A, ipivcLcnRowStatusTable=ipivcLcnRowStatusTable, ipivcLcnVcCadEntry=ipivcLcnVcCadEntry, ipivcLcnComponentName=ipivcLcnComponentName, ipivcDrCallingNumberingPlanIndicator=ipivcDrCallingNumberingPlanIndicator, ipivcLcnAdminState=ipivcLcnAdminState, ipivcLcnVcPreviousDiagnosticCode=ipivcLcnVcPreviousDiagnosticCode, ipivcLcnVcCalledLcn=ipivcLcnVcCalledLcn, ipiVcCapabilitiesBE=ipiVcCapabilitiesBE, ipivcDnaCugRowStatusEntry=ipivcDnaCugRowStatusEntry, ipivcDrIndex=ipivcDrIndex, ipivcDnaDefaultSendToNetworkPacketSize=ipivcDnaDefaultSendToNetworkPacketSize, ipivcDnaCugComponentName=ipivcDnaCugComponentName, ipivcLcnVcAccountingEnabled=ipivcLcnVcAccountingEnabled, ipiVcGroupBE01A=ipiVcGroupBE01A, ipivcDnaAccountClass=ipivcDnaAccountClass, ipivcDnaCugRowStatus=ipivcDnaCugRowStatus, ipivcDnaDataNetworkAddress=ipivcDnaDataNetworkAddress, ipivcLcnPacketsSent=ipivcLcnPacketsSent, ipivcLcnVc=ipivcLcnVc, ipivcDnaIncFastSelect=ipivcDnaIncFastSelect, ipivcLcnVcStatsEntry=ipivcLcnVcStatsEntry, ipivcLcnVcStartTime=ipivcLcnVcStartTime, ipivcLcnVcLocalTxWindowSize=ipivcLcnVcLocalTxWindowSize, ipivcLcnVcIndex=ipivcLcnVcIndex, ipivcDnaIncSameService=ipivcDnaIncSameService, ipivcDr=ipivcDr, ipivcLcnVcPeakOoSeqFrmForwarded=ipivcLcnVcPeakOoSeqFrmForwarded, ipivcLcnVcCalledDna=ipivcLcnVcCalledDna, ipivcRowStatusEntry=ipivcRowStatusEntry, ipivcDnaCugRowStatusTable=ipivcDnaCugRowStatusTable, ipivcDnaAddressEntry=ipivcDnaAddressEntry, ipivcDnaCug0AsNonCugCall=ipivcDnaCug0AsNonCugCall, ipivcDrComponentName=ipivcDrComponentName, ipivcLcnVcRowStatus=ipivcLcnVcRowStatus, ipivcDnaDefaultRecvFrmNetworkWindowSize=ipivcDnaDefaultRecvFrmNetworkWindowSize, ipivcRowStatusTable=ipivcRowStatusTable, ipivcLcnVcAccountingEnd=ipivcLcnVcAccountingEnd, ipivcDnaRowStatusEntry=ipivcDnaRowStatusEntry, ipivcDnaIncomingOptionsEntry=ipivcDnaIncomingOptionsEntry, ipivcStorageType=ipivcStorageType, ipivcLcnVcWrTriggers=ipivcLcnVcWrTriggers, ipivcDnaCallOptionsEntry=ipivcDnaCallOptionsEntry, ipivcLcnVcLocalTxPktSize=ipivcLcnVcLocalTxPktSize, ipivcLcnVcTransferPriorityToNetwork=ipivcLcnVcTransferPriorityToNetwork, ipivcLcnControlStatus=ipivcLcnControlStatus, ipivcLcnUnknownStatus=ipivcLcnUnknownStatus, ipivcDnaOutgoingOptionsEntry=ipivcDnaOutgoingOptionsEntry, ipivcLcnVcSubnetTxPktSize=ipivcLcnVcSubnetTxPktSize, ipiVcCapabilitiesBE01=ipiVcCapabilitiesBE01, ipivcLcnVcLocalRxWindowSize=ipivcLcnVcLocalRxWindowSize, ipivcDnaIncIntlReverseCharge=ipivcDnaIncIntlReverseCharge, ipivcDnaCugDnic=ipivcDnaCugDnic, ipivcComponentName=ipivcComponentName, ipivcDnaCugCugOptionsEntry=ipivcDnaCugCugOptionsEntry, ipivcLcnVcSubnetRxWindowSize=ipivcLcnVcSubnetRxWindowSize, ipivcLcnVcFastSelectCall=ipivcLcnVcFastSelectCall, ipivcLcnUsageState=ipivcLcnUsageState, ipivcDnaCugType=ipivcDnaCugType, ipivcDnaDefaultRecvFrmNetworkThruputClass=ipivcDnaDefaultRecvFrmNetworkThruputClass, ipivcLcnIndex=ipivcLcnIndex, ipivcLcnVcCallingLcn=ipivcLcnVcCallingLcn, ipivcLcnVcFrmRetryTimeouts=ipivcLcnVcFrmRetryTimeouts, ipivcDnaIncHighPriorityReverseCharge=ipivcDnaIncHighPriorityReverseCharge, ipiVcGroupBE01=ipiVcGroupBE01, ipivcLcnVcCadTable=ipivcLcnVcCadTable, ipivcLcnVcCallReferenceNumber=ipivcLcnVcCallReferenceNumber, ipivcDnaIncNormalPriorityReverseCharge=ipivcDnaIncNormalPriorityReverseCharge, ipivcLcnVcPeakStackedAcksRx=ipivcLcnVcPeakStackedAcksRx, ipivcLcnVcWindowClosuresToSubnet=ipivcLcnVcWindowClosuresToSubnet, ipivcLcnDiscardTxPackets=ipivcLcnDiscardTxPackets, ipivcLcnVcSegmentsRx=ipivcLcnVcSegmentsRx, ipivcLcnVcPriority=ipivcLcnVcPriority, ipivcDnaCugStorageType=ipivcDnaCugStorageType, ipivcLcnVcStorageType=ipivcLcnVcStorageType, ipivcLcnOperTable=ipivcLcnOperTable, ipivcMaximumNumberOfLcn=ipivcMaximumNumberOfLcn, ipivcDna=ipivcDna, ipivcLcnAlarmStatus=ipivcLcnAlarmStatus, ipivcLcnVcWindowClosuresFromSubnet=ipivcLcnVcWindowClosuresFromSubnet, ipivcLcnProceduralStatus=ipivcLcnProceduralStatus, ipivcDnaIncomingOptionsTable=ipivcDnaIncomingOptionsTable, ipivcLcnVcMaxSubnetPktSize=ipivcLcnVcMaxSubnetPktSize, ipivcDnaOutPathSensitivityOverRide=ipivcDnaOutPathSensitivityOverRide, ipivcLcnAvailabilityStatus=ipivcLcnAvailabilityStatus, ipivcLcnVcCalledNpi=ipivcLcnVcCalledNpi, ipiVcCapabilities=ipiVcCapabilities, ipivcDnaPacketSizes=ipivcDnaPacketSizes, ipivcDrCallingDataNetworkAddress=ipivcDrCallingDataNetworkAddress, ipivcDnaComponentName=ipivcDnaComponentName, ipivcDrProvTable=ipivcDrProvTable, ipivcDrRowStatusEntry=ipivcDrRowStatusEntry, ipivcDnaDefaultSendToNetworkThruputClass=ipivcDnaDefaultSendToNetworkThruputClass, ipivcDnaAddressTable=ipivcDnaAddressTable, ipivcLcnStandbyStatus=ipivcLcnStandbyStatus, ipivcLcnVcRowStatusEntry=ipivcLcnVcRowStatusEntry, ipivcDnaFastSelectCallsOnly=ipivcDnaFastSelectCallsOnly, ipivcDrRowStatus=ipivcDrRowStatus, ipivcIndex=ipivcIndex, ipivc=ipivc, ipivcLcnVcPeakOoSeqQueueSize=ipivcLcnVcPeakOoSeqQueueSize, ipivcLcnRowStatus=ipivcLcnRowStatus, ipivcLcnVcSubnetRxPktSize=ipivcLcnVcSubnetRxPktSize, ipivcLcnVcStatsTable=ipivcLcnVcStatsTable, ipivcLcn=ipivcLcn, ipivcIpAddress=ipivcIpAddress, ipivcDnaIncIntlNormalCharge=ipivcDnaIncIntlNormalCharge, ipivcLcnVcRowStatusTable=ipivcLcnVcRowStatusTable, ipivcDnaOutCalls=ipivcDnaOutCalls, ipivcDnaCugIndex=ipivcDnaCugIndex, ipivcLcnVcPathReliability=ipivcLcnVcPathReliability, ipivcLcnStorageType=ipivcLcnStorageType) |
#
# PySNMP MIB module CISCO-SWITCH-USAGE-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-SWITCH-USAGE-MIB
# Produced by pysmi-0.3.4 at Wed May 1 12:13:45 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ValueRangeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint")
ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup")
Bits, ModuleIdentity, iso, Counter32, NotificationType, Integer32, Gauge32, ObjectIdentity, Counter64, Unsigned32, IpAddress, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "ModuleIdentity", "iso", "Counter32", "NotificationType", "Integer32", "Gauge32", "ObjectIdentity", "Counter64", "Unsigned32", "IpAddress", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
ciscoSwitchUsageMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 201))
ciscoSwitchUsageMIB.setRevisions(('2001-05-02 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: ciscoSwitchUsageMIB.setRevisionsDescriptions(('Initial version of this MIB module.',))
if mibBuilder.loadTexts: ciscoSwitchUsageMIB.setLastUpdated('200105020000Z')
if mibBuilder.loadTexts: ciscoSwitchUsageMIB.setOrganization('Cisco Systems, Inc.')
if mibBuilder.loadTexts: ciscoSwitchUsageMIB.setContactInfo(' Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS E-mail: cs-switch-usage-mib@cisco.com')
if mibBuilder.loadTexts: ciscoSwitchUsageMIB.setDescription('This MIB defines objects related to statistics for the usage of switch fabric. The switch fabric is used by the incoming packets from the line/network to a interface. Such packets are called ingress packets. Counters are maintained for number of ingress packets/ octets switched by the switch fabric for each interface. NOTE: These counters are not counting the total number of incoming packets and octets for a particular interface. Instead only the counts of packets and octets that actually use the switch-fabric are being accounted for by this MIB. Therefore, the counters in this MIB are distinctly different from packet and octet counters found in the IF-MIB.')
ciscoSwitchUsageMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 201, 1))
ciscoSwitchUsageStats = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 201, 1, 1))
cswitchUsageStatTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 201, 1, 1, 1), )
if mibBuilder.loadTexts: cswitchUsageStatTable.setStatus('current')
if mibBuilder.loadTexts: cswitchUsageStatTable.setDescription('A list of switch resouce usage statistics entries. The statistics will give information on the switch usage by each interface.')
cswitchUsageStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 201, 1, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: cswitchUsageStatEntry.setStatus('current')
if mibBuilder.loadTexts: cswitchUsageStatEntry.setDescription('Entry contains information of a particular interface in terms of how much switch resource it has used. An entry in this table exists for each ifEntry with an ifType of fastEther(62) for FastEthernet interface and gigabitEthernet (117) for Gigabit interface.')
cswitchUsageByIngrsIntfPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 201, 1, 1, 1, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cswitchUsageByIngrsIntfPkts.setStatus('current')
if mibBuilder.loadTexts: cswitchUsageByIngrsIntfPkts.setDescription('The number of ingress packets of a interface which use the switch resource.')
cswitchUsageByIngrsIntfHCPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 201, 1, 1, 1, 1, 2), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cswitchUsageByIngrsIntfHCPkts.setStatus('current')
if mibBuilder.loadTexts: cswitchUsageByIngrsIntfHCPkts.setDescription('The number of ingress packets of a interface which use the switch resource. This is a 64 bit (High Capacity) version of the cswitchUsageByIngrsIntfPkts counter for use with SNMP v2c or v3 Managers.')
cswitchUsageByIngrsIntfOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 201, 1, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cswitchUsageByIngrsIntfOctets.setStatus('current')
if mibBuilder.loadTexts: cswitchUsageByIngrsIntfOctets.setDescription('The number of ingress octets of a interface which use the switch resource.')
cswitchUsageByIngrsIntfHCOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 201, 1, 1, 1, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cswitchUsageByIngrsIntfHCOctets.setStatus('current')
if mibBuilder.loadTexts: cswitchUsageByIngrsIntfHCOctets.setDescription('The number of ingress octets of a interface which use the switch resource. This is a 64 bit (High Capacity) version of the cswitchUsageByIngrsIntfOctets counter for use with SNMP v2c or v3 Managers.')
ciscoSwitchUsageMIBNotifyPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 201, 2))
ciscoSwitchUsageMIBNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 201, 2, 0))
ciscoSwitchUsageMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 201, 3))
ciscoSwitchUsageMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 201, 3, 1))
ciscoSwitchUsageMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 201, 3, 2))
ciscoSwitchUsageMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 201, 3, 1, 1)).setObjects(("CISCO-SWITCH-USAGE-MIB", "ciscoSwitchUsageMIBGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoSwitchUsageMIBCompliance = ciscoSwitchUsageMIBCompliance.setStatus('current')
if mibBuilder.loadTexts: ciscoSwitchUsageMIBCompliance.setDescription('The compliance statement for the switch usage statistics group.')
ciscoSwitchUsageMIBGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 201, 3, 2, 1)).setObjects(("CISCO-SWITCH-USAGE-MIB", "cswitchUsageByIngrsIntfPkts"), ("CISCO-SWITCH-USAGE-MIB", "cswitchUsageByIngrsIntfHCPkts"), ("CISCO-SWITCH-USAGE-MIB", "cswitchUsageByIngrsIntfOctets"), ("CISCO-SWITCH-USAGE-MIB", "cswitchUsageByIngrsIntfHCOctets"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoSwitchUsageMIBGroup = ciscoSwitchUsageMIBGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoSwitchUsageMIBGroup.setDescription('The Object Group for switch usage statistics')
mibBuilder.exportSymbols("CISCO-SWITCH-USAGE-MIB", PYSNMP_MODULE_ID=ciscoSwitchUsageMIB, cswitchUsageByIngrsIntfHCPkts=cswitchUsageByIngrsIntfHCPkts, ciscoSwitchUsageMIBNotifyPrefix=ciscoSwitchUsageMIBNotifyPrefix, ciscoSwitchUsageMIBGroup=ciscoSwitchUsageMIBGroup, cswitchUsageByIngrsIntfHCOctets=cswitchUsageByIngrsIntfHCOctets, cswitchUsageByIngrsIntfPkts=cswitchUsageByIngrsIntfPkts, ciscoSwitchUsageMIBConformance=ciscoSwitchUsageMIBConformance, ciscoSwitchUsageMIB=ciscoSwitchUsageMIB, ciscoSwitchUsageMIBCompliances=ciscoSwitchUsageMIBCompliances, ciscoSwitchUsageMIBCompliance=ciscoSwitchUsageMIBCompliance, cswitchUsageByIngrsIntfOctets=cswitchUsageByIngrsIntfOctets, ciscoSwitchUsageMIBObjects=ciscoSwitchUsageMIBObjects, ciscoSwitchUsageStats=ciscoSwitchUsageStats, ciscoSwitchUsageMIBGroups=ciscoSwitchUsageMIBGroups, cswitchUsageStatTable=cswitchUsageStatTable, ciscoSwitchUsageMIBNotifications=ciscoSwitchUsageMIBNotifications, cswitchUsageStatEntry=cswitchUsageStatEntry)
| (object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_union, value_range_constraint, single_value_constraint, constraints_intersection, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint')
(cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt')
(if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex')
(module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup')
(bits, module_identity, iso, counter32, notification_type, integer32, gauge32, object_identity, counter64, unsigned32, ip_address, mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'ModuleIdentity', 'iso', 'Counter32', 'NotificationType', 'Integer32', 'Gauge32', 'ObjectIdentity', 'Counter64', 'Unsigned32', 'IpAddress', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
cisco_switch_usage_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 201))
ciscoSwitchUsageMIB.setRevisions(('2001-05-02 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
ciscoSwitchUsageMIB.setRevisionsDescriptions(('Initial version of this MIB module.',))
if mibBuilder.loadTexts:
ciscoSwitchUsageMIB.setLastUpdated('200105020000Z')
if mibBuilder.loadTexts:
ciscoSwitchUsageMIB.setOrganization('Cisco Systems, Inc.')
if mibBuilder.loadTexts:
ciscoSwitchUsageMIB.setContactInfo(' Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS E-mail: cs-switch-usage-mib@cisco.com')
if mibBuilder.loadTexts:
ciscoSwitchUsageMIB.setDescription('This MIB defines objects related to statistics for the usage of switch fabric. The switch fabric is used by the incoming packets from the line/network to a interface. Such packets are called ingress packets. Counters are maintained for number of ingress packets/ octets switched by the switch fabric for each interface. NOTE: These counters are not counting the total number of incoming packets and octets for a particular interface. Instead only the counts of packets and octets that actually use the switch-fabric are being accounted for by this MIB. Therefore, the counters in this MIB are distinctly different from packet and octet counters found in the IF-MIB.')
cisco_switch_usage_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 201, 1))
cisco_switch_usage_stats = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 201, 1, 1))
cswitch_usage_stat_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 201, 1, 1, 1))
if mibBuilder.loadTexts:
cswitchUsageStatTable.setStatus('current')
if mibBuilder.loadTexts:
cswitchUsageStatTable.setDescription('A list of switch resouce usage statistics entries. The statistics will give information on the switch usage by each interface.')
cswitch_usage_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 201, 1, 1, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
cswitchUsageStatEntry.setStatus('current')
if mibBuilder.loadTexts:
cswitchUsageStatEntry.setDescription('Entry contains information of a particular interface in terms of how much switch resource it has used. An entry in this table exists for each ifEntry with an ifType of fastEther(62) for FastEthernet interface and gigabitEthernet (117) for Gigabit interface.')
cswitch_usage_by_ingrs_intf_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 201, 1, 1, 1, 1, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cswitchUsageByIngrsIntfPkts.setStatus('current')
if mibBuilder.loadTexts:
cswitchUsageByIngrsIntfPkts.setDescription('The number of ingress packets of a interface which use the switch resource.')
cswitch_usage_by_ingrs_intf_hc_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 201, 1, 1, 1, 1, 2), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cswitchUsageByIngrsIntfHCPkts.setStatus('current')
if mibBuilder.loadTexts:
cswitchUsageByIngrsIntfHCPkts.setDescription('The number of ingress packets of a interface which use the switch resource. This is a 64 bit (High Capacity) version of the cswitchUsageByIngrsIntfPkts counter for use with SNMP v2c or v3 Managers.')
cswitch_usage_by_ingrs_intf_octets = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 201, 1, 1, 1, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cswitchUsageByIngrsIntfOctets.setStatus('current')
if mibBuilder.loadTexts:
cswitchUsageByIngrsIntfOctets.setDescription('The number of ingress octets of a interface which use the switch resource.')
cswitch_usage_by_ingrs_intf_hc_octets = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 201, 1, 1, 1, 1, 4), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cswitchUsageByIngrsIntfHCOctets.setStatus('current')
if mibBuilder.loadTexts:
cswitchUsageByIngrsIntfHCOctets.setDescription('The number of ingress octets of a interface which use the switch resource. This is a 64 bit (High Capacity) version of the cswitchUsageByIngrsIntfOctets counter for use with SNMP v2c or v3 Managers.')
cisco_switch_usage_mib_notify_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 201, 2))
cisco_switch_usage_mib_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 201, 2, 0))
cisco_switch_usage_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 201, 3))
cisco_switch_usage_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 201, 3, 1))
cisco_switch_usage_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 201, 3, 2))
cisco_switch_usage_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 201, 3, 1, 1)).setObjects(('CISCO-SWITCH-USAGE-MIB', 'ciscoSwitchUsageMIBGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_switch_usage_mib_compliance = ciscoSwitchUsageMIBCompliance.setStatus('current')
if mibBuilder.loadTexts:
ciscoSwitchUsageMIBCompliance.setDescription('The compliance statement for the switch usage statistics group.')
cisco_switch_usage_mib_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 201, 3, 2, 1)).setObjects(('CISCO-SWITCH-USAGE-MIB', 'cswitchUsageByIngrsIntfPkts'), ('CISCO-SWITCH-USAGE-MIB', 'cswitchUsageByIngrsIntfHCPkts'), ('CISCO-SWITCH-USAGE-MIB', 'cswitchUsageByIngrsIntfOctets'), ('CISCO-SWITCH-USAGE-MIB', 'cswitchUsageByIngrsIntfHCOctets'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_switch_usage_mib_group = ciscoSwitchUsageMIBGroup.setStatus('current')
if mibBuilder.loadTexts:
ciscoSwitchUsageMIBGroup.setDescription('The Object Group for switch usage statistics')
mibBuilder.exportSymbols('CISCO-SWITCH-USAGE-MIB', PYSNMP_MODULE_ID=ciscoSwitchUsageMIB, cswitchUsageByIngrsIntfHCPkts=cswitchUsageByIngrsIntfHCPkts, ciscoSwitchUsageMIBNotifyPrefix=ciscoSwitchUsageMIBNotifyPrefix, ciscoSwitchUsageMIBGroup=ciscoSwitchUsageMIBGroup, cswitchUsageByIngrsIntfHCOctets=cswitchUsageByIngrsIntfHCOctets, cswitchUsageByIngrsIntfPkts=cswitchUsageByIngrsIntfPkts, ciscoSwitchUsageMIBConformance=ciscoSwitchUsageMIBConformance, ciscoSwitchUsageMIB=ciscoSwitchUsageMIB, ciscoSwitchUsageMIBCompliances=ciscoSwitchUsageMIBCompliances, ciscoSwitchUsageMIBCompliance=ciscoSwitchUsageMIBCompliance, cswitchUsageByIngrsIntfOctets=cswitchUsageByIngrsIntfOctets, ciscoSwitchUsageMIBObjects=ciscoSwitchUsageMIBObjects, ciscoSwitchUsageStats=ciscoSwitchUsageStats, ciscoSwitchUsageMIBGroups=ciscoSwitchUsageMIBGroups, cswitchUsageStatTable=cswitchUsageStatTable, ciscoSwitchUsageMIBNotifications=ciscoSwitchUsageMIBNotifications, cswitchUsageStatEntry=cswitchUsageStatEntry) |
n = input()
j = [int(x) for x in list(str(n))]
count = 0
for i in range(3):
if j[i] == 1:
count = count + 1
print(count) | n = input()
j = [int(x) for x in list(str(n))]
count = 0
for i in range(3):
if j[i] == 1:
count = count + 1
print(count) |
(some_really_long_variable_name_you_should_never_use_1,
some_really_long_variable_name_you_should_never_use_2,
some_really_long_variable_name_you_should_never_use_3) = (1, 2, 3)
print(some_really_long_variable_name_you_should_never_use_1,
some_really_long_variable_name_you_should_never_use_2,
some_really_long_variable_name_you_should_never_use_3)
| (some_really_long_variable_name_you_should_never_use_1, some_really_long_variable_name_you_should_never_use_2, some_really_long_variable_name_you_should_never_use_3) = (1, 2, 3)
print(some_really_long_variable_name_you_should_never_use_1, some_really_long_variable_name_you_should_never_use_2, some_really_long_variable_name_you_should_never_use_3) |
non_agent_args = {
'env': {'help': 'gym environment id', 'required': True},
'n-envs': {
'help': 'Number of environments to create',
'default': 1,
'type': int,
'hp_type': 'categorical',
},
'preprocess': {
'help': 'If specified, states will be treated as atari frames\n'
'and preprocessed accordingly',
'action': 'store_true',
},
'lr': {
'help': 'Learning rate passed to a tensorflow.keras.optimizers.Optimizer',
'type': float,
'default': 7e-4,
'hp_type': 'log_uniform',
},
'opt-epsilon': {
'help': 'Epsilon passed to a tensorflow.keras.optimizers.Optimizer',
'type': float,
'default': 1e-7,
'hp_type': 'log_uniform',
},
'beta1': {
'help': 'Beta1 passed to a tensorflow.keras.optimizers.Optimizer',
'type': float,
'default': 0.9,
'hp_type': 'log_uniform',
},
'beta2': {
'help': 'Beta2 passed to a tensorflow.keras.optimizers.Optimizer',
'type': float,
'default': 0.999,
'hp_type': 'log_uniform',
},
'weights': {
'help': 'Path(s) to model(s) weight(s) to be loaded by agent output_models',
'nargs': '+',
},
'max-frame': {
'help': 'If specified, max & skip will be applied during preprocessing',
'action': 'store_true',
'hp_type': 'categorical',
},
}
off_policy_args = {
'buffer-max-size': {
'help': 'Maximum replay buffer size',
'type': int,
'default': 10000,
'hp_type': 'int',
},
'buffer-initial-size': {
'help': 'Replay buffer initial size',
'type': int,
'hp_type': 'int',
},
'buffer-batch-size': {
'help': 'Replay buffer batch size',
'type': int,
'default': 32,
'hp_type': 'categorical',
},
}
agent_args = {
'reward-buffer-size': {
'help': 'Size of the total reward buffer, used for calculating\n'
'mean reward value to be displayed.',
'default': 100,
'type': int,
},
'gamma': {
'help': 'Discount factor',
'default': 0.99,
'type': float,
'hp_type': 'log_uniform',
},
'display-precision': {
'help': 'Number of decimals to be displayed',
'default': 2,
'type': int,
},
'seed': {'help': 'Random seed', 'type': int},
'log-frequency': {'help': 'Log progress every n games', 'type': int},
'checkpoints': {
'help': 'Path(s) to new model(s) to which checkpoint(s) will be saved during training',
'nargs': '+',
},
'history-checkpoint': {'help': 'Path to .parquet file to save training history'},
'plateau-reduce-factor': {
'help': 'Factor multiplied by current learning rate ' 'when there is a plateau',
'type': float,
'default': 0.9,
},
'plateau-reduce-patience': {
'help': 'Minimum non-improvements to reduce lr',
'type': int,
'default': 10,
},
'early-stop-patience': {
'help': 'Minimum plateau reduces to stop training',
'type': int,
'default': 3,
},
'divergence-monitoring-steps': {
'help': 'Steps after which, plateau and early stopping are active',
'type': int,
},
'quiet': {
'help': 'If specified, no messages by the agent will be displayed'
'\nto the console',
'action': 'store_true',
},
}
train_args = {
'target-reward': {
'help': 'Target reward when reached, training is stopped',
'type': int,
},
'max-steps': {
'help': 'Maximum number of environment steps, when reached, training is stopped',
'type': int,
},
'monitor-session': {'help': 'Wandb session name'},
}
play_args = {
'render': {
'help': 'If specified, the gameplay will be rendered',
'action': 'store_true',
},
'frame-dir': {'help': 'Path to directory to save game frames'},
'frame-delay': {
'help': 'Delay between rendered frames',
'type': float,
'default': 0,
},
'action-idx': {
'help': 'Index of action output by agent.model',
'type': int,
'default': 0,
},
'frame-frequency': {
'help': 'If --frame-dir is specified, save frames every n frames.',
'type': int,
'default': 1,
},
}
tune_args = {
'trial-steps': {
'help': 'Maximum steps for a trial',
'type': int,
'default': 500000,
},
'n-trials': {'help': 'Number of trials to run', 'type': int, 'default': 1},
'study': {'help': 'Name of optuna study'},
'storage': {'help': 'Database url'},
'n-jobs': {'help': 'Parallel trials', 'type': int, 'default': 1},
'warmup-trials': {
'help': 'warmup trials before pruning starts',
'type': int,
'default': 5,
},
'non-silent': {
'help': 'tensorflow, optuna and agent are silenced at trial start\n'
'to avoid repetitive import messages at each trial start, unless\n'
'this flag is specified',
'action': 'store_true',
},
}
| non_agent_args = {'env': {'help': 'gym environment id', 'required': True}, 'n-envs': {'help': 'Number of environments to create', 'default': 1, 'type': int, 'hp_type': 'categorical'}, 'preprocess': {'help': 'If specified, states will be treated as atari frames\nand preprocessed accordingly', 'action': 'store_true'}, 'lr': {'help': 'Learning rate passed to a tensorflow.keras.optimizers.Optimizer', 'type': float, 'default': 0.0007, 'hp_type': 'log_uniform'}, 'opt-epsilon': {'help': 'Epsilon passed to a tensorflow.keras.optimizers.Optimizer', 'type': float, 'default': 1e-07, 'hp_type': 'log_uniform'}, 'beta1': {'help': 'Beta1 passed to a tensorflow.keras.optimizers.Optimizer', 'type': float, 'default': 0.9, 'hp_type': 'log_uniform'}, 'beta2': {'help': 'Beta2 passed to a tensorflow.keras.optimizers.Optimizer', 'type': float, 'default': 0.999, 'hp_type': 'log_uniform'}, 'weights': {'help': 'Path(s) to model(s) weight(s) to be loaded by agent output_models', 'nargs': '+'}, 'max-frame': {'help': 'If specified, max & skip will be applied during preprocessing', 'action': 'store_true', 'hp_type': 'categorical'}}
off_policy_args = {'buffer-max-size': {'help': 'Maximum replay buffer size', 'type': int, 'default': 10000, 'hp_type': 'int'}, 'buffer-initial-size': {'help': 'Replay buffer initial size', 'type': int, 'hp_type': 'int'}, 'buffer-batch-size': {'help': 'Replay buffer batch size', 'type': int, 'default': 32, 'hp_type': 'categorical'}}
agent_args = {'reward-buffer-size': {'help': 'Size of the total reward buffer, used for calculating\nmean reward value to be displayed.', 'default': 100, 'type': int}, 'gamma': {'help': 'Discount factor', 'default': 0.99, 'type': float, 'hp_type': 'log_uniform'}, 'display-precision': {'help': 'Number of decimals to be displayed', 'default': 2, 'type': int}, 'seed': {'help': 'Random seed', 'type': int}, 'log-frequency': {'help': 'Log progress every n games', 'type': int}, 'checkpoints': {'help': 'Path(s) to new model(s) to which checkpoint(s) will be saved during training', 'nargs': '+'}, 'history-checkpoint': {'help': 'Path to .parquet file to save training history'}, 'plateau-reduce-factor': {'help': 'Factor multiplied by current learning rate when there is a plateau', 'type': float, 'default': 0.9}, 'plateau-reduce-patience': {'help': 'Minimum non-improvements to reduce lr', 'type': int, 'default': 10}, 'early-stop-patience': {'help': 'Minimum plateau reduces to stop training', 'type': int, 'default': 3}, 'divergence-monitoring-steps': {'help': 'Steps after which, plateau and early stopping are active', 'type': int}, 'quiet': {'help': 'If specified, no messages by the agent will be displayed\nto the console', 'action': 'store_true'}}
train_args = {'target-reward': {'help': 'Target reward when reached, training is stopped', 'type': int}, 'max-steps': {'help': 'Maximum number of environment steps, when reached, training is stopped', 'type': int}, 'monitor-session': {'help': 'Wandb session name'}}
play_args = {'render': {'help': 'If specified, the gameplay will be rendered', 'action': 'store_true'}, 'frame-dir': {'help': 'Path to directory to save game frames'}, 'frame-delay': {'help': 'Delay between rendered frames', 'type': float, 'default': 0}, 'action-idx': {'help': 'Index of action output by agent.model', 'type': int, 'default': 0}, 'frame-frequency': {'help': 'If --frame-dir is specified, save frames every n frames.', 'type': int, 'default': 1}}
tune_args = {'trial-steps': {'help': 'Maximum steps for a trial', 'type': int, 'default': 500000}, 'n-trials': {'help': 'Number of trials to run', 'type': int, 'default': 1}, 'study': {'help': 'Name of optuna study'}, 'storage': {'help': 'Database url'}, 'n-jobs': {'help': 'Parallel trials', 'type': int, 'default': 1}, 'warmup-trials': {'help': 'warmup trials before pruning starts', 'type': int, 'default': 5}, 'non-silent': {'help': 'tensorflow, optuna and agent are silenced at trial start\nto avoid repetitive import messages at each trial start, unless\nthis flag is specified', 'action': 'store_true'}} |
# coding: utf-8
class Parser(object):
def __init__(self):
pass | class Parser(object):
def __init__(self):
pass |
aa = [[0 for x in range(42)] for y in range(42)]
a = [[0 for x in range(42)] for y in range(42)]
version = 0
z = 0
sum = 0
def solve1(out):
global version
num1 = 0
num2 = 0
num3 = 0
z = 256
for i in range(34, 37):
for j in range(39, 42):
if a[i][j] != 0:
num1 = num1 + z
z = z / 2
z = 256
for i in range(39, 42):
for j in range(34, 37):
if a[i][j] != 0:
num2 += z
z = z / 2
for i in range(39, 42):
for j in range(39, 42):
if a[i][j] != 0:
num3 += z
z = z / 2
if num1 == num2 and num2 == num3:
out.write(str(num1) + "\n")
version = num1
return True
out.write(str(0) + "\n")
return False
def solve2_1(x, y, out, vout):
if (((1 ^ a[x][y] ^ a[x][y + 1] ^ a[x][y + 2] ^ a[x][y + 3]) == a[x][y + 4]) and (
(1 ^ a[x + 1][y] ^ a[x + 1][y + 1] ^ a[x + 1][y + 2] ^ a[x + 1][y + 3]) == a[x + 1][y + 4])):
z = 128
sum = 0
for i in range(0, 2):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(1)
else:
z = 128
sum = 0
for i in range(0, 2):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(0)
def solve2(out, vout):
i = 1
while i <= 5:
j = 9
while j <= 29:
solve2_1(i, j, out, vout)
solve2_1(i + 2, j, out, vout)
j = j + 5
i = i + 4
def solve3_1(x, y, out, vout):
if (((1 ^ a[x][y] ^ a[x + 1][y] ^ a[x + 2][y] ^ a[x + 3][y]) == a[x + 4][y]) and
((1 ^ a[x][y + 1] ^ a[x + 1][y + 1] ^ a[x + 2][y + 1] ^ a[x + 3][y + 1]) == a[x + 4][y + 1]) and
((1 ^ a[x][y + 2] ^ a[x + 1][y + 2] ^ a[x + 2][y + 2] ^ a[x + 3][y + 2]) == a[x + 4][y + 2]) and
((1 ^ a[x][y + 3] ^ a[x + 1][y + 3] ^ a[x + 2][y + 3] ^ a[x + 3][y + 3]) == a[x + 4][y + 3])):
z = 128
sum = 0
for i in range(0, 2):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(1)
z = 128
sum = 0
for i in range(2, 4):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
c = sum
out.write(c)
vout.write(1)
else:
z = 128
sum = 0
for i in range(0, 2):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(1)
for i in range(2, 4):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(0)
def solve3(out, vout):
i = 9
while i <= 29:
j = 1
while j <= 5:
solve3_1(i, j, out, vout)
j = j + 4
i = i + 5
def solve4_1(x, y, out, vout):
if ((1 ^ a[x][y] ^ a[x][y + 1] ^ a[x][y + 2] ^ a[x][y + 3]) == a[x][y + 4]) and (
(1 ^ a[x + 1][y] ^ a[x + 1][y + 1] ^ a[x + 1][y + 2] ^ a[x + 1][y + 3]) == a[x + 1][y + 4]) and (
(1 ^ a[x][y] ^ a[x + 1][y] ^ a[x + 2][y] ^ a[x + 3][y]) == a[x + 4][y]) and (
(1 ^ a[x][y + 1] ^ a[x + 1][y + 1] ^ a[x + 2][y + 1] ^ a[x + 3][y + 1]) == a[x + 4][y + 1]) and (
(1 ^ a[x][y + 2] ^ a[x + 1][y + 2] ^ a[x + 2][y + 2] ^ a[x + 3][y + 2]) == a[x + 4][y + 2]) and (
(1 ^ a[x][y + 3] ^ a[x + 1][y + 3] ^ a[x + 2][y + 3] ^ a[x + 3][y + 3]) == a[x + 4][y + 3]):
z = 128
sum = 0
for i in range(0, 2):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(1)
z = 128
sum = 0
for i in range(2, 4):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
c = sum
out.write(c)
vout.write(1)
else:
z = 128
sum = 0
for i in range(0, 2):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(1)
for i in range(2, 4):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(0)
def solve4(out, vout):
i = 9
while i <= 29:
j = 9
while j <= 29:
solve4_1(i, j, out, vout)
j = j + 5
i = i + 5
def solve5(out, vout):
i = 9
while i <= 29:
j = 34
while j <= 38:
solve3_1(i, j, out, vout)
j = j + 4
i = i + 5
def solve6(out, vout):
i = 34
while i <= 38:
j = 9
while j <= 29:
solve2_1(i, j, out, vout)
solve2_1(i + 2, j, out, vout)
j = j + 5
i = i + 4
if __name__ == '__main__':
IN = open("C:\\Users\\Lenovo1\\Desktop\\001.txt", "rb")
out = open("C:\\Users\\Lenovo1\\Desktop\\out.bin", "wb")
vout = open("C:\\Users\\Lenovo1\\Desktop\\vout.bin", "wb")
x = IN.read().split(" ")
for i in range(1, 42):
for j in range(1, 42):
a[i][j] = int(x[i][j])
if solve1(out):
solve2(out, vout)
solve3(out, vout)
solve4(out, vout)
solve5(out, vout)
solve6(out, vout)
else:
for i in range(1, 131):
out.write(bytes(0))
vout.write(bytes(0))
IN.close()
out.close()
vout.close()
| aa = [[0 for x in range(42)] for y in range(42)]
a = [[0 for x in range(42)] for y in range(42)]
version = 0
z = 0
sum = 0
def solve1(out):
global version
num1 = 0
num2 = 0
num3 = 0
z = 256
for i in range(34, 37):
for j in range(39, 42):
if a[i][j] != 0:
num1 = num1 + z
z = z / 2
z = 256
for i in range(39, 42):
for j in range(34, 37):
if a[i][j] != 0:
num2 += z
z = z / 2
for i in range(39, 42):
for j in range(39, 42):
if a[i][j] != 0:
num3 += z
z = z / 2
if num1 == num2 and num2 == num3:
out.write(str(num1) + '\n')
version = num1
return True
out.write(str(0) + '\n')
return False
def solve2_1(x, y, out, vout):
if 1 ^ a[x][y] ^ a[x][y + 1] ^ a[x][y + 2] ^ a[x][y + 3] == a[x][y + 4] and 1 ^ a[x + 1][y] ^ a[x + 1][y + 1] ^ a[x + 1][y + 2] ^ a[x + 1][y + 3] == a[x + 1][y + 4]:
z = 128
sum = 0
for i in range(0, 2):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(1)
else:
z = 128
sum = 0
for i in range(0, 2):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(0)
def solve2(out, vout):
i = 1
while i <= 5:
j = 9
while j <= 29:
solve2_1(i, j, out, vout)
solve2_1(i + 2, j, out, vout)
j = j + 5
i = i + 4
def solve3_1(x, y, out, vout):
if 1 ^ a[x][y] ^ a[x + 1][y] ^ a[x + 2][y] ^ a[x + 3][y] == a[x + 4][y] and 1 ^ a[x][y + 1] ^ a[x + 1][y + 1] ^ a[x + 2][y + 1] ^ a[x + 3][y + 1] == a[x + 4][y + 1] and (1 ^ a[x][y + 2] ^ a[x + 1][y + 2] ^ a[x + 2][y + 2] ^ a[x + 3][y + 2] == a[x + 4][y + 2]) and (1 ^ a[x][y + 3] ^ a[x + 1][y + 3] ^ a[x + 2][y + 3] ^ a[x + 3][y + 3] == a[x + 4][y + 3]):
z = 128
sum = 0
for i in range(0, 2):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(1)
z = 128
sum = 0
for i in range(2, 4):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
c = sum
out.write(c)
vout.write(1)
else:
z = 128
sum = 0
for i in range(0, 2):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(1)
for i in range(2, 4):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(0)
def solve3(out, vout):
i = 9
while i <= 29:
j = 1
while j <= 5:
solve3_1(i, j, out, vout)
j = j + 4
i = i + 5
def solve4_1(x, y, out, vout):
if 1 ^ a[x][y] ^ a[x][y + 1] ^ a[x][y + 2] ^ a[x][y + 3] == a[x][y + 4] and 1 ^ a[x + 1][y] ^ a[x + 1][y + 1] ^ a[x + 1][y + 2] ^ a[x + 1][y + 3] == a[x + 1][y + 4] and (1 ^ a[x][y] ^ a[x + 1][y] ^ a[x + 2][y] ^ a[x + 3][y] == a[x + 4][y]) and (1 ^ a[x][y + 1] ^ a[x + 1][y + 1] ^ a[x + 2][y + 1] ^ a[x + 3][y + 1] == a[x + 4][y + 1]) and (1 ^ a[x][y + 2] ^ a[x + 1][y + 2] ^ a[x + 2][y + 2] ^ a[x + 3][y + 2] == a[x + 4][y + 2]) and (1 ^ a[x][y + 3] ^ a[x + 1][y + 3] ^ a[x + 2][y + 3] ^ a[x + 3][y + 3] == a[x + 4][y + 3]):
z = 128
sum = 0
for i in range(0, 2):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(1)
z = 128
sum = 0
for i in range(2, 4):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
c = sum
out.write(c)
vout.write(1)
else:
z = 128
sum = 0
for i in range(0, 2):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(1)
for i in range(2, 4):
for j in range(0, 4):
if a[x + i][y + j] != 0:
sum = sum + z
z = z / 2
c = sum
out.write(c)
vout.write(0)
def solve4(out, vout):
i = 9
while i <= 29:
j = 9
while j <= 29:
solve4_1(i, j, out, vout)
j = j + 5
i = i + 5
def solve5(out, vout):
i = 9
while i <= 29:
j = 34
while j <= 38:
solve3_1(i, j, out, vout)
j = j + 4
i = i + 5
def solve6(out, vout):
i = 34
while i <= 38:
j = 9
while j <= 29:
solve2_1(i, j, out, vout)
solve2_1(i + 2, j, out, vout)
j = j + 5
i = i + 4
if __name__ == '__main__':
in = open('C:\\Users\\Lenovo1\\Desktop\\001.txt', 'rb')
out = open('C:\\Users\\Lenovo1\\Desktop\\out.bin', 'wb')
vout = open('C:\\Users\\Lenovo1\\Desktop\\vout.bin', 'wb')
x = IN.read().split(' ')
for i in range(1, 42):
for j in range(1, 42):
a[i][j] = int(x[i][j])
if solve1(out):
solve2(out, vout)
solve3(out, vout)
solve4(out, vout)
solve5(out, vout)
solve6(out, vout)
else:
for i in range(1, 131):
out.write(bytes(0))
vout.write(bytes(0))
IN.close()
out.close()
vout.close() |
def primefactors(arr):
p = []
for i in range(0, len(arr)):
factor = []
if arr[i] > 1:
for j in range(2, arr[i]+1):
if arr[i]%j == 0:
factor.append(j)
for j in range(0, len(factor)):
if factor[j] > 1:
if factor[j] == 2 and factor[j] not in p:
p.append(2)
for k in range(2, factor[j]):
if factor[j]%k == 0:
break
else:
if factor[j] in p:
continue
else:
p.append(factor[j])
p.sort()
return p
def Sumoffactor(arr):
prime = primefactors(arr)
result = []
for i in range(0, len(prime)):
temp = []
num = prime[i]
sum = 0
for j in range(0, len(arr)):
if arr[j]%num == 0:
sum += arr[j]
temp.append(num)
temp.append(sum)
result.append(temp)
return result
arr = [107, 158, 204, 100, 118, 123, 126, 110, 116, 100]
result = Sumoffactor(arr)
print(result) | def primefactors(arr):
p = []
for i in range(0, len(arr)):
factor = []
if arr[i] > 1:
for j in range(2, arr[i] + 1):
if arr[i] % j == 0:
factor.append(j)
for j in range(0, len(factor)):
if factor[j] > 1:
if factor[j] == 2 and factor[j] not in p:
p.append(2)
for k in range(2, factor[j]):
if factor[j] % k == 0:
break
else:
if factor[j] in p:
continue
else:
p.append(factor[j])
p.sort()
return p
def sumoffactor(arr):
prime = primefactors(arr)
result = []
for i in range(0, len(prime)):
temp = []
num = prime[i]
sum = 0
for j in range(0, len(arr)):
if arr[j] % num == 0:
sum += arr[j]
temp.append(num)
temp.append(sum)
result.append(temp)
return result
arr = [107, 158, 204, 100, 118, 123, 126, 110, 116, 100]
result = sumoffactor(arr)
print(result) |
expected_output ={
"lentry_label": {
16: {
"aal": {
"deagg_vrf_id": 0,
"eos0": {"adj_hdl": "0x65000016", "hw_hdl": "0x7ff7910f32b8"},
"eos1": {"adj_hdl": "0x65000016", "hw_hdl": "0x7ff7910f30a8"},
"id": 1174405122,
"lbl": 16,
"lspa_handle": "0",
},
"backwalk_cnt": 0,
"lentry_hdl": "0x46000002",
"lspa_handle": "0",
"modify_cnt": 0,
"nobj": ["ADJ SPECIAL", "DROP 0"],
"objid": {"ADJ": {"SPECIAL": "0"}},
}
}
}
| expected_output = {'lentry_label': {16: {'aal': {'deagg_vrf_id': 0, 'eos0': {'adj_hdl': '0x65000016', 'hw_hdl': '0x7ff7910f32b8'}, 'eos1': {'adj_hdl': '0x65000016', 'hw_hdl': '0x7ff7910f30a8'}, 'id': 1174405122, 'lbl': 16, 'lspa_handle': '0'}, 'backwalk_cnt': 0, 'lentry_hdl': '0x46000002', 'lspa_handle': '0', 'modify_cnt': 0, 'nobj': ['ADJ SPECIAL', 'DROP 0'], 'objid': {'ADJ': {'SPECIAL': '0'}}}}} |
#!/usr/bin/env python3
############################################################################################
# #
# Program purpose: Prints letter 'T' to the console. #
# Program Author : Happi Yvan <ivensteinpoker@gmail.com> #
# Creation Date : January 27, 2019 #
# #
############################################################################################
def print_letter_T():
for x in range(10):
print('*', end='')
print()
for x in range(10):
print('*'.center(10, ' '))
if __name__ == '__main__':
print_letter_T()
| def print_letter_t():
for x in range(10):
print('*', end='')
print()
for x in range(10):
print('*'.center(10, ' '))
if __name__ == '__main__':
print_letter_t() |
people = {1: 'fred', 0: 'harry', 9: 'andy'}
print(sorted(people.keys()))
print(sorted(people.values()))
print(sorted(people.items()))
print(dict(sorted(people.items()))) # really???
person = people.get(1, None)
assert person == 'fred'
person = people.get(8, None)
assert person is None
| people = {1: 'fred', 0: 'harry', 9: 'andy'}
print(sorted(people.keys()))
print(sorted(people.values()))
print(sorted(people.items()))
print(dict(sorted(people.items())))
person = people.get(1, None)
assert person == 'fred'
person = people.get(8, None)
assert person is None |
def replace(s, old, new):
temp = s.split(old)
temp2 = new.join(temp)
return temp2
print(replace("Mississippi", "i", "I"))
| def replace(s, old, new):
temp = s.split(old)
temp2 = new.join(temp)
return temp2
print(replace('Mississippi', 'i', 'I')) |
class Loader:
@classmethod
def load(cls, slide: "Slide"):
raise NotImplementedError
@classmethod
def close(cls, slide: "Slide"):
raise NotImplementedError
| class Loader:
@classmethod
def load(cls, slide: 'Slide'):
raise NotImplementedError
@classmethod
def close(cls, slide: 'Slide'):
raise NotImplementedError |
#
# @lc app=leetcode.cn id=1196 lang=python3
#
# [1196] filling-bookcase-shelves
#
None
# @lc code=end | None |
# Validador de CPF
# exemplo 2
cpf = '16899535009'
novo_cpf = cpf[:-2]
soma1 = 0
soma2 = 0
for e, r in enumerate(range(10, 1, -1)):
soma1 = soma1 + int(novo_cpf[e]) * int(r)
digito_1 = 11 - (soma1 % 11)
if digito_1 > 9:
digito_1 = 0
novo_cpf += str(digito_1)
for e, r in enumerate(range(11, 1, -1)):
soma2 = soma2 + int(novo_cpf[e]) * int(r)
digito_2 = 11 - (soma2 % 11)
if digito_2 > 9:
digito_2 = 0
novo_cpf += str(digito_2)
if novo_cpf == cpf:
print("Cpf valido!")
else:
print("Cpf invalido!")
| cpf = '16899535009'
novo_cpf = cpf[:-2]
soma1 = 0
soma2 = 0
for (e, r) in enumerate(range(10, 1, -1)):
soma1 = soma1 + int(novo_cpf[e]) * int(r)
digito_1 = 11 - soma1 % 11
if digito_1 > 9:
digito_1 = 0
novo_cpf += str(digito_1)
for (e, r) in enumerate(range(11, 1, -1)):
soma2 = soma2 + int(novo_cpf[e]) * int(r)
digito_2 = 11 - soma2 % 11
if digito_2 > 9:
digito_2 = 0
novo_cpf += str(digito_2)
if novo_cpf == cpf:
print('Cpf valido!')
else:
print('Cpf invalido!') |
class Meld:
cards = list()
canasta = False
mixed = False
wild = False
cardType = str
def __init__(self, cards):
self.cards = cards
if len(cards) > 7:
self.canasta = True
self.wild = True
self.cardType = '2'
for card in self.cards:
if card['code'][0] != '2' or card['code'][0] != 'X':
self.wild = False
self.cardType = card['value']
break
if not self.wild:
for card in cards:
if card['code'][0] == '2' or card['code'][0] == 'X':
self.mixed = True
break
def add(self, card):
self.cards.append(card)
if len(self.cards) > 7:
self.canasta = True
if not self.mixed and (card['code'][0] == 'X' or card['code'][0] == '2'):
self.mixed = True
def getCanasta(self):
return self.canasta
def getCardType(self):
return self.cardType
def getWild(self):
return self.wild
def getMixed(self):
return self.mixed
def displayCards(self):
cards = []
for card in self.cards:
cards.append(card['code'])
return cards
| class Meld:
cards = list()
canasta = False
mixed = False
wild = False
card_type = str
def __init__(self, cards):
self.cards = cards
if len(cards) > 7:
self.canasta = True
self.wild = True
self.cardType = '2'
for card in self.cards:
if card['code'][0] != '2' or card['code'][0] != 'X':
self.wild = False
self.cardType = card['value']
break
if not self.wild:
for card in cards:
if card['code'][0] == '2' or card['code'][0] == 'X':
self.mixed = True
break
def add(self, card):
self.cards.append(card)
if len(self.cards) > 7:
self.canasta = True
if not self.mixed and (card['code'][0] == 'X' or card['code'][0] == '2'):
self.mixed = True
def get_canasta(self):
return self.canasta
def get_card_type(self):
return self.cardType
def get_wild(self):
return self.wild
def get_mixed(self):
return self.mixed
def display_cards(self):
cards = []
for card in self.cards:
cards.append(card['code'])
return cards |
class NervenException(Exception):
def __init__(self, msg):
self.msg = msg
def __repr__(self):
return 'NervenException: %s' % self.msg
class OptionDoesNotExist(NervenException):
def __repr__(self):
return 'Config option %s does not exist.' % self.msg
| class Nervenexception(Exception):
def __init__(self, msg):
self.msg = msg
def __repr__(self):
return 'NervenException: %s' % self.msg
class Optiondoesnotexist(NervenException):
def __repr__(self):
return 'Config option %s does not exist.' % self.msg |
def largest_prime(n):
"Output the largest prime factor of a number"
i = 2
while n != 1:
for i in range(2,n+1):
if n%i == 0:
n = int(n/i)
p = i
break
else:
pass
return p
#The following function is unncessary and only here to confirm if the previous function output is prime
def is_prime(n):
"Determine if a number is a prime number or not"
for i in range(2,n+1):
if n%i == 0:
if i != n:
return "Not Prime"
else:
return "Prime"
assert largest_prime(13195) == 29
assert largest_prime(100) == 5
print(largest_prime(600851475143)) | def largest_prime(n):
"""Output the largest prime factor of a number"""
i = 2
while n != 1:
for i in range(2, n + 1):
if n % i == 0:
n = int(n / i)
p = i
break
else:
pass
return p
def is_prime(n):
"""Determine if a number is a prime number or not"""
for i in range(2, n + 1):
if n % i == 0:
if i != n:
return 'Not Prime'
else:
return 'Prime'
assert largest_prime(13195) == 29
assert largest_prime(100) == 5
print(largest_prime(600851475143)) |
'''
@author: Pranshu Aggarwal
@problem: https://hack.codingblocks.com/app/practice/1/484/problem
'''
def pattern_with_zeros(n):
for row in range(1, n + 1):
for col in range(1, row + 1):
if (col == 1) or (col == row): print(row, end = '')
else: print(0, end = '')
print("\t", end = '')
print()
if __name__ == "__main__":
n = int(input().strip())
pattern_with_zeros(n) | """
@author: Pranshu Aggarwal
@problem: https://hack.codingblocks.com/app/practice/1/484/problem
"""
def pattern_with_zeros(n):
for row in range(1, n + 1):
for col in range(1, row + 1):
if col == 1 or col == row:
print(row, end='')
else:
print(0, end='')
print('\t', end='')
print()
if __name__ == '__main__':
n = int(input().strip())
pattern_with_zeros(n) |
def OddLengthSum(arr):
sum = 0
l = len(arr)
for i in range(l):
for j in range(i, l, 2):
for k in range(i, j + 1, 1):
sum += arr[k]
return sum
arr = [ 1, 4, 2, 5, 3 ]
print(OddLengthSum(arr))
| def odd_length_sum(arr):
sum = 0
l = len(arr)
for i in range(l):
for j in range(i, l, 2):
for k in range(i, j + 1, 1):
sum += arr[k]
return sum
arr = [1, 4, 2, 5, 3]
print(odd_length_sum(arr)) |
def maxArea(arr):
pass
if __name__ == '__main__':
arr=[]
print(maxArea(arr)) | def max_area(arr):
pass
if __name__ == '__main__':
arr = []
print(max_area(arr)) |
# Copyright (c) 2019 Monolix
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
class Function:
def __init__(self, function, description, returns):
self.function = function
self.name = function.__name__
self.example = function.__doc__
self.description = description
self.returns = returns.__name__
| class Function:
def __init__(self, function, description, returns):
self.function = function
self.name = function.__name__
self.example = function.__doc__
self.description = description
self.returns = returns.__name__ |
class ImageStatus:
New = "NEW"
Done = "DONE"
Skipped = "SKIPPED"
InProgress = "IN PROGRESS"
ToReview = "TO REVIEW"
AutoLabelled = "AUTO-LABELLED"
class ExportFormat:
JSON_v11 = "json_v1.1"
SEMANTIC_PNG = "semantic_png"
JSON_COCO = "json_coco"
IMAGES = "images"
class SemanticFormat:
GS_DESC = "gs_desc"
GS_ASC = "gs_asc"
CLASS_COLOR = "class_color"
class SemanticOrder:
Z_INDEX = "z_index"
CLASS_TYPE = "class_type"
CLASS_ORDER = "class_order"
WAIT_INTERVAL_SEC = 10
VALID_STATUSES = [ImageStatus.New, ImageStatus.Done, ImageStatus.Skipped, ImageStatus.InProgress, ImageStatus.ToReview,
ImageStatus.AutoLabelled]
VALID_EXPORT_FORMATS = [ExportFormat.JSON_v11, ExportFormat.SEMANTIC_PNG, ExportFormat.JSON_COCO, ExportFormat.IMAGES]
VALID_SEMANTIC_FORMATS = [SemanticFormat.GS_DESC, SemanticFormat.GS_ASC, SemanticFormat.CLASS_COLOR]
VALID_SEMANTIC_ORDER = [SemanticOrder.Z_INDEX, SemanticOrder.CLASS_TYPE, SemanticOrder.CLASS_ORDER]
| class Imagestatus:
new = 'NEW'
done = 'DONE'
skipped = 'SKIPPED'
in_progress = 'IN PROGRESS'
to_review = 'TO REVIEW'
auto_labelled = 'AUTO-LABELLED'
class Exportformat:
json_v11 = 'json_v1.1'
semantic_png = 'semantic_png'
json_coco = 'json_coco'
images = 'images'
class Semanticformat:
gs_desc = 'gs_desc'
gs_asc = 'gs_asc'
class_color = 'class_color'
class Semanticorder:
z_index = 'z_index'
class_type = 'class_type'
class_order = 'class_order'
wait_interval_sec = 10
valid_statuses = [ImageStatus.New, ImageStatus.Done, ImageStatus.Skipped, ImageStatus.InProgress, ImageStatus.ToReview, ImageStatus.AutoLabelled]
valid_export_formats = [ExportFormat.JSON_v11, ExportFormat.SEMANTIC_PNG, ExportFormat.JSON_COCO, ExportFormat.IMAGES]
valid_semantic_formats = [SemanticFormat.GS_DESC, SemanticFormat.GS_ASC, SemanticFormat.CLASS_COLOR]
valid_semantic_order = [SemanticOrder.Z_INDEX, SemanticOrder.CLASS_TYPE, SemanticOrder.CLASS_ORDER] |
class Solution:
def suggestedProducts(self, products: List[str], searchWord: str) -> List[List[str]]:
products.sort()
prefix=""
t=[]
for i in searchWord:
prefix+=i
k=[]
for z in products:
if z[:len(prefix)]==prefix:
k.append(z)
if len(k)==3:
break
t.append(k)
return t
| class Solution:
def suggested_products(self, products: List[str], searchWord: str) -> List[List[str]]:
products.sort()
prefix = ''
t = []
for i in searchWord:
prefix += i
k = []
for z in products:
if z[:len(prefix)] == prefix:
k.append(z)
if len(k) == 3:
break
t.append(k)
return t |
class DbCache:
__slots__ = "cache", "database", "iteration"
def __init__(self, database):
self.cache = {}
self.database = database
self.iteration = -1
def get(self, *flags, **forced_flags):
required = {flag: True for flag in flags}
required.update(forced_flags)
required["discarded"] = required.get("discarded", False)
key = tuple(sorted(required.items()))
if self.iteration != self.database.iteration:
self.cache.clear()
self.iteration = self.database.iteration
if key not in self.cache:
self.cache[key] = self.database.query(required)
else:
print("Cached", key)
return self.cache[key]
| class Dbcache:
__slots__ = ('cache', 'database', 'iteration')
def __init__(self, database):
self.cache = {}
self.database = database
self.iteration = -1
def get(self, *flags, **forced_flags):
required = {flag: True for flag in flags}
required.update(forced_flags)
required['discarded'] = required.get('discarded', False)
key = tuple(sorted(required.items()))
if self.iteration != self.database.iteration:
self.cache.clear()
self.iteration = self.database.iteration
if key not in self.cache:
self.cache[key] = self.database.query(required)
else:
print('Cached', key)
return self.cache[key] |
#Buttons
SW1 = 21
SW2 = 20
SW3 = 16
#in and out
IN1 = 19
IN2 = 26
OUT1 = 5
OUT2 = 6
OUT3 = 13
#servos
SERVO = 27
# GPI for lcd
LCD_RS = 4
LCD_E = 17
LCD_D4 = 18
LCD_D5 = 22
LCD_D6 = 23
LCD_D7 = 24
| sw1 = 21
sw2 = 20
sw3 = 16
in1 = 19
in2 = 26
out1 = 5
out2 = 6
out3 = 13
servo = 27
lcd_rs = 4
lcd_e = 17
lcd_d4 = 18
lcd_d5 = 22
lcd_d6 = 23
lcd_d7 = 24 |
# Programa que leia sete valores numericos e cadastre os em uma lista unica que mantenha separados os valores pares e impares
# mostre os valores pares e impares de forma crescente
lista = [[], []]
num = 0
for n in range(0, 7):
num = int(input(f'Digite o {n+1} valor: '))
if num % 2 == 0:
lista[0].append(num)
else:
lista[1].append(num)
print(f'Os valores pares digitados foram: {sorted(lista[0])}')
print(f'Os valores impares digitados foram: {sorted(lista[1])}')
| lista = [[], []]
num = 0
for n in range(0, 7):
num = int(input(f'Digite o {n + 1} valor: '))
if num % 2 == 0:
lista[0].append(num)
else:
lista[1].append(num)
print(f'Os valores pares digitados foram: {sorted(lista[0])}')
print(f'Os valores impares digitados foram: {sorted(lista[1])}') |
# AUTOGENERATED BY NBDEV! DO NOT EDIT!
__all__ = ["index", "modules", "custom_doc_links", "git_url"]
index = {"prepare_data": "00_core.ipynb",
"train_valid_split": "00_core.ipynb",
"Availability": "00_core.ipynb",
"LinearMNL": "00_core.ipynb",
"DataLoaders": "00_core.ipynb",
"EarlyStopping": "00_core.ipynb",
"Learner": "00_core.ipynb"}
modules = ["core.py"]
doc_url = "https://tcapelle.github.io/pytorch_mnl/"
git_url = "https://github.com/tcapelle/pytorch_mnl/tree/master/"
def custom_doc_links(name): return None
| __all__ = ['index', 'modules', 'custom_doc_links', 'git_url']
index = {'prepare_data': '00_core.ipynb', 'train_valid_split': '00_core.ipynb', 'Availability': '00_core.ipynb', 'LinearMNL': '00_core.ipynb', 'DataLoaders': '00_core.ipynb', 'EarlyStopping': '00_core.ipynb', 'Learner': '00_core.ipynb'}
modules = ['core.py']
doc_url = 'https://tcapelle.github.io/pytorch_mnl/'
git_url = 'https://github.com/tcapelle/pytorch_mnl/tree/master/'
def custom_doc_links(name):
return None |
class Solution:
def findPairs(self, nums: List[int], k: int) -> int:
ans = 0
numToIndex = {num: i for i, num in enumerate(nums)}
for i, num in enumerate(nums):
target = num + k
if target in numToIndex and numToIndex[target] != i:
ans += 1
del numToIndex[target]
return ans
| class Solution:
def find_pairs(self, nums: List[int], k: int) -> int:
ans = 0
num_to_index = {num: i for (i, num) in enumerate(nums)}
for (i, num) in enumerate(nums):
target = num + k
if target in numToIndex and numToIndex[target] != i:
ans += 1
del numToIndex[target]
return ans |
#!/usr/bin/env python3
# Day 29: Unique Paths
#
# A robot is located at the top-left corner of a m x n grid (marked 'Start' in
# the diagram below).
# The robot can only move either down or right at any point in time. The robot
# is trying to reach the bottom-right corner of the grid.
# How many possible unique paths are there?
#
# Note:
# - 1 <= m, n <= 100
# - It's guaranteed that the answer will be less than or equal to 2 * 10 ^ 9
class Solution:
def uniquePaths(self, m: int, n: int) -> int:
memo = [[None for _ in range(n)] for _ in range(m)]
def compute(memo, m, n):
if memo[m][n] is not None:
return memo[m][n]
# Base case
if m == 0 or n == 0:
memo[m][n] = 1
# General case
else:
memo[m][n] = compute(memo, m - 1, n) + compute(memo, m, n - 1)
return memo[m][n]
return compute(memo, m - 1, n - 1)
# Tests
assert Solution().uniquePaths(3, 2) == 3
assert Solution().uniquePaths(7, 3) == 28
| class Solution:
def unique_paths(self, m: int, n: int) -> int:
memo = [[None for _ in range(n)] for _ in range(m)]
def compute(memo, m, n):
if memo[m][n] is not None:
return memo[m][n]
if m == 0 or n == 0:
memo[m][n] = 1
else:
memo[m][n] = compute(memo, m - 1, n) + compute(memo, m, n - 1)
return memo[m][n]
return compute(memo, m - 1, n - 1)
assert solution().uniquePaths(3, 2) == 3
assert solution().uniquePaths(7, 3) == 28 |
# Helper module for a test_reflect test
1//0
| 1 // 0 |
DEBUG = True
#SECRET_KEY = 'not a very secret key'
ADMINS = (
)
#ALLOWED_HOSTS = ["*"]
STATIC_ROOT = '/local/aplus/static/'
MEDIA_ROOT = '/local/aplus/media/'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'aplus',
},
}
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
'LOCATION': '/run/aplus/django-cache',
},
}
REMOTE_PAGE_HOSTS_MAP = {
"grader:8080": "localhost:8080",
}
OVERRIDE_SUBMISSION_HOST = "http://plus:8000"
#CELERY_BROKER_URL = "amqp://"
LOGGING['loggers'].update({
'': {
'level': 'INFO',
'handlers': ['debug_console'],
'propagate': True,
},
#'django.db.backends': {
# 'level': 'DEBUG',
#},
})
# kate: space-indent on; indent-width 4;
# vim: set expandtab ts=4 sw=4:
| debug = True
admins = ()
static_root = '/local/aplus/static/'
media_root = '/local/aplus/media/'
databases = {'default': {'ENGINE': 'django.db.backends.postgresql', 'NAME': 'aplus'}}
caches = {'default': {'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': '/run/aplus/django-cache'}}
remote_page_hosts_map = {'grader:8080': 'localhost:8080'}
override_submission_host = 'http://plus:8000'
LOGGING['loggers'].update({'': {'level': 'INFO', 'handlers': ['debug_console'], 'propagate': True}}) |
# thingsboardwrapper/device.py
class TENANT(object):
def __init__(self):
pass
def getDevicesIds(self,base_url, session):
response = session.get(base_url +'/api/tenant/devices', params = {'limit':'100'})
json_dict = response.json()
deviceIds = []
for i in range(0, len(json_dict['data'])):
deviceIds.append(json_dict['data'][i]['id']['id'])
return deviceIds
| class Tenant(object):
def __init__(self):
pass
def get_devices_ids(self, base_url, session):
response = session.get(base_url + '/api/tenant/devices', params={'limit': '100'})
json_dict = response.json()
device_ids = []
for i in range(0, len(json_dict['data'])):
deviceIds.append(json_dict['data'][i]['id']['id'])
return deviceIds |
def get_secret_key(BASE_DIR):
key = ''
with open(f'{BASE_DIR}/passport/private_key.pem') as secret_file:
key = secret_file.read().replace('\n', '').replace(
'-', '').replace('BEGIN RSA PRIVATE KEY', '').replace('END RSA PRIVATE KEY', '')
return key | def get_secret_key(BASE_DIR):
key = ''
with open(f'{BASE_DIR}/passport/private_key.pem') as secret_file:
key = secret_file.read().replace('\n', '').replace('-', '').replace('BEGIN RSA PRIVATE KEY', '').replace('END RSA PRIVATE KEY', '')
return key |
def main():
num_words = int(input())
for _ in range(num_words):
current_word = input()
if len(current_word) > 10:
print(
f"{current_word[0]}{len(current_word) - 2}{current_word[-1]}")
else:
print(current_word)
main()
| def main():
num_words = int(input())
for _ in range(num_words):
current_word = input()
if len(current_word) > 10:
print(f'{current_word[0]}{len(current_word) - 2}{current_word[-1]}')
else:
print(current_word)
main() |
ALPHA = 0.25
PENALIZATION = 0
| alpha = 0.25
penalization = 0 |
class Node:
def __init__(self, data):
self.data = data
self.next = None
class LinkedList:
def __init__(self):
self.head = None
def print_list(self):
curr_node = self.head
while curr_node:
print(curr_node.data)
curr_node = curr_node.next
def append(self, data):
new_node = Node(data)
# Case 1: No element in the LinkedList
if self.head is None:
self.head = new_node
return
#Case 2: Elements present in LinkedList
curr_Node = self.head
while curr_Node.next:
curr_Node = curr_Node.next
curr_Node.next = new_node
def delete_node(self, key):
curr_node = self.head
# Case 1: Node to be deleted is head node
if curr_node and curr_node.data == key:
self.head = curr_node.next
curr_node = None
return
# Case 2: Node to be deleted is any other node
prev_node = None
while curr_node and curr_node.data != key:
prev_node = curr_node
curr_node = prev_node.next
if curr_node is None:
return
prev_node.next = curr_node.next
curr_node = None
def delete_node_at_pos(self,pos):
curr_node = self.head
# Case 1: Node to be deleted is head node
if pos == 0:
self.head = curr_node.next
curr_node = None
return
# Case 2: Node to be deleted is any other node
prev_node = None
count = 0
while curr_node and count!=pos:
prev_node = curr_node
curr_node = curr_node.next
count += 1
if curr_node is None:
return
prev_node.next = curr_node.next
curr_node = None
ll = LinkedList()
ll.append("A")
ll.append("B")
ll.append("C")
# ll.print_list()
ll.delete_node("C")
# ll.print_list()
ll.delete_node_at_pos(1)
ll.print_list() | class Node:
def __init__(self, data):
self.data = data
self.next = None
class Linkedlist:
def __init__(self):
self.head = None
def print_list(self):
curr_node = self.head
while curr_node:
print(curr_node.data)
curr_node = curr_node.next
def append(self, data):
new_node = node(data)
if self.head is None:
self.head = new_node
return
curr__node = self.head
while curr_Node.next:
curr__node = curr_Node.next
curr_Node.next = new_node
def delete_node(self, key):
curr_node = self.head
if curr_node and curr_node.data == key:
self.head = curr_node.next
curr_node = None
return
prev_node = None
while curr_node and curr_node.data != key:
prev_node = curr_node
curr_node = prev_node.next
if curr_node is None:
return
prev_node.next = curr_node.next
curr_node = None
def delete_node_at_pos(self, pos):
curr_node = self.head
if pos == 0:
self.head = curr_node.next
curr_node = None
return
prev_node = None
count = 0
while curr_node and count != pos:
prev_node = curr_node
curr_node = curr_node.next
count += 1
if curr_node is None:
return
prev_node.next = curr_node.next
curr_node = None
ll = linked_list()
ll.append('A')
ll.append('B')
ll.append('C')
ll.delete_node('C')
ll.delete_node_at_pos(1)
ll.print_list() |
largest = None
smallest = None
while True:
num = input("Enter a number: ")
if num == "done":
break
try:
ii = int(num)
except:
print("Invalid input")
try:
if largest < ii:
largest = ii
if smallest > ii:
smallest = ii
except:
largest = ii
smallest = ii
print("Maximum is", largest)
print("Minimum is", smallest) | largest = None
smallest = None
while True:
num = input('Enter a number: ')
if num == 'done':
break
try:
ii = int(num)
except:
print('Invalid input')
try:
if largest < ii:
largest = ii
if smallest > ii:
smallest = ii
except:
largest = ii
smallest = ii
print('Maximum is', largest)
print('Minimum is', smallest) |
#!/usr/bin/env python
'''This is a wrapper around the Goldilocks libdecaf library.
Currently only the ed448 code is wrapped. It is available in the
submodule ed448.
'''
| """This is a wrapper around the Goldilocks libdecaf library.
Currently only the ed448 code is wrapped. It is available in the
submodule ed448.
""" |
def bubbleSort(a):
for i in range(0,len(a)-1):
for j in range(len(a)-1):
if(a[j]>=a[j+1]):
aux=a[j]
a[j]=a[j+1]
a[j+1]=aux
| def bubble_sort(a):
for i in range(0, len(a) - 1):
for j in range(len(a) - 1):
if a[j] >= a[j + 1]:
aux = a[j]
a[j] = a[j + 1]
a[j + 1] = aux |
class Room():
def __init__(self, name, description=None):
self.__name = name
self.__description = description
self.__linked_rooms = {}
self.__character = None
@property
def Name(self):
return self.__name
@Name.setter
def Name(self, value):
self.__name = value
@property
def Description(self):
return self.__description
@Description.setter
def Description(self, value):
self.__description = value
@property
def Character(self):
return self.__character
@Character.setter
def Character(self, value):
self.__character = value
def link_to_room(self, room, direction):
self.__linked_rooms[direction] = room
def move_to_direction(self, direction):
return self.__linked_rooms[direction] \
if direction in self.__linked_rooms \
else self
def __str__(self):
return_value = self.Name
for direction in self.__linked_rooms:
room = self.__linked_rooms[direction]
return_value += " [" + room.Name + ": " + direction + "]"
return_value += " Inside: " + (str(self.__character) if self.__character != None else "Nobody")
return return_value
| class Room:
def __init__(self, name, description=None):
self.__name = name
self.__description = description
self.__linked_rooms = {}
self.__character = None
@property
def name(self):
return self.__name
@Name.setter
def name(self, value):
self.__name = value
@property
def description(self):
return self.__description
@Description.setter
def description(self, value):
self.__description = value
@property
def character(self):
return self.__character
@Character.setter
def character(self, value):
self.__character = value
def link_to_room(self, room, direction):
self.__linked_rooms[direction] = room
def move_to_direction(self, direction):
return self.__linked_rooms[direction] if direction in self.__linked_rooms else self
def __str__(self):
return_value = self.Name
for direction in self.__linked_rooms:
room = self.__linked_rooms[direction]
return_value += ' [' + room.Name + ': ' + direction + ']'
return_value += ' Inside: ' + (str(self.__character) if self.__character != None else 'Nobody')
return return_value |
def read_line(file_name):
with open(file_name) as f:
p_list = []
for line in f.readlines():
line_text = line.strip("\n")
nums = list(line_text)
p_list.append(nums)
return p_list
def move_east(arr):
height, width = len(arr), len(arr[0])
moves = []
for i in range(height):
for j in range(width):
if arr[i][j] == '>' and arr[i][(j + 1) % width] == '.':
moves.append((i, j, (j + 1) % width))
for i, j, nj in moves:
arr[i][j] = '.'
arr[i][nj] = '>'
return arr, bool(moves)
def move_south(arr):
height, width = len(arr), len(arr[0])
moves = []
for i in range(height):
for j in range(width):
if arr[i][j] == 'v' and arr[(i + 1) % height][j] == '.':
moves.append((i, (i + 1) % height, j))
for i, ni, j in moves:
arr[i][j] = '.'
arr[ni][j] = 'v'
return arr, bool(moves)
def part_1(arr):
res = 0
moved = True
while moved:
arr, east = move_east(arr)
arr, south = move_south(arr)
moved = east or south
res += 1
return res
def main():
test_lines = read_line("data/test.txt")
prod_lines = read_line("data/prod.txt")
# print(test_lines)
print(f'Part 1: {part_1(prod_lines)}')
if __name__ == "__main__":
main()
| def read_line(file_name):
with open(file_name) as f:
p_list = []
for line in f.readlines():
line_text = line.strip('\n')
nums = list(line_text)
p_list.append(nums)
return p_list
def move_east(arr):
(height, width) = (len(arr), len(arr[0]))
moves = []
for i in range(height):
for j in range(width):
if arr[i][j] == '>' and arr[i][(j + 1) % width] == '.':
moves.append((i, j, (j + 1) % width))
for (i, j, nj) in moves:
arr[i][j] = '.'
arr[i][nj] = '>'
return (arr, bool(moves))
def move_south(arr):
(height, width) = (len(arr), len(arr[0]))
moves = []
for i in range(height):
for j in range(width):
if arr[i][j] == 'v' and arr[(i + 1) % height][j] == '.':
moves.append((i, (i + 1) % height, j))
for (i, ni, j) in moves:
arr[i][j] = '.'
arr[ni][j] = 'v'
return (arr, bool(moves))
def part_1(arr):
res = 0
moved = True
while moved:
(arr, east) = move_east(arr)
(arr, south) = move_south(arr)
moved = east or south
res += 1
return res
def main():
test_lines = read_line('data/test.txt')
prod_lines = read_line('data/prod.txt')
print(f'Part 1: {part_1(prod_lines)}')
if __name__ == '__main__':
main() |
def extractCyborgTlCom(item):
'''
Parser for 'cyborg-tl.com'
'''
badwords = [
'Penjelajahan',
]
if any([bad in item['title'] for bad in badwords]):
return None
badwords = [
'bleach: we do knot always love you',
'kochugunshikan boukensha ni naru',
'bahasa indonesia',
'a returner\'s magic should be special bahasa indonesia',
'badword',
]
if any([bad in item['tags'] for bad in badwords]):
return None
vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])
if not (chp or vol) or "preview" in item['title'].lower():
return None
tagmap = [
('duke\'s daughter (ln)', 'duke\'s daughter (ln)', 'translated'),
('irregular rebellion', 'irregular rebellion', 'translated'),
('ore wa mada, honki o dashite inai', 'ore wa mada, honki o dashite inai', 'translated'),
('creating a different world', 'Creating a Different World', 'translated'),
('burakku na kishidan no dorei ga howaitona boukensha girudo ni hikinukarete s ranku ni narimashita', 'burakku na kishidan no dorei ga howaitona boukensha girudo ni hikinukarete s ranku ni narimashita', 'translated'),
('ancient demon king', 'ancient demon king', 'translated'),
('dark empire of orega in starcraft', 'dark empire of orega in starcraft', 'translated'),
('sekai saikyou no maou desuga daremo toubatsushinikitekurenainode, yuusha ikusei kikan ni sennyuusuru koto ni shimashita', 'sekai saikyou no maou desuga daremo toubatsushinikitekurenainode, yuusha ikusei kikan ni sennyuusuru koto ni shimashita', 'translated'),
('the reincarnation magician of the inferior eyes', 'the reincarnation magician of the inferior eyes', 'translated'),
('king of the death in dark palace', 'king of the death in dark palace', 'translated'),
('Mahouka Koukou no Rettousei', 'Mahouka Koukou no Rettousei', 'translated'),
('madan no ou to seisen no carnwenhan', 'madan no ou to seisen no carnwenhan', 'translated'),
('PRC', 'PRC', 'translated'),
('Loiterous', 'Loiterous', 'oel'),
]
for tagname, name, tl_type in tagmap:
if tagname in item['tags']:
return buildReleaseMessageWithType(item, name, vol, chp, frag=frag, postfix=postfix, tl_type=tl_type)
return False | def extract_cyborg_tl_com(item):
"""
Parser for 'cyborg-tl.com'
"""
badwords = ['Penjelajahan']
if any([bad in item['title'] for bad in badwords]):
return None
badwords = ['bleach: we do knot always love you', 'kochugunshikan boukensha ni naru', 'bahasa indonesia', "a returner's magic should be special bahasa indonesia", 'badword']
if any([bad in item['tags'] for bad in badwords]):
return None
(vol, chp, frag, postfix) = extract_vol_chapter_fragment_postfix(item['title'])
if not (chp or vol) or 'preview' in item['title'].lower():
return None
tagmap = [("duke's daughter (ln)", "duke's daughter (ln)", 'translated'), ('irregular rebellion', 'irregular rebellion', 'translated'), ('ore wa mada, honki o dashite inai', 'ore wa mada, honki o dashite inai', 'translated'), ('creating a different world', 'Creating a Different World', 'translated'), ('burakku na kishidan no dorei ga howaitona boukensha girudo ni hikinukarete s ranku ni narimashita', 'burakku na kishidan no dorei ga howaitona boukensha girudo ni hikinukarete s ranku ni narimashita', 'translated'), ('ancient demon king', 'ancient demon king', 'translated'), ('dark empire of orega in starcraft', 'dark empire of orega in starcraft', 'translated'), ('sekai saikyou no maou desuga daremo toubatsushinikitekurenainode, yuusha ikusei kikan ni sennyuusuru koto ni shimashita', 'sekai saikyou no maou desuga daremo toubatsushinikitekurenainode, yuusha ikusei kikan ni sennyuusuru koto ni shimashita', 'translated'), ('the reincarnation magician of the inferior eyes', 'the reincarnation magician of the inferior eyes', 'translated'), ('king of the death in dark palace', 'king of the death in dark palace', 'translated'), ('Mahouka Koukou no Rettousei', 'Mahouka Koukou no Rettousei', 'translated'), ('madan no ou to seisen no carnwenhan', 'madan no ou to seisen no carnwenhan', 'translated'), ('PRC', 'PRC', 'translated'), ('Loiterous', 'Loiterous', 'oel')]
for (tagname, name, tl_type) in tagmap:
if tagname in item['tags']:
return build_release_message_with_type(item, name, vol, chp, frag=frag, postfix=postfix, tl_type=tl_type)
return False |
BUTTON_PIN = 14 # pin for door switch
BUZZER_PIN = 12 # pin for piezo buzzer
ENABLE_LOG = True # logs the events to log/door.log
LEGIT_OPEN_TIME = 20 # how many seconds until the alarm goes off
CLOSING_SOUND = True # enable a confirmation sound for closing the door
ONE_UP = True # play an achievement sound if the door was opened for COUNTER_MAX times
COUNTER_MAX = 100 # see above
| button_pin = 14
buzzer_pin = 12
enable_log = True
legit_open_time = 20
closing_sound = True
one_up = True
counter_max = 100 |
#criando dicionario dentro de uma lista
brasil=[]
estado1={'uf':'Rio de janeiro', 'Sigla': 'RJ'}
estado2= {'Uf':'Sao paulo', 'Sigla':'SP'}
brasil.append(estado1)
brasil.append(estado2)
print(brasil)
print(brasil[1])
print(brasil[0]['uf'])
print(brasil[1]['Sigla'])
print('+='*30)
for p in brasil:
print(p)
| brasil = []
estado1 = {'uf': 'Rio de janeiro', 'Sigla': 'RJ'}
estado2 = {'Uf': 'Sao paulo', 'Sigla': 'SP'}
brasil.append(estado1)
brasil.append(estado2)
print(brasil)
print(brasil[1])
print(brasil[0]['uf'])
print(brasil[1]['Sigla'])
print('+=' * 30)
for p in brasil:
print(p) |
class NombreVacioError(Exception):
pass
def __init__(self, mensaje, *args):
super(NombreVacioError, self).__init__(mensaje, args)
def imprmir_nombre(nombre):
if nombre == "":
raise NombreVacioError("El nombre esta vacio")
print(nombre)
try:
3 / 0
imprmir_nombre("")
except NombreVacioError:
print("Hay un error")
except ZeroDivisionError:
print("Hay una division invalida") | class Nombrevacioerror(Exception):
pass
def __init__(self, mensaje, *args):
super(NombreVacioError, self).__init__(mensaje, args)
def imprmir_nombre(nombre):
if nombre == '':
raise nombre_vacio_error('El nombre esta vacio')
print(nombre)
try:
3 / 0
imprmir_nombre('')
except NombreVacioError:
print('Hay un error')
except ZeroDivisionError:
print('Hay una division invalida') |
#204
# Time: O(n)
# Space: O(n)
# Count the number of prime numbers less than a non-negative number, n
#
# Hint: The number n could be in the order of 100,000 to 5,000,000.
class Sol():
def countPrimes(self,n):
is_primes=[True]*n
is_primes[0]=is_primes[1]=False
for num in range(2,int(n**0.5)+1):
if is_primes[num]:
is_primes[num*num:n:num]=[False]*len(is_primes[num*num:n:num])
return sum(is_primes)
| class Sol:
def count_primes(self, n):
is_primes = [True] * n
is_primes[0] = is_primes[1] = False
for num in range(2, int(n ** 0.5) + 1):
if is_primes[num]:
is_primes[num * num:n:num] = [False] * len(is_primes[num * num:n:num])
return sum(is_primes) |
d_lang = {
"US English": "en-US",
"GB English": "en-GB",
"ES Spanish": "es-ES"
} | d_lang = {'US English': 'en-US', 'GB English': 'en-GB', 'ES Spanish': 'es-ES'} |
self.description = 'download remote packages with -U with a URL filename'
self.require_capability("gpg")
self.require_capability("curl")
url = self.add_simple_http_server({
# simple
'/simple.pkg': 'simple',
'/simple.pkg.sig': {
'headers': { 'Content-Disposition': 'attachment; filename="simple.sig-alt' },
'body': 'simple.sig',
},
# content-disposition filename
'/cd.pkg': {
'headers': { 'Content-Disposition': 'attachment; filename="cd-alt.pkg"' },
'body': 'cd'
},
'/cd.pkg.sig': 'cd.sig',
# redirect
'/redir.pkg': { 'code': 303, 'headers': { 'Location': '/redir-dest.pkg' } },
'/redir-dest.pkg': 'redir-dest',
'/redir-dest.pkg.sig': 'redir-dest.sig',
# content-disposition and redirect
'/cd-redir.pkg': { 'code': 303, 'headers': { 'Location': '/cd-redir-dest.pkg' } },
'/cd-redir-dest.pkg': {
'headers': { 'Content-Disposition': 'attachment; filename="cd-redir-dest-alt.pkg"' },
'body': 'cd-redir-dest'
},
'/cd-redir-dest.pkg.sig': 'cd-redir-dest.sig',
# TODO: absolutely terrible hack to prevent pacman from attempting to
# validate packages, which causes failure under --valgrind thanks to
# a memory leak in gpgme that is too general for inclusion in valgrind.supp
'/404': { 'code': 404 },
'': 'fallback',
})
self.args = '-Uw {url}/simple.pkg {url}/cd.pkg {url}/redir.pkg {url}/cd-redir.pkg {url}/404'.format(url=url)
# packages/sigs are not valid, error is expected
self.addrule('!PACMAN_RETCODE=0')
self.addrule('CACHE_FCONTENTS=simple.pkg|simple')
self.addrule('CACHE_FCONTENTS=simple.pkg.sig|simple.sig')
self.addrule('!CACHE_FEXISTS=cd.pkg')
self.addrule('!CACHE_FEXISTS=cd.pkg.sig')
self.addrule('CACHE_FCONTENTS=cd-alt.pkg|cd')
self.addrule('CACHE_FCONTENTS=cd-alt.pkg.sig|cd.sig')
self.addrule('!CACHE_FEXISTS=redir.pkg')
self.addrule('CACHE_FCONTENTS=redir-dest.pkg|redir-dest')
self.addrule('CACHE_FCONTENTS=redir-dest.pkg.sig|redir-dest.sig')
self.addrule('!CACHE_FEXISTS=cd-redir.pkg')
self.addrule('!CACHE_FEXISTS=cd-redir-dest.pkg')
self.addrule('CACHE_FCONTENTS=cd-redir-dest-alt.pkg|cd-redir-dest')
self.addrule('CACHE_FCONTENTS=cd-redir-dest-alt.pkg.sig|cd-redir-dest.sig')
| self.description = 'download remote packages with -U with a URL filename'
self.require_capability('gpg')
self.require_capability('curl')
url = self.add_simple_http_server({'/simple.pkg': 'simple', '/simple.pkg.sig': {'headers': {'Content-Disposition': 'attachment; filename="simple.sig-alt'}, 'body': 'simple.sig'}, '/cd.pkg': {'headers': {'Content-Disposition': 'attachment; filename="cd-alt.pkg"'}, 'body': 'cd'}, '/cd.pkg.sig': 'cd.sig', '/redir.pkg': {'code': 303, 'headers': {'Location': '/redir-dest.pkg'}}, '/redir-dest.pkg': 'redir-dest', '/redir-dest.pkg.sig': 'redir-dest.sig', '/cd-redir.pkg': {'code': 303, 'headers': {'Location': '/cd-redir-dest.pkg'}}, '/cd-redir-dest.pkg': {'headers': {'Content-Disposition': 'attachment; filename="cd-redir-dest-alt.pkg"'}, 'body': 'cd-redir-dest'}, '/cd-redir-dest.pkg.sig': 'cd-redir-dest.sig', '/404': {'code': 404}, '': 'fallback'})
self.args = '-Uw {url}/simple.pkg {url}/cd.pkg {url}/redir.pkg {url}/cd-redir.pkg {url}/404'.format(url=url)
self.addrule('!PACMAN_RETCODE=0')
self.addrule('CACHE_FCONTENTS=simple.pkg|simple')
self.addrule('CACHE_FCONTENTS=simple.pkg.sig|simple.sig')
self.addrule('!CACHE_FEXISTS=cd.pkg')
self.addrule('!CACHE_FEXISTS=cd.pkg.sig')
self.addrule('CACHE_FCONTENTS=cd-alt.pkg|cd')
self.addrule('CACHE_FCONTENTS=cd-alt.pkg.sig|cd.sig')
self.addrule('!CACHE_FEXISTS=redir.pkg')
self.addrule('CACHE_FCONTENTS=redir-dest.pkg|redir-dest')
self.addrule('CACHE_FCONTENTS=redir-dest.pkg.sig|redir-dest.sig')
self.addrule('!CACHE_FEXISTS=cd-redir.pkg')
self.addrule('!CACHE_FEXISTS=cd-redir-dest.pkg')
self.addrule('CACHE_FCONTENTS=cd-redir-dest-alt.pkg|cd-redir-dest')
self.addrule('CACHE_FCONTENTS=cd-redir-dest-alt.pkg.sig|cd-redir-dest.sig') |
class Solution:
def buildWall(self, height: int, width: int, bricks: List[int]) -> int:
kMod = int(1e9) + 7
# valid rows in bitmask
rows = []
self._buildRows(width, bricks, 0, rows)
n = len(rows)
# dp[i] := # of ways to build `h` height walls
# with rows[i] in the bottom
dp = [1] * n
# graph[i] := valid neighbors of rows[i]
graph = [[] for _ in range(n)]
for i, a in enumerate(rows):
for j, b in enumerate(rows):
if not a & b:
graph[i].append(j)
for _ in range(2, height + 1):
newDp = [0] * n
for i in range(n):
for v in graph[i]:
newDp[i] += dp[v]
newDp[i] %= kMod
dp = newDp
return sum(dp) % kMod
def _buildRows(self, width: int, bricks: List[int], path: int, rows: List[int]):
for brick in bricks:
if brick == width:
rows.append(path)
elif brick < width:
newWidth = width - brick
self._buildRows(newWidth, bricks, path | 2 << newWidth, rows)
| class Solution:
def build_wall(self, height: int, width: int, bricks: List[int]) -> int:
k_mod = int(1000000000.0) + 7
rows = []
self._buildRows(width, bricks, 0, rows)
n = len(rows)
dp = [1] * n
graph = [[] for _ in range(n)]
for (i, a) in enumerate(rows):
for (j, b) in enumerate(rows):
if not a & b:
graph[i].append(j)
for _ in range(2, height + 1):
new_dp = [0] * n
for i in range(n):
for v in graph[i]:
newDp[i] += dp[v]
newDp[i] %= kMod
dp = newDp
return sum(dp) % kMod
def _build_rows(self, width: int, bricks: List[int], path: int, rows: List[int]):
for brick in bricks:
if brick == width:
rows.append(path)
elif brick < width:
new_width = width - brick
self._buildRows(newWidth, bricks, path | 2 << newWidth, rows) |
class Worker(object):
def __init__(self, wid, address, port):
self.wid = wid
self.address = address
self.port = port
def __eq__(self, other):
if isinstance(other, self.__class__):
if self.wid == other.wid:
if self.address == other.address:
if self.port == other.port:
return True
else:
return False
else:
return False
else:
return False
else:
return False
def __str__(self):
return "Worker { id: %s, address: %s, port: %s}" % (
self.wid,
self.address,
self.port,
)
class WorkerStatus(object):
def __init__(self, wid, running, pending, available):
self.wid = wid
self.running = running
self.pending = pending
self.available = available
| class Worker(object):
def __init__(self, wid, address, port):
self.wid = wid
self.address = address
self.port = port
def __eq__(self, other):
if isinstance(other, self.__class__):
if self.wid == other.wid:
if self.address == other.address:
if self.port == other.port:
return True
else:
return False
else:
return False
else:
return False
else:
return False
def __str__(self):
return 'Worker { id: %s, address: %s, port: %s}' % (self.wid, self.address, self.port)
class Workerstatus(object):
def __init__(self, wid, running, pending, available):
self.wid = wid
self.running = running
self.pending = pending
self.available = available |
TORRENT_SAVE_PATH = r'torrents/'
INSTALLED_SCRAPERS = [
'scrapers.dmhy',
]
ENABLE_AUTO_DOWNLOAD = True
WEBAPI_PORT = 9010
WEBAPI_USERNAME = 'pythontest'
WEBAPI_PASSWORD = 'helloworld'
| torrent_save_path = 'torrents/'
installed_scrapers = ['scrapers.dmhy']
enable_auto_download = True
webapi_port = 9010
webapi_username = 'pythontest'
webapi_password = 'helloworld' |
#
# @lc app=leetcode.cn id=1008 lang=python3
#
# [1008] binary-tree-cameras
#
None
# @lc code=end | None |
_base_ = [
'../_base_/models/improved_ddpm/ddpm_64x64.py',
'../_base_/datasets/imagenet_noaug_64.py', '../_base_/default_runtime.py'
]
lr_config = None
checkpoint_config = dict(interval=10000, by_epoch=False, max_keep_ckpts=20)
custom_hooks = [
dict(
type='MMGenVisualizationHook',
output_dir='training_samples',
res_name_list=['real_imgs', 'x_0_pred', 'x_t', 'x_t_1'],
padding=1,
interval=1000),
dict(
type='ExponentialMovingAverageHook',
module_keys=('denoising_ema'),
interval=1,
start_iter=0,
interp_cfg=dict(momentum=0.9999),
priority='VERY_HIGH')
]
# do not evaluation in training process because evaluation take too much time.
evaluation = None
total_iters = 1500000 # 1500k
data = dict(samples_per_gpu=16) # 8x16=128
# use ddp wrapper for faster training
use_ddp_wrapper = True
find_unused_parameters = False
runner = dict(
type='DynamicIterBasedRunner',
is_dynamic_ddp=False, # Note that this flag should be False.
pass_training_status=True)
inception_pkl = './work_dirs/inception_pkl/imagenet_64x64.pkl'
metrics = dict(
fid50k=dict(
type='FID',
num_images=50000,
bgr2rgb=True,
inception_pkl=inception_pkl,
inception_args=dict(type='StyleGAN')))
| _base_ = ['../_base_/models/improved_ddpm/ddpm_64x64.py', '../_base_/datasets/imagenet_noaug_64.py', '../_base_/default_runtime.py']
lr_config = None
checkpoint_config = dict(interval=10000, by_epoch=False, max_keep_ckpts=20)
custom_hooks = [dict(type='MMGenVisualizationHook', output_dir='training_samples', res_name_list=['real_imgs', 'x_0_pred', 'x_t', 'x_t_1'], padding=1, interval=1000), dict(type='ExponentialMovingAverageHook', module_keys='denoising_ema', interval=1, start_iter=0, interp_cfg=dict(momentum=0.9999), priority='VERY_HIGH')]
evaluation = None
total_iters = 1500000
data = dict(samples_per_gpu=16)
use_ddp_wrapper = True
find_unused_parameters = False
runner = dict(type='DynamicIterBasedRunner', is_dynamic_ddp=False, pass_training_status=True)
inception_pkl = './work_dirs/inception_pkl/imagenet_64x64.pkl'
metrics = dict(fid50k=dict(type='FID', num_images=50000, bgr2rgb=True, inception_pkl=inception_pkl, inception_args=dict(type='StyleGAN'))) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.